mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix: Synchronous popstate transitions (#30759)
This is a refactor of the fix in #27505.
When a transition update is scheduled by a popstate event, (i.e. a back/
forward navigation) we attempt to render it synchronously even though
it's a transition, since it's likely the previous page's data is cached.
In #27505, I changed the implementation so that it only "upgrades" the
priority of the transition for a single attempt. If the attempt
suspends, say because the data is not cached after all, from then on it
should be treated as a normal transition.
But it turns out #27505 did not work as intended, because it relied on
marking the root with pending synchronous work (root.pendingLanes),
which was never cleared until the popstate update completed.
The test scenarios I wrote accidentally worked for a different reason
related to suspending the work loop, which I'm currently in the middle
of refactoring.
DiffTrain build for [ee7f6757c4](https://github.com/facebook/react/commit/ee7f6757c446c4e79ecc7e2bc22b8c9b712834b7)
This commit is contained in:
@@ -1 +1 @@
|
||||
1d989965a6aac11d71ecf28030796f5475a86642
|
||||
ee7f6757c446c4e79ecc7e2bc22b8c9b712834b7
|
||||
|
||||
@@ -1 +1 @@
|
||||
1d989965a6aac11d71ecf28030796f5475a86642
|
||||
ee7f6757c446c4e79ecc7e2bc22b8c9b712834b7
|
||||
|
||||
@@ -2001,7 +2001,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-classic-ee7f6757-20240823";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -1981,7 +1981,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-modern-ee7f6757-20240823";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-classic-ee7f6757-20240823";
|
||||
|
||||
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-modern-ee7f6757-20240823";
|
||||
|
||||
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-classic-ee7f6757-20240823";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-modern-ee7f6757-20240823";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -2057,28 +2057,41 @@ __DEV__ &&
|
||||
0 === root.tag &&
|
||||
(ReactSharedInternals.didScheduleLegacyUpdate = !0);
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
isFlushingWork = !0;
|
||||
do {
|
||||
var didPerformSomeWork = !1;
|
||||
for (var root = firstScheduledRoot; null !== root; ) {
|
||||
if (!onlyLegacy || (!disableLegacyMode && 0 === root.tag)) {
|
||||
var workInProgressRootRenderLanes$jscomp$0 =
|
||||
workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot
|
||||
? workInProgressRootRenderLanes$jscomp$0
|
||||
: 0
|
||||
);
|
||||
0 !== (workInProgressRootRenderLanes$jscomp$0 & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(
|
||||
root,
|
||||
workInProgressRootRenderLanes$jscomp$0
|
||||
));
|
||||
}
|
||||
if (!onlyLegacy || (!disableLegacyMode && 0 === root.tag))
|
||||
if (0 !== syncTransitionLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) var nextLanes = 0;
|
||||
else {
|
||||
var suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes;
|
||||
nextLanes =
|
||||
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
||||
nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
||||
nextLanes =
|
||||
nextLanes & 201326677
|
||||
? (nextLanes & 201326677) | 1
|
||||
: nextLanes
|
||||
? nextLanes | 2
|
||||
: 0;
|
||||
}
|
||||
0 !== nextLanes &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
} else
|
||||
(nextLanes = workInProgressRootRenderLanes),
|
||||
(nextLanes = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? nextLanes : 0
|
||||
)),
|
||||
0 !== (nextLanes & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
root = root.next;
|
||||
}
|
||||
} while (didPerformSomeWork);
|
||||
@@ -2090,6 +2103,7 @@ __DEV__ &&
|
||||
didScheduleMicrotask_act =
|
||||
didScheduleMicrotask =
|
||||
!1;
|
||||
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
|
||||
for (
|
||||
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
|
||||
null !== root;
|
||||
@@ -2105,8 +2119,7 @@ __DEV__ &&
|
||||
0 !== (nextLanes & 3) && (mightHavePendingSyncWork = !0));
|
||||
root = next;
|
||||
}
|
||||
currentEventTransitionLane = 0;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
}
|
||||
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
var pendingLanes = root.pendingLanes,
|
||||
@@ -12318,7 +12331,7 @@ __DEV__ &&
|
||||
0 !== (fiber.mode & 1) ||
|
||||
ReactSharedInternals.isBatchingLegacy ||
|
||||
((workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS),
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(!0));
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
}
|
||||
function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
@@ -12628,7 +12641,7 @@ __DEV__ &&
|
||||
}
|
||||
function flushSyncWork() {
|
||||
return (executionContext & (RenderContext | CommitContext)) === NoContext
|
||||
? (flushSyncWorkAcrossRoots_impl(!1), !1)
|
||||
? (flushSyncWorkAcrossRoots_impl(0, !1), !1)
|
||||
: !0;
|
||||
}
|
||||
function resetWorkInProgressStack() {
|
||||
@@ -13370,7 +13383,7 @@ __DEV__ &&
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: (nestedUpdateCount = 0);
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
enableDebugTracing && enableDebugTracing && groupEnd();
|
||||
enableSchedulingProfiler && markCommitStopped();
|
||||
return null;
|
||||
@@ -13470,7 +13483,7 @@ __DEV__ &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
commitDoubleInvokeEffectsInDEV(root, !0);
|
||||
executionContext = prevExecutionContext;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
if (enableTransitionTracing) {
|
||||
var prevPendingTransitionCallbacks = currentPendingTransitionCallbacks,
|
||||
prevRootTransitionCallbacks = root.transitionCallbacks,
|
||||
@@ -16776,11 +16789,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-1d989965-20240821",
|
||||
version: "19.0.0-www-classic-ee7f6757-20240823",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-1d989965-20240821"
|
||||
reconcilerVersion: "19.0.0-www-classic-ee7f6757-20240823"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16814,7 +16827,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-classic-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-classic-ee7f6757-20240823";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -1942,28 +1942,41 @@ __DEV__ &&
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now$1());
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
isFlushingWork = !0;
|
||||
do {
|
||||
var didPerformSomeWork = !1;
|
||||
for (var root = firstScheduledRoot; null !== root; ) {
|
||||
if (!onlyLegacy) {
|
||||
var workInProgressRootRenderLanes$jscomp$0 =
|
||||
workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot
|
||||
? workInProgressRootRenderLanes$jscomp$0
|
||||
: 0
|
||||
);
|
||||
0 !== (workInProgressRootRenderLanes$jscomp$0 & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(
|
||||
root,
|
||||
workInProgressRootRenderLanes$jscomp$0
|
||||
));
|
||||
}
|
||||
if (!onlyLegacy)
|
||||
if (0 !== syncTransitionLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) var nextLanes = 0;
|
||||
else {
|
||||
var suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes;
|
||||
nextLanes =
|
||||
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
||||
nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
||||
nextLanes =
|
||||
nextLanes & 201326677
|
||||
? (nextLanes & 201326677) | 1
|
||||
: nextLanes
|
||||
? nextLanes | 2
|
||||
: 0;
|
||||
}
|
||||
0 !== nextLanes &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
} else
|
||||
(nextLanes = workInProgressRootRenderLanes),
|
||||
(nextLanes = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? nextLanes : 0
|
||||
)),
|
||||
0 !== (nextLanes & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
root = root.next;
|
||||
}
|
||||
} while (didPerformSomeWork);
|
||||
@@ -1975,6 +1988,7 @@ __DEV__ &&
|
||||
didScheduleMicrotask_act =
|
||||
didScheduleMicrotask =
|
||||
!1;
|
||||
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
|
||||
for (
|
||||
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
|
||||
null !== root;
|
||||
@@ -1990,8 +2004,7 @@ __DEV__ &&
|
||||
0 !== (nextLanes & 3) && (mightHavePendingSyncWork = !0));
|
||||
root = next;
|
||||
}
|
||||
currentEventTransitionLane = 0;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
}
|
||||
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
var pendingLanes = root.pendingLanes,
|
||||
@@ -12144,7 +12157,7 @@ __DEV__ &&
|
||||
}
|
||||
function flushSyncWork() {
|
||||
return (executionContext & (RenderContext | CommitContext)) === NoContext
|
||||
? (flushSyncWorkAcrossRoots_impl(!1), !1)
|
||||
? (flushSyncWorkAcrossRoots_impl(0, !1), !1)
|
||||
: !0;
|
||||
}
|
||||
function resetWorkInProgressStack() {
|
||||
@@ -12880,7 +12893,7 @@ __DEV__ &&
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: (nestedUpdateCount = 0);
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
enableDebugTracing && enableDebugTracing && groupEnd();
|
||||
enableSchedulingProfiler && markCommitStopped();
|
||||
return null;
|
||||
@@ -12980,7 +12993,7 @@ __DEV__ &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
commitDoubleInvokeEffectsInDEV(root);
|
||||
executionContext = prevExecutionContext;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
if (enableTransitionTracing) {
|
||||
var prevPendingTransitionCallbacks = currentPendingTransitionCallbacks,
|
||||
prevRootTransitionCallbacks = root.transitionCallbacks,
|
||||
@@ -16189,11 +16202,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-1d989965-20240821",
|
||||
version: "19.0.0-www-modern-ee7f6757-20240823",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-1d989965-20240821"
|
||||
reconcilerVersion: "19.0.0-www-modern-ee7f6757-20240823"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16227,7 +16240,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-modern-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-modern-ee7f6757-20240823";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -1172,22 +1172,42 @@ function ensureRootIsScheduled(root) {
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now());
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
isFlushingWork = !0;
|
||||
do {
|
||||
var didPerformSomeWork = !1;
|
||||
for (var root = firstScheduledRoot; null !== root; ) {
|
||||
if (!onlyLegacy || (!disableLegacyMode && 0 === root.tag)) {
|
||||
var workInProgressRootRenderLanes$12 = workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$12 = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? workInProgressRootRenderLanes$12 : 0
|
||||
);
|
||||
0 !== (workInProgressRootRenderLanes$12 & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, workInProgressRootRenderLanes$12));
|
||||
}
|
||||
if (!onlyLegacy || (!disableLegacyMode && 0 === root.tag))
|
||||
if (0 !== syncTransitionLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) var JSCompiler_inline_result = 0;
|
||||
else {
|
||||
var suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes;
|
||||
JSCompiler_inline_result =
|
||||
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
||||
JSCompiler_inline_result &=
|
||||
pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
||||
JSCompiler_inline_result =
|
||||
JSCompiler_inline_result & 201326677
|
||||
? (JSCompiler_inline_result & 201326677) | 1
|
||||
: JSCompiler_inline_result
|
||||
? JSCompiler_inline_result | 2
|
||||
: 0;
|
||||
}
|
||||
0 !== JSCompiler_inline_result &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, JSCompiler_inline_result));
|
||||
} else
|
||||
(JSCompiler_inline_result = workInProgressRootRenderLanes),
|
||||
(JSCompiler_inline_result = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? JSCompiler_inline_result : 0
|
||||
)),
|
||||
0 !== (JSCompiler_inline_result & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, JSCompiler_inline_result));
|
||||
root = root.next;
|
||||
}
|
||||
} while (didPerformSomeWork);
|
||||
@@ -1196,6 +1216,7 @@ function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
||||
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
|
||||
for (
|
||||
var currentTime = now(), prev = null, root = firstScheduledRoot;
|
||||
null !== root;
|
||||
@@ -1211,8 +1232,7 @@ function processRootScheduleInMicrotask() {
|
||||
0 !== (nextLanes & 3) && (mightHavePendingSyncWork = !0));
|
||||
root = next;
|
||||
}
|
||||
currentEventTransitionLane = 0;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
}
|
||||
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
var pendingLanes = root.pendingLanes,
|
||||
@@ -1476,20 +1496,20 @@ function processUpdateQueue(
|
||||
? (firstBaseUpdate = firstPendingUpdate)
|
||||
: (lastBaseUpdate.next = firstPendingUpdate);
|
||||
lastBaseUpdate = lastPendingUpdate;
|
||||
var current$14 = workInProgress$jscomp$0.alternate;
|
||||
null !== current$14 &&
|
||||
((current$14 = current$14.updateQueue),
|
||||
(pendingQueue = current$14.lastBaseUpdate),
|
||||
var current$15 = workInProgress$jscomp$0.alternate;
|
||||
null !== current$15 &&
|
||||
((current$15 = current$15.updateQueue),
|
||||
(pendingQueue = current$15.lastBaseUpdate),
|
||||
pendingQueue !== lastBaseUpdate &&
|
||||
(null === pendingQueue
|
||||
? (current$14.firstBaseUpdate = firstPendingUpdate)
|
||||
? (current$15.firstBaseUpdate = firstPendingUpdate)
|
||||
: (pendingQueue.next = firstPendingUpdate),
|
||||
(current$14.lastBaseUpdate = lastPendingUpdate)));
|
||||
(current$15.lastBaseUpdate = lastPendingUpdate)));
|
||||
}
|
||||
if (null !== firstBaseUpdate) {
|
||||
var newState = queue.baseState;
|
||||
lastBaseUpdate = 0;
|
||||
current$14 = firstPendingUpdate = lastPendingUpdate = null;
|
||||
current$15 = firstPendingUpdate = lastPendingUpdate = null;
|
||||
pendingQueue = firstBaseUpdate;
|
||||
do {
|
||||
var updateLane = pendingQueue.lane & -536870913,
|
||||
@@ -1502,8 +1522,8 @@ function processUpdateQueue(
|
||||
0 !== updateLane &&
|
||||
updateLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction = !0);
|
||||
null !== current$14 &&
|
||||
(current$14 = current$14.next =
|
||||
null !== current$15 &&
|
||||
(current$15 = current$15.next =
|
||||
{
|
||||
lane: 0,
|
||||
tag: pendingQueue.tag,
|
||||
@@ -1556,10 +1576,10 @@ function processUpdateQueue(
|
||||
callback: pendingQueue.callback,
|
||||
next: null
|
||||
}),
|
||||
null === current$14
|
||||
? ((firstPendingUpdate = current$14 = isHiddenUpdate),
|
||||
null === current$15
|
||||
? ((firstPendingUpdate = current$15 = isHiddenUpdate),
|
||||
(lastPendingUpdate = newState))
|
||||
: (current$14 = current$14.next = isHiddenUpdate),
|
||||
: (current$15 = current$15.next = isHiddenUpdate),
|
||||
(lastBaseUpdate |= updateLane);
|
||||
pendingQueue = pendingQueue.next;
|
||||
if (null === pendingQueue)
|
||||
@@ -1572,10 +1592,10 @@ function processUpdateQueue(
|
||||
(queue.lastBaseUpdate = isHiddenUpdate),
|
||||
(queue.shared.pending = null);
|
||||
} while (1);
|
||||
null === current$14 && (lastPendingUpdate = newState);
|
||||
null === current$15 && (lastPendingUpdate = newState);
|
||||
queue.baseState = lastPendingUpdate;
|
||||
queue.firstBaseUpdate = firstPendingUpdate;
|
||||
queue.lastBaseUpdate = current$14;
|
||||
queue.lastBaseUpdate = current$15;
|
||||
null === firstBaseUpdate && (queue.shared.lanes = 0);
|
||||
workInProgressRootSkippedLanes |= lastBaseUpdate;
|
||||
workInProgress$jscomp$0.lanes = lastBaseUpdate;
|
||||
@@ -2447,9 +2467,9 @@ function pushOffscreenSuspenseHandler(fiber) {
|
||||
push(suspenseHandlerStackCursor, fiber),
|
||||
null === shellBoundary)
|
||||
) {
|
||||
var current$43 = fiber.alternate;
|
||||
null !== current$43 &&
|
||||
null !== current$43.memoizedState &&
|
||||
var current$44 = fiber.alternate;
|
||||
null !== current$44 &&
|
||||
null !== current$44.memoizedState &&
|
||||
(shellBoundary = fiber);
|
||||
}
|
||||
} else reuseSuspenseHandlerOnStack(fiber);
|
||||
@@ -2709,16 +2729,16 @@ function useMemoCache(size) {
|
||||
updateQueue = currentlyRenderingFiber$1.updateQueue;
|
||||
null !== updateQueue && (memoCache = updateQueue.memoCache);
|
||||
if (null == memoCache) {
|
||||
var current$45 = currentlyRenderingFiber$1.alternate;
|
||||
null !== current$45 &&
|
||||
((current$45 = current$45.updateQueue),
|
||||
null !== current$45 &&
|
||||
((current$45 = current$45.memoCache),
|
||||
null != current$45 &&
|
||||
var current$46 = currentlyRenderingFiber$1.alternate;
|
||||
null !== current$46 &&
|
||||
((current$46 = current$46.updateQueue),
|
||||
null !== current$46 &&
|
||||
((current$46 = current$46.memoCache),
|
||||
null != current$46 &&
|
||||
(memoCache = {
|
||||
data: enableNoCloningMemoCache
|
||||
? current$45.data
|
||||
: current$45.data.map(function (array) {
|
||||
? current$46.data
|
||||
: current$46.data.map(function (array) {
|
||||
return array.slice();
|
||||
}),
|
||||
index: 0
|
||||
@@ -2733,11 +2753,11 @@ function useMemoCache(size) {
|
||||
if (void 0 === updateQueue)
|
||||
for (
|
||||
updateQueue = memoCache.data[memoCache.index] = Array(size),
|
||||
current$45 = 0;
|
||||
current$45 < size;
|
||||
current$45++
|
||||
current$46 = 0;
|
||||
current$46 < size;
|
||||
current$46++
|
||||
)
|
||||
updateQueue[current$45] = REACT_MEMO_CACHE_SENTINEL;
|
||||
updateQueue[current$46] = REACT_MEMO_CACHE_SENTINEL;
|
||||
memoCache.index++;
|
||||
return updateQueue;
|
||||
}
|
||||
@@ -2770,7 +2790,7 @@ function updateReducerImpl(hook, current, reducer) {
|
||||
var newBaseQueueFirst = (baseFirst = null),
|
||||
newBaseQueueLast = null,
|
||||
update = current,
|
||||
didReadFromEntangledAsyncAction$46 = !1;
|
||||
didReadFromEntangledAsyncAction$47 = !1;
|
||||
do {
|
||||
var updateLane = update.lane & -536870913;
|
||||
if (
|
||||
@@ -2791,11 +2811,11 @@ function updateReducerImpl(hook, current, reducer) {
|
||||
next: null
|
||||
}),
|
||||
updateLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction$46 = !0);
|
||||
(didReadFromEntangledAsyncAction$47 = !0);
|
||||
else if ((renderLanes & revertLane) === revertLane) {
|
||||
update = update.next;
|
||||
revertLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction$46 = !0);
|
||||
(didReadFromEntangledAsyncAction$47 = !0);
|
||||
continue;
|
||||
} else
|
||||
(updateLane = {
|
||||
@@ -2841,7 +2861,7 @@ function updateReducerImpl(hook, current, reducer) {
|
||||
if (
|
||||
!objectIs(pendingQueue, hook.memoizedState) &&
|
||||
((didReceiveUpdate = !0),
|
||||
didReadFromEntangledAsyncAction$46 &&
|
||||
didReadFromEntangledAsyncAction$47 &&
|
||||
((reducer = currentEntangledActionThenable), null !== reducer))
|
||||
)
|
||||
throw reducer;
|
||||
@@ -3028,8 +3048,8 @@ function runActionStateAction(actionQueue, node) {
|
||||
try {
|
||||
(prevTransition = action(prevState, payload)),
|
||||
handleActionReturnValue(actionQueue, node, prevTransition);
|
||||
} catch (error$50) {
|
||||
onActionError(actionQueue, node, error$50);
|
||||
} catch (error$51) {
|
||||
onActionError(actionQueue, node, error$51);
|
||||
}
|
||||
}
|
||||
function handleActionReturnValue(actionQueue, node, returnValue) {
|
||||
@@ -3951,9 +3971,9 @@ function resolveClassComponentProps(
|
||||
(disableDefaultPropsExceptForClasses || !alreadyResolvedDefaultProps)
|
||||
) {
|
||||
newProps === baseProps && (newProps = assign({}, newProps));
|
||||
for (var propName$52 in Component)
|
||||
void 0 === newProps[propName$52] &&
|
||||
(newProps[propName$52] = Component[propName$52]);
|
||||
for (var propName$53 in Component)
|
||||
void 0 === newProps[propName$53] &&
|
||||
(newProps[propName$53] = Component[propName$53]);
|
||||
}
|
||||
return newProps;
|
||||
}
|
||||
@@ -6471,14 +6491,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
break;
|
||||
case "collapsed":
|
||||
lastTailNode = renderState.tail;
|
||||
for (var lastTailNode$99 = null; null !== lastTailNode; )
|
||||
null !== lastTailNode.alternate && (lastTailNode$99 = lastTailNode),
|
||||
for (var lastTailNode$100 = null; null !== lastTailNode; )
|
||||
null !== lastTailNode.alternate && (lastTailNode$100 = lastTailNode),
|
||||
(lastTailNode = lastTailNode.sibling);
|
||||
null === lastTailNode$99
|
||||
null === lastTailNode$100
|
||||
? hasRenderedATailFallback || null === renderState.tail
|
||||
? (renderState.tail = null)
|
||||
: (renderState.tail.sibling = null)
|
||||
: (lastTailNode$99.sibling = null);
|
||||
: (lastTailNode$100.sibling = null);
|
||||
}
|
||||
}
|
||||
function bubbleProperties(completedWork) {
|
||||
@@ -6488,19 +6508,19 @@ function bubbleProperties(completedWork) {
|
||||
newChildLanes = 0,
|
||||
subtreeFlags = 0;
|
||||
if (didBailout)
|
||||
for (var child$100 = completedWork.child; null !== child$100; )
|
||||
(newChildLanes |= child$100.lanes | child$100.childLanes),
|
||||
(subtreeFlags |= child$100.subtreeFlags & 31457280),
|
||||
(subtreeFlags |= child$100.flags & 31457280),
|
||||
(child$100.return = completedWork),
|
||||
(child$100 = child$100.sibling);
|
||||
for (var child$101 = completedWork.child; null !== child$101; )
|
||||
(newChildLanes |= child$101.lanes | child$101.childLanes),
|
||||
(subtreeFlags |= child$101.subtreeFlags & 31457280),
|
||||
(subtreeFlags |= child$101.flags & 31457280),
|
||||
(child$101.return = completedWork),
|
||||
(child$101 = child$101.sibling);
|
||||
else
|
||||
for (child$100 = completedWork.child; null !== child$100; )
|
||||
(newChildLanes |= child$100.lanes | child$100.childLanes),
|
||||
(subtreeFlags |= child$100.subtreeFlags),
|
||||
(subtreeFlags |= child$100.flags),
|
||||
(child$100.return = completedWork),
|
||||
(child$100 = child$100.sibling);
|
||||
for (child$101 = completedWork.child; null !== child$101; )
|
||||
(newChildLanes |= child$101.lanes | child$101.childLanes),
|
||||
(subtreeFlags |= child$101.subtreeFlags),
|
||||
(subtreeFlags |= child$101.flags),
|
||||
(child$101.return = completedWork),
|
||||
(child$101 = child$101.sibling);
|
||||
completedWork.subtreeFlags |= subtreeFlags;
|
||||
completedWork.childLanes = newChildLanes;
|
||||
return didBailout;
|
||||
@@ -6679,11 +6699,11 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
null !== newProps.alternate.memoizedState &&
|
||||
null !== newProps.alternate.memoizedState.cachePool &&
|
||||
(instance = newProps.alternate.memoizedState.cachePool.pool);
|
||||
var cache$104 = null;
|
||||
var cache$105 = null;
|
||||
null !== newProps.memoizedState &&
|
||||
null !== newProps.memoizedState.cachePool &&
|
||||
(cache$104 = newProps.memoizedState.cachePool.pool);
|
||||
cache$104 !== instance && (newProps.flags |= 2048);
|
||||
(cache$105 = newProps.memoizedState.cachePool.pool);
|
||||
cache$105 !== instance && (newProps.flags |= 2048);
|
||||
}
|
||||
renderLanes !== current &&
|
||||
(enableTransitionTracing && (workInProgress.child.flags |= 2048),
|
||||
@@ -6716,8 +6736,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
instance = workInProgress.memoizedState;
|
||||
if (null === instance) return bubbleProperties(workInProgress), null;
|
||||
newProps = 0 !== (workInProgress.flags & 128);
|
||||
cache$104 = instance.rendering;
|
||||
if (null === cache$104)
|
||||
cache$105 = instance.rendering;
|
||||
if (null === cache$105)
|
||||
if (newProps) cutOffTailIfNeeded(instance, !1);
|
||||
else {
|
||||
if (
|
||||
@@ -6725,11 +6745,11 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
(null !== current && 0 !== (current.flags & 128))
|
||||
)
|
||||
for (current = workInProgress.child; null !== current; ) {
|
||||
cache$104 = findFirstSuspended(current);
|
||||
if (null !== cache$104) {
|
||||
cache$105 = findFirstSuspended(current);
|
||||
if (null !== cache$105) {
|
||||
workInProgress.flags |= 128;
|
||||
cutOffTailIfNeeded(instance, !1);
|
||||
current = cache$104.updateQueue;
|
||||
current = cache$105.updateQueue;
|
||||
workInProgress.updateQueue = current;
|
||||
scheduleRetryEffect(workInProgress, current);
|
||||
workInProgress.subtreeFlags = 0;
|
||||
@@ -6754,7 +6774,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
}
|
||||
else {
|
||||
if (!newProps)
|
||||
if (((current = findFirstSuspended(cache$104)), null !== current)) {
|
||||
if (((current = findFirstSuspended(cache$105)), null !== current)) {
|
||||
if (
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
@@ -6764,7 +6784,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
cutOffTailIfNeeded(instance, !0),
|
||||
null === instance.tail &&
|
||||
"hidden" === instance.tailMode &&
|
||||
!cache$104.alternate)
|
||||
!cache$105.alternate)
|
||||
)
|
||||
return bubbleProperties(workInProgress), null;
|
||||
} else
|
||||
@@ -6776,13 +6796,13 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
cutOffTailIfNeeded(instance, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
instance.isBackwards
|
||||
? ((cache$104.sibling = workInProgress.child),
|
||||
(workInProgress.child = cache$104))
|
||||
? ((cache$105.sibling = workInProgress.child),
|
||||
(workInProgress.child = cache$105))
|
||||
: ((current = instance.last),
|
||||
null !== current
|
||||
? (current.sibling = cache$104)
|
||||
: (workInProgress.child = cache$104),
|
||||
(instance.last = cache$104));
|
||||
? (current.sibling = cache$105)
|
||||
: (workInProgress.child = cache$105),
|
||||
(instance.last = cache$105));
|
||||
}
|
||||
if (null !== instance.tail)
|
||||
return (
|
||||
@@ -7064,8 +7084,8 @@ function safelyDetachRef(current, nearestMountedAncestor) {
|
||||
else if ("function" === typeof ref)
|
||||
try {
|
||||
ref(null);
|
||||
} catch (error$122) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$122);
|
||||
} catch (error$123) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$123);
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
@@ -7269,11 +7289,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
current,
|
||||
finishedRoot.__reactInternalSnapshotBeforeUpdate
|
||||
);
|
||||
} catch (error$123) {
|
||||
} catch (error$124) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$123
|
||||
error$124
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -7862,8 +7882,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
}
|
||||
try {
|
||||
commitHookEffectListUnmount(5, finishedWork, finishedWork.return);
|
||||
} catch (error$131) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error$131);
|
||||
} catch (error$132) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error$132);
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -7896,8 +7916,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
current = null !== current ? current.memoizedProps : newProps;
|
||||
try {
|
||||
flags._applyProps(flags, newProps, current);
|
||||
} catch (error$134) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error$134);
|
||||
} catch (error$135) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error$135);
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -7933,8 +7953,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
null !== retryQueue && suspenseCallback(new Set(retryQueue));
|
||||
}
|
||||
}
|
||||
} catch (error$136) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error$136);
|
||||
} catch (error$137) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error$137);
|
||||
}
|
||||
flags = finishedWork.updateQueue;
|
||||
null !== flags &&
|
||||
@@ -8074,12 +8094,12 @@ function commitReconciliationEffects(finishedWork) {
|
||||
break;
|
||||
case 3:
|
||||
case 4:
|
||||
var parent$126 = JSCompiler_inline_result.stateNode.containerInfo,
|
||||
before$127 = getHostSibling(finishedWork);
|
||||
var parent$127 = JSCompiler_inline_result.stateNode.containerInfo,
|
||||
before$128 = getHostSibling(finishedWork);
|
||||
insertOrAppendPlacementNodeIntoContainer(
|
||||
finishedWork,
|
||||
before$127,
|
||||
parent$126
|
||||
before$128,
|
||||
parent$127
|
||||
);
|
||||
break;
|
||||
default:
|
||||
@@ -8537,9 +8557,9 @@ function recursivelyTraverseReconnectPassiveEffects(
|
||||
);
|
||||
break;
|
||||
case 22:
|
||||
var instance$146 = finishedWork.stateNode;
|
||||
var instance$147 = finishedWork.stateNode;
|
||||
null !== finishedWork.memoizedState
|
||||
? instance$146._visibility & 4
|
||||
? instance$147._visibility & 4
|
||||
? recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
@@ -8552,7 +8572,7 @@ function recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
finishedWork
|
||||
)
|
||||
: ((instance$146._visibility |= 4),
|
||||
: ((instance$147._visibility |= 4),
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
@@ -8560,7 +8580,7 @@ function recursivelyTraverseReconnectPassiveEffects(
|
||||
committedTransitions,
|
||||
includeWorkInProgressEffects
|
||||
))
|
||||
: ((instance$146._visibility |= 4),
|
||||
: ((instance$147._visibility |= 4),
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
@@ -8573,7 +8593,7 @@ function recursivelyTraverseReconnectPassiveEffects(
|
||||
commitOffscreenPassiveMountEffects(
|
||||
finishedWork.alternate,
|
||||
finishedWork,
|
||||
instance$146
|
||||
instance$147
|
||||
);
|
||||
break;
|
||||
case 24:
|
||||
@@ -8667,12 +8687,12 @@ function accumulateSuspenseyCommitOnFiber(fiber) {
|
||||
break;
|
||||
case 22:
|
||||
if (null === fiber.memoizedState) {
|
||||
var current$151 = fiber.alternate;
|
||||
null !== current$151 && null !== current$151.memoizedState
|
||||
? ((current$151 = suspenseyCommitFlag),
|
||||
var current$152 = fiber.alternate;
|
||||
null !== current$152 && null !== current$152.memoizedState
|
||||
? ((current$152 = suspenseyCommitFlag),
|
||||
(suspenseyCommitFlag = 16777216),
|
||||
recursivelyAccumulateSuspenseyCommit(fiber),
|
||||
(suspenseyCommitFlag = current$151))
|
||||
(suspenseyCommitFlag = current$152))
|
||||
: recursivelyAccumulateSuspenseyCommit(fiber);
|
||||
}
|
||||
break;
|
||||
@@ -9039,7 +9059,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) {
|
||||
disableLegacyMode ||
|
||||
0 !== (fiber.mode & 1) ||
|
||||
((workInProgressRootRenderTargetTime = now() + 500),
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(!0));
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
}
|
||||
function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
@@ -9327,7 +9347,7 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
}
|
||||
function flushSyncWork() {
|
||||
return 0 === (executionContext & 6)
|
||||
? (flushSyncWorkAcrossRoots_impl(!1), !1)
|
||||
? (flushSyncWorkAcrossRoots_impl(0, !1), !1)
|
||||
: !0;
|
||||
}
|
||||
function resetWorkInProgressStack() {
|
||||
@@ -9482,8 +9502,8 @@ function renderRootSync(root, lanes) {
|
||||
}
|
||||
workLoopSync();
|
||||
break;
|
||||
} catch (thrownValue$157) {
|
||||
handleThrow(root, thrownValue$157);
|
||||
} catch (thrownValue$158) {
|
||||
handleThrow(root, thrownValue$158);
|
||||
}
|
||||
while (1);
|
||||
lanes && root.shellSuspendCounter++;
|
||||
@@ -9592,8 +9612,8 @@ function renderRootConcurrent(root, lanes) {
|
||||
}
|
||||
workLoopConcurrent();
|
||||
break;
|
||||
} catch (thrownValue$159) {
|
||||
handleThrow(root, thrownValue$159);
|
||||
} catch (thrownValue$160) {
|
||||
handleThrow(root, thrownValue$160);
|
||||
}
|
||||
while (1);
|
||||
resetContextDependencies();
|
||||
@@ -9857,7 +9877,7 @@ function commitRootImpl(
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))
|
||||
: (nestedUpdateCount = 0);
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
return null;
|
||||
}
|
||||
function releaseRootPooledCache(root, remainingLanes) {
|
||||
@@ -9902,7 +9922,7 @@ function flushPassiveEffectsImpl() {
|
||||
commitPassiveUnmountOnFiber(root.current);
|
||||
commitPassiveMountOnFiber(root, root.current, lanes, transitions);
|
||||
executionContext = prevExecutionContext;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
if (enableTransitionTracing) {
|
||||
var prevPendingTransitionCallbacks = currentPendingTransitionCallbacks,
|
||||
prevRootTransitionCallbacks = root.transitionCallbacks,
|
||||
@@ -10616,27 +10636,27 @@ var slice = Array.prototype.slice,
|
||||
};
|
||||
return Text;
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1361 = {
|
||||
var internals$jscomp$inline_1371 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-1d989965-20240821",
|
||||
version: "19.0.0-www-classic-ee7f6757-20240823",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: function () {
|
||||
return null;
|
||||
},
|
||||
reconcilerVersion: "19.0.0-www-classic-1d989965-20240821"
|
||||
reconcilerVersion: "19.0.0-www-classic-ee7f6757-20240823"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1362 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1372 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1362.isDisabled &&
|
||||
hook$jscomp$inline_1362.supportsFiber
|
||||
!hook$jscomp$inline_1372.isDisabled &&
|
||||
hook$jscomp$inline_1372.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1362.inject(
|
||||
internals$jscomp$inline_1361
|
||||
(rendererID = hook$jscomp$inline_1372.inject(
|
||||
internals$jscomp$inline_1371
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1362);
|
||||
(injectedHook = hook$jscomp$inline_1372);
|
||||
} catch (err) {}
|
||||
}
|
||||
var Path = Mode$1.Path;
|
||||
@@ -10650,4 +10670,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-classic-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-classic-ee7f6757-20240823";
|
||||
|
||||
@@ -1011,22 +1011,42 @@ function ensureRootIsScheduled(root) {
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now());
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
isFlushingWork = !0;
|
||||
do {
|
||||
var didPerformSomeWork = !1;
|
||||
for (var root = firstScheduledRoot; null !== root; ) {
|
||||
if (!onlyLegacy) {
|
||||
var workInProgressRootRenderLanes$12 = workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$12 = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? workInProgressRootRenderLanes$12 : 0
|
||||
);
|
||||
0 !== (workInProgressRootRenderLanes$12 & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, workInProgressRootRenderLanes$12));
|
||||
}
|
||||
if (!onlyLegacy)
|
||||
if (0 !== syncTransitionLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) var JSCompiler_inline_result = 0;
|
||||
else {
|
||||
var suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes;
|
||||
JSCompiler_inline_result =
|
||||
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
||||
JSCompiler_inline_result &=
|
||||
pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
||||
JSCompiler_inline_result =
|
||||
JSCompiler_inline_result & 201326677
|
||||
? (JSCompiler_inline_result & 201326677) | 1
|
||||
: JSCompiler_inline_result
|
||||
? JSCompiler_inline_result | 2
|
||||
: 0;
|
||||
}
|
||||
0 !== JSCompiler_inline_result &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, JSCompiler_inline_result));
|
||||
} else
|
||||
(JSCompiler_inline_result = workInProgressRootRenderLanes),
|
||||
(JSCompiler_inline_result = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? JSCompiler_inline_result : 0
|
||||
)),
|
||||
0 !== (JSCompiler_inline_result & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, JSCompiler_inline_result));
|
||||
root = root.next;
|
||||
}
|
||||
} while (didPerformSomeWork);
|
||||
@@ -1035,6 +1055,7 @@ function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
||||
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
|
||||
for (
|
||||
var currentTime = now(), prev = null, root = firstScheduledRoot;
|
||||
null !== root;
|
||||
@@ -1050,8 +1071,7 @@ function processRootScheduleInMicrotask() {
|
||||
0 !== (nextLanes & 3) && (mightHavePendingSyncWork = !0));
|
||||
root = next;
|
||||
}
|
||||
currentEventTransitionLane = 0;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
}
|
||||
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
var pendingLanes = root.pendingLanes,
|
||||
@@ -1315,20 +1335,20 @@ function processUpdateQueue(
|
||||
? (firstBaseUpdate = firstPendingUpdate)
|
||||
: (lastBaseUpdate.next = firstPendingUpdate);
|
||||
lastBaseUpdate = lastPendingUpdate;
|
||||
var current$14 = workInProgress$jscomp$0.alternate;
|
||||
null !== current$14 &&
|
||||
((current$14 = current$14.updateQueue),
|
||||
(pendingQueue = current$14.lastBaseUpdate),
|
||||
var current$15 = workInProgress$jscomp$0.alternate;
|
||||
null !== current$15 &&
|
||||
((current$15 = current$15.updateQueue),
|
||||
(pendingQueue = current$15.lastBaseUpdate),
|
||||
pendingQueue !== lastBaseUpdate &&
|
||||
(null === pendingQueue
|
||||
? (current$14.firstBaseUpdate = firstPendingUpdate)
|
||||
? (current$15.firstBaseUpdate = firstPendingUpdate)
|
||||
: (pendingQueue.next = firstPendingUpdate),
|
||||
(current$14.lastBaseUpdate = lastPendingUpdate)));
|
||||
(current$15.lastBaseUpdate = lastPendingUpdate)));
|
||||
}
|
||||
if (null !== firstBaseUpdate) {
|
||||
var newState = queue.baseState;
|
||||
lastBaseUpdate = 0;
|
||||
current$14 = firstPendingUpdate = lastPendingUpdate = null;
|
||||
current$15 = firstPendingUpdate = lastPendingUpdate = null;
|
||||
pendingQueue = firstBaseUpdate;
|
||||
do {
|
||||
var updateLane = pendingQueue.lane & -536870913,
|
||||
@@ -1341,8 +1361,8 @@ function processUpdateQueue(
|
||||
0 !== updateLane &&
|
||||
updateLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction = !0);
|
||||
null !== current$14 &&
|
||||
(current$14 = current$14.next =
|
||||
null !== current$15 &&
|
||||
(current$15 = current$15.next =
|
||||
{
|
||||
lane: 0,
|
||||
tag: pendingQueue.tag,
|
||||
@@ -1395,10 +1415,10 @@ function processUpdateQueue(
|
||||
callback: pendingQueue.callback,
|
||||
next: null
|
||||
}),
|
||||
null === current$14
|
||||
? ((firstPendingUpdate = current$14 = isHiddenUpdate),
|
||||
null === current$15
|
||||
? ((firstPendingUpdate = current$15 = isHiddenUpdate),
|
||||
(lastPendingUpdate = newState))
|
||||
: (current$14 = current$14.next = isHiddenUpdate),
|
||||
: (current$15 = current$15.next = isHiddenUpdate),
|
||||
(lastBaseUpdate |= updateLane);
|
||||
pendingQueue = pendingQueue.next;
|
||||
if (null === pendingQueue)
|
||||
@@ -1411,10 +1431,10 @@ function processUpdateQueue(
|
||||
(queue.lastBaseUpdate = isHiddenUpdate),
|
||||
(queue.shared.pending = null);
|
||||
} while (1);
|
||||
null === current$14 && (lastPendingUpdate = newState);
|
||||
null === current$15 && (lastPendingUpdate = newState);
|
||||
queue.baseState = lastPendingUpdate;
|
||||
queue.firstBaseUpdate = firstPendingUpdate;
|
||||
queue.lastBaseUpdate = current$14;
|
||||
queue.lastBaseUpdate = current$15;
|
||||
null === firstBaseUpdate && (queue.shared.lanes = 0);
|
||||
workInProgressRootSkippedLanes |= lastBaseUpdate;
|
||||
workInProgress$jscomp$0.lanes = lastBaseUpdate;
|
||||
@@ -2278,9 +2298,9 @@ function pushOffscreenSuspenseHandler(fiber) {
|
||||
push(suspenseHandlerStackCursor, fiber),
|
||||
null === shellBoundary)
|
||||
) {
|
||||
var current$43 = fiber.alternate;
|
||||
null !== current$43 &&
|
||||
null !== current$43.memoizedState &&
|
||||
var current$44 = fiber.alternate;
|
||||
null !== current$44 &&
|
||||
null !== current$44.memoizedState &&
|
||||
(shellBoundary = fiber);
|
||||
}
|
||||
} else reuseSuspenseHandlerOnStack(fiber);
|
||||
@@ -2540,16 +2560,16 @@ function useMemoCache(size) {
|
||||
updateQueue = currentlyRenderingFiber$1.updateQueue;
|
||||
null !== updateQueue && (memoCache = updateQueue.memoCache);
|
||||
if (null == memoCache) {
|
||||
var current$45 = currentlyRenderingFiber$1.alternate;
|
||||
null !== current$45 &&
|
||||
((current$45 = current$45.updateQueue),
|
||||
null !== current$45 &&
|
||||
((current$45 = current$45.memoCache),
|
||||
null != current$45 &&
|
||||
var current$46 = currentlyRenderingFiber$1.alternate;
|
||||
null !== current$46 &&
|
||||
((current$46 = current$46.updateQueue),
|
||||
null !== current$46 &&
|
||||
((current$46 = current$46.memoCache),
|
||||
null != current$46 &&
|
||||
(memoCache = {
|
||||
data: enableNoCloningMemoCache
|
||||
? current$45.data
|
||||
: current$45.data.map(function (array) {
|
||||
? current$46.data
|
||||
: current$46.data.map(function (array) {
|
||||
return array.slice();
|
||||
}),
|
||||
index: 0
|
||||
@@ -2564,11 +2584,11 @@ function useMemoCache(size) {
|
||||
if (void 0 === updateQueue)
|
||||
for (
|
||||
updateQueue = memoCache.data[memoCache.index] = Array(size),
|
||||
current$45 = 0;
|
||||
current$45 < size;
|
||||
current$45++
|
||||
current$46 = 0;
|
||||
current$46 < size;
|
||||
current$46++
|
||||
)
|
||||
updateQueue[current$45] = REACT_MEMO_CACHE_SENTINEL;
|
||||
updateQueue[current$46] = REACT_MEMO_CACHE_SENTINEL;
|
||||
memoCache.index++;
|
||||
return updateQueue;
|
||||
}
|
||||
@@ -2601,7 +2621,7 @@ function updateReducerImpl(hook, current, reducer) {
|
||||
var newBaseQueueFirst = (baseFirst = null),
|
||||
newBaseQueueLast = null,
|
||||
update = current,
|
||||
didReadFromEntangledAsyncAction$46 = !1;
|
||||
didReadFromEntangledAsyncAction$47 = !1;
|
||||
do {
|
||||
var updateLane = update.lane & -536870913;
|
||||
if (
|
||||
@@ -2622,11 +2642,11 @@ function updateReducerImpl(hook, current, reducer) {
|
||||
next: null
|
||||
}),
|
||||
updateLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction$46 = !0);
|
||||
(didReadFromEntangledAsyncAction$47 = !0);
|
||||
else if ((renderLanes & revertLane) === revertLane) {
|
||||
update = update.next;
|
||||
revertLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction$46 = !0);
|
||||
(didReadFromEntangledAsyncAction$47 = !0);
|
||||
continue;
|
||||
} else
|
||||
(updateLane = {
|
||||
@@ -2672,7 +2692,7 @@ function updateReducerImpl(hook, current, reducer) {
|
||||
if (
|
||||
!objectIs(pendingQueue, hook.memoizedState) &&
|
||||
((didReceiveUpdate = !0),
|
||||
didReadFromEntangledAsyncAction$46 &&
|
||||
didReadFromEntangledAsyncAction$47 &&
|
||||
((reducer = currentEntangledActionThenable), null !== reducer))
|
||||
)
|
||||
throw reducer;
|
||||
@@ -2859,8 +2879,8 @@ function runActionStateAction(actionQueue, node) {
|
||||
try {
|
||||
(prevTransition = action(prevState, payload)),
|
||||
handleActionReturnValue(actionQueue, node, prevTransition);
|
||||
} catch (error$50) {
|
||||
onActionError(actionQueue, node, error$50);
|
||||
} catch (error$51) {
|
||||
onActionError(actionQueue, node, error$51);
|
||||
}
|
||||
}
|
||||
function handleActionReturnValue(actionQueue, node, returnValue) {
|
||||
@@ -3736,9 +3756,9 @@ function resolveClassComponentProps(
|
||||
(disableDefaultPropsExceptForClasses || !alreadyResolvedDefaultProps)
|
||||
) {
|
||||
newProps === baseProps && (newProps = assign({}, newProps));
|
||||
for (var propName$52 in Component)
|
||||
void 0 === newProps[propName$52] &&
|
||||
(newProps[propName$52] = Component[propName$52]);
|
||||
for (var propName$53 in Component)
|
||||
void 0 === newProps[propName$53] &&
|
||||
(newProps[propName$53] = Component[propName$53]);
|
||||
}
|
||||
return newProps;
|
||||
}
|
||||
@@ -6104,14 +6124,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
|
||||
break;
|
||||
case "collapsed":
|
||||
lastTailNode = renderState.tail;
|
||||
for (var lastTailNode$91 = null; null !== lastTailNode; )
|
||||
null !== lastTailNode.alternate && (lastTailNode$91 = lastTailNode),
|
||||
for (var lastTailNode$92 = null; null !== lastTailNode; )
|
||||
null !== lastTailNode.alternate && (lastTailNode$92 = lastTailNode),
|
||||
(lastTailNode = lastTailNode.sibling);
|
||||
null === lastTailNode$91
|
||||
null === lastTailNode$92
|
||||
? hasRenderedATailFallback || null === renderState.tail
|
||||
? (renderState.tail = null)
|
||||
: (renderState.tail.sibling = null)
|
||||
: (lastTailNode$91.sibling = null);
|
||||
: (lastTailNode$92.sibling = null);
|
||||
}
|
||||
}
|
||||
function bubbleProperties(completedWork) {
|
||||
@@ -6121,19 +6141,19 @@ function bubbleProperties(completedWork) {
|
||||
newChildLanes = 0,
|
||||
subtreeFlags = 0;
|
||||
if (didBailout)
|
||||
for (var child$92 = completedWork.child; null !== child$92; )
|
||||
(newChildLanes |= child$92.lanes | child$92.childLanes),
|
||||
(subtreeFlags |= child$92.subtreeFlags & 31457280),
|
||||
(subtreeFlags |= child$92.flags & 31457280),
|
||||
(child$92.return = completedWork),
|
||||
(child$92 = child$92.sibling);
|
||||
for (var child$93 = completedWork.child; null !== child$93; )
|
||||
(newChildLanes |= child$93.lanes | child$93.childLanes),
|
||||
(subtreeFlags |= child$93.subtreeFlags & 31457280),
|
||||
(subtreeFlags |= child$93.flags & 31457280),
|
||||
(child$93.return = completedWork),
|
||||
(child$93 = child$93.sibling);
|
||||
else
|
||||
for (child$92 = completedWork.child; null !== child$92; )
|
||||
(newChildLanes |= child$92.lanes | child$92.childLanes),
|
||||
(subtreeFlags |= child$92.subtreeFlags),
|
||||
(subtreeFlags |= child$92.flags),
|
||||
(child$92.return = completedWork),
|
||||
(child$92 = child$92.sibling);
|
||||
for (child$93 = completedWork.child; null !== child$93; )
|
||||
(newChildLanes |= child$93.lanes | child$93.childLanes),
|
||||
(subtreeFlags |= child$93.subtreeFlags),
|
||||
(subtreeFlags |= child$93.flags),
|
||||
(child$93.return = completedWork),
|
||||
(child$93 = child$93.sibling);
|
||||
completedWork.subtreeFlags |= subtreeFlags;
|
||||
completedWork.childLanes = newChildLanes;
|
||||
return didBailout;
|
||||
@@ -6304,11 +6324,11 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
null !== newProps.alternate.memoizedState &&
|
||||
null !== newProps.alternate.memoizedState.cachePool &&
|
||||
(instance = newProps.alternate.memoizedState.cachePool.pool);
|
||||
var cache$96 = null;
|
||||
var cache$97 = null;
|
||||
null !== newProps.memoizedState &&
|
||||
null !== newProps.memoizedState.cachePool &&
|
||||
(cache$96 = newProps.memoizedState.cachePool.pool);
|
||||
cache$96 !== instance && (newProps.flags |= 2048);
|
||||
(cache$97 = newProps.memoizedState.cachePool.pool);
|
||||
cache$97 !== instance && (newProps.flags |= 2048);
|
||||
}
|
||||
renderLanes !== current &&
|
||||
(enableTransitionTracing && (workInProgress.child.flags |= 2048),
|
||||
@@ -6336,8 +6356,8 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
instance = workInProgress.memoizedState;
|
||||
if (null === instance) return bubbleProperties(workInProgress), null;
|
||||
newProps = 0 !== (workInProgress.flags & 128);
|
||||
cache$96 = instance.rendering;
|
||||
if (null === cache$96)
|
||||
cache$97 = instance.rendering;
|
||||
if (null === cache$97)
|
||||
if (newProps) cutOffTailIfNeeded(instance, !1);
|
||||
else {
|
||||
if (
|
||||
@@ -6345,11 +6365,11 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
(null !== current && 0 !== (current.flags & 128))
|
||||
)
|
||||
for (current = workInProgress.child; null !== current; ) {
|
||||
cache$96 = findFirstSuspended(current);
|
||||
if (null !== cache$96) {
|
||||
cache$97 = findFirstSuspended(current);
|
||||
if (null !== cache$97) {
|
||||
workInProgress.flags |= 128;
|
||||
cutOffTailIfNeeded(instance, !1);
|
||||
current = cache$96.updateQueue;
|
||||
current = cache$97.updateQueue;
|
||||
workInProgress.updateQueue = current;
|
||||
scheduleRetryEffect(workInProgress, current);
|
||||
workInProgress.subtreeFlags = 0;
|
||||
@@ -6374,7 +6394,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
}
|
||||
else {
|
||||
if (!newProps)
|
||||
if (((current = findFirstSuspended(cache$96)), null !== current)) {
|
||||
if (((current = findFirstSuspended(cache$97)), null !== current)) {
|
||||
if (
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
@@ -6384,7 +6404,7 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
cutOffTailIfNeeded(instance, !0),
|
||||
null === instance.tail &&
|
||||
"hidden" === instance.tailMode &&
|
||||
!cache$96.alternate)
|
||||
!cache$97.alternate)
|
||||
)
|
||||
return bubbleProperties(workInProgress), null;
|
||||
} else
|
||||
@@ -6396,13 +6416,13 @@ function completeWork(current, workInProgress, renderLanes) {
|
||||
cutOffTailIfNeeded(instance, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
instance.isBackwards
|
||||
? ((cache$96.sibling = workInProgress.child),
|
||||
(workInProgress.child = cache$96))
|
||||
? ((cache$97.sibling = workInProgress.child),
|
||||
(workInProgress.child = cache$97))
|
||||
: ((current = instance.last),
|
||||
null !== current
|
||||
? (current.sibling = cache$96)
|
||||
: (workInProgress.child = cache$96),
|
||||
(instance.last = cache$96));
|
||||
? (current.sibling = cache$97)
|
||||
: (workInProgress.child = cache$97),
|
||||
(instance.last = cache$97));
|
||||
}
|
||||
if (null !== instance.tail)
|
||||
return (
|
||||
@@ -6673,8 +6693,8 @@ function safelyDetachRef(current, nearestMountedAncestor) {
|
||||
else if ("function" === typeof ref)
|
||||
try {
|
||||
ref(null);
|
||||
} catch (error$113) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$113);
|
||||
} catch (error$114) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$114);
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
@@ -6878,11 +6898,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
current,
|
||||
finishedRoot.__reactInternalSnapshotBeforeUpdate
|
||||
);
|
||||
} catch (error$114) {
|
||||
} catch (error$115) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$114
|
||||
error$115
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -7460,8 +7480,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
}
|
||||
try {
|
||||
commitHookEffectListUnmount(5, finishedWork, finishedWork.return);
|
||||
} catch (error$122) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error$122);
|
||||
} catch (error$123) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error$123);
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -7494,8 +7514,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
current = null !== current ? current.memoizedProps : newProps;
|
||||
try {
|
||||
flags._applyProps(flags, newProps, current);
|
||||
} catch (error$125) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error$125);
|
||||
} catch (error$126) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error$126);
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -7531,8 +7551,8 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
|
||||
null !== retryQueue && suspenseCallback(new Set(retryQueue));
|
||||
}
|
||||
}
|
||||
} catch (error$127) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error$127);
|
||||
} catch (error$128) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error$128);
|
||||
}
|
||||
flags = finishedWork.updateQueue;
|
||||
null !== flags &&
|
||||
@@ -7669,12 +7689,12 @@ function commitReconciliationEffects(finishedWork) {
|
||||
break;
|
||||
case 3:
|
||||
case 4:
|
||||
var parent$117 = JSCompiler_inline_result.stateNode.containerInfo,
|
||||
before$118 = getHostSibling(finishedWork);
|
||||
var parent$118 = JSCompiler_inline_result.stateNode.containerInfo,
|
||||
before$119 = getHostSibling(finishedWork);
|
||||
insertOrAppendPlacementNodeIntoContainer(
|
||||
finishedWork,
|
||||
before$118,
|
||||
parent$117
|
||||
before$119,
|
||||
parent$118
|
||||
);
|
||||
break;
|
||||
default:
|
||||
@@ -8121,9 +8141,9 @@ function recursivelyTraverseReconnectPassiveEffects(
|
||||
);
|
||||
break;
|
||||
case 22:
|
||||
var instance$137 = finishedWork.stateNode;
|
||||
var instance$138 = finishedWork.stateNode;
|
||||
null !== finishedWork.memoizedState
|
||||
? instance$137._visibility & 4
|
||||
? instance$138._visibility & 4
|
||||
? recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
@@ -8135,7 +8155,7 @@ function recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
finishedWork
|
||||
)
|
||||
: ((instance$137._visibility |= 4),
|
||||
: ((instance$138._visibility |= 4),
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
@@ -8148,7 +8168,7 @@ function recursivelyTraverseReconnectPassiveEffects(
|
||||
commitOffscreenPassiveMountEffects(
|
||||
finishedWork.alternate,
|
||||
finishedWork,
|
||||
instance$137
|
||||
instance$138
|
||||
);
|
||||
break;
|
||||
case 24:
|
||||
@@ -8242,12 +8262,12 @@ function accumulateSuspenseyCommitOnFiber(fiber) {
|
||||
break;
|
||||
case 22:
|
||||
if (null === fiber.memoizedState) {
|
||||
var current$142 = fiber.alternate;
|
||||
null !== current$142 && null !== current$142.memoizedState
|
||||
? ((current$142 = suspenseyCommitFlag),
|
||||
var current$143 = fiber.alternate;
|
||||
null !== current$143 && null !== current$143.memoizedState
|
||||
? ((current$143 = suspenseyCommitFlag),
|
||||
(suspenseyCommitFlag = 16777216),
|
||||
recursivelyAccumulateSuspenseyCommit(fiber),
|
||||
(suspenseyCommitFlag = current$142))
|
||||
(suspenseyCommitFlag = current$143))
|
||||
: recursivelyAccumulateSuspenseyCommit(fiber);
|
||||
}
|
||||
break;
|
||||
@@ -8893,7 +8913,7 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
}
|
||||
function flushSyncWork() {
|
||||
return 0 === (executionContext & 6)
|
||||
? (flushSyncWorkAcrossRoots_impl(!1), !1)
|
||||
? (flushSyncWorkAcrossRoots_impl(0, !1), !1)
|
||||
: !0;
|
||||
}
|
||||
function resetWorkInProgressStack() {
|
||||
@@ -9048,8 +9068,8 @@ function renderRootSync(root, lanes) {
|
||||
}
|
||||
workLoopSync();
|
||||
break;
|
||||
} catch (thrownValue$148) {
|
||||
handleThrow(root, thrownValue$148);
|
||||
} catch (thrownValue$149) {
|
||||
handleThrow(root, thrownValue$149);
|
||||
}
|
||||
while (1);
|
||||
lanes && root.shellSuspendCounter++;
|
||||
@@ -9158,8 +9178,8 @@ function renderRootConcurrent(root, lanes) {
|
||||
}
|
||||
workLoopConcurrent();
|
||||
break;
|
||||
} catch (thrownValue$150) {
|
||||
handleThrow(root, thrownValue$150);
|
||||
} catch (thrownValue$151) {
|
||||
handleThrow(root, thrownValue$151);
|
||||
}
|
||||
while (1);
|
||||
resetContextDependencies();
|
||||
@@ -9417,7 +9437,7 @@ function commitRootImpl(
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))
|
||||
: (nestedUpdateCount = 0);
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
return null;
|
||||
}
|
||||
function releaseRootPooledCache(root, remainingLanes) {
|
||||
@@ -9462,7 +9482,7 @@ function flushPassiveEffectsImpl() {
|
||||
commitPassiveUnmountOnFiber(root.current);
|
||||
commitPassiveMountOnFiber(root, root.current, lanes, transitions);
|
||||
executionContext = prevExecutionContext;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
if (enableTransitionTracing) {
|
||||
var prevPendingTransitionCallbacks = currentPendingTransitionCallbacks,
|
||||
prevRootTransitionCallbacks = root.transitionCallbacks,
|
||||
@@ -10130,27 +10150,27 @@ var slice = Array.prototype.slice,
|
||||
};
|
||||
return Text;
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1353 = {
|
||||
var internals$jscomp$inline_1363 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-1d989965-20240821",
|
||||
version: "19.0.0-www-modern-ee7f6757-20240823",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: function () {
|
||||
return null;
|
||||
},
|
||||
reconcilerVersion: "19.0.0-www-modern-1d989965-20240821"
|
||||
reconcilerVersion: "19.0.0-www-modern-ee7f6757-20240823"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1354 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1364 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1354.isDisabled &&
|
||||
hook$jscomp$inline_1354.supportsFiber
|
||||
!hook$jscomp$inline_1364.isDisabled &&
|
||||
hook$jscomp$inline_1364.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1354.inject(
|
||||
internals$jscomp$inline_1353
|
||||
(rendererID = hook$jscomp$inline_1364.inject(
|
||||
internals$jscomp$inline_1363
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1354);
|
||||
(injectedHook = hook$jscomp$inline_1364);
|
||||
} catch (err) {}
|
||||
}
|
||||
var Path = Mode$1.Path;
|
||||
@@ -10164,4 +10184,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-modern-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-modern-ee7f6757-20240823";
|
||||
|
||||
@@ -3822,28 +3822,41 @@ __DEV__ &&
|
||||
0 === root.tag &&
|
||||
(ReactSharedInternals.didScheduleLegacyUpdate = !0);
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
isFlushingWork = !0;
|
||||
do {
|
||||
var didPerformSomeWork = !1;
|
||||
for (var root = firstScheduledRoot; null !== root; ) {
|
||||
if (!onlyLegacy || (!disableLegacyMode && 0 === root.tag)) {
|
||||
var workInProgressRootRenderLanes$jscomp$0 =
|
||||
workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot
|
||||
? workInProgressRootRenderLanes$jscomp$0
|
||||
: 0
|
||||
);
|
||||
0 !== (workInProgressRootRenderLanes$jscomp$0 & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(
|
||||
root,
|
||||
workInProgressRootRenderLanes$jscomp$0
|
||||
));
|
||||
}
|
||||
if (!onlyLegacy || (!disableLegacyMode && 0 === root.tag))
|
||||
if (0 !== syncTransitionLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) var nextLanes = 0;
|
||||
else {
|
||||
var suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes;
|
||||
nextLanes =
|
||||
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
||||
nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
||||
nextLanes =
|
||||
nextLanes & 201326677
|
||||
? (nextLanes & 201326677) | 1
|
||||
: nextLanes
|
||||
? nextLanes | 2
|
||||
: 0;
|
||||
}
|
||||
0 !== nextLanes &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
} else
|
||||
(nextLanes = workInProgressRootRenderLanes),
|
||||
(nextLanes = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? nextLanes : 0
|
||||
)),
|
||||
0 !== (nextLanes & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
root = root.next;
|
||||
}
|
||||
} while (didPerformSomeWork);
|
||||
@@ -3855,33 +3868,29 @@ __DEV__ &&
|
||||
didScheduleMicrotask_act =
|
||||
didScheduleMicrotask =
|
||||
!1;
|
||||
var syncTransitionLanes = 0;
|
||||
0 !== currentEventTransitionLane &&
|
||||
(shouldAttemptEagerTransition() &&
|
||||
(syncTransitionLanes = currentEventTransitionLane),
|
||||
(currentEventTransitionLane = 0));
|
||||
for (
|
||||
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
|
||||
null !== root;
|
||||
|
||||
) {
|
||||
var next = root.next;
|
||||
if (
|
||||
0 !== currentEventTransitionLane &&
|
||||
shouldAttemptEagerTransition()
|
||||
) {
|
||||
var root$jscomp$0 = root,
|
||||
lane = currentEventTransitionLane;
|
||||
root$jscomp$0.pendingLanes |= 2;
|
||||
root$jscomp$0.entangledLanes |= 2;
|
||||
root$jscomp$0.entanglements[1] |= lane;
|
||||
}
|
||||
root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
0 === root$jscomp$0
|
||||
? ((root.next = null),
|
||||
var next = root.next,
|
||||
nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
if (0 === nextLanes)
|
||||
(root.next = null),
|
||||
null === prev ? (firstScheduledRoot = next) : (prev.next = next),
|
||||
null === next && (lastScheduledRoot = prev))
|
||||
: ((prev = root),
|
||||
0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0));
|
||||
null === next && (lastScheduledRoot = prev);
|
||||
else if (
|
||||
((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3))
|
||||
)
|
||||
mightHavePendingSyncWork = !0;
|
||||
root = next;
|
||||
}
|
||||
currentEventTransitionLane = 0;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
|
||||
}
|
||||
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
var pendingLanes = root.pendingLanes,
|
||||
@@ -9136,32 +9145,32 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2421;
|
||||
var JSCompiler_object_inline_stack_2422 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2429;
|
||||
var JSCompiler_object_inline_stack_2430 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2423 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2431 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2421 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2421 =
|
||||
(JSCompiler_object_inline_digest_2429 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2429 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2421 &&
|
||||
((JSCompiler_object_inline_componentStack_2423 = !0),
|
||||
JSCompiler_object_inline_digest_2429 &&
|
||||
((JSCompiler_object_inline_componentStack_2431 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2421 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2429 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2423
|
||||
JSCompiler_object_inline_componentStack_2431
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2420 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2428 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2420)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2428)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2420;
|
||||
var instance = JSCompiler_object_inline_message_2428;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
instance.nodeType !== COMMENT_NODE;
|
||||
@@ -9202,19 +9211,19 @@ __DEV__ &&
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2420
|
||||
JSCompiler_object_inline_message_2428
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2420 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2428 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2420 &&
|
||||
((JSCompiler_object_inline_message_2420 =
|
||||
JSCompiler_object_inline_message_2420.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2420)
|
||||
null !== JSCompiler_object_inline_message_2428 &&
|
||||
((JSCompiler_object_inline_message_2428 =
|
||||
JSCompiler_object_inline_message_2428.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2428)
|
||||
)
|
||||
return (
|
||||
JSCompiler_object_inline_message_2420.data ===
|
||||
JSCompiler_object_inline_message_2428.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA
|
||||
? (workInProgress.lanes = 16)
|
||||
: (workInProgress.lanes = 536870912),
|
||||
@@ -9222,27 +9231,27 @@ __DEV__ &&
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2420 =
|
||||
JSCompiler_object_inline_stack_2422.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2422.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2423)
|
||||
JSCompiler_object_inline_message_2428 =
|
||||
JSCompiler_object_inline_stack_2430.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2430.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2431)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2422 =
|
||||
(JSCompiler_object_inline_stack_2430 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2420,
|
||||
JSCompiler_object_inline_message_2428,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2423 =
|
||||
(JSCompiler_object_inline_componentStack_2431 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2423.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2431.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2423.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2431.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2421,
|
||||
JSCompiler_object_inline_digest_2429,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
@@ -9255,9 +9264,9 @@ __DEV__ &&
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(current =
|
||||
JSCompiler_object_inline_componentStack_2423.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2431.updateQueue),
|
||||
null === current
|
||||
? (JSCompiler_object_inline_componentStack_2423.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2431.updateQueue =
|
||||
{
|
||||
transitions: workInProgress,
|
||||
markerInstances: renderLanes,
|
||||
@@ -9265,46 +9274,46 @@ __DEV__ &&
|
||||
})
|
||||
: ((current.transitions = workInProgress),
|
||||
(current.markerInstances = renderLanes)))),
|
||||
JSCompiler_object_inline_stack_2422
|
||||
JSCompiler_object_inline_stack_2430
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2422.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2430.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2422 =
|
||||
(JSCompiler_object_inline_stack_2430 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2420,
|
||||
JSCompiler_object_inline_message_2428,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2423 =
|
||||
(JSCompiler_object_inline_componentStack_2431 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2423.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2431.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2423.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2431.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2421,
|
||||
JSCompiler_object_inline_digest_2429,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2422
|
||||
JSCompiler_object_inline_stack_2430
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2420
|
||||
JSCompiler_object_inline_message_2428
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2420 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2420)
|
||||
((JSCompiler_object_inline_message_2428 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2428)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -9321,32 +9330,32 @@ __DEV__ &&
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2423 =
|
||||
JSCompiler_object_inline_stack_2422.fallback),
|
||||
(JSCompiler_object_inline_message_2420 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2422 = createFiberFromOffscreen(
|
||||
(JSCompiler_object_inline_componentStack_2431 =
|
||||
JSCompiler_object_inline_stack_2430.fallback),
|
||||
(JSCompiler_object_inline_message_2428 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2430 = createFiberFromOffscreen(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2422.children
|
||||
children: JSCompiler_object_inline_stack_2430.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2420,
|
||||
JSCompiler_object_inline_message_2428,
|
||||
0,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2423 =
|
||||
(JSCompiler_object_inline_componentStack_2431 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2423,
|
||||
JSCompiler_object_inline_message_2420,
|
||||
JSCompiler_object_inline_componentStack_2431,
|
||||
JSCompiler_object_inline_message_2428,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2423.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2422.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2423.return =
|
||||
(JSCompiler_object_inline_componentStack_2431.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2430.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2431.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2422.sibling =
|
||||
JSCompiler_object_inline_componentStack_2423),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2422),
|
||||
(JSCompiler_object_inline_stack_2430.sibling =
|
||||
JSCompiler_object_inline_componentStack_2431),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2430),
|
||||
(disableLegacyMode ||
|
||||
(workInProgress.mode & ConcurrentMode) !== NoMode) &&
|
||||
reconcileChildFibers(
|
||||
@@ -9355,63 +9364,63 @@ __DEV__ &&
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2422 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2422.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2430 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2430.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2422.childLanes =
|
||||
(JSCompiler_object_inline_stack_2430.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2421,
|
||||
JSCompiler_object_inline_digest_2429,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress =
|
||||
JSCompiler_object_inline_componentStack_2423));
|
||||
JSCompiler_object_inline_componentStack_2431));
|
||||
else if (
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
isHydrating &&
|
||||
error$jscomp$0(
|
||||
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
||||
),
|
||||
JSCompiler_object_inline_message_2420.data ===
|
||||
JSCompiler_object_inline_message_2428.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2421 =
|
||||
JSCompiler_object_inline_message_2420.nextSibling &&
|
||||
JSCompiler_object_inline_message_2420.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2421) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2421.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2421.msg;
|
||||
instance = JSCompiler_object_inline_digest_2421.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2421.cstck;
|
||||
JSCompiler_object_inline_digest_2429 =
|
||||
JSCompiler_object_inline_message_2428.nextSibling &&
|
||||
JSCompiler_object_inline_message_2428.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2429) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2429.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2429.msg;
|
||||
instance = JSCompiler_object_inline_digest_2429.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2429.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2420 = message;
|
||||
JSCompiler_object_inline_digest_2421 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2422 = instance;
|
||||
JSCompiler_object_inline_componentStack_2423 = componentStack;
|
||||
JSCompiler_object_inline_message_2420 =
|
||||
JSCompiler_object_inline_message_2420
|
||||
? Error(JSCompiler_object_inline_message_2420)
|
||||
JSCompiler_object_inline_message_2428 = message;
|
||||
JSCompiler_object_inline_digest_2429 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2430 = instance;
|
||||
JSCompiler_object_inline_componentStack_2431 = componentStack;
|
||||
JSCompiler_object_inline_message_2428 =
|
||||
JSCompiler_object_inline_message_2428
|
||||
? Error(JSCompiler_object_inline_message_2428)
|
||||
: Error(
|
||||
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
||||
);
|
||||
JSCompiler_object_inline_message_2420.stack =
|
||||
JSCompiler_object_inline_stack_2422 || "";
|
||||
JSCompiler_object_inline_message_2420.digest =
|
||||
JSCompiler_object_inline_digest_2421;
|
||||
JSCompiler_object_inline_digest_2421 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2423
|
||||
JSCompiler_object_inline_message_2428.stack =
|
||||
JSCompiler_object_inline_stack_2430 || "";
|
||||
JSCompiler_object_inline_message_2428.digest =
|
||||
JSCompiler_object_inline_digest_2429;
|
||||
JSCompiler_object_inline_digest_2429 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2431
|
||||
? null
|
||||
: JSCompiler_object_inline_componentStack_2423;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2421 &&
|
||||
: JSCompiler_object_inline_componentStack_2431;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2429 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_message_2420,
|
||||
JSCompiler_object_inline_digest_2421
|
||||
JSCompiler_object_inline_message_2428,
|
||||
JSCompiler_object_inline_digest_2429
|
||||
);
|
||||
queueHydrationError({
|
||||
value: JSCompiler_object_inline_message_2420,
|
||||
value: JSCompiler_object_inline_message_2428,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2421
|
||||
stack: JSCompiler_object_inline_digest_2429
|
||||
});
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9426,25 +9435,25 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2421 =
|
||||
(JSCompiler_object_inline_digest_2429 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2421)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2429)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2421 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2421) {
|
||||
JSCompiler_object_inline_stack_2422 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2422 & 42))
|
||||
JSCompiler_object_inline_stack_2422 = 1;
|
||||
JSCompiler_object_inline_digest_2429 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2429) {
|
||||
JSCompiler_object_inline_stack_2430 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2430 & 42))
|
||||
JSCompiler_object_inline_stack_2430 = 1;
|
||||
else
|
||||
switch (JSCompiler_object_inline_stack_2422) {
|
||||
switch (JSCompiler_object_inline_stack_2430) {
|
||||
case 2:
|
||||
JSCompiler_object_inline_stack_2422 = 1;
|
||||
JSCompiler_object_inline_stack_2430 = 1;
|
||||
break;
|
||||
case 8:
|
||||
JSCompiler_object_inline_stack_2422 = 4;
|
||||
JSCompiler_object_inline_stack_2430 = 4;
|
||||
break;
|
||||
case 32:
|
||||
JSCompiler_object_inline_stack_2422 = 16;
|
||||
JSCompiler_object_inline_stack_2430 = 16;
|
||||
break;
|
||||
case 128:
|
||||
case 256:
|
||||
@@ -9465,40 +9474,40 @@ __DEV__ &&
|
||||
case 8388608:
|
||||
case 16777216:
|
||||
case 33554432:
|
||||
JSCompiler_object_inline_stack_2422 = 64;
|
||||
JSCompiler_object_inline_stack_2430 = 64;
|
||||
break;
|
||||
case 268435456:
|
||||
JSCompiler_object_inline_stack_2422 = 134217728;
|
||||
JSCompiler_object_inline_stack_2430 = 134217728;
|
||||
break;
|
||||
default:
|
||||
JSCompiler_object_inline_stack_2422 = 0;
|
||||
JSCompiler_object_inline_stack_2430 = 0;
|
||||
}
|
||||
JSCompiler_object_inline_stack_2422 =
|
||||
JSCompiler_object_inline_stack_2430 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2422 &
|
||||
(JSCompiler_object_inline_digest_2421.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2430 &
|
||||
(JSCompiler_object_inline_digest_2429.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2422;
|
||||
: JSCompiler_object_inline_stack_2430;
|
||||
if (
|
||||
0 !== JSCompiler_object_inline_stack_2422 &&
|
||||
JSCompiler_object_inline_stack_2422 !== prevState.retryLane
|
||||
0 !== JSCompiler_object_inline_stack_2430 &&
|
||||
JSCompiler_object_inline_stack_2430 !== prevState.retryLane
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2422),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2430),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2422
|
||||
JSCompiler_object_inline_stack_2430
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2421,
|
||||
JSCompiler_object_inline_digest_2429,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2422
|
||||
JSCompiler_object_inline_stack_2430
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
}
|
||||
JSCompiler_object_inline_message_2420.data ===
|
||||
JSCompiler_object_inline_message_2428.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9506,7 +9515,7 @@ __DEV__ &&
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2420.data ===
|
||||
JSCompiler_object_inline_message_2428.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 128),
|
||||
(workInProgress.child = current.child),
|
||||
@@ -9514,12 +9523,12 @@ __DEV__ &&
|
||||
null,
|
||||
current
|
||||
)),
|
||||
(JSCompiler_object_inline_message_2420._reactRetry =
|
||||
(JSCompiler_object_inline_message_2428._reactRetry =
|
||||
workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2420.nextSibling
|
||||
JSCompiler_object_inline_message_2428.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9537,73 +9546,73 @@ __DEV__ &&
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2422.children
|
||||
JSCompiler_object_inline_stack_2430.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2423)
|
||||
if (JSCompiler_object_inline_componentStack_2431)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2423 =
|
||||
JSCompiler_object_inline_stack_2422.fallback),
|
||||
(JSCompiler_object_inline_message_2420 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2431 =
|
||||
JSCompiler_object_inline_stack_2430.fallback),
|
||||
(JSCompiler_object_inline_message_2428 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(componentStack = {
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2422.children
|
||||
children: JSCompiler_object_inline_stack_2430.children
|
||||
}),
|
||||
disableLegacyMode ||
|
||||
(JSCompiler_object_inline_message_2420 & ConcurrentMode) !== NoMode ||
|
||||
(JSCompiler_object_inline_message_2428 & ConcurrentMode) !== NoMode ||
|
||||
workInProgress.child === JSCompiler_temp
|
||||
? ((JSCompiler_object_inline_stack_2422 = createWorkInProgress(
|
||||
? ((JSCompiler_object_inline_stack_2430 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
componentStack
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2422.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2430.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 31457280))
|
||||
: ((JSCompiler_object_inline_stack_2422 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2422.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2422.pendingProps =
|
||||
: ((JSCompiler_object_inline_stack_2430 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2430.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2430.pendingProps =
|
||||
componentStack),
|
||||
workInProgress.mode & ProfileMode &&
|
||||
((JSCompiler_object_inline_stack_2422.actualDuration = 0),
|
||||
(JSCompiler_object_inline_stack_2422.actualStartTime = -1),
|
||||
(JSCompiler_object_inline_stack_2422.selfBaseDuration =
|
||||
((JSCompiler_object_inline_stack_2430.actualDuration = 0),
|
||||
(JSCompiler_object_inline_stack_2430.actualStartTime = -1),
|
||||
(JSCompiler_object_inline_stack_2430.selfBaseDuration =
|
||||
JSCompiler_temp.selfBaseDuration),
|
||||
(JSCompiler_object_inline_stack_2422.treeBaseDuration =
|
||||
(JSCompiler_object_inline_stack_2430.treeBaseDuration =
|
||||
JSCompiler_temp.treeBaseDuration)),
|
||||
(workInProgress.deletions = null)),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2423 =
|
||||
? (JSCompiler_object_inline_componentStack_2431 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2423
|
||||
JSCompiler_object_inline_componentStack_2431
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2423 =
|
||||
: ((JSCompiler_object_inline_componentStack_2431 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2423,
|
||||
JSCompiler_object_inline_message_2420,
|
||||
JSCompiler_object_inline_componentStack_2431,
|
||||
JSCompiler_object_inline_message_2428,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2423.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2423.return =
|
||||
(JSCompiler_object_inline_componentStack_2431.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2431.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2422.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2422.sibling =
|
||||
JSCompiler_object_inline_componentStack_2423),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2422),
|
||||
(JSCompiler_object_inline_stack_2422 =
|
||||
JSCompiler_object_inline_componentStack_2423),
|
||||
(JSCompiler_object_inline_componentStack_2423 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2420 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2420
|
||||
? (JSCompiler_object_inline_message_2420 =
|
||||
(JSCompiler_object_inline_stack_2430.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2430.sibling =
|
||||
JSCompiler_object_inline_componentStack_2431),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2430),
|
||||
(JSCompiler_object_inline_stack_2430 =
|
||||
JSCompiler_object_inline_componentStack_2431),
|
||||
(JSCompiler_object_inline_componentStack_2431 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2428 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2428
|
||||
? (JSCompiler_object_inline_message_2428 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2420.cachePool),
|
||||
JSCompiler_object_inline_message_2428.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9611,34 +9620,34 @@ __DEV__ &&
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2420 = {
|
||||
(JSCompiler_object_inline_message_2428 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2420.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2428.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2423.memoizedState =
|
||||
JSCompiler_object_inline_message_2420),
|
||||
(JSCompiler_object_inline_componentStack_2431.memoizedState =
|
||||
JSCompiler_object_inline_message_2428),
|
||||
enableTransitionTracing &&
|
||||
((JSCompiler_object_inline_message_2420 = enableTransitionTracing
|
||||
((JSCompiler_object_inline_message_2428 = enableTransitionTracing
|
||||
? transitionStack.current
|
||||
: null),
|
||||
null !== JSCompiler_object_inline_message_2420 &&
|
||||
null !== JSCompiler_object_inline_message_2428 &&
|
||||
((JSCompiler_temp = enableTransitionTracing
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(instance =
|
||||
JSCompiler_object_inline_componentStack_2423.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2431.updateQueue),
|
||||
(componentStack = current.updateQueue),
|
||||
null === instance
|
||||
? (JSCompiler_object_inline_componentStack_2423.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2420,
|
||||
? (JSCompiler_object_inline_componentStack_2431.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2428,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue: null
|
||||
})
|
||||
: instance === componentStack
|
||||
? (JSCompiler_object_inline_componentStack_2423.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2431.updateQueue =
|
||||
{
|
||||
transitions: JSCompiler_object_inline_message_2420,
|
||||
transitions: JSCompiler_object_inline_message_2428,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue:
|
||||
null !== componentStack
|
||||
@@ -9646,41 +9655,41 @@ __DEV__ &&
|
||||
: null
|
||||
})
|
||||
: ((instance.transitions =
|
||||
JSCompiler_object_inline_message_2420),
|
||||
JSCompiler_object_inline_message_2428),
|
||||
(instance.markerInstances = JSCompiler_temp)))),
|
||||
(JSCompiler_object_inline_componentStack_2423.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2431.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2421,
|
||||
JSCompiler_object_inline_digest_2429,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2422
|
||||
JSCompiler_object_inline_stack_2430
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
JSCompiler_object_inline_digest_2421 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2421.sibling;
|
||||
JSCompiler_object_inline_digest_2421 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2421,
|
||||
JSCompiler_object_inline_digest_2429 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2429.sibling;
|
||||
JSCompiler_object_inline_digest_2429 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2429,
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2422.children
|
||||
children: JSCompiler_object_inline_stack_2430.children
|
||||
}
|
||||
);
|
||||
disableLegacyMode ||
|
||||
(workInProgress.mode & ConcurrentMode) !== NoMode ||
|
||||
(JSCompiler_object_inline_digest_2421.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2421.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2421.sibling = null;
|
||||
(JSCompiler_object_inline_digest_2429.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2429.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2429.sibling = null;
|
||||
null !== current &&
|
||||
((renderLanes = workInProgress.deletions),
|
||||
null === renderLanes
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: renderLanes.push(current));
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2421;
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2429;
|
||||
workInProgress.memoizedState = null;
|
||||
return JSCompiler_object_inline_digest_2421;
|
||||
return JSCompiler_object_inline_digest_2429;
|
||||
}
|
||||
function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
|
||||
primaryChildren = createFiberFromOffscreen(
|
||||
@@ -15577,7 +15586,7 @@ __DEV__ &&
|
||||
(fiber.mode & ConcurrentMode) !== NoMode ||
|
||||
ReactSharedInternals.isBatchingLegacy ||
|
||||
((workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS),
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(!0));
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
}
|
||||
function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
@@ -15916,12 +15925,12 @@ __DEV__ &&
|
||||
executionContext !== NoContext ||
|
||||
ReactSharedInternals.isBatchingLegacy ||
|
||||
((workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS),
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(!0));
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
}
|
||||
function flushSyncWork$1() {
|
||||
return (executionContext & (RenderContext | CommitContext)) === NoContext
|
||||
? (flushSyncWorkAcrossRoots_impl(!1), !1)
|
||||
? (flushSyncWorkAcrossRoots_impl(0, !1), !1)
|
||||
: !0;
|
||||
}
|
||||
function resetWorkInProgressStack() {
|
||||
@@ -16680,7 +16689,7 @@ __DEV__ &&
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: (nestedUpdateCount = 0);
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
enableDebugTracing && enableDebugTracing && groupEnd();
|
||||
enableSchedulingProfiler && markCommitStopped();
|
||||
if (enableTransitionTracing) {
|
||||
@@ -16798,7 +16807,7 @@ __DEV__ &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
commitDoubleInvokeEffectsInDEV(root, !0);
|
||||
executionContext = prevExecutionContext;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
if (enableTransitionTracing) {
|
||||
var prevPendingTransitionCallbacks = currentPendingTransitionCallbacks,
|
||||
prevRootTransitionCallbacks = root.transitionCallbacks,
|
||||
@@ -23338,7 +23347,7 @@ __DEV__ &&
|
||||
NoContext &&
|
||||
((workInProgressRootRenderTargetTime =
|
||||
now$1() + RENDER_TIMEOUT_MS),
|
||||
flushSyncWorkAcrossRoots_impl(!1));
|
||||
flushSyncWorkAcrossRoots_impl(0, !1));
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -23618,7 +23627,7 @@ __DEV__ &&
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
(executionContext = prevExecutionContext),
|
||||
(executionContext & (RenderContext | CommitContext)) ===
|
||||
NoContext && flushSyncWorkAcrossRoots_impl(!1);
|
||||
NoContext && flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
}
|
||||
JSCompiler_inline_result = void 0;
|
||||
}
|
||||
@@ -27528,11 +27537,11 @@ __DEV__ &&
|
||||
: flushSyncErrorInBuildsThatSupportLegacyMode;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-classic-1d989965-20240821" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-classic-ee7f6757-20240823" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.0.0-www-classic-1d989965-20240821\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-classic-ee7f6757-20240823\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27576,11 +27585,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-1d989965-20240821",
|
||||
version: "19.0.0-www-classic-ee7f6757-20240823",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-1d989965-20240821"
|
||||
reconcilerVersion: "19.0.0-www-classic-ee7f6757-20240823"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28233,7 +28242,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-classic-ee7f6757-20240823";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -3689,28 +3689,41 @@ __DEV__ &&
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now$1());
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
isFlushingWork = !0;
|
||||
do {
|
||||
var didPerformSomeWork = !1;
|
||||
for (var root = firstScheduledRoot; null !== root; ) {
|
||||
if (!onlyLegacy) {
|
||||
var workInProgressRootRenderLanes$jscomp$0 =
|
||||
workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot
|
||||
? workInProgressRootRenderLanes$jscomp$0
|
||||
: 0
|
||||
);
|
||||
0 !== (workInProgressRootRenderLanes$jscomp$0 & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(
|
||||
root,
|
||||
workInProgressRootRenderLanes$jscomp$0
|
||||
));
|
||||
}
|
||||
if (!onlyLegacy)
|
||||
if (0 !== syncTransitionLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) var nextLanes = 0;
|
||||
else {
|
||||
var suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes;
|
||||
nextLanes =
|
||||
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
||||
nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
||||
nextLanes =
|
||||
nextLanes & 201326677
|
||||
? (nextLanes & 201326677) | 1
|
||||
: nextLanes
|
||||
? nextLanes | 2
|
||||
: 0;
|
||||
}
|
||||
0 !== nextLanes &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
} else
|
||||
(nextLanes = workInProgressRootRenderLanes),
|
||||
(nextLanes = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? nextLanes : 0
|
||||
)),
|
||||
0 !== (nextLanes & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
root = root.next;
|
||||
}
|
||||
} while (didPerformSomeWork);
|
||||
@@ -3722,33 +3735,29 @@ __DEV__ &&
|
||||
didScheduleMicrotask_act =
|
||||
didScheduleMicrotask =
|
||||
!1;
|
||||
var syncTransitionLanes = 0;
|
||||
0 !== currentEventTransitionLane &&
|
||||
(shouldAttemptEagerTransition() &&
|
||||
(syncTransitionLanes = currentEventTransitionLane),
|
||||
(currentEventTransitionLane = 0));
|
||||
for (
|
||||
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
|
||||
null !== root;
|
||||
|
||||
) {
|
||||
var next = root.next;
|
||||
if (
|
||||
0 !== currentEventTransitionLane &&
|
||||
shouldAttemptEagerTransition()
|
||||
) {
|
||||
var root$jscomp$0 = root,
|
||||
lane = currentEventTransitionLane;
|
||||
root$jscomp$0.pendingLanes |= 2;
|
||||
root$jscomp$0.entangledLanes |= 2;
|
||||
root$jscomp$0.entanglements[1] |= lane;
|
||||
}
|
||||
root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
0 === root$jscomp$0
|
||||
? ((root.next = null),
|
||||
var next = root.next,
|
||||
nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
if (0 === nextLanes)
|
||||
(root.next = null),
|
||||
null === prev ? (firstScheduledRoot = next) : (prev.next = next),
|
||||
null === next && (lastScheduledRoot = prev))
|
||||
: ((prev = root),
|
||||
0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0));
|
||||
null === next && (lastScheduledRoot = prev);
|
||||
else if (
|
||||
((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3))
|
||||
)
|
||||
mightHavePendingSyncWork = !0;
|
||||
root = next;
|
||||
}
|
||||
currentEventTransitionLane = 0;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
|
||||
}
|
||||
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
var pendingLanes = root.pendingLanes,
|
||||
@@ -8821,32 +8830,32 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2433;
|
||||
var JSCompiler_object_inline_stack_2434 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2441;
|
||||
var JSCompiler_object_inline_stack_2442 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2435 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2443 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2433 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2433 =
|
||||
(JSCompiler_object_inline_digest_2441 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2441 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2433 &&
|
||||
((JSCompiler_object_inline_componentStack_2435 = !0),
|
||||
JSCompiler_object_inline_digest_2441 &&
|
||||
((JSCompiler_object_inline_componentStack_2443 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2433 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2441 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2435
|
||||
JSCompiler_object_inline_componentStack_2443
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2432 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2440 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2432)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2440)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2432;
|
||||
var instance = JSCompiler_object_inline_message_2440;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
instance.nodeType !== COMMENT_NODE;
|
||||
@@ -8887,19 +8896,19 @@ __DEV__ &&
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2432
|
||||
JSCompiler_object_inline_message_2440
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2432 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2440 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2432 &&
|
||||
((JSCompiler_object_inline_message_2432 =
|
||||
JSCompiler_object_inline_message_2432.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2432)
|
||||
null !== JSCompiler_object_inline_message_2440 &&
|
||||
((JSCompiler_object_inline_message_2440 =
|
||||
JSCompiler_object_inline_message_2440.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2440)
|
||||
)
|
||||
return (
|
||||
JSCompiler_object_inline_message_2432.data ===
|
||||
JSCompiler_object_inline_message_2440.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA
|
||||
? (workInProgress.lanes = 16)
|
||||
: (workInProgress.lanes = 536870912),
|
||||
@@ -8907,27 +8916,27 @@ __DEV__ &&
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2432 =
|
||||
JSCompiler_object_inline_stack_2434.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2434.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2435)
|
||||
JSCompiler_object_inline_message_2440 =
|
||||
JSCompiler_object_inline_stack_2442.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2442.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2443)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2434 =
|
||||
(JSCompiler_object_inline_stack_2442 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2432,
|
||||
JSCompiler_object_inline_message_2440,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2435 =
|
||||
(JSCompiler_object_inline_componentStack_2443 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2435.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2443.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2435.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2443.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2433,
|
||||
JSCompiler_object_inline_digest_2441,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
@@ -8940,9 +8949,9 @@ __DEV__ &&
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(renderLanes =
|
||||
JSCompiler_object_inline_componentStack_2435.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2443.updateQueue),
|
||||
null === renderLanes
|
||||
? (JSCompiler_object_inline_componentStack_2435.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2443.updateQueue =
|
||||
{
|
||||
transitions: workInProgress,
|
||||
markerInstances: current,
|
||||
@@ -8950,46 +8959,46 @@ __DEV__ &&
|
||||
})
|
||||
: ((renderLanes.transitions = workInProgress),
|
||||
(renderLanes.markerInstances = current)))),
|
||||
JSCompiler_object_inline_stack_2434
|
||||
JSCompiler_object_inline_stack_2442
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2434.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2442.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2434 =
|
||||
(JSCompiler_object_inline_stack_2442 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2432,
|
||||
JSCompiler_object_inline_message_2440,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2435 =
|
||||
(JSCompiler_object_inline_componentStack_2443 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2435.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2443.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2435.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2443.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2433,
|
||||
JSCompiler_object_inline_digest_2441,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2434
|
||||
JSCompiler_object_inline_stack_2442
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2432
|
||||
JSCompiler_object_inline_message_2440
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2432 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2432)
|
||||
((JSCompiler_object_inline_message_2440 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2440)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -9006,94 +9015,94 @@ __DEV__ &&
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2435 =
|
||||
JSCompiler_object_inline_stack_2434.fallback),
|
||||
(JSCompiler_object_inline_message_2432 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2434 =
|
||||
(JSCompiler_object_inline_componentStack_2443 =
|
||||
JSCompiler_object_inline_stack_2442.fallback),
|
||||
(JSCompiler_object_inline_message_2440 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2442 =
|
||||
mountWorkInProgressOffscreenFiber(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2434.children
|
||||
children: JSCompiler_object_inline_stack_2442.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2432
|
||||
JSCompiler_object_inline_message_2440
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2435 =
|
||||
(JSCompiler_object_inline_componentStack_2443 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2435,
|
||||
JSCompiler_object_inline_message_2432,
|
||||
JSCompiler_object_inline_componentStack_2443,
|
||||
JSCompiler_object_inline_message_2440,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2435.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2434.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2435.return =
|
||||
(JSCompiler_object_inline_componentStack_2443.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2442.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2443.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2434.sibling =
|
||||
JSCompiler_object_inline_componentStack_2435),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2434),
|
||||
(JSCompiler_object_inline_stack_2442.sibling =
|
||||
JSCompiler_object_inline_componentStack_2443),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2442),
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
current.child,
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2434 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2434.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2442 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2442.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2434.childLanes =
|
||||
(JSCompiler_object_inline_stack_2442.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2433,
|
||||
JSCompiler_object_inline_digest_2441,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress =
|
||||
JSCompiler_object_inline_componentStack_2435));
|
||||
JSCompiler_object_inline_componentStack_2443));
|
||||
else if (
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
isHydrating &&
|
||||
error$jscomp$0(
|
||||
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
||||
),
|
||||
JSCompiler_object_inline_message_2432.data ===
|
||||
JSCompiler_object_inline_message_2440.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2433 =
|
||||
JSCompiler_object_inline_message_2432.nextSibling &&
|
||||
JSCompiler_object_inline_message_2432.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2433) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2433.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2433.msg;
|
||||
instance = JSCompiler_object_inline_digest_2433.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2433.cstck;
|
||||
JSCompiler_object_inline_digest_2441 =
|
||||
JSCompiler_object_inline_message_2440.nextSibling &&
|
||||
JSCompiler_object_inline_message_2440.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2441) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2441.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2441.msg;
|
||||
instance = JSCompiler_object_inline_digest_2441.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2441.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2432 = message;
|
||||
JSCompiler_object_inline_digest_2433 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2434 = instance;
|
||||
JSCompiler_object_inline_componentStack_2435 = componentStack;
|
||||
JSCompiler_object_inline_message_2432 =
|
||||
JSCompiler_object_inline_message_2432
|
||||
? Error(JSCompiler_object_inline_message_2432)
|
||||
JSCompiler_object_inline_message_2440 = message;
|
||||
JSCompiler_object_inline_digest_2441 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2442 = instance;
|
||||
JSCompiler_object_inline_componentStack_2443 = componentStack;
|
||||
JSCompiler_object_inline_message_2440 =
|
||||
JSCompiler_object_inline_message_2440
|
||||
? Error(JSCompiler_object_inline_message_2440)
|
||||
: Error(
|
||||
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
||||
);
|
||||
JSCompiler_object_inline_message_2432.stack =
|
||||
JSCompiler_object_inline_stack_2434 || "";
|
||||
JSCompiler_object_inline_message_2432.digest =
|
||||
JSCompiler_object_inline_digest_2433;
|
||||
JSCompiler_object_inline_digest_2433 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2435
|
||||
JSCompiler_object_inline_message_2440.stack =
|
||||
JSCompiler_object_inline_stack_2442 || "";
|
||||
JSCompiler_object_inline_message_2440.digest =
|
||||
JSCompiler_object_inline_digest_2441;
|
||||
JSCompiler_object_inline_digest_2441 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2443
|
||||
? null
|
||||
: JSCompiler_object_inline_componentStack_2435;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2433 &&
|
||||
: JSCompiler_object_inline_componentStack_2443;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2441 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_message_2432,
|
||||
JSCompiler_object_inline_digest_2433
|
||||
JSCompiler_object_inline_message_2440,
|
||||
JSCompiler_object_inline_digest_2441
|
||||
);
|
||||
queueHydrationError({
|
||||
value: JSCompiler_object_inline_message_2432,
|
||||
value: JSCompiler_object_inline_message_2440,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2433
|
||||
stack: JSCompiler_object_inline_digest_2441
|
||||
});
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9108,25 +9117,25 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2433 =
|
||||
(JSCompiler_object_inline_digest_2441 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2433)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2441)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2433 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2433) {
|
||||
JSCompiler_object_inline_stack_2434 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2434 & 42))
|
||||
JSCompiler_object_inline_stack_2434 = 1;
|
||||
JSCompiler_object_inline_digest_2441 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2441) {
|
||||
JSCompiler_object_inline_stack_2442 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2442 & 42))
|
||||
JSCompiler_object_inline_stack_2442 = 1;
|
||||
else
|
||||
switch (JSCompiler_object_inline_stack_2434) {
|
||||
switch (JSCompiler_object_inline_stack_2442) {
|
||||
case 2:
|
||||
JSCompiler_object_inline_stack_2434 = 1;
|
||||
JSCompiler_object_inline_stack_2442 = 1;
|
||||
break;
|
||||
case 8:
|
||||
JSCompiler_object_inline_stack_2434 = 4;
|
||||
JSCompiler_object_inline_stack_2442 = 4;
|
||||
break;
|
||||
case 32:
|
||||
JSCompiler_object_inline_stack_2434 = 16;
|
||||
JSCompiler_object_inline_stack_2442 = 16;
|
||||
break;
|
||||
case 128:
|
||||
case 256:
|
||||
@@ -9147,40 +9156,40 @@ __DEV__ &&
|
||||
case 8388608:
|
||||
case 16777216:
|
||||
case 33554432:
|
||||
JSCompiler_object_inline_stack_2434 = 64;
|
||||
JSCompiler_object_inline_stack_2442 = 64;
|
||||
break;
|
||||
case 268435456:
|
||||
JSCompiler_object_inline_stack_2434 = 134217728;
|
||||
JSCompiler_object_inline_stack_2442 = 134217728;
|
||||
break;
|
||||
default:
|
||||
JSCompiler_object_inline_stack_2434 = 0;
|
||||
JSCompiler_object_inline_stack_2442 = 0;
|
||||
}
|
||||
JSCompiler_object_inline_stack_2434 =
|
||||
JSCompiler_object_inline_stack_2442 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2434 &
|
||||
(JSCompiler_object_inline_digest_2433.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2442 &
|
||||
(JSCompiler_object_inline_digest_2441.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2434;
|
||||
: JSCompiler_object_inline_stack_2442;
|
||||
if (
|
||||
0 !== JSCompiler_object_inline_stack_2434 &&
|
||||
JSCompiler_object_inline_stack_2434 !== prevState.retryLane
|
||||
0 !== JSCompiler_object_inline_stack_2442 &&
|
||||
JSCompiler_object_inline_stack_2442 !== prevState.retryLane
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2434),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2442),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2434
|
||||
JSCompiler_object_inline_stack_2442
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2433,
|
||||
JSCompiler_object_inline_digest_2441,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2434
|
||||
JSCompiler_object_inline_stack_2442
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
}
|
||||
JSCompiler_object_inline_message_2432.data ===
|
||||
JSCompiler_object_inline_message_2440.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9188,7 +9197,7 @@ __DEV__ &&
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2432.data ===
|
||||
JSCompiler_object_inline_message_2440.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 128),
|
||||
(workInProgress.child = current.child),
|
||||
@@ -9196,12 +9205,12 @@ __DEV__ &&
|
||||
null,
|
||||
current
|
||||
)),
|
||||
(JSCompiler_object_inline_message_2432._reactRetry =
|
||||
(JSCompiler_object_inline_message_2440._reactRetry =
|
||||
workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((current = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2432.nextSibling
|
||||
JSCompiler_object_inline_message_2440.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9219,57 +9228,57 @@ __DEV__ &&
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2434.children
|
||||
JSCompiler_object_inline_stack_2442.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2435)
|
||||
if (JSCompiler_object_inline_componentStack_2443)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2435 =
|
||||
JSCompiler_object_inline_stack_2434.fallback),
|
||||
(JSCompiler_object_inline_message_2432 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2443 =
|
||||
JSCompiler_object_inline_stack_2442.fallback),
|
||||
(JSCompiler_object_inline_message_2440 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(JSCompiler_object_inline_stack_2434 = createWorkInProgress(
|
||||
(JSCompiler_object_inline_stack_2442 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
{
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2434.children
|
||||
children: JSCompiler_object_inline_stack_2442.children
|
||||
}
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2434.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2442.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 31457280),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2435 =
|
||||
? (JSCompiler_object_inline_componentStack_2443 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2435
|
||||
JSCompiler_object_inline_componentStack_2443
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2435 =
|
||||
: ((JSCompiler_object_inline_componentStack_2443 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2435,
|
||||
JSCompiler_object_inline_message_2432,
|
||||
JSCompiler_object_inline_componentStack_2443,
|
||||
JSCompiler_object_inline_message_2440,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2435.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2435.return =
|
||||
(JSCompiler_object_inline_componentStack_2443.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2443.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2434.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2434.sibling =
|
||||
JSCompiler_object_inline_componentStack_2435),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2434),
|
||||
(JSCompiler_object_inline_stack_2434 =
|
||||
JSCompiler_object_inline_componentStack_2435),
|
||||
(JSCompiler_object_inline_componentStack_2435 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2432 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2432
|
||||
? (JSCompiler_object_inline_message_2432 =
|
||||
(JSCompiler_object_inline_stack_2442.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2442.sibling =
|
||||
JSCompiler_object_inline_componentStack_2443),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2442),
|
||||
(JSCompiler_object_inline_stack_2442 =
|
||||
JSCompiler_object_inline_componentStack_2443),
|
||||
(JSCompiler_object_inline_componentStack_2443 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2440 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2440
|
||||
? (JSCompiler_object_inline_message_2440 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2432.cachePool),
|
||||
JSCompiler_object_inline_message_2440.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9277,34 +9286,34 @@ __DEV__ &&
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2432 = {
|
||||
(JSCompiler_object_inline_message_2440 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2432.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2440.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2435.memoizedState =
|
||||
JSCompiler_object_inline_message_2432),
|
||||
(JSCompiler_object_inline_componentStack_2443.memoizedState =
|
||||
JSCompiler_object_inline_message_2440),
|
||||
enableTransitionTracing &&
|
||||
((JSCompiler_object_inline_message_2432 = enableTransitionTracing
|
||||
((JSCompiler_object_inline_message_2440 = enableTransitionTracing
|
||||
? transitionStack.current
|
||||
: null),
|
||||
null !== JSCompiler_object_inline_message_2432 &&
|
||||
null !== JSCompiler_object_inline_message_2440 &&
|
||||
((JSCompiler_temp = enableTransitionTracing
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(instance =
|
||||
JSCompiler_object_inline_componentStack_2435.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2443.updateQueue),
|
||||
(componentStack = current.updateQueue),
|
||||
null === instance
|
||||
? (JSCompiler_object_inline_componentStack_2435.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2432,
|
||||
? (JSCompiler_object_inline_componentStack_2443.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2440,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue: null
|
||||
})
|
||||
: instance === componentStack
|
||||
? (JSCompiler_object_inline_componentStack_2435.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2443.updateQueue =
|
||||
{
|
||||
transitions: JSCompiler_object_inline_message_2432,
|
||||
transitions: JSCompiler_object_inline_message_2440,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue:
|
||||
null !== componentStack
|
||||
@@ -9312,32 +9321,32 @@ __DEV__ &&
|
||||
: null
|
||||
})
|
||||
: ((instance.transitions =
|
||||
JSCompiler_object_inline_message_2432),
|
||||
JSCompiler_object_inline_message_2440),
|
||||
(instance.markerInstances = JSCompiler_temp)))),
|
||||
(JSCompiler_object_inline_componentStack_2435.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2443.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2433,
|
||||
JSCompiler_object_inline_digest_2441,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2434
|
||||
JSCompiler_object_inline_stack_2442
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
renderLanes = current.child;
|
||||
current = renderLanes.sibling;
|
||||
renderLanes = createWorkInProgress(renderLanes, {
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2434.children
|
||||
children: JSCompiler_object_inline_stack_2442.children
|
||||
});
|
||||
renderLanes.return = workInProgress;
|
||||
renderLanes.sibling = null;
|
||||
null !== current &&
|
||||
((JSCompiler_object_inline_digest_2433 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2433
|
||||
((JSCompiler_object_inline_digest_2441 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2441
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: JSCompiler_object_inline_digest_2433.push(current));
|
||||
: JSCompiler_object_inline_digest_2441.push(current));
|
||||
workInProgress.child = renderLanes;
|
||||
workInProgress.memoizedState = null;
|
||||
return renderLanes;
|
||||
@@ -15357,7 +15366,7 @@ __DEV__ &&
|
||||
}
|
||||
function flushSyncWork$1() {
|
||||
return (executionContext & (RenderContext | CommitContext)) === NoContext
|
||||
? (flushSyncWorkAcrossRoots_impl(!1), !1)
|
||||
? (flushSyncWorkAcrossRoots_impl(0, !1), !1)
|
||||
: !0;
|
||||
}
|
||||
function resetWorkInProgressStack() {
|
||||
@@ -16110,7 +16119,7 @@ __DEV__ &&
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: (nestedUpdateCount = 0);
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
enableDebugTracing && enableDebugTracing && groupEnd();
|
||||
enableSchedulingProfiler && markCommitStopped();
|
||||
if (enableTransitionTracing) {
|
||||
@@ -16228,7 +16237,7 @@ __DEV__ &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
commitDoubleInvokeEffectsInDEV(root);
|
||||
executionContext = prevExecutionContext;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
if (enableTransitionTracing) {
|
||||
var prevPendingTransitionCallbacks = currentPendingTransitionCallbacks,
|
||||
prevRootTransitionCallbacks = root.transitionCallbacks,
|
||||
@@ -22612,7 +22621,7 @@ __DEV__ &&
|
||||
NoContext &&
|
||||
((workInProgressRootRenderTargetTime =
|
||||
now$1() + RENDER_TIMEOUT_MS),
|
||||
flushSyncWorkAcrossRoots_impl(!1));
|
||||
flushSyncWorkAcrossRoots_impl(0, !1));
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -26613,11 +26622,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-modern-1d989965-20240821" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-modern-ee7f6757-20240823" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.0.0-www-modern-1d989965-20240821\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-modern-ee7f6757-20240823\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -26660,11 +26669,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-1d989965-20240821",
|
||||
version: "19.0.0-www-modern-ee7f6757-20240823",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-1d989965-20240821"
|
||||
reconcilerVersion: "19.0.0-www-modern-ee7f6757-20240823"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27269,7 +27278,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-modern-ee7f6757-20240823";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -8947,5 +8947,5 @@ __DEV__ &&
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-classic-ee7f6757-20240823";
|
||||
})();
|
||||
|
||||
@@ -8767,5 +8767,5 @@ __DEV__ &&
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-modern-ee7f6757-20240823";
|
||||
})();
|
||||
|
||||
@@ -5880,4 +5880,4 @@ exports.renderToString = function (children, options) {
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-classic-ee7f6757-20240823";
|
||||
|
||||
@@ -5794,4 +5794,4 @@ exports.renderToString = function (children, options) {
|
||||
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
||||
);
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-modern-ee7f6757-20240823";
|
||||
|
||||
@@ -3863,28 +3863,41 @@ __DEV__ &&
|
||||
0 === root.tag &&
|
||||
(ReactSharedInternals.didScheduleLegacyUpdate = !0);
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
isFlushingWork = !0;
|
||||
do {
|
||||
var didPerformSomeWork = !1;
|
||||
for (var root = firstScheduledRoot; null !== root; ) {
|
||||
if (!onlyLegacy || (!disableLegacyMode && 0 === root.tag)) {
|
||||
var workInProgressRootRenderLanes$jscomp$0 =
|
||||
workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot
|
||||
? workInProgressRootRenderLanes$jscomp$0
|
||||
: 0
|
||||
);
|
||||
0 !== (workInProgressRootRenderLanes$jscomp$0 & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(
|
||||
root,
|
||||
workInProgressRootRenderLanes$jscomp$0
|
||||
));
|
||||
}
|
||||
if (!onlyLegacy || (!disableLegacyMode && 0 === root.tag))
|
||||
if (0 !== syncTransitionLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) var nextLanes = 0;
|
||||
else {
|
||||
var suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes;
|
||||
nextLanes =
|
||||
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
||||
nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
||||
nextLanes =
|
||||
nextLanes & 201326677
|
||||
? (nextLanes & 201326677) | 1
|
||||
: nextLanes
|
||||
? nextLanes | 2
|
||||
: 0;
|
||||
}
|
||||
0 !== nextLanes &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
} else
|
||||
(nextLanes = workInProgressRootRenderLanes),
|
||||
(nextLanes = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? nextLanes : 0
|
||||
)),
|
||||
0 !== (nextLanes & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
root = root.next;
|
||||
}
|
||||
} while (didPerformSomeWork);
|
||||
@@ -3896,33 +3909,29 @@ __DEV__ &&
|
||||
didScheduleMicrotask_act =
|
||||
didScheduleMicrotask =
|
||||
!1;
|
||||
var syncTransitionLanes = 0;
|
||||
0 !== currentEventTransitionLane &&
|
||||
(shouldAttemptEagerTransition() &&
|
||||
(syncTransitionLanes = currentEventTransitionLane),
|
||||
(currentEventTransitionLane = 0));
|
||||
for (
|
||||
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
|
||||
null !== root;
|
||||
|
||||
) {
|
||||
var next = root.next;
|
||||
if (
|
||||
0 !== currentEventTransitionLane &&
|
||||
shouldAttemptEagerTransition()
|
||||
) {
|
||||
var root$jscomp$0 = root,
|
||||
lane = currentEventTransitionLane;
|
||||
root$jscomp$0.pendingLanes |= 2;
|
||||
root$jscomp$0.entangledLanes |= 2;
|
||||
root$jscomp$0.entanglements[1] |= lane;
|
||||
}
|
||||
root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
0 === root$jscomp$0
|
||||
? ((root.next = null),
|
||||
var next = root.next,
|
||||
nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
if (0 === nextLanes)
|
||||
(root.next = null),
|
||||
null === prev ? (firstScheduledRoot = next) : (prev.next = next),
|
||||
null === next && (lastScheduledRoot = prev))
|
||||
: ((prev = root),
|
||||
0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0));
|
||||
null === next && (lastScheduledRoot = prev);
|
||||
else if (
|
||||
((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3))
|
||||
)
|
||||
mightHavePendingSyncWork = !0;
|
||||
root = next;
|
||||
}
|
||||
currentEventTransitionLane = 0;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
|
||||
}
|
||||
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
var pendingLanes = root.pendingLanes,
|
||||
@@ -9177,32 +9186,32 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2455;
|
||||
var JSCompiler_object_inline_stack_2456 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2463;
|
||||
var JSCompiler_object_inline_stack_2464 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2457 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2465 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2455 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2455 =
|
||||
(JSCompiler_object_inline_digest_2463 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2463 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2455 &&
|
||||
((JSCompiler_object_inline_componentStack_2457 = !0),
|
||||
JSCompiler_object_inline_digest_2463 &&
|
||||
((JSCompiler_object_inline_componentStack_2465 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2455 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2463 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2457
|
||||
JSCompiler_object_inline_componentStack_2465
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2454 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2462 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2454)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2462)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2454;
|
||||
var instance = JSCompiler_object_inline_message_2462;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
instance.nodeType !== COMMENT_NODE;
|
||||
@@ -9243,19 +9252,19 @@ __DEV__ &&
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2454
|
||||
JSCompiler_object_inline_message_2462
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2454 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2462 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2454 &&
|
||||
((JSCompiler_object_inline_message_2454 =
|
||||
JSCompiler_object_inline_message_2454.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2454)
|
||||
null !== JSCompiler_object_inline_message_2462 &&
|
||||
((JSCompiler_object_inline_message_2462 =
|
||||
JSCompiler_object_inline_message_2462.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2462)
|
||||
)
|
||||
return (
|
||||
JSCompiler_object_inline_message_2454.data ===
|
||||
JSCompiler_object_inline_message_2462.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA
|
||||
? (workInProgress.lanes = 16)
|
||||
: (workInProgress.lanes = 536870912),
|
||||
@@ -9263,27 +9272,27 @@ __DEV__ &&
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2454 =
|
||||
JSCompiler_object_inline_stack_2456.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2456.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2457)
|
||||
JSCompiler_object_inline_message_2462 =
|
||||
JSCompiler_object_inline_stack_2464.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2464.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2465)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2456 =
|
||||
(JSCompiler_object_inline_stack_2464 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2454,
|
||||
JSCompiler_object_inline_message_2462,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2457 =
|
||||
(JSCompiler_object_inline_componentStack_2465 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2457.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2465.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2457.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2465.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2455,
|
||||
JSCompiler_object_inline_digest_2463,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
@@ -9296,9 +9305,9 @@ __DEV__ &&
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(current =
|
||||
JSCompiler_object_inline_componentStack_2457.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2465.updateQueue),
|
||||
null === current
|
||||
? (JSCompiler_object_inline_componentStack_2457.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2465.updateQueue =
|
||||
{
|
||||
transitions: workInProgress,
|
||||
markerInstances: renderLanes,
|
||||
@@ -9306,46 +9315,46 @@ __DEV__ &&
|
||||
})
|
||||
: ((current.transitions = workInProgress),
|
||||
(current.markerInstances = renderLanes)))),
|
||||
JSCompiler_object_inline_stack_2456
|
||||
JSCompiler_object_inline_stack_2464
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2456.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2464.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2456 =
|
||||
(JSCompiler_object_inline_stack_2464 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2454,
|
||||
JSCompiler_object_inline_message_2462,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2457 =
|
||||
(JSCompiler_object_inline_componentStack_2465 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2457.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2465.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2457.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2465.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2455,
|
||||
JSCompiler_object_inline_digest_2463,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2456
|
||||
JSCompiler_object_inline_stack_2464
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2454
|
||||
JSCompiler_object_inline_message_2462
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2454 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2454)
|
||||
((JSCompiler_object_inline_message_2462 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2462)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -9362,32 +9371,32 @@ __DEV__ &&
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2457 =
|
||||
JSCompiler_object_inline_stack_2456.fallback),
|
||||
(JSCompiler_object_inline_message_2454 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2456 = createFiberFromOffscreen(
|
||||
(JSCompiler_object_inline_componentStack_2465 =
|
||||
JSCompiler_object_inline_stack_2464.fallback),
|
||||
(JSCompiler_object_inline_message_2462 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2464 = createFiberFromOffscreen(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2456.children
|
||||
children: JSCompiler_object_inline_stack_2464.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2454,
|
||||
JSCompiler_object_inline_message_2462,
|
||||
0,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2457 =
|
||||
(JSCompiler_object_inline_componentStack_2465 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2457,
|
||||
JSCompiler_object_inline_message_2454,
|
||||
JSCompiler_object_inline_componentStack_2465,
|
||||
JSCompiler_object_inline_message_2462,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2457.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2456.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2457.return =
|
||||
(JSCompiler_object_inline_componentStack_2465.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2464.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2465.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2456.sibling =
|
||||
JSCompiler_object_inline_componentStack_2457),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2456),
|
||||
(JSCompiler_object_inline_stack_2464.sibling =
|
||||
JSCompiler_object_inline_componentStack_2465),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2464),
|
||||
(disableLegacyMode ||
|
||||
(workInProgress.mode & ConcurrentMode) !== NoMode) &&
|
||||
reconcileChildFibers(
|
||||
@@ -9396,63 +9405,63 @@ __DEV__ &&
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2456 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2456.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2464 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2464.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2456.childLanes =
|
||||
(JSCompiler_object_inline_stack_2464.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2455,
|
||||
JSCompiler_object_inline_digest_2463,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress =
|
||||
JSCompiler_object_inline_componentStack_2457));
|
||||
JSCompiler_object_inline_componentStack_2465));
|
||||
else if (
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
isHydrating &&
|
||||
error$jscomp$0(
|
||||
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
||||
),
|
||||
JSCompiler_object_inline_message_2454.data ===
|
||||
JSCompiler_object_inline_message_2462.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2455 =
|
||||
JSCompiler_object_inline_message_2454.nextSibling &&
|
||||
JSCompiler_object_inline_message_2454.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2455) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2455.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2455.msg;
|
||||
instance = JSCompiler_object_inline_digest_2455.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2455.cstck;
|
||||
JSCompiler_object_inline_digest_2463 =
|
||||
JSCompiler_object_inline_message_2462.nextSibling &&
|
||||
JSCompiler_object_inline_message_2462.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2463) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2463.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2463.msg;
|
||||
instance = JSCompiler_object_inline_digest_2463.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2463.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2454 = message;
|
||||
JSCompiler_object_inline_digest_2455 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2456 = instance;
|
||||
JSCompiler_object_inline_componentStack_2457 = componentStack;
|
||||
JSCompiler_object_inline_message_2454 =
|
||||
JSCompiler_object_inline_message_2454
|
||||
? Error(JSCompiler_object_inline_message_2454)
|
||||
JSCompiler_object_inline_message_2462 = message;
|
||||
JSCompiler_object_inline_digest_2463 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2464 = instance;
|
||||
JSCompiler_object_inline_componentStack_2465 = componentStack;
|
||||
JSCompiler_object_inline_message_2462 =
|
||||
JSCompiler_object_inline_message_2462
|
||||
? Error(JSCompiler_object_inline_message_2462)
|
||||
: Error(
|
||||
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
||||
);
|
||||
JSCompiler_object_inline_message_2454.stack =
|
||||
JSCompiler_object_inline_stack_2456 || "";
|
||||
JSCompiler_object_inline_message_2454.digest =
|
||||
JSCompiler_object_inline_digest_2455;
|
||||
JSCompiler_object_inline_digest_2455 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2457
|
||||
JSCompiler_object_inline_message_2462.stack =
|
||||
JSCompiler_object_inline_stack_2464 || "";
|
||||
JSCompiler_object_inline_message_2462.digest =
|
||||
JSCompiler_object_inline_digest_2463;
|
||||
JSCompiler_object_inline_digest_2463 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2465
|
||||
? null
|
||||
: JSCompiler_object_inline_componentStack_2457;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2455 &&
|
||||
: JSCompiler_object_inline_componentStack_2465;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2463 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_message_2454,
|
||||
JSCompiler_object_inline_digest_2455
|
||||
JSCompiler_object_inline_message_2462,
|
||||
JSCompiler_object_inline_digest_2463
|
||||
);
|
||||
queueHydrationError({
|
||||
value: JSCompiler_object_inline_message_2454,
|
||||
value: JSCompiler_object_inline_message_2462,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2455
|
||||
stack: JSCompiler_object_inline_digest_2463
|
||||
});
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9467,25 +9476,25 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2455 =
|
||||
(JSCompiler_object_inline_digest_2463 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2455)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2463)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2455 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2455) {
|
||||
JSCompiler_object_inline_stack_2456 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2456 & 42))
|
||||
JSCompiler_object_inline_stack_2456 = 1;
|
||||
JSCompiler_object_inline_digest_2463 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2463) {
|
||||
JSCompiler_object_inline_stack_2464 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2464 & 42))
|
||||
JSCompiler_object_inline_stack_2464 = 1;
|
||||
else
|
||||
switch (JSCompiler_object_inline_stack_2456) {
|
||||
switch (JSCompiler_object_inline_stack_2464) {
|
||||
case 2:
|
||||
JSCompiler_object_inline_stack_2456 = 1;
|
||||
JSCompiler_object_inline_stack_2464 = 1;
|
||||
break;
|
||||
case 8:
|
||||
JSCompiler_object_inline_stack_2456 = 4;
|
||||
JSCompiler_object_inline_stack_2464 = 4;
|
||||
break;
|
||||
case 32:
|
||||
JSCompiler_object_inline_stack_2456 = 16;
|
||||
JSCompiler_object_inline_stack_2464 = 16;
|
||||
break;
|
||||
case 128:
|
||||
case 256:
|
||||
@@ -9506,40 +9515,40 @@ __DEV__ &&
|
||||
case 8388608:
|
||||
case 16777216:
|
||||
case 33554432:
|
||||
JSCompiler_object_inline_stack_2456 = 64;
|
||||
JSCompiler_object_inline_stack_2464 = 64;
|
||||
break;
|
||||
case 268435456:
|
||||
JSCompiler_object_inline_stack_2456 = 134217728;
|
||||
JSCompiler_object_inline_stack_2464 = 134217728;
|
||||
break;
|
||||
default:
|
||||
JSCompiler_object_inline_stack_2456 = 0;
|
||||
JSCompiler_object_inline_stack_2464 = 0;
|
||||
}
|
||||
JSCompiler_object_inline_stack_2456 =
|
||||
JSCompiler_object_inline_stack_2464 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2456 &
|
||||
(JSCompiler_object_inline_digest_2455.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2464 &
|
||||
(JSCompiler_object_inline_digest_2463.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2456;
|
||||
: JSCompiler_object_inline_stack_2464;
|
||||
if (
|
||||
0 !== JSCompiler_object_inline_stack_2456 &&
|
||||
JSCompiler_object_inline_stack_2456 !== prevState.retryLane
|
||||
0 !== JSCompiler_object_inline_stack_2464 &&
|
||||
JSCompiler_object_inline_stack_2464 !== prevState.retryLane
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2456),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2464),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2456
|
||||
JSCompiler_object_inline_stack_2464
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2455,
|
||||
JSCompiler_object_inline_digest_2463,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2456
|
||||
JSCompiler_object_inline_stack_2464
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
}
|
||||
JSCompiler_object_inline_message_2454.data ===
|
||||
JSCompiler_object_inline_message_2462.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9547,7 +9556,7 @@ __DEV__ &&
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2454.data ===
|
||||
JSCompiler_object_inline_message_2462.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 128),
|
||||
(workInProgress.child = current.child),
|
||||
@@ -9555,12 +9564,12 @@ __DEV__ &&
|
||||
null,
|
||||
current
|
||||
)),
|
||||
(JSCompiler_object_inline_message_2454._reactRetry =
|
||||
(JSCompiler_object_inline_message_2462._reactRetry =
|
||||
workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2454.nextSibling
|
||||
JSCompiler_object_inline_message_2462.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9578,73 +9587,73 @@ __DEV__ &&
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2456.children
|
||||
JSCompiler_object_inline_stack_2464.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2457)
|
||||
if (JSCompiler_object_inline_componentStack_2465)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2457 =
|
||||
JSCompiler_object_inline_stack_2456.fallback),
|
||||
(JSCompiler_object_inline_message_2454 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2465 =
|
||||
JSCompiler_object_inline_stack_2464.fallback),
|
||||
(JSCompiler_object_inline_message_2462 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(componentStack = {
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2456.children
|
||||
children: JSCompiler_object_inline_stack_2464.children
|
||||
}),
|
||||
disableLegacyMode ||
|
||||
(JSCompiler_object_inline_message_2454 & ConcurrentMode) !== NoMode ||
|
||||
(JSCompiler_object_inline_message_2462 & ConcurrentMode) !== NoMode ||
|
||||
workInProgress.child === JSCompiler_temp
|
||||
? ((JSCompiler_object_inline_stack_2456 = createWorkInProgress(
|
||||
? ((JSCompiler_object_inline_stack_2464 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
componentStack
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2456.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2464.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 31457280))
|
||||
: ((JSCompiler_object_inline_stack_2456 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2456.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2456.pendingProps =
|
||||
: ((JSCompiler_object_inline_stack_2464 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2464.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2464.pendingProps =
|
||||
componentStack),
|
||||
workInProgress.mode & ProfileMode &&
|
||||
((JSCompiler_object_inline_stack_2456.actualDuration = 0),
|
||||
(JSCompiler_object_inline_stack_2456.actualStartTime = -1),
|
||||
(JSCompiler_object_inline_stack_2456.selfBaseDuration =
|
||||
((JSCompiler_object_inline_stack_2464.actualDuration = 0),
|
||||
(JSCompiler_object_inline_stack_2464.actualStartTime = -1),
|
||||
(JSCompiler_object_inline_stack_2464.selfBaseDuration =
|
||||
JSCompiler_temp.selfBaseDuration),
|
||||
(JSCompiler_object_inline_stack_2456.treeBaseDuration =
|
||||
(JSCompiler_object_inline_stack_2464.treeBaseDuration =
|
||||
JSCompiler_temp.treeBaseDuration)),
|
||||
(workInProgress.deletions = null)),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2457 =
|
||||
? (JSCompiler_object_inline_componentStack_2465 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2457
|
||||
JSCompiler_object_inline_componentStack_2465
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2457 =
|
||||
: ((JSCompiler_object_inline_componentStack_2465 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2457,
|
||||
JSCompiler_object_inline_message_2454,
|
||||
JSCompiler_object_inline_componentStack_2465,
|
||||
JSCompiler_object_inline_message_2462,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2457.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2457.return =
|
||||
(JSCompiler_object_inline_componentStack_2465.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2465.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2456.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2456.sibling =
|
||||
JSCompiler_object_inline_componentStack_2457),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2456),
|
||||
(JSCompiler_object_inline_stack_2456 =
|
||||
JSCompiler_object_inline_componentStack_2457),
|
||||
(JSCompiler_object_inline_componentStack_2457 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2454 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2454
|
||||
? (JSCompiler_object_inline_message_2454 =
|
||||
(JSCompiler_object_inline_stack_2464.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2464.sibling =
|
||||
JSCompiler_object_inline_componentStack_2465),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2464),
|
||||
(JSCompiler_object_inline_stack_2464 =
|
||||
JSCompiler_object_inline_componentStack_2465),
|
||||
(JSCompiler_object_inline_componentStack_2465 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2462 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2462
|
||||
? (JSCompiler_object_inline_message_2462 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2454.cachePool),
|
||||
JSCompiler_object_inline_message_2462.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9652,34 +9661,34 @@ __DEV__ &&
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2454 = {
|
||||
(JSCompiler_object_inline_message_2462 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2454.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2462.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2457.memoizedState =
|
||||
JSCompiler_object_inline_message_2454),
|
||||
(JSCompiler_object_inline_componentStack_2465.memoizedState =
|
||||
JSCompiler_object_inline_message_2462),
|
||||
enableTransitionTracing &&
|
||||
((JSCompiler_object_inline_message_2454 = enableTransitionTracing
|
||||
((JSCompiler_object_inline_message_2462 = enableTransitionTracing
|
||||
? transitionStack.current
|
||||
: null),
|
||||
null !== JSCompiler_object_inline_message_2454 &&
|
||||
null !== JSCompiler_object_inline_message_2462 &&
|
||||
((JSCompiler_temp = enableTransitionTracing
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(instance =
|
||||
JSCompiler_object_inline_componentStack_2457.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2465.updateQueue),
|
||||
(componentStack = current.updateQueue),
|
||||
null === instance
|
||||
? (JSCompiler_object_inline_componentStack_2457.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2454,
|
||||
? (JSCompiler_object_inline_componentStack_2465.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2462,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue: null
|
||||
})
|
||||
: instance === componentStack
|
||||
? (JSCompiler_object_inline_componentStack_2457.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2465.updateQueue =
|
||||
{
|
||||
transitions: JSCompiler_object_inline_message_2454,
|
||||
transitions: JSCompiler_object_inline_message_2462,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue:
|
||||
null !== componentStack
|
||||
@@ -9687,41 +9696,41 @@ __DEV__ &&
|
||||
: null
|
||||
})
|
||||
: ((instance.transitions =
|
||||
JSCompiler_object_inline_message_2454),
|
||||
JSCompiler_object_inline_message_2462),
|
||||
(instance.markerInstances = JSCompiler_temp)))),
|
||||
(JSCompiler_object_inline_componentStack_2457.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2465.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2455,
|
||||
JSCompiler_object_inline_digest_2463,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2456
|
||||
JSCompiler_object_inline_stack_2464
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
JSCompiler_object_inline_digest_2455 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2455.sibling;
|
||||
JSCompiler_object_inline_digest_2455 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2455,
|
||||
JSCompiler_object_inline_digest_2463 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2463.sibling;
|
||||
JSCompiler_object_inline_digest_2463 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2463,
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2456.children
|
||||
children: JSCompiler_object_inline_stack_2464.children
|
||||
}
|
||||
);
|
||||
disableLegacyMode ||
|
||||
(workInProgress.mode & ConcurrentMode) !== NoMode ||
|
||||
(JSCompiler_object_inline_digest_2455.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2455.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2455.sibling = null;
|
||||
(JSCompiler_object_inline_digest_2463.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2463.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2463.sibling = null;
|
||||
null !== current &&
|
||||
((renderLanes = workInProgress.deletions),
|
||||
null === renderLanes
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: renderLanes.push(current));
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2455;
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2463;
|
||||
workInProgress.memoizedState = null;
|
||||
return JSCompiler_object_inline_digest_2455;
|
||||
return JSCompiler_object_inline_digest_2463;
|
||||
}
|
||||
function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
|
||||
primaryChildren = createFiberFromOffscreen(
|
||||
@@ -15800,7 +15809,7 @@ __DEV__ &&
|
||||
(fiber.mode & ConcurrentMode) !== NoMode ||
|
||||
ReactSharedInternals.isBatchingLegacy ||
|
||||
((workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS),
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(!0));
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
}
|
||||
function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
@@ -16139,12 +16148,12 @@ __DEV__ &&
|
||||
executionContext !== NoContext ||
|
||||
ReactSharedInternals.isBatchingLegacy ||
|
||||
((workInProgressRootRenderTargetTime = now$1() + RENDER_TIMEOUT_MS),
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(!0));
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
}
|
||||
function flushSyncWork$1() {
|
||||
return (executionContext & (RenderContext | CommitContext)) === NoContext
|
||||
? (flushSyncWorkAcrossRoots_impl(!1), !1)
|
||||
? (flushSyncWorkAcrossRoots_impl(0, !1), !1)
|
||||
: !0;
|
||||
}
|
||||
function resetWorkInProgressStack() {
|
||||
@@ -16903,7 +16912,7 @@ __DEV__ &&
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: (nestedUpdateCount = 0);
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
enableDebugTracing && enableDebugTracing && groupEnd();
|
||||
enableSchedulingProfiler && markCommitStopped();
|
||||
if (enableTransitionTracing) {
|
||||
@@ -17021,7 +17030,7 @@ __DEV__ &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
commitDoubleInvokeEffectsInDEV(root, !0);
|
||||
executionContext = prevExecutionContext;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
if (enableTransitionTracing) {
|
||||
var prevPendingTransitionCallbacks = currentPendingTransitionCallbacks,
|
||||
prevRootTransitionCallbacks = root.transitionCallbacks,
|
||||
@@ -23626,7 +23635,7 @@ __DEV__ &&
|
||||
NoContext &&
|
||||
((workInProgressRootRenderTargetTime =
|
||||
now$1() + RENDER_TIMEOUT_MS),
|
||||
flushSyncWorkAcrossRoots_impl(!1));
|
||||
flushSyncWorkAcrossRoots_impl(0, !1));
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -23906,7 +23915,7 @@ __DEV__ &&
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
(executionContext = prevExecutionContext),
|
||||
(executionContext & (RenderContext | CommitContext)) ===
|
||||
NoContext && flushSyncWorkAcrossRoots_impl(!1);
|
||||
NoContext && flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
}
|
||||
JSCompiler_inline_result = void 0;
|
||||
}
|
||||
@@ -27862,11 +27871,11 @@ __DEV__ &&
|
||||
: flushSyncErrorInBuildsThatSupportLegacyMode;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-classic-1d989965-20240821" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-classic-ee7f6757-20240823" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.0.0-www-classic-1d989965-20240821\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-classic-ee7f6757-20240823\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27910,11 +27919,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-1d989965-20240821",
|
||||
version: "19.0.0-www-classic-ee7f6757-20240823",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-1d989965-20240821"
|
||||
reconcilerVersion: "19.0.0-www-classic-ee7f6757-20240823"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28733,5 +28742,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-classic-ee7f6757-20240823";
|
||||
})();
|
||||
|
||||
@@ -3730,28 +3730,41 @@ __DEV__ &&
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now$1());
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
isFlushingWork = !0;
|
||||
do {
|
||||
var didPerformSomeWork = !1;
|
||||
for (var root = firstScheduledRoot; null !== root; ) {
|
||||
if (!onlyLegacy) {
|
||||
var workInProgressRootRenderLanes$jscomp$0 =
|
||||
workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot
|
||||
? workInProgressRootRenderLanes$jscomp$0
|
||||
: 0
|
||||
);
|
||||
0 !== (workInProgressRootRenderLanes$jscomp$0 & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(
|
||||
root,
|
||||
workInProgressRootRenderLanes$jscomp$0
|
||||
));
|
||||
}
|
||||
if (!onlyLegacy)
|
||||
if (0 !== syncTransitionLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) var nextLanes = 0;
|
||||
else {
|
||||
var suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes;
|
||||
nextLanes =
|
||||
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
||||
nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
||||
nextLanes =
|
||||
nextLanes & 201326677
|
||||
? (nextLanes & 201326677) | 1
|
||||
: nextLanes
|
||||
? nextLanes | 2
|
||||
: 0;
|
||||
}
|
||||
0 !== nextLanes &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
} else
|
||||
(nextLanes = workInProgressRootRenderLanes),
|
||||
(nextLanes = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? nextLanes : 0
|
||||
)),
|
||||
0 !== (nextLanes & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
root = root.next;
|
||||
}
|
||||
} while (didPerformSomeWork);
|
||||
@@ -3763,33 +3776,29 @@ __DEV__ &&
|
||||
didScheduleMicrotask_act =
|
||||
didScheduleMicrotask =
|
||||
!1;
|
||||
var syncTransitionLanes = 0;
|
||||
0 !== currentEventTransitionLane &&
|
||||
(shouldAttemptEagerTransition() &&
|
||||
(syncTransitionLanes = currentEventTransitionLane),
|
||||
(currentEventTransitionLane = 0));
|
||||
for (
|
||||
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
|
||||
null !== root;
|
||||
|
||||
) {
|
||||
var next = root.next;
|
||||
if (
|
||||
0 !== currentEventTransitionLane &&
|
||||
shouldAttemptEagerTransition()
|
||||
) {
|
||||
var root$jscomp$0 = root,
|
||||
lane = currentEventTransitionLane;
|
||||
root$jscomp$0.pendingLanes |= 2;
|
||||
root$jscomp$0.entangledLanes |= 2;
|
||||
root$jscomp$0.entanglements[1] |= lane;
|
||||
}
|
||||
root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
0 === root$jscomp$0
|
||||
? ((root.next = null),
|
||||
var next = root.next,
|
||||
nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
if (0 === nextLanes)
|
||||
(root.next = null),
|
||||
null === prev ? (firstScheduledRoot = next) : (prev.next = next),
|
||||
null === next && (lastScheduledRoot = prev))
|
||||
: ((prev = root),
|
||||
0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0));
|
||||
null === next && (lastScheduledRoot = prev);
|
||||
else if (
|
||||
((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3))
|
||||
)
|
||||
mightHavePendingSyncWork = !0;
|
||||
root = next;
|
||||
}
|
||||
currentEventTransitionLane = 0;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
|
||||
}
|
||||
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
var pendingLanes = root.pendingLanes,
|
||||
@@ -8862,32 +8871,32 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2467;
|
||||
var JSCompiler_object_inline_stack_2468 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2475;
|
||||
var JSCompiler_object_inline_stack_2476 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2469 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2477 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2467 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2467 =
|
||||
(JSCompiler_object_inline_digest_2475 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2475 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2467 &&
|
||||
((JSCompiler_object_inline_componentStack_2469 = !0),
|
||||
JSCompiler_object_inline_digest_2475 &&
|
||||
((JSCompiler_object_inline_componentStack_2477 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2467 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2475 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2469
|
||||
JSCompiler_object_inline_componentStack_2477
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2466 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2474 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2466)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2474)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2466;
|
||||
var instance = JSCompiler_object_inline_message_2474;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
instance.nodeType !== COMMENT_NODE;
|
||||
@@ -8928,19 +8937,19 @@ __DEV__ &&
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2466
|
||||
JSCompiler_object_inline_message_2474
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2466 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2474 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2466 &&
|
||||
((JSCompiler_object_inline_message_2466 =
|
||||
JSCompiler_object_inline_message_2466.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2466)
|
||||
null !== JSCompiler_object_inline_message_2474 &&
|
||||
((JSCompiler_object_inline_message_2474 =
|
||||
JSCompiler_object_inline_message_2474.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2474)
|
||||
)
|
||||
return (
|
||||
JSCompiler_object_inline_message_2466.data ===
|
||||
JSCompiler_object_inline_message_2474.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA
|
||||
? (workInProgress.lanes = 16)
|
||||
: (workInProgress.lanes = 536870912),
|
||||
@@ -8948,27 +8957,27 @@ __DEV__ &&
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2466 =
|
||||
JSCompiler_object_inline_stack_2468.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2468.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2469)
|
||||
JSCompiler_object_inline_message_2474 =
|
||||
JSCompiler_object_inline_stack_2476.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2476.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2477)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2468 =
|
||||
(JSCompiler_object_inline_stack_2476 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2466,
|
||||
JSCompiler_object_inline_message_2474,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2469 =
|
||||
(JSCompiler_object_inline_componentStack_2477 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2469.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2477.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2469.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2477.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2467,
|
||||
JSCompiler_object_inline_digest_2475,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
@@ -8981,9 +8990,9 @@ __DEV__ &&
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(renderLanes =
|
||||
JSCompiler_object_inline_componentStack_2469.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2477.updateQueue),
|
||||
null === renderLanes
|
||||
? (JSCompiler_object_inline_componentStack_2469.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2477.updateQueue =
|
||||
{
|
||||
transitions: workInProgress,
|
||||
markerInstances: current,
|
||||
@@ -8991,46 +9000,46 @@ __DEV__ &&
|
||||
})
|
||||
: ((renderLanes.transitions = workInProgress),
|
||||
(renderLanes.markerInstances = current)))),
|
||||
JSCompiler_object_inline_stack_2468
|
||||
JSCompiler_object_inline_stack_2476
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2468.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2476.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2468 =
|
||||
(JSCompiler_object_inline_stack_2476 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2466,
|
||||
JSCompiler_object_inline_message_2474,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2469 =
|
||||
(JSCompiler_object_inline_componentStack_2477 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2469.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2477.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2469.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2477.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2467,
|
||||
JSCompiler_object_inline_digest_2475,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2468
|
||||
JSCompiler_object_inline_stack_2476
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2466
|
||||
JSCompiler_object_inline_message_2474
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2466 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2466)
|
||||
((JSCompiler_object_inline_message_2474 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2474)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -9047,94 +9056,94 @@ __DEV__ &&
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2469 =
|
||||
JSCompiler_object_inline_stack_2468.fallback),
|
||||
(JSCompiler_object_inline_message_2466 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2468 =
|
||||
(JSCompiler_object_inline_componentStack_2477 =
|
||||
JSCompiler_object_inline_stack_2476.fallback),
|
||||
(JSCompiler_object_inline_message_2474 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2476 =
|
||||
mountWorkInProgressOffscreenFiber(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2468.children
|
||||
children: JSCompiler_object_inline_stack_2476.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2466
|
||||
JSCompiler_object_inline_message_2474
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2469 =
|
||||
(JSCompiler_object_inline_componentStack_2477 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2469,
|
||||
JSCompiler_object_inline_message_2466,
|
||||
JSCompiler_object_inline_componentStack_2477,
|
||||
JSCompiler_object_inline_message_2474,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2469.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2468.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2469.return =
|
||||
(JSCompiler_object_inline_componentStack_2477.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2476.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2477.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2468.sibling =
|
||||
JSCompiler_object_inline_componentStack_2469),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2468),
|
||||
(JSCompiler_object_inline_stack_2476.sibling =
|
||||
JSCompiler_object_inline_componentStack_2477),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2476),
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
current.child,
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2468 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2468.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2476 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2476.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2468.childLanes =
|
||||
(JSCompiler_object_inline_stack_2476.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2467,
|
||||
JSCompiler_object_inline_digest_2475,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress =
|
||||
JSCompiler_object_inline_componentStack_2469));
|
||||
JSCompiler_object_inline_componentStack_2477));
|
||||
else if (
|
||||
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
||||
isHydrating &&
|
||||
error$jscomp$0(
|
||||
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
||||
),
|
||||
JSCompiler_object_inline_message_2466.data ===
|
||||
JSCompiler_object_inline_message_2474.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2467 =
|
||||
JSCompiler_object_inline_message_2466.nextSibling &&
|
||||
JSCompiler_object_inline_message_2466.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2467) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2467.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2467.msg;
|
||||
instance = JSCompiler_object_inline_digest_2467.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2467.cstck;
|
||||
JSCompiler_object_inline_digest_2475 =
|
||||
JSCompiler_object_inline_message_2474.nextSibling &&
|
||||
JSCompiler_object_inline_message_2474.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2475) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2475.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2475.msg;
|
||||
instance = JSCompiler_object_inline_digest_2475.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2475.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2466 = message;
|
||||
JSCompiler_object_inline_digest_2467 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2468 = instance;
|
||||
JSCompiler_object_inline_componentStack_2469 = componentStack;
|
||||
JSCompiler_object_inline_message_2466 =
|
||||
JSCompiler_object_inline_message_2466
|
||||
? Error(JSCompiler_object_inline_message_2466)
|
||||
JSCompiler_object_inline_message_2474 = message;
|
||||
JSCompiler_object_inline_digest_2475 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2476 = instance;
|
||||
JSCompiler_object_inline_componentStack_2477 = componentStack;
|
||||
JSCompiler_object_inline_message_2474 =
|
||||
JSCompiler_object_inline_message_2474
|
||||
? Error(JSCompiler_object_inline_message_2474)
|
||||
: Error(
|
||||
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
||||
);
|
||||
JSCompiler_object_inline_message_2466.stack =
|
||||
JSCompiler_object_inline_stack_2468 || "";
|
||||
JSCompiler_object_inline_message_2466.digest =
|
||||
JSCompiler_object_inline_digest_2467;
|
||||
JSCompiler_object_inline_digest_2467 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2469
|
||||
JSCompiler_object_inline_message_2474.stack =
|
||||
JSCompiler_object_inline_stack_2476 || "";
|
||||
JSCompiler_object_inline_message_2474.digest =
|
||||
JSCompiler_object_inline_digest_2475;
|
||||
JSCompiler_object_inline_digest_2475 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2477
|
||||
? null
|
||||
: JSCompiler_object_inline_componentStack_2469;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2467 &&
|
||||
: JSCompiler_object_inline_componentStack_2477;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2475 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_message_2466,
|
||||
JSCompiler_object_inline_digest_2467
|
||||
JSCompiler_object_inline_message_2474,
|
||||
JSCompiler_object_inline_digest_2475
|
||||
);
|
||||
queueHydrationError({
|
||||
value: JSCompiler_object_inline_message_2466,
|
||||
value: JSCompiler_object_inline_message_2474,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2467
|
||||
stack: JSCompiler_object_inline_digest_2475
|
||||
});
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9149,25 +9158,25 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2467 =
|
||||
(JSCompiler_object_inline_digest_2475 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2467)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2475)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2467 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2467) {
|
||||
JSCompiler_object_inline_stack_2468 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2468 & 42))
|
||||
JSCompiler_object_inline_stack_2468 = 1;
|
||||
JSCompiler_object_inline_digest_2475 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2475) {
|
||||
JSCompiler_object_inline_stack_2476 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2476 & 42))
|
||||
JSCompiler_object_inline_stack_2476 = 1;
|
||||
else
|
||||
switch (JSCompiler_object_inline_stack_2468) {
|
||||
switch (JSCompiler_object_inline_stack_2476) {
|
||||
case 2:
|
||||
JSCompiler_object_inline_stack_2468 = 1;
|
||||
JSCompiler_object_inline_stack_2476 = 1;
|
||||
break;
|
||||
case 8:
|
||||
JSCompiler_object_inline_stack_2468 = 4;
|
||||
JSCompiler_object_inline_stack_2476 = 4;
|
||||
break;
|
||||
case 32:
|
||||
JSCompiler_object_inline_stack_2468 = 16;
|
||||
JSCompiler_object_inline_stack_2476 = 16;
|
||||
break;
|
||||
case 128:
|
||||
case 256:
|
||||
@@ -9188,40 +9197,40 @@ __DEV__ &&
|
||||
case 8388608:
|
||||
case 16777216:
|
||||
case 33554432:
|
||||
JSCompiler_object_inline_stack_2468 = 64;
|
||||
JSCompiler_object_inline_stack_2476 = 64;
|
||||
break;
|
||||
case 268435456:
|
||||
JSCompiler_object_inline_stack_2468 = 134217728;
|
||||
JSCompiler_object_inline_stack_2476 = 134217728;
|
||||
break;
|
||||
default:
|
||||
JSCompiler_object_inline_stack_2468 = 0;
|
||||
JSCompiler_object_inline_stack_2476 = 0;
|
||||
}
|
||||
JSCompiler_object_inline_stack_2468 =
|
||||
JSCompiler_object_inline_stack_2476 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2468 &
|
||||
(JSCompiler_object_inline_digest_2467.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2476 &
|
||||
(JSCompiler_object_inline_digest_2475.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2468;
|
||||
: JSCompiler_object_inline_stack_2476;
|
||||
if (
|
||||
0 !== JSCompiler_object_inline_stack_2468 &&
|
||||
JSCompiler_object_inline_stack_2468 !== prevState.retryLane
|
||||
0 !== JSCompiler_object_inline_stack_2476 &&
|
||||
JSCompiler_object_inline_stack_2476 !== prevState.retryLane
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2468),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2476),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2468
|
||||
JSCompiler_object_inline_stack_2476
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2467,
|
||||
JSCompiler_object_inline_digest_2475,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2468
|
||||
JSCompiler_object_inline_stack_2476
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
}
|
||||
JSCompiler_object_inline_message_2466.data ===
|
||||
JSCompiler_object_inline_message_2474.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9229,7 +9238,7 @@ __DEV__ &&
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2466.data ===
|
||||
JSCompiler_object_inline_message_2474.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 128),
|
||||
(workInProgress.child = current.child),
|
||||
@@ -9237,12 +9246,12 @@ __DEV__ &&
|
||||
null,
|
||||
current
|
||||
)),
|
||||
(JSCompiler_object_inline_message_2466._reactRetry =
|
||||
(JSCompiler_object_inline_message_2474._reactRetry =
|
||||
workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((current = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2466.nextSibling
|
||||
JSCompiler_object_inline_message_2474.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9260,57 +9269,57 @@ __DEV__ &&
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2468.children
|
||||
JSCompiler_object_inline_stack_2476.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2469)
|
||||
if (JSCompiler_object_inline_componentStack_2477)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2469 =
|
||||
JSCompiler_object_inline_stack_2468.fallback),
|
||||
(JSCompiler_object_inline_message_2466 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2477 =
|
||||
JSCompiler_object_inline_stack_2476.fallback),
|
||||
(JSCompiler_object_inline_message_2474 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(JSCompiler_object_inline_stack_2468 = createWorkInProgress(
|
||||
(JSCompiler_object_inline_stack_2476 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
{
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2468.children
|
||||
children: JSCompiler_object_inline_stack_2476.children
|
||||
}
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2468.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2476.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 31457280),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2469 =
|
||||
? (JSCompiler_object_inline_componentStack_2477 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2469
|
||||
JSCompiler_object_inline_componentStack_2477
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2469 =
|
||||
: ((JSCompiler_object_inline_componentStack_2477 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2469,
|
||||
JSCompiler_object_inline_message_2466,
|
||||
JSCompiler_object_inline_componentStack_2477,
|
||||
JSCompiler_object_inline_message_2474,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2469.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2469.return =
|
||||
(JSCompiler_object_inline_componentStack_2477.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2477.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2468.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2468.sibling =
|
||||
JSCompiler_object_inline_componentStack_2469),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2468),
|
||||
(JSCompiler_object_inline_stack_2468 =
|
||||
JSCompiler_object_inline_componentStack_2469),
|
||||
(JSCompiler_object_inline_componentStack_2469 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2466 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2466
|
||||
? (JSCompiler_object_inline_message_2466 =
|
||||
(JSCompiler_object_inline_stack_2476.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2476.sibling =
|
||||
JSCompiler_object_inline_componentStack_2477),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2476),
|
||||
(JSCompiler_object_inline_stack_2476 =
|
||||
JSCompiler_object_inline_componentStack_2477),
|
||||
(JSCompiler_object_inline_componentStack_2477 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2474 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2474
|
||||
? (JSCompiler_object_inline_message_2474 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2466.cachePool),
|
||||
JSCompiler_object_inline_message_2474.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9318,34 +9327,34 @@ __DEV__ &&
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2466 = {
|
||||
(JSCompiler_object_inline_message_2474 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2466.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2474.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2469.memoizedState =
|
||||
JSCompiler_object_inline_message_2466),
|
||||
(JSCompiler_object_inline_componentStack_2477.memoizedState =
|
||||
JSCompiler_object_inline_message_2474),
|
||||
enableTransitionTracing &&
|
||||
((JSCompiler_object_inline_message_2466 = enableTransitionTracing
|
||||
((JSCompiler_object_inline_message_2474 = enableTransitionTracing
|
||||
? transitionStack.current
|
||||
: null),
|
||||
null !== JSCompiler_object_inline_message_2466 &&
|
||||
null !== JSCompiler_object_inline_message_2474 &&
|
||||
((JSCompiler_temp = enableTransitionTracing
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(instance =
|
||||
JSCompiler_object_inline_componentStack_2469.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2477.updateQueue),
|
||||
(componentStack = current.updateQueue),
|
||||
null === instance
|
||||
? (JSCompiler_object_inline_componentStack_2469.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2466,
|
||||
? (JSCompiler_object_inline_componentStack_2477.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2474,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue: null
|
||||
})
|
||||
: instance === componentStack
|
||||
? (JSCompiler_object_inline_componentStack_2469.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2477.updateQueue =
|
||||
{
|
||||
transitions: JSCompiler_object_inline_message_2466,
|
||||
transitions: JSCompiler_object_inline_message_2474,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue:
|
||||
null !== componentStack
|
||||
@@ -9353,32 +9362,32 @@ __DEV__ &&
|
||||
: null
|
||||
})
|
||||
: ((instance.transitions =
|
||||
JSCompiler_object_inline_message_2466),
|
||||
JSCompiler_object_inline_message_2474),
|
||||
(instance.markerInstances = JSCompiler_temp)))),
|
||||
(JSCompiler_object_inline_componentStack_2469.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2477.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2467,
|
||||
JSCompiler_object_inline_digest_2475,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2468
|
||||
JSCompiler_object_inline_stack_2476
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
renderLanes = current.child;
|
||||
current = renderLanes.sibling;
|
||||
renderLanes = createWorkInProgress(renderLanes, {
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2468.children
|
||||
children: JSCompiler_object_inline_stack_2476.children
|
||||
});
|
||||
renderLanes.return = workInProgress;
|
||||
renderLanes.sibling = null;
|
||||
null !== current &&
|
||||
((JSCompiler_object_inline_digest_2467 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2467
|
||||
((JSCompiler_object_inline_digest_2475 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2475
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: JSCompiler_object_inline_digest_2467.push(current));
|
||||
: JSCompiler_object_inline_digest_2475.push(current));
|
||||
workInProgress.child = renderLanes;
|
||||
workInProgress.memoizedState = null;
|
||||
return renderLanes;
|
||||
@@ -15580,7 +15589,7 @@ __DEV__ &&
|
||||
}
|
||||
function flushSyncWork$1() {
|
||||
return (executionContext & (RenderContext | CommitContext)) === NoContext
|
||||
? (flushSyncWorkAcrossRoots_impl(!1), !1)
|
||||
? (flushSyncWorkAcrossRoots_impl(0, !1), !1)
|
||||
: !0;
|
||||
}
|
||||
function resetWorkInProgressStack() {
|
||||
@@ -16333,7 +16342,7 @@ __DEV__ &&
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: (nestedUpdateCount = 0);
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
enableDebugTracing && enableDebugTracing && groupEnd();
|
||||
enableSchedulingProfiler && markCommitStopped();
|
||||
if (enableTransitionTracing) {
|
||||
@@ -16451,7 +16460,7 @@ __DEV__ &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
commitDoubleInvokeEffectsInDEV(root);
|
||||
executionContext = prevExecutionContext;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
if (enableTransitionTracing) {
|
||||
var prevPendingTransitionCallbacks = currentPendingTransitionCallbacks,
|
||||
prevRootTransitionCallbacks = root.transitionCallbacks,
|
||||
@@ -22900,7 +22909,7 @@ __DEV__ &&
|
||||
NoContext &&
|
||||
((workInProgressRootRenderTargetTime =
|
||||
now$1() + RENDER_TIMEOUT_MS),
|
||||
flushSyncWorkAcrossRoots_impl(!1));
|
||||
flushSyncWorkAcrossRoots_impl(0, !1));
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -26947,11 +26956,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-modern-1d989965-20240821" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-modern-ee7f6757-20240823" !== isomorphicReactPackageVersion)
|
||||
throw Error(
|
||||
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
||||
(isomorphicReactPackageVersion +
|
||||
"\n - react-dom: 19.0.0-www-modern-1d989965-20240821\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-modern-ee7f6757-20240823\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -26994,11 +27003,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-1d989965-20240821",
|
||||
version: "19.0.0-www-modern-ee7f6757-20240823",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-1d989965-20240821"
|
||||
reconcilerVersion: "19.0.0-www-modern-ee7f6757-20240823"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27769,5 +27778,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-modern-ee7f6757-20240823";
|
||||
})();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -2192,28 +2192,41 @@ __DEV__ &&
|
||||
0 === root.tag &&
|
||||
(ReactSharedInternals.didScheduleLegacyUpdate = !0);
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
isFlushingWork = !0;
|
||||
do {
|
||||
var didPerformSomeWork = !1;
|
||||
for (var root = firstScheduledRoot; null !== root; ) {
|
||||
if (!onlyLegacy || (!disableLegacyMode && 0 === root.tag)) {
|
||||
var workInProgressRootRenderLanes$jscomp$0 =
|
||||
workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot
|
||||
? workInProgressRootRenderLanes$jscomp$0
|
||||
: 0
|
||||
);
|
||||
0 !== (workInProgressRootRenderLanes$jscomp$0 & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(
|
||||
root,
|
||||
workInProgressRootRenderLanes$jscomp$0
|
||||
));
|
||||
}
|
||||
if (!onlyLegacy || (!disableLegacyMode && 0 === root.tag))
|
||||
if (0 !== syncTransitionLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) var nextLanes = 0;
|
||||
else {
|
||||
var suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes;
|
||||
nextLanes =
|
||||
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
||||
nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
||||
nextLanes =
|
||||
nextLanes & 201326677
|
||||
? (nextLanes & 201326677) | 1
|
||||
: nextLanes
|
||||
? nextLanes | 2
|
||||
: 0;
|
||||
}
|
||||
0 !== nextLanes &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
} else
|
||||
(nextLanes = workInProgressRootRenderLanes),
|
||||
(nextLanes = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? nextLanes : 0
|
||||
)),
|
||||
0 !== (nextLanes & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
root = root.next;
|
||||
}
|
||||
} while (didPerformSomeWork);
|
||||
@@ -2225,33 +2238,29 @@ __DEV__ &&
|
||||
didScheduleMicrotask_act =
|
||||
didScheduleMicrotask =
|
||||
!1;
|
||||
var syncTransitionLanes = 0;
|
||||
0 !== currentEventTransitionLane &&
|
||||
(shouldAttemptEagerTransition() &&
|
||||
(syncTransitionLanes = currentEventTransitionLane),
|
||||
(currentEventTransitionLane = 0));
|
||||
for (
|
||||
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
|
||||
null !== root;
|
||||
|
||||
) {
|
||||
var next = root.next;
|
||||
if (
|
||||
0 !== currentEventTransitionLane &&
|
||||
shouldAttemptEagerTransition()
|
||||
) {
|
||||
var root$jscomp$0 = root,
|
||||
lane = currentEventTransitionLane;
|
||||
root$jscomp$0.pendingLanes |= 2;
|
||||
root$jscomp$0.entangledLanes |= 2;
|
||||
root$jscomp$0.entanglements[1] |= lane;
|
||||
}
|
||||
root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
0 === root$jscomp$0
|
||||
? ((root.next = null),
|
||||
var next = root.next,
|
||||
nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
if (0 === nextLanes)
|
||||
(root.next = null),
|
||||
null === prev ? (firstScheduledRoot = next) : (prev.next = next),
|
||||
null === next && (lastScheduledRoot = prev))
|
||||
: ((prev = root),
|
||||
0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0));
|
||||
null === next && (lastScheduledRoot = prev);
|
||||
else if (
|
||||
((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3))
|
||||
)
|
||||
mightHavePendingSyncWork = !0;
|
||||
root = next;
|
||||
}
|
||||
currentEventTransitionLane = 0;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
|
||||
}
|
||||
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
var pendingLanes = root.pendingLanes,
|
||||
@@ -13890,7 +13899,7 @@ __DEV__ &&
|
||||
(fiber.mode & 1) !== NoMode ||
|
||||
ReactSharedInternals.isBatchingLegacy ||
|
||||
(resetRenderTimer(),
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(!0));
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
}
|
||||
function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
@@ -14221,7 +14230,7 @@ __DEV__ &&
|
||||
}
|
||||
function flushSyncWork() {
|
||||
return (executionContext & (RenderContext | CommitContext)) === NoContext
|
||||
? (flushSyncWorkAcrossRoots_impl(!1), !1)
|
||||
? (flushSyncWorkAcrossRoots_impl(0, !1), !1)
|
||||
: !0;
|
||||
}
|
||||
function resetWorkInProgressStack() {
|
||||
@@ -14981,7 +14990,7 @@ __DEV__ &&
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: (nestedUpdateCount = 0);
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
enableDebugTracing && enableDebugTracing && groupEnd();
|
||||
enableSchedulingProfiler && markCommitStopped();
|
||||
if (enableTransitionTracing) {
|
||||
@@ -15096,7 +15105,7 @@ __DEV__ &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
commitDoubleInvokeEffectsInDEV(root, !0);
|
||||
executionContext = prevExecutionContext;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
if (enableTransitionTracing) {
|
||||
var prevPendingTransitionCallbacks = currentPendingTransitionCallbacks,
|
||||
prevRootTransitionCallbacks = root.transitionCallbacks,
|
||||
@@ -18564,7 +18573,7 @@ __DEV__ &&
|
||||
ensureRootIsScheduled(fiber);
|
||||
(executionContext & (RenderContext | CommitContext)) ===
|
||||
NoContext &&
|
||||
(resetRenderTimer(), flushSyncWorkAcrossRoots_impl(!1));
|
||||
(resetRenderTimer(), flushSyncWorkAcrossRoots_impl(0, !1));
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -18586,7 +18595,7 @@ __DEV__ &&
|
||||
executionContext !== NoContext ||
|
||||
ReactSharedInternals.isBatchingLegacy ||
|
||||
(resetRenderTimer(),
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(!0));
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.createComponentSelector = function (component) {
|
||||
@@ -18927,7 +18936,7 @@ __DEV__ &&
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
(executionContext = prevExecutionContext),
|
||||
(executionContext & (RenderContext | CommitContext)) === NoContext &&
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
}
|
||||
};
|
||||
exports.flushSyncWork = flushSyncWork;
|
||||
@@ -19009,7 +19018,7 @@ __DEV__ &&
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-1d989965-20240821"
|
||||
reconcilerVersion: "19.0.0-www-classic-ee7f6757-20240823"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -2091,28 +2091,41 @@ __DEV__ &&
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now$1());
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
isFlushingWork = !0;
|
||||
do {
|
||||
var didPerformSomeWork = !1;
|
||||
for (var root = firstScheduledRoot; null !== root; ) {
|
||||
if (!onlyLegacy) {
|
||||
var workInProgressRootRenderLanes$jscomp$0 =
|
||||
workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot
|
||||
? workInProgressRootRenderLanes$jscomp$0
|
||||
: 0
|
||||
);
|
||||
0 !== (workInProgressRootRenderLanes$jscomp$0 & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(
|
||||
root,
|
||||
workInProgressRootRenderLanes$jscomp$0
|
||||
));
|
||||
}
|
||||
if (!onlyLegacy)
|
||||
if (0 !== syncTransitionLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) var nextLanes = 0;
|
||||
else {
|
||||
var suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes;
|
||||
nextLanes =
|
||||
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
||||
nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
||||
nextLanes =
|
||||
nextLanes & 201326677
|
||||
? (nextLanes & 201326677) | 1
|
||||
: nextLanes
|
||||
? nextLanes | 2
|
||||
: 0;
|
||||
}
|
||||
0 !== nextLanes &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
} else
|
||||
(nextLanes = workInProgressRootRenderLanes),
|
||||
(nextLanes = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? nextLanes : 0
|
||||
)),
|
||||
0 !== (nextLanes & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
root = root.next;
|
||||
}
|
||||
} while (didPerformSomeWork);
|
||||
@@ -2124,33 +2137,29 @@ __DEV__ &&
|
||||
didScheduleMicrotask_act =
|
||||
didScheduleMicrotask =
|
||||
!1;
|
||||
var syncTransitionLanes = 0;
|
||||
0 !== currentEventTransitionLane &&
|
||||
(shouldAttemptEagerTransition() &&
|
||||
(syncTransitionLanes = currentEventTransitionLane),
|
||||
(currentEventTransitionLane = 0));
|
||||
for (
|
||||
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
|
||||
null !== root;
|
||||
|
||||
) {
|
||||
var next = root.next;
|
||||
if (
|
||||
0 !== currentEventTransitionLane &&
|
||||
shouldAttemptEagerTransition()
|
||||
) {
|
||||
var root$jscomp$0 = root,
|
||||
lane = currentEventTransitionLane;
|
||||
root$jscomp$0.pendingLanes |= 2;
|
||||
root$jscomp$0.entangledLanes |= 2;
|
||||
root$jscomp$0.entanglements[1] |= lane;
|
||||
}
|
||||
root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
0 === root$jscomp$0
|
||||
? ((root.next = null),
|
||||
var next = root.next,
|
||||
nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
if (0 === nextLanes)
|
||||
(root.next = null),
|
||||
null === prev ? (firstScheduledRoot = next) : (prev.next = next),
|
||||
null === next && (lastScheduledRoot = prev))
|
||||
: ((prev = root),
|
||||
0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0));
|
||||
null === next && (lastScheduledRoot = prev);
|
||||
else if (
|
||||
((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3))
|
||||
)
|
||||
mightHavePendingSyncWork = !0;
|
||||
root = next;
|
||||
}
|
||||
currentEventTransitionLane = 0;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
|
||||
}
|
||||
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
var pendingLanes = root.pendingLanes,
|
||||
@@ -13704,7 +13713,7 @@ __DEV__ &&
|
||||
}
|
||||
function flushSyncWork() {
|
||||
return (executionContext & (RenderContext | CommitContext)) === NoContext
|
||||
? (flushSyncWorkAcrossRoots_impl(!1), !1)
|
||||
? (flushSyncWorkAcrossRoots_impl(0, !1), !1)
|
||||
: !0;
|
||||
}
|
||||
function resetWorkInProgressStack() {
|
||||
@@ -14458,7 +14467,7 @@ __DEV__ &&
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: (nestedUpdateCount = 0);
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
enableDebugTracing && enableDebugTracing && groupEnd();
|
||||
enableSchedulingProfiler && markCommitStopped();
|
||||
if (enableTransitionTracing) {
|
||||
@@ -14573,7 +14582,7 @@ __DEV__ &&
|
||||
injectedProfilingHooks.markPassiveEffectsStopped();
|
||||
commitDoubleInvokeEffectsInDEV(root);
|
||||
executionContext = prevExecutionContext;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
if (enableTransitionTracing) {
|
||||
var prevPendingTransitionCallbacks = currentPendingTransitionCallbacks,
|
||||
prevRootTransitionCallbacks = root.transitionCallbacks,
|
||||
@@ -17941,7 +17950,7 @@ __DEV__ &&
|
||||
NoContext &&
|
||||
((workInProgressRootRenderTargetTime =
|
||||
now$1() + RENDER_TIMEOUT_MS),
|
||||
flushSyncWorkAcrossRoots_impl(!1));
|
||||
flushSyncWorkAcrossRoots_impl(0, !1));
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -18289,7 +18298,7 @@ __DEV__ &&
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
(executionContext = prevExecutionContext),
|
||||
(executionContext & (RenderContext | CommitContext)) === NoContext &&
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
}
|
||||
};
|
||||
exports.flushSyncWork = flushSyncWork;
|
||||
@@ -18371,7 +18380,7 @@ __DEV__ &&
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-1d989965-20240821"
|
||||
reconcilerVersion: "19.0.0-www-modern-ee7f6757-20240823"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -1080,23 +1080,42 @@ module.exports = function ($$$config) {
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now());
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
isFlushingWork = !0;
|
||||
do {
|
||||
var didPerformSomeWork = !1;
|
||||
for (var root = firstScheduledRoot; null !== root; ) {
|
||||
if (!onlyLegacy || (!disableLegacyMode && 0 === root.tag)) {
|
||||
var workInProgressRootRenderLanes$16 =
|
||||
workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$16 = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? workInProgressRootRenderLanes$16 : 0
|
||||
);
|
||||
0 !== (workInProgressRootRenderLanes$16 & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, workInProgressRootRenderLanes$16));
|
||||
}
|
||||
if (!onlyLegacy || (!disableLegacyMode && 0 === root.tag))
|
||||
if (0 !== syncTransitionLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) var JSCompiler_inline_result = 0;
|
||||
else {
|
||||
var suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes;
|
||||
JSCompiler_inline_result =
|
||||
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
||||
JSCompiler_inline_result &=
|
||||
pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
||||
JSCompiler_inline_result =
|
||||
JSCompiler_inline_result & 201326677
|
||||
? (JSCompiler_inline_result & 201326677) | 1
|
||||
: JSCompiler_inline_result
|
||||
? JSCompiler_inline_result | 2
|
||||
: 0;
|
||||
}
|
||||
0 !== JSCompiler_inline_result &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, JSCompiler_inline_result));
|
||||
} else
|
||||
(JSCompiler_inline_result = workInProgressRootRenderLanes),
|
||||
(JSCompiler_inline_result = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? JSCompiler_inline_result : 0
|
||||
)),
|
||||
0 !== (JSCompiler_inline_result & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, JSCompiler_inline_result));
|
||||
root = root.next;
|
||||
}
|
||||
} while (didPerformSomeWork);
|
||||
@@ -1105,30 +1124,29 @@ module.exports = function ($$$config) {
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
||||
var syncTransitionLanes = 0;
|
||||
0 !== currentEventTransitionLane &&
|
||||
(shouldAttemptEagerTransition() &&
|
||||
(syncTransitionLanes = currentEventTransitionLane),
|
||||
(currentEventTransitionLane = 0));
|
||||
for (
|
||||
var currentTime = now(), prev = null, root = firstScheduledRoot;
|
||||
null !== root;
|
||||
|
||||
) {
|
||||
var next = root.next;
|
||||
if (0 !== currentEventTransitionLane && shouldAttemptEagerTransition()) {
|
||||
var root$jscomp$0 = root,
|
||||
lane = currentEventTransitionLane;
|
||||
root$jscomp$0.pendingLanes |= 2;
|
||||
root$jscomp$0.entangledLanes |= 2;
|
||||
root$jscomp$0.entanglements[1] |= lane;
|
||||
}
|
||||
root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
0 === root$jscomp$0
|
||||
? ((root.next = null),
|
||||
var next = root.next,
|
||||
nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
if (0 === nextLanes)
|
||||
(root.next = null),
|
||||
null === prev ? (firstScheduledRoot = next) : (prev.next = next),
|
||||
null === next && (lastScheduledRoot = prev))
|
||||
: ((prev = root),
|
||||
0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0));
|
||||
null === next && (lastScheduledRoot = prev);
|
||||
else if (
|
||||
((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3))
|
||||
)
|
||||
mightHavePendingSyncWork = !0;
|
||||
root = next;
|
||||
}
|
||||
currentEventTransitionLane = 0;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
|
||||
}
|
||||
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
var pendingLanes = root.pendingLanes,
|
||||
@@ -1395,20 +1413,20 @@ module.exports = function ($$$config) {
|
||||
? (firstBaseUpdate = firstPendingUpdate)
|
||||
: (lastBaseUpdate.next = firstPendingUpdate);
|
||||
lastBaseUpdate = lastPendingUpdate;
|
||||
var current$18 = workInProgress$jscomp$0.alternate;
|
||||
null !== current$18 &&
|
||||
((current$18 = current$18.updateQueue),
|
||||
(pendingQueue = current$18.lastBaseUpdate),
|
||||
var current$19 = workInProgress$jscomp$0.alternate;
|
||||
null !== current$19 &&
|
||||
((current$19 = current$19.updateQueue),
|
||||
(pendingQueue = current$19.lastBaseUpdate),
|
||||
pendingQueue !== lastBaseUpdate &&
|
||||
(null === pendingQueue
|
||||
? (current$18.firstBaseUpdate = firstPendingUpdate)
|
||||
? (current$19.firstBaseUpdate = firstPendingUpdate)
|
||||
: (pendingQueue.next = firstPendingUpdate),
|
||||
(current$18.lastBaseUpdate = lastPendingUpdate)));
|
||||
(current$19.lastBaseUpdate = lastPendingUpdate)));
|
||||
}
|
||||
if (null !== firstBaseUpdate) {
|
||||
var newState = queue.baseState;
|
||||
lastBaseUpdate = 0;
|
||||
current$18 = firstPendingUpdate = lastPendingUpdate = null;
|
||||
current$19 = firstPendingUpdate = lastPendingUpdate = null;
|
||||
pendingQueue = firstBaseUpdate;
|
||||
do {
|
||||
var updateLane = pendingQueue.lane & -536870913,
|
||||
@@ -1421,8 +1439,8 @@ module.exports = function ($$$config) {
|
||||
0 !== updateLane &&
|
||||
updateLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction = !0);
|
||||
null !== current$18 &&
|
||||
(current$18 = current$18.next =
|
||||
null !== current$19 &&
|
||||
(current$19 = current$19.next =
|
||||
{
|
||||
lane: 0,
|
||||
tag: pendingQueue.tag,
|
||||
@@ -1479,10 +1497,10 @@ module.exports = function ($$$config) {
|
||||
callback: pendingQueue.callback,
|
||||
next: null
|
||||
}),
|
||||
null === current$18
|
||||
? ((firstPendingUpdate = current$18 = isHiddenUpdate),
|
||||
null === current$19
|
||||
? ((firstPendingUpdate = current$19 = isHiddenUpdate),
|
||||
(lastPendingUpdate = newState))
|
||||
: (current$18 = current$18.next = isHiddenUpdate),
|
||||
: (current$19 = current$19.next = isHiddenUpdate),
|
||||
(lastBaseUpdate |= updateLane);
|
||||
pendingQueue = pendingQueue.next;
|
||||
if (null === pendingQueue)
|
||||
@@ -1495,10 +1513,10 @@ module.exports = function ($$$config) {
|
||||
(queue.lastBaseUpdate = isHiddenUpdate),
|
||||
(queue.shared.pending = null);
|
||||
} while (1);
|
||||
null === current$18 && (lastPendingUpdate = newState);
|
||||
null === current$19 && (lastPendingUpdate = newState);
|
||||
queue.baseState = lastPendingUpdate;
|
||||
queue.firstBaseUpdate = firstPendingUpdate;
|
||||
queue.lastBaseUpdate = current$18;
|
||||
queue.lastBaseUpdate = current$19;
|
||||
null === firstBaseUpdate && (queue.shared.lanes = 0);
|
||||
workInProgressRootSkippedLanes |= lastBaseUpdate;
|
||||
workInProgress$jscomp$0.lanes = lastBaseUpdate;
|
||||
@@ -2377,9 +2395,9 @@ module.exports = function ($$$config) {
|
||||
push(suspenseHandlerStackCursor, fiber),
|
||||
null === shellBoundary)
|
||||
) {
|
||||
var current$52 = fiber.alternate;
|
||||
null !== current$52 &&
|
||||
null !== current$52.memoizedState &&
|
||||
var current$53 = fiber.alternate;
|
||||
null !== current$53 &&
|
||||
null !== current$53.memoizedState &&
|
||||
(shellBoundary = fiber);
|
||||
}
|
||||
} else reuseSuspenseHandlerOnStack(fiber);
|
||||
@@ -2639,16 +2657,16 @@ module.exports = function ($$$config) {
|
||||
updateQueue = currentlyRenderingFiber$1.updateQueue;
|
||||
null !== updateQueue && (memoCache = updateQueue.memoCache);
|
||||
if (null == memoCache) {
|
||||
var current$54 = currentlyRenderingFiber$1.alternate;
|
||||
null !== current$54 &&
|
||||
((current$54 = current$54.updateQueue),
|
||||
null !== current$54 &&
|
||||
((current$54 = current$54.memoCache),
|
||||
null != current$54 &&
|
||||
var current$55 = currentlyRenderingFiber$1.alternate;
|
||||
null !== current$55 &&
|
||||
((current$55 = current$55.updateQueue),
|
||||
null !== current$55 &&
|
||||
((current$55 = current$55.memoCache),
|
||||
null != current$55 &&
|
||||
(memoCache = {
|
||||
data: enableNoCloningMemoCache
|
||||
? current$54.data
|
||||
: current$54.data.map(function (array) {
|
||||
? current$55.data
|
||||
: current$55.data.map(function (array) {
|
||||
return array.slice();
|
||||
}),
|
||||
index: 0
|
||||
@@ -2663,11 +2681,11 @@ module.exports = function ($$$config) {
|
||||
if (void 0 === updateQueue)
|
||||
for (
|
||||
updateQueue = memoCache.data[memoCache.index] = Array(size),
|
||||
current$54 = 0;
|
||||
current$54 < size;
|
||||
current$54++
|
||||
current$55 = 0;
|
||||
current$55 < size;
|
||||
current$55++
|
||||
)
|
||||
updateQueue[current$54] = REACT_MEMO_CACHE_SENTINEL;
|
||||
updateQueue[current$55] = REACT_MEMO_CACHE_SENTINEL;
|
||||
memoCache.index++;
|
||||
return updateQueue;
|
||||
}
|
||||
@@ -2700,7 +2718,7 @@ module.exports = function ($$$config) {
|
||||
var newBaseQueueFirst = (baseFirst = null),
|
||||
newBaseQueueLast = null,
|
||||
update = current,
|
||||
didReadFromEntangledAsyncAction$55 = !1;
|
||||
didReadFromEntangledAsyncAction$56 = !1;
|
||||
do {
|
||||
var updateLane = update.lane & -536870913;
|
||||
if (
|
||||
@@ -2721,11 +2739,11 @@ module.exports = function ($$$config) {
|
||||
next: null
|
||||
}),
|
||||
updateLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction$55 = !0);
|
||||
(didReadFromEntangledAsyncAction$56 = !0);
|
||||
else if ((renderLanes & revertLane) === revertLane) {
|
||||
update = update.next;
|
||||
revertLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction$55 = !0);
|
||||
(didReadFromEntangledAsyncAction$56 = !0);
|
||||
continue;
|
||||
} else
|
||||
(updateLane = {
|
||||
@@ -2771,7 +2789,7 @@ module.exports = function ($$$config) {
|
||||
if (
|
||||
!objectIs(pendingQueue, hook.memoizedState) &&
|
||||
((didReceiveUpdate = !0),
|
||||
didReadFromEntangledAsyncAction$55 &&
|
||||
didReadFromEntangledAsyncAction$56 &&
|
||||
((reducer = currentEntangledActionThenable), null !== reducer))
|
||||
)
|
||||
throw reducer;
|
||||
@@ -2970,8 +2988,8 @@ module.exports = function ($$$config) {
|
||||
try {
|
||||
(prevTransition = action(prevState, payload)),
|
||||
handleActionReturnValue(actionQueue, node, prevTransition);
|
||||
} catch (error$59) {
|
||||
onActionError(actionQueue, node, error$59);
|
||||
} catch (error$60) {
|
||||
onActionError(actionQueue, node, error$60);
|
||||
}
|
||||
}
|
||||
function handleActionReturnValue(actionQueue, node, returnValue) {
|
||||
@@ -3634,9 +3652,9 @@ module.exports = function ($$$config) {
|
||||
(disableDefaultPropsExceptForClasses || !alreadyResolvedDefaultProps)
|
||||
) {
|
||||
newProps === baseProps && (newProps = assign({}, newProps));
|
||||
for (var propName$61 in Component)
|
||||
void 0 === newProps[propName$61] &&
|
||||
(newProps[propName$61] = Component[propName$61]);
|
||||
for (var propName$62 in Component)
|
||||
void 0 === newProps[propName$62] &&
|
||||
(newProps[propName$62] = Component[propName$62]);
|
||||
}
|
||||
return newProps;
|
||||
}
|
||||
@@ -6493,44 +6511,44 @@ module.exports = function ($$$config) {
|
||||
needsVisibilityToggle = needsVisibilityToggle.sibling;
|
||||
}
|
||||
else if (supportsPersistence)
|
||||
for (var node$114 = workInProgress.child; null !== node$114; ) {
|
||||
if (5 === node$114.tag) {
|
||||
var instance = node$114.stateNode;
|
||||
for (var node$115 = workInProgress.child; null !== node$115; ) {
|
||||
if (5 === node$115.tag) {
|
||||
var instance = node$115.stateNode;
|
||||
needsVisibilityToggle &&
|
||||
isHidden &&
|
||||
(instance = cloneHiddenInstance(
|
||||
instance,
|
||||
node$114.type,
|
||||
node$114.memoizedProps
|
||||
node$115.type,
|
||||
node$115.memoizedProps
|
||||
));
|
||||
appendInitialChild(parent, instance);
|
||||
} else if (6 === node$114.tag)
|
||||
(instance = node$114.stateNode),
|
||||
} else if (6 === node$115.tag)
|
||||
(instance = node$115.stateNode),
|
||||
needsVisibilityToggle &&
|
||||
isHidden &&
|
||||
(instance = cloneHiddenTextInstance(
|
||||
instance,
|
||||
node$114.memoizedProps
|
||||
node$115.memoizedProps
|
||||
)),
|
||||
appendInitialChild(parent, instance);
|
||||
else if (4 !== node$114.tag)
|
||||
if (22 === node$114.tag && null !== node$114.memoizedState)
|
||||
(instance = node$114.child),
|
||||
null !== instance && (instance.return = node$114),
|
||||
appendAllChildren(parent, node$114, !0, !0);
|
||||
else if (null !== node$114.child) {
|
||||
node$114.child.return = node$114;
|
||||
node$114 = node$114.child;
|
||||
else if (4 !== node$115.tag)
|
||||
if (22 === node$115.tag && null !== node$115.memoizedState)
|
||||
(instance = node$115.child),
|
||||
null !== instance && (instance.return = node$115),
|
||||
appendAllChildren(parent, node$115, !0, !0);
|
||||
else if (null !== node$115.child) {
|
||||
node$115.child.return = node$115;
|
||||
node$115 = node$115.child;
|
||||
continue;
|
||||
}
|
||||
if (node$114 === workInProgress) break;
|
||||
for (; null === node$114.sibling; ) {
|
||||
if (null === node$114.return || node$114.return === workInProgress)
|
||||
if (node$115 === workInProgress) break;
|
||||
for (; null === node$115.sibling; ) {
|
||||
if (null === node$115.return || node$115.return === workInProgress)
|
||||
return;
|
||||
node$114 = node$114.return;
|
||||
node$115 = node$115.return;
|
||||
}
|
||||
node$114.sibling.return = node$114.return;
|
||||
node$114 = node$114.sibling;
|
||||
node$115.sibling.return = node$115.return;
|
||||
node$115 = node$115.sibling;
|
||||
}
|
||||
}
|
||||
function appendAllChildrenToContainer(
|
||||
@@ -6603,31 +6621,31 @@ module.exports = function ($$$config) {
|
||||
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
||||
else if (supportsPersistence) {
|
||||
var currentInstance = current.stateNode,
|
||||
oldProps$117 = current.memoizedProps;
|
||||
oldProps$118 = current.memoizedProps;
|
||||
if (
|
||||
(current = doesRequireClone(current, workInProgress)) ||
|
||||
oldProps$117 !== newProps
|
||||
oldProps$118 !== newProps
|
||||
) {
|
||||
var currentHostContext = contextStackCursor.current;
|
||||
oldProps$117 = cloneInstance(
|
||||
oldProps$118 = cloneInstance(
|
||||
currentInstance,
|
||||
type,
|
||||
oldProps$117,
|
||||
oldProps$118,
|
||||
newProps,
|
||||
!current,
|
||||
null
|
||||
);
|
||||
oldProps$117 === currentInstance
|
||||
oldProps$118 === currentInstance
|
||||
? (workInProgress.stateNode = currentInstance)
|
||||
: (finalizeInitialChildren(
|
||||
oldProps$117,
|
||||
oldProps$118,
|
||||
type,
|
||||
newProps,
|
||||
currentHostContext
|
||||
) && markUpdate(workInProgress),
|
||||
(workInProgress.stateNode = oldProps$117),
|
||||
(workInProgress.stateNode = oldProps$118),
|
||||
current
|
||||
? appendAllChildren(oldProps$117, workInProgress, !1, !1)
|
||||
? appendAllChildren(oldProps$118, workInProgress, !1, !1)
|
||||
: markUpdate(workInProgress));
|
||||
} else workInProgress.stateNode = currentInstance;
|
||||
}
|
||||
@@ -6677,15 +6695,15 @@ module.exports = function ($$$config) {
|
||||
break;
|
||||
case "collapsed":
|
||||
lastTailNode = renderState.tail;
|
||||
for (var lastTailNode$119 = null; null !== lastTailNode; )
|
||||
for (var lastTailNode$120 = null; null !== lastTailNode; )
|
||||
null !== lastTailNode.alternate &&
|
||||
(lastTailNode$119 = lastTailNode),
|
||||
(lastTailNode$120 = lastTailNode),
|
||||
(lastTailNode = lastTailNode.sibling);
|
||||
null === lastTailNode$119
|
||||
null === lastTailNode$120
|
||||
? hasRenderedATailFallback || null === renderState.tail
|
||||
? (renderState.tail = null)
|
||||
: (renderState.tail.sibling = null)
|
||||
: (lastTailNode$119.sibling = null);
|
||||
: (lastTailNode$120.sibling = null);
|
||||
}
|
||||
}
|
||||
function bubbleProperties(completedWork) {
|
||||
@@ -6695,19 +6713,19 @@ module.exports = function ($$$config) {
|
||||
newChildLanes = 0,
|
||||
subtreeFlags = 0;
|
||||
if (didBailout)
|
||||
for (var child$120 = completedWork.child; null !== child$120; )
|
||||
(newChildLanes |= child$120.lanes | child$120.childLanes),
|
||||
(subtreeFlags |= child$120.subtreeFlags & 31457280),
|
||||
(subtreeFlags |= child$120.flags & 31457280),
|
||||
(child$120.return = completedWork),
|
||||
(child$120 = child$120.sibling);
|
||||
for (var child$121 = completedWork.child; null !== child$121; )
|
||||
(newChildLanes |= child$121.lanes | child$121.childLanes),
|
||||
(subtreeFlags |= child$121.subtreeFlags & 31457280),
|
||||
(subtreeFlags |= child$121.flags & 31457280),
|
||||
(child$121.return = completedWork),
|
||||
(child$121 = child$121.sibling);
|
||||
else
|
||||
for (child$120 = completedWork.child; null !== child$120; )
|
||||
(newChildLanes |= child$120.lanes | child$120.childLanes),
|
||||
(subtreeFlags |= child$120.subtreeFlags),
|
||||
(subtreeFlags |= child$120.flags),
|
||||
(child$120.return = completedWork),
|
||||
(child$120 = child$120.sibling);
|
||||
for (child$121 = completedWork.child; null !== child$121; )
|
||||
(newChildLanes |= child$121.lanes | child$121.childLanes),
|
||||
(subtreeFlags |= child$121.subtreeFlags),
|
||||
(subtreeFlags |= child$121.flags),
|
||||
(child$121.return = completedWork),
|
||||
(child$121 = child$121.sibling);
|
||||
completedWork.subtreeFlags |= subtreeFlags;
|
||||
completedWork.childLanes = newChildLanes;
|
||||
return didBailout;
|
||||
@@ -6988,11 +7006,11 @@ module.exports = function ($$$config) {
|
||||
null !== newProps.alternate.memoizedState &&
|
||||
null !== newProps.alternate.memoizedState.cachePool &&
|
||||
(nextResource = newProps.alternate.memoizedState.cachePool.pool);
|
||||
var cache$133 = null;
|
||||
var cache$134 = null;
|
||||
null !== newProps.memoizedState &&
|
||||
null !== newProps.memoizedState.cachePool &&
|
||||
(cache$133 = newProps.memoizedState.cachePool.pool);
|
||||
cache$133 !== nextResource && (newProps.flags |= 2048);
|
||||
(cache$134 = newProps.memoizedState.cachePool.pool);
|
||||
cache$134 !== nextResource && (newProps.flags |= 2048);
|
||||
}
|
||||
renderLanes !== current &&
|
||||
(enableTransitionTracing && (workInProgress.child.flags |= 2048),
|
||||
@@ -7033,8 +7051,8 @@ module.exports = function ($$$config) {
|
||||
if (null === nextResource)
|
||||
return bubbleProperties(workInProgress), null;
|
||||
newProps = 0 !== (workInProgress.flags & 128);
|
||||
cache$133 = nextResource.rendering;
|
||||
if (null === cache$133)
|
||||
cache$134 = nextResource.rendering;
|
||||
if (null === cache$134)
|
||||
if (newProps) cutOffTailIfNeeded(nextResource, !1);
|
||||
else {
|
||||
if (
|
||||
@@ -7042,11 +7060,11 @@ module.exports = function ($$$config) {
|
||||
(null !== current && 0 !== (current.flags & 128))
|
||||
)
|
||||
for (current = workInProgress.child; null !== current; ) {
|
||||
cache$133 = findFirstSuspended(current);
|
||||
if (null !== cache$133) {
|
||||
cache$134 = findFirstSuspended(current);
|
||||
if (null !== cache$134) {
|
||||
workInProgress.flags |= 128;
|
||||
cutOffTailIfNeeded(nextResource, !1);
|
||||
current = cache$133.updateQueue;
|
||||
current = cache$134.updateQueue;
|
||||
workInProgress.updateQueue = current;
|
||||
scheduleRetryEffect(workInProgress, current);
|
||||
workInProgress.subtreeFlags = 0;
|
||||
@@ -7075,7 +7093,7 @@ module.exports = function ($$$config) {
|
||||
}
|
||||
else {
|
||||
if (!newProps)
|
||||
if (((current = findFirstSuspended(cache$133)), null !== current)) {
|
||||
if (((current = findFirstSuspended(cache$134)), null !== current)) {
|
||||
if (
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
@@ -7085,7 +7103,7 @@ module.exports = function ($$$config) {
|
||||
cutOffTailIfNeeded(nextResource, !0),
|
||||
null === nextResource.tail &&
|
||||
"hidden" === nextResource.tailMode &&
|
||||
!cache$133.alternate &&
|
||||
!cache$134.alternate &&
|
||||
!isHydrating)
|
||||
)
|
||||
return bubbleProperties(workInProgress), null;
|
||||
@@ -7098,13 +7116,13 @@ module.exports = function ($$$config) {
|
||||
cutOffTailIfNeeded(nextResource, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
nextResource.isBackwards
|
||||
? ((cache$133.sibling = workInProgress.child),
|
||||
(workInProgress.child = cache$133))
|
||||
? ((cache$134.sibling = workInProgress.child),
|
||||
(workInProgress.child = cache$134))
|
||||
: ((current = nextResource.last),
|
||||
null !== current
|
||||
? (current.sibling = cache$133)
|
||||
: (workInProgress.child = cache$133),
|
||||
(nextResource.last = cache$133));
|
||||
? (current.sibling = cache$134)
|
||||
: (workInProgress.child = cache$134),
|
||||
(nextResource.last = cache$134));
|
||||
}
|
||||
if (null !== nextResource.tail)
|
||||
return (
|
||||
@@ -7390,8 +7408,8 @@ module.exports = function ($$$config) {
|
||||
else if ("function" === typeof ref)
|
||||
try {
|
||||
ref(null);
|
||||
} catch (error$151) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$151);
|
||||
} catch (error$152) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$152);
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
@@ -7614,11 +7632,11 @@ module.exports = function ($$$config) {
|
||||
current,
|
||||
finishedRoot.__reactInternalSnapshotBeforeUpdate
|
||||
);
|
||||
} catch (error$152) {
|
||||
} catch (error$153) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$152
|
||||
error$153
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8185,19 +8203,19 @@ module.exports = function ($$$config) {
|
||||
}
|
||||
function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) {
|
||||
if (supportsHydration && null === finishedWork.memoizedState) {
|
||||
var current$163 = finishedWork.alternate;
|
||||
var current$164 = finishedWork.alternate;
|
||||
if (
|
||||
null !== current$163 &&
|
||||
((current$163 = current$163.memoizedState),
|
||||
null !== current$163 &&
|
||||
((current$163 = current$163.dehydrated), null !== current$163))
|
||||
null !== current$164 &&
|
||||
((current$164 = current$164.memoizedState),
|
||||
null !== current$164 &&
|
||||
((current$164 = current$164.dehydrated), null !== current$164))
|
||||
)
|
||||
try {
|
||||
commitHydratedSuspenseInstance(current$163);
|
||||
commitHydratedSuspenseInstance(current$164);
|
||||
var hydrationCallbacks = finishedRoot.hydrationCallbacks;
|
||||
if (null !== hydrationCallbacks) {
|
||||
var onHydrated = hydrationCallbacks.onHydrated;
|
||||
onHydrated && onHydrated(current$163);
|
||||
onHydrated && onHydrated(current$164);
|
||||
}
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
@@ -8316,11 +8334,11 @@ module.exports = function ($$$config) {
|
||||
}
|
||||
try {
|
||||
commitHookEffectListUnmount(5, finishedWork, finishedWork.return);
|
||||
} catch (error$165) {
|
||||
} catch (error$166) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$165
|
||||
error$166
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8398,11 +8416,11 @@ module.exports = function ($$$config) {
|
||||
finishedWork.memoizedProps,
|
||||
finishedWork
|
||||
);
|
||||
} catch (error$166) {
|
||||
} catch (error$167) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$166
|
||||
error$167
|
||||
);
|
||||
}
|
||||
break;
|
||||
@@ -8434,11 +8452,11 @@ module.exports = function ($$$config) {
|
||||
root = finishedWork.stateNode;
|
||||
try {
|
||||
resetTextContent(root);
|
||||
} catch (error$167) {
|
||||
} catch (error$168) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$167
|
||||
error$168
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8448,11 +8466,11 @@ module.exports = function ($$$config) {
|
||||
props = finishedWork.type;
|
||||
try {
|
||||
commitUpdate(root, props, current, hoistableRoot, finishedWork);
|
||||
} catch (error$169) {
|
||||
} catch (error$170) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$169
|
||||
error$170
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8470,11 +8488,11 @@ module.exports = function ($$$config) {
|
||||
current = null !== current ? current.memoizedProps : root;
|
||||
try {
|
||||
commitTextUpdate(flags, current, root);
|
||||
} catch (error$170) {
|
||||
} catch (error$171) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$170
|
||||
error$171
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8497,11 +8515,11 @@ module.exports = function ($$$config) {
|
||||
)
|
||||
try {
|
||||
commitHydratedContainer(root.containerInfo);
|
||||
} catch (error$171) {
|
||||
} catch (error$172) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$171
|
||||
error$172
|
||||
);
|
||||
}
|
||||
if (supportsPersistence) {
|
||||
@@ -8509,11 +8527,11 @@ module.exports = function ($$$config) {
|
||||
current = root.pendingChildren;
|
||||
try {
|
||||
replaceContainerChildren(flags, current);
|
||||
} catch (error$172) {
|
||||
} catch (error$173) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$172
|
||||
error$173
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8538,11 +8556,11 @@ module.exports = function ($$$config) {
|
||||
current = current.pendingChildren;
|
||||
try {
|
||||
replaceContainerChildren(flags, current);
|
||||
} catch (error$176) {
|
||||
} catch (error$177) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$176
|
||||
error$177
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8566,11 +8584,11 @@ module.exports = function ($$$config) {
|
||||
null !== retryQueue && suspenseCallback(new Set(retryQueue));
|
||||
}
|
||||
}
|
||||
} catch (error$177) {
|
||||
} catch (error$178) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$177
|
||||
error$178
|
||||
);
|
||||
}
|
||||
flags = finishedWork.updateQueue;
|
||||
@@ -8646,11 +8664,11 @@ module.exports = function ($$$config) {
|
||||
suspenseCallback
|
||||
? hideTextInstance(props)
|
||||
: unhideTextInstance(props, root.memoizedProps);
|
||||
} catch (error$154) {
|
||||
} catch (error$155) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$154
|
||||
error$155
|
||||
);
|
||||
}
|
||||
} else if (
|
||||
@@ -8736,21 +8754,21 @@ module.exports = function ($$$config) {
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
var parent$155 = JSCompiler_inline_result.stateNode;
|
||||
var parent$156 = JSCompiler_inline_result.stateNode;
|
||||
JSCompiler_inline_result.flags & 32 &&
|
||||
(resetTextContent(parent$155),
|
||||
(resetTextContent(parent$156),
|
||||
(JSCompiler_inline_result.flags &= -33));
|
||||
var before$156 = getHostSibling(finishedWork);
|
||||
insertOrAppendPlacementNode(finishedWork, before$156, parent$155);
|
||||
var before$157 = getHostSibling(finishedWork);
|
||||
insertOrAppendPlacementNode(finishedWork, before$157, parent$156);
|
||||
break;
|
||||
case 3:
|
||||
case 4:
|
||||
var parent$157 = JSCompiler_inline_result.stateNode.containerInfo,
|
||||
before$158 = getHostSibling(finishedWork);
|
||||
var parent$158 = JSCompiler_inline_result.stateNode.containerInfo,
|
||||
before$159 = getHostSibling(finishedWork);
|
||||
insertOrAppendPlacementNodeIntoContainer(
|
||||
finishedWork,
|
||||
before$158,
|
||||
parent$157
|
||||
before$159,
|
||||
parent$158
|
||||
);
|
||||
break;
|
||||
default:
|
||||
@@ -8828,7 +8846,7 @@ module.exports = function ($$$config) {
|
||||
includeWorkInProgressEffects =
|
||||
includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772);
|
||||
for (parentFiber = parentFiber.child; null !== parentFiber; ) {
|
||||
var current$181 = parentFiber.alternate,
|
||||
var current$182 = parentFiber.alternate,
|
||||
finishedRoot = finishedRoot$jscomp$0,
|
||||
finishedWork = parentFiber,
|
||||
flags = finishedWork.flags;
|
||||
@@ -8856,16 +8874,16 @@ module.exports = function ($$$config) {
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
}
|
||||
current$181 = finishedWork.updateQueue;
|
||||
if (null !== current$181) {
|
||||
var hiddenCallbacks = current$181.shared.hiddenCallbacks;
|
||||
current$182 = finishedWork.updateQueue;
|
||||
if (null !== current$182) {
|
||||
var hiddenCallbacks = current$182.shared.hiddenCallbacks;
|
||||
if (null !== hiddenCallbacks)
|
||||
for (
|
||||
current$181.shared.hiddenCallbacks = null, current$181 = 0;
|
||||
current$181 < hiddenCallbacks.length;
|
||||
current$181++
|
||||
current$182.shared.hiddenCallbacks = null, current$182 = 0;
|
||||
current$182 < hiddenCallbacks.length;
|
||||
current$182++
|
||||
)
|
||||
callCallback(hiddenCallbacks[current$181], finishedRoot);
|
||||
callCallback(hiddenCallbacks[current$182], finishedRoot);
|
||||
}
|
||||
includeWorkInProgressEffects &&
|
||||
flags & 64 &&
|
||||
@@ -8881,7 +8899,7 @@ module.exports = function ($$$config) {
|
||||
includeWorkInProgressEffects
|
||||
);
|
||||
includeWorkInProgressEffects &&
|
||||
null === current$181 &&
|
||||
null === current$182 &&
|
||||
flags & 4 &&
|
||||
commitHostComponentMount(finishedWork);
|
||||
safelyAttachRef(finishedWork, finishedWork.return);
|
||||
@@ -9232,9 +9250,9 @@ module.exports = function ($$$config) {
|
||||
);
|
||||
break;
|
||||
case 22:
|
||||
var instance$187 = finishedWork.stateNode;
|
||||
var instance$188 = finishedWork.stateNode;
|
||||
null !== finishedWork.memoizedState
|
||||
? instance$187._visibility & 4
|
||||
? instance$188._visibility & 4
|
||||
? recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
@@ -9247,7 +9265,7 @@ module.exports = function ($$$config) {
|
||||
finishedRoot,
|
||||
finishedWork
|
||||
)
|
||||
: ((instance$187._visibility |= 4),
|
||||
: ((instance$188._visibility |= 4),
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
@@ -9255,7 +9273,7 @@ module.exports = function ($$$config) {
|
||||
committedTransitions,
|
||||
includeWorkInProgressEffects
|
||||
))
|
||||
: ((instance$187._visibility |= 4),
|
||||
: ((instance$188._visibility |= 4),
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
@@ -9268,7 +9286,7 @@ module.exports = function ($$$config) {
|
||||
commitOffscreenPassiveMountEffects(
|
||||
finishedWork.alternate,
|
||||
finishedWork,
|
||||
instance$187
|
||||
instance$188
|
||||
);
|
||||
break;
|
||||
case 24:
|
||||
@@ -9862,7 +9880,7 @@ module.exports = function ($$$config) {
|
||||
disableLegacyMode ||
|
||||
0 !== (fiber.mode & 1) ||
|
||||
(resetRenderTimer(),
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(!0));
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
}
|
||||
function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
@@ -10172,7 +10190,7 @@ module.exports = function ($$$config) {
|
||||
}
|
||||
function flushSyncWork() {
|
||||
return 0 === (executionContext & 6)
|
||||
? (flushSyncWorkAcrossRoots_impl(!1), !1)
|
||||
? (flushSyncWorkAcrossRoots_impl(0, !1), !1)
|
||||
: !0;
|
||||
}
|
||||
function resetWorkInProgressStack() {
|
||||
@@ -10333,8 +10351,8 @@ module.exports = function ($$$config) {
|
||||
}
|
||||
workLoopSync();
|
||||
break;
|
||||
} catch (thrownValue$201) {
|
||||
handleThrow(root, thrownValue$201);
|
||||
} catch (thrownValue$202) {
|
||||
handleThrow(root, thrownValue$202);
|
||||
}
|
||||
while (1);
|
||||
lanes && root.shellSuspendCounter++;
|
||||
@@ -10449,8 +10467,8 @@ module.exports = function ($$$config) {
|
||||
}
|
||||
workLoopConcurrent();
|
||||
break;
|
||||
} catch (thrownValue$203) {
|
||||
handleThrow(root, thrownValue$203);
|
||||
} catch (thrownValue$204) {
|
||||
handleThrow(root, thrownValue$204);
|
||||
}
|
||||
while (1);
|
||||
resetContextDependencies();
|
||||
@@ -10685,12 +10703,12 @@ module.exports = function ($$$config) {
|
||||
setCurrentUpdatePriority(2);
|
||||
var prevExecutionContext = executionContext;
|
||||
executionContext |= 4;
|
||||
var shouldFireAfterActiveInstanceBlur$209 = commitBeforeMutationEffects(
|
||||
var shouldFireAfterActiveInstanceBlur$210 = commitBeforeMutationEffects(
|
||||
root,
|
||||
finishedWork
|
||||
);
|
||||
commitMutationEffectsOnFiber(finishedWork, root);
|
||||
shouldFireAfterActiveInstanceBlur$209 && afterActiveInstanceBlur();
|
||||
shouldFireAfterActiveInstanceBlur$210 && afterActiveInstanceBlur();
|
||||
resetAfterCommit(root.containerInfo);
|
||||
root.current = finishedWork;
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
|
||||
@@ -10729,7 +10747,7 @@ module.exports = function ($$$config) {
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))
|
||||
: (nestedUpdateCount = 0);
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
if (enableTransitionTracing) {
|
||||
var prevRootTransitionCallbacks = root.transitionCallbacks;
|
||||
null !== prevRootTransitionCallbacks &&
|
||||
@@ -10793,7 +10811,7 @@ module.exports = function ($$$config) {
|
||||
commitPassiveUnmountOnFiber(root.current);
|
||||
commitPassiveMountOnFiber(root, root.current, lanes, transitions);
|
||||
executionContext = prevExecutionContext;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
if (enableTransitionTracing) {
|
||||
var prevPendingTransitionCallbacks = currentPendingTransitionCallbacks,
|
||||
prevRootTransitionCallbacks = root.transitionCallbacks,
|
||||
@@ -12320,7 +12338,7 @@ module.exports = function ($$$config) {
|
||||
}
|
||||
ensureRootIsScheduled(fiber);
|
||||
0 === (executionContext & 6) &&
|
||||
(resetRenderTimer(), flushSyncWorkAcrossRoots_impl(!1));
|
||||
(resetRenderTimer(), flushSyncWorkAcrossRoots_impl(0, !1));
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -12341,7 +12359,7 @@ module.exports = function ($$$config) {
|
||||
(executionContext = prevExecutionContext),
|
||||
0 === executionContext &&
|
||||
(resetRenderTimer(),
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(!0));
|
||||
disableLegacyMode || flushSyncWorkAcrossRoots_impl(0, !0));
|
||||
}
|
||||
};
|
||||
exports.createComponentSelector = function (component) {
|
||||
@@ -12569,7 +12587,7 @@ module.exports = function ($$$config) {
|
||||
setCurrentUpdatePriority(previousPriority),
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
(executionContext = prevExecutionContext),
|
||||
0 === (executionContext & 6) && flushSyncWorkAcrossRoots_impl(!1);
|
||||
0 === (executionContext & 6) && flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
}
|
||||
};
|
||||
exports.flushSyncWork = flushSyncWork;
|
||||
@@ -12649,7 +12667,7 @@ module.exports = function ($$$config) {
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-1d989965-20240821"
|
||||
reconcilerVersion: "19.0.0-www-classic-ee7f6757-20240823"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -939,23 +939,42 @@ module.exports = function ($$$config) {
|
||||
enableDeferRootSchedulingToMicrotask ||
|
||||
scheduleTaskForRootDuringMicrotask(root, now());
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
isFlushingWork = !0;
|
||||
do {
|
||||
var didPerformSomeWork = !1;
|
||||
for (var root = firstScheduledRoot; null !== root; ) {
|
||||
if (!onlyLegacy) {
|
||||
var workInProgressRootRenderLanes$16 =
|
||||
workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$16 = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? workInProgressRootRenderLanes$16 : 0
|
||||
);
|
||||
0 !== (workInProgressRootRenderLanes$16 & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, workInProgressRootRenderLanes$16));
|
||||
}
|
||||
if (!onlyLegacy)
|
||||
if (0 !== syncTransitionLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) var JSCompiler_inline_result = 0;
|
||||
else {
|
||||
var suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes;
|
||||
JSCompiler_inline_result =
|
||||
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
||||
JSCompiler_inline_result &=
|
||||
pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
||||
JSCompiler_inline_result =
|
||||
JSCompiler_inline_result & 201326677
|
||||
? (JSCompiler_inline_result & 201326677) | 1
|
||||
: JSCompiler_inline_result
|
||||
? JSCompiler_inline_result | 2
|
||||
: 0;
|
||||
}
|
||||
0 !== JSCompiler_inline_result &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, JSCompiler_inline_result));
|
||||
} else
|
||||
(JSCompiler_inline_result = workInProgressRootRenderLanes),
|
||||
(JSCompiler_inline_result = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? JSCompiler_inline_result : 0
|
||||
)),
|
||||
0 !== (JSCompiler_inline_result & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, JSCompiler_inline_result));
|
||||
root = root.next;
|
||||
}
|
||||
} while (didPerformSomeWork);
|
||||
@@ -964,30 +983,29 @@ module.exports = function ($$$config) {
|
||||
}
|
||||
function processRootScheduleInMicrotask() {
|
||||
mightHavePendingSyncWork = didScheduleMicrotask = !1;
|
||||
var syncTransitionLanes = 0;
|
||||
0 !== currentEventTransitionLane &&
|
||||
(shouldAttemptEagerTransition() &&
|
||||
(syncTransitionLanes = currentEventTransitionLane),
|
||||
(currentEventTransitionLane = 0));
|
||||
for (
|
||||
var currentTime = now(), prev = null, root = firstScheduledRoot;
|
||||
null !== root;
|
||||
|
||||
) {
|
||||
var next = root.next;
|
||||
if (0 !== currentEventTransitionLane && shouldAttemptEagerTransition()) {
|
||||
var root$jscomp$0 = root,
|
||||
lane = currentEventTransitionLane;
|
||||
root$jscomp$0.pendingLanes |= 2;
|
||||
root$jscomp$0.entangledLanes |= 2;
|
||||
root$jscomp$0.entanglements[1] |= lane;
|
||||
}
|
||||
root$jscomp$0 = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
0 === root$jscomp$0
|
||||
? ((root.next = null),
|
||||
var next = root.next,
|
||||
nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);
|
||||
if (0 === nextLanes)
|
||||
(root.next = null),
|
||||
null === prev ? (firstScheduledRoot = next) : (prev.next = next),
|
||||
null === next && (lastScheduledRoot = prev))
|
||||
: ((prev = root),
|
||||
0 !== (root$jscomp$0 & 3) && (mightHavePendingSyncWork = !0));
|
||||
null === next && (lastScheduledRoot = prev);
|
||||
else if (
|
||||
((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3))
|
||||
)
|
||||
mightHavePendingSyncWork = !0;
|
||||
root = next;
|
||||
}
|
||||
currentEventTransitionLane = 0;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);
|
||||
}
|
||||
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
var pendingLanes = root.pendingLanes,
|
||||
@@ -1254,20 +1272,20 @@ module.exports = function ($$$config) {
|
||||
? (firstBaseUpdate = firstPendingUpdate)
|
||||
: (lastBaseUpdate.next = firstPendingUpdate);
|
||||
lastBaseUpdate = lastPendingUpdate;
|
||||
var current$18 = workInProgress$jscomp$0.alternate;
|
||||
null !== current$18 &&
|
||||
((current$18 = current$18.updateQueue),
|
||||
(pendingQueue = current$18.lastBaseUpdate),
|
||||
var current$19 = workInProgress$jscomp$0.alternate;
|
||||
null !== current$19 &&
|
||||
((current$19 = current$19.updateQueue),
|
||||
(pendingQueue = current$19.lastBaseUpdate),
|
||||
pendingQueue !== lastBaseUpdate &&
|
||||
(null === pendingQueue
|
||||
? (current$18.firstBaseUpdate = firstPendingUpdate)
|
||||
? (current$19.firstBaseUpdate = firstPendingUpdate)
|
||||
: (pendingQueue.next = firstPendingUpdate),
|
||||
(current$18.lastBaseUpdate = lastPendingUpdate)));
|
||||
(current$19.lastBaseUpdate = lastPendingUpdate)));
|
||||
}
|
||||
if (null !== firstBaseUpdate) {
|
||||
var newState = queue.baseState;
|
||||
lastBaseUpdate = 0;
|
||||
current$18 = firstPendingUpdate = lastPendingUpdate = null;
|
||||
current$19 = firstPendingUpdate = lastPendingUpdate = null;
|
||||
pendingQueue = firstBaseUpdate;
|
||||
do {
|
||||
var updateLane = pendingQueue.lane & -536870913,
|
||||
@@ -1280,8 +1298,8 @@ module.exports = function ($$$config) {
|
||||
0 !== updateLane &&
|
||||
updateLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction = !0);
|
||||
null !== current$18 &&
|
||||
(current$18 = current$18.next =
|
||||
null !== current$19 &&
|
||||
(current$19 = current$19.next =
|
||||
{
|
||||
lane: 0,
|
||||
tag: pendingQueue.tag,
|
||||
@@ -1338,10 +1356,10 @@ module.exports = function ($$$config) {
|
||||
callback: pendingQueue.callback,
|
||||
next: null
|
||||
}),
|
||||
null === current$18
|
||||
? ((firstPendingUpdate = current$18 = isHiddenUpdate),
|
||||
null === current$19
|
||||
? ((firstPendingUpdate = current$19 = isHiddenUpdate),
|
||||
(lastPendingUpdate = newState))
|
||||
: (current$18 = current$18.next = isHiddenUpdate),
|
||||
: (current$19 = current$19.next = isHiddenUpdate),
|
||||
(lastBaseUpdate |= updateLane);
|
||||
pendingQueue = pendingQueue.next;
|
||||
if (null === pendingQueue)
|
||||
@@ -1354,10 +1372,10 @@ module.exports = function ($$$config) {
|
||||
(queue.lastBaseUpdate = isHiddenUpdate),
|
||||
(queue.shared.pending = null);
|
||||
} while (1);
|
||||
null === current$18 && (lastPendingUpdate = newState);
|
||||
null === current$19 && (lastPendingUpdate = newState);
|
||||
queue.baseState = lastPendingUpdate;
|
||||
queue.firstBaseUpdate = firstPendingUpdate;
|
||||
queue.lastBaseUpdate = current$18;
|
||||
queue.lastBaseUpdate = current$19;
|
||||
null === firstBaseUpdate && (queue.shared.lanes = 0);
|
||||
workInProgressRootSkippedLanes |= lastBaseUpdate;
|
||||
workInProgress$jscomp$0.lanes = lastBaseUpdate;
|
||||
@@ -2228,9 +2246,9 @@ module.exports = function ($$$config) {
|
||||
push(suspenseHandlerStackCursor, fiber),
|
||||
null === shellBoundary)
|
||||
) {
|
||||
var current$52 = fiber.alternate;
|
||||
null !== current$52 &&
|
||||
null !== current$52.memoizedState &&
|
||||
var current$53 = fiber.alternate;
|
||||
null !== current$53 &&
|
||||
null !== current$53.memoizedState &&
|
||||
(shellBoundary = fiber);
|
||||
}
|
||||
} else reuseSuspenseHandlerOnStack(fiber);
|
||||
@@ -2490,16 +2508,16 @@ module.exports = function ($$$config) {
|
||||
updateQueue = currentlyRenderingFiber$1.updateQueue;
|
||||
null !== updateQueue && (memoCache = updateQueue.memoCache);
|
||||
if (null == memoCache) {
|
||||
var current$54 = currentlyRenderingFiber$1.alternate;
|
||||
null !== current$54 &&
|
||||
((current$54 = current$54.updateQueue),
|
||||
null !== current$54 &&
|
||||
((current$54 = current$54.memoCache),
|
||||
null != current$54 &&
|
||||
var current$55 = currentlyRenderingFiber$1.alternate;
|
||||
null !== current$55 &&
|
||||
((current$55 = current$55.updateQueue),
|
||||
null !== current$55 &&
|
||||
((current$55 = current$55.memoCache),
|
||||
null != current$55 &&
|
||||
(memoCache = {
|
||||
data: enableNoCloningMemoCache
|
||||
? current$54.data
|
||||
: current$54.data.map(function (array) {
|
||||
? current$55.data
|
||||
: current$55.data.map(function (array) {
|
||||
return array.slice();
|
||||
}),
|
||||
index: 0
|
||||
@@ -2514,11 +2532,11 @@ module.exports = function ($$$config) {
|
||||
if (void 0 === updateQueue)
|
||||
for (
|
||||
updateQueue = memoCache.data[memoCache.index] = Array(size),
|
||||
current$54 = 0;
|
||||
current$54 < size;
|
||||
current$54++
|
||||
current$55 = 0;
|
||||
current$55 < size;
|
||||
current$55++
|
||||
)
|
||||
updateQueue[current$54] = REACT_MEMO_CACHE_SENTINEL;
|
||||
updateQueue[current$55] = REACT_MEMO_CACHE_SENTINEL;
|
||||
memoCache.index++;
|
||||
return updateQueue;
|
||||
}
|
||||
@@ -2551,7 +2569,7 @@ module.exports = function ($$$config) {
|
||||
var newBaseQueueFirst = (baseFirst = null),
|
||||
newBaseQueueLast = null,
|
||||
update = current,
|
||||
didReadFromEntangledAsyncAction$55 = !1;
|
||||
didReadFromEntangledAsyncAction$56 = !1;
|
||||
do {
|
||||
var updateLane = update.lane & -536870913;
|
||||
if (
|
||||
@@ -2572,11 +2590,11 @@ module.exports = function ($$$config) {
|
||||
next: null
|
||||
}),
|
||||
updateLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction$55 = !0);
|
||||
(didReadFromEntangledAsyncAction$56 = !0);
|
||||
else if ((renderLanes & revertLane) === revertLane) {
|
||||
update = update.next;
|
||||
revertLane === currentEntangledLane &&
|
||||
(didReadFromEntangledAsyncAction$55 = !0);
|
||||
(didReadFromEntangledAsyncAction$56 = !0);
|
||||
continue;
|
||||
} else
|
||||
(updateLane = {
|
||||
@@ -2622,7 +2640,7 @@ module.exports = function ($$$config) {
|
||||
if (
|
||||
!objectIs(pendingQueue, hook.memoizedState) &&
|
||||
((didReceiveUpdate = !0),
|
||||
didReadFromEntangledAsyncAction$55 &&
|
||||
didReadFromEntangledAsyncAction$56 &&
|
||||
((reducer = currentEntangledActionThenable), null !== reducer))
|
||||
)
|
||||
throw reducer;
|
||||
@@ -2821,8 +2839,8 @@ module.exports = function ($$$config) {
|
||||
try {
|
||||
(prevTransition = action(prevState, payload)),
|
||||
handleActionReturnValue(actionQueue, node, prevTransition);
|
||||
} catch (error$59) {
|
||||
onActionError(actionQueue, node, error$59);
|
||||
} catch (error$60) {
|
||||
onActionError(actionQueue, node, error$60);
|
||||
}
|
||||
}
|
||||
function handleActionReturnValue(actionQueue, node, returnValue) {
|
||||
@@ -3418,9 +3436,9 @@ module.exports = function ($$$config) {
|
||||
(disableDefaultPropsExceptForClasses || !alreadyResolvedDefaultProps)
|
||||
) {
|
||||
newProps === baseProps && (newProps = assign({}, newProps));
|
||||
for (var propName$61 in Component)
|
||||
void 0 === newProps[propName$61] &&
|
||||
(newProps[propName$61] = Component[propName$61]);
|
||||
for (var propName$62 in Component)
|
||||
void 0 === newProps[propName$62] &&
|
||||
(newProps[propName$62] = Component[propName$62]);
|
||||
}
|
||||
return newProps;
|
||||
}
|
||||
@@ -6118,44 +6136,44 @@ module.exports = function ($$$config) {
|
||||
needsVisibilityToggle = needsVisibilityToggle.sibling;
|
||||
}
|
||||
else if (supportsPersistence)
|
||||
for (var node$106 = workInProgress.child; null !== node$106; ) {
|
||||
if (5 === node$106.tag) {
|
||||
var instance = node$106.stateNode;
|
||||
for (var node$107 = workInProgress.child; null !== node$107; ) {
|
||||
if (5 === node$107.tag) {
|
||||
var instance = node$107.stateNode;
|
||||
needsVisibilityToggle &&
|
||||
isHidden &&
|
||||
(instance = cloneHiddenInstance(
|
||||
instance,
|
||||
node$106.type,
|
||||
node$106.memoizedProps
|
||||
node$107.type,
|
||||
node$107.memoizedProps
|
||||
));
|
||||
appendInitialChild(parent, instance);
|
||||
} else if (6 === node$106.tag)
|
||||
(instance = node$106.stateNode),
|
||||
} else if (6 === node$107.tag)
|
||||
(instance = node$107.stateNode),
|
||||
needsVisibilityToggle &&
|
||||
isHidden &&
|
||||
(instance = cloneHiddenTextInstance(
|
||||
instance,
|
||||
node$106.memoizedProps
|
||||
node$107.memoizedProps
|
||||
)),
|
||||
appendInitialChild(parent, instance);
|
||||
else if (4 !== node$106.tag)
|
||||
if (22 === node$106.tag && null !== node$106.memoizedState)
|
||||
(instance = node$106.child),
|
||||
null !== instance && (instance.return = node$106),
|
||||
appendAllChildren(parent, node$106, !0, !0);
|
||||
else if (null !== node$106.child) {
|
||||
node$106.child.return = node$106;
|
||||
node$106 = node$106.child;
|
||||
else if (4 !== node$107.tag)
|
||||
if (22 === node$107.tag && null !== node$107.memoizedState)
|
||||
(instance = node$107.child),
|
||||
null !== instance && (instance.return = node$107),
|
||||
appendAllChildren(parent, node$107, !0, !0);
|
||||
else if (null !== node$107.child) {
|
||||
node$107.child.return = node$107;
|
||||
node$107 = node$107.child;
|
||||
continue;
|
||||
}
|
||||
if (node$106 === workInProgress) break;
|
||||
for (; null === node$106.sibling; ) {
|
||||
if (null === node$106.return || node$106.return === workInProgress)
|
||||
if (node$107 === workInProgress) break;
|
||||
for (; null === node$107.sibling; ) {
|
||||
if (null === node$107.return || node$107.return === workInProgress)
|
||||
return;
|
||||
node$106 = node$106.return;
|
||||
node$107 = node$107.return;
|
||||
}
|
||||
node$106.sibling.return = node$106.return;
|
||||
node$106 = node$106.sibling;
|
||||
node$107.sibling.return = node$107.return;
|
||||
node$107 = node$107.sibling;
|
||||
}
|
||||
}
|
||||
function appendAllChildrenToContainer(
|
||||
@@ -6228,31 +6246,31 @@ module.exports = function ($$$config) {
|
||||
current.memoizedProps !== newProps && markUpdate(workInProgress);
|
||||
else if (supportsPersistence) {
|
||||
var currentInstance = current.stateNode,
|
||||
oldProps$109 = current.memoizedProps;
|
||||
oldProps$110 = current.memoizedProps;
|
||||
if (
|
||||
(current = doesRequireClone(current, workInProgress)) ||
|
||||
oldProps$109 !== newProps
|
||||
oldProps$110 !== newProps
|
||||
) {
|
||||
var currentHostContext = contextStackCursor.current;
|
||||
oldProps$109 = cloneInstance(
|
||||
oldProps$110 = cloneInstance(
|
||||
currentInstance,
|
||||
type,
|
||||
oldProps$109,
|
||||
oldProps$110,
|
||||
newProps,
|
||||
!current,
|
||||
null
|
||||
);
|
||||
oldProps$109 === currentInstance
|
||||
oldProps$110 === currentInstance
|
||||
? (workInProgress.stateNode = currentInstance)
|
||||
: (finalizeInitialChildren(
|
||||
oldProps$109,
|
||||
oldProps$110,
|
||||
type,
|
||||
newProps,
|
||||
currentHostContext
|
||||
) && markUpdate(workInProgress),
|
||||
(workInProgress.stateNode = oldProps$109),
|
||||
(workInProgress.stateNode = oldProps$110),
|
||||
current
|
||||
? appendAllChildren(oldProps$109, workInProgress, !1, !1)
|
||||
? appendAllChildren(oldProps$110, workInProgress, !1, !1)
|
||||
: markUpdate(workInProgress));
|
||||
} else workInProgress.stateNode = currentInstance;
|
||||
}
|
||||
@@ -6302,15 +6320,15 @@ module.exports = function ($$$config) {
|
||||
break;
|
||||
case "collapsed":
|
||||
lastTailNode = renderState.tail;
|
||||
for (var lastTailNode$111 = null; null !== lastTailNode; )
|
||||
for (var lastTailNode$112 = null; null !== lastTailNode; )
|
||||
null !== lastTailNode.alternate &&
|
||||
(lastTailNode$111 = lastTailNode),
|
||||
(lastTailNode$112 = lastTailNode),
|
||||
(lastTailNode = lastTailNode.sibling);
|
||||
null === lastTailNode$111
|
||||
null === lastTailNode$112
|
||||
? hasRenderedATailFallback || null === renderState.tail
|
||||
? (renderState.tail = null)
|
||||
: (renderState.tail.sibling = null)
|
||||
: (lastTailNode$111.sibling = null);
|
||||
: (lastTailNode$112.sibling = null);
|
||||
}
|
||||
}
|
||||
function bubbleProperties(completedWork) {
|
||||
@@ -6320,19 +6338,19 @@ module.exports = function ($$$config) {
|
||||
newChildLanes = 0,
|
||||
subtreeFlags = 0;
|
||||
if (didBailout)
|
||||
for (var child$112 = completedWork.child; null !== child$112; )
|
||||
(newChildLanes |= child$112.lanes | child$112.childLanes),
|
||||
(subtreeFlags |= child$112.subtreeFlags & 31457280),
|
||||
(subtreeFlags |= child$112.flags & 31457280),
|
||||
(child$112.return = completedWork),
|
||||
(child$112 = child$112.sibling);
|
||||
for (var child$113 = completedWork.child; null !== child$113; )
|
||||
(newChildLanes |= child$113.lanes | child$113.childLanes),
|
||||
(subtreeFlags |= child$113.subtreeFlags & 31457280),
|
||||
(subtreeFlags |= child$113.flags & 31457280),
|
||||
(child$113.return = completedWork),
|
||||
(child$113 = child$113.sibling);
|
||||
else
|
||||
for (child$112 = completedWork.child; null !== child$112; )
|
||||
(newChildLanes |= child$112.lanes | child$112.childLanes),
|
||||
(subtreeFlags |= child$112.subtreeFlags),
|
||||
(subtreeFlags |= child$112.flags),
|
||||
(child$112.return = completedWork),
|
||||
(child$112 = child$112.sibling);
|
||||
for (child$113 = completedWork.child; null !== child$113; )
|
||||
(newChildLanes |= child$113.lanes | child$113.childLanes),
|
||||
(subtreeFlags |= child$113.subtreeFlags),
|
||||
(subtreeFlags |= child$113.flags),
|
||||
(child$113.return = completedWork),
|
||||
(child$113 = child$113.sibling);
|
||||
completedWork.subtreeFlags |= subtreeFlags;
|
||||
completedWork.childLanes = newChildLanes;
|
||||
return didBailout;
|
||||
@@ -6605,11 +6623,11 @@ module.exports = function ($$$config) {
|
||||
null !== newProps.alternate.memoizedState &&
|
||||
null !== newProps.alternate.memoizedState.cachePool &&
|
||||
(nextResource = newProps.alternate.memoizedState.cachePool.pool);
|
||||
var cache$125 = null;
|
||||
var cache$126 = null;
|
||||
null !== newProps.memoizedState &&
|
||||
null !== newProps.memoizedState.cachePool &&
|
||||
(cache$125 = newProps.memoizedState.cachePool.pool);
|
||||
cache$125 !== nextResource && (newProps.flags |= 2048);
|
||||
(cache$126 = newProps.memoizedState.cachePool.pool);
|
||||
cache$126 !== nextResource && (newProps.flags |= 2048);
|
||||
}
|
||||
renderLanes !== current &&
|
||||
(enableTransitionTracing && (workInProgress.child.flags |= 2048),
|
||||
@@ -6645,8 +6663,8 @@ module.exports = function ($$$config) {
|
||||
if (null === nextResource)
|
||||
return bubbleProperties(workInProgress), null;
|
||||
newProps = 0 !== (workInProgress.flags & 128);
|
||||
cache$125 = nextResource.rendering;
|
||||
if (null === cache$125)
|
||||
cache$126 = nextResource.rendering;
|
||||
if (null === cache$126)
|
||||
if (newProps) cutOffTailIfNeeded(nextResource, !1);
|
||||
else {
|
||||
if (
|
||||
@@ -6654,11 +6672,11 @@ module.exports = function ($$$config) {
|
||||
(null !== current && 0 !== (current.flags & 128))
|
||||
)
|
||||
for (current = workInProgress.child; null !== current; ) {
|
||||
cache$125 = findFirstSuspended(current);
|
||||
if (null !== cache$125) {
|
||||
cache$126 = findFirstSuspended(current);
|
||||
if (null !== cache$126) {
|
||||
workInProgress.flags |= 128;
|
||||
cutOffTailIfNeeded(nextResource, !1);
|
||||
current = cache$125.updateQueue;
|
||||
current = cache$126.updateQueue;
|
||||
workInProgress.updateQueue = current;
|
||||
scheduleRetryEffect(workInProgress, current);
|
||||
workInProgress.subtreeFlags = 0;
|
||||
@@ -6687,7 +6705,7 @@ module.exports = function ($$$config) {
|
||||
}
|
||||
else {
|
||||
if (!newProps)
|
||||
if (((current = findFirstSuspended(cache$125)), null !== current)) {
|
||||
if (((current = findFirstSuspended(cache$126)), null !== current)) {
|
||||
if (
|
||||
((workInProgress.flags |= 128),
|
||||
(newProps = !0),
|
||||
@@ -6697,7 +6715,7 @@ module.exports = function ($$$config) {
|
||||
cutOffTailIfNeeded(nextResource, !0),
|
||||
null === nextResource.tail &&
|
||||
"hidden" === nextResource.tailMode &&
|
||||
!cache$125.alternate &&
|
||||
!cache$126.alternate &&
|
||||
!isHydrating)
|
||||
)
|
||||
return bubbleProperties(workInProgress), null;
|
||||
@@ -6710,13 +6728,13 @@ module.exports = function ($$$config) {
|
||||
cutOffTailIfNeeded(nextResource, !1),
|
||||
(workInProgress.lanes = 4194304));
|
||||
nextResource.isBackwards
|
||||
? ((cache$125.sibling = workInProgress.child),
|
||||
(workInProgress.child = cache$125))
|
||||
? ((cache$126.sibling = workInProgress.child),
|
||||
(workInProgress.child = cache$126))
|
||||
: ((current = nextResource.last),
|
||||
null !== current
|
||||
? (current.sibling = cache$125)
|
||||
: (workInProgress.child = cache$125),
|
||||
(nextResource.last = cache$125));
|
||||
? (current.sibling = cache$126)
|
||||
: (workInProgress.child = cache$126),
|
||||
(nextResource.last = cache$126));
|
||||
}
|
||||
if (null !== nextResource.tail)
|
||||
return (
|
||||
@@ -6991,8 +7009,8 @@ module.exports = function ($$$config) {
|
||||
else if ("function" === typeof ref)
|
||||
try {
|
||||
ref(null);
|
||||
} catch (error$142) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$142);
|
||||
} catch (error$143) {
|
||||
captureCommitPhaseError(current, nearestMountedAncestor, error$143);
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
@@ -7215,11 +7233,11 @@ module.exports = function ($$$config) {
|
||||
current,
|
||||
finishedRoot.__reactInternalSnapshotBeforeUpdate
|
||||
);
|
||||
} catch (error$143) {
|
||||
} catch (error$144) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$143
|
||||
error$144
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -7776,19 +7794,19 @@ module.exports = function ($$$config) {
|
||||
}
|
||||
function commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) {
|
||||
if (supportsHydration && null === finishedWork.memoizedState) {
|
||||
var current$154 = finishedWork.alternate;
|
||||
var current$155 = finishedWork.alternate;
|
||||
if (
|
||||
null !== current$154 &&
|
||||
((current$154 = current$154.memoizedState),
|
||||
null !== current$154 &&
|
||||
((current$154 = current$154.dehydrated), null !== current$154))
|
||||
null !== current$155 &&
|
||||
((current$155 = current$155.memoizedState),
|
||||
null !== current$155 &&
|
||||
((current$155 = current$155.dehydrated), null !== current$155))
|
||||
)
|
||||
try {
|
||||
commitHydratedSuspenseInstance(current$154);
|
||||
commitHydratedSuspenseInstance(current$155);
|
||||
var hydrationCallbacks = finishedRoot.hydrationCallbacks;
|
||||
if (null !== hydrationCallbacks) {
|
||||
var onHydrated = hydrationCallbacks.onHydrated;
|
||||
onHydrated && onHydrated(current$154);
|
||||
onHydrated && onHydrated(current$155);
|
||||
}
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
@@ -7907,11 +7925,11 @@ module.exports = function ($$$config) {
|
||||
}
|
||||
try {
|
||||
commitHookEffectListUnmount(5, finishedWork, finishedWork.return);
|
||||
} catch (error$156) {
|
||||
} catch (error$157) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$156
|
||||
error$157
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -7989,11 +8007,11 @@ module.exports = function ($$$config) {
|
||||
finishedWork.memoizedProps,
|
||||
finishedWork
|
||||
);
|
||||
} catch (error$157) {
|
||||
} catch (error$158) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$157
|
||||
error$158
|
||||
);
|
||||
}
|
||||
break;
|
||||
@@ -8025,11 +8043,11 @@ module.exports = function ($$$config) {
|
||||
root = finishedWork.stateNode;
|
||||
try {
|
||||
resetTextContent(root);
|
||||
} catch (error$158) {
|
||||
} catch (error$159) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$158
|
||||
error$159
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8039,11 +8057,11 @@ module.exports = function ($$$config) {
|
||||
props = finishedWork.type;
|
||||
try {
|
||||
commitUpdate(root, props, current, hoistableRoot, finishedWork);
|
||||
} catch (error$160) {
|
||||
} catch (error$161) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$160
|
||||
error$161
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8061,11 +8079,11 @@ module.exports = function ($$$config) {
|
||||
current = null !== current ? current.memoizedProps : root;
|
||||
try {
|
||||
commitTextUpdate(flags, current, root);
|
||||
} catch (error$161) {
|
||||
} catch (error$162) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$161
|
||||
error$162
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8088,11 +8106,11 @@ module.exports = function ($$$config) {
|
||||
)
|
||||
try {
|
||||
commitHydratedContainer(root.containerInfo);
|
||||
} catch (error$162) {
|
||||
} catch (error$163) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$162
|
||||
error$163
|
||||
);
|
||||
}
|
||||
if (supportsPersistence) {
|
||||
@@ -8100,11 +8118,11 @@ module.exports = function ($$$config) {
|
||||
current = root.pendingChildren;
|
||||
try {
|
||||
replaceContainerChildren(flags, current);
|
||||
} catch (error$163) {
|
||||
} catch (error$164) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$163
|
||||
error$164
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8129,11 +8147,11 @@ module.exports = function ($$$config) {
|
||||
current = current.pendingChildren;
|
||||
try {
|
||||
replaceContainerChildren(flags, current);
|
||||
} catch (error$167) {
|
||||
} catch (error$168) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$167
|
||||
error$168
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8157,11 +8175,11 @@ module.exports = function ($$$config) {
|
||||
null !== retryQueue && suspenseCallback(new Set(retryQueue));
|
||||
}
|
||||
}
|
||||
} catch (error$168) {
|
||||
} catch (error$169) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$168
|
||||
error$169
|
||||
);
|
||||
}
|
||||
flags = finishedWork.updateQueue;
|
||||
@@ -8233,11 +8251,11 @@ module.exports = function ($$$config) {
|
||||
suspenseCallback
|
||||
? hideTextInstance(props)
|
||||
: unhideTextInstance(props, root.memoizedProps);
|
||||
} catch (error$145) {
|
||||
} catch (error$146) {
|
||||
captureCommitPhaseError(
|
||||
finishedWork,
|
||||
finishedWork.return,
|
||||
error$145
|
||||
error$146
|
||||
);
|
||||
}
|
||||
} else if (
|
||||
@@ -8323,21 +8341,21 @@ module.exports = function ($$$config) {
|
||||
break;
|
||||
}
|
||||
case 5:
|
||||
var parent$146 = JSCompiler_inline_result.stateNode;
|
||||
var parent$147 = JSCompiler_inline_result.stateNode;
|
||||
JSCompiler_inline_result.flags & 32 &&
|
||||
(resetTextContent(parent$146),
|
||||
(resetTextContent(parent$147),
|
||||
(JSCompiler_inline_result.flags &= -33));
|
||||
var before$147 = getHostSibling(finishedWork);
|
||||
insertOrAppendPlacementNode(finishedWork, before$147, parent$146);
|
||||
var before$148 = getHostSibling(finishedWork);
|
||||
insertOrAppendPlacementNode(finishedWork, before$148, parent$147);
|
||||
break;
|
||||
case 3:
|
||||
case 4:
|
||||
var parent$148 = JSCompiler_inline_result.stateNode.containerInfo,
|
||||
before$149 = getHostSibling(finishedWork);
|
||||
var parent$149 = JSCompiler_inline_result.stateNode.containerInfo,
|
||||
before$150 = getHostSibling(finishedWork);
|
||||
insertOrAppendPlacementNodeIntoContainer(
|
||||
finishedWork,
|
||||
before$149,
|
||||
parent$148
|
||||
before$150,
|
||||
parent$149
|
||||
);
|
||||
break;
|
||||
default:
|
||||
@@ -8415,7 +8433,7 @@ module.exports = function ($$$config) {
|
||||
includeWorkInProgressEffects =
|
||||
includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772);
|
||||
for (parentFiber = parentFiber.child; null !== parentFiber; ) {
|
||||
var current$172 = parentFiber.alternate,
|
||||
var current$173 = parentFiber.alternate,
|
||||
finishedRoot = finishedRoot$jscomp$0,
|
||||
finishedWork = parentFiber,
|
||||
flags = finishedWork.flags;
|
||||
@@ -8443,16 +8461,16 @@ module.exports = function ($$$config) {
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
}
|
||||
current$172 = finishedWork.updateQueue;
|
||||
if (null !== current$172) {
|
||||
var hiddenCallbacks = current$172.shared.hiddenCallbacks;
|
||||
current$173 = finishedWork.updateQueue;
|
||||
if (null !== current$173) {
|
||||
var hiddenCallbacks = current$173.shared.hiddenCallbacks;
|
||||
if (null !== hiddenCallbacks)
|
||||
for (
|
||||
current$172.shared.hiddenCallbacks = null, current$172 = 0;
|
||||
current$172 < hiddenCallbacks.length;
|
||||
current$172++
|
||||
current$173.shared.hiddenCallbacks = null, current$173 = 0;
|
||||
current$173 < hiddenCallbacks.length;
|
||||
current$173++
|
||||
)
|
||||
callCallback(hiddenCallbacks[current$172], finishedRoot);
|
||||
callCallback(hiddenCallbacks[current$173], finishedRoot);
|
||||
}
|
||||
includeWorkInProgressEffects &&
|
||||
flags & 64 &&
|
||||
@@ -8468,7 +8486,7 @@ module.exports = function ($$$config) {
|
||||
includeWorkInProgressEffects
|
||||
);
|
||||
includeWorkInProgressEffects &&
|
||||
null === current$172 &&
|
||||
null === current$173 &&
|
||||
flags & 4 &&
|
||||
commitHostComponentMount(finishedWork);
|
||||
safelyAttachRef(finishedWork, finishedWork.return);
|
||||
@@ -8811,9 +8829,9 @@ module.exports = function ($$$config) {
|
||||
);
|
||||
break;
|
||||
case 22:
|
||||
var instance$178 = finishedWork.stateNode;
|
||||
var instance$179 = finishedWork.stateNode;
|
||||
null !== finishedWork.memoizedState
|
||||
? instance$178._visibility & 4
|
||||
? instance$179._visibility & 4
|
||||
? recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
@@ -8825,7 +8843,7 @@ module.exports = function ($$$config) {
|
||||
finishedRoot,
|
||||
finishedWork
|
||||
)
|
||||
: ((instance$178._visibility |= 4),
|
||||
: ((instance$179._visibility |= 4),
|
||||
recursivelyTraverseReconnectPassiveEffects(
|
||||
finishedRoot,
|
||||
finishedWork,
|
||||
@@ -8838,7 +8856,7 @@ module.exports = function ($$$config) {
|
||||
commitOffscreenPassiveMountEffects(
|
||||
finishedWork.alternate,
|
||||
finishedWork,
|
||||
instance$178
|
||||
instance$179
|
||||
);
|
||||
break;
|
||||
case 24:
|
||||
@@ -9730,7 +9748,7 @@ module.exports = function ($$$config) {
|
||||
}
|
||||
function flushSyncWork() {
|
||||
return 0 === (executionContext & 6)
|
||||
? (flushSyncWorkAcrossRoots_impl(!1), !1)
|
||||
? (flushSyncWorkAcrossRoots_impl(0, !1), !1)
|
||||
: !0;
|
||||
}
|
||||
function resetWorkInProgressStack() {
|
||||
@@ -9891,8 +9909,8 @@ module.exports = function ($$$config) {
|
||||
}
|
||||
workLoopSync();
|
||||
break;
|
||||
} catch (thrownValue$192) {
|
||||
handleThrow(root, thrownValue$192);
|
||||
} catch (thrownValue$193) {
|
||||
handleThrow(root, thrownValue$193);
|
||||
}
|
||||
while (1);
|
||||
lanes && root.shellSuspendCounter++;
|
||||
@@ -10007,8 +10025,8 @@ module.exports = function ($$$config) {
|
||||
}
|
||||
workLoopConcurrent();
|
||||
break;
|
||||
} catch (thrownValue$194) {
|
||||
handleThrow(root, thrownValue$194);
|
||||
} catch (thrownValue$195) {
|
||||
handleThrow(root, thrownValue$195);
|
||||
}
|
||||
while (1);
|
||||
resetContextDependencies();
|
||||
@@ -10239,12 +10257,12 @@ module.exports = function ($$$config) {
|
||||
setCurrentUpdatePriority(2);
|
||||
var prevExecutionContext = executionContext;
|
||||
executionContext |= 4;
|
||||
var shouldFireAfterActiveInstanceBlur$200 = commitBeforeMutationEffects(
|
||||
var shouldFireAfterActiveInstanceBlur$201 = commitBeforeMutationEffects(
|
||||
root,
|
||||
finishedWork
|
||||
);
|
||||
commitMutationEffectsOnFiber(finishedWork, root);
|
||||
shouldFireAfterActiveInstanceBlur$200 && afterActiveInstanceBlur();
|
||||
shouldFireAfterActiveInstanceBlur$201 && afterActiveInstanceBlur();
|
||||
resetAfterCommit(root.containerInfo);
|
||||
root.current = finishedWork;
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);
|
||||
@@ -10281,7 +10299,7 @@ module.exports = function ($$$config) {
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))
|
||||
: (nestedUpdateCount = 0);
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
if (enableTransitionTracing) {
|
||||
var prevRootTransitionCallbacks = root.transitionCallbacks;
|
||||
null !== prevRootTransitionCallbacks &&
|
||||
@@ -10345,7 +10363,7 @@ module.exports = function ($$$config) {
|
||||
commitPassiveUnmountOnFiber(root.current);
|
||||
commitPassiveMountOnFiber(root, root.current, lanes, transitions);
|
||||
executionContext = prevExecutionContext;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
if (enableTransitionTracing) {
|
||||
var prevPendingTransitionCallbacks = currentPendingTransitionCallbacks,
|
||||
prevRootTransitionCallbacks = root.transitionCallbacks,
|
||||
@@ -11827,7 +11845,7 @@ module.exports = function ($$$config) {
|
||||
ensureRootIsScheduled(fiber);
|
||||
0 === (executionContext & 6) &&
|
||||
((workInProgressRootRenderTargetTime = now() + 500),
|
||||
flushSyncWorkAcrossRoots_impl(!1));
|
||||
flushSyncWorkAcrossRoots_impl(0, !1));
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -12062,7 +12080,7 @@ module.exports = function ($$$config) {
|
||||
setCurrentUpdatePriority(previousPriority),
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
(executionContext = prevExecutionContext),
|
||||
0 === (executionContext & 6) && flushSyncWorkAcrossRoots_impl(!1);
|
||||
0 === (executionContext & 6) && flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
}
|
||||
};
|
||||
exports.flushSyncWork = flushSyncWork;
|
||||
@@ -12142,7 +12160,7 @@ module.exports = function ($$$config) {
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-1d989965-20240821"
|
||||
reconcilerVersion: "19.0.0-www-modern-ee7f6757-20240823"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"use strict";
|
||||
__DEV__ &&
|
||||
(function () {
|
||||
function JSCompiler_object_inline_createNodeMock_1070() {
|
||||
function JSCompiler_object_inline_createNodeMock_1071() {
|
||||
return null;
|
||||
}
|
||||
function findHook(fiber, id) {
|
||||
@@ -1755,28 +1755,41 @@ __DEV__ &&
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
isFlushingWork = !0;
|
||||
do {
|
||||
var didPerformSomeWork = !1;
|
||||
for (var root = firstScheduledRoot; null !== root; ) {
|
||||
if (!onlyLegacy) {
|
||||
var workInProgressRootRenderLanes$jscomp$0 =
|
||||
workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot
|
||||
? workInProgressRootRenderLanes$jscomp$0
|
||||
: 0
|
||||
);
|
||||
0 !== (workInProgressRootRenderLanes$jscomp$0 & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(
|
||||
root,
|
||||
workInProgressRootRenderLanes$jscomp$0
|
||||
));
|
||||
}
|
||||
if (!onlyLegacy)
|
||||
if (0 !== syncTransitionLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) var nextLanes = 0;
|
||||
else {
|
||||
var suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes;
|
||||
nextLanes =
|
||||
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
||||
nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
||||
nextLanes =
|
||||
nextLanes & 201326677
|
||||
? (nextLanes & 201326677) | 1
|
||||
: nextLanes
|
||||
? nextLanes | 2
|
||||
: 0;
|
||||
}
|
||||
0 !== nextLanes &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
} else
|
||||
(nextLanes = workInProgressRootRenderLanes),
|
||||
(nextLanes = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? nextLanes : 0
|
||||
)),
|
||||
0 !== (nextLanes & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
root = root.next;
|
||||
}
|
||||
} while (didPerformSomeWork);
|
||||
@@ -1788,6 +1801,7 @@ __DEV__ &&
|
||||
didScheduleMicrotask_act =
|
||||
didScheduleMicrotask =
|
||||
!1;
|
||||
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
|
||||
for (
|
||||
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
|
||||
null !== root;
|
||||
@@ -1803,8 +1817,7 @@ __DEV__ &&
|
||||
0 !== (nextLanes & 3) && (mightHavePendingSyncWork = !0));
|
||||
root = next;
|
||||
}
|
||||
currentEventTransitionLane = 0;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
}
|
||||
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
for (
|
||||
@@ -10895,12 +10908,12 @@ __DEV__ &&
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
(executionContext = prevExecutionContext),
|
||||
(executionContext & (RenderContext | CommitContext)) === NoContext &&
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
}
|
||||
}
|
||||
function flushSyncWork() {
|
||||
return (executionContext & (RenderContext | CommitContext)) === NoContext
|
||||
? (flushSyncWorkAcrossRoots_impl(!1), !1)
|
||||
? (flushSyncWorkAcrossRoots_impl(0, !1), !1)
|
||||
: !0;
|
||||
}
|
||||
function resetWorkInProgressStack() {
|
||||
@@ -11552,7 +11565,7 @@ __DEV__ &&
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: (nestedUpdateCount = 0);
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
return null;
|
||||
}
|
||||
function makeErrorInfo(componentStack) {
|
||||
@@ -11678,7 +11691,7 @@ __DEV__ &&
|
||||
!0
|
||||
);
|
||||
executionContext = prevExecutionContext;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
didScheduleUpdateDuringPassiveEffects
|
||||
? priority === rootWithPassiveNestedUpdates
|
||||
? nestedPassiveUpdateCount++
|
||||
@@ -14810,11 +14823,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-1d989965-20240821",
|
||||
version: "19.0.0-www-classic-ee7f6757-20240823",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-1d989965-20240821"
|
||||
reconcilerVersion: "19.0.0-www-classic-ee7f6757-20240823"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -14834,7 +14847,7 @@ __DEV__ &&
|
||||
exports._Scheduler = Scheduler;
|
||||
exports.act = act;
|
||||
exports.create = function (element, options) {
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1070,
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1071,
|
||||
isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT,
|
||||
isConcurrent = isConcurrentOnly,
|
||||
isStrictMode = !1;
|
||||
@@ -14949,5 +14962,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-classic-ee7f6757-20240823";
|
||||
})();
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"use strict";
|
||||
__DEV__ &&
|
||||
(function () {
|
||||
function JSCompiler_object_inline_createNodeMock_1070() {
|
||||
function JSCompiler_object_inline_createNodeMock_1071() {
|
||||
return null;
|
||||
}
|
||||
function findHook(fiber, id) {
|
||||
@@ -1755,28 +1755,41 @@ __DEV__ &&
|
||||
((didScheduleMicrotask = !0),
|
||||
scheduleImmediateTask(processRootScheduleInMicrotask));
|
||||
}
|
||||
function flushSyncWorkAcrossRoots_impl(onlyLegacy) {
|
||||
function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
|
||||
if (!isFlushingWork && mightHavePendingSyncWork) {
|
||||
isFlushingWork = !0;
|
||||
do {
|
||||
var didPerformSomeWork = !1;
|
||||
for (var root = firstScheduledRoot; null !== root; ) {
|
||||
if (!onlyLegacy) {
|
||||
var workInProgressRootRenderLanes$jscomp$0 =
|
||||
workInProgressRootRenderLanes;
|
||||
workInProgressRootRenderLanes$jscomp$0 = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot
|
||||
? workInProgressRootRenderLanes$jscomp$0
|
||||
: 0
|
||||
);
|
||||
0 !== (workInProgressRootRenderLanes$jscomp$0 & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(
|
||||
root,
|
||||
workInProgressRootRenderLanes$jscomp$0
|
||||
));
|
||||
}
|
||||
if (!onlyLegacy)
|
||||
if (0 !== syncTransitionLanes) {
|
||||
var pendingLanes = root.pendingLanes;
|
||||
if (0 === pendingLanes) var nextLanes = 0;
|
||||
else {
|
||||
var suspendedLanes = root.suspendedLanes,
|
||||
pingedLanes = root.pingedLanes;
|
||||
nextLanes =
|
||||
(1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
|
||||
nextLanes &= pendingLanes & ~(suspendedLanes & ~pingedLanes);
|
||||
nextLanes =
|
||||
nextLanes & 201326677
|
||||
? (nextLanes & 201326677) | 1
|
||||
: nextLanes
|
||||
? nextLanes | 2
|
||||
: 0;
|
||||
}
|
||||
0 !== nextLanes &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
} else
|
||||
(nextLanes = workInProgressRootRenderLanes),
|
||||
(nextLanes = getNextLanes(
|
||||
root,
|
||||
root === workInProgressRoot ? nextLanes : 0
|
||||
)),
|
||||
0 !== (nextLanes & 3) &&
|
||||
((didPerformSomeWork = !0),
|
||||
performSyncWorkOnRoot(root, nextLanes));
|
||||
root = root.next;
|
||||
}
|
||||
} while (didPerformSomeWork);
|
||||
@@ -1788,6 +1801,7 @@ __DEV__ &&
|
||||
didScheduleMicrotask_act =
|
||||
didScheduleMicrotask =
|
||||
!1;
|
||||
0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);
|
||||
for (
|
||||
var currentTime = now$1(), prev = null, root = firstScheduledRoot;
|
||||
null !== root;
|
||||
@@ -1803,8 +1817,7 @@ __DEV__ &&
|
||||
0 !== (nextLanes & 3) && (mightHavePendingSyncWork = !0));
|
||||
root = next;
|
||||
}
|
||||
currentEventTransitionLane = 0;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
}
|
||||
function scheduleTaskForRootDuringMicrotask(root, currentTime) {
|
||||
for (
|
||||
@@ -10895,12 +10908,12 @@ __DEV__ &&
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
(executionContext = prevExecutionContext),
|
||||
(executionContext & (RenderContext | CommitContext)) === NoContext &&
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
}
|
||||
}
|
||||
function flushSyncWork() {
|
||||
return (executionContext & (RenderContext | CommitContext)) === NoContext
|
||||
? (flushSyncWorkAcrossRoots_impl(!1), !1)
|
||||
? (flushSyncWorkAcrossRoots_impl(0, !1), !1)
|
||||
: !0;
|
||||
}
|
||||
function resetWorkInProgressStack() {
|
||||
@@ -11552,7 +11565,7 @@ __DEV__ &&
|
||||
? nestedUpdateCount++
|
||||
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)))
|
||||
: (nestedUpdateCount = 0);
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
return null;
|
||||
}
|
||||
function makeErrorInfo(componentStack) {
|
||||
@@ -11678,7 +11691,7 @@ __DEV__ &&
|
||||
!0
|
||||
);
|
||||
executionContext = prevExecutionContext;
|
||||
flushSyncWorkAcrossRoots_impl(!1);
|
||||
flushSyncWorkAcrossRoots_impl(0, !1);
|
||||
didScheduleUpdateDuringPassiveEffects
|
||||
? priority === rootWithPassiveNestedUpdates
|
||||
? nestedPassiveUpdateCount++
|
||||
@@ -14810,11 +14823,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-1d989965-20240821",
|
||||
version: "19.0.0-www-modern-ee7f6757-20240823",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-1d989965-20240821"
|
||||
reconcilerVersion: "19.0.0-www-modern-ee7f6757-20240823"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -14834,7 +14847,7 @@ __DEV__ &&
|
||||
exports._Scheduler = Scheduler;
|
||||
exports.act = act;
|
||||
exports.create = function (element, options) {
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1070,
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1071,
|
||||
isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT,
|
||||
isConcurrent = isConcurrentOnly,
|
||||
isStrictMode = !1;
|
||||
@@ -14949,5 +14962,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-1d989965-20240821";
|
||||
exports.version = "19.0.0-www-modern-ee7f6757-20240823";
|
||||
})();
|
||||
|
||||
@@ -1 +1 @@
|
||||
19.0.0-www-classic-1d989965-20240821
|
||||
19.0.0-www-classic-ee7f6757-20240823
|
||||
@@ -1 +1 @@
|
||||
19.0.0-www-modern-1d989965-20240821
|
||||
19.0.0-www-modern-ee7f6757-20240823
|
||||
Reference in New Issue
Block a user