mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[Fiber] Log the Render/Commit phases and the gaps in between (#31016)
A slight behavior change here too is that I now mark the start of the
commit phase before the BeforeMutationEffect phase. This affects
`<Profiler>` too.
The named sequences are as follows:
Render -> Suspended or Throttled -> Commit -> Waiting for Paint ->
Remaining Effects
The Suspended phase is only logged if we delay the Commit due to CSS /
images.
The Throttled phase is only logged if we delay the commit due to the
Suspense throttling timer.
<img width="1246" alt="Screenshot 2024-09-20 at 9 14 23 PM"
src="https://github.com/user-attachments/assets/8d01f444-bb85-472b-9b42-6157d92c81b4">
I don't yet log render phases that don't complete. I think I also need
to special case renders that or don't commit after being suspended.
DiffTrain build for [4e9540e3c2](https://github.com/facebook/react/commit/4e9540e3c2a8f9ae56318b967939c99b3a815190)
This commit is contained in:
@@ -1 +1 @@
|
||||
d4688dfaafe51a4cb6e3c51fc2330662cb4e2296
|
||||
4e9540e3c2a8f9ae56318b967939c99b3a815190
|
||||
|
||||
@@ -1 +1 @@
|
||||
d4688dfaafe51a4cb6e3c51fc2330662cb4e2296
|
||||
4e9540e3c2a8f9ae56318b967939c99b3a815190
|
||||
|
||||
@@ -2000,7 +2000,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-classic-4e9540e3-20240923";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -1980,7 +1980,7 @@ __DEV__ &&
|
||||
exports.useTransition = function () {
|
||||
return resolveDispatcher().useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-modern-4e9540e3-20240923";
|
||||
"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-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-classic-4e9540e3-20240923";
|
||||
|
||||
@@ -665,4 +665,4 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-modern-4e9540e3-20240923";
|
||||
|
||||
@@ -669,7 +669,7 @@ exports.useSyncExternalStore = function (
|
||||
exports.useTransition = function () {
|
||||
return ReactSharedInternals.H.useTransition();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-classic-4e9540e3-20240923";
|
||||
"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-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-modern-4e9540e3-20240923";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -10047,7 +10047,12 @@ __DEV__ &&
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
function commitProfiler(finishedWork, current, commitTime, effectDuration) {
|
||||
function commitProfiler(
|
||||
finishedWork,
|
||||
current,
|
||||
commitStartTime,
|
||||
effectDuration
|
||||
) {
|
||||
var _finishedWork$memoize = finishedWork.memoizedProps,
|
||||
id = _finishedWork$memoize.id,
|
||||
onCommit = _finishedWork$memoize.onCommit;
|
||||
@@ -10061,20 +10066,20 @@ __DEV__ &&
|
||||
finishedWork.actualDuration,
|
||||
finishedWork.treeBaseDuration,
|
||||
finishedWork.actualStartTime,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
"function" === typeof onCommit &&
|
||||
onCommit(
|
||||
finishedWork.memoizedProps.id,
|
||||
current,
|
||||
effectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommitImpl(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
var _finishedWork$memoize2 = finishedWork.memoizedProps;
|
||||
@@ -10087,13 +10092,13 @@ __DEV__ &&
|
||||
finishedWork,
|
||||
current,
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -10102,7 +10107,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommitImpl,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
);
|
||||
} catch (error$21) {
|
||||
@@ -10451,7 +10456,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -11455,7 +11460,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
includeWorkInProgressEffects.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -11709,7 +11714,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
finishedWork.alternate,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.passiveEffectDuration
|
||||
))
|
||||
: recursivelyTraversePassiveMountEffects(
|
||||
@@ -12565,7 +12570,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
else {
|
||||
if (
|
||||
@@ -12596,7 +12604,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
THROTTLED_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
),
|
||||
didTimeout
|
||||
);
|
||||
@@ -12612,7 +12623,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -12666,7 +12680,11 @@ __DEV__ &&
|
||||
lanes,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
lanes = finishedWork.subtreeFlags;
|
||||
(lanes & 8192 || 16785408 === (lanes & 16785408)) &&
|
||||
@@ -12678,7 +12696,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -12797,7 +12818,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -13462,7 +13486,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = currentUpdatePriority;
|
||||
@@ -13477,7 +13504,10 @@ __DEV__ &&
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -13556,9 +13586,10 @@ __DEV__ &&
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
@@ -13568,7 +13599,6 @@ __DEV__ &&
|
||||
(updatedLanes = executionContext),
|
||||
(executionContext |= CommitContext),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
(commitTime = now()),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
(root.current = finishedWork),
|
||||
enableDebugTracing &&
|
||||
@@ -13597,7 +13627,7 @@ __DEV__ &&
|
||||
(executionContext = updatedLanes),
|
||||
(currentUpdatePriority = spawnedLane),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: ((root.current = finishedWork), (commitTime = now()));
|
||||
: (root.current = finishedWork);
|
||||
(transitions = rootDoesHavePassiveEffects)
|
||||
? ((rootDoesHavePassiveEffects = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -13659,7 +13689,7 @@ __DEV__ &&
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -13675,7 +13705,7 @@ __DEV__ &&
|
||||
return (
|
||||
(currentUpdatePriority = renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
(currentUpdatePriority = previousPriority),
|
||||
@@ -14993,7 +15023,8 @@ __DEV__ &&
|
||||
currentEventTransitionLane = 0,
|
||||
fakeActCallbackNode$1 = {},
|
||||
now = Scheduler.unstable_now,
|
||||
commitTime = -0,
|
||||
renderStartTime = -0,
|
||||
commitStartTime = -0,
|
||||
profilerStartTime = -1.1,
|
||||
profilerEffectDuration = -0,
|
||||
currentUpdateIsNested = !1,
|
||||
@@ -16815,6 +16846,8 @@ __DEV__ &&
|
||||
nestedPassiveUpdateCount = 0,
|
||||
rootWithPassiveNestedUpdates = null,
|
||||
isRunningInsertionEffect = !1,
|
||||
IMMEDIATE_COMMIT = 0,
|
||||
THROTTLED_COMMIT = 2,
|
||||
didWarnStateUpdateForNotYetMountedComponent = null,
|
||||
didWarnAboutUpdateInRender = !1;
|
||||
var didWarnAboutUpdateInRenderForAnotherComponent = new Set();
|
||||
@@ -17039,11 +17072,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-d4688dfa-20240920",
|
||||
version: "19.0.0-www-classic-4e9540e3-20240923",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-classic-4e9540e3-20240923"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -17077,7 +17110,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-classic-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-classic-4e9540e3-20240923";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -9669,7 +9669,12 @@ __DEV__ &&
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
function commitProfiler(finishedWork, current, commitTime, effectDuration) {
|
||||
function commitProfiler(
|
||||
finishedWork,
|
||||
current,
|
||||
commitStartTime,
|
||||
effectDuration
|
||||
) {
|
||||
var _finishedWork$memoize = finishedWork.memoizedProps,
|
||||
id = _finishedWork$memoize.id,
|
||||
onCommit = _finishedWork$memoize.onCommit;
|
||||
@@ -9683,20 +9688,20 @@ __DEV__ &&
|
||||
finishedWork.actualDuration,
|
||||
finishedWork.treeBaseDuration,
|
||||
finishedWork.actualStartTime,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
"function" === typeof onCommit &&
|
||||
onCommit(
|
||||
finishedWork.memoizedProps.id,
|
||||
current,
|
||||
effectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommitImpl(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
var _finishedWork$memoize2 = finishedWork.memoizedProps;
|
||||
@@ -9709,13 +9714,13 @@ __DEV__ &&
|
||||
finishedWork,
|
||||
current,
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -9724,7 +9729,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommitImpl,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
);
|
||||
} catch (error$21) {
|
||||
@@ -10073,7 +10078,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -11070,7 +11075,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
includeWorkInProgressEffects.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -11324,7 +11329,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
finishedWork.alternate,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.passiveEffectDuration
|
||||
))
|
||||
: recursivelyTraversePassiveMountEffects(
|
||||
@@ -12113,7 +12118,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
else {
|
||||
if (
|
||||
@@ -12144,7 +12152,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
THROTTLED_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
),
|
||||
didTimeout
|
||||
);
|
||||
@@ -12160,7 +12171,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -12214,7 +12228,11 @@ __DEV__ &&
|
||||
lanes,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
lanes = finishedWork.subtreeFlags;
|
||||
(lanes & 8192 || 16785408 === (lanes & 16785408)) &&
|
||||
@@ -12226,7 +12244,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -12345,7 +12366,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -13006,7 +13030,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = currentUpdatePriority;
|
||||
@@ -13021,7 +13048,10 @@ __DEV__ &&
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -13100,9 +13130,10 @@ __DEV__ &&
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
@@ -13112,7 +13143,6 @@ __DEV__ &&
|
||||
(updatedLanes = executionContext),
|
||||
(executionContext |= CommitContext),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
(commitTime = now()),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
(root.current = finishedWork),
|
||||
enableDebugTracing &&
|
||||
@@ -13141,7 +13171,7 @@ __DEV__ &&
|
||||
(executionContext = updatedLanes),
|
||||
(currentUpdatePriority = spawnedLane),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: ((root.current = finishedWork), (commitTime = now()));
|
||||
: (root.current = finishedWork);
|
||||
(transitions = rootDoesHavePassiveEffects)
|
||||
? ((rootDoesHavePassiveEffects = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -13201,7 +13231,7 @@ __DEV__ &&
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -13217,7 +13247,7 @@ __DEV__ &&
|
||||
return (
|
||||
(currentUpdatePriority = renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
(currentUpdatePriority = previousPriority),
|
||||
@@ -14430,7 +14460,8 @@ __DEV__ &&
|
||||
currentEventTransitionLane = 0,
|
||||
fakeActCallbackNode$1 = {},
|
||||
now = Scheduler.unstable_now,
|
||||
commitTime = -0,
|
||||
renderStartTime = -0,
|
||||
commitStartTime = -0,
|
||||
profilerStartTime = -1.1,
|
||||
profilerEffectDuration = -0,
|
||||
currentUpdateIsNested = !1,
|
||||
@@ -16262,6 +16293,8 @@ __DEV__ &&
|
||||
nestedPassiveUpdateCount = 0,
|
||||
rootWithPassiveNestedUpdates = null,
|
||||
isRunningInsertionEffect = !1,
|
||||
IMMEDIATE_COMMIT = 0,
|
||||
THROTTLED_COMMIT = 2,
|
||||
didWarnStateUpdateForNotYetMountedComponent = null,
|
||||
didWarnAboutUpdateInRender = !1;
|
||||
var didWarnAboutUpdateInRenderForAnotherComponent = new Set();
|
||||
@@ -16485,11 +16518,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-d4688dfa-20240920",
|
||||
version: "19.0.0-www-modern-4e9540e3-20240923",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-modern-4e9540e3-20240923"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -16523,7 +16556,7 @@ __DEV__ &&
|
||||
exports.Shape = Shape;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-modern-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-modern-4e9540e3-20240923";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -7213,7 +7213,7 @@ function safelyDetachRef(current, nearestMountedAncestor) {
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -7225,7 +7225,7 @@ function commitProfilerPostCommit(
|
||||
id,
|
||||
null === current ? "mount" : "update",
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
@@ -9305,7 +9305,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
2,
|
||||
-0,
|
||||
0
|
||||
),
|
||||
exitStatus
|
||||
);
|
||||
@@ -9320,7 +9323,11 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
lanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -9372,7 +9379,11 @@ function commitRootWhenReady(
|
||||
lanes,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
lanes = finishedWork.subtreeFlags;
|
||||
(lanes & 8192 || 16785408 === (lanes & 16785408)) &&
|
||||
@@ -9384,7 +9395,10 @@ function commitRootWhenReady(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -9497,7 +9511,10 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -9992,7 +10009,10 @@ function commitRoot(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = currentUpdatePriority;
|
||||
@@ -10007,7 +10027,10 @@ function commitRoot(
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -10058,7 +10081,7 @@ function commitRootImpl(
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
@@ -10117,7 +10140,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -10129,7 +10152,7 @@ function flushPassiveEffects() {
|
||||
return (
|
||||
(currentUpdatePriority = 32 > renderPriority ? 32 : renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
(currentUpdatePriority = previousPriority),
|
||||
@@ -10871,27 +10894,27 @@ var slice = Array.prototype.slice,
|
||||
};
|
||||
return Text;
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1439 = {
|
||||
var internals$jscomp$inline_1441 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-d4688dfa-20240920",
|
||||
version: "19.0.0-www-classic-4e9540e3-20240923",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: function () {
|
||||
return null;
|
||||
},
|
||||
reconcilerVersion: "19.0.0-www-classic-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-classic-4e9540e3-20240923"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1440 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1442 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1440.isDisabled &&
|
||||
hook$jscomp$inline_1440.supportsFiber
|
||||
!hook$jscomp$inline_1442.isDisabled &&
|
||||
hook$jscomp$inline_1442.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1440.inject(
|
||||
internals$jscomp$inline_1439
|
||||
(rendererID = hook$jscomp$inline_1442.inject(
|
||||
internals$jscomp$inline_1441
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1440);
|
||||
(injectedHook = hook$jscomp$inline_1442);
|
||||
} catch (err) {}
|
||||
}
|
||||
var Path = Mode$1.Path;
|
||||
@@ -10905,4 +10928,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-classic-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-classic-4e9540e3-20240923";
|
||||
|
||||
@@ -6822,7 +6822,7 @@ function safelyDetachRef(current, nearestMountedAncestor) {
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -6834,7 +6834,7 @@ function commitProfilerPostCommit(
|
||||
id,
|
||||
null === current ? "mount" : "update",
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
@@ -8871,7 +8871,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
2,
|
||||
-0,
|
||||
0
|
||||
),
|
||||
exitStatus
|
||||
);
|
||||
@@ -8886,7 +8889,11 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
lanes,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8938,7 +8945,11 @@ function commitRootWhenReady(
|
||||
lanes,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
lanes = finishedWork.subtreeFlags;
|
||||
(lanes & 8192 || 16785408 === (lanes & 16785408)) &&
|
||||
@@ -8950,7 +8961,10 @@ function commitRootWhenReady(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -9063,7 +9077,10 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -9554,7 +9571,10 @@ function commitRoot(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = currentUpdatePriority;
|
||||
@@ -9569,7 +9589,10 @@ function commitRoot(
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -9620,7 +9643,7 @@ function commitRootImpl(
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
@@ -9677,7 +9700,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -9689,7 +9712,7 @@ function flushPassiveEffects() {
|
||||
return (
|
||||
(currentUpdatePriority = 32 > renderPriority ? 32 : renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
(currentUpdatePriority = previousPriority),
|
||||
@@ -10385,27 +10408,27 @@ var slice = Array.prototype.slice,
|
||||
};
|
||||
return Text;
|
||||
})(React.Component);
|
||||
var internals$jscomp$inline_1431 = {
|
||||
var internals$jscomp$inline_1433 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-d4688dfa-20240920",
|
||||
version: "19.0.0-www-modern-4e9540e3-20240923",
|
||||
rendererPackageName: "react-art",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: function () {
|
||||
return null;
|
||||
},
|
||||
reconcilerVersion: "19.0.0-www-modern-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-modern-4e9540e3-20240923"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_1432 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_1434 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_1432.isDisabled &&
|
||||
hook$jscomp$inline_1432.supportsFiber
|
||||
!hook$jscomp$inline_1434.isDisabled &&
|
||||
hook$jscomp$inline_1434.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_1432.inject(
|
||||
internals$jscomp$inline_1431
|
||||
(rendererID = hook$jscomp$inline_1434.inject(
|
||||
internals$jscomp$inline_1433
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_1432);
|
||||
(injectedHook = hook$jscomp$inline_1434);
|
||||
} catch (err) {}
|
||||
}
|
||||
var Path = Mode$1.Path;
|
||||
@@ -10419,4 +10442,4 @@ exports.RadialGradient = RadialGradient;
|
||||
exports.Shape = TYPES.SHAPE;
|
||||
exports.Surface = Surface;
|
||||
exports.Text = Text;
|
||||
exports.version = "19.0.0-www-modern-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-modern-4e9540e3-20240923";
|
||||
|
||||
@@ -9196,32 +9196,32 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2417;
|
||||
var JSCompiler_object_inline_stack_2418 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2418;
|
||||
var JSCompiler_object_inline_stack_2419 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2419 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2420 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2417 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2417 =
|
||||
(JSCompiler_object_inline_digest_2418 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2418 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2417 &&
|
||||
((JSCompiler_object_inline_componentStack_2419 = !0),
|
||||
JSCompiler_object_inline_digest_2418 &&
|
||||
((JSCompiler_object_inline_componentStack_2420 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2417 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2418 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2419
|
||||
JSCompiler_object_inline_componentStack_2420
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2416 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2417 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2416)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2417)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2416;
|
||||
var instance = JSCompiler_object_inline_message_2417;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
instance.nodeType !== COMMENT_NODE;
|
||||
@@ -9262,19 +9262,19 @@ __DEV__ &&
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2416
|
||||
JSCompiler_object_inline_message_2417
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2416 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2417 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2416 &&
|
||||
((JSCompiler_object_inline_message_2416 =
|
||||
JSCompiler_object_inline_message_2416.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2416)
|
||||
null !== JSCompiler_object_inline_message_2417 &&
|
||||
((JSCompiler_object_inline_message_2417 =
|
||||
JSCompiler_object_inline_message_2417.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2417)
|
||||
)
|
||||
return (
|
||||
JSCompiler_object_inline_message_2416.data ===
|
||||
JSCompiler_object_inline_message_2417.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA
|
||||
? (workInProgress.lanes = 16)
|
||||
: (workInProgress.lanes = 536870912),
|
||||
@@ -9282,27 +9282,27 @@ __DEV__ &&
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2416 =
|
||||
JSCompiler_object_inline_stack_2418.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2418.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2419)
|
||||
JSCompiler_object_inline_message_2417 =
|
||||
JSCompiler_object_inline_stack_2419.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2419.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2420)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2418 =
|
||||
(JSCompiler_object_inline_stack_2419 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2416,
|
||||
JSCompiler_object_inline_message_2417,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2419 =
|
||||
(JSCompiler_object_inline_componentStack_2420 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2419.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2420.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2419.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2420.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2417,
|
||||
JSCompiler_object_inline_digest_2418,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
@@ -9315,9 +9315,9 @@ __DEV__ &&
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(current =
|
||||
JSCompiler_object_inline_componentStack_2419.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2420.updateQueue),
|
||||
null === current
|
||||
? (JSCompiler_object_inline_componentStack_2419.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2420.updateQueue =
|
||||
{
|
||||
transitions: workInProgress,
|
||||
markerInstances: renderLanes,
|
||||
@@ -9325,46 +9325,46 @@ __DEV__ &&
|
||||
})
|
||||
: ((current.transitions = workInProgress),
|
||||
(current.markerInstances = renderLanes)))),
|
||||
JSCompiler_object_inline_stack_2418
|
||||
JSCompiler_object_inline_stack_2419
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2418.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2419.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2418 =
|
||||
(JSCompiler_object_inline_stack_2419 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2416,
|
||||
JSCompiler_object_inline_message_2417,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2419 =
|
||||
(JSCompiler_object_inline_componentStack_2420 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2419.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2420.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2419.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2420.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2417,
|
||||
JSCompiler_object_inline_digest_2418,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2418
|
||||
JSCompiler_object_inline_stack_2419
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2416
|
||||
JSCompiler_object_inline_message_2417
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2416 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2416)
|
||||
((JSCompiler_object_inline_message_2417 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2417)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -9381,32 +9381,32 @@ __DEV__ &&
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2419 =
|
||||
JSCompiler_object_inline_stack_2418.fallback),
|
||||
(JSCompiler_object_inline_message_2416 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2418 = createFiberFromOffscreen(
|
||||
(JSCompiler_object_inline_componentStack_2420 =
|
||||
JSCompiler_object_inline_stack_2419.fallback),
|
||||
(JSCompiler_object_inline_message_2417 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2419 = createFiberFromOffscreen(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2418.children
|
||||
children: JSCompiler_object_inline_stack_2419.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2416,
|
||||
JSCompiler_object_inline_message_2417,
|
||||
0,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2419 =
|
||||
(JSCompiler_object_inline_componentStack_2420 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2419,
|
||||
JSCompiler_object_inline_message_2416,
|
||||
JSCompiler_object_inline_componentStack_2420,
|
||||
JSCompiler_object_inline_message_2417,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2419.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2418.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2419.return =
|
||||
(JSCompiler_object_inline_componentStack_2420.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2419.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2420.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2418.sibling =
|
||||
JSCompiler_object_inline_componentStack_2419),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2418),
|
||||
(JSCompiler_object_inline_stack_2419.sibling =
|
||||
JSCompiler_object_inline_componentStack_2420),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2419),
|
||||
(disableLegacyMode ||
|
||||
(workInProgress.mode & ConcurrentMode) !== NoMode) &&
|
||||
reconcileChildFibers(
|
||||
@@ -9415,63 +9415,63 @@ __DEV__ &&
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2418 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2418.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2419 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2419.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2418.childLanes =
|
||||
(JSCompiler_object_inline_stack_2419.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2417,
|
||||
JSCompiler_object_inline_digest_2418,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress =
|
||||
JSCompiler_object_inline_componentStack_2419));
|
||||
JSCompiler_object_inline_componentStack_2420));
|
||||
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_2416.data ===
|
||||
JSCompiler_object_inline_message_2417.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2417 =
|
||||
JSCompiler_object_inline_message_2416.nextSibling &&
|
||||
JSCompiler_object_inline_message_2416.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2417) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2417.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2417.msg;
|
||||
instance = JSCompiler_object_inline_digest_2417.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2417.cstck;
|
||||
JSCompiler_object_inline_digest_2418 =
|
||||
JSCompiler_object_inline_message_2417.nextSibling &&
|
||||
JSCompiler_object_inline_message_2417.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2418) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2418.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2418.msg;
|
||||
instance = JSCompiler_object_inline_digest_2418.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2418.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2416 = message;
|
||||
JSCompiler_object_inline_digest_2417 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2418 = instance;
|
||||
JSCompiler_object_inline_componentStack_2419 = componentStack;
|
||||
JSCompiler_object_inline_message_2416 =
|
||||
JSCompiler_object_inline_message_2416
|
||||
? Error(JSCompiler_object_inline_message_2416)
|
||||
JSCompiler_object_inline_message_2417 = message;
|
||||
JSCompiler_object_inline_digest_2418 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2419 = instance;
|
||||
JSCompiler_object_inline_componentStack_2420 = componentStack;
|
||||
JSCompiler_object_inline_message_2417 =
|
||||
JSCompiler_object_inline_message_2417
|
||||
? Error(JSCompiler_object_inline_message_2417)
|
||||
: 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_2416.stack =
|
||||
JSCompiler_object_inline_stack_2418 || "";
|
||||
JSCompiler_object_inline_message_2416.digest =
|
||||
JSCompiler_object_inline_digest_2417;
|
||||
JSCompiler_object_inline_digest_2417 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2419
|
||||
JSCompiler_object_inline_message_2417.stack =
|
||||
JSCompiler_object_inline_stack_2419 || "";
|
||||
JSCompiler_object_inline_message_2417.digest =
|
||||
JSCompiler_object_inline_digest_2418;
|
||||
JSCompiler_object_inline_digest_2418 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2420
|
||||
? null
|
||||
: JSCompiler_object_inline_componentStack_2419;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2417 &&
|
||||
: JSCompiler_object_inline_componentStack_2420;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2418 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_message_2416,
|
||||
JSCompiler_object_inline_digest_2417
|
||||
JSCompiler_object_inline_message_2417,
|
||||
JSCompiler_object_inline_digest_2418
|
||||
);
|
||||
queueHydrationError({
|
||||
value: JSCompiler_object_inline_message_2416,
|
||||
value: JSCompiler_object_inline_message_2417,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2417
|
||||
stack: JSCompiler_object_inline_digest_2418
|
||||
});
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9486,25 +9486,25 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2417 =
|
||||
(JSCompiler_object_inline_digest_2418 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2417)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2418)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2417 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2417) {
|
||||
JSCompiler_object_inline_stack_2418 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2418 & 42))
|
||||
JSCompiler_object_inline_stack_2418 = 1;
|
||||
JSCompiler_object_inline_digest_2418 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2418) {
|
||||
JSCompiler_object_inline_stack_2419 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2419 & 42))
|
||||
JSCompiler_object_inline_stack_2419 = 1;
|
||||
else
|
||||
switch (JSCompiler_object_inline_stack_2418) {
|
||||
switch (JSCompiler_object_inline_stack_2419) {
|
||||
case 2:
|
||||
JSCompiler_object_inline_stack_2418 = 1;
|
||||
JSCompiler_object_inline_stack_2419 = 1;
|
||||
break;
|
||||
case 8:
|
||||
JSCompiler_object_inline_stack_2418 = 4;
|
||||
JSCompiler_object_inline_stack_2419 = 4;
|
||||
break;
|
||||
case 32:
|
||||
JSCompiler_object_inline_stack_2418 = 16;
|
||||
JSCompiler_object_inline_stack_2419 = 16;
|
||||
break;
|
||||
case 128:
|
||||
case 256:
|
||||
@@ -9525,40 +9525,40 @@ __DEV__ &&
|
||||
case 8388608:
|
||||
case 16777216:
|
||||
case 33554432:
|
||||
JSCompiler_object_inline_stack_2418 = 64;
|
||||
JSCompiler_object_inline_stack_2419 = 64;
|
||||
break;
|
||||
case 268435456:
|
||||
JSCompiler_object_inline_stack_2418 = 134217728;
|
||||
JSCompiler_object_inline_stack_2419 = 134217728;
|
||||
break;
|
||||
default:
|
||||
JSCompiler_object_inline_stack_2418 = 0;
|
||||
JSCompiler_object_inline_stack_2419 = 0;
|
||||
}
|
||||
JSCompiler_object_inline_stack_2418 =
|
||||
JSCompiler_object_inline_stack_2419 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2418 &
|
||||
(JSCompiler_object_inline_digest_2417.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2419 &
|
||||
(JSCompiler_object_inline_digest_2418.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2418;
|
||||
: JSCompiler_object_inline_stack_2419;
|
||||
if (
|
||||
0 !== JSCompiler_object_inline_stack_2418 &&
|
||||
JSCompiler_object_inline_stack_2418 !== prevState.retryLane
|
||||
0 !== JSCompiler_object_inline_stack_2419 &&
|
||||
JSCompiler_object_inline_stack_2419 !== prevState.retryLane
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2418),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2419),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2418
|
||||
JSCompiler_object_inline_stack_2419
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2417,
|
||||
JSCompiler_object_inline_digest_2418,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2418
|
||||
JSCompiler_object_inline_stack_2419
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
}
|
||||
JSCompiler_object_inline_message_2416.data ===
|
||||
JSCompiler_object_inline_message_2417.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9566,7 +9566,7 @@ __DEV__ &&
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2416.data ===
|
||||
JSCompiler_object_inline_message_2417.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 128),
|
||||
(workInProgress.child = current.child),
|
||||
@@ -9574,12 +9574,12 @@ __DEV__ &&
|
||||
null,
|
||||
current
|
||||
)),
|
||||
(JSCompiler_object_inline_message_2416._reactRetry =
|
||||
(JSCompiler_object_inline_message_2417._reactRetry =
|
||||
workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2416.nextSibling
|
||||
JSCompiler_object_inline_message_2417.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9597,73 +9597,73 @@ __DEV__ &&
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2418.children
|
||||
JSCompiler_object_inline_stack_2419.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2419)
|
||||
if (JSCompiler_object_inline_componentStack_2420)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2419 =
|
||||
JSCompiler_object_inline_stack_2418.fallback),
|
||||
(JSCompiler_object_inline_message_2416 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2420 =
|
||||
JSCompiler_object_inline_stack_2419.fallback),
|
||||
(JSCompiler_object_inline_message_2417 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(componentStack = {
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2418.children
|
||||
children: JSCompiler_object_inline_stack_2419.children
|
||||
}),
|
||||
disableLegacyMode ||
|
||||
(JSCompiler_object_inline_message_2416 & ConcurrentMode) !== NoMode ||
|
||||
(JSCompiler_object_inline_message_2417 & ConcurrentMode) !== NoMode ||
|
||||
workInProgress.child === JSCompiler_temp
|
||||
? ((JSCompiler_object_inline_stack_2418 = createWorkInProgress(
|
||||
? ((JSCompiler_object_inline_stack_2419 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
componentStack
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2418.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2419.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 31457280))
|
||||
: ((JSCompiler_object_inline_stack_2418 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2418.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2418.pendingProps =
|
||||
: ((JSCompiler_object_inline_stack_2419 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2419.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2419.pendingProps =
|
||||
componentStack),
|
||||
workInProgress.mode & ProfileMode &&
|
||||
((JSCompiler_object_inline_stack_2418.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2418.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2418.selfBaseDuration =
|
||||
((JSCompiler_object_inline_stack_2419.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2419.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2419.selfBaseDuration =
|
||||
JSCompiler_temp.selfBaseDuration),
|
||||
(JSCompiler_object_inline_stack_2418.treeBaseDuration =
|
||||
(JSCompiler_object_inline_stack_2419.treeBaseDuration =
|
||||
JSCompiler_temp.treeBaseDuration)),
|
||||
(workInProgress.deletions = null)),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2419 =
|
||||
? (JSCompiler_object_inline_componentStack_2420 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2419
|
||||
JSCompiler_object_inline_componentStack_2420
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2419 =
|
||||
: ((JSCompiler_object_inline_componentStack_2420 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2419,
|
||||
JSCompiler_object_inline_message_2416,
|
||||
JSCompiler_object_inline_componentStack_2420,
|
||||
JSCompiler_object_inline_message_2417,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2419.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2419.return =
|
||||
(JSCompiler_object_inline_componentStack_2420.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2420.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2418.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2418.sibling =
|
||||
JSCompiler_object_inline_componentStack_2419),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2418),
|
||||
(JSCompiler_object_inline_stack_2418 =
|
||||
JSCompiler_object_inline_componentStack_2419),
|
||||
(JSCompiler_object_inline_componentStack_2419 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2416 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2416
|
||||
? (JSCompiler_object_inline_message_2416 =
|
||||
(JSCompiler_object_inline_stack_2419.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2419.sibling =
|
||||
JSCompiler_object_inline_componentStack_2420),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2419),
|
||||
(JSCompiler_object_inline_stack_2419 =
|
||||
JSCompiler_object_inline_componentStack_2420),
|
||||
(JSCompiler_object_inline_componentStack_2420 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2417 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2417
|
||||
? (JSCompiler_object_inline_message_2417 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2416.cachePool),
|
||||
JSCompiler_object_inline_message_2417.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9671,34 +9671,34 @@ __DEV__ &&
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2416 = {
|
||||
(JSCompiler_object_inline_message_2417 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2416.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2417.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2419.memoizedState =
|
||||
JSCompiler_object_inline_message_2416),
|
||||
(JSCompiler_object_inline_componentStack_2420.memoizedState =
|
||||
JSCompiler_object_inline_message_2417),
|
||||
enableTransitionTracing &&
|
||||
((JSCompiler_object_inline_message_2416 = enableTransitionTracing
|
||||
((JSCompiler_object_inline_message_2417 = enableTransitionTracing
|
||||
? transitionStack.current
|
||||
: null),
|
||||
null !== JSCompiler_object_inline_message_2416 &&
|
||||
null !== JSCompiler_object_inline_message_2417 &&
|
||||
((JSCompiler_temp = enableTransitionTracing
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(instance =
|
||||
JSCompiler_object_inline_componentStack_2419.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2420.updateQueue),
|
||||
(componentStack = current.updateQueue),
|
||||
null === instance
|
||||
? (JSCompiler_object_inline_componentStack_2419.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2416,
|
||||
? (JSCompiler_object_inline_componentStack_2420.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2417,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue: null
|
||||
})
|
||||
: instance === componentStack
|
||||
? (JSCompiler_object_inline_componentStack_2419.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2420.updateQueue =
|
||||
{
|
||||
transitions: JSCompiler_object_inline_message_2416,
|
||||
transitions: JSCompiler_object_inline_message_2417,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue:
|
||||
null !== componentStack
|
||||
@@ -9706,41 +9706,41 @@ __DEV__ &&
|
||||
: null
|
||||
})
|
||||
: ((instance.transitions =
|
||||
JSCompiler_object_inline_message_2416),
|
||||
JSCompiler_object_inline_message_2417),
|
||||
(instance.markerInstances = JSCompiler_temp)))),
|
||||
(JSCompiler_object_inline_componentStack_2419.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2420.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2417,
|
||||
JSCompiler_object_inline_digest_2418,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2418
|
||||
JSCompiler_object_inline_stack_2419
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
JSCompiler_object_inline_digest_2417 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2417.sibling;
|
||||
JSCompiler_object_inline_digest_2417 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2417,
|
||||
JSCompiler_object_inline_digest_2418 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2418.sibling;
|
||||
JSCompiler_object_inline_digest_2418 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2418,
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2418.children
|
||||
children: JSCompiler_object_inline_stack_2419.children
|
||||
}
|
||||
);
|
||||
disableLegacyMode ||
|
||||
(workInProgress.mode & ConcurrentMode) !== NoMode ||
|
||||
(JSCompiler_object_inline_digest_2417.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2417.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2417.sibling = null;
|
||||
(JSCompiler_object_inline_digest_2418.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2418.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2418.sibling = null;
|
||||
null !== current &&
|
||||
((renderLanes = workInProgress.deletions),
|
||||
null === renderLanes
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: renderLanes.push(current));
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2417;
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2418;
|
||||
workInProgress.memoizedState = null;
|
||||
return JSCompiler_object_inline_digest_2417;
|
||||
return JSCompiler_object_inline_digest_2418;
|
||||
}
|
||||
function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
|
||||
primaryChildren = createFiberFromOffscreen(
|
||||
@@ -12728,7 +12728,12 @@ __DEV__ &&
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
function commitProfiler(finishedWork, current, commitTime, effectDuration) {
|
||||
function commitProfiler(
|
||||
finishedWork,
|
||||
current,
|
||||
commitStartTime,
|
||||
effectDuration
|
||||
) {
|
||||
var _finishedWork$memoize = finishedWork.memoizedProps,
|
||||
id = _finishedWork$memoize.id,
|
||||
onCommit = _finishedWork$memoize.onCommit;
|
||||
@@ -12742,20 +12747,20 @@ __DEV__ &&
|
||||
finishedWork.actualDuration,
|
||||
finishedWork.treeBaseDuration,
|
||||
finishedWork.actualStartTime,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
"function" === typeof onCommit &&
|
||||
onCommit(
|
||||
finishedWork.memoizedProps.id,
|
||||
current,
|
||||
effectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommitImpl(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
var _finishedWork$memoize2 = finishedWork.memoizedProps;
|
||||
@@ -12768,13 +12773,13 @@ __DEV__ &&
|
||||
finishedWork,
|
||||
current,
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -12783,7 +12788,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommitImpl,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
);
|
||||
} catch (error$21) {
|
||||
@@ -13261,7 +13266,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -14576,7 +14581,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
includeWorkInProgressEffects.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -14833,7 +14838,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
finishedWork.alternate,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.passiveEffectDuration
|
||||
))
|
||||
: recursivelyTraversePassiveMountEffects(
|
||||
@@ -15720,7 +15725,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
else {
|
||||
if (
|
||||
@@ -15751,7 +15759,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
THROTTLED_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
),
|
||||
didTimeout
|
||||
);
|
||||
@@ -15767,7 +15778,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -15825,7 +15839,10 @@ __DEV__ &&
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var subtreeFlags = finishedWork.subtreeFlags;
|
||||
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
|
||||
@@ -15844,7 +15861,8 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
SUSPENDED_COMMIT
|
||||
)
|
||||
);
|
||||
markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);
|
||||
@@ -15857,7 +15875,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -15976,7 +15997,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -16654,7 +16678,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = Internals.p;
|
||||
@@ -16669,7 +16696,10 @@ __DEV__ &&
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -16748,9 +16778,10 @@ __DEV__ &&
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
@@ -16763,7 +16794,6 @@ __DEV__ &&
|
||||
root,
|
||||
finishedWork
|
||||
)),
|
||||
(commitTime = now()),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
suspendedRetryLanes &&
|
||||
((_enabled = !0),
|
||||
@@ -16799,7 +16829,7 @@ __DEV__ &&
|
||||
(executionContext = updatedLanes),
|
||||
(Internals.p = spawnedLane),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: ((root.current = finishedWork), (commitTime = now()));
|
||||
: (root.current = finishedWork);
|
||||
(transitions = rootDoesHavePassiveEffects)
|
||||
? ((rootDoesHavePassiveEffects = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -16880,7 +16910,7 @@ __DEV__ &&
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -16896,7 +16926,7 @@ __DEV__ &&
|
||||
return (
|
||||
(Internals.p = renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
(Internals.p = previousPriority),
|
||||
@@ -25075,7 +25105,8 @@ __DEV__ &&
|
||||
currentEventTransitionLane = 0,
|
||||
fakeActCallbackNode$1 = {},
|
||||
now = Scheduler.unstable_now,
|
||||
commitTime = -0,
|
||||
renderStartTime = -0,
|
||||
commitStartTime = -0,
|
||||
profilerStartTime = -1.1,
|
||||
profilerEffectDuration = -0,
|
||||
currentUpdateIsNested = !1,
|
||||
@@ -26963,6 +26994,9 @@ __DEV__ &&
|
||||
nestedPassiveUpdateCount = 0,
|
||||
rootWithPassiveNestedUpdates = null,
|
||||
isRunningInsertionEffect = !1,
|
||||
IMMEDIATE_COMMIT = 0,
|
||||
SUSPENDED_COMMIT = 1,
|
||||
THROTTLED_COMMIT = 2,
|
||||
didWarnStateUpdateForNotYetMountedComponent = null,
|
||||
didWarnAboutUpdateInRender = !1;
|
||||
var didWarnAboutUpdateInRenderForAnotherComponent = new Set();
|
||||
@@ -27779,11 +27813,11 @@ __DEV__ &&
|
||||
: flushSyncErrorInBuildsThatSupportLegacyMode;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-classic-d4688dfa-20240920" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-classic-4e9540e3-20240923" !== 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-d4688dfa-20240920\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-classic-4e9540e3-20240923\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27827,11 +27861,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-d4688dfa-20240920",
|
||||
version: "19.0.0-www-classic-4e9540e3-20240923",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-classic-4e9540e3-20240923"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28484,7 +28518,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-classic-4e9540e3-20240923";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -8881,32 +8881,32 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2438;
|
||||
var JSCompiler_object_inline_stack_2439 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2439;
|
||||
var JSCompiler_object_inline_stack_2440 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2440 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2441 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2438 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2438 =
|
||||
(JSCompiler_object_inline_digest_2439 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2439 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2438 &&
|
||||
((JSCompiler_object_inline_componentStack_2440 = !0),
|
||||
JSCompiler_object_inline_digest_2439 &&
|
||||
((JSCompiler_object_inline_componentStack_2441 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2438 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2439 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2440
|
||||
JSCompiler_object_inline_componentStack_2441
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2437 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2438 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2437)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2438)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2437;
|
||||
var instance = JSCompiler_object_inline_message_2438;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
instance.nodeType !== COMMENT_NODE;
|
||||
@@ -8947,19 +8947,19 @@ __DEV__ &&
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2437
|
||||
JSCompiler_object_inline_message_2438
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2437 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2438 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2437 &&
|
||||
((JSCompiler_object_inline_message_2437 =
|
||||
JSCompiler_object_inline_message_2437.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2437)
|
||||
null !== JSCompiler_object_inline_message_2438 &&
|
||||
((JSCompiler_object_inline_message_2438 =
|
||||
JSCompiler_object_inline_message_2438.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2438)
|
||||
)
|
||||
return (
|
||||
JSCompiler_object_inline_message_2437.data ===
|
||||
JSCompiler_object_inline_message_2438.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA
|
||||
? (workInProgress.lanes = 16)
|
||||
: (workInProgress.lanes = 536870912),
|
||||
@@ -8967,27 +8967,27 @@ __DEV__ &&
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2437 =
|
||||
JSCompiler_object_inline_stack_2439.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2439.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2440)
|
||||
JSCompiler_object_inline_message_2438 =
|
||||
JSCompiler_object_inline_stack_2440.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2440.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2441)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2439 =
|
||||
(JSCompiler_object_inline_stack_2440 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2437,
|
||||
JSCompiler_object_inline_message_2438,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2440 =
|
||||
(JSCompiler_object_inline_componentStack_2441 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2440.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2441.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2440.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2441.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2438,
|
||||
JSCompiler_object_inline_digest_2439,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
@@ -9000,9 +9000,9 @@ __DEV__ &&
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(renderLanes =
|
||||
JSCompiler_object_inline_componentStack_2440.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2441.updateQueue),
|
||||
null === renderLanes
|
||||
? (JSCompiler_object_inline_componentStack_2440.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2441.updateQueue =
|
||||
{
|
||||
transitions: workInProgress,
|
||||
markerInstances: current,
|
||||
@@ -9010,46 +9010,46 @@ __DEV__ &&
|
||||
})
|
||||
: ((renderLanes.transitions = workInProgress),
|
||||
(renderLanes.markerInstances = current)))),
|
||||
JSCompiler_object_inline_stack_2439
|
||||
JSCompiler_object_inline_stack_2440
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2439.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2440.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2439 =
|
||||
(JSCompiler_object_inline_stack_2440 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2437,
|
||||
JSCompiler_object_inline_message_2438,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2440 =
|
||||
(JSCompiler_object_inline_componentStack_2441 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2440.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2441.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2440.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2441.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2438,
|
||||
JSCompiler_object_inline_digest_2439,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2439
|
||||
JSCompiler_object_inline_stack_2440
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2437
|
||||
JSCompiler_object_inline_message_2438
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2437 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2437)
|
||||
((JSCompiler_object_inline_message_2438 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2438)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -9066,94 +9066,94 @@ __DEV__ &&
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2440 =
|
||||
JSCompiler_object_inline_stack_2439.fallback),
|
||||
(JSCompiler_object_inline_message_2437 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2439 =
|
||||
(JSCompiler_object_inline_componentStack_2441 =
|
||||
JSCompiler_object_inline_stack_2440.fallback),
|
||||
(JSCompiler_object_inline_message_2438 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2440 =
|
||||
mountWorkInProgressOffscreenFiber(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2439.children
|
||||
children: JSCompiler_object_inline_stack_2440.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2437
|
||||
JSCompiler_object_inline_message_2438
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2440 =
|
||||
(JSCompiler_object_inline_componentStack_2441 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2440,
|
||||
JSCompiler_object_inline_message_2437,
|
||||
JSCompiler_object_inline_componentStack_2441,
|
||||
JSCompiler_object_inline_message_2438,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2440.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2439.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2440.return =
|
||||
(JSCompiler_object_inline_componentStack_2441.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2440.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2441.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2439.sibling =
|
||||
JSCompiler_object_inline_componentStack_2440),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2439),
|
||||
(JSCompiler_object_inline_stack_2440.sibling =
|
||||
JSCompiler_object_inline_componentStack_2441),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2440),
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
current.child,
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2439 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2439.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2440 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2440.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2439.childLanes =
|
||||
(JSCompiler_object_inline_stack_2440.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2438,
|
||||
JSCompiler_object_inline_digest_2439,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress =
|
||||
JSCompiler_object_inline_componentStack_2440));
|
||||
JSCompiler_object_inline_componentStack_2441));
|
||||
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_2437.data ===
|
||||
JSCompiler_object_inline_message_2438.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2438 =
|
||||
JSCompiler_object_inline_message_2437.nextSibling &&
|
||||
JSCompiler_object_inline_message_2437.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2438) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2438.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2438.msg;
|
||||
instance = JSCompiler_object_inline_digest_2438.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2438.cstck;
|
||||
JSCompiler_object_inline_digest_2439 =
|
||||
JSCompiler_object_inline_message_2438.nextSibling &&
|
||||
JSCompiler_object_inline_message_2438.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2439) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2439.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2439.msg;
|
||||
instance = JSCompiler_object_inline_digest_2439.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2439.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2437 = message;
|
||||
JSCompiler_object_inline_digest_2438 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2439 = instance;
|
||||
JSCompiler_object_inline_componentStack_2440 = componentStack;
|
||||
JSCompiler_object_inline_message_2437 =
|
||||
JSCompiler_object_inline_message_2437
|
||||
? Error(JSCompiler_object_inline_message_2437)
|
||||
JSCompiler_object_inline_message_2438 = message;
|
||||
JSCompiler_object_inline_digest_2439 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2440 = instance;
|
||||
JSCompiler_object_inline_componentStack_2441 = componentStack;
|
||||
JSCompiler_object_inline_message_2438 =
|
||||
JSCompiler_object_inline_message_2438
|
||||
? Error(JSCompiler_object_inline_message_2438)
|
||||
: 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_2437.stack =
|
||||
JSCompiler_object_inline_stack_2439 || "";
|
||||
JSCompiler_object_inline_message_2437.digest =
|
||||
JSCompiler_object_inline_digest_2438;
|
||||
JSCompiler_object_inline_digest_2438 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2440
|
||||
JSCompiler_object_inline_message_2438.stack =
|
||||
JSCompiler_object_inline_stack_2440 || "";
|
||||
JSCompiler_object_inline_message_2438.digest =
|
||||
JSCompiler_object_inline_digest_2439;
|
||||
JSCompiler_object_inline_digest_2439 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2441
|
||||
? null
|
||||
: JSCompiler_object_inline_componentStack_2440;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2438 &&
|
||||
: JSCompiler_object_inline_componentStack_2441;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2439 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_message_2437,
|
||||
JSCompiler_object_inline_digest_2438
|
||||
JSCompiler_object_inline_message_2438,
|
||||
JSCompiler_object_inline_digest_2439
|
||||
);
|
||||
queueHydrationError({
|
||||
value: JSCompiler_object_inline_message_2437,
|
||||
value: JSCompiler_object_inline_message_2438,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2438
|
||||
stack: JSCompiler_object_inline_digest_2439
|
||||
});
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9168,25 +9168,25 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2438 =
|
||||
(JSCompiler_object_inline_digest_2439 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2438)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2439)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2438 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2438) {
|
||||
JSCompiler_object_inline_stack_2439 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2439 & 42))
|
||||
JSCompiler_object_inline_stack_2439 = 1;
|
||||
JSCompiler_object_inline_digest_2439 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2439) {
|
||||
JSCompiler_object_inline_stack_2440 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2440 & 42))
|
||||
JSCompiler_object_inline_stack_2440 = 1;
|
||||
else
|
||||
switch (JSCompiler_object_inline_stack_2439) {
|
||||
switch (JSCompiler_object_inline_stack_2440) {
|
||||
case 2:
|
||||
JSCompiler_object_inline_stack_2439 = 1;
|
||||
JSCompiler_object_inline_stack_2440 = 1;
|
||||
break;
|
||||
case 8:
|
||||
JSCompiler_object_inline_stack_2439 = 4;
|
||||
JSCompiler_object_inline_stack_2440 = 4;
|
||||
break;
|
||||
case 32:
|
||||
JSCompiler_object_inline_stack_2439 = 16;
|
||||
JSCompiler_object_inline_stack_2440 = 16;
|
||||
break;
|
||||
case 128:
|
||||
case 256:
|
||||
@@ -9207,40 +9207,40 @@ __DEV__ &&
|
||||
case 8388608:
|
||||
case 16777216:
|
||||
case 33554432:
|
||||
JSCompiler_object_inline_stack_2439 = 64;
|
||||
JSCompiler_object_inline_stack_2440 = 64;
|
||||
break;
|
||||
case 268435456:
|
||||
JSCompiler_object_inline_stack_2439 = 134217728;
|
||||
JSCompiler_object_inline_stack_2440 = 134217728;
|
||||
break;
|
||||
default:
|
||||
JSCompiler_object_inline_stack_2439 = 0;
|
||||
JSCompiler_object_inline_stack_2440 = 0;
|
||||
}
|
||||
JSCompiler_object_inline_stack_2439 =
|
||||
JSCompiler_object_inline_stack_2440 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2439 &
|
||||
(JSCompiler_object_inline_digest_2438.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2440 &
|
||||
(JSCompiler_object_inline_digest_2439.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2439;
|
||||
: JSCompiler_object_inline_stack_2440;
|
||||
if (
|
||||
0 !== JSCompiler_object_inline_stack_2439 &&
|
||||
JSCompiler_object_inline_stack_2439 !== prevState.retryLane
|
||||
0 !== JSCompiler_object_inline_stack_2440 &&
|
||||
JSCompiler_object_inline_stack_2440 !== prevState.retryLane
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2439),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2440),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2439
|
||||
JSCompiler_object_inline_stack_2440
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2438,
|
||||
JSCompiler_object_inline_digest_2439,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2439
|
||||
JSCompiler_object_inline_stack_2440
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
}
|
||||
JSCompiler_object_inline_message_2437.data ===
|
||||
JSCompiler_object_inline_message_2438.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9248,7 +9248,7 @@ __DEV__ &&
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2437.data ===
|
||||
JSCompiler_object_inline_message_2438.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 128),
|
||||
(workInProgress.child = current.child),
|
||||
@@ -9256,12 +9256,12 @@ __DEV__ &&
|
||||
null,
|
||||
current
|
||||
)),
|
||||
(JSCompiler_object_inline_message_2437._reactRetry =
|
||||
(JSCompiler_object_inline_message_2438._reactRetry =
|
||||
workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((current = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2437.nextSibling
|
||||
JSCompiler_object_inline_message_2438.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9279,57 +9279,57 @@ __DEV__ &&
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2439.children
|
||||
JSCompiler_object_inline_stack_2440.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2440)
|
||||
if (JSCompiler_object_inline_componentStack_2441)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2440 =
|
||||
JSCompiler_object_inline_stack_2439.fallback),
|
||||
(JSCompiler_object_inline_message_2437 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2441 =
|
||||
JSCompiler_object_inline_stack_2440.fallback),
|
||||
(JSCompiler_object_inline_message_2438 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(JSCompiler_object_inline_stack_2439 = createWorkInProgress(
|
||||
(JSCompiler_object_inline_stack_2440 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
{
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2439.children
|
||||
children: JSCompiler_object_inline_stack_2440.children
|
||||
}
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2439.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2440.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 31457280),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2440 =
|
||||
? (JSCompiler_object_inline_componentStack_2441 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2440
|
||||
JSCompiler_object_inline_componentStack_2441
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2440 =
|
||||
: ((JSCompiler_object_inline_componentStack_2441 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2440,
|
||||
JSCompiler_object_inline_message_2437,
|
||||
JSCompiler_object_inline_componentStack_2441,
|
||||
JSCompiler_object_inline_message_2438,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2440.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2440.return =
|
||||
(JSCompiler_object_inline_componentStack_2441.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2441.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2439.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2439.sibling =
|
||||
JSCompiler_object_inline_componentStack_2440),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2439),
|
||||
(JSCompiler_object_inline_stack_2439 =
|
||||
JSCompiler_object_inline_componentStack_2440),
|
||||
(JSCompiler_object_inline_componentStack_2440 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2437 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2437
|
||||
? (JSCompiler_object_inline_message_2437 =
|
||||
(JSCompiler_object_inline_stack_2440.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2440.sibling =
|
||||
JSCompiler_object_inline_componentStack_2441),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2440),
|
||||
(JSCompiler_object_inline_stack_2440 =
|
||||
JSCompiler_object_inline_componentStack_2441),
|
||||
(JSCompiler_object_inline_componentStack_2441 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2438 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2438
|
||||
? (JSCompiler_object_inline_message_2438 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2437.cachePool),
|
||||
JSCompiler_object_inline_message_2438.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9337,34 +9337,34 @@ __DEV__ &&
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2437 = {
|
||||
(JSCompiler_object_inline_message_2438 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2437.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2438.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2440.memoizedState =
|
||||
JSCompiler_object_inline_message_2437),
|
||||
(JSCompiler_object_inline_componentStack_2441.memoizedState =
|
||||
JSCompiler_object_inline_message_2438),
|
||||
enableTransitionTracing &&
|
||||
((JSCompiler_object_inline_message_2437 = enableTransitionTracing
|
||||
((JSCompiler_object_inline_message_2438 = enableTransitionTracing
|
||||
? transitionStack.current
|
||||
: null),
|
||||
null !== JSCompiler_object_inline_message_2437 &&
|
||||
null !== JSCompiler_object_inline_message_2438 &&
|
||||
((JSCompiler_temp = enableTransitionTracing
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(instance =
|
||||
JSCompiler_object_inline_componentStack_2440.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2441.updateQueue),
|
||||
(componentStack = current.updateQueue),
|
||||
null === instance
|
||||
? (JSCompiler_object_inline_componentStack_2440.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2437,
|
||||
? (JSCompiler_object_inline_componentStack_2441.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2438,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue: null
|
||||
})
|
||||
: instance === componentStack
|
||||
? (JSCompiler_object_inline_componentStack_2440.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2441.updateQueue =
|
||||
{
|
||||
transitions: JSCompiler_object_inline_message_2437,
|
||||
transitions: JSCompiler_object_inline_message_2438,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue:
|
||||
null !== componentStack
|
||||
@@ -9372,32 +9372,32 @@ __DEV__ &&
|
||||
: null
|
||||
})
|
||||
: ((instance.transitions =
|
||||
JSCompiler_object_inline_message_2437),
|
||||
JSCompiler_object_inline_message_2438),
|
||||
(instance.markerInstances = JSCompiler_temp)))),
|
||||
(JSCompiler_object_inline_componentStack_2440.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2441.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2438,
|
||||
JSCompiler_object_inline_digest_2439,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2439
|
||||
JSCompiler_object_inline_stack_2440
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
renderLanes = current.child;
|
||||
current = renderLanes.sibling;
|
||||
renderLanes = createWorkInProgress(renderLanes, {
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2439.children
|
||||
children: JSCompiler_object_inline_stack_2440.children
|
||||
});
|
||||
renderLanes.return = workInProgress;
|
||||
renderLanes.sibling = null;
|
||||
null !== current &&
|
||||
((JSCompiler_object_inline_digest_2438 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2438
|
||||
((JSCompiler_object_inline_digest_2439 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2439
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: JSCompiler_object_inline_digest_2438.push(current));
|
||||
: JSCompiler_object_inline_digest_2439.push(current));
|
||||
workInProgress.child = renderLanes;
|
||||
workInProgress.memoizedState = null;
|
||||
return renderLanes;
|
||||
@@ -12280,7 +12280,12 @@ __DEV__ &&
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
function commitProfiler(finishedWork, current, commitTime, effectDuration) {
|
||||
function commitProfiler(
|
||||
finishedWork,
|
||||
current,
|
||||
commitStartTime,
|
||||
effectDuration
|
||||
) {
|
||||
var _finishedWork$memoize = finishedWork.memoizedProps,
|
||||
id = _finishedWork$memoize.id,
|
||||
onCommit = _finishedWork$memoize.onCommit;
|
||||
@@ -12294,20 +12299,20 @@ __DEV__ &&
|
||||
finishedWork.actualDuration,
|
||||
finishedWork.treeBaseDuration,
|
||||
finishedWork.actualStartTime,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
"function" === typeof onCommit &&
|
||||
onCommit(
|
||||
finishedWork.memoizedProps.id,
|
||||
current,
|
||||
effectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommitImpl(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
var _finishedWork$memoize2 = finishedWork.memoizedProps;
|
||||
@@ -12320,13 +12325,13 @@ __DEV__ &&
|
||||
finishedWork,
|
||||
current,
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -12335,7 +12340,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommitImpl,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
);
|
||||
} catch (error$21) {
|
||||
@@ -12828,7 +12833,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -14132,7 +14137,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
includeWorkInProgressEffects.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -14389,7 +14394,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
finishedWork.alternate,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.passiveEffectDuration
|
||||
))
|
||||
: recursivelyTraversePassiveMountEffects(
|
||||
@@ -15202,7 +15207,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
else {
|
||||
if (
|
||||
@@ -15233,7 +15241,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
THROTTLED_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
),
|
||||
didTimeout
|
||||
);
|
||||
@@ -15249,7 +15260,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -15307,7 +15321,10 @@ __DEV__ &&
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var subtreeFlags = finishedWork.subtreeFlags;
|
||||
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
|
||||
@@ -15326,7 +15343,8 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
SUSPENDED_COMMIT
|
||||
)
|
||||
);
|
||||
markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);
|
||||
@@ -15339,7 +15357,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -15458,7 +15479,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -16118,7 +16142,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = Internals.p;
|
||||
@@ -16133,7 +16160,10 @@ __DEV__ &&
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -16212,9 +16242,10 @@ __DEV__ &&
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
@@ -16227,7 +16258,6 @@ __DEV__ &&
|
||||
root,
|
||||
finishedWork
|
||||
)),
|
||||
(commitTime = now()),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
suspendedRetryLanes &&
|
||||
((_enabled = !0),
|
||||
@@ -16263,7 +16293,7 @@ __DEV__ &&
|
||||
(executionContext = updatedLanes),
|
||||
(Internals.p = spawnedLane),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: ((root.current = finishedWork), (commitTime = now()));
|
||||
: (root.current = finishedWork);
|
||||
(transitions = rootDoesHavePassiveEffects)
|
||||
? ((rootDoesHavePassiveEffects = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -16342,7 +16372,7 @@ __DEV__ &&
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -16358,7 +16388,7 @@ __DEV__ &&
|
||||
return (
|
||||
(Internals.p = renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
(Internals.p = previousPriority),
|
||||
@@ -24194,7 +24224,8 @@ __DEV__ &&
|
||||
currentEventTransitionLane = 0,
|
||||
fakeActCallbackNode$1 = {},
|
||||
now = Scheduler.unstable_now,
|
||||
commitTime = -0,
|
||||
renderStartTime = -0,
|
||||
commitStartTime = -0,
|
||||
profilerStartTime = -1.1,
|
||||
profilerEffectDuration = -0,
|
||||
currentUpdateIsNested = !1,
|
||||
@@ -26080,6 +26111,9 @@ __DEV__ &&
|
||||
nestedPassiveUpdateCount = 0,
|
||||
rootWithPassiveNestedUpdates = null,
|
||||
isRunningInsertionEffect = !1,
|
||||
IMMEDIATE_COMMIT = 0,
|
||||
SUSPENDED_COMMIT = 1,
|
||||
THROTTLED_COMMIT = 2,
|
||||
didWarnStateUpdateForNotYetMountedComponent = null,
|
||||
didWarnAboutUpdateInRender = !1;
|
||||
var didWarnAboutUpdateInRenderForAnotherComponent = new Set();
|
||||
@@ -26896,11 +26930,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-modern-d4688dfa-20240920" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-modern-4e9540e3-20240923" !== 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-d4688dfa-20240920\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-modern-4e9540e3-20240923\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -26943,11 +26977,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-d4688dfa-20240920",
|
||||
version: "19.0.0-www-modern-4e9540e3-20240923",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-modern-4e9540e3-20240923"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -27552,7 +27586,7 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-modern-4e9540e3-20240923";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -8600,7 +8600,7 @@ function safelyDetachRef(current, nearestMountedAncestor) {
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -8612,7 +8612,7 @@ function commitProfilerPostCommit(
|
||||
id,
|
||||
null === current ? "mount" : "update",
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
@@ -11172,7 +11172,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
2,
|
||||
-0,
|
||||
0
|
||||
),
|
||||
exitStatus
|
||||
);
|
||||
@@ -11188,7 +11191,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -11243,7 +11249,10 @@ function commitRootWhenReady(
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var subtreeFlags = finishedWork.subtreeFlags;
|
||||
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
|
||||
@@ -11262,7 +11271,8 @@ function commitRootWhenReady(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
1
|
||||
)
|
||||
);
|
||||
markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);
|
||||
@@ -11275,7 +11285,10 @@ function commitRootWhenReady(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -11388,7 +11401,10 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -11895,7 +11911,10 @@ function commitRoot(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = Internals.p;
|
||||
@@ -11910,7 +11929,10 @@ function commitRoot(
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -11961,7 +11983,7 @@ function commitRootImpl(
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
@@ -12044,7 +12066,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root$215 = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -12056,7 +12078,7 @@ function flushPassiveEffects() {
|
||||
return (
|
||||
(Internals.p = 32 > renderPriority ? 32 : renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
(Internals.p = previousPriority),
|
||||
@@ -13382,14 +13404,14 @@ var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$381;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1553 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1553) {
|
||||
var element$jscomp$inline_1554 = document.createElement("div");
|
||||
element$jscomp$inline_1554.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1553 =
|
||||
"function" === typeof element$jscomp$inline_1554.oninput;
|
||||
var isSupported$jscomp$inline_1555 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1555) {
|
||||
var element$jscomp$inline_1556 = document.createElement("div");
|
||||
element$jscomp$inline_1556.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1555 =
|
||||
"function" === typeof element$jscomp$inline_1556.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$381 = isSupported$jscomp$inline_1553;
|
||||
JSCompiler_inline_result$jscomp$381 = isSupported$jscomp$inline_1555;
|
||||
} else JSCompiler_inline_result$jscomp$381 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$381 &&
|
||||
@@ -13803,20 +13825,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1594 = 0;
|
||||
i$jscomp$inline_1594 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1594++
|
||||
var i$jscomp$inline_1596 = 0;
|
||||
i$jscomp$inline_1596 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1596++
|
||||
) {
|
||||
var eventName$jscomp$inline_1595 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1594],
|
||||
domEventName$jscomp$inline_1596 =
|
||||
eventName$jscomp$inline_1595.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1597 =
|
||||
eventName$jscomp$inline_1595[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1595.slice(1);
|
||||
var eventName$jscomp$inline_1597 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1596],
|
||||
domEventName$jscomp$inline_1598 =
|
||||
eventName$jscomp$inline_1597.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1599 =
|
||||
eventName$jscomp$inline_1597[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1597.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1596,
|
||||
"on" + capitalizedEvent$jscomp$inline_1597
|
||||
domEventName$jscomp$inline_1598,
|
||||
"on" + capitalizedEvent$jscomp$inline_1599
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -17425,16 +17447,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1767 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1769 = React.version;
|
||||
if (
|
||||
"19.0.0-www-classic-d4688dfa-20240920" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1767
|
||||
"19.0.0-www-classic-4e9540e3-20240923" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1769
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1767,
|
||||
"19.0.0-www-classic-d4688dfa-20240920"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1769,
|
||||
"19.0.0-www-classic-4e9540e3-20240923"
|
||||
)
|
||||
);
|
||||
function flushSyncFromReconciler(fn) {
|
||||
@@ -17477,25 +17499,25 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var internals$jscomp$inline_2275 = {
|
||||
var internals$jscomp$inline_2277 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-d4688dfa-20240920",
|
||||
version: "19.0.0-www-classic-4e9540e3-20240923",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-classic-4e9540e3-20240923"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2276 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2278 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2276.isDisabled &&
|
||||
hook$jscomp$inline_2276.supportsFiber
|
||||
!hook$jscomp$inline_2278.isDisabled &&
|
||||
hook$jscomp$inline_2278.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2276.inject(
|
||||
internals$jscomp$inline_2275
|
||||
(rendererID = hook$jscomp$inline_2278.inject(
|
||||
internals$jscomp$inline_2277
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2276);
|
||||
(injectedHook = hook$jscomp$inline_2278);
|
||||
} catch (err) {}
|
||||
}
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
@@ -17939,4 +17961,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-classic-4e9540e3-20240923";
|
||||
|
||||
@@ -8163,7 +8163,7 @@ function safelyDetachRef(current, nearestMountedAncestor) {
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -8175,7 +8175,7 @@ function commitProfilerPostCommit(
|
||||
id,
|
||||
null === current ? "mount" : "update",
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
@@ -10707,7 +10707,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
2,
|
||||
-0,
|
||||
0
|
||||
),
|
||||
exitStatus
|
||||
);
|
||||
@@ -10723,7 +10726,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -10778,7 +10784,10 @@ function commitRootWhenReady(
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var subtreeFlags = finishedWork.subtreeFlags;
|
||||
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
|
||||
@@ -10797,7 +10806,8 @@ function commitRootWhenReady(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
1
|
||||
)
|
||||
);
|
||||
markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);
|
||||
@@ -10810,7 +10820,10 @@ function commitRootWhenReady(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -10923,7 +10936,10 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -11413,7 +11429,10 @@ function commitRoot(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = Internals.p;
|
||||
@@ -11428,7 +11447,10 @@ function commitRoot(
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -11479,7 +11501,7 @@ function commitRootImpl(
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
@@ -11560,7 +11582,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root$206 = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -11572,7 +11594,7 @@ function flushPassiveEffects() {
|
||||
return (
|
||||
(Internals.p = 32 > renderPriority ? 32 : renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
(Internals.p = previousPriority),
|
||||
@@ -12804,14 +12826,14 @@ var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$368;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1524 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1524) {
|
||||
var element$jscomp$inline_1525 = document.createElement("div");
|
||||
element$jscomp$inline_1525.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1524 =
|
||||
"function" === typeof element$jscomp$inline_1525.oninput;
|
||||
var isSupported$jscomp$inline_1526 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1526) {
|
||||
var element$jscomp$inline_1527 = document.createElement("div");
|
||||
element$jscomp$inline_1527.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1526 =
|
||||
"function" === typeof element$jscomp$inline_1527.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$368 = isSupported$jscomp$inline_1524;
|
||||
JSCompiler_inline_result$jscomp$368 = isSupported$jscomp$inline_1526;
|
||||
} else JSCompiler_inline_result$jscomp$368 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$368 &&
|
||||
@@ -13225,20 +13247,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1565 = 0;
|
||||
i$jscomp$inline_1565 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1565++
|
||||
var i$jscomp$inline_1567 = 0;
|
||||
i$jscomp$inline_1567 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1567++
|
||||
) {
|
||||
var eventName$jscomp$inline_1566 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1565],
|
||||
domEventName$jscomp$inline_1567 =
|
||||
eventName$jscomp$inline_1566.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1568 =
|
||||
eventName$jscomp$inline_1566[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1566.slice(1);
|
||||
var eventName$jscomp$inline_1568 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1567],
|
||||
domEventName$jscomp$inline_1569 =
|
||||
eventName$jscomp$inline_1568.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1570 =
|
||||
eventName$jscomp$inline_1568[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1568.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1567,
|
||||
"on" + capitalizedEvent$jscomp$inline_1568
|
||||
domEventName$jscomp$inline_1569,
|
||||
"on" + capitalizedEvent$jscomp$inline_1570
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -16796,16 +16818,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1738 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1740 = React.version;
|
||||
if (
|
||||
"19.0.0-www-modern-d4688dfa-20240920" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1738
|
||||
"19.0.0-www-modern-4e9540e3-20240923" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1740
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1738,
|
||||
"19.0.0-www-modern-d4688dfa-20240920"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1740,
|
||||
"19.0.0-www-modern-4e9540e3-20240923"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -16821,25 +16843,25 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var internals$jscomp$inline_2266 = {
|
||||
var internals$jscomp$inline_2268 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-d4688dfa-20240920",
|
||||
version: "19.0.0-www-modern-4e9540e3-20240923",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-modern-4e9540e3-20240923"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2267 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2269 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2267.isDisabled &&
|
||||
hook$jscomp$inline_2267.supportsFiber
|
||||
!hook$jscomp$inline_2269.isDisabled &&
|
||||
hook$jscomp$inline_2269.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2267.inject(
|
||||
internals$jscomp$inline_2266
|
||||
(rendererID = hook$jscomp$inline_2269.inject(
|
||||
internals$jscomp$inline_2268
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2267);
|
||||
(injectedHook = hook$jscomp$inline_2269);
|
||||
} catch (err) {}
|
||||
}
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
@@ -17190,4 +17212,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-modern-4e9540e3-20240923";
|
||||
|
||||
@@ -2216,7 +2216,7 @@ function requestTransitionLane() {
|
||||
return currentEventTransitionLane;
|
||||
}
|
||||
var now = Scheduler.unstable_now,
|
||||
commitTime = -0,
|
||||
commitStartTime = -0,
|
||||
profilerStartTime = -1.1,
|
||||
profilerEffectDuration = -0;
|
||||
function pushNestedEffectDurations() {
|
||||
@@ -9025,7 +9025,7 @@ function safelyDetachRef(current, nearestMountedAncestor) {
|
||||
function commitProfilerUpdate(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
effectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -9042,14 +9042,14 @@ function commitProfilerUpdate(
|
||||
finishedWork.actualDuration,
|
||||
finishedWork.treeBaseDuration,
|
||||
finishedWork.actualStartTime,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
"function" === typeof onCommit &&
|
||||
onCommit(
|
||||
finishedWork.memoizedProps.id,
|
||||
current,
|
||||
effectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
@@ -9058,7 +9058,7 @@ function commitProfilerUpdate(
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -9068,7 +9068,7 @@ function commitProfilerPostCommit(
|
||||
current = null === current ? "mount" : "update";
|
||||
currentUpdateIsNested && (current = "nested-update");
|
||||
"function" === typeof onPostCommit &&
|
||||
onPostCommit(id, current, passiveEffectDuration, commitTime);
|
||||
onPostCommit(id, current, passiveEffectDuration, commitStartTime);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
}
|
||||
@@ -9491,7 +9491,7 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
commitProfilerUpdate(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.effectDuration
|
||||
))
|
||||
: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
@@ -10694,7 +10694,7 @@ function recursivelyTraverseReappearLayoutEffects(
|
||||
commitProfilerUpdate(
|
||||
finishedWork,
|
||||
current$201,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.effectDuration
|
||||
))
|
||||
: recursivelyTraverseReappearLayoutEffects(
|
||||
@@ -10916,7 +10916,7 @@ function commitPassiveMountOnFiber(
|
||||
commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
finishedWork.alternate,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.passiveEffectDuration
|
||||
))
|
||||
: recursivelyTraversePassiveMountEffects(
|
||||
@@ -11721,7 +11721,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
2,
|
||||
-0,
|
||||
0
|
||||
),
|
||||
exitStatus
|
||||
);
|
||||
@@ -11737,7 +11740,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -11792,7 +11798,10 @@ function commitRootWhenReady(
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var subtreeFlags = finishedWork.subtreeFlags;
|
||||
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
|
||||
@@ -11811,7 +11820,8 @@ function commitRootWhenReady(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
1
|
||||
)
|
||||
);
|
||||
markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);
|
||||
@@ -11824,7 +11834,10 @@ function commitRootWhenReady(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -11939,7 +11952,10 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -12539,7 +12555,10 @@ function commitRoot(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = Internals.p;
|
||||
@@ -12554,7 +12573,10 @@ function commitRoot(
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -12611,9 +12633,10 @@ function commitRootImpl(
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
@@ -12623,7 +12646,6 @@ function commitRootImpl(
|
||||
(updatedLanes = executionContext),
|
||||
(executionContext |= 4),
|
||||
(suspendedRetryLanes = commitBeforeMutationEffects(root, finishedWork)),
|
||||
(commitTime = now()),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
suspendedRetryLanes &&
|
||||
((_enabled = !0),
|
||||
@@ -12648,7 +12670,7 @@ function commitRootImpl(
|
||||
(executionContext = updatedLanes),
|
||||
(Internals.p = spawnedLane),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: ((root.current = finishedWork), (commitTime = now()));
|
||||
: (root.current = finishedWork);
|
||||
rootDoesHavePassiveEffects
|
||||
? ((rootDoesHavePassiveEffects = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -12708,7 +12730,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root$230 = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -12720,7 +12742,7 @@ function flushPassiveEffects() {
|
||||
return (
|
||||
(Internals.p = 32 > renderPriority ? 32 : renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
(Internals.p = previousPriority),
|
||||
@@ -14107,14 +14129,14 @@ var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$398;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1647 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1647) {
|
||||
var element$jscomp$inline_1648 = document.createElement("div");
|
||||
element$jscomp$inline_1648.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1647 =
|
||||
"function" === typeof element$jscomp$inline_1648.oninput;
|
||||
var isSupported$jscomp$inline_1648 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1648) {
|
||||
var element$jscomp$inline_1649 = document.createElement("div");
|
||||
element$jscomp$inline_1649.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1648 =
|
||||
"function" === typeof element$jscomp$inline_1649.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$398 = isSupported$jscomp$inline_1647;
|
||||
JSCompiler_inline_result$jscomp$398 = isSupported$jscomp$inline_1648;
|
||||
} else JSCompiler_inline_result$jscomp$398 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$398 &&
|
||||
@@ -14528,20 +14550,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1688 = 0;
|
||||
i$jscomp$inline_1688 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1688++
|
||||
var i$jscomp$inline_1689 = 0;
|
||||
i$jscomp$inline_1689 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1689++
|
||||
) {
|
||||
var eventName$jscomp$inline_1689 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1688],
|
||||
domEventName$jscomp$inline_1690 =
|
||||
eventName$jscomp$inline_1689.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1691 =
|
||||
eventName$jscomp$inline_1689[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1689.slice(1);
|
||||
var eventName$jscomp$inline_1690 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1689],
|
||||
domEventName$jscomp$inline_1691 =
|
||||
eventName$jscomp$inline_1690.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1692 =
|
||||
eventName$jscomp$inline_1690[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1690.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1690,
|
||||
"on" + capitalizedEvent$jscomp$inline_1691
|
||||
domEventName$jscomp$inline_1691,
|
||||
"on" + capitalizedEvent$jscomp$inline_1692
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -18150,16 +18172,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1861 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1862 = React.version;
|
||||
if (
|
||||
"19.0.0-www-classic-d4688dfa-20240920" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1861
|
||||
"19.0.0-www-classic-4e9540e3-20240923" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1862
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1861,
|
||||
"19.0.0-www-classic-d4688dfa-20240920"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1862,
|
||||
"19.0.0-www-classic-4e9540e3-20240923"
|
||||
)
|
||||
);
|
||||
function flushSyncFromReconciler(fn) {
|
||||
@@ -18202,28 +18224,28 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var internals$jscomp$inline_1868 = {
|
||||
var internals$jscomp$inline_1869 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-d4688dfa-20240920",
|
||||
version: "19.0.0-www-classic-4e9540e3-20240923",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-classic-4e9540e3-20240923"
|
||||
};
|
||||
enableSchedulingProfiler &&
|
||||
((internals$jscomp$inline_1868.getLaneLabelMap = getLaneLabelMap),
|
||||
(internals$jscomp$inline_1868.injectProfilingHooks = injectProfilingHooks));
|
||||
((internals$jscomp$inline_1869.getLaneLabelMap = getLaneLabelMap),
|
||||
(internals$jscomp$inline_1869.injectProfilingHooks = injectProfilingHooks));
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2327 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2328 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2327.isDisabled &&
|
||||
hook$jscomp$inline_2327.supportsFiber
|
||||
!hook$jscomp$inline_2328.isDisabled &&
|
||||
hook$jscomp$inline_2328.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2327.inject(
|
||||
internals$jscomp$inline_1868
|
||||
(rendererID = hook$jscomp$inline_2328.inject(
|
||||
internals$jscomp$inline_1869
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2327);
|
||||
(injectedHook = hook$jscomp$inline_2328);
|
||||
} catch (err) {}
|
||||
}
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
@@ -18667,7 +18689,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-classic-4e9540e3-20240923";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -2059,7 +2059,7 @@ function requestTransitionLane() {
|
||||
return currentEventTransitionLane;
|
||||
}
|
||||
var now = Scheduler.unstable_now,
|
||||
commitTime = -0,
|
||||
commitStartTime = -0,
|
||||
profilerStartTime = -1.1,
|
||||
profilerEffectDuration = -0;
|
||||
function pushNestedEffectDurations() {
|
||||
@@ -8571,7 +8571,7 @@ function safelyDetachRef(current, nearestMountedAncestor) {
|
||||
function commitProfilerUpdate(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
effectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -8588,14 +8588,14 @@ function commitProfilerUpdate(
|
||||
finishedWork.actualDuration,
|
||||
finishedWork.treeBaseDuration,
|
||||
finishedWork.actualStartTime,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
"function" === typeof onCommit &&
|
||||
onCommit(
|
||||
finishedWork.memoizedProps.id,
|
||||
current,
|
||||
effectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
@@ -8604,7 +8604,7 @@ function commitProfilerUpdate(
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -8614,7 +8614,7 @@ function commitProfilerPostCommit(
|
||||
current = null === current ? "mount" : "update";
|
||||
currentUpdateIsNested && (current = "nested-update");
|
||||
"function" === typeof onPostCommit &&
|
||||
onPostCommit(id, current, passiveEffectDuration, commitTime);
|
||||
onPostCommit(id, current, passiveEffectDuration, commitStartTime);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
}
|
||||
@@ -9052,7 +9052,7 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
|
||||
commitProfilerUpdate(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.effectDuration
|
||||
))
|
||||
: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
|
||||
@@ -10241,7 +10241,7 @@ function recursivelyTraverseReappearLayoutEffects(
|
||||
commitProfilerUpdate(
|
||||
finishedWork,
|
||||
current$192,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.effectDuration
|
||||
))
|
||||
: recursivelyTraverseReappearLayoutEffects(
|
||||
@@ -10463,7 +10463,7 @@ function commitPassiveMountOnFiber(
|
||||
commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
finishedWork.alternate,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.passiveEffectDuration
|
||||
))
|
||||
: recursivelyTraversePassiveMountEffects(
|
||||
@@ -11239,7 +11239,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
2,
|
||||
-0,
|
||||
0
|
||||
),
|
||||
exitStatus
|
||||
);
|
||||
@@ -11255,7 +11258,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -11310,7 +11316,10 @@ function commitRootWhenReady(
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var subtreeFlags = finishedWork.subtreeFlags;
|
||||
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
|
||||
@@ -11329,7 +11338,8 @@ function commitRootWhenReady(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
1
|
||||
)
|
||||
);
|
||||
markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);
|
||||
@@ -11342,7 +11352,10 @@ function commitRootWhenReady(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -11457,7 +11470,10 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -12040,7 +12056,10 @@ function commitRoot(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = Internals.p;
|
||||
@@ -12055,7 +12074,10 @@ function commitRoot(
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -12112,9 +12134,10 @@ function commitRootImpl(
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
@@ -12124,7 +12147,6 @@ function commitRootImpl(
|
||||
(updatedLanes = executionContext),
|
||||
(executionContext |= 4),
|
||||
(suspendedRetryLanes = commitBeforeMutationEffects(root, finishedWork)),
|
||||
(commitTime = now()),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
suspendedRetryLanes &&
|
||||
((_enabled = !0),
|
||||
@@ -12149,7 +12171,7 @@ function commitRootImpl(
|
||||
(executionContext = updatedLanes),
|
||||
(Internals.p = spawnedLane),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: ((root.current = finishedWork), (commitTime = now()));
|
||||
: (root.current = finishedWork);
|
||||
rootDoesHavePassiveEffects
|
||||
? ((rootDoesHavePassiveEffects = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -12207,7 +12229,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root$221 = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -12219,7 +12241,7 @@ function flushPassiveEffects() {
|
||||
return (
|
||||
(Internals.p = 32 > renderPriority ? 32 : renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
(Internals.p = previousPriority),
|
||||
@@ -13512,14 +13534,14 @@ var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$385;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1618 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1618) {
|
||||
var element$jscomp$inline_1619 = document.createElement("div");
|
||||
element$jscomp$inline_1619.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1618 =
|
||||
"function" === typeof element$jscomp$inline_1619.oninput;
|
||||
var isSupported$jscomp$inline_1619 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1619) {
|
||||
var element$jscomp$inline_1620 = document.createElement("div");
|
||||
element$jscomp$inline_1620.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1619 =
|
||||
"function" === typeof element$jscomp$inline_1620.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$385 = isSupported$jscomp$inline_1618;
|
||||
JSCompiler_inline_result$jscomp$385 = isSupported$jscomp$inline_1619;
|
||||
} else JSCompiler_inline_result$jscomp$385 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$385 &&
|
||||
@@ -13933,20 +13955,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1659 = 0;
|
||||
i$jscomp$inline_1659 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1659++
|
||||
var i$jscomp$inline_1660 = 0;
|
||||
i$jscomp$inline_1660 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1660++
|
||||
) {
|
||||
var eventName$jscomp$inline_1660 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1659],
|
||||
domEventName$jscomp$inline_1661 =
|
||||
eventName$jscomp$inline_1660.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1662 =
|
||||
eventName$jscomp$inline_1660[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1660.slice(1);
|
||||
var eventName$jscomp$inline_1661 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1660],
|
||||
domEventName$jscomp$inline_1662 =
|
||||
eventName$jscomp$inline_1661.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1663 =
|
||||
eventName$jscomp$inline_1661[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1661.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1661,
|
||||
"on" + capitalizedEvent$jscomp$inline_1662
|
||||
domEventName$jscomp$inline_1662,
|
||||
"on" + capitalizedEvent$jscomp$inline_1663
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -17504,16 +17526,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1832 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1833 = React.version;
|
||||
if (
|
||||
"19.0.0-www-modern-d4688dfa-20240920" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1832
|
||||
"19.0.0-www-modern-4e9540e3-20240923" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1833
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1832,
|
||||
"19.0.0-www-modern-d4688dfa-20240920"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1833,
|
||||
"19.0.0-www-modern-4e9540e3-20240923"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17529,28 +17551,28 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var internals$jscomp$inline_1834 = {
|
||||
var internals$jscomp$inline_1835 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-d4688dfa-20240920",
|
||||
version: "19.0.0-www-modern-4e9540e3-20240923",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-modern-4e9540e3-20240923"
|
||||
};
|
||||
enableSchedulingProfiler &&
|
||||
((internals$jscomp$inline_1834.getLaneLabelMap = getLaneLabelMap),
|
||||
(internals$jscomp$inline_1834.injectProfilingHooks = injectProfilingHooks));
|
||||
((internals$jscomp$inline_1835.getLaneLabelMap = getLaneLabelMap),
|
||||
(internals$jscomp$inline_1835.injectProfilingHooks = injectProfilingHooks));
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2319 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2320 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2319.isDisabled &&
|
||||
hook$jscomp$inline_2319.supportsFiber
|
||||
!hook$jscomp$inline_2320.isDisabled &&
|
||||
hook$jscomp$inline_2320.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2319.inject(
|
||||
internals$jscomp$inline_1834
|
||||
(rendererID = hook$jscomp$inline_2320.inject(
|
||||
internals$jscomp$inline_1835
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2319);
|
||||
(injectedHook = hook$jscomp$inline_2320);
|
||||
} catch (err) {}
|
||||
}
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
@@ -17901,7 +17923,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-modern-4e9540e3-20240923";
|
||||
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
||||
"function" ===
|
||||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
||||
|
||||
@@ -8984,5 +8984,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-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-classic-4e9540e3-20240923";
|
||||
})();
|
||||
|
||||
@@ -8802,5 +8802,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-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-modern-4e9540e3-20240923";
|
||||
})();
|
||||
|
||||
@@ -5911,4 +5911,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-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-classic-4e9540e3-20240923";
|
||||
|
||||
@@ -5823,4 +5823,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-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-modern-4e9540e3-20240923";
|
||||
|
||||
@@ -9237,32 +9237,32 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2451;
|
||||
var JSCompiler_object_inline_stack_2452 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2452;
|
||||
var JSCompiler_object_inline_stack_2453 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2453 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2454 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2451 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2451 =
|
||||
(JSCompiler_object_inline_digest_2452 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2452 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2451 &&
|
||||
((JSCompiler_object_inline_componentStack_2453 = !0),
|
||||
JSCompiler_object_inline_digest_2452 &&
|
||||
((JSCompiler_object_inline_componentStack_2454 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2451 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2452 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2453
|
||||
JSCompiler_object_inline_componentStack_2454
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2450 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2451 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2450)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2451)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2450;
|
||||
var instance = JSCompiler_object_inline_message_2451;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
instance.nodeType !== COMMENT_NODE;
|
||||
@@ -9303,19 +9303,19 @@ __DEV__ &&
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2450
|
||||
JSCompiler_object_inline_message_2451
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2450 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2451 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2450 &&
|
||||
((JSCompiler_object_inline_message_2450 =
|
||||
JSCompiler_object_inline_message_2450.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2450)
|
||||
null !== JSCompiler_object_inline_message_2451 &&
|
||||
((JSCompiler_object_inline_message_2451 =
|
||||
JSCompiler_object_inline_message_2451.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2451)
|
||||
)
|
||||
return (
|
||||
JSCompiler_object_inline_message_2450.data ===
|
||||
JSCompiler_object_inline_message_2451.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA
|
||||
? (workInProgress.lanes = 16)
|
||||
: (workInProgress.lanes = 536870912),
|
||||
@@ -9323,27 +9323,27 @@ __DEV__ &&
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2450 =
|
||||
JSCompiler_object_inline_stack_2452.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2452.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2453)
|
||||
JSCompiler_object_inline_message_2451 =
|
||||
JSCompiler_object_inline_stack_2453.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2453.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2454)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2452 =
|
||||
(JSCompiler_object_inline_stack_2453 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2450,
|
||||
JSCompiler_object_inline_message_2451,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2453 =
|
||||
(JSCompiler_object_inline_componentStack_2454 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2453.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2454.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2453.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2454.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2451,
|
||||
JSCompiler_object_inline_digest_2452,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
@@ -9356,9 +9356,9 @@ __DEV__ &&
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(current =
|
||||
JSCompiler_object_inline_componentStack_2453.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2454.updateQueue),
|
||||
null === current
|
||||
? (JSCompiler_object_inline_componentStack_2453.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2454.updateQueue =
|
||||
{
|
||||
transitions: workInProgress,
|
||||
markerInstances: renderLanes,
|
||||
@@ -9366,46 +9366,46 @@ __DEV__ &&
|
||||
})
|
||||
: ((current.transitions = workInProgress),
|
||||
(current.markerInstances = renderLanes)))),
|
||||
JSCompiler_object_inline_stack_2452
|
||||
JSCompiler_object_inline_stack_2453
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2452.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2453.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2452 =
|
||||
(JSCompiler_object_inline_stack_2453 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2450,
|
||||
JSCompiler_object_inline_message_2451,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2453 =
|
||||
(JSCompiler_object_inline_componentStack_2454 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2453.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2454.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2453.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2454.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2451,
|
||||
JSCompiler_object_inline_digest_2452,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2452
|
||||
JSCompiler_object_inline_stack_2453
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2450
|
||||
JSCompiler_object_inline_message_2451
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2450 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2450)
|
||||
((JSCompiler_object_inline_message_2451 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2451)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -9422,32 +9422,32 @@ __DEV__ &&
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2453 =
|
||||
JSCompiler_object_inline_stack_2452.fallback),
|
||||
(JSCompiler_object_inline_message_2450 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2452 = createFiberFromOffscreen(
|
||||
(JSCompiler_object_inline_componentStack_2454 =
|
||||
JSCompiler_object_inline_stack_2453.fallback),
|
||||
(JSCompiler_object_inline_message_2451 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2453 = createFiberFromOffscreen(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2452.children
|
||||
children: JSCompiler_object_inline_stack_2453.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2450,
|
||||
JSCompiler_object_inline_message_2451,
|
||||
0,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2453 =
|
||||
(JSCompiler_object_inline_componentStack_2454 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2453,
|
||||
JSCompiler_object_inline_message_2450,
|
||||
JSCompiler_object_inline_componentStack_2454,
|
||||
JSCompiler_object_inline_message_2451,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2453.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2452.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2453.return =
|
||||
(JSCompiler_object_inline_componentStack_2454.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2453.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2454.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2452.sibling =
|
||||
JSCompiler_object_inline_componentStack_2453),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2452),
|
||||
(JSCompiler_object_inline_stack_2453.sibling =
|
||||
JSCompiler_object_inline_componentStack_2454),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2453),
|
||||
(disableLegacyMode ||
|
||||
(workInProgress.mode & ConcurrentMode) !== NoMode) &&
|
||||
reconcileChildFibers(
|
||||
@@ -9456,63 +9456,63 @@ __DEV__ &&
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2452 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2452.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2453 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2453.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2452.childLanes =
|
||||
(JSCompiler_object_inline_stack_2453.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2451,
|
||||
JSCompiler_object_inline_digest_2452,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress =
|
||||
JSCompiler_object_inline_componentStack_2453));
|
||||
JSCompiler_object_inline_componentStack_2454));
|
||||
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_2450.data ===
|
||||
JSCompiler_object_inline_message_2451.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2451 =
|
||||
JSCompiler_object_inline_message_2450.nextSibling &&
|
||||
JSCompiler_object_inline_message_2450.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2451) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2451.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2451.msg;
|
||||
instance = JSCompiler_object_inline_digest_2451.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2451.cstck;
|
||||
JSCompiler_object_inline_digest_2452 =
|
||||
JSCompiler_object_inline_message_2451.nextSibling &&
|
||||
JSCompiler_object_inline_message_2451.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2452) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2452.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2452.msg;
|
||||
instance = JSCompiler_object_inline_digest_2452.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2452.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2450 = message;
|
||||
JSCompiler_object_inline_digest_2451 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2452 = instance;
|
||||
JSCompiler_object_inline_componentStack_2453 = componentStack;
|
||||
JSCompiler_object_inline_message_2450 =
|
||||
JSCompiler_object_inline_message_2450
|
||||
? Error(JSCompiler_object_inline_message_2450)
|
||||
JSCompiler_object_inline_message_2451 = message;
|
||||
JSCompiler_object_inline_digest_2452 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2453 = instance;
|
||||
JSCompiler_object_inline_componentStack_2454 = componentStack;
|
||||
JSCompiler_object_inline_message_2451 =
|
||||
JSCompiler_object_inline_message_2451
|
||||
? Error(JSCompiler_object_inline_message_2451)
|
||||
: 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_2450.stack =
|
||||
JSCompiler_object_inline_stack_2452 || "";
|
||||
JSCompiler_object_inline_message_2450.digest =
|
||||
JSCompiler_object_inline_digest_2451;
|
||||
JSCompiler_object_inline_digest_2451 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2453
|
||||
JSCompiler_object_inline_message_2451.stack =
|
||||
JSCompiler_object_inline_stack_2453 || "";
|
||||
JSCompiler_object_inline_message_2451.digest =
|
||||
JSCompiler_object_inline_digest_2452;
|
||||
JSCompiler_object_inline_digest_2452 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2454
|
||||
? null
|
||||
: JSCompiler_object_inline_componentStack_2453;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2451 &&
|
||||
: JSCompiler_object_inline_componentStack_2454;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2452 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_message_2450,
|
||||
JSCompiler_object_inline_digest_2451
|
||||
JSCompiler_object_inline_message_2451,
|
||||
JSCompiler_object_inline_digest_2452
|
||||
);
|
||||
queueHydrationError({
|
||||
value: JSCompiler_object_inline_message_2450,
|
||||
value: JSCompiler_object_inline_message_2451,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2451
|
||||
stack: JSCompiler_object_inline_digest_2452
|
||||
});
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9527,25 +9527,25 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2451 =
|
||||
(JSCompiler_object_inline_digest_2452 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2451)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2452)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2451 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2451) {
|
||||
JSCompiler_object_inline_stack_2452 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2452 & 42))
|
||||
JSCompiler_object_inline_stack_2452 = 1;
|
||||
JSCompiler_object_inline_digest_2452 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2452) {
|
||||
JSCompiler_object_inline_stack_2453 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2453 & 42))
|
||||
JSCompiler_object_inline_stack_2453 = 1;
|
||||
else
|
||||
switch (JSCompiler_object_inline_stack_2452) {
|
||||
switch (JSCompiler_object_inline_stack_2453) {
|
||||
case 2:
|
||||
JSCompiler_object_inline_stack_2452 = 1;
|
||||
JSCompiler_object_inline_stack_2453 = 1;
|
||||
break;
|
||||
case 8:
|
||||
JSCompiler_object_inline_stack_2452 = 4;
|
||||
JSCompiler_object_inline_stack_2453 = 4;
|
||||
break;
|
||||
case 32:
|
||||
JSCompiler_object_inline_stack_2452 = 16;
|
||||
JSCompiler_object_inline_stack_2453 = 16;
|
||||
break;
|
||||
case 128:
|
||||
case 256:
|
||||
@@ -9566,40 +9566,40 @@ __DEV__ &&
|
||||
case 8388608:
|
||||
case 16777216:
|
||||
case 33554432:
|
||||
JSCompiler_object_inline_stack_2452 = 64;
|
||||
JSCompiler_object_inline_stack_2453 = 64;
|
||||
break;
|
||||
case 268435456:
|
||||
JSCompiler_object_inline_stack_2452 = 134217728;
|
||||
JSCompiler_object_inline_stack_2453 = 134217728;
|
||||
break;
|
||||
default:
|
||||
JSCompiler_object_inline_stack_2452 = 0;
|
||||
JSCompiler_object_inline_stack_2453 = 0;
|
||||
}
|
||||
JSCompiler_object_inline_stack_2452 =
|
||||
JSCompiler_object_inline_stack_2453 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2452 &
|
||||
(JSCompiler_object_inline_digest_2451.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2453 &
|
||||
(JSCompiler_object_inline_digest_2452.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2452;
|
||||
: JSCompiler_object_inline_stack_2453;
|
||||
if (
|
||||
0 !== JSCompiler_object_inline_stack_2452 &&
|
||||
JSCompiler_object_inline_stack_2452 !== prevState.retryLane
|
||||
0 !== JSCompiler_object_inline_stack_2453 &&
|
||||
JSCompiler_object_inline_stack_2453 !== prevState.retryLane
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2452),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2453),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2452
|
||||
JSCompiler_object_inline_stack_2453
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2451,
|
||||
JSCompiler_object_inline_digest_2452,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2452
|
||||
JSCompiler_object_inline_stack_2453
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
}
|
||||
JSCompiler_object_inline_message_2450.data ===
|
||||
JSCompiler_object_inline_message_2451.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9607,7 +9607,7 @@ __DEV__ &&
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2450.data ===
|
||||
JSCompiler_object_inline_message_2451.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 128),
|
||||
(workInProgress.child = current.child),
|
||||
@@ -9615,12 +9615,12 @@ __DEV__ &&
|
||||
null,
|
||||
current
|
||||
)),
|
||||
(JSCompiler_object_inline_message_2450._reactRetry =
|
||||
(JSCompiler_object_inline_message_2451._reactRetry =
|
||||
workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((renderLanes = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2450.nextSibling
|
||||
JSCompiler_object_inline_message_2451.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9638,73 +9638,73 @@ __DEV__ &&
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2452.children
|
||||
JSCompiler_object_inline_stack_2453.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2453)
|
||||
if (JSCompiler_object_inline_componentStack_2454)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2453 =
|
||||
JSCompiler_object_inline_stack_2452.fallback),
|
||||
(JSCompiler_object_inline_message_2450 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2454 =
|
||||
JSCompiler_object_inline_stack_2453.fallback),
|
||||
(JSCompiler_object_inline_message_2451 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(componentStack = {
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2452.children
|
||||
children: JSCompiler_object_inline_stack_2453.children
|
||||
}),
|
||||
disableLegacyMode ||
|
||||
(JSCompiler_object_inline_message_2450 & ConcurrentMode) !== NoMode ||
|
||||
(JSCompiler_object_inline_message_2451 & ConcurrentMode) !== NoMode ||
|
||||
workInProgress.child === JSCompiler_temp
|
||||
? ((JSCompiler_object_inline_stack_2452 = createWorkInProgress(
|
||||
? ((JSCompiler_object_inline_stack_2453 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
componentStack
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2452.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2453.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 31457280))
|
||||
: ((JSCompiler_object_inline_stack_2452 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2452.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2452.pendingProps =
|
||||
: ((JSCompiler_object_inline_stack_2453 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2453.childLanes = 0),
|
||||
(JSCompiler_object_inline_stack_2453.pendingProps =
|
||||
componentStack),
|
||||
workInProgress.mode & ProfileMode &&
|
||||
((JSCompiler_object_inline_stack_2452.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2452.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2452.selfBaseDuration =
|
||||
((JSCompiler_object_inline_stack_2453.actualDuration = -0),
|
||||
(JSCompiler_object_inline_stack_2453.actualStartTime = -1.1),
|
||||
(JSCompiler_object_inline_stack_2453.selfBaseDuration =
|
||||
JSCompiler_temp.selfBaseDuration),
|
||||
(JSCompiler_object_inline_stack_2452.treeBaseDuration =
|
||||
(JSCompiler_object_inline_stack_2453.treeBaseDuration =
|
||||
JSCompiler_temp.treeBaseDuration)),
|
||||
(workInProgress.deletions = null)),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2453 =
|
||||
? (JSCompiler_object_inline_componentStack_2454 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2453
|
||||
JSCompiler_object_inline_componentStack_2454
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2453 =
|
||||
: ((JSCompiler_object_inline_componentStack_2454 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2453,
|
||||
JSCompiler_object_inline_message_2450,
|
||||
JSCompiler_object_inline_componentStack_2454,
|
||||
JSCompiler_object_inline_message_2451,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2453.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2453.return =
|
||||
(JSCompiler_object_inline_componentStack_2454.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2454.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2452.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2452.sibling =
|
||||
JSCompiler_object_inline_componentStack_2453),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2452),
|
||||
(JSCompiler_object_inline_stack_2452 =
|
||||
JSCompiler_object_inline_componentStack_2453),
|
||||
(JSCompiler_object_inline_componentStack_2453 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2450 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2450
|
||||
? (JSCompiler_object_inline_message_2450 =
|
||||
(JSCompiler_object_inline_stack_2453.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2453.sibling =
|
||||
JSCompiler_object_inline_componentStack_2454),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2453),
|
||||
(JSCompiler_object_inline_stack_2453 =
|
||||
JSCompiler_object_inline_componentStack_2454),
|
||||
(JSCompiler_object_inline_componentStack_2454 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2451 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2451
|
||||
? (JSCompiler_object_inline_message_2451 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2450.cachePool),
|
||||
JSCompiler_object_inline_message_2451.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9712,34 +9712,34 @@ __DEV__ &&
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2450 = {
|
||||
(JSCompiler_object_inline_message_2451 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2450.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2451.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2453.memoizedState =
|
||||
JSCompiler_object_inline_message_2450),
|
||||
(JSCompiler_object_inline_componentStack_2454.memoizedState =
|
||||
JSCompiler_object_inline_message_2451),
|
||||
enableTransitionTracing &&
|
||||
((JSCompiler_object_inline_message_2450 = enableTransitionTracing
|
||||
((JSCompiler_object_inline_message_2451 = enableTransitionTracing
|
||||
? transitionStack.current
|
||||
: null),
|
||||
null !== JSCompiler_object_inline_message_2450 &&
|
||||
null !== JSCompiler_object_inline_message_2451 &&
|
||||
((JSCompiler_temp = enableTransitionTracing
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(instance =
|
||||
JSCompiler_object_inline_componentStack_2453.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2454.updateQueue),
|
||||
(componentStack = current.updateQueue),
|
||||
null === instance
|
||||
? (JSCompiler_object_inline_componentStack_2453.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2450,
|
||||
? (JSCompiler_object_inline_componentStack_2454.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2451,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue: null
|
||||
})
|
||||
: instance === componentStack
|
||||
? (JSCompiler_object_inline_componentStack_2453.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2454.updateQueue =
|
||||
{
|
||||
transitions: JSCompiler_object_inline_message_2450,
|
||||
transitions: JSCompiler_object_inline_message_2451,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue:
|
||||
null !== componentStack
|
||||
@@ -9747,41 +9747,41 @@ __DEV__ &&
|
||||
: null
|
||||
})
|
||||
: ((instance.transitions =
|
||||
JSCompiler_object_inline_message_2450),
|
||||
JSCompiler_object_inline_message_2451),
|
||||
(instance.markerInstances = JSCompiler_temp)))),
|
||||
(JSCompiler_object_inline_componentStack_2453.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2454.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2451,
|
||||
JSCompiler_object_inline_digest_2452,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2452
|
||||
JSCompiler_object_inline_stack_2453
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
JSCompiler_object_inline_digest_2451 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2451.sibling;
|
||||
JSCompiler_object_inline_digest_2451 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2451,
|
||||
JSCompiler_object_inline_digest_2452 = current.child;
|
||||
current = JSCompiler_object_inline_digest_2452.sibling;
|
||||
JSCompiler_object_inline_digest_2452 = createWorkInProgress(
|
||||
JSCompiler_object_inline_digest_2452,
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2452.children
|
||||
children: JSCompiler_object_inline_stack_2453.children
|
||||
}
|
||||
);
|
||||
disableLegacyMode ||
|
||||
(workInProgress.mode & ConcurrentMode) !== NoMode ||
|
||||
(JSCompiler_object_inline_digest_2451.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2451.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2451.sibling = null;
|
||||
(JSCompiler_object_inline_digest_2452.lanes = renderLanes);
|
||||
JSCompiler_object_inline_digest_2452.return = workInProgress;
|
||||
JSCompiler_object_inline_digest_2452.sibling = null;
|
||||
null !== current &&
|
||||
((renderLanes = workInProgress.deletions),
|
||||
null === renderLanes
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: renderLanes.push(current));
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2451;
|
||||
workInProgress.child = JSCompiler_object_inline_digest_2452;
|
||||
workInProgress.memoizedState = null;
|
||||
return JSCompiler_object_inline_digest_2451;
|
||||
return JSCompiler_object_inline_digest_2452;
|
||||
}
|
||||
function mountSuspensePrimaryChildren(workInProgress, primaryChildren) {
|
||||
primaryChildren = createFiberFromOffscreen(
|
||||
@@ -12769,7 +12769,12 @@ __DEV__ &&
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
function commitProfiler(finishedWork, current, commitTime, effectDuration) {
|
||||
function commitProfiler(
|
||||
finishedWork,
|
||||
current,
|
||||
commitStartTime,
|
||||
effectDuration
|
||||
) {
|
||||
var _finishedWork$memoize = finishedWork.memoizedProps,
|
||||
id = _finishedWork$memoize.id,
|
||||
onCommit = _finishedWork$memoize.onCommit;
|
||||
@@ -12783,20 +12788,20 @@ __DEV__ &&
|
||||
finishedWork.actualDuration,
|
||||
finishedWork.treeBaseDuration,
|
||||
finishedWork.actualStartTime,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
"function" === typeof onCommit &&
|
||||
onCommit(
|
||||
finishedWork.memoizedProps.id,
|
||||
current,
|
||||
effectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommitImpl(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
var _finishedWork$memoize2 = finishedWork.memoizedProps;
|
||||
@@ -12809,13 +12814,13 @@ __DEV__ &&
|
||||
finishedWork,
|
||||
current,
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -12824,7 +12829,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommitImpl,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
);
|
||||
} catch (error$21) {
|
||||
@@ -13302,7 +13307,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -14617,7 +14622,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
includeWorkInProgressEffects.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -14874,7 +14879,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
finishedWork.alternate,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.passiveEffectDuration
|
||||
))
|
||||
: recursivelyTraversePassiveMountEffects(
|
||||
@@ -15943,7 +15948,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
else {
|
||||
if (
|
||||
@@ -15974,7 +15982,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
THROTTLED_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
),
|
||||
didTimeout
|
||||
);
|
||||
@@ -15990,7 +16001,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -16048,7 +16062,10 @@ __DEV__ &&
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var subtreeFlags = finishedWork.subtreeFlags;
|
||||
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
|
||||
@@ -16067,7 +16084,8 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
SUSPENDED_COMMIT
|
||||
)
|
||||
);
|
||||
markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);
|
||||
@@ -16080,7 +16098,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -16199,7 +16220,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -16877,7 +16901,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = Internals.p;
|
||||
@@ -16892,7 +16919,10 @@ __DEV__ &&
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -16971,9 +17001,10 @@ __DEV__ &&
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
@@ -16986,7 +17017,6 @@ __DEV__ &&
|
||||
root,
|
||||
finishedWork
|
||||
)),
|
||||
(commitTime = now()),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
suspendedRetryLanes &&
|
||||
((_enabled = !0),
|
||||
@@ -17022,7 +17052,7 @@ __DEV__ &&
|
||||
(executionContext = updatedLanes),
|
||||
(Internals.p = spawnedLane),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: ((root.current = finishedWork), (commitTime = now()));
|
||||
: (root.current = finishedWork);
|
||||
(transitions = rootDoesHavePassiveEffects)
|
||||
? ((rootDoesHavePassiveEffects = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -17103,7 +17133,7 @@ __DEV__ &&
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -17119,7 +17149,7 @@ __DEV__ &&
|
||||
return (
|
||||
(Internals.p = renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
(Internals.p = previousPriority),
|
||||
@@ -25404,7 +25434,8 @@ __DEV__ &&
|
||||
currentEventTransitionLane = 0,
|
||||
fakeActCallbackNode$1 = {},
|
||||
now = Scheduler.unstable_now,
|
||||
commitTime = -0,
|
||||
renderStartTime = -0,
|
||||
commitStartTime = -0,
|
||||
profilerStartTime = -1.1,
|
||||
profilerEffectDuration = -0,
|
||||
currentUpdateIsNested = !1,
|
||||
@@ -27297,6 +27328,9 @@ __DEV__ &&
|
||||
nestedPassiveUpdateCount = 0,
|
||||
rootWithPassiveNestedUpdates = null,
|
||||
isRunningInsertionEffect = !1,
|
||||
IMMEDIATE_COMMIT = 0,
|
||||
SUSPENDED_COMMIT = 1,
|
||||
THROTTLED_COMMIT = 2,
|
||||
didWarnStateUpdateForNotYetMountedComponent = null,
|
||||
didWarnAboutUpdateInRender = !1;
|
||||
var didWarnAboutUpdateInRenderForAnotherComponent = new Set();
|
||||
@@ -28113,11 +28147,11 @@ __DEV__ &&
|
||||
: flushSyncErrorInBuildsThatSupportLegacyMode;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-classic-d4688dfa-20240920" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-classic-4e9540e3-20240923" !== 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-d4688dfa-20240920\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-classic-4e9540e3-20240923\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -28161,11 +28195,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-d4688dfa-20240920",
|
||||
version: "19.0.0-www-classic-4e9540e3-20240923",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-classic-4e9540e3-20240923"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28984,5 +29018,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-classic-4e9540e3-20240923";
|
||||
})();
|
||||
|
||||
@@ -8922,32 +8922,32 @@ __DEV__ &&
|
||||
return current;
|
||||
}
|
||||
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
||||
var JSCompiler_object_inline_digest_2472;
|
||||
var JSCompiler_object_inline_stack_2473 = workInProgress.pendingProps;
|
||||
var JSCompiler_object_inline_digest_2473;
|
||||
var JSCompiler_object_inline_stack_2474 = workInProgress.pendingProps;
|
||||
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
||||
var JSCompiler_object_inline_componentStack_2474 = !1;
|
||||
var JSCompiler_object_inline_componentStack_2475 = !1;
|
||||
var didSuspend = 0 !== (workInProgress.flags & 128);
|
||||
(JSCompiler_object_inline_digest_2472 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2472 =
|
||||
(JSCompiler_object_inline_digest_2473 = didSuspend) ||
|
||||
(JSCompiler_object_inline_digest_2473 =
|
||||
null !== current && null === current.memoizedState
|
||||
? !1
|
||||
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
||||
JSCompiler_object_inline_digest_2472 &&
|
||||
((JSCompiler_object_inline_componentStack_2474 = !0),
|
||||
JSCompiler_object_inline_digest_2473 &&
|
||||
((JSCompiler_object_inline_componentStack_2475 = !0),
|
||||
(workInProgress.flags &= -129));
|
||||
JSCompiler_object_inline_digest_2472 = 0 !== (workInProgress.flags & 32);
|
||||
JSCompiler_object_inline_digest_2473 = 0 !== (workInProgress.flags & 32);
|
||||
workInProgress.flags &= -33;
|
||||
if (null === current) {
|
||||
if (isHydrating) {
|
||||
JSCompiler_object_inline_componentStack_2474
|
||||
JSCompiler_object_inline_componentStack_2475
|
||||
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
||||
: reuseSuspenseHandlerOnStack(workInProgress);
|
||||
if (isHydrating) {
|
||||
var JSCompiler_object_inline_message_2471 = nextHydratableInstance;
|
||||
var JSCompiler_object_inline_message_2472 = nextHydratableInstance;
|
||||
var JSCompiler_temp;
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2471)) {
|
||||
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2472)) {
|
||||
c: {
|
||||
var instance = JSCompiler_object_inline_message_2471;
|
||||
var instance = JSCompiler_object_inline_message_2472;
|
||||
for (
|
||||
JSCompiler_temp = rootOrSingletonContext;
|
||||
instance.nodeType !== COMMENT_NODE;
|
||||
@@ -8988,19 +8988,19 @@ __DEV__ &&
|
||||
JSCompiler_temp &&
|
||||
(warnNonHydratedInstance(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2471
|
||||
JSCompiler_object_inline_message_2472
|
||||
),
|
||||
throwOnHydrationMismatch(workInProgress));
|
||||
}
|
||||
JSCompiler_object_inline_message_2471 = workInProgress.memoizedState;
|
||||
JSCompiler_object_inline_message_2472 = workInProgress.memoizedState;
|
||||
if (
|
||||
null !== JSCompiler_object_inline_message_2471 &&
|
||||
((JSCompiler_object_inline_message_2471 =
|
||||
JSCompiler_object_inline_message_2471.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2471)
|
||||
null !== JSCompiler_object_inline_message_2472 &&
|
||||
((JSCompiler_object_inline_message_2472 =
|
||||
JSCompiler_object_inline_message_2472.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2472)
|
||||
)
|
||||
return (
|
||||
JSCompiler_object_inline_message_2471.data ===
|
||||
JSCompiler_object_inline_message_2472.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA
|
||||
? (workInProgress.lanes = 16)
|
||||
: (workInProgress.lanes = 536870912),
|
||||
@@ -9008,27 +9008,27 @@ __DEV__ &&
|
||||
);
|
||||
popSuspenseHandler(workInProgress);
|
||||
}
|
||||
JSCompiler_object_inline_message_2471 =
|
||||
JSCompiler_object_inline_stack_2473.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2473.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2474)
|
||||
JSCompiler_object_inline_message_2472 =
|
||||
JSCompiler_object_inline_stack_2474.children;
|
||||
JSCompiler_temp = JSCompiler_object_inline_stack_2474.fallback;
|
||||
if (JSCompiler_object_inline_componentStack_2475)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2473 =
|
||||
(JSCompiler_object_inline_stack_2474 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2471,
|
||||
JSCompiler_object_inline_message_2472,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2474 =
|
||||
(JSCompiler_object_inline_componentStack_2475 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2474.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2475.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2474.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2475.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2472,
|
||||
JSCompiler_object_inline_digest_2473,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
@@ -9041,9 +9041,9 @@ __DEV__ &&
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(renderLanes =
|
||||
JSCompiler_object_inline_componentStack_2474.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2475.updateQueue),
|
||||
null === renderLanes
|
||||
? (JSCompiler_object_inline_componentStack_2474.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2475.updateQueue =
|
||||
{
|
||||
transitions: workInProgress,
|
||||
markerInstances: current,
|
||||
@@ -9051,46 +9051,46 @@ __DEV__ &&
|
||||
})
|
||||
: ((renderLanes.transitions = workInProgress),
|
||||
(renderLanes.markerInstances = current)))),
|
||||
JSCompiler_object_inline_stack_2473
|
||||
JSCompiler_object_inline_stack_2474
|
||||
);
|
||||
if (
|
||||
"number" ===
|
||||
typeof JSCompiler_object_inline_stack_2473.unstable_expectedLoadTime
|
||||
typeof JSCompiler_object_inline_stack_2474.unstable_expectedLoadTime
|
||||
)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_stack_2473 =
|
||||
(JSCompiler_object_inline_stack_2474 =
|
||||
mountSuspenseFallbackChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2471,
|
||||
JSCompiler_object_inline_message_2472,
|
||||
JSCompiler_temp,
|
||||
renderLanes
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2474 =
|
||||
(JSCompiler_object_inline_componentStack_2475 =
|
||||
workInProgress.child),
|
||||
(JSCompiler_object_inline_componentStack_2474.memoizedState =
|
||||
(JSCompiler_object_inline_componentStack_2475.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_componentStack_2474.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2475.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2472,
|
||||
JSCompiler_object_inline_digest_2473,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress.lanes = 4194304),
|
||||
JSCompiler_object_inline_stack_2473
|
||||
JSCompiler_object_inline_stack_2474
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
return mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_message_2471
|
||||
JSCompiler_object_inline_message_2472
|
||||
);
|
||||
}
|
||||
var prevState = current.memoizedState;
|
||||
if (
|
||||
null !== prevState &&
|
||||
((JSCompiler_object_inline_message_2471 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2471)
|
||||
((JSCompiler_object_inline_message_2472 = prevState.dehydrated),
|
||||
null !== JSCompiler_object_inline_message_2472)
|
||||
) {
|
||||
if (didSuspend)
|
||||
workInProgress.flags & 256
|
||||
@@ -9107,94 +9107,94 @@ __DEV__ &&
|
||||
(workInProgress.flags |= 128),
|
||||
(workInProgress = null))
|
||||
: (reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2474 =
|
||||
JSCompiler_object_inline_stack_2473.fallback),
|
||||
(JSCompiler_object_inline_message_2471 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2473 =
|
||||
(JSCompiler_object_inline_componentStack_2475 =
|
||||
JSCompiler_object_inline_stack_2474.fallback),
|
||||
(JSCompiler_object_inline_message_2472 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_stack_2474 =
|
||||
mountWorkInProgressOffscreenFiber(
|
||||
{
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2473.children
|
||||
children: JSCompiler_object_inline_stack_2474.children
|
||||
},
|
||||
JSCompiler_object_inline_message_2471
|
||||
JSCompiler_object_inline_message_2472
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2474 =
|
||||
(JSCompiler_object_inline_componentStack_2475 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2474,
|
||||
JSCompiler_object_inline_message_2471,
|
||||
JSCompiler_object_inline_componentStack_2475,
|
||||
JSCompiler_object_inline_message_2472,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2474.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2473.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2474.return =
|
||||
(JSCompiler_object_inline_componentStack_2475.flags |= 2),
|
||||
(JSCompiler_object_inline_stack_2474.return = workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2475.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2473.sibling =
|
||||
JSCompiler_object_inline_componentStack_2474),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2473),
|
||||
(JSCompiler_object_inline_stack_2474.sibling =
|
||||
JSCompiler_object_inline_componentStack_2475),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2474),
|
||||
reconcileChildFibers(
|
||||
workInProgress,
|
||||
current.child,
|
||||
null,
|
||||
renderLanes
|
||||
),
|
||||
(JSCompiler_object_inline_stack_2473 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2473.memoizedState =
|
||||
(JSCompiler_object_inline_stack_2474 = workInProgress.child),
|
||||
(JSCompiler_object_inline_stack_2474.memoizedState =
|
||||
mountSuspenseOffscreenState(renderLanes)),
|
||||
(JSCompiler_object_inline_stack_2473.childLanes =
|
||||
(JSCompiler_object_inline_stack_2474.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2472,
|
||||
JSCompiler_object_inline_digest_2473,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
(workInProgress =
|
||||
JSCompiler_object_inline_componentStack_2474));
|
||||
JSCompiler_object_inline_componentStack_2475));
|
||||
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_2471.data ===
|
||||
JSCompiler_object_inline_message_2472.data ===
|
||||
SUSPENSE_FALLBACK_START_DATA)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2472 =
|
||||
JSCompiler_object_inline_message_2471.nextSibling &&
|
||||
JSCompiler_object_inline_message_2471.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2472) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2472.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2472.msg;
|
||||
instance = JSCompiler_object_inline_digest_2472.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2472.cstck;
|
||||
JSCompiler_object_inline_digest_2473 =
|
||||
JSCompiler_object_inline_message_2472.nextSibling &&
|
||||
JSCompiler_object_inline_message_2472.nextSibling.dataset;
|
||||
if (JSCompiler_object_inline_digest_2473) {
|
||||
JSCompiler_temp = JSCompiler_object_inline_digest_2473.dgst;
|
||||
var message = JSCompiler_object_inline_digest_2473.msg;
|
||||
instance = JSCompiler_object_inline_digest_2473.stck;
|
||||
var componentStack = JSCompiler_object_inline_digest_2473.cstck;
|
||||
}
|
||||
JSCompiler_object_inline_message_2471 = message;
|
||||
JSCompiler_object_inline_digest_2472 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2473 = instance;
|
||||
JSCompiler_object_inline_componentStack_2474 = componentStack;
|
||||
JSCompiler_object_inline_message_2471 =
|
||||
JSCompiler_object_inline_message_2471
|
||||
? Error(JSCompiler_object_inline_message_2471)
|
||||
JSCompiler_object_inline_message_2472 = message;
|
||||
JSCompiler_object_inline_digest_2473 = JSCompiler_temp;
|
||||
JSCompiler_object_inline_stack_2474 = instance;
|
||||
JSCompiler_object_inline_componentStack_2475 = componentStack;
|
||||
JSCompiler_object_inline_message_2472 =
|
||||
JSCompiler_object_inline_message_2472
|
||||
? Error(JSCompiler_object_inline_message_2472)
|
||||
: 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_2471.stack =
|
||||
JSCompiler_object_inline_stack_2473 || "";
|
||||
JSCompiler_object_inline_message_2471.digest =
|
||||
JSCompiler_object_inline_digest_2472;
|
||||
JSCompiler_object_inline_digest_2472 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2474
|
||||
JSCompiler_object_inline_message_2472.stack =
|
||||
JSCompiler_object_inline_stack_2474 || "";
|
||||
JSCompiler_object_inline_message_2472.digest =
|
||||
JSCompiler_object_inline_digest_2473;
|
||||
JSCompiler_object_inline_digest_2473 =
|
||||
void 0 === JSCompiler_object_inline_componentStack_2475
|
||||
? null
|
||||
: JSCompiler_object_inline_componentStack_2474;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2472 &&
|
||||
: JSCompiler_object_inline_componentStack_2475;
|
||||
"string" === typeof JSCompiler_object_inline_digest_2473 &&
|
||||
CapturedStacks.set(
|
||||
JSCompiler_object_inline_message_2471,
|
||||
JSCompiler_object_inline_digest_2472
|
||||
JSCompiler_object_inline_message_2472,
|
||||
JSCompiler_object_inline_digest_2473
|
||||
);
|
||||
queueHydrationError({
|
||||
value: JSCompiler_object_inline_message_2471,
|
||||
value: JSCompiler_object_inline_message_2472,
|
||||
source: null,
|
||||
stack: JSCompiler_object_inline_digest_2472
|
||||
stack: JSCompiler_object_inline_digest_2473
|
||||
});
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9209,25 +9209,25 @@ __DEV__ &&
|
||||
renderLanes,
|
||||
!1
|
||||
),
|
||||
(JSCompiler_object_inline_digest_2472 =
|
||||
(JSCompiler_object_inline_digest_2473 =
|
||||
0 !== (renderLanes & current.childLanes)),
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2472)
|
||||
didReceiveUpdate || JSCompiler_object_inline_digest_2473)
|
||||
) {
|
||||
JSCompiler_object_inline_digest_2472 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2472) {
|
||||
JSCompiler_object_inline_stack_2473 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2473 & 42))
|
||||
JSCompiler_object_inline_stack_2473 = 1;
|
||||
JSCompiler_object_inline_digest_2473 = workInProgressRoot;
|
||||
if (null !== JSCompiler_object_inline_digest_2473) {
|
||||
JSCompiler_object_inline_stack_2474 = renderLanes & -renderLanes;
|
||||
if (0 !== (JSCompiler_object_inline_stack_2474 & 42))
|
||||
JSCompiler_object_inline_stack_2474 = 1;
|
||||
else
|
||||
switch (JSCompiler_object_inline_stack_2473) {
|
||||
switch (JSCompiler_object_inline_stack_2474) {
|
||||
case 2:
|
||||
JSCompiler_object_inline_stack_2473 = 1;
|
||||
JSCompiler_object_inline_stack_2474 = 1;
|
||||
break;
|
||||
case 8:
|
||||
JSCompiler_object_inline_stack_2473 = 4;
|
||||
JSCompiler_object_inline_stack_2474 = 4;
|
||||
break;
|
||||
case 32:
|
||||
JSCompiler_object_inline_stack_2473 = 16;
|
||||
JSCompiler_object_inline_stack_2474 = 16;
|
||||
break;
|
||||
case 128:
|
||||
case 256:
|
||||
@@ -9248,40 +9248,40 @@ __DEV__ &&
|
||||
case 8388608:
|
||||
case 16777216:
|
||||
case 33554432:
|
||||
JSCompiler_object_inline_stack_2473 = 64;
|
||||
JSCompiler_object_inline_stack_2474 = 64;
|
||||
break;
|
||||
case 268435456:
|
||||
JSCompiler_object_inline_stack_2473 = 134217728;
|
||||
JSCompiler_object_inline_stack_2474 = 134217728;
|
||||
break;
|
||||
default:
|
||||
JSCompiler_object_inline_stack_2473 = 0;
|
||||
JSCompiler_object_inline_stack_2474 = 0;
|
||||
}
|
||||
JSCompiler_object_inline_stack_2473 =
|
||||
JSCompiler_object_inline_stack_2474 =
|
||||
0 !==
|
||||
(JSCompiler_object_inline_stack_2473 &
|
||||
(JSCompiler_object_inline_digest_2472.suspendedLanes |
|
||||
(JSCompiler_object_inline_stack_2474 &
|
||||
(JSCompiler_object_inline_digest_2473.suspendedLanes |
|
||||
renderLanes))
|
||||
? 0
|
||||
: JSCompiler_object_inline_stack_2473;
|
||||
: JSCompiler_object_inline_stack_2474;
|
||||
if (
|
||||
0 !== JSCompiler_object_inline_stack_2473 &&
|
||||
JSCompiler_object_inline_stack_2473 !== prevState.retryLane
|
||||
0 !== JSCompiler_object_inline_stack_2474 &&
|
||||
JSCompiler_object_inline_stack_2474 !== prevState.retryLane
|
||||
)
|
||||
throw (
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2473),
|
||||
((prevState.retryLane = JSCompiler_object_inline_stack_2474),
|
||||
enqueueConcurrentRenderForLane(
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2473
|
||||
JSCompiler_object_inline_stack_2474
|
||||
),
|
||||
scheduleUpdateOnFiber(
|
||||
JSCompiler_object_inline_digest_2472,
|
||||
JSCompiler_object_inline_digest_2473,
|
||||
current,
|
||||
JSCompiler_object_inline_stack_2473
|
||||
JSCompiler_object_inline_stack_2474
|
||||
),
|
||||
SelectiveHydrationException)
|
||||
);
|
||||
}
|
||||
JSCompiler_object_inline_message_2471.data ===
|
||||
JSCompiler_object_inline_message_2472.data ===
|
||||
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
||||
workInProgress = retrySuspenseComponentWithoutHydrating(
|
||||
current,
|
||||
@@ -9289,7 +9289,7 @@ __DEV__ &&
|
||||
renderLanes
|
||||
);
|
||||
} else
|
||||
JSCompiler_object_inline_message_2471.data ===
|
||||
JSCompiler_object_inline_message_2472.data ===
|
||||
SUSPENSE_PENDING_START_DATA
|
||||
? ((workInProgress.flags |= 128),
|
||||
(workInProgress.child = current.child),
|
||||
@@ -9297,12 +9297,12 @@ __DEV__ &&
|
||||
null,
|
||||
current
|
||||
)),
|
||||
(JSCompiler_object_inline_message_2471._reactRetry =
|
||||
(JSCompiler_object_inline_message_2472._reactRetry =
|
||||
workInProgress),
|
||||
(workInProgress = null))
|
||||
: ((current = prevState.treeContext),
|
||||
(nextHydratableInstance = getNextHydratable(
|
||||
JSCompiler_object_inline_message_2471.nextSibling
|
||||
JSCompiler_object_inline_message_2472.nextSibling
|
||||
)),
|
||||
(hydrationParentFiber = workInProgress),
|
||||
(isHydrating = !0),
|
||||
@@ -9320,57 +9320,57 @@ __DEV__ &&
|
||||
(treeContextProvider = workInProgress)),
|
||||
(workInProgress = mountSuspensePrimaryChildren(
|
||||
workInProgress,
|
||||
JSCompiler_object_inline_stack_2473.children
|
||||
JSCompiler_object_inline_stack_2474.children
|
||||
)),
|
||||
(workInProgress.flags |= 4096));
|
||||
return workInProgress;
|
||||
}
|
||||
if (JSCompiler_object_inline_componentStack_2474)
|
||||
if (JSCompiler_object_inline_componentStack_2475)
|
||||
return (
|
||||
reuseSuspenseHandlerOnStack(workInProgress),
|
||||
(JSCompiler_object_inline_componentStack_2474 =
|
||||
JSCompiler_object_inline_stack_2473.fallback),
|
||||
(JSCompiler_object_inline_message_2471 = workInProgress.mode),
|
||||
(JSCompiler_object_inline_componentStack_2475 =
|
||||
JSCompiler_object_inline_stack_2474.fallback),
|
||||
(JSCompiler_object_inline_message_2472 = workInProgress.mode),
|
||||
(JSCompiler_temp = current.child),
|
||||
(instance = JSCompiler_temp.sibling),
|
||||
(JSCompiler_object_inline_stack_2473 = createWorkInProgress(
|
||||
(JSCompiler_object_inline_stack_2474 = createWorkInProgress(
|
||||
JSCompiler_temp,
|
||||
{
|
||||
mode: "hidden",
|
||||
children: JSCompiler_object_inline_stack_2473.children
|
||||
children: JSCompiler_object_inline_stack_2474.children
|
||||
}
|
||||
)),
|
||||
(JSCompiler_object_inline_stack_2473.subtreeFlags =
|
||||
(JSCompiler_object_inline_stack_2474.subtreeFlags =
|
||||
JSCompiler_temp.subtreeFlags & 31457280),
|
||||
null !== instance
|
||||
? (JSCompiler_object_inline_componentStack_2474 =
|
||||
? (JSCompiler_object_inline_componentStack_2475 =
|
||||
createWorkInProgress(
|
||||
instance,
|
||||
JSCompiler_object_inline_componentStack_2474
|
||||
JSCompiler_object_inline_componentStack_2475
|
||||
))
|
||||
: ((JSCompiler_object_inline_componentStack_2474 =
|
||||
: ((JSCompiler_object_inline_componentStack_2475 =
|
||||
createFiberFromFragment(
|
||||
JSCompiler_object_inline_componentStack_2474,
|
||||
JSCompiler_object_inline_message_2471,
|
||||
JSCompiler_object_inline_componentStack_2475,
|
||||
JSCompiler_object_inline_message_2472,
|
||||
renderLanes,
|
||||
null
|
||||
)),
|
||||
(JSCompiler_object_inline_componentStack_2474.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2474.return =
|
||||
(JSCompiler_object_inline_componentStack_2475.flags |= 2)),
|
||||
(JSCompiler_object_inline_componentStack_2475.return =
|
||||
workInProgress),
|
||||
(JSCompiler_object_inline_stack_2473.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2473.sibling =
|
||||
JSCompiler_object_inline_componentStack_2474),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2473),
|
||||
(JSCompiler_object_inline_stack_2473 =
|
||||
JSCompiler_object_inline_componentStack_2474),
|
||||
(JSCompiler_object_inline_componentStack_2474 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2471 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2471
|
||||
? (JSCompiler_object_inline_message_2471 =
|
||||
(JSCompiler_object_inline_stack_2474.return = workInProgress),
|
||||
(JSCompiler_object_inline_stack_2474.sibling =
|
||||
JSCompiler_object_inline_componentStack_2475),
|
||||
(workInProgress.child = JSCompiler_object_inline_stack_2474),
|
||||
(JSCompiler_object_inline_stack_2474 =
|
||||
JSCompiler_object_inline_componentStack_2475),
|
||||
(JSCompiler_object_inline_componentStack_2475 = workInProgress.child),
|
||||
(JSCompiler_object_inline_message_2472 = current.child.memoizedState),
|
||||
null === JSCompiler_object_inline_message_2472
|
||||
? (JSCompiler_object_inline_message_2472 =
|
||||
mountSuspenseOffscreenState(renderLanes))
|
||||
: ((JSCompiler_temp =
|
||||
JSCompiler_object_inline_message_2471.cachePool),
|
||||
JSCompiler_object_inline_message_2472.cachePool),
|
||||
null !== JSCompiler_temp
|
||||
? ((instance = CacheContext._currentValue),
|
||||
(JSCompiler_temp =
|
||||
@@ -9378,34 +9378,34 @@ __DEV__ &&
|
||||
? { parent: instance, pool: instance }
|
||||
: JSCompiler_temp))
|
||||
: (JSCompiler_temp = getSuspendedCache()),
|
||||
(JSCompiler_object_inline_message_2471 = {
|
||||
(JSCompiler_object_inline_message_2472 = {
|
||||
baseLanes:
|
||||
JSCompiler_object_inline_message_2471.baseLanes | renderLanes,
|
||||
JSCompiler_object_inline_message_2472.baseLanes | renderLanes,
|
||||
cachePool: JSCompiler_temp
|
||||
})),
|
||||
(JSCompiler_object_inline_componentStack_2474.memoizedState =
|
||||
JSCompiler_object_inline_message_2471),
|
||||
(JSCompiler_object_inline_componentStack_2475.memoizedState =
|
||||
JSCompiler_object_inline_message_2472),
|
||||
enableTransitionTracing &&
|
||||
((JSCompiler_object_inline_message_2471 = enableTransitionTracing
|
||||
((JSCompiler_object_inline_message_2472 = enableTransitionTracing
|
||||
? transitionStack.current
|
||||
: null),
|
||||
null !== JSCompiler_object_inline_message_2471 &&
|
||||
null !== JSCompiler_object_inline_message_2472 &&
|
||||
((JSCompiler_temp = enableTransitionTracing
|
||||
? markerInstanceStack.current
|
||||
: null),
|
||||
(instance =
|
||||
JSCompiler_object_inline_componentStack_2474.updateQueue),
|
||||
JSCompiler_object_inline_componentStack_2475.updateQueue),
|
||||
(componentStack = current.updateQueue),
|
||||
null === instance
|
||||
? (JSCompiler_object_inline_componentStack_2474.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2471,
|
||||
? (JSCompiler_object_inline_componentStack_2475.updateQueue = {
|
||||
transitions: JSCompiler_object_inline_message_2472,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue: null
|
||||
})
|
||||
: instance === componentStack
|
||||
? (JSCompiler_object_inline_componentStack_2474.updateQueue =
|
||||
? (JSCompiler_object_inline_componentStack_2475.updateQueue =
|
||||
{
|
||||
transitions: JSCompiler_object_inline_message_2471,
|
||||
transitions: JSCompiler_object_inline_message_2472,
|
||||
markerInstances: JSCompiler_temp,
|
||||
retryQueue:
|
||||
null !== componentStack
|
||||
@@ -9413,32 +9413,32 @@ __DEV__ &&
|
||||
: null
|
||||
})
|
||||
: ((instance.transitions =
|
||||
JSCompiler_object_inline_message_2471),
|
||||
JSCompiler_object_inline_message_2472),
|
||||
(instance.markerInstances = JSCompiler_temp)))),
|
||||
(JSCompiler_object_inline_componentStack_2474.childLanes =
|
||||
(JSCompiler_object_inline_componentStack_2475.childLanes =
|
||||
getRemainingWorkInPrimaryTree(
|
||||
current,
|
||||
JSCompiler_object_inline_digest_2472,
|
||||
JSCompiler_object_inline_digest_2473,
|
||||
renderLanes
|
||||
)),
|
||||
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
||||
JSCompiler_object_inline_stack_2473
|
||||
JSCompiler_object_inline_stack_2474
|
||||
);
|
||||
pushPrimaryTreeSuspenseHandler(workInProgress);
|
||||
renderLanes = current.child;
|
||||
current = renderLanes.sibling;
|
||||
renderLanes = createWorkInProgress(renderLanes, {
|
||||
mode: "visible",
|
||||
children: JSCompiler_object_inline_stack_2473.children
|
||||
children: JSCompiler_object_inline_stack_2474.children
|
||||
});
|
||||
renderLanes.return = workInProgress;
|
||||
renderLanes.sibling = null;
|
||||
null !== current &&
|
||||
((JSCompiler_object_inline_digest_2472 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2472
|
||||
((JSCompiler_object_inline_digest_2473 = workInProgress.deletions),
|
||||
null === JSCompiler_object_inline_digest_2473
|
||||
? ((workInProgress.deletions = [current]),
|
||||
(workInProgress.flags |= 16))
|
||||
: JSCompiler_object_inline_digest_2472.push(current));
|
||||
: JSCompiler_object_inline_digest_2473.push(current));
|
||||
workInProgress.child = renderLanes;
|
||||
workInProgress.memoizedState = null;
|
||||
return renderLanes;
|
||||
@@ -12321,7 +12321,12 @@ __DEV__ &&
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
function commitProfiler(finishedWork, current, commitTime, effectDuration) {
|
||||
function commitProfiler(
|
||||
finishedWork,
|
||||
current,
|
||||
commitStartTime,
|
||||
effectDuration
|
||||
) {
|
||||
var _finishedWork$memoize = finishedWork.memoizedProps,
|
||||
id = _finishedWork$memoize.id,
|
||||
onCommit = _finishedWork$memoize.onCommit;
|
||||
@@ -12335,20 +12340,20 @@ __DEV__ &&
|
||||
finishedWork.actualDuration,
|
||||
finishedWork.treeBaseDuration,
|
||||
finishedWork.actualStartTime,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
"function" === typeof onCommit &&
|
||||
onCommit(
|
||||
finishedWork.memoizedProps.id,
|
||||
current,
|
||||
effectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommitImpl(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
var _finishedWork$memoize2 = finishedWork.memoizedProps;
|
||||
@@ -12361,13 +12366,13 @@ __DEV__ &&
|
||||
finishedWork,
|
||||
current,
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -12376,7 +12381,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommitImpl,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
);
|
||||
} catch (error$21) {
|
||||
@@ -12869,7 +12874,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -14173,7 +14178,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
includeWorkInProgressEffects.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -14430,7 +14435,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
finishedWork.alternate,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.passiveEffectDuration
|
||||
))
|
||||
: recursivelyTraversePassiveMountEffects(
|
||||
@@ -15425,7 +15430,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
else {
|
||||
if (
|
||||
@@ -15456,7 +15464,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
THROTTLED_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
),
|
||||
didTimeout
|
||||
);
|
||||
@@ -15472,7 +15483,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -15530,7 +15544,10 @@ __DEV__ &&
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var subtreeFlags = finishedWork.subtreeFlags;
|
||||
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
|
||||
@@ -15549,7 +15566,8 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
SUSPENDED_COMMIT
|
||||
)
|
||||
);
|
||||
markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);
|
||||
@@ -15562,7 +15580,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -15681,7 +15702,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -16341,7 +16365,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = Internals.p;
|
||||
@@ -16356,7 +16383,10 @@ __DEV__ &&
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -16435,9 +16465,10 @@ __DEV__ &&
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
@@ -16450,7 +16481,6 @@ __DEV__ &&
|
||||
root,
|
||||
finishedWork
|
||||
)),
|
||||
(commitTime = now()),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
suspendedRetryLanes &&
|
||||
((_enabled = !0),
|
||||
@@ -16486,7 +16516,7 @@ __DEV__ &&
|
||||
(executionContext = updatedLanes),
|
||||
(Internals.p = spawnedLane),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: ((root.current = finishedWork), (commitTime = now()));
|
||||
: (root.current = finishedWork);
|
||||
(transitions = rootDoesHavePassiveEffects)
|
||||
? ((rootDoesHavePassiveEffects = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -16565,7 +16595,7 @@ __DEV__ &&
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -16581,7 +16611,7 @@ __DEV__ &&
|
||||
return (
|
||||
(Internals.p = renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
(Internals.p = previousPriority),
|
||||
@@ -24523,7 +24553,8 @@ __DEV__ &&
|
||||
currentEventTransitionLane = 0,
|
||||
fakeActCallbackNode$1 = {},
|
||||
now = Scheduler.unstable_now,
|
||||
commitTime = -0,
|
||||
renderStartTime = -0,
|
||||
commitStartTime = -0,
|
||||
profilerStartTime = -1.1,
|
||||
profilerEffectDuration = -0,
|
||||
currentUpdateIsNested = !1,
|
||||
@@ -26414,6 +26445,9 @@ __DEV__ &&
|
||||
nestedPassiveUpdateCount = 0,
|
||||
rootWithPassiveNestedUpdates = null,
|
||||
isRunningInsertionEffect = !1,
|
||||
IMMEDIATE_COMMIT = 0,
|
||||
SUSPENDED_COMMIT = 1,
|
||||
THROTTLED_COMMIT = 2,
|
||||
didWarnStateUpdateForNotYetMountedComponent = null,
|
||||
didWarnAboutUpdateInRender = !1;
|
||||
var didWarnAboutUpdateInRenderForAnotherComponent = new Set();
|
||||
@@ -27230,11 +27264,11 @@ __DEV__ &&
|
||||
return_targetInst = null;
|
||||
(function () {
|
||||
var isomorphicReactPackageVersion = React.version;
|
||||
if ("19.0.0-www-modern-d4688dfa-20240920" !== isomorphicReactPackageVersion)
|
||||
if ("19.0.0-www-modern-4e9540e3-20240923" !== 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-d4688dfa-20240920\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
"\n - react-dom: 19.0.0-www-modern-4e9540e3-20240923\nLearn more: https://react.dev/warnings/version-mismatch")
|
||||
);
|
||||
})();
|
||||
("function" === typeof Map &&
|
||||
@@ -27277,11 +27311,11 @@ __DEV__ &&
|
||||
!(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-d4688dfa-20240920",
|
||||
version: "19.0.0-www-modern-4e9540e3-20240923",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-modern-4e9540e3-20240923"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -28052,5 +28086,5 @@ __DEV__ &&
|
||||
exports.useFormStatus = function () {
|
||||
return resolveDispatcher().useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-modern-4e9540e3-20240923";
|
||||
})();
|
||||
|
||||
@@ -8686,7 +8686,7 @@ function safelyDetachRef(current, nearestMountedAncestor) {
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -8698,7 +8698,7 @@ function commitProfilerPostCommit(
|
||||
id,
|
||||
null === current ? "mount" : "update",
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
@@ -11444,7 +11444,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
2,
|
||||
-0,
|
||||
0
|
||||
),
|
||||
exitStatus
|
||||
);
|
||||
@@ -11460,7 +11463,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -11515,7 +11521,10 @@ function commitRootWhenReady(
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var subtreeFlags = finishedWork.subtreeFlags;
|
||||
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
|
||||
@@ -11534,7 +11543,8 @@ function commitRootWhenReady(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
1
|
||||
)
|
||||
);
|
||||
markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);
|
||||
@@ -11547,7 +11557,10 @@ function commitRootWhenReady(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -11660,7 +11673,10 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -12167,7 +12183,10 @@ function commitRoot(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = Internals.p;
|
||||
@@ -12182,7 +12201,10 @@ function commitRoot(
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -12233,7 +12255,7 @@ function commitRootImpl(
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
@@ -12316,7 +12338,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root$216 = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -12328,7 +12350,7 @@ function flushPassiveEffects() {
|
||||
return (
|
||||
(Internals.p = 32 > renderPriority ? 32 : renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
(Internals.p = previousPriority),
|
||||
@@ -13654,14 +13676,14 @@ var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$384;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1583 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1583) {
|
||||
var element$jscomp$inline_1584 = document.createElement("div");
|
||||
element$jscomp$inline_1584.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1583 =
|
||||
"function" === typeof element$jscomp$inline_1584.oninput;
|
||||
var isSupported$jscomp$inline_1585 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1585) {
|
||||
var element$jscomp$inline_1586 = document.createElement("div");
|
||||
element$jscomp$inline_1586.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1585 =
|
||||
"function" === typeof element$jscomp$inline_1586.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$384 = isSupported$jscomp$inline_1583;
|
||||
JSCompiler_inline_result$jscomp$384 = isSupported$jscomp$inline_1585;
|
||||
} else JSCompiler_inline_result$jscomp$384 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$384 &&
|
||||
@@ -14075,20 +14097,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1624 = 0;
|
||||
i$jscomp$inline_1624 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1624++
|
||||
var i$jscomp$inline_1626 = 0;
|
||||
i$jscomp$inline_1626 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1626++
|
||||
) {
|
||||
var eventName$jscomp$inline_1625 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1624],
|
||||
domEventName$jscomp$inline_1626 =
|
||||
eventName$jscomp$inline_1625.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1627 =
|
||||
eventName$jscomp$inline_1625[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1625.slice(1);
|
||||
var eventName$jscomp$inline_1627 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1626],
|
||||
domEventName$jscomp$inline_1628 =
|
||||
eventName$jscomp$inline_1627.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1629 =
|
||||
eventName$jscomp$inline_1627[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1627.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1626,
|
||||
"on" + capitalizedEvent$jscomp$inline_1627
|
||||
domEventName$jscomp$inline_1628,
|
||||
"on" + capitalizedEvent$jscomp$inline_1629
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -17754,16 +17776,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1797 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1799 = React.version;
|
||||
if (
|
||||
"19.0.0-www-classic-d4688dfa-20240920" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1797
|
||||
"19.0.0-www-classic-4e9540e3-20240923" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1799
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1797,
|
||||
"19.0.0-www-classic-d4688dfa-20240920"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1799,
|
||||
"19.0.0-www-classic-4e9540e3-20240923"
|
||||
)
|
||||
);
|
||||
function flushSyncFromReconciler(fn) {
|
||||
@@ -17806,25 +17828,25 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var internals$jscomp$inline_2310 = {
|
||||
var internals$jscomp$inline_2312 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-classic-d4688dfa-20240920",
|
||||
version: "19.0.0-www-classic-4e9540e3-20240923",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-classic-4e9540e3-20240923"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2311 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2313 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2311.isDisabled &&
|
||||
hook$jscomp$inline_2311.supportsFiber
|
||||
!hook$jscomp$inline_2313.isDisabled &&
|
||||
hook$jscomp$inline_2313.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2311.inject(
|
||||
internals$jscomp$inline_2310
|
||||
(rendererID = hook$jscomp$inline_2313.inject(
|
||||
internals$jscomp$inline_2312
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2311);
|
||||
(injectedHook = hook$jscomp$inline_2313);
|
||||
} catch (err) {}
|
||||
}
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
@@ -18419,4 +18441,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-classic-4e9540e3-20240923";
|
||||
|
||||
@@ -8249,7 +8249,7 @@ function safelyDetachRef(current, nearestMountedAncestor) {
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -8261,7 +8261,7 @@ function commitProfilerPostCommit(
|
||||
id,
|
||||
null === current ? "mount" : "update",
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
@@ -10979,7 +10979,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
2,
|
||||
-0,
|
||||
0
|
||||
),
|
||||
exitStatus
|
||||
);
|
||||
@@ -10995,7 +10998,10 @@ function performConcurrentWorkOnRoot(root, didTimeout) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -11050,7 +11056,10 @@ function commitRootWhenReady(
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var subtreeFlags = finishedWork.subtreeFlags;
|
||||
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
|
||||
@@ -11069,7 +11078,8 @@ function commitRootWhenReady(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
1
|
||||
)
|
||||
);
|
||||
markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);
|
||||
@@ -11082,7 +11092,10 @@ function commitRootWhenReady(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -11195,7 +11208,10 @@ function performSyncWorkOnRoot(root, lanes) {
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -11685,7 +11701,10 @@ function commitRoot(
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = Internals.p;
|
||||
@@ -11700,7 +11719,10 @@ function commitRoot(
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -11751,7 +11773,7 @@ function commitRootImpl(
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
@@ -11832,7 +11854,7 @@ function releaseRootPooledCache(root, remainingLanes) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root$207 = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -11844,7 +11866,7 @@ function flushPassiveEffects() {
|
||||
return (
|
||||
(Internals.p = 32 > renderPriority ? 32 : renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
(Internals.p = previousPriority),
|
||||
@@ -13076,14 +13098,14 @@ var isInputEventSupported = !1;
|
||||
if (canUseDOM) {
|
||||
var JSCompiler_inline_result$jscomp$371;
|
||||
if (canUseDOM) {
|
||||
var isSupported$jscomp$inline_1554 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1554) {
|
||||
var element$jscomp$inline_1555 = document.createElement("div");
|
||||
element$jscomp$inline_1555.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1554 =
|
||||
"function" === typeof element$jscomp$inline_1555.oninput;
|
||||
var isSupported$jscomp$inline_1556 = "oninput" in document;
|
||||
if (!isSupported$jscomp$inline_1556) {
|
||||
var element$jscomp$inline_1557 = document.createElement("div");
|
||||
element$jscomp$inline_1557.setAttribute("oninput", "return;");
|
||||
isSupported$jscomp$inline_1556 =
|
||||
"function" === typeof element$jscomp$inline_1557.oninput;
|
||||
}
|
||||
JSCompiler_inline_result$jscomp$371 = isSupported$jscomp$inline_1554;
|
||||
JSCompiler_inline_result$jscomp$371 = isSupported$jscomp$inline_1556;
|
||||
} else JSCompiler_inline_result$jscomp$371 = !1;
|
||||
isInputEventSupported =
|
||||
JSCompiler_inline_result$jscomp$371 &&
|
||||
@@ -13497,20 +13519,20 @@ function extractEvents$1(
|
||||
}
|
||||
}
|
||||
for (
|
||||
var i$jscomp$inline_1595 = 0;
|
||||
i$jscomp$inline_1595 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1595++
|
||||
var i$jscomp$inline_1597 = 0;
|
||||
i$jscomp$inline_1597 < simpleEventPluginEvents.length;
|
||||
i$jscomp$inline_1597++
|
||||
) {
|
||||
var eventName$jscomp$inline_1596 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1595],
|
||||
domEventName$jscomp$inline_1597 =
|
||||
eventName$jscomp$inline_1596.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1598 =
|
||||
eventName$jscomp$inline_1596[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1596.slice(1);
|
||||
var eventName$jscomp$inline_1598 =
|
||||
simpleEventPluginEvents[i$jscomp$inline_1597],
|
||||
domEventName$jscomp$inline_1599 =
|
||||
eventName$jscomp$inline_1598.toLowerCase(),
|
||||
capitalizedEvent$jscomp$inline_1600 =
|
||||
eventName$jscomp$inline_1598[0].toUpperCase() +
|
||||
eventName$jscomp$inline_1598.slice(1);
|
||||
registerSimpleEvent(
|
||||
domEventName$jscomp$inline_1597,
|
||||
"on" + capitalizedEvent$jscomp$inline_1598
|
||||
domEventName$jscomp$inline_1599,
|
||||
"on" + capitalizedEvent$jscomp$inline_1600
|
||||
);
|
||||
}
|
||||
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
||||
@@ -17125,16 +17147,16 @@ function getCrossOriginStringAs(as, input) {
|
||||
if ("string" === typeof input)
|
||||
return "use-credentials" === input ? input : "";
|
||||
}
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1768 = React.version;
|
||||
var isomorphicReactPackageVersion$jscomp$inline_1770 = React.version;
|
||||
if (
|
||||
"19.0.0-www-modern-d4688dfa-20240920" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1768
|
||||
"19.0.0-www-modern-4e9540e3-20240923" !==
|
||||
isomorphicReactPackageVersion$jscomp$inline_1770
|
||||
)
|
||||
throw Error(
|
||||
formatProdErrorMessage(
|
||||
527,
|
||||
isomorphicReactPackageVersion$jscomp$inline_1768,
|
||||
"19.0.0-www-modern-d4688dfa-20240920"
|
||||
isomorphicReactPackageVersion$jscomp$inline_1770,
|
||||
"19.0.0-www-modern-4e9540e3-20240923"
|
||||
)
|
||||
);
|
||||
Internals.findDOMNode = function (componentOrElement) {
|
||||
@@ -17150,25 +17172,25 @@ Internals.Events = [
|
||||
return fn(a);
|
||||
}
|
||||
];
|
||||
var internals$jscomp$inline_2301 = {
|
||||
var internals$jscomp$inline_2303 = {
|
||||
bundleType: 0,
|
||||
version: "19.0.0-www-modern-d4688dfa-20240920",
|
||||
version: "19.0.0-www-modern-4e9540e3-20240923",
|
||||
rendererPackageName: "react-dom",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getClosestInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-modern-4e9540e3-20240923"
|
||||
};
|
||||
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
||||
var hook$jscomp$inline_2302 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
var hook$jscomp$inline_2304 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
||||
if (
|
||||
!hook$jscomp$inline_2302.isDisabled &&
|
||||
hook$jscomp$inline_2302.supportsFiber
|
||||
!hook$jscomp$inline_2304.isDisabled &&
|
||||
hook$jscomp$inline_2304.supportsFiber
|
||||
)
|
||||
try {
|
||||
(rendererID = hook$jscomp$inline_2302.inject(
|
||||
internals$jscomp$inline_2301
|
||||
(rendererID = hook$jscomp$inline_2304.inject(
|
||||
internals$jscomp$inline_2303
|
||||
)),
|
||||
(injectedHook = hook$jscomp$inline_2302);
|
||||
(injectedHook = hook$jscomp$inline_2304);
|
||||
} catch (err) {}
|
||||
}
|
||||
function ReactDOMRoot(internalRoot) {
|
||||
@@ -17670,4 +17692,4 @@ exports.useFormState = function (action, initialState, permalink) {
|
||||
exports.useFormStatus = function () {
|
||||
return ReactSharedInternals.H.useHostTransitionStatus();
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-modern-4e9540e3-20240923";
|
||||
|
||||
@@ -11060,7 +11060,12 @@ __DEV__ &&
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
function commitProfiler(finishedWork, current, commitTime, effectDuration) {
|
||||
function commitProfiler(
|
||||
finishedWork,
|
||||
current,
|
||||
commitStartTime,
|
||||
effectDuration
|
||||
) {
|
||||
var _finishedWork$memoize = finishedWork.memoizedProps,
|
||||
id = _finishedWork$memoize.id,
|
||||
onCommit = _finishedWork$memoize.onCommit;
|
||||
@@ -11074,20 +11079,20 @@ __DEV__ &&
|
||||
finishedWork.actualDuration,
|
||||
finishedWork.treeBaseDuration,
|
||||
finishedWork.actualStartTime,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
"function" === typeof onCommit &&
|
||||
onCommit(
|
||||
finishedWork.memoizedProps.id,
|
||||
current,
|
||||
effectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommitImpl(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
var _finishedWork$memoize2 = finishedWork.memoizedProps;
|
||||
@@ -11100,13 +11105,13 @@ __DEV__ &&
|
||||
finishedWork,
|
||||
current,
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -11115,7 +11120,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommitImpl,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
);
|
||||
} catch (error$21) {
|
||||
@@ -11537,7 +11542,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -12791,7 +12796,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
includeWorkInProgressEffects.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -13048,7 +13053,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
finishedWork.alternate,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.passiveEffectDuration
|
||||
))
|
||||
: recursivelyTraversePassiveMountEffects(
|
||||
@@ -14092,7 +14097,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
else {
|
||||
if (
|
||||
@@ -14123,7 +14131,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
THROTTLED_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
),
|
||||
didTimeout
|
||||
);
|
||||
@@ -14139,7 +14150,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -14198,7 +14212,10 @@ __DEV__ &&
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var subtreeFlags = finishedWork.subtreeFlags;
|
||||
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
|
||||
@@ -14217,7 +14234,8 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
SUSPENDED_COMMIT
|
||||
)
|
||||
);
|
||||
markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);
|
||||
@@ -14230,7 +14248,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -14349,7 +14370,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -15019,7 +15043,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = getCurrentUpdatePriority();
|
||||
@@ -15034,7 +15061,10 @@ __DEV__ &&
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -15113,9 +15143,10 @@ __DEV__ &&
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
@@ -15128,7 +15159,6 @@ __DEV__ &&
|
||||
root,
|
||||
finishedWork
|
||||
)),
|
||||
(commitTime = now()),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
suspendedRetryLanes && afterActiveInstanceBlur(),
|
||||
resetAfterCommit(root.containerInfo),
|
||||
@@ -15159,7 +15189,7 @@ __DEV__ &&
|
||||
(executionContext = updatedLanes),
|
||||
setCurrentUpdatePriority(spawnedLane),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: ((root.current = finishedWork), (commitTime = now()));
|
||||
: (root.current = finishedWork);
|
||||
(transitions = rootDoesHavePassiveEffects)
|
||||
? ((rootDoesHavePassiveEffects = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -15240,7 +15270,7 @@ __DEV__ &&
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -15253,7 +15283,7 @@ __DEV__ &&
|
||||
return (
|
||||
setCurrentUpdatePriority(renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
setCurrentUpdatePriority(previousPriority),
|
||||
@@ -16768,7 +16798,8 @@ __DEV__ &&
|
||||
currentEventTransitionLane = 0,
|
||||
fakeActCallbackNode$1 = {},
|
||||
now = Scheduler.unstable_now,
|
||||
commitTime = -0,
|
||||
renderStartTime = -0,
|
||||
commitStartTime = -0,
|
||||
profilerStartTime = -1.1,
|
||||
profilerEffectDuration = -0,
|
||||
currentUpdateIsNested = !1,
|
||||
@@ -18661,6 +18692,9 @@ __DEV__ &&
|
||||
nestedPassiveUpdateCount = 0,
|
||||
rootWithPassiveNestedUpdates = null,
|
||||
isRunningInsertionEffect = !1,
|
||||
IMMEDIATE_COMMIT = 0,
|
||||
SUSPENDED_COMMIT = 1,
|
||||
THROTTLED_COMMIT = 2,
|
||||
didWarnStateUpdateForNotYetMountedComponent = null,
|
||||
didWarnAboutUpdateInRender = !1;
|
||||
var didWarnAboutUpdateInRenderForAnotherComponent = new Set();
|
||||
@@ -19227,7 +19261,7 @@ __DEV__ &&
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-classic-4e9540e3-20240923"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -10662,7 +10662,12 @@ __DEV__ &&
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
function commitProfiler(finishedWork, current, commitTime, effectDuration) {
|
||||
function commitProfiler(
|
||||
finishedWork,
|
||||
current,
|
||||
commitStartTime,
|
||||
effectDuration
|
||||
) {
|
||||
var _finishedWork$memoize = finishedWork.memoizedProps,
|
||||
id = _finishedWork$memoize.id,
|
||||
onCommit = _finishedWork$memoize.onCommit;
|
||||
@@ -10676,20 +10681,20 @@ __DEV__ &&
|
||||
finishedWork.actualDuration,
|
||||
finishedWork.treeBaseDuration,
|
||||
finishedWork.actualStartTime,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
"function" === typeof onCommit &&
|
||||
onCommit(
|
||||
finishedWork.memoizedProps.id,
|
||||
current,
|
||||
effectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommitImpl(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
var _finishedWork$memoize2 = finishedWork.memoizedProps;
|
||||
@@ -10702,13 +10707,13 @@ __DEV__ &&
|
||||
finishedWork,
|
||||
current,
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -10717,7 +10722,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommitImpl,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
);
|
||||
} catch (error$21) {
|
||||
@@ -11139,7 +11144,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -12386,7 +12391,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
includeWorkInProgressEffects.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -12643,7 +12648,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
finishedWork.alternate,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.passiveEffectDuration
|
||||
))
|
||||
: recursivelyTraversePassiveMountEffects(
|
||||
@@ -13607,7 +13612,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
else {
|
||||
if (
|
||||
@@ -13638,7 +13646,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
THROTTLED_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
),
|
||||
didTimeout
|
||||
);
|
||||
@@ -13654,7 +13665,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -13713,7 +13727,10 @@ __DEV__ &&
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var subtreeFlags = finishedWork.subtreeFlags;
|
||||
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
|
||||
@@ -13732,7 +13749,8 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
SUSPENDED_COMMIT
|
||||
)
|
||||
);
|
||||
markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);
|
||||
@@ -13745,7 +13763,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -13864,7 +13885,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -14530,7 +14554,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = getCurrentUpdatePriority();
|
||||
@@ -14545,7 +14572,10 @@ __DEV__ &&
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -14624,9 +14654,10 @@ __DEV__ &&
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
@@ -14639,7 +14670,6 @@ __DEV__ &&
|
||||
root,
|
||||
finishedWork
|
||||
)),
|
||||
(commitTime = now()),
|
||||
commitMutationEffects(root, finishedWork, lanes),
|
||||
suspendedRetryLanes && afterActiveInstanceBlur(),
|
||||
resetAfterCommit(root.containerInfo),
|
||||
@@ -14670,7 +14700,7 @@ __DEV__ &&
|
||||
(executionContext = updatedLanes),
|
||||
setCurrentUpdatePriority(spawnedLane),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: ((root.current = finishedWork), (commitTime = now()));
|
||||
: (root.current = finishedWork);
|
||||
(transitions = rootDoesHavePassiveEffects)
|
||||
? ((rootDoesHavePassiveEffects = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -14749,7 +14779,7 @@ __DEV__ &&
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -14762,7 +14792,7 @@ __DEV__ &&
|
||||
return (
|
||||
setCurrentUpdatePriority(renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
setCurrentUpdatePriority(previousPriority),
|
||||
@@ -16176,7 +16206,8 @@ __DEV__ &&
|
||||
currentEventTransitionLane = 0,
|
||||
fakeActCallbackNode$1 = {},
|
||||
now = Scheduler.unstable_now,
|
||||
commitTime = -0,
|
||||
renderStartTime = -0,
|
||||
commitStartTime = -0,
|
||||
profilerStartTime = -1.1,
|
||||
profilerEffectDuration = -0,
|
||||
currentUpdateIsNested = !1,
|
||||
@@ -18068,6 +18099,9 @@ __DEV__ &&
|
||||
nestedPassiveUpdateCount = 0,
|
||||
rootWithPassiveNestedUpdates = null,
|
||||
isRunningInsertionEffect = !1,
|
||||
IMMEDIATE_COMMIT = 0,
|
||||
SUSPENDED_COMMIT = 1,
|
||||
THROTTLED_COMMIT = 2,
|
||||
didWarnStateUpdateForNotYetMountedComponent = null,
|
||||
didWarnAboutUpdateInRender = !1;
|
||||
var didWarnAboutUpdateInRenderForAnotherComponent = new Set();
|
||||
@@ -18621,7 +18655,7 @@ __DEV__ &&
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-modern-4e9540e3-20240923"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -7538,7 +7538,7 @@ module.exports = function ($$$config) {
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -7550,7 +7550,7 @@ module.exports = function ($$$config) {
|
||||
id,
|
||||
null === current ? "mount" : "update",
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
@@ -10090,7 +10090,10 @@ module.exports = function ($$$config) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
2,
|
||||
-0,
|
||||
0
|
||||
),
|
||||
exitStatus
|
||||
);
|
||||
@@ -10106,7 +10109,10 @@ module.exports = function ($$$config) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -10164,7 +10170,10 @@ module.exports = function ($$$config) {
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var subtreeFlags = finishedWork.subtreeFlags;
|
||||
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
|
||||
@@ -10183,7 +10192,8 @@ module.exports = function ($$$config) {
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
1
|
||||
)
|
||||
);
|
||||
markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);
|
||||
@@ -10196,7 +10206,10 @@ module.exports = function ($$$config) {
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -10309,7 +10322,10 @@ module.exports = function ($$$config) {
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -10821,7 +10837,10 @@ module.exports = function ($$$config) {
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = getCurrentUpdatePriority();
|
||||
@@ -10836,7 +10855,10 @@ module.exports = function ($$$config) {
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -10887,7 +10909,7 @@ module.exports = function ($$$config) {
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
@@ -10966,7 +10988,7 @@ module.exports = function ($$$config) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -10979,7 +11001,7 @@ module.exports = function ($$$config) {
|
||||
return (
|
||||
setCurrentUpdatePriority(renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
setCurrentUpdatePriority(previousPriority),
|
||||
@@ -12871,7 +12893,7 @@ module.exports = function ($$$config) {
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-classic-4e9540e3-20240923"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -7139,7 +7139,7 @@ module.exports = function ($$$config) {
|
||||
function commitProfilerPostCommit(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
try {
|
||||
@@ -7151,7 +7151,7 @@ module.exports = function ($$$config) {
|
||||
id,
|
||||
null === current ? "mount" : "update",
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
} catch (error) {
|
||||
captureCommitPhaseError(finishedWork, finishedWork.return, error);
|
||||
@@ -9648,7 +9648,10 @@ module.exports = function ($$$config) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
2,
|
||||
-0,
|
||||
0
|
||||
),
|
||||
exitStatus
|
||||
);
|
||||
@@ -9664,7 +9667,10 @@ module.exports = function ($$$config) {
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -9722,7 +9728,10 @@ module.exports = function ($$$config) {
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var subtreeFlags = finishedWork.subtreeFlags;
|
||||
if (subtreeFlags & 8192 || 16785408 === (subtreeFlags & 16785408))
|
||||
@@ -9741,7 +9750,8 @@ module.exports = function ($$$config) {
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
1
|
||||
)
|
||||
);
|
||||
markRootSuspended(root, lanes, spawnedLane, didSkipSuspendedSiblings);
|
||||
@@ -9754,7 +9764,10 @@ module.exports = function ($$$config) {
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -9867,7 +9880,10 @@ module.exports = function ($$$config) {
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
0,
|
||||
-0,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -10375,7 +10391,10 @@ module.exports = function ($$$config) {
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = getCurrentUpdatePriority();
|
||||
@@ -10390,7 +10409,10 @@ module.exports = function ($$$config) {
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -10441,7 +10463,7 @@ module.exports = function ($$$config) {
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
@@ -10518,7 +10540,7 @@ module.exports = function ($$$config) {
|
||||
null != remainingLanes &&
|
||||
((root.pooledCache = null), releaseCache(remainingLanes)));
|
||||
}
|
||||
function flushPassiveEffects() {
|
||||
function flushPassiveEffects(wasDelayedCommit) {
|
||||
if (null !== rootWithPendingPassiveEffects) {
|
||||
var root = rootWithPendingPassiveEffects,
|
||||
remainingLanes = pendingPassiveEffectsRemainingLanes;
|
||||
@@ -10531,7 +10553,7 @@ module.exports = function ($$$config) {
|
||||
return (
|
||||
setCurrentUpdatePriority(renderPriority),
|
||||
(ReactSharedInternals.T = null),
|
||||
flushPassiveEffectsImpl()
|
||||
flushPassiveEffectsImpl(wasDelayedCommit)
|
||||
);
|
||||
} finally {
|
||||
setCurrentUpdatePriority(previousPriority),
|
||||
@@ -12364,7 +12386,7 @@ module.exports = function ($$$config) {
|
||||
rendererPackageName: rendererPackageName,
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-modern-4e9540e3-20240923"
|
||||
};
|
||||
null !== extraDevToolsConfig &&
|
||||
(internals.rendererConfig = extraDevToolsConfig);
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"use strict";
|
||||
__DEV__ &&
|
||||
(function () {
|
||||
function JSCompiler_object_inline_createNodeMock_1098() {
|
||||
function JSCompiler_object_inline_createNodeMock_1100() {
|
||||
return null;
|
||||
}
|
||||
function findHook(fiber, id) {
|
||||
@@ -8966,7 +8966,12 @@ __DEV__ &&
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
function commitProfiler(finishedWork, current, commitTime, effectDuration) {
|
||||
function commitProfiler(
|
||||
finishedWork,
|
||||
current,
|
||||
commitStartTime,
|
||||
effectDuration
|
||||
) {
|
||||
var _finishedWork$memoize = finishedWork.memoizedProps,
|
||||
id = _finishedWork$memoize.id,
|
||||
onCommit = _finishedWork$memoize.onCommit;
|
||||
@@ -8980,20 +8985,20 @@ __DEV__ &&
|
||||
finishedWork.actualDuration,
|
||||
finishedWork.treeBaseDuration,
|
||||
finishedWork.actualStartTime,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
"function" === typeof onCommit &&
|
||||
onCommit(
|
||||
finishedWork.memoizedProps.id,
|
||||
current,
|
||||
effectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommitImpl(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
var _finishedWork$memoize2 = finishedWork.memoizedProps;
|
||||
@@ -9006,7 +9011,7 @@ __DEV__ &&
|
||||
finishedWork,
|
||||
current,
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitHostMount(finishedWork) {
|
||||
@@ -9312,7 +9317,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -10086,7 +10091,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
includeWorkInProgressEffects.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -10224,7 +10229,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommitImpl,
|
||||
finishedWork,
|
||||
finishedWork.alternate,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.passiveEffectDuration
|
||||
);
|
||||
} catch (error$21) {
|
||||
@@ -10866,7 +10871,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
else {
|
||||
if (
|
||||
@@ -10896,7 +10904,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
THROTTLED_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
),
|
||||
didTimeout
|
||||
);
|
||||
@@ -10912,7 +10923,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -10966,7 +10980,11 @@ __DEV__ &&
|
||||
lanes,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
lanes = finishedWork.subtreeFlags;
|
||||
(lanes & 8192 || 16785408 === (lanes & 16785408)) &&
|
||||
@@ -10978,7 +10996,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -11084,7 +11105,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -11652,7 +11676,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = currentUpdatePriority;
|
||||
@@ -11667,7 +11694,10 @@ __DEV__ &&
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -11727,9 +11757,10 @@ __DEV__ &&
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
@@ -11739,7 +11770,6 @@ __DEV__ &&
|
||||
(updatedLanes = executionContext),
|
||||
(executionContext |= CommitContext),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
(commitTime = now()),
|
||||
commitMutationEffectsOnFiber(finishedWork, root),
|
||||
(root.current = finishedWork),
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
||||
@@ -11747,7 +11777,7 @@ __DEV__ &&
|
||||
(executionContext = updatedLanes),
|
||||
(currentUpdatePriority = spawnedLane),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: ((root.current = finishedWork), (commitTime = now()));
|
||||
: (root.current = finishedWork);
|
||||
(transitions = rootDoesHavePassiveEffects)
|
||||
? ((rootDoesHavePassiveEffects = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -13077,7 +13107,8 @@ __DEV__ &&
|
||||
currentEventTransitionLane = 0,
|
||||
fakeActCallbackNode$1 = {},
|
||||
now = Scheduler$1.unstable_now,
|
||||
commitTime = -0,
|
||||
renderStartTime = -0,
|
||||
commitStartTime = -0,
|
||||
profilerStartTime = -1.1,
|
||||
profilerEffectDuration = -0,
|
||||
currentUpdateIsNested = !1,
|
||||
@@ -14770,6 +14801,8 @@ __DEV__ &&
|
||||
nestedPassiveUpdateCount = 0,
|
||||
rootWithPassiveNestedUpdates = null,
|
||||
isRunningInsertionEffect = !1,
|
||||
IMMEDIATE_COMMIT = 0,
|
||||
THROTTLED_COMMIT = 2,
|
||||
didWarnStateUpdateForNotYetMountedComponent = null,
|
||||
didWarnAboutUpdateInRender = !1;
|
||||
var didWarnAboutUpdateInRenderForAnotherComponent = new Set();
|
||||
@@ -14987,11 +15020,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-classic-d4688dfa-20240920",
|
||||
version: "19.0.0-www-classic-4e9540e3-20240923",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-classic-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-classic-4e9540e3-20240923"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15011,7 +15044,7 @@ __DEV__ &&
|
||||
exports._Scheduler = Scheduler;
|
||||
exports.act = act;
|
||||
exports.create = function (element, options) {
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1098,
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1100,
|
||||
isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT,
|
||||
isConcurrent = isConcurrentOnly,
|
||||
isStrictMode = !1;
|
||||
@@ -15126,5 +15159,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.0.0-www-classic-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-classic-4e9540e3-20240923";
|
||||
})();
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"use strict";
|
||||
__DEV__ &&
|
||||
(function () {
|
||||
function JSCompiler_object_inline_createNodeMock_1098() {
|
||||
function JSCompiler_object_inline_createNodeMock_1100() {
|
||||
return null;
|
||||
}
|
||||
function findHook(fiber, id) {
|
||||
@@ -8966,7 +8966,12 @@ __DEV__ &&
|
||||
}
|
||||
else ref.current = null;
|
||||
}
|
||||
function commitProfiler(finishedWork, current, commitTime, effectDuration) {
|
||||
function commitProfiler(
|
||||
finishedWork,
|
||||
current,
|
||||
commitStartTime,
|
||||
effectDuration
|
||||
) {
|
||||
var _finishedWork$memoize = finishedWork.memoizedProps,
|
||||
id = _finishedWork$memoize.id,
|
||||
onCommit = _finishedWork$memoize.onCommit;
|
||||
@@ -8980,20 +8985,20 @@ __DEV__ &&
|
||||
finishedWork.actualDuration,
|
||||
finishedWork.treeBaseDuration,
|
||||
finishedWork.actualStartTime,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
"function" === typeof onCommit &&
|
||||
onCommit(
|
||||
finishedWork.memoizedProps.id,
|
||||
current,
|
||||
effectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitProfilerPostCommitImpl(
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
passiveEffectDuration
|
||||
) {
|
||||
var _finishedWork$memoize2 = finishedWork.memoizedProps;
|
||||
@@ -9006,7 +9011,7 @@ __DEV__ &&
|
||||
finishedWork,
|
||||
current,
|
||||
passiveEffectDuration,
|
||||
commitTime
|
||||
commitStartTime
|
||||
);
|
||||
}
|
||||
function commitHostMount(finishedWork) {
|
||||
@@ -9312,7 +9317,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -10086,7 +10091,7 @@ __DEV__ &&
|
||||
commitProfiler,
|
||||
finishedWork,
|
||||
current,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
includeWorkInProgressEffects.effectDuration
|
||||
);
|
||||
} catch (error$20) {
|
||||
@@ -10224,7 +10229,7 @@ __DEV__ &&
|
||||
commitProfilerPostCommitImpl,
|
||||
finishedWork,
|
||||
finishedWork.alternate,
|
||||
commitTime,
|
||||
commitStartTime,
|
||||
finishedRoot.passiveEffectDuration
|
||||
);
|
||||
} catch (error$21) {
|
||||
@@ -10866,7 +10871,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
else {
|
||||
if (
|
||||
@@ -10896,7 +10904,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
THROTTLED_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
),
|
||||
didTimeout
|
||||
);
|
||||
@@ -10912,7 +10923,10 @@ __DEV__ &&
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes,
|
||||
workInProgressRootDidSkipSuspendedSiblings
|
||||
workInProgressRootDidSkipSuspendedSiblings,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -10966,7 +10980,11 @@ __DEV__ &&
|
||||
lanes,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
didSkipSuspendedSiblings,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
lanes = finishedWork.subtreeFlags;
|
||||
(lanes & 8192 || 16785408 === (lanes & 16785408)) &&
|
||||
@@ -10978,7 +10996,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
}
|
||||
function isRenderConsistentWithExternalStores(finishedWork) {
|
||||
@@ -11084,7 +11105,10 @@ __DEV__ &&
|
||||
workInProgressRootDidIncludeRecursiveRenderUpdate,
|
||||
workInProgressDeferredLane,
|
||||
workInProgressRootInterleavedUpdatedLanes,
|
||||
workInProgressSuspendedRetryLanes
|
||||
workInProgressSuspendedRetryLanes,
|
||||
IMMEDIATE_COMMIT,
|
||||
renderStartTime,
|
||||
0
|
||||
);
|
||||
ensureRootIsScheduled(root);
|
||||
return null;
|
||||
@@ -11652,7 +11676,10 @@ __DEV__ &&
|
||||
didIncludeRenderPhaseUpdate,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
) {
|
||||
var prevTransition = ReactSharedInternals.T,
|
||||
previousUpdateLanePriority = currentUpdatePriority;
|
||||
@@ -11667,7 +11694,10 @@ __DEV__ &&
|
||||
previousUpdateLanePriority,
|
||||
spawnedLane,
|
||||
updatedLanes,
|
||||
suspendedRetryLanes
|
||||
suspendedRetryLanes,
|
||||
suspendedCommitReason,
|
||||
completedRenderStartTime,
|
||||
completedRenderEndTime
|
||||
);
|
||||
} finally {
|
||||
(ReactSharedInternals.T = prevTransition),
|
||||
@@ -11727,9 +11757,10 @@ __DEV__ &&
|
||||
(pendingPassiveEffectsRemainingLanes = remainingLanes),
|
||||
(pendingPassiveTransitions = transitions),
|
||||
scheduleCallback(NormalPriority$1, function () {
|
||||
flushPassiveEffects();
|
||||
flushPassiveEffects(!0);
|
||||
return null;
|
||||
}));
|
||||
commitStartTime = now();
|
||||
transitions = 0 !== (finishedWork.flags & 15990);
|
||||
0 !== (finishedWork.subtreeFlags & 15990) || transitions
|
||||
? ((transitions = ReactSharedInternals.T),
|
||||
@@ -11739,7 +11770,6 @@ __DEV__ &&
|
||||
(updatedLanes = executionContext),
|
||||
(executionContext |= CommitContext),
|
||||
commitBeforeMutationEffects(root, finishedWork),
|
||||
(commitTime = now()),
|
||||
commitMutationEffectsOnFiber(finishedWork, root),
|
||||
(root.current = finishedWork),
|
||||
commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork),
|
||||
@@ -11747,7 +11777,7 @@ __DEV__ &&
|
||||
(executionContext = updatedLanes),
|
||||
(currentUpdatePriority = spawnedLane),
|
||||
(ReactSharedInternals.T = transitions))
|
||||
: ((root.current = finishedWork), (commitTime = now()));
|
||||
: (root.current = finishedWork);
|
||||
(transitions = rootDoesHavePassiveEffects)
|
||||
? ((rootDoesHavePassiveEffects = !1),
|
||||
(rootWithPendingPassiveEffects = root),
|
||||
@@ -13077,7 +13107,8 @@ __DEV__ &&
|
||||
currentEventTransitionLane = 0,
|
||||
fakeActCallbackNode$1 = {},
|
||||
now = Scheduler$1.unstable_now,
|
||||
commitTime = -0,
|
||||
renderStartTime = -0,
|
||||
commitStartTime = -0,
|
||||
profilerStartTime = -1.1,
|
||||
profilerEffectDuration = -0,
|
||||
currentUpdateIsNested = !1,
|
||||
@@ -14770,6 +14801,8 @@ __DEV__ &&
|
||||
nestedPassiveUpdateCount = 0,
|
||||
rootWithPassiveNestedUpdates = null,
|
||||
isRunningInsertionEffect = !1,
|
||||
IMMEDIATE_COMMIT = 0,
|
||||
THROTTLED_COMMIT = 2,
|
||||
didWarnStateUpdateForNotYetMountedComponent = null,
|
||||
didWarnAboutUpdateInRender = !1;
|
||||
var didWarnAboutUpdateInRenderForAnotherComponent = new Set();
|
||||
@@ -14987,11 +15020,11 @@ __DEV__ &&
|
||||
(function () {
|
||||
var internals = {
|
||||
bundleType: 1,
|
||||
version: "19.0.0-www-modern-d4688dfa-20240920",
|
||||
version: "19.0.0-www-modern-4e9540e3-20240923",
|
||||
rendererPackageName: "react-test-renderer",
|
||||
currentDispatcherRef: ReactSharedInternals,
|
||||
findFiberByHostInstance: getInstanceFromNode,
|
||||
reconcilerVersion: "19.0.0-www-modern-d4688dfa-20240920"
|
||||
reconcilerVersion: "19.0.0-www-modern-4e9540e3-20240923"
|
||||
};
|
||||
internals.overrideHookState = overrideHookState;
|
||||
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
||||
@@ -15011,7 +15044,7 @@ __DEV__ &&
|
||||
exports._Scheduler = Scheduler;
|
||||
exports.act = act;
|
||||
exports.create = function (element, options) {
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1098,
|
||||
var createNodeMock = JSCompiler_object_inline_createNodeMock_1100,
|
||||
isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT,
|
||||
isConcurrent = isConcurrentOnly,
|
||||
isStrictMode = !1;
|
||||
@@ -15126,5 +15159,5 @@ __DEV__ &&
|
||||
exports.unstable_batchedUpdates = function (fn, a) {
|
||||
return fn(a);
|
||||
};
|
||||
exports.version = "19.0.0-www-modern-d4688dfa-20240920";
|
||||
exports.version = "19.0.0-www-modern-4e9540e3-20240923";
|
||||
})();
|
||||
|
||||
@@ -1 +1 @@
|
||||
19.0.0-www-classic-d4688dfa-20240920
|
||||
19.0.0-www-classic-4e9540e3-20240923
|
||||
@@ -1 +1 @@
|
||||
19.0.0-www-modern-d4688dfa-20240920
|
||||
19.0.0-www-modern-4e9540e3-20240923
|
||||
Reference in New Issue
Block a user