From 3e6614efa705451b53d3bff4b3c716e2aa77bdd2 Mon Sep 17 00:00:00 2001 From: kassens Date: Mon, 22 Jul 2024 13:16:06 -0700 Subject: [PATCH] [BE] upgrade prettier to 3.3.3 (#30420) Mostly just changes in ternary formatting. DiffTrain build for commit https://github.com/facebook/react/commit/b7e7f1a3fab87e8fc19e86a8088a9e0fe4710973. --- compiled-rn/VERSION_NATIVE_FB | 2 +- .../cjs/ReactTestRenderer-dev.js | 302 ++++++------ .../cjs/ReactTestRenderer-prod.js | 190 ++++---- .../cjs/ReactTestRenderer-profiling.js | 190 ++++---- .../react/react/cjs/JSXDEVRuntime-dev.js | 22 +- .../vendor/react/react/cjs/JSXRuntime-dev.js | 22 +- .../vendor/react/react/cjs/React-dev.js | 62 +-- .../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 | 444 +++++++++--------- .../implementations/ReactFabric-prod.fb.js | 274 +++++------ .../ReactFabric-profiling.fb.js | 274 +++++------ .../ReactNativeRenderer-dev.fb.js | 413 ++++++++-------- .../ReactNativeRenderer-prod.fb.js | 238 +++++----- .../ReactNativeRenderer-profiling.fb.js | 238 +++++----- 16 files changed, 1358 insertions(+), 1323 deletions(-) diff --git a/compiled-rn/VERSION_NATIVE_FB b/compiled-rn/VERSION_NATIVE_FB index ff6cb35b28594..ad98e9ac94bff 100644 --- a/compiled-rn/VERSION_NATIVE_FB +++ b/compiled-rn/VERSION_NATIVE_FB @@ -1 +1 @@ -19.0.0-native-fb-d025ddd3-20240722 \ No newline at end of file +19.0.0-native-fb-b7e7f1a3-20240722 \ No newline at end of file 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 b26f385b09c27..9def19d1488f3 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,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<9c5656083e486ccc33573a16c480eb74>> */ "use strict"; @@ -364,8 +364,8 @@ __DEV__ && -1 < x.stack.indexOf("\n at") ? " ()" : -1 < x.stack.indexOf("@") - ? "@unknown:0:0" - : ""; + ? "@unknown:0:0" + : ""; } return "\n" + prefix + name + suffix; } @@ -912,14 +912,15 @@ __DEV__ && return 0 === nextLanes ? 0 : 0 !== wipLanes && - wipLanes !== nextLanes && - 0 === (wipLanes & suspendedLanes) && - ((suspendedLanes = nextLanes & -nextLanes), - (root = wipLanes & -wipLanes), - suspendedLanes >= root || - (suspendedLanes === DefaultLane && 0 !== (root & TransitionLanes))) - ? wipLanes - : nextLanes; + wipLanes !== nextLanes && + 0 === (wipLanes & suspendedLanes) && + ((suspendedLanes = nextLanes & -nextLanes), + (root = wipLanes & -wipLanes), + suspendedLanes >= root || + (suspendedLanes === DefaultLane && + 0 !== (root & TransitionLanes))) + ? wipLanes + : nextLanes; } function computeExpirationTime(lane, currentTime) { switch (lane) { @@ -1342,10 +1343,10 @@ __DEV__ && : "{" + content.slice(0, maxLength - 7) + '..."}' : "{" + content + "}") : content.length > maxLength - ? 5 > maxLength - ? '{"..."}' - : content.slice(0, maxLength - 3) + "..." - : content; + ? 5 > maxLength + ? '{"..."}' + : content.slice(0, maxLength - 3) + "..." + : content; } function describeTextDiff(clientText, serverProps, indent) { var maxLength = 120 - 2 * indent; @@ -1439,10 +1440,10 @@ __DEV__ && return "string" !== typeof value || needsEscaping.test(value) ? "{" + describeValue(value, maxLength - 2) + "}" : value.length > maxLength - 2 - ? 5 > maxLength - ? '"..."' - : '"' + value.slice(0, maxLength - 5) + '..."' - : '"' + value + '"'; + ? 5 > maxLength + ? '"..."' + : '"' + value.slice(0, maxLength - 5) + '..."' + : '"' + value + '"'; } function describeExpandedElement(type, props, rowPrefix) { var remainingRowLength = 120 - rowPrefix.length - type.length, @@ -1460,17 +1461,17 @@ __DEV__ && return 0 === properties.length ? rowPrefix + "<" + type + ">\n" : 0 < remainingRowLength - ? rowPrefix + "<" + type + " " + properties.join(" ") + ">\n" - : rowPrefix + - "<" + - type + - "\n" + - rowPrefix + - " " + - properties.join("\n" + rowPrefix + " ") + - "\n" + - rowPrefix + - ">\n"; + ? rowPrefix + "<" + type + " " + properties.join(" ") + ">\n" + : rowPrefix + + "<" + + type + + "\n" + + rowPrefix + + " " + + properties.join("\n" + rowPrefix + " ") + + "\n" + + rowPrefix + + ">\n"; } function describePropertiesDiff(clientObject, serverObject, indent) { var properties = "", @@ -1693,16 +1694,16 @@ __DEV__ && )), indent++) : "string" === typeof node.serverProps - ? error$jscomp$0( - "Should not have matched a non HostText fiber to a Text node. This is a bug in React." - ) - : ((debugInfo = describeElementDiff( - serverComponentName, - i, - node.serverProps, - indent - )), - indent++); + ? error$jscomp$0( + "Should not have matched a non HostText fiber to a Text node. This is a bug in React." + ) + : ((debugInfo = describeElementDiff( + serverComponentName, + i, + node.serverProps, + indent + )), + indent++); var propName = ""; i = node.fiber.child; for ( @@ -3701,8 +3702,8 @@ __DEV__ && null !== current && null !== current.memoizedState ? HooksDispatcherOnUpdateInDEV : null !== hookTypesDev - ? HooksDispatcherOnMountWithHookTypesInDEV - : HooksDispatcherOnMountInDEV; + ? HooksDispatcherOnMountWithHookTypesInDEV + : HooksDispatcherOnMountInDEV; shouldDoubleInvokeUserFnsInHooksDEV = !1; nextRenderLanes = callComponentInDEV(Component, props, secondArg); shouldDoubleInvokeUserFnsInHooksDEV = !1; @@ -5117,8 +5118,9 @@ __DEV__ && ), oldProps) : ctor.prototype && ctor.prototype.isPureReactComponent - ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) - : !0; + ? !shallowEqual(oldProps, newProps) || + !shallowEqual(oldState, newState) + : !0; } function constructClassInstance(workInProgress, ctor, props) { var isLegacyContextConsumer = !1, @@ -5135,12 +5137,12 @@ __DEV__ && void 0 === context ? " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file." : "object" !== typeof context - ? " However, it is set to a " + typeof context + "." - : context.$$typeof === REACT_CONSUMER_TYPE - ? " Did you accidentally pass the Context.Consumer instead?" - : " However, it is set to an object with keys {" + - Object.keys(context).join(", ") + - "}."; + ? " However, it is set to a " + typeof context + "." + : context.$$typeof === REACT_CONSUMER_TYPE + ? " Did you accidentally pass the Context.Consumer instead?" + : " However, it is set to an object with keys {" + + Object.keys(context).join(", ") + + "}."; error$jscomp$0( "%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", getComponentNameFromType(ctor) || "Component", @@ -6549,47 +6551,47 @@ __DEV__ && renderLanes ))) : null !== workInProgress.memoizedState - ? (reuseSuspenseHandlerOnStack(workInProgress), - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null)) - : (reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = nextProps.fallback), - (showFallback = workInProgress.mode), - (nextProps = createFiberFromOffscreen( - { mode: "visible", children: nextProps.children }, - showFallback, - 0, - null - )), - (nextPrimaryChildren = createFiberFromFragment( - nextPrimaryChildren, - showFallback, - renderLanes, - null - )), - (nextPrimaryChildren.flags |= 2), - (nextProps.return = workInProgress), - (nextPrimaryChildren.return = workInProgress), - (nextProps.sibling = nextPrimaryChildren), - (workInProgress.child = nextProps), - 0 !== (workInProgress.mode & 1) && - reconcileChildFibers( - workInProgress, - current.child, - null, + ? (reuseSuspenseHandlerOnStack(workInProgress), + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null)) + : (reuseSuspenseHandlerOnStack(workInProgress), + (nextPrimaryChildren = nextProps.fallback), + (showFallback = workInProgress.mode), + (nextProps = createFiberFromOffscreen( + { mode: "visible", children: nextProps.children }, + showFallback, + 0, + null + )), + (nextPrimaryChildren = createFiberFromFragment( + nextPrimaryChildren, + showFallback, + renderLanes, + null + )), + (nextPrimaryChildren.flags |= 2), + (nextProps.return = workInProgress), + (nextPrimaryChildren.return = workInProgress), + (nextProps.sibling = nextPrimaryChildren), + (workInProgress.child = nextProps), + 0 !== (workInProgress.mode & 1) && + reconcileChildFibers( + workInProgress, + current.child, + null, + renderLanes + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( + current, + JSCompiler_temp, renderLanes - ), - (nextProps = workInProgress.child), - (nextProps.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextProps.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_temp, - renderLanes - )), - (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + )), + (workInProgress.memoizedState = SUSPENDED_MARKER), + (workInProgress = nextPrimaryChildren)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isSuspenseInstanceFallback()) @@ -8755,20 +8757,20 @@ __DEV__ && 0 !== (effect.tag & Layout) ? "useLayoutEffect" : 0 !== (effect.tag & Insertion) - ? "useInsertionEffect" - : "useEffect"), + ? "useInsertionEffect" + : "useEffect"), error$jscomp$0( "%s must not return anything besides a function, which is used for clean-up.%s", inst, null === create ? " You returned null. If your effect does not require clean up, return undefined (or nothing)." : "function" === typeof create.then - ? "\n\nIt looks like you wrote " + - inst + - "(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n" + - inst + - "(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching" - : " You returned: " + create + ? "\n\nIt looks like you wrote " + + inst + + "(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n" + + inst + + "(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching" + : " You returned: " + create )); } effect = effect.next; @@ -10020,34 +10022,34 @@ __DEV__ && committedTransitions ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects( + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions + ) + : ((_instance3._visibility |= 4), + recursivelyTraversePassiveMountEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions + )) + : _instance3._visibility & 4 + ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions ) : ((_instance3._visibility |= 4), - recursivelyTraversePassiveMountEffects( + recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, committedLanes, - committedTransitions - )) - : _instance3._visibility & 4 - ? recursivelyTraversePassiveMountEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions - ) - : ((_instance3._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - 0 !== (finishedWork.subtreeFlags & 10256) - )); + committedTransitions, + 0 !== (finishedWork.subtreeFlags & 10256) + )); flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, @@ -10130,20 +10132,20 @@ __DEV__ && includeWorkInProgressEffects ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions - ) - : ((_instance4._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - includeWorkInProgressEffects - )) + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions + ) + : ((_instance4._visibility |= 4), + recursivelyTraverseReconnectPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions, + includeWorkInProgressEffects + )) : ((_instance4._visibility |= 4), recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -11064,10 +11066,10 @@ __DEV__ && thrownValue === SelectiveHydrationException ? SuspendedOnHydration : null !== thrownValue && - "object" === typeof thrownValue && - "function" === typeof thrownValue.then - ? SuspendedOnDeprecatedThrowPromise - : SuspendedOnError); + "object" === typeof thrownValue && + "function" === typeof thrownValue.then + ? SuspendedOnDeprecatedThrowPromise + : SuspendedOnError); workInProgressThrownValue = thrownValue; handler = workInProgress; if (null === handler) @@ -12562,21 +12564,21 @@ __DEV__ && null === type ? (pendingProps = "null") : isArrayImpl(type) - ? (pendingProps = "array") - : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE - ? ((pendingProps = - "<" + - (getComponentNameFromType(type.type) || "Unknown") + - " />"), - (resolvedType = - " Did you accidentally export a JSX literal instead of a component?")) - : (pendingProps = typeof type); + ? (pendingProps = "array") + : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE + ? ((pendingProps = + "<" + + (getComponentNameFromType(type.type) || "Unknown") + + " />"), + (resolvedType = + " Did you accidentally export a JSX literal instead of a component?")) + : (pendingProps = typeof type); fiberTag = owner ? "number" === typeof owner.tag ? getComponentNameFromFiber(owner) : "string" === typeof owner.name - ? owner.name - : null + ? owner.name + : null : null; fiberTag && (resolvedType += @@ -12934,8 +12936,8 @@ __DEV__ && return 0 === node.length ? null : 1 === node.length - ? toTree(node[0]) - : flatten(node.map(toTree)); + ? toTree(node[0]) + : flatten(node.map(toTree)); } function nodeAndSiblingsArray(nodeWithSibling) { for (var array = []; null != nodeWithSibling; ) @@ -15080,14 +15082,14 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-native-fb-d025ddd3-20240722" + reconcilerVersion: "19.0.0-native-fb-b7e7f1a3-20240722" }); })({ findFiberByHostInstance: function () { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 1, - version: "19.0.0-native-fb-d025ddd3-20240722", + version: "19.0.0-native-fb-b7e7f1a3-20240722", rendererPackageName: "react-test-renderer" }); exports._Scheduler = Scheduler; 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 f8d5f2c71f594..c06d0adce3d19 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<<3ace9ccd69b129cdf0dc2e8cf8a5d9d3>> + * @generated SignedSource<<29b5cf00b5d1dc9f0b1107e3d8d364a2>> */ "use strict"; @@ -180,8 +180,8 @@ function describeBuiltInComponentFrame(name) { -1 < x.stack.indexOf("\n at") ? " ()" : -1 < x.stack.indexOf("@") - ? "@unknown:0:0" - : ""; + ? "@unknown:0:0" + : ""; } return "\n" + prefix + name + suffix; } @@ -563,14 +563,14 @@ function getNextLanes(root, wipLanes) { return 0 === nextLanes ? 0 : 0 !== wipLanes && - wipLanes !== nextLanes && - 0 === (wipLanes & suspendedLanes) && - ((suspendedLanes = nextLanes & -nextLanes), - (root = wipLanes & -wipLanes), - suspendedLanes >= root || - (32 === suspendedLanes && 0 !== (root & 4194176))) - ? wipLanes - : nextLanes; + wipLanes !== nextLanes && + 0 === (wipLanes & suspendedLanes) && + ((suspendedLanes = nextLanes & -nextLanes), + (root = wipLanes & -wipLanes), + suspendedLanes >= root || + (32 === suspendedLanes && 0 !== (root & 4194176))) + ? wipLanes + : nextLanes; } function computeExpirationTime(lane, currentTime) { switch (lane) { @@ -3605,8 +3605,8 @@ function checkShouldComponentUpdate( return "function" === typeof workInProgress.shouldComponentUpdate ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext) : ctor.prototype && ctor.prototype.isPureReactComponent - ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) - : !0; + ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) + : !0; } function constructClassInstance(workInProgress, ctor, props) { var isLegacyContextConsumer = !1, @@ -4566,46 +4566,47 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes ))) : null !== workInProgress.memoizedState - ? (reuseSuspenseHandlerOnStack(workInProgress), - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null)) - : (reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = nextProps.fallback), - (showFallback = workInProgress.mode), - (nextProps = createFiberFromOffscreen( - { mode: "visible", children: nextProps.children }, - showFallback, - 0, - null - )), - (nextPrimaryChildren = createFiberFromFragment( - nextPrimaryChildren, - showFallback, - renderLanes, - null - )), - (nextPrimaryChildren.flags |= 2), - (nextProps.return = workInProgress), - (nextPrimaryChildren.return = workInProgress), - (nextProps.sibling = nextPrimaryChildren), - (workInProgress.child = nextProps), - 0 !== (workInProgress.mode & 1) && - reconcileChildFibers( - workInProgress, - current.child, - null, + ? (reuseSuspenseHandlerOnStack(workInProgress), + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null)) + : (reuseSuspenseHandlerOnStack(workInProgress), + (nextPrimaryChildren = nextProps.fallback), + (showFallback = workInProgress.mode), + (nextProps = createFiberFromOffscreen( + { mode: "visible", children: nextProps.children }, + showFallback, + 0, + null + )), + (nextPrimaryChildren = createFiberFromFragment( + nextPrimaryChildren, + showFallback, + renderLanes, + null + )), + (nextPrimaryChildren.flags |= 2), + (nextProps.return = workInProgress), + (nextPrimaryChildren.return = workInProgress), + (nextProps.sibling = nextPrimaryChildren), + (workInProgress.child = nextProps), + 0 !== (workInProgress.mode & 1) && + reconcileChildFibers( + workInProgress, + current.child, + null, + renderLanes + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( + current, + JSCompiler_temp, renderLanes - ), - (nextProps = workInProgress.child), - (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (nextProps.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_temp, - renderLanes - )), - (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + )), + (workInProgress.memoizedState = SUSPENDED_MARKER), + (workInProgress = nextPrimaryChildren)); else if ((pushPrimaryTreeSuspenseHandler(workInProgress), shim$1())) (JSCompiler_temp = shim$1().digest), (nextProps = Error( @@ -7190,29 +7191,32 @@ function commitPassiveMountOnFiber( committedTransitions ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork) - : ((instance._visibility |= 4), - recursivelyTraversePassiveMountEffects( + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork + ) + : ((instance._visibility |= 4), + recursivelyTraversePassiveMountEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions + )) + : instance._visibility & 4 + ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions - )) - : instance._visibility & 4 - ? recursivelyTraversePassiveMountEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions - ) - : ((instance._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - 0 !== (finishedWork.subtreeFlags & 10256) - )); + ) + : ((instance._visibility |= 4), + recursivelyTraverseReconnectPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions, + 0 !== (finishedWork.subtreeFlags & 10256) + )); flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, @@ -7280,18 +7284,18 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects( - finishedRoot, - finishedWork - ) - : ((instance._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - includeWorkInProgressEffects - )) + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork + ) + : ((instance._visibility |= 4), + recursivelyTraverseReconnectPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions, + includeWorkInProgressEffects + )) : ((instance._visibility |= 4), recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -8012,10 +8016,10 @@ function handleThrow(root, thrownValue) { thrownValue === SelectiveHydrationException ? 8 : null !== thrownValue && - "object" === typeof thrownValue && - "function" === typeof thrownValue.then - ? 6 - : 1); + "object" === typeof thrownValue && + "function" === typeof thrownValue.then + ? 6 + : 1); workInProgressThrownValue = thrownValue; null === workInProgress && ((workInProgressRootExitStatus = 1), @@ -9082,8 +9086,8 @@ function childrenToTree(node) { return 0 === node.length ? null : 1 === node.length - ? toTree(node[0]) - : flatten(node.map(toTree)); + ? toTree(node[0]) + : flatten(node.map(toTree)); } function nodeAndSiblingsArray(nodeWithSibling) { for (var array = []; null != nodeWithSibling; ) @@ -9169,8 +9173,8 @@ function getChildren(parent) { validWrapperTypes.has(node.tag) ? children.push(wrapFiber(node)) : 6 === node.tag - ? children.push("" + node.memoizedProps) - : (descend = !0); + ? children.push("" + node.memoizedProps) + : (descend = !0); if (descend && null !== node.child) (node.child.return = node), (node = node.child); else { @@ -9335,7 +9339,7 @@ var devToolsConfig$jscomp$inline_1034 = { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "19.0.0-native-fb-d025ddd3-20240722", + version: "19.0.0-native-fb-b7e7f1a3-20240722", rendererPackageName: "react-test-renderer" }; var internals$jscomp$inline_1223 = { @@ -9366,7 +9370,7 @@ var internals$jscomp$inline_1223 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-d025ddd3-20240722" + reconcilerVersion: "19.0.0-native-fb-b7e7f1a3-20240722" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1224 = __REACT_DEVTOOLS_GLOBAL_HOOK__; 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 8a06ccd27afb9..42260da70ffae 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<<2806d5853116c243053a4a3f0cc3ca1b>> */ "use strict"; @@ -180,8 +180,8 @@ function describeBuiltInComponentFrame(name) { -1 < x.stack.indexOf("\n at") ? " ()" : -1 < x.stack.indexOf("@") - ? "@unknown:0:0" - : ""; + ? "@unknown:0:0" + : ""; } return "\n" + prefix + name + suffix; } @@ -651,14 +651,14 @@ function getNextLanes(root, wipLanes) { return 0 === nextLanes ? 0 : 0 !== wipLanes && - wipLanes !== nextLanes && - 0 === (wipLanes & suspendedLanes) && - ((suspendedLanes = nextLanes & -nextLanes), - (root = wipLanes & -wipLanes), - suspendedLanes >= root || - (32 === suspendedLanes && 0 !== (root & 4194176))) - ? wipLanes - : nextLanes; + wipLanes !== nextLanes && + 0 === (wipLanes & suspendedLanes) && + ((suspendedLanes = nextLanes & -nextLanes), + (root = wipLanes & -wipLanes), + suspendedLanes >= root || + (32 === suspendedLanes && 0 !== (root & 4194176))) + ? wipLanes + : nextLanes; } function computeExpirationTime(lane, currentTime) { switch (lane) { @@ -3763,8 +3763,8 @@ function checkShouldComponentUpdate( return "function" === typeof workInProgress.shouldComponentUpdate ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext) : ctor.prototype && ctor.prototype.isPureReactComponent - ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) - : !0; + ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) + : !0; } function constructClassInstance(workInProgress, ctor, props) { var isLegacyContextConsumer = !1, @@ -4737,46 +4737,47 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes ))) : null !== workInProgress.memoizedState - ? (reuseSuspenseHandlerOnStack(workInProgress), - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null)) - : (reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = nextProps.fallback), - (showFallback = workInProgress.mode), - (nextProps = createFiberFromOffscreen( - { mode: "visible", children: nextProps.children }, - showFallback, - 0, - null - )), - (nextPrimaryChildren = createFiberFromFragment( - nextPrimaryChildren, - showFallback, - renderLanes, - null - )), - (nextPrimaryChildren.flags |= 2), - (nextProps.return = workInProgress), - (nextPrimaryChildren.return = workInProgress), - (nextProps.sibling = nextPrimaryChildren), - (workInProgress.child = nextProps), - 0 !== (workInProgress.mode & 1) && - reconcileChildFibers( - workInProgress, - current.child, - null, + ? (reuseSuspenseHandlerOnStack(workInProgress), + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null)) + : (reuseSuspenseHandlerOnStack(workInProgress), + (nextPrimaryChildren = nextProps.fallback), + (showFallback = workInProgress.mode), + (nextProps = createFiberFromOffscreen( + { mode: "visible", children: nextProps.children }, + showFallback, + 0, + null + )), + (nextPrimaryChildren = createFiberFromFragment( + nextPrimaryChildren, + showFallback, + renderLanes, + null + )), + (nextPrimaryChildren.flags |= 2), + (nextProps.return = workInProgress), + (nextPrimaryChildren.return = workInProgress), + (nextProps.sibling = nextPrimaryChildren), + (workInProgress.child = nextProps), + 0 !== (workInProgress.mode & 1) && + reconcileChildFibers( + workInProgress, + current.child, + null, + renderLanes + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( + current, + JSCompiler_temp, renderLanes - ), - (nextProps = workInProgress.child), - (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (nextProps.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_temp, - renderLanes - )), - (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + )), + (workInProgress.memoizedState = SUSPENDED_MARKER), + (workInProgress = nextPrimaryChildren)); else if ((pushPrimaryTreeSuspenseHandler(workInProgress), shim$1())) (JSCompiler_temp = shim$1().digest), (nextProps = Error( @@ -7641,29 +7642,32 @@ function commitPassiveMountOnFiber( committedTransitions ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork) - : ((instance._visibility |= 4), - recursivelyTraversePassiveMountEffects( + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork + ) + : ((instance._visibility |= 4), + recursivelyTraversePassiveMountEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions + )) + : instance._visibility & 4 + ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions - )) - : instance._visibility & 4 - ? recursivelyTraversePassiveMountEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions - ) - : ((instance._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - 0 !== (finishedWork.subtreeFlags & 10256) - )); + ) + : ((instance._visibility |= 4), + recursivelyTraverseReconnectPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions, + 0 !== (finishedWork.subtreeFlags & 10256) + )); flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, @@ -7731,18 +7735,18 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects( - finishedRoot, - finishedWork - ) - : ((instance._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - includeWorkInProgressEffects - )) + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork + ) + : ((instance._visibility |= 4), + recursivelyTraverseReconnectPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions, + includeWorkInProgressEffects + )) : ((instance._visibility |= 4), recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -8486,10 +8490,10 @@ function handleThrow(root, thrownValue) { thrownValue === SelectiveHydrationException ? 8 : null !== thrownValue && - "object" === typeof thrownValue && - "function" === typeof thrownValue.then - ? 6 - : 1); + "object" === typeof thrownValue && + "function" === typeof thrownValue.then + ? 6 + : 1); workInProgressThrownValue = thrownValue; handler = workInProgress; if (null === handler) @@ -9702,8 +9706,8 @@ function childrenToTree(node) { return 0 === node.length ? null : 1 === node.length - ? toTree(node[0]) - : flatten(node.map(toTree)); + ? toTree(node[0]) + : flatten(node.map(toTree)); } function nodeAndSiblingsArray(nodeWithSibling) { for (var array = []; null != nodeWithSibling; ) @@ -9789,8 +9793,8 @@ function getChildren(parent) { validWrapperTypes.has(node.tag) ? children.push(wrapFiber(node)) : 6 === node.tag - ? children.push("" + node.memoizedProps) - : (descend = !0); + ? children.push("" + node.memoizedProps) + : (descend = !0); if (descend && null !== node.child) (node.child.return = node), (node = node.child); else { @@ -9955,7 +9959,7 @@ var devToolsConfig$jscomp$inline_1117 = { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 0, - version: "19.0.0-native-fb-d025ddd3-20240722", + version: "19.0.0-native-fb-b7e7f1a3-20240722", rendererPackageName: "react-test-renderer" }; (function (internals) { @@ -9999,7 +10003,7 @@ var devToolsConfig$jscomp$inline_1117 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-d025ddd3-20240722" + reconcilerVersion: "19.0.0-native-fb-b7e7f1a3-20240722" }); exports._Scheduler = Scheduler; exports.act = act; diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/JSXDEVRuntime-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/JSXDEVRuntime-dev.js index c76b0696cd816..7512e1e0e5c48 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/JSXDEVRuntime-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/JSXDEVRuntime-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<> + * @generated SignedSource<<2132372086be69b8a6fc2192367ad38f>> */ "use strict"; @@ -168,8 +168,8 @@ __DEV__ && -1 < x.stack.indexOf("\n at") ? " ()" : -1 < x.stack.indexOf("@") - ? "@unknown:0:0" - : ""; + ? "@unknown:0:0" + : ""; } return "\n" + prefix + name + suffix; } @@ -486,13 +486,15 @@ __DEV__ && null === type ? (isStaticChildren = "null") : isArrayImpl(type) - ? (isStaticChildren = "array") - : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE - ? ((isStaticChildren = - "<" + (getComponentNameFromType(type.type) || "Unknown") + " />"), - (children = - " Did you accidentally export a JSX literal instead of a component?")) - : (isStaticChildren = typeof type); + ? (isStaticChildren = "array") + : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE + ? ((isStaticChildren = + "<" + + (getComponentNameFromType(type.type) || "Unknown") + + " />"), + (children = + " Did you accidentally export a JSX literal instead of a component?")) + : (isStaticChildren = typeof type); error( "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", isStaticChildren, diff --git a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/JSXRuntime-dev.js b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/JSXRuntime-dev.js index 254800c2888e9..f2805270e7ca5 100644 --- a/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/JSXRuntime-dev.js +++ b/compiled-rn/facebook-fbsource/xplat/js/RKJSModules/vendor/react/react/cjs/JSXRuntime-dev.js @@ -7,7 +7,7 @@ * @noflow * @nolint * @preventMunge - * @generated SignedSource<<31c9222f86ee2d022abecb8d71e7a6e2>> + * @generated SignedSource<<61d53156cb278d0e49c30a50dbd0c8c1>> */ "use strict"; @@ -168,8 +168,8 @@ __DEV__ && -1 < x.stack.indexOf("\n at") ? " ()" : -1 < x.stack.indexOf("@") - ? "@unknown:0:0" - : ""; + ? "@unknown:0:0" + : ""; } return "\n" + prefix + name + suffix; } @@ -486,13 +486,15 @@ __DEV__ && null === type ? (isStaticChildren = "null") : isArrayImpl(type) - ? (isStaticChildren = "array") - : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE - ? ((isStaticChildren = - "<" + (getComponentNameFromType(type.type) || "Unknown") + " />"), - (children = - " Did you accidentally export a JSX literal instead of a component?")) - : (isStaticChildren = typeof type); + ? (isStaticChildren = "array") + : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE + ? ((isStaticChildren = + "<" + + (getComponentNameFromType(type.type) || "Unknown") + + " />"), + (children = + " Did you accidentally export a JSX literal instead of a component?")) + : (isStaticChildren = typeof type); error( "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", isStaticChildren, 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 b1ad5d85bbdc0..99be05d5bf6f7 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<> + * @generated SignedSource<<30be7a182490ce66443590abf00f7a21>> */ "use strict"; @@ -249,8 +249,8 @@ __DEV__ && -1 < x.stack.indexOf("\n at") ? " ()" : -1 < x.stack.indexOf("@") - ? "@unknown:0:0" - : ""; + ? "@unknown:0:0" + : ""; } return "\n" + prefix + name + suffix; } @@ -549,13 +549,15 @@ __DEV__ && null === type ? (isStaticChildren = "null") : isArrayImpl(type) - ? (isStaticChildren = "array") - : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE - ? ((isStaticChildren = - "<" + (getComponentNameFromType(type.type) || "Unknown") + " />"), - (children = - " Did you accidentally export a JSX literal instead of a component?")) - : (isStaticChildren = typeof type); + ? (isStaticChildren = "array") + : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE + ? ((isStaticChildren = + "<" + + (getComponentNameFromType(type.type) || "Unknown") + + " />"), + (children = + " Did you accidentally export a JSX literal instead of a component?")) + : (isStaticChildren = typeof type); error$jscomp$0( "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", isStaticChildren, @@ -1418,13 +1420,13 @@ __DEV__ && isArrayImpl(type) ? (typeString = "array") : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE - ? ((typeString = - "<" + - (getComponentNameFromType(type.type) || "Unknown") + - " />"), - (i = - " Did you accidentally export a JSX literal instead of a component?")) - : (typeString = typeof type); + ? ((typeString = + "<" + + (getComponentNameFromType(type.type) || "Unknown") + + " />"), + (i = + " Did you accidentally export a JSX literal instead of a component?")) + : (typeString = typeof type); error$jscomp$0( "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", typeString, @@ -1496,18 +1498,18 @@ __DEV__ && "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))." ) : "function" !== typeof render - ? error$jscomp$0( - "forwardRef requires a render function but was given %s.", - null === render ? "null" : typeof render - ) - : 0 !== render.length && - 2 !== render.length && - error$jscomp$0( - "forwardRef render functions accept exactly two parameters: props and ref. %s", - 1 === render.length - ? "Did you forget to use the ref parameter?" - : "Any additional parameter will be undefined." - ); + ? error$jscomp$0( + "forwardRef requires a render function but was given %s.", + null === render ? "null" : typeof render + ) + : 0 !== render.length && + 2 !== render.length && + error$jscomp$0( + "forwardRef render functions accept exactly two parameters: props and ref. %s", + 1 === render.length + ? "Did you forget to use the ref parameter?" + : "Any additional parameter will be undefined." + ); null != render && null != render.defaultProps && error$jscomp$0( @@ -1699,7 +1701,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-native-fb-d025ddd3-20240722"; + exports.version = "19.0.0-native-fb-b7e7f1a3-20240722"; "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 d90c3c43e804a..26de45b61039a 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<<2353fd61ee1b67bde9e8cd1746ce037f>> + * @generated SignedSource<<13c334ef418ec56b22075edd08c0e970>> */ "use strict"; @@ -576,4 +576,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-native-fb-d025ddd3-20240722"; +exports.version = "19.0.0-native-fb-b7e7f1a3-20240722"; 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 29e7304fe3f6d..84327d09fe22a 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<<4648b74319af5ed745e1bda78613e70a>> + * @generated SignedSource<<98aeeddba8dacaa7a901a9e72ceaeb46>> */ "use strict"; @@ -580,7 +580,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-native-fb-d025ddd3-20240722"; +exports.version = "19.0.0-native-fb-b7e7f1a3-20240722"; "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 2b3e066657a22..ed146f5455f47 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 @@ -d025ddd3b954dfc52ad7e6a036913946a8ca2644 +b7e7f1a3fab87e8fc19e86a8088a9e0fe4710973 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 100e0c8baa487..2c2cebc50151c 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<> + * @generated SignedSource<<80e274d76efc21755c14cd33de6b413f>> */ "use strict"; @@ -229,8 +229,8 @@ __DEV__ && -1 < x.stack.indexOf("\n at") ? " ()" : -1 < x.stack.indexOf("@") - ? "@unknown:0:0" - : ""; + ? "@unknown:0:0" + : ""; } return "\n" + prefix + name + suffix; } @@ -582,14 +582,14 @@ __DEV__ && dispatchListeners = (event = isArrayImpl(dispatchListeners)) ? dispatchListeners.length : dispatchListeners - ? 1 - : 0; + ? 1 + : 0; var instancesIsArr = isArrayImpl(dispatchInstances); dispatchInstances = instancesIsArr ? dispatchInstances.length : dispatchInstances - ? 1 - : 0; + ? 1 + : 0; (instancesIsArr === event && dispatchInstances === dispatchListeners) || error$jscomp$0("EventPluginUtils: Invalid `event`."); } @@ -644,8 +644,8 @@ __DEV__ && (targetInst = dispatchConfig[propName]) ? (this[propName] = targetInst(nativeEvent)) : "target" === propName - ? (this.target = nativeEventTarget) - : (this[propName] = nativeEvent[propName])); + ? (this.target = nativeEventTarget) + : (this[propName] = nativeEvent[propName])); this.isDefaultPrevented = ( null != nativeEvent.defaultPrevented ? nativeEvent.defaultPrevented @@ -819,10 +819,10 @@ __DEV__ && return null == current ? next : isArrayImpl(current) - ? current.concat(next) - : isArrayImpl(next) - ? [current].concat(next) - : [current, next]; + ? current.concat(next) + : isArrayImpl(next) + ? [current].concat(next) + : [current, next]; } function accumulateInto(current, next) { if (null == next) @@ -1132,8 +1132,8 @@ __DEV__ && return nextProp ? addNestedProperty(updatePayload, nextProp, validAttributes) : prevProp - ? clearNestedProperty(updatePayload, prevProp, validAttributes) - : updatePayload; + ? clearNestedProperty(updatePayload, prevProp, validAttributes) + : updatePayload; if (!isArrayImpl(prevProp) && !isArrayImpl(nextProp)) return diffProperties( updatePayload, @@ -1325,10 +1325,11 @@ __DEV__ && "function" === typeof prop ? (newValue = !0) : "object" !== typeof attributeConfig - ? (newValue = prop) - : "function" === typeof attributeConfig.process - ? (newValue = attributeConfig.process(prop)) - : "function" === typeof attributeConfig.diff && (newValue = prop); + ? (newValue = prop) + : "function" === typeof attributeConfig.process + ? (newValue = attributeConfig.process(prop)) + : "function" === typeof attributeConfig.diff && + (newValue = prop); void 0 !== newValue ? (payload || (payload = {}), (payload[i] = newValue)) : (payload = fastAddProperties(payload, prop, attributeConfig)); @@ -1648,14 +1649,15 @@ __DEV__ && return 0 === nextLanes ? 0 : 0 !== wipLanes && - wipLanes !== nextLanes && - 0 === (wipLanes & suspendedLanes) && - ((suspendedLanes = nextLanes & -nextLanes), - (root = wipLanes & -wipLanes), - suspendedLanes >= root || - (suspendedLanes === DefaultLane && 0 !== (root & TransitionLanes))) - ? wipLanes - : nextLanes; + wipLanes !== nextLanes && + 0 === (wipLanes & suspendedLanes) && + ((suspendedLanes = nextLanes & -nextLanes), + (root = wipLanes & -wipLanes), + suspendedLanes >= root || + (suspendedLanes === DefaultLane && + 0 !== (root & TransitionLanes))) + ? wipLanes + : nextLanes; } function computeExpirationTime(lane, currentTime) { switch (lane) { @@ -1859,8 +1861,8 @@ __DEV__ && null != instance.canonical.publicInstance ? instance.canonical.publicInstance : null != instance._nativeTag - ? instance - : null; + ? instance + : null; } function resolveUpdatePriority() { if (0 !== currentUpdatePriority) return currentUpdatePriority; @@ -2252,10 +2254,10 @@ __DEV__ && : "{" + content.slice(0, maxLength - 7) + '..."}' : "{" + content + "}") : content.length > maxLength - ? 5 > maxLength - ? '{"..."}' - : content.slice(0, maxLength - 3) + "..." - : content; + ? 5 > maxLength + ? '{"..."}' + : content.slice(0, maxLength - 3) + "..." + : content; } function describeTextDiff(clientText, serverProps, indent) { var maxLength = 120 - 2 * indent; @@ -2349,10 +2351,10 @@ __DEV__ && return "string" !== typeof value || needsEscaping.test(value) ? "{" + describeValue(value, maxLength - 2) + "}" : value.length > maxLength - 2 - ? 5 > maxLength - ? '"..."' - : '"' + value.slice(0, maxLength - 5) + '..."' - : '"' + value + '"'; + ? 5 > maxLength + ? '"..."' + : '"' + value.slice(0, maxLength - 5) + '..."' + : '"' + value + '"'; } function describeExpandedElement(type, props, rowPrefix) { var remainingRowLength = 120 - rowPrefix.length - type.length, @@ -2370,17 +2372,17 @@ __DEV__ && return 0 === properties.length ? rowPrefix + "<" + type + ">\n" : 0 < remainingRowLength - ? rowPrefix + "<" + type + " " + properties.join(" ") + ">\n" - : rowPrefix + - "<" + - type + - "\n" + - rowPrefix + - " " + - properties.join("\n" + rowPrefix + " ") + - "\n" + - rowPrefix + - ">\n"; + ? rowPrefix + "<" + type + " " + properties.join(" ") + ">\n" + : rowPrefix + + "<" + + type + + "\n" + + rowPrefix + + " " + + properties.join("\n" + rowPrefix + " ") + + "\n" + + rowPrefix + + ">\n"; } function describePropertiesDiff(clientObject, serverObject, indent) { var properties = "", @@ -2603,16 +2605,16 @@ __DEV__ && )), indent++) : "string" === typeof node.serverProps - ? error$jscomp$0( - "Should not have matched a non HostText fiber to a Text node. This is a bug in React." - ) - : ((debugInfo = describeElementDiff( - serverComponentName, - i, - node.serverProps, - indent - )), - indent++); + ? error$jscomp$0( + "Should not have matched a non HostText fiber to a Text node. This is a bug in React." + ) + : ((debugInfo = describeElementDiff( + serverComponentName, + i, + node.serverProps, + indent + )), + indent++); var propName = ""; i = node.fiber.child; for ( @@ -4634,8 +4636,8 @@ __DEV__ && null !== current && null !== current.memoizedState ? HooksDispatcherOnUpdateInDEV : null !== hookTypesDev - ? HooksDispatcherOnMountWithHookTypesInDEV - : HooksDispatcherOnMountInDEV; + ? HooksDispatcherOnMountWithHookTypesInDEV + : HooksDispatcherOnMountInDEV; shouldDoubleInvokeUserFnsInHooksDEV = nextRenderLanes = 0 !== (workInProgress.mode & 8); var children = callComponentInDEV(Component, props, secondArg); @@ -6111,12 +6113,12 @@ __DEV__ && void 0 === context ? " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file." : "object" !== typeof context - ? " However, it is set to a " + typeof context + "." - : context.$$typeof === REACT_CONSUMER_TYPE - ? " Did you accidentally pass the Context.Consumer instead?" - : " However, it is set to an object with keys {" + - Object.keys(context).join(", ") + - "}."; + ? " However, it is set to a " + typeof context + "." + : context.$$typeof === REACT_CONSUMER_TYPE + ? " Did you accidentally pass the Context.Consumer instead?" + : " However, it is set to an object with keys {" + + Object.keys(context).join(", ") + + "}."; error$jscomp$0( "%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", getComponentNameFromType(ctor) || "Component", @@ -7545,47 +7547,47 @@ __DEV__ && renderLanes ))) : null !== workInProgress.memoizedState - ? (reuseSuspenseHandlerOnStack(workInProgress), - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null)) - : (reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = nextProps.fallback), - (showFallback = workInProgress.mode), - (nextProps = createFiberFromOffscreen( - { mode: "visible", children: nextProps.children }, - showFallback, - 0, - null - )), - (nextPrimaryChildren = createFiberFromFragment( - nextPrimaryChildren, - showFallback, - renderLanes, - null - )), - (nextPrimaryChildren.flags |= 2), - (nextProps.return = workInProgress), - (nextPrimaryChildren.return = workInProgress), - (nextProps.sibling = nextPrimaryChildren), - (workInProgress.child = nextProps), - 0 !== (workInProgress.mode & 1) && - reconcileChildFibers( - workInProgress, - current.child, - null, + ? (reuseSuspenseHandlerOnStack(workInProgress), + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null)) + : (reuseSuspenseHandlerOnStack(workInProgress), + (nextPrimaryChildren = nextProps.fallback), + (showFallback = workInProgress.mode), + (nextProps = createFiberFromOffscreen( + { mode: "visible", children: nextProps.children }, + showFallback, + 0, + null + )), + (nextPrimaryChildren = createFiberFromFragment( + nextPrimaryChildren, + showFallback, + renderLanes, + null + )), + (nextPrimaryChildren.flags |= 2), + (nextProps.return = workInProgress), + (nextPrimaryChildren.return = workInProgress), + (nextProps.sibling = nextPrimaryChildren), + (workInProgress.child = nextProps), + 0 !== (workInProgress.mode & 1) && + reconcileChildFibers( + workInProgress, + current.child, + null, + renderLanes + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( + current, + JSCompiler_temp, renderLanes - ), - (nextProps = workInProgress.child), - (nextProps.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextProps.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_temp, - renderLanes - )), - (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + )), + (workInProgress.memoizedState = SUSPENDED_MARKER), + (workInProgress = nextPrimaryChildren)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isSuspenseInstanceFallback()) @@ -9190,8 +9192,8 @@ __DEV__ && ) : cloneNodeWithNewChildren(newProps, newChildSet) : null !== _oldProps - ? cloneNodeWithNewChildrenAndProps(newProps, _oldProps) - : cloneNodeWithNewChildren(newProps); + ? cloneNodeWithNewChildrenAndProps(newProps, _oldProps) + : cloneNodeWithNewChildren(newProps); newProps = { node: newProps, canonical: renderLanes.canonical }; } newProps === renderLanes @@ -9930,20 +9932,20 @@ __DEV__ && 0 !== (effect.tag & Layout) ? "useLayoutEffect" : 0 !== (effect.tag & Insertion) - ? "useInsertionEffect" - : "useEffect"), + ? "useInsertionEffect" + : "useEffect"), error$jscomp$0( "%s must not return anything besides a function, which is used for clean-up.%s", inst, null === create ? " You returned null. If your effect does not require clean up, return undefined (or nothing)." : "function" === typeof create.then - ? "\n\nIt looks like you wrote " + - inst + - "(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n" + - inst + - "(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching" - : " You returned: " + create + ? "\n\nIt looks like you wrote " + + inst + + "(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n" + + inst + + "(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching" + : " You returned: " + create )); } effect = effect.next; @@ -10998,34 +11000,34 @@ __DEV__ && committedTransitions ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects( + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions + ) + : ((_instance3._visibility |= 4), + recursivelyTraversePassiveMountEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions + )) + : _instance3._visibility & 4 + ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions ) : ((_instance3._visibility |= 4), - recursivelyTraversePassiveMountEffects( + recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, committedLanes, - committedTransitions - )) - : _instance3._visibility & 4 - ? recursivelyTraversePassiveMountEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions - ) - : ((_instance3._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - 0 !== (finishedWork.subtreeFlags & 10256) - )); + committedTransitions, + 0 !== (finishedWork.subtreeFlags & 10256) + )); flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, @@ -11108,20 +11110,20 @@ __DEV__ && includeWorkInProgressEffects ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions - ) - : ((_instance4._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - includeWorkInProgressEffects - )) + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions + ) + : ((_instance4._visibility |= 4), + recursivelyTraverseReconnectPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions, + includeWorkInProgressEffects + )) : ((_instance4._visibility |= 4), recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -12009,10 +12011,10 @@ __DEV__ && thrownValue === SelectiveHydrationException ? SuspendedOnHydration : null !== thrownValue && - "object" === typeof thrownValue && - "function" === typeof thrownValue.then - ? SuspendedOnDeprecatedThrowPromise - : SuspendedOnError); + "object" === typeof thrownValue && + "function" === typeof thrownValue.then + ? SuspendedOnDeprecatedThrowPromise + : SuspendedOnError); workInProgressThrownValue = thrownValue; handler = workInProgress; if (null === handler) @@ -13090,8 +13092,8 @@ __DEV__ && ); }) : "undefined" !== typeof IS_REACT_ACT_ENVIRONMENT - ? IS_REACT_ACT_ENVIRONMENT - : void 0; + ? IS_REACT_ACT_ENVIRONMENT + : void 0; } function resolveFunctionForHotReloading(type) { if (null === resolveFamily) return type; @@ -13559,21 +13561,21 @@ __DEV__ && null === type ? (pendingProps = "null") : isArrayImpl(type) - ? (pendingProps = "array") - : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE - ? ((pendingProps = - "<" + - (getComponentNameFromType(type.type) || "Unknown") + - " />"), - (resolvedType = - " Did you accidentally export a JSX literal instead of a component?")) - : (pendingProps = typeof type); + ? (pendingProps = "array") + : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE + ? ((pendingProps = + "<" + + (getComponentNameFromType(type.type) || "Unknown") + + " />"), + (resolvedType = + " Did you accidentally export a JSX literal instead of a component?")) + : (pendingProps = typeof type); fiberTag = owner ? "number" === typeof owner.tag ? getComponentNameFromFiber(owner) : "string" === typeof owner.name - ? owner.name - : null + ? owner.name + : null : null; fiberTag && (resolvedType += @@ -13948,10 +13950,10 @@ __DEV__ && return null == componentOrHandle ? componentOrHandle : null != componentOrHandle._nativeTag - ? componentOrHandle._nativeTag - : ReactNativePrivateInterface.getNativeTagFromPublicInstance( - componentOrHandle - ); + ? componentOrHandle._nativeTag + : ReactNativePrivateInterface.getNativeTagFromPublicInstance( + componentOrHandle + ); } function getNodeFromInternalInstanceHandle(internalInstanceHandle) { return ( @@ -14405,10 +14407,10 @@ __DEV__ && var shouldSetEventType = isStartish(topLevelType) ? eventTypes.startShouldSetResponder : isMoveish(topLevelType) - ? eventTypes.moveShouldSetResponder - : "topSelectionChange" === topLevelType - ? eventTypes.selectionChangeShouldSetResponder - : eventTypes.scrollShouldSetResponder; + ? eventTypes.moveShouldSetResponder + : "topSelectionChange" === topLevelType + ? eventTypes.selectionChangeShouldSetResponder + : eventTypes.scrollShouldSetResponder; if (responderInst) b: { var JSCompiler_temp = responderInst; @@ -14576,10 +14578,10 @@ __DEV__ && (shouldSetEventType = shouldSetEventType ? eventTypes.responderStart : JSCompiler_temp - ? eventTypes.responderMove - : targetInst - ? eventTypes.responderEnd - : null) + ? eventTypes.responderMove + : targetInst + ? eventTypes.responderEnd + : null) ) (shouldSetEventType = ResponderSyntheticEvent.getPooled( shouldSetEventType, @@ -14647,8 +14649,8 @@ __DEV__ && (topLevelType = shouldSetEventType ? eventTypes.responderTerminate : topLevelType - ? eventTypes.responderRelease - : null) + ? eventTypes.responderRelease + : null) ) (nativeEvent = ResponderSyntheticEvent.getPooled( topLevelType, @@ -16683,12 +16685,12 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-native-fb-d025ddd3-20240722" + reconcilerVersion: "19.0.0-native-fb-b7e7f1a3-20240722" }); })({ findFiberByHostInstance: getInstanceFromNode, bundleType: 1, - version: "19.0.0-native-fb-d025ddd3-20240722", + version: "19.0.0-native-fb-b7e7f1a3-20240722", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -16758,30 +16760,30 @@ __DEV__ && } ) : null != inspectedView._internalFiberInstanceHandleDEV - ? ReactNativePrivateInterface.UIManager.findSubviewIn( - findNodeHandle(inspectedView), - [locationX, locationY], - function (nativeViewTag, left, top, width, height) { - var inspectorData = getInspectorDataForInstance( - instanceCache.get(nativeViewTag) || null - ); - callback( - assign({}, inspectorData, { - pointerY: locationY, - frame: { - left: left, - top: top, - width: width, - height: height - }, - touchedViewTag: nativeViewTag - }) - ); - } - ) - : error$jscomp$0( - "getInspectorDataForViewAtPoint expects to receive a host component" - ); + ? ReactNativePrivateInterface.UIManager.findSubviewIn( + findNodeHandle(inspectedView), + [locationX, locationY], + function (nativeViewTag, left, top, width, height) { + var inspectorData = getInspectorDataForInstance( + instanceCache.get(nativeViewTag) || null + ); + callback( + assign({}, inspectorData, { + pointerY: locationY, + frame: { + left: left, + top: top, + width: width, + height: height + }, + touchedViewTag: nativeViewTag + }) + ); + } + ) + : error$jscomp$0( + "getInspectorDataForViewAtPoint expects to receive a host component" + ); }.bind(null, findNodeHandle) } }); @@ -16826,14 +16828,14 @@ __DEV__ && return null == componentOrHandle ? null : componentOrHandle.canonical && - componentOrHandle.canonical.publicInstance - ? componentOrHandle.canonical.publicInstance - : componentOrHandle._nativeTag - ? componentOrHandle - : findHostInstanceWithWarning( - componentOrHandle, - "findHostInstance_DEPRECATED" - ); + componentOrHandle.canonical.publicInstance + ? componentOrHandle.canonical.publicInstance + : componentOrHandle._nativeTag + ? componentOrHandle + : findHostInstanceWithWarning( + componentOrHandle, + "findHostInstance_DEPRECATED" + ); }; exports.findNodeHandle = findNodeHandle; exports.getInspectorDataForInstance = getInspectorDataForInstance; @@ -16846,13 +16848,13 @@ __DEV__ && return null == instance ? null : 6 === internalInstanceHandle.tag - ? (null == instance.publicInstance && - (instance.publicInstance = - ReactNativePrivateInterface.createPublicTextInstance( - internalInstanceHandle - )), - instance.publicInstance) - : getPublicInstance(internalInstanceHandle.stateNode); + ? (null == instance.publicInstance && + (instance.publicInstance = + ReactNativePrivateInterface.createPublicTextInstance( + internalInstanceHandle + )), + instance.publicInstance) + : getPublicInstance(internalInstanceHandle.stateNode); }; exports.isChildPublicInstance = function (parentInstance, childInstance) { if ( 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 bbdecfec62fa7..5ed3d47da7fd0 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<> + * @generated SignedSource<<65bc90a1d4a8612a00e4f47b432f77cf>> */ "use strict"; @@ -66,8 +66,8 @@ function describeBuiltInComponentFrame(name) { -1 < x.stack.indexOf("\n at") ? " ()" : -1 < x.stack.indexOf("@") - ? "@unknown:0:0" - : ""; + ? "@unknown:0:0" + : ""; } return "\n" + prefix + name + suffix; } @@ -398,8 +398,8 @@ function SyntheticEvent( ((targetInst = dispatchConfig[propName]) ? (this[propName] = targetInst(nativeEvent)) : "target" === propName - ? (this.target = nativeEventTarget) - : (this[propName] = nativeEvent[propName])); + ? (this.target = nativeEventTarget) + : (this[propName] = nativeEvent[propName])); this.isDefaultPrevented = ( null != nativeEvent.defaultPrevented ? nativeEvent.defaultPrevented @@ -628,10 +628,10 @@ function accumulate(current, next) { return null == current ? next : isArrayImpl(current) - ? current.concat(next) - : isArrayImpl(next) - ? [current].concat(next) - : [current, next]; + ? current.concat(next) + : isArrayImpl(next) + ? [current].concat(next) + : [current, next]; } function accumulateInto(current, next) { if (null == next) @@ -818,10 +818,10 @@ var ResponderEventPlugin = { var shouldSetEventType = isStartish(topLevelType) ? eventTypes.startShouldSetResponder : isMoveish(topLevelType) - ? eventTypes.moveShouldSetResponder - : "topSelectionChange" === topLevelType - ? eventTypes.selectionChangeShouldSetResponder - : eventTypes.scrollShouldSetResponder; + ? eventTypes.moveShouldSetResponder + : "topSelectionChange" === topLevelType + ? eventTypes.selectionChangeShouldSetResponder + : eventTypes.scrollShouldSetResponder; if (responderInst) b: { var JSCompiler_temp = responderInst; @@ -977,10 +977,10 @@ var ResponderEventPlugin = { (shouldSetEventType = shouldSetEventType ? eventTypes.responderStart : JSCompiler_temp - ? eventTypes.responderMove - : targetInst - ? eventTypes.responderEnd - : null) + ? eventTypes.responderMove + : targetInst + ? eventTypes.responderEnd + : null) ) (shouldSetEventType = ResponderSyntheticEvent.getPooled( shouldSetEventType, @@ -1043,8 +1043,8 @@ var ResponderEventPlugin = { (topLevelType = shouldSetEventType ? eventTypes.responderTerminate : topLevelType - ? eventTypes.responderRelease - : null) + ? eventTypes.responderRelease + : null) ) (nativeEvent = ResponderSyntheticEvent.getPooled( topLevelType, @@ -1358,8 +1358,8 @@ function diffNestedProperty( return nextProp ? addNestedProperty(updatePayload, nextProp, validAttributes) : prevProp - ? clearNestedProperty(updatePayload, prevProp, validAttributes) - : updatePayload; + ? clearNestedProperty(updatePayload, prevProp, validAttributes) + : updatePayload; if (!isArrayImpl(prevProp) && !isArrayImpl(nextProp)) return diffProperties(updatePayload, prevProp, nextProp, validAttributes); if (isArrayImpl(prevProp) && isArrayImpl(nextProp)) { @@ -1538,10 +1538,10 @@ function fastAddProperties(payload, props, validAttributes) { "function" === typeof prop ? (newValue = !0) : "object" !== typeof attributeConfig - ? (newValue = prop) - : "function" === typeof attributeConfig.process - ? (newValue = attributeConfig.process(prop)) - : "function" === typeof attributeConfig.diff && (newValue = prop); + ? (newValue = prop) + : "function" === typeof attributeConfig.process + ? (newValue = attributeConfig.process(prop)) + : "function" === typeof attributeConfig.diff && (newValue = prop); void 0 !== newValue ? (payload || (payload = {}), (payload[i] = newValue)) : (payload = fastAddProperties(payload, prop, attributeConfig)); @@ -1743,14 +1743,14 @@ function getNextLanes(root, wipLanes) { return 0 === nextLanes ? 0 : 0 !== wipLanes && - wipLanes !== nextLanes && - 0 === (wipLanes & suspendedLanes) && - ((suspendedLanes = nextLanes & -nextLanes), - (root = wipLanes & -wipLanes), - suspendedLanes >= root || - (32 === suspendedLanes && 0 !== (root & 4194176))) - ? wipLanes - : nextLanes; + wipLanes !== nextLanes && + 0 === (wipLanes & suspendedLanes) && + ((suspendedLanes = nextLanes & -nextLanes), + (root = wipLanes & -wipLanes), + suspendedLanes >= root || + (32 === suspendedLanes && 0 !== (root & 4194176))) + ? wipLanes + : nextLanes; } function computeExpirationTime(lane, currentTime) { switch (lane) { @@ -1929,8 +1929,8 @@ function getPublicInstance(instance) { return null != instance.canonical && null != instance.canonical.publicInstance ? instance.canonical.publicInstance : null != instance._nativeTag - ? instance - : null; + ? instance + : null; } var currentUpdatePriority = 0; function resolveUpdatePriority() { @@ -4987,8 +4987,8 @@ function checkShouldComponentUpdate( return "function" === typeof workInProgress.shouldComponentUpdate ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext) : ctor.prototype && ctor.prototype.isPureReactComponent - ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) - : !0; + ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) + : !0; } function constructClassInstance(workInProgress, ctor, props) { var isLegacyContextConsumer = !1, @@ -5942,46 +5942,47 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes ))) : null !== workInProgress.memoizedState - ? (reuseSuspenseHandlerOnStack(workInProgress), - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null)) - : (reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = nextProps.fallback), - (showFallback = workInProgress.mode), - (nextProps = createFiberFromOffscreen( - { mode: "visible", children: nextProps.children }, - showFallback, - 0, - null - )), - (nextPrimaryChildren = createFiberFromFragment( - nextPrimaryChildren, - showFallback, - renderLanes, - null - )), - (nextPrimaryChildren.flags |= 2), - (nextProps.return = workInProgress), - (nextPrimaryChildren.return = workInProgress), - (nextProps.sibling = nextPrimaryChildren), - (workInProgress.child = nextProps), - 0 !== (workInProgress.mode & 1) && - reconcileChildFibers( - workInProgress, - current.child, - null, + ? (reuseSuspenseHandlerOnStack(workInProgress), + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null)) + : (reuseSuspenseHandlerOnStack(workInProgress), + (nextPrimaryChildren = nextProps.fallback), + (showFallback = workInProgress.mode), + (nextProps = createFiberFromOffscreen( + { mode: "visible", children: nextProps.children }, + showFallback, + 0, + null + )), + (nextPrimaryChildren = createFiberFromFragment( + nextPrimaryChildren, + showFallback, + renderLanes, + null + )), + (nextPrimaryChildren.flags |= 2), + (nextProps.return = workInProgress), + (nextPrimaryChildren.return = workInProgress), + (nextProps.sibling = nextPrimaryChildren), + (workInProgress.child = nextProps), + 0 !== (workInProgress.mode & 1) && + reconcileChildFibers( + workInProgress, + current.child, + null, + renderLanes + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( + current, + JSCompiler_temp, renderLanes - ), - (nextProps = workInProgress.child), - (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (nextProps.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_temp, - renderLanes - )), - (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + )), + (workInProgress.memoizedState = SUSPENDED_MARKER), + (workInProgress = nextPrimaryChildren)); else if ((pushPrimaryTreeSuspenseHandler(workInProgress), shim$1())) (JSCompiler_temp = shim$1().digest), (nextProps = Error( @@ -7264,8 +7265,8 @@ function completeWork(current, workInProgress, renderLanes) { ) : cloneNodeWithNewChildren(newProps, newChildSet) : null !== oldProps - ? cloneNodeWithNewChildrenAndProps(newProps, oldProps) - : cloneNodeWithNewChildren(newProps); + ? cloneNodeWithNewChildrenAndProps(newProps, oldProps) + : cloneNodeWithNewChildren(newProps); else if (null !== oldProps) newProps = cloneNodeWithNewProps(newProps, oldProps); else { @@ -8542,29 +8543,32 @@ function commitPassiveMountOnFiber( committedTransitions ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork) - : ((instance._visibility |= 4), - recursivelyTraversePassiveMountEffects( + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork + ) + : ((instance._visibility |= 4), + recursivelyTraversePassiveMountEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions + )) + : instance._visibility & 4 + ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions - )) - : instance._visibility & 4 - ? recursivelyTraversePassiveMountEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions - ) - : ((instance._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - 0 !== (finishedWork.subtreeFlags & 10256) - )); + ) + : ((instance._visibility |= 4), + recursivelyTraverseReconnectPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions, + 0 !== (finishedWork.subtreeFlags & 10256) + )); flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, @@ -8632,18 +8636,18 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects( - finishedRoot, - finishedWork - ) - : ((instance._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - includeWorkInProgressEffects - )) + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork + ) + : ((instance._visibility |= 4), + recursivelyTraverseReconnectPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions, + includeWorkInProgressEffects + )) : ((instance._visibility |= 4), recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -8928,11 +8932,11 @@ function requestUpdateLane(fiber) { return 0 === (fiber.mode & 1) ? 2 : 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes - ? workInProgressRootRenderLanes & -workInProgressRootRenderLanes - : null !== ReactSharedInternals.T - ? ((fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane()) - : resolveUpdatePriority(); + ? workInProgressRootRenderLanes & -workInProgressRootRenderLanes + : null !== ReactSharedInternals.T + ? ((fiber = currentEntangledLane), + 0 !== fiber ? fiber : requestTransitionLane()) + : resolveUpdatePriority(); } function requestDeferredLane() { 0 === workInProgressDeferredLane && @@ -9341,10 +9345,10 @@ function handleThrow(root, thrownValue) { thrownValue === SelectiveHydrationException ? 8 : null !== thrownValue && - "object" === typeof thrownValue && - "function" === typeof thrownValue.then - ? 6 - : 1); + "object" === typeof thrownValue && + "function" === typeof thrownValue.then + ? 6 + : 1); workInProgressThrownValue = thrownValue; null === workInProgress && ((workInProgressRootExitStatus = 1), @@ -10394,10 +10398,10 @@ function findNodeHandle(componentOrHandle) { return null == componentOrHandle ? componentOrHandle : null != componentOrHandle._nativeTag - ? componentOrHandle._nativeTag - : ReactNativePrivateInterface.getNativeTagFromPublicInstance( - componentOrHandle - ); + ? componentOrHandle._nativeTag + : ReactNativePrivateInterface.getNativeTagFromPublicInstance( + componentOrHandle + ); } var emptyObject = {}; function createHierarchy(fiberHierarchy) { @@ -10542,7 +10546,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1136 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "19.0.0-native-fb-d025ddd3-20240722", + version: "19.0.0-native-fb-b7e7f1a3-20240722", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10585,7 +10589,7 @@ var internals$jscomp$inline_1362 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-d025ddd3-20240722" + reconcilerVersion: "19.0.0-native-fb-b7e7f1a3-20240722" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1363 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10627,10 +10631,10 @@ exports.findHostInstance_DEPRECATED = function (componentOrHandle) { return null == componentOrHandle ? null : componentOrHandle.canonical && componentOrHandle.canonical.publicInstance - ? componentOrHandle.canonical.publicInstance - : componentOrHandle._nativeTag - ? componentOrHandle - : findHostInstance(componentOrHandle); + ? componentOrHandle.canonical.publicInstance + : componentOrHandle._nativeTag + ? componentOrHandle + : findHostInstance(componentOrHandle); }; exports.findNodeHandle = findNodeHandle; exports.getInspectorDataForInstance = getInspectorDataForInstance; @@ -10648,13 +10652,13 @@ exports.getPublicInstanceFromInternalInstanceHandle = function ( return null == instance ? null : 6 === internalInstanceHandle.tag - ? (null == instance.publicInstance && - (instance.publicInstance = - ReactNativePrivateInterface.createPublicTextInstance( - internalInstanceHandle - )), - instance.publicInstance) - : getPublicInstance(internalInstanceHandle.stateNode); + ? (null == instance.publicInstance && + (instance.publicInstance = + ReactNativePrivateInterface.createPublicTextInstance( + internalInstanceHandle + )), + instance.publicInstance) + : getPublicInstance(internalInstanceHandle.stateNode); }; exports.isChildPublicInstance = function () { throw Error("isChildPublicInstance() is not available in production."); 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 4b4dc455baad9..fd2eec826859e 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<<0743d335ffb5c94f7db04450e7564caa>> + * @generated SignedSource<<56fcf1e91db2bcbe74b4d6b16f420153>> */ "use strict"; @@ -70,8 +70,8 @@ function describeBuiltInComponentFrame(name) { -1 < x.stack.indexOf("\n at") ? " ()" : -1 < x.stack.indexOf("@") - ? "@unknown:0:0" - : ""; + ? "@unknown:0:0" + : ""; } return "\n" + prefix + name + suffix; } @@ -402,8 +402,8 @@ function SyntheticEvent( ((targetInst = dispatchConfig[propName]) ? (this[propName] = targetInst(nativeEvent)) : "target" === propName - ? (this.target = nativeEventTarget) - : (this[propName] = nativeEvent[propName])); + ? (this.target = nativeEventTarget) + : (this[propName] = nativeEvent[propName])); this.isDefaultPrevented = ( null != nativeEvent.defaultPrevented ? nativeEvent.defaultPrevented @@ -632,10 +632,10 @@ function accumulate(current, next) { return null == current ? next : isArrayImpl(current) - ? current.concat(next) - : isArrayImpl(next) - ? [current].concat(next) - : [current, next]; + ? current.concat(next) + : isArrayImpl(next) + ? [current].concat(next) + : [current, next]; } function accumulateInto(current, next) { if (null == next) @@ -822,10 +822,10 @@ var ResponderEventPlugin = { var shouldSetEventType = isStartish(topLevelType) ? eventTypes.startShouldSetResponder : isMoveish(topLevelType) - ? eventTypes.moveShouldSetResponder - : "topSelectionChange" === topLevelType - ? eventTypes.selectionChangeShouldSetResponder - : eventTypes.scrollShouldSetResponder; + ? eventTypes.moveShouldSetResponder + : "topSelectionChange" === topLevelType + ? eventTypes.selectionChangeShouldSetResponder + : eventTypes.scrollShouldSetResponder; if (responderInst) b: { var JSCompiler_temp = responderInst; @@ -981,10 +981,10 @@ var ResponderEventPlugin = { (shouldSetEventType = shouldSetEventType ? eventTypes.responderStart : JSCompiler_temp - ? eventTypes.responderMove - : targetInst - ? eventTypes.responderEnd - : null) + ? eventTypes.responderMove + : targetInst + ? eventTypes.responderEnd + : null) ) (shouldSetEventType = ResponderSyntheticEvent.getPooled( shouldSetEventType, @@ -1047,8 +1047,8 @@ var ResponderEventPlugin = { (topLevelType = shouldSetEventType ? eventTypes.responderTerminate : topLevelType - ? eventTypes.responderRelease - : null) + ? eventTypes.responderRelease + : null) ) (nativeEvent = ResponderSyntheticEvent.getPooled( topLevelType, @@ -1362,8 +1362,8 @@ function diffNestedProperty( return nextProp ? addNestedProperty(updatePayload, nextProp, validAttributes) : prevProp - ? clearNestedProperty(updatePayload, prevProp, validAttributes) - : updatePayload; + ? clearNestedProperty(updatePayload, prevProp, validAttributes) + : updatePayload; if (!isArrayImpl(prevProp) && !isArrayImpl(nextProp)) return diffProperties(updatePayload, prevProp, nextProp, validAttributes); if (isArrayImpl(prevProp) && isArrayImpl(nextProp)) { @@ -1542,10 +1542,10 @@ function fastAddProperties(payload, props, validAttributes) { "function" === typeof prop ? (newValue = !0) : "object" !== typeof attributeConfig - ? (newValue = prop) - : "function" === typeof attributeConfig.process - ? (newValue = attributeConfig.process(prop)) - : "function" === typeof attributeConfig.diff && (newValue = prop); + ? (newValue = prop) + : "function" === typeof attributeConfig.process + ? (newValue = attributeConfig.process(prop)) + : "function" === typeof attributeConfig.diff && (newValue = prop); void 0 !== newValue ? (payload || (payload = {}), (payload[i] = newValue)) : (payload = fastAddProperties(payload, prop, attributeConfig)); @@ -1835,14 +1835,14 @@ function getNextLanes(root, wipLanes) { return 0 === nextLanes ? 0 : 0 !== wipLanes && - wipLanes !== nextLanes && - 0 === (wipLanes & suspendedLanes) && - ((suspendedLanes = nextLanes & -nextLanes), - (root = wipLanes & -wipLanes), - suspendedLanes >= root || - (32 === suspendedLanes && 0 !== (root & 4194176))) - ? wipLanes - : nextLanes; + wipLanes !== nextLanes && + 0 === (wipLanes & suspendedLanes) && + ((suspendedLanes = nextLanes & -nextLanes), + (root = wipLanes & -wipLanes), + suspendedLanes >= root || + (32 === suspendedLanes && 0 !== (root & 4194176))) + ? wipLanes + : nextLanes; } function computeExpirationTime(lane, currentTime) { switch (lane) { @@ -2051,8 +2051,8 @@ function getPublicInstance(instance) { return null != instance.canonical && null != instance.canonical.publicInstance ? instance.canonical.publicInstance : null != instance._nativeTag - ? instance - : null; + ? instance + : null; } var currentUpdatePriority = 0; function resolveUpdatePriority() { @@ -5179,8 +5179,8 @@ function checkShouldComponentUpdate( return "function" === typeof workInProgress.shouldComponentUpdate ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext) : ctor.prototype && ctor.prototype.isPureReactComponent - ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) - : !0; + ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) + : !0; } function constructClassInstance(workInProgress, ctor, props) { var isLegacyContextConsumer = !1, @@ -6148,46 +6148,47 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes ))) : null !== workInProgress.memoizedState - ? (reuseSuspenseHandlerOnStack(workInProgress), - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null)) - : (reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = nextProps.fallback), - (showFallback = workInProgress.mode), - (nextProps = createFiberFromOffscreen( - { mode: "visible", children: nextProps.children }, - showFallback, - 0, - null - )), - (nextPrimaryChildren = createFiberFromFragment( - nextPrimaryChildren, - showFallback, - renderLanes, - null - )), - (nextPrimaryChildren.flags |= 2), - (nextProps.return = workInProgress), - (nextPrimaryChildren.return = workInProgress), - (nextProps.sibling = nextPrimaryChildren), - (workInProgress.child = nextProps), - 0 !== (workInProgress.mode & 1) && - reconcileChildFibers( - workInProgress, - current.child, - null, + ? (reuseSuspenseHandlerOnStack(workInProgress), + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null)) + : (reuseSuspenseHandlerOnStack(workInProgress), + (nextPrimaryChildren = nextProps.fallback), + (showFallback = workInProgress.mode), + (nextProps = createFiberFromOffscreen( + { mode: "visible", children: nextProps.children }, + showFallback, + 0, + null + )), + (nextPrimaryChildren = createFiberFromFragment( + nextPrimaryChildren, + showFallback, + renderLanes, + null + )), + (nextPrimaryChildren.flags |= 2), + (nextProps.return = workInProgress), + (nextPrimaryChildren.return = workInProgress), + (nextProps.sibling = nextPrimaryChildren), + (workInProgress.child = nextProps), + 0 !== (workInProgress.mode & 1) && + reconcileChildFibers( + workInProgress, + current.child, + null, + renderLanes + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( + current, + JSCompiler_temp, renderLanes - ), - (nextProps = workInProgress.child), - (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (nextProps.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_temp, - renderLanes - )), - (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + )), + (workInProgress.memoizedState = SUSPENDED_MARKER), + (workInProgress = nextPrimaryChildren)); else if ((pushPrimaryTreeSuspenseHandler(workInProgress), shim$1())) (JSCompiler_temp = shim$1().digest), (nextProps = Error( @@ -7530,8 +7531,8 @@ function completeWork(current, workInProgress, renderLanes) { ) : cloneNodeWithNewChildren(newProps, newChildSet) : null !== oldProps - ? cloneNodeWithNewChildrenAndProps(newProps, oldProps) - : cloneNodeWithNewChildren(newProps); + ? cloneNodeWithNewChildrenAndProps(newProps, oldProps) + : cloneNodeWithNewChildren(newProps); else if (null !== oldProps) newProps = cloneNodeWithNewProps(newProps, oldProps); else { @@ -9050,29 +9051,32 @@ function commitPassiveMountOnFiber( committedTransitions ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork) - : ((instance._visibility |= 4), - recursivelyTraversePassiveMountEffects( + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork + ) + : ((instance._visibility |= 4), + recursivelyTraversePassiveMountEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions + )) + : instance._visibility & 4 + ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions - )) - : instance._visibility & 4 - ? recursivelyTraversePassiveMountEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions - ) - : ((instance._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - 0 !== (finishedWork.subtreeFlags & 10256) - )); + ) + : ((instance._visibility |= 4), + recursivelyTraverseReconnectPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions, + 0 !== (finishedWork.subtreeFlags & 10256) + )); flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, @@ -9140,18 +9144,18 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects( - finishedRoot, - finishedWork - ) - : ((instance._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - includeWorkInProgressEffects - )) + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork + ) + : ((instance._visibility |= 4), + recursivelyTraverseReconnectPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions, + includeWorkInProgressEffects + )) : ((instance._visibility |= 4), recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -9456,11 +9460,11 @@ function requestUpdateLane(fiber) { return 0 === (fiber.mode & 1) ? 2 : 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes - ? workInProgressRootRenderLanes & -workInProgressRootRenderLanes - : null !== ReactSharedInternals.T - ? ((fiber = currentEntangledLane), - 0 !== fiber ? fiber : requestTransitionLane()) - : resolveUpdatePriority(); + ? workInProgressRootRenderLanes & -workInProgressRootRenderLanes + : null !== ReactSharedInternals.T + ? ((fiber = currentEntangledLane), + 0 !== fiber ? fiber : requestTransitionLane()) + : resolveUpdatePriority(); } function requestDeferredLane() { 0 === workInProgressDeferredLane && @@ -9873,10 +9877,10 @@ function handleThrow(root, thrownValue) { thrownValue === SelectiveHydrationException ? 8 : null !== thrownValue && - "object" === typeof thrownValue && - "function" === typeof thrownValue.then - ? 6 - : 1); + "object" === typeof thrownValue && + "function" === typeof thrownValue.then + ? 6 + : 1); workInProgressThrownValue = thrownValue; handler = workInProgress; if (null === handler) @@ -11104,10 +11108,10 @@ function findNodeHandle(componentOrHandle) { return null == componentOrHandle ? componentOrHandle : null != componentOrHandle._nativeTag - ? componentOrHandle._nativeTag - : ReactNativePrivateInterface.getNativeTagFromPublicInstance( - componentOrHandle - ); + ? componentOrHandle._nativeTag + : ReactNativePrivateInterface.getNativeTagFromPublicInstance( + componentOrHandle + ); } var emptyObject = {}; function createHierarchy(fiberHierarchy) { @@ -11252,7 +11256,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1217 = { findFiberByHostInstance: getInstanceFromNode, bundleType: 0, - version: "19.0.0-native-fb-d025ddd3-20240722", + version: "19.0.0-native-fb-b7e7f1a3-20240722", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -11308,7 +11312,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-d025ddd3-20240722" + reconcilerVersion: "19.0.0-native-fb-b7e7f1a3-20240722" }); exports.createPortal = function (children, containerTag) { return createPortal$1( @@ -11337,10 +11341,10 @@ exports.findHostInstance_DEPRECATED = function (componentOrHandle) { return null == componentOrHandle ? null : componentOrHandle.canonical && componentOrHandle.canonical.publicInstance - ? componentOrHandle.canonical.publicInstance - : componentOrHandle._nativeTag - ? componentOrHandle - : findHostInstance(componentOrHandle); + ? componentOrHandle.canonical.publicInstance + : componentOrHandle._nativeTag + ? componentOrHandle + : findHostInstance(componentOrHandle); }; exports.findNodeHandle = findNodeHandle; exports.getInspectorDataForInstance = getInspectorDataForInstance; @@ -11358,13 +11362,13 @@ exports.getPublicInstanceFromInternalInstanceHandle = function ( return null == instance ? null : 6 === internalInstanceHandle.tag - ? (null == instance.publicInstance && - (instance.publicInstance = - ReactNativePrivateInterface.createPublicTextInstance( - internalInstanceHandle - )), - instance.publicInstance) - : getPublicInstance(internalInstanceHandle.stateNode); + ? (null == instance.publicInstance && + (instance.publicInstance = + ReactNativePrivateInterface.createPublicTextInstance( + internalInstanceHandle + )), + instance.publicInstance) + : getPublicInstance(internalInstanceHandle.stateNode); }; exports.isChildPublicInstance = function () { throw Error("isChildPublicInstance() is not available in production."); 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 a52d57447623c..2756eef415ba8 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<> + * @generated SignedSource<<05ceebd583bd04696aa4eb5b97ff45cf>> */ "use strict"; @@ -229,8 +229,8 @@ __DEV__ && -1 < x.stack.indexOf("\n at") ? " ()" : -1 < x.stack.indexOf("@") - ? "@unknown:0:0" - : ""; + ? "@unknown:0:0" + : ""; } return "\n" + prefix + name + suffix; } @@ -582,14 +582,14 @@ __DEV__ && dispatchListeners = (event = isArrayImpl(dispatchListeners)) ? dispatchListeners.length : dispatchListeners - ? 1 - : 0; + ? 1 + : 0; var instancesIsArr = isArrayImpl(dispatchInstances); dispatchInstances = instancesIsArr ? dispatchInstances.length : dispatchInstances - ? 1 - : 0; + ? 1 + : 0; (instancesIsArr === event && dispatchInstances === dispatchListeners) || error$jscomp$0("EventPluginUtils: Invalid `event`."); } @@ -644,8 +644,8 @@ __DEV__ && (targetInst = dispatchConfig[propName]) ? (this[propName] = targetInst(nativeEvent)) : "target" === propName - ? (this.target = nativeEventTarget) - : (this[propName] = nativeEvent[propName])); + ? (this.target = nativeEventTarget) + : (this[propName] = nativeEvent[propName])); this.isDefaultPrevented = ( null != nativeEvent.defaultPrevented ? nativeEvent.defaultPrevented @@ -819,10 +819,10 @@ __DEV__ && return null == current ? next : isArrayImpl(current) - ? current.concat(next) - : isArrayImpl(next) - ? [current].concat(next) - : [current, next]; + ? current.concat(next) + : isArrayImpl(next) + ? [current].concat(next) + : [current, next]; } function accumulateInto(current, next) { if (null == next) @@ -1330,8 +1330,8 @@ __DEV__ && return nextProp ? addNestedProperty(updatePayload, nextProp, validAttributes) : prevProp - ? clearNestedProperty(updatePayload, prevProp, validAttributes) - : updatePayload; + ? clearNestedProperty(updatePayload, prevProp, validAttributes) + : updatePayload; if (!isArrayImpl(prevProp) && !isArrayImpl(nextProp)) return diffProperties( updatePayload, @@ -1745,14 +1745,15 @@ __DEV__ && return 0 === nextLanes ? 0 : 0 !== wipLanes && - wipLanes !== nextLanes && - 0 === (wipLanes & suspendedLanes) && - ((suspendedLanes = nextLanes & -nextLanes), - (root = wipLanes & -wipLanes), - suspendedLanes >= root || - (suspendedLanes === DefaultLane && 0 !== (root & TransitionLanes))) - ? wipLanes - : nextLanes; + wipLanes !== nextLanes && + 0 === (wipLanes & suspendedLanes) && + ((suspendedLanes = nextLanes & -nextLanes), + (root = wipLanes & -wipLanes), + suspendedLanes >= root || + (suspendedLanes === DefaultLane && + 0 !== (root & TransitionLanes))) + ? wipLanes + : nextLanes; } function computeExpirationTime(lane, currentTime) { switch (lane) { @@ -2202,10 +2203,10 @@ __DEV__ && : "{" + content.slice(0, maxLength - 7) + '..."}' : "{" + content + "}") : content.length > maxLength - ? 5 > maxLength - ? '{"..."}' - : content.slice(0, maxLength - 3) + "..." - : content; + ? 5 > maxLength + ? '{"..."}' + : content.slice(0, maxLength - 3) + "..." + : content; } function describeTextDiff(clientText, serverProps, indent) { var maxLength = 120 - 2 * indent; @@ -2299,10 +2300,10 @@ __DEV__ && return "string" !== typeof value || needsEscaping.test(value) ? "{" + describeValue(value, maxLength - 2) + "}" : value.length > maxLength - 2 - ? 5 > maxLength - ? '"..."' - : '"' + value.slice(0, maxLength - 5) + '..."' - : '"' + value + '"'; + ? 5 > maxLength + ? '"..."' + : '"' + value.slice(0, maxLength - 5) + '..."' + : '"' + value + '"'; } function describeExpandedElement(type, props, rowPrefix) { var remainingRowLength = 120 - rowPrefix.length - type.length, @@ -2320,17 +2321,17 @@ __DEV__ && return 0 === properties.length ? rowPrefix + "<" + type + ">\n" : 0 < remainingRowLength - ? rowPrefix + "<" + type + " " + properties.join(" ") + ">\n" - : rowPrefix + - "<" + - type + - "\n" + - rowPrefix + - " " + - properties.join("\n" + rowPrefix + " ") + - "\n" + - rowPrefix + - ">\n"; + ? rowPrefix + "<" + type + " " + properties.join(" ") + ">\n" + : rowPrefix + + "<" + + type + + "\n" + + rowPrefix + + " " + + properties.join("\n" + rowPrefix + " ") + + "\n" + + rowPrefix + + ">\n"; } function describePropertiesDiff(clientObject, serverObject, indent) { var properties = "", @@ -2553,16 +2554,16 @@ __DEV__ && )), indent++) : "string" === typeof node.serverProps - ? error$jscomp$0( - "Should not have matched a non HostText fiber to a Text node. This is a bug in React." - ) - : ((debugInfo = describeElementDiff( - serverComponentName, - i, - node.serverProps, - indent - )), - indent++); + ? error$jscomp$0( + "Should not have matched a non HostText fiber to a Text node. This is a bug in React." + ) + : ((debugInfo = describeElementDiff( + serverComponentName, + i, + node.serverProps, + indent + )), + indent++); var propName = ""; i = node.fiber.child; for ( @@ -4578,8 +4579,8 @@ __DEV__ && null !== current && null !== current.memoizedState ? HooksDispatcherOnUpdateInDEV : null !== hookTypesDev - ? HooksDispatcherOnMountWithHookTypesInDEV - : HooksDispatcherOnMountInDEV; + ? HooksDispatcherOnMountWithHookTypesInDEV + : HooksDispatcherOnMountInDEV; shouldDoubleInvokeUserFnsInHooksDEV = nextRenderLanes = 0 !== (workInProgress.mode & 8); var children = callComponentInDEV(Component, props, secondArg); @@ -6055,12 +6056,12 @@ __DEV__ && void 0 === context ? " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file." : "object" !== typeof context - ? " However, it is set to a " + typeof context + "." - : context.$$typeof === REACT_CONSUMER_TYPE - ? " Did you accidentally pass the Context.Consumer instead?" - : " However, it is set to an object with keys {" + - Object.keys(context).join(", ") + - "}."; + ? " However, it is set to a " + typeof context + "." + : context.$$typeof === REACT_CONSUMER_TYPE + ? " Did you accidentally pass the Context.Consumer instead?" + : " However, it is set to an object with keys {" + + Object.keys(context).join(", ") + + "}."; error$jscomp$0( "%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", getComponentNameFromType(ctor) || "Component", @@ -7489,47 +7490,47 @@ __DEV__ && renderLanes ))) : null !== workInProgress.memoizedState - ? (reuseSuspenseHandlerOnStack(workInProgress), - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null)) - : (reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = nextProps.fallback), - (showFallback = workInProgress.mode), - (nextProps = createFiberFromOffscreen( - { mode: "visible", children: nextProps.children }, - showFallback, - 0, - null - )), - (nextPrimaryChildren = createFiberFromFragment( - nextPrimaryChildren, - showFallback, - renderLanes, - null - )), - (nextPrimaryChildren.flags |= 2), - (nextProps.return = workInProgress), - (nextPrimaryChildren.return = workInProgress), - (nextProps.sibling = nextPrimaryChildren), - (workInProgress.child = nextProps), - 0 !== (workInProgress.mode & 1) && - reconcileChildFibers( - workInProgress, - current.child, - null, + ? (reuseSuspenseHandlerOnStack(workInProgress), + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null)) + : (reuseSuspenseHandlerOnStack(workInProgress), + (nextPrimaryChildren = nextProps.fallback), + (showFallback = workInProgress.mode), + (nextProps = createFiberFromOffscreen( + { mode: "visible", children: nextProps.children }, + showFallback, + 0, + null + )), + (nextPrimaryChildren = createFiberFromFragment( + nextPrimaryChildren, + showFallback, + renderLanes, + null + )), + (nextPrimaryChildren.flags |= 2), + (nextProps.return = workInProgress), + (nextPrimaryChildren.return = workInProgress), + (nextProps.sibling = nextPrimaryChildren), + (workInProgress.child = nextProps), + 0 !== (workInProgress.mode & 1) && + reconcileChildFibers( + workInProgress, + current.child, + null, + renderLanes + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( + current, + JSCompiler_temp, renderLanes - ), - (nextProps = workInProgress.child), - (nextProps.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextProps.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_temp, - renderLanes - )), - (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + )), + (workInProgress.memoizedState = SUSPENDED_MARKER), + (workInProgress = nextPrimaryChildren)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isSuspenseInstanceFallback()) @@ -9710,20 +9711,20 @@ __DEV__ && 0 !== (effect.tag & Layout) ? "useLayoutEffect" : 0 !== (effect.tag & Insertion) - ? "useInsertionEffect" - : "useEffect"), + ? "useInsertionEffect" + : "useEffect"), error$jscomp$0( "%s must not return anything besides a function, which is used for clean-up.%s", inst, null === create ? " You returned null. If your effect does not require clean up, return undefined (or nothing)." : "function" === typeof create.then - ? "\n\nIt looks like you wrote " + - inst + - "(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n" + - inst + - "(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching" - : " You returned: " + create + ? "\n\nIt looks like you wrote " + + inst + + "(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n" + + inst + + "(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching" + : " You returned: " + create )); } effect = effect.next; @@ -11116,34 +11117,34 @@ __DEV__ && committedTransitions ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects( + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions + ) + : ((_instance3._visibility |= 4), + recursivelyTraversePassiveMountEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions + )) + : _instance3._visibility & 4 + ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions ) : ((_instance3._visibility |= 4), - recursivelyTraversePassiveMountEffects( + recursivelyTraverseReconnectPassiveEffects( finishedRoot, finishedWork, committedLanes, - committedTransitions - )) - : _instance3._visibility & 4 - ? recursivelyTraversePassiveMountEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions - ) - : ((_instance3._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - 0 !== (finishedWork.subtreeFlags & 10256) - )); + committedTransitions, + 0 !== (finishedWork.subtreeFlags & 10256) + )); flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, @@ -11226,20 +11227,20 @@ __DEV__ && includeWorkInProgressEffects ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions - ) - : ((_instance4._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - includeWorkInProgressEffects - )) + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions + ) + : ((_instance4._visibility |= 4), + recursivelyTraverseReconnectPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions, + includeWorkInProgressEffects + )) : ((_instance4._visibility |= 4), recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -12140,10 +12141,10 @@ __DEV__ && thrownValue === SelectiveHydrationException ? SuspendedOnHydration : null !== thrownValue && - "object" === typeof thrownValue && - "function" === typeof thrownValue.then - ? SuspendedOnDeprecatedThrowPromise - : SuspendedOnError); + "object" === typeof thrownValue && + "function" === typeof thrownValue.then + ? SuspendedOnDeprecatedThrowPromise + : SuspendedOnError); workInProgressThrownValue = thrownValue; handler = workInProgress; if (null === handler) @@ -13693,21 +13694,21 @@ __DEV__ && null === type ? (pendingProps = "null") : isArrayImpl(type) - ? (pendingProps = "array") - : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE - ? ((pendingProps = - "<" + - (getComponentNameFromType(type.type) || "Unknown") + - " />"), - (resolvedType = - " Did you accidentally export a JSX literal instead of a component?")) - : (pendingProps = typeof type); + ? (pendingProps = "array") + : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE + ? ((pendingProps = + "<" + + (getComponentNameFromType(type.type) || "Unknown") + + " />"), + (resolvedType = + " Did you accidentally export a JSX literal instead of a component?")) + : (pendingProps = typeof type); fiberTag = owner ? "number" === typeof owner.tag ? getComponentNameFromFiber(owner) : "string" === typeof owner.name - ? owner.name - : null + ? owner.name + : null : null; fiberTag && (resolvedType += @@ -14082,10 +14083,10 @@ __DEV__ && return null == componentOrHandle ? componentOrHandle : null != componentOrHandle._nativeTag - ? componentOrHandle._nativeTag - : ReactNativePrivateInterface.getNativeTagFromPublicInstance( - componentOrHandle - ); + ? componentOrHandle._nativeTag + : ReactNativePrivateInterface.getNativeTagFromPublicInstance( + componentOrHandle + ); } function createHierarchy(fiberHierarchy) { return fiberHierarchy.map(function (fiber$jscomp$0) { @@ -14534,10 +14535,10 @@ __DEV__ && var shouldSetEventType = isStartish(topLevelType) ? eventTypes.startShouldSetResponder : isMoveish(topLevelType) - ? eventTypes.moveShouldSetResponder - : "topSelectionChange" === topLevelType - ? eventTypes.selectionChangeShouldSetResponder - : eventTypes.scrollShouldSetResponder; + ? eventTypes.moveShouldSetResponder + : "topSelectionChange" === topLevelType + ? eventTypes.selectionChangeShouldSetResponder + : eventTypes.scrollShouldSetResponder; if (responderInst) b: { var JSCompiler_temp = responderInst; @@ -14705,10 +14706,10 @@ __DEV__ && (shouldSetEventType = shouldSetEventType ? eventTypes.responderStart : JSCompiler_temp - ? eventTypes.responderMove - : targetInst - ? eventTypes.responderEnd - : null) + ? eventTypes.responderMove + : targetInst + ? eventTypes.responderEnd + : null) ) (shouldSetEventType = ResponderSyntheticEvent.getPooled( shouldSetEventType, @@ -14776,8 +14777,8 @@ __DEV__ && (topLevelType = shouldSetEventType ? eventTypes.responderTerminate : topLevelType - ? eventTypes.responderRelease - : null) + ? eventTypes.responderRelease + : null) ) (nativeEvent = ResponderSyntheticEvent.getPooled( topLevelType, @@ -16869,11 +16870,11 @@ __DEV__ && var emptyObject = {}; Object.freeze(emptyObject); var isomorphicReactPackageVersion = React.version; - if ("19.0.0-native-fb-d025ddd3-20240722" !== isomorphicReactPackageVersion) + if ("19.0.0-native-fb-b7e7f1a3-20240722" !== 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.0.0-native-fb-d025ddd3-20240722\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-b7e7f1a3-20240722\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -16921,12 +16922,12 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-native-fb-d025ddd3-20240722" + reconcilerVersion: "19.0.0-native-fb-b7e7f1a3-20240722" }); })({ findFiberByHostInstance: getInstanceFromTag, bundleType: 1, - version: "19.0.0-native-fb-d025ddd3-20240722", + version: "19.0.0-native-fb-b7e7f1a3-20240722", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -16996,30 +16997,30 @@ __DEV__ && } ) : null != inspectedView._internalFiberInstanceHandleDEV - ? ReactNativePrivateInterface.UIManager.findSubviewIn( - findNodeHandle(inspectedView), - [locationX, locationY], - function (nativeViewTag, left, top, width, height) { - var inspectorData = getInspectorDataForInstance( - getInstanceFromTag(nativeViewTag) - ); - callback( - assign({}, inspectorData, { - pointerY: locationY, - frame: { - left: left, - top: top, - width: width, - height: height - }, - touchedViewTag: nativeViewTag - }) - ); - } - ) - : error$jscomp$0( - "getInspectorDataForViewAtPoint expects to receive a host component" - ); + ? ReactNativePrivateInterface.UIManager.findSubviewIn( + findNodeHandle(inspectedView), + [locationX, locationY], + function (nativeViewTag, left, top, width, height) { + var inspectorData = getInspectorDataForInstance( + getInstanceFromTag(nativeViewTag) + ); + callback( + assign({}, inspectorData, { + pointerY: locationY, + frame: { + left: left, + top: top, + width: width, + height: height + }, + touchedViewTag: nativeViewTag + }) + ); + } + ) + : error$jscomp$0( + "getInspectorDataForViewAtPoint expects to receive a host component" + ); }.bind(null, findNodeHandle) } }); @@ -17071,14 +17072,14 @@ __DEV__ && return null == componentOrHandle ? null : componentOrHandle.canonical && - componentOrHandle.canonical.publicInstance - ? componentOrHandle.canonical.publicInstance - : componentOrHandle._nativeTag - ? componentOrHandle - : findHostInstanceWithWarning( - componentOrHandle, - "findHostInstance_DEPRECATED" - ); + componentOrHandle.canonical.publicInstance + ? componentOrHandle.canonical.publicInstance + : componentOrHandle._nativeTag + ? componentOrHandle + : findHostInstanceWithWarning( + componentOrHandle, + "findHostInstance_DEPRECATED" + ); }; exports.findNodeHandle = findNodeHandle; exports.getInspectorDataForInstance = getInspectorDataForInstance; 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 4d6cade88ce6e..08ee317ef75df 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<<4b76eaf87749cf45bf4c1c17f43caa27>> + * @generated SignedSource<<4dc37c9bd9c46db926a00d4189d22c0b>> */ "use strict"; @@ -62,8 +62,8 @@ function describeBuiltInComponentFrame(name) { -1 < x.stack.indexOf("\n at") ? " ()" : -1 < x.stack.indexOf("@") - ? "@unknown:0:0" - : ""; + ? "@unknown:0:0" + : ""; } return "\n" + prefix + name + suffix; } @@ -394,8 +394,8 @@ function SyntheticEvent( ((targetInst = dispatchConfig[propName]) ? (this[propName] = targetInst(nativeEvent)) : "target" === propName - ? (this.target = nativeEventTarget) - : (this[propName] = nativeEvent[propName])); + ? (this.target = nativeEventTarget) + : (this[propName] = nativeEvent[propName])); this.isDefaultPrevented = ( null != nativeEvent.defaultPrevented ? nativeEvent.defaultPrevented @@ -624,10 +624,10 @@ function accumulate(current, next) { return null == current ? next : isArrayImpl(current) - ? current.concat(next) - : isArrayImpl(next) - ? [current].concat(next) - : [current, next]; + ? current.concat(next) + : isArrayImpl(next) + ? [current].concat(next) + : [current, next]; } function accumulateInto(current, next) { if (null == next) @@ -814,10 +814,10 @@ var ResponderEventPlugin = { var shouldSetEventType = isStartish(topLevelType) ? eventTypes.startShouldSetResponder : isMoveish(topLevelType) - ? eventTypes.moveShouldSetResponder - : "topSelectionChange" === topLevelType - ? eventTypes.selectionChangeShouldSetResponder - : eventTypes.scrollShouldSetResponder; + ? eventTypes.moveShouldSetResponder + : "topSelectionChange" === topLevelType + ? eventTypes.selectionChangeShouldSetResponder + : eventTypes.scrollShouldSetResponder; if (responderInst) b: { var JSCompiler_temp = responderInst; @@ -973,10 +973,10 @@ var ResponderEventPlugin = { (shouldSetEventType = shouldSetEventType ? eventTypes.responderStart : JSCompiler_temp - ? eventTypes.responderMove - : targetInst - ? eventTypes.responderEnd - : null) + ? eventTypes.responderMove + : targetInst + ? eventTypes.responderEnd + : null) ) (shouldSetEventType = ResponderSyntheticEvent.getPooled( shouldSetEventType, @@ -1039,8 +1039,8 @@ var ResponderEventPlugin = { (topLevelType = shouldSetEventType ? eventTypes.responderTerminate : topLevelType - ? eventTypes.responderRelease - : null) + ? eventTypes.responderRelease + : null) ) (nativeEvent = ResponderSyntheticEvent.getPooled( topLevelType, @@ -1607,8 +1607,8 @@ function diffNestedProperty( return nextProp ? addNestedProperty(updatePayload, nextProp, validAttributes) : prevProp - ? clearNestedProperty(updatePayload, prevProp, validAttributes) - : updatePayload; + ? clearNestedProperty(updatePayload, prevProp, validAttributes) + : updatePayload; if (!isArrayImpl(prevProp) && !isArrayImpl(nextProp)) return diffProperties(updatePayload, prevProp, nextProp, validAttributes); if (isArrayImpl(prevProp) && isArrayImpl(nextProp)) { @@ -1946,14 +1946,14 @@ function getNextLanes(root, wipLanes) { return 0 === nextLanes ? 0 : 0 !== wipLanes && - wipLanes !== nextLanes && - 0 === (wipLanes & suspendedLanes) && - ((suspendedLanes = nextLanes & -nextLanes), - (root = wipLanes & -wipLanes), - suspendedLanes >= root || - (32 === suspendedLanes && 0 !== (root & 4194176))) - ? wipLanes - : nextLanes; + wipLanes !== nextLanes && + 0 === (wipLanes & suspendedLanes) && + ((suspendedLanes = nextLanes & -nextLanes), + (root = wipLanes & -wipLanes), + suspendedLanes >= root || + (32 === suspendedLanes && 0 !== (root & 4194176))) + ? wipLanes + : nextLanes; } function computeExpirationTime(lane, currentTime) { switch (lane) { @@ -5016,8 +5016,8 @@ function checkShouldComponentUpdate( return "function" === typeof workInProgress.shouldComponentUpdate ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext) : ctor.prototype && ctor.prototype.isPureReactComponent - ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) - : !0; + ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) + : !0; } function constructClassInstance(workInProgress, ctor, props) { var isLegacyContextConsumer = !1, @@ -5971,46 +5971,47 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes ))) : null !== workInProgress.memoizedState - ? (reuseSuspenseHandlerOnStack(workInProgress), - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null)) - : (reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = nextProps.fallback), - (showFallback = workInProgress.mode), - (nextProps = createFiberFromOffscreen( - { mode: "visible", children: nextProps.children }, - showFallback, - 0, - null - )), - (nextPrimaryChildren = createFiberFromFragment( - nextPrimaryChildren, - showFallback, - renderLanes, - null - )), - (nextPrimaryChildren.flags |= 2), - (nextProps.return = workInProgress), - (nextPrimaryChildren.return = workInProgress), - (nextProps.sibling = nextPrimaryChildren), - (workInProgress.child = nextProps), - 0 !== (workInProgress.mode & 1) && - reconcileChildFibers( - workInProgress, - current.child, - null, + ? (reuseSuspenseHandlerOnStack(workInProgress), + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null)) + : (reuseSuspenseHandlerOnStack(workInProgress), + (nextPrimaryChildren = nextProps.fallback), + (showFallback = workInProgress.mode), + (nextProps = createFiberFromOffscreen( + { mode: "visible", children: nextProps.children }, + showFallback, + 0, + null + )), + (nextPrimaryChildren = createFiberFromFragment( + nextPrimaryChildren, + showFallback, + renderLanes, + null + )), + (nextPrimaryChildren.flags |= 2), + (nextProps.return = workInProgress), + (nextPrimaryChildren.return = workInProgress), + (nextProps.sibling = nextPrimaryChildren), + (workInProgress.child = nextProps), + 0 !== (workInProgress.mode & 1) && + reconcileChildFibers( + workInProgress, + current.child, + null, + renderLanes + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( + current, + JSCompiler_temp, renderLanes - ), - (nextProps = workInProgress.child), - (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (nextProps.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_temp, - renderLanes - )), - (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + )), + (workInProgress.memoizedState = SUSPENDED_MARKER), + (workInProgress = nextPrimaryChildren)); else if ((pushPrimaryTreeSuspenseHandler(workInProgress), shim$1())) (JSCompiler_temp = shim$1().digest), (nextProps = Error( @@ -8732,29 +8733,32 @@ function commitPassiveMountOnFiber( committedTransitions ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork) - : ((instance._visibility |= 4), - recursivelyTraversePassiveMountEffects( + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork + ) + : ((instance._visibility |= 4), + recursivelyTraversePassiveMountEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions + )) + : instance._visibility & 4 + ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions - )) - : instance._visibility & 4 - ? recursivelyTraversePassiveMountEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions - ) - : ((instance._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - 0 !== (finishedWork.subtreeFlags & 10256) - )); + ) + : ((instance._visibility |= 4), + recursivelyTraverseReconnectPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions, + 0 !== (finishedWork.subtreeFlags & 10256) + )); flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, @@ -8822,18 +8826,18 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects( - finishedRoot, - finishedWork - ) - : ((instance._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - includeWorkInProgressEffects - )) + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork + ) + : ((instance._visibility |= 4), + recursivelyTraverseReconnectPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions, + includeWorkInProgressEffects + )) : ((instance._visibility |= 4), recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -9533,10 +9537,10 @@ function handleThrow(root, thrownValue) { thrownValue === SelectiveHydrationException ? 8 : null !== thrownValue && - "object" === typeof thrownValue && - "function" === typeof thrownValue.then - ? 6 - : 1); + "object" === typeof thrownValue && + "function" === typeof thrownValue.then + ? 6 + : 1); workInProgressThrownValue = thrownValue; null === workInProgress && ((workInProgressRootExitStatus = 1), @@ -10586,10 +10590,10 @@ function findNodeHandle(componentOrHandle) { return null == componentOrHandle ? componentOrHandle : null != componentOrHandle._nativeTag - ? componentOrHandle._nativeTag - : ReactNativePrivateInterface.getNativeTagFromPublicInstance( - componentOrHandle - ); + ? componentOrHandle._nativeTag + : ReactNativePrivateInterface.getNativeTagFromPublicInstance( + componentOrHandle + ); } var emptyObject = {}; function createHierarchy(fiberHierarchy) { @@ -10694,11 +10698,11 @@ function traverseOwnerTreeUp(hierarchy, instance) { traverseOwnerTreeUp(hierarchy, instance); } var isomorphicReactPackageVersion = React.version; -if ("19.0.0-native-fb-d025ddd3-20240722" !== isomorphicReactPackageVersion) +if ("19.0.0-native-fb-b7e7f1a3-20240722" !== 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.0.0-native-fb-d025ddd3-20240722\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-b7e7f1a3-20240722\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -10748,7 +10752,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1210 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "19.0.0-native-fb-d025ddd3-20240722", + version: "19.0.0-native-fb-b7e7f1a3-20240722", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -10791,7 +10795,7 @@ var internals$jscomp$inline_1457 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-d025ddd3-20240722" + reconcilerVersion: "19.0.0-native-fb-b7e7f1a3-20240722" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1458 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10840,10 +10844,10 @@ exports.findHostInstance_DEPRECATED = function (componentOrHandle) { return null == componentOrHandle ? null : componentOrHandle.canonical && componentOrHandle.canonical.publicInstance - ? componentOrHandle.canonical.publicInstance - : componentOrHandle._nativeTag - ? componentOrHandle - : findHostInstance(componentOrHandle); + ? componentOrHandle.canonical.publicInstance + : componentOrHandle._nativeTag + ? componentOrHandle + : findHostInstance(componentOrHandle); }; exports.findNodeHandle = findNodeHandle; exports.getInspectorDataForInstance = getInspectorDataForInstance; 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 3414048c85872..772ebc07c2091 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<<513bac8c2943e3cb198c65c6f2f44d85>> */ "use strict"; @@ -66,8 +66,8 @@ function describeBuiltInComponentFrame(name) { -1 < x.stack.indexOf("\n at") ? " ()" : -1 < x.stack.indexOf("@") - ? "@unknown:0:0" - : ""; + ? "@unknown:0:0" + : ""; } return "\n" + prefix + name + suffix; } @@ -398,8 +398,8 @@ function SyntheticEvent( ((targetInst = dispatchConfig[propName]) ? (this[propName] = targetInst(nativeEvent)) : "target" === propName - ? (this.target = nativeEventTarget) - : (this[propName] = nativeEvent[propName])); + ? (this.target = nativeEventTarget) + : (this[propName] = nativeEvent[propName])); this.isDefaultPrevented = ( null != nativeEvent.defaultPrevented ? nativeEvent.defaultPrevented @@ -628,10 +628,10 @@ function accumulate(current, next) { return null == current ? next : isArrayImpl(current) - ? current.concat(next) - : isArrayImpl(next) - ? [current].concat(next) - : [current, next]; + ? current.concat(next) + : isArrayImpl(next) + ? [current].concat(next) + : [current, next]; } function accumulateInto(current, next) { if (null == next) @@ -818,10 +818,10 @@ var ResponderEventPlugin = { var shouldSetEventType = isStartish(topLevelType) ? eventTypes.startShouldSetResponder : isMoveish(topLevelType) - ? eventTypes.moveShouldSetResponder - : "topSelectionChange" === topLevelType - ? eventTypes.selectionChangeShouldSetResponder - : eventTypes.scrollShouldSetResponder; + ? eventTypes.moveShouldSetResponder + : "topSelectionChange" === topLevelType + ? eventTypes.selectionChangeShouldSetResponder + : eventTypes.scrollShouldSetResponder; if (responderInst) b: { var JSCompiler_temp = responderInst; @@ -977,10 +977,10 @@ var ResponderEventPlugin = { (shouldSetEventType = shouldSetEventType ? eventTypes.responderStart : JSCompiler_temp - ? eventTypes.responderMove - : targetInst - ? eventTypes.responderEnd - : null) + ? eventTypes.responderMove + : targetInst + ? eventTypes.responderEnd + : null) ) (shouldSetEventType = ResponderSyntheticEvent.getPooled( shouldSetEventType, @@ -1043,8 +1043,8 @@ var ResponderEventPlugin = { (topLevelType = shouldSetEventType ? eventTypes.responderTerminate : topLevelType - ? eventTypes.responderRelease - : null) + ? eventTypes.responderRelease + : null) ) (nativeEvent = ResponderSyntheticEvent.getPooled( topLevelType, @@ -1611,8 +1611,8 @@ function diffNestedProperty( return nextProp ? addNestedProperty(updatePayload, nextProp, validAttributes) : prevProp - ? clearNestedProperty(updatePayload, prevProp, validAttributes) - : updatePayload; + ? clearNestedProperty(updatePayload, prevProp, validAttributes) + : updatePayload; if (!isArrayImpl(prevProp) && !isArrayImpl(nextProp)) return diffProperties(updatePayload, prevProp, nextProp, validAttributes); if (isArrayImpl(prevProp) && isArrayImpl(nextProp)) { @@ -2038,14 +2038,14 @@ function getNextLanes(root, wipLanes) { return 0 === nextLanes ? 0 : 0 !== wipLanes && - wipLanes !== nextLanes && - 0 === (wipLanes & suspendedLanes) && - ((suspendedLanes = nextLanes & -nextLanes), - (root = wipLanes & -wipLanes), - suspendedLanes >= root || - (32 === suspendedLanes && 0 !== (root & 4194176))) - ? wipLanes - : nextLanes; + wipLanes !== nextLanes && + 0 === (wipLanes & suspendedLanes) && + ((suspendedLanes = nextLanes & -nextLanes), + (root = wipLanes & -wipLanes), + suspendedLanes >= root || + (32 === suspendedLanes && 0 !== (root & 4194176))) + ? wipLanes + : nextLanes; } function computeExpirationTime(lane, currentTime) { switch (lane) { @@ -5208,8 +5208,8 @@ function checkShouldComponentUpdate( return "function" === typeof workInProgress.shouldComponentUpdate ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext) : ctor.prototype && ctor.prototype.isPureReactComponent - ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) - : !0; + ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState) + : !0; } function constructClassInstance(workInProgress, ctor, props) { var isLegacyContextConsumer = !1, @@ -6177,46 +6177,47 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes ))) : null !== workInProgress.memoizedState - ? (reuseSuspenseHandlerOnStack(workInProgress), - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null)) - : (reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = nextProps.fallback), - (showFallback = workInProgress.mode), - (nextProps = createFiberFromOffscreen( - { mode: "visible", children: nextProps.children }, - showFallback, - 0, - null - )), - (nextPrimaryChildren = createFiberFromFragment( - nextPrimaryChildren, - showFallback, - renderLanes, - null - )), - (nextPrimaryChildren.flags |= 2), - (nextProps.return = workInProgress), - (nextPrimaryChildren.return = workInProgress), - (nextProps.sibling = nextPrimaryChildren), - (workInProgress.child = nextProps), - 0 !== (workInProgress.mode & 1) && - reconcileChildFibers( - workInProgress, - current.child, - null, + ? (reuseSuspenseHandlerOnStack(workInProgress), + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null)) + : (reuseSuspenseHandlerOnStack(workInProgress), + (nextPrimaryChildren = nextProps.fallback), + (showFallback = workInProgress.mode), + (nextProps = createFiberFromOffscreen( + { mode: "visible", children: nextProps.children }, + showFallback, + 0, + null + )), + (nextPrimaryChildren = createFiberFromFragment( + nextPrimaryChildren, + showFallback, + renderLanes, + null + )), + (nextPrimaryChildren.flags |= 2), + (nextProps.return = workInProgress), + (nextPrimaryChildren.return = workInProgress), + (nextProps.sibling = nextPrimaryChildren), + (workInProgress.child = nextProps), + 0 !== (workInProgress.mode & 1) && + reconcileChildFibers( + workInProgress, + current.child, + null, + renderLanes + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( + current, + JSCompiler_temp, renderLanes - ), - (nextProps = workInProgress.child), - (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (nextProps.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_temp, - renderLanes - )), - (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + )), + (workInProgress.memoizedState = SUSPENDED_MARKER), + (workInProgress = nextPrimaryChildren)); else if ((pushPrimaryTreeSuspenseHandler(workInProgress), shim$1())) (JSCompiler_temp = shim$1().digest), (nextProps = Error( @@ -9241,29 +9242,32 @@ function commitPassiveMountOnFiber( committedTransitions ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork) - : ((instance._visibility |= 4), - recursivelyTraversePassiveMountEffects( + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork + ) + : ((instance._visibility |= 4), + recursivelyTraversePassiveMountEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions + )) + : instance._visibility & 4 + ? recursivelyTraversePassiveMountEffects( finishedRoot, finishedWork, committedLanes, committedTransitions - )) - : instance._visibility & 4 - ? recursivelyTraversePassiveMountEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions - ) - : ((instance._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - 0 !== (finishedWork.subtreeFlags & 10256) - )); + ) + : ((instance._visibility |= 4), + recursivelyTraverseReconnectPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions, + 0 !== (finishedWork.subtreeFlags & 10256) + )); flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, @@ -9331,18 +9335,18 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ) : finishedWork.mode & 1 - ? recursivelyTraverseAtomicPassiveEffects( - finishedRoot, - finishedWork - ) - : ((instance._visibility |= 4), - recursivelyTraverseReconnectPassiveEffects( - finishedRoot, - finishedWork, - committedLanes, - committedTransitions, - includeWorkInProgressEffects - )) + ? recursivelyTraverseAtomicPassiveEffects( + finishedRoot, + finishedWork + ) + : ((instance._visibility |= 4), + recursivelyTraverseReconnectPassiveEffects( + finishedRoot, + finishedWork, + committedLanes, + committedTransitions, + includeWorkInProgressEffects + )) : ((instance._visibility |= 4), recursivelyTraverseReconnectPassiveEffects( finishedRoot, @@ -10066,10 +10070,10 @@ function handleThrow(root, thrownValue) { thrownValue === SelectiveHydrationException ? 8 : null !== thrownValue && - "object" === typeof thrownValue && - "function" === typeof thrownValue.then - ? 6 - : 1); + "object" === typeof thrownValue && + "function" === typeof thrownValue.then + ? 6 + : 1); workInProgressThrownValue = thrownValue; handler = workInProgress; if (null === handler) @@ -11297,10 +11301,10 @@ function findNodeHandle(componentOrHandle) { return null == componentOrHandle ? componentOrHandle : null != componentOrHandle._nativeTag - ? componentOrHandle._nativeTag - : ReactNativePrivateInterface.getNativeTagFromPublicInstance( - componentOrHandle - ); + ? componentOrHandle._nativeTag + : ReactNativePrivateInterface.getNativeTagFromPublicInstance( + componentOrHandle + ); } var emptyObject = {}; function createHierarchy(fiberHierarchy) { @@ -11405,11 +11409,11 @@ function traverseOwnerTreeUp(hierarchy, instance) { traverseOwnerTreeUp(hierarchy, instance); } var isomorphicReactPackageVersion = React.version; -if ("19.0.0-native-fb-d025ddd3-20240722" !== isomorphicReactPackageVersion) +if ("19.0.0-native-fb-b7e7f1a3-20240722" !== 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.0.0-native-fb-d025ddd3-20240722\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-native-renderer: 19.0.0-native-fb-b7e7f1a3-20240722\nLearn more: https://react.dev/warnings/version-mismatch") ); if ( "function" !== @@ -11459,7 +11463,7 @@ var roots = new Map(), devToolsConfig$jscomp$inline_1291 = { findFiberByHostInstance: getInstanceFromTag, bundleType: 0, - version: "19.0.0-native-fb-d025ddd3-20240722", + version: "19.0.0-native-fb-b7e7f1a3-20240722", rendererPackageName: "react-native-renderer", rendererConfig: { getInspectorDataForInstance: getInspectorDataForInstance, @@ -11515,7 +11519,7 @@ var roots = new Map(), scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-native-fb-d025ddd3-20240722" + reconcilerVersion: "19.0.0-native-fb-b7e7f1a3-20240722" }); exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = { computeComponentStackForErrorReporting: function (reactTag) { @@ -11551,10 +11555,10 @@ exports.findHostInstance_DEPRECATED = function (componentOrHandle) { return null == componentOrHandle ? null : componentOrHandle.canonical && componentOrHandle.canonical.publicInstance - ? componentOrHandle.canonical.publicInstance - : componentOrHandle._nativeTag - ? componentOrHandle - : findHostInstance(componentOrHandle); + ? componentOrHandle.canonical.publicInstance + : componentOrHandle._nativeTag + ? componentOrHandle + : findHostInstance(componentOrHandle); }; exports.findNodeHandle = findNodeHandle; exports.getInspectorDataForInstance = getInspectorDataForInstance;