@somecat/ai-assist-sdk 1.3.7 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-assist-sdk.css +1 -1
- package/dist/chunks/{index-BND0wsLs.mjs → engine-Cu-2TgJb.mjs} +2329 -2243
- package/dist/chunks/index-DNWBsXlO.mjs +98 -0
- package/dist/core/services/mode.d.ts +49 -0
- package/dist/core/types/index.d.ts +178 -0
- package/dist/core/utils/index.d.ts +1 -1
- package/dist/core/utils/markdown.d.ts +11 -0
- package/dist/core/utils/structured.d.ts +25 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.mjs +51 -29
- package/dist/react/index.d.ts +6 -1
- package/dist/react/index.mjs +708 -692
- package/dist/vue/components/answer/composables/useChatActions.d.ts +1 -0
- package/dist/vue/components/answer/composables/useChatSessions.d.ts +5 -0
- package/dist/vue/components/generated/icons.d.ts +76 -0
- package/dist/vue/index.d.ts +3 -1
- package/dist/vue/index.mjs +2405 -1691
- package/package.json +116 -113
package/dist/react/index.mjs
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
var VE = Object.defineProperty;
|
|
2
2
|
var QE = (v, U, Q) => U in v ? VE(v, U, { enumerable: !0, configurable: !0, writable: !0, value: Q }) : v[U] = Q;
|
|
3
|
-
var
|
|
4
|
-
import u1, { useMemo as Vm, useState as
|
|
3
|
+
var we = (v, U, Q) => QE(v, typeof U != "symbol" ? U + "" : U, Q);
|
|
4
|
+
import u1, { useMemo as Vm, useState as wt, useRef as Bt, useEffect as me, useCallback as Be, forwardRef as rT, useReducer as ZE, useImperativeHandle as dT } from "react";
|
|
5
5
|
import hT, { createPortal as JE } from "react-dom";
|
|
6
|
-
import { a as mT, r as yT, p as pT, u as KE, V as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
6
|
+
import { a as mT, r as yT, p as pT, u as KE, V as B0, b as Q2, d as $E, o as kE, h as WE, j as Z2, k as J2, q as FE, t as IE, v as PE, w as w0, x as tA, y as eA, z as lA, A as nA, B as aA, C as uA, F as xS, G as iA, L as cA, O as oA, N as sA, M as fA, P as rA } from "../chunks/engine-Cu-2TgJb.mjs";
|
|
7
|
+
import { c as C3, Q as _3, l as U3, E as x3, e as H3, f as N3, i as j3, J as B3, S as w3, n as q3, K as Y3, H as G3, m as X3, D as L3, U as V3 } from "../chunks/engine-Cu-2TgJb.mjs";
|
|
8
|
+
import dA from "react-markdown";
|
|
9
|
+
import hA from "remark-gfm";
|
|
10
|
+
import mA from "rehype-highlight";
|
|
11
|
+
import { BulbOutlined as yA, SearchOutlined as pA, CheckOutlined as gA, CopyOutlined as vA, RedoOutlined as SA, CloseOutlined as bA } from "@ant-design/icons";
|
|
12
|
+
import { t as CS, r as TA, f as EA, i as AA, s as DA, a as zA, S as MA, b as RA, c as kf, d as OA, g as CA, m as _A, e as UA, h as xA } from "../chunks/index-BIUOuQxJ.mjs";
|
|
12
13
|
import { Icon as Yu } from "@iconify/react";
|
|
13
|
-
import { Modal as
|
|
14
|
+
import { Modal as HA, Button as K2 } from "antd";
|
|
14
15
|
var e1 = { exports: {} }, C0 = {}, l1 = { exports: {} }, _S = {};
|
|
15
16
|
/**
|
|
16
17
|
* @license React
|
|
@@ -22,7 +23,7 @@ var e1 = { exports: {} }, C0 = {}, l1 = { exports: {} }, _S = {};
|
|
|
22
23
|
* LICENSE file in the root directory of this source tree.
|
|
23
24
|
*/
|
|
24
25
|
var $2;
|
|
25
|
-
function
|
|
26
|
+
function NA() {
|
|
26
27
|
return $2 || ($2 = 1, (function(v) {
|
|
27
28
|
function U(S, _) {
|
|
28
29
|
var Z = S.length;
|
|
@@ -252,7 +253,7 @@ var US = {};
|
|
|
252
253
|
* LICENSE file in the root directory of this source tree.
|
|
253
254
|
*/
|
|
254
255
|
var k2;
|
|
255
|
-
function
|
|
256
|
+
function jA() {
|
|
256
257
|
return k2 || (k2 = 1, (function(v) {
|
|
257
258
|
process.env.NODE_ENV !== "production" && (function() {
|
|
258
259
|
function U() {
|
|
@@ -476,7 +477,7 @@ function HA() {
|
|
|
476
477
|
}
|
|
477
478
|
var W2;
|
|
478
479
|
function gT() {
|
|
479
|
-
return W2 || (W2 = 1, process.env.NODE_ENV === "production" ? l1.exports =
|
|
480
|
+
return W2 || (W2 = 1, process.env.NODE_ENV === "production" ? l1.exports = NA() : l1.exports = jA()), l1.exports;
|
|
480
481
|
}
|
|
481
482
|
/**
|
|
482
483
|
* @license React
|
|
@@ -488,7 +489,7 @@ function gT() {
|
|
|
488
489
|
* LICENSE file in the root directory of this source tree.
|
|
489
490
|
*/
|
|
490
491
|
var F2;
|
|
491
|
-
function
|
|
492
|
+
function BA() {
|
|
492
493
|
if (F2) return C0;
|
|
493
494
|
F2 = 1;
|
|
494
495
|
var v = gT(), U = u1, Q = hT;
|
|
@@ -731,14 +732,14 @@ function NA() {
|
|
|
731
732
|
try {
|
|
732
733
|
Reflect.construct(I, []);
|
|
733
734
|
} catch (L) {
|
|
734
|
-
var
|
|
735
|
+
var w = L;
|
|
735
736
|
}
|
|
736
737
|
Reflect.construct(l, [], I);
|
|
737
738
|
} else {
|
|
738
739
|
try {
|
|
739
740
|
I.call();
|
|
740
741
|
} catch (L) {
|
|
741
|
-
|
|
742
|
+
w = L;
|
|
742
743
|
}
|
|
743
744
|
l.call(I.prototype);
|
|
744
745
|
}
|
|
@@ -746,14 +747,14 @@ function NA() {
|
|
|
746
747
|
try {
|
|
747
748
|
throw Error();
|
|
748
749
|
} catch (L) {
|
|
749
|
-
|
|
750
|
+
w = L;
|
|
750
751
|
}
|
|
751
752
|
(I = l()) && typeof I.catch == "function" && I.catch(function() {
|
|
752
753
|
});
|
|
753
754
|
}
|
|
754
755
|
} catch (L) {
|
|
755
|
-
if (L &&
|
|
756
|
-
return [L.stack,
|
|
756
|
+
if (L && w && typeof L.stack == "string")
|
|
757
|
+
return [L.stack, w.stack];
|
|
757
758
|
}
|
|
758
759
|
return [null, null];
|
|
759
760
|
}
|
|
@@ -850,7 +851,7 @@ Error generating stack: ` + c.message + `
|
|
|
850
851
|
function vs(l) {
|
|
851
852
|
return l >>>= 0, l === 0 ? 32 : 31 - (Nd(l) / Ff | 0) | 0;
|
|
852
853
|
}
|
|
853
|
-
var
|
|
854
|
+
var Ba = 256, ra = 262144, au = 4194304;
|
|
854
855
|
function xl(l) {
|
|
855
856
|
var a = l & 42;
|
|
856
857
|
if (a !== 0) return a;
|
|
@@ -966,7 +967,7 @@ Error generating stack: ` + c.message + `
|
|
|
966
967
|
for (var a = [], u = 0; 31 > u; u++) a.push(l);
|
|
967
968
|
return a;
|
|
968
969
|
}
|
|
969
|
-
function
|
|
970
|
+
function wa(l, a) {
|
|
970
971
|
l.pendingLanes |= a, a !== 268435456 && (l.suspendedLanes = 0, l.pingedLanes = 0, l.warmLanes = 0);
|
|
971
972
|
}
|
|
972
973
|
function uu(l, a, u, c, f, r) {
|
|
@@ -976,10 +977,10 @@ Error generating stack: ` + c.message + `
|
|
|
976
977
|
for (u = m & ~u; 0 < u; ) {
|
|
977
978
|
var J = 31 - Ql(u), I = 1 << J;
|
|
978
979
|
g[J] = 0, z[J] = -1;
|
|
979
|
-
var
|
|
980
|
-
if (
|
|
981
|
-
for (j[J] = null, J = 0; J <
|
|
982
|
-
var L =
|
|
980
|
+
var w = j[J];
|
|
981
|
+
if (w !== null)
|
|
982
|
+
for (j[J] = null, J = 0; J < w.length; J++) {
|
|
983
|
+
var L = w[J];
|
|
983
984
|
L !== null && (L.lane &= -536870913);
|
|
984
985
|
}
|
|
985
986
|
u &= ~I;
|
|
@@ -1431,7 +1432,7 @@ Error generating stack: ` + c.message + `
|
|
|
1431
1432
|
function ro(l) {
|
|
1432
1433
|
return l = l.target || l.srcElement || window, l.correspondingUseElement && (l = l.correspondingUseElement), l.nodeType === 3 ? l.parentNode : l;
|
|
1433
1434
|
}
|
|
1434
|
-
var
|
|
1435
|
+
var B = null, ct = null;
|
|
1435
1436
|
function zt(l) {
|
|
1436
1437
|
var a = Kn(l);
|
|
1437
1438
|
if (a && (l = a.stateNode)) {
|
|
@@ -1490,7 +1491,7 @@ Error generating stack: ` + c.message + `
|
|
|
1490
1491
|
var c = l(a);
|
|
1491
1492
|
return c;
|
|
1492
1493
|
} finally {
|
|
1493
|
-
if (ne = !1, (
|
|
1494
|
+
if (ne = !1, (B !== null || ct !== null) && (uf(), B && (a = B, l = ct, ct = B = null, zt(a), l)))
|
|
1494
1495
|
for (a = 0; a < l.length; a++) zt(l[a]);
|
|
1495
1496
|
}
|
|
1496
1497
|
}
|
|
@@ -1586,7 +1587,7 @@ Error generating stack: ` + c.message + `
|
|
|
1586
1587
|
},
|
|
1587
1588
|
defaultPrevented: 0,
|
|
1588
1589
|
isTrusted: 0
|
|
1589
|
-
}, lr = cn(Sc), zs = ht({}, Sc, { view: 0, detail: 0 }), i1 = cn(zs), Jm, Km, nr,
|
|
1590
|
+
}, lr = cn(Sc), zs = ht({}, Sc, { view: 0, detail: 0 }), i1 = cn(zs), Jm, Km, nr, Bd = ht({}, zs, {
|
|
1590
1591
|
screenX: 0,
|
|
1591
1592
|
screenY: 0,
|
|
1592
1593
|
clientX: 0,
|
|
@@ -1609,7 +1610,7 @@ Error generating stack: ` + c.message + `
|
|
|
1609
1610
|
movementY: function(l) {
|
|
1610
1611
|
return "movementY" in l ? l.movementY : Km;
|
|
1611
1612
|
}
|
|
1612
|
-
}), Ms = cn(
|
|
1613
|
+
}), Ms = cn(Bd), Y0 = ht({}, Bd, { dataTransfer: 0 }), G0 = cn(Y0), X0 = ht({}, zs, { relatedTarget: 0 }), wd = cn(X0), $m = ht({}, Sc, {
|
|
1613
1614
|
animationName: 0,
|
|
1614
1615
|
elapsedTime: 0,
|
|
1615
1616
|
pseudoElement: 0
|
|
@@ -1706,7 +1707,7 @@ Error generating stack: ` + c.message + `
|
|
|
1706
1707
|
which: function(l) {
|
|
1707
1708
|
return l.type === "keypress" ? jd(l) : l.type === "keydown" || l.type === "keyup" ? l.keyCode : 0;
|
|
1708
1709
|
}
|
|
1709
|
-
}), Yd = cn(qd), Wm = ht({},
|
|
1710
|
+
}), Yd = cn(qd), Wm = ht({}, Bd, {
|
|
1710
1711
|
pointerId: 0,
|
|
1711
1712
|
width: 0,
|
|
1712
1713
|
height: 0,
|
|
@@ -1730,7 +1731,7 @@ Error generating stack: ` + c.message + `
|
|
|
1730
1731
|
propertyName: 0,
|
|
1731
1732
|
elapsedTime: 0,
|
|
1732
1733
|
pseudoElement: 0
|
|
1733
|
-
}), o1 = cn(J0), Fm = ht({},
|
|
1734
|
+
}), o1 = cn(J0), Fm = ht({}, Bd, {
|
|
1734
1735
|
deltaX: function(l) {
|
|
1735
1736
|
return "deltaX" in l ? l.deltaX : "wheelDeltaX" in l ? -l.wheelDeltaX : 0;
|
|
1736
1737
|
},
|
|
@@ -1816,7 +1817,7 @@ Error generating stack: ` + c.message + `
|
|
|
1816
1817
|
return a === "input" ? !!ey[l.type] : a === "textarea";
|
|
1817
1818
|
}
|
|
1818
1819
|
function ly(l, a, u, c) {
|
|
1819
|
-
|
|
1820
|
+
B ? ct ? ct.push(c) : ct = [c] : B = c, a = td(a, "onChange"), 0 < a.length && (u = new lr(
|
|
1820
1821
|
"onChange",
|
|
1821
1822
|
"change",
|
|
1822
1823
|
null,
|
|
@@ -1956,18 +1957,18 @@ Error generating stack: ` + c.message + `
|
|
|
1956
1957
|
u
|
|
1957
1958
|
), l.push({ event: a, listeners: c }), a.target = Dc)));
|
|
1958
1959
|
}
|
|
1959
|
-
function
|
|
1960
|
+
function Bi(l, a) {
|
|
1960
1961
|
var u = {};
|
|
1961
1962
|
return u[l.toLowerCase()] = a.toLowerCase(), u["Webkit" + l] = "webkit" + a, u["Moz" + l] = "moz" + a, u;
|
|
1962
1963
|
}
|
|
1963
1964
|
var pu = {
|
|
1964
|
-
animationend:
|
|
1965
|
-
animationiteration:
|
|
1966
|
-
animationstart:
|
|
1967
|
-
transitionrun:
|
|
1968
|
-
transitionstart:
|
|
1969
|
-
transitioncancel:
|
|
1970
|
-
transitionend:
|
|
1965
|
+
animationend: Bi("Animation", "AnimationEnd"),
|
|
1966
|
+
animationiteration: Bi("Animation", "AnimationIteration"),
|
|
1967
|
+
animationstart: Bi("Animation", "AnimationStart"),
|
|
1968
|
+
transitionrun: Bi("Transition", "TransitionRun"),
|
|
1969
|
+
transitionstart: Bi("Transition", "TransitionStart"),
|
|
1970
|
+
transitioncancel: Bi("Transition", "TransitionCancel"),
|
|
1971
|
+
transitionend: Bi("Transition", "TransitionEnd")
|
|
1971
1972
|
}, _s = {}, zc = {};
|
|
1972
1973
|
We && (zc = document.createElement("div").style, "AnimationEvent" in window || (delete pu.animationend.animation, delete pu.animationiteration.animation, delete pu.animationstart.animation), "TransitionEvent" in window || delete pu.transitionend.transition);
|
|
1973
1974
|
function Ce(l) {
|
|
@@ -2023,7 +2024,7 @@ Error generating stack: ` + c.message + `
|
|
|
2023
2024
|
function Ja(l, a, u, c) {
|
|
2024
2025
|
return pa(l, a, u, c), sr(l);
|
|
2025
2026
|
}
|
|
2026
|
-
function
|
|
2027
|
+
function wi(l, a) {
|
|
2027
2028
|
return pa(l, null, null, a), sr(l);
|
|
2028
2029
|
}
|
|
2029
2030
|
function Kd(l, a, u) {
|
|
@@ -2478,14 +2479,14 @@ Error generating stack: ` + c.message + `
|
|
|
2478
2479
|
var l = Sa.current;
|
|
2479
2480
|
return l !== null ? l : Ye.pooledCache;
|
|
2480
2481
|
}
|
|
2481
|
-
function
|
|
2482
|
+
function Bs(l, a) {
|
|
2482
2483
|
a === null ? lt(Sa, Sa.current) : lt(Sa, a.pool);
|
|
2483
2484
|
}
|
|
2484
2485
|
function Ro() {
|
|
2485
2486
|
var l = ba();
|
|
2486
2487
|
return l === null ? null : { parent: Sl._currentValue, pool: l };
|
|
2487
2488
|
}
|
|
2488
|
-
var Oc = Error(b(460)), Oo = Error(b(474)),
|
|
2489
|
+
var Oc = Error(b(460)), Oo = Error(b(474)), ws = Error(b(542)), Co = { then: function() {
|
|
2489
2490
|
} };
|
|
2490
2491
|
function yy(l) {
|
|
2491
2492
|
return l = l.status, l === "fulfilled" || l === "rejected";
|
|
@@ -2540,7 +2541,7 @@ Error generating stack: ` + c.message + `
|
|
|
2540
2541
|
return _c = null, l;
|
|
2541
2542
|
}
|
|
2542
2543
|
function Pd(l) {
|
|
2543
|
-
if (l === Oc || l ===
|
|
2544
|
+
if (l === Oc || l === ws)
|
|
2544
2545
|
throw Error(b(483));
|
|
2545
2546
|
}
|
|
2546
2547
|
var Uc = null, _o = 0;
|
|
@@ -2663,7 +2664,7 @@ Error generating stack: ` + c.message + `
|
|
|
2663
2664
|
}
|
|
2664
2665
|
return null;
|
|
2665
2666
|
}
|
|
2666
|
-
function
|
|
2667
|
+
function w(x, O, N, k) {
|
|
2667
2668
|
var qt = O !== null ? O.key : null;
|
|
2668
2669
|
if (typeof N == "string" && N !== "" || typeof N == "number" || typeof N == "bigint")
|
|
2669
2670
|
return qt !== null ? null : g(x, O, "" + N, k);
|
|
@@ -2674,19 +2675,19 @@ Error generating stack: ` + c.message + `
|
|
|
2674
2675
|
case At:
|
|
2675
2676
|
return N.key === qt ? j(x, O, N, k) : null;
|
|
2676
2677
|
case gt:
|
|
2677
|
-
return N = Cc(N),
|
|
2678
|
+
return N = Cc(N), w(x, O, N, k);
|
|
2678
2679
|
}
|
|
2679
2680
|
if (rt(N) || at(N))
|
|
2680
2681
|
return qt !== null ? null : J(x, O, N, k, null);
|
|
2681
2682
|
if (typeof N.then == "function")
|
|
2682
|
-
return
|
|
2683
|
+
return w(
|
|
2683
2684
|
x,
|
|
2684
2685
|
O,
|
|
2685
2686
|
Sr(N),
|
|
2686
2687
|
k
|
|
2687
2688
|
);
|
|
2688
2689
|
if (N.$$typeof === et)
|
|
2689
|
-
return
|
|
2690
|
+
return w(
|
|
2690
2691
|
x,
|
|
2691
2692
|
O,
|
|
2692
2693
|
Xi(x, N),
|
|
@@ -2743,7 +2744,7 @@ Error generating stack: ` + c.message + `
|
|
|
2743
2744
|
function Ct(x, O, N, k) {
|
|
2744
2745
|
for (var qt = null, ze = null, Ut = O, Pt = O = 0, ue = null; Ut !== null && Pt < N.length; Pt++) {
|
|
2745
2746
|
Ut.index > Pt ? (ue = Ut, Ut = null) : ue = Ut.sibling;
|
|
2746
|
-
var Oe =
|
|
2747
|
+
var Oe = w(
|
|
2747
2748
|
x,
|
|
2748
2749
|
Ut,
|
|
2749
2750
|
N[Pt],
|
|
@@ -2788,7 +2789,7 @@ Error generating stack: ` + c.message + `
|
|
|
2788
2789
|
if (N == null) throw Error(b(151));
|
|
2789
2790
|
for (var qt = null, ze = null, Ut = O, Pt = O = 0, ue = null, Oe = N.next(); Ut !== null && !Oe.done; Pt++, Oe = N.next()) {
|
|
2790
2791
|
Ut.index > Pt ? (ue = Ut, Ut = null) : ue = Ut.sibling;
|
|
2791
|
-
var xu =
|
|
2792
|
+
var xu = w(x, Ut, Oe.value, k);
|
|
2792
2793
|
if (xu === null) {
|
|
2793
2794
|
Ut === null && (Ut = ue);
|
|
2794
2795
|
break;
|
|
@@ -2926,7 +2927,7 @@ Error generating stack: ` + c.message + `
|
|
|
2926
2927
|
);
|
|
2927
2928
|
return Uc = null, qt;
|
|
2928
2929
|
} catch (Ut) {
|
|
2929
|
-
if (Ut === Oc || Ut ===
|
|
2930
|
+
if (Ut === Oc || Ut === ws) throw Ut;
|
|
2930
2931
|
var ze = dl(29, Ut, null, x.mode);
|
|
2931
2932
|
return ze.lanes = k, ze.return = x, ze;
|
|
2932
2933
|
} finally {
|
|
@@ -3021,9 +3022,9 @@ Error generating stack: ` + c.message + `
|
|
|
3021
3022
|
var I = f.baseState;
|
|
3022
3023
|
m = 0, J = j = z = null, g = r;
|
|
3023
3024
|
do {
|
|
3024
|
-
var
|
|
3025
|
-
if (L ? (re &
|
|
3026
|
-
|
|
3025
|
+
var w = g.lane & -536870913, L = w !== g.lane;
|
|
3026
|
+
if (L ? (re & w) === w : (c & w) === w) {
|
|
3027
|
+
w !== 0 && w === Rc && (Sy = !0), J !== null && (J = J.next = {
|
|
3027
3028
|
lane: 0,
|
|
3028
3029
|
tag: g.tag,
|
|
3029
3030
|
payload: g.payload,
|
|
@@ -3032,12 +3033,12 @@ Error generating stack: ` + c.message + `
|
|
|
3032
3033
|
});
|
|
3033
3034
|
t: {
|
|
3034
3035
|
var Ct = l, Qt = g;
|
|
3035
|
-
|
|
3036
|
+
w = a;
|
|
3036
3037
|
var Xe = u;
|
|
3037
3038
|
switch (Qt.tag) {
|
|
3038
3039
|
case 1:
|
|
3039
3040
|
if (Ct = Qt.payload, typeof Ct == "function") {
|
|
3040
|
-
I = Ct.call(Xe, I,
|
|
3041
|
+
I = Ct.call(Xe, I, w);
|
|
3041
3042
|
break t;
|
|
3042
3043
|
}
|
|
3043
3044
|
I = Ct;
|
|
@@ -3045,22 +3046,22 @@ Error generating stack: ` + c.message + `
|
|
|
3045
3046
|
case 3:
|
|
3046
3047
|
Ct.flags = Ct.flags & -65537 | 128;
|
|
3047
3048
|
case 0:
|
|
3048
|
-
if (Ct = Qt.payload,
|
|
3049
|
-
I = ht({}, I,
|
|
3049
|
+
if (Ct = Qt.payload, w = typeof Ct == "function" ? Ct.call(Xe, I, w) : Ct, w == null) break t;
|
|
3050
|
+
I = ht({}, I, w);
|
|
3050
3051
|
break t;
|
|
3051
3052
|
case 2:
|
|
3052
3053
|
Vi = !0;
|
|
3053
3054
|
}
|
|
3054
3055
|
}
|
|
3055
|
-
|
|
3056
|
+
w = g.callback, w !== null && (l.flags |= 64, L && (l.flags |= 8192), L = f.callbacks, L === null ? f.callbacks = [w] : L.push(w));
|
|
3056
3057
|
} else
|
|
3057
3058
|
L = {
|
|
3058
|
-
lane:
|
|
3059
|
+
lane: w,
|
|
3059
3060
|
tag: g.tag,
|
|
3060
3061
|
payload: g.payload,
|
|
3061
3062
|
callback: g.callback,
|
|
3062
3063
|
next: null
|
|
3063
|
-
}, J === null ? (j = J = L, z = I) : J = J.next = L, m |=
|
|
3064
|
+
}, J === null ? (j = J = L, z = I) : J = J.next = L, m |= w;
|
|
3064
3065
|
if (g = g.next, g === null) {
|
|
3065
3066
|
if (g = f.shared.pending, g === null)
|
|
3066
3067
|
break;
|
|
@@ -3081,20 +3082,20 @@ Error generating stack: ` + c.message + `
|
|
|
3081
3082
|
for (l.callbacks = null, l = 0; l < u.length; l++)
|
|
3082
3083
|
lh(u[l], a);
|
|
3083
3084
|
}
|
|
3084
|
-
var
|
|
3085
|
+
var Bl = Y(null), Uo = Y(0);
|
|
3085
3086
|
function eg(l, a) {
|
|
3086
|
-
l = Mu, lt(Uo, l), lt(
|
|
3087
|
+
l = Mu, lt(Uo, l), lt(Bl, a), Mu = l | a.baseLanes;
|
|
3087
3088
|
}
|
|
3088
3089
|
function Er() {
|
|
3089
|
-
lt(Uo, Mu), lt(
|
|
3090
|
+
lt(Uo, Mu), lt(Bl, Bl.current);
|
|
3090
3091
|
}
|
|
3091
3092
|
function Ys() {
|
|
3092
|
-
Mu = Uo.current, ft(
|
|
3093
|
+
Mu = Uo.current, ft(Bl), ft(Uo);
|
|
3093
3094
|
}
|
|
3094
3095
|
var Un = Y(null), Ea = null;
|
|
3095
3096
|
function ti(l) {
|
|
3096
3097
|
var a = l.alternate;
|
|
3097
|
-
lt(tl, tl.current & 1), lt(Un, l), Ea === null && (a === null ||
|
|
3098
|
+
lt(tl, tl.current & 1), lt(Un, l), Ea === null && (a === null || Bl.current !== null || a.memoizedState !== null) && (Ea = l);
|
|
3098
3099
|
}
|
|
3099
3100
|
function Gs(l) {
|
|
3100
3101
|
lt(tl, tl.current), lt(Un, l), Ea === null && (Ea = l);
|
|
@@ -3130,7 +3131,7 @@ Error generating stack: ` + c.message + `
|
|
|
3130
3131
|
}
|
|
3131
3132
|
return null;
|
|
3132
3133
|
}
|
|
3133
|
-
var ei = 0, ee = null, He = null, bl = null, xo = !1, Ho = !1, Zi = !1, Ar = 0, Ls = 0,
|
|
3134
|
+
var ei = 0, ee = null, He = null, bl = null, xo = !1, Ho = !1, Zi = !1, Ar = 0, Ls = 0, Bc = null, lg = 0;
|
|
3134
3135
|
function cl() {
|
|
3135
3136
|
throw Error(b(321));
|
|
3136
3137
|
}
|
|
@@ -3151,14 +3152,14 @@ Error generating stack: ` + c.message + `
|
|
|
3151
3152
|
function ah(l) {
|
|
3152
3153
|
S.H = Hr;
|
|
3153
3154
|
var a = He !== null && He.next !== null;
|
|
3154
|
-
if (ei = 0, bl = He = ee = null, xo = !1, Ls = 0,
|
|
3155
|
+
if (ei = 0, bl = He = ee = null, xo = !1, Ls = 0, Bc = null, a) throw Error(b(300));
|
|
3155
3156
|
l === null || Tl || (l = l.dependencies, l !== null && zo(l) && (Tl = !0));
|
|
3156
3157
|
}
|
|
3157
3158
|
function ng(l, a, u, c) {
|
|
3158
3159
|
ee = l;
|
|
3159
3160
|
var f = 0;
|
|
3160
3161
|
do {
|
|
3161
|
-
if (Ho && (
|
|
3162
|
+
if (Ho && (Bc = null), Ls = 0, Ho = !1, 25 <= f) throw Error(b(301));
|
|
3162
3163
|
if (f += 1, bl = He = null, l.updateQueue != null) {
|
|
3163
3164
|
var r = l.updateQueue;
|
|
3164
3165
|
r.lastEffect = null, r.events = null, r.stores = null, r.memoCache != null && (r.memoCache.index = 0);
|
|
@@ -3186,7 +3187,7 @@ Error generating stack: ` + c.message + `
|
|
|
3186
3187
|
}
|
|
3187
3188
|
xo = !1;
|
|
3188
3189
|
}
|
|
3189
|
-
ei = 0, bl = He = ee = null, Ho = !1, Ls = Ar = 0,
|
|
3190
|
+
ei = 0, bl = He = ee = null, Ho = !1, Ls = Ar = 0, Bc = null;
|
|
3190
3191
|
}
|
|
3191
3192
|
function $l() {
|
|
3192
3193
|
var l = {
|
|
@@ -3224,7 +3225,7 @@ Error generating stack: ` + c.message + `
|
|
|
3224
3225
|
}
|
|
3225
3226
|
function jo(l) {
|
|
3226
3227
|
var a = Ls;
|
|
3227
|
-
return Ls += 1,
|
|
3228
|
+
return Ls += 1, Bc === null && (Bc = []), l = py(Bc, l, a), a = ee, (bl === null ? a.memoizedState : bl.next) === null && (a = a.alternate, S.H = a === null || a.memoizedState === null ? fg : bh), l;
|
|
3228
3229
|
}
|
|
3229
3230
|
function Vs(l) {
|
|
3230
3231
|
if (l !== null && typeof l == "object") {
|
|
@@ -3275,8 +3276,8 @@ Error generating stack: ` + c.message + `
|
|
|
3275
3276
|
do {
|
|
3276
3277
|
var I = j.lane & -536870913;
|
|
3277
3278
|
if (I !== j.lane ? (re & I) === I : (ei & I) === I) {
|
|
3278
|
-
var
|
|
3279
|
-
if (
|
|
3279
|
+
var w = j.revertLane;
|
|
3280
|
+
if (w === 0)
|
|
3280
3281
|
z !== null && (z = z.next = {
|
|
3281
3282
|
lane: 0,
|
|
3282
3283
|
revertLane: 0,
|
|
@@ -3286,8 +3287,8 @@ Error generating stack: ` + c.message + `
|
|
|
3286
3287
|
eagerState: j.eagerState,
|
|
3287
3288
|
next: null
|
|
3288
3289
|
}), I === Rc && (J = !0);
|
|
3289
|
-
else if ((ei &
|
|
3290
|
-
j = j.next,
|
|
3290
|
+
else if ((ei & w) === w) {
|
|
3291
|
+
j = j.next, w === Rc && (J = !0);
|
|
3291
3292
|
continue;
|
|
3292
3293
|
} else
|
|
3293
3294
|
I = {
|
|
@@ -3298,10 +3299,10 @@ Error generating stack: ` + c.message + `
|
|
|
3298
3299
|
hasEagerState: j.hasEagerState,
|
|
3299
3300
|
eagerState: j.eagerState,
|
|
3300
3301
|
next: null
|
|
3301
|
-
}, z === null ? (g = z = I, m = r) : z = z.next = I, ee.lanes |=
|
|
3302
|
+
}, z === null ? (g = z = I, m = r) : z = z.next = I, ee.lanes |= w, Ru |= w;
|
|
3302
3303
|
I = j.action, Zi && u(r, I), r = j.hasEagerState ? j.eagerState : u(r, I);
|
|
3303
3304
|
} else
|
|
3304
|
-
|
|
3305
|
+
w = {
|
|
3305
3306
|
lane: I,
|
|
3306
3307
|
revertLane: j.revertLane,
|
|
3307
3308
|
gesture: j.gesture,
|
|
@@ -3309,7 +3310,7 @@ Error generating stack: ` + c.message + `
|
|
|
3309
3310
|
hasEagerState: j.hasEagerState,
|
|
3310
3311
|
eagerState: j.eagerState,
|
|
3311
3312
|
next: null
|
|
3312
|
-
}, z === null ? (g = z =
|
|
3313
|
+
}, z === null ? (g = z = w, m = r) : z = z.next = w, ee.lanes |= I, Ru |= I;
|
|
3313
3314
|
j = j.next;
|
|
3314
3315
|
} while (j !== null && j !== a);
|
|
3315
3316
|
if (z === null ? m = r : z.next = g, !pn(r, l.memoizedState) && (Tl = !0, J && (u = Ml, u !== null)))
|
|
@@ -3346,7 +3347,7 @@ Error generating stack: ` + c.message + `
|
|
|
3346
3347
|
if (m && (f.memoizedState = u, Tl = !0), f = f.queue, hh(sh.bind(null, c, f, l), [
|
|
3347
3348
|
l
|
|
3348
3349
|
]), f.getSnapshot !== a || m || bl !== null && bl.memoizedState.tag & 1) {
|
|
3349
|
-
if (c.flags |= 2048,
|
|
3350
|
+
if (c.flags |= 2048, wo(
|
|
3350
3351
|
9,
|
|
3351
3352
|
{ destroy: void 0 },
|
|
3352
3353
|
Ty.bind(
|
|
@@ -3384,7 +3385,7 @@ Error generating stack: ` + c.message + `
|
|
|
3384
3385
|
}
|
|
3385
3386
|
}
|
|
3386
3387
|
function rh(l) {
|
|
3387
|
-
var a =
|
|
3388
|
+
var a = wi(l, 2);
|
|
3388
3389
|
a !== null && qn(a, l, 2);
|
|
3389
3390
|
}
|
|
3390
3391
|
function Ey(l) {
|
|
@@ -3443,7 +3444,7 @@ Error generating stack: ` + c.message + `
|
|
|
3443
3444
|
var g = u(f, c), z = S.S;
|
|
3444
3445
|
z !== null && z(m, g), Dy(l, a, g);
|
|
3445
3446
|
} catch (j) {
|
|
3446
|
-
|
|
3447
|
+
Bo(l, a, j);
|
|
3447
3448
|
} finally {
|
|
3448
3449
|
r !== null && m.types !== null && (r.types = m.types), S.T = r;
|
|
3449
3450
|
}
|
|
@@ -3451,7 +3452,7 @@ Error generating stack: ` + c.message + `
|
|
|
3451
3452
|
try {
|
|
3452
3453
|
r = u(f, c), Dy(l, a, r);
|
|
3453
3454
|
} catch (j) {
|
|
3454
|
-
|
|
3455
|
+
Bo(l, a, j);
|
|
3455
3456
|
}
|
|
3456
3457
|
}
|
|
3457
3458
|
function Dy(l, a, u) {
|
|
@@ -3460,14 +3461,14 @@ Error generating stack: ` + c.message + `
|
|
|
3460
3461
|
zy(l, a, c);
|
|
3461
3462
|
},
|
|
3462
3463
|
function(c) {
|
|
3463
|
-
return
|
|
3464
|
+
return Bo(l, a, c);
|
|
3464
3465
|
}
|
|
3465
3466
|
) : zy(l, a, u);
|
|
3466
3467
|
}
|
|
3467
3468
|
function zy(l, a, u) {
|
|
3468
3469
|
a.status = "fulfilled", a.value = u, My(a), l.state = u, a = l.pending, a !== null && (u = a.next, u === a ? l.pending = null : (u = u.next, a.next = u, Ay(l, u)));
|
|
3469
3470
|
}
|
|
3470
|
-
function
|
|
3471
|
+
function Bo(l, a, u) {
|
|
3471
3472
|
var c = l.pending;
|
|
3472
3473
|
if (l.pending = null, c !== null) {
|
|
3473
3474
|
c = c.next;
|
|
@@ -3531,7 +3532,7 @@ Error generating stack: ` + c.message + `
|
|
|
3531
3532
|
null,
|
|
3532
3533
|
ee,
|
|
3533
3534
|
c
|
|
3534
|
-
), c.dispatch = u, c = Ey(!1), r =
|
|
3535
|
+
), c.dispatch = u, c = Ey(!1), r = wc.bind(
|
|
3535
3536
|
null,
|
|
3536
3537
|
ee,
|
|
3537
3538
|
!1,
|
|
@@ -3562,12 +3563,12 @@ Error generating stack: ` + c.message + `
|
|
|
3562
3563
|
try {
|
|
3563
3564
|
var c = jo(a);
|
|
3564
3565
|
} catch (m) {
|
|
3565
|
-
throw m === Oc ?
|
|
3566
|
+
throw m === Oc ? ws : m;
|
|
3566
3567
|
}
|
|
3567
3568
|
else c = a;
|
|
3568
3569
|
a = ml();
|
|
3569
3570
|
var f = a.queue, r = f.dispatch;
|
|
3570
|
-
return u !== a.memoizedState && (ee.flags |= 2048,
|
|
3571
|
+
return u !== a.memoizedState && (ee.flags |= 2048, wo(
|
|
3571
3572
|
9,
|
|
3572
3573
|
{ destroy: void 0 },
|
|
3573
3574
|
Oy.bind(null, f, u),
|
|
@@ -3585,7 +3586,7 @@ Error generating stack: ` + c.message + `
|
|
|
3585
3586
|
var c = u.queue.dispatch;
|
|
3586
3587
|
return u.memoizedState = l, [a, c, !1];
|
|
3587
3588
|
}
|
|
3588
|
-
function
|
|
3589
|
+
function wo(l, a, u, c) {
|
|
3589
3590
|
return l = { tag: l, create: u, deps: c, inst: a, next: null }, a = ee.updateQueue, a === null && (a = Mr(), ee.updateQueue = a), u = a.lastEffect, u === null ? a.lastEffect = l.next = l : (c = u.next, u.next = l, l.next = c, a.lastEffect = l), l;
|
|
3590
3591
|
}
|
|
3591
3592
|
function _y() {
|
|
@@ -3593,7 +3594,7 @@ Error generating stack: ` + c.message + `
|
|
|
3593
3594
|
}
|
|
3594
3595
|
function Qs(l, a, u, c) {
|
|
3595
3596
|
var f = $l();
|
|
3596
|
-
ee.flags |= l, f.memoizedState =
|
|
3597
|
+
ee.flags |= l, f.memoizedState = wo(
|
|
3597
3598
|
1 | a,
|
|
3598
3599
|
{ destroy: void 0 },
|
|
3599
3600
|
u,
|
|
@@ -3604,7 +3605,7 @@ Error generating stack: ` + c.message + `
|
|
|
3604
3605
|
var f = ml();
|
|
3605
3606
|
c = c === void 0 ? null : c;
|
|
3606
3607
|
var r = f.memoizedState.inst;
|
|
3607
|
-
He !== null && c !== null && Ji(c, He.memoizedState.deps) ? f.memoizedState =
|
|
3608
|
+
He !== null && c !== null && Ji(c, He.memoizedState.deps) ? f.memoizedState = wo(a, r, u, c) : (ee.flags |= l, f.memoizedState = wo(
|
|
3608
3609
|
1 | a,
|
|
3609
3610
|
r,
|
|
3610
3611
|
u,
|
|
@@ -3684,13 +3685,13 @@ Error generating stack: ` + c.message + `
|
|
|
3684
3685
|
return u === void 0 || (ei & 1073741824) !== 0 && (re & 261930) === 0 ? l.memoizedState = a : (l.memoizedState = u, l = Tg(), ee.lanes |= l, Ru |= l, u);
|
|
3685
3686
|
}
|
|
3686
3687
|
function ai(l, a, u, c) {
|
|
3687
|
-
return pn(u, a) ? u :
|
|
3688
|
+
return pn(u, a) ? u : Bl.current !== null ? (l = Ur(l, u, c), pn(l, a) || (Tl = !0), l) : (ei & 42) === 0 || (ei & 1073741824) !== 0 && (re & 261930) === 0 ? (Tl = !0, l.memoizedState = u) : (l = Tg(), ee.lanes |= l, Ru |= l, a);
|
|
3688
3689
|
}
|
|
3689
3690
|
function gh(l, a, u, c, f) {
|
|
3690
3691
|
var r = _.p;
|
|
3691
3692
|
_.p = r !== 0 && 8 > r ? r : 8;
|
|
3692
3693
|
var m = S.T, g = {};
|
|
3693
|
-
S.T = g,
|
|
3694
|
+
S.T = g, wc(l, !1, a, u);
|
|
3694
3695
|
try {
|
|
3695
3696
|
var z = f(), j = S.S;
|
|
3696
3697
|
if (j !== null && j(g, z), z !== null && typeof z == "object" && typeof z.then == "function") {
|
|
@@ -3811,7 +3812,7 @@ Error generating stack: ` + c.message + `
|
|
|
3811
3812
|
hasEagerState: !1,
|
|
3812
3813
|
eagerState: null,
|
|
3813
3814
|
next: null
|
|
3814
|
-
}, xr(l) ? Sh(a, u) : (u = Ja(l, a, u, c), u !== null && (qn(u, l, c),
|
|
3815
|
+
}, xr(l) ? Sh(a, u) : (u = Ja(l, a, u, c), u !== null && (qn(u, l, c), By(u, a, c)));
|
|
3815
3816
|
}
|
|
3816
3817
|
function vh(l, a, u) {
|
|
3817
3818
|
var c = Pn();
|
|
@@ -3839,11 +3840,11 @@ Error generating stack: ` + c.message + `
|
|
|
3839
3840
|
} finally {
|
|
3840
3841
|
}
|
|
3841
3842
|
if (u = Ja(l, a, f, c), u !== null)
|
|
3842
|
-
return qn(u, l, c),
|
|
3843
|
+
return qn(u, l, c), By(u, a, c), !0;
|
|
3843
3844
|
}
|
|
3844
3845
|
return !1;
|
|
3845
3846
|
}
|
|
3846
|
-
function
|
|
3847
|
+
function wc(l, a, u, c) {
|
|
3847
3848
|
if (c = {
|
|
3848
3849
|
lane: 2,
|
|
3849
3850
|
revertLane: Zh(),
|
|
@@ -3871,7 +3872,7 @@ Error generating stack: ` + c.message + `
|
|
|
3871
3872
|
var u = l.pending;
|
|
3872
3873
|
u === null ? a.next = a : (a.next = u.next, u.next = a), l.pending = a;
|
|
3873
3874
|
}
|
|
3874
|
-
function
|
|
3875
|
+
function By(l, a, u) {
|
|
3875
3876
|
if ((u & 4194048) !== 0) {
|
|
3876
3877
|
var c = a.lanes;
|
|
3877
3878
|
c &= l.pendingLanes, u |= c, a.lanes = u, An(l, u);
|
|
@@ -4006,7 +4007,7 @@ Error generating stack: ` + c.message + `
|
|
|
4006
4007
|
var r = { value: u, getSnapshot: a };
|
|
4007
4008
|
return f.queue = r, dh(sh.bind(null, c, r, l), [
|
|
4008
4009
|
l
|
|
4009
|
-
]), c.flags |= 2048,
|
|
4010
|
+
]), c.flags |= 2048, wo(
|
|
4010
4011
|
9,
|
|
4011
4012
|
{ destroy: void 0 },
|
|
4012
4013
|
Ty.bind(
|
|
@@ -4041,7 +4042,7 @@ Error generating stack: ` + c.message + `
|
|
|
4041
4042
|
lastRenderedReducer: null,
|
|
4042
4043
|
lastRenderedState: null
|
|
4043
4044
|
};
|
|
4044
|
-
return a.queue = u, a =
|
|
4045
|
+
return a.queue = u, a = wc.bind(
|
|
4045
4046
|
null,
|
|
4046
4047
|
ee,
|
|
4047
4048
|
!0,
|
|
@@ -4173,7 +4174,7 @@ Error generating stack: ` + c.message + `
|
|
|
4173
4174
|
c.tag = 2, a != null && (c.callback = a), a = Ta(l, c, u), a !== null && (qn(a, l, u), Hc(a, l, u));
|
|
4174
4175
|
}
|
|
4175
4176
|
};
|
|
4176
|
-
function
|
|
4177
|
+
function wy(l, a, u, c, f, r, m) {
|
|
4177
4178
|
return l = l.stateNode, typeof l.shouldComponentUpdate == "function" ? l.shouldComponentUpdate(c, r, m) : a.prototype && a.prototype.isPureReactComponent ? !Va(u, c) || !Va(f, r) : !0;
|
|
4178
4179
|
}
|
|
4179
4180
|
function dg(l, a, u, c) {
|
|
@@ -4396,7 +4397,7 @@ Error generating stack: ` + c.message + `
|
|
|
4396
4397
|
);
|
|
4397
4398
|
}
|
|
4398
4399
|
if ((u & 536870912) !== 0)
|
|
4399
|
-
a.memoizedState = { baseLanes: 0, cachePool: null }, l !== null &&
|
|
4400
|
+
a.memoizedState = { baseLanes: 0, cachePool: null }, l !== null && Bs(
|
|
4400
4401
|
a,
|
|
4401
4402
|
r !== null ? r.cachePool : null
|
|
4402
4403
|
), r !== null ? eg(a, r) : Er(), nh(a);
|
|
@@ -4409,7 +4410,7 @@ Error generating stack: ` + c.message + `
|
|
|
4409
4410
|
c
|
|
4410
4411
|
);
|
|
4411
4412
|
} else
|
|
4412
|
-
r !== null ? (
|
|
4413
|
+
r !== null ? (Bs(a, r.cachePool), eg(a, r), Tu(), a.memoizedState = null) : (l !== null && Bs(a, null), Er(), Tu());
|
|
4413
4414
|
return Fe(l, a, f, u), a.child;
|
|
4414
4415
|
}
|
|
4415
4416
|
function Yc(l, a) {
|
|
@@ -4425,7 +4426,7 @@ Error generating stack: ` + c.message + `
|
|
|
4425
4426
|
return r = r === null ? null : { parent: Sl._currentValue, pool: r }, a.memoizedState = {
|
|
4426
4427
|
baseLanes: u,
|
|
4427
4428
|
cachePool: r
|
|
4428
|
-
}, l !== null &&
|
|
4429
|
+
}, l !== null && Bs(a, null), Er(), nh(a), l !== null && Kl(l, a, c, !0), a.childLanes = f, null;
|
|
4429
4430
|
}
|
|
4430
4431
|
function jr(l, a) {
|
|
4431
4432
|
return a = qr(
|
|
@@ -4470,7 +4471,7 @@ Error generating stack: ` + c.message + `
|
|
|
4470
4471
|
else throw Error(b(558));
|
|
4471
4472
|
else if (Tl || Kl(l, a, u, !1), f = (u & l.childLanes) !== 0, Tl || f) {
|
|
4472
4473
|
if (c = Ye, c !== null && (m = Dn(c, u), m !== 0 && m !== r.retryLane))
|
|
4473
|
-
throw r.retryLane = m,
|
|
4474
|
+
throw r.retryLane = m, wi(l, m), qn(c, l, m), Ah;
|
|
4474
4475
|
Xh(), a = Nn(
|
|
4475
4476
|
l,
|
|
4476
4477
|
a,
|
|
@@ -4535,47 +4536,47 @@ Error generating stack: ` + c.message + `
|
|
|
4535
4536
|
c,
|
|
4536
4537
|
m
|
|
4537
4538
|
), Vi = !1;
|
|
4538
|
-
var
|
|
4539
|
-
r.state =
|
|
4539
|
+
var w = a.memoizedState;
|
|
4540
|
+
r.state = w, Pu(a, c, r, f), Nc(), j = a.memoizedState, g || w !== j || Vi ? (typeof I == "function" && (qo(
|
|
4540
4541
|
a,
|
|
4541
4542
|
u,
|
|
4542
4543
|
I,
|
|
4543
4544
|
c
|
|
4544
|
-
), j = a.memoizedState), (z = Vi ||
|
|
4545
|
+
), j = a.memoizedState), (z = Vi || wy(
|
|
4545
4546
|
a,
|
|
4546
4547
|
u,
|
|
4547
4548
|
z,
|
|
4548
4549
|
c,
|
|
4549
|
-
|
|
4550
|
+
w,
|
|
4550
4551
|
j,
|
|
4551
4552
|
m
|
|
4552
4553
|
)) ? (J || typeof r.UNSAFE_componentWillMount != "function" && typeof r.componentWillMount != "function" || (typeof r.componentWillMount == "function" && r.componentWillMount(), typeof r.UNSAFE_componentWillMount == "function" && r.UNSAFE_componentWillMount()), typeof r.componentDidMount == "function" && (a.flags |= 4194308)) : (typeof r.componentDidMount == "function" && (a.flags |= 4194308), a.memoizedProps = c, a.memoizedState = j), r.props = c, r.state = j, r.context = m, c = z) : (typeof r.componentDidMount == "function" && (a.flags |= 4194308), c = !1);
|
|
4553
4554
|
} else {
|
|
4554
|
-
r = a.stateNode, th(l, a), m = a.memoizedProps, J = qc(u, m), r.props = J, I = a.pendingProps,
|
|
4555
|
+
r = a.stateNode, th(l, a), m = a.memoizedProps, J = qc(u, m), r.props = J, I = a.pendingProps, w = r.context, j = u.contextType, z = On, typeof j == "object" && j !== null && (z = P(j)), g = u.getDerivedStateFromProps, (j = typeof g == "function" || typeof r.getSnapshotBeforeUpdate == "function") || typeof r.UNSAFE_componentWillReceiveProps != "function" && typeof r.componentWillReceiveProps != "function" || (m !== I || w !== z) && dg(
|
|
4555
4556
|
a,
|
|
4556
4557
|
r,
|
|
4557
4558
|
c,
|
|
4558
4559
|
z
|
|
4559
|
-
), Vi = !1,
|
|
4560
|
+
), Vi = !1, w = a.memoizedState, r.state = w, Pu(a, c, r, f), Nc();
|
|
4560
4561
|
var L = a.memoizedState;
|
|
4561
|
-
m !== I ||
|
|
4562
|
+
m !== I || w !== L || Vi || l !== null && l.dependencies !== null && zo(l.dependencies) ? (typeof g == "function" && (qo(
|
|
4562
4563
|
a,
|
|
4563
4564
|
u,
|
|
4564
4565
|
g,
|
|
4565
4566
|
c
|
|
4566
|
-
), L = a.memoizedState), (J = Vi ||
|
|
4567
|
+
), L = a.memoizedState), (J = Vi || wy(
|
|
4567
4568
|
a,
|
|
4568
4569
|
u,
|
|
4569
4570
|
J,
|
|
4570
4571
|
c,
|
|
4571
|
-
|
|
4572
|
+
w,
|
|
4572
4573
|
L,
|
|
4573
4574
|
z
|
|
4574
4575
|
) || l !== null && l.dependencies !== null && zo(l.dependencies)) ? (j || typeof r.UNSAFE_componentWillUpdate != "function" && typeof r.componentWillUpdate != "function" || (typeof r.componentWillUpdate == "function" && r.componentWillUpdate(c, L, z), typeof r.UNSAFE_componentWillUpdate == "function" && r.UNSAFE_componentWillUpdate(
|
|
4575
4576
|
c,
|
|
4576
4577
|
L,
|
|
4577
4578
|
z
|
|
4578
|
-
)), typeof r.componentDidUpdate == "function" && (a.flags |= 4), typeof r.getSnapshotBeforeUpdate == "function" && (a.flags |= 1024)) : (typeof r.componentDidUpdate != "function" || m === l.memoizedProps &&
|
|
4579
|
+
)), typeof r.componentDidUpdate == "function" && (a.flags |= 4), typeof r.getSnapshotBeforeUpdate == "function" && (a.flags |= 1024)) : (typeof r.componentDidUpdate != "function" || m === l.memoizedProps && w === l.memoizedState || (a.flags |= 4), typeof r.getSnapshotBeforeUpdate != "function" || m === l.memoizedProps && w === l.memoizedState || (a.flags |= 1024), a.memoizedProps = c, a.memoizedState = L), r.props = c, r.state = L, r.context = z, c = J) : (typeof r.componentDidUpdate != "function" || m === l.memoizedProps && w === l.memoizedState || (a.flags |= 4), typeof r.getSnapshotBeforeUpdate != "function" || m === l.memoizedProps && w === l.memoizedState || (a.flags |= 1024), c = !1);
|
|
4579
4580
|
}
|
|
4580
4581
|
return r = c, Aa(l, a), c = (a.flags & 128) !== 0, r || c ? (r = a.stateNode, u = c && typeof u.getDerivedStateFromError != "function" ? null : r.render(), a.flags |= 1, l !== null && c ? (a.child = xc(
|
|
4581
4582
|
a,
|
|
@@ -4596,17 +4597,17 @@ Error generating stack: ` + c.message + `
|
|
|
4596
4597
|
function Au(l, a, u, c) {
|
|
4597
4598
|
return Mc(), a.flags |= 256, Fe(l, a, u, c), a.child;
|
|
4598
4599
|
}
|
|
4599
|
-
var
|
|
4600
|
+
var Br = {
|
|
4600
4601
|
dehydrated: null,
|
|
4601
4602
|
treeContext: null,
|
|
4602
4603
|
retryLane: 0,
|
|
4603
4604
|
hydrationErrors: null
|
|
4604
4605
|
};
|
|
4605
|
-
function
|
|
4606
|
+
function wr(l) {
|
|
4606
4607
|
return { baseLanes: l, cachePool: Ro() };
|
|
4607
4608
|
}
|
|
4608
4609
|
function Da(l, a, u) {
|
|
4609
|
-
return l = l !== null ? l.childLanes & ~u : 0, a && (l |=
|
|
4610
|
+
return l = l !== null ? l.childLanes & ~u : 0, a && (l |= wn), l;
|
|
4610
4611
|
}
|
|
4611
4612
|
function Jy(l, a, u) {
|
|
4612
4613
|
var c = a.pendingProps, f = !1, r = (a.flags & 128) !== 0, m;
|
|
@@ -4632,11 +4633,11 @@ Error generating stack: ` + c.message + `
|
|
|
4632
4633
|
f,
|
|
4633
4634
|
u,
|
|
4634
4635
|
null
|
|
4635
|
-
), g.return = a, c.return = a, g.sibling = c, a.child = g, c = a.child, c.memoizedState =
|
|
4636
|
+
), g.return = a, c.return = a, g.sibling = c, a.child = g, c = a.child, c.memoizedState = wr(u), c.childLanes = Da(
|
|
4636
4637
|
l,
|
|
4637
4638
|
m,
|
|
4638
4639
|
u
|
|
4639
|
-
), a.memoizedState =
|
|
4640
|
+
), a.memoizedState = Br, Yc(null, c)) : (ti(a), Xc(a, g));
|
|
4640
4641
|
}
|
|
4641
4642
|
var z = l.memoizedState;
|
|
4642
4643
|
if (z !== null && (g = z.dehydrated, g !== null)) {
|
|
@@ -4658,11 +4659,11 @@ Error generating stack: ` + c.message + `
|
|
|
4658
4659
|
l.child,
|
|
4659
4660
|
null,
|
|
4660
4661
|
u
|
|
4661
|
-
), c = a.child, c.memoizedState =
|
|
4662
|
+
), c = a.child, c.memoizedState = wr(u), c.childLanes = Da(
|
|
4662
4663
|
l,
|
|
4663
4664
|
m,
|
|
4664
4665
|
u
|
|
4665
|
-
), a.memoizedState =
|
|
4666
|
+
), a.memoizedState = Br, a = Yc(null, c));
|
|
4666
4667
|
else if (ti(a), Kc(g)) {
|
|
4667
4668
|
if (m = g.nextSibling && g.nextSibling.dataset, m) var j = m.dgst;
|
|
4668
4669
|
m = j, c = Error(b(419)), c.stack = "", c.digest = m, js({ value: c, source: null, stack: null }), a = Yo(
|
|
@@ -4672,7 +4673,7 @@ Error generating stack: ` + c.message + `
|
|
|
4672
4673
|
);
|
|
4673
4674
|
} else if (Tl || Kl(l, a, u, !1), m = (u & l.childLanes) !== 0, Tl || m) {
|
|
4674
4675
|
if (m = Ye, m !== null && (c = Dn(m, u), c !== 0 && c !== z.retryLane))
|
|
4675
|
-
throw z.retryLane = c,
|
|
4676
|
+
throw z.retryLane = c, wi(l, c), qn(m, l, c), Ah;
|
|
4676
4677
|
Ia(g) || Xh(), a = Yo(
|
|
4677
4678
|
l,
|
|
4678
4679
|
a,
|
|
@@ -4698,14 +4699,14 @@ Error generating stack: ` + c.message + `
|
|
|
4698
4699
|
f,
|
|
4699
4700
|
u,
|
|
4700
4701
|
null
|
|
4701
|
-
), g.flags |= 2), g.return = a, c.return = a, c.sibling = g, a.child = c, Yc(null, c), c = a.child, g = l.child.memoizedState, g === null ? g =
|
|
4702
|
+
), g.flags |= 2), g.return = a, c.return = a, c.sibling = g, a.child = c, Yc(null, c), c = a.child, g = l.child.memoizedState, g === null ? g = wr(u) : (f = g.cachePool, f !== null ? (z = Sl._currentValue, f = f.parent !== z ? { parent: z, pool: z } : f) : f = Ro(), g = {
|
|
4702
4703
|
baseLanes: g.baseLanes | u,
|
|
4703
4704
|
cachePool: f
|
|
4704
4705
|
}), c.memoizedState = g, c.childLanes = Da(
|
|
4705
4706
|
l,
|
|
4706
4707
|
m,
|
|
4707
4708
|
u
|
|
4708
|
-
), a.memoizedState =
|
|
4709
|
+
), a.memoizedState = Br, Yc(l.child, c)) : (ti(a), u = l.child, l = u.sibling, u = qi(u, {
|
|
4709
4710
|
mode: "visible",
|
|
4710
4711
|
children: c.children
|
|
4711
4712
|
}), u.return = a, u.sibling = null, l !== null && (m = a.deletions, m === null ? (a.deletions = [l], a.flags |= 16) : m.push(l)), a.child = u, a.memoizedState = null, u);
|
|
@@ -5744,14 +5745,14 @@ Error generating stack: ` + c.message + `
|
|
|
5744
5745
|
u = null;
|
|
5745
5746
|
break t;
|
|
5746
5747
|
}
|
|
5747
|
-
var m = 0, g = -1, z = -1, j = 0, J = 0, I = l,
|
|
5748
|
+
var m = 0, g = -1, z = -1, j = 0, J = 0, I = l, w = null;
|
|
5748
5749
|
e: for (; ; ) {
|
|
5749
5750
|
for (var L; I !== u || f !== 0 && I.nodeType !== 3 || (g = m + f), I !== r || c !== 0 && I.nodeType !== 3 || (z = m + c), I.nodeType === 3 && (m += I.nodeValue.length), (L = I.firstChild) !== null; )
|
|
5750
|
-
|
|
5751
|
+
w = I, I = L;
|
|
5751
5752
|
for (; ; ) {
|
|
5752
5753
|
if (I === l) break e;
|
|
5753
|
-
if (
|
|
5754
|
-
I =
|
|
5754
|
+
if (w === u && ++j === f && (g = m), w === r && ++J === c && (z = m), (L = I.nextSibling) !== null) break;
|
|
5755
|
+
I = w, w = I.parentNode;
|
|
5755
5756
|
}
|
|
5756
5757
|
I = L;
|
|
5757
5758
|
}
|
|
@@ -6077,7 +6078,7 @@ Error generating stack: ` + c.message + `
|
|
|
6077
6078
|
}
|
|
6078
6079
|
});
|
|
6079
6080
|
}
|
|
6080
|
-
function
|
|
6081
|
+
function Bn(l, a) {
|
|
6081
6082
|
var u = a.deletions;
|
|
6082
6083
|
if (u !== null)
|
|
6083
6084
|
for (var c = 0; c < u.length; c++) {
|
|
@@ -6115,14 +6116,14 @@ Error generating stack: ` + c.message + `
|
|
|
6115
6116
|
case 11:
|
|
6116
6117
|
case 14:
|
|
6117
6118
|
case 15:
|
|
6118
|
-
|
|
6119
|
+
Bn(a, l), Wn(l), c & 4 && (Ma(3, l, l.return), Wa(3, l), Ma(5, l, l.return));
|
|
6119
6120
|
break;
|
|
6120
6121
|
case 1:
|
|
6121
|
-
|
|
6122
|
+
Bn(a, l), Wn(l), c & 512 && (Rl || u === null || Du(u, u.return)), c & 64 && $i && (l = l.updateQueue, l !== null && (c = l.callbacks, c !== null && (u = l.shared.hiddenCallbacks, l.shared.hiddenCallbacks = u === null ? c : u.concat(c))));
|
|
6122
6123
|
break;
|
|
6123
6124
|
case 26:
|
|
6124
6125
|
var f = ae;
|
|
6125
|
-
if (
|
|
6126
|
+
if (Bn(a, l), Wn(l), c & 512 && (Rl || u === null || Du(u, u.return)), c & 4) {
|
|
6126
6127
|
var r = u !== null ? u.memoizedState : null;
|
|
6127
6128
|
if (c = l.memoizedState, u === null)
|
|
6128
6129
|
if (c === null)
|
|
@@ -6200,14 +6201,14 @@ Error generating stack: ` + c.message + `
|
|
|
6200
6201
|
}
|
|
6201
6202
|
break;
|
|
6202
6203
|
case 27:
|
|
6203
|
-
|
|
6204
|
+
Bn(a, l), Wn(l), c & 512 && (Rl || u === null || Du(u, u.return)), u !== null && c & 4 && Ch(
|
|
6204
6205
|
l,
|
|
6205
6206
|
l.memoizedProps,
|
|
6206
6207
|
u.memoizedProps
|
|
6207
6208
|
);
|
|
6208
6209
|
break;
|
|
6209
6210
|
case 5:
|
|
6210
|
-
if (
|
|
6211
|
+
if (Bn(a, l), Wn(l), c & 512 && (Rl || u === null || Du(u, u.return)), l.flags & 32) {
|
|
6211
6212
|
f = l.stateNode;
|
|
6212
6213
|
try {
|
|
6213
6214
|
hn(f, "");
|
|
@@ -6222,7 +6223,7 @@ Error generating stack: ` + c.message + `
|
|
|
6222
6223
|
)), c & 1024 && (_h = !0);
|
|
6223
6224
|
break;
|
|
6224
6225
|
case 6:
|
|
6225
|
-
if (
|
|
6226
|
+
if (Bn(a, l), Wn(l), c & 4) {
|
|
6226
6227
|
if (l.stateNode === null)
|
|
6227
6228
|
throw Error(b(162));
|
|
6228
6229
|
c = l.memoizedProps, u = l.stateNode;
|
|
@@ -6234,7 +6235,7 @@ Error generating stack: ` + c.message + `
|
|
|
6234
6235
|
}
|
|
6235
6236
|
break;
|
|
6236
6237
|
case 3:
|
|
6237
|
-
if (bf = null, f = ae, ae = vn(a.containerInfo),
|
|
6238
|
+
if (bf = null, f = ae, ae = vn(a.containerInfo), Bn(a, l), ae = f, Wn(l), c & 4 && u !== null && u.memoizedState.isDehydrated)
|
|
6238
6239
|
try {
|
|
6239
6240
|
zf(a.containerInfo);
|
|
6240
6241
|
} catch (Ct) {
|
|
@@ -6245,21 +6246,21 @@ Error generating stack: ` + c.message + `
|
|
|
6245
6246
|
case 4:
|
|
6246
6247
|
c = ae, ae = vn(
|
|
6247
6248
|
l.stateNode.containerInfo
|
|
6248
|
-
),
|
|
6249
|
+
), Bn(a, l), Wn(l), ae = c;
|
|
6249
6250
|
break;
|
|
6250
6251
|
case 12:
|
|
6251
|
-
|
|
6252
|
+
Bn(a, l), Wn(l);
|
|
6252
6253
|
break;
|
|
6253
6254
|
case 31:
|
|
6254
|
-
|
|
6255
|
+
Bn(a, l), Wn(l), c & 4 && (c = l.updateQueue, c !== null && (l.updateQueue = null, Xr(l, c)));
|
|
6255
6256
|
break;
|
|
6256
6257
|
case 13:
|
|
6257
|
-
|
|
6258
|
+
Bn(a, l), Wn(l), l.child.flags & 8192 && l.memoizedState !== null != (u !== null && u.memoizedState !== null) && (Ou = rl()), c & 4 && (c = l.updateQueue, c !== null && (l.updateQueue = null, Xr(l, c)));
|
|
6258
6259
|
break;
|
|
6259
6260
|
case 22:
|
|
6260
6261
|
f = l.memoizedState !== null;
|
|
6261
6262
|
var z = u !== null && u.memoizedState !== null, j = $i, J = Rl;
|
|
6262
|
-
if ($i = j || f, Rl = J || z,
|
|
6263
|
+
if ($i = j || f, Rl = J || z, Bn(a, l), Rl = J, $i = j, Wn(l), c & 8192)
|
|
6263
6264
|
t: for (a = l.stateNode, a._visibility = f ? a._visibility & -2 : a._visibility | 1, f && (u === null || z || $i || Rl || Xo(l)), u = null, a = l; ; ) {
|
|
6264
6265
|
if (a.tag === 5 || a.tag === 26) {
|
|
6265
6266
|
if (u === null) {
|
|
@@ -6269,8 +6270,8 @@ Error generating stack: ` + c.message + `
|
|
|
6269
6270
|
m = r.style, typeof m.setProperty == "function" ? m.setProperty("display", "none", "important") : m.display = "none";
|
|
6270
6271
|
else {
|
|
6271
6272
|
g = z.stateNode;
|
|
6272
|
-
var I = z.memoizedProps.style,
|
|
6273
|
-
g.style.display =
|
|
6273
|
+
var I = z.memoizedProps.style, w = I != null && I.hasOwnProperty("display") ? I.display : null;
|
|
6274
|
+
g.style.display = w == null || typeof w == "boolean" ? "" : ("" + w).trim();
|
|
6274
6275
|
}
|
|
6275
6276
|
} catch (Ct) {
|
|
6276
6277
|
je(z, z.return, Ct);
|
|
@@ -6309,14 +6310,14 @@ Error generating stack: ` + c.message + `
|
|
|
6309
6310
|
c & 4 && (c = l.updateQueue, c !== null && (u = c.retryQueue, u !== null && (c.retryQueue = null, Xr(l, u))));
|
|
6310
6311
|
break;
|
|
6311
6312
|
case 19:
|
|
6312
|
-
|
|
6313
|
+
Bn(a, l), Wn(l), c & 4 && (c = l.updateQueue, c !== null && (l.updateQueue = null, Xr(l, c)));
|
|
6313
6314
|
break;
|
|
6314
6315
|
case 30:
|
|
6315
6316
|
break;
|
|
6316
6317
|
case 21:
|
|
6317
6318
|
break;
|
|
6318
6319
|
default:
|
|
6319
|
-
|
|
6320
|
+
Bn(a, l), Wn(l);
|
|
6320
6321
|
}
|
|
6321
6322
|
}
|
|
6322
6323
|
function Wn(l) {
|
|
@@ -6883,28 +6884,28 @@ Error generating stack: ` + c.message + `
|
|
|
6883
6884
|
cacheSignal: function() {
|
|
6884
6885
|
return P(Sl).controller.signal;
|
|
6885
6886
|
}
|
|
6886
|
-
}, ip = typeof WeakMap == "function" ? WeakMap : Map, Re = 0, Ye = null, ge = null, re = 0, Ne = 0, Kt = null, fi = !1, Vc = !1,
|
|
6887
|
+
}, ip = typeof WeakMap == "function" ? WeakMap : Map, Re = 0, Ye = null, ge = null, re = 0, Ne = 0, Kt = null, fi = !1, Vc = !1, Bh = !1, Mu = 0, Ke = 0, Ru = 0, Lo = 0, wh = 0, wn = 0, ol = 0, Qr = null, sl = null, qh = !1, Ou = 0, cp = 0, _e = 1 / 0, nf = null, el = null, wl = 0, Wi = null, Qc = null, ri = 0, In = 0, Yh = null, Gh = null, af = 0, Zr = null;
|
|
6887
6888
|
function Pn() {
|
|
6888
6889
|
return (Re & 2) !== 0 && re !== 0 ? re & -re : S.T !== null ? Zh() : fc();
|
|
6889
6890
|
}
|
|
6890
6891
|
function Tg() {
|
|
6891
|
-
if (
|
|
6892
|
+
if (wn === 0)
|
|
6892
6893
|
if ((re & 536870912) === 0 || pe) {
|
|
6893
6894
|
var l = ra;
|
|
6894
|
-
ra <<= 1, (ra & 3932160) === 0 && (ra = 262144),
|
|
6895
|
-
} else
|
|
6896
|
-
return l = Un.current, l !== null && (l.flags |= 32),
|
|
6895
|
+
ra <<= 1, (ra & 3932160) === 0 && (ra = 262144), wn = l;
|
|
6896
|
+
} else wn = 536870912;
|
|
6897
|
+
return l = Un.current, l !== null && (l.flags |= 32), wn;
|
|
6897
6898
|
}
|
|
6898
6899
|
function qn(l, a, u) {
|
|
6899
6900
|
(l === Ye && (Ne === 2 || Ne === 9) || l.cancelPendingCommit !== null) && (di(l, 0), Fi(
|
|
6900
6901
|
l,
|
|
6901
6902
|
re,
|
|
6902
|
-
|
|
6903
|
+
wn,
|
|
6903
6904
|
!1
|
|
6904
|
-
)),
|
|
6905
|
+
)), wa(l, u), ((Re & 2) === 0 || l !== Ye) && (l === Ye && ((Re & 2) === 0 && (Lo |= u), Ke === 4 && Fi(
|
|
6905
6906
|
l,
|
|
6906
6907
|
re,
|
|
6907
|
-
|
|
6908
|
+
wn,
|
|
6908
6909
|
!1
|
|
6909
6910
|
)), hi(l));
|
|
6910
6911
|
}
|
|
@@ -6936,7 +6937,7 @@ Error generating stack: ` + c.message + `
|
|
|
6936
6937
|
m,
|
|
6937
6938
|
!1
|
|
6938
6939
|
), m !== 2) {
|
|
6939
|
-
if (
|
|
6940
|
+
if (Bh && !z) {
|
|
6940
6941
|
g.errorRecoveryDisabledLanes |= r, Lo |= r, f = 4;
|
|
6941
6942
|
break t;
|
|
6942
6943
|
}
|
|
@@ -6965,7 +6966,7 @@ Error generating stack: ` + c.message + `
|
|
|
6965
6966
|
Fi(
|
|
6966
6967
|
c,
|
|
6967
6968
|
a,
|
|
6968
|
-
|
|
6969
|
+
wn,
|
|
6969
6970
|
!fi
|
|
6970
6971
|
);
|
|
6971
6972
|
break t;
|
|
@@ -6982,7 +6983,7 @@ Error generating stack: ` + c.message + `
|
|
|
6982
6983
|
if (Fi(
|
|
6983
6984
|
c,
|
|
6984
6985
|
a,
|
|
6985
|
-
|
|
6986
|
+
wn,
|
|
6986
6987
|
!fi
|
|
6987
6988
|
), Ee(c, 0, !0) !== 0) break t;
|
|
6988
6989
|
ri = a, c.timeoutHandle = ed(
|
|
@@ -6994,7 +6995,7 @@ Error generating stack: ` + c.message + `
|
|
|
6994
6995
|
nf,
|
|
6995
6996
|
qh,
|
|
6996
6997
|
a,
|
|
6997
|
-
|
|
6998
|
+
wn,
|
|
6998
6999
|
Lo,
|
|
6999
7000
|
ol,
|
|
7000
7001
|
fi,
|
|
@@ -7014,7 +7015,7 @@ Error generating stack: ` + c.message + `
|
|
|
7014
7015
|
nf,
|
|
7015
7016
|
qh,
|
|
7016
7017
|
a,
|
|
7017
|
-
|
|
7018
|
+
wn,
|
|
7018
7019
|
Lo,
|
|
7019
7020
|
ol,
|
|
7020
7021
|
fi,
|
|
@@ -7029,7 +7030,7 @@ Error generating stack: ` + c.message + `
|
|
|
7029
7030
|
} while (!0);
|
|
7030
7031
|
hi(l);
|
|
7031
7032
|
}
|
|
7032
|
-
function Jr(l, a, u, c, f, r, m, g, z, j, J, I,
|
|
7033
|
+
function Jr(l, a, u, c, f, r, m, g, z, j, J, I, w, L) {
|
|
7033
7034
|
if (l.timeoutHandle = -1, I = a.subtreeFlags, I & 8192 || (I & 16785408) === 16785408) {
|
|
7034
7035
|
I = {
|
|
7035
7036
|
stylesheets: null,
|
|
@@ -7065,7 +7066,7 @@ Error generating stack: ` + c.message + `
|
|
|
7065
7066
|
J,
|
|
7066
7067
|
I,
|
|
7067
7068
|
null,
|
|
7068
|
-
|
|
7069
|
+
w,
|
|
7069
7070
|
L
|
|
7070
7071
|
)
|
|
7071
7072
|
), Fi(l, r, m, !j);
|
|
@@ -7111,7 +7112,7 @@ Error generating stack: ` + c.message + `
|
|
|
7111
7112
|
return !0;
|
|
7112
7113
|
}
|
|
7113
7114
|
function Fi(l, a, u, c) {
|
|
7114
|
-
a &= ~
|
|
7115
|
+
a &= ~wh, a &= ~Lo, l.suspendedLanes |= a, l.pingedLanes &= ~a, c && (l.warmLanes |= a), c = l.expirationTimes;
|
|
7115
7116
|
for (var f = a; 0 < f; ) {
|
|
7116
7117
|
var r = 31 - Ql(f), m = 1 << r;
|
|
7117
7118
|
c[r] = -1, f &= ~m;
|
|
@@ -7134,7 +7135,7 @@ Error generating stack: ` + c.message + `
|
|
|
7134
7135
|
}
|
|
7135
7136
|
function di(l, a) {
|
|
7136
7137
|
var u = l.timeoutHandle;
|
|
7137
|
-
u !== -1 && (l.timeoutHandle = -1, Kg(u)), u = l.cancelPendingCommit, u !== null && (l.cancelPendingCommit = null, u()), ri = 0, op(), Ye = l, ge = u = qi(l.current, null), re = a, Ne = 0, Kt = null, fi = !1, Vc = Qn(l, a),
|
|
7138
|
+
u !== -1 && (l.timeoutHandle = -1, Kg(u)), u = l.cancelPendingCommit, u !== null && (l.cancelPendingCommit = null, u()), ri = 0, op(), Ye = l, ge = u = qi(l.current, null), re = a, Ne = 0, Kt = null, fi = !1, Vc = Qn(l, a), Bh = !1, ol = wn = wh = Lo = Ru = Ke = 0, sl = Qr = null, qh = !1, (a & 8) !== 0 && (a |= a & 32);
|
|
7138
7139
|
var c = l.entangledLanes;
|
|
7139
7140
|
if (c !== 0)
|
|
7140
7141
|
for (l = l.entanglements, c &= a; 0 < c; ) {
|
|
@@ -7144,7 +7145,7 @@ Error generating stack: ` + c.message + `
|
|
|
7144
7145
|
return Mu = a, ya(), u;
|
|
7145
7146
|
}
|
|
7146
7147
|
function cf(l, a) {
|
|
7147
|
-
ee = null, S.H = Hr, a === Oc || a ===
|
|
7148
|
+
ee = null, S.H = Hr, a === Oc || a === ws ? (a = gy(), Ne = 3) : a === Oo ? (a = gy(), Ne = 4) : Ne = a === Ah ? 8 : a !== null && typeof a == "object" && typeof a.then == "function" ? 6 : 1, Kt = a, ge === null && (Ke = 1, $s(
|
|
7148
7149
|
l,
|
|
7149
7150
|
ga(a, l.current)
|
|
7150
7151
|
));
|
|
@@ -7165,7 +7166,7 @@ Error generating stack: ` + c.message + `
|
|
|
7165
7166
|
Ke = 4, fi || (re & 4194048) !== re && Un.current !== null || (Vc = !0), (Ru & 134217727) === 0 && (Lo & 134217727) === 0 || Ye === null || Fi(
|
|
7166
7167
|
Ye,
|
|
7167
7168
|
re,
|
|
7168
|
-
|
|
7169
|
+
wn,
|
|
7169
7170
|
!1
|
|
7170
7171
|
);
|
|
7171
7172
|
}
|
|
@@ -7397,7 +7398,7 @@ Error generating stack: ` + c.message + `
|
|
|
7397
7398
|
l.cancelPendingCommit = null;
|
|
7398
7399
|
do
|
|
7399
7400
|
of();
|
|
7400
|
-
while (
|
|
7401
|
+
while (wl !== 0);
|
|
7401
7402
|
if ((Re & 6) !== 0) throw Error(b(327));
|
|
7402
7403
|
if (a !== null) {
|
|
7403
7404
|
if (a === l.current) throw Error(b(177));
|
|
@@ -7409,7 +7410,7 @@ Error generating stack: ` + c.message + `
|
|
|
7409
7410
|
g,
|
|
7410
7411
|
z
|
|
7411
7412
|
), l === Ye && (ge = Ye = null, re = 0), Qc = a, Wi = l, ri = u, In = r, Yh = f, Gh = c, (a.subtreeFlags & 10256) !== 0 || (a.flags & 10256) !== 0 ? (l.callbackNode = null, l.callbackPriority = 0, Gg(oa, function() {
|
|
7412
|
-
return
|
|
7413
|
+
return Bg(), null;
|
|
7413
7414
|
})) : (l.callbackNode = null, l.callbackPriority = 0), c = (a.flags & 13878) !== 0, (a.subtreeFlags & 13878) !== 0 || c) {
|
|
7414
7415
|
c = S.T, S.T = null, f = _.p, _.p = 2, m = Re, Re |= 4;
|
|
7415
7416
|
try {
|
|
@@ -7418,12 +7419,12 @@ Error generating stack: ` + c.message + `
|
|
|
7418
7419
|
Re = m, _.p = f, S.T = c;
|
|
7419
7420
|
}
|
|
7420
7421
|
}
|
|
7421
|
-
|
|
7422
|
+
wl = 1, xg(), Hg(), Ng();
|
|
7422
7423
|
}
|
|
7423
7424
|
}
|
|
7424
7425
|
function xg() {
|
|
7425
|
-
if (
|
|
7426
|
-
|
|
7426
|
+
if (wl === 1) {
|
|
7427
|
+
wl = 0;
|
|
7427
7428
|
var l = Wi, a = Qc, u = (a.flags & 13878) !== 0;
|
|
7428
7429
|
if ((a.subtreeFlags & 13878) !== 0 || u) {
|
|
7429
7430
|
u = S.T, S.T = null;
|
|
@@ -7446,9 +7447,9 @@ Error generating stack: ` + c.message + `
|
|
|
7446
7447
|
g.value.length
|
|
7447
7448
|
);
|
|
7448
7449
|
else {
|
|
7449
|
-
var I = g.ownerDocument || document,
|
|
7450
|
-
if (
|
|
7451
|
-
var L =
|
|
7450
|
+
var I = g.ownerDocument || document, w = I && I.defaultView || window;
|
|
7451
|
+
if (w.getSelection) {
|
|
7452
|
+
var L = w.getSelection(), Ct = g.textContent.length, Qt = Math.min(z.start, Ct), Xe = z.end === void 0 ? Qt : Math.min(z.end, Ct);
|
|
7452
7453
|
!L.extend && Qt > Xe && (m = Xe, Xe = Qt, Qt = m);
|
|
7453
7454
|
var x = iy(
|
|
7454
7455
|
g,
|
|
@@ -7480,12 +7481,12 @@ Error generating stack: ` + c.message + `
|
|
|
7480
7481
|
Re = f, _.p = c, S.T = u;
|
|
7481
7482
|
}
|
|
7482
7483
|
}
|
|
7483
|
-
l.current = a,
|
|
7484
|
+
l.current = a, wl = 2;
|
|
7484
7485
|
}
|
|
7485
7486
|
}
|
|
7486
7487
|
function Hg() {
|
|
7487
|
-
if (
|
|
7488
|
-
|
|
7488
|
+
if (wl === 2) {
|
|
7489
|
+
wl = 0;
|
|
7489
7490
|
var l = Wi, a = Qc, u = (a.flags & 8772) !== 0;
|
|
7490
7491
|
if ((a.subtreeFlags & 8772) !== 0 || u) {
|
|
7491
7492
|
u = S.T, S.T = null;
|
|
@@ -7499,14 +7500,14 @@ Error generating stack: ` + c.message + `
|
|
|
7499
7500
|
Re = f, _.p = c, S.T = u;
|
|
7500
7501
|
}
|
|
7501
7502
|
}
|
|
7502
|
-
|
|
7503
|
+
wl = 3;
|
|
7503
7504
|
}
|
|
7504
7505
|
}
|
|
7505
7506
|
function Ng() {
|
|
7506
|
-
if (
|
|
7507
|
-
|
|
7507
|
+
if (wl === 4 || wl === 3) {
|
|
7508
|
+
wl = 0, ca();
|
|
7508
7509
|
var l = Wi, a = Qc, u = ri, c = Gh;
|
|
7509
|
-
(a.subtreeFlags & 10256) !== 0 || (a.flags & 10256) !== 0 ?
|
|
7510
|
+
(a.subtreeFlags & 10256) !== 0 || (a.flags & 10256) !== 0 ? wl = 5 : (wl = 0, Qc = Wi = null, jg(l, l.pendingLanes));
|
|
7510
7511
|
var f = l.pendingLanes;
|
|
7511
7512
|
if (f === 0 && (el = null), no(u), a = a.stateNode, zl && typeof zl.onCommitFiberRoot == "function")
|
|
7512
7513
|
try {
|
|
@@ -7538,17 +7539,17 @@ Error generating stack: ` + c.message + `
|
|
|
7538
7539
|
(l.pooledCacheLanes &= a) === 0 && (a = l.pooledCache, a != null && (l.pooledCache = null, yr(a)));
|
|
7539
7540
|
}
|
|
7540
7541
|
function of() {
|
|
7541
|
-
return xg(), Hg(), Ng(),
|
|
7542
|
+
return xg(), Hg(), Ng(), Bg();
|
|
7542
7543
|
}
|
|
7543
|
-
function
|
|
7544
|
-
if (
|
|
7544
|
+
function Bg() {
|
|
7545
|
+
if (wl !== 5) return !1;
|
|
7545
7546
|
var l = Wi, a = In;
|
|
7546
7547
|
In = 0;
|
|
7547
7548
|
var u = no(ri), c = S.T, f = _.p;
|
|
7548
7549
|
try {
|
|
7549
7550
|
_.p = 32 > u ? 32 : u, S.T = null, u = Yh, Yh = null;
|
|
7550
7551
|
var r = Wi, m = ri;
|
|
7551
|
-
if (
|
|
7552
|
+
if (wl = 0, Qc = Wi = null, ri = 0, (Re & 6) !== 0) throw Error(b(331));
|
|
7552
7553
|
var g = Re;
|
|
7553
7554
|
if (Re |= 4, up(r.current), tf(
|
|
7554
7555
|
r,
|
|
@@ -7565,16 +7566,16 @@ Error generating stack: ` + c.message + `
|
|
|
7565
7566
|
_.p = f, S.T = c, jg(l, a);
|
|
7566
7567
|
}
|
|
7567
7568
|
}
|
|
7568
|
-
function
|
|
7569
|
-
a = ga(u, a), a = Yy(l.stateNode, a, 2), l = Ta(l, a, 2), l !== null && (
|
|
7569
|
+
function wg(l, a, u) {
|
|
7570
|
+
a = ga(u, a), a = Yy(l.stateNode, a, 2), l = Ta(l, a, 2), l !== null && (wa(l, 2), hi(l));
|
|
7570
7571
|
}
|
|
7571
7572
|
function je(l, a, u) {
|
|
7572
7573
|
if (l.tag === 3)
|
|
7573
|
-
|
|
7574
|
+
wg(l, l, u);
|
|
7574
7575
|
else
|
|
7575
7576
|
for (; a !== null; ) {
|
|
7576
7577
|
if (a.tag === 3) {
|
|
7577
|
-
|
|
7578
|
+
wg(
|
|
7578
7579
|
a,
|
|
7579
7580
|
l,
|
|
7580
7581
|
u
|
|
@@ -7588,7 +7589,7 @@ Error generating stack: ` + c.message + `
|
|
|
7588
7589
|
c,
|
|
7589
7590
|
a,
|
|
7590
7591
|
l
|
|
7591
|
-
),
|
|
7592
|
+
), wa(c, 2), hi(c));
|
|
7592
7593
|
break;
|
|
7593
7594
|
}
|
|
7594
7595
|
}
|
|
@@ -7603,14 +7604,14 @@ Error generating stack: ` + c.message + `
|
|
|
7603
7604
|
c.set(a, f);
|
|
7604
7605
|
} else
|
|
7605
7606
|
f = c.get(a), f === void 0 && (f = /* @__PURE__ */ new Set(), c.set(a, f));
|
|
7606
|
-
f.has(u) || (
|
|
7607
|
+
f.has(u) || (Bh = !0, f.add(u), l = sp.bind(null, l, a, u), a.then(l, l));
|
|
7607
7608
|
}
|
|
7608
7609
|
function sp(l, a, u) {
|
|
7609
7610
|
var c = l.pingCache;
|
|
7610
|
-
c !== null && c.delete(a), l.pingedLanes |= l.suspendedLanes & u, l.warmLanes &= ~u, Ye === l && (re & u) === u && (Ke === 4 || Ke === 3 && (re & 62914560) === re && 300 > rl() - Ou ? (Re & 2) === 0 && di(l, 0) :
|
|
7611
|
+
c !== null && c.delete(a), l.pingedLanes |= l.suspendedLanes & u, l.warmLanes &= ~u, Ye === l && (re & u) === u && (Ke === 4 || Ke === 3 && (re & 62914560) === re && 300 > rl() - Ou ? (Re & 2) === 0 && di(l, 0) : wh |= u, ol === re && (ol = 0)), hi(l);
|
|
7611
7612
|
}
|
|
7612
7613
|
function qg(l, a) {
|
|
7613
|
-
a === 0 && (a = Zn()), l =
|
|
7614
|
+
a === 0 && (a = Zn()), l = wi(l, a), l !== null && (wa(l, a), hi(l));
|
|
7614
7615
|
}
|
|
7615
7616
|
function Ra(l) {
|
|
7616
7617
|
var a = l.memoizedState, u = 0;
|
|
@@ -7678,7 +7679,7 @@ Error generating stack: ` + c.message + `
|
|
|
7678
7679
|
var f = c.next, r = hp(c, a);
|
|
7679
7680
|
r === 0 ? (c.next = null, u === null ? sf = f : u.next = f, f === null && (Qo = u)) : (u = c, (l !== 0 || (r & 3) !== 0) && (Vh = !0)), c = f;
|
|
7680
7681
|
}
|
|
7681
|
-
|
|
7682
|
+
wl !== 0 && wl !== 5 || Pi(l), Ii !== 0 && (Ii = 0);
|
|
7682
7683
|
}
|
|
7683
7684
|
function hp(l, a) {
|
|
7684
7685
|
for (var u = l.suspendedLanes, c = l.pingedLanes, f = l.expirationTimes, r = l.pendingLanes & -62914561; 0 < r; ) {
|
|
@@ -7712,7 +7713,7 @@ Error generating stack: ` + c.message + `
|
|
|
7712
7713
|
return c !== null && c !== null && Ln(c), l.callbackPriority = 2, l.callbackNode = null, 2;
|
|
7713
7714
|
}
|
|
7714
7715
|
function kr(l, a) {
|
|
7715
|
-
if (
|
|
7716
|
+
if (wl !== 0 && wl !== 5)
|
|
7716
7717
|
return l.callbackNode = null, l.callbackPriority = 0, null;
|
|
7717
7718
|
var u = l.callbackNode;
|
|
7718
7719
|
if (of() && l.callbackNode !== u)
|
|
@@ -7739,7 +7740,7 @@ Error generating stack: ` + c.message + `
|
|
|
7739
7740
|
function Zh() {
|
|
7740
7741
|
if (Ii === 0) {
|
|
7741
7742
|
var l = Rc;
|
|
7742
|
-
l === 0 && (l =
|
|
7743
|
+
l === 0 && (l = Ba, Ba <<= 1, (Ba & 261888) === 0 && (Ba = 256)), Ii = l;
|
|
7743
7744
|
}
|
|
7744
7745
|
return Ii;
|
|
7745
7746
|
}
|
|
@@ -7951,8 +7952,8 @@ Error generating stack: ` + c.message + `
|
|
|
7951
7952
|
Qe(function() {
|
|
7952
7953
|
var j = r, J = ro(u), I = [];
|
|
7953
7954
|
t: {
|
|
7954
|
-
var
|
|
7955
|
-
if (
|
|
7955
|
+
var w = $u.get(l);
|
|
7956
|
+
if (w !== void 0) {
|
|
7956
7957
|
var L = lr, Ct = l;
|
|
7957
7958
|
switch (l) {
|
|
7958
7959
|
case "keypress":
|
|
@@ -7962,14 +7963,14 @@ Error generating stack: ` + c.message + `
|
|
|
7962
7963
|
L = Yd;
|
|
7963
7964
|
break;
|
|
7964
7965
|
case "focusin":
|
|
7965
|
-
Ct = "focus", L =
|
|
7966
|
+
Ct = "focus", L = wd;
|
|
7966
7967
|
break;
|
|
7967
7968
|
case "focusout":
|
|
7968
|
-
Ct = "blur", L =
|
|
7969
|
+
Ct = "blur", L = wd;
|
|
7969
7970
|
break;
|
|
7970
7971
|
case "beforeblur":
|
|
7971
7972
|
case "afterblur":
|
|
7972
|
-
L =
|
|
7973
|
+
L = wd;
|
|
7973
7974
|
break;
|
|
7974
7975
|
case "click":
|
|
7975
7976
|
if (u.button === 2) break t;
|
|
@@ -8033,7 +8034,7 @@ Error generating stack: ` + c.message + `
|
|
|
8033
8034
|
case "beforetoggle":
|
|
8034
8035
|
L = Im;
|
|
8035
8036
|
}
|
|
8036
|
-
var Qt = (a & 4) !== 0, Xe = !Qt && (l === "scroll" || l === "scrollend"), x = Qt ?
|
|
8037
|
+
var Qt = (a & 4) !== 0, Xe = !Qt && (l === "scroll" || l === "scrollend"), x = Qt ? w !== null ? w + "Capture" : null : w;
|
|
8037
8038
|
Qt = [];
|
|
8038
8039
|
for (var O = j, N; O !== null; ) {
|
|
8039
8040
|
var k = O;
|
|
@@ -8042,27 +8043,27 @@ Error generating stack: ` + c.message + `
|
|
|
8042
8043
|
)), Xe) break;
|
|
8043
8044
|
O = O.return;
|
|
8044
8045
|
}
|
|
8045
|
-
0 < Qt.length && (
|
|
8046
|
-
|
|
8046
|
+
0 < Qt.length && (w = new L(
|
|
8047
|
+
w,
|
|
8047
8048
|
Ct,
|
|
8048
8049
|
null,
|
|
8049
8050
|
u,
|
|
8050
8051
|
J
|
|
8051
|
-
), I.push({ event:
|
|
8052
|
+
), I.push({ event: w, listeners: Qt }));
|
|
8052
8053
|
}
|
|
8053
8054
|
}
|
|
8054
8055
|
if ((a & 7) === 0) {
|
|
8055
8056
|
t: {
|
|
8056
|
-
if (
|
|
8057
|
+
if (w = l === "mouseover" || l === "pointerover", L = l === "mouseout" || l === "pointerout", w && u !== fo && (Ct = u.relatedTarget || u.fromElement) && (Xu(Ct) || Ct[iu]))
|
|
8057
8058
|
break t;
|
|
8058
|
-
if ((L ||
|
|
8059
|
-
if (Qt = Ms, k = "onMouseLeave", x = "onMouseEnter", O = "mouse", (l === "pointerout" || l === "pointerover") && (Qt = hu, k = "onPointerLeave", x = "onPointerEnter", O = "pointer"), Xe = L == null ?
|
|
8059
|
+
if ((L || w) && (w = J.window === J ? J : (w = J.ownerDocument) ? w.defaultView || w.parentWindow : window, L ? (Ct = u.relatedTarget || u.toElement, L = j, Ct = Ct ? Xu(Ct) : null, Ct !== null && (Xe = it(Ct), Qt = Ct.tag, Ct !== Xe || Qt !== 5 && Qt !== 27 && Qt !== 6) && (Ct = null)) : (L = null, Ct = j), L !== Ct)) {
|
|
8060
|
+
if (Qt = Ms, k = "onMouseLeave", x = "onMouseEnter", O = "mouse", (l === "pointerout" || l === "pointerover") && (Qt = hu, k = "onPointerLeave", x = "onPointerEnter", O = "pointer"), Xe = L == null ? w : rc(L), N = Ct == null ? w : rc(Ct), w = new Qt(
|
|
8060
8061
|
k,
|
|
8061
8062
|
O + "leave",
|
|
8062
8063
|
L,
|
|
8063
8064
|
u,
|
|
8064
8065
|
J
|
|
8065
|
-
),
|
|
8066
|
+
), w.target = Xe, w.relatedTarget = N, k = null, Xu(J) === j && (Qt = new Qt(
|
|
8066
8067
|
x,
|
|
8067
8068
|
O + "enter",
|
|
8068
8069
|
Ct,
|
|
@@ -8091,7 +8092,7 @@ Error generating stack: ` + c.message + `
|
|
|
8091
8092
|
else Qt = null;
|
|
8092
8093
|
L !== null && $h(
|
|
8093
8094
|
I,
|
|
8094
|
-
|
|
8095
|
+
w,
|
|
8095
8096
|
L,
|
|
8096
8097
|
Qt,
|
|
8097
8098
|
!1
|
|
@@ -8105,9 +8106,9 @@ Error generating stack: ` + c.message + `
|
|
|
8105
8106
|
}
|
|
8106
8107
|
}
|
|
8107
8108
|
t: {
|
|
8108
|
-
if (
|
|
8109
|
+
if (w = j ? rc(j) : window, L = w.nodeName && w.nodeName.toLowerCase(), L === "select" || L === "input" && w.type === "file")
|
|
8109
8110
|
var ze = ny;
|
|
8110
|
-
else if (Ju(
|
|
8111
|
+
else if (Ju(w))
|
|
8111
8112
|
if (Ld)
|
|
8112
8113
|
ze = So;
|
|
8113
8114
|
else {
|
|
@@ -8115,7 +8116,7 @@ Error generating stack: ` + c.message + `
|
|
|
8115
8116
|
var Ut = k0;
|
|
8116
8117
|
}
|
|
8117
8118
|
else
|
|
8118
|
-
L =
|
|
8119
|
+
L = w.nodeName, !L || L.toLowerCase() !== "input" || w.type !== "checkbox" && w.type !== "radio" ? j && Ni(j.elementType) && (ze = ny) : ze = Ec;
|
|
8119
8120
|
if (ze && (ze = ze(l, j))) {
|
|
8120
8121
|
ly(
|
|
8121
8122
|
I,
|
|
@@ -8125,7 +8126,7 @@ Error generating stack: ` + c.message + `
|
|
|
8125
8126
|
);
|
|
8126
8127
|
break t;
|
|
8127
8128
|
}
|
|
8128
|
-
Ut && Ut(l,
|
|
8129
|
+
Ut && Ut(l, w, j), l === "focusout" && j && w.type === "number" && j.memoizedProps.value != null && qa(w, "number", w.value);
|
|
8129
8130
|
}
|
|
8130
8131
|
switch (Ut = j ? rc(j) : window, l) {
|
|
8131
8132
|
case "focusin":
|
|
@@ -8756,10 +8757,10 @@ Error generating stack: ` + c.message + `
|
|
|
8756
8757
|
c.hasOwnProperty(L) || Ge(l, a, L, null, c, I);
|
|
8757
8758
|
}
|
|
8758
8759
|
}
|
|
8759
|
-
for (var
|
|
8760
|
-
var L = c[
|
|
8761
|
-
if (I = u[
|
|
8762
|
-
switch (
|
|
8760
|
+
for (var w in c) {
|
|
8761
|
+
var L = c[w];
|
|
8762
|
+
if (I = u[w], c.hasOwnProperty(w) && (L != null || I != null))
|
|
8763
|
+
switch (w) {
|
|
8763
8764
|
case "type":
|
|
8764
8765
|
r = L;
|
|
8765
8766
|
break;
|
|
@@ -8787,7 +8788,7 @@ Error generating stack: ` + c.message + `
|
|
|
8787
8788
|
L !== I && Ge(
|
|
8788
8789
|
l,
|
|
8789
8790
|
a,
|
|
8790
|
-
|
|
8791
|
+
w,
|
|
8791
8792
|
L,
|
|
8792
8793
|
c,
|
|
8793
8794
|
I
|
|
@@ -8806,7 +8807,7 @@ Error generating stack: ` + c.message + `
|
|
|
8806
8807
|
);
|
|
8807
8808
|
return;
|
|
8808
8809
|
case "select":
|
|
8809
|
-
L = m = g =
|
|
8810
|
+
L = m = g = w = null;
|
|
8810
8811
|
for (r in u)
|
|
8811
8812
|
if (z = u[r], u.hasOwnProperty(r) && z != null)
|
|
8812
8813
|
switch (r) {
|
|
@@ -8828,7 +8829,7 @@ Error generating stack: ` + c.message + `
|
|
|
8828
8829
|
if (r = c[f], z = u[f], c.hasOwnProperty(f) && (r != null || z != null))
|
|
8829
8830
|
switch (f) {
|
|
8830
8831
|
case "value":
|
|
8831
|
-
|
|
8832
|
+
w = r;
|
|
8832
8833
|
break;
|
|
8833
8834
|
case "defaultValue":
|
|
8834
8835
|
g = r;
|
|
@@ -8845,10 +8846,10 @@ Error generating stack: ` + c.message + `
|
|
|
8845
8846
|
z
|
|
8846
8847
|
);
|
|
8847
8848
|
}
|
|
8848
|
-
a = g, u = m, c = L,
|
|
8849
|
+
a = g, u = m, c = L, w != null ? Ya(l, !!u, w, !1) : !!c != !!u && (a != null ? Ya(l, !!u, a, !0) : Ya(l, !!u, u ? [] : "", !1));
|
|
8849
8850
|
return;
|
|
8850
8851
|
case "textarea":
|
|
8851
|
-
L =
|
|
8852
|
+
L = w = null;
|
|
8852
8853
|
for (g in u)
|
|
8853
8854
|
if (f = u[g], u.hasOwnProperty(g) && f != null && !c.hasOwnProperty(g))
|
|
8854
8855
|
switch (g) {
|
|
@@ -8863,7 +8864,7 @@ Error generating stack: ` + c.message + `
|
|
|
8863
8864
|
if (f = c[m], r = u[m], c.hasOwnProperty(m) && (f != null || r != null))
|
|
8864
8865
|
switch (m) {
|
|
8865
8866
|
case "value":
|
|
8866
|
-
|
|
8867
|
+
w = f;
|
|
8867
8868
|
break;
|
|
8868
8869
|
case "defaultValue":
|
|
8869
8870
|
L = f;
|
|
@@ -8876,11 +8877,11 @@ Error generating stack: ` + c.message + `
|
|
|
8876
8877
|
default:
|
|
8877
8878
|
f !== r && Ge(l, a, m, f, c, r);
|
|
8878
8879
|
}
|
|
8879
|
-
gc(l,
|
|
8880
|
+
gc(l, w, L);
|
|
8880
8881
|
return;
|
|
8881
8882
|
case "option":
|
|
8882
8883
|
for (var Ct in u)
|
|
8883
|
-
if (
|
|
8884
|
+
if (w = u[Ct], u.hasOwnProperty(Ct) && w != null && !c.hasOwnProperty(Ct))
|
|
8884
8885
|
switch (Ct) {
|
|
8885
8886
|
case "selected":
|
|
8886
8887
|
l.selected = !1;
|
|
@@ -8892,21 +8893,21 @@ Error generating stack: ` + c.message + `
|
|
|
8892
8893
|
Ct,
|
|
8893
8894
|
null,
|
|
8894
8895
|
c,
|
|
8895
|
-
|
|
8896
|
+
w
|
|
8896
8897
|
);
|
|
8897
8898
|
}
|
|
8898
8899
|
for (z in c)
|
|
8899
|
-
if (
|
|
8900
|
+
if (w = c[z], L = u[z], c.hasOwnProperty(z) && w !== L && (w != null || L != null))
|
|
8900
8901
|
switch (z) {
|
|
8901
8902
|
case "selected":
|
|
8902
|
-
l.selected =
|
|
8903
|
+
l.selected = w && typeof w != "function" && typeof w != "symbol";
|
|
8903
8904
|
break;
|
|
8904
8905
|
default:
|
|
8905
8906
|
Ge(
|
|
8906
8907
|
l,
|
|
8907
8908
|
a,
|
|
8908
8909
|
z,
|
|
8909
|
-
|
|
8910
|
+
w,
|
|
8910
8911
|
c,
|
|
8911
8912
|
L
|
|
8912
8913
|
);
|
|
@@ -8928,13 +8929,13 @@ Error generating stack: ` + c.message + `
|
|
|
8928
8929
|
case "wbr":
|
|
8929
8930
|
case "menuitem":
|
|
8930
8931
|
for (var Qt in u)
|
|
8931
|
-
|
|
8932
|
+
w = u[Qt], u.hasOwnProperty(Qt) && w != null && !c.hasOwnProperty(Qt) && Ge(l, a, Qt, null, c, w);
|
|
8932
8933
|
for (j in c)
|
|
8933
|
-
if (
|
|
8934
|
+
if (w = c[j], L = u[j], c.hasOwnProperty(j) && w !== L && (w != null || L != null))
|
|
8934
8935
|
switch (j) {
|
|
8935
8936
|
case "children":
|
|
8936
8937
|
case "dangerouslySetInnerHTML":
|
|
8937
|
-
if (
|
|
8938
|
+
if (w != null)
|
|
8938
8939
|
throw Error(b(137, a));
|
|
8939
8940
|
break;
|
|
8940
8941
|
default:
|
|
@@ -8942,7 +8943,7 @@ Error generating stack: ` + c.message + `
|
|
|
8942
8943
|
l,
|
|
8943
8944
|
a,
|
|
8944
8945
|
j,
|
|
8945
|
-
|
|
8946
|
+
w,
|
|
8946
8947
|
c,
|
|
8947
8948
|
L
|
|
8948
8949
|
);
|
|
@@ -8951,20 +8952,20 @@ Error generating stack: ` + c.message + `
|
|
|
8951
8952
|
default:
|
|
8952
8953
|
if (Ni(a)) {
|
|
8953
8954
|
for (var Xe in u)
|
|
8954
|
-
|
|
8955
|
+
w = u[Xe], u.hasOwnProperty(Xe) && w !== void 0 && !c.hasOwnProperty(Xe) && Tp(
|
|
8955
8956
|
l,
|
|
8956
8957
|
a,
|
|
8957
8958
|
Xe,
|
|
8958
8959
|
void 0,
|
|
8959
8960
|
c,
|
|
8960
|
-
|
|
8961
|
+
w
|
|
8961
8962
|
);
|
|
8962
8963
|
for (J in c)
|
|
8963
|
-
|
|
8964
|
+
w = c[J], L = u[J], !c.hasOwnProperty(J) || w === L || w === void 0 && L === void 0 || Tp(
|
|
8964
8965
|
l,
|
|
8965
8966
|
a,
|
|
8966
8967
|
J,
|
|
8967
|
-
|
|
8968
|
+
w,
|
|
8968
8969
|
c,
|
|
8969
8970
|
L
|
|
8970
8971
|
);
|
|
@@ -8972,9 +8973,9 @@ Error generating stack: ` + c.message + `
|
|
|
8972
8973
|
}
|
|
8973
8974
|
}
|
|
8974
8975
|
for (var x in u)
|
|
8975
|
-
|
|
8976
|
+
w = u[x], u.hasOwnProperty(x) && w != null && !c.hasOwnProperty(x) && Ge(l, a, x, null, c, w);
|
|
8976
8977
|
for (I in c)
|
|
8977
|
-
|
|
8978
|
+
w = c[I], L = u[I], !c.hasOwnProperty(I) || w === L || w == null && L == null || Ge(l, a, I, w, c, L);
|
|
8978
8979
|
}
|
|
8979
8980
|
function kh(l) {
|
|
8980
8981
|
switch (l) {
|
|
@@ -9717,7 +9718,7 @@ Error generating stack: ` + c.message + `
|
|
|
9717
9718
|
}
|
|
9718
9719
|
function Pg(l) {
|
|
9719
9720
|
if (l.tag === 13 || l.tag === 31) {
|
|
9720
|
-
var a =
|
|
9721
|
+
var a = wi(l, 67108864);
|
|
9721
9722
|
a !== null && qn(a, l, 67108864), Np(l, 67108864);
|
|
9722
9723
|
}
|
|
9723
9724
|
}
|
|
@@ -9725,7 +9726,7 @@ Error generating stack: ` + c.message + `
|
|
|
9725
9726
|
if (l.tag === 13 || l.tag === 31) {
|
|
9726
9727
|
var a = Pn();
|
|
9727
9728
|
a = lo(a);
|
|
9728
|
-
var u =
|
|
9729
|
+
var u = wi(l, a);
|
|
9729
9730
|
u !== null && qn(u, l, a), Np(l, a);
|
|
9730
9731
|
}
|
|
9731
9732
|
}
|
|
@@ -9789,7 +9790,7 @@ Error generating stack: ` + c.message + `
|
|
|
9789
9790
|
break;
|
|
9790
9791
|
case 31:
|
|
9791
9792
|
case 13:
|
|
9792
|
-
g =
|
|
9793
|
+
g = wi(r, 2), g !== null && qn(g, r, 2), uf(), Np(r, 2);
|
|
9793
9794
|
}
|
|
9794
9795
|
if (r = jp(c), r === null && gp(
|
|
9795
9796
|
l,
|
|
@@ -10133,7 +10134,7 @@ Error generating stack: ` + c.message + `
|
|
|
10133
10134
|
}
|
|
10134
10135
|
}
|
|
10135
10136
|
}
|
|
10136
|
-
function
|
|
10137
|
+
function Bp() {
|
|
10137
10138
|
function l(r) {
|
|
10138
10139
|
r.canIntercept && r.info === "react-transition" && r.intercept({
|
|
10139
10140
|
handler: function() {
|
|
@@ -10192,12 +10193,12 @@ Error generating stack: ` + c.message + `
|
|
|
10192
10193
|
ll.splice(u, 0, l), u === 0 && tv(l);
|
|
10193
10194
|
}
|
|
10194
10195
|
};
|
|
10195
|
-
var
|
|
10196
|
-
if (
|
|
10196
|
+
var wp = U.version;
|
|
10197
|
+
if (wp !== "19.2.7")
|
|
10197
10198
|
throw Error(
|
|
10198
10199
|
b(
|
|
10199
10200
|
527,
|
|
10200
|
-
|
|
10201
|
+
wp,
|
|
10201
10202
|
"19.2.7"
|
|
10202
10203
|
)
|
|
10203
10204
|
);
|
|
@@ -10239,7 +10240,7 @@ Error generating stack: ` + c.message + `
|
|
|
10239
10240
|
f,
|
|
10240
10241
|
r,
|
|
10241
10242
|
m,
|
|
10242
|
-
|
|
10243
|
+
Bp
|
|
10243
10244
|
), l[iu] = a.current, df(l), new sm(a);
|
|
10244
10245
|
}, C0.hydrateRoot = function(l, a, u) {
|
|
10245
10246
|
if (!F(l)) throw Error(b(299));
|
|
@@ -10256,8 +10257,8 @@ Error generating stack: ` + c.message + `
|
|
|
10256
10257
|
r,
|
|
10257
10258
|
m,
|
|
10258
10259
|
g,
|
|
10259
|
-
|
|
10260
|
-
), a.context = Wo(null), u = a.current, c = Pn(), c = lo(c), f = Qi(c), f.callback = null, Ta(u, f, c), u = c, a.current.lanes = u,
|
|
10260
|
+
Bp
|
|
10261
|
+
), a.context = Wo(null), u = a.current, c = Pn(), c = lo(c), f = Qi(c), f.callback = null, Ta(u, f, c), u = c, a.current.lanes = u, wa(a, u), hi(a), l[iu] = a.current, df(l), new fm(a);
|
|
10261
10262
|
}, C0.version = "19.2.7", C0;
|
|
10262
10263
|
}
|
|
10263
10264
|
var _0 = {};
|
|
@@ -10271,7 +10272,7 @@ var _0 = {};
|
|
|
10271
10272
|
* LICENSE file in the root directory of this source tree.
|
|
10272
10273
|
*/
|
|
10273
10274
|
var I2;
|
|
10274
|
-
function
|
|
10275
|
+
function wA() {
|
|
10275
10276
|
return I2 || (I2 = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
10276
10277
|
function v(t, e) {
|
|
10277
10278
|
for (t = t.memoizedState; t !== null && 0 < e; )
|
|
@@ -11231,7 +11232,7 @@ Error generating stack: ` + h.message + `
|
|
|
11231
11232
|
function vs(t) {
|
|
11232
11233
|
delete t[ll], delete t[Gn], delete t[Io], delete t[v1], delete t[tv];
|
|
11233
11234
|
}
|
|
11234
|
-
function
|
|
11235
|
+
function Ba(t) {
|
|
11235
11236
|
var e = t[ll];
|
|
11236
11237
|
if (e) return e;
|
|
11237
11238
|
for (var n = t.parentNode; n; ) {
|
|
@@ -11289,9 +11290,9 @@ Error generating stack: ` + h.message + `
|
|
|
11289
11290
|
);
|
|
11290
11291
|
}
|
|
11291
11292
|
function Ui(t) {
|
|
11292
|
-
return Ca.call(sm, t) ? !0 : Ca.call(
|
|
11293
|
+
return Ca.call(sm, t) ? !0 : Ca.call(Bp, t) ? !1 : zf.test(t) ? sm[t] = !0 : (Bp[t] = !0, console.error("Invalid attribute name: `%s`", t), !1);
|
|
11293
11294
|
}
|
|
11294
|
-
function
|
|
11295
|
+
function wa(t, e, n) {
|
|
11295
11296
|
if (Ui(e)) {
|
|
11296
11297
|
if (!t.hasAttribute(e)) {
|
|
11297
11298
|
switch (typeof n) {
|
|
@@ -11442,11 +11443,11 @@ Error generating stack: ` + h.message + `
|
|
|
11442
11443
|
"%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",
|
|
11443
11444
|
Dl() || "A component",
|
|
11444
11445
|
e.type
|
|
11445
|
-
), nv = !0), e.value === void 0 || e.defaultValue === void 0 ||
|
|
11446
|
+
), nv = !0), e.value === void 0 || e.defaultValue === void 0 || wp || (console.error(
|
|
11446
11447
|
"%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",
|
|
11447
11448
|
Dl() || "A component",
|
|
11448
11449
|
e.type
|
|
11449
|
-
),
|
|
11450
|
+
), wp = !0);
|
|
11450
11451
|
}
|
|
11451
11452
|
function iu(t, e, n, i, o, s, d, h) {
|
|
11452
11453
|
t.name = "", d != null && typeof d != "function" && typeof d != "symbol" && typeof d != "boolean" ? (Yt(d, "type"), t.type = d) : t.removeAttribute("type"), e != null ? d === "number" ? (e === 0 && t.value === "" || t.value != e) && (t.value = "" + Dn(e)) : t.value !== "" + Dn(e) && (t.value = "" + Dn(e)) : d !== "submit" && d !== "reset" || t.removeAttribute("value"), e != null ? xi(t, d, Dn(e)) : n != null ? xi(t, d, Dn(n)) : i != null && t.removeAttribute("value"), o == null && s != null && (t.defaultChecked = !!s), o != null && (t.checked = o && typeof o != "function" && typeof o != "symbol"), h != null && typeof h != "function" && typeof h != "symbol" && typeof h != "boolean" ? (Yt(h, "name"), t.name = "" + Dn(h)) : t.removeAttribute("name");
|
|
@@ -12058,16 +12059,16 @@ This will cause a hydration error.%s`,
|
|
|
12058
12059
|
if (n) {
|
|
12059
12060
|
for (var o in n)
|
|
12060
12061
|
if (n.hasOwnProperty(o) && !e.hasOwnProperty(o))
|
|
12061
|
-
for (var s =
|
|
12062
|
+
for (var s = w[o] || [o], d = 0; d < s.length; d++)
|
|
12062
12063
|
i[s[d]] = o;
|
|
12063
12064
|
}
|
|
12064
12065
|
for (var h in e)
|
|
12065
12066
|
if (e.hasOwnProperty(h) && (!n || n[h] !== e[h]))
|
|
12066
|
-
for (o =
|
|
12067
|
+
for (o = w[h] || [h], s = 0; s < o.length; s++)
|
|
12067
12068
|
i[o[s]] = h;
|
|
12068
12069
|
h = {};
|
|
12069
12070
|
for (var y in e)
|
|
12070
|
-
for (o =
|
|
12071
|
+
for (o = w[y] || [y], s = 0; s < o.length; s++)
|
|
12071
12072
|
h[o[s]] = y;
|
|
12072
12073
|
y = {};
|
|
12073
12074
|
for (var p in i)
|
|
@@ -12426,7 +12427,7 @@ This will cause a hydration error.%s`,
|
|
|
12426
12427
|
for (e = 0; e < t.length; e++) fo(t[e]);
|
|
12427
12428
|
}
|
|
12428
12429
|
}
|
|
12429
|
-
function
|
|
12430
|
+
function B(t, e) {
|
|
12430
12431
|
var n = t.stateNode;
|
|
12431
12432
|
if (n === null) return null;
|
|
12432
12433
|
var i = n[Gn] || null;
|
|
@@ -12609,7 +12610,7 @@ This will cause a hydration error.%s`,
|
|
|
12609
12610
|
if (t === "input" || t === "change")
|
|
12610
12611
|
return cn(e);
|
|
12611
12612
|
}
|
|
12612
|
-
function
|
|
12613
|
+
function Bd(t, e) {
|
|
12613
12614
|
return t === e && (t !== 0 || 1 / t === 1 / e) || t !== t && e !== e;
|
|
12614
12615
|
}
|
|
12615
12616
|
function Ms(t, e) {
|
|
@@ -12654,7 +12655,7 @@ This will cause a hydration error.%s`,
|
|
|
12654
12655
|
function X0(t, e) {
|
|
12655
12656
|
return t && e ? t === e ? !0 : t && t.nodeType === 3 ? !1 : e && e.nodeType === 3 ? X0(t, e.parentNode) : "contains" in t ? t.contains(e) : t.compareDocumentPosition ? !!(t.compareDocumentPosition(e) & 16) : !1 : !1;
|
|
12656
12657
|
}
|
|
12657
|
-
function
|
|
12658
|
+
function wd(t) {
|
|
12658
12659
|
t = t != null && t.ownerDocument != null && t.ownerDocument.defaultView != null ? t.ownerDocument.defaultView : window;
|
|
12659
12660
|
for (var e = Jn(t.document); e instanceof t.HTMLIFrameElement; ) {
|
|
12660
12661
|
try {
|
|
@@ -13549,11 +13550,11 @@ https://react.dev/link/hydration-mismatch` + n
|
|
|
13549
13550
|
),
|
|
13550
13551
|
t
|
|
13551
13552
|
)
|
|
13552
|
-
),
|
|
13553
|
+
), B1;
|
|
13553
13554
|
}
|
|
13554
13555
|
function uy(t) {
|
|
13555
13556
|
var e = t.stateNode, n = t.type, i = t.memoizedProps;
|
|
13556
|
-
switch (e[ll] = t, e[Gn] = i,
|
|
13557
|
+
switch (e[ll] = t, e[Gn] = i, wn(n, i), n) {
|
|
13557
13558
|
case "dialog":
|
|
13558
13559
|
Kt("cancel", e), Kt("close", e);
|
|
13559
13560
|
break;
|
|
@@ -13692,14 +13693,14 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
13692
13693
|
Tm = dv = null, Em = !1;
|
|
13693
13694
|
}
|
|
13694
13695
|
function Qa(t, e, n) {
|
|
13695
|
-
W(
|
|
13696
|
+
W(w1, e._currentValue, t), e._currentValue = n, W(q1, e._currentRenderer, t), e._currentRenderer !== void 0 && e._currentRenderer !== null && e._currentRenderer !== nb && console.error(
|
|
13696
13697
|
"Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."
|
|
13697
13698
|
), e._currentRenderer = nb;
|
|
13698
13699
|
}
|
|
13699
13700
|
function yu(t, e) {
|
|
13700
|
-
t._currentValue =
|
|
13701
|
+
t._currentValue = w1.current;
|
|
13701
13702
|
var n = q1.current;
|
|
13702
|
-
at(q1, e), t._currentRenderer = n, at(
|
|
13703
|
+
at(q1, e), t._currentRenderer = n, at(w1, e);
|
|
13703
13704
|
}
|
|
13704
13705
|
function Zd(t, e, n) {
|
|
13705
13706
|
for (; t !== null; ) {
|
|
@@ -13711,7 +13712,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
13711
13712
|
"Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue."
|
|
13712
13713
|
);
|
|
13713
13714
|
}
|
|
13714
|
-
function
|
|
13715
|
+
function Bi(t, e, n, i) {
|
|
13715
13716
|
var o = t.child;
|
|
13716
13717
|
for (o !== null && (o.return = t); o !== null; ) {
|
|
13717
13718
|
var s = o.dependencies;
|
|
@@ -13781,7 +13782,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
13781
13782
|
}
|
|
13782
13783
|
o = o.return;
|
|
13783
13784
|
}
|
|
13784
|
-
t !== null &&
|
|
13785
|
+
t !== null && Bi(
|
|
13785
13786
|
e,
|
|
13786
13787
|
t,
|
|
13787
13788
|
n,
|
|
@@ -13845,11 +13846,11 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
13845
13846
|
});
|
|
13846
13847
|
}
|
|
13847
13848
|
function Ku(t, e, n) {
|
|
13848
|
-
(t & 127) !== 0 ? 0 > Pc && (Pc = Pl(), kp = hv(e), Y1 = e, n != null && (G1 = dt(n)), (Me & (dn |
|
|
13849
|
+
(t & 127) !== 0 ? 0 > Pc && (Pc = Pl(), kp = hv(e), Y1 = e, n != null && (G1 = dt(n)), (Me & (dn | Bu)) !== En && (Al = !0, xf = $p), t = cf(), e = di(), t !== Am || e !== Wp ? Am = -1.1 : e !== null && (xf = $p), md = t, Wp = e) : (t & 4194048) !== 0 && 0 > Di && (Di = Pl(), Fp = hv(e), ab = e, n != null && (ub = dt(n)), 0 > is) && (t = cf(), e = di(), (t !== Nf || e !== yd) && (Nf = -1.1), Hf = t, yd = e);
|
|
13849
13850
|
}
|
|
13850
13851
|
function I0(t) {
|
|
13851
13852
|
if (0 > Pc) {
|
|
13852
|
-
Pc = Pl(), kp = t._debugTask != null ? t._debugTask : null, (Me & (dn |
|
|
13853
|
+
Pc = Pl(), kp = t._debugTask != null ? t._debugTask : null, (Me & (dn | Bu)) !== En && (xf = $p);
|
|
13853
13854
|
var e = cf(), n = di();
|
|
13854
13855
|
e !== Am || n !== Wp ? Am = -1.1 : n !== null && (xf = $p), md = e, Wp = n;
|
|
13855
13856
|
}
|
|
@@ -13892,7 +13893,7 @@ It can also happen if the client has a browser extension installed which messes
|
|
|
13892
13893
|
var t = Al;
|
|
13893
13894
|
return Al = !1, t;
|
|
13894
13895
|
}
|
|
13895
|
-
function
|
|
13896
|
+
function wi(t) {
|
|
13896
13897
|
xa = Pl(), 0 > t.actualStartTime && (t.actualStartTime = xa);
|
|
13897
13898
|
}
|
|
13898
13899
|
function Kd(t) {
|
|
@@ -15056,7 +15057,7 @@ Incoming: %s`,
|
|
|
15056
15057
|
var s = t.updateQueue;
|
|
15057
15058
|
s.lastEffect = null, s.events = null, s.stores = null, s.memoCache != null && (s.memoCache.index = 0);
|
|
15058
15059
|
}
|
|
15059
|
-
ss = -1, X.H =
|
|
15060
|
+
ss = -1, X.H = Bb, s = V1(e, n, i);
|
|
15060
15061
|
} while (_m);
|
|
15061
15062
|
return s;
|
|
15062
15063
|
}
|
|
@@ -15153,7 +15154,7 @@ Incoming: %s`,
|
|
|
15153
15154
|
function ba(t, e) {
|
|
15154
15155
|
return typeof e == "function" ? e(t) : e;
|
|
15155
15156
|
}
|
|
15156
|
-
function
|
|
15157
|
+
function Bs(t, e, n) {
|
|
15157
15158
|
var i = Ml();
|
|
15158
15159
|
if (n !== void 0) {
|
|
15159
15160
|
var o = n(e);
|
|
@@ -15267,7 +15268,7 @@ Incoming: %s`,
|
|
|
15267
15268
|
}
|
|
15268
15269
|
return [s, i];
|
|
15269
15270
|
}
|
|
15270
|
-
function
|
|
15271
|
+
function ws(t, e, n) {
|
|
15271
15272
|
var i = Ft, o = Ml();
|
|
15272
15273
|
if (ve) {
|
|
15273
15274
|
if (n === void 0)
|
|
@@ -15322,7 +15323,7 @@ Incoming: %s`,
|
|
|
15322
15323
|
n
|
|
15323
15324
|
)) && (o.memoizedState = n, en = !0), o = o.queue;
|
|
15324
15325
|
var h = Cc.bind(null, i, o, t);
|
|
15325
|
-
if (
|
|
15326
|
+
if (Bl(2048, Na, h, [t]), o.getSnapshot !== e || d || tn !== null && tn.memoizedState.tag & Mi) {
|
|
15326
15327
|
if (i.flags |= 2048, Pu(
|
|
15327
15328
|
Mi | Na,
|
|
15328
15329
|
{ destroy: void 0 },
|
|
@@ -15618,7 +15619,7 @@ Incoming: %s`,
|
|
|
15618
15619
|
i === void 0 ? null : i
|
|
15619
15620
|
);
|
|
15620
15621
|
}
|
|
15621
|
-
function
|
|
15622
|
+
function Bl(t, e, n, i) {
|
|
15622
15623
|
var o = xe();
|
|
15623
15624
|
i = i === void 0 ? null : i;
|
|
15624
15625
|
var s = o.memoizedState.inst;
|
|
@@ -15699,7 +15700,7 @@ Incoming: %s`,
|
|
|
15699
15700
|
typeof e != "function" && console.error(
|
|
15700
15701
|
"Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",
|
|
15701
15702
|
e !== null ? typeof e : "null"
|
|
15702
|
-
), n = n != null ? n.concat([t]) : null,
|
|
15703
|
+
), n = n != null ? n.concat([t]) : null, Bl(
|
|
15703
15704
|
4,
|
|
15704
15705
|
ju,
|
|
15705
15706
|
Ea.bind(null, e, t),
|
|
@@ -15880,7 +15881,7 @@ Incoming: %s`,
|
|
|
15880
15881
|
gn(t)
|
|
15881
15882
|
);
|
|
15882
15883
|
}
|
|
15883
|
-
function
|
|
15884
|
+
function Bc() {
|
|
15884
15885
|
var t = Pd(!1);
|
|
15885
15886
|
return t = Ho.bind(
|
|
15886
15887
|
null,
|
|
@@ -16251,7 +16252,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
16251
16252
|
return Uh(t, i, o), Fs(), !1;
|
|
16252
16253
|
}
|
|
16253
16254
|
if (ve)
|
|
16254
|
-
return Ic = !0, e = Nu.current, e !== null ? ((e.flags & 65536) === 0 && (e.flags |= 256), e.flags |= 65536, e.lanes = o, i !==
|
|
16255
|
+
return Ic = !0, e = Nu.current, e !== null ? ((e.flags & 65536) === 0 && (e.flags |= 256), e.flags |= 65536, e.lanes = o, i !== B1 && ir(
|
|
16255
16256
|
Mn(
|
|
16256
16257
|
Error(
|
|
16257
16258
|
"There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",
|
|
@@ -16259,7 +16260,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
16259
16260
|
),
|
|
16260
16261
|
n
|
|
16261
16262
|
)
|
|
16262
|
-
)) : (i !==
|
|
16263
|
+
)) : (i !== B1 && ir(
|
|
16263
16264
|
Mn(
|
|
16264
16265
|
Error(
|
|
16265
16266
|
"There was an error while hydrating but React was able to recover by instead client rendering the entire root.",
|
|
@@ -16271,7 +16272,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
16271
16272
|
t.stateNode,
|
|
16272
16273
|
i,
|
|
16273
16274
|
o
|
|
16274
|
-
), dr(t, o), pl !==
|
|
16275
|
+
), dr(t, o), pl !== Bf && (pl = Ed)), !1;
|
|
16275
16276
|
var s = Mn(
|
|
16276
16277
|
Error(
|
|
16277
16278
|
"There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",
|
|
@@ -16279,7 +16280,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
16279
16280
|
),
|
|
16280
16281
|
n
|
|
16281
16282
|
);
|
|
16282
|
-
if (g0 === null ? g0 = [s] : g0.push(s), pl !==
|
|
16283
|
+
if (g0 === null ? g0 = [s] : g0.push(s), pl !== Bf && (pl = Ed), e === null) return !0;
|
|
16283
16284
|
i = Mn(i, n), n = e;
|
|
16284
16285
|
do {
|
|
16285
16286
|
switch (n.tag) {
|
|
@@ -16412,7 +16413,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
16412
16413
|
s !== null ? (xs(e, s.cachePool), Fd(e, s), Iu(e), e.memoizedState = null) : (t !== null && xs(e, null), Gi(e), Iu(e));
|
|
16413
16414
|
return kl(t, e, o, n), e.child;
|
|
16414
16415
|
}
|
|
16415
|
-
function
|
|
16416
|
+
function Bo(t, e) {
|
|
16416
16417
|
return t !== null && t.tag === 22 || e.stateNode !== null || (e.stateNode = {
|
|
16417
16418
|
_visibility: Jp,
|
|
16418
16419
|
_pendingMarkers: null,
|
|
@@ -16454,7 +16455,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
16454
16455
|
if (e.flags &= -129, t === null) {
|
|
16455
16456
|
if (ve) {
|
|
16456
16457
|
if (i.mode === "hidden")
|
|
16457
|
-
return t = Or(e, i), e.lanes = 536870912,
|
|
16458
|
+
return t = Or(e, i), e.lanes = 536870912, Bo(null, t);
|
|
16458
16459
|
if (bu(e), (t = al) ? (n = je(
|
|
16459
16460
|
t,
|
|
16460
16461
|
Ai
|
|
@@ -16553,7 +16554,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
16553
16554
|
o
|
|
16554
16555
|
), Sl(t, e), i = Mo(), t !== null && !en ? (pr(t, e, s), Eu(t, e, s)) : (ve && i && Vd(e), e.flags |= 1, kl(t, e, n, s), e.child);
|
|
16555
16556
|
}
|
|
16556
|
-
function
|
|
16557
|
+
function wo(t, e, n, i, o) {
|
|
16557
16558
|
switch (Ot(e)) {
|
|
16558
16559
|
case !1:
|
|
16559
16560
|
var s = e.stateNode, d = new e.type(
|
|
@@ -16589,7 +16590,7 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
|
|
|
16589
16590
|
te(!1);
|
|
16590
16591
|
}
|
|
16591
16592
|
}
|
|
16592
|
-
if (d = e.memoizedState = s.state !== null && s.state !== void 0 ? s.state : null, s.updater = P1, e.stateNode = s, s._reactInternals = e, s._reactInternalInstance =
|
|
16593
|
+
if (d = e.memoizedState = s.state !== null && s.state !== void 0 ? s.state : null, s.updater = P1, e.stateNode = s, s._reactInternals = e, s._reactInternalInstance = wb, typeof n.getDerivedStateFromProps == "function" && d === null && (d = gt(n) || "Component", Yb.has(d) || (Yb.add(d), console.error(
|
|
16593
16594
|
"`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",
|
|
16594
16595
|
d,
|
|
16595
16596
|
s.state === null ? "null" : "undefined",
|
|
@@ -16842,7 +16843,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
16842
16843
|
t,
|
|
16843
16844
|
i,
|
|
16844
16845
|
n
|
|
16845
|
-
), e.memoizedState = lS,
|
|
16846
|
+
), e.memoizedState = lS, Bo(
|
|
16846
16847
|
null,
|
|
16847
16848
|
o
|
|
16848
16849
|
);
|
|
@@ -16881,7 +16882,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
16881
16882
|
t,
|
|
16882
16883
|
i,
|
|
16883
16884
|
n
|
|
16884
|
-
), e.memoizedState = lS, e =
|
|
16885
|
+
), e.memoizedState = lS, e = Bo(
|
|
16885
16886
|
null,
|
|
16886
16887
|
o
|
|
16887
16888
|
));
|
|
@@ -16957,14 +16958,14 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
16957
16958
|
y,
|
|
16958
16959
|
n,
|
|
16959
16960
|
null
|
|
16960
|
-
), h.flags |= 2), h.return = e, o.return = e, o.sibling = h, e.child = o,
|
|
16961
|
+
), h.flags |= 2), h.return = e, o.return = e, o.sibling = h, e.child = o, Bo(null, o), o = e.child, h = t.child.memoizedState, h === null ? h = Zs(n) : (y = h.cachePool, y !== null ? (E = Il._currentValue, y = y.parent !== E ? { parent: E, pool: E } : y) : y = sy(), h = {
|
|
16961
16962
|
baseLanes: h.baseLanes | n,
|
|
16962
16963
|
cachePool: y
|
|
16963
16964
|
}), o.memoizedState = h, o.childLanes = dh(
|
|
16964
16965
|
t,
|
|
16965
16966
|
i,
|
|
16966
16967
|
n
|
|
16967
|
-
), e.memoizedState = lS,
|
|
16968
|
+
), e.memoizedState = lS, Bo(
|
|
16968
16969
|
t.child,
|
|
16969
16970
|
o
|
|
16970
16971
|
)) : (p !== null && (n & 62914560) === n && (n & t.lanes) !== 0 && Ws(e), _n(e), n = t.child, t = n.sibling, n = Ju(n, {
|
|
@@ -17299,7 +17300,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
17299
17300
|
ey(t) ? (i = ni(
|
|
17300
17301
|
t,
|
|
17301
17302
|
i
|
|
17302
|
-
), e.tag = 1, e.type = t = bc(t), e =
|
|
17303
|
+
), e.tag = 1, e.type = t = bc(t), e = wo(
|
|
17303
17304
|
null,
|
|
17304
17305
|
e,
|
|
17305
17306
|
t,
|
|
@@ -17351,7 +17352,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
17351
17352
|
return i = e.type, o = ni(
|
|
17352
17353
|
i,
|
|
17353
17354
|
e.pendingProps
|
|
17354
|
-
),
|
|
17355
|
+
), wo(
|
|
17355
17356
|
t,
|
|
17356
17357
|
e,
|
|
17357
17358
|
i,
|
|
@@ -17371,7 +17372,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
17371
17372
|
var s = e.memoizedState;
|
|
17372
17373
|
o = s.element, ku(t, e), Fu(e, i, null, n);
|
|
17373
17374
|
var d = e.memoizedState;
|
|
17374
|
-
if (i = d.cache, Qa(e, Il, i), i !== s.cache &&
|
|
17375
|
+
if (i = d.cache, Qa(e, Il, i), i !== s.cache && Bi(
|
|
17375
17376
|
e,
|
|
17376
17377
|
[Il],
|
|
17377
17378
|
n,
|
|
@@ -17477,7 +17478,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
17477
17478
|
return t === null && ve && (s = _(), i = Qu(
|
|
17478
17479
|
e.type,
|
|
17479
17480
|
s.ancestorInfo
|
|
17480
|
-
), o = al, (d = !o) || (d =
|
|
17481
|
+
), o = al, (d = !o) || (d = Bg(
|
|
17481
17482
|
o,
|
|
17482
17483
|
e.type,
|
|
17483
17484
|
e.pendingProps,
|
|
@@ -17507,7 +17508,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
17507
17508
|
n,
|
|
17508
17509
|
i.tag,
|
|
17509
17510
|
t.ancestorInfo.implicitRootScope
|
|
17510
|
-
) : !0, t = al, (i = !t) || (i =
|
|
17511
|
+
) : !0, t = al, (i = !t) || (i = wg(
|
|
17511
17512
|
t,
|
|
17512
17513
|
e.pendingProps,
|
|
17513
17514
|
Ai
|
|
@@ -17618,7 +17619,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
17618
17619
|
}, pe(e), Qa(e, Il, o)) : ((t.lanes & n) !== 0 && (ku(t, e), Fu(e, null, null, n), Ns()), o = t.memoizedState, s = e.memoizedState, o.parent !== i ? (o = {
|
|
17619
17620
|
parent: i,
|
|
17620
17621
|
cache: i
|
|
17621
|
-
}, e.memoizedState = o, e.lanes === 0 && (e.memoizedState = e.updateQueue.baseState = o), Qa(e, Il, i)) : (i = s.cache, Qa(e, Il, i), i !== o.cache &&
|
|
17622
|
+
}, e.memoizedState = o, e.lanes === 0 && (e.memoizedState = e.updateQueue.baseState = o), Qa(e, Il, i)) : (i = s.cache, Qa(e, Il, i), i !== o.cache && Bi(
|
|
17622
17623
|
e,
|
|
17623
17624
|
[Il],
|
|
17624
17625
|
n,
|
|
@@ -18080,11 +18081,11 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
18080
18081
|
ui(t) ? (dl(), Ki(e, t), On()) : Ki(e, t);
|
|
18081
18082
|
}
|
|
18082
18083
|
function vh(t, e, n) {
|
|
18083
|
-
ui(t) ? (dl(),
|
|
18084
|
+
ui(t) ? (dl(), wc(
|
|
18084
18085
|
n,
|
|
18085
18086
|
t,
|
|
18086
18087
|
e
|
|
18087
|
-
), On()) :
|
|
18088
|
+
), On()) : wc(
|
|
18088
18089
|
n,
|
|
18089
18090
|
t,
|
|
18090
18091
|
e
|
|
@@ -18097,11 +18098,11 @@ https://react.dev/link/unsafe-component-lifecycles`,
|
|
|
18097
18098
|
var o = i.next;
|
|
18098
18099
|
n = o;
|
|
18099
18100
|
do {
|
|
18100
|
-
if ((n.tag & t) === t && (i = void 0, (t & Ha) !== Dv && (
|
|
18101
|
+
if ((n.tag & t) === t && (i = void 0, (t & Ha) !== Dv && (wm = !0), i = pt(
|
|
18101
18102
|
e,
|
|
18102
18103
|
pE,
|
|
18103
18104
|
n
|
|
18104
|
-
), (t & Ha) !== Dv && (
|
|
18105
|
+
), (t & Ha) !== Dv && (wm = !1), i !== void 0 && typeof i != "function")) {
|
|
18105
18106
|
var s = void 0;
|
|
18106
18107
|
s = (n.tag & ju) !== 0 ? "useLayoutEffect" : (n.tag & Ha) !== 0 ? "useInsertionEffect" : "useEffect";
|
|
18107
18108
|
var d = void 0;
|
|
@@ -18138,7 +18139,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
18138
18139
|
ae(e, e.return, h);
|
|
18139
18140
|
}
|
|
18140
18141
|
}
|
|
18141
|
-
function
|
|
18142
|
+
function wc(t, e, n) {
|
|
18142
18143
|
try {
|
|
18143
18144
|
var i = e.updateQueue, o = i !== null ? i.lastEffect : null;
|
|
18144
18145
|
if (o !== null) {
|
|
@@ -18147,13 +18148,13 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
18147
18148
|
do {
|
|
18148
18149
|
if ((i.tag & t) === t) {
|
|
18149
18150
|
var d = i.inst, h = d.destroy;
|
|
18150
|
-
h !== void 0 && (d.destroy = void 0, (t & Ha) !== Dv && (
|
|
18151
|
+
h !== void 0 && (d.destroy = void 0, (t & Ha) !== Dv && (wm = !0), o = e, pt(
|
|
18151
18152
|
o,
|
|
18152
18153
|
gE,
|
|
18153
18154
|
o,
|
|
18154
18155
|
n,
|
|
18155
18156
|
h
|
|
18156
|
-
), (t & Ha) !== Dv && (
|
|
18157
|
+
), (t & Ha) !== Dv && (wm = !1));
|
|
18157
18158
|
}
|
|
18158
18159
|
i = i.next;
|
|
18159
18160
|
} while (i !== s);
|
|
@@ -18166,17 +18167,17 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
18166
18167
|
ui(t) ? (dl(), Ki(e, t), On()) : Ki(e, t);
|
|
18167
18168
|
}
|
|
18168
18169
|
function Sh(t, e, n) {
|
|
18169
|
-
ui(t) ? (dl(),
|
|
18170
|
+
ui(t) ? (dl(), wc(
|
|
18170
18171
|
n,
|
|
18171
18172
|
t,
|
|
18172
18173
|
e
|
|
18173
|
-
), On()) :
|
|
18174
|
+
), On()) : wc(
|
|
18174
18175
|
n,
|
|
18175
18176
|
t,
|
|
18176
18177
|
e
|
|
18177
18178
|
);
|
|
18178
18179
|
}
|
|
18179
|
-
function
|
|
18180
|
+
function By(t) {
|
|
18180
18181
|
var e = t.updateQueue;
|
|
18181
18182
|
if (e !== null) {
|
|
18182
18183
|
var n = t.stateNode;
|
|
@@ -18318,7 +18319,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
18318
18319
|
}
|
|
18319
18320
|
else n.current = null;
|
|
18320
18321
|
}
|
|
18321
|
-
function
|
|
18322
|
+
function wy(t, e, n, i) {
|
|
18322
18323
|
var o = t.memoizedProps, s = o.id, d = o.onCommit;
|
|
18323
18324
|
o = o.onRender, e = e === null ? "mount" : "update", vv && (e = "nested-update"), typeof o == "function" && o(
|
|
18324
18325
|
s,
|
|
@@ -18460,7 +18461,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
18460
18461
|
return e.tag === 31 ? (e = e.memoizedState, t.memoizedState !== null && e === null) : e.tag === 13 ? (t = t.memoizedState, e = e.memoizedState, t !== null && t.dehydrated !== null && (e === null || e.dehydrated === null)) : e.tag === 3 ? t.memoizedState.isDehydrated && (e.flags & 256) === 0 : !1;
|
|
18461
18462
|
}
|
|
18462
18463
|
function d1(t, e) {
|
|
18463
|
-
if (t = t.containerInfo, ES = Iv, t =
|
|
18464
|
+
if (t = t.containerInfo, ES = Iv, t = wd(t), $m(t)) {
|
|
18464
18465
|
if ("selectionStart" in t)
|
|
18465
18466
|
var n = {
|
|
18466
18467
|
start: t.selectionStart,
|
|
@@ -18609,7 +18610,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
18609
18610
|
t.__reactInternalSnapshotBeforeUpdate
|
|
18610
18611
|
);
|
|
18611
18612
|
}
|
|
18612
|
-
h & 64 &&
|
|
18613
|
+
h & 64 && By(n), h & 512 && qo(n, n.return);
|
|
18613
18614
|
break;
|
|
18614
18615
|
case 3:
|
|
18615
18616
|
if (e = $u(), Aa(t, n), h & 64 && (h = n.updateQueue, h !== null)) {
|
|
@@ -18669,7 +18670,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
18669
18670
|
try {
|
|
18670
18671
|
pt(
|
|
18671
18672
|
n,
|
|
18672
|
-
|
|
18673
|
+
wy,
|
|
18673
18674
|
n,
|
|
18674
18675
|
e,
|
|
18675
18676
|
Uf,
|
|
@@ -18825,7 +18826,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
18825
18826
|
case 11:
|
|
18826
18827
|
case 14:
|
|
18827
18828
|
case 15:
|
|
18828
|
-
|
|
18829
|
+
wc(
|
|
18829
18830
|
Ha,
|
|
18830
18831
|
n,
|
|
18831
18832
|
e
|
|
@@ -18981,7 +18982,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
18981
18982
|
case 11:
|
|
18982
18983
|
case 14:
|
|
18983
18984
|
case 15:
|
|
18984
|
-
Hn(e, t), Nn(t), h & 4 && (
|
|
18985
|
+
Hn(e, t), Nn(t), h & 4 && (wc(
|
|
18985
18986
|
Ha | Mi,
|
|
18986
18987
|
t,
|
|
18987
18988
|
t.return
|
|
@@ -19384,7 +19385,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
19384
19385
|
ae(n, n.return, p);
|
|
19385
19386
|
}
|
|
19386
19387
|
}
|
|
19387
|
-
i && y & 64 &&
|
|
19388
|
+
i && y & 64 && By(n), qo(n, n.return);
|
|
19388
19389
|
break;
|
|
19389
19390
|
case 27:
|
|
19390
19391
|
Gy(n);
|
|
@@ -19406,7 +19407,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
19406
19407
|
try {
|
|
19407
19408
|
pt(
|
|
19408
19409
|
n,
|
|
19409
|
-
|
|
19410
|
+
wy,
|
|
19410
19411
|
n,
|
|
19411
19412
|
e,
|
|
19412
19413
|
Uf,
|
|
@@ -19469,11 +19470,11 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
19469
19470
|
n
|
|
19470
19471
|
), e = e.sibling;
|
|
19471
19472
|
}
|
|
19472
|
-
function
|
|
19473
|
+
function Br(t, e) {
|
|
19473
19474
|
var n = null;
|
|
19474
19475
|
t !== null && t.memoizedState !== null && t.memoizedState.cachePool !== null && (n = t.memoizedState.cachePool.pool), t = null, e.memoizedState !== null && e.memoizedState.cachePool !== null && (t = e.memoizedState.cachePool.pool), t !== n && (t != null && To(t), n != null && or(n));
|
|
19475
19476
|
}
|
|
19476
|
-
function
|
|
19477
|
+
function wr(t, e) {
|
|
19477
19478
|
t = null, e.alternate !== null && (t = e.alternate.memoizedState.cache), e = e.memoizedState.cache, e !== t && (To(e), t != null && or(t));
|
|
19478
19479
|
}
|
|
19479
19480
|
function Da(t, e, n, i, o) {
|
|
@@ -19631,7 +19632,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
19631
19632
|
e,
|
|
19632
19633
|
Xt,
|
|
19633
19634
|
Jt
|
|
19634
|
-
))), R & 2048 &&
|
|
19635
|
+
))), R & 2048 && Br(
|
|
19635
19636
|
C,
|
|
19636
19637
|
e
|
|
19637
19638
|
);
|
|
@@ -19643,7 +19644,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
19643
19644
|
n,
|
|
19644
19645
|
i,
|
|
19645
19646
|
o
|
|
19646
|
-
), R & 2048 &&
|
|
19647
|
+
), R & 2048 && wr(e.alternate, e);
|
|
19647
19648
|
break;
|
|
19648
19649
|
default:
|
|
19649
19650
|
Da(
|
|
@@ -19732,7 +19733,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
19732
19733
|
i,
|
|
19733
19734
|
o,
|
|
19734
19735
|
s
|
|
19735
|
-
)), o && C & 2048 &&
|
|
19736
|
+
)), o && C & 2048 && Br(
|
|
19736
19737
|
e.alternate,
|
|
19737
19738
|
e
|
|
19738
19739
|
);
|
|
@@ -19745,7 +19746,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
19745
19746
|
i,
|
|
19746
19747
|
o,
|
|
19747
19748
|
s
|
|
19748
|
-
), o && C & 2048 &&
|
|
19749
|
+
), o && C & 2048 && wr(e.alternate, e);
|
|
19749
19750
|
break;
|
|
19750
19751
|
default:
|
|
19751
19752
|
Xc(
|
|
@@ -19786,7 +19787,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
19786
19787
|
h,
|
|
19787
19788
|
y,
|
|
19788
19789
|
p
|
|
19789
|
-
), C & 2048 &&
|
|
19790
|
+
), C & 2048 && Br(s.alternate, s);
|
|
19790
19791
|
break;
|
|
19791
19792
|
case 24:
|
|
19792
19793
|
Yo(
|
|
@@ -19795,7 +19796,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
19795
19796
|
h,
|
|
19796
19797
|
y,
|
|
19797
19798
|
p
|
|
19798
|
-
), C & 2048 &&
|
|
19799
|
+
), C & 2048 && wr(s.alternate, s);
|
|
19799
19800
|
break;
|
|
19800
19801
|
default:
|
|
19801
19802
|
Yo(
|
|
@@ -20053,7 +20054,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20053
20054
|
return t = Nu.current, t !== null && (t.flags |= 32), lu;
|
|
20054
20055
|
}
|
|
20055
20056
|
function kt(t, e, n) {
|
|
20056
|
-
if (
|
|
20057
|
+
if (wm && console.error("useInsertionEffect must not schedule updates."), mS && (qv = !0), (t === ke && (Le === Ad || Le === Dd) || t.cancelPendingCommit !== null) && (ci(t, 0), Wa(
|
|
20057
20058
|
t,
|
|
20058
20059
|
fe,
|
|
20059
20060
|
lu,
|
|
@@ -20077,7 +20078,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20077
20078
|
), y2 = !0);
|
|
20078
20079
|
}
|
|
20079
20080
|
} else
|
|
20080
|
-
pi && zl(t, e, n), Lr(e), t === ke && ((Me & dn) === En && (Yf |= n), pl ===
|
|
20081
|
+
pi && zl(t, e, n), Lr(e), t === ke && ((Me & dn) === En && (Yf |= n), pl === Bf && Wa(
|
|
20081
20082
|
t,
|
|
20082
20083
|
fe,
|
|
20083
20084
|
lu,
|
|
@@ -20085,7 +20086,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20085
20086
|
)), Fn(t);
|
|
20086
20087
|
}
|
|
20087
20088
|
function yg(t, e, n) {
|
|
20088
|
-
if ((Me & (dn |
|
|
20089
|
+
if ((Me & (dn | Bu)) !== En)
|
|
20089
20090
|
throw Error("Should not already be working.");
|
|
20090
20091
|
if (fe !== 0 && de !== null) {
|
|
20091
20092
|
var i = de, o = Fl();
|
|
@@ -20192,7 +20193,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20192
20193
|
!1
|
|
20193
20194
|
), h !== Ed) {
|
|
20194
20195
|
if (iS && !y) {
|
|
20195
|
-
i.errorRecoveryDisabledLanes |= s, Yf |= s, s =
|
|
20196
|
+
i.errorRecoveryDisabledLanes |= s, Yf |= s, s = Bf;
|
|
20196
20197
|
break t;
|
|
20197
20198
|
}
|
|
20198
20199
|
i = ja, ja = d, i !== null && (ja === null ? ja = i : ja.push.apply(
|
|
@@ -20220,7 +20221,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20220
20221
|
case rs:
|
|
20221
20222
|
case m0:
|
|
20222
20223
|
throw Error("Root did not complete. This is a bug in React.");
|
|
20223
|
-
case
|
|
20224
|
+
case Bf:
|
|
20224
20225
|
if ((e & 4194048) !== e) break;
|
|
20225
20226
|
case _v:
|
|
20226
20227
|
du(e), Z0(
|
|
@@ -20232,7 +20233,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20232
20233
|
n,
|
|
20233
20234
|
e,
|
|
20234
20235
|
lu,
|
|
20235
|
-
!
|
|
20236
|
+
!wf
|
|
20236
20237
|
);
|
|
20237
20238
|
break t;
|
|
20238
20239
|
case Ed:
|
|
@@ -20267,7 +20268,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20267
20268
|
n,
|
|
20268
20269
|
e,
|
|
20269
20270
|
lu,
|
|
20270
|
-
!
|
|
20271
|
+
!wf
|
|
20271
20272
|
), ca(n, 0, !0) !== 0) break t;
|
|
20272
20273
|
ic = e, n.timeoutHandle = D2(
|
|
20273
20274
|
pg.bind(
|
|
@@ -20281,7 +20282,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20281
20282
|
lu,
|
|
20282
20283
|
Yf,
|
|
20283
20284
|
zd,
|
|
20284
|
-
|
|
20285
|
+
wf,
|
|
20285
20286
|
s,
|
|
20286
20287
|
"Throttled",
|
|
20287
20288
|
bn,
|
|
@@ -20301,7 +20302,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20301
20302
|
lu,
|
|
20302
20303
|
Yf,
|
|
20303
20304
|
zd,
|
|
20304
|
-
|
|
20305
|
+
wf,
|
|
20305
20306
|
s,
|
|
20306
20307
|
null,
|
|
20307
20308
|
bn,
|
|
@@ -20405,7 +20406,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20405
20406
|
n !== 0 && oc(t, n, e);
|
|
20406
20407
|
}
|
|
20407
20408
|
function Ma() {
|
|
20408
|
-
return (Me & (dn |
|
|
20409
|
+
return (Me & (dn | Bu)) === En ? (si(0), !1) : !0;
|
|
20409
20410
|
}
|
|
20410
20411
|
function Oh() {
|
|
20411
20412
|
if (de !== null) {
|
|
@@ -20453,7 +20454,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20453
20454
|
));
|
|
20454
20455
|
var n = bn;
|
|
20455
20456
|
if (bn = Pl(), fe !== 0 && 0 < n) {
|
|
20456
|
-
if (du(fe), pl === Cv || pl ===
|
|
20457
|
+
if (du(fe), pl === Cv || pl === Bf)
|
|
20457
20458
|
Z0(
|
|
20458
20459
|
n,
|
|
20459
20460
|
bn,
|
|
@@ -20596,13 +20597,13 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20596
20597
|
) : performance.measure(o, n))), Di = is = -1.1, X1 = 0, pv = -1.1, Nf = Hf, Hf = -1.1, us = Pl()), (e & 62914560) !== 0 && (gv & 62914560) !== 0 && (du(4194304), Im(ib, bn)), (e & 2080374784) !== 0 && (gv & 2080374784) !== 0 && (du(268435456), Im(cb, bn)), n = t.timeoutHandle, n !== _d && (t.timeoutHandle = _d, jE(n)), n = t.cancelPendingCommit, n !== null && (t.cancelPendingCommit = null, n()), ic = 0, Oh(), ke = t, de = n = Ju(
|
|
20597
20598
|
t.current,
|
|
20598
20599
|
null
|
|
20599
|
-
), fe = e, Le = eu,
|
|
20600
|
+
), fe = e, Le = eu, wu = null, wf = !1, jm = rl(t, e), iS = !1, pl = rs, zd = lu = cS = Yf = qf = 0, ja = g0 = null, Hv = !1, (e & 8) !== 0 && (e |= e & 32), i = t.entangledLanes, i !== 0)
|
|
20600
20601
|
for (t = t.entanglements, i &= e; 0 < i; )
|
|
20601
20602
|
o = 31 - sn(i), s = 1 << o, e |= t[o], i &= ~s;
|
|
20602
20603
|
return eo = e, Gd(), t = IS(), 1e3 < t - FS && (X.recentlyCreatedOwnerStacks = 0, FS = t), nc.discardPendingWarnings(), n;
|
|
20603
20604
|
}
|
|
20604
20605
|
function Du(t, e) {
|
|
20605
|
-
Ft = null, X.H = r0, X.getCurrentStack = null, mi = !1, ea = null, e === zm || e === Tv ? (e = Do(), Le = y0) : e === Z1 ? (e = Do(), Le = n2) : Le = e === eS ? uS : e !== null && typeof e == "object" && typeof e.then == "function" ? p0 : Uv,
|
|
20606
|
+
Ft = null, X.H = r0, X.getCurrentStack = null, mi = !1, ea = null, e === zm || e === Tv ? (e = Do(), Le = y0) : e === Z1 ? (e = Do(), Le = n2) : Le = e === eS ? uS : e !== null && typeof e == "object" && typeof e.then == "function" ? p0 : Uv, wu = e;
|
|
20606
20607
|
var n = de;
|
|
20607
20608
|
n === null ? (pl = m0, Rr(
|
|
20608
20609
|
t,
|
|
@@ -20625,7 +20626,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20625
20626
|
Cl === null && (Cl = t._debugTask == null ? null : t._debugTask);
|
|
20626
20627
|
}
|
|
20627
20628
|
function Fs() {
|
|
20628
|
-
pl =
|
|
20629
|
+
pl = Bf, wf || (fe & 4194048) !== fe && Nu.current !== null || (jm = !0), (qf & 134217727) === 0 && (Yf & 134217727) === 0 || ke === null || Wa(
|
|
20629
20630
|
ke,
|
|
20630
20631
|
fe,
|
|
20631
20632
|
lu,
|
|
@@ -20647,7 +20648,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20647
20648
|
t: do
|
|
20648
20649
|
try {
|
|
20649
20650
|
if (Le !== eu && de !== null) {
|
|
20650
|
-
var h = de, y =
|
|
20651
|
+
var h = de, y = wu;
|
|
20651
20652
|
switch (Le) {
|
|
20652
20653
|
case uS:
|
|
20653
20654
|
Oh(), d = _v;
|
|
@@ -20658,13 +20659,13 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20658
20659
|
case p0:
|
|
20659
20660
|
Nu.current === null && (e = !0);
|
|
20660
20661
|
var p = Le;
|
|
20661
|
-
if (Le = eu,
|
|
20662
|
+
if (Le = eu, wu = null, Ps(t, h, y, p), n && jm) {
|
|
20662
20663
|
d = rs;
|
|
20663
20664
|
break t;
|
|
20664
20665
|
}
|
|
20665
20666
|
break;
|
|
20666
20667
|
default:
|
|
20667
|
-
p = Le, Le = eu,
|
|
20668
|
+
p = Le, Le = eu, wu = null, Ps(t, h, y, p);
|
|
20668
20669
|
}
|
|
20669
20670
|
}
|
|
20670
20671
|
Py(), d = pl;
|
|
@@ -20696,9 +20697,9 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20696
20697
|
t: do
|
|
20697
20698
|
try {
|
|
20698
20699
|
if (Le !== eu && de !== null)
|
|
20699
|
-
e: switch (e = de, s =
|
|
20700
|
+
e: switch (e = de, s = wu, Le) {
|
|
20700
20701
|
case Uv:
|
|
20701
|
-
Le = eu,
|
|
20702
|
+
Le = eu, wu = null, Ps(
|
|
20702
20703
|
t,
|
|
20703
20704
|
e,
|
|
20704
20705
|
s,
|
|
@@ -20708,7 +20709,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20708
20709
|
case Ad:
|
|
20709
20710
|
case Dd:
|
|
20710
20711
|
if (fy(s)) {
|
|
20711
|
-
Le = eu,
|
|
20712
|
+
Le = eu, wu = null, tp(e);
|
|
20712
20713
|
break;
|
|
20713
20714
|
}
|
|
20714
20715
|
e = function() {
|
|
@@ -20722,7 +20723,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20722
20723
|
Le = aS;
|
|
20723
20724
|
break t;
|
|
20724
20725
|
case xv:
|
|
20725
|
-
fy(s) ? (Le = eu,
|
|
20726
|
+
fy(s) ? (Le = eu, wu = null, tp(e)) : (Le = eu, wu = null, Ps(
|
|
20726
20727
|
t,
|
|
20727
20728
|
e,
|
|
20728
20729
|
s,
|
|
@@ -20738,7 +20739,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20738
20739
|
case 27:
|
|
20739
20740
|
var h = de;
|
|
20740
20741
|
if (d ? he(d) : h.stateNode.complete) {
|
|
20741
|
-
Le = eu,
|
|
20742
|
+
Le = eu, wu = null;
|
|
20742
20743
|
var y = h.sibling;
|
|
20743
20744
|
if (y !== null) de = y;
|
|
20744
20745
|
else {
|
|
@@ -20753,7 +20754,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20753
20754
|
"Unexpected type of fiber triggered a suspensey commit. This is a bug in React."
|
|
20754
20755
|
);
|
|
20755
20756
|
}
|
|
20756
|
-
Le = eu,
|
|
20757
|
+
Le = eu, wu = null, Ps(
|
|
20757
20758
|
t,
|
|
20758
20759
|
e,
|
|
20759
20760
|
s,
|
|
@@ -20761,7 +20762,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20761
20762
|
);
|
|
20762
20763
|
break;
|
|
20763
20764
|
case p0:
|
|
20764
|
-
Le = eu,
|
|
20765
|
+
Le = eu, wu = null, Ps(
|
|
20765
20766
|
t,
|
|
20766
20767
|
e,
|
|
20767
20768
|
s,
|
|
@@ -20790,7 +20791,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20790
20791
|
}
|
|
20791
20792
|
function _h(t) {
|
|
20792
20793
|
var e = t.alternate;
|
|
20793
|
-
(t.mode & oe) !== $t ? (
|
|
20794
|
+
(t.mode & oe) !== $t ? (wi(t), e = pt(
|
|
20794
20795
|
t,
|
|
20795
20796
|
Ur,
|
|
20796
20797
|
e,
|
|
@@ -20810,7 +20811,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20810
20811
|
}
|
|
20811
20812
|
function Wl(t) {
|
|
20812
20813
|
var e = t.alternate, n = (t.mode & oe) !== $t;
|
|
20813
|
-
switch (n &&
|
|
20814
|
+
switch (n && wi(t), t.tag) {
|
|
20814
20815
|
case 15:
|
|
20815
20816
|
case 0:
|
|
20816
20817
|
e = Cy(
|
|
@@ -20864,7 +20865,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20864
20865
|
), de = null;
|
|
20865
20866
|
return;
|
|
20866
20867
|
}
|
|
20867
|
-
e.flags & 32768 ? (ve || i === Uv ? t = !0 : jm || (fe & 536870912) !== 0 ? t = !1 : (
|
|
20868
|
+
e.flags & 32768 ? (ve || i === Uv ? t = !0 : jm || (fe & 536870912) !== 0 ? t = !1 : (wf = t = !0, (i === Ad || i === Dd || i === y0 || i === p0) && (i = Nu.current, i !== null && i.tag === 13 && (i.flags |= 16384))), ep(e, t)) : Yr(e);
|
|
20868
20869
|
}
|
|
20869
20870
|
function Yr(t) {
|
|
20870
20871
|
var e = t;
|
|
@@ -20872,12 +20873,12 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20872
20873
|
if ((e.flags & 32768) !== 0) {
|
|
20873
20874
|
ep(
|
|
20874
20875
|
e,
|
|
20875
|
-
|
|
20876
|
+
wf
|
|
20876
20877
|
);
|
|
20877
20878
|
return;
|
|
20878
20879
|
}
|
|
20879
20880
|
var n = e.alternate;
|
|
20880
|
-
if (t = e.return,
|
|
20881
|
+
if (t = e.return, wi(e), n = pt(
|
|
20881
20882
|
e,
|
|
20882
20883
|
Ny,
|
|
20883
20884
|
n,
|
|
@@ -20921,7 +20922,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20921
20922
|
do
|
|
20922
20923
|
Gr();
|
|
20923
20924
|
while (an !== Xf);
|
|
20924
|
-
if (nc.flushLegacyContextWarning(), nc.flushPendingUnsafeLifecycleWarnings(), (Me & (dn |
|
|
20925
|
+
if (nc.flushLegacyContextWarning(), nc.flushPendingUnsafeLifecycleWarnings(), (Me & (dn | Bu)) !== En)
|
|
20925
20926
|
throw Error("Should not already be working.");
|
|
20926
20927
|
if (du(n), p === Ed ? Fm(
|
|
20927
20928
|
E,
|
|
@@ -20954,15 +20955,15 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20954
20955
|
d,
|
|
20955
20956
|
h,
|
|
20956
20957
|
y
|
|
20957
|
-
), t === ke && (de = ke = null, fe = 0),
|
|
20958
|
-
return D0 = window.event, cc ===
|
|
20958
|
+
), t === ke && (de = ke = null, fe = 0), Bm = e, Lf = t, ic = n, fS = s, dS = o, d2 = i, rS = q, h2 = C, cc = Bv, m2 = null, e.actualDuration !== 0 || (e.subtreeFlags & 10256) !== 0 || (e.flags & 10256) !== 0 ? (t.callbackNode = null, t.callbackPriority = 0, ef(Wo, function() {
|
|
20959
|
+
return D0 = window.event, cc === Bv && (cc = sS), Xr(), null;
|
|
20959
20960
|
})) : (t.callbackNode = null, t.callbackPriority = 0), as = null, Uf = Pl(), C !== null && s1(
|
|
20960
20961
|
q,
|
|
20961
20962
|
Uf,
|
|
20962
20963
|
C,
|
|
20963
20964
|
Cl
|
|
20964
20965
|
), i = (e.flags & 13878) !== 0, (e.subtreeFlags & 13878) !== 0 || i) {
|
|
20965
|
-
i = X.T, X.T = null, o = Ue.p, Ue.p = Yl, d = Me, Me |=
|
|
20966
|
+
i = X.T, X.T = null, o = Ue.p, Ue.p = Yl, d = Me, Me |= Bu;
|
|
20966
20967
|
try {
|
|
20967
20968
|
d1(t, e, n);
|
|
20968
20969
|
} finally {
|
|
@@ -20975,16 +20976,16 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
20975
20976
|
function jn() {
|
|
20976
20977
|
if (an === o2) {
|
|
20977
20978
|
an = Xf;
|
|
20978
|
-
var t = Lf, e =
|
|
20979
|
+
var t = Lf, e = Bm, n = ic, i = (e.flags & 13878) !== 0;
|
|
20979
20980
|
if ((e.subtreeFlags & 13878) !== 0 || i) {
|
|
20980
20981
|
i = X.T, X.T = null;
|
|
20981
20982
|
var o = Ue.p;
|
|
20982
20983
|
Ue.p = Yl;
|
|
20983
20984
|
var s = Me;
|
|
20984
|
-
Me |=
|
|
20985
|
+
Me |= Bu;
|
|
20985
20986
|
try {
|
|
20986
20987
|
Hm = n, Nm = t, Eo(), jr(e, t), Nm = Hm = null, n = AS;
|
|
20987
|
-
var d =
|
|
20988
|
+
var d = wd(t.containerInfo), h = n.focusedElem, y = n.selectionRange;
|
|
20988
20989
|
if (d !== h && h && h.ownerDocument && X0(
|
|
20989
20990
|
h.ownerDocument.documentElement,
|
|
20990
20991
|
h
|
|
@@ -21053,14 +21054,14 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
21053
21054
|
"secondary-light"
|
|
21054
21055
|
);
|
|
21055
21056
|
}
|
|
21056
|
-
t = Lf, e =
|
|
21057
|
+
t = Lf, e = Bm, n = ic;
|
|
21057
21058
|
var i = (e.flags & 8772) !== 0;
|
|
21058
21059
|
if ((e.subtreeFlags & 8772) !== 0 || i) {
|
|
21059
21060
|
i = X.T, X.T = null;
|
|
21060
21061
|
var o = Ue.p;
|
|
21061
21062
|
Ue.p = Yl;
|
|
21062
21063
|
var s = Me;
|
|
21063
|
-
Me |=
|
|
21064
|
+
Me |= Bu;
|
|
21064
21065
|
try {
|
|
21065
21066
|
Hm = n, Nm = t, Eo(), Ah(
|
|
21066
21067
|
t,
|
|
@@ -21113,10 +21114,10 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
21113
21114
|
), cc !== oS && (cc = c2);
|
|
21114
21115
|
}
|
|
21115
21116
|
an = Xf, um(), t = Lf;
|
|
21116
|
-
var i =
|
|
21117
|
+
var i = Bm;
|
|
21117
21118
|
e = ic, n = d2;
|
|
21118
21119
|
var o = i.actualDuration !== 0 || (i.subtreeFlags & 10256) !== 0 || (i.flags & 10256) !== 0;
|
|
21119
|
-
o ? an =
|
|
21120
|
+
o ? an = wv : (an = Xf, Bm = Lf = null, np(
|
|
21120
21121
|
t,
|
|
21121
21122
|
t.pendingLanes
|
|
21122
21123
|
), Md = 0, b0 = null);
|
|
@@ -21188,7 +21189,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
21188
21189
|
return jn(), oi(), lp(), Xr();
|
|
21189
21190
|
}
|
|
21190
21191
|
function Xr() {
|
|
21191
|
-
if (an !==
|
|
21192
|
+
if (an !== wv) return !1;
|
|
21192
21193
|
var t = Lf, e = fS;
|
|
21193
21194
|
fS = 0;
|
|
21194
21195
|
var n = Ql(ic), i = Sn > n ? Sn : n;
|
|
@@ -21199,7 +21200,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
21199
21200
|
var s = dS;
|
|
21200
21201
|
dS = null, i = Lf;
|
|
21201
21202
|
var d = ic;
|
|
21202
|
-
if (an = Xf,
|
|
21203
|
+
if (an = Xf, Bm = Lf = null, ic = 0, (Me & (dn | Bu)) !== En)
|
|
21203
21204
|
throw Error("Cannot flush passive effects while already rendering.");
|
|
21204
21205
|
du(d), mS = !0, qv = !1;
|
|
21205
21206
|
var h = 0;
|
|
@@ -21230,7 +21231,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
21230
21231
|
"secondary-light"
|
|
21231
21232
|
));
|
|
21232
21233
|
}
|
|
21233
|
-
y = Me, Me |=
|
|
21234
|
+
y = Me, Me |= Bu;
|
|
21234
21235
|
var C = i.current;
|
|
21235
21236
|
Eo(), Mh(C);
|
|
21236
21237
|
var E = i.current;
|
|
@@ -21280,16 +21281,16 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
21280
21281
|
Ue.p = o, X.T = n, np(t, e);
|
|
21281
21282
|
}
|
|
21282
21283
|
}
|
|
21283
|
-
function
|
|
21284
|
+
function Bn(t, e, n) {
|
|
21284
21285
|
e = Mn(n, e), P0(e), e = sh(t.stateNode, e, 2), t = Wu(t, e, 2), t !== null && (oa(t, 2), Fn(t));
|
|
21285
21286
|
}
|
|
21286
21287
|
function ae(t, e, n) {
|
|
21287
|
-
if (
|
|
21288
|
-
|
|
21288
|
+
if (wm = !1, t.tag === 3)
|
|
21289
|
+
Bn(t, t, n);
|
|
21289
21290
|
else {
|
|
21290
21291
|
for (; e !== null; ) {
|
|
21291
21292
|
if (e.tag === 3) {
|
|
21292
|
-
|
|
21293
|
+
Bn(
|
|
21293
21294
|
e,
|
|
21294
21295
|
t,
|
|
21295
21296
|
n
|
|
@@ -21343,7 +21344,7 @@ act(() => {
|
|
|
21343
21344
|
/* assert on the output */
|
|
21344
21345
|
|
|
21345
21346
|
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`
|
|
21346
|
-
), ke === t && (fe & n) === n && (pl ===
|
|
21347
|
+
), ke === t && (fe & n) === n && (pl === Bf || pl === Cv && (fe & 62914560) === fe && Fl() - Nv < u2 ? (Me & dn) === En && ci(t, 0) : cS |= n, zd === fe && (zd = 0)), Fn(t);
|
|
21347
21348
|
}
|
|
21348
21349
|
function ap(t, e) {
|
|
21349
21350
|
e === 0 && (e = _i()), t = yn(t, e), t !== null && (oa(t, e), Fn(t));
|
|
@@ -21497,7 +21498,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21497
21498
|
var o = i.next, s = lf(i, e);
|
|
21498
21499
|
s === 0 ? (i.next = null, n === null ? Gv = o : n.next = o, o === null && (qm = n)) : (n = i, (t !== 0 || (s & 3) !== 0) && (Xv = !0)), i = o;
|
|
21499
21500
|
}
|
|
21500
|
-
an !== Xf && an !==
|
|
21501
|
+
an !== Xf && an !== wv || si(t), Vf !== 0 && (Vf = 0);
|
|
21501
21502
|
}
|
|
21502
21503
|
function lf(t, e) {
|
|
21503
21504
|
for (var n = t.suspendedLanes, i = t.pingedLanes, o = t.expirationTimes, s = t.pendingLanes & -62914561; 0 < s; ) {
|
|
@@ -21533,10 +21534,10 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21533
21534
|
return i !== null && jh(i), t.callbackPriority = 2, t.callbackNode = null, 2;
|
|
21534
21535
|
}
|
|
21535
21536
|
function up(t, e) {
|
|
21536
|
-
if (Sv = vv = !1, D0 = window.event, an !== Xf && an !==
|
|
21537
|
+
if (Sv = vv = !1, D0 = window.event, an !== Xf && an !== wv)
|
|
21537
21538
|
return t.callbackNode = null, t.callbackPriority = 0, null;
|
|
21538
21539
|
var n = t.callbackNode;
|
|
21539
|
-
if (cc ===
|
|
21540
|
+
if (cc === Bv && (cc = sS), Gr() && t.callbackNode !== n)
|
|
21540
21541
|
return null;
|
|
21541
21542
|
var i = fe;
|
|
21542
21543
|
return i = ca(
|
|
@@ -21559,8 +21560,8 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21559
21560
|
function bg() {
|
|
21560
21561
|
X.actQueue !== null && X.actQueue.push(function() {
|
|
21561
21562
|
return Nh(), null;
|
|
21562
|
-
}),
|
|
21563
|
-
(Me & (dn |
|
|
21563
|
+
}), BE(function() {
|
|
21564
|
+
(Me & (dn | Bu)) !== En ? xp(
|
|
21564
21565
|
Hp,
|
|
21565
21566
|
Sg
|
|
21566
21567
|
) : Nh();
|
|
@@ -21690,7 +21691,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21690
21691
|
var n = e[Io];
|
|
21691
21692
|
n === void 0 && (n = e[Io] = /* @__PURE__ */ new Set());
|
|
21692
21693
|
var i = t + "__bubble";
|
|
21693
|
-
n.has(i) || (
|
|
21694
|
+
n.has(i) || (Bh(e, t, 2, !1), n.add(i));
|
|
21694
21695
|
}
|
|
21695
21696
|
function fi(t, e, n) {
|
|
21696
21697
|
SS.has(t) && !e && console.error(
|
|
@@ -21698,7 +21699,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21698
21699
|
t
|
|
21699
21700
|
);
|
|
21700
21701
|
var i = 0;
|
|
21701
|
-
e && (i |= 4),
|
|
21702
|
+
e && (i |= 4), Bh(
|
|
21702
21703
|
n,
|
|
21703
21704
|
t,
|
|
21704
21705
|
i,
|
|
@@ -21714,7 +21715,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21714
21715
|
e === null || e[Lv] || (e[Lv] = !0, fi("selectionchange", !1, e));
|
|
21715
21716
|
}
|
|
21716
21717
|
}
|
|
21717
|
-
function
|
|
21718
|
+
function Bh(t, e, n, i) {
|
|
21718
21719
|
switch (Wh(e)) {
|
|
21719
21720
|
case Yl:
|
|
21720
21721
|
var o = Tp;
|
|
@@ -21758,7 +21759,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21758
21759
|
d = d.return;
|
|
21759
21760
|
}
|
|
21760
21761
|
for (; h !== null; ) {
|
|
21761
|
-
if (d =
|
|
21762
|
+
if (d = Ba(h), d === null) return;
|
|
21762
21763
|
if (y = d.tag, y === 5 || y === 6 || y === 26 || y === 27) {
|
|
21763
21764
|
i = s = d;
|
|
21764
21765
|
continue t;
|
|
@@ -21801,7 +21802,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21801
21802
|
case "mouseout":
|
|
21802
21803
|
case "mouseover":
|
|
21803
21804
|
case "contextmenu":
|
|
21804
|
-
q =
|
|
21805
|
+
q = BS;
|
|
21805
21806
|
break;
|
|
21806
21807
|
case "drag":
|
|
21807
21808
|
case "dragend":
|
|
@@ -21857,7 +21858,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21857
21858
|
Mt = [];
|
|
21858
21859
|
for (var T = p, D; T !== null; ) {
|
|
21859
21860
|
var M = T;
|
|
21860
|
-
if (D = M.stateNode, M = M.tag, M !== 5 && M !== 26 && M !== 27 || D === null || be === null || (M =
|
|
21861
|
+
if (D = M.stateNode, M = M.tag, M !== 5 && M !== 26 && M !== 27 || D === null || be === null || (M = B(T, be), M != null && Mt.push(
|
|
21861
21862
|
Ke(
|
|
21862
21863
|
T,
|
|
21863
21864
|
M,
|
|
@@ -21880,16 +21881,16 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21880
21881
|
}
|
|
21881
21882
|
if ((e & 7) === 0) {
|
|
21882
21883
|
t: {
|
|
21883
|
-
if (E = t === "mouseover" || t === "pointerover", q = t === "mouseout" || t === "pointerout", E && n !== qp && (vt = n.relatedTarget || n.fromElement) && (
|
|
21884
|
+
if (E = t === "mouseover" || t === "pointerover", q = t === "mouseout" || t === "pointerout", E && n !== qp && (vt = n.relatedTarget || n.fromElement) && (Ba(vt) || vt[ec]))
|
|
21884
21885
|
break t;
|
|
21885
|
-
if ((q || E) && (E = R.window === R ? R : (E = R.ownerDocument) ? E.defaultView || E.parentWindow : window, q ? (vt = n.relatedTarget || n.toElement, q = p, vt = vt ?
|
|
21886
|
-
if (Mt =
|
|
21886
|
+
if ((q || E) && (E = R.window === R ? R : (E = R.ownerDocument) ? E.defaultView || E.parentWindow : window, q ? (vt = n.relatedTarget || n.toElement, q = p, vt = vt ? Ba(vt) : null, vt !== null && (Ie = ot(vt), Mt = vt.tag, vt !== Ie || Mt !== 5 && Mt !== 27 && Mt !== 6) && (vt = null)) : (q = null, vt = p), q !== vt)) {
|
|
21887
|
+
if (Mt = BS, M = "onMouseLeave", be = "onMouseEnter", T = "mouse", (t === "pointerout" || t === "pointerover") && (Mt = qS, M = "onPointerLeave", be = "onPointerEnter", T = "pointer"), Ie = q == null ? E : au(q), D = vt == null ? E : au(vt), E = new Mt(
|
|
21887
21888
|
M,
|
|
21888
21889
|
T + "leave",
|
|
21889
21890
|
q,
|
|
21890
21891
|
n,
|
|
21891
21892
|
R
|
|
21892
|
-
), E.target = Ie, E.relatedTarget = D, M = null,
|
|
21893
|
+
), E.target = Ie, E.relatedTarget = D, M = null, Ba(R) === p && (Mt = new Mt(
|
|
21893
21894
|
be,
|
|
21894
21895
|
T + "enter",
|
|
21895
21896
|
vt,
|
|
@@ -21916,13 +21917,13 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21916
21917
|
Mt = null;
|
|
21917
21918
|
}
|
|
21918
21919
|
else Mt = null;
|
|
21919
|
-
q !== null &&
|
|
21920
|
+
q !== null && wh(
|
|
21920
21921
|
C,
|
|
21921
21922
|
E,
|
|
21922
21923
|
q,
|
|
21923
21924
|
Mt,
|
|
21924
21925
|
!1
|
|
21925
|
-
), vt !== null && Ie !== null &&
|
|
21926
|
+
), vt !== null && Ie !== null && wh(
|
|
21926
21927
|
C,
|
|
21927
21928
|
Ie,
|
|
21928
21929
|
vt,
|
|
@@ -22004,7 +22005,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22004
22005
|
Ht && (GS && n.locale !== "ko" && (mm || Ht !== "onCompositionStart" ? Ht === "onCompositionEnd" && mm && (Gt = ct()) : (Mf = R, T1 = "value" in Mf ? Mf.value : Mf.textContent, mm = !0)), It = Ru(
|
|
22005
22006
|
p,
|
|
22006
22007
|
Ht
|
|
22007
|
-
), 0 < It.length && (Ht = new
|
|
22008
|
+
), 0 < It.length && (Ht = new wS(
|
|
22008
22009
|
Ht,
|
|
22009
22010
|
t,
|
|
22010
22011
|
null,
|
|
@@ -22016,7 +22017,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22016
22017
|
}), Gt ? Ht.data = Gt : (Gt = Xa(n), Gt !== null && (Ht.data = Gt)))), (Gt = IT ? tr(t, n) : Ds(t, n)) && (Ht = Ru(
|
|
22017
22018
|
p,
|
|
22018
22019
|
"onBeforeInput"
|
|
22019
|
-
), 0 < Ht.length && (It = new
|
|
22020
|
+
), 0 < Ht.length && (It = new BT(
|
|
22020
22021
|
"onBeforeInput",
|
|
22021
22022
|
"beforeinput",
|
|
22022
22023
|
null,
|
|
@@ -22046,9 +22047,9 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22046
22047
|
function Ru(t, e) {
|
|
22047
22048
|
for (var n = e + "Capture", i = []; t !== null; ) {
|
|
22048
22049
|
var o = t, s = o.stateNode;
|
|
22049
|
-
if (o = o.tag, o !== 5 && o !== 26 && o !== 27 || s === null || (o =
|
|
22050
|
+
if (o = o.tag, o !== 5 && o !== 26 && o !== 27 || s === null || (o = B(t, n), o != null && i.unshift(
|
|
22050
22051
|
Ke(t, o, s)
|
|
22051
|
-
), o =
|
|
22052
|
+
), o = B(t, e), o != null && i.push(
|
|
22052
22053
|
Ke(t, o, s)
|
|
22053
22054
|
)), t.tag === 3) return i;
|
|
22054
22055
|
t = t.return;
|
|
@@ -22062,19 +22063,19 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22062
22063
|
while (t && t.tag !== 5 && t.tag !== 27);
|
|
22063
22064
|
return t || null;
|
|
22064
22065
|
}
|
|
22065
|
-
function
|
|
22066
|
+
function wh(t, e, n, i, o) {
|
|
22066
22067
|
for (var s = e._reactName, d = []; n !== null && n !== i; ) {
|
|
22067
22068
|
var h = n, y = h.alternate, p = h.stateNode;
|
|
22068
22069
|
if (h = h.tag, y !== null && y === i) break;
|
|
22069
|
-
h !== 5 && h !== 26 && h !== 27 || p === null || (y = p, o ? (p =
|
|
22070
|
+
h !== 5 && h !== 26 && h !== 27 || p === null || (y = p, o ? (p = B(n, s), p != null && d.unshift(
|
|
22070
22071
|
Ke(n, p, y)
|
|
22071
|
-
)) : o || (p =
|
|
22072
|
+
)) : o || (p = B(n, s), p != null && d.push(
|
|
22072
22073
|
Ke(n, p, y)
|
|
22073
22074
|
))), n = n.return;
|
|
22074
22075
|
}
|
|
22075
22076
|
d.length !== 0 && t.push({ event: e, listeners: d });
|
|
22076
22077
|
}
|
|
22077
|
-
function
|
|
22078
|
+
function wn(t, e) {
|
|
22078
22079
|
Ga(t, e), t !== "input" && t !== "textarea" && t !== "select" || e == null || e.value !== null || NS || (NS = !0, t === "select" && e.multiple ? console.error(
|
|
22079
22080
|
"`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",
|
|
22080
22081
|
t
|
|
@@ -22484,7 +22485,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22484
22485
|
}
|
|
22485
22486
|
}
|
|
22486
22487
|
function el(t, e, n) {
|
|
22487
|
-
switch (
|
|
22488
|
+
switch (wn(e, n), e) {
|
|
22488
22489
|
case "div":
|
|
22489
22490
|
case "span":
|
|
22490
22491
|
case "svg":
|
|
@@ -22698,8 +22699,8 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
22698
22699
|
for (h in n)
|
|
22699
22700
|
n.hasOwnProperty(h) && (i = n[h], i != null && _e(t, e, h, i, n, null));
|
|
22700
22701
|
}
|
|
22701
|
-
function
|
|
22702
|
-
switch (
|
|
22702
|
+
function wl(t, e, n, i) {
|
|
22703
|
+
switch (wn(e, i), e) {
|
|
22703
22704
|
case "div":
|
|
22704
22705
|
case "span":
|
|
22705
22706
|
case "svg":
|
|
@@ -23167,7 +23168,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
23167
23168
|
);
|
|
23168
23169
|
continue;
|
|
23169
23170
|
case "className":
|
|
23170
|
-
s.delete("class"), d =
|
|
23171
|
+
s.delete("class"), d = wa(
|
|
23171
23172
|
t,
|
|
23172
23173
|
"class",
|
|
23173
23174
|
p
|
|
@@ -23179,7 +23180,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
23179
23180
|
);
|
|
23180
23181
|
continue;
|
|
23181
23182
|
default:
|
|
23182
|
-
i.context === ds && e !== "svg" && e !== "math" ? s.delete(y.toLowerCase()) : s.delete(y), d =
|
|
23183
|
+
i.context === ds && e !== "svg" && e !== "math" ? s.delete(y.toLowerCase()) : s.delete(y), d = wa(
|
|
23183
23184
|
t,
|
|
23184
23185
|
y,
|
|
23185
23186
|
p
|
|
@@ -23734,7 +23735,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
23734
23735
|
function Mg() {
|
|
23735
23736
|
}
|
|
23736
23737
|
function Xh(t, e, n, i) {
|
|
23737
|
-
|
|
23738
|
+
wl(t, e, n, i), t[Gn] = i;
|
|
23738
23739
|
}
|
|
23739
23740
|
function Lh(t) {
|
|
23740
23741
|
qa(t, "");
|
|
@@ -23848,7 +23849,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
23848
23849
|
t.removeChild(n);
|
|
23849
23850
|
}
|
|
23850
23851
|
}
|
|
23851
|
-
function
|
|
23852
|
+
function Bg(t, e, n, i) {
|
|
23852
23853
|
for (; t.nodeType === 1; ) {
|
|
23853
23854
|
var o = n;
|
|
23854
23855
|
if (t.nodeName.toLowerCase() !== e.toLowerCase()) {
|
|
@@ -23886,7 +23887,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
23886
23887
|
}
|
|
23887
23888
|
return null;
|
|
23888
23889
|
}
|
|
23889
|
-
function
|
|
23890
|
+
function wg(t, e, n) {
|
|
23890
23891
|
if (e === "") return null;
|
|
23891
23892
|
for (; t.nodeType !== 3; )
|
|
23892
23893
|
if ((t.nodeType !== 1 || t.nodeName !== "INPUT" || t.type !== "hidden") && !n || (t = Ra(t.nextSibling), t === null)) return null;
|
|
@@ -24334,7 +24335,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
24334
24335
|
var s = t.unsuspend;
|
|
24335
24336
|
t.unsuspend = null, s();
|
|
24336
24337
|
}
|
|
24337
|
-
},
|
|
24338
|
+
}, wE + e);
|
|
24338
24339
|
0 < t.imgBytes && MS === 0 && (MS = 125 * Eg() * YE);
|
|
24339
24340
|
var o = setTimeout(
|
|
24340
24341
|
function() {
|
|
@@ -24503,7 +24504,7 @@ Check the render method of %s.`,
|
|
|
24503
24504
|
var y = 1 << 31 - sn(d);
|
|
24504
24505
|
h.entanglements[1] |= y, d &= ~y;
|
|
24505
24506
|
}
|
|
24506
|
-
Fn(s), (Me & (dn |
|
|
24507
|
+
Fn(s), (Me & (dn | Bu)) === En && (jv = Fl() + i2, si(0));
|
|
24507
24508
|
}
|
|
24508
24509
|
}
|
|
24509
24510
|
break;
|
|
@@ -24535,7 +24536,7 @@ Check the render method of %s.`,
|
|
|
24535
24536
|
return t = ma(t), Ap(t);
|
|
24536
24537
|
}
|
|
24537
24538
|
function Ap(t) {
|
|
24538
|
-
if (Pv = null, t =
|
|
24539
|
+
if (Pv = null, t = Ba(t), t !== null) {
|
|
24539
24540
|
var e = ot(t);
|
|
24540
24541
|
if (e === null) t = null;
|
|
24541
24542
|
else {
|
|
@@ -24738,7 +24739,7 @@ Check the render method of %s.`,
|
|
|
24738
24739
|
return !1;
|
|
24739
24740
|
}
|
|
24740
24741
|
function Dp(t) {
|
|
24741
|
-
var e =
|
|
24742
|
+
var e = Ba(t.target);
|
|
24742
24743
|
if (e !== null) {
|
|
24743
24744
|
var n = ot(e);
|
|
24744
24745
|
if (n !== null) {
|
|
@@ -24921,7 +24922,7 @@ Check the render method of %s.`,
|
|
|
24921
24922
|
submit: !0
|
|
24922
24923
|
}, zf = RegExp(
|
|
24923
24924
|
"^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
|
|
24924
|
-
),
|
|
24925
|
+
), Bp = {}, sm = {}, fm = /[\n"\\]/g, wp = !1, nv = !1, sd = !1, l = !1, a = !1, u = !1, c = ["value", "defaultValue"], f = !1, r = /["'&<>\n\t]|^\s|\s$/, m = "address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(
|
|
24925
24926
|
" "
|
|
24926
24927
|
), g = "applet caption html table td th marquee object template foreignObject desc title".split(
|
|
24927
24928
|
" "
|
|
@@ -24936,7 +24937,7 @@ Check the render method of %s.`,
|
|
|
24936
24937
|
dlItemTagAutoclosing: null,
|
|
24937
24938
|
containerTagInScope: null,
|
|
24938
24939
|
implicitRootScope: !1
|
|
24939
|
-
}, I = {},
|
|
24940
|
+
}, I = {}, w = {
|
|
24940
24941
|
animation: "animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(
|
|
24941
24942
|
" "
|
|
24942
24943
|
),
|
|
@@ -25748,7 +25749,7 @@ Check the render method of %s.`,
|
|
|
25748
25749
|
movementY: function(t) {
|
|
25749
25750
|
return "movementY" in t ? t.movementY : A1;
|
|
25750
25751
|
}
|
|
25751
|
-
}),
|
|
25752
|
+
}), BS = De(cv), OT = ce({}, cv, { dataTransfer: 0 }), CT = De(OT), _T = ce({}, Gp, { relatedTarget: 0 }), D1 = De(_T), UT = ce({}, fd, {
|
|
25752
25753
|
animationName: 0,
|
|
25753
25754
|
elapsedTime: 0,
|
|
25754
25755
|
pseudoElement: 0
|
|
@@ -25756,9 +25757,9 @@ Check the render method of %s.`,
|
|
|
25756
25757
|
clipboardData: function(t) {
|
|
25757
25758
|
return "clipboardData" in t ? t.clipboardData : window.clipboardData;
|
|
25758
25759
|
}
|
|
25759
|
-
}), NT = De(HT), jT = ce({}, fd, { data: 0 }),
|
|
25760
|
+
}), NT = De(HT), jT = ce({}, fd, { data: 0 }), wS = De(
|
|
25760
25761
|
jT
|
|
25761
|
-
),
|
|
25762
|
+
), BT = wS, wT = {
|
|
25762
25763
|
Esc: "Escape",
|
|
25763
25764
|
Spacebar: " ",
|
|
25764
25765
|
Left: "ArrowLeft",
|
|
@@ -25816,7 +25817,7 @@ Check the render method of %s.`,
|
|
|
25816
25817
|
}, GT = ce({}, Gp, {
|
|
25817
25818
|
key: function(t) {
|
|
25818
25819
|
if (t.key) {
|
|
25819
|
-
var e =
|
|
25820
|
+
var e = wT[t.key] || t.key;
|
|
25820
25821
|
if (e !== "Unidentified") return e;
|
|
25821
25822
|
}
|
|
25822
25823
|
return t.type === "keypress" ? (t = zt(t), t === 13 ? "Enter" : String.fromCharCode(t)) : t.type === "keydown" || t.type === "keyup" ? qT[t.keyCode] || "Unidentified" : "";
|
|
@@ -25895,7 +25896,7 @@ Check the render method of %s.`,
|
|
|
25895
25896
|
week: !0
|
|
25896
25897
|
}, Vp = null, Qp = null, QS = !1;
|
|
25897
25898
|
Fc && (QS = jd("input") && (!document.documentMode || 9 < document.documentMode));
|
|
25898
|
-
var Ua = typeof Object.is == "function" ? Object.is :
|
|
25899
|
+
var Ua = typeof Object.is == "function" ? Object.is : Bd, tE = Fc && "documentMode" in document && 11 >= document.documentMode, ym = null, M1 = null, Zp = null, R1 = !1, pm = {
|
|
25899
25900
|
animationend: ho("Animation", "AnimationEnd"),
|
|
25900
25901
|
animationiteration: ho("Animation", "AnimationIteration"),
|
|
25901
25902
|
animationstart: ho("Animation", "AnimationStart"),
|
|
@@ -25951,9 +25952,9 @@ Check the render method of %s.`,
|
|
|
25951
25952
|
} catch {
|
|
25952
25953
|
eb = !0;
|
|
25953
25954
|
}
|
|
25954
|
-
var j1 = /* @__PURE__ */ new WeakMap(), Sm = [], bm = 0, rv = null, Kp = 0, Ti = [], Ei = 0, rd = null, es = 1, ls = "", Xn = null, al = null, ve = !1, Ic = !1, Hu = null, _f = null, Ai = !1,
|
|
25955
|
+
var j1 = /* @__PURE__ */ new WeakMap(), Sm = [], bm = 0, rv = null, Kp = 0, Ti = [], Ei = 0, rd = null, es = 1, ls = "", Xn = null, al = null, ve = !1, Ic = !1, Hu = null, _f = null, Ai = !1, B1 = Error(
|
|
25955
25956
|
"Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
|
|
25956
|
-
),
|
|
25957
|
+
), w1 = bt(null), q1 = bt(null), nb = {}, dv = null, Tm = null, Em = !1, rE = typeof AbortController < "u" ? AbortController : function() {
|
|
25957
25958
|
var t = [], e = this.signal = {
|
|
25958
25959
|
aborted: !1,
|
|
25959
25960
|
addEventListener: function(n, i) {
|
|
@@ -26276,7 +26277,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
26276
26277
|
useCacheRefresh: hl
|
|
26277
26278
|
};
|
|
26278
26279
|
r0.useEffectEvent = hl;
|
|
26279
|
-
var F1 = null, jb = null, I1 = null,
|
|
26280
|
+
var F1 = null, jb = null, I1 = null, Bb = null, to = null, ac = null, Rv = null;
|
|
26280
26281
|
F1 = {
|
|
26281
26282
|
readContext: function(t) {
|
|
26282
26283
|
return Ce(t);
|
|
@@ -26315,7 +26316,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
26315
26316
|
var i = X.H;
|
|
26316
26317
|
X.H = to;
|
|
26317
26318
|
try {
|
|
26318
|
-
return
|
|
26319
|
+
return Bs(t, e, n);
|
|
26319
26320
|
} finally {
|
|
26320
26321
|
X.H = i;
|
|
26321
26322
|
}
|
|
@@ -26340,10 +26341,10 @@ Check the top-level render call using <` + i + ">.");
|
|
|
26340
26341
|
return G = "useDeferredValue", Wt(), Xs(t, e);
|
|
26341
26342
|
},
|
|
26342
26343
|
useTransition: function() {
|
|
26343
|
-
return G = "useTransition", Wt(),
|
|
26344
|
+
return G = "useTransition", Wt(), Bc();
|
|
26344
26345
|
},
|
|
26345
26346
|
useSyncExternalStore: function(t, e, n) {
|
|
26346
|
-
return G = "useSyncExternalStore", Wt(),
|
|
26347
|
+
return G = "useSyncExternalStore", Wt(), ws(
|
|
26347
26348
|
t,
|
|
26348
26349
|
e,
|
|
26349
26350
|
n
|
|
@@ -26407,7 +26408,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
26407
26408
|
var i = X.H;
|
|
26408
26409
|
X.H = to;
|
|
26409
26410
|
try {
|
|
26410
|
-
return
|
|
26411
|
+
return Bs(t, e, n);
|
|
26411
26412
|
} finally {
|
|
26412
26413
|
X.H = i;
|
|
26413
26414
|
}
|
|
@@ -26432,10 +26433,10 @@ Check the top-level render call using <` + i + ">.");
|
|
|
26432
26433
|
return G = "useDeferredValue", P(), Xs(t, e);
|
|
26433
26434
|
},
|
|
26434
26435
|
useTransition: function() {
|
|
26435
|
-
return G = "useTransition", P(),
|
|
26436
|
+
return G = "useTransition", P(), Bc();
|
|
26436
26437
|
},
|
|
26437
26438
|
useSyncExternalStore: function(t, e, n) {
|
|
26438
|
-
return G = "useSyncExternalStore", P(),
|
|
26439
|
+
return G = "useSyncExternalStore", P(), ws(
|
|
26439
26440
|
t,
|
|
26440
26441
|
e,
|
|
26441
26442
|
n
|
|
@@ -26473,16 +26474,16 @@ Check the top-level render call using <` + i + ">.");
|
|
|
26473
26474
|
return G = "useContext", P(), Ce(t);
|
|
26474
26475
|
},
|
|
26475
26476
|
useEffect: function(t, e) {
|
|
26476
|
-
G = "useEffect", P(),
|
|
26477
|
+
G = "useEffect", P(), Bl(2048, Na, t, e);
|
|
26477
26478
|
},
|
|
26478
26479
|
useImperativeHandle: function(t, e, n) {
|
|
26479
26480
|
return G = "useImperativeHandle", P(), Gs(t, e, n);
|
|
26480
26481
|
},
|
|
26481
26482
|
useInsertionEffect: function(t, e) {
|
|
26482
|
-
return G = "useInsertionEffect", P(),
|
|
26483
|
+
return G = "useInsertionEffect", P(), Bl(4, Ha, t, e);
|
|
26483
26484
|
},
|
|
26484
26485
|
useLayoutEffect: function(t, e) {
|
|
26485
|
-
return G = "useLayoutEffect", P(),
|
|
26486
|
+
return G = "useLayoutEffect", P(), Bl(4, ju, t, e);
|
|
26486
26487
|
},
|
|
26487
26488
|
useMemo: function(t, e) {
|
|
26488
26489
|
G = "useMemo", P();
|
|
@@ -26553,7 +26554,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
26553
26554
|
useEffectEvent: function(t) {
|
|
26554
26555
|
return G = "useEffectEvent", P(), Ys(t);
|
|
26555
26556
|
}
|
|
26556
|
-
},
|
|
26557
|
+
}, Bb = {
|
|
26557
26558
|
readContext: function(t) {
|
|
26558
26559
|
return Ce(t);
|
|
26559
26560
|
},
|
|
@@ -26565,16 +26566,16 @@ Check the top-level render call using <` + i + ">.");
|
|
|
26565
26566
|
return G = "useContext", P(), Ce(t);
|
|
26566
26567
|
},
|
|
26567
26568
|
useEffect: function(t, e) {
|
|
26568
|
-
G = "useEffect", P(),
|
|
26569
|
+
G = "useEffect", P(), Bl(2048, Na, t, e);
|
|
26569
26570
|
},
|
|
26570
26571
|
useImperativeHandle: function(t, e, n) {
|
|
26571
26572
|
return G = "useImperativeHandle", P(), Gs(t, e, n);
|
|
26572
26573
|
},
|
|
26573
26574
|
useInsertionEffect: function(t, e) {
|
|
26574
|
-
return G = "useInsertionEffect", P(),
|
|
26575
|
+
return G = "useInsertionEffect", P(), Bl(4, Ha, t, e);
|
|
26575
26576
|
},
|
|
26576
26577
|
useLayoutEffect: function(t, e) {
|
|
26577
|
-
return G = "useLayoutEffect", P(),
|
|
26578
|
+
return G = "useLayoutEffect", P(), Bl(4, ju, t, e);
|
|
26578
26579
|
},
|
|
26579
26580
|
useMemo: function(t, e) {
|
|
26580
26581
|
G = "useMemo", P();
|
|
@@ -26685,7 +26686,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
26685
26686
|
var i = X.H;
|
|
26686
26687
|
X.H = to;
|
|
26687
26688
|
try {
|
|
26688
|
-
return
|
|
26689
|
+
return Bs(t, e, n);
|
|
26689
26690
|
} finally {
|
|
26690
26691
|
X.H = i;
|
|
26691
26692
|
}
|
|
@@ -26710,10 +26711,10 @@ Check the top-level render call using <` + i + ">.");
|
|
|
26710
26711
|
return G = "useDeferredValue", V(), Wt(), Xs(t, e);
|
|
26711
26712
|
},
|
|
26712
26713
|
useTransition: function() {
|
|
26713
|
-
return G = "useTransition", V(), Wt(),
|
|
26714
|
+
return G = "useTransition", V(), Wt(), Bc();
|
|
26714
26715
|
},
|
|
26715
26716
|
useSyncExternalStore: function(t, e, n) {
|
|
26716
|
-
return G = "useSyncExternalStore", V(), Wt(),
|
|
26717
|
+
return G = "useSyncExternalStore", V(), Wt(), ws(
|
|
26717
26718
|
t,
|
|
26718
26719
|
e,
|
|
26719
26720
|
n
|
|
@@ -26755,16 +26756,16 @@ Check the top-level render call using <` + i + ">.");
|
|
|
26755
26756
|
return G = "useContext", V(), P(), Ce(t);
|
|
26756
26757
|
},
|
|
26757
26758
|
useEffect: function(t, e) {
|
|
26758
|
-
G = "useEffect", V(), P(),
|
|
26759
|
+
G = "useEffect", V(), P(), Bl(2048, Na, t, e);
|
|
26759
26760
|
},
|
|
26760
26761
|
useImperativeHandle: function(t, e, n) {
|
|
26761
26762
|
return G = "useImperativeHandle", V(), P(), Gs(t, e, n);
|
|
26762
26763
|
},
|
|
26763
26764
|
useInsertionEffect: function(t, e) {
|
|
26764
|
-
return G = "useInsertionEffect", V(), P(),
|
|
26765
|
+
return G = "useInsertionEffect", V(), P(), Bl(4, Ha, t, e);
|
|
26765
26766
|
},
|
|
26766
26767
|
useLayoutEffect: function(t, e) {
|
|
26767
|
-
return G = "useLayoutEffect", V(), P(),
|
|
26768
|
+
return G = "useLayoutEffect", V(), P(), Bl(4, ju, t, e);
|
|
26768
26769
|
},
|
|
26769
26770
|
useMemo: function(t, e) {
|
|
26770
26771
|
G = "useMemo", V(), P();
|
|
@@ -26851,16 +26852,16 @@ Check the top-level render call using <` + i + ">.");
|
|
|
26851
26852
|
return G = "useContext", V(), P(), Ce(t);
|
|
26852
26853
|
},
|
|
26853
26854
|
useEffect: function(t, e) {
|
|
26854
|
-
G = "useEffect", V(), P(),
|
|
26855
|
+
G = "useEffect", V(), P(), Bl(2048, Na, t, e);
|
|
26855
26856
|
},
|
|
26856
26857
|
useImperativeHandle: function(t, e, n) {
|
|
26857
26858
|
return G = "useImperativeHandle", V(), P(), Gs(t, e, n);
|
|
26858
26859
|
},
|
|
26859
26860
|
useInsertionEffect: function(t, e) {
|
|
26860
|
-
return G = "useInsertionEffect", V(), P(),
|
|
26861
|
+
return G = "useInsertionEffect", V(), P(), Bl(4, Ha, t, e);
|
|
26861
26862
|
},
|
|
26862
26863
|
useLayoutEffect: function(t, e) {
|
|
26863
|
-
return G = "useLayoutEffect", V(), P(),
|
|
26864
|
+
return G = "useLayoutEffect", V(), P(), Bl(4, ju, t, e);
|
|
26864
26865
|
},
|
|
26865
26866
|
useMemo: function(t, e) {
|
|
26866
26867
|
G = "useMemo", V(), P();
|
|
@@ -26934,8 +26935,8 @@ Check the top-level render call using <` + i + ">.");
|
|
|
26934
26935
|
return G = "useEffectEvent", V(), P(), Ys(t);
|
|
26935
26936
|
}
|
|
26936
26937
|
};
|
|
26937
|
-
var
|
|
26938
|
-
Object.freeze(
|
|
26938
|
+
var wb = {}, qb = /* @__PURE__ */ new Set(), Yb = /* @__PURE__ */ new Set(), Gb = /* @__PURE__ */ new Set(), Xb = /* @__PURE__ */ new Set(), Lb = /* @__PURE__ */ new Set(), Vb = /* @__PURE__ */ new Set(), Qb = /* @__PURE__ */ new Set(), Zb = /* @__PURE__ */ new Set(), Jb = /* @__PURE__ */ new Set(), Kb = /* @__PURE__ */ new Set();
|
|
26939
|
+
Object.freeze(wb);
|
|
26939
26940
|
var P1 = {
|
|
26940
26941
|
enqueueSetState: function(t, e, n) {
|
|
26941
26942
|
t = t._reactInternals;
|
|
@@ -26977,7 +26978,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
26977
26978
|
var h0 = Symbol.for;
|
|
26978
26979
|
h0("selector.component"), h0("selector.has_pseudo_class"), h0("selector.role"), h0("selector.test_id"), h0("selector.text");
|
|
26979
26980
|
}
|
|
26980
|
-
var EE = [], AE = typeof WeakMap == "function" ? WeakMap : Map, En = 0, dn = 2,
|
|
26981
|
+
var EE = [], AE = typeof WeakMap == "function" ? WeakMap : Map, En = 0, dn = 2, Bu = 4, rs = 0, m0 = 1, Ed = 2, Cv = 3, Bf = 4, _v = 6, l2 = 5, Me = En, ke = null, de = null, fe = 0, eu = 0, Uv = 1, Ad = 2, y0 = 3, n2 = 4, aS = 5, p0 = 6, xv = 7, uS = 8, Dd = 9, Le = eu, wu = null, wf = !1, jm = !1, iS = !1, eo = 0, pl = rs, qf = 0, Yf = 0, cS = 0, lu = 0, zd = 0, g0 = null, ja = null, Hv = !1, Nv = 0, a2 = 0, u2 = 300, jv = 1 / 0, i2 = 500, v0 = null, Cl = null, Gf = null, Bv = 0, oS = 1, sS = 2, c2 = 3, Xf = 0, o2 = 1, s2 = 2, f2 = 3, r2 = 4, wv = 5, an = 0, Lf = null, Bm = null, ic = 0, fS = 0, rS = -0, dS = null, d2 = null, h2 = null, cc = Bv, m2 = null, DE = 50, S0 = 0, hS = null, mS = !1, qv = !1, zE = 50, Md = 0, b0 = null, wm = !1, Yv = null, y2 = !1, p2 = /* @__PURE__ */ new Set(), ME = {}, Gv = null, qm = null, yS = !1, pS = !1, Xv = !1, gS = !1, Vf = 0, vS = {};
|
|
26981
26982
|
(function() {
|
|
26982
26983
|
for (var t = 0; t < C1.length; t++) {
|
|
26983
26984
|
var e = C1[t], n = e.toLowerCase();
|
|
@@ -27013,7 +27014,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
27013
27014
|
" "
|
|
27014
27015
|
), SS = new Set(
|
|
27015
27016
|
"beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(T0)
|
|
27016
|
-
), Lv = "_reactListening" + Math.random().toString(36).slice(2), g2 = !1, v2 = !1, Vv = !1, S2 = !1, Qv = !1, Zv = !1, b2 = !1, Jv = {}, RE = /\r\n?/g, OE = /\u0000|\uFFFD/g, Rd = "http://www.w3.org/1999/xlink", bS = "http://www.w3.org/XML/1998/namespace", CE = "javascript:throw new Error('React form unexpectedly submitted.')", _E = "suppressHydrationWarning", Od = "&", Kv = "/&", E0 = "$", A0 = "/$", Qf = "$?", Cd = "$~", Ym = "$!", UE = "html", xE = "body", HE = "head", TS = "F!", T2 = "F", E2 = "loading", NE = "style", ds = 0, Gm = 1, $v = 2, ES = null, AS = null, A2 = { dialog: !0, webview: !0 }, DS = null, D0 = void 0, D2 = typeof setTimeout == "function" ? setTimeout : void 0, jE = typeof clearTimeout == "function" ? clearTimeout : void 0, _d = -1, z2 = typeof Promise == "function" ? Promise : void 0,
|
|
27017
|
+
), Lv = "_reactListening" + Math.random().toString(36).slice(2), g2 = !1, v2 = !1, Vv = !1, S2 = !1, Qv = !1, Zv = !1, b2 = !1, Jv = {}, RE = /\r\n?/g, OE = /\u0000|\uFFFD/g, Rd = "http://www.w3.org/1999/xlink", bS = "http://www.w3.org/XML/1998/namespace", CE = "javascript:throw new Error('React form unexpectedly submitted.')", _E = "suppressHydrationWarning", Od = "&", Kv = "/&", E0 = "$", A0 = "/$", Qf = "$?", Cd = "$~", Ym = "$!", UE = "html", xE = "body", HE = "head", TS = "F!", T2 = "F", E2 = "loading", NE = "style", ds = 0, Gm = 1, $v = 2, ES = null, AS = null, A2 = { dialog: !0, webview: !0 }, DS = null, D0 = void 0, D2 = typeof setTimeout == "function" ? setTimeout : void 0, jE = typeof clearTimeout == "function" ? clearTimeout : void 0, _d = -1, z2 = typeof Promise == "function" ? Promise : void 0, BE = typeof queueMicrotask == "function" ? queueMicrotask : typeof z2 < "u" ? function(t) {
|
|
27017
27018
|
return z2.resolve(null).then(t).catch(Dg);
|
|
27018
27019
|
} : D2, zS = null, Ud = 0, z0 = 1, M2 = 2, R2 = 3, Oi = 4, Ci = /* @__PURE__ */ new Map(), O2 = /* @__PURE__ */ new Set(), hs = Ue.d;
|
|
27019
27020
|
Ue.d = {
|
|
@@ -27161,23 +27162,23 @@ Check the top-level render call using <` + i + ">.");
|
|
|
27161
27162
|
}
|
|
27162
27163
|
}
|
|
27163
27164
|
};
|
|
27164
|
-
var Xm = typeof document > "u" ? null : document, kv = null,
|
|
27165
|
+
var Xm = typeof document > "u" ? null : document, kv = null, wE = 6e4, qE = 800, YE = 500, MS = 0, RS = null, Wv = null, xd = g1, M0 = {
|
|
27165
27166
|
$$typeof: _u,
|
|
27166
27167
|
Provider: null,
|
|
27167
27168
|
Consumer: null,
|
|
27168
27169
|
_currentValue: xd,
|
|
27169
27170
|
_currentValue2: xd,
|
|
27170
27171
|
_threadCount: 0
|
|
27171
|
-
}, C2 = "%c%s%c", _2 = "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px", U2 = "", Fv = " ", GE = Function.prototype.bind, x2 = !1, H2 = null, N2 = null, j2 = null,
|
|
27172
|
+
}, C2 = "%c%s%c", _2 = "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px", U2 = "", Fv = " ", GE = Function.prototype.bind, x2 = !1, H2 = null, N2 = null, j2 = null, B2 = null, w2 = null, q2 = null, Y2 = null, G2 = null, X2 = null, L2 = null;
|
|
27172
27173
|
H2 = function(t, e, n, i) {
|
|
27173
27174
|
e = v(t, e), e !== null && (n = U(e.memoizedState, n, 0, i), e.memoizedState = n, e.baseState = n, t.memoizedProps = ce({}, t.memoizedProps), n = yn(t, 2), n !== null && kt(n, t, 2));
|
|
27174
27175
|
}, N2 = function(t, e, n) {
|
|
27175
27176
|
e = v(t, e), e !== null && (n = F(e.memoizedState, n, 0), e.memoizedState = n, e.baseState = n, t.memoizedProps = ce({}, t.memoizedProps), n = yn(t, 2), n !== null && kt(n, t, 2));
|
|
27176
27177
|
}, j2 = function(t, e, n, i) {
|
|
27177
27178
|
e = v(t, e), e !== null && (n = Q(e.memoizedState, n, i), e.memoizedState = n, e.baseState = n, t.memoizedProps = ce({}, t.memoizedProps), n = yn(t, 2), n !== null && kt(n, t, 2));
|
|
27178
|
-
},
|
|
27179
|
+
}, B2 = function(t, e, n) {
|
|
27179
27180
|
t.pendingProps = U(t.memoizedProps, e, 0, n), t.alternate && (t.alternate.pendingProps = t.pendingProps), e = yn(t, 2), e !== null && kt(e, t, 2);
|
|
27180
|
-
},
|
|
27181
|
+
}, w2 = function(t, e) {
|
|
27181
27182
|
t.pendingProps = F(t.memoizedProps, e, 0), t.alternate && (t.alternate.pendingProps = t.pendingProps), e = yn(t, 2), e !== null && kt(e, t, 2);
|
|
27182
27183
|
}, q2 = function(t, e, n) {
|
|
27183
27184
|
t.pendingProps = Q(
|
|
@@ -27219,7 +27220,7 @@ Check the top-level render call using <` + i + ">.");
|
|
|
27219
27220
|
), t = this._internalRoot, t !== null) {
|
|
27220
27221
|
this._internalRoot = null;
|
|
27221
27222
|
var e = t.containerInfo;
|
|
27222
|
-
(Me & (dn |
|
|
27223
|
+
(Me & (dn | Bu)) !== En && console.error(
|
|
27223
27224
|
"Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."
|
|
27224
27225
|
), $h(t.current, 2, null, t, null, null), Ma(), e[ec] = null;
|
|
27225
27226
|
}
|
|
@@ -27256,7 +27257,7 @@ Learn more: https://react.dev/warnings/version-mismatch`)
|
|
|
27256
27257
|
currentDispatcherRef: X,
|
|
27257
27258
|
reconcilerVersion: "19.2.7"
|
|
27258
27259
|
};
|
|
27259
|
-
return t.overrideHookState = H2, t.overrideHookStateDeletePath = N2, t.overrideHookStateRenamePath = j2, t.overrideProps =
|
|
27260
|
+
return t.overrideHookState = H2, t.overrideHookStateDeletePath = N2, t.overrideHookStateRenamePath = j2, t.overrideProps = B2, t.overridePropsDeletePath = w2, t.overridePropsRenamePath = q2, t.scheduleUpdate = Y2, t.scheduleRetry = G2, t.setErrorHandler = X2, t.setSuspenseHandler = L2, t.scheduleRefresh = At, t.scheduleRoot = _t, t.setRefreshHandler = Lt, t.getCurrentFiber = Ge, ia(t);
|
|
27260
27261
|
})() && Fc && window.top === window.self && (-1 < navigator.userAgent.indexOf("Chrome") && navigator.userAgent.indexOf("Edge") === -1 || -1 < navigator.userAgent.indexOf("Firefox"))) {
|
|
27261
27262
|
var V2 = window.location.protocol;
|
|
27262
27263
|
/^(https?|file):$/.test(V2) && console.info(
|
|
@@ -27316,7 +27317,7 @@ You might need to use a local HTTP server (instead of file://): https://react.de
|
|
|
27316
27317
|
})()), _0;
|
|
27317
27318
|
}
|
|
27318
27319
|
var P2;
|
|
27319
|
-
function
|
|
27320
|
+
function qA() {
|
|
27320
27321
|
if (P2) return e1.exports;
|
|
27321
27322
|
P2 = 1;
|
|
27322
27323
|
function v() {
|
|
@@ -27330,9 +27331,9 @@ function wA() {
|
|
|
27330
27331
|
}
|
|
27331
27332
|
}
|
|
27332
27333
|
}
|
|
27333
|
-
return process.env.NODE_ENV === "production" ? (v(), e1.exports =
|
|
27334
|
+
return process.env.NODE_ENV === "production" ? (v(), e1.exports = BA()) : e1.exports = wA(), e1.exports;
|
|
27334
27335
|
}
|
|
27335
|
-
var
|
|
27336
|
+
var YA = qA(), n1 = { exports: {} }, U0 = {};
|
|
27336
27337
|
/**
|
|
27337
27338
|
* @license React
|
|
27338
27339
|
* react-jsx-runtime.production.js
|
|
@@ -27343,7 +27344,7 @@ var BA = wA(), n1 = { exports: {} }, U0 = {};
|
|
|
27343
27344
|
* LICENSE file in the root directory of this source tree.
|
|
27344
27345
|
*/
|
|
27345
27346
|
var tT;
|
|
27346
|
-
function
|
|
27347
|
+
function GA() {
|
|
27347
27348
|
if (tT) return U0;
|
|
27348
27349
|
tT = 1;
|
|
27349
27350
|
var v = Symbol.for("react.transitional.element"), U = Symbol.for("react.fragment");
|
|
@@ -27375,7 +27376,7 @@ var x0 = {};
|
|
|
27375
27376
|
* LICENSE file in the root directory of this source tree.
|
|
27376
27377
|
*/
|
|
27377
27378
|
var eT;
|
|
27378
|
-
function
|
|
27379
|
+
function XA() {
|
|
27379
27380
|
return eT || (eT = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
27380
27381
|
function v(Y) {
|
|
27381
27382
|
if (Y == null) return null;
|
|
@@ -27606,10 +27607,10 @@ React keys must be passed directly to JSX without using spread:
|
|
|
27606
27607
|
})()), x0;
|
|
27607
27608
|
}
|
|
27608
27609
|
var lT;
|
|
27609
|
-
function
|
|
27610
|
-
return lT || (lT = 1, process.env.NODE_ENV === "production" ? n1.exports =
|
|
27610
|
+
function LA() {
|
|
27611
|
+
return lT || (lT = 1, process.env.NODE_ENV === "production" ? n1.exports = GA() : n1.exports = XA()), n1.exports;
|
|
27611
27612
|
}
|
|
27612
|
-
var A =
|
|
27613
|
+
var A = LA();
|
|
27613
27614
|
const ys = {
|
|
27614
27615
|
THINKING: "thinking",
|
|
27615
27616
|
RETHINKING: "rethinking",
|
|
@@ -27619,23 +27620,23 @@ const ys = {
|
|
|
27619
27620
|
STOP: "stop",
|
|
27620
27621
|
ERROR: "error"
|
|
27621
27622
|
};
|
|
27622
|
-
function
|
|
27623
|
-
const b = v.segments, F = Vm(() => CS(b), [b]), it = !!v.streamed, Ot = v.status === "stop" || v.status === "error", [V, Tt] =
|
|
27623
|
+
function VA(v, U, Q) {
|
|
27624
|
+
const b = v.segments, F = Vm(() => CS(b), [b]), it = !!v.streamed, Ot = v.status === "stop" || v.status === "error", [V, Tt] = wt(() => v.streamed ? Math.min(Math.max((Q == null ? void 0 : Q.initial) ?? 0, 0), CS(b)) : CS(b)), yt = Bt(V);
|
|
27624
27625
|
yt.current = V;
|
|
27625
|
-
const xt =
|
|
27626
|
+
const xt = Bt(Q == null ? void 0 : Q.onProgress);
|
|
27626
27627
|
xt.current = Q == null ? void 0 : Q.onProgress, me(() => {
|
|
27627
27628
|
var gt;
|
|
27628
27629
|
(gt = xt.current) == null || gt.call(xt, V);
|
|
27629
27630
|
}, [V]);
|
|
27630
|
-
const ht =
|
|
27631
|
+
const ht = Bt(0), St = Bt(0), _t = Bt(0), At = Bt(F);
|
|
27631
27632
|
At.current = F;
|
|
27632
|
-
const Lt =
|
|
27633
|
+
const Lt = Bt(b);
|
|
27633
27634
|
Lt.current = b;
|
|
27634
|
-
const H =
|
|
27635
|
+
const H = Bt(U);
|
|
27635
27636
|
H.current = U;
|
|
27636
|
-
const ot =
|
|
27637
|
+
const ot = Be((gt) => {
|
|
27637
27638
|
yt.current !== gt && (yt.current = gt, Tt(gt));
|
|
27638
|
-
}, []), nt =
|
|
27639
|
+
}, []), nt = Be(() => {
|
|
27639
27640
|
if (St.current) return;
|
|
27640
27641
|
const gt = (Vt) => {
|
|
27641
27642
|
var mt;
|
|
@@ -27645,7 +27646,7 @@ function XA(v, U, Q) {
|
|
|
27645
27646
|
}
|
|
27646
27647
|
const dt = Math.min(Vt - _t.current, 100);
|
|
27647
27648
|
_t.current = Vt;
|
|
27648
|
-
const bt = At.current, at =
|
|
27649
|
+
const bt = At.current, at = DA(Lt.current, yt.current), W = zA(yt.current, bt, ht.current, dt, at);
|
|
27649
27650
|
if (ht.current = W.frac, W.reveal !== yt.current && (yt.current = W.reveal, Tt(W.reveal), (mt = H.current) == null || mt.call(H)), yt.current >= bt) {
|
|
27650
27651
|
St.current = 0, _t.current = 0;
|
|
27651
27652
|
return;
|
|
@@ -27653,7 +27654,7 @@ function XA(v, U, Q) {
|
|
|
27653
27654
|
St.current = requestAnimationFrame(gt);
|
|
27654
27655
|
};
|
|
27655
27656
|
_t.current = 0, St.current = requestAnimationFrame(gt);
|
|
27656
|
-
}, []), et =
|
|
27657
|
+
}, []), et = Bt(v.status);
|
|
27657
27658
|
me(() => {
|
|
27658
27659
|
const gt = et.current;
|
|
27659
27660
|
et.current = v.status, v.status === "rethinking" && gt !== "rethinking" && (ht.current = 0, ot(0), At.current > 0 && nt());
|
|
@@ -27674,13 +27675,13 @@ function XA(v, U, Q) {
|
|
|
27674
27675
|
[]
|
|
27675
27676
|
);
|
|
27676
27677
|
const tt = Vm(
|
|
27677
|
-
() =>
|
|
27678
|
+
() => TA(b, V),
|
|
27678
27679
|
[b, V]
|
|
27679
27680
|
), Rt = Vm(
|
|
27680
|
-
() => it ?
|
|
27681
|
+
() => it ? EA(b, V) : -1,
|
|
27681
27682
|
[it, b, V]
|
|
27682
|
-
), Dt = !it || V >= F, jt =
|
|
27683
|
-
(gt) =>
|
|
27683
|
+
), Dt = !it || V >= F, jt = Be(
|
|
27684
|
+
(gt) => AA(b, gt, V),
|
|
27684
27685
|
[b, V]
|
|
27685
27686
|
);
|
|
27686
27687
|
return {
|
|
@@ -27691,8 +27692,8 @@ function XA(v, U, Q) {
|
|
|
27691
27692
|
isSegRevealed: jt
|
|
27692
27693
|
};
|
|
27693
27694
|
}
|
|
27694
|
-
function
|
|
27695
|
-
const [b, F] =
|
|
27695
|
+
function QA(v, U, Q = MA) {
|
|
27696
|
+
const [b, F] = wt(!1);
|
|
27696
27697
|
return me(() => {
|
|
27697
27698
|
if (F(!1), !v) return;
|
|
27698
27699
|
const it = setTimeout(() => F(!0), Q);
|
|
@@ -27709,8 +27710,8 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
27709
27710
|
)
|
|
27710
27711
|
}
|
|
27711
27712
|
}
|
|
27712
|
-
),
|
|
27713
|
-
const [b, F] =
|
|
27713
|
+
), ZA = ({ content: v, isStreaming: U, messageDone: Q }) => {
|
|
27714
|
+
const [b, F] = wt(() => !!U || !!Q), it = Bt(0);
|
|
27714
27715
|
me(
|
|
27715
27716
|
() => () => {
|
|
27716
27717
|
it.current && (clearTimeout(it.current), it.current = 0);
|
|
@@ -27723,7 +27724,7 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
27723
27724
|
}, [U, Q]), me(() => {
|
|
27724
27725
|
Q && (it.current && (clearTimeout(it.current), it.current = 0), F(!0));
|
|
27725
27726
|
}, [Q]);
|
|
27726
|
-
const Ot =
|
|
27727
|
+
const Ot = Bt(null), V = Bt(!1), Tt = () => {
|
|
27727
27728
|
const yt = Ot.current;
|
|
27728
27729
|
if (!yt) return;
|
|
27729
27730
|
const xt = 12;
|
|
@@ -27797,7 +27798,7 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
27797
27798
|
]
|
|
27798
27799
|
}
|
|
27799
27800
|
) : null;
|
|
27800
|
-
},
|
|
27801
|
+
}, JA = (v) => v == null || v <= 0 ? "" : v < 1 ? `${Math.round(v * 1e3)}ms` : v < 60 ? `${v.toFixed(1)}s` : `${Math.floor(v / 60)}m${Math.round(v % 60)}s`, aT = ({ isDone: v, count: U, duration: Q }) => /* @__PURE__ */ A.jsxs("div", { className: `agent-thought ${v ? "agent-thought--done" : ""}`, children: [
|
|
27801
27802
|
v ? (
|
|
27802
27803
|
// 已完成:静态工具图标(放大镜),不再旋转
|
|
27803
27804
|
/* @__PURE__ */ A.jsx("span", { className: "agent-thought__icon", children: /* @__PURE__ */ A.jsxs(
|
|
@@ -27840,8 +27841,8 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
27840
27841
|
U,
|
|
27841
27842
|
" 次"
|
|
27842
27843
|
] }),
|
|
27843
|
-
v && Q != null && Q > 0 && /* @__PURE__ */ A.jsx("span", { className: "agent-thought__duration", children:
|
|
27844
|
-
] }), uT = (v) => v == null || v <= 0 ? "" : v < 1 ? `${Math.round(v * 1e3)}ms` : v < 60 ? `${v.toFixed(1)}s` : `${Math.floor(v / 60)}m${Math.round(v % 60)}s`,
|
|
27844
|
+
v && Q != null && Q > 0 && /* @__PURE__ */ A.jsx("span", { className: "agent-thought__duration", children: JA(Q) })
|
|
27845
|
+
] }), uT = (v) => v == null || v <= 0 ? "" : v < 1 ? `${Math.round(v * 1e3)}ms` : v < 60 ? `${v.toFixed(1)}s` : `${Math.floor(v / 60)}m${Math.round(v % 60)}s`, KA = ({ steps: v }) => {
|
|
27845
27846
|
if (!v.length) return null;
|
|
27846
27847
|
const U = v.length > 1, Q = v.some((F) => F.state !== "done"), b = v.reduce((F, it) => F + (it.duration ?? 0), 0);
|
|
27847
27848
|
return /* @__PURE__ */ A.jsxs("div", { className: `step-block ${Q ? "step-block--active" : ""}`, children: [
|
|
@@ -27891,7 +27892,7 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
27891
27892
|
] })
|
|
27892
27893
|
] }, it)) })
|
|
27893
27894
|
] });
|
|
27894
|
-
},
|
|
27895
|
+
}, $A = {
|
|
27895
27896
|
pre({ node: v, children: U, ...Q }) {
|
|
27896
27897
|
var Ot, V, Tt;
|
|
27897
27898
|
const b = (Ot = v == null ? void 0 : v.children) == null ? void 0 : Ot.find(
|
|
@@ -27918,7 +27919,7 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
27918
27919
|
U
|
|
27919
27920
|
] });
|
|
27920
27921
|
}
|
|
27921
|
-
},
|
|
27922
|
+
}, kA = (v) => v == null || v <= 0 ? "" : v < 1 ? `${Math.round(v * 1e3)}ms` : v < 60 ? `${v.toFixed(1)}s` : `${Math.floor(v / 60)}m${Math.round(v % 60)}s`, WA = ({
|
|
27922
27923
|
msg: v,
|
|
27923
27924
|
index: U,
|
|
27924
27925
|
scrollToBottom: Q,
|
|
@@ -27926,7 +27927,7 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
27926
27927
|
initialReveal: F,
|
|
27927
27928
|
onRevealProgress: it
|
|
27928
27929
|
}) => {
|
|
27929
|
-
const [Ot, V] =
|
|
27930
|
+
const [Ot, V] = wt(!1), [Tt, yt] = wt(""), xt = ($) => {
|
|
27930
27931
|
const st = $.target;
|
|
27931
27932
|
st.tagName === "IMG" && yt(st.src);
|
|
27932
27933
|
}, ht = ($) => {
|
|
@@ -27940,20 +27941,20 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
27940
27941
|
}
|
|
27941
27942
|
} catch {
|
|
27942
27943
|
}
|
|
27943
|
-
}, St = v.segments, _t = !!(St && St.length > 0), { reveal: At, segmentContents: Lt, frontier: H, revealDone: ot } =
|
|
27944
|
+
}, St = v.segments, _t = !!(St && St.length > 0), { reveal: At, segmentContents: Lt, frontier: H, revealDone: ot } = VA(
|
|
27944
27945
|
v,
|
|
27945
27946
|
Q,
|
|
27946
27947
|
{ initial: F, onProgress: it }
|
|
27947
|
-
), et = (v.status === ys.COMPLETED || v.status === ys.STOP) && ot, tt = Vm(() =>
|
|
27948
|
+
), et = (v.status === ys.COMPLETED || v.status === ys.STOP) && ot, tt = Vm(() => RA(St, At), [St, At]), Rt = tt.length > 0, Dt = tt.some(($) => $.kind === "thinking"), jt = tt.some(($) => $.kind === "tools"), gt = tt.some(($) => $.kind === "steps"), Vt = tt.some(
|
|
27948
27949
|
($) => $.kind === "thinking" && $.streaming || $.kind === "tools" && $.calling || $.kind === "steps" && $.items.some((st) => st.state !== "done")
|
|
27949
|
-
), dt = v.status === ys.THINKING || v.status === ys.RETHINKING || v.status === ys.ANSWERING, bt =
|
|
27950
|
+
), dt = v.status === ys.THINKING || v.status === ys.RETHINKING || v.status === ys.ANSWERING, bt = QA(
|
|
27950
27951
|
dt && !!v.streamed && ot && !Vt && v.lastChunkAt != null,
|
|
27951
27952
|
v.lastChunkAt
|
|
27952
27953
|
);
|
|
27953
27954
|
me(() => {
|
|
27954
27955
|
bt && Q();
|
|
27955
27956
|
}, [bt, Q]);
|
|
27956
|
-
const [at, W] =
|
|
27957
|
+
const [at, W] = wt(!1);
|
|
27957
27958
|
me(() => {
|
|
27958
27959
|
et && W(!1);
|
|
27959
27960
|
}, [et]);
|
|
@@ -27984,9 +27985,9 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
27984
27985
|
$.stopPropagation(), W(!at);
|
|
27985
27986
|
},
|
|
27986
27987
|
children: [
|
|
27987
|
-
Dt ? /* @__PURE__ */ A.jsx(
|
|
27988
|
+
Dt ? /* @__PURE__ */ A.jsx(yA, { className: "thought-collapse-bar__icon" }) : /* @__PURE__ */ A.jsx(pA, { className: "thought-collapse-bar__icon" }),
|
|
27988
27989
|
/* @__PURE__ */ A.jsx("span", { className: "thought-collapse-bar__text", children: mt }),
|
|
27989
|
-
S > 0 && /* @__PURE__ */ A.jsx("span", { className: "thought-collapse-bar__duration", children:
|
|
27990
|
+
S > 0 && /* @__PURE__ */ A.jsx("span", { className: "thought-collapse-bar__duration", children: kA(S) }),
|
|
27990
27991
|
/* @__PURE__ */ A.jsx("span", { className: "thought-collapse-bar__action", children: at ? "收起" : "查看" }),
|
|
27991
27992
|
/* @__PURE__ */ A.jsx(
|
|
27992
27993
|
"svg",
|
|
@@ -28007,8 +28008,8 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
28007
28008
|
}
|
|
28008
28009
|
),
|
|
28009
28010
|
rt && /* @__PURE__ */ A.jsxs(A.Fragment, { children: [
|
|
28010
|
-
tt.map(($, st) => $.kind === "steps" ? /* @__PURE__ */ A.jsx(
|
|
28011
|
-
|
|
28011
|
+
tt.map(($, st) => $.kind === "steps" ? /* @__PURE__ */ A.jsx(KA, { steps: $.items }, `steps-${st}`) : $.kind === "thinking" ? /* @__PURE__ */ A.jsx(
|
|
28012
|
+
ZA,
|
|
28012
28013
|
{
|
|
28013
28014
|
content: $.content,
|
|
28014
28015
|
isStreaming: $.streaming,
|
|
@@ -28037,11 +28038,11 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
28037
28038
|
},
|
|
28038
28039
|
st
|
|
28039
28040
|
) : /* @__PURE__ */ A.jsx(
|
|
28040
|
-
|
|
28041
|
+
dA,
|
|
28041
28042
|
{
|
|
28042
|
-
remarkPlugins: [
|
|
28043
|
-
rehypePlugins: [
|
|
28044
|
-
components:
|
|
28043
|
+
remarkPlugins: [hA],
|
|
28044
|
+
rehypePlugins: [mA],
|
|
28045
|
+
components: $A,
|
|
28045
28046
|
children: Y
|
|
28046
28047
|
},
|
|
28047
28048
|
st
|
|
@@ -28054,8 +28055,8 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
28054
28055
|
/* @__PURE__ */ A.jsx("span", { children: v.errorMessage })
|
|
28055
28056
|
] }),
|
|
28056
28057
|
et && !v.errorMessage && /* @__PURE__ */ A.jsxs("div", { className: "message-toolbar", children: [
|
|
28057
|
-
/* @__PURE__ */ A.jsx("div", { className: "tooltip-enhanced", "data-tooltip": Ot ? "已复制" : "复制回答", children: Ot ? /* @__PURE__ */ A.jsx(
|
|
28058
|
-
/* @__PURE__ */ A.jsx("div", { className: "tooltip-enhanced", "data-tooltip": "重新回答", children: /* @__PURE__ */ A.jsx(
|
|
28058
|
+
/* @__PURE__ */ A.jsx("div", { className: "tooltip-enhanced", "data-tooltip": Ot ? "已复制" : "复制回答", children: Ot ? /* @__PURE__ */ A.jsx(gA, { className: "message-toolbar__check" }) : /* @__PURE__ */ A.jsx(vA, { onClick: () => ht(v) }) }),
|
|
28059
|
+
/* @__PURE__ */ A.jsx("div", { className: "tooltip-enhanced", "data-tooltip": "重新回答", children: /* @__PURE__ */ A.jsx(SA, { onClick: b }) })
|
|
28059
28060
|
] })
|
|
28060
28061
|
] }) : /* @__PURE__ */ A.jsx("div", { className: "message-content", children: v.content }),
|
|
28061
28062
|
Tt && JE(
|
|
@@ -28080,7 +28081,7 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
28080
28081
|
onClick: ($) => {
|
|
28081
28082
|
$.stopPropagation(), yt("");
|
|
28082
28083
|
},
|
|
28083
|
-
children: /* @__PURE__ */ A.jsx(
|
|
28084
|
+
children: /* @__PURE__ */ A.jsx(bA, {})
|
|
28084
28085
|
}
|
|
28085
28086
|
)
|
|
28086
28087
|
]
|
|
@@ -28089,7 +28090,7 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
28089
28090
|
document.getElementById("ai-assist-root") || document.body
|
|
28090
28091
|
)
|
|
28091
28092
|
] });
|
|
28092
|
-
},
|
|
28093
|
+
}, FA = 400, IA = 10, PA = ({
|
|
28093
28094
|
value: v,
|
|
28094
28095
|
onChange: U,
|
|
28095
28096
|
onSend: Q,
|
|
@@ -28099,7 +28100,7 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
28099
28100
|
isAtBottom: Ot,
|
|
28100
28101
|
onScrollToBottom: V
|
|
28101
28102
|
}) => {
|
|
28102
|
-
const [Tt, yt] =
|
|
28103
|
+
const [Tt, yt] = wt(!1), [xt, ht] = wt(""), [St, _t] = wt(""), [At, Lt] = wt("idle"), [H, ot] = wt(""), nt = Bt(null), et = Bt(""), tt = Bt(""), Rt = Bt(null), Dt = Bt(null), [jt, gt] = wt(!1), [Vt, dt] = wt(!1), [bt, at] = wt(!1), W = Bt(null), mt = Bt(null), rt = Bt(!1), S = Bt(!1), _ = Bt([]), Z = Bt(!1);
|
|
28103
28104
|
me(() => {
|
|
28104
28105
|
et.current = xt;
|
|
28105
28106
|
}, [xt]), me(() => {
|
|
@@ -28115,7 +28116,7 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
28115
28116
|
}
|
|
28116
28117
|
At === "idle" && Tt && (ot((et.current + tt.current).trim()), (Yt = Dt.current) == null || Yt.focus());
|
|
28117
28118
|
}, [At, Tt]), me(() => {
|
|
28118
|
-
const Nt = new
|
|
28119
|
+
const Nt = new B0({}, {
|
|
28119
28120
|
onStatusChange: Lt,
|
|
28120
28121
|
onInterim: (Yt) => {
|
|
28121
28122
|
_t(Yt), tt.current = Yt;
|
|
@@ -28134,7 +28135,7 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
28134
28135
|
Nt.destroy(), nt.current = null;
|
|
28135
28136
|
};
|
|
28136
28137
|
}, []);
|
|
28137
|
-
const $ =
|
|
28138
|
+
const $ = B0.isSupported() && !v.trim() && !F, st = bt ? "正在请求麦克风权限…" : Vt && $ ? "发消息(按住可语音输入)" : "发消息", Y = () => {
|
|
28138
28139
|
_.current.forEach(([Nt, Yt]) => window.removeEventListener(Nt, Yt)), _.current = [];
|
|
28139
28140
|
}, ft = () => {
|
|
28140
28141
|
W.current !== null && (clearTimeout(W.current), W.current = null), mt.current = null, Y();
|
|
@@ -28156,14 +28157,14 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
28156
28157
|
return;
|
|
28157
28158
|
}
|
|
28158
28159
|
const Ln = te.clientX - mt.current.x, Vl = te.clientY - mt.current.y;
|
|
28159
|
-
Math.hypot(Ln, Vl) >
|
|
28160
|
+
Math.hypot(Ln, Vl) > IA && ft();
|
|
28160
28161
|
}, ua = () => {
|
|
28161
28162
|
rt.current && ut();
|
|
28162
28163
|
};
|
|
28163
28164
|
W.current !== null && clearTimeout(W.current), W.current = setTimeout(() => {
|
|
28164
28165
|
var te, Ln, Vl, ca;
|
|
28165
28166
|
W.current = null, rt.current = !0, (te = Yt == null ? void 0 : Yt.blur) == null || te.call(Yt), (ca = (Vl = (Ln = window.getSelection) == null ? void 0 : Ln.call(window)) == null ? void 0 : Vl.removeAllRanges) == null || ca.call(Vl), Ve(!0);
|
|
28166
|
-
},
|
|
28167
|
+
}, FA);
|
|
28167
28168
|
const ia = [
|
|
28168
28169
|
["pointerup", () => ut()],
|
|
28169
28170
|
["pointercancel", () => ut()],
|
|
@@ -28174,7 +28175,7 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
28174
28175
|
}, Ve = async (Nt = !1) => {
|
|
28175
28176
|
if (!nt.current || Z.current) return;
|
|
28176
28177
|
Z.current = !0, at(!0);
|
|
28177
|
-
const { granted: Yt, prompted: Ll } = await
|
|
28178
|
+
const { granted: Yt, prompted: Ll } = await B0.ensurePermission();
|
|
28178
28179
|
if (at(!1), Z.current = !1, !Yt) {
|
|
28179
28180
|
kf("麦克风不可用,请允许浏览器使用麦克风后重试");
|
|
28180
28181
|
return;
|
|
@@ -28281,12 +28282,12 @@ const nT = ({ content: v, showCursor: U }) => /* @__PURE__ */ A.jsx(
|
|
|
28281
28282
|
it && !Ot && /* @__PURE__ */ A.jsx("div", { className: "moveTB", children: /* @__PURE__ */ A.jsx(Yu, { onClick: V, icon: "ep:bottom" }) })
|
|
28282
28283
|
] });
|
|
28283
28284
|
};
|
|
28284
|
-
function
|
|
28285
|
-
const [U, Q] =
|
|
28285
|
+
function t3(v) {
|
|
28286
|
+
const [U, Q] = wt(!0), [b, F] = wt(!1), it = Be(() => {
|
|
28286
28287
|
requestAnimationFrame(() => {
|
|
28287
28288
|
v.current && (v.current.scrollTop = v.current.scrollHeight);
|
|
28288
28289
|
});
|
|
28289
|
-
}, [v]), Ot =
|
|
28290
|
+
}, [v]), Ot = Be((Tt) => {
|
|
28290
28291
|
const yt = Tt.closest(".chat-wrap") || Tt, xt = Tt.scrollHeight, ht = Tt.clientHeight;
|
|
28291
28292
|
if (xt <= ht) {
|
|
28292
28293
|
yt.style.setProperty("--ai-thumb-height", "0px"), yt.style.setProperty("--ai-thumb-top", "0px");
|
|
@@ -28294,14 +28295,14 @@ function IA(v) {
|
|
|
28294
28295
|
}
|
|
28295
28296
|
const St = Math.max(ht * ht / xt, 32), _t = ht - St, At = Tt.scrollTop / (xt - ht);
|
|
28296
28297
|
yt.style.setProperty("--ai-thumb-height", `${St}px`), yt.style.setProperty("--ai-thumb-top", `${At * _t}px`);
|
|
28297
|
-
}, []), V =
|
|
28298
|
+
}, []), V = Be(() => {
|
|
28298
28299
|
if (!v.current) return;
|
|
28299
28300
|
const Tt = v.current, yt = Tt.scrollTop + Tt.clientHeight >= Tt.scrollHeight - 1, xt = Tt.scrollHeight > Tt.clientHeight;
|
|
28300
28301
|
Q(yt), F(xt), Ot(Tt);
|
|
28301
28302
|
}, [v, Ot]);
|
|
28302
28303
|
return { isAtBottom: U, hasScroll: b, scrollToBottom: it, checkScrollStatus: V };
|
|
28303
28304
|
}
|
|
28304
|
-
function
|
|
28305
|
+
function e3({ target: v, STATUS: U, cfg: Q }) {
|
|
28305
28306
|
let b = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map(), it = /* @__PURE__ */ new Map(), Ot = /* @__PURE__ */ new Map(), V = !1, Tt = /* @__PURE__ */ new Map(), yt = /* @__PURE__ */ new Map();
|
|
28306
28307
|
function xt(At) {
|
|
28307
28308
|
const Lt = b.get(At) || [];
|
|
@@ -28344,7 +28345,7 @@ function PA({ target: v, STATUS: U, cfg: Q }) {
|
|
|
28344
28345
|
b = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map(), it = /* @__PURE__ */ new Map(), Ot = /* @__PURE__ */ new Map(), Tt = /* @__PURE__ */ new Map(), yt = /* @__PURE__ */ new Map(), V = !1, v.stopped = !1, b.set(H, []), Tt.set(H, /* @__PURE__ */ new Map()), yt.set(H, /* @__PURE__ */ new Map()), v.setGenerating(!0);
|
|
28345
28346
|
try {
|
|
28346
28347
|
const et = Q.baseUrl.replace(/\/+$/, "") + "/" + At.replace(/^\/+/, "");
|
|
28347
|
-
await
|
|
28348
|
+
await OA(et, {
|
|
28348
28349
|
method: "POST",
|
|
28349
28350
|
headers: {
|
|
28350
28351
|
"Content-Type": "application/json",
|
|
@@ -28623,10 +28624,10 @@ function PA({ target: v, STATUS: U, cfg: Q }) {
|
|
|
28623
28624
|
}
|
|
28624
28625
|
return { doStreamRequest: _t };
|
|
28625
28626
|
}
|
|
28626
|
-
function
|
|
28627
|
+
function l3(v) {
|
|
28627
28628
|
return v.queryAgainStreamApi || v.queryAgainApi || v.chatQueryStreamApi || v.chatQueryApi;
|
|
28628
28629
|
}
|
|
28629
|
-
function
|
|
28630
|
+
function n3({
|
|
28630
28631
|
target: v,
|
|
28631
28632
|
STATUS: U,
|
|
28632
28633
|
cfg: Q,
|
|
@@ -28734,7 +28735,7 @@ AI回答:${Dt}`, Vt = await Z2().post(V.chatQueryApi, {
|
|
|
28734
28735
|
const tt = [...et];
|
|
28735
28736
|
return tt.length > 0 && tt[tt.length - 1].type === "ai" && tt.pop(), tt.push({ type: "ai", content: "", status: U.RETHINKING, streamed: !0 }), tt;
|
|
28736
28737
|
}), F();
|
|
28737
|
-
const ot = v.messages.length - 1, nt =
|
|
28738
|
+
const ot = v.messages.length - 1, nt = l3(V);
|
|
28738
28739
|
await it(
|
|
28739
28740
|
nt,
|
|
28740
28741
|
{
|
|
@@ -28810,45 +28811,45 @@ AI回答:${Dt}`, Vt = await Z2().post(V.chatQueryApi, {
|
|
|
28810
28811
|
const iT = [], a1 = class a1 {
|
|
28811
28812
|
constructor(U, Q = "") {
|
|
28812
28813
|
/** 内部唯一标识(历史会话即 conversationId,草稿为 draft-n) */
|
|
28813
|
-
|
|
28814
|
+
we(this, "uid");
|
|
28814
28815
|
/** 后端会话 ID(首条消息发送前懒创建,创建前为空) */
|
|
28815
|
-
|
|
28816
|
-
|
|
28817
|
-
|
|
28816
|
+
we(this, "conversationId", "");
|
|
28817
|
+
we(this, "messages", []);
|
|
28818
|
+
we(this, "isGenerating", !1);
|
|
28818
28819
|
/** 最近一条用户消息的 messageId(停止 / 重新生成用) */
|
|
28819
|
-
|
|
28820
|
+
we(this, "lastUserMessage", "");
|
|
28820
28821
|
/** 会话标题(标题生成完成后写入) */
|
|
28821
|
-
|
|
28822
|
+
we(this, "title", "");
|
|
28822
28823
|
/** 最后活动时间(毫秒),用于历史列表排序 */
|
|
28823
|
-
|
|
28824
|
+
we(this, "updatedAt", Date.now());
|
|
28824
28825
|
/** 是否已手动停止当前生成 */
|
|
28825
|
-
|
|
28826
|
+
we(this, "stopped", !1);
|
|
28826
28827
|
/** 逐字揭示进度:消息下标 → 已揭示字符数(切回会话时恢复,避免重放整段动画) */
|
|
28827
|
-
|
|
28828
|
-
|
|
28829
|
-
|
|
28830
|
-
|
|
28831
|
-
|
|
28832
|
-
|
|
28828
|
+
we(this, "reveal", /* @__PURE__ */ new Map());
|
|
28829
|
+
we(this, "sendMessage");
|
|
28830
|
+
we(this, "regenerateResponse");
|
|
28831
|
+
we(this, "toggleStop");
|
|
28832
|
+
we(this, "loadHistory");
|
|
28833
|
+
we(this, "resetConversation");
|
|
28833
28834
|
/** RAF 批量更新队列(把同一帧内的多次流式更新合并为一次渲染) */
|
|
28834
|
-
|
|
28835
|
-
|
|
28836
|
-
|
|
28835
|
+
we(this, "pending", []);
|
|
28836
|
+
we(this, "rafId", 0);
|
|
28837
|
+
we(this, "setMessages", (U) => {
|
|
28837
28838
|
this.messages = U(this.messages), this.touch();
|
|
28838
28839
|
});
|
|
28839
|
-
|
|
28840
|
+
we(this, "batch", (U) => {
|
|
28840
28841
|
this.pending.push(U), this.rafId || (this.rafId = requestAnimationFrame(() => {
|
|
28841
28842
|
this.rafId = 0, this.applyPending();
|
|
28842
28843
|
}));
|
|
28843
28844
|
});
|
|
28844
|
-
|
|
28845
|
+
we(this, "flush", () => {
|
|
28845
28846
|
this.rafId && (cancelAnimationFrame(this.rafId), this.rafId = 0), this.applyPending();
|
|
28846
28847
|
});
|
|
28847
|
-
|
|
28848
|
+
we(this, "setGenerating", (U) => {
|
|
28848
28849
|
this.isGenerating !== U && (this.isGenerating = U, this.updatedAt = Date.now(), this.touch());
|
|
28849
28850
|
});
|
|
28850
28851
|
/** 状态变化:刷新活跃时间并通知订阅者 */
|
|
28851
|
-
|
|
28852
|
+
we(this, "touch", () => {
|
|
28852
28853
|
this.store.notify();
|
|
28853
28854
|
});
|
|
28854
28855
|
this.store = U, this.conversationId = Q, this.uid = Q || `draft-${++a1.seq}`;
|
|
@@ -28862,21 +28863,21 @@ const iT = [], a1 = class a1 {
|
|
|
28862
28863
|
this.messages = Q, this.touch();
|
|
28863
28864
|
}
|
|
28864
28865
|
};
|
|
28865
|
-
|
|
28866
|
+
we(a1, "seq", 0);
|
|
28866
28867
|
let HS = a1;
|
|
28867
|
-
class
|
|
28868
|
+
class a3 {
|
|
28868
28869
|
constructor(U) {
|
|
28869
|
-
|
|
28870
|
-
|
|
28871
|
-
|
|
28872
|
-
|
|
28873
|
-
|
|
28874
|
-
|
|
28870
|
+
we(this, "sessions", []);
|
|
28871
|
+
we(this, "activeUid", "");
|
|
28872
|
+
we(this, "listeners", /* @__PURE__ */ new Set());
|
|
28873
|
+
we(this, "snapshot");
|
|
28874
|
+
we(this, "metaKey", "");
|
|
28875
|
+
we(this, "subscribe", (U) => (this.listeners.add(U), () => {
|
|
28875
28876
|
this.listeners.delete(U);
|
|
28876
28877
|
}));
|
|
28877
|
-
|
|
28878
|
+
we(this, "getSnapshot", () => this.snapshot);
|
|
28878
28879
|
/** 状态变化:重建快照 + 通知订阅者 + 会话列表变化时回调宿主 */
|
|
28879
|
-
|
|
28880
|
+
we(this, "notify", () => {
|
|
28880
28881
|
var F, it;
|
|
28881
28882
|
const U = this.activeSession, Q = this.buildMetas();
|
|
28882
28883
|
this.snapshot = {
|
|
@@ -28959,11 +28960,11 @@ class l3 {
|
|
|
28959
28960
|
}));
|
|
28960
28961
|
}
|
|
28961
28962
|
createSession(U = "") {
|
|
28962
|
-
const Q = new HS(this, U), { doStreamRequest: b } =
|
|
28963
|
+
const Q = new HS(this, U), { doStreamRequest: b } = e3({
|
|
28963
28964
|
target: Q,
|
|
28964
28965
|
STATUS: this.opts.STATUS,
|
|
28965
28966
|
cfg: this.opts.cfg
|
|
28966
|
-
}), F =
|
|
28967
|
+
}), F = n3({
|
|
28967
28968
|
target: Q,
|
|
28968
28969
|
STATUS: this.opts.STATUS,
|
|
28969
28970
|
cfg: this.opts.cfg,
|
|
@@ -28983,17 +28984,17 @@ class l3 {
|
|
|
28983
28984
|
}
|
|
28984
28985
|
const vT = rT(
|
|
28985
28986
|
({ defaultSayhello: v, defaultRecommend: U, onTitleGenerated: Q, onSessionsChange: b }, F) => {
|
|
28986
|
-
const it =
|
|
28987
|
+
const it = w0(), [Ot, V] = wt(""), Tt = Bt(""), yt = Be((lt) => {
|
|
28987
28988
|
Tt.current = lt, V(lt);
|
|
28988
|
-
}, []), [xt, ht] =
|
|
28989
|
+
}, []), [xt, ht] = wt({ text1: "", text2: "" }), [St, _t] = wt([]), [At, Lt] = wt(0), H = Bt(null), { isAtBottom: ot, hasScroll: nt, scrollToBottom: et, checkScrollStatus: tt } = t3(H), Rt = Bt(Q);
|
|
28989
28990
|
Rt.current = Q;
|
|
28990
|
-
const Dt =
|
|
28991
|
+
const Dt = Bt(b);
|
|
28991
28992
|
Dt.current = b;
|
|
28992
|
-
const jt =
|
|
28993
|
+
const jt = Bt(et);
|
|
28993
28994
|
jt.current = et;
|
|
28994
|
-
const gt =
|
|
28995
|
+
const gt = Bt(null);
|
|
28995
28996
|
if (!gt.current) {
|
|
28996
|
-
const lt = new
|
|
28997
|
+
const lt = new a3({
|
|
28997
28998
|
cfg: it,
|
|
28998
28999
|
STATUS: ys,
|
|
28999
29000
|
input: { get: () => Tt.current, set: yt },
|
|
@@ -29029,7 +29030,7 @@ const vT = rT(
|
|
|
29029
29030
|
}, [tt]), me(() => {
|
|
29030
29031
|
tt();
|
|
29031
29032
|
}, [bt.messages, bt.activeUid, tt]);
|
|
29032
|
-
const at =
|
|
29033
|
+
const at = Bt(null), W = Bt(null), mt = (lt) => {
|
|
29033
29034
|
var Zt;
|
|
29034
29035
|
const ut = (Zt = H.current) == null ? void 0 : Zt.closest(".chat-wrap");
|
|
29035
29036
|
return parseFloat((ut == null ? void 0 : ut.style.getPropertyValue(lt)) ?? "") || 0;
|
|
@@ -29077,7 +29078,7 @@ const vT = rT(
|
|
|
29077
29078
|
bt.messages.map((lt, ut) => {
|
|
29078
29079
|
var Zt;
|
|
29079
29080
|
return /* @__PURE__ */ A.jsx(
|
|
29080
|
-
|
|
29081
|
+
WA,
|
|
29081
29082
|
{
|
|
29082
29083
|
msg: lt,
|
|
29083
29084
|
index: ut,
|
|
@@ -29103,7 +29104,7 @@ const vT = rT(
|
|
|
29103
29104
|
) })
|
|
29104
29105
|
] }),
|
|
29105
29106
|
/* @__PURE__ */ A.jsx(
|
|
29106
|
-
|
|
29107
|
+
PA,
|
|
29107
29108
|
{
|
|
29108
29109
|
value: Ot,
|
|
29109
29110
|
onChange: yt,
|
|
@@ -29120,12 +29121,12 @@ const vT = rT(
|
|
|
29120
29121
|
}
|
|
29121
29122
|
);
|
|
29122
29123
|
vT.displayName = "Answer";
|
|
29123
|
-
const
|
|
29124
|
+
const u3 = ({
|
|
29124
29125
|
onHistoryDetail: v,
|
|
29125
29126
|
onNewConversation: U,
|
|
29126
29127
|
localSessions: Q
|
|
29127
29128
|
}) => {
|
|
29128
|
-
const F =
|
|
29129
|
+
const F = w0().apis, [it, Ot] = wt([]), [V, Tt] = wt(!0), [yt, xt] = wt(!1), [ht, St] = wt(""), _t = Vm(() => {
|
|
29129
29130
|
const nt = it.map((et) => ({ ...et }));
|
|
29130
29131
|
for (const et of Q ?? []) {
|
|
29131
29132
|
if (!et.conversationId) continue;
|
|
@@ -29212,11 +29213,11 @@ const n3 = ({
|
|
|
29212
29213
|
))
|
|
29213
29214
|
] }, nt.label)) : /* @__PURE__ */ A.jsx("div", { className: "ai-history-empty", children: "暂无历史记录" }) }),
|
|
29214
29215
|
/* @__PURE__ */ A.jsxs("div", { className: "ai-add", onClick: U, children: [
|
|
29215
|
-
/* @__PURE__ */ A.jsx("img", { src:
|
|
29216
|
+
/* @__PURE__ */ A.jsx("img", { src: CA }),
|
|
29216
29217
|
/* @__PURE__ */ A.jsx("span", { children: "新建AI对话" })
|
|
29217
29218
|
] }),
|
|
29218
29219
|
/* @__PURE__ */ A.jsx(
|
|
29219
|
-
|
|
29220
|
+
HA,
|
|
29220
29221
|
{
|
|
29221
29222
|
open: yt,
|
|
29222
29223
|
onCancel: () => xt(!1),
|
|
@@ -29231,9 +29232,9 @@ const n3 = ({
|
|
|
29231
29232
|
}
|
|
29232
29233
|
)
|
|
29233
29234
|
] });
|
|
29234
|
-
},
|
|
29235
|
+
}, i3 = () => {
|
|
29235
29236
|
var b;
|
|
29236
|
-
const v =
|
|
29237
|
+
const v = w0(), [U, Q] = wt(null);
|
|
29237
29238
|
return me(() => {
|
|
29238
29239
|
(async () => {
|
|
29239
29240
|
try {
|
|
@@ -29280,7 +29281,7 @@ const n3 = ({
|
|
|
29280
29281
|
] })
|
|
29281
29282
|
] })
|
|
29282
29283
|
] });
|
|
29283
|
-
},
|
|
29284
|
+
}, c3 = 78, H0 = 78, Hd = c3 / 2, qu = 8, N0 = 26, Lm = 490, cT = "aiPanelPosition", oT = "aiPanelDocked", sT = "aiDockWidth", o3 = 60, s3 = 150, fT = 400, f3 = 320, r3 = (v) => ({
|
|
29284
29285
|
left: `${v.x}px`,
|
|
29285
29286
|
top: `${v.y}px`,
|
|
29286
29287
|
width: `${v.w}px`,
|
|
@@ -29288,19 +29289,19 @@ const n3 = ({
|
|
|
29288
29289
|
borderRadius: v.radius
|
|
29289
29290
|
}), ST = () => {
|
|
29290
29291
|
var fo, ro;
|
|
29291
|
-
const v =
|
|
29292
|
+
const v = w0(), [U, Q] = wt(!1), [b, F] = wt("idle"), [it, Ot] = wt(!1), [V, Tt] = wt({ x: 0, y: 0, w: 78, h: 78, radius: "14px" }), [yt, xt] = wt(!1), [ht, St] = wt(() => window.innerWidth < 768), [_t, At] = wt(() => window.innerWidth < 768), [Lt, H] = wt("answer"), [ot, nt] = wt(!1), [et, tt] = wt(""), [Rt, Dt] = wt(""), [jt, gt] = wt(""), [Vt, dt] = wt(!1), [bt, at] = wt(!1), [W, mt] = wt([]), [rt, S] = wt({
|
|
29292
29293
|
x: window.innerWidth - Hd,
|
|
29293
29294
|
y: window.innerHeight / 2 - H0 / 2
|
|
29294
|
-
}), [_, Z] =
|
|
29295
|
-
const
|
|
29296
|
-
rt.x + Hd <
|
|
29297
|
-
}, [rt.x]), sc =
|
|
29298
|
-
const
|
|
29299
|
-
return { x: rt.x + Hd >=
|
|
29300
|
-
}, [rt]), An =
|
|
29295
|
+
}), [_, Z] = wt(!1), [$, st] = wt(!1), [Y, ft] = wt("right"), [lt, ut] = wt("left"), [Zt, Ve] = wt({ x: 0, y: 0 }), [le, gl] = wt(!1), [Dl, na] = wt(!1), [pt, aa] = wt(!1), [nu, _l] = wt(!1), [Nt, Yt] = wt(!1), [Ll, ua] = wt(((fo = v.dock) == null ? void 0 : fo.width) || Lm), ia = Bt(null), te = Bt({ x: 0, y: 0 }), Ln = Bt({ x: 0, y: 0 }), Vl = Bt({ x: 0, y: 0 }), ca = Bt(!1), rl = Bt(!1), ps = Bt(!1), _i = Bt(!1), Ul = Bt(!1), oa = Bt(!1), gs = Bt(!1), oc = Bt(!1), Wf = Bt({ x: 0, width: 0 }), sa = Bt(Ll), fa = Bt(!1), zl = Bt(0), [Vn, Ql] = wt("idle"), [Nd, Ff] = wt(!1), [vs, Ba] = wt("none"), [ra, au] = wt({ x: 0, y: 0, w: Lm, h: 0, radius: "14px" }), xl = Bt(null), Ee = !!((ro = v.dock) != null && ro.containerId) && !ht, Qn = v.panelDraggable !== !1, Gu = Bt({ x: 0, y: 0 }), Zn = Bt(!1), Ui = Bt(null), wa = Bt(null), uu = Be(() => {
|
|
29296
|
+
const B = window.innerWidth / 2;
|
|
29297
|
+
rt.x + Hd < B ? (ft("left"), ut("right")) : (ft("right"), ut("left"));
|
|
29298
|
+
}, [rt.x]), sc = Be(() => {
|
|
29299
|
+
const B = window.innerWidth, ct = Math.max(0, Math.min(rt.y, window.innerHeight - H0));
|
|
29300
|
+
return { x: rt.x + Hd >= B / 2 ? B - Hd : -Hd, y: ct };
|
|
29301
|
+
}, [rt]), An = Be(() => {
|
|
29301
29302
|
st(!0);
|
|
29302
|
-
const
|
|
29303
|
-
S(
|
|
29303
|
+
const B = sc();
|
|
29304
|
+
S(B), setTimeout(() => {
|
|
29304
29305
|
st(!1), uu(), Dn();
|
|
29305
29306
|
}, 400);
|
|
29306
29307
|
}, [sc, uu]), Dn = () => {
|
|
@@ -29308,10 +29309,10 @@ const n3 = ({
|
|
|
29308
29309
|
localStorage.setItem("characterPosition", JSON.stringify(rt)), localStorage.setItem("panelPosition", Y), localStorage.setItem("backPosition", lt);
|
|
29309
29310
|
} catch {
|
|
29310
29311
|
}
|
|
29311
|
-
}, lo =
|
|
29312
|
-
const
|
|
29313
|
-
if (
|
|
29314
|
-
const ne = JSON.parse(
|
|
29312
|
+
}, lo = Be(() => {
|
|
29313
|
+
const B = localStorage.getItem("characterPosition");
|
|
29314
|
+
if (B) {
|
|
29315
|
+
const ne = JSON.parse(B);
|
|
29315
29316
|
S({
|
|
29316
29317
|
x: ne.x,
|
|
29317
29318
|
y: Math.min(Math.max(ne.y, 0), window.innerHeight - H0)
|
|
@@ -29323,27 +29324,27 @@ const n3 = ({
|
|
|
29323
29324
|
});
|
|
29324
29325
|
const ct = localStorage.getItem("panelPosition"), zt = localStorage.getItem("backPosition");
|
|
29325
29326
|
ct && ft(ct), zt && ut(zt);
|
|
29326
|
-
}, []), no =
|
|
29327
|
+
}, []), no = Be((B) => {
|
|
29327
29328
|
if (!_) return;
|
|
29328
|
-
const ct = "touches" in
|
|
29329
|
+
const ct = "touches" in B ? B.touches[0].clientX : B.clientX, zt = "touches" in B ? B.touches[0].clientY : B.clientY, ne = ct - Gu.current.x, Qe = Math.max(0, Math.min(zt - Gu.current.y, window.innerHeight - H0)), De = Math.abs(ne - rt.x), We = Math.abs(Qe - rt.y);
|
|
29329
29330
|
De + We > 5 && (Zn.current = !0), S({ x: ne, y: Qe });
|
|
29330
|
-
}, [_, rt]), fc =
|
|
29331
|
+
}, [_, rt]), fc = Be(() => {
|
|
29331
29332
|
_ && (Z(!1), Zn.current && (An(), Zn.current = !1));
|
|
29332
|
-
}, [_, An]), Ss = (
|
|
29333
|
+
}, [_, An]), Ss = (B) => {
|
|
29333
29334
|
st(!1), Z(!0), Zn.current = !1;
|
|
29334
|
-
const ct = "touches" in
|
|
29335
|
+
const ct = "touches" in B ? B.touches[0].clientX : B.clientX, zt = "touches" in B ? B.touches[0].clientY : B.clientY;
|
|
29335
29336
|
Gu.current = {
|
|
29336
29337
|
x: ct - rt.x,
|
|
29337
29338
|
y: zt - rt.y
|
|
29338
29339
|
};
|
|
29339
|
-
}, Jn =
|
|
29340
|
-
const
|
|
29340
|
+
}, Jn = Be(() => {
|
|
29341
|
+
const B = ia.current, ct = (B == null ? void 0 : B.offsetWidth) || Lm, zt = (B == null ? void 0 : B.offsetHeight) || window.innerHeight - 78;
|
|
29341
29342
|
return {
|
|
29342
29343
|
maxX: Math.max(qu, window.innerWidth - ct - qu),
|
|
29343
29344
|
maxY: Math.max(N0, window.innerHeight - zt - qu)
|
|
29344
29345
|
};
|
|
29345
|
-
}, []), ye =
|
|
29346
|
-
const zt = ia.current, ne =
|
|
29346
|
+
}, []), ye = Be((B, ct) => {
|
|
29347
|
+
const zt = ia.current, ne = B ?? (zt == null ? void 0 : zt.offsetWidth) ?? Lm, Qe = ct ?? (zt == null ? void 0 : zt.offsetHeight) ?? window.innerHeight - 78, De = Math.max(qu, window.innerWidth - ne - qu), We = Math.max(N0, window.innerHeight - Qe - qu);
|
|
29347
29348
|
Ve((un) => {
|
|
29348
29349
|
const Nl = {
|
|
29349
29350
|
x: Math.min(Math.max(un.x, qu), De),
|
|
@@ -29380,9 +29381,9 @@ const n3 = ({
|
|
|
29380
29381
|
}
|
|
29381
29382
|
return iu();
|
|
29382
29383
|
}, iu = () => {
|
|
29383
|
-
const
|
|
29384
|
+
const B = Lm, ct = window.innerHeight - 78;
|
|
29384
29385
|
let zt = 54, ne;
|
|
29385
|
-
return le ? (ne = Math.min(Math.max(Zt.x, qu), Math.max(qu, window.innerWidth -
|
|
29386
|
+
return le ? (ne = Math.min(Math.max(Zt.x, qu), Math.max(qu, window.innerWidth - B - qu)), zt = Math.min(Math.max(Zt.y, N0), Math.max(qu, ct - qu))) : ne = Y === "left" ? 24 : window.innerWidth - B - 24, { x: ne, y: zt, w: B, h: ct, radius: "14px" };
|
|
29386
29387
|
}, ao = () => {
|
|
29387
29388
|
try {
|
|
29388
29389
|
localStorage.setItem(oT, Ul.current ? "1" : "0");
|
|
@@ -29394,19 +29395,19 @@ const n3 = ({
|
|
|
29394
29395
|
w: Ll,
|
|
29395
29396
|
h: window.innerHeight,
|
|
29396
29397
|
radius: "0px"
|
|
29397
|
-
}), Hi = (
|
|
29398
|
-
xl.current && clearTimeout(xl.current), Ql("switching"), Ff(!0),
|
|
29398
|
+
}), Hi = (B, ct, zt, ne = "none") => {
|
|
29399
|
+
xl.current && clearTimeout(xl.current), Ql("switching"), Ff(!0), Ba(ne), au(B), requestAnimationFrame(() => {
|
|
29399
29400
|
Ff(!1), au(ct);
|
|
29400
29401
|
}), xl.current = setTimeout(() => {
|
|
29401
|
-
Ql("idle"),
|
|
29402
|
+
Ql("idle"), Ba("none"), xl.current = null, zt == null || zt();
|
|
29402
29403
|
}, 400);
|
|
29403
|
-
}, uo =
|
|
29404
|
+
}, uo = Be(() => {
|
|
29404
29405
|
var ne, Qe, De, We, un;
|
|
29405
29406
|
if (!Ee || Ul.current) return;
|
|
29406
29407
|
At(!1);
|
|
29407
|
-
const
|
|
29408
|
-
if (
|
|
29409
|
-
console.warn(`[ai-assist-sdk] dock container "#${
|
|
29408
|
+
const B = (ne = v.dock) == null ? void 0 : ne.containerId;
|
|
29409
|
+
if (B && !document.getElementById(B)) {
|
|
29410
|
+
console.warn(`[ai-assist-sdk] dock container "#${B}" not found, dock feature disabled`);
|
|
29410
29411
|
return;
|
|
29411
29412
|
}
|
|
29412
29413
|
const ct = ia.current;
|
|
@@ -29416,28 +29417,28 @@ const n3 = ({
|
|
|
29416
29417
|
zt = { x: Nl.left, y: Nl.top, w: Nl.width, h: Nl.height, radius: getComputedStyle(ct).borderRadius };
|
|
29417
29418
|
}
|
|
29418
29419
|
Hi(zt, xi()), Ul.current = !0, aa(!0), F("idle"), oa.current = !1, _l(!1), ao(), (De = (Qe = v.dock) == null ? void 0 : Qe.onDockChange) == null || De.call(Qe, !0), (un = (We = v.dock) == null ? void 0 : We.onDockWidthChange) == null || un.call(We, sa.current);
|
|
29419
|
-
}, [Ee, il]), da =
|
|
29420
|
-
var
|
|
29421
|
-
Ul.current && (ps.current ? ye(Lm, window.innerHeight - 78) : uu(), Hi(xi(), il()), Ul.current = !1, aa(!1), ao(), (ct = (
|
|
29422
|
-
}, [ye, uu, il, xi]), io =
|
|
29423
|
-
var
|
|
29420
|
+
}, [Ee, il]), da = Be(() => {
|
|
29421
|
+
var B, ct;
|
|
29422
|
+
Ul.current && (ps.current ? ye(Lm, window.innerHeight - 78) : uu(), Hi(xi(), il()), Ul.current = !1, aa(!1), ao(), (ct = (B = v.dock) == null ? void 0 : B.onDockChange) == null || ct.call(B, !1));
|
|
29423
|
+
}, [ye, uu, il, xi]), io = Be(() => {
|
|
29424
|
+
var B;
|
|
29424
29425
|
try {
|
|
29425
29426
|
if (localStorage.getItem(oT) === "1" && Ee) {
|
|
29426
|
-
const zt = (
|
|
29427
|
+
const zt = (B = v.dock) == null ? void 0 : B.containerId;
|
|
29427
29428
|
zt && document.getElementById(zt) && (Ul.current = !0, aa(!0));
|
|
29428
29429
|
}
|
|
29429
29430
|
} catch {
|
|
29430
29431
|
}
|
|
29431
|
-
}, [Ee]), Xu =
|
|
29432
|
+
}, [Ee]), Xu = Be(() => Math.max(fT, window.innerWidth - f3), []), Kn = Be((B) => Math.min(Math.max(B, fT), Xu()), [Xu]), rc = () => {
|
|
29432
29433
|
try {
|
|
29433
29434
|
localStorage.setItem(sT, String(sa.current));
|
|
29434
29435
|
} catch {
|
|
29435
29436
|
}
|
|
29436
|
-
}, Lu =
|
|
29437
|
+
}, Lu = Be(() => {
|
|
29437
29438
|
try {
|
|
29438
|
-
const
|
|
29439
|
-
if (
|
|
29440
|
-
const ct = parseFloat(
|
|
29439
|
+
const B = localStorage.getItem(sT);
|
|
29440
|
+
if (B) {
|
|
29441
|
+
const ct = parseFloat(B);
|
|
29441
29442
|
if (Number.isFinite(ct)) {
|
|
29442
29443
|
const zt = Kn(ct);
|
|
29443
29444
|
sa.current = zt, ua(zt);
|
|
@@ -29445,45 +29446,45 @@ const n3 = ({
|
|
|
29445
29446
|
}
|
|
29446
29447
|
} catch {
|
|
29447
29448
|
}
|
|
29448
|
-
}, [Kn]), Ae = (
|
|
29449
|
+
}, [Kn]), Ae = (B) => {
|
|
29449
29450
|
if (!Ul.current) return;
|
|
29450
29451
|
gs.current = !0, Yt(!0), oc.current = !1;
|
|
29451
|
-
const ct = "touches" in
|
|
29452
|
+
const ct = "touches" in B ? B.touches[0].clientX : B.clientX;
|
|
29452
29453
|
Wf.current = { x: ct, width: sa.current };
|
|
29453
|
-
}, Vu =
|
|
29454
|
+
}, Vu = Be((B) => {
|
|
29454
29455
|
if (!gs.current) return;
|
|
29455
|
-
const ct = "touches" in
|
|
29456
|
+
const ct = "touches" in B ? B.touches[0].clientX : B.clientX, zt = Wf.current, ne = Kn(zt.width + (zt.x - ct));
|
|
29456
29457
|
Math.abs(ne - zt.width) > 3 && (oc.current = !0), sa.current = ne, ua(ne), zl.current || (zl.current = requestAnimationFrame(() => {
|
|
29457
29458
|
var Qe, De;
|
|
29458
29459
|
zl.current = 0, (De = (Qe = v.dock) == null ? void 0 : Qe.onDockWidthChange) == null || De.call(Qe, sa.current);
|
|
29459
29460
|
}));
|
|
29460
|
-
}, [Kn]), cu =
|
|
29461
|
-
var
|
|
29462
|
-
gs.current && (gs.current = !1, Yt(!1), oc.current && (oc.current = !1, rc(), (ct = (
|
|
29463
|
-
}, []), ou =
|
|
29461
|
+
}, [Kn]), cu = Be(() => {
|
|
29462
|
+
var B, ct;
|
|
29463
|
+
gs.current && (gs.current = !1, Yt(!1), oc.current && (oc.current = !1, rc(), (ct = (B = v.dock) == null ? void 0 : B.onDockWidthChange) == null || ct.call(B, sa.current)));
|
|
29464
|
+
}, []), ou = Be((B) => {
|
|
29464
29465
|
var Nl, Xa;
|
|
29465
29466
|
if (!rl.current) return;
|
|
29466
|
-
const ct = "touches" in
|
|
29467
|
+
const ct = "touches" in B ? B.touches[0].clientX : B.clientX, zt = "touches" in B ? B.touches[0].clientY : B.clientY;
|
|
29467
29468
|
if (!ca.current) {
|
|
29468
29469
|
const tr = Math.abs(ct - Vl.current.x), Ds = Math.abs(zt - Vl.current.y);
|
|
29469
29470
|
if (tr + Ds <= 5) return;
|
|
29470
29471
|
ca.current = !0;
|
|
29471
29472
|
}
|
|
29472
|
-
const { maxX: ne, maxY: Qe } = Jn(), De = Ee ? ne +
|
|
29473
|
+
const { maxX: ne, maxY: Qe } = Jn(), De = Ee ? ne + s3 : ne, We = {
|
|
29473
29474
|
x: Math.min(Math.max(ct - Ln.current.x, qu), De),
|
|
29474
29475
|
y: Math.min(Math.max(zt - Ln.current.y, N0), Qe)
|
|
29475
|
-
}, un = Ee && We.x > ne +
|
|
29476
|
+
}, un = Ee && We.x > ne + o3;
|
|
29476
29477
|
un !== fa.current && (fa.current = un, (Xa = (Nl = v.dock) == null ? void 0 : Nl.onDockChange) == null || Xa.call(Nl, un)), oa.current = un, _l(un), te.current = We, Ve(We);
|
|
29477
|
-
}, [Jn, Ee]), ha =
|
|
29478
|
+
}, [Jn, Ee]), ha = Be(() => {
|
|
29478
29479
|
var ct, zt;
|
|
29479
29480
|
if (!rl.current) return;
|
|
29480
29481
|
rl.current = !1, na(!1);
|
|
29481
|
-
let
|
|
29482
|
+
let B = !1;
|
|
29482
29483
|
if (ca.current)
|
|
29483
29484
|
if (ca.current = !1, _i.current = !0, setTimeout(() => {
|
|
29484
29485
|
_i.current = !1;
|
|
29485
29486
|
}, 0), oa.current && Ee)
|
|
29486
|
-
uo(),
|
|
29487
|
+
uo(), B = !0;
|
|
29487
29488
|
else {
|
|
29488
29489
|
ye();
|
|
29489
29490
|
try {
|
|
@@ -29491,8 +29492,8 @@ const n3 = ({
|
|
|
29491
29492
|
} catch {
|
|
29492
29493
|
}
|
|
29493
29494
|
}
|
|
29494
|
-
fa.current && !
|
|
29495
|
-
}, [Ee, uo, ye]), co = (
|
|
29495
|
+
fa.current && !B && (fa.current = !1, (zt = (ct = v.dock) == null ? void 0 : ct.onDockChange) == null || zt.call(ct, !1)), oa.current = !1, _l(!1);
|
|
29496
|
+
}, [Ee, uo, ye]), co = (B) => {
|
|
29496
29497
|
if (!Qn || _t || ht || Ul.current || b !== "idle") return;
|
|
29497
29498
|
fa.current = !1, rl.current = !0, na(!0), ca.current = !1;
|
|
29498
29499
|
let ct = Zt.x, zt = Zt.y;
|
|
@@ -29505,19 +29506,19 @@ const n3 = ({
|
|
|
29505
29506
|
ps.current = !0, gl(!0);
|
|
29506
29507
|
}
|
|
29507
29508
|
te.current = { x: ct, y: zt }, Ve(te.current);
|
|
29508
|
-
const ne = "touches" in
|
|
29509
|
+
const ne = "touches" in B ? B.touches[0].clientX : B.clientX, Qe = "touches" in B ? B.touches[0].clientY : B.clientY;
|
|
29509
29510
|
Vl.current = { x: ne, y: Qe }, Ln.current = { x: ne - ct, y: Qe - zt };
|
|
29510
|
-
}, oo =
|
|
29511
|
+
}, oo = Be(() => {
|
|
29511
29512
|
try {
|
|
29512
|
-
const
|
|
29513
|
-
if (
|
|
29514
|
-
const ct = JSON.parse(
|
|
29513
|
+
const B = localStorage.getItem(cT);
|
|
29514
|
+
if (B) {
|
|
29515
|
+
const ct = JSON.parse(B);
|
|
29515
29516
|
typeof ct.x == "number" && typeof ct.y == "number" && (te.current = { x: ct.x, y: ct.y }, Ve(te.current), ps.current = !0, gl(!0));
|
|
29516
29517
|
}
|
|
29517
29518
|
} catch {
|
|
29518
29519
|
}
|
|
29519
29520
|
}, []), dc = () => {
|
|
29520
|
-
var
|
|
29521
|
+
var B, ct;
|
|
29521
29522
|
if (!Zn.current && !$) {
|
|
29522
29523
|
if (Ul.current) {
|
|
29523
29524
|
Hi(
|
|
@@ -29525,7 +29526,7 @@ const n3 = ({
|
|
|
29525
29526
|
xi(),
|
|
29526
29527
|
void 0,
|
|
29527
29528
|
"in"
|
|
29528
|
-
), Q(!0), F("idle"), (ct = (
|
|
29529
|
+
), Q(!0), F("idle"), (ct = (B = v.dock) == null ? void 0 : B.onDockChange) == null || ct.call(B, !0);
|
|
29529
29530
|
return;
|
|
29530
29531
|
}
|
|
29531
29532
|
uu();
|
|
@@ -29550,8 +29551,8 @@ const n3 = ({
|
|
|
29550
29551
|
return;
|
|
29551
29552
|
}
|
|
29552
29553
|
if (b !== "idle") return;
|
|
29553
|
-
const
|
|
29554
|
-
Tt(
|
|
29554
|
+
const B = il();
|
|
29555
|
+
Tt(B), Ot(!0), F("collapsing"), requestAnimationFrame(() => {
|
|
29555
29556
|
Ot(!1), Tt({
|
|
29556
29557
|
x: rt.x + yc * 6,
|
|
29557
29558
|
y: rt.y,
|
|
@@ -29562,12 +29563,12 @@ const n3 = ({
|
|
|
29562
29563
|
}), setTimeout(() => {
|
|
29563
29564
|
Q(!1), F("idle"), xt(!0);
|
|
29564
29565
|
}, 400), setTimeout(() => xt(!1), 1400);
|
|
29565
|
-
}, mc = (
|
|
29566
|
+
}, mc = (B) => {
|
|
29566
29567
|
var ct;
|
|
29567
|
-
Hl(), H("answer"), (ct = Ui.current) == null || ct.goHistoryMessage(
|
|
29568
|
+
Hl(), H("answer"), (ct = Ui.current) == null || ct.goHistoryMessage(B);
|
|
29568
29569
|
}, bs = () => {
|
|
29569
|
-
var
|
|
29570
|
-
Hl(), gt(""), (
|
|
29570
|
+
var B;
|
|
29571
|
+
Hl(), gt(""), (B = Ui.current) == null || B.createNewConversation();
|
|
29571
29572
|
}, su = () => {
|
|
29572
29573
|
at(!1), dt(!0);
|
|
29573
29574
|
}, Hl = () => {
|
|
@@ -29577,8 +29578,8 @@ const n3 = ({
|
|
|
29577
29578
|
}, Ts = () => {
|
|
29578
29579
|
Dt(et), nt(!1);
|
|
29579
29580
|
}, yc = (() => {
|
|
29580
|
-
const
|
|
29581
|
-
return rt.x + Hd <
|
|
29581
|
+
const B = window.innerWidth / 2;
|
|
29582
|
+
return rt.x + Hd < B ? 5 : -5;
|
|
29582
29583
|
})(), Es = () => ({
|
|
29583
29584
|
x: Math.max(0, Math.min(window.innerWidth - 78, rt.x + yc * 6)),
|
|
29584
29585
|
y: rt.y,
|
|
@@ -29586,11 +29587,11 @@ const n3 = ({
|
|
|
29586
29587
|
h: 78,
|
|
29587
29588
|
radius: "50%"
|
|
29588
29589
|
}), As = () => {
|
|
29589
|
-
const
|
|
29590
|
+
const B = window.innerWidth * 0.8;
|
|
29590
29591
|
return {
|
|
29591
|
-
x: (window.innerWidth -
|
|
29592
|
+
x: (window.innerWidth - B) / 2,
|
|
29592
29593
|
y: 54,
|
|
29593
|
-
w,
|
|
29594
|
+
w: B,
|
|
29594
29595
|
h: window.innerHeight - 78,
|
|
29595
29596
|
radius: "14px"
|
|
29596
29597
|
};
|
|
@@ -29606,15 +29607,15 @@ const n3 = ({
|
|
|
29606
29607
|
le && !_t && !ht && !pt && (Qu["--ai-panel-x"] = `${Zt.x}px`, Qu["--ai-panel-y"] = `${Zt.y}px`), pt && (Qu["--ai-dock-width"] = `${Ll}px`), me(() => {
|
|
29607
29608
|
lo(), oo(), io(), Lu();
|
|
29608
29609
|
}, [lo, oo, io, Lu]), me(() => {
|
|
29609
|
-
const
|
|
29610
|
-
if (xS(
|
|
29610
|
+
const B = v.theme || "light";
|
|
29611
|
+
if (xS(B), B === "auto")
|
|
29611
29612
|
return iA(() => xS("auto"));
|
|
29612
29613
|
}, []), me(() => {
|
|
29613
|
-
const
|
|
29614
|
-
return () =>
|
|
29614
|
+
const B = _A(() => ia.current);
|
|
29615
|
+
return () => B();
|
|
29615
29616
|
}, []), me(() => {
|
|
29616
|
-
const
|
|
29617
|
-
|
|
29617
|
+
const B = () => {
|
|
29618
|
+
wa.current && clearTimeout(wa.current), wa.current = setTimeout(() => {
|
|
29618
29619
|
const ct = window.innerWidth < 768;
|
|
29619
29620
|
if (St(ct), ct && (At(!0), Ul.current && da()), An(), ps.current && ye(), Ul.current) {
|
|
29620
29621
|
const zt = Kn(sa.current);
|
|
@@ -29622,28 +29623,28 @@ const n3 = ({
|
|
|
29622
29623
|
}
|
|
29623
29624
|
}, 100);
|
|
29624
29625
|
};
|
|
29625
|
-
return window.addEventListener("resize",
|
|
29626
|
-
window.removeEventListener("resize",
|
|
29626
|
+
return window.addEventListener("resize", B), () => {
|
|
29627
|
+
window.removeEventListener("resize", B), wa.current && clearTimeout(wa.current);
|
|
29627
29628
|
};
|
|
29628
29629
|
}, [An, ye, Kn]), me(() => {
|
|
29629
|
-
const
|
|
29630
|
-
return document.addEventListener("mousemove",
|
|
29631
|
-
document.removeEventListener("mousemove",
|
|
29630
|
+
const B = (Qe) => no(Qe), ct = (Qe) => no(Qe), zt = () => fc(), ne = () => fc();
|
|
29631
|
+
return document.addEventListener("mousemove", B), document.addEventListener("touchmove", ct, { passive: !0 }), document.addEventListener("mouseup", zt), document.addEventListener("touchend", ne), () => {
|
|
29632
|
+
document.removeEventListener("mousemove", B), document.removeEventListener("touchmove", ct), document.removeEventListener("mouseup", zt), document.removeEventListener("touchend", ne);
|
|
29632
29633
|
};
|
|
29633
29634
|
}, [no, fc]), me(() => {
|
|
29634
|
-
const
|
|
29635
|
-
return document.addEventListener("mousemove",
|
|
29636
|
-
document.removeEventListener("mousemove",
|
|
29635
|
+
const B = (zt) => ou(zt), ct = () => ha();
|
|
29636
|
+
return document.addEventListener("mousemove", B), document.addEventListener("touchmove", B, { passive: !0 }), document.addEventListener("mouseup", ct), document.addEventListener("touchend", ct), () => {
|
|
29637
|
+
document.removeEventListener("mousemove", B), document.removeEventListener("touchmove", B), document.removeEventListener("mouseup", ct), document.removeEventListener("touchend", ct);
|
|
29637
29638
|
};
|
|
29638
29639
|
}, [ou, ha]), me(() => {
|
|
29639
29640
|
U && le && requestAnimationFrame(() => ye());
|
|
29640
29641
|
}, [U, le, ye]);
|
|
29641
|
-
const pc = Math.max(1e3, Number(v.activityInterval) || 3e4), qa =
|
|
29642
|
-
(
|
|
29642
|
+
const pc = Math.max(1e3, Number(v.activityInterval) || 3e4), qa = Bt(null), Ya = Bt(0), gc = Bt(0), vc = Bt(0), hn = Bt(!1), If = Bt(!1), fu = Be(
|
|
29643
|
+
(B) => {
|
|
29643
29644
|
if (typeof v.onPanelActive == "function")
|
|
29644
29645
|
try {
|
|
29645
|
-
if (
|
|
29646
|
-
Ya.current = Date.now(), gc.current = 0, vc.current = 0, v.onPanelActive({ phase:
|
|
29646
|
+
if (B === "open") {
|
|
29647
|
+
Ya.current = Date.now(), gc.current = 0, vc.current = 0, v.onPanelActive({ phase: B, docked: Ul.current, durationMs: 0, totalMs: 0 });
|
|
29647
29648
|
return;
|
|
29648
29649
|
}
|
|
29649
29650
|
if (document.visibilityState !== "hidden") {
|
|
@@ -29651,43 +29652,43 @@ const n3 = ({
|
|
|
29651
29652
|
gc.current += Math.max(0, zt - Ya.current), Ya.current = zt;
|
|
29652
29653
|
}
|
|
29653
29654
|
const ct = Math.round(gc.current);
|
|
29654
|
-
if (ct <= 0 &&
|
|
29655
|
-
gc.current = 0, vc.current += ct, v.onPanelActive({ phase:
|
|
29655
|
+
if (ct <= 0 && B !== "close") return;
|
|
29656
|
+
gc.current = 0, vc.current += ct, v.onPanelActive({ phase: B, docked: Ul.current, durationMs: ct, totalMs: vc.current }), B === "close" && (vc.current = 0);
|
|
29656
29657
|
} catch {
|
|
29657
29658
|
}
|
|
29658
29659
|
},
|
|
29659
29660
|
[v]
|
|
29660
|
-
), Ga =
|
|
29661
|
+
), Ga = Be(() => {
|
|
29661
29662
|
qa.current !== null && (clearInterval(qa.current), qa.current = null);
|
|
29662
|
-
}, []), Ni =
|
|
29663
|
+
}, []), Ni = Be(() => {
|
|
29663
29664
|
Ga(), qa.current = window.setInterval(() => {
|
|
29664
29665
|
!hn.current || document.visibilityState === "hidden" || fu("heartbeat");
|
|
29665
29666
|
}, pc);
|
|
29666
|
-
}, [pc, fu, Ga]), Pf =
|
|
29667
|
+
}, [pc, fu, Ga]), Pf = Be(() => {
|
|
29667
29668
|
hn.current && (document.visibilityState === "hidden" ? (Ga(), fu("hidden")) : (Ya.current = Date.now(), Ni()));
|
|
29668
|
-
}, [fu, Ni, Ga]), ji =
|
|
29669
|
+
}, [fu, Ni, Ga]), ji = Be(() => {
|
|
29669
29670
|
hn.current && (Ga(), fu("hidden"));
|
|
29670
|
-
}, [fu, Ga]), mn =
|
|
29671
|
+
}, [fu, Ga]), mn = Be(() => {
|
|
29671
29672
|
!hn.current || document.visibilityState === "hidden" || (Ya.current = Date.now(), Ni());
|
|
29672
29673
|
}, [Ni]);
|
|
29673
29674
|
me(() => {
|
|
29674
29675
|
hn.current = U;
|
|
29675
|
-
const
|
|
29676
|
-
If.current = U, U !==
|
|
29676
|
+
const B = If.current;
|
|
29677
|
+
If.current = U, U !== B && (U ? (fu("open"), document.visibilityState !== "hidden" && Ni()) : (Ga(), fu("close")));
|
|
29677
29678
|
}, [U]), me(() => (document.addEventListener("visibilitychange", Pf), window.addEventListener("pagehide", ji), window.addEventListener("pageshow", mn), () => {
|
|
29678
29679
|
Ga(), document.removeEventListener("visibilitychange", Pf), window.removeEventListener("pagehide", ji), window.removeEventListener("pageshow", mn);
|
|
29679
29680
|
}), [Pf, ji, mn, Ga]), me(() => {
|
|
29680
|
-
const
|
|
29681
|
-
return document.addEventListener("mousemove",
|
|
29682
|
-
document.removeEventListener("mousemove",
|
|
29681
|
+
const B = (zt) => Vu(zt), ct = () => cu();
|
|
29682
|
+
return document.addEventListener("mousemove", B), document.addEventListener("touchmove", B, { passive: !0 }), document.addEventListener("mouseup", ct), document.addEventListener("touchend", ct), () => {
|
|
29683
|
+
document.removeEventListener("mousemove", B), document.removeEventListener("touchmove", B), document.removeEventListener("mouseup", ct), document.removeEventListener("touchend", ct);
|
|
29683
29684
|
};
|
|
29684
29685
|
}, [Vu, cu]), me(() => () => {
|
|
29685
29686
|
xl.current && clearTimeout(xl.current), zl.current && cancelAnimationFrame(zl.current);
|
|
29686
29687
|
}, []), me(() => {
|
|
29687
|
-
const
|
|
29688
|
+
const B = (ct) => {
|
|
29688
29689
|
_i.current && (ct.preventDefault(), ct.stopPropagation(), _i.current = !1);
|
|
29689
29690
|
};
|
|
29690
|
-
return document.addEventListener("click",
|
|
29691
|
+
return document.addEventListener("click", B, !0), () => document.removeEventListener("click", B, !0);
|
|
29691
29692
|
}, []), me(() => {
|
|
29692
29693
|
_t ? ft("center") : uu();
|
|
29693
29694
|
}, [_t]);
|
|
@@ -29698,17 +29699,17 @@ const n3 = ({
|
|
|
29698
29699
|
{
|
|
29699
29700
|
ref: ia,
|
|
29700
29701
|
className: `ai-panel ${_t ? "maxWrap" : "minWrap"} ${Qm} ${pt ? "docked" : ""} ${Qn ? "" : "no-drag"} ${le && !_t && !ht && !pt && Vn === "idle" ? "panel-custom" : ""} ${Dl ? "dragging" : ""} ${nu ? "dock-preview" : ""} ${Nt ? "dock-resizing" : ""} ${Vn !== "idle" ? "dock-switching" : ""} ${Nd ? "dock-switch-instant" : ""} ${vs === "in" ? "dock-switch-fade-in" : ""} ${vs === "out" ? "dock-switch-fade-out" : ""} ${b !== "idle" ? b : ""} ${b !== "idle" ? "morphing" : ""} ${it ? "morph-instant" : ""}`,
|
|
29701
|
-
style: { ...Qu, ...zn, ...Vn !== "idle" ?
|
|
29702
|
+
style: { ...Qu, ...zn, ...Vn !== "idle" ? r3(ra) : {}, ...ma ? {} : { display: "none" } },
|
|
29702
29703
|
children: [
|
|
29703
29704
|
pt && /* @__PURE__ */ A.jsx(
|
|
29704
29705
|
"div",
|
|
29705
29706
|
{
|
|
29706
29707
|
className: "ai-dock-resizer",
|
|
29707
|
-
onMouseDown: (
|
|
29708
|
-
|
|
29708
|
+
onMouseDown: (B) => {
|
|
29709
|
+
B.stopPropagation(), Ae(B);
|
|
29709
29710
|
},
|
|
29710
|
-
onTouchStart: (
|
|
29711
|
-
|
|
29711
|
+
onTouchStart: (B) => {
|
|
29712
|
+
B.stopPropagation(), Ae(B);
|
|
29712
29713
|
}
|
|
29713
29714
|
}
|
|
29714
29715
|
),
|
|
@@ -29720,7 +29721,7 @@ const n3 = ({
|
|
|
29720
29721
|
onClick: () => H("answer"),
|
|
29721
29722
|
children: /* @__PURE__ */ A.jsx("span", { style: { fontSize: 14 }, children: "←" })
|
|
29722
29723
|
}
|
|
29723
|
-
) : /* @__PURE__ */ A.jsx("p", { children: /* @__PURE__ */ A.jsx("img", { src:
|
|
29724
|
+
) : /* @__PURE__ */ A.jsx("p", { children: /* @__PURE__ */ A.jsx("img", { src: UA, draggable: !1 }) }),
|
|
29724
29725
|
/* @__PURE__ */ A.jsx("div", { className: "header-title", children: /* @__PURE__ */ A.jsx("span", { title: Lt === "info" ? "个人信息" : jt || v.name, children: Lt === "info" ? "个人信息" : jt || v.name }) }),
|
|
29725
29726
|
/* @__PURE__ */ A.jsxs("p", { children: [
|
|
29726
29727
|
/* @__PURE__ */ A.jsx(
|
|
@@ -29747,7 +29748,7 @@ const n3 = ({
|
|
|
29747
29748
|
onSessionsChange: mt
|
|
29748
29749
|
}
|
|
29749
29750
|
) }),
|
|
29750
|
-
Lt === "info" && /* @__PURE__ */ A.jsx(
|
|
29751
|
+
Lt === "info" && /* @__PURE__ */ A.jsx(i3, {}),
|
|
29751
29752
|
Vt && /* @__PURE__ */ A.jsxs("div", { className: `ai-history-drawer ${bt ? "closing" : ""}`, children: [
|
|
29752
29753
|
/* @__PURE__ */ A.jsx("div", { className: "ai-history-backdrop", onClick: Hl }),
|
|
29753
29754
|
/* @__PURE__ */ A.jsxs("div", { className: "ai-history-drawer-panel", children: [
|
|
@@ -29756,7 +29757,7 @@ const n3 = ({
|
|
|
29756
29757
|
/* @__PURE__ */ A.jsx(Yu, { icon: "ic:round-close", className: "ai-history-drawer-close", onClick: Hl })
|
|
29757
29758
|
] }),
|
|
29758
29759
|
/* @__PURE__ */ A.jsx(
|
|
29759
|
-
|
|
29760
|
+
u3,
|
|
29760
29761
|
{
|
|
29761
29762
|
localSessions: W,
|
|
29762
29763
|
onHistoryDetail: mc,
|
|
@@ -29772,7 +29773,7 @@ const n3 = ({
|
|
|
29772
29773
|
{
|
|
29773
29774
|
value: et,
|
|
29774
29775
|
placeholder: "请输入新标题",
|
|
29775
|
-
onChange: (
|
|
29776
|
+
onChange: (B) => tt(B.target.value)
|
|
29776
29777
|
}
|
|
29777
29778
|
),
|
|
29778
29779
|
/* @__PURE__ */ A.jsxs("p", { className: "btn", children: [
|
|
@@ -29798,7 +29799,7 @@ const n3 = ({
|
|
|
29798
29799
|
onMouseDown: Ss,
|
|
29799
29800
|
onTouchStart: Ss,
|
|
29800
29801
|
onClick: dc,
|
|
29801
|
-
children: /* @__PURE__ */ A.jsx("img", { src: v.characterImage ||
|
|
29802
|
+
children: /* @__PURE__ */ A.jsx("img", { src: v.characterImage || xA })
|
|
29802
29803
|
}
|
|
29803
29804
|
)
|
|
29804
29805
|
] });
|
|
@@ -29826,12 +29827,12 @@ const n3 = ({
|
|
|
29826
29827
|
onStatusChange: _t,
|
|
29827
29828
|
onComplete: At
|
|
29828
29829
|
}, Lt) => {
|
|
29829
|
-
const [H, ot] =
|
|
29830
|
+
const [H, ot] = wt(""), [nt, et] = wt(""), [tt, Rt] = wt("idle"), Dt = B0.isSupported(), jt = Bt(null), gt = Bt({ onResult: xt, onFinal: ht, onError: St, onStatusChange: _t, onComplete: At });
|
|
29830
29831
|
me(() => {
|
|
29831
29832
|
gt.current = { onResult: xt, onFinal: ht, onError: St, onStatusChange: _t, onComplete: At };
|
|
29832
29833
|
}), me(() => {
|
|
29833
29834
|
if (!Dt) return;
|
|
29834
|
-
const _ = { lang: v, continuous: U, interimResults: Q }, Z = new
|
|
29835
|
+
const _ = { lang: v, continuous: U, interimResults: Q }, Z = new B0(_, {
|
|
29835
29836
|
onStatusChange: ($) => {
|
|
29836
29837
|
var st, Y;
|
|
29837
29838
|
Rt($), (Y = (st = gt.current).onStatusChange) == null || Y.call(st, $), $ === "idle" && ot((ft) => {
|
|
@@ -29957,22 +29958,37 @@ const n3 = ({
|
|
|
29957
29958
|
}
|
|
29958
29959
|
);
|
|
29959
29960
|
bT.displayName = "VoiceInput";
|
|
29960
|
-
const
|
|
29961
|
-
|
|
29962
|
-
},
|
|
29961
|
+
const d3 = (v) => {
|
|
29962
|
+
rA(v), fA(v);
|
|
29963
|
+
}, h3 = (v) => {
|
|
29963
29964
|
const U = v || document.body, Q = document.createElement("div");
|
|
29964
29965
|
Q.id = "ai-assist-root";
|
|
29965
|
-
const b =
|
|
29966
|
-
xS(b.theme),
|
|
29967
|
-
},
|
|
29966
|
+
const b = w0();
|
|
29967
|
+
xS(b.theme), sA(), U.appendChild(Q), YA.createRoot(Q).render(u1.createElement(ST));
|
|
29968
|
+
}, m3 = () => {
|
|
29968
29969
|
const v = document.getElementById("ai-assist-root");
|
|
29969
|
-
v && v.remove();
|
|
29970
|
-
},
|
|
29970
|
+
v && v.remove(), oA();
|
|
29971
|
+
}, M3 = { initAiAssist: d3, mountAiAssist: h3, unmountAiAssist: m3, AiAssist: ST, VoiceInput: bT };
|
|
29971
29972
|
export {
|
|
29972
29973
|
ST as AiAssist,
|
|
29973
29974
|
bT as VoiceInput,
|
|
29974
|
-
|
|
29975
|
-
|
|
29976
|
-
|
|
29977
|
-
|
|
29975
|
+
C3 as clearPageThreadId,
|
|
29976
|
+
_3 as closeAiAssist,
|
|
29977
|
+
M3 as default,
|
|
29978
|
+
U3 as getAiAssistMode,
|
|
29979
|
+
x3 as getPageContextSnapshot,
|
|
29980
|
+
H3 as getPageModule,
|
|
29981
|
+
N3 as getPageThreadId,
|
|
29982
|
+
d3 as initAiAssist,
|
|
29983
|
+
j3 as isAiAssistPageMode,
|
|
29984
|
+
B3 as isAiAssistVisible,
|
|
29985
|
+
h3 as mountAiAssist,
|
|
29986
|
+
w3 as openAiAssist,
|
|
29987
|
+
q3 as refreshAiPanelContext,
|
|
29988
|
+
Y3 as setAiAssistMode,
|
|
29989
|
+
G3 as setAiAssistVisible,
|
|
29990
|
+
X3 as setPageThreadId,
|
|
29991
|
+
L3 as subscribeAiAssistState,
|
|
29992
|
+
V3 as toggleAiAssist,
|
|
29993
|
+
m3 as unmountAiAssist
|
|
29978
29994
|
};
|