From 91481161af640f0182377e052d8fb49cee69e5d7 Mon Sep 17 00:00:00 2001 From: acdlite Date: Wed, 3 Sep 2025 16:30:02 -0700 Subject: [PATCH] Fix: uDV skipped initial value if earlier transition suspended (#34376) Fixes a bug in useDeferredValue's optional `initialValue` argument. In the regression case, if a new useDeferredValue hook is mounted while an earlier transition is suspended, the `initialValue` argument of the new hook was ignored. After the fix, the `initialValue` argument is correctly rendered during the initial mount, regardless of whether other transitions were suspended. The culprit was related to the mechanism we use to track whether a render is the result of a `useDeferredValue` hook: we assign the deferred lane a TransitionLane, then entangle that lane with the DeferredLane bit. During the subsequent render, we check for the presence of the DeferredLane bit to determine whether to switch to the final, canonical value. But because transition lanes can themselves become entangled with other transitions, the effect is that every entangled transition was being treated as if it were the result of a `useDeferredValue` hook, causing us to skip the initial value and go straight to the final one. The fix I've chosen is to reserve some subset of TransitionLanes to be used only for deferred work, instead of using entanglement. This is similar to how retries are already implemented. Originally I tried not to implement it this way because it means there are now slightly fewer lanes allocated for regular transitions, but I underestimated how similar deferred work is to retries; they end up having a lot of the same requirements. Eventually it may be possible to merge the two concepts. DiffTrain build for [3302d1f791f3f1cf4e8cf69bee70ce5dab1b8436](https://github.com/facebook/react/commit/3302d1f791f3f1cf4e8cf69bee70ce5dab1b8436) --- compiled/facebook-www/REVISION | 2 +- compiled/facebook-www/REVISION_TRANSFORMS | 2 +- compiled/facebook-www/React-dev.classic.js | 2 +- compiled/facebook-www/React-dev.modern.js | 2 +- compiled/facebook-www/React-prod.classic.js | 2 +- compiled/facebook-www/React-prod.modern.js | 2 +- .../facebook-www/React-profiling.classic.js | 2 +- .../facebook-www/React-profiling.modern.js | 2 +- compiled/facebook-www/ReactART-dev.classic.js | 61 ++-- compiled/facebook-www/ReactART-dev.modern.js | 61 ++-- .../facebook-www/ReactART-prod.classic.js | 75 +++-- compiled/facebook-www/ReactART-prod.modern.js | 75 +++-- compiled/facebook-www/ReactDOM-dev.classic.js | 283 +++++++++--------- compiled/facebook-www/ReactDOM-dev.modern.js | 283 +++++++++--------- .../facebook-www/ReactDOM-prod.classic.js | 107 ++++--- compiled/facebook-www/ReactDOM-prod.modern.js | 107 ++++--- .../ReactDOM-profiling.classic.js | 111 +++---- .../facebook-www/ReactDOM-profiling.modern.js | 111 +++---- .../ReactDOMServer-dev.classic.js | 2 +- .../facebook-www/ReactDOMServer-dev.modern.js | 2 +- .../ReactDOMServer-prod.classic.js | 2 +- .../ReactDOMServer-prod.modern.js | 2 +- .../ReactDOMTesting-dev.classic.js | 283 +++++++++--------- .../ReactDOMTesting-dev.modern.js | 283 +++++++++--------- .../ReactDOMTesting-prod.classic.js | 107 ++++--- .../ReactDOMTesting-prod.modern.js | 107 ++++--- .../ReactReconciler-dev.classic.js | 55 ++-- .../ReactReconciler-dev.modern.js | 55 ++-- .../ReactReconciler-prod.classic.js | 55 ++-- .../ReactReconciler-prod.modern.js | 55 ++-- .../ReactTestRenderer-dev.classic.js | 65 ++-- .../ReactTestRenderer-dev.modern.js | 65 ++-- compiled/facebook-www/VERSION_CLASSIC | 2 +- compiled/facebook-www/VERSION_MODERN | 2 +- 34 files changed, 1332 insertions(+), 1100 deletions(-) diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index c5a046e0e5..522673f2dc 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -3168e08f8389d258de9eb7c8d19b9d44a0f250f2 +3302d1f791f3f1cf4e8cf69bee70ce5dab1b8436 diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index c5a046e0e5..522673f2dc 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -3168e08f8389d258de9eb7c8d19b9d44a0f250f2 +3302d1f791f3f1cf4e8cf69bee70ce5dab1b8436 diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 41ef6597b6..398e2e8174 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -1418,7 +1418,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-www-classic-3168e08f-20250903"; + exports.version = "19.2.0-www-classic-3302d1f7-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-dev.modern.js b/compiled/facebook-www/React-dev.modern.js index dc25e8a845..0124502d76 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -1418,7 +1418,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-www-modern-3168e08f-20250903"; + exports.version = "19.2.0-www-modern-3302d1f7-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-prod.classic.js b/compiled/facebook-www/React-prod.classic.js index df6273cc85..05e9ee77c0 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -600,4 +600,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-www-classic-3168e08f-20250903"; +exports.version = "19.2.0-www-classic-3302d1f7-20250903"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 3c043a2d49..ff469314cd 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -600,4 +600,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-www-modern-3168e08f-20250903"; +exports.version = "19.2.0-www-modern-3302d1f7-20250903"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index f87394b3a3..e6a1872767 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -604,7 +604,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-www-classic-3168e08f-20250903"; +exports.version = "19.2.0-www-classic-3302d1f7-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-profiling.modern.js b/compiled/facebook-www/React-profiling.modern.js index 5d9b5e2463..55df6533e0 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -604,7 +604,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-www-modern-3168e08f-20250903"; +exports.version = "19.2.0-www-modern-3302d1f7-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-dev.classic.js b/compiled/facebook-www/ReactART-dev.classic.js index 698636add6..a5cdb0e0fe 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -437,11 +437,12 @@ __DEV__ && case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -563,12 +564,6 @@ __DEV__ && ); } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -636,7 +631,7 @@ __DEV__ && root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -3522,8 +3517,12 @@ __DEV__ && function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -6551,7 +6550,11 @@ __DEV__ && ); } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -6567,7 +6570,11 @@ __DEV__ && objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -14442,13 +14449,18 @@ __DEV__ && : currentUpdatePriority || DefaultEventPriority; } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 !== (workInProgressRootRenderLanes & 536870912) - ? 536870912 - : claimNextTransitionLane()); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 !== (workInProgressRootRenderLanes & 536870912)) + workInProgressDeferredLane = 536870912; + else { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -16323,7 +16335,7 @@ __DEV__ && suspendedCommitReason = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42)) + (0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -17544,7 +17556,8 @@ __DEV__ && clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2, - nextTransitionLane = 256, + nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, DiscreteEventPriority = 2, ContinuousEventPriority = 8, @@ -19695,10 +19708,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-www-classic-3168e08f-20250903", + version: "19.2.0-www-classic-3302d1f7-20250903", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-classic-3302d1f7-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -19732,7 +19745,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.2.0-www-classic-3168e08f-20250903"; + exports.version = "19.2.0-www-classic-3302d1f7-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js index 4c9856221d..4ff0ae27bf 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -437,11 +437,12 @@ __DEV__ && case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -563,12 +564,6 @@ __DEV__ && ); } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -636,7 +631,7 @@ __DEV__ && root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -3428,8 +3423,12 @@ __DEV__ && function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -6457,7 +6456,11 @@ __DEV__ && ); } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -6473,7 +6476,11 @@ __DEV__ && objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -14260,13 +14267,18 @@ __DEV__ && : currentUpdatePriority || DefaultEventPriority; } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 !== (workInProgressRootRenderLanes & 536870912) - ? 536870912 - : claimNextTransitionLane()); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 !== (workInProgressRootRenderLanes & 536870912)) + workInProgressDeferredLane = 536870912; + else { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -16136,7 +16148,7 @@ __DEV__ && suspendedCommitReason = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42)) + (0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -17320,7 +17332,8 @@ __DEV__ && clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2, - nextTransitionLane = 256, + nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, DiscreteEventPriority = 2, ContinuousEventPriority = 8, @@ -19466,10 +19479,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-www-modern-3168e08f-20250903", + version: "19.2.0-www-modern-3302d1f7-20250903", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-modern-3302d1f7-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -19503,7 +19516,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.2.0-www-modern-3168e08f-20250903"; + exports.version = "19.2.0-www-modern-3302d1f7-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-prod.classic.js b/compiled/facebook-www/ReactART-prod.classic.js index 09ab9cc488..be1a62e5ff 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -306,7 +306,8 @@ function clz32Fallback(x) { x >>>= 0; return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0; } -var nextTransitionLane = 256, +var nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304; function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; @@ -338,11 +339,12 @@ function getHighestPriorityLanes(lanes) { case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -453,12 +455,6 @@ function computeExpirationTime(lane, currentTime) { return -1; } } -function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; -} function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -526,7 +522,7 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -1665,8 +1661,12 @@ function performSyncWorkOnRoot(root, lanes) { function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -3845,7 +3845,11 @@ function updateMemo(nextCreate, deps) { return prevState; } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -3861,7 +3865,11 @@ function updateDeferredValueImpl(hook, prevValue, value, initialValue) { objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -9683,13 +9691,18 @@ function requestUpdateLane() { : currentUpdatePriority || 32; } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 !== (workInProgressRootRenderLanes & 536870912) - ? 536870912 - : claimNextTransitionLane()); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 !== (workInProgressRootRenderLanes & 536870912)) + workInProgressDeferredLane = 536870912; + else { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -10674,7 +10687,7 @@ function flushSpawnedWork() { passiveSubtreeMask = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (passiveSubtreeMask & 42)) + (0 !== (lanes & 261930) && 0 !== (passiveSubtreeMask & 42)) ? root === rootWithNestedUpdates ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) @@ -11404,24 +11417,24 @@ var slice = Array.prototype.slice, }; return Text; })(React.Component); -var internals$jscomp$inline_1626 = { +var internals$jscomp$inline_1631 = { bundleType: 0, - version: "19.2.0-www-classic-3168e08f-20250903", + version: "19.2.0-www-classic-3302d1f7-20250903", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-classic-3302d1f7-20250903" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1627 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1632 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1627.isDisabled && - hook$jscomp$inline_1627.supportsFiber + !hook$jscomp$inline_1632.isDisabled && + hook$jscomp$inline_1632.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1627.inject( - internals$jscomp$inline_1626 + (rendererID = hook$jscomp$inline_1632.inject( + internals$jscomp$inline_1631 )), - (injectedHook = hook$jscomp$inline_1627); + (injectedHook = hook$jscomp$inline_1632); } catch (err) {} } var Path = Mode$1.Path; @@ -11435,4 +11448,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.2.0-www-classic-3168e08f-20250903"; +exports.version = "19.2.0-www-classic-3302d1f7-20250903"; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index 25f79c01c0..9726075524 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -238,7 +238,8 @@ function clz32Fallback(x) { x >>>= 0; return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0; } -var nextTransitionLane = 256, +var nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304; function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; @@ -270,11 +271,12 @@ function getHighestPriorityLanes(lanes) { case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -385,12 +387,6 @@ function computeExpirationTime(lane, currentTime) { return -1; } } -function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; -} function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -458,7 +454,7 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -1523,8 +1519,12 @@ function performSyncWorkOnRoot(root, lanes) { function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -3703,7 +3703,11 @@ function updateMemo(nextCreate, deps) { return prevState; } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -3719,7 +3723,11 @@ function updateDeferredValueImpl(hook, prevValue, value, initialValue) { objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -9435,13 +9443,18 @@ function requestUpdateLane() { : currentUpdatePriority || 32; } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 !== (workInProgressRootRenderLanes & 536870912) - ? 536870912 - : claimNextTransitionLane()); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 !== (workInProgressRootRenderLanes & 536870912)) + workInProgressDeferredLane = 536870912; + else { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -10421,7 +10434,7 @@ function flushSpawnedWork() { passiveSubtreeMask = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (passiveSubtreeMask & 42)) + (0 !== (lanes & 261930) && 0 !== (passiveSubtreeMask & 42)) ? root === rootWithNestedUpdates ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) @@ -11116,24 +11129,24 @@ var slice = Array.prototype.slice, }; return Text; })(React.Component); -var internals$jscomp$inline_1599 = { +var internals$jscomp$inline_1604 = { bundleType: 0, - version: "19.2.0-www-modern-3168e08f-20250903", + version: "19.2.0-www-modern-3302d1f7-20250903", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-modern-3302d1f7-20250903" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1600 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1605 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1600.isDisabled && - hook$jscomp$inline_1600.supportsFiber + !hook$jscomp$inline_1605.isDisabled && + hook$jscomp$inline_1605.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1600.inject( - internals$jscomp$inline_1599 + (rendererID = hook$jscomp$inline_1605.inject( + internals$jscomp$inline_1604 )), - (injectedHook = hook$jscomp$inline_1600); + (injectedHook = hook$jscomp$inline_1605); } catch (err) {} } var Path = Mode$1.Path; @@ -11147,4 +11160,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.2.0-www-modern-3168e08f-20250903"; +exports.version = "19.2.0-www-modern-3302d1f7-20250903"; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index da89be7ca9..04b133478b 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -529,11 +529,12 @@ __DEV__ && case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -655,12 +656,6 @@ __DEV__ && ); } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -728,7 +723,7 @@ __DEV__ && root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -5557,8 +5552,12 @@ __DEV__ && function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -8685,7 +8684,11 @@ __DEV__ && ); } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -8701,7 +8704,11 @@ __DEV__ && objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -10905,24 +10912,24 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_3041; - var JSCompiler_object_inline_stack_3042 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_3046; + var JSCompiler_object_inline_stack_3047 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_3040 = !1; + var JSCompiler_object_inline_message_3045 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_3041 = didSuspend) || - (JSCompiler_object_inline_digest_3041 = + (JSCompiler_object_inline_digest_3046 = didSuspend) || + (JSCompiler_object_inline_digest_3046 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_3041 && - ((JSCompiler_object_inline_message_3040 = !0), + JSCompiler_object_inline_digest_3046 && + ((JSCompiler_object_inline_message_3045 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_3041 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_3046 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_3040 + JSCompiler_object_inline_message_3045 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); (current = nextHydratableInstance) @@ -10935,18 +10942,18 @@ __DEV__ && ? renderLanes : null), null !== renderLanes && - ((JSCompiler_object_inline_digest_3041 = { + ((JSCompiler_object_inline_digest_3046 = { dehydrated: renderLanes, treeContext: getSuspendedTreeContext(), retryLane: 536870912, hydrationErrors: null }), (workInProgress.memoizedState = - JSCompiler_object_inline_digest_3041), - (JSCompiler_object_inline_digest_3041 = + JSCompiler_object_inline_digest_3046), + (JSCompiler_object_inline_digest_3046 = createFiberFromDehydratedFragment(renderLanes)), - (JSCompiler_object_inline_digest_3041.return = workInProgress), - (workInProgress.child = JSCompiler_object_inline_digest_3041), + (JSCompiler_object_inline_digest_3046.return = workInProgress), + (workInProgress.child = JSCompiler_object_inline_digest_3046), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null))) : (renderLanes = null); @@ -10960,9 +10967,9 @@ __DEV__ && : (workInProgress.lanes = 536870912); return null; } - var nextPrimaryChildren = JSCompiler_object_inline_stack_3042.children, - nextFallbackChildren = JSCompiler_object_inline_stack_3042.fallback; - if (JSCompiler_object_inline_message_3040) + var nextPrimaryChildren = JSCompiler_object_inline_stack_3047.children, + nextFallbackChildren = JSCompiler_object_inline_stack_3047.fallback; + if (JSCompiler_object_inline_message_3045) return ( reuseSuspenseHandlerOnStack(workInProgress), mountSuspenseFallbackChildren( @@ -10971,13 +10978,13 @@ __DEV__ && nextFallbackChildren, renderLanes ), - (JSCompiler_object_inline_stack_3042 = workInProgress.child), - (JSCompiler_object_inline_stack_3042.memoizedState = + (JSCompiler_object_inline_stack_3047 = workInProgress.child), + (JSCompiler_object_inline_stack_3047.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_3042.childLanes = + (JSCompiler_object_inline_stack_3047.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3041, + JSCompiler_object_inline_digest_3046, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -10989,20 +10996,20 @@ __DEV__ && ((current = enableTransitionTracing ? markerInstanceStack.current : null), - (renderLanes = JSCompiler_object_inline_stack_3042.updateQueue), + (renderLanes = JSCompiler_object_inline_stack_3047.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_stack_3042.updateQueue = { + ? (JSCompiler_object_inline_stack_3047.updateQueue = { transitions: workInProgress, markerInstances: current, retryQueue: null }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3042) + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3047) ); if ( "number" === - typeof JSCompiler_object_inline_stack_3042.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_3047.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), @@ -11012,18 +11019,18 @@ __DEV__ && nextFallbackChildren, renderLanes ), - (JSCompiler_object_inline_stack_3042 = workInProgress.child), - (JSCompiler_object_inline_stack_3042.memoizedState = + (JSCompiler_object_inline_stack_3047 = workInProgress.child), + (JSCompiler_object_inline_stack_3047.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_3042.childLanes = + (JSCompiler_object_inline_stack_3047.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3041, + JSCompiler_object_inline_digest_3046, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3042) + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3047) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -11033,8 +11040,8 @@ __DEV__ && } var prevState = current.memoizedState; if (null !== prevState) { - var JSCompiler_object_inline_componentStack_3043 = prevState.dehydrated; - if (null !== JSCompiler_object_inline_componentStack_3043) { + var JSCompiler_object_inline_componentStack_3048 = prevState.dehydrated; + if (null !== JSCompiler_object_inline_componentStack_3048) { if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -11051,13 +11058,13 @@ __DEV__ && (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), (nextPrimaryChildren = - JSCompiler_object_inline_stack_3042.fallback), + JSCompiler_object_inline_stack_3047.fallback), (nextFallbackChildren = workInProgress.mode), - (JSCompiler_object_inline_stack_3042 = + (JSCompiler_object_inline_stack_3047 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_3042.children + children: JSCompiler_object_inline_stack_3047.children }, nextFallbackChildren )), @@ -11068,30 +11075,30 @@ __DEV__ && null )), (nextPrimaryChildren.flags |= 2), - (JSCompiler_object_inline_stack_3042.return = workInProgress), + (JSCompiler_object_inline_stack_3047.return = workInProgress), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_3042.sibling = + (JSCompiler_object_inline_stack_3047.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_3042), + (workInProgress.child = JSCompiler_object_inline_stack_3047), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_3042 = workInProgress.child), - (JSCompiler_object_inline_stack_3042.memoizedState = + (JSCompiler_object_inline_stack_3047 = workInProgress.child), + (JSCompiler_object_inline_stack_3047.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_3042.childLanes = + (JSCompiler_object_inline_stack_3047.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3041, + JSCompiler_object_inline_digest_3046, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = bailoutOffscreenComponent( null, - JSCompiler_object_inline_stack_3042 + JSCompiler_object_inline_stack_3047 ))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -11099,45 +11106,45 @@ __DEV__ && 0 !== (renderLanes & 536870912) && markRenderDerivedCause(workInProgress), isSuspenseInstanceFallback( - JSCompiler_object_inline_componentStack_3043 + JSCompiler_object_inline_componentStack_3048 )) ) { - JSCompiler_object_inline_digest_3041 = - JSCompiler_object_inline_componentStack_3043.nextSibling && - JSCompiler_object_inline_componentStack_3043.nextSibling.dataset; - if (JSCompiler_object_inline_digest_3041) { - nextPrimaryChildren = JSCompiler_object_inline_digest_3041.dgst; - var message = JSCompiler_object_inline_digest_3041.msg; - nextFallbackChildren = JSCompiler_object_inline_digest_3041.stck; - var componentStack = JSCompiler_object_inline_digest_3041.cstck; + JSCompiler_object_inline_digest_3046 = + JSCompiler_object_inline_componentStack_3048.nextSibling && + JSCompiler_object_inline_componentStack_3048.nextSibling.dataset; + if (JSCompiler_object_inline_digest_3046) { + nextPrimaryChildren = JSCompiler_object_inline_digest_3046.dgst; + var message = JSCompiler_object_inline_digest_3046.msg; + nextFallbackChildren = JSCompiler_object_inline_digest_3046.stck; + var componentStack = JSCompiler_object_inline_digest_3046.cstck; } - JSCompiler_object_inline_message_3040 = message; - JSCompiler_object_inline_digest_3041 = nextPrimaryChildren; - JSCompiler_object_inline_stack_3042 = nextFallbackChildren; - JSCompiler_object_inline_componentStack_3043 = componentStack; - nextPrimaryChildren = JSCompiler_object_inline_message_3040; - nextFallbackChildren = JSCompiler_object_inline_componentStack_3043; + JSCompiler_object_inline_message_3045 = message; + JSCompiler_object_inline_digest_3046 = nextPrimaryChildren; + JSCompiler_object_inline_stack_3047 = nextFallbackChildren; + JSCompiler_object_inline_componentStack_3048 = componentStack; + nextPrimaryChildren = JSCompiler_object_inline_message_3045; + nextFallbackChildren = JSCompiler_object_inline_componentStack_3048; nextPrimaryChildren = nextPrimaryChildren ? Error(nextPrimaryChildren) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); nextPrimaryChildren.stack = - JSCompiler_object_inline_stack_3042 || ""; - nextPrimaryChildren.digest = JSCompiler_object_inline_digest_3041; - JSCompiler_object_inline_digest_3041 = + JSCompiler_object_inline_stack_3047 || ""; + nextPrimaryChildren.digest = JSCompiler_object_inline_digest_3046; + JSCompiler_object_inline_digest_3046 = void 0 === nextFallbackChildren ? null : nextFallbackChildren; - JSCompiler_object_inline_stack_3042 = { + JSCompiler_object_inline_stack_3047 = { value: nextPrimaryChildren, source: null, - stack: JSCompiler_object_inline_digest_3041 + stack: JSCompiler_object_inline_digest_3046 }; - "string" === typeof JSCompiler_object_inline_digest_3041 && + "string" === typeof JSCompiler_object_inline_digest_3046 && CapturedStacks.set( nextPrimaryChildren, - JSCompiler_object_inline_stack_3042 + JSCompiler_object_inline_stack_3047 ); - queueHydrationError(JSCompiler_object_inline_stack_3042); + queueHydrationError(JSCompiler_object_inline_stack_3047); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -11151,35 +11158,35 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_3041 = + (JSCompiler_object_inline_digest_3046 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_3041) + didReceiveUpdate || JSCompiler_object_inline_digest_3046) ) { - JSCompiler_object_inline_digest_3041 = workInProgressRoot; + JSCompiler_object_inline_digest_3046 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_3041 && - ((JSCompiler_object_inline_stack_3042 = getBumpedLaneForHydration( - JSCompiler_object_inline_digest_3041, + null !== JSCompiler_object_inline_digest_3046 && + ((JSCompiler_object_inline_stack_3047 = getBumpedLaneForHydration( + JSCompiler_object_inline_digest_3046, renderLanes )), - 0 !== JSCompiler_object_inline_stack_3042 && - JSCompiler_object_inline_stack_3042 !== prevState.retryLane) + 0 !== JSCompiler_object_inline_stack_3047 && + JSCompiler_object_inline_stack_3047 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_3042), + ((prevState.retryLane = JSCompiler_object_inline_stack_3047), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_3042 + JSCompiler_object_inline_stack_3047 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_3041, + JSCompiler_object_inline_digest_3046, current, - JSCompiler_object_inline_stack_3042 + JSCompiler_object_inline_stack_3047 ), SelectiveHydrationException) ); isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_3043 + JSCompiler_object_inline_componentStack_3048 ) || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -11188,14 +11195,14 @@ __DEV__ && ); } else isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_3043 + JSCompiler_object_inline_componentStack_3048 ) ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_componentStack_3043.nextSibling + JSCompiler_object_inline_componentStack_3048.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -11207,32 +11214,32 @@ __DEV__ && restoreSuspendedTreeContext(workInProgress, current), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_3042.children + JSCompiler_object_inline_stack_3047.children )), (workInProgress.flags |= 4096)); return workInProgress; } } - if (JSCompiler_object_inline_message_3040) + if (JSCompiler_object_inline_message_3045) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = JSCompiler_object_inline_stack_3042.fallback), + (nextPrimaryChildren = JSCompiler_object_inline_stack_3047.fallback), (nextFallbackChildren = workInProgress.mode), (componentStack = current.child), - (JSCompiler_object_inline_componentStack_3043 = + (JSCompiler_object_inline_componentStack_3048 = componentStack.sibling), - (JSCompiler_object_inline_stack_3042 = createWorkInProgress( + (JSCompiler_object_inline_stack_3047 = createWorkInProgress( componentStack, { mode: "hidden", - children: JSCompiler_object_inline_stack_3042.children + children: JSCompiler_object_inline_stack_3047.children } )), - (JSCompiler_object_inline_stack_3042.subtreeFlags = + (JSCompiler_object_inline_stack_3047.subtreeFlags = componentStack.subtreeFlags & 65011712), - null !== JSCompiler_object_inline_componentStack_3043 + null !== JSCompiler_object_inline_componentStack_3048 ? (nextPrimaryChildren = createWorkInProgress( - JSCompiler_object_inline_componentStack_3043, + JSCompiler_object_inline_componentStack_3048, nextPrimaryChildren )) : ((nextPrimaryChildren = createFiberFromFragment( @@ -11243,11 +11250,11 @@ __DEV__ && )), (nextPrimaryChildren.flags |= 2)), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_3042.return = workInProgress), - (JSCompiler_object_inline_stack_3042.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_3042), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3042), - (JSCompiler_object_inline_stack_3042 = workInProgress.child), + (JSCompiler_object_inline_stack_3047.return = workInProgress), + (JSCompiler_object_inline_stack_3047.sibling = nextPrimaryChildren), + (workInProgress.child = JSCompiler_object_inline_stack_3047), + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3047), + (JSCompiler_object_inline_stack_3047 = workInProgress.child), (nextPrimaryChildren = current.child.memoizedState), null === nextPrimaryChildren ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) @@ -11263,7 +11270,7 @@ __DEV__ && baseLanes: nextPrimaryChildren.baseLanes | renderLanes, cachePool: nextFallbackChildren })), - (JSCompiler_object_inline_stack_3042.memoizedState = + (JSCompiler_object_inline_stack_3047.memoizedState = nextPrimaryChildren), enableTransitionTracing && ((nextPrimaryChildren = enableTransitionTracing @@ -11274,37 +11281,37 @@ __DEV__ && ? markerInstanceStack.current : null), (componentStack = - JSCompiler_object_inline_stack_3042.updateQueue), - (JSCompiler_object_inline_componentStack_3043 = + JSCompiler_object_inline_stack_3047.updateQueue), + (JSCompiler_object_inline_componentStack_3048 = current.updateQueue), null === componentStack - ? (JSCompiler_object_inline_stack_3042.updateQueue = { + ? (JSCompiler_object_inline_stack_3047.updateQueue = { transitions: nextPrimaryChildren, markerInstances: nextFallbackChildren, retryQueue: null }) : componentStack === - JSCompiler_object_inline_componentStack_3043 - ? (JSCompiler_object_inline_stack_3042.updateQueue = { + JSCompiler_object_inline_componentStack_3048 + ? (JSCompiler_object_inline_stack_3047.updateQueue = { transitions: nextPrimaryChildren, markerInstances: nextFallbackChildren, retryQueue: - null !== JSCompiler_object_inline_componentStack_3043 - ? JSCompiler_object_inline_componentStack_3043.retryQueue + null !== JSCompiler_object_inline_componentStack_3048 + ? JSCompiler_object_inline_componentStack_3048.retryQueue : null }) : ((componentStack.transitions = nextPrimaryChildren), (componentStack.markerInstances = nextFallbackChildren)))), - (JSCompiler_object_inline_stack_3042.childLanes = + (JSCompiler_object_inline_stack_3047.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3041, + JSCompiler_object_inline_digest_3046, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), bailoutOffscreenComponent( current.child, - JSCompiler_object_inline_stack_3042 + JSCompiler_object_inline_stack_3047 ) ); null !== prevState && @@ -11316,16 +11323,16 @@ __DEV__ && current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_3042.children + children: JSCompiler_object_inline_stack_3047.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_3041 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_3041 + ((JSCompiler_object_inline_digest_3046 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_3046 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_3041.push(current)); + : JSCompiler_object_inline_digest_3046.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -18406,13 +18413,16 @@ __DEV__ && : resolveUpdatePriority(); } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating - ? claimNextTransitionLane() - : 536870912); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } else workInProgressDeferredLane = 536870912; + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -20439,7 +20449,7 @@ __DEV__ && suspendedCommitReason = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42)) + (0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -28216,7 +28226,8 @@ __DEV__ && clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2, - nextTransitionLane = 256, + nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, DiscreteEventPriority = 2, ContinuousEventPriority = 8, @@ -32301,11 +32312,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-www-classic-3168e08f-20250903" !== isomorphicReactPackageVersion) + if ("19.2.0-www-classic-3302d1f7-20250903" !== 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.2.0-www-classic-3168e08f-20250903\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-www-classic-3302d1f7-20250903\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -32348,10 +32359,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-www-classic-3168e08f-20250903", + version: "19.2.0-www-classic-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-classic-3302d1f7-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -32963,7 +32974,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-www-classic-3168e08f-20250903"; + exports.version = "19.2.0-www-classic-3302d1f7-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-dev.modern.js b/compiled/facebook-www/ReactDOM-dev.modern.js index ac429a376c..41da3c8e88 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -529,11 +529,12 @@ __DEV__ && case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -655,12 +656,6 @@ __DEV__ && ); } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -728,7 +723,7 @@ __DEV__ && root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -5444,8 +5439,12 @@ __DEV__ && function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -8572,7 +8571,11 @@ __DEV__ && ); } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -8588,7 +8591,11 @@ __DEV__ && objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -10717,24 +10724,24 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_3036; - var JSCompiler_object_inline_stack_3037 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_3041; + var JSCompiler_object_inline_stack_3042 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_3035 = !1; + var JSCompiler_object_inline_message_3040 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_3036 = didSuspend) || - (JSCompiler_object_inline_digest_3036 = + (JSCompiler_object_inline_digest_3041 = didSuspend) || + (JSCompiler_object_inline_digest_3041 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_3036 && - ((JSCompiler_object_inline_message_3035 = !0), + JSCompiler_object_inline_digest_3041 && + ((JSCompiler_object_inline_message_3040 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_3036 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_3041 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_3035 + JSCompiler_object_inline_message_3040 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); (current = nextHydratableInstance) @@ -10747,18 +10754,18 @@ __DEV__ && ? renderLanes : null), null !== renderLanes && - ((JSCompiler_object_inline_digest_3036 = { + ((JSCompiler_object_inline_digest_3041 = { dehydrated: renderLanes, treeContext: getSuspendedTreeContext(), retryLane: 536870912, hydrationErrors: null }), (workInProgress.memoizedState = - JSCompiler_object_inline_digest_3036), - (JSCompiler_object_inline_digest_3036 = + JSCompiler_object_inline_digest_3041), + (JSCompiler_object_inline_digest_3041 = createFiberFromDehydratedFragment(renderLanes)), - (JSCompiler_object_inline_digest_3036.return = workInProgress), - (workInProgress.child = JSCompiler_object_inline_digest_3036), + (JSCompiler_object_inline_digest_3041.return = workInProgress), + (workInProgress.child = JSCompiler_object_inline_digest_3041), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null))) : (renderLanes = null); @@ -10772,9 +10779,9 @@ __DEV__ && : (workInProgress.lanes = 536870912); return null; } - var nextPrimaryChildren = JSCompiler_object_inline_stack_3037.children, - nextFallbackChildren = JSCompiler_object_inline_stack_3037.fallback; - if (JSCompiler_object_inline_message_3035) + var nextPrimaryChildren = JSCompiler_object_inline_stack_3042.children, + nextFallbackChildren = JSCompiler_object_inline_stack_3042.fallback; + if (JSCompiler_object_inline_message_3040) return ( reuseSuspenseHandlerOnStack(workInProgress), mountSuspenseFallbackChildren( @@ -10783,13 +10790,13 @@ __DEV__ && nextFallbackChildren, renderLanes ), - (JSCompiler_object_inline_stack_3037 = workInProgress.child), - (JSCompiler_object_inline_stack_3037.memoizedState = + (JSCompiler_object_inline_stack_3042 = workInProgress.child), + (JSCompiler_object_inline_stack_3042.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_3037.childLanes = + (JSCompiler_object_inline_stack_3042.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3036, + JSCompiler_object_inline_digest_3041, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -10801,20 +10808,20 @@ __DEV__ && ((current = enableTransitionTracing ? markerInstanceStack.current : null), - (renderLanes = JSCompiler_object_inline_stack_3037.updateQueue), + (renderLanes = JSCompiler_object_inline_stack_3042.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_stack_3037.updateQueue = { + ? (JSCompiler_object_inline_stack_3042.updateQueue = { transitions: workInProgress, markerInstances: current, retryQueue: null }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3037) + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3042) ); if ( "number" === - typeof JSCompiler_object_inline_stack_3037.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_3042.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), @@ -10824,18 +10831,18 @@ __DEV__ && nextFallbackChildren, renderLanes ), - (JSCompiler_object_inline_stack_3037 = workInProgress.child), - (JSCompiler_object_inline_stack_3037.memoizedState = + (JSCompiler_object_inline_stack_3042 = workInProgress.child), + (JSCompiler_object_inline_stack_3042.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_3037.childLanes = + (JSCompiler_object_inline_stack_3042.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3036, + JSCompiler_object_inline_digest_3041, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3037) + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3042) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -10845,8 +10852,8 @@ __DEV__ && } var prevState = current.memoizedState; if (null !== prevState) { - var JSCompiler_object_inline_componentStack_3038 = prevState.dehydrated; - if (null !== JSCompiler_object_inline_componentStack_3038) { + var JSCompiler_object_inline_componentStack_3043 = prevState.dehydrated; + if (null !== JSCompiler_object_inline_componentStack_3043) { if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -10863,13 +10870,13 @@ __DEV__ && (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), (nextPrimaryChildren = - JSCompiler_object_inline_stack_3037.fallback), + JSCompiler_object_inline_stack_3042.fallback), (nextFallbackChildren = workInProgress.mode), - (JSCompiler_object_inline_stack_3037 = + (JSCompiler_object_inline_stack_3042 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_3037.children + children: JSCompiler_object_inline_stack_3042.children }, nextFallbackChildren )), @@ -10880,30 +10887,30 @@ __DEV__ && null )), (nextPrimaryChildren.flags |= 2), - (JSCompiler_object_inline_stack_3037.return = workInProgress), + (JSCompiler_object_inline_stack_3042.return = workInProgress), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_3037.sibling = + (JSCompiler_object_inline_stack_3042.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_3037), + (workInProgress.child = JSCompiler_object_inline_stack_3042), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_3037 = workInProgress.child), - (JSCompiler_object_inline_stack_3037.memoizedState = + (JSCompiler_object_inline_stack_3042 = workInProgress.child), + (JSCompiler_object_inline_stack_3042.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_3037.childLanes = + (JSCompiler_object_inline_stack_3042.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3036, + JSCompiler_object_inline_digest_3041, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = bailoutOffscreenComponent( null, - JSCompiler_object_inline_stack_3037 + JSCompiler_object_inline_stack_3042 ))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -10911,45 +10918,45 @@ __DEV__ && 0 !== (renderLanes & 536870912) && markRenderDerivedCause(workInProgress), isSuspenseInstanceFallback( - JSCompiler_object_inline_componentStack_3038 + JSCompiler_object_inline_componentStack_3043 )) ) { - JSCompiler_object_inline_digest_3036 = - JSCompiler_object_inline_componentStack_3038.nextSibling && - JSCompiler_object_inline_componentStack_3038.nextSibling.dataset; - if (JSCompiler_object_inline_digest_3036) { - nextPrimaryChildren = JSCompiler_object_inline_digest_3036.dgst; - var message = JSCompiler_object_inline_digest_3036.msg; - nextFallbackChildren = JSCompiler_object_inline_digest_3036.stck; - var componentStack = JSCompiler_object_inline_digest_3036.cstck; + JSCompiler_object_inline_digest_3041 = + JSCompiler_object_inline_componentStack_3043.nextSibling && + JSCompiler_object_inline_componentStack_3043.nextSibling.dataset; + if (JSCompiler_object_inline_digest_3041) { + nextPrimaryChildren = JSCompiler_object_inline_digest_3041.dgst; + var message = JSCompiler_object_inline_digest_3041.msg; + nextFallbackChildren = JSCompiler_object_inline_digest_3041.stck; + var componentStack = JSCompiler_object_inline_digest_3041.cstck; } - JSCompiler_object_inline_message_3035 = message; - JSCompiler_object_inline_digest_3036 = nextPrimaryChildren; - JSCompiler_object_inline_stack_3037 = nextFallbackChildren; - JSCompiler_object_inline_componentStack_3038 = componentStack; - nextPrimaryChildren = JSCompiler_object_inline_message_3035; - nextFallbackChildren = JSCompiler_object_inline_componentStack_3038; + JSCompiler_object_inline_message_3040 = message; + JSCompiler_object_inline_digest_3041 = nextPrimaryChildren; + JSCompiler_object_inline_stack_3042 = nextFallbackChildren; + JSCompiler_object_inline_componentStack_3043 = componentStack; + nextPrimaryChildren = JSCompiler_object_inline_message_3040; + nextFallbackChildren = JSCompiler_object_inline_componentStack_3043; nextPrimaryChildren = nextPrimaryChildren ? Error(nextPrimaryChildren) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); nextPrimaryChildren.stack = - JSCompiler_object_inline_stack_3037 || ""; - nextPrimaryChildren.digest = JSCompiler_object_inline_digest_3036; - JSCompiler_object_inline_digest_3036 = + JSCompiler_object_inline_stack_3042 || ""; + nextPrimaryChildren.digest = JSCompiler_object_inline_digest_3041; + JSCompiler_object_inline_digest_3041 = void 0 === nextFallbackChildren ? null : nextFallbackChildren; - JSCompiler_object_inline_stack_3037 = { + JSCompiler_object_inline_stack_3042 = { value: nextPrimaryChildren, source: null, - stack: JSCompiler_object_inline_digest_3036 + stack: JSCompiler_object_inline_digest_3041 }; - "string" === typeof JSCompiler_object_inline_digest_3036 && + "string" === typeof JSCompiler_object_inline_digest_3041 && CapturedStacks.set( nextPrimaryChildren, - JSCompiler_object_inline_stack_3037 + JSCompiler_object_inline_stack_3042 ); - queueHydrationError(JSCompiler_object_inline_stack_3037); + queueHydrationError(JSCompiler_object_inline_stack_3042); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -10963,35 +10970,35 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_3036 = + (JSCompiler_object_inline_digest_3041 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_3036) + didReceiveUpdate || JSCompiler_object_inline_digest_3041) ) { - JSCompiler_object_inline_digest_3036 = workInProgressRoot; + JSCompiler_object_inline_digest_3041 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_3036 && - ((JSCompiler_object_inline_stack_3037 = getBumpedLaneForHydration( - JSCompiler_object_inline_digest_3036, + null !== JSCompiler_object_inline_digest_3041 && + ((JSCompiler_object_inline_stack_3042 = getBumpedLaneForHydration( + JSCompiler_object_inline_digest_3041, renderLanes )), - 0 !== JSCompiler_object_inline_stack_3037 && - JSCompiler_object_inline_stack_3037 !== prevState.retryLane) + 0 !== JSCompiler_object_inline_stack_3042 && + JSCompiler_object_inline_stack_3042 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_3037), + ((prevState.retryLane = JSCompiler_object_inline_stack_3042), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_3037 + JSCompiler_object_inline_stack_3042 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_3036, + JSCompiler_object_inline_digest_3041, current, - JSCompiler_object_inline_stack_3037 + JSCompiler_object_inline_stack_3042 ), SelectiveHydrationException) ); isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_3038 + JSCompiler_object_inline_componentStack_3043 ) || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -11000,14 +11007,14 @@ __DEV__ && ); } else isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_3038 + JSCompiler_object_inline_componentStack_3043 ) ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_componentStack_3038.nextSibling + JSCompiler_object_inline_componentStack_3043.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -11019,32 +11026,32 @@ __DEV__ && restoreSuspendedTreeContext(workInProgress, current), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_3037.children + JSCompiler_object_inline_stack_3042.children )), (workInProgress.flags |= 4096)); return workInProgress; } } - if (JSCompiler_object_inline_message_3035) + if (JSCompiler_object_inline_message_3040) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = JSCompiler_object_inline_stack_3037.fallback), + (nextPrimaryChildren = JSCompiler_object_inline_stack_3042.fallback), (nextFallbackChildren = workInProgress.mode), (componentStack = current.child), - (JSCompiler_object_inline_componentStack_3038 = + (JSCompiler_object_inline_componentStack_3043 = componentStack.sibling), - (JSCompiler_object_inline_stack_3037 = createWorkInProgress( + (JSCompiler_object_inline_stack_3042 = createWorkInProgress( componentStack, { mode: "hidden", - children: JSCompiler_object_inline_stack_3037.children + children: JSCompiler_object_inline_stack_3042.children } )), - (JSCompiler_object_inline_stack_3037.subtreeFlags = + (JSCompiler_object_inline_stack_3042.subtreeFlags = componentStack.subtreeFlags & 65011712), - null !== JSCompiler_object_inline_componentStack_3038 + null !== JSCompiler_object_inline_componentStack_3043 ? (nextPrimaryChildren = createWorkInProgress( - JSCompiler_object_inline_componentStack_3038, + JSCompiler_object_inline_componentStack_3043, nextPrimaryChildren )) : ((nextPrimaryChildren = createFiberFromFragment( @@ -11055,11 +11062,11 @@ __DEV__ && )), (nextPrimaryChildren.flags |= 2)), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_3037.return = workInProgress), - (JSCompiler_object_inline_stack_3037.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_3037), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3037), - (JSCompiler_object_inline_stack_3037 = workInProgress.child), + (JSCompiler_object_inline_stack_3042.return = workInProgress), + (JSCompiler_object_inline_stack_3042.sibling = nextPrimaryChildren), + (workInProgress.child = JSCompiler_object_inline_stack_3042), + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3042), + (JSCompiler_object_inline_stack_3042 = workInProgress.child), (nextPrimaryChildren = current.child.memoizedState), null === nextPrimaryChildren ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) @@ -11075,7 +11082,7 @@ __DEV__ && baseLanes: nextPrimaryChildren.baseLanes | renderLanes, cachePool: nextFallbackChildren })), - (JSCompiler_object_inline_stack_3037.memoizedState = + (JSCompiler_object_inline_stack_3042.memoizedState = nextPrimaryChildren), enableTransitionTracing && ((nextPrimaryChildren = enableTransitionTracing @@ -11086,37 +11093,37 @@ __DEV__ && ? markerInstanceStack.current : null), (componentStack = - JSCompiler_object_inline_stack_3037.updateQueue), - (JSCompiler_object_inline_componentStack_3038 = + JSCompiler_object_inline_stack_3042.updateQueue), + (JSCompiler_object_inline_componentStack_3043 = current.updateQueue), null === componentStack - ? (JSCompiler_object_inline_stack_3037.updateQueue = { + ? (JSCompiler_object_inline_stack_3042.updateQueue = { transitions: nextPrimaryChildren, markerInstances: nextFallbackChildren, retryQueue: null }) : componentStack === - JSCompiler_object_inline_componentStack_3038 - ? (JSCompiler_object_inline_stack_3037.updateQueue = { + JSCompiler_object_inline_componentStack_3043 + ? (JSCompiler_object_inline_stack_3042.updateQueue = { transitions: nextPrimaryChildren, markerInstances: nextFallbackChildren, retryQueue: - null !== JSCompiler_object_inline_componentStack_3038 - ? JSCompiler_object_inline_componentStack_3038.retryQueue + null !== JSCompiler_object_inline_componentStack_3043 + ? JSCompiler_object_inline_componentStack_3043.retryQueue : null }) : ((componentStack.transitions = nextPrimaryChildren), (componentStack.markerInstances = nextFallbackChildren)))), - (JSCompiler_object_inline_stack_3037.childLanes = + (JSCompiler_object_inline_stack_3042.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3036, + JSCompiler_object_inline_digest_3041, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), bailoutOffscreenComponent( current.child, - JSCompiler_object_inline_stack_3037 + JSCompiler_object_inline_stack_3042 ) ); null !== prevState && @@ -11128,16 +11135,16 @@ __DEV__ && current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_3037.children + children: JSCompiler_object_inline_stack_3042.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_3036 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_3036 + ((JSCompiler_object_inline_digest_3041 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_3041 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_3036.push(current)); + : JSCompiler_object_inline_digest_3041.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -18205,13 +18212,16 @@ __DEV__ && : resolveUpdatePriority(); } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating - ? claimNextTransitionLane() - : 536870912); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } else workInProgressDeferredLane = 536870912; + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -20233,7 +20243,7 @@ __DEV__ && suspendedCommitReason = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42)) + (0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -28007,7 +28017,8 @@ __DEV__ && clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2, - nextTransitionLane = 256, + nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, DiscreteEventPriority = 2, ContinuousEventPriority = 8, @@ -32086,11 +32097,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-www-modern-3168e08f-20250903" !== isomorphicReactPackageVersion) + if ("19.2.0-www-modern-3302d1f7-20250903" !== 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.2.0-www-modern-3168e08f-20250903\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-www-modern-3302d1f7-20250903\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -32133,10 +32144,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-www-modern-3168e08f-20250903", + version: "19.2.0-www-modern-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-modern-3302d1f7-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -32748,7 +32759,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-www-modern-3168e08f-20250903"; + exports.version = "19.2.0-www-modern-3302d1f7-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-prod.classic.js b/compiled/facebook-www/ReactDOM-prod.classic.js index 56e8335412..a11a5412cb 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -335,7 +335,8 @@ function clz32Fallback(x) { x >>>= 0; return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0; } -var nextTransitionLane = 256, +var nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304; function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; @@ -367,11 +368,12 @@ function getHighestPriorityLanes(lanes) { case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -482,12 +484,6 @@ function computeExpirationTime(lane, currentTime) { return -1; } } -function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; -} function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -555,7 +551,7 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -2597,8 +2593,12 @@ function scheduleImmediateRootScheduleTask() { function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -4863,7 +4863,11 @@ function updateMemo(nextCreate, deps) { return prevState; } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -4879,7 +4883,11 @@ function updateDeferredValueImpl(hook, prevValue, value, initialValue) { objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -12311,13 +12319,16 @@ function requestUpdateLane() { : resolveUpdatePriority(); } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating - ? claimNextTransitionLane() - : 536870912); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } else workInProgressDeferredLane = 536870912; + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -13507,7 +13518,7 @@ function flushSpawnedWork() { passiveSubtreeMask = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (passiveSubtreeMask & 42)) + (0 !== (lanes & 261930) && 0 !== (passiveSubtreeMask & 42)) ? root === rootWithNestedUpdates ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) @@ -15143,20 +15154,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1829 = 0; - i$jscomp$inline_1829 < simpleEventPluginEvents.length; - i$jscomp$inline_1829++ + var i$jscomp$inline_1834 = 0; + i$jscomp$inline_1834 < simpleEventPluginEvents.length; + i$jscomp$inline_1834++ ) { - var eventName$jscomp$inline_1830 = - simpleEventPluginEvents[i$jscomp$inline_1829], - domEventName$jscomp$inline_1831 = - eventName$jscomp$inline_1830.toLowerCase(), - capitalizedEvent$jscomp$inline_1832 = - eventName$jscomp$inline_1830[0].toUpperCase() + - eventName$jscomp$inline_1830.slice(1); + var eventName$jscomp$inline_1835 = + simpleEventPluginEvents[i$jscomp$inline_1834], + domEventName$jscomp$inline_1836 = + eventName$jscomp$inline_1835.toLowerCase(), + capitalizedEvent$jscomp$inline_1837 = + eventName$jscomp$inline_1835[0].toUpperCase() + + eventName$jscomp$inline_1835.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1831, - "on" + capitalizedEvent$jscomp$inline_1832 + domEventName$jscomp$inline_1836, + "on" + capitalizedEvent$jscomp$inline_1837 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -19767,16 +19778,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_2109 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2114 = React.version; if ( - "19.2.0-www-classic-3168e08f-20250903" !== - isomorphicReactPackageVersion$jscomp$inline_2109 + "19.2.0-www-classic-3302d1f7-20250903" !== + isomorphicReactPackageVersion$jscomp$inline_2114 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2109, - "19.2.0-www-classic-3168e08f-20250903" + isomorphicReactPackageVersion$jscomp$inline_2114, + "19.2.0-www-classic-3302d1f7-20250903" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -19792,24 +19803,24 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2741 = { +var internals$jscomp$inline_2746 = { bundleType: 0, - version: "19.2.0-www-classic-3168e08f-20250903", + version: "19.2.0-www-classic-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-classic-3302d1f7-20250903" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2742 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2747 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2742.isDisabled && - hook$jscomp$inline_2742.supportsFiber + !hook$jscomp$inline_2747.isDisabled && + hook$jscomp$inline_2747.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2742.inject( - internals$jscomp$inline_2741 + (rendererID = hook$jscomp$inline_2747.inject( + internals$jscomp$inline_2746 )), - (injectedHook = hook$jscomp$inline_2742); + (injectedHook = hook$jscomp$inline_2747); } catch (err) {} } function defaultOnDefaultTransitionIndicator() { @@ -20226,4 +20237,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-classic-3168e08f-20250903"; +exports.version = "19.2.0-www-classic-3302d1f7-20250903"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index 17f2df6aad..1589ac645c 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -333,7 +333,8 @@ function clz32Fallback(x) { x >>>= 0; return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0; } -var nextTransitionLane = 256, +var nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304; function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; @@ -365,11 +366,12 @@ function getHighestPriorityLanes(lanes) { case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -480,12 +482,6 @@ function computeExpirationTime(lane, currentTime) { return -1; } } -function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; -} function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -553,7 +549,7 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -2445,8 +2441,12 @@ function scheduleImmediateRootScheduleTask() { function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -4711,7 +4711,11 @@ function updateMemo(nextCreate, deps) { return prevState; } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -4727,7 +4731,11 @@ function updateDeferredValueImpl(hook, prevValue, value, initialValue) { objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -12056,13 +12064,16 @@ function requestUpdateLane() { : resolveUpdatePriority(); } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating - ? claimNextTransitionLane() - : 536870912); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } else workInProgressDeferredLane = 536870912; + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -13247,7 +13258,7 @@ function flushSpawnedWork() { passiveSubtreeMask = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (passiveSubtreeMask & 42)) + (0 !== (lanes & 261930) && 0 !== (passiveSubtreeMask & 42)) ? root === rootWithNestedUpdates ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) @@ -14877,20 +14888,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1819 = 0; - i$jscomp$inline_1819 < simpleEventPluginEvents.length; - i$jscomp$inline_1819++ + var i$jscomp$inline_1824 = 0; + i$jscomp$inline_1824 < simpleEventPluginEvents.length; + i$jscomp$inline_1824++ ) { - var eventName$jscomp$inline_1820 = - simpleEventPluginEvents[i$jscomp$inline_1819], - domEventName$jscomp$inline_1821 = - eventName$jscomp$inline_1820.toLowerCase(), - capitalizedEvent$jscomp$inline_1822 = - eventName$jscomp$inline_1820[0].toUpperCase() + - eventName$jscomp$inline_1820.slice(1); + var eventName$jscomp$inline_1825 = + simpleEventPluginEvents[i$jscomp$inline_1824], + domEventName$jscomp$inline_1826 = + eventName$jscomp$inline_1825.toLowerCase(), + capitalizedEvent$jscomp$inline_1827 = + eventName$jscomp$inline_1825[0].toUpperCase() + + eventName$jscomp$inline_1825.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1821, - "on" + capitalizedEvent$jscomp$inline_1822 + domEventName$jscomp$inline_1826, + "on" + capitalizedEvent$jscomp$inline_1827 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -19496,16 +19507,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_2099 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2104 = React.version; if ( - "19.2.0-www-modern-3168e08f-20250903" !== - isomorphicReactPackageVersion$jscomp$inline_2099 + "19.2.0-www-modern-3302d1f7-20250903" !== + isomorphicReactPackageVersion$jscomp$inline_2104 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2099, - "19.2.0-www-modern-3168e08f-20250903" + isomorphicReactPackageVersion$jscomp$inline_2104, + "19.2.0-www-modern-3302d1f7-20250903" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -19521,24 +19532,24 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2723 = { +var internals$jscomp$inline_2728 = { bundleType: 0, - version: "19.2.0-www-modern-3168e08f-20250903", + version: "19.2.0-www-modern-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-modern-3302d1f7-20250903" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2724 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2729 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2724.isDisabled && - hook$jscomp$inline_2724.supportsFiber + !hook$jscomp$inline_2729.isDisabled && + hook$jscomp$inline_2729.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2724.inject( - internals$jscomp$inline_2723 + (rendererID = hook$jscomp$inline_2729.inject( + internals$jscomp$inline_2728 )), - (injectedHook = hook$jscomp$inline_2724); + (injectedHook = hook$jscomp$inline_2729); } catch (err) {} } function defaultOnDefaultTransitionIndicator() { @@ -19955,4 +19966,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-modern-3168e08f-20250903"; +exports.version = "19.2.0-www-modern-3302d1f7-20250903"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index 11a5ab7d39..0cd2380029 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -418,7 +418,8 @@ function getLabelForLane(lane) { if (lane & 1073741824) return "Deferred"; } } -var nextTransitionLane = 256, +var nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304; function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; @@ -450,11 +451,12 @@ function getHighestPriorityLanes(lanes) { case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -565,12 +567,6 @@ function computeExpirationTime(lane, currentTime) { return -1; } } -function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; -} function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -638,7 +634,7 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -3083,8 +3079,12 @@ function scheduleImmediateRootScheduleTask() { function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -5372,7 +5372,11 @@ function updateMemo(nextCreate, deps) { return prevState; } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -5388,7 +5392,11 @@ function updateDeferredValueImpl(hook, prevValue, value, initialValue) { objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -13768,13 +13776,16 @@ function requestUpdateLane() { : resolveUpdatePriority(); } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating - ? claimNextTransitionLane() - : 536870912); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } else workInProgressDeferredLane = 536870912; + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -15449,7 +15460,7 @@ function flushSpawnedWork() { suspendedCommitReason = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42)) + (0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -17188,20 +17199,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_2076 = 0; - i$jscomp$inline_2076 < simpleEventPluginEvents.length; - i$jscomp$inline_2076++ + var i$jscomp$inline_2081 = 0; + i$jscomp$inline_2081 < simpleEventPluginEvents.length; + i$jscomp$inline_2081++ ) { - var eventName$jscomp$inline_2077 = - simpleEventPluginEvents[i$jscomp$inline_2076], - domEventName$jscomp$inline_2078 = - eventName$jscomp$inline_2077.toLowerCase(), - capitalizedEvent$jscomp$inline_2079 = - eventName$jscomp$inline_2077[0].toUpperCase() + - eventName$jscomp$inline_2077.slice(1); + var eventName$jscomp$inline_2082 = + simpleEventPluginEvents[i$jscomp$inline_2081], + domEventName$jscomp$inline_2083 = + eventName$jscomp$inline_2082.toLowerCase(), + capitalizedEvent$jscomp$inline_2084 = + eventName$jscomp$inline_2082[0].toUpperCase() + + eventName$jscomp$inline_2082.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_2078, - "on" + capitalizedEvent$jscomp$inline_2079 + domEventName$jscomp$inline_2083, + "on" + capitalizedEvent$jscomp$inline_2084 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -21821,16 +21832,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_2356 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2361 = React.version; if ( - "19.2.0-www-classic-3168e08f-20250903" !== - isomorphicReactPackageVersion$jscomp$inline_2356 + "19.2.0-www-classic-3302d1f7-20250903" !== + isomorphicReactPackageVersion$jscomp$inline_2361 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2356, - "19.2.0-www-classic-3168e08f-20250903" + isomorphicReactPackageVersion$jscomp$inline_2361, + "19.2.0-www-classic-3302d1f7-20250903" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -21846,27 +21857,27 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2358 = { +var internals$jscomp$inline_2363 = { bundleType: 0, - version: "19.2.0-www-classic-3168e08f-20250903", + version: "19.2.0-www-classic-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-classic-3302d1f7-20250903" }; enableSchedulingProfiler && - ((internals$jscomp$inline_2358.getLaneLabelMap = getLaneLabelMap), - (internals$jscomp$inline_2358.injectProfilingHooks = injectProfilingHooks)); + ((internals$jscomp$inline_2363.getLaneLabelMap = getLaneLabelMap), + (internals$jscomp$inline_2363.injectProfilingHooks = injectProfilingHooks)); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2976 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2981 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2976.isDisabled && - hook$jscomp$inline_2976.supportsFiber + !hook$jscomp$inline_2981.isDisabled && + hook$jscomp$inline_2981.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2976.inject( - internals$jscomp$inline_2358 + (rendererID = hook$jscomp$inline_2981.inject( + internals$jscomp$inline_2363 )), - (injectedHook = hook$jscomp$inline_2976); + (injectedHook = hook$jscomp$inline_2981); } catch (err) {} } function defaultOnDefaultTransitionIndicator() { @@ -22284,7 +22295,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-classic-3168e08f-20250903"; +exports.version = "19.2.0-www-classic-3302d1f7-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-profiling.modern.js b/compiled/facebook-www/ReactDOM-profiling.modern.js index 741779dde4..0b5d9ab549 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -416,7 +416,8 @@ function getLabelForLane(lane) { if (lane & 1073741824) return "Deferred"; } } -var nextTransitionLane = 256, +var nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304; function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; @@ -448,11 +449,12 @@ function getHighestPriorityLanes(lanes) { case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -563,12 +565,6 @@ function computeExpirationTime(lane, currentTime) { return -1; } } -function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; -} function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -636,7 +632,7 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -2997,8 +2993,12 @@ function scheduleImmediateRootScheduleTask() { function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -5286,7 +5286,11 @@ function updateMemo(nextCreate, deps) { return prevState; } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -5302,7 +5306,11 @@ function updateDeferredValueImpl(hook, prevValue, value, initialValue) { objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -13578,13 +13586,16 @@ function requestUpdateLane() { : resolveUpdatePriority(); } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating - ? claimNextTransitionLane() - : 536870912); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } else workInProgressDeferredLane = 536870912; + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -15254,7 +15265,7 @@ function flushSpawnedWork() { suspendedCommitReason = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42)) + (0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -16987,20 +16998,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_2066 = 0; - i$jscomp$inline_2066 < simpleEventPluginEvents.length; - i$jscomp$inline_2066++ + var i$jscomp$inline_2071 = 0; + i$jscomp$inline_2071 < simpleEventPluginEvents.length; + i$jscomp$inline_2071++ ) { - var eventName$jscomp$inline_2067 = - simpleEventPluginEvents[i$jscomp$inline_2066], - domEventName$jscomp$inline_2068 = - eventName$jscomp$inline_2067.toLowerCase(), - capitalizedEvent$jscomp$inline_2069 = - eventName$jscomp$inline_2067[0].toUpperCase() + - eventName$jscomp$inline_2067.slice(1); + var eventName$jscomp$inline_2072 = + simpleEventPluginEvents[i$jscomp$inline_2071], + domEventName$jscomp$inline_2073 = + eventName$jscomp$inline_2072.toLowerCase(), + capitalizedEvent$jscomp$inline_2074 = + eventName$jscomp$inline_2072[0].toUpperCase() + + eventName$jscomp$inline_2072.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_2068, - "on" + capitalizedEvent$jscomp$inline_2069 + domEventName$jscomp$inline_2073, + "on" + capitalizedEvent$jscomp$inline_2074 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -21615,16 +21626,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_2346 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2351 = React.version; if ( - "19.2.0-www-modern-3168e08f-20250903" !== - isomorphicReactPackageVersion$jscomp$inline_2346 + "19.2.0-www-modern-3302d1f7-20250903" !== + isomorphicReactPackageVersion$jscomp$inline_2351 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2346, - "19.2.0-www-modern-3168e08f-20250903" + isomorphicReactPackageVersion$jscomp$inline_2351, + "19.2.0-www-modern-3302d1f7-20250903" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -21640,27 +21651,27 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2348 = { +var internals$jscomp$inline_2353 = { bundleType: 0, - version: "19.2.0-www-modern-3168e08f-20250903", + version: "19.2.0-www-modern-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-modern-3302d1f7-20250903" }; enableSchedulingProfiler && - ((internals$jscomp$inline_2348.getLaneLabelMap = getLaneLabelMap), - (internals$jscomp$inline_2348.injectProfilingHooks = injectProfilingHooks)); + ((internals$jscomp$inline_2353.getLaneLabelMap = getLaneLabelMap), + (internals$jscomp$inline_2353.injectProfilingHooks = injectProfilingHooks)); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2958 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2963 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2958.isDisabled && - hook$jscomp$inline_2958.supportsFiber + !hook$jscomp$inline_2963.isDisabled && + hook$jscomp$inline_2963.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2958.inject( - internals$jscomp$inline_2348 + (rendererID = hook$jscomp$inline_2963.inject( + internals$jscomp$inline_2353 )), - (injectedHook = hook$jscomp$inline_2958); + (injectedHook = hook$jscomp$inline_2963); } catch (err) {} } function defaultOnDefaultTransitionIndicator() { @@ -22078,7 +22089,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-modern-3168e08f-20250903"; +exports.version = "19.2.0-www-modern-3302d1f7-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOMServer-dev.classic.js b/compiled/facebook-www/ReactDOMServer-dev.classic.js index 794ad010b6..38c1cc6c85 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -10163,5 +10163,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.2.0-www-classic-3168e08f-20250903"; + exports.version = "19.2.0-www-classic-3302d1f7-20250903"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index b12b436eef..04b1e5a3d5 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -10092,5 +10092,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.2.0-www-modern-3168e08f-20250903"; + exports.version = "19.2.0-www-modern-3302d1f7-20250903"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index 1a6990c2a3..e8496c12da 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -6892,4 +6892,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.2.0-www-classic-3168e08f-20250903"; +exports.version = "19.2.0-www-classic-3302d1f7-20250903"; diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index c777bdd02d..625fed41ea 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -6825,4 +6825,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.2.0-www-modern-3168e08f-20250903"; +exports.version = "19.2.0-www-modern-3302d1f7-20250903"; diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index 4fb9d88cbb..c9cc5ecd53 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -529,11 +529,12 @@ __DEV__ && case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -655,12 +656,6 @@ __DEV__ && ); } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -728,7 +723,7 @@ __DEV__ && root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -5598,8 +5593,12 @@ __DEV__ && function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -8726,7 +8725,11 @@ __DEV__ && ); } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -8742,7 +8745,11 @@ __DEV__ && objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -10946,24 +10953,24 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_3075; - var JSCompiler_object_inline_stack_3076 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_3080; + var JSCompiler_object_inline_stack_3081 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_3074 = !1; + var JSCompiler_object_inline_message_3079 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_3075 = didSuspend) || - (JSCompiler_object_inline_digest_3075 = + (JSCompiler_object_inline_digest_3080 = didSuspend) || + (JSCompiler_object_inline_digest_3080 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_3075 && - ((JSCompiler_object_inline_message_3074 = !0), + JSCompiler_object_inline_digest_3080 && + ((JSCompiler_object_inline_message_3079 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_3075 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_3080 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_3074 + JSCompiler_object_inline_message_3079 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); (current = nextHydratableInstance) @@ -10976,18 +10983,18 @@ __DEV__ && ? renderLanes : null), null !== renderLanes && - ((JSCompiler_object_inline_digest_3075 = { + ((JSCompiler_object_inline_digest_3080 = { dehydrated: renderLanes, treeContext: getSuspendedTreeContext(), retryLane: 536870912, hydrationErrors: null }), (workInProgress.memoizedState = - JSCompiler_object_inline_digest_3075), - (JSCompiler_object_inline_digest_3075 = + JSCompiler_object_inline_digest_3080), + (JSCompiler_object_inline_digest_3080 = createFiberFromDehydratedFragment(renderLanes)), - (JSCompiler_object_inline_digest_3075.return = workInProgress), - (workInProgress.child = JSCompiler_object_inline_digest_3075), + (JSCompiler_object_inline_digest_3080.return = workInProgress), + (workInProgress.child = JSCompiler_object_inline_digest_3080), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null))) : (renderLanes = null); @@ -11001,9 +11008,9 @@ __DEV__ && : (workInProgress.lanes = 536870912); return null; } - var nextPrimaryChildren = JSCompiler_object_inline_stack_3076.children, - nextFallbackChildren = JSCompiler_object_inline_stack_3076.fallback; - if (JSCompiler_object_inline_message_3074) + var nextPrimaryChildren = JSCompiler_object_inline_stack_3081.children, + nextFallbackChildren = JSCompiler_object_inline_stack_3081.fallback; + if (JSCompiler_object_inline_message_3079) return ( reuseSuspenseHandlerOnStack(workInProgress), mountSuspenseFallbackChildren( @@ -11012,13 +11019,13 @@ __DEV__ && nextFallbackChildren, renderLanes ), - (JSCompiler_object_inline_stack_3076 = workInProgress.child), - (JSCompiler_object_inline_stack_3076.memoizedState = + (JSCompiler_object_inline_stack_3081 = workInProgress.child), + (JSCompiler_object_inline_stack_3081.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_3076.childLanes = + (JSCompiler_object_inline_stack_3081.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3075, + JSCompiler_object_inline_digest_3080, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -11030,20 +11037,20 @@ __DEV__ && ((current = enableTransitionTracing ? markerInstanceStack.current : null), - (renderLanes = JSCompiler_object_inline_stack_3076.updateQueue), + (renderLanes = JSCompiler_object_inline_stack_3081.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_stack_3076.updateQueue = { + ? (JSCompiler_object_inline_stack_3081.updateQueue = { transitions: workInProgress, markerInstances: current, retryQueue: null }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3076) + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3081) ); if ( "number" === - typeof JSCompiler_object_inline_stack_3076.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_3081.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), @@ -11053,18 +11060,18 @@ __DEV__ && nextFallbackChildren, renderLanes ), - (JSCompiler_object_inline_stack_3076 = workInProgress.child), - (JSCompiler_object_inline_stack_3076.memoizedState = + (JSCompiler_object_inline_stack_3081 = workInProgress.child), + (JSCompiler_object_inline_stack_3081.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_3076.childLanes = + (JSCompiler_object_inline_stack_3081.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3075, + JSCompiler_object_inline_digest_3080, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3076) + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3081) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -11074,8 +11081,8 @@ __DEV__ && } var prevState = current.memoizedState; if (null !== prevState) { - var JSCompiler_object_inline_componentStack_3077 = prevState.dehydrated; - if (null !== JSCompiler_object_inline_componentStack_3077) { + var JSCompiler_object_inline_componentStack_3082 = prevState.dehydrated; + if (null !== JSCompiler_object_inline_componentStack_3082) { if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -11092,13 +11099,13 @@ __DEV__ && (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), (nextPrimaryChildren = - JSCompiler_object_inline_stack_3076.fallback), + JSCompiler_object_inline_stack_3081.fallback), (nextFallbackChildren = workInProgress.mode), - (JSCompiler_object_inline_stack_3076 = + (JSCompiler_object_inline_stack_3081 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_3076.children + children: JSCompiler_object_inline_stack_3081.children }, nextFallbackChildren )), @@ -11109,30 +11116,30 @@ __DEV__ && null )), (nextPrimaryChildren.flags |= 2), - (JSCompiler_object_inline_stack_3076.return = workInProgress), + (JSCompiler_object_inline_stack_3081.return = workInProgress), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_3076.sibling = + (JSCompiler_object_inline_stack_3081.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_3076), + (workInProgress.child = JSCompiler_object_inline_stack_3081), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_3076 = workInProgress.child), - (JSCompiler_object_inline_stack_3076.memoizedState = + (JSCompiler_object_inline_stack_3081 = workInProgress.child), + (JSCompiler_object_inline_stack_3081.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_3076.childLanes = + (JSCompiler_object_inline_stack_3081.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3075, + JSCompiler_object_inline_digest_3080, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = bailoutOffscreenComponent( null, - JSCompiler_object_inline_stack_3076 + JSCompiler_object_inline_stack_3081 ))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -11140,45 +11147,45 @@ __DEV__ && 0 !== (renderLanes & 536870912) && markRenderDerivedCause(workInProgress), isSuspenseInstanceFallback( - JSCompiler_object_inline_componentStack_3077 + JSCompiler_object_inline_componentStack_3082 )) ) { - JSCompiler_object_inline_digest_3075 = - JSCompiler_object_inline_componentStack_3077.nextSibling && - JSCompiler_object_inline_componentStack_3077.nextSibling.dataset; - if (JSCompiler_object_inline_digest_3075) { - nextPrimaryChildren = JSCompiler_object_inline_digest_3075.dgst; - var message = JSCompiler_object_inline_digest_3075.msg; - nextFallbackChildren = JSCompiler_object_inline_digest_3075.stck; - var componentStack = JSCompiler_object_inline_digest_3075.cstck; + JSCompiler_object_inline_digest_3080 = + JSCompiler_object_inline_componentStack_3082.nextSibling && + JSCompiler_object_inline_componentStack_3082.nextSibling.dataset; + if (JSCompiler_object_inline_digest_3080) { + nextPrimaryChildren = JSCompiler_object_inline_digest_3080.dgst; + var message = JSCompiler_object_inline_digest_3080.msg; + nextFallbackChildren = JSCompiler_object_inline_digest_3080.stck; + var componentStack = JSCompiler_object_inline_digest_3080.cstck; } - JSCompiler_object_inline_message_3074 = message; - JSCompiler_object_inline_digest_3075 = nextPrimaryChildren; - JSCompiler_object_inline_stack_3076 = nextFallbackChildren; - JSCompiler_object_inline_componentStack_3077 = componentStack; - nextPrimaryChildren = JSCompiler_object_inline_message_3074; - nextFallbackChildren = JSCompiler_object_inline_componentStack_3077; + JSCompiler_object_inline_message_3079 = message; + JSCompiler_object_inline_digest_3080 = nextPrimaryChildren; + JSCompiler_object_inline_stack_3081 = nextFallbackChildren; + JSCompiler_object_inline_componentStack_3082 = componentStack; + nextPrimaryChildren = JSCompiler_object_inline_message_3079; + nextFallbackChildren = JSCompiler_object_inline_componentStack_3082; nextPrimaryChildren = nextPrimaryChildren ? Error(nextPrimaryChildren) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); nextPrimaryChildren.stack = - JSCompiler_object_inline_stack_3076 || ""; - nextPrimaryChildren.digest = JSCompiler_object_inline_digest_3075; - JSCompiler_object_inline_digest_3075 = + JSCompiler_object_inline_stack_3081 || ""; + nextPrimaryChildren.digest = JSCompiler_object_inline_digest_3080; + JSCompiler_object_inline_digest_3080 = void 0 === nextFallbackChildren ? null : nextFallbackChildren; - JSCompiler_object_inline_stack_3076 = { + JSCompiler_object_inline_stack_3081 = { value: nextPrimaryChildren, source: null, - stack: JSCompiler_object_inline_digest_3075 + stack: JSCompiler_object_inline_digest_3080 }; - "string" === typeof JSCompiler_object_inline_digest_3075 && + "string" === typeof JSCompiler_object_inline_digest_3080 && CapturedStacks.set( nextPrimaryChildren, - JSCompiler_object_inline_stack_3076 + JSCompiler_object_inline_stack_3081 ); - queueHydrationError(JSCompiler_object_inline_stack_3076); + queueHydrationError(JSCompiler_object_inline_stack_3081); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -11192,35 +11199,35 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_3075 = + (JSCompiler_object_inline_digest_3080 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_3075) + didReceiveUpdate || JSCompiler_object_inline_digest_3080) ) { - JSCompiler_object_inline_digest_3075 = workInProgressRoot; + JSCompiler_object_inline_digest_3080 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_3075 && - ((JSCompiler_object_inline_stack_3076 = getBumpedLaneForHydration( - JSCompiler_object_inline_digest_3075, + null !== JSCompiler_object_inline_digest_3080 && + ((JSCompiler_object_inline_stack_3081 = getBumpedLaneForHydration( + JSCompiler_object_inline_digest_3080, renderLanes )), - 0 !== JSCompiler_object_inline_stack_3076 && - JSCompiler_object_inline_stack_3076 !== prevState.retryLane) + 0 !== JSCompiler_object_inline_stack_3081 && + JSCompiler_object_inline_stack_3081 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_3076), + ((prevState.retryLane = JSCompiler_object_inline_stack_3081), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_3076 + JSCompiler_object_inline_stack_3081 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_3075, + JSCompiler_object_inline_digest_3080, current, - JSCompiler_object_inline_stack_3076 + JSCompiler_object_inline_stack_3081 ), SelectiveHydrationException) ); isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_3077 + JSCompiler_object_inline_componentStack_3082 ) || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -11229,14 +11236,14 @@ __DEV__ && ); } else isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_3077 + JSCompiler_object_inline_componentStack_3082 ) ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_componentStack_3077.nextSibling + JSCompiler_object_inline_componentStack_3082.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -11248,32 +11255,32 @@ __DEV__ && restoreSuspendedTreeContext(workInProgress, current), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_3076.children + JSCompiler_object_inline_stack_3081.children )), (workInProgress.flags |= 4096)); return workInProgress; } } - if (JSCompiler_object_inline_message_3074) + if (JSCompiler_object_inline_message_3079) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = JSCompiler_object_inline_stack_3076.fallback), + (nextPrimaryChildren = JSCompiler_object_inline_stack_3081.fallback), (nextFallbackChildren = workInProgress.mode), (componentStack = current.child), - (JSCompiler_object_inline_componentStack_3077 = + (JSCompiler_object_inline_componentStack_3082 = componentStack.sibling), - (JSCompiler_object_inline_stack_3076 = createWorkInProgress( + (JSCompiler_object_inline_stack_3081 = createWorkInProgress( componentStack, { mode: "hidden", - children: JSCompiler_object_inline_stack_3076.children + children: JSCompiler_object_inline_stack_3081.children } )), - (JSCompiler_object_inline_stack_3076.subtreeFlags = + (JSCompiler_object_inline_stack_3081.subtreeFlags = componentStack.subtreeFlags & 65011712), - null !== JSCompiler_object_inline_componentStack_3077 + null !== JSCompiler_object_inline_componentStack_3082 ? (nextPrimaryChildren = createWorkInProgress( - JSCompiler_object_inline_componentStack_3077, + JSCompiler_object_inline_componentStack_3082, nextPrimaryChildren )) : ((nextPrimaryChildren = createFiberFromFragment( @@ -11284,11 +11291,11 @@ __DEV__ && )), (nextPrimaryChildren.flags |= 2)), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_3076.return = workInProgress), - (JSCompiler_object_inline_stack_3076.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_3076), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3076), - (JSCompiler_object_inline_stack_3076 = workInProgress.child), + (JSCompiler_object_inline_stack_3081.return = workInProgress), + (JSCompiler_object_inline_stack_3081.sibling = nextPrimaryChildren), + (workInProgress.child = JSCompiler_object_inline_stack_3081), + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3081), + (JSCompiler_object_inline_stack_3081 = workInProgress.child), (nextPrimaryChildren = current.child.memoizedState), null === nextPrimaryChildren ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) @@ -11304,7 +11311,7 @@ __DEV__ && baseLanes: nextPrimaryChildren.baseLanes | renderLanes, cachePool: nextFallbackChildren })), - (JSCompiler_object_inline_stack_3076.memoizedState = + (JSCompiler_object_inline_stack_3081.memoizedState = nextPrimaryChildren), enableTransitionTracing && ((nextPrimaryChildren = enableTransitionTracing @@ -11315,37 +11322,37 @@ __DEV__ && ? markerInstanceStack.current : null), (componentStack = - JSCompiler_object_inline_stack_3076.updateQueue), - (JSCompiler_object_inline_componentStack_3077 = + JSCompiler_object_inline_stack_3081.updateQueue), + (JSCompiler_object_inline_componentStack_3082 = current.updateQueue), null === componentStack - ? (JSCompiler_object_inline_stack_3076.updateQueue = { + ? (JSCompiler_object_inline_stack_3081.updateQueue = { transitions: nextPrimaryChildren, markerInstances: nextFallbackChildren, retryQueue: null }) : componentStack === - JSCompiler_object_inline_componentStack_3077 - ? (JSCompiler_object_inline_stack_3076.updateQueue = { + JSCompiler_object_inline_componentStack_3082 + ? (JSCompiler_object_inline_stack_3081.updateQueue = { transitions: nextPrimaryChildren, markerInstances: nextFallbackChildren, retryQueue: - null !== JSCompiler_object_inline_componentStack_3077 - ? JSCompiler_object_inline_componentStack_3077.retryQueue + null !== JSCompiler_object_inline_componentStack_3082 + ? JSCompiler_object_inline_componentStack_3082.retryQueue : null }) : ((componentStack.transitions = nextPrimaryChildren), (componentStack.markerInstances = nextFallbackChildren)))), - (JSCompiler_object_inline_stack_3076.childLanes = + (JSCompiler_object_inline_stack_3081.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3075, + JSCompiler_object_inline_digest_3080, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), bailoutOffscreenComponent( current.child, - JSCompiler_object_inline_stack_3076 + JSCompiler_object_inline_stack_3081 ) ); null !== prevState && @@ -11357,16 +11364,16 @@ __DEV__ && current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_3076.children + children: JSCompiler_object_inline_stack_3081.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_3075 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_3075 + ((JSCompiler_object_inline_digest_3080 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_3080 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_3075.push(current)); + : JSCompiler_object_inline_digest_3080.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -18629,13 +18636,16 @@ __DEV__ && : resolveUpdatePriority(); } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating - ? claimNextTransitionLane() - : 536870912); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } else workInProgressDeferredLane = 536870912; + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -20662,7 +20672,7 @@ __DEV__ && suspendedCommitReason = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42)) + (0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -28487,7 +28497,8 @@ __DEV__ && clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2, - nextTransitionLane = 256, + nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, DiscreteEventPriority = 2, ContinuousEventPriority = 8, @@ -32622,11 +32633,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-www-classic-3168e08f-20250903" !== isomorphicReactPackageVersion) + if ("19.2.0-www-classic-3302d1f7-20250903" !== 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.2.0-www-classic-3168e08f-20250903\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-www-classic-3302d1f7-20250903\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -32669,10 +32680,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-www-classic-3168e08f-20250903", + version: "19.2.0-www-classic-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-classic-3302d1f7-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -33450,5 +33461,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-www-classic-3168e08f-20250903"; + exports.version = "19.2.0-www-classic-3302d1f7-20250903"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index fdd68ea1a8..d2be82516b 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -529,11 +529,12 @@ __DEV__ && case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -655,12 +656,6 @@ __DEV__ && ); } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -728,7 +723,7 @@ __DEV__ && root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -5485,8 +5480,12 @@ __DEV__ && function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -8613,7 +8612,11 @@ __DEV__ && ); } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -8629,7 +8632,11 @@ __DEV__ && objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -10758,24 +10765,24 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_3070; - var JSCompiler_object_inline_stack_3071 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_3075; + var JSCompiler_object_inline_stack_3076 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_3069 = !1; + var JSCompiler_object_inline_message_3074 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_3070 = didSuspend) || - (JSCompiler_object_inline_digest_3070 = + (JSCompiler_object_inline_digest_3075 = didSuspend) || + (JSCompiler_object_inline_digest_3075 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_3070 && - ((JSCompiler_object_inline_message_3069 = !0), + JSCompiler_object_inline_digest_3075 && + ((JSCompiler_object_inline_message_3074 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_3070 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_3075 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_3069 + JSCompiler_object_inline_message_3074 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); (current = nextHydratableInstance) @@ -10788,18 +10795,18 @@ __DEV__ && ? renderLanes : null), null !== renderLanes && - ((JSCompiler_object_inline_digest_3070 = { + ((JSCompiler_object_inline_digest_3075 = { dehydrated: renderLanes, treeContext: getSuspendedTreeContext(), retryLane: 536870912, hydrationErrors: null }), (workInProgress.memoizedState = - JSCompiler_object_inline_digest_3070), - (JSCompiler_object_inline_digest_3070 = + JSCompiler_object_inline_digest_3075), + (JSCompiler_object_inline_digest_3075 = createFiberFromDehydratedFragment(renderLanes)), - (JSCompiler_object_inline_digest_3070.return = workInProgress), - (workInProgress.child = JSCompiler_object_inline_digest_3070), + (JSCompiler_object_inline_digest_3075.return = workInProgress), + (workInProgress.child = JSCompiler_object_inline_digest_3075), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null))) : (renderLanes = null); @@ -10813,9 +10820,9 @@ __DEV__ && : (workInProgress.lanes = 536870912); return null; } - var nextPrimaryChildren = JSCompiler_object_inline_stack_3071.children, - nextFallbackChildren = JSCompiler_object_inline_stack_3071.fallback; - if (JSCompiler_object_inline_message_3069) + var nextPrimaryChildren = JSCompiler_object_inline_stack_3076.children, + nextFallbackChildren = JSCompiler_object_inline_stack_3076.fallback; + if (JSCompiler_object_inline_message_3074) return ( reuseSuspenseHandlerOnStack(workInProgress), mountSuspenseFallbackChildren( @@ -10824,13 +10831,13 @@ __DEV__ && nextFallbackChildren, renderLanes ), - (JSCompiler_object_inline_stack_3071 = workInProgress.child), - (JSCompiler_object_inline_stack_3071.memoizedState = + (JSCompiler_object_inline_stack_3076 = workInProgress.child), + (JSCompiler_object_inline_stack_3076.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_3071.childLanes = + (JSCompiler_object_inline_stack_3076.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3070, + JSCompiler_object_inline_digest_3075, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -10842,20 +10849,20 @@ __DEV__ && ((current = enableTransitionTracing ? markerInstanceStack.current : null), - (renderLanes = JSCompiler_object_inline_stack_3071.updateQueue), + (renderLanes = JSCompiler_object_inline_stack_3076.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_stack_3071.updateQueue = { + ? (JSCompiler_object_inline_stack_3076.updateQueue = { transitions: workInProgress, markerInstances: current, retryQueue: null }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3071) + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3076) ); if ( "number" === - typeof JSCompiler_object_inline_stack_3071.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_3076.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), @@ -10865,18 +10872,18 @@ __DEV__ && nextFallbackChildren, renderLanes ), - (JSCompiler_object_inline_stack_3071 = workInProgress.child), - (JSCompiler_object_inline_stack_3071.memoizedState = + (JSCompiler_object_inline_stack_3076 = workInProgress.child), + (JSCompiler_object_inline_stack_3076.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_3071.childLanes = + (JSCompiler_object_inline_stack_3076.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3070, + JSCompiler_object_inline_digest_3075, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3071) + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3076) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -10886,8 +10893,8 @@ __DEV__ && } var prevState = current.memoizedState; if (null !== prevState) { - var JSCompiler_object_inline_componentStack_3072 = prevState.dehydrated; - if (null !== JSCompiler_object_inline_componentStack_3072) { + var JSCompiler_object_inline_componentStack_3077 = prevState.dehydrated; + if (null !== JSCompiler_object_inline_componentStack_3077) { if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -10904,13 +10911,13 @@ __DEV__ && (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), (nextPrimaryChildren = - JSCompiler_object_inline_stack_3071.fallback), + JSCompiler_object_inline_stack_3076.fallback), (nextFallbackChildren = workInProgress.mode), - (JSCompiler_object_inline_stack_3071 = + (JSCompiler_object_inline_stack_3076 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_3071.children + children: JSCompiler_object_inline_stack_3076.children }, nextFallbackChildren )), @@ -10921,30 +10928,30 @@ __DEV__ && null )), (nextPrimaryChildren.flags |= 2), - (JSCompiler_object_inline_stack_3071.return = workInProgress), + (JSCompiler_object_inline_stack_3076.return = workInProgress), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_3071.sibling = + (JSCompiler_object_inline_stack_3076.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_3071), + (workInProgress.child = JSCompiler_object_inline_stack_3076), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_3071 = workInProgress.child), - (JSCompiler_object_inline_stack_3071.memoizedState = + (JSCompiler_object_inline_stack_3076 = workInProgress.child), + (JSCompiler_object_inline_stack_3076.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_3071.childLanes = + (JSCompiler_object_inline_stack_3076.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3070, + JSCompiler_object_inline_digest_3075, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = bailoutOffscreenComponent( null, - JSCompiler_object_inline_stack_3071 + JSCompiler_object_inline_stack_3076 ))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -10952,45 +10959,45 @@ __DEV__ && 0 !== (renderLanes & 536870912) && markRenderDerivedCause(workInProgress), isSuspenseInstanceFallback( - JSCompiler_object_inline_componentStack_3072 + JSCompiler_object_inline_componentStack_3077 )) ) { - JSCompiler_object_inline_digest_3070 = - JSCompiler_object_inline_componentStack_3072.nextSibling && - JSCompiler_object_inline_componentStack_3072.nextSibling.dataset; - if (JSCompiler_object_inline_digest_3070) { - nextPrimaryChildren = JSCompiler_object_inline_digest_3070.dgst; - var message = JSCompiler_object_inline_digest_3070.msg; - nextFallbackChildren = JSCompiler_object_inline_digest_3070.stck; - var componentStack = JSCompiler_object_inline_digest_3070.cstck; + JSCompiler_object_inline_digest_3075 = + JSCompiler_object_inline_componentStack_3077.nextSibling && + JSCompiler_object_inline_componentStack_3077.nextSibling.dataset; + if (JSCompiler_object_inline_digest_3075) { + nextPrimaryChildren = JSCompiler_object_inline_digest_3075.dgst; + var message = JSCompiler_object_inline_digest_3075.msg; + nextFallbackChildren = JSCompiler_object_inline_digest_3075.stck; + var componentStack = JSCompiler_object_inline_digest_3075.cstck; } - JSCompiler_object_inline_message_3069 = message; - JSCompiler_object_inline_digest_3070 = nextPrimaryChildren; - JSCompiler_object_inline_stack_3071 = nextFallbackChildren; - JSCompiler_object_inline_componentStack_3072 = componentStack; - nextPrimaryChildren = JSCompiler_object_inline_message_3069; - nextFallbackChildren = JSCompiler_object_inline_componentStack_3072; + JSCompiler_object_inline_message_3074 = message; + JSCompiler_object_inline_digest_3075 = nextPrimaryChildren; + JSCompiler_object_inline_stack_3076 = nextFallbackChildren; + JSCompiler_object_inline_componentStack_3077 = componentStack; + nextPrimaryChildren = JSCompiler_object_inline_message_3074; + nextFallbackChildren = JSCompiler_object_inline_componentStack_3077; nextPrimaryChildren = nextPrimaryChildren ? Error(nextPrimaryChildren) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); nextPrimaryChildren.stack = - JSCompiler_object_inline_stack_3071 || ""; - nextPrimaryChildren.digest = JSCompiler_object_inline_digest_3070; - JSCompiler_object_inline_digest_3070 = + JSCompiler_object_inline_stack_3076 || ""; + nextPrimaryChildren.digest = JSCompiler_object_inline_digest_3075; + JSCompiler_object_inline_digest_3075 = void 0 === nextFallbackChildren ? null : nextFallbackChildren; - JSCompiler_object_inline_stack_3071 = { + JSCompiler_object_inline_stack_3076 = { value: nextPrimaryChildren, source: null, - stack: JSCompiler_object_inline_digest_3070 + stack: JSCompiler_object_inline_digest_3075 }; - "string" === typeof JSCompiler_object_inline_digest_3070 && + "string" === typeof JSCompiler_object_inline_digest_3075 && CapturedStacks.set( nextPrimaryChildren, - JSCompiler_object_inline_stack_3071 + JSCompiler_object_inline_stack_3076 ); - queueHydrationError(JSCompiler_object_inline_stack_3071); + queueHydrationError(JSCompiler_object_inline_stack_3076); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -11004,35 +11011,35 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_3070 = + (JSCompiler_object_inline_digest_3075 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_3070) + didReceiveUpdate || JSCompiler_object_inline_digest_3075) ) { - JSCompiler_object_inline_digest_3070 = workInProgressRoot; + JSCompiler_object_inline_digest_3075 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_3070 && - ((JSCompiler_object_inline_stack_3071 = getBumpedLaneForHydration( - JSCompiler_object_inline_digest_3070, + null !== JSCompiler_object_inline_digest_3075 && + ((JSCompiler_object_inline_stack_3076 = getBumpedLaneForHydration( + JSCompiler_object_inline_digest_3075, renderLanes )), - 0 !== JSCompiler_object_inline_stack_3071 && - JSCompiler_object_inline_stack_3071 !== prevState.retryLane) + 0 !== JSCompiler_object_inline_stack_3076 && + JSCompiler_object_inline_stack_3076 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_3071), + ((prevState.retryLane = JSCompiler_object_inline_stack_3076), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_3071 + JSCompiler_object_inline_stack_3076 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_3070, + JSCompiler_object_inline_digest_3075, current, - JSCompiler_object_inline_stack_3071 + JSCompiler_object_inline_stack_3076 ), SelectiveHydrationException) ); isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_3072 + JSCompiler_object_inline_componentStack_3077 ) || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -11041,14 +11048,14 @@ __DEV__ && ); } else isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_3072 + JSCompiler_object_inline_componentStack_3077 ) ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_componentStack_3072.nextSibling + JSCompiler_object_inline_componentStack_3077.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -11060,32 +11067,32 @@ __DEV__ && restoreSuspendedTreeContext(workInProgress, current), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_3071.children + JSCompiler_object_inline_stack_3076.children )), (workInProgress.flags |= 4096)); return workInProgress; } } - if (JSCompiler_object_inline_message_3069) + if (JSCompiler_object_inline_message_3074) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = JSCompiler_object_inline_stack_3071.fallback), + (nextPrimaryChildren = JSCompiler_object_inline_stack_3076.fallback), (nextFallbackChildren = workInProgress.mode), (componentStack = current.child), - (JSCompiler_object_inline_componentStack_3072 = + (JSCompiler_object_inline_componentStack_3077 = componentStack.sibling), - (JSCompiler_object_inline_stack_3071 = createWorkInProgress( + (JSCompiler_object_inline_stack_3076 = createWorkInProgress( componentStack, { mode: "hidden", - children: JSCompiler_object_inline_stack_3071.children + children: JSCompiler_object_inline_stack_3076.children } )), - (JSCompiler_object_inline_stack_3071.subtreeFlags = + (JSCompiler_object_inline_stack_3076.subtreeFlags = componentStack.subtreeFlags & 65011712), - null !== JSCompiler_object_inline_componentStack_3072 + null !== JSCompiler_object_inline_componentStack_3077 ? (nextPrimaryChildren = createWorkInProgress( - JSCompiler_object_inline_componentStack_3072, + JSCompiler_object_inline_componentStack_3077, nextPrimaryChildren )) : ((nextPrimaryChildren = createFiberFromFragment( @@ -11096,11 +11103,11 @@ __DEV__ && )), (nextPrimaryChildren.flags |= 2)), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_3071.return = workInProgress), - (JSCompiler_object_inline_stack_3071.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_3071), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3071), - (JSCompiler_object_inline_stack_3071 = workInProgress.child), + (JSCompiler_object_inline_stack_3076.return = workInProgress), + (JSCompiler_object_inline_stack_3076.sibling = nextPrimaryChildren), + (workInProgress.child = JSCompiler_object_inline_stack_3076), + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3076), + (JSCompiler_object_inline_stack_3076 = workInProgress.child), (nextPrimaryChildren = current.child.memoizedState), null === nextPrimaryChildren ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) @@ -11116,7 +11123,7 @@ __DEV__ && baseLanes: nextPrimaryChildren.baseLanes | renderLanes, cachePool: nextFallbackChildren })), - (JSCompiler_object_inline_stack_3071.memoizedState = + (JSCompiler_object_inline_stack_3076.memoizedState = nextPrimaryChildren), enableTransitionTracing && ((nextPrimaryChildren = enableTransitionTracing @@ -11127,37 +11134,37 @@ __DEV__ && ? markerInstanceStack.current : null), (componentStack = - JSCompiler_object_inline_stack_3071.updateQueue), - (JSCompiler_object_inline_componentStack_3072 = + JSCompiler_object_inline_stack_3076.updateQueue), + (JSCompiler_object_inline_componentStack_3077 = current.updateQueue), null === componentStack - ? (JSCompiler_object_inline_stack_3071.updateQueue = { + ? (JSCompiler_object_inline_stack_3076.updateQueue = { transitions: nextPrimaryChildren, markerInstances: nextFallbackChildren, retryQueue: null }) : componentStack === - JSCompiler_object_inline_componentStack_3072 - ? (JSCompiler_object_inline_stack_3071.updateQueue = { + JSCompiler_object_inline_componentStack_3077 + ? (JSCompiler_object_inline_stack_3076.updateQueue = { transitions: nextPrimaryChildren, markerInstances: nextFallbackChildren, retryQueue: - null !== JSCompiler_object_inline_componentStack_3072 - ? JSCompiler_object_inline_componentStack_3072.retryQueue + null !== JSCompiler_object_inline_componentStack_3077 + ? JSCompiler_object_inline_componentStack_3077.retryQueue : null }) : ((componentStack.transitions = nextPrimaryChildren), (componentStack.markerInstances = nextFallbackChildren)))), - (JSCompiler_object_inline_stack_3071.childLanes = + (JSCompiler_object_inline_stack_3076.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_3070, + JSCompiler_object_inline_digest_3075, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), bailoutOffscreenComponent( current.child, - JSCompiler_object_inline_stack_3071 + JSCompiler_object_inline_stack_3076 ) ); null !== prevState && @@ -11169,16 +11176,16 @@ __DEV__ && current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_3071.children + children: JSCompiler_object_inline_stack_3076.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_3070 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_3070 + ((JSCompiler_object_inline_digest_3075 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_3075 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_3070.push(current)); + : JSCompiler_object_inline_digest_3075.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -18428,13 +18435,16 @@ __DEV__ && : resolveUpdatePriority(); } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating - ? claimNextTransitionLane() - : 536870912); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } else workInProgressDeferredLane = 536870912; + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -20456,7 +20466,7 @@ __DEV__ && suspendedCommitReason = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42)) + (0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -28278,7 +28288,8 @@ __DEV__ && clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2, - nextTransitionLane = 256, + nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, DiscreteEventPriority = 2, ContinuousEventPriority = 8, @@ -32407,11 +32418,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-www-modern-3168e08f-20250903" !== isomorphicReactPackageVersion) + if ("19.2.0-www-modern-3302d1f7-20250903" !== 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.2.0-www-modern-3168e08f-20250903\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-www-modern-3302d1f7-20250903\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -32454,10 +32465,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-www-modern-3168e08f-20250903", + version: "19.2.0-www-modern-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-modern-3302d1f7-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -33235,5 +33246,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-www-modern-3168e08f-20250903"; + exports.version = "19.2.0-www-modern-3302d1f7-20250903"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index a7dc7836ca..08a7c0d141 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -335,7 +335,8 @@ function clz32Fallback(x) { x >>>= 0; return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0; } -var nextTransitionLane = 256, +var nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304; function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; @@ -367,11 +368,12 @@ function getHighestPriorityLanes(lanes) { case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -482,12 +484,6 @@ function computeExpirationTime(lane, currentTime) { return -1; } } -function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; -} function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -555,7 +551,7 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -2683,8 +2679,12 @@ function scheduleImmediateRootScheduleTask() { function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -4949,7 +4949,11 @@ function updateMemo(nextCreate, deps) { return prevState; } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -4965,7 +4969,11 @@ function updateDeferredValueImpl(hook, prevValue, value, initialValue) { objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -12583,13 +12591,16 @@ function requestUpdateLane() { : resolveUpdatePriority(); } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating - ? claimNextTransitionLane() - : 536870912); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } else workInProgressDeferredLane = 536870912; + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -13779,7 +13790,7 @@ function flushSpawnedWork() { passiveSubtreeMask = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (passiveSubtreeMask & 42)) + (0 !== (lanes & 261930) && 0 !== (passiveSubtreeMask & 42)) ? root === rootWithNestedUpdates ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) @@ -15415,20 +15426,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1858 = 0; - i$jscomp$inline_1858 < simpleEventPluginEvents.length; - i$jscomp$inline_1858++ + var i$jscomp$inline_1863 = 0; + i$jscomp$inline_1863 < simpleEventPluginEvents.length; + i$jscomp$inline_1863++ ) { - var eventName$jscomp$inline_1859 = - simpleEventPluginEvents[i$jscomp$inline_1858], - domEventName$jscomp$inline_1860 = - eventName$jscomp$inline_1859.toLowerCase(), - capitalizedEvent$jscomp$inline_1861 = - eventName$jscomp$inline_1859[0].toUpperCase() + - eventName$jscomp$inline_1859.slice(1); + var eventName$jscomp$inline_1864 = + simpleEventPluginEvents[i$jscomp$inline_1863], + domEventName$jscomp$inline_1865 = + eventName$jscomp$inline_1864.toLowerCase(), + capitalizedEvent$jscomp$inline_1866 = + eventName$jscomp$inline_1864[0].toUpperCase() + + eventName$jscomp$inline_1864.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1860, - "on" + capitalizedEvent$jscomp$inline_1861 + domEventName$jscomp$inline_1865, + "on" + capitalizedEvent$jscomp$inline_1866 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -20083,16 +20094,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_2138 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2143 = React.version; if ( - "19.2.0-www-classic-3168e08f-20250903" !== - isomorphicReactPackageVersion$jscomp$inline_2138 + "19.2.0-www-classic-3302d1f7-20250903" !== + isomorphicReactPackageVersion$jscomp$inline_2143 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2138, - "19.2.0-www-classic-3168e08f-20250903" + isomorphicReactPackageVersion$jscomp$inline_2143, + "19.2.0-www-classic-3302d1f7-20250903" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -20108,24 +20119,24 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2775 = { +var internals$jscomp$inline_2780 = { bundleType: 0, - version: "19.2.0-www-classic-3168e08f-20250903", + version: "19.2.0-www-classic-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-classic-3302d1f7-20250903" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2776 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2781 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2776.isDisabled && - hook$jscomp$inline_2776.supportsFiber + !hook$jscomp$inline_2781.isDisabled && + hook$jscomp$inline_2781.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2776.inject( - internals$jscomp$inline_2775 + (rendererID = hook$jscomp$inline_2781.inject( + internals$jscomp$inline_2780 )), - (injectedHook = hook$jscomp$inline_2776); + (injectedHook = hook$jscomp$inline_2781); } catch (err) {} } function defaultOnDefaultTransitionIndicator() { @@ -20693,4 +20704,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-classic-3168e08f-20250903"; +exports.version = "19.2.0-www-classic-3302d1f7-20250903"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index 8120d2aca2..00ff51cc62 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -333,7 +333,8 @@ function clz32Fallback(x) { x >>>= 0; return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0; } -var nextTransitionLane = 256, +var nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304; function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; @@ -365,11 +366,12 @@ function getHighestPriorityLanes(lanes) { case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -480,12 +482,6 @@ function computeExpirationTime(lane, currentTime) { return -1; } } -function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; -} function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -553,7 +549,7 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -2531,8 +2527,12 @@ function scheduleImmediateRootScheduleTask() { function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -4797,7 +4797,11 @@ function updateMemo(nextCreate, deps) { return prevState; } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -4813,7 +4817,11 @@ function updateDeferredValueImpl(hook, prevValue, value, initialValue) { objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -12328,13 +12336,16 @@ function requestUpdateLane() { : resolveUpdatePriority(); } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating - ? claimNextTransitionLane() - : 536870912); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } else workInProgressDeferredLane = 536870912; + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -13519,7 +13530,7 @@ function flushSpawnedWork() { passiveSubtreeMask = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (passiveSubtreeMask & 42)) + (0 !== (lanes & 261930) && 0 !== (passiveSubtreeMask & 42)) ? root === rootWithNestedUpdates ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) @@ -15149,20 +15160,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1848 = 0; - i$jscomp$inline_1848 < simpleEventPluginEvents.length; - i$jscomp$inline_1848++ + var i$jscomp$inline_1853 = 0; + i$jscomp$inline_1853 < simpleEventPluginEvents.length; + i$jscomp$inline_1853++ ) { - var eventName$jscomp$inline_1849 = - simpleEventPluginEvents[i$jscomp$inline_1848], - domEventName$jscomp$inline_1850 = - eventName$jscomp$inline_1849.toLowerCase(), - capitalizedEvent$jscomp$inline_1851 = - eventName$jscomp$inline_1849[0].toUpperCase() + - eventName$jscomp$inline_1849.slice(1); + var eventName$jscomp$inline_1854 = + simpleEventPluginEvents[i$jscomp$inline_1853], + domEventName$jscomp$inline_1855 = + eventName$jscomp$inline_1854.toLowerCase(), + capitalizedEvent$jscomp$inline_1856 = + eventName$jscomp$inline_1854[0].toUpperCase() + + eventName$jscomp$inline_1854.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1850, - "on" + capitalizedEvent$jscomp$inline_1851 + domEventName$jscomp$inline_1855, + "on" + capitalizedEvent$jscomp$inline_1856 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -19812,16 +19823,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_2128 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2133 = React.version; if ( - "19.2.0-www-modern-3168e08f-20250903" !== - isomorphicReactPackageVersion$jscomp$inline_2128 + "19.2.0-www-modern-3302d1f7-20250903" !== + isomorphicReactPackageVersion$jscomp$inline_2133 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2128, - "19.2.0-www-modern-3168e08f-20250903" + isomorphicReactPackageVersion$jscomp$inline_2133, + "19.2.0-www-modern-3302d1f7-20250903" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -19837,24 +19848,24 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2757 = { +var internals$jscomp$inline_2762 = { bundleType: 0, - version: "19.2.0-www-modern-3168e08f-20250903", + version: "19.2.0-www-modern-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-modern-3302d1f7-20250903" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2758 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2763 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2758.isDisabled && - hook$jscomp$inline_2758.supportsFiber + !hook$jscomp$inline_2763.isDisabled && + hook$jscomp$inline_2763.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2758.inject( - internals$jscomp$inline_2757 + (rendererID = hook$jscomp$inline_2763.inject( + internals$jscomp$inline_2762 )), - (injectedHook = hook$jscomp$inline_2758); + (injectedHook = hook$jscomp$inline_2763); } catch (err) {} } function defaultOnDefaultTransitionIndicator() { @@ -20422,4 +20433,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-modern-3168e08f-20250903"; +exports.version = "19.2.0-www-modern-3302d1f7-20250903"; diff --git a/compiled/facebook-www/ReactReconciler-dev.classic.js b/compiled/facebook-www/ReactReconciler-dev.classic.js index c5a07cb55c..bd05612ae5 100644 --- a/compiled/facebook-www/ReactReconciler-dev.classic.js +++ b/compiled/facebook-www/ReactReconciler-dev.classic.js @@ -560,11 +560,12 @@ __DEV__ && case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -686,12 +687,6 @@ __DEV__ && ); } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -759,7 +754,7 @@ __DEV__ && root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -3816,8 +3811,12 @@ __DEV__ && function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -6926,7 +6925,11 @@ __DEV__ && ); } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -6942,7 +6945,11 @@ __DEV__ && objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -16628,13 +16635,16 @@ __DEV__ && : resolveUpdatePriority(); } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating - ? claimNextTransitionLane() - : 536870912); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } else workInProgressDeferredLane = 536870912; + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -18546,7 +18556,7 @@ __DEV__ && suspendedCommitReason = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42)) + (0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -20030,7 +20040,8 @@ __DEV__ && clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log$1 = Math.log, LN2 = Math.LN2, - nextTransitionLane = 256, + nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, cancelCallback$1 = Scheduler.unstable_cancelCallback, @@ -22561,7 +22572,7 @@ __DEV__ && version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-classic-3302d1f7-20250903" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-dev.modern.js b/compiled/facebook-www/ReactReconciler-dev.modern.js index d02c177b0e..ddef406dcd 100644 --- a/compiled/facebook-www/ReactReconciler-dev.modern.js +++ b/compiled/facebook-www/ReactReconciler-dev.modern.js @@ -466,11 +466,12 @@ __DEV__ && case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -592,12 +593,6 @@ __DEV__ && ); } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -665,7 +660,7 @@ __DEV__ && root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -3722,8 +3717,12 @@ __DEV__ && function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -6832,7 +6831,11 @@ __DEV__ && ); } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -6848,7 +6851,11 @@ __DEV__ && objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -16446,13 +16453,16 @@ __DEV__ && : resolveUpdatePriority(); } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating - ? claimNextTransitionLane() - : 536870912); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } else workInProgressDeferredLane = 536870912; + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -18359,7 +18369,7 @@ __DEV__ && suspendedCommitReason = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42)) + (0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42)) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -19811,7 +19821,8 @@ __DEV__ && var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log$1 = Math.log, LN2 = Math.LN2, - nextTransitionLane = 256, + nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, cancelCallback$1 = Scheduler.unstable_cancelCallback, @@ -22341,7 +22352,7 @@ __DEV__ && version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-modern-3302d1f7-20250903" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.classic.js b/compiled/facebook-www/ReactReconciler-prod.classic.js index 57e032fed7..a6d78768c0 100644 --- a/compiled/facebook-www/ReactReconciler-prod.classic.js +++ b/compiled/facebook-www/ReactReconciler-prod.classic.js @@ -406,11 +406,12 @@ module.exports = function ($$$config) { case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -521,12 +522,6 @@ module.exports = function ($$$config) { return -1; } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -594,7 +589,7 @@ module.exports = function ($$$config) { root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -1605,8 +1600,12 @@ module.exports = function ($$$config) { function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -3816,7 +3815,11 @@ module.exports = function ($$$config) { return prevState; } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -3832,7 +3835,11 @@ module.exports = function ($$$config) { objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -11082,13 +11089,16 @@ module.exports = function ($$$config) { : resolveUpdatePriority(); } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating - ? claimNextTransitionLane() - : 536870912); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } else workInProgressDeferredLane = 536870912; + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -12176,7 +12186,7 @@ module.exports = function ($$$config) { passiveSubtreeMask = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (passiveSubtreeMask & 42)) + (0 !== (lanes & 261930) && 0 !== (passiveSubtreeMask & 42)) ? root === rootWithNestedUpdates ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) @@ -13139,7 +13149,8 @@ module.exports = function ($$$config) { clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log$1 = Math.log, LN2 = Math.LN2, - nextTransitionLane = 256, + nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, cancelCallback$1 = Scheduler.unstable_cancelCallback, @@ -14152,7 +14163,7 @@ module.exports = function ($$$config) { version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-classic-3302d1f7-20250903" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.modern.js b/compiled/facebook-www/ReactReconciler-prod.modern.js index e0aae07f56..a2b7d06fb4 100644 --- a/compiled/facebook-www/ReactReconciler-prod.modern.js +++ b/compiled/facebook-www/ReactReconciler-prod.modern.js @@ -269,11 +269,12 @@ module.exports = function ($$$config) { case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -384,12 +385,6 @@ module.exports = function ($$$config) { return -1; } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -457,7 +452,7 @@ module.exports = function ($$$config) { root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -1468,8 +1463,12 @@ module.exports = function ($$$config) { function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -3679,7 +3678,11 @@ module.exports = function ($$$config) { return prevState; } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -3695,7 +3698,11 @@ module.exports = function ($$$config) { objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -10838,13 +10845,16 @@ module.exports = function ($$$config) { : resolveUpdatePriority(); } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 === (workInProgressRootRenderLanes & 536870912) || isHydrating - ? claimNextTransitionLane() - : 536870912); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } else workInProgressDeferredLane = 536870912; + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleViewTransitionEvent(fiber, callback) { @@ -11927,7 +11937,7 @@ module.exports = function ($$$config) { passiveSubtreeMask = root.pendingLanes; (enableInfiniteRenderLoopDetection && (didIncludeRenderPhaseUpdate || didIncludeCommitPhaseUpdate)) || - (0 !== (lanes & 4194090) && 0 !== (passiveSubtreeMask & 42)) + (0 !== (lanes & 261930) && 0 !== (passiveSubtreeMask & 42)) ? root === rootWithNestedUpdates ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) @@ -12856,7 +12866,8 @@ module.exports = function ($$$config) { clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log$1 = Math.log, LN2 = Math.LN2, - nextTransitionLane = 256, + nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, scheduleCallback$3 = Scheduler.unstable_scheduleCallback, cancelCallback$1 = Scheduler.unstable_cancelCallback, @@ -13869,7 +13880,7 @@ module.exports = function ($$$config) { version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-modern-3302d1f7-20250903" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index b7a4d93793..41c508c545 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -13,7 +13,7 @@ "use strict"; __DEV__ && (function () { - function JSCompiler_object_inline_createNodeMock_1181() { + function JSCompiler_object_inline_createNodeMock_1186() { return null; } function findHook(fiber, id) { @@ -454,11 +454,12 @@ __DEV__ && case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -578,12 +579,6 @@ __DEV__ && ); } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -659,7 +654,7 @@ __DEV__ && root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -2390,8 +2385,12 @@ __DEV__ && function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -5347,7 +5346,11 @@ __DEV__ && ); } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -5363,7 +5366,11 @@ __DEV__ && objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -11225,13 +11232,18 @@ __DEV__ && return fiber; } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 !== (workInProgressRootRenderLanes & 536870912) - ? 536870912 - : claimNextTransitionLane()); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 !== (workInProgressRootRenderLanes & 536870912)) + workInProgressDeferredLane = 536870912; + else { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleUpdateOnFiber(root, fiber, lane) { @@ -12372,7 +12384,7 @@ __DEV__ && 0 !== (pendingEffectsLanes & 3) && flushPendingEffects(); ensureRootIsScheduled(root); remainingLanes = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (remainingLanes & 42) + 0 !== (lanes & 261930) && 0 !== (remainingLanes & 42) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -13587,7 +13599,8 @@ __DEV__ && clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2, - nextTransitionLane = 256, + nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, DiscreteEventPriority = 2, ContinuousEventPriority = 8, @@ -15558,10 +15571,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-www-classic-3168e08f-20250903", + version: "19.2.0-www-classic-3302d1f7-20250903", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-classic-3302d1f7-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15581,7 +15594,7 @@ __DEV__ && exports._Scheduler = Scheduler; exports.act = act; exports.create = function (element, options) { - var createNodeMock = JSCompiler_object_inline_createNodeMock_1181, + var createNodeMock = JSCompiler_object_inline_createNodeMock_1186, isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT, isConcurrent = isConcurrentOnly, isStrictMode = !1; @@ -15696,5 +15709,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.2.0-www-classic-3168e08f-20250903"; + exports.version = "19.2.0-www-classic-3302d1f7-20250903"; })(); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index e3009bc84e..41af8ee361 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -13,7 +13,7 @@ "use strict"; __DEV__ && (function () { - function JSCompiler_object_inline_createNodeMock_1181() { + function JSCompiler_object_inline_createNodeMock_1186() { return null; } function findHook(fiber, id) { @@ -454,11 +454,12 @@ __DEV__ && case 32768: case 65536: case 131072: + return lanes & 261888; case 262144: case 524288: case 1048576: case 2097152: - return lanes & 4194048; + return lanes & 3932160; case 4194304: case 8388608: case 16777216: @@ -578,12 +579,6 @@ __DEV__ && ); } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -659,7 +654,7 @@ __DEV__ && root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -2390,8 +2385,12 @@ __DEV__ && function requestTransitionLane() { if (0 === currentEventTransitionLane) { var actionScopeLane = currentEntangledLane; - currentEventTransitionLane = - 0 !== actionScopeLane ? actionScopeLane : claimNextTransitionLane(); + 0 === actionScopeLane && + ((actionScopeLane = nextTransitionUpdateLane), + (nextTransitionUpdateLane <<= 1), + 0 === (nextTransitionUpdateLane & 261888) && + (nextTransitionUpdateLane = 256)); + currentEventTransitionLane = actionScopeLane; } return currentEventTransitionLane; } @@ -5347,7 +5346,11 @@ __DEV__ && ); } function mountDeferredValueImpl(hook, value, initialValue) { - if (void 0 === initialValue || 0 !== (renderLanes & 1073741824)) + if ( + void 0 === initialValue || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (hook.memoizedState = value); hook.memoizedState = initialValue; hook = requestDeferredLane(); @@ -5363,7 +5366,11 @@ __DEV__ && objectIs(hook, prevValue) || (didReceiveUpdate = !0), hook ); - if (0 === (renderLanes & 42) || 0 !== (renderLanes & 1073741824)) + if ( + 0 === (renderLanes & 42) || + (0 !== (renderLanes & 1073741824) && + 0 === (workInProgressRootRenderLanes & 261930)) + ) return (didReceiveUpdate = !0), (hook.memoizedState = value); hook = requestDeferredLane(); currentlyRenderingFiber.lanes |= hook; @@ -11225,13 +11232,18 @@ __DEV__ && return fiber; } function requestDeferredLane() { - 0 === workInProgressDeferredLane && - (workInProgressDeferredLane = - 0 !== (workInProgressRootRenderLanes & 536870912) - ? 536870912 - : claimNextTransitionLane()); - var suspenseHandler = suspenseHandlerStackCursor.current; - null !== suspenseHandler && (suspenseHandler.flags |= 32); + if (0 === workInProgressDeferredLane) + if (0 !== (workInProgressRootRenderLanes & 536870912)) + workInProgressDeferredLane = 536870912; + else { + var lane = nextTransitionDeferredLane; + nextTransitionDeferredLane <<= 1; + 0 === (nextTransitionDeferredLane & 3932160) && + (nextTransitionDeferredLane = 262144); + workInProgressDeferredLane = lane; + } + lane = suspenseHandlerStackCursor.current; + null !== lane && (lane.flags |= 32); return workInProgressDeferredLane; } function scheduleUpdateOnFiber(root, fiber, lane) { @@ -12372,7 +12384,7 @@ __DEV__ && 0 !== (pendingEffectsLanes & 3) && flushPendingEffects(); ensureRootIsScheduled(root); remainingLanes = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (remainingLanes & 42) + 0 !== (lanes & 261930) && 0 !== (remainingLanes & 42) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -13587,7 +13599,8 @@ __DEV__ && clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, log = Math.log, LN2 = Math.LN2, - nextTransitionLane = 256, + nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304, DiscreteEventPriority = 2, ContinuousEventPriority = 8, @@ -15558,10 +15571,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-www-modern-3168e08f-20250903", + version: "19.2.0-www-modern-3302d1f7-20250903", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-3168e08f-20250903" + reconcilerVersion: "19.2.0-www-modern-3302d1f7-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15581,7 +15594,7 @@ __DEV__ && exports._Scheduler = Scheduler; exports.act = act; exports.create = function (element, options) { - var createNodeMock = JSCompiler_object_inline_createNodeMock_1181, + var createNodeMock = JSCompiler_object_inline_createNodeMock_1186, isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT, isConcurrent = isConcurrentOnly, isStrictMode = !1; @@ -15696,5 +15709,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.2.0-www-modern-3168e08f-20250903"; + exports.version = "19.2.0-www-modern-3302d1f7-20250903"; })(); diff --git a/compiled/facebook-www/VERSION_CLASSIC b/compiled/facebook-www/VERSION_CLASSIC index 21728d6138..65349b51c1 100644 --- a/compiled/facebook-www/VERSION_CLASSIC +++ b/compiled/facebook-www/VERSION_CLASSIC @@ -1 +1 @@ -19.2.0-www-classic-3168e08f-20250903 \ No newline at end of file +19.2.0-www-classic-3302d1f7-20250903 \ No newline at end of file diff --git a/compiled/facebook-www/VERSION_MODERN b/compiled/facebook-www/VERSION_MODERN index 89c4c1b38e..9af1231ad0 100644 --- a/compiled/facebook-www/VERSION_MODERN +++ b/compiled/facebook-www/VERSION_MODERN @@ -1 +1 @@ -19.2.0-www-modern-3168e08f-20250903 \ No newline at end of file +19.2.0-www-modern-3302d1f7-20250903 \ No newline at end of file