@gamelearn/arcade-components 3.8.2 → 3.8.4
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.
|
@@ -289,14 +289,14 @@ function requireReactJsxRuntime_development() {
|
|
|
289
289
|
} catch (fi) {
|
|
290
290
|
if (fi && xt && typeof fi.stack == "string") {
|
|
291
291
|
for (var Ut = fi.stack.split(`
|
|
292
|
-
`),
|
|
293
|
-
`), fr = Ut.length - 1, hr =
|
|
292
|
+
`), Ar = xt.stack.split(`
|
|
293
|
+
`), fr = Ut.length - 1, hr = Ar.length - 1; fr >= 1 && hr >= 0 && Ut[fr] !== Ar[hr]; )
|
|
294
294
|
hr--;
|
|
295
295
|
for (; fr >= 1 && hr >= 0; fr--, hr--)
|
|
296
|
-
if (Ut[fr] !==
|
|
296
|
+
if (Ut[fr] !== Ar[hr]) {
|
|
297
297
|
if (fr !== 1 || hr !== 1)
|
|
298
298
|
do
|
|
299
|
-
if (fr--, hr--, hr < 0 || Ut[fr] !==
|
|
299
|
+
if (fr--, hr--, hr < 0 || Ut[fr] !== Ar[hr]) {
|
|
300
300
|
var Tr = `
|
|
301
301
|
` + Ut[fr].replace(" at new ", " at ");
|
|
302
302
|
return ge.displayName && Tr.includes("<anonymous>") && (Tr = Tr.replace("<anonymous>", ge.displayName)), typeof ge == "function" && de.set(ge, Tr), Tr;
|
|
@@ -363,8 +363,8 @@ function requireReactJsxRuntime_development() {
|
|
|
363
363
|
var Ut = void 0;
|
|
364
364
|
try {
|
|
365
365
|
if (typeof ge[Gt] != "function") {
|
|
366
|
-
var
|
|
367
|
-
throw
|
|
366
|
+
var Ar = Error((xt || "React class") + ": " + Je + " type `" + Gt + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof ge[Gt] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
367
|
+
throw Ar.name = "Invariant Violation", Ar;
|
|
368
368
|
}
|
|
369
369
|
Ut = ge[Gt](He, Gt, xt, Je, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
370
370
|
} catch (fr) {
|
|
@@ -478,10 +478,10 @@ function requireReactJsxRuntime_development() {
|
|
|
478
478
|
value: Qt
|
|
479
479
|
}), Object.freeze && (Object.freeze(Ut.props), Object.freeze(Ut)), Ut;
|
|
480
480
|
};
|
|
481
|
-
function
|
|
481
|
+
function $e(ge, He, Je, xt, Qt) {
|
|
482
482
|
{
|
|
483
|
-
var Ht, Gt = {}, Ut = null,
|
|
484
|
-
Je !== void 0 && (kt(Je), Ut = "" + Je), ye(He) && (kt(He.key), Ut = "" + He.key), pe(He) && (
|
|
483
|
+
var Ht, Gt = {}, Ut = null, Ar = null;
|
|
484
|
+
Je !== void 0 && (kt(Je), Ut = "" + Je), ye(He) && (kt(He.key), Ut = "" + He.key), pe(He) && (Ar = He.ref, Ce(He, Qt));
|
|
485
485
|
for (Ht in He)
|
|
486
486
|
Ve.call(He, Ht) && !Ke.hasOwnProperty(Ht) && (Gt[Ht] = He[Ht]);
|
|
487
487
|
if (ge && ge.defaultProps) {
|
|
@@ -489,11 +489,11 @@ function requireReactJsxRuntime_development() {
|
|
|
489
489
|
for (Ht in fr)
|
|
490
490
|
Gt[Ht] === void 0 && (Gt[Ht] = fr[Ht]);
|
|
491
491
|
}
|
|
492
|
-
if (Ut ||
|
|
492
|
+
if (Ut || Ar) {
|
|
493
493
|
var hr = typeof ge == "function" ? ge.displayName || ge.name || "Unknown" : ge;
|
|
494
|
-
Ut && Le(Gt, hr),
|
|
494
|
+
Ut && Le(Gt, hr), Ar && We(Gt, hr);
|
|
495
495
|
}
|
|
496
|
-
return je(ge, Ut,
|
|
496
|
+
return je(ge, Ut, Ar, Qt, xt, Ft.current, Gt);
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
var jt = C.ReactCurrentOwner, Mt = C.ReactDebugCurrentFrame;
|
|
@@ -509,7 +509,7 @@ function requireReactJsxRuntime_development() {
|
|
|
509
509
|
function Yr(ge) {
|
|
510
510
|
return typeof ge == "object" && ge !== null && ge.$$typeof === e;
|
|
511
511
|
}
|
|
512
|
-
function
|
|
512
|
+
function ze() {
|
|
513
513
|
{
|
|
514
514
|
if (jt.current) {
|
|
515
515
|
var ge = H(jt.current.type);
|
|
@@ -535,7 +535,7 @@ Check your code at ` + He + ":" + Je + ".";
|
|
|
535
535
|
var ht = {};
|
|
536
536
|
function Et(ge) {
|
|
537
537
|
{
|
|
538
|
-
var He =
|
|
538
|
+
var He = ze();
|
|
539
539
|
if (!He) {
|
|
540
540
|
var Je = typeof ge == "string" ? ge : ge.displayName || ge.name;
|
|
541
541
|
Je && (He = `
|
|
@@ -602,7 +602,7 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
602
602
|
typeof He.getDefaultProps == "function" && !He.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
|
-
function
|
|
605
|
+
function Cr(ge) {
|
|
606
606
|
{
|
|
607
607
|
for (var He = Object.keys(ge.props), Je = 0; Je < He.length; Je++) {
|
|
608
608
|
var xt = He[Je];
|
|
@@ -620,12 +620,12 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
620
620
|
if (!Gt) {
|
|
621
621
|
var Ut = "";
|
|
622
622
|
(ge === void 0 || typeof ge == "object" && ge !== null && Object.keys(ge).length === 0) && (Ut += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
623
|
-
var
|
|
624
|
-
|
|
623
|
+
var Ar = Me(Qt);
|
|
624
|
+
Ar ? Ut += Ar : Ut += ze();
|
|
625
625
|
var fr;
|
|
626
626
|
ge === null ? fr = "null" : dt(ge) ? fr = "array" : ge !== void 0 && ge.$$typeof === e ? (fr = "<" + (H(ge.type) || "Unknown") + " />", Ut = " Did you accidentally export a JSX literal instead of a component?") : fr = typeof ge, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", fr, Ut);
|
|
627
627
|
}
|
|
628
|
-
var hr =
|
|
628
|
+
var hr = $e(ge, He, Je, Qt, Ht);
|
|
629
629
|
if (hr == null)
|
|
630
630
|
return hr;
|
|
631
631
|
if (Gt) {
|
|
@@ -641,7 +641,7 @@ Check the top-level render call using <` + Je + ">.");
|
|
|
641
641
|
else
|
|
642
642
|
Kt(Tr, ge);
|
|
643
643
|
}
|
|
644
|
-
return ge === t ?
|
|
644
|
+
return ge === t ? Cr(hr) : It(hr), hr;
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
647
|
function ja(ge, He, Je) {
|
|
@@ -1824,8 +1824,8 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1824
1824
|
for (let We = 0; We < pe; We++) {
|
|
1825
1825
|
let je = he[We];
|
|
1826
1826
|
je instanceof Uint8Array || (typeof je == "string" ? je = oe(je) : je = new Uint8Array(je));
|
|
1827
|
-
const
|
|
1828
|
-
Le.set(je, Ce), Ce +=
|
|
1827
|
+
const $e = je.byteLength;
|
|
1828
|
+
Le.set(je, Ce), Ce += $e;
|
|
1829
1829
|
}
|
|
1830
1830
|
return Le;
|
|
1831
1831
|
}
|
|
@@ -1883,7 +1883,7 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1883
1883
|
return [pe[0] * ye[0] + pe[1] * ye[1] + pe[2] * ye[2], pe[3] * ye[0] + pe[4] * ye[1] + pe[5] * ye[2], pe[6] * ye[0] + pe[7] * ye[1] + pe[8] * ye[2]];
|
|
1884
1884
|
}
|
|
1885
1885
|
static singularValueDecompose2dScale(pe) {
|
|
1886
|
-
const ye = [pe[0], pe[2], pe[1], pe[3]], Ce = pe[0] * ye[0] + pe[1] * ye[2], Le = pe[0] * ye[1] + pe[1] * ye[3], We = pe[2] * ye[0] + pe[3] * ye[2], je = pe[2] * ye[1] + pe[3] * ye[3],
|
|
1886
|
+
const ye = [pe[0], pe[2], pe[1], pe[3]], Ce = pe[0] * ye[0] + pe[1] * ye[2], Le = pe[0] * ye[1] + pe[1] * ye[3], We = pe[2] * ye[0] + pe[3] * ye[2], je = pe[2] * ye[1] + pe[3] * ye[3], $e = (Ce + je) / 2, jt = Math.sqrt((Ce + je) * (Ce + je) - 4 * (Ce * je - We * Le)) / 2, Mt = $e + jt || 1, ut = $e - jt || 1;
|
|
1887
1887
|
return [Math.sqrt(Mt), Math.sqrt(ut)];
|
|
1888
1888
|
}
|
|
1889
1889
|
static normalizeRect(pe) {
|
|
@@ -1891,8 +1891,8 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1891
1891
|
return pe[0] > pe[2] && (ye[0] = pe[2], ye[2] = pe[0]), pe[1] > pe[3] && (ye[1] = pe[3], ye[3] = pe[1]), ye;
|
|
1892
1892
|
}
|
|
1893
1893
|
static intersect(pe, ye) {
|
|
1894
|
-
function Ce(
|
|
1895
|
-
return
|
|
1894
|
+
function Ce($e, jt) {
|
|
1895
|
+
return $e - jt;
|
|
1896
1896
|
}
|
|
1897
1897
|
const Le = [pe[0], pe[2], ye[0], ye[2]].sort(Ce), We = [pe[1], pe[3], ye[1], ye[3]].sort(Ce), je = [];
|
|
1898
1898
|
if (pe = qe.normalizeRect(pe), ye = qe.normalizeRect(ye), Le[0] === pe[0] && Le[1] === ye[0] || Le[0] === ye[0] && Le[1] === pe[0])
|
|
@@ -1970,15 +1970,15 @@ const __viteBrowserExternal = {}, __viteBrowserExternal$1 = /* @__PURE__ */ Obje
|
|
|
1970
1970
|
const pe = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
1971
1971
|
return function(Ce, Le, We = !1) {
|
|
1972
1972
|
if (!We && URL.createObjectURL) {
|
|
1973
|
-
const
|
|
1973
|
+
const $e = new Blob([Ce], {
|
|
1974
1974
|
type: Le
|
|
1975
1975
|
});
|
|
1976
|
-
return URL.createObjectURL(
|
|
1976
|
+
return URL.createObjectURL($e);
|
|
1977
1977
|
}
|
|
1978
1978
|
let je = `data:${Le};base64,`;
|
|
1979
|
-
for (let
|
|
1980
|
-
const Mt = Ce[
|
|
1981
|
-
je += pe[Yr] + pe[
|
|
1979
|
+
for (let $e = 0, jt = Ce.length; $e < jt; $e += 3) {
|
|
1980
|
+
const Mt = Ce[$e] & 255, ut = Ce[$e + 1] & 255, vr = Ce[$e + 2] & 255, Yr = Mt >> 2, ze = (Mt & 3) << 4 | ut >> 4, Me = $e + 1 < jt ? (ut & 15) << 2 | vr >> 6 : 64, ht = $e + 2 < jt ? vr & 63 : 64;
|
|
1981
|
+
je += pe[Yr] + pe[ze] + pe[Me] + pe[ht];
|
|
1982
1982
|
}
|
|
1983
1983
|
return je;
|
|
1984
1984
|
};
|
|
@@ -36777,9 +36777,9 @@ function requireScheduler_development() {
|
|
|
36777
36777
|
}
|
|
36778
36778
|
function f(he, pe, ye) {
|
|
36779
36779
|
for (var Ce = ye, Le = he.length, We = Le >>> 1; Ce < We; ) {
|
|
36780
|
-
var je = (Ce + 1) * 2 - 1,
|
|
36781
|
-
if (c(
|
|
36782
|
-
jt < Le && c(Mt,
|
|
36780
|
+
var je = (Ce + 1) * 2 - 1, $e = he[je], jt = je + 1, Mt = he[jt];
|
|
36781
|
+
if (c($e, pe) < 0)
|
|
36782
|
+
jt < Le && c(Mt, $e) < 0 ? (he[Ce] = Mt, he[jt] = pe, Ce = jt) : (he[Ce] = $e, he[je] = pe, Ce = je);
|
|
36783
36783
|
else if (jt < Le && c(Mt, pe) < 0)
|
|
36784
36784
|
he[Ce] = Mt, he[jt] = pe, Ce = jt;
|
|
36785
36785
|
else
|
|
@@ -36932,15 +36932,15 @@ function requireScheduler_development() {
|
|
|
36932
36932
|
je = w;
|
|
36933
36933
|
break;
|
|
36934
36934
|
}
|
|
36935
|
-
var
|
|
36935
|
+
var $e = Le + je, jt = {
|
|
36936
36936
|
id: G++,
|
|
36937
36937
|
callback: pe,
|
|
36938
36938
|
priorityLevel: he,
|
|
36939
36939
|
startTime: Le,
|
|
36940
|
-
expirationTime:
|
|
36940
|
+
expirationTime: $e,
|
|
36941
36941
|
sortIndex: -1
|
|
36942
36942
|
};
|
|
36943
|
-
return Le > Ce ? (jt.sortIndex = Le, n(F, jt), a(L) === null && jt === a(F) && (z ? Ke() : z = !0, Ft(X, Le - Ce))) : (jt.sortIndex =
|
|
36943
|
+
return Le > Ce ? (jt.sortIndex = Le, n(F, jt), a(L) === null && jt === a(F) && (z ? Ke() : z = !0, Ft(X, Le - Ce))) : (jt.sortIndex = $e, n(L, jt), !q && !ee && (q = !0, kt(Q))), jt;
|
|
36944
36944
|
}
|
|
36945
36945
|
function oe() {
|
|
36946
36946
|
}
|
|
@@ -37241,7 +37241,7 @@ function requireReactReconciler_production_min() {
|
|
|
37241
37241
|
}
|
|
37242
37242
|
return null;
|
|
37243
37243
|
}
|
|
37244
|
-
var ee = Array.isArray, q = e.getPublicInstance, z = e.getRootHostContext, B = e.getChildHostContext, I = e.prepareForCommit, U = e.resetAfterCommit, V = e.createInstance, X = e.appendInitialChild, Q = e.finalizeInitialChildren, J = e.prepareUpdate, ie = e.shouldSetTextContent, ne = e.createTextInstance, Z = e.scheduleTimeout, se = e.cancelTimeout, oe = e.noTimeout, de = e.isPrimaryRenderer, fe = e.supportsMutation, ce = e.supportsPersistence, xe = e.supportsHydration, Oe = e.getInstanceFromNode, Re = e.preparePortalMount, Ve = e.getCurrentEventPriority, Be = e.detachDeletedInstance, qe = e.supportsMicrotasks, ft = e.scheduleMicrotask, vt = e.supportsTestSelectors, it = e.findFiberRoot, dt = e.getBoundingRect, tr = e.getTextContent, Ot = e.isHiddenSubtree, yt = e.matchAccessibilityRole, kt = e.setFocusIfFocusable, Ft = e.setupIntersectionObserver, Ke = e.appendChild, pt = e.appendChildToContainer, lt = e.commitTextUpdate, he = e.commitMount, pe = e.commitUpdate, ye = e.insertBefore, Ce = e.insertInContainerBefore, Le = e.removeChild, We = e.removeChildFromContainer, je = e.resetTextContent,
|
|
37244
|
+
var ee = Array.isArray, q = e.getPublicInstance, z = e.getRootHostContext, B = e.getChildHostContext, I = e.prepareForCommit, U = e.resetAfterCommit, V = e.createInstance, X = e.appendInitialChild, Q = e.finalizeInitialChildren, J = e.prepareUpdate, ie = e.shouldSetTextContent, ne = e.createTextInstance, Z = e.scheduleTimeout, se = e.cancelTimeout, oe = e.noTimeout, de = e.isPrimaryRenderer, fe = e.supportsMutation, ce = e.supportsPersistence, xe = e.supportsHydration, Oe = e.getInstanceFromNode, Re = e.preparePortalMount, Ve = e.getCurrentEventPriority, Be = e.detachDeletedInstance, qe = e.supportsMicrotasks, ft = e.scheduleMicrotask, vt = e.supportsTestSelectors, it = e.findFiberRoot, dt = e.getBoundingRect, tr = e.getTextContent, Ot = e.isHiddenSubtree, yt = e.matchAccessibilityRole, kt = e.setFocusIfFocusable, Ft = e.setupIntersectionObserver, Ke = e.appendChild, pt = e.appendChildToContainer, lt = e.commitTextUpdate, he = e.commitMount, pe = e.commitUpdate, ye = e.insertBefore, Ce = e.insertInContainerBefore, Le = e.removeChild, We = e.removeChildFromContainer, je = e.resetTextContent, $e = e.hideInstance, jt = e.hideTextInstance, Mt = e.unhideInstance, ut = e.unhideTextInstance, vr = e.clearContainer, Yr = e.cloneInstance, ze = e.createContainerChildSet, Me = e.appendChildToContainerChildSet, ht = e.finalizeContainerChildren, Et = e.replaceContainerChildren, bt = e.cloneHiddenInstance, Kt = e.cloneHiddenTextInstance, It = e.canHydrateInstance, Cr = e.canHydrateTextInstance, di = e.canHydrateSuspenseInstance, ja = e.isSuspenseInstancePending, la = e.isSuspenseInstanceFallback, Gi = e.getSuspenseInstanceFallbackErrorDetails, Lr = e.registerSuspenseInstanceRetry, ge = e.getNextHydratableSibling, He = e.getFirstHydratableChild, Je = e.getFirstHydratableChildWithinContainer, xt = e.getFirstHydratableChildWithinSuspenseInstance, Qt = e.hydrateInstance, Ht = e.hydrateTextInstance, Gt = e.hydrateSuspenseInstance, Ut = e.getNextHydratableInstanceAfterSuspenseInstance, Ar = e.commitHydratedContainer, fr = e.commitHydratedSuspenseInstance, hr = e.clearSuspenseBoundary, Tr = e.clearSuspenseBoundaryFromContainer, ua = e.shouldDeleteUnhydratedTailInstances, Ma = e.didNotMatchHydratedContainerTextInstance, fi = e.didNotMatchHydratedTextInstance, Vl;
|
|
37245
37245
|
function cs(v) {
|
|
37246
37246
|
if (Vl === void 0)
|
|
37247
37247
|
try {
|
|
@@ -37596,7 +37596,7 @@ function requireReactReconciler_production_min() {
|
|
|
37596
37596
|
case 5:
|
|
37597
37597
|
return b = It(b, v.type, v.pendingProps), b !== null ? (v.stateNode = b, $n = v, ri = He(b), !0) : !1;
|
|
37598
37598
|
case 6:
|
|
37599
|
-
return b =
|
|
37599
|
+
return b = Cr(b, v.pendingProps), b !== null ? (v.stateNode = b, $n = v, ri = null, !0) : !1;
|
|
37600
37600
|
case 13:
|
|
37601
37601
|
if (b = di(b), b !== null) {
|
|
37602
37602
|
var j = za !== null ? { id: zi, overflow: wi } : null;
|
|
@@ -38212,8 +38212,8 @@ function requireReactReconciler_production_min() {
|
|
|
38212
38212
|
}
|
|
38213
38213
|
ma.length = 0;
|
|
38214
38214
|
}
|
|
38215
|
-
var Yi = u.ReactCurrentDispatcher, Es = u.ReactCurrentBatchConfig, xn = 0, yr = null,
|
|
38216
|
-
function
|
|
38215
|
+
var Yi = u.ReactCurrentDispatcher, Es = u.ReactCurrentBatchConfig, xn = 0, yr = null, Pr = null, Br = null, eo = !1, ga = !1, bs = 0, wf = 0;
|
|
38216
|
+
function wr() {
|
|
38217
38217
|
throw Error(l(321));
|
|
38218
38218
|
}
|
|
38219
38219
|
function Ko(v, b) {
|
|
@@ -38230,10 +38230,10 @@ function requireReactReconciler_production_min() {
|
|
|
38230
38230
|
do {
|
|
38231
38231
|
if (ga = !1, bs = 0, 25 <= te)
|
|
38232
38232
|
throw Error(l(301));
|
|
38233
|
-
te += 1, Br =
|
|
38233
|
+
te += 1, Br = Pr = null, b.updateQueue = null, Yi.current = Eu, v = j($, K);
|
|
38234
38234
|
} while (ga);
|
|
38235
38235
|
}
|
|
38236
|
-
if (Yi.current = Xi, b =
|
|
38236
|
+
if (Yi.current = Xi, b = Pr !== null && Pr.next !== null, xn = 0, Br = Pr = yr = null, eo = !1, b)
|
|
38237
38237
|
throw Error(l(300));
|
|
38238
38238
|
return v;
|
|
38239
38239
|
}
|
|
@@ -38246,18 +38246,18 @@ function requireReactReconciler_production_min() {
|
|
|
38246
38246
|
return Br === null ? yr.memoizedState = Br = v : Br = Br.next = v, Br;
|
|
38247
38247
|
}
|
|
38248
38248
|
function ar() {
|
|
38249
|
-
if (
|
|
38249
|
+
if (Pr === null) {
|
|
38250
38250
|
var v = yr.alternate;
|
|
38251
38251
|
v = v !== null ? v.memoizedState : null;
|
|
38252
38252
|
} else
|
|
38253
|
-
v =
|
|
38253
|
+
v = Pr.next;
|
|
38254
38254
|
var b = Br === null ? yr.memoizedState : Br.next;
|
|
38255
38255
|
if (b !== null)
|
|
38256
|
-
Br = b,
|
|
38256
|
+
Br = b, Pr = v;
|
|
38257
38257
|
else {
|
|
38258
38258
|
if (v === null)
|
|
38259
38259
|
throw Error(l(310));
|
|
38260
|
-
|
|
38260
|
+
Pr = v, v = { memoizedState: Pr.memoizedState, baseState: Pr.baseState, baseQueue: Pr.baseQueue, queue: Pr.queue, next: null }, Br === null ? yr.memoizedState = Br = v : Br = Br.next = v;
|
|
38261
38261
|
}
|
|
38262
38262
|
return Br;
|
|
38263
38263
|
}
|
|
@@ -38269,7 +38269,7 @@ function requireReactReconciler_production_min() {
|
|
|
38269
38269
|
if (j === null)
|
|
38270
38270
|
throw Error(l(311));
|
|
38271
38271
|
j.lastRenderedReducer = v;
|
|
38272
|
-
var $ =
|
|
38272
|
+
var $ = Pr, K = $.baseQueue, te = j.pending;
|
|
38273
38273
|
if (te !== null) {
|
|
38274
38274
|
if (K !== null) {
|
|
38275
38275
|
var ue = K.next;
|
|
@@ -38377,8 +38377,8 @@ function requireReactReconciler_production_min() {
|
|
|
38377
38377
|
var K = ar();
|
|
38378
38378
|
$ = $ === void 0 ? null : $;
|
|
38379
38379
|
var te = void 0;
|
|
38380
|
-
if (
|
|
38381
|
-
var ue =
|
|
38380
|
+
if (Pr !== null) {
|
|
38381
|
+
var ue = Pr.memoizedState;
|
|
38382
38382
|
if (te = ue.destroy, $ !== null && Ko($, ue.deps)) {
|
|
38383
38383
|
K.memoizedState = xi(b, j, te, $);
|
|
38384
38384
|
return;
|
|
@@ -38486,7 +38486,7 @@ function requireReactReconciler_production_min() {
|
|
|
38486
38486
|
$ &= v.pendingLanes, j |= $, b.lanes = j, Jl(v, j);
|
|
38487
38487
|
}
|
|
38488
38488
|
}
|
|
38489
|
-
var Xi = { readContext: _n, useCallback:
|
|
38489
|
+
var Xi = { readContext: _n, useCallback: wr, useContext: wr, useEffect: wr, useImperativeHandle: wr, useInsertionEffect: wr, useLayoutEffect: wr, useMemo: wr, useReducer: wr, useRef: wr, useState: wr, useDebugValue: wr, useDeferredValue: wr, useTransition: wr, useMutableSource: wr, useSyncExternalStore: wr, useId: wr, unstable_isNewReconciler: !1 }, xu = { readContext: _n, useCallback: function(v, b) {
|
|
38490
38490
|
return Bt().memoizedState = [v, b === void 0 ? null : b], v;
|
|
38491
38491
|
}, useContext: _n, useEffect: Ts, useImperativeHandle: function(v, b, j) {
|
|
38492
38492
|
return j = j != null ? j.concat([v]) : null, va(
|
|
@@ -38558,7 +38558,7 @@ function requireReactReconciler_production_min() {
|
|
|
38558
38558
|
useDebugValue: ro,
|
|
38559
38559
|
useDeferredValue: function(v) {
|
|
38560
38560
|
var b = ar();
|
|
38561
|
-
return nl(b,
|
|
38561
|
+
return nl(b, Pr.memoizedState, v);
|
|
38562
38562
|
},
|
|
38563
38563
|
useTransition: function() {
|
|
38564
38564
|
var v = Xo(kn)[0], b = ar().memoizedState;
|
|
@@ -38572,7 +38572,7 @@ function requireReactReconciler_production_min() {
|
|
|
38572
38572
|
return gu(kn);
|
|
38573
38573
|
}, useDebugValue: ro, useDeferredValue: function(v) {
|
|
38574
38574
|
var b = ar();
|
|
38575
|
-
return
|
|
38575
|
+
return Pr === null ? b.memoizedState = v : nl(b, Pr.memoizedState, v);
|
|
38576
38576
|
}, useTransition: function() {
|
|
38577
38577
|
var v = gu(kn)[0], b = ar().memoizedState;
|
|
38578
38578
|
return [v, b];
|
|
@@ -38658,7 +38658,7 @@ Error generating stack: ` + te.message + `
|
|
|
38658
38658
|
function io(v, b, j, $, K) {
|
|
38659
38659
|
j = j.render;
|
|
38660
38660
|
var te = b.ref;
|
|
38661
|
-
return ys(b, K), $ = Tt(v, b, j, $, te, K), j = Wt(), v !== null && !tn ? (b.updateQueue = v.updateQueue, b.flags &= -2053, v.lanes &= ~K,
|
|
38661
|
+
return ys(b, K), $ = Tt(v, b, j, $, te, K), j = Wt(), v !== null && !tn ? (b.updateQueue = v.updateQueue, b.flags &= -2053, v.lanes &= ~K, Nr(v, b, K)) : (br && j && nu(b), b.flags |= 1, $r(v, b, $, K), b.child);
|
|
38662
38662
|
}
|
|
38663
38663
|
function Lc(v, b, j, $, K) {
|
|
38664
38664
|
if (v === null) {
|
|
@@ -38668,7 +38668,7 @@ Error generating stack: ` + te.message + `
|
|
|
38668
38668
|
if (te = v.child, !(v.lanes & K)) {
|
|
38669
38669
|
var ue = te.memoizedProps;
|
|
38670
38670
|
if (j = j.compare, j = j !== null ? j : jo, j(ue, $) && v.ref === b.ref)
|
|
38671
|
-
return
|
|
38671
|
+
return Nr(v, b, K);
|
|
38672
38672
|
}
|
|
38673
38673
|
return b.flags |= 1, v = Fi(te, $), v.ref = b.ref, v.return = b, b.child = v;
|
|
38674
38674
|
}
|
|
@@ -38679,7 +38679,7 @@ Error generating stack: ` + te.message + `
|
|
|
38679
38679
|
if (tn = !1, b.pendingProps = $ = te, (v.lanes & K) !== 0)
|
|
38680
38680
|
v.flags & 131072 && (tn = !0);
|
|
38681
38681
|
else
|
|
38682
|
-
return b.lanes = v.lanes,
|
|
38682
|
+
return b.lanes = v.lanes, Nr(v, b, K);
|
|
38683
38683
|
}
|
|
38684
38684
|
return ao(v, b, j, $, K);
|
|
38685
38685
|
}
|
|
@@ -38703,7 +38703,7 @@ Error generating stack: ` + te.message + `
|
|
|
38703
38703
|
}
|
|
38704
38704
|
function ao(v, b, j, $, K) {
|
|
38705
38705
|
var te = gn(j) ? Ua : mn.current;
|
|
38706
|
-
return te = ds(b, te), ys(b, K), j = Tt(v, b, j, $, te, K), $ = Wt(), v !== null && !tn ? (b.updateQueue = v.updateQueue, b.flags &= -2053, v.lanes &= ~K,
|
|
38706
|
+
return te = ds(b, te), ys(b, K), j = Tt(v, b, j, $, te, K), $ = Wt(), v !== null && !tn ? (b.updateQueue = v.updateQueue, b.flags &= -2053, v.lanes &= ~K, Nr(v, b, K)) : (br && $ && nu(b), b.flags |= 1, $r(v, b, j, K), b.child);
|
|
38707
38707
|
}
|
|
38708
38708
|
function Mc(v, b, j, $, K) {
|
|
38709
38709
|
if (gn(j)) {
|
|
@@ -38735,7 +38735,7 @@ Error generating stack: ` + te.message + `
|
|
|
38735
38735
|
jc(v, b);
|
|
38736
38736
|
var ue = (b.flags & 128) !== 0;
|
|
38737
38737
|
if (!$ && !ue)
|
|
38738
|
-
return K && Kl(b, j, !1),
|
|
38738
|
+
return K && Kl(b, j, !1), Nr(v, b, te);
|
|
38739
38739
|
$ = b.stateNode, ll.current = b;
|
|
38740
38740
|
var _e = ue && typeof j.getDerivedStateFromError != "function" ? null : $.render();
|
|
38741
38741
|
return b.flags |= 1, v !== null && ue ? (b.child = Wi(b, v.child, null, te), b.child = Wi(b, null, _e, te)) : $r(v, b, _e, te), b.memoizedState = $.state, K && Kl(b, j, !0), b.child;
|
|
@@ -38896,7 +38896,7 @@ Error generating stack: ` + te.message + `
|
|
|
38896
38896
|
function As(v, b) {
|
|
38897
38897
|
!(b.mode & 1) && v !== null && (v.alternate = null, b.alternate = null, b.flags |= 2);
|
|
38898
38898
|
}
|
|
38899
|
-
function
|
|
38899
|
+
function Nr(v, b, j) {
|
|
38900
38900
|
if (v !== null && (b.dependencies = v.dependencies), Qa |= b.lanes, !(j & b.childLanes))
|
|
38901
38901
|
return null;
|
|
38902
38902
|
if (v !== null && b.child !== v.child)
|
|
@@ -38928,7 +38928,7 @@ Error generating stack: ` + te.message + `
|
|
|
38928
38928
|
case 13:
|
|
38929
38929
|
var $ = b.memoizedState;
|
|
38930
38930
|
if ($ !== null)
|
|
38931
|
-
return $.dehydrated !== null ? (lr(nr, nr.current & 1), b.flags |= 128, null) : j & b.child.childLanes ? Uc(v, b, j) : (lr(nr, nr.current & 1), v =
|
|
38931
|
+
return $.dehydrated !== null ? (lr(nr, nr.current & 1), b.flags |= 128, null) : j & b.child.childLanes ? Uc(v, b, j) : (lr(nr, nr.current & 1), v = Nr(v, b, j), v !== null ? v.sibling : null);
|
|
38932
38932
|
lr(nr, nr.current & 1);
|
|
38933
38933
|
break;
|
|
38934
38934
|
case 19:
|
|
@@ -38949,7 +38949,7 @@ Error generating stack: ` + te.message + `
|
|
|
38949
38949
|
case 23:
|
|
38950
38950
|
return b.lanes = 0, Fc(v, b, j);
|
|
38951
38951
|
}
|
|
38952
|
-
return
|
|
38952
|
+
return Nr(v, b, j);
|
|
38953
38953
|
}
|
|
38954
38954
|
function Ct(v) {
|
|
38955
38955
|
v.flags |= 4;
|
|
@@ -39049,7 +39049,7 @@ Error generating stack: ` + te.message + `
|
|
|
39049
39049
|
var j = b.stateNode;
|
|
39050
39050
|
if (!lo(v, b)) {
|
|
39051
39051
|
v = j.containerInfo;
|
|
39052
|
-
var $ =
|
|
39052
|
+
var $ = ze(v);
|
|
39053
39053
|
Os($, b, !1, !1), j.pendingChildren = $, Ct(b), ht(v, $);
|
|
39054
39054
|
}
|
|
39055
39055
|
}, dl = function(v, b, j, $, K) {
|
|
@@ -39423,7 +39423,7 @@ Error generating stack: ` + te.message + `
|
|
|
39423
39423
|
fe && Xr !== null && (Ei ? Tr(Xr, j.stateNode) : hr(Xr, j.stateNode));
|
|
39424
39424
|
break;
|
|
39425
39425
|
case 4:
|
|
39426
|
-
fe ? ($ = Xr, K = Ei, Xr = j.stateNode.containerInfo, Ei = !0, ki(v, b, j), Xr = $, Ei = K) : (ce && ($ = j.stateNode.containerInfo, K =
|
|
39426
|
+
fe ? ($ = Xr, K = Ei, Xr = j.stateNode.containerInfo, Ei = !0, ki(v, b, j), Xr = $, Ei = K) : (ce && ($ = j.stateNode.containerInfo, K = ze($), Et($, K)), ki(v, b, j));
|
|
39427
39427
|
break;
|
|
39428
39428
|
case 0:
|
|
39429
39429
|
case 11:
|
|
@@ -39571,7 +39571,7 @@ Error generating stack: ` + te.message + `
|
|
|
39571
39571
|
if (Fn(b, v), bn(v), $ & 4) {
|
|
39572
39572
|
if (fe && xe && j !== null && j.memoizedState.isDehydrated)
|
|
39573
39573
|
try {
|
|
39574
|
-
|
|
39574
|
+
Ar(b.containerInfo);
|
|
39575
39575
|
} catch (et) {
|
|
39576
39576
|
Jt(v, v.return, et);
|
|
39577
39577
|
}
|
|
@@ -39650,7 +39650,7 @@ Error generating stack: ` + te.message + `
|
|
|
39650
39650
|
if ($ === null) {
|
|
39651
39651
|
$ = b;
|
|
39652
39652
|
try {
|
|
39653
|
-
K = b.stateNode, j ?
|
|
39653
|
+
K = b.stateNode, j ? $e(K) : Mt(b.stateNode, b.memoizedProps);
|
|
39654
39654
|
} catch (et) {
|
|
39655
39655
|
Jt(v, v.return, et);
|
|
39656
39656
|
}
|
|
@@ -40275,7 +40275,7 @@ Error generating stack: ` + te.message + `
|
|
|
40275
40275
|
}
|
|
40276
40276
|
eo = !1;
|
|
40277
40277
|
}
|
|
40278
|
-
if (xn = 0, Br =
|
|
40278
|
+
if (xn = 0, Br = Pr = yr = null, ga = !1, bs = 0, qa.current = null, j === null || j.return === null) {
|
|
40279
40279
|
Mr = 1, Ds = b, jr = null;
|
|
40280
40280
|
break;
|
|
40281
40281
|
}
|
|
@@ -40682,7 +40682,7 @@ Error generating stack: ` + te.message + `
|
|
|
40682
40682
|
j.flags = j.flags & -3 | 4096, j = j.sibling;
|
|
40683
40683
|
else {
|
|
40684
40684
|
if (gs(), $ === K) {
|
|
40685
|
-
b =
|
|
40685
|
+
b = Nr(v, b, j);
|
|
40686
40686
|
break e;
|
|
40687
40687
|
}
|
|
40688
40688
|
$r(v, b, $, j);
|
|
@@ -40711,7 +40711,7 @@ Error generating stack: ` + te.message + `
|
|
|
40711
40711
|
if ($ = b.type._context, K = b.pendingProps, te = b.memoizedProps, ue = K.value, Ac(b, $, ue), te !== null)
|
|
40712
40712
|
if (pi(te.value, ue)) {
|
|
40713
40713
|
if (te.children === K.children && !Nn.current) {
|
|
40714
|
-
b =
|
|
40714
|
+
b = Nr(v, b, j);
|
|
40715
40715
|
break e;
|
|
40716
40716
|
}
|
|
40717
40717
|
} else
|
|
@@ -41304,7 +41304,7 @@ function requireReactReconciler_development() {
|
|
|
41304
41304
|
}
|
|
41305
41305
|
return null;
|
|
41306
41306
|
}
|
|
41307
|
-
var
|
|
41307
|
+
var $e = (
|
|
41308
41308
|
/* */
|
|
41309
41309
|
0
|
|
41310
41310
|
), jt = (
|
|
@@ -41322,7 +41322,7 @@ function requireReactReconciler_development() {
|
|
|
41322
41322
|
), Yr = (
|
|
41323
41323
|
/* */
|
|
41324
41324
|
32
|
|
41325
|
-
),
|
|
41325
|
+
), ze = (
|
|
41326
41326
|
/* */
|
|
41327
41327
|
64
|
|
41328
41328
|
), Me = (
|
|
@@ -41343,13 +41343,13 @@ function requireReactReconciler_development() {
|
|
|
41343
41343
|
), It = (
|
|
41344
41344
|
/* */
|
|
41345
41345
|
4096
|
|
41346
|
-
),
|
|
41346
|
+
), Cr = (
|
|
41347
41347
|
/* */
|
|
41348
41348
|
8192
|
|
41349
41349
|
), di = (
|
|
41350
41350
|
/* */
|
|
41351
41351
|
16384
|
|
41352
|
-
), ja = Kt | ut |
|
|
41352
|
+
), ja = Kt | ut | ze | Et | bt | di, la = (
|
|
41353
41353
|
/* */
|
|
41354
41354
|
32767
|
|
41355
41355
|
), Gi = (
|
|
@@ -41383,7 +41383,7 @@ function requireReactReconciler_development() {
|
|
|
41383
41383
|
// TODO: Remove Update flag from before mutation phase by re-landing Visibility
|
|
41384
41384
|
// flag logic (see #20043)
|
|
41385
41385
|
ut | bt | 0
|
|
41386
|
-
),
|
|
41386
|
+
), Ar = Mt | ut | vr | Yr | Et | It | Cr, fr = ut | ze | Et | Cr, hr = Kt | vr, Tr = xt | Qt | Je, ua = a.ReactCurrentOwner;
|
|
41387
41387
|
function Ma(s) {
|
|
41388
41388
|
var d = s, N = s;
|
|
41389
41389
|
if (s.alternate)
|
|
@@ -41392,7 +41392,7 @@ function requireReactReconciler_development() {
|
|
|
41392
41392
|
else {
|
|
41393
41393
|
var D = d;
|
|
41394
41394
|
do
|
|
41395
|
-
d = D, (d.flags & (Mt | It)) !==
|
|
41395
|
+
d = D, (d.flags & (Mt | It)) !== $e && (N = d.return), D = d.return;
|
|
41396
41396
|
while (D);
|
|
41397
41397
|
}
|
|
41398
41398
|
return d.tag === k ? N : null;
|
|
@@ -41803,7 +41803,7 @@ function requireReactReconciler_development() {
|
|
|
41803
41803
|
function yr(s) {
|
|
41804
41804
|
xr(nr, s), xr(_i, s);
|
|
41805
41805
|
}
|
|
41806
|
-
function
|
|
41806
|
+
function Pr(s) {
|
|
41807
41807
|
xr(nr, s), xr(_i, s);
|
|
41808
41808
|
}
|
|
41809
41809
|
function Br(s, d, N) {
|
|
@@ -41873,7 +41873,7 @@ function requireReactReconciler_development() {
|
|
|
41873
41873
|
throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.");
|
|
41874
41874
|
}
|
|
41875
41875
|
}
|
|
41876
|
-
var
|
|
41876
|
+
var wr = 0, Ko = 1, Tt = (
|
|
41877
41877
|
/* */
|
|
41878
41878
|
0
|
|
41879
41879
|
), Wt = (
|
|
@@ -42229,7 +42229,7 @@ function requireReactReconciler_development() {
|
|
|
42229
42229
|
function As(s) {
|
|
42230
42230
|
return Sa(s);
|
|
42231
42231
|
}
|
|
42232
|
-
function
|
|
42232
|
+
function Nr(s, d) {
|
|
42233
42233
|
return (s & d) !== Ue;
|
|
42234
42234
|
}
|
|
42235
42235
|
function Ps(s, d) {
|
|
@@ -42579,7 +42579,7 @@ function requireReactReconciler_development() {
|
|
|
42579
42579
|
}
|
|
42580
42580
|
var Vr = [], es = 0, Fs = null, js = 0, ai = [], Wr = 0, Ea = null, Di = 1, bi = "";
|
|
42581
42581
|
function ts(s) {
|
|
42582
|
-
return Xn(), (s.flags & He) !==
|
|
42582
|
+
return Xn(), (s.flags & He) !== $e;
|
|
42583
42583
|
}
|
|
42584
42584
|
function Kc(s) {
|
|
42585
42585
|
return Xn(), js;
|
|
@@ -42797,7 +42797,7 @@ function requireReactReconciler_development() {
|
|
|
42797
42797
|
}
|
|
42798
42798
|
}
|
|
42799
42799
|
function Ms(s) {
|
|
42800
|
-
return (s.mode & Wt) !== Tt && (s.flags & Me) ===
|
|
42800
|
+
return (s.mode & Wt) !== Tt && (s.flags & Me) === $e;
|
|
42801
42801
|
}
|
|
42802
42802
|
function yo(s) {
|
|
42803
42803
|
throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.");
|
|
@@ -43261,7 +43261,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43261
43261
|
var N = s.dependencies;
|
|
43262
43262
|
if (N !== null) {
|
|
43263
43263
|
var D = N.firstContext;
|
|
43264
|
-
D !== null && (
|
|
43264
|
+
D !== null && (Nr(N.lanes, d) && Zu(), N.firstContext = null);
|
|
43265
43265
|
}
|
|
43266
43266
|
}
|
|
43267
43267
|
function Jr(s) {
|
|
@@ -43325,9 +43325,9 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43325
43325
|
function ld(s, d) {
|
|
43326
43326
|
s.lanes = Ct(s.lanes, d);
|
|
43327
43327
|
var N = s.alternate;
|
|
43328
|
-
N !== null && (N.lanes = Ct(N.lanes, d)), N === null && (s.flags & (Mt | It)) !==
|
|
43328
|
+
N !== null && (N.lanes = Ct(N.lanes, d)), N === null && (s.flags & (Mt | It)) !== $e && Qg(s);
|
|
43329
43329
|
for (var D = s, M = s.return; M !== null; )
|
|
43330
|
-
M.childLanes = Ct(M.childLanes, d), N = M.alternate, N !== null ? N.childLanes = Ct(N.childLanes, d) : (M.flags & (Mt | It)) !==
|
|
43330
|
+
M.childLanes = Ct(M.childLanes, d), N = M.alternate, N !== null ? N.childLanes = Ct(N.childLanes, d) : (M.flags & (Mt | It)) !== $e && Qg(s), D = M, M = M.return;
|
|
43331
43331
|
if (D.tag === k) {
|
|
43332
43332
|
var Y = D.stateNode;
|
|
43333
43333
|
return Y;
|
|
@@ -43518,7 +43518,7 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, M)
|
|
|
43518
43518
|
if (be !== null && // If the update was already committed, we should not queue its
|
|
43519
43519
|
// callback again.
|
|
43520
43520
|
St.lane !== zr) {
|
|
43521
|
-
s.flags |=
|
|
43521
|
+
s.flags |= ze;
|
|
43522
43522
|
var Xe = M.effects;
|
|
43523
43523
|
Xe === null ? M.effects = [St] : Xe.push(St);
|
|
43524
43524
|
}
|
|
@@ -44337,7 +44337,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
|
|
|
44337
44337
|
} else if (d.tag === ie && // revealOrder undefined can't be trusted because it don't
|
|
44338
44338
|
// keep track of whether it suspended or not.
|
|
44339
44339
|
d.memoizedProps.revealOrder !== void 0) {
|
|
44340
|
-
var M = (d.flags & Me) !==
|
|
44340
|
+
var M = (d.flags & Me) !== $e;
|
|
44341
44341
|
if (M)
|
|
44342
44342
|
return d;
|
|
44343
44343
|
} else if (d.child !== null) {
|
|
@@ -45704,7 +45704,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45704
45704
|
var le = d.value, me = d.stack;
|
|
45705
45705
|
this.componentDidCatch(le, {
|
|
45706
45706
|
componentStack: me !== null ? me : ""
|
|
45707
|
-
}), typeof M != "function" && (
|
|
45707
|
+
}), typeof M != "function" && (Nr(s.lanes, At) || c("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.", je(s) || "Unknown"));
|
|
45708
45708
|
}), D;
|
|
45709
45709
|
}
|
|
45710
45710
|
function Vm(s, d, N) {
|
|
@@ -45779,7 +45779,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45779
45779
|
ju();
|
|
45780
45780
|
var le = Wm(d);
|
|
45781
45781
|
if (le !== null) {
|
|
45782
|
-
(le.flags & Lr) ===
|
|
45782
|
+
(le.flags & Lr) === $e && (le.flags |= ht), Ym(le, d, N, s, M), $(Eo(D, N));
|
|
45783
45783
|
return;
|
|
45784
45784
|
}
|
|
45785
45785
|
}
|
|
@@ -45798,7 +45798,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45798
45798
|
}
|
|
45799
45799
|
case w:
|
|
45800
45800
|
var Fe = D, Ge = me.type, Ie = me.stateNode;
|
|
45801
|
-
if ((me.flags & Me) ===
|
|
45801
|
+
if ((me.flags & Me) === $e && (typeof Ge.getDerivedStateFromError == "function" || Ie !== null && typeof Ie.componentDidCatch == "function" && !Yg(Ie))) {
|
|
45802
45802
|
me.flags |= Lr;
|
|
45803
45803
|
var gt = Ya(M);
|
|
45804
45804
|
me.lanes = Ct(me.lanes, gt);
|
|
@@ -45914,7 +45914,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45914
45914
|
if (_e(ve, D) && s.ref === d.ref && // Prevent bailout if the implementation changed due to hot reload.
|
|
45915
45915
|
d.type === s.type)
|
|
45916
45916
|
if (na = !1, d.pendingProps = D = ve, ip(s, M))
|
|
45917
|
-
(s.flags & ge) !==
|
|
45917
|
+
(s.flags & ge) !== $e && (na = !0);
|
|
45918
45918
|
else
|
|
45919
45919
|
return d.lanes = s.lanes, ss(s, d, M);
|
|
45920
45920
|
}
|
|
@@ -45930,7 +45930,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
45930
45930
|
transitions: null
|
|
45931
45931
|
};
|
|
45932
45932
|
d.memoizedState = re, df(d, N);
|
|
45933
|
-
} else if (
|
|
45933
|
+
} else if (Nr(N, Ln)) {
|
|
45934
45934
|
var Ee = {
|
|
45935
45935
|
baseLanes: Ue,
|
|
45936
45936
|
cachePool: null,
|
|
@@ -46055,7 +46055,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
46055
46055
|
}
|
|
46056
46056
|
function Qh(s, d, N, D, M, Y) {
|
|
46057
46057
|
Jm(s, d);
|
|
46058
|
-
var re = (d.flags & Me) !==
|
|
46058
|
+
var re = (d.flags & Me) !== $e;
|
|
46059
46059
|
if (!D && !re)
|
|
46060
46060
|
return M && bs(d, N, !1), ss(s, d, Y);
|
|
46061
46061
|
var ae = d.stateNode;
|
|
@@ -46271,7 +46271,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46271
46271
|
function rg(s, d, N) {
|
|
46272
46272
|
var D = d.pendingProps;
|
|
46273
46273
|
hv(d) && (d.flags |= Me);
|
|
46274
|
-
var M = ta.current, Y = !1, re = (d.flags & Me) !==
|
|
46274
|
+
var M = ta.current, Y = !1, re = (d.flags & Me) !== $e;
|
|
46275
46275
|
if (re || T0(M, s) ? (Y = !0, d.flags &= ~Me) : (s === null || s.memoizedState !== null) && (M = Yv(M, mm)), M = wl(M), Gs(d, M), s === null) {
|
|
46276
46276
|
_o(d);
|
|
46277
46277
|
var ae = d.memoizedState;
|
|
@@ -46405,7 +46405,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46405
46405
|
var Pe = zh(Ee, ae, me);
|
|
46406
46406
|
return Bd(s, d, re, Pe);
|
|
46407
46407
|
}
|
|
46408
|
-
var Fe =
|
|
46408
|
+
var Fe = Nr(re, s.childLanes);
|
|
46409
46409
|
if (na || Fe) {
|
|
46410
46410
|
var Ge = uf();
|
|
46411
46411
|
if (Ge !== null) {
|
|
@@ -46536,7 +46536,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46536
46536
|
if (le)
|
|
46537
46537
|
ae = ph(ae, $u), d.flags |= Me;
|
|
46538
46538
|
else {
|
|
46539
|
-
var me = s !== null && (s.flags & Me) !==
|
|
46539
|
+
var me = s !== null && (s.flags & Me) !== $e;
|
|
46540
46540
|
me && k0(d, d.child, N), ae = wl(ae);
|
|
46541
46541
|
}
|
|
46542
46542
|
if (Gs(d, ae), (d.mode & Wt) === Tt)
|
|
@@ -46637,7 +46637,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46637
46637
|
(d.mode & Wt) === Tt && s !== null && (s.alternate = null, d.alternate = null, d.flags |= Mt);
|
|
46638
46638
|
}
|
|
46639
46639
|
function ss(s, d, N) {
|
|
46640
|
-
return s !== null && (d.dependencies = s.dependencies), $m(), hc(d.lanes),
|
|
46640
|
+
return s !== null && (d.dependencies = s.dependencies), $m(), hc(d.lanes), Nr(N, d.childLanes) ? (Hv(s, d), d.child) : null;
|
|
46641
46641
|
}
|
|
46642
46642
|
function G0(s, d, N) {
|
|
46643
46643
|
{
|
|
@@ -46661,7 +46661,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46661
46661
|
}
|
|
46662
46662
|
function ip(s, d) {
|
|
46663
46663
|
var N = s.lanes;
|
|
46664
|
-
return !!
|
|
46664
|
+
return !!Nr(N, d);
|
|
46665
46665
|
}
|
|
46666
46666
|
function B0(s, d, N) {
|
|
46667
46667
|
switch (d.tag) {
|
|
@@ -46686,7 +46686,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46686
46686
|
}
|
|
46687
46687
|
case B:
|
|
46688
46688
|
{
|
|
46689
|
-
var re =
|
|
46689
|
+
var re = Nr(N, d.childLanes);
|
|
46690
46690
|
re && (d.flags |= ut);
|
|
46691
46691
|
{
|
|
46692
46692
|
var ae = d.stateNode;
|
|
@@ -46700,7 +46700,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46700
46700
|
if (le.dehydrated !== null)
|
|
46701
46701
|
return Gs(d, wl(ta.current)), d.flags |= Me, null;
|
|
46702
46702
|
var me = d.child, ve = me.childLanes;
|
|
46703
|
-
if (
|
|
46703
|
+
if (Nr(N, ve))
|
|
46704
46704
|
return rg(s, d, N);
|
|
46705
46705
|
Gs(d, wl(ta.current));
|
|
46706
46706
|
var Ee = ss(s, d, N);
|
|
@@ -46710,7 +46710,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46710
46710
|
break;
|
|
46711
46711
|
}
|
|
46712
46712
|
case ie: {
|
|
46713
|
-
var Pe = (s.flags & Me) !==
|
|
46713
|
+
var Pe = (s.flags & Me) !== $e, Fe = Nr(N, d.childLanes);
|
|
46714
46714
|
if (Pe) {
|
|
46715
46715
|
if (Fe)
|
|
46716
46716
|
return sg(s, d, N);
|
|
@@ -46739,9 +46739,9 @@ Check the render method of \`` + D + "`.");
|
|
|
46739
46739
|
var Y = ip(s, N);
|
|
46740
46740
|
if (!Y && // If this is the second pass of an error or suspense boundary, there
|
|
46741
46741
|
// may not be work scheduled on `current`, so we check for this flag.
|
|
46742
|
-
(d.flags & Me) ===
|
|
46742
|
+
(d.flags & Me) === $e)
|
|
46743
46743
|
return na = !1, B0(s, d, N);
|
|
46744
|
-
(s.flags & ge) !==
|
|
46744
|
+
(s.flags & ge) !== $e ? na = !0 : na = !1;
|
|
46745
46745
|
}
|
|
46746
46746
|
} else if (na = !1, j() && ts(d)) {
|
|
46747
46747
|
var re = d.index, ae = Kc();
|
|
@@ -46825,10 +46825,10 @@ Check the render method of \`` + D + "`.");
|
|
|
46825
46825
|
var N = s !== null && s.child === d.child;
|
|
46826
46826
|
if (N)
|
|
46827
46827
|
return !0;
|
|
46828
|
-
if ((d.flags & vr) !==
|
|
46828
|
+
if ((d.flags & vr) !== $e)
|
|
46829
46829
|
return !1;
|
|
46830
46830
|
for (var D = d.child; D !== null; ) {
|
|
46831
|
-
if ((D.flags &
|
|
46831
|
+
if ((D.flags & Ar) !== $e || (D.subtreeFlags & Ar) !== $e)
|
|
46832
46832
|
return !1;
|
|
46833
46833
|
D = D.sibling;
|
|
46834
46834
|
}
|
|
@@ -46985,7 +46985,7 @@ Check the render method of \`` + D + "`.");
|
|
|
46985
46985
|
}
|
|
46986
46986
|
}
|
|
46987
46987
|
function Rn(s) {
|
|
46988
|
-
var d = s.alternate !== null && s.alternate.child === s.child, N = Ue, D =
|
|
46988
|
+
var d = s.alternate !== null && s.alternate.child === s.child, N = Ue, D = $e;
|
|
46989
46989
|
if (d) {
|
|
46990
46990
|
if ((s.mode & Bt) !== Tt) {
|
|
46991
46991
|
for (var le = s.selfBaseDuration, me = s.child; me !== null; )
|
|
@@ -47008,7 +47008,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47008
47008
|
return s.childLanes = N, d;
|
|
47009
47009
|
}
|
|
47010
47010
|
function z0(s, d, N) {
|
|
47011
|
-
if (Mf() && (d.mode & Wt) !== Tt && (d.flags & Me) ===
|
|
47011
|
+
if (Mf() && (d.mode & Wt) !== Tt && (d.flags & Me) === $e)
|
|
47012
47012
|
return rd(d), v(), d.flags |= ht | Gi | Lr, !1;
|
|
47013
47013
|
var D = ns(d);
|
|
47014
47014
|
if (N !== null && N.dehydrated !== null)
|
|
@@ -47024,7 +47024,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47024
47024
|
}
|
|
47025
47025
|
return !1;
|
|
47026
47026
|
} else {
|
|
47027
|
-
if (v(), (d.flags & Me) ===
|
|
47027
|
+
if (v(), (d.flags & Me) === $e && (d.memoizedState = null), d.flags |= ut, Rn(d), (d.mode & Bt) !== Tt) {
|
|
47028
47028
|
var re = N !== null;
|
|
47029
47029
|
if (re) {
|
|
47030
47030
|
var ae = d.child;
|
|
@@ -47056,7 +47056,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47056
47056
|
}
|
|
47057
47057
|
case k: {
|
|
47058
47058
|
var Y = d.stateNode;
|
|
47059
|
-
if (Pl(d),
|
|
47059
|
+
if (Pl(d), Pr(d), gh(), Y.pendingContext && (Y.context = Y.pendingContext, Y.pendingContext = null), s === null || s.child === null) {
|
|
47060
47060
|
var re = ns(d);
|
|
47061
47061
|
if (re)
|
|
47062
47062
|
Na(d);
|
|
@@ -47064,7 +47064,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47064
47064
|
var ae = s.memoizedState;
|
|
47065
47065
|
// Check if this is a client root
|
|
47066
47066
|
(!ae.isDehydrated || // Check if we reverted to client rendering (e.g. due to an error)
|
|
47067
|
-
(d.flags & ht) !==
|
|
47067
|
+
(d.flags & ht) !== $e) && (d.flags |= bt, b());
|
|
47068
47068
|
}
|
|
47069
47069
|
}
|
|
47070
47070
|
return tc(s, d), Rn(d), null;
|
|
@@ -47112,12 +47112,12 @@ Check the render method of \`` + D + "`.");
|
|
|
47112
47112
|
if (!dr)
|
|
47113
47113
|
return d.flags & Lr ? d : null;
|
|
47114
47114
|
}
|
|
47115
|
-
if ((d.flags & Me) !==
|
|
47115
|
+
if ((d.flags & Me) !== $e)
|
|
47116
47116
|
return d.lanes = N, (d.mode & Bt) !== Tt && Bh(d), d;
|
|
47117
47117
|
var er = St !== null, Te = s !== null && s.memoizedState !== null;
|
|
47118
47118
|
if (er !== Te && er) {
|
|
47119
47119
|
var ke = d.child;
|
|
47120
|
-
if (ke.flags |=
|
|
47120
|
+
if (ke.flags |= Cr, (d.mode & Wt) !== Tt) {
|
|
47121
47121
|
var be = s === null && (d.memoizedProps.unstable_avoidThisFallback !== !0 || !C);
|
|
47122
47122
|
be || hh(ta.current, mm) ? s_() : Ap();
|
|
47123
47123
|
}
|
|
@@ -47143,19 +47143,19 @@ Check the render method of \`` + D + "`.");
|
|
|
47143
47143
|
var Nt = d.memoizedState;
|
|
47144
47144
|
if (Nt === null)
|
|
47145
47145
|
return Rn(d), null;
|
|
47146
|
-
var ir = (d.flags & Me) !==
|
|
47146
|
+
var ir = (d.flags & Me) !== $e, Yt = Nt.rendering;
|
|
47147
47147
|
if (Yt === null)
|
|
47148
47148
|
if (ir)
|
|
47149
47149
|
rc(Nt, !1);
|
|
47150
47150
|
else {
|
|
47151
|
-
var Er = l_() && (s === null || (s.flags & Me) ===
|
|
47151
|
+
var Er = l_() && (s === null || (s.flags & Me) === $e);
|
|
47152
47152
|
if (!Er)
|
|
47153
47153
|
for (var Rt = d.child; Rt !== null; ) {
|
|
47154
47154
|
var Ur = xd(Rt);
|
|
47155
47155
|
if (Ur !== null) {
|
|
47156
47156
|
ir = !0, d.flags |= Me, rc(Nt, !1);
|
|
47157
47157
|
var Gn = Ur.updateQueue;
|
|
47158
|
-
return Gn !== null && (d.updateQueue = Gn, d.flags |= ut), d.subtreeFlags =
|
|
47158
|
+
return Gn !== null && (d.updateQueue = Gn, d.flags |= ut), d.subtreeFlags = $e, Vv(d, N), Gs(d, ph(ta.current, $u)), d.child;
|
|
47159
47159
|
}
|
|
47160
47160
|
Rt = Rt.sibling;
|
|
47161
47161
|
}
|
|
@@ -47199,9 +47199,9 @@ Check the render method of \`` + D + "`.");
|
|
|
47199
47199
|
if (s !== null) {
|
|
47200
47200
|
var gc = s.memoizedState, Fa = gc !== null;
|
|
47201
47201
|
Fa !== $l && // LegacyHidden doesn't do any hiding — it only pre-renders.
|
|
47202
|
-
!x && (d.flags |=
|
|
47202
|
+
!x && (d.flags |= Cr);
|
|
47203
47203
|
}
|
|
47204
|
-
return !$l || (d.mode & Wt) === Tt ? Rn(d) :
|
|
47204
|
+
return !$l || (d.mode & Wt) === Tt ? Rn(d) : Nr(La, Ln) && (Rn(d), vn && d.subtreeFlags & (Mt | ut) && (d.flags |= Cr)), null;
|
|
47205
47205
|
}
|
|
47206
47206
|
case oe:
|
|
47207
47207
|
return null;
|
|
@@ -47219,9 +47219,9 @@ Check the render method of \`` + D + "`.");
|
|
|
47219
47219
|
return M & Lr ? (d.flags = M & ~Lr | Me, (d.mode & Bt) !== Tt && Bh(d), d) : null;
|
|
47220
47220
|
}
|
|
47221
47221
|
case k: {
|
|
47222
|
-
d.stateNode, Pl(d),
|
|
47222
|
+
d.stateNode, Pl(d), Pr(d), gh();
|
|
47223
47223
|
var Y = d.flags;
|
|
47224
|
-
return (Y & Lr) !==
|
|
47224
|
+
return (Y & Lr) !== $e && (Y & Me) === $e ? (d.flags = Y & ~Lr | Me, d) : null;
|
|
47225
47225
|
}
|
|
47226
47226
|
case F:
|
|
47227
47227
|
return fh(d), null;
|
|
@@ -47260,7 +47260,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47260
47260
|
break;
|
|
47261
47261
|
}
|
|
47262
47262
|
case k: {
|
|
47263
|
-
d.stateNode, Pl(d),
|
|
47263
|
+
d.stateNode, Pl(d), Pr(d), gh();
|
|
47264
47264
|
break;
|
|
47265
47265
|
}
|
|
47266
47266
|
case F: {
|
|
@@ -47422,7 +47422,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47422
47422
|
function J0() {
|
|
47423
47423
|
for (; ot !== null; ) {
|
|
47424
47424
|
var s = ot, d = s.child;
|
|
47425
|
-
(s.subtreeFlags & Ut) !==
|
|
47425
|
+
(s.subtreeFlags & Ut) !== $e && d !== null ? (d.return = s, ot = d) : Z0();
|
|
47426
47426
|
}
|
|
47427
47427
|
}
|
|
47428
47428
|
function Z0() {
|
|
@@ -47445,7 +47445,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47445
47445
|
}
|
|
47446
47446
|
function ey(s) {
|
|
47447
47447
|
var d = s.alternate, N = s.flags;
|
|
47448
|
-
if ((N & bt) !==
|
|
47448
|
+
if ((N & bt) !== $e) {
|
|
47449
47449
|
switch (or(s), s.tag) {
|
|
47450
47450
|
case P:
|
|
47451
47451
|
case z:
|
|
@@ -47508,7 +47508,7 @@ Check the render method of \`` + D + "`.");
|
|
|
47508
47508
|
var ae = Y.destroy;
|
|
47509
47509
|
if (ae !== void 0 && typeof ae != "function") {
|
|
47510
47510
|
var le = void 0;
|
|
47511
|
-
(Y.tag & cn) !==
|
|
47511
|
+
(Y.tag & cn) !== $e ? le = "useLayoutEffect" : (Y.tag & Ra) !== $e ? le = "useInsertionEffect" : le = "useEffect";
|
|
47512
47512
|
var me = void 0;
|
|
47513
47513
|
ae === null ? me = " You returned null. If your effect does not require clean up, return undefined (or nothing)." : typeof ae.then == "function" ? me = `
|
|
47514
47514
|
|
|
@@ -47532,7 +47532,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
47532
47532
|
}
|
|
47533
47533
|
}
|
|
47534
47534
|
function ty(s, d) {
|
|
47535
|
-
if ((d.flags & ut) !==
|
|
47535
|
+
if ((d.flags & ut) !== $e)
|
|
47536
47536
|
switch (d.tag) {
|
|
47537
47537
|
case B: {
|
|
47538
47538
|
var N = d.stateNode.passiveEffectDuration, D = d.memoizedProps, M = D.id, Y = D.onPostCommit, re = Bm(), ae = d.alternate === null ? "mount" : "update";
|
|
@@ -47557,7 +47557,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
47557
47557
|
}
|
|
47558
47558
|
}
|
|
47559
47559
|
function ry(s, d, N, D) {
|
|
47560
|
-
if ((N.flags & fr) !==
|
|
47560
|
+
if ((N.flags & fr) !== $e)
|
|
47561
47561
|
switch (N.tag) {
|
|
47562
47562
|
case P:
|
|
47563
47563
|
case z:
|
|
@@ -48018,7 +48018,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48018
48018
|
}
|
|
48019
48019
|
}
|
|
48020
48020
|
var re = Ae();
|
|
48021
|
-
if (d.subtreeFlags &
|
|
48021
|
+
if (d.subtreeFlags & Ar)
|
|
48022
48022
|
for (var ae = d.child; ae !== null; )
|
|
48023
48023
|
or(ae), Pg(ae, s), ae = ae.sibling;
|
|
48024
48024
|
or(re);
|
|
@@ -48130,7 +48130,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48130
48130
|
case I: {
|
|
48131
48131
|
sa(d, s), ka(s);
|
|
48132
48132
|
var er = s.child;
|
|
48133
|
-
if (er.flags &
|
|
48133
|
+
if (er.flags & Cr) {
|
|
48134
48134
|
var Te = er.stateNode, ke = er.memoizedState, be = ke !== null;
|
|
48135
48135
|
if (Te.isHidden = be, be) {
|
|
48136
48136
|
var Xe = er.alternate !== null && er.alternate.memoizedState !== null;
|
|
@@ -48157,7 +48157,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48157
48157
|
Cn = nt || ct, sa(d, s), Cn = nt;
|
|
48158
48158
|
} else
|
|
48159
48159
|
sa(d, s);
|
|
48160
|
-
if (ka(s), M &
|
|
48160
|
+
if (ka(s), M & Cr) {
|
|
48161
48161
|
var Zt = s.stateNode, Nt = s.memoizedState, ir = Nt !== null, Yt = s;
|
|
48162
48162
|
if (Zt.isHidden = ir, ir && !ct && (Yt.mode & Wt) !== Tt) {
|
|
48163
48163
|
ot = Yt;
|
|
@@ -48217,13 +48217,13 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48217
48217
|
continue;
|
|
48218
48218
|
}
|
|
48219
48219
|
}
|
|
48220
|
-
(M.subtreeFlags & fr) !==
|
|
48220
|
+
(M.subtreeFlags & fr) !== $e && Y !== null ? (Y.return = M, ot = Y) : cp(s, d, N);
|
|
48221
48221
|
}
|
|
48222
48222
|
}
|
|
48223
48223
|
function cp(s, d, N) {
|
|
48224
48224
|
for (; ot !== null; ) {
|
|
48225
48225
|
var D = ot;
|
|
48226
|
-
if ((D.flags & fr) !==
|
|
48226
|
+
if ((D.flags & fr) !== $e) {
|
|
48227
48227
|
var M = D.alternate;
|
|
48228
48228
|
or(D);
|
|
48229
48229
|
try {
|
|
@@ -48340,13 +48340,13 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48340
48340
|
function vy(s, d, N, D) {
|
|
48341
48341
|
for (; ot !== null; ) {
|
|
48342
48342
|
var M = ot, Y = M.child;
|
|
48343
|
-
(M.subtreeFlags & hr) !==
|
|
48343
|
+
(M.subtreeFlags & hr) !== $e && Y !== null ? (Y.return = M, ot = Y) : yy(s, d, N, D);
|
|
48344
48344
|
}
|
|
48345
48345
|
}
|
|
48346
48346
|
function yy(s, d, N, D) {
|
|
48347
48347
|
for (; ot !== null; ) {
|
|
48348
48348
|
var M = ot;
|
|
48349
|
-
if ((M.flags & Kt) !==
|
|
48349
|
+
if ((M.flags & Kt) !== $e) {
|
|
48350
48350
|
or(M);
|
|
48351
48351
|
try {
|
|
48352
48352
|
_y(d, M, N, D);
|
|
@@ -48391,7 +48391,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48391
48391
|
function Sy() {
|
|
48392
48392
|
for (; ot !== null; ) {
|
|
48393
48393
|
var s = ot, d = s.child;
|
|
48394
|
-
if ((ot.flags & vr) !==
|
|
48394
|
+
if ((ot.flags & vr) !== $e) {
|
|
48395
48395
|
var N = s.deletions;
|
|
48396
48396
|
if (N !== null) {
|
|
48397
48397
|
for (var D = 0; D < N.length; D++) {
|
|
@@ -48414,13 +48414,13 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48414
48414
|
ot = s;
|
|
48415
48415
|
}
|
|
48416
48416
|
}
|
|
48417
|
-
(s.subtreeFlags & hr) !==
|
|
48417
|
+
(s.subtreeFlags & hr) !== $e && d !== null ? (d.return = s, ot = d) : Ey();
|
|
48418
48418
|
}
|
|
48419
48419
|
}
|
|
48420
48420
|
function Ey() {
|
|
48421
48421
|
for (; ot !== null; ) {
|
|
48422
48422
|
var s = ot;
|
|
48423
|
-
(s.flags & Kt) !==
|
|
48423
|
+
(s.flags & Kt) !== $e && (or(s), by(s), ur());
|
|
48424
48424
|
var d = s.sibling;
|
|
48425
48425
|
if (d !== null) {
|
|
48426
48426
|
d.return = s.return, ot = d;
|
|
@@ -48784,7 +48784,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48784
48784
|
return !s && zy.current !== null && c("The current testing environment is not configured to support act(...)"), s;
|
|
48785
48785
|
}
|
|
48786
48786
|
}
|
|
48787
|
-
var Hy = Math.ceil, pp = a.ReactCurrentDispatcher, mp = a.ReactCurrentOwner,
|
|
48787
|
+
var Hy = Math.ceil, pp = a.ReactCurrentDispatcher, mp = a.ReactCurrentOwner, Or = a.ReactCurrentBatchConfig, oa = a.ReactCurrentActQueue, Zr = (
|
|
48788
48788
|
/* */
|
|
48789
48789
|
0
|
|
48790
48790
|
), gp = (
|
|
@@ -48796,7 +48796,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48796
48796
|
), Ii = (
|
|
48797
48797
|
/* */
|
|
48798
48798
|
4
|
|
48799
|
-
), os = 0, ac = 1, To = 2, tf = 3, sc = 4, Dg = 5, vp = 6, zt = Zr, Jn = null,
|
|
48799
|
+
), os = 0, ac = 1, To = 2, tf = 3, sc = 4, Dg = 5, vp = 6, zt = Zr, Jn = null, kr = null, hn = Ue, La = Ue, yp = Vn(Ue), pn = os, oc = null, rf = Ue, lc = Ue, nf = Ue, uc = null, ui = null, _p = 0, Fg = 500, jg = 1 / 0, Vy = 500, ls = null;
|
|
48800
48800
|
function Il() {
|
|
48801
48801
|
jg = Hr() + Vy;
|
|
48802
48802
|
}
|
|
@@ -48818,8 +48818,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48818
48818
|
return Ya(hn);
|
|
48819
48819
|
var N = ue() !== te;
|
|
48820
48820
|
if (N) {
|
|
48821
|
-
if (
|
|
48822
|
-
var D =
|
|
48821
|
+
if (Or.transition !== null) {
|
|
48822
|
+
var D = Or.transition;
|
|
48823
48823
|
D._updatedFibers || (D._updatedFibers = /* @__PURE__ */ new Set()), D._updatedFibers.add(s);
|
|
48824
48824
|
}
|
|
48825
48825
|
return lf === zr && (lf = oo()), lf;
|
|
@@ -48868,7 +48868,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
48868
48868
|
N != null && Zg(N);
|
|
48869
48869
|
var re;
|
|
48870
48870
|
if (M === At)
|
|
48871
|
-
s.tag ===
|
|
48871
|
+
s.tag === wr ? (oa.isBatchingLegacy !== null && (oa.didScheduleLegacyUpdate = !0), Sl(Bg.bind(null, s))) : mo(Bg.bind(null, s)), yc ? oa.current !== null ? oa.current.push(ln) : Ql(function() {
|
|
48872
48872
|
(zt & (Pn | Ii)) === Zr && ln();
|
|
48873
48873
|
}) : mf(Fn, ln), re = null;
|
|
48874
48874
|
else {
|
|
@@ -49040,10 +49040,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49040
49040
|
throw new Error("Should not already be working.");
|
|
49041
49041
|
Da();
|
|
49042
49042
|
var d = io(s, Ue);
|
|
49043
|
-
if (!
|
|
49043
|
+
if (!Nr(d, At))
|
|
49044
49044
|
return ci(s, Hr()), null;
|
|
49045
49045
|
var N = ff(s, d);
|
|
49046
|
-
if (s.tag !==
|
|
49046
|
+
if (s.tag !== wr && N === To) {
|
|
49047
49047
|
var D = ao(s);
|
|
49048
49048
|
D !== Ue && (d = D, N = Rp(s, D));
|
|
49049
49049
|
}
|
|
@@ -49060,11 +49060,11 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49060
49060
|
d !== Ue && (Ru(s, Ct(d, At)), ci(s, Hr()), (zt & (Pn | Ii)) === Zr && (Il(), ln()));
|
|
49061
49061
|
}
|
|
49062
49062
|
function e_(s) {
|
|
49063
|
-
var d = Dn(), N =
|
|
49063
|
+
var d = Dn(), N = Or.transition;
|
|
49064
49064
|
try {
|
|
49065
|
-
return
|
|
49065
|
+
return Or.transition = null, Dr(ks), s();
|
|
49066
49066
|
} finally {
|
|
49067
|
-
Dr(d),
|
|
49067
|
+
Dr(d), Or.transition = N;
|
|
49068
49068
|
}
|
|
49069
49069
|
}
|
|
49070
49070
|
function t_(s, d) {
|
|
@@ -49078,22 +49078,22 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49078
49078
|
}
|
|
49079
49079
|
}
|
|
49080
49080
|
function r_(s, d, N, D, M) {
|
|
49081
|
-
var Y = Dn(), re =
|
|
49081
|
+
var Y = Dn(), re = Or.transition;
|
|
49082
49082
|
try {
|
|
49083
|
-
return
|
|
49083
|
+
return Or.transition = null, Dr(En), s(d, N, D, M);
|
|
49084
49084
|
} finally {
|
|
49085
|
-
Dr(Y),
|
|
49085
|
+
Dr(Y), Or.transition = re, zt === Zr && Il();
|
|
49086
49086
|
}
|
|
49087
49087
|
}
|
|
49088
49088
|
function cf(s) {
|
|
49089
|
-
Hs !== null && Hs.tag ===
|
|
49089
|
+
Hs !== null && Hs.tag === wr && (zt & (Pn | Ii)) === Zr && Da();
|
|
49090
49090
|
var d = zt;
|
|
49091
49091
|
zt |= gp;
|
|
49092
|
-
var N =
|
|
49092
|
+
var N = Or.transition, D = Dn();
|
|
49093
49093
|
try {
|
|
49094
|
-
return
|
|
49094
|
+
return Or.transition = null, Dr(En), s ? s() : void 0;
|
|
49095
49095
|
} finally {
|
|
49096
|
-
Dr(D),
|
|
49096
|
+
Dr(D), Or.transition = N, zt = d, (zt & (Pn | Ii)) === Zr && ln();
|
|
49097
49097
|
}
|
|
49098
49098
|
}
|
|
49099
49099
|
function n_() {
|
|
@@ -49102,11 +49102,11 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49102
49102
|
function i_(s) {
|
|
49103
49103
|
var d = zt;
|
|
49104
49104
|
zt |= gp;
|
|
49105
|
-
var N =
|
|
49105
|
+
var N = Or.transition, D = Dn();
|
|
49106
49106
|
try {
|
|
49107
|
-
|
|
49107
|
+
Or.transition = null, Dr(En), s();
|
|
49108
49108
|
} finally {
|
|
49109
|
-
Dr(D),
|
|
49109
|
+
Dr(D), Or.transition = N, zt = d, zt === Zr && (Il(), ln());
|
|
49110
49110
|
}
|
|
49111
49111
|
}
|
|
49112
49112
|
function df(s, d) {
|
|
@@ -49118,21 +49118,21 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49118
49118
|
function Co(s, d) {
|
|
49119
49119
|
s.finishedWork = null, s.finishedLanes = Ue;
|
|
49120
49120
|
var N = s.timeoutHandle;
|
|
49121
|
-
if (N !== Xl && (s.timeoutHandle = Xl, hi(N)),
|
|
49122
|
-
for (var D =
|
|
49121
|
+
if (N !== Xl && (s.timeoutHandle = Xl, hi(N)), kr !== null)
|
|
49122
|
+
for (var D = kr.return; D !== null; ) {
|
|
49123
49123
|
var M = D.alternate;
|
|
49124
49124
|
pg(M, D), D = D.return;
|
|
49125
49125
|
}
|
|
49126
49126
|
Jn = s;
|
|
49127
49127
|
var Y = Po(s.current, null);
|
|
49128
|
-
return
|
|
49128
|
+
return kr = Y, hn = La = d, pn = os, oc = null, rf = Ue, lc = Ue, nf = Ue, uc = null, ui = null, Dv(), Ne.discardPendingWarnings(), Y;
|
|
49129
49129
|
}
|
|
49130
49130
|
function zg(s, d) {
|
|
49131
49131
|
do {
|
|
49132
|
-
var N =
|
|
49132
|
+
var N = kr;
|
|
49133
49133
|
try {
|
|
49134
49134
|
if (od(), vm(), ur(), mp.current = null, N === null || N.return === null) {
|
|
49135
|
-
pn = ac, oc = d,
|
|
49135
|
+
pn = ac, oc = d, kr = null;
|
|
49136
49136
|
return;
|
|
49137
49137
|
}
|
|
49138
49138
|
if (A && N.mode & Bt && Ud(N, !0), S)
|
|
@@ -49143,7 +49143,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49143
49143
|
Qa(N, d, hn);
|
|
49144
49144
|
d0(s, N.return, N, d, hn), Wg(N);
|
|
49145
49145
|
} catch (M) {
|
|
49146
|
-
d = M,
|
|
49146
|
+
d = M, kr === N && N !== null ? (N = N.return, kr = N) : N = kr;
|
|
49147
49147
|
continue;
|
|
49148
49148
|
}
|
|
49149
49149
|
return;
|
|
@@ -49194,13 +49194,13 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49194
49194
|
zg(s, Y);
|
|
49195
49195
|
}
|
|
49196
49196
|
while (!0);
|
|
49197
|
-
if (od(), zt = N, Hg(D),
|
|
49197
|
+
if (od(), zt = N, Hg(D), kr !== null)
|
|
49198
49198
|
throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");
|
|
49199
49199
|
return Ja(), Jn = null, hn = Ue, pn;
|
|
49200
49200
|
}
|
|
49201
49201
|
function u_() {
|
|
49202
|
-
for (;
|
|
49203
|
-
Vg(
|
|
49202
|
+
for (; kr !== null; )
|
|
49203
|
+
Vg(kr);
|
|
49204
49204
|
}
|
|
49205
49205
|
function c_(s, d) {
|
|
49206
49206
|
var N = zt;
|
|
@@ -49222,33 +49222,33 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49222
49222
|
zg(s, Y);
|
|
49223
49223
|
}
|
|
49224
49224
|
while (!0);
|
|
49225
|
-
return od(), Hg(D), zt = N,
|
|
49225
|
+
return od(), Hg(D), zt = N, kr !== null ? (Qi(), os) : (Ja(), Jn = null, hn = Ue, pn);
|
|
49226
49226
|
}
|
|
49227
49227
|
function d_() {
|
|
49228
|
-
for (;
|
|
49229
|
-
Vg(
|
|
49228
|
+
for (; kr !== null && !ki(); )
|
|
49229
|
+
Vg(kr);
|
|
49230
49230
|
}
|
|
49231
49231
|
function Vg(s) {
|
|
49232
49232
|
var d = s.alternate;
|
|
49233
49233
|
or(s);
|
|
49234
49234
|
var N;
|
|
49235
|
-
(s.mode & Bt) !== Tt ? (Ih(s), N = Pp(d, s, La), Ud(s, !0)) : N = Pp(d, s, La), ur(), s.memoizedProps = s.pendingProps, N === null ? Wg(s) :
|
|
49235
|
+
(s.mode & Bt) !== Tt ? (Ih(s), N = Pp(d, s, La), Ud(s, !0)) : N = Pp(d, s, La), ur(), s.memoizedProps = s.pendingProps, N === null ? Wg(s) : kr = N, mp.current = null;
|
|
49236
49236
|
}
|
|
49237
49237
|
function Wg(s) {
|
|
49238
49238
|
var d = s;
|
|
49239
49239
|
do {
|
|
49240
49240
|
var N = d.alternate, D = d.return;
|
|
49241
|
-
if ((d.flags & Gi) ===
|
|
49241
|
+
if ((d.flags & Gi) === $e) {
|
|
49242
49242
|
or(d);
|
|
49243
49243
|
var M = void 0;
|
|
49244
49244
|
if ((d.mode & Bt) === Tt ? M = hg(N, d, La) : (Ih(d), M = hg(N, d, La), Ud(d, !1)), ur(), M !== null) {
|
|
49245
|
-
|
|
49245
|
+
kr = M;
|
|
49246
49246
|
return;
|
|
49247
49247
|
}
|
|
49248
49248
|
} else {
|
|
49249
49249
|
var Y = $0(N, d);
|
|
49250
49250
|
if (Y !== null) {
|
|
49251
|
-
Y.flags &= la,
|
|
49251
|
+
Y.flags &= la, kr = Y;
|
|
49252
49252
|
return;
|
|
49253
49253
|
}
|
|
49254
49254
|
if ((d.mode & Bt) !== Tt) {
|
|
@@ -49258,27 +49258,27 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49258
49258
|
d.actualDuration = re;
|
|
49259
49259
|
}
|
|
49260
49260
|
if (D !== null)
|
|
49261
|
-
D.flags |= Gi, D.subtreeFlags =
|
|
49261
|
+
D.flags |= Gi, D.subtreeFlags = $e, D.deletions = null;
|
|
49262
49262
|
else {
|
|
49263
|
-
pn = vp,
|
|
49263
|
+
pn = vp, kr = null;
|
|
49264
49264
|
return;
|
|
49265
49265
|
}
|
|
49266
49266
|
}
|
|
49267
49267
|
var le = d.sibling;
|
|
49268
49268
|
if (le !== null) {
|
|
49269
|
-
|
|
49269
|
+
kr = le;
|
|
49270
49270
|
return;
|
|
49271
49271
|
}
|
|
49272
|
-
d = D,
|
|
49272
|
+
d = D, kr = d;
|
|
49273
49273
|
} while (d !== null);
|
|
49274
49274
|
pn === os && (pn = Dg);
|
|
49275
49275
|
}
|
|
49276
49276
|
function Ao(s, d, N) {
|
|
49277
|
-
var D = Dn(), M =
|
|
49277
|
+
var D = Dn(), M = Or.transition;
|
|
49278
49278
|
try {
|
|
49279
|
-
|
|
49279
|
+
Or.transition = null, Dr(En), f_(s, d, N, D);
|
|
49280
49280
|
} finally {
|
|
49281
|
-
|
|
49281
|
+
Or.transition = M, Dr(D);
|
|
49282
49282
|
}
|
|
49283
49283
|
return null;
|
|
49284
49284
|
}
|
|
@@ -49295,17 +49295,17 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49295
49295
|
throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");
|
|
49296
49296
|
s.callbackNode = null, s.callbackPriority = zr;
|
|
49297
49297
|
var re = Ct(M.lanes, M.childLanes);
|
|
49298
|
-
Of(s, re), s === Jn && (Jn = null,
|
|
49298
|
+
Of(s, re), s === Jn && (Jn = null, kr = null, hn = Ue), ((M.subtreeFlags & hr) !== $e || (M.flags & hr) !== $e) && (Ro || (Ro = !0, Ep = N, mf(bn, function() {
|
|
49299
49299
|
return Da(), null;
|
|
49300
49300
|
})));
|
|
49301
|
-
var ae = (M.subtreeFlags & (Ut |
|
|
49301
|
+
var ae = (M.subtreeFlags & (Ut | Ar | fr | hr)) !== $e, le = (M.flags & (Ut | Ar | fr | hr)) !== $e;
|
|
49302
49302
|
if (ae || le) {
|
|
49303
|
-
var me =
|
|
49304
|
-
|
|
49303
|
+
var me = Or.transition;
|
|
49304
|
+
Or.transition = null;
|
|
49305
49305
|
var ve = Dn();
|
|
49306
49306
|
Dr(En);
|
|
49307
49307
|
var Ee = zt;
|
|
49308
|
-
zt |= Ii, mp.current = null, Q0(s, M), zm(), fy(s, M, Y), Ua(s.containerInfo), s.current = M, ku(Y), hy(M, s, Y), ho(), Au(), zt = Ee, Dr(ve),
|
|
49308
|
+
zt |= Ii, mp.current = null, Q0(s, M), zm(), fy(s, M, Y), Ua(s.containerInfo), s.current = M, ku(Y), hy(M, s, Y), ho(), Au(), zt = Ee, Dr(ve), Or.transition = me;
|
|
49309
49309
|
} else
|
|
49310
49310
|
s.current = M, zm();
|
|
49311
49311
|
var Pe = Ro;
|
|
@@ -49322,15 +49322,15 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
49322
49322
|
var St = xp;
|
|
49323
49323
|
throw xp = null, St;
|
|
49324
49324
|
}
|
|
49325
|
-
return
|
|
49325
|
+
return Nr(cc, At) && s.tag !== wr && Da(), re = s.pendingLanes, Nr(re, At) ? (i0(), s === bp ? dc++ : (dc = 0, bp = s)) : dc = 0, ln(), fo(), null;
|
|
49326
49326
|
}
|
|
49327
49327
|
function Da() {
|
|
49328
49328
|
if (Hs !== null) {
|
|
49329
|
-
var s = pl(cc), d = $c(ks, s), N =
|
|
49329
|
+
var s = pl(cc), d = $c(ks, s), N = Or.transition, D = Dn();
|
|
49330
49330
|
try {
|
|
49331
|
-
return
|
|
49331
|
+
return Or.transition = null, Dr(d), p_();
|
|
49332
49332
|
} finally {
|
|
49333
|
-
Dr(D),
|
|
49333
|
+
Dr(D), Or.transition = N;
|
|
49334
49334
|
}
|
|
49335
49335
|
}
|
|
49336
49336
|
return !1;
|
|
@@ -49454,7 +49454,7 @@ Error message:
|
|
|
49454
49454
|
function hf(s, d, N) {
|
|
49455
49455
|
for (var D = s, M = null; D !== null; ) {
|
|
49456
49456
|
var Y = D.subtreeFlags & d;
|
|
49457
|
-
D !== M && D.child !== null && Y !==
|
|
49457
|
+
D !== M && D.child !== null && Y !== $e ? D = D.child : ((D.flags & d) !== $e && N(D), D.sibling !== null ? D = D.sibling : D = M = D.return);
|
|
49458
49458
|
}
|
|
49459
49459
|
}
|
|
49460
49460
|
var pf = null;
|
|
@@ -49506,7 +49506,7 @@ Error message:
|
|
|
49506
49506
|
case P:
|
|
49507
49507
|
case z:
|
|
49508
49508
|
case V: {
|
|
49509
|
-
var d =
|
|
49509
|
+
var d = kr && je(kr) || "Unknown", N = d;
|
|
49510
49510
|
if (!wp.has(N)) {
|
|
49511
49511
|
wp.add(N);
|
|
49512
49512
|
var D = je(s) || "Unknown";
|
|
@@ -49569,7 +49569,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49569
49569
|
}
|
|
49570
49570
|
}
|
|
49571
49571
|
function A_(s) {
|
|
49572
|
-
s.tag !==
|
|
49572
|
+
s.tag !== wr && Lg() && oa.current === null && c(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
49573
49573
|
|
|
49574
49574
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
49575
49575
|
|
|
@@ -49781,7 +49781,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49781
49781
|
}
|
|
49782
49782
|
}
|
|
49783
49783
|
function D_(s, d, N, D) {
|
|
49784
|
-
this.tag = s, this.key = N, this.elementType = null, this.type = null, this.stateNode = null, this.return = null, this.child = null, this.sibling = null, this.index = 0, this.ref = null, this.pendingProps = d, this.memoizedProps = null, this.updateQueue = null, this.memoizedState = null, this.dependencies = null, this.mode = D, this.flags =
|
|
49784
|
+
this.tag = s, this.key = N, this.elementType = null, this.type = null, this.stateNode = null, this.return = null, this.child = null, this.sibling = null, this.index = 0, this.ref = null, this.pendingProps = d, this.memoizedProps = null, this.updateQueue = null, this.memoizedState = null, this.dependencies = null, this.mode = D, this.flags = $e, this.subtreeFlags = $e, this.deletions = null, this.lanes = Ue, this.childLanes = Ue, this.alternate = null, this.actualDuration = Number.NaN, this.actualStartTime = Number.NaN, this.selfBaseDuration = Number.NaN, this.treeBaseDuration = Number.NaN, this.actualDuration = 0, this.actualStartTime = -1, this.selfBaseDuration = 0, this.treeBaseDuration = 0, this._debugSource = null, this._debugOwner = null, this._debugNeedsRemount = !1, this._debugHookTypes = null, !Fp && typeof Object.preventExtensions == "function" && Object.preventExtensions(this);
|
|
49785
49785
|
}
|
|
49786
49786
|
var Ri = function(s, d, N, D) {
|
|
49787
49787
|
return new D_(s, d, N, D);
|
|
@@ -49807,7 +49807,7 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49807
49807
|
}
|
|
49808
49808
|
function Po(s, d) {
|
|
49809
49809
|
var N = s.alternate;
|
|
49810
|
-
N === null ? (N = Ri(s.tag, d, s.key, s.mode), N.elementType = s.elementType, N.type = s.type, N.stateNode = s.stateNode, N._debugSource = s._debugSource, N._debugOwner = s._debugOwner, N._debugHookTypes = s._debugHookTypes, N.alternate = s, s.alternate = N) : (N.pendingProps = d, N.type = s.type, N.flags =
|
|
49810
|
+
N === null ? (N = Ri(s.tag, d, s.key, s.mode), N.elementType = s.elementType, N.type = s.type, N.stateNode = s.stateNode, N._debugSource = s._debugSource, N._debugOwner = s._debugOwner, N._debugHookTypes = s._debugHookTypes, N.alternate = s, s.alternate = N) : (N.pendingProps = d, N.type = s.type, N.flags = $e, N.subtreeFlags = $e, N.deletions = null, N.actualDuration = 0, N.actualStartTime = -1), N.flags = s.flags & Tr, N.childLanes = s.childLanes, N.lanes = s.lanes, N.child = s.child, N.memoizedProps = s.memoizedProps, N.memoizedState = s.memoizedState, N.updateQueue = s.updateQueue;
|
|
49811
49811
|
var D = s.dependencies;
|
|
49812
49812
|
switch (N.dependencies = D === null ? null : {
|
|
49813
49813
|
lanes: D.lanes,
|
|
@@ -49831,9 +49831,9 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
49831
49831
|
s.flags &= Tr | Mt;
|
|
49832
49832
|
var N = s.alternate;
|
|
49833
49833
|
if (N === null)
|
|
49834
|
-
s.childLanes = Ue, s.lanes = d, s.child = null, s.subtreeFlags =
|
|
49834
|
+
s.childLanes = Ue, s.lanes = d, s.child = null, s.subtreeFlags = $e, s.memoizedProps = null, s.memoizedState = null, s.updateQueue = null, s.dependencies = null, s.stateNode = null, s.selfBaseDuration = 0, s.treeBaseDuration = 0;
|
|
49835
49835
|
else {
|
|
49836
|
-
s.childLanes = N.childLanes, s.lanes = N.lanes, s.child = N.child, s.subtreeFlags =
|
|
49836
|
+
s.childLanes = N.childLanes, s.lanes = N.lanes, s.child = N.child, s.subtreeFlags = $e, s.deletions = null, s.memoizedProps = N.memoizedProps, s.memoizedState = N.memoizedState, s.updateQueue = N.updateQueue, s.type = N.type;
|
|
49837
49837
|
var D = N.dependencies;
|
|
49838
49838
|
s.dependencies = D === null ? null : {
|
|
49839
49839
|
lanes: D.lanes,
|
|
@@ -49975,7 +49975,7 @@ Check the render method of \`` + me + "`.");
|
|
|
49975
49975
|
case Ko:
|
|
49976
49976
|
this._debugRootType = N ? "hydrateRoot()" : "createRoot()";
|
|
49977
49977
|
break;
|
|
49978
|
-
case
|
|
49978
|
+
case wr:
|
|
49979
49979
|
this._debugRootType = N ? "hydrate()" : "render()";
|
|
49980
49980
|
break;
|
|
49981
49981
|
}
|
|
@@ -51073,9 +51073,9 @@ function ImageClickWrapperComponent(o) {
|
|
|
51073
51073
|
var Le;
|
|
51074
51074
|
if ((f.length === G.length || E && G.length > 0) && !W) {
|
|
51075
51075
|
ee(!0);
|
|
51076
|
-
const We = G[G.length - 1], je = A == null ? void 0 : A.correctFeedbacks.find((
|
|
51077
|
-
(!((Le = A == null ? void 0 : A.correctFeedbacks) != null && Le.length) || A != null && A.correctFeedbacks.some((
|
|
51078
|
-
|
|
51076
|
+
const We = G[G.length - 1], je = A == null ? void 0 : A.correctFeedbacks.find(($e) => $e.id === We.id);
|
|
51077
|
+
(!((Le = A == null ? void 0 : A.correctFeedbacks) != null && Le.length) || A != null && A.correctFeedbacks.some(($e) => !$e.desc) || E) && (I(($e) => ({
|
|
51078
|
+
...$e,
|
|
51079
51079
|
show: !0,
|
|
51080
51080
|
success: !0,
|
|
51081
51081
|
text: je ? je.desc : l.solution.right.desc,
|
|
@@ -51116,13 +51116,13 @@ function ImageClickWrapperComponent(o) {
|
|
|
51116
51116
|
q && n(!0);
|
|
51117
51117
|
}, [q, n]);
|
|
51118
51118
|
const pt = (Le, We = !1) => {
|
|
51119
|
-
var je,
|
|
51119
|
+
var je, $e;
|
|
51120
51120
|
if (!W) {
|
|
51121
51121
|
const { rewards: jt, desc: Mt } = qe.wrong;
|
|
51122
51122
|
let ut = Mt, vr = jt;
|
|
51123
|
-
const Yr = (je = A == null ? void 0 : A.wrongFeedbacks) == null ? void 0 : je.find((
|
|
51124
|
-
Yr && (ut = Yr.desc, vr = Yr.rewards), h && (H([]), We && (
|
|
51125
|
-
|
|
51123
|
+
const Yr = (je = A == null ? void 0 : A.wrongFeedbacks) == null ? void 0 : je.find((ze) => ze.id === Le.id);
|
|
51124
|
+
Yr && (ut = Yr.desc, vr = Yr.rewards), h && (H([]), We && ($e = l == null ? void 0 : l.orderFeedback) != null && $e.desc && (ut = l.orderFeedback.desc, vr = l.orderFeedback.rewards)), y && (yt(), kt()), I((ze) => ({
|
|
51125
|
+
...ze,
|
|
51126
51126
|
show: !0,
|
|
51127
51127
|
success: !1,
|
|
51128
51128
|
text: ut,
|
|
@@ -51155,18 +51155,18 @@ function ImageClickWrapperComponent(o) {
|
|
|
51155
51155
|
Ke
|
|
51156
51156
|
]), he = (Le) => {
|
|
51157
51157
|
var We, je;
|
|
51158
|
-
if (!G.some((
|
|
51158
|
+
if (!G.some(($e) => $e.index === Le.index) && !B.show && !W) {
|
|
51159
51159
|
Be("click-ui");
|
|
51160
|
-
let
|
|
51160
|
+
let $e = qe.right.desc, { rewards: jt } = qe.right;
|
|
51161
51161
|
const Mt = [...G, Le];
|
|
51162
51162
|
if (h && Le.index === G.length || !h) {
|
|
51163
51163
|
if (y && kt(Oe), t(), (We = A == null ? void 0 : A.correctFeedbacks) != null && We.length) {
|
|
51164
51164
|
const ut = (je = A.correctFeedbacks) == null ? void 0 : je.find((vr) => vr.id === Le.id);
|
|
51165
|
-
ut && (
|
|
51165
|
+
ut && ($e = ut.desc, jt = ut.rewards), !$e && f.length > Mt.length && !E ? tr(jt, !0) : $e && !E && (I((vr) => ({
|
|
51166
51166
|
...vr,
|
|
51167
51167
|
show: !0,
|
|
51168
51168
|
success: !0,
|
|
51169
|
-
text:
|
|
51169
|
+
text: $e,
|
|
51170
51170
|
rewards: jt
|
|
51171
51171
|
})), y && yt());
|
|
51172
51172
|
}
|
|
@@ -57408,7 +57408,7 @@ function DialogComponent({
|
|
|
57408
57408
|
progress: h
|
|
57409
57409
|
}) {
|
|
57410
57410
|
var Yr;
|
|
57411
|
-
const y = (h == null ? void 0 : h.line) || 0, [E, g] = useState(y), [_, p] = useState(!!u), [x, C] = useState(!1), [T, S] = useState(!1), A = useThree((
|
|
57411
|
+
const y = (h == null ? void 0 : h.line) || 0, [E, g] = useState(y), [_, p] = useState(!!u), [x, C] = useState(!1), [T, S] = useState(!1), A = useThree((ze) => ze.scene), R = useThree((ze) => ze.camera), { start: P, stop: w } = useTimeout(), O = useRef([]), k = useMemo(() => R.clone(), []), L = useRef({ pos: [0, 0, 0], child: null }), F = r[E], G = r[E - 1], H = useRef(!1), W = !!n, { voiceOver: ee, decision: q } = F || {}, z = useRef({}), B = (Yr = F == null ? void 0 : F.slots) == null ? void 0 : Yr.find((ze) => ze.talking), I = useRef(!1), { startAnimation: U, startAnimationUrl: V, resetActives: X, preloadTalking: Q, unmountActives: J } = useStateMachine(r), ie = useRef(), ne = Object.keys((F == null ? void 0 : F.audio) || {}).length, Z = Object.keys((F == null ? void 0 : F.voice) || {}).length, se = ee || (F == null ? void 0 : F.type) === "conversationalNarration", oe = q || (F == null ? void 0 : F.type) === "conversationalDecision", de = F.type === "conversationalCamera", fe = _ && !oe && !de, [ce, xe] = useState({
|
|
57412
57412
|
text: "",
|
|
57413
57413
|
name: "",
|
|
57414
57414
|
inScene: !1,
|
|
@@ -57416,33 +57416,33 @@ function DialogComponent({
|
|
|
57416
57416
|
voiceOver: !1,
|
|
57417
57417
|
avatar: "",
|
|
57418
57418
|
show: !1
|
|
57419
|
-
}), Oe = useMemo(() => r.reduce((
|
|
57420
|
-
|
|
57421
|
-
}),
|
|
57422
|
-
const
|
|
57419
|
+
}), Oe = useMemo(() => r.reduce((ze, Me) => (Me.slots && Me.slots.filter((Et) => Et.uid).forEach((Et) => {
|
|
57420
|
+
ze.includes(Et.uid) || ze.push(Et.uid);
|
|
57421
|
+
}), ze), []), [r]), Re = useCallback((ze) => e({ type: "translate", payload: ze }), [e]), [Ve, Be] = useState([]), qe = useMemo(() => Ve[Ve.length - 1], [Ve]), ft = useCallback(() => {
|
|
57422
|
+
const ze = n.find((ht) => ht.fromId === qe) || n.find((ht) => ht.toId === qe), Me = r.find((ht) => ht.id === (ze == null ? void 0 : ze.fromId));
|
|
57423
57423
|
return !qe && (h == null ? void 0 : h.line) >= 0 ? { decision: !0 } : Me;
|
|
57424
57424
|
}, [n, r, qe]), vt = useCallback(() => {
|
|
57425
57425
|
if (W) {
|
|
57426
57426
|
const Me = ft();
|
|
57427
57427
|
return Me == null ? void 0 : Me.decision;
|
|
57428
57428
|
}
|
|
57429
|
-
const
|
|
57430
|
-
return E > 0 && (
|
|
57429
|
+
const ze = r[E - 1] ? r[E - 1] : {};
|
|
57430
|
+
return E > 0 && (ze == null ? void 0 : ze.decision);
|
|
57431
57431
|
}, [F, W, r, qe, n]), it = useCallback(() => {
|
|
57432
57432
|
if (W) {
|
|
57433
57433
|
const Me = ft();
|
|
57434
57434
|
return (Me == null ? void 0 : Me.type) === "conversationalCamera";
|
|
57435
57435
|
}
|
|
57436
|
-
const
|
|
57437
|
-
return E > 0 && (
|
|
57436
|
+
const ze = r[E - 1] ? r[E - 1] : {};
|
|
57437
|
+
return E > 0 && (ze == null ? void 0 : ze.type) === "conversationalCamera";
|
|
57438
57438
|
}, [F, W, r, qe, n]), dt = useCallback(
|
|
57439
|
-
(
|
|
57439
|
+
(ze) => {
|
|
57440
57440
|
var ht, Et;
|
|
57441
|
-
const Me = t.find((bt) => (bt == null ? void 0 : bt.uid) === (
|
|
57442
|
-
return ((Et = (ht =
|
|
57441
|
+
const Me = t.find((bt) => (bt == null ? void 0 : bt.uid) === (ze == null ? void 0 : ze.uid) ? bt : "");
|
|
57442
|
+
return ((Et = (ht = ze == null ? void 0 : ze.character) == null ? void 0 : ht.resource) == null ? void 0 : Et.url) || (Me == null ? void 0 : Me.completeUrl) || "";
|
|
57443
57443
|
},
|
|
57444
57444
|
[t]
|
|
57445
|
-
), tr = (
|
|
57445
|
+
), tr = (ze = () => {
|
|
57446
57446
|
}) => {
|
|
57447
57447
|
if (I.current)
|
|
57448
57448
|
I.current && (I.current = !1);
|
|
@@ -57467,7 +57467,7 @@ function DialogComponent({
|
|
|
57467
57467
|
});
|
|
57468
57468
|
},
|
|
57469
57469
|
onComplete: () => {
|
|
57470
|
-
|
|
57470
|
+
ze(), raycast.set(R.getWorldPosition(new Vector3(0, 0, 0)), R.getWorldDirection(new Vector3()));
|
|
57471
57471
|
const ht = raycast.intersectObjects(A.children, !0);
|
|
57472
57472
|
O.current = ht.filter((Et) => Et.distance < 10), O.current.length && O.current.forEach((Et) => {
|
|
57473
57473
|
const { object: bt } = Et;
|
|
@@ -57479,35 +57479,37 @@ function DialogComponent({
|
|
|
57479
57479
|
}
|
|
57480
57480
|
}, Ot = useCallback(() => {
|
|
57481
57481
|
L.current.child = null, L.current.parent = null, l && tr();
|
|
57482
|
-
}, [l]), yt = (
|
|
57482
|
+
}, [l]), yt = (ze, Me, ht, Et = !1) => {
|
|
57483
57483
|
const bt = Me.includes("seated");
|
|
57484
|
-
ht ? V(
|
|
57484
|
+
ht ? V(ze, ht.url, Me.includes("talking")).then((Kt) => {
|
|
57485
57485
|
if (Kt && BASIC_ACTIONS_TYPES_WHITELIST.includes(ht.animationId)) {
|
|
57486
|
-
const It = Kt.setLoop(LoopRepeat,
|
|
57487
|
-
|
|
57488
|
-
It.removeEventListener("loop",
|
|
57486
|
+
const It = Kt.setLoop(LoopRepeat, 1 / 0).getMixer(), Cr = () => {
|
|
57487
|
+
H.current ? U(ze, "idle").then(() => {
|
|
57488
|
+
It.removeEventListener("loop", Cr);
|
|
57489
|
+
}) : U(ze, ie.current === ze ? "neutral_talking" : "neutral").then(() => {
|
|
57490
|
+
It.removeEventListener("loop", Cr);
|
|
57489
57491
|
});
|
|
57490
57492
|
};
|
|
57491
|
-
It.addEventListener("loop",
|
|
57493
|
+
It.addEventListener("loop", Cr);
|
|
57492
57494
|
}
|
|
57493
|
-
}) : U(
|
|
57495
|
+
}) : U(ze, Et && !bt ? `${Me}-seated` : Me);
|
|
57494
57496
|
}, kt = () => {
|
|
57495
57497
|
if (!(B != null && B.emotion) || H.current)
|
|
57496
57498
|
return;
|
|
57497
|
-
const { emotion:
|
|
57499
|
+
const { emotion: ze, uid: Me, animation: ht } = B, Et = getCurrentVisible(Me, A);
|
|
57498
57500
|
if (Et) {
|
|
57499
57501
|
const { isSeated: bt } = Et;
|
|
57500
57502
|
Q(Me).then(() => {
|
|
57501
|
-
yt(Me, `${
|
|
57503
|
+
yt(Me, `${ze}_talking`, ht, bt), ie.current = Me;
|
|
57502
57504
|
});
|
|
57503
57505
|
}
|
|
57504
57506
|
}, Ft = () => {
|
|
57505
57507
|
if (!(B != null && B.uid) || H.current)
|
|
57506
57508
|
return;
|
|
57507
|
-
const { emotion:
|
|
57509
|
+
const { emotion: ze, uid: Me, animation: ht } = B, Et = getCurrentVisible(Me, A);
|
|
57508
57510
|
if (Et) {
|
|
57509
57511
|
const { isSeated: bt } = Et;
|
|
57510
|
-
ie.current === Me ? yt(Me, "neutral", null, bt) : yt(Me,
|
|
57512
|
+
ie.current === Me ? yt(Me, "neutral", null, bt) : yt(Me, ze, ht, bt), ie.current = null;
|
|
57511
57513
|
}
|
|
57512
57514
|
}, Ke = useCallback(() => {
|
|
57513
57515
|
H.current = !0, xe({ show: !1 }), Ot(), X(), l || e({ type: "success" });
|
|
@@ -57515,23 +57517,23 @@ function DialogComponent({
|
|
|
57515
57517
|
useEffect(() => () => {
|
|
57516
57518
|
z.current = {}, J();
|
|
57517
57519
|
}, []);
|
|
57518
|
-
const pt = (
|
|
57519
|
-
xe({ show: !1 }), g(
|
|
57520
|
+
const pt = (ze) => {
|
|
57521
|
+
xe({ show: !1 }), g(ze), e({ type: "notifyProgress", payload: { line: ze } });
|
|
57520
57522
|
}, lt = useCallback(
|
|
57521
|
-
(
|
|
57522
|
-
const Me =
|
|
57523
|
+
(ze = !0) => {
|
|
57524
|
+
const Me = ze ? ["fromId", "toId"] : ["toId", "fromId"], ht = n.filter((Kt) => Kt[Me[0]] === F.id), Et = ht.length === 1 ? ht[0] : ht.find((Kt) => Kt[Me[1]] === qe);
|
|
57523
57525
|
if (!(Et != null && Et[Me[0]])) {
|
|
57524
57526
|
Ke();
|
|
57525
57527
|
return;
|
|
57526
57528
|
}
|
|
57527
|
-
|
|
57529
|
+
ze || Be(Ve.slice(0, Ve.length - 1));
|
|
57528
57530
|
const bt = r.findIndex((Kt) => Kt.id === Et[Me[1]]);
|
|
57529
57531
|
bt >= 0 ? pt(bt) : Ke();
|
|
57530
57532
|
},
|
|
57531
57533
|
[F == null ? void 0 : F.id, e, n, Ke, r]
|
|
57532
57534
|
), he = useCallback(
|
|
57533
|
-
(
|
|
57534
|
-
const ht = [3, 2, 1][
|
|
57535
|
+
(ze, Me) => {
|
|
57536
|
+
const ht = [3, 2, 1][ze.id], bt = n.filter((It) => It.fromId === (F == null ? void 0 : F.id)).find((It) => parseInt(It.fromPointIndex) === ht), Kt = r.findIndex((It) => It.id === (bt == null ? void 0 : bt.toId));
|
|
57535
57537
|
Kt >= 0 ? (bt == null ? void 0 : bt.fromId) === (bt == null ? void 0 : bt.toId) ? Me() : pt(Kt) : Ke();
|
|
57536
57538
|
},
|
|
57537
57539
|
[F == null ? void 0 : F.id, n, Ke, r]
|
|
@@ -57539,14 +57541,14 @@ function DialogComponent({
|
|
|
57539
57541
|
if (z.current = { ...B }, S(!1), Ft(), W)
|
|
57540
57542
|
lt(!1);
|
|
57541
57543
|
else if (!vt()) {
|
|
57542
|
-
const
|
|
57543
|
-
xe({ show: !1 }), g(
|
|
57544
|
+
const ze = E - 1;
|
|
57545
|
+
xe({ show: !1 }), g(ze), e({ type: "notifyProgress", payload: { line: ze } });
|
|
57544
57546
|
}
|
|
57545
57547
|
}, [lt, e, W, G, E, B]), ye = useCallback(
|
|
57546
|
-
(
|
|
57548
|
+
(ze) => {
|
|
57547
57549
|
if (W) {
|
|
57548
|
-
if (
|
|
57549
|
-
const Me = [3, 2, 1][
|
|
57550
|
+
if (ze) {
|
|
57551
|
+
const Me = [3, 2, 1][ze.id], Et = n.filter((bt) => bt.fromId === F.id).find((bt) => parseInt(bt.fromPointIndex) === Me);
|
|
57550
57552
|
if (Et) {
|
|
57551
57553
|
const bt = r.findIndex((Kt) => Kt.id === Et.toId);
|
|
57552
57554
|
bt >= 0 && e({ type: "notifyProgress", payload: { line: bt } });
|
|
@@ -57561,9 +57563,9 @@ function DialogComponent({
|
|
|
57561
57563
|
},
|
|
57562
57564
|
[n, E, r, e, F.id, W]
|
|
57563
57565
|
), Ce = useCallback(
|
|
57564
|
-
(
|
|
57566
|
+
(ze, Me) => {
|
|
57565
57567
|
if (z.current = { ...B }, Be([...Ve, F.id]), S(!1), Ft(), W)
|
|
57566
|
-
|
|
57568
|
+
ze ? he(ze, Me) : lt();
|
|
57567
57569
|
else if (E < r.length - 1) {
|
|
57568
57570
|
const ht = E + 1;
|
|
57569
57571
|
pt(ht);
|
|
@@ -57585,14 +57587,14 @@ function DialogComponent({
|
|
|
57585
57587
|
]
|
|
57586
57588
|
), Le = () => {
|
|
57587
57589
|
p(!1), pe();
|
|
57588
|
-
}, We = () => W ? F && F.type !== "conversationalDecision" && !n.find((
|
|
57590
|
+
}, We = () => W ? F && F.type !== "conversationalDecision" && !n.find((ze) => ze.fromId === F.id) : E === r.length - 1, je = () => {
|
|
57589
57591
|
We() ? Ke() : (p(!1), Ce());
|
|
57590
57592
|
};
|
|
57591
57593
|
useEffect(() => {
|
|
57592
57594
|
if (W && !x) {
|
|
57593
|
-
const
|
|
57594
|
-
if (
|
|
57595
|
-
C(!0), g(
|
|
57595
|
+
const ze = h == null ? void 0 : h.line;
|
|
57596
|
+
if (ze >= 0) {
|
|
57597
|
+
C(!0), g(ze);
|
|
57596
57598
|
return;
|
|
57597
57599
|
}
|
|
57598
57600
|
const Me = r.filter((ht) => !n.find((Et) => Et.toId === ht.id));
|
|
@@ -57602,27 +57604,27 @@ function DialogComponent({
|
|
|
57602
57604
|
}
|
|
57603
57605
|
}
|
|
57604
57606
|
}, [n, W, r, x]);
|
|
57605
|
-
const
|
|
57606
|
-
if (z.current.uid ===
|
|
57607
|
+
const $e = (ze) => {
|
|
57608
|
+
if (z.current.uid === ze.uid || L.current.parent === ze)
|
|
57607
57609
|
return;
|
|
57608
|
-
const Me = new Object3D(), ht =
|
|
57610
|
+
const Me = new Object3D(), ht = ze.getObjectByName("Head_M");
|
|
57609
57611
|
ht.updateMatrixWorld(!0), Me.applyMatrix4(ht.matrixWorld), Me.applyQuaternion(R.quaternion);
|
|
57610
57612
|
const Et = l ? 2.5 : 2, bt = l ? 1.2 : 1.5;
|
|
57611
57613
|
Me.translateY(Et), Me.translateX(bt);
|
|
57612
57614
|
const Kt = new Vector3();
|
|
57613
57615
|
Kt.setFromMatrixPosition(ht.matrixWorld);
|
|
57614
|
-
const
|
|
57616
|
+
const Cr = Kt.project(R).x < 0;
|
|
57615
57617
|
L.current = {
|
|
57616
57618
|
pos: Me.position.toArray(),
|
|
57617
57619
|
child: ht,
|
|
57618
|
-
parent:
|
|
57619
|
-
isLeft:
|
|
57620
|
+
parent: ze,
|
|
57621
|
+
isLeft: Cr
|
|
57620
57622
|
};
|
|
57621
|
-
}, jt = (
|
|
57622
|
-
e({ type: "resetZIndexUIContainer", payload:
|
|
57623
|
+
}, jt = (ze) => {
|
|
57624
|
+
e({ type: "resetZIndexUIContainer", payload: ze });
|
|
57623
57625
|
};
|
|
57624
57626
|
useEffect(() => {
|
|
57625
|
-
var
|
|
57627
|
+
var ze;
|
|
57626
57628
|
if (se)
|
|
57627
57629
|
Ot(), xe({
|
|
57628
57630
|
text: F == null ? void 0 : F.text,
|
|
@@ -57640,19 +57642,19 @@ function DialogComponent({
|
|
|
57640
57642
|
Oe.filter((It) => !ht.includes(It)).forEach((It) => {
|
|
57641
57643
|
U(It, "idle");
|
|
57642
57644
|
}), Me.forEach((It) => {
|
|
57643
|
-
const
|
|
57644
|
-
if (
|
|
57645
|
-
const { isSeated: di } =
|
|
57645
|
+
const Cr = getCurrentVisible(It.uid, A);
|
|
57646
|
+
if (Cr) {
|
|
57647
|
+
const { isSeated: di } = Cr;
|
|
57646
57648
|
yt(It.uid, It.emotion, It.animation, di);
|
|
57647
57649
|
}
|
|
57648
57650
|
});
|
|
57649
57651
|
const bt = getCurrentVisible(B.uid, A), Kt = t.find((It) => It.uid === B.uid);
|
|
57650
57652
|
bt && !H.current ? setTimeout(() => {
|
|
57651
|
-
var It,
|
|
57653
|
+
var It, Cr;
|
|
57652
57654
|
if (B.uid === bt.uid) {
|
|
57653
|
-
|
|
57655
|
+
$e(bt);
|
|
57654
57656
|
const { isSeated: di, userData: ja } = bt, { emotion: la, animation: Gi } = B;
|
|
57655
|
-
!((It = ja._active) != null && It.includes("talking")) && !((
|
|
57657
|
+
!((It = ja._active) != null && It.includes("talking")) && !((Cr = ja._active) != null && Cr.includes(la)) && yt(B.uid, la, Gi, di);
|
|
57656
57658
|
const Lr = () => {
|
|
57657
57659
|
var ge;
|
|
57658
57660
|
xe({
|
|
@@ -57668,7 +57670,7 @@ function DialogComponent({
|
|
|
57668
57670
|
}
|
|
57669
57671
|
}, 150) : (Ot(), xe({
|
|
57670
57672
|
text: B.text,
|
|
57671
|
-
name: B.alias || ((
|
|
57673
|
+
name: B.alias || ((ze = B.character) == null ? void 0 : ze.name) || (Kt == null ? void 0 : Kt.name),
|
|
57672
57674
|
left: !1,
|
|
57673
57675
|
top: B.text.length > maxCharacterToSwitch,
|
|
57674
57676
|
inScene: !1,
|
|
@@ -57702,8 +57704,8 @@ function DialogComponent({
|
|
|
57702
57704
|
emitEvent: e,
|
|
57703
57705
|
pauseTTS: c,
|
|
57704
57706
|
onStart: () => {
|
|
57705
|
-
var
|
|
57706
|
-
(
|
|
57707
|
+
var ze;
|
|
57708
|
+
(ze = B == null ? void 0 : B.emotion) != null && ze.includes("think") || kt();
|
|
57707
57709
|
},
|
|
57708
57710
|
onError: () => {
|
|
57709
57711
|
Ft(), S(!0);
|
|
@@ -57715,10 +57717,10 @@ function DialogComponent({
|
|
|
57715
57717
|
useEffect(() => (Mt(), () => {
|
|
57716
57718
|
Mt();
|
|
57717
57719
|
}), [E, Mt]), useEffect(() => {
|
|
57718
|
-
var
|
|
57720
|
+
var ze;
|
|
57719
57721
|
if (((F == null ? void 0 : F.audioType) === "none" || T) && (ce != null && ce.show) && !(B != null && B.emotion.includes("think"))) {
|
|
57720
57722
|
kt();
|
|
57721
|
-
const Me = characterMs * (((
|
|
57723
|
+
const Me = characterMs * (((ze = ce == null ? void 0 : ce.text) == null ? void 0 : ze.length) || 0);
|
|
57722
57724
|
setTimeout(
|
|
57723
57725
|
() => {
|
|
57724
57726
|
Ft();
|
|
@@ -57727,9 +57729,9 @@ function DialogComponent({
|
|
|
57727
57729
|
);
|
|
57728
57730
|
}
|
|
57729
57731
|
}, [T, F == null ? void 0 : F.audioType, B == null ? void 0 : B.emotion, ce]), useEffect(() => {
|
|
57730
|
-
var
|
|
57732
|
+
var ze;
|
|
57731
57733
|
if (fe && ce.show && ((F == null ? void 0 : F.audioType) === "none" || T) && !c) {
|
|
57732
|
-
const Me = characterMs * (((
|
|
57734
|
+
const Me = characterMs * (((ze = ce == null ? void 0 : ce.text) == null ? void 0 : ze.length) || 0);
|
|
57733
57735
|
(!We() || We() && f) && P(Ce, Me < minMs ? minMs : Me);
|
|
57734
57736
|
}
|
|
57735
57737
|
return () => {
|
|
@@ -57765,7 +57767,7 @@ function DialogComponent({
|
|
|
57765
57767
|
`change-camera-${E}`
|
|
57766
57768
|
);
|
|
57767
57769
|
if (oe) {
|
|
57768
|
-
const
|
|
57770
|
+
const ze = {
|
|
57769
57771
|
...F.payload,
|
|
57770
57772
|
decisionNumber: r.filter((Me) => Me.decision).findIndex((Me) => Me.id === F.id) + 1,
|
|
57771
57773
|
inheritProps: {
|
|
@@ -57787,7 +57789,7 @@ function DialogComponent({
|
|
|
57787
57789
|
I.current = !1, jt(!1);
|
|
57788
57790
|
}
|
|
57789
57791
|
};
|
|
57790
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(DialogDecision, {
|
|
57792
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(DialogDecision, { ...ze });
|
|
57791
57793
|
}
|
|
57792
57794
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
57793
57795
|
ce.text ? /* @__PURE__ */ jsxRuntimeExports.jsx(BubbleWrapper, { translate: Re, currentMessage: ce }) : null,
|