From 12c6a751b3362b5e2a32ed7f5ec8ce2318fdac44 Mon Sep 17 00:00:00 2001 From: acdlite Date: Wed, 3 Sep 2025 16:37:25 -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-rn/VERSION_NATIVE_FB | 2 +- .../react/react-dom/cjs/ReactDOM-dev.js | 4 +- .../react/react-dom/cjs/ReactDOM-prod.js | 4 +- .../react/react-dom/cjs/ReactDOM-profiling.js | 4 +- .../react/react-dom/cjs/ReactDOMClient-dev.js | 299 +++++++++--------- .../react-dom/cjs/ReactDOMClient-prod.js | 109 ++++--- .../react-dom/cjs/ReactDOMClient-profiling.js | 109 ++++--- .../react-dom/cjs/ReactDOMProfiling-dev.js | 299 +++++++++--------- .../react-dom/cjs/ReactDOMProfiling-prod.js | 109 ++++--- .../cjs/ReactDOMProfiling-profiling.js | 109 ++++--- .../cjs/ReactTestRenderer-dev.js | 67 ++-- .../cjs/ReactTestRenderer-prod.js | 77 +++-- .../cjs/ReactTestRenderer-profiling.js | 77 +++-- .../vendor/react/react/cjs/React-dev.js | 4 +- .../vendor/react/react/cjs/React-prod.js | 4 +- .../vendor/react/react/cjs/React-profiling.js | 4 +- .../Libraries/Renderer/REVISION | 2 +- .../implementations/ReactFabric-dev.fb.js | 61 ++-- .../implementations/ReactFabric-prod.fb.js | 111 ++++--- .../ReactFabric-profiling.fb.js | 115 ++++--- .../ReactNativeRenderer-dev.fb.js | 65 ++-- .../ReactNativeRenderer-prod.fb.js | 115 ++++--- .../ReactNativeRenderer-profiling.fb.js | 119 +++---- .../eslint-plugin-react-hooks/package.json | 2 +- 24 files changed, 1027 insertions(+), 844 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index c6e5bf6f19..014fc62d89 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.2.0-native-fb-3168e08f-20250903 \ No newline at end of file +19.2.0-native-fb-3302d1f7-20250903 \ No newline at end of file diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js index f56dfa22fb..a1b3f69945 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<56ac6a5f9e0a15495324372ea00e8858>> */ "use strict"; @@ -404,5 +404,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-native-fb-3168e08f-20250903"; + exports.version = "19.2.0-native-fb-3302d1f7-20250903"; })(); diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js index 4d4143df2a..f814ad4fca 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<5c28310e31f7b026d9838c06862fa435>> + * @generated SignedSource<<73920b47ab48258a511372994a8afedd>> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-3168e08f-20250903"; +exports.version = "19.2.0-native-fb-3302d1f7-20250903"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js index 4d4143df2a..f814ad4fca 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOM-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<5c28310e31f7b026d9838c06862fa435>> + * @generated SignedSource<<73920b47ab48258a511372994a8afedd>> */ "use strict"; @@ -203,4 +203,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-3168e08f-20250903"; +exports.version = "19.2.0-native-fb-3302d1f7-20250903"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js index 12609a7b64..1c80ab5213 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<0f4f308ab8b81b197c9d12d277140533>> + * @generated SignedSource<> */ /* @@ -1160,11 +1160,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: @@ -1284,12 +1285,6 @@ __DEV__ && ); } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -1364,7 +1359,7 @@ __DEV__ && root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -9018,7 +9013,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(); @@ -9034,7 +9033,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; @@ -11155,24 +11158,24 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2911; - var JSCompiler_object_inline_stack_2912 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2916; + var JSCompiler_object_inline_stack_2917 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2910 = !1; + var JSCompiler_object_inline_message_2915 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2911 = didSuspend) || - (JSCompiler_object_inline_digest_2911 = + (JSCompiler_object_inline_digest_2916 = didSuspend) || + (JSCompiler_object_inline_digest_2916 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2911 && - ((JSCompiler_object_inline_message_2910 = !0), + JSCompiler_object_inline_digest_2916 && + ((JSCompiler_object_inline_message_2915 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2911 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2916 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2910 + JSCompiler_object_inline_message_2915 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); (renderLanes = nextHydratableInstance) @@ -11185,18 +11188,18 @@ __DEV__ && ? current : null), null !== current && - ((JSCompiler_object_inline_digest_2911 = { + ((JSCompiler_object_inline_digest_2916 = { dehydrated: current, treeContext: getSuspendedTreeContext(), retryLane: 536870912, hydrationErrors: null }), (workInProgress.memoizedState = - JSCompiler_object_inline_digest_2911), - (JSCompiler_object_inline_digest_2911 = + JSCompiler_object_inline_digest_2916), + (JSCompiler_object_inline_digest_2916 = createFiberFromDehydratedFragment(current)), - (JSCompiler_object_inline_digest_2911.return = workInProgress), - (workInProgress.child = JSCompiler_object_inline_digest_2911), + (JSCompiler_object_inline_digest_2916.return = workInProgress), + (workInProgress.child = JSCompiler_object_inline_digest_2916), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null))) : (current = null); @@ -11210,9 +11213,9 @@ __DEV__ && : (workInProgress.lanes = 536870912); return null; } - var nextPrimaryChildren = JSCompiler_object_inline_stack_2912.children, - nextFallbackChildren = JSCompiler_object_inline_stack_2912.fallback; - if (JSCompiler_object_inline_message_2910) + var nextPrimaryChildren = JSCompiler_object_inline_stack_2917.children, + nextFallbackChildren = JSCompiler_object_inline_stack_2917.fallback; + if (JSCompiler_object_inline_message_2915) return ( reuseSuspenseHandlerOnStack(workInProgress), mountSuspenseFallbackChildren( @@ -11221,21 +11224,21 @@ __DEV__ && nextFallbackChildren, renderLanes ), - (JSCompiler_object_inline_stack_2912 = workInProgress.child), - (JSCompiler_object_inline_stack_2912.memoizedState = + (JSCompiler_object_inline_stack_2917 = workInProgress.child), + (JSCompiler_object_inline_stack_2917.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2912.childLanes = + (JSCompiler_object_inline_stack_2917.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2911, + JSCompiler_object_inline_digest_2916, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2912) + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2917) ); if ( "number" === - typeof JSCompiler_object_inline_stack_2912.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2917.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), @@ -11245,18 +11248,18 @@ __DEV__ && nextFallbackChildren, renderLanes ), - (JSCompiler_object_inline_stack_2912 = workInProgress.child), - (JSCompiler_object_inline_stack_2912.memoizedState = + (JSCompiler_object_inline_stack_2917 = workInProgress.child), + (JSCompiler_object_inline_stack_2917.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2912.childLanes = + (JSCompiler_object_inline_stack_2917.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2911, + JSCompiler_object_inline_digest_2916, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2912) + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2917) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -11266,8 +11269,8 @@ __DEV__ && } var prevState = current.memoizedState; if (null !== prevState) { - var JSCompiler_object_inline_componentStack_2913 = prevState.dehydrated; - if (null !== JSCompiler_object_inline_componentStack_2913) { + var JSCompiler_object_inline_componentStack_2918 = prevState.dehydrated; + if (null !== JSCompiler_object_inline_componentStack_2918) { if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -11284,13 +11287,13 @@ __DEV__ && (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), (nextPrimaryChildren = - JSCompiler_object_inline_stack_2912.fallback), + JSCompiler_object_inline_stack_2917.fallback), (nextFallbackChildren = workInProgress.mode), - (JSCompiler_object_inline_stack_2912 = + (JSCompiler_object_inline_stack_2917 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2912.children + children: JSCompiler_object_inline_stack_2917.children }, nextFallbackChildren )), @@ -11301,11 +11304,11 @@ __DEV__ && null )), (nextPrimaryChildren.flags |= 2), - (JSCompiler_object_inline_stack_2912.return = workInProgress), + (JSCompiler_object_inline_stack_2917.return = workInProgress), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_2912.sibling = + (JSCompiler_object_inline_stack_2917.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_2912), + (workInProgress.child = JSCompiler_object_inline_stack_2917), (workInProgress.mode & ConcurrentMode) !== NoMode && reconcileChildFibers( workInProgress, @@ -11313,19 +11316,19 @@ __DEV__ && null, renderLanes ), - (JSCompiler_object_inline_stack_2912 = workInProgress.child), - (JSCompiler_object_inline_stack_2912.memoizedState = + (JSCompiler_object_inline_stack_2917 = workInProgress.child), + (JSCompiler_object_inline_stack_2917.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2912.childLanes = + (JSCompiler_object_inline_stack_2917.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2911, + JSCompiler_object_inline_digest_2916, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = bailoutOffscreenComponent( null, - JSCompiler_object_inline_stack_2912 + JSCompiler_object_inline_stack_2917 ))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -11333,45 +11336,45 @@ __DEV__ && 0 !== (renderLanes & 536870912) && markRenderDerivedCause(workInProgress), isSuspenseInstanceFallback( - JSCompiler_object_inline_componentStack_2913 + JSCompiler_object_inline_componentStack_2918 )) ) { - JSCompiler_object_inline_digest_2911 = - JSCompiler_object_inline_componentStack_2913.nextSibling && - JSCompiler_object_inline_componentStack_2913.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2911) { - nextPrimaryChildren = JSCompiler_object_inline_digest_2911.dgst; - var message = JSCompiler_object_inline_digest_2911.msg; - nextFallbackChildren = JSCompiler_object_inline_digest_2911.stck; - var componentStack = JSCompiler_object_inline_digest_2911.cstck; + JSCompiler_object_inline_digest_2916 = + JSCompiler_object_inline_componentStack_2918.nextSibling && + JSCompiler_object_inline_componentStack_2918.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2916) { + nextPrimaryChildren = JSCompiler_object_inline_digest_2916.dgst; + var message = JSCompiler_object_inline_digest_2916.msg; + nextFallbackChildren = JSCompiler_object_inline_digest_2916.stck; + var componentStack = JSCompiler_object_inline_digest_2916.cstck; } - JSCompiler_object_inline_message_2910 = message; - JSCompiler_object_inline_digest_2911 = nextPrimaryChildren; - JSCompiler_object_inline_stack_2912 = nextFallbackChildren; - JSCompiler_object_inline_componentStack_2913 = componentStack; - nextPrimaryChildren = JSCompiler_object_inline_message_2910; - nextFallbackChildren = JSCompiler_object_inline_componentStack_2913; + JSCompiler_object_inline_message_2915 = message; + JSCompiler_object_inline_digest_2916 = nextPrimaryChildren; + JSCompiler_object_inline_stack_2917 = nextFallbackChildren; + JSCompiler_object_inline_componentStack_2918 = componentStack; + nextPrimaryChildren = JSCompiler_object_inline_message_2915; + nextFallbackChildren = JSCompiler_object_inline_componentStack_2918; 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_2912 || ""; - nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2911; - JSCompiler_object_inline_digest_2911 = + JSCompiler_object_inline_stack_2917 || ""; + nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2916; + JSCompiler_object_inline_digest_2916 = void 0 === nextFallbackChildren ? null : nextFallbackChildren; - JSCompiler_object_inline_stack_2912 = { + JSCompiler_object_inline_stack_2917 = { value: nextPrimaryChildren, source: null, - stack: JSCompiler_object_inline_digest_2911 + stack: JSCompiler_object_inline_digest_2916 }; - "string" === typeof JSCompiler_object_inline_digest_2911 && + "string" === typeof JSCompiler_object_inline_digest_2916 && CapturedStacks.set( nextPrimaryChildren, - JSCompiler_object_inline_stack_2912 + JSCompiler_object_inline_stack_2917 ); - queueHydrationError(JSCompiler_object_inline_stack_2912); + queueHydrationError(JSCompiler_object_inline_stack_2917); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -11385,35 +11388,35 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2911 = + (JSCompiler_object_inline_digest_2916 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2911) + didReceiveUpdate || JSCompiler_object_inline_digest_2916) ) { - JSCompiler_object_inline_digest_2911 = workInProgressRoot; + JSCompiler_object_inline_digest_2916 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2911 && - ((JSCompiler_object_inline_stack_2912 = getBumpedLaneForHydration( - JSCompiler_object_inline_digest_2911, + null !== JSCompiler_object_inline_digest_2916 && + ((JSCompiler_object_inline_stack_2917 = getBumpedLaneForHydration( + JSCompiler_object_inline_digest_2916, renderLanes )), - 0 !== JSCompiler_object_inline_stack_2912 && - JSCompiler_object_inline_stack_2912 !== prevState.retryLane) + 0 !== JSCompiler_object_inline_stack_2917 && + JSCompiler_object_inline_stack_2917 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2912), + ((prevState.retryLane = JSCompiler_object_inline_stack_2917), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2912 + JSCompiler_object_inline_stack_2917 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2911, + JSCompiler_object_inline_digest_2916, current, - JSCompiler_object_inline_stack_2912 + JSCompiler_object_inline_stack_2917 ), SelectiveHydrationException) ); isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_2913 + JSCompiler_object_inline_componentStack_2918 ) || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -11422,14 +11425,14 @@ __DEV__ && ); } else isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_2913 + JSCompiler_object_inline_componentStack_2918 ) ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((renderLanes = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_componentStack_2913.nextSibling + JSCompiler_object_inline_componentStack_2918.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -11441,47 +11444,47 @@ __DEV__ && restoreSuspendedTreeContext(workInProgress, renderLanes), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2912.children + JSCompiler_object_inline_stack_2917.children )), (workInProgress.flags |= 4096)); return workInProgress; } } - if (JSCompiler_object_inline_message_2910) + if (JSCompiler_object_inline_message_2915) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = JSCompiler_object_inline_stack_2912.fallback), + (nextPrimaryChildren = JSCompiler_object_inline_stack_2917.fallback), (nextFallbackChildren = workInProgress.mode), (componentStack = current.child), - (JSCompiler_object_inline_componentStack_2913 = + (JSCompiler_object_inline_componentStack_2918 = componentStack.sibling), - (JSCompiler_object_inline_message_2910 = { + (JSCompiler_object_inline_message_2915 = { mode: "hidden", - children: JSCompiler_object_inline_stack_2912.children + children: JSCompiler_object_inline_stack_2917.children }), (nextFallbackChildren & ConcurrentMode) === NoMode && workInProgress.child !== componentStack - ? ((JSCompiler_object_inline_stack_2912 = workInProgress.child), - (JSCompiler_object_inline_stack_2912.childLanes = 0), - (JSCompiler_object_inline_stack_2912.pendingProps = - JSCompiler_object_inline_message_2910), + ? ((JSCompiler_object_inline_stack_2917 = workInProgress.child), + (JSCompiler_object_inline_stack_2917.childLanes = 0), + (JSCompiler_object_inline_stack_2917.pendingProps = + JSCompiler_object_inline_message_2915), workInProgress.mode & ProfileMode && - ((JSCompiler_object_inline_stack_2912.actualDuration = -0), - (JSCompiler_object_inline_stack_2912.actualStartTime = -1.1), - (JSCompiler_object_inline_stack_2912.selfBaseDuration = + ((JSCompiler_object_inline_stack_2917.actualDuration = -0), + (JSCompiler_object_inline_stack_2917.actualStartTime = -1.1), + (JSCompiler_object_inline_stack_2917.selfBaseDuration = componentStack.selfBaseDuration), - (JSCompiler_object_inline_stack_2912.treeBaseDuration = + (JSCompiler_object_inline_stack_2917.treeBaseDuration = componentStack.treeBaseDuration)), (workInProgress.deletions = null)) - : ((JSCompiler_object_inline_stack_2912 = createWorkInProgress( + : ((JSCompiler_object_inline_stack_2917 = createWorkInProgress( componentStack, - JSCompiler_object_inline_message_2910 + JSCompiler_object_inline_message_2915 )), - (JSCompiler_object_inline_stack_2912.subtreeFlags = + (JSCompiler_object_inline_stack_2917.subtreeFlags = componentStack.subtreeFlags & 65011712)), - null !== JSCompiler_object_inline_componentStack_2913 + null !== JSCompiler_object_inline_componentStack_2918 ? (nextPrimaryChildren = createWorkInProgress( - JSCompiler_object_inline_componentStack_2913, + JSCompiler_object_inline_componentStack_2918, nextPrimaryChildren )) : ((nextPrimaryChildren = createFiberFromFragment( @@ -11492,11 +11495,11 @@ __DEV__ && )), (nextPrimaryChildren.flags |= 2)), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_2912.return = workInProgress), - (JSCompiler_object_inline_stack_2912.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_2912), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2912), - (JSCompiler_object_inline_stack_2912 = workInProgress.child), + (JSCompiler_object_inline_stack_2917.return = workInProgress), + (JSCompiler_object_inline_stack_2917.sibling = nextPrimaryChildren), + (workInProgress.child = JSCompiler_object_inline_stack_2917), + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2917), + (JSCompiler_object_inline_stack_2917 = workInProgress.child), (nextPrimaryChildren = current.child.memoizedState), null === nextPrimaryChildren ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) @@ -11512,18 +11515,18 @@ __DEV__ && baseLanes: nextPrimaryChildren.baseLanes | renderLanes, cachePool: nextFallbackChildren })), - (JSCompiler_object_inline_stack_2912.memoizedState = + (JSCompiler_object_inline_stack_2917.memoizedState = nextPrimaryChildren), - (JSCompiler_object_inline_stack_2912.childLanes = + (JSCompiler_object_inline_stack_2917.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2911, + JSCompiler_object_inline_digest_2916, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), bailoutOffscreenComponent( current.child, - JSCompiler_object_inline_stack_2912 + JSCompiler_object_inline_stack_2917 ) ); null !== prevState && @@ -11531,28 +11534,28 @@ __DEV__ && 0 !== (renderLanes & current.lanes) && markRenderDerivedCause(workInProgress); pushPrimaryTreeSuspenseHandler(workInProgress); - JSCompiler_object_inline_digest_2911 = current.child; - current = JSCompiler_object_inline_digest_2911.sibling; - JSCompiler_object_inline_digest_2911 = createWorkInProgress( - JSCompiler_object_inline_digest_2911, + JSCompiler_object_inline_digest_2916 = current.child; + current = JSCompiler_object_inline_digest_2916.sibling; + JSCompiler_object_inline_digest_2916 = createWorkInProgress( + JSCompiler_object_inline_digest_2916, { mode: "visible", - children: JSCompiler_object_inline_stack_2912.children + children: JSCompiler_object_inline_stack_2917.children } ); (workInProgress.mode & ConcurrentMode) === NoMode && - (JSCompiler_object_inline_digest_2911.lanes = renderLanes); - JSCompiler_object_inline_digest_2911.return = workInProgress; - JSCompiler_object_inline_digest_2911.sibling = null; + (JSCompiler_object_inline_digest_2916.lanes = renderLanes); + JSCompiler_object_inline_digest_2916.return = workInProgress; + JSCompiler_object_inline_digest_2916.sibling = null; null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); - workInProgress.child = JSCompiler_object_inline_digest_2911; + workInProgress.child = JSCompiler_object_inline_digest_2916; workInProgress.memoizedState = null; - return JSCompiler_object_inline_digest_2911; + return JSCompiler_object_inline_digest_2916; } function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { primaryChildren = mountWorkInProgressOffscreenFiber( @@ -17193,13 +17196,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 scheduleUpdateOnFiber(root, fiber, lane) { @@ -19159,7 +19165,7 @@ __DEV__ && flushPendingEffects(); ensureRootIsScheduled(root); suspendedCommitReason = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42) + 0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -19961,8 +19967,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; } @@ -25624,7 +25634,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, @@ -29569,11 +29580,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-3168e08f-20250903" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-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-native-fb-3168e08f-20250903\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-native-fb-3302d1f7-20250903\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -29610,10 +29621,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-3168e08f-20250903", + version: "19.2.0-native-fb-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-3168e08f-20250903" + reconcilerVersion: "19.2.0-native-fb-3302d1f7-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -29762,5 +29773,5 @@ __DEV__ && listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.2.0-native-fb-3168e08f-20250903"; + exports.version = "19.2.0-native-fb-3302d1f7-20250903"; })(); diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js index d5d32ccc52..e022af09f8 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<3281970e07dea5fb521ac7664dbecc34>> + * @generated SignedSource<<145774a31461bc1e01f4c25468795fd9>> */ /* @@ -714,7 +714,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; @@ -746,11 +747,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: @@ -859,12 +861,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; @@ -937,7 +933,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); @@ -5434,7 +5430,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(); @@ -5450,7 +5450,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; @@ -11447,13 +11451,16 @@ function requestUpdateLane(fiber) { : 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 scheduleUpdateOnFiber(root, fiber, lane) { @@ -12530,7 +12537,7 @@ function flushSpawnedWork() { 0 !== (pendingEffectsLanes & 3) && 0 !== root.tag && flushPendingEffects(); ensureRootIsScheduled(root); remainingLanes = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (remainingLanes & 42) + 0 !== (lanes & 261930) && 0 !== (remainingLanes & 42) ? root === rootWithNestedUpdates ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) @@ -12981,8 +12988,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; } @@ -13116,20 +13127,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1646 = 0; - i$jscomp$inline_1646 < simpleEventPluginEvents.length; - i$jscomp$inline_1646++ + var i$jscomp$inline_1651 = 0; + i$jscomp$inline_1651 < simpleEventPluginEvents.length; + i$jscomp$inline_1651++ ) { - var eventName$jscomp$inline_1647 = - simpleEventPluginEvents[i$jscomp$inline_1646], - domEventName$jscomp$inline_1648 = - eventName$jscomp$inline_1647.toLowerCase(), - capitalizedEvent$jscomp$inline_1649 = - eventName$jscomp$inline_1647[0].toUpperCase() + - eventName$jscomp$inline_1647.slice(1); + var eventName$jscomp$inline_1652 = + simpleEventPluginEvents[i$jscomp$inline_1651], + domEventName$jscomp$inline_1653 = + eventName$jscomp$inline_1652.toLowerCase(), + capitalizedEvent$jscomp$inline_1654 = + eventName$jscomp$inline_1652[0].toUpperCase() + + eventName$jscomp$inline_1652.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1648, - "on" + capitalizedEvent$jscomp$inline_1649 + domEventName$jscomp$inline_1653, + "on" + capitalizedEvent$jscomp$inline_1654 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -17375,16 +17386,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_2052 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2057 = React.version; if ( - "19.2.0-native-fb-3168e08f-20250903" !== - isomorphicReactPackageVersion$jscomp$inline_2052 + "19.2.0-native-fb-3302d1f7-20250903" !== + isomorphicReactPackageVersion$jscomp$inline_2057 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2052, - "19.2.0-native-fb-3168e08f-20250903" + isomorphicReactPackageVersion$jscomp$inline_2057, + "19.2.0-native-fb-3302d1f7-20250903" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -17404,24 +17415,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2625 = { +var internals$jscomp$inline_2630 = { bundleType: 0, - version: "19.2.0-native-fb-3168e08f-20250903", + version: "19.2.0-native-fb-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-3168e08f-20250903" + reconcilerVersion: "19.2.0-native-fb-3302d1f7-20250903" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2626 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2631 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2626.isDisabled && - hook$jscomp$inline_2626.supportsFiber + !hook$jscomp$inline_2631.isDisabled && + hook$jscomp$inline_2631.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2626.inject( - internals$jscomp$inline_2625 + (rendererID = hook$jscomp$inline_2631.inject( + internals$jscomp$inline_2630 )), - (injectedHook = hook$jscomp$inline_2626); + (injectedHook = hook$jscomp$inline_2631); } catch (err) {} } exports.createRoot = function (container, options) { @@ -17516,4 +17527,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-native-fb-3168e08f-20250903"; +exports.version = "19.2.0-native-fb-3302d1f7-20250903"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js index 27a15bf4c8..af4fddb506 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMClient-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ /* @@ -764,7 +764,8 @@ function getLabelForLane(lane) { if (lane & 536870912) return "Offscreen"; if (lane & 1073741824) return "Deferred"; } -var nextTransitionLane = 256, +var nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304; function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; @@ -796,11 +797,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: @@ -909,12 +911,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; @@ -987,7 +983,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); @@ -5889,7 +5885,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(); @@ -5905,7 +5905,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; @@ -12856,13 +12860,16 @@ function requestUpdateLane(fiber) { : 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 scheduleUpdateOnFiber(root, fiber, lane) { @@ -14444,7 +14451,7 @@ function flushSpawnedWork() { 0 !== (pendingEffectsLanes & 3) && 0 !== root.tag && flushPendingEffects(); ensureRootIsScheduled(root); suspendedCommitReason = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42) + 0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -14973,8 +14980,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; } @@ -15108,20 +15119,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1895 = 0; - i$jscomp$inline_1895 < simpleEventPluginEvents.length; - i$jscomp$inline_1895++ + var i$jscomp$inline_1900 = 0; + i$jscomp$inline_1900 < simpleEventPluginEvents.length; + i$jscomp$inline_1900++ ) { - var eventName$jscomp$inline_1896 = - simpleEventPluginEvents[i$jscomp$inline_1895], - domEventName$jscomp$inline_1897 = - eventName$jscomp$inline_1896.toLowerCase(), - capitalizedEvent$jscomp$inline_1898 = - eventName$jscomp$inline_1896[0].toUpperCase() + - eventName$jscomp$inline_1896.slice(1); + var eventName$jscomp$inline_1901 = + simpleEventPluginEvents[i$jscomp$inline_1900], + domEventName$jscomp$inline_1902 = + eventName$jscomp$inline_1901.toLowerCase(), + capitalizedEvent$jscomp$inline_1903 = + eventName$jscomp$inline_1901[0].toUpperCase() + + eventName$jscomp$inline_1901.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1897, - "on" + capitalizedEvent$jscomp$inline_1898 + domEventName$jscomp$inline_1902, + "on" + capitalizedEvent$jscomp$inline_1903 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -19385,16 +19396,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_2303 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2308 = React.version; if ( - "19.2.0-native-fb-3168e08f-20250903" !== - isomorphicReactPackageVersion$jscomp$inline_2303 + "19.2.0-native-fb-3302d1f7-20250903" !== + isomorphicReactPackageVersion$jscomp$inline_2308 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2303, - "19.2.0-native-fb-3168e08f-20250903" + isomorphicReactPackageVersion$jscomp$inline_2308, + "19.2.0-native-fb-3302d1f7-20250903" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -19414,12 +19425,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2310 = { +var internals$jscomp$inline_2315 = { bundleType: 0, - version: "19.2.0-native-fb-3168e08f-20250903", + version: "19.2.0-native-fb-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-3168e08f-20250903", + reconcilerVersion: "19.2.0-native-fb-3302d1f7-20250903", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$324 = 0; @@ -19437,16 +19448,16 @@ var internals$jscomp$inline_2310 = { } }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2877 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2882 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2877.isDisabled && - hook$jscomp$inline_2877.supportsFiber + !hook$jscomp$inline_2882.isDisabled && + hook$jscomp$inline_2882.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2877.inject( - internals$jscomp$inline_2310 + (rendererID = hook$jscomp$inline_2882.inject( + internals$jscomp$inline_2315 )), - (injectedHook = hook$jscomp$inline_2877); + (injectedHook = hook$jscomp$inline_2882); } catch (err) {} } exports.createRoot = function (container, options) { @@ -19542,4 +19553,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-native-fb-3168e08f-20250903"; +exports.version = "19.2.0-native-fb-3302d1f7-20250903"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js index 1780ca4550..15e1d014f3 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<7904ee3645f8ec5624c39230d1b95391>> + * @generated SignedSource<<77c665da4956b869c0b08c690c578f3a>> */ /* @@ -1168,11 +1168,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: @@ -1292,12 +1293,6 @@ __DEV__ && ); } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -1372,7 +1367,7 @@ __DEV__ && root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -9026,7 +9021,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(); @@ -9042,7 +9041,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; @@ -11163,24 +11166,24 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2916; - var JSCompiler_object_inline_stack_2917 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2921; + var JSCompiler_object_inline_stack_2922 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2915 = !1; + var JSCompiler_object_inline_message_2920 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2916 = didSuspend) || - (JSCompiler_object_inline_digest_2916 = + (JSCompiler_object_inline_digest_2921 = didSuspend) || + (JSCompiler_object_inline_digest_2921 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2916 && - ((JSCompiler_object_inline_message_2915 = !0), + JSCompiler_object_inline_digest_2921 && + ((JSCompiler_object_inline_message_2920 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2916 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2921 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2915 + JSCompiler_object_inline_message_2920 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); (renderLanes = nextHydratableInstance) @@ -11193,18 +11196,18 @@ __DEV__ && ? current : null), null !== current && - ((JSCompiler_object_inline_digest_2916 = { + ((JSCompiler_object_inline_digest_2921 = { dehydrated: current, treeContext: getSuspendedTreeContext(), retryLane: 536870912, hydrationErrors: null }), (workInProgress.memoizedState = - JSCompiler_object_inline_digest_2916), - (JSCompiler_object_inline_digest_2916 = + JSCompiler_object_inline_digest_2921), + (JSCompiler_object_inline_digest_2921 = createFiberFromDehydratedFragment(current)), - (JSCompiler_object_inline_digest_2916.return = workInProgress), - (workInProgress.child = JSCompiler_object_inline_digest_2916), + (JSCompiler_object_inline_digest_2921.return = workInProgress), + (workInProgress.child = JSCompiler_object_inline_digest_2921), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null))) : (current = null); @@ -11218,9 +11221,9 @@ __DEV__ && : (workInProgress.lanes = 536870912); return null; } - var nextPrimaryChildren = JSCompiler_object_inline_stack_2917.children, - nextFallbackChildren = JSCompiler_object_inline_stack_2917.fallback; - if (JSCompiler_object_inline_message_2915) + var nextPrimaryChildren = JSCompiler_object_inline_stack_2922.children, + nextFallbackChildren = JSCompiler_object_inline_stack_2922.fallback; + if (JSCompiler_object_inline_message_2920) return ( reuseSuspenseHandlerOnStack(workInProgress), mountSuspenseFallbackChildren( @@ -11229,21 +11232,21 @@ __DEV__ && nextFallbackChildren, renderLanes ), - (JSCompiler_object_inline_stack_2917 = workInProgress.child), - (JSCompiler_object_inline_stack_2917.memoizedState = + (JSCompiler_object_inline_stack_2922 = workInProgress.child), + (JSCompiler_object_inline_stack_2922.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2917.childLanes = + (JSCompiler_object_inline_stack_2922.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2916, + JSCompiler_object_inline_digest_2921, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2917) + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2922) ); if ( "number" === - typeof JSCompiler_object_inline_stack_2917.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2922.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), @@ -11253,18 +11256,18 @@ __DEV__ && nextFallbackChildren, renderLanes ), - (JSCompiler_object_inline_stack_2917 = workInProgress.child), - (JSCompiler_object_inline_stack_2917.memoizedState = + (JSCompiler_object_inline_stack_2922 = workInProgress.child), + (JSCompiler_object_inline_stack_2922.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2917.childLanes = + (JSCompiler_object_inline_stack_2922.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2916, + JSCompiler_object_inline_digest_2921, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2917) + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2922) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -11274,8 +11277,8 @@ __DEV__ && } var prevState = current.memoizedState; if (null !== prevState) { - var JSCompiler_object_inline_componentStack_2918 = prevState.dehydrated; - if (null !== JSCompiler_object_inline_componentStack_2918) { + var JSCompiler_object_inline_componentStack_2923 = prevState.dehydrated; + if (null !== JSCompiler_object_inline_componentStack_2923) { if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -11292,13 +11295,13 @@ __DEV__ && (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), (nextPrimaryChildren = - JSCompiler_object_inline_stack_2917.fallback), + JSCompiler_object_inline_stack_2922.fallback), (nextFallbackChildren = workInProgress.mode), - (JSCompiler_object_inline_stack_2917 = + (JSCompiler_object_inline_stack_2922 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2917.children + children: JSCompiler_object_inline_stack_2922.children }, nextFallbackChildren )), @@ -11309,11 +11312,11 @@ __DEV__ && null )), (nextPrimaryChildren.flags |= 2), - (JSCompiler_object_inline_stack_2917.return = workInProgress), + (JSCompiler_object_inline_stack_2922.return = workInProgress), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_2917.sibling = + (JSCompiler_object_inline_stack_2922.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_2917), + (workInProgress.child = JSCompiler_object_inline_stack_2922), (workInProgress.mode & ConcurrentMode) !== NoMode && reconcileChildFibers( workInProgress, @@ -11321,19 +11324,19 @@ __DEV__ && null, renderLanes ), - (JSCompiler_object_inline_stack_2917 = workInProgress.child), - (JSCompiler_object_inline_stack_2917.memoizedState = + (JSCompiler_object_inline_stack_2922 = workInProgress.child), + (JSCompiler_object_inline_stack_2922.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2917.childLanes = + (JSCompiler_object_inline_stack_2922.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2916, + JSCompiler_object_inline_digest_2921, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = bailoutOffscreenComponent( null, - JSCompiler_object_inline_stack_2917 + JSCompiler_object_inline_stack_2922 ))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -11341,45 +11344,45 @@ __DEV__ && 0 !== (renderLanes & 536870912) && markRenderDerivedCause(workInProgress), isSuspenseInstanceFallback( - JSCompiler_object_inline_componentStack_2918 + JSCompiler_object_inline_componentStack_2923 )) ) { - JSCompiler_object_inline_digest_2916 = - JSCompiler_object_inline_componentStack_2918.nextSibling && - JSCompiler_object_inline_componentStack_2918.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2916) { - nextPrimaryChildren = JSCompiler_object_inline_digest_2916.dgst; - var message = JSCompiler_object_inline_digest_2916.msg; - nextFallbackChildren = JSCompiler_object_inline_digest_2916.stck; - var componentStack = JSCompiler_object_inline_digest_2916.cstck; + JSCompiler_object_inline_digest_2921 = + JSCompiler_object_inline_componentStack_2923.nextSibling && + JSCompiler_object_inline_componentStack_2923.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2921) { + nextPrimaryChildren = JSCompiler_object_inline_digest_2921.dgst; + var message = JSCompiler_object_inline_digest_2921.msg; + nextFallbackChildren = JSCompiler_object_inline_digest_2921.stck; + var componentStack = JSCompiler_object_inline_digest_2921.cstck; } - JSCompiler_object_inline_message_2915 = message; - JSCompiler_object_inline_digest_2916 = nextPrimaryChildren; - JSCompiler_object_inline_stack_2917 = nextFallbackChildren; - JSCompiler_object_inline_componentStack_2918 = componentStack; - nextPrimaryChildren = JSCompiler_object_inline_message_2915; - nextFallbackChildren = JSCompiler_object_inline_componentStack_2918; + JSCompiler_object_inline_message_2920 = message; + JSCompiler_object_inline_digest_2921 = nextPrimaryChildren; + JSCompiler_object_inline_stack_2922 = nextFallbackChildren; + JSCompiler_object_inline_componentStack_2923 = componentStack; + nextPrimaryChildren = JSCompiler_object_inline_message_2920; + nextFallbackChildren = JSCompiler_object_inline_componentStack_2923; 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_2917 || ""; - nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2916; - JSCompiler_object_inline_digest_2916 = + JSCompiler_object_inline_stack_2922 || ""; + nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2921; + JSCompiler_object_inline_digest_2921 = void 0 === nextFallbackChildren ? null : nextFallbackChildren; - JSCompiler_object_inline_stack_2917 = { + JSCompiler_object_inline_stack_2922 = { value: nextPrimaryChildren, source: null, - stack: JSCompiler_object_inline_digest_2916 + stack: JSCompiler_object_inline_digest_2921 }; - "string" === typeof JSCompiler_object_inline_digest_2916 && + "string" === typeof JSCompiler_object_inline_digest_2921 && CapturedStacks.set( nextPrimaryChildren, - JSCompiler_object_inline_stack_2917 + JSCompiler_object_inline_stack_2922 ); - queueHydrationError(JSCompiler_object_inline_stack_2917); + queueHydrationError(JSCompiler_object_inline_stack_2922); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -11393,35 +11396,35 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2916 = + (JSCompiler_object_inline_digest_2921 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2916) + didReceiveUpdate || JSCompiler_object_inline_digest_2921) ) { - JSCompiler_object_inline_digest_2916 = workInProgressRoot; + JSCompiler_object_inline_digest_2921 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2916 && - ((JSCompiler_object_inline_stack_2917 = getBumpedLaneForHydration( - JSCompiler_object_inline_digest_2916, + null !== JSCompiler_object_inline_digest_2921 && + ((JSCompiler_object_inline_stack_2922 = getBumpedLaneForHydration( + JSCompiler_object_inline_digest_2921, renderLanes )), - 0 !== JSCompiler_object_inline_stack_2917 && - JSCompiler_object_inline_stack_2917 !== prevState.retryLane) + 0 !== JSCompiler_object_inline_stack_2922 && + JSCompiler_object_inline_stack_2922 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2917), + ((prevState.retryLane = JSCompiler_object_inline_stack_2922), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2917 + JSCompiler_object_inline_stack_2922 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2916, + JSCompiler_object_inline_digest_2921, current, - JSCompiler_object_inline_stack_2917 + JSCompiler_object_inline_stack_2922 ), SelectiveHydrationException) ); isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_2918 + JSCompiler_object_inline_componentStack_2923 ) || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -11430,14 +11433,14 @@ __DEV__ && ); } else isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_2918 + JSCompiler_object_inline_componentStack_2923 ) ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((renderLanes = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_componentStack_2918.nextSibling + JSCompiler_object_inline_componentStack_2923.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -11449,47 +11452,47 @@ __DEV__ && restoreSuspendedTreeContext(workInProgress, renderLanes), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2917.children + JSCompiler_object_inline_stack_2922.children )), (workInProgress.flags |= 4096)); return workInProgress; } } - if (JSCompiler_object_inline_message_2915) + if (JSCompiler_object_inline_message_2920) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = JSCompiler_object_inline_stack_2917.fallback), + (nextPrimaryChildren = JSCompiler_object_inline_stack_2922.fallback), (nextFallbackChildren = workInProgress.mode), (componentStack = current.child), - (JSCompiler_object_inline_componentStack_2918 = + (JSCompiler_object_inline_componentStack_2923 = componentStack.sibling), - (JSCompiler_object_inline_message_2915 = { + (JSCompiler_object_inline_message_2920 = { mode: "hidden", - children: JSCompiler_object_inline_stack_2917.children + children: JSCompiler_object_inline_stack_2922.children }), (nextFallbackChildren & ConcurrentMode) === NoMode && workInProgress.child !== componentStack - ? ((JSCompiler_object_inline_stack_2917 = workInProgress.child), - (JSCompiler_object_inline_stack_2917.childLanes = 0), - (JSCompiler_object_inline_stack_2917.pendingProps = - JSCompiler_object_inline_message_2915), + ? ((JSCompiler_object_inline_stack_2922 = workInProgress.child), + (JSCompiler_object_inline_stack_2922.childLanes = 0), + (JSCompiler_object_inline_stack_2922.pendingProps = + JSCompiler_object_inline_message_2920), workInProgress.mode & ProfileMode && - ((JSCompiler_object_inline_stack_2917.actualDuration = -0), - (JSCompiler_object_inline_stack_2917.actualStartTime = -1.1), - (JSCompiler_object_inline_stack_2917.selfBaseDuration = + ((JSCompiler_object_inline_stack_2922.actualDuration = -0), + (JSCompiler_object_inline_stack_2922.actualStartTime = -1.1), + (JSCompiler_object_inline_stack_2922.selfBaseDuration = componentStack.selfBaseDuration), - (JSCompiler_object_inline_stack_2917.treeBaseDuration = + (JSCompiler_object_inline_stack_2922.treeBaseDuration = componentStack.treeBaseDuration)), (workInProgress.deletions = null)) - : ((JSCompiler_object_inline_stack_2917 = createWorkInProgress( + : ((JSCompiler_object_inline_stack_2922 = createWorkInProgress( componentStack, - JSCompiler_object_inline_message_2915 + JSCompiler_object_inline_message_2920 )), - (JSCompiler_object_inline_stack_2917.subtreeFlags = + (JSCompiler_object_inline_stack_2922.subtreeFlags = componentStack.subtreeFlags & 65011712)), - null !== JSCompiler_object_inline_componentStack_2918 + null !== JSCompiler_object_inline_componentStack_2923 ? (nextPrimaryChildren = createWorkInProgress( - JSCompiler_object_inline_componentStack_2918, + JSCompiler_object_inline_componentStack_2923, nextPrimaryChildren )) : ((nextPrimaryChildren = createFiberFromFragment( @@ -11500,11 +11503,11 @@ __DEV__ && )), (nextPrimaryChildren.flags |= 2)), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_2917.return = workInProgress), - (JSCompiler_object_inline_stack_2917.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_2917), - bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2917), - (JSCompiler_object_inline_stack_2917 = workInProgress.child), + (JSCompiler_object_inline_stack_2922.return = workInProgress), + (JSCompiler_object_inline_stack_2922.sibling = nextPrimaryChildren), + (workInProgress.child = JSCompiler_object_inline_stack_2922), + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2922), + (JSCompiler_object_inline_stack_2922 = workInProgress.child), (nextPrimaryChildren = current.child.memoizedState), null === nextPrimaryChildren ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) @@ -11520,18 +11523,18 @@ __DEV__ && baseLanes: nextPrimaryChildren.baseLanes | renderLanes, cachePool: nextFallbackChildren })), - (JSCompiler_object_inline_stack_2917.memoizedState = + (JSCompiler_object_inline_stack_2922.memoizedState = nextPrimaryChildren), - (JSCompiler_object_inline_stack_2917.childLanes = + (JSCompiler_object_inline_stack_2922.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2916, + JSCompiler_object_inline_digest_2921, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), bailoutOffscreenComponent( current.child, - JSCompiler_object_inline_stack_2917 + JSCompiler_object_inline_stack_2922 ) ); null !== prevState && @@ -11539,28 +11542,28 @@ __DEV__ && 0 !== (renderLanes & current.lanes) && markRenderDerivedCause(workInProgress); pushPrimaryTreeSuspenseHandler(workInProgress); - JSCompiler_object_inline_digest_2916 = current.child; - current = JSCompiler_object_inline_digest_2916.sibling; - JSCompiler_object_inline_digest_2916 = createWorkInProgress( - JSCompiler_object_inline_digest_2916, + JSCompiler_object_inline_digest_2921 = current.child; + current = JSCompiler_object_inline_digest_2921.sibling; + JSCompiler_object_inline_digest_2921 = createWorkInProgress( + JSCompiler_object_inline_digest_2921, { mode: "visible", - children: JSCompiler_object_inline_stack_2917.children + children: JSCompiler_object_inline_stack_2922.children } ); (workInProgress.mode & ConcurrentMode) === NoMode && - (JSCompiler_object_inline_digest_2916.lanes = renderLanes); - JSCompiler_object_inline_digest_2916.return = workInProgress; - JSCompiler_object_inline_digest_2916.sibling = null; + (JSCompiler_object_inline_digest_2921.lanes = renderLanes); + JSCompiler_object_inline_digest_2921.return = workInProgress; + JSCompiler_object_inline_digest_2921.sibling = null; null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); - workInProgress.child = JSCompiler_object_inline_digest_2916; + workInProgress.child = JSCompiler_object_inline_digest_2921; workInProgress.memoizedState = null; - return JSCompiler_object_inline_digest_2916; + return JSCompiler_object_inline_digest_2921; } function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { primaryChildren = mountWorkInProgressOffscreenFiber( @@ -17201,13 +17204,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 scheduleUpdateOnFiber(root, fiber, lane) { @@ -19167,7 +19173,7 @@ __DEV__ && flushPendingEffects(); ensureRootIsScheduled(root); suspendedCommitReason = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42) + 0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -19969,8 +19975,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; } @@ -25680,7 +25690,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, @@ -29625,11 +29636,11 @@ __DEV__ && }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-3168e08f-20250903" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-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-native-fb-3168e08f-20250903\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-native-fb-3302d1f7-20250903\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -29666,10 +29677,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-3168e08f-20250903", + version: "19.2.0-native-fb-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-3168e08f-20250903" + reconcilerVersion: "19.2.0-native-fb-3302d1f7-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -30134,7 +30145,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-native-fb-3168e08f-20250903"; + exports.version = "19.2.0-native-fb-3302d1f7-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js index c4a89d040a..8d86ba2453 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ /* @@ -714,7 +714,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; @@ -746,11 +747,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: @@ -859,12 +861,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; @@ -937,7 +933,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); @@ -5434,7 +5430,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(); @@ -5450,7 +5450,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; @@ -11447,13 +11451,16 @@ function requestUpdateLane(fiber) { : 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 scheduleUpdateOnFiber(root, fiber, lane) { @@ -12530,7 +12537,7 @@ function flushSpawnedWork() { 0 !== (pendingEffectsLanes & 3) && 0 !== root.tag && flushPendingEffects(); ensureRootIsScheduled(root); remainingLanes = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (remainingLanes & 42) + 0 !== (lanes & 261930) && 0 !== (remainingLanes & 42) ? root === rootWithNestedUpdates ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) @@ -12981,8 +12988,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; } @@ -13116,20 +13127,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1647 = 0; - i$jscomp$inline_1647 < simpleEventPluginEvents.length; - i$jscomp$inline_1647++ + var i$jscomp$inline_1652 = 0; + i$jscomp$inline_1652 < simpleEventPluginEvents.length; + i$jscomp$inline_1652++ ) { - var eventName$jscomp$inline_1648 = - simpleEventPluginEvents[i$jscomp$inline_1647], - domEventName$jscomp$inline_1649 = - eventName$jscomp$inline_1648.toLowerCase(), - capitalizedEvent$jscomp$inline_1650 = - eventName$jscomp$inline_1648[0].toUpperCase() + - eventName$jscomp$inline_1648.slice(1); + var eventName$jscomp$inline_1653 = + simpleEventPluginEvents[i$jscomp$inline_1652], + domEventName$jscomp$inline_1654 = + eventName$jscomp$inline_1653.toLowerCase(), + capitalizedEvent$jscomp$inline_1655 = + eventName$jscomp$inline_1653[0].toUpperCase() + + eventName$jscomp$inline_1653.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1649, - "on" + capitalizedEvent$jscomp$inline_1650 + domEventName$jscomp$inline_1654, + "on" + capitalizedEvent$jscomp$inline_1655 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -17386,16 +17397,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_2053 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2058 = React.version; if ( - "19.2.0-native-fb-3168e08f-20250903" !== - isomorphicReactPackageVersion$jscomp$inline_2053 + "19.2.0-native-fb-3302d1f7-20250903" !== + isomorphicReactPackageVersion$jscomp$inline_2058 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2053, - "19.2.0-native-fb-3168e08f-20250903" + isomorphicReactPackageVersion$jscomp$inline_2058, + "19.2.0-native-fb-3302d1f7-20250903" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -17415,24 +17426,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2628 = { +var internals$jscomp$inline_2633 = { bundleType: 0, - version: "19.2.0-native-fb-3168e08f-20250903", + version: "19.2.0-native-fb-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-3168e08f-20250903" + reconcilerVersion: "19.2.0-native-fb-3302d1f7-20250903" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2629 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2634 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2629.isDisabled && - hook$jscomp$inline_2629.supportsFiber + !hook$jscomp$inline_2634.isDisabled && + hook$jscomp$inline_2634.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2629.inject( - internals$jscomp$inline_2628 + (rendererID = hook$jscomp$inline_2634.inject( + internals$jscomp$inline_2633 )), - (injectedHook = hook$jscomp$inline_2629); + (injectedHook = hook$jscomp$inline_2634); } catch (err) {} } function getCrossOriginStringAs(as, input) { @@ -17680,4 +17691,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-3168e08f-20250903"; +exports.version = "19.2.0-native-fb-3302d1f7-20250903"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js index 8fbcd93b83..9d0dd6ed58 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-dom/cjs/ReactDOMProfiling-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<0cd6d29cdbd08a99a079784f98360acd>> */ /* @@ -768,7 +768,8 @@ function getLabelForLane(lane) { if (lane & 536870912) return "Offscreen"; if (lane & 1073741824) return "Deferred"; } -var nextTransitionLane = 256, +var nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304; function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; @@ -800,11 +801,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: @@ -913,12 +915,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; @@ -991,7 +987,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); @@ -5893,7 +5889,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(); @@ -5909,7 +5909,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; @@ -12860,13 +12864,16 @@ function requestUpdateLane(fiber) { : 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 scheduleUpdateOnFiber(root, fiber, lane) { @@ -14448,7 +14455,7 @@ function flushSpawnedWork() { 0 !== (pendingEffectsLanes & 3) && 0 !== root.tag && flushPendingEffects(); ensureRootIsScheduled(root); suspendedCommitReason = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42) + 0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -14977,8 +14984,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; } @@ -15112,20 +15123,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1896 = 0; - i$jscomp$inline_1896 < simpleEventPluginEvents.length; - i$jscomp$inline_1896++ + var i$jscomp$inline_1901 = 0; + i$jscomp$inline_1901 < simpleEventPluginEvents.length; + i$jscomp$inline_1901++ ) { - var eventName$jscomp$inline_1897 = - simpleEventPluginEvents[i$jscomp$inline_1896], - domEventName$jscomp$inline_1898 = - eventName$jscomp$inline_1897.toLowerCase(), - capitalizedEvent$jscomp$inline_1899 = - eventName$jscomp$inline_1897[0].toUpperCase() + - eventName$jscomp$inline_1897.slice(1); + var eventName$jscomp$inline_1902 = + simpleEventPluginEvents[i$jscomp$inline_1901], + domEventName$jscomp$inline_1903 = + eventName$jscomp$inline_1902.toLowerCase(), + capitalizedEvent$jscomp$inline_1904 = + eventName$jscomp$inline_1902[0].toUpperCase() + + eventName$jscomp$inline_1902.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1898, - "on" + capitalizedEvent$jscomp$inline_1899 + domEventName$jscomp$inline_1903, + "on" + capitalizedEvent$jscomp$inline_1904 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -19400,16 +19411,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_2304 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2309 = React.version; if ( - "19.2.0-native-fb-3168e08f-20250903" !== - isomorphicReactPackageVersion$jscomp$inline_2304 + "19.2.0-native-fb-3302d1f7-20250903" !== + isomorphicReactPackageVersion$jscomp$inline_2309 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2304, - "19.2.0-native-fb-3168e08f-20250903" + isomorphicReactPackageVersion$jscomp$inline_2309, + "19.2.0-native-fb-3302d1f7-20250903" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -19429,12 +19440,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2311 = { +var internals$jscomp$inline_2316 = { bundleType: 0, - version: "19.2.0-native-fb-3168e08f-20250903", + version: "19.2.0-native-fb-3302d1f7-20250903", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-3168e08f-20250903", + reconcilerVersion: "19.2.0-native-fb-3302d1f7-20250903", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$324 = 0; @@ -19452,16 +19463,16 @@ var internals$jscomp$inline_2311 = { } }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2880 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2885 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2880.isDisabled && - hook$jscomp$inline_2880.supportsFiber + !hook$jscomp$inline_2885.isDisabled && + hook$jscomp$inline_2885.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2880.inject( - internals$jscomp$inline_2311 + (rendererID = hook$jscomp$inline_2885.inject( + internals$jscomp$inline_2316 )), - (injectedHook = hook$jscomp$inline_2880); + (injectedHook = hook$jscomp$inline_2885); } catch (err) {} } function getCrossOriginStringAs(as, input) { @@ -19710,7 +19721,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-native-fb-3168e08f-20250903"; +exports.version = "19.2.0-native-fb-3302d1f7-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js index 74349b955a..fa57846685 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-dev.js @@ -7,13 +7,13 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<3b3123d27a7d33abba17bb601c54b494>> + * @generated SignedSource<> */ "use strict"; __DEV__ && (function () { - function JSCompiler_object_inline_createNodeMock_1171() { + function JSCompiler_object_inline_createNodeMock_1176() { return null; } function findHook(fiber, id) { @@ -501,11 +501,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: @@ -625,12 +626,6 @@ __DEV__ && ); } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -705,7 +700,7 @@ __DEV__ && root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -2439,8 +2434,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; } @@ -5395,7 +5394,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(); @@ -5411,7 +5414,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; @@ -11414,13 +11421,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) { @@ -12626,7 +12638,7 @@ __DEV__ && flushPendingEffects(); ensureRootIsScheduled(root); remainingLanes = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (remainingLanes & 42) + 0 !== (lanes & 261930) && 0 !== (remainingLanes & 42) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -13892,7 +13904,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, @@ -15868,10 +15881,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-3168e08f-20250903", + version: "19.2.0-native-fb-3302d1f7-20250903", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-3168e08f-20250903" + reconcilerVersion: "19.2.0-native-fb-3302d1f7-20250903" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15893,7 +15906,7 @@ __DEV__ && exports._Scheduler = Scheduler; exports.act = act; exports.create = function (element, options) { - var createNodeMock = JSCompiler_object_inline_createNodeMock_1171, + var createNodeMock = JSCompiler_object_inline_createNodeMock_1176, isConcurrent = !1, isStrictMode = !1; "object" === typeof options && @@ -16016,5 +16029,5 @@ __DEV__ && flushSyncWorkAcrossRoots_impl(0, !0)); } }; - exports.version = "19.2.0-native-fb-3168e08f-20250903"; + exports.version = "19.2.0-native-fb-3302d1f7-20250903"; })(); diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js index 517aae30f0..2e7da14dd2 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<197d442575fa47eca5b3fa1d10c3c225>> */ "use strict"; @@ -313,7 +313,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; @@ -345,11 +346,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: @@ -458,12 +460,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; @@ -536,7 +532,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); @@ -1476,8 +1472,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; } @@ -3631,7 +3631,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(); @@ -3647,7 +3651,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; @@ -8267,13 +8275,18 @@ function requestUpdateLane(fiber) { 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) { @@ -9208,7 +9221,7 @@ function flushSpawnedWork() { 0 !== (pendingEffectsLanes & 3) && 0 !== root.tag && flushPendingEffects(); ensureRootIsScheduled(root); remainingLanes = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (remainingLanes & 42) + 0 !== (lanes & 261930) && 0 !== (remainingLanes & 42) ? root === rootWithNestedUpdates ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) @@ -10030,24 +10043,24 @@ function wrapFiber(fiber) { fiberToWrapper.set(fiber, wrapper)); return wrapper; } -var internals$jscomp$inline_1464 = { +var internals$jscomp$inline_1469 = { bundleType: 0, - version: "19.2.0-native-fb-3168e08f-20250903", + version: "19.2.0-native-fb-3302d1f7-20250903", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-3168e08f-20250903" + reconcilerVersion: "19.2.0-native-fb-3302d1f7-20250903" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1465 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1470 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1465.isDisabled && - hook$jscomp$inline_1465.supportsFiber + !hook$jscomp$inline_1470.isDisabled && + hook$jscomp$inline_1470.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1465.inject( - internals$jscomp$inline_1464 + (rendererID = hook$jscomp$inline_1470.inject( + internals$jscomp$inline_1469 )), - (injectedHook = hook$jscomp$inline_1465); + (injectedHook = hook$jscomp$inline_1470); } catch (err) {} } exports._Scheduler = Scheduler; @@ -10171,4 +10184,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.2.0-native-fb-3168e08f-20250903"; +exports.version = "19.2.0-native-fb-3302d1f7-20250903"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js index b5ec85f1e0..f1da5484c4 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react-test-renderer/cjs/ReactTestRenderer-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -361,7 +361,8 @@ function getLabelForLane(lane) { if (lane & 536870912) return "Offscreen"; if (lane & 1073741824) return "Deferred"; } -var nextTransitionLane = 256, +var nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304; function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; @@ -393,11 +394,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: @@ -506,12 +508,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; @@ -584,7 +580,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); @@ -1592,8 +1588,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; } @@ -3747,7 +3747,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(); @@ -3763,7 +3767,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; @@ -8764,13 +8772,18 @@ function requestUpdateLane(fiber) { 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) { @@ -9797,7 +9810,7 @@ function flushSpawnedWork() { 0 !== (pendingEffectsLanes & 3) && 0 !== root.tag && flushPendingEffects(); ensureRootIsScheduled(root); remainingLanes = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (remainingLanes & 42) + 0 !== (lanes & 261930) && 0 !== (remainingLanes & 42) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -10651,12 +10664,12 @@ function wrapFiber(fiber) { fiberToWrapper.set(fiber, wrapper)); return wrapper; } -var internals$jscomp$inline_1255 = { +var internals$jscomp$inline_1260 = { bundleType: 0, - version: "19.2.0-native-fb-3168e08f-20250903", + version: "19.2.0-native-fb-3302d1f7-20250903", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-3168e08f-20250903", + reconcilerVersion: "19.2.0-native-fb-3302d1f7-20250903", getLaneLabelMap: function () { for ( var map = new Map(), lane = 1, index$145 = 0; @@ -10674,16 +10687,16 @@ var internals$jscomp$inline_1255 = { } }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1530 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1535 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1530.isDisabled && - hook$jscomp$inline_1530.supportsFiber + !hook$jscomp$inline_1535.isDisabled && + hook$jscomp$inline_1535.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1530.inject( - internals$jscomp$inline_1255 + (rendererID = hook$jscomp$inline_1535.inject( + internals$jscomp$inline_1260 )), - (injectedHook = hook$jscomp$inline_1530); + (injectedHook = hook$jscomp$inline_1535); } catch (err) {} } exports._Scheduler = Scheduler; @@ -10807,4 +10820,4 @@ exports.unstable_batchedUpdates = function (fn, a) { flushSyncWorkAcrossRoots_impl(0, !0)); } }; -exports.version = "19.2.0-native-fb-3168e08f-20250903"; +exports.version = "19.2.0-native-fb-3302d1f7-20250903"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js index 2c4b401f73..ab70445f39 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<9564dbafdeef8d920864f169e5296c7c>> + * @generated SignedSource<<5b33fb6b7477418f121d9cc82773830b>> */ "use strict"; @@ -1397,7 +1397,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-native-fb-3168e08f-20250903"; + exports.version = "19.2.0-native-fb-3302d1f7-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js index f434d3d77c..73ef2eeb30 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-prod.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<809e8ba6553d2711fa5648d719055217>> + * @generated SignedSource<<81bbdd3b7a073c033fd3d4c0607ec162>> */ "use strict"; @@ -579,4 +579,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-native-fb-3168e08f-20250903"; +exports.version = "19.2.0-native-fb-3302d1f7-20250903"; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js index 3bf4b7141c..46842f8c14 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/React-profiling.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<3d8dea100d3b68dbf37cfce84c7a7f95>> + * @generated SignedSource<<14c722580ed085ee4bfaed01e05c9d70>> */ "use strict"; @@ -583,7 +583,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-native-fb-3168e08f-20250903"; +exports.version = "19.2.0-native-fb-3302d1f7-20250903"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION index c5a046e0e5..522673f2dc 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/REVISION @@ -1 +1 @@ -3168e08f8389d258de9eb7c8d19b9d44a0f250f2 +3302d1f791f3f1cf4e8cf69bee70ce5dab1b8436 diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js index efcfe4ca83..f73c5f7257 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<683edf3a0a2797cb31799259e6ca68e0>> + * @generated SignedSource<<1b61de97108d23e7c35984e9f41687fc>> */ "use strict"; @@ -1416,11 +1416,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: @@ -1540,12 +1541,6 @@ __DEV__ && ); } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -1620,7 +1615,7 @@ __DEV__ && root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -3953,8 +3948,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; @@ -13513,13 +13520,18 @@ __DEV__ && : resolveUpdatePriority(); } 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) { @@ -15314,7 +15326,7 @@ __DEV__ && flushPendingEffects(); ensureRootIsScheduled(root); suspendedCommitReason = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42) + 0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -17458,7 +17470,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, @@ -19692,10 +19705,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-3168e08f-20250903", + version: "19.2.0-native-fb-3302d1f7-20250903", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-3168e08f-20250903" + reconcilerVersion: "19.2.0-native-fb-3302d1f7-20250903" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js index cafc2405f4..fbc59690d5 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<01919d19dee4825a6bac4978c83d34d7>> + * @generated SignedSource<> */ "use strict"; @@ -1243,7 +1243,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_280 = { +var injectedNamesToPlugins$jscomp$inline_281 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -1289,32 +1289,32 @@ var injectedNamesToPlugins$jscomp$inline_280 = { } } }, - isOrderingDirty$jscomp$inline_281 = !1, - pluginName$jscomp$inline_282; -for (pluginName$jscomp$inline_282 in injectedNamesToPlugins$jscomp$inline_280) + isOrderingDirty$jscomp$inline_282 = !1, + pluginName$jscomp$inline_283; +for (pluginName$jscomp$inline_283 in injectedNamesToPlugins$jscomp$inline_281) if ( - injectedNamesToPlugins$jscomp$inline_280.hasOwnProperty( - pluginName$jscomp$inline_282 + injectedNamesToPlugins$jscomp$inline_281.hasOwnProperty( + pluginName$jscomp$inline_283 ) ) { - var pluginModule$jscomp$inline_283 = - injectedNamesToPlugins$jscomp$inline_280[pluginName$jscomp$inline_282]; + var pluginModule$jscomp$inline_284 = + injectedNamesToPlugins$jscomp$inline_281[pluginName$jscomp$inline_283]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_282) || - namesToPlugins[pluginName$jscomp$inline_282] !== - pluginModule$jscomp$inline_283 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_283) || + namesToPlugins[pluginName$jscomp$inline_283] !== + pluginModule$jscomp$inline_284 ) { - if (namesToPlugins[pluginName$jscomp$inline_282]) + if (namesToPlugins[pluginName$jscomp$inline_283]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_282 + "`.") + (pluginName$jscomp$inline_283 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_282] = - pluginModule$jscomp$inline_283; - isOrderingDirty$jscomp$inline_281 = !0; + namesToPlugins[pluginName$jscomp$inline_283] = + pluginModule$jscomp$inline_284; + isOrderingDirty$jscomp$inline_282 = !0; } } -isOrderingDirty$jscomp$inline_281 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_282 && recomputePluginOrdering(); function batchedUpdatesImpl(fn, bookkeeping) { return fn(bookkeeping); } @@ -1418,7 +1418,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; @@ -1450,11 +1451,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: @@ -1563,12 +1565,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; @@ -1641,7 +1637,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); @@ -2482,8 +2478,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; } @@ -4640,7 +4640,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(); @@ -4656,7 +4660,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; @@ -9393,13 +9401,18 @@ function requestUpdateLane(fiber) { : resolveUpdatePriority(); } 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) { @@ -10315,7 +10328,7 @@ function flushSpawnedWork() { 0 !== (pendingEffectsLanes & 3) && 0 !== root.tag && flushPendingEffects(); ensureRootIsScheduled(root); remainingLanes = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (remainingLanes & 42) + 0 !== (lanes & 261930) && 0 !== (remainingLanes & 42) ? root === rootWithNestedUpdates ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) @@ -11196,26 +11209,26 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - internals$jscomp$inline_1276 = { + internals$jscomp$inline_1281 = { bundleType: 0, - version: "19.2.0-native-fb-3168e08f-20250903", + version: "19.2.0-native-fb-3302d1f7-20250903", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-3168e08f-20250903" + reconcilerVersion: "19.2.0-native-fb-3302d1f7-20250903" }; null !== extraDevToolsConfig && - (internals$jscomp$inline_1276.rendererConfig = extraDevToolsConfig); + (internals$jscomp$inline_1281.rendererConfig = extraDevToolsConfig); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1606 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1611 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1606.isDisabled && - hook$jscomp$inline_1606.supportsFiber + !hook$jscomp$inline_1611.isDisabled && + hook$jscomp$inline_1611.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1606.inject( - internals$jscomp$inline_1276 + (rendererID = hook$jscomp$inline_1611.inject( + internals$jscomp$inline_1281 )), - (injectedHook = hook$jscomp$inline_1606); + (injectedHook = hook$jscomp$inline_1611); } catch (err) {} } exports.createPortal = function (children, containerTag) { diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js index f41db5becc..86228b4c0d 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactFabric-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<6af0a94b146e0237e160445cb230d25b>> + * @generated SignedSource<<669096622353e008bd65ad455fc7f18f>> */ "use strict"; @@ -1249,7 +1249,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_317 = { +var injectedNamesToPlugins$jscomp$inline_318 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -1295,32 +1295,32 @@ var injectedNamesToPlugins$jscomp$inline_317 = { } } }, - isOrderingDirty$jscomp$inline_318 = !1, - pluginName$jscomp$inline_319; -for (pluginName$jscomp$inline_319 in injectedNamesToPlugins$jscomp$inline_317) + isOrderingDirty$jscomp$inline_319 = !1, + pluginName$jscomp$inline_320; +for (pluginName$jscomp$inline_320 in injectedNamesToPlugins$jscomp$inline_318) if ( - injectedNamesToPlugins$jscomp$inline_317.hasOwnProperty( - pluginName$jscomp$inline_319 + injectedNamesToPlugins$jscomp$inline_318.hasOwnProperty( + pluginName$jscomp$inline_320 ) ) { - var pluginModule$jscomp$inline_320 = - injectedNamesToPlugins$jscomp$inline_317[pluginName$jscomp$inline_319]; + var pluginModule$jscomp$inline_321 = + injectedNamesToPlugins$jscomp$inline_318[pluginName$jscomp$inline_320]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_319) || - namesToPlugins[pluginName$jscomp$inline_319] !== - pluginModule$jscomp$inline_320 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_320) || + namesToPlugins[pluginName$jscomp$inline_320] !== + pluginModule$jscomp$inline_321 ) { - if (namesToPlugins[pluginName$jscomp$inline_319]) + if (namesToPlugins[pluginName$jscomp$inline_320]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_319 + "`.") + (pluginName$jscomp$inline_320 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_319] = - pluginModule$jscomp$inline_320; - isOrderingDirty$jscomp$inline_318 = !0; + namesToPlugins[pluginName$jscomp$inline_320] = + pluginModule$jscomp$inline_321; + isOrderingDirty$jscomp$inline_319 = !0; } } -isOrderingDirty$jscomp$inline_318 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_319 && recomputePluginOrdering(); function batchedUpdatesImpl(fn, bookkeeping) { return fn(bookkeeping); } @@ -1472,7 +1472,8 @@ function getLabelForLane(lane) { if (lane & 536870912) return "Offscreen"; if (lane & 1073741824) return "Deferred"; } -var nextTransitionLane = 256, +var nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304; function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; @@ -1504,11 +1505,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: @@ -1617,12 +1619,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; @@ -1695,7 +1691,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); @@ -2873,8 +2869,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; } @@ -5048,7 +5048,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(); @@ -5064,7 +5068,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; @@ -10732,13 +10740,18 @@ function requestUpdateLane(fiber) { : resolveUpdatePriority(); } 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) { @@ -12172,7 +12185,7 @@ function flushSpawnedWork() { 0 !== (pendingEffectsLanes & 3) && 0 !== root.tag && flushPendingEffects(); ensureRootIsScheduled(root); suspendedCommitReason = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42) + 0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -13147,16 +13160,16 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - internals$jscomp$inline_1520 = { + internals$jscomp$inline_1525 = { bundleType: 0, - version: "19.2.0-native-fb-3168e08f-20250903", + version: "19.2.0-native-fb-3302d1f7-20250903", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-3168e08f-20250903" + reconcilerVersion: "19.2.0-native-fb-3302d1f7-20250903" }; null !== extraDevToolsConfig && - (internals$jscomp$inline_1520.rendererConfig = extraDevToolsConfig); -internals$jscomp$inline_1520.getLaneLabelMap = function () { + (internals$jscomp$inline_1525.rendererConfig = extraDevToolsConfig); +internals$jscomp$inline_1525.getLaneLabelMap = function () { for ( var map = new Map(), lane = 1, index$167 = 0; 31 > index$167; @@ -13168,20 +13181,20 @@ internals$jscomp$inline_1520.getLaneLabelMap = function () { } return map; }; -internals$jscomp$inline_1520.injectProfilingHooks = function (profilingHooks) { +internals$jscomp$inline_1525.injectProfilingHooks = function (profilingHooks) { injectedProfilingHooks = profilingHooks; }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1852 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1857 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1852.isDisabled && - hook$jscomp$inline_1852.supportsFiber + !hook$jscomp$inline_1857.isDisabled && + hook$jscomp$inline_1857.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1852.inject( - internals$jscomp$inline_1520 + (rendererID = hook$jscomp$inline_1857.inject( + internals$jscomp$inline_1525 )), - (injectedHook = hook$jscomp$inline_1852); + (injectedHook = hook$jscomp$inline_1857); } catch (err) {} } exports.createPortal = function (children, containerTag) { diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js index f6141e3a21..6d56ba091a 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-dev.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<47ac4d277a66624210e31dd13d412dca>> + * @generated SignedSource<<9014601fc80d67edcd1dba6212205e2b>> */ "use strict"; @@ -1775,11 +1775,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: @@ -1899,12 +1900,6 @@ __DEV__ && ); } } - function claimNextTransitionLane() { - var lane = nextTransitionLane; - nextTransitionLane <<= 1; - 0 === (nextTransitionLane & 4194048) && (nextTransitionLane = 256); - return lane; - } function claimNextRetryLane() { var lane = nextRetryLane; nextRetryLane <<= 1; @@ -1979,7 +1974,7 @@ __DEV__ && root.entanglements[spawnedLaneIndex] = root.entanglements[spawnedLaneIndex] | 1073741824 | - (entangledLanes & 4194090); + (entangledLanes & 261930); } function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); @@ -4325,8 +4320,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; } @@ -7298,7 +7297,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(); @@ -7314,7 +7317,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; @@ -13985,13 +13992,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) { @@ -15784,7 +15796,7 @@ __DEV__ && flushPendingEffects(); ensureRootIsScheduled(root); suspendedCommitReason = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42) + 0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -17922,7 +17934,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, @@ -19972,11 +19985,11 @@ __DEV__ && shouldSuspendImpl = newShouldSuspendImpl; }; var isomorphicReactPackageVersion = React.version; - if ("19.2.0-native-fb-3168e08f-20250903" !== isomorphicReactPackageVersion) + if ("19.2.0-native-fb-3302d1f7-20250903" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.2.0-native-fb-3168e08f-20250903\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-3302d1f7-20250903\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -20002,10 +20015,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-native-fb-3168e08f-20250903", + version: "19.2.0-native-fb-3302d1f7-20250903", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-3168e08f-20250903" + reconcilerVersion: "19.2.0-native-fb-3302d1f7-20250903" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js index 7aaa172238..dbaa1afd1a 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-prod.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<2bca0bdde1650b6896b90aba5343ccbb>> + * @generated SignedSource<> */ "use strict"; @@ -1239,7 +1239,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_289 = { +var injectedNamesToPlugins$jscomp$inline_290 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -1285,32 +1285,32 @@ var injectedNamesToPlugins$jscomp$inline_289 = { } } }, - isOrderingDirty$jscomp$inline_290 = !1, - pluginName$jscomp$inline_291; -for (pluginName$jscomp$inline_291 in injectedNamesToPlugins$jscomp$inline_289) + isOrderingDirty$jscomp$inline_291 = !1, + pluginName$jscomp$inline_292; +for (pluginName$jscomp$inline_292 in injectedNamesToPlugins$jscomp$inline_290) if ( - injectedNamesToPlugins$jscomp$inline_289.hasOwnProperty( - pluginName$jscomp$inline_291 + injectedNamesToPlugins$jscomp$inline_290.hasOwnProperty( + pluginName$jscomp$inline_292 ) ) { - var pluginModule$jscomp$inline_292 = - injectedNamesToPlugins$jscomp$inline_289[pluginName$jscomp$inline_291]; + var pluginModule$jscomp$inline_293 = + injectedNamesToPlugins$jscomp$inline_290[pluginName$jscomp$inline_292]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_291) || - namesToPlugins[pluginName$jscomp$inline_291] !== - pluginModule$jscomp$inline_292 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_292) || + namesToPlugins[pluginName$jscomp$inline_292] !== + pluginModule$jscomp$inline_293 ) { - if (namesToPlugins[pluginName$jscomp$inline_291]) + if (namesToPlugins[pluginName$jscomp$inline_292]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_291 + "`.") + (pluginName$jscomp$inline_292 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_291] = - pluginModule$jscomp$inline_292; - isOrderingDirty$jscomp$inline_290 = !0; + namesToPlugins[pluginName$jscomp$inline_292] = + pluginModule$jscomp$inline_293; + isOrderingDirty$jscomp$inline_291 = !0; } } -isOrderingDirty$jscomp$inline_290 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_291 && recomputePluginOrdering(); var instanceCache = new Map(), instanceProps = new Map(); function getInstanceFromTag(tag) { @@ -1875,7 +1875,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; @@ -1907,11 +1908,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: @@ -2020,12 +2022,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; @@ -2098,7 +2094,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); @@ -2893,8 +2889,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; } @@ -5055,7 +5055,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(); @@ -5071,7 +5075,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; @@ -9888,13 +9896,18 @@ function requestUpdateLane(fiber) { 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) { @@ -10810,7 +10823,7 @@ function flushSpawnedWork() { 0 !== (pendingEffectsLanes & 3) && 0 !== root.tag && flushPendingEffects(); ensureRootIsScheduled(root); remainingLanes = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (remainingLanes & 42) + 0 !== (lanes & 261930) && 0 !== (remainingLanes & 42) ? root === rootWithNestedUpdates ? nestedUpdateCount++ : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root)) @@ -11357,11 +11370,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.2.0-native-fb-3168e08f-20250903" !== isomorphicReactPackageVersion) +if ("19.2.0-native-fb-3302d1f7-20250903" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.2.0-native-fb-3168e08f-20250903\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-3302d1f7-20250903\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11409,26 +11422,26 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - internals$jscomp$inline_1307 = { + internals$jscomp$inline_1312 = { bundleType: 0, - version: "19.2.0-native-fb-3168e08f-20250903", + version: "19.2.0-native-fb-3302d1f7-20250903", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-3168e08f-20250903" + reconcilerVersion: "19.2.0-native-fb-3302d1f7-20250903" }; null !== extraDevToolsConfig && - (internals$jscomp$inline_1307.rendererConfig = extraDevToolsConfig); + (internals$jscomp$inline_1312.rendererConfig = extraDevToolsConfig); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1670 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1675 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1670.isDisabled && - hook$jscomp$inline_1670.supportsFiber + !hook$jscomp$inline_1675.isDisabled && + hook$jscomp$inline_1675.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1670.inject( - internals$jscomp$inline_1307 + (rendererID = hook$jscomp$inline_1675.inject( + internals$jscomp$inline_1312 )), - (injectedHook = hook$jscomp$inline_1670); + (injectedHook = hook$jscomp$inline_1675); } catch (err) {} } exports.createPortal = function (children, containerTag) { diff --git a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js index 1e7e907b9c..678ccf76d2 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js +++ b/compiled-rn/facebook-fbsource/xplat/js/react-native-github/Libraries/Renderer/implementations/ReactNativeRenderer-profiling.fb.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<> */ "use strict"; @@ -1245,7 +1245,7 @@ eventPluginOrder = Array.prototype.slice.call([ "ReactNativeBridgeEventPlugin" ]); recomputePluginOrdering(); -var injectedNamesToPlugins$jscomp$inline_326 = { +var injectedNamesToPlugins$jscomp$inline_327 = { ResponderEventPlugin: ResponderEventPlugin, ReactNativeBridgeEventPlugin: { eventTypes: {}, @@ -1291,32 +1291,32 @@ var injectedNamesToPlugins$jscomp$inline_326 = { } } }, - isOrderingDirty$jscomp$inline_327 = !1, - pluginName$jscomp$inline_328; -for (pluginName$jscomp$inline_328 in injectedNamesToPlugins$jscomp$inline_326) + isOrderingDirty$jscomp$inline_328 = !1, + pluginName$jscomp$inline_329; +for (pluginName$jscomp$inline_329 in injectedNamesToPlugins$jscomp$inline_327) if ( - injectedNamesToPlugins$jscomp$inline_326.hasOwnProperty( - pluginName$jscomp$inline_328 + injectedNamesToPlugins$jscomp$inline_327.hasOwnProperty( + pluginName$jscomp$inline_329 ) ) { - var pluginModule$jscomp$inline_329 = - injectedNamesToPlugins$jscomp$inline_326[pluginName$jscomp$inline_328]; + var pluginModule$jscomp$inline_330 = + injectedNamesToPlugins$jscomp$inline_327[pluginName$jscomp$inline_329]; if ( - !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_328) || - namesToPlugins[pluginName$jscomp$inline_328] !== - pluginModule$jscomp$inline_329 + !namesToPlugins.hasOwnProperty(pluginName$jscomp$inline_329) || + namesToPlugins[pluginName$jscomp$inline_329] !== + pluginModule$jscomp$inline_330 ) { - if (namesToPlugins[pluginName$jscomp$inline_328]) + if (namesToPlugins[pluginName$jscomp$inline_329]) throw Error( "EventPluginRegistry: Cannot inject two different event plugins using the same name, `" + - (pluginName$jscomp$inline_328 + "`.") + (pluginName$jscomp$inline_329 + "`.") ); - namesToPlugins[pluginName$jscomp$inline_328] = - pluginModule$jscomp$inline_329; - isOrderingDirty$jscomp$inline_327 = !0; + namesToPlugins[pluginName$jscomp$inline_329] = + pluginModule$jscomp$inline_330; + isOrderingDirty$jscomp$inline_328 = !0; } } -isOrderingDirty$jscomp$inline_327 && recomputePluginOrdering(); +isOrderingDirty$jscomp$inline_328 && recomputePluginOrdering(); var instanceCache = new Map(), instanceProps = new Map(); function getInstanceFromTag(tag) { @@ -1929,7 +1929,8 @@ function getLabelForLane(lane) { if (lane & 536870912) return "Offscreen"; if (lane & 1073741824) return "Deferred"; } -var nextTransitionLane = 256, +var nextTransitionUpdateLane = 256, + nextTransitionDeferredLane = 262144, nextRetryLane = 4194304; function getHighestPriorityLanes(lanes) { var pendingSyncLanes = lanes & 42; @@ -1961,11 +1962,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: @@ -2074,12 +2076,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; @@ -2152,7 +2148,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); @@ -3281,8 +3277,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; } @@ -5460,7 +5460,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(); @@ -5476,7 +5480,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; @@ -11217,13 +11225,18 @@ function requestUpdateLane(fiber) { 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) { @@ -12657,7 +12670,7 @@ function flushSpawnedWork() { 0 !== (pendingEffectsLanes & 3) && 0 !== root.tag && flushPendingEffects(); ensureRootIsScheduled(root); suspendedCommitReason = root.pendingLanes; - 0 !== (lanes & 4194090) && 0 !== (suspendedCommitReason & 42) + 0 !== (lanes & 261930) && 0 !== (suspendedCommitReason & 42) ? ((nestedUpdateScheduled = !0), root === rootWithNestedUpdates ? nestedUpdateCount++ @@ -13298,11 +13311,11 @@ function updateContainer(element, container, parentComponent, callback) { return lane; } var isomorphicReactPackageVersion = React.version; -if ("19.2.0-native-fb-3168e08f-20250903" !== isomorphicReactPackageVersion) +if ("19.2.0-native-fb-3302d1f7-20250903" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-native-renderer" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-native-renderer: 19.2.0-native-fb-3168e08f-20250903\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.2.0-native-fb-3302d1f7-20250903\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -13350,16 +13363,16 @@ batchedUpdatesImpl = function (fn, a) { } }; var roots = new Map(), - internals$jscomp$inline_1551 = { + internals$jscomp$inline_1556 = { bundleType: 0, - version: "19.2.0-native-fb-3168e08f-20250903", + version: "19.2.0-native-fb-3302d1f7-20250903", rendererPackageName: "react-native-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-native-fb-3168e08f-20250903" + reconcilerVersion: "19.2.0-native-fb-3302d1f7-20250903" }; null !== extraDevToolsConfig && - (internals$jscomp$inline_1551.rendererConfig = extraDevToolsConfig); -internals$jscomp$inline_1551.getLaneLabelMap = function () { + (internals$jscomp$inline_1556.rendererConfig = extraDevToolsConfig); +internals$jscomp$inline_1556.getLaneLabelMap = function () { for ( var map = new Map(), lane = 1, index$174 = 0; 31 > index$174; @@ -13371,20 +13384,20 @@ internals$jscomp$inline_1551.getLaneLabelMap = function () { } return map; }; -internals$jscomp$inline_1551.injectProfilingHooks = function (profilingHooks) { +internals$jscomp$inline_1556.injectProfilingHooks = function (profilingHooks) { injectedProfilingHooks = profilingHooks; }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1916 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1921 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1916.isDisabled && - hook$jscomp$inline_1916.supportsFiber + !hook$jscomp$inline_1921.isDisabled && + hook$jscomp$inline_1921.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1916.inject( - internals$jscomp$inline_1551 + (rendererID = hook$jscomp$inline_1921.inject( + internals$jscomp$inline_1556 )), - (injectedHook = hook$jscomp$inline_1916); + (injectedHook = hook$jscomp$inline_1921); } catch (err) {} } exports.createPortal = function (children, containerTag) { diff --git a/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json b/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json index 4c36713b52..5be40575c5 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json +++ b/compiled-rn/facebook-fbsource/xplat/js/tools/eslint-plugin-react-hooks/package.json @@ -1,7 +1,7 @@ { "name": "eslint-plugin-react-hooks", "description": "ESLint rules for React Hooks", - "version": "0.0.0-experimental-3168e08f-20250903", + "version": "0.0.0-experimental-3302d1f7-20250903", "repository": { "type": "git", "url": "https://github.com/facebook/react.git",