From a9aa724b9176fc88dfdeb01528dd34846a2ebee6 Mon Sep 17 00:00:00 2001 From: mondaychen Date: Tue, 6 Dec 2022 22:32:25 +0000 Subject: [PATCH] [bug fix] revert values in ReactFiberFlags to keep consistency for devtools (#25832) ## Summary We see recent bug reports like #25755 and #25769 for devtools. Whenever a component uses hook `useEffect`, it triggers an error. This was introduced in #25663 when we try to keep the `ReactFiberFlags` numbers consistent with reconciler, in order to fix an issue with server components. However, the values of `ReactFiberFlags` in reconciler were actually changed a while ago in https://github.com/facebook/react/commit/b4204ede66284e7153ffb11fd434cd9b9a64a56f We made this mistake because, although it's not mentioned in the comment, `DidCapture` and `Hydrating` are actually used by DevTools This caused - the latest (not stable) react version is broken on devtools before 4.27.0 (but only in uncommon cases such server components) - all earlier react versions are broken on latest devtools (4.27.0) To keep most versions work, we need to revert the commit that changed the `ReactFiberFlags` values ## How did you test this change? 1. add a `useEffect` in a component in the TodoList of the shell, trigger the error in devtools 2. after change, the error is gone DiffTrain build for `d69b2cf8208848b0f71b5214ddff55a1ff437cc8` --- compiled/facebook-www/REVISION | 2 +- compiled/facebook-www/REVISION_TRANSFORMS | 2 +- compiled/facebook-www/React-dev.classic.js | 2 +- compiled/facebook-www/React-dev.modern.js | 2 +- compiled/facebook-www/React-prod.classic.js | 2 +- compiled/facebook-www/React-prod.modern.js | 2 +- .../facebook-www/React-profiling.classic.js | 2 +- .../facebook-www/React-profiling.modern.js | 2 +- compiled/facebook-www/ReactART-dev.classic.js | 54 +-- compiled/facebook-www/ReactART-dev.modern.js | 54 +-- .../facebook-www/ReactART-prod.classic.js | 315 ++++++++-------- compiled/facebook-www/ReactART-prod.modern.js | 315 ++++++++-------- compiled/facebook-www/ReactDOM-dev.classic.js | 54 +-- compiled/facebook-www/ReactDOM-dev.modern.js | 54 +-- .../facebook-www/ReactDOM-prod.classic.js | 343 ++++++++--------- compiled/facebook-www/ReactDOM-prod.modern.js | 343 ++++++++--------- .../ReactDOM-profiling.classic.js | 347 +++++++++--------- .../facebook-www/ReactDOM-profiling.modern.js | 347 +++++++++--------- .../ReactDOMServer-dev.classic.js | 2 +- .../facebook-www/ReactDOMServer-dev.modern.js | 2 +- .../ReactDOMServer-prod.classic.js | 2 +- .../ReactDOMServer-prod.modern.js | 2 +- .../ReactDOMTesting-dev.classic.js | 50 +-- .../ReactDOMTesting-dev.modern.js | 50 +-- .../ReactDOMTesting-prod.classic.js | 317 ++++++++-------- .../ReactDOMTesting-prod.modern.js | 317 ++++++++-------- .../ReactTestRenderer-dev.classic.js | 50 +-- .../ReactTestRenderer-dev.modern.js | 50 +-- .../ReactTestUtils-dev.classic.js | 2 +- .../facebook-www/ReactTestUtils-dev.modern.js | 2 +- 30 files changed, 1572 insertions(+), 1516 deletions(-) diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index bb30e57d64..07786acb59 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -645ae2686b157c9f80193e1ada75b7e00ef49acf +d69b2cf8208848b0f71b5214ddff55a1ff437cc8 diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index bb30e57d64..07786acb59 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -645ae2686b157c9f80193e1ada75b7e00ef49acf +d69b2cf8208848b0f71b5214ddff55a1ff437cc8 diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index b224339e58..fcc353104f 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -27,7 +27,7 @@ if ( } "use strict"; -var ReactVersion = "18.3.0-www-classic-645ae2686-20221206"; +var ReactVersion = "18.3.0-www-classic-d69b2cf82-20221206"; // ATTENTION // When adding new symbols to this file, diff --git a/compiled/facebook-www/React-dev.modern.js b/compiled/facebook-www/React-dev.modern.js index cad525f196..a643dac6da 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -27,7 +27,7 @@ if ( } "use strict"; -var ReactVersion = "18.3.0-www-modern-645ae2686-20221206"; +var ReactVersion = "18.3.0-www-modern-d69b2cf82-20221206"; // ATTENTION // When adding new symbols to this file, diff --git a/compiled/facebook-www/React-prod.classic.js b/compiled/facebook-www/React-prod.classic.js index 47cf4228d7..990ccd59a0 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -643,4 +643,4 @@ exports.useSyncExternalStore = function( ); }; exports.useTransition = useTransition; -exports.version = "18.3.0-www-classic-645ae2686-20221206"; +exports.version = "18.3.0-www-classic-d69b2cf82-20221206"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 24a40aa7a6..dd0cbfbfa9 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -635,4 +635,4 @@ exports.useSyncExternalStore = function( ); }; exports.useTransition = useTransition; -exports.version = "18.3.0-www-modern-645ae2686-20221206"; +exports.version = "18.3.0-www-modern-d69b2cf82-20221206"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index 44694d5c1d..13db886a02 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -654,7 +654,7 @@ exports.useSyncExternalStore = function( ); }; exports.useTransition = useTransition; -exports.version = "18.3.0-www-classic-645ae2686-20221206"; +exports.version = "18.3.0-www-classic-d69b2cf82-20221206"; /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ if ( diff --git a/compiled/facebook-www/React-profiling.modern.js b/compiled/facebook-www/React-profiling.modern.js index 1265357768..e8ae8d4cd2 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -646,7 +646,7 @@ exports.useSyncExternalStore = function( ); }; exports.useTransition = useTransition; -exports.version = "18.3.0-www-modern-645ae2686-20221206"; +exports.version = "18.3.0-www-modern-d69b2cf82-20221206"; /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ if ( diff --git a/compiled/facebook-www/ReactART-dev.classic.js b/compiled/facebook-www/ReactART-dev.classic.js index c988c920bd..9800aced96 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -69,7 +69,7 @@ function _assertThisInitialized(self) { return self; } -var ReactVersion = "18.3.0-www-classic-645ae2686-20221206"; +var ReactVersion = "18.3.0-www-classic-d69b2cf82-20221206"; var LegacyRoot = 0; var ConcurrentRoot = 1; @@ -517,41 +517,47 @@ var Placement = 2; var DidCapture = /* */ - 64; + 128; var Hydrating = /* */ - 2048; // You can change the rest (and add more). + 4096; // You can change the rest (and add more). var Update = /* */ 4; +/* Skipped value: 0b000000000000000000000001000; */ + var ChildDeletion = /* */ - 8; + 16; var ContentReset = /* */ - 16; + 32; var Callback = /* */ - 32; + 64; +/* Used by DidCapture: 0b000000000000000000010000000; */ + var ForceClientRender = /* */ - 128; + 256; var Ref = /* */ - 256; + 512; var Snapshot = /* */ - 512; + 1024; var Passive = /* */ - 1024; + 2048; +/* Used by Hydrating: 0b000000000000001000000000000; */ + var Visibility = /* */ - 4096; + 8192; var StoreConsistency = /* */ - 8192; + 16384; var LifecycleEffectMask = Passive | Update | Callback | Ref | Snapshot | StoreConsistency; // Union of all commit flags (flags with the lifetime of a particular commit) @@ -561,22 +567,22 @@ var HostEffectMask = var Incomplete = /* */ - 16384; + 32768; var ShouldCapture = /* */ - 32768; + 65536; var ForceUpdateForLegacySuspense = /* */ - 65536; + 131072; var DidPropagateContext = /* */ - 131072; + 262144; var NeedsPropagation = /* */ - 262144; + 524288; var Forked = /* */ - 524288; // Static tags describe aspects of a fiber that are not specific to a render, + 1048576; // Static tags describe aspects of a fiber that are not specific to a render, // e.g. a fiber uses a passive effect (even if there are no updates on this particular render). // This enables us to defer more work in the unmount case, // since we can defer traversing the tree during layout to look for Passive effects, @@ -584,23 +590,23 @@ var Forked = var RefStatic = /* */ - 1048576; + 2097152; var LayoutStatic = /* */ - 2097152; + 4194304; var PassiveStatic = /* */ - 4194304; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. + 8388608; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. var PlacementDEV = /* */ - 8388608; + 16777216; var MountLayoutDev = /* */ - 16777216; + 33554432; var MountPassiveDev = /* */ - 33554432; // Groups of flags that are used in the commit phase to skip over trees that + 67108864; // Groups of flags that are used in the commit phase to skip over trees that // don't contain effects, by checking subtreeFlags. var BeforeMutationMask = // TODO: Remove Update flag from before mutation phase by re-landing Visibility diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js index 2cb23e7459..e6bd4fd978 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -69,7 +69,7 @@ function _assertThisInitialized(self) { return self; } -var ReactVersion = "18.3.0-www-modern-645ae2686-20221206"; +var ReactVersion = "18.3.0-www-modern-d69b2cf82-20221206"; var LegacyRoot = 0; var ConcurrentRoot = 1; @@ -517,41 +517,47 @@ var Placement = 2; var DidCapture = /* */ - 64; + 128; var Hydrating = /* */ - 2048; // You can change the rest (and add more). + 4096; // You can change the rest (and add more). var Update = /* */ 4; +/* Skipped value: 0b000000000000000000000001000; */ + var ChildDeletion = /* */ - 8; + 16; var ContentReset = /* */ - 16; + 32; var Callback = /* */ - 32; + 64; +/* Used by DidCapture: 0b000000000000000000010000000; */ + var ForceClientRender = /* */ - 128; + 256; var Ref = /* */ - 256; + 512; var Snapshot = /* */ - 512; + 1024; var Passive = /* */ - 1024; + 2048; +/* Used by Hydrating: 0b000000000000001000000000000; */ + var Visibility = /* */ - 4096; + 8192; var StoreConsistency = /* */ - 8192; + 16384; var LifecycleEffectMask = Passive | Update | Callback | Ref | Snapshot | StoreConsistency; // Union of all commit flags (flags with the lifetime of a particular commit) @@ -561,22 +567,22 @@ var HostEffectMask = var Incomplete = /* */ - 16384; + 32768; var ShouldCapture = /* */ - 32768; + 65536; var ForceUpdateForLegacySuspense = /* */ - 65536; + 131072; var DidPropagateContext = /* */ - 131072; + 262144; var NeedsPropagation = /* */ - 262144; + 524288; var Forked = /* */ - 524288; // Static tags describe aspects of a fiber that are not specific to a render, + 1048576; // Static tags describe aspects of a fiber that are not specific to a render, // e.g. a fiber uses a passive effect (even if there are no updates on this particular render). // This enables us to defer more work in the unmount case, // since we can defer traversing the tree during layout to look for Passive effects, @@ -584,23 +590,23 @@ var Forked = var RefStatic = /* */ - 1048576; + 2097152; var LayoutStatic = /* */ - 2097152; + 4194304; var PassiveStatic = /* */ - 4194304; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. + 8388608; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. var PlacementDEV = /* */ - 8388608; + 16777216; var MountLayoutDev = /* */ - 16777216; + 33554432; var MountPassiveDev = /* */ - 33554432; // Groups of flags that are used in the commit phase to skip over trees that + 67108864; // Groups of flags that are used in the commit phase to skip over trees that // don't contain effects, by checking subtreeFlags. var BeforeMutationMask = // TODO: Remove Update flag from before mutation phase by re-landing Visibility diff --git a/compiled/facebook-www/ReactART-prod.classic.js b/compiled/facebook-www/ReactART-prod.classic.js index f7231f8400..cd7e3ec603 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -230,7 +230,7 @@ function getNearestMountedFiber(fiber) { fiber = node; do (node = fiber), - 0 !== (node.flags & 2050) && (nearestMounted = node.return), + 0 !== (node.flags & 4098) && (nearestMounted = node.return), (fiber = node.return); while (fiber); } @@ -380,7 +380,7 @@ function onCommitRoot(root) { rendererID, root, void 0, - 64 === (root.current.flags & 64) + 128 === (root.current.flags & 128) ); } catch (err) {} } @@ -1309,7 +1309,7 @@ function processUpdateQueue( newState = workInProgress; break a; case 3: - workInProgress.flags = (workInProgress.flags & -32769) | 64; + workInProgress.flags = (workInProgress.flags & -65537) | 128; case 0: workInProgress = update.payload; updateLane = @@ -1325,8 +1325,8 @@ function processUpdateQueue( } updateLane = pendingQueue.callback; null !== updateLane && - ((workInProgress$jscomp$0.flags |= 32), - isHiddenUpdate && (workInProgress$jscomp$0.flags |= 4096), + ((workInProgress$jscomp$0.flags |= 64), + isHiddenUpdate && (workInProgress$jscomp$0.flags |= 8192), (isHiddenUpdate = queue.callbacks), null === isHiddenUpdate ? (queue.callbacks = [updateLane]) @@ -1485,7 +1485,7 @@ function createChildReconciler(shouldTrackSideEffects) { if (shouldTrackSideEffects) { var deletions = returnFiber.deletions; null === deletions - ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 8)) + ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16)) : deletions.push(childToDelete); } } @@ -1513,22 +1513,22 @@ function createChildReconciler(shouldTrackSideEffects) { function placeChild(newFiber, lastPlacedIndex, newIndex) { newFiber.index = newIndex; if (!shouldTrackSideEffects) - return (newFiber.flags |= 524288), lastPlacedIndex; + return (newFiber.flags |= 1048576), lastPlacedIndex; newIndex = newFiber.alternate; if (null !== newIndex) return ( (newIndex = newIndex.index), newIndex < lastPlacedIndex - ? ((newFiber.flags |= 8388610), lastPlacedIndex) + ? ((newFiber.flags |= 16777218), lastPlacedIndex) : newIndex ); - newFiber.flags |= 8388610; + newFiber.flags |= 16777218; return lastPlacedIndex; } function placeSingleChild(newFiber) { shouldTrackSideEffects && null === newFiber.alternate && - (newFiber.flags |= 8388610); + (newFiber.flags |= 16777218); return newFiber; } function updateTextNode(returnFiber, current, textContent, lanes) { @@ -2154,7 +2154,7 @@ function findFirstSuspended(row) { if (null !== state && (null === state.dehydrated || shim() || shim())) return node; } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) { - if (0 !== (node.flags & 64)) return node; + if (0 !== (node.flags & 128)) return node; } else if (null !== node.child) { node.child.return = node; node = node.child; @@ -2309,7 +2309,7 @@ function renderWithHooksAgain(workInProgress, Component, props, secondArg) { } function bailoutHooks(current, workInProgress, lanes) { workInProgress.updateQueue = current.updateQueue; - workInProgress.flags &= -1029; + workInProgress.flags &= -2053; current.lanes &= ~lanes; } function resetHooksOnUnwind() { @@ -2638,7 +2638,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { snapshotChanged || (null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1) ) { - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind(null, fiber, hook, nextSnapshot, getSnapshot), @@ -2653,7 +2653,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { return nextSnapshot; } function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) { - fiber.flags |= 8192; + fiber.flags |= 16384; fiber = { getSnapshot: getSnapshot, value: renderedSnapshot }; getSnapshot = currentlyRenderingFiber.updateQueue; null === getSnapshot @@ -2753,10 +2753,10 @@ function updateEffectImpl(fiberFlags, hookFlags, create, deps) { hook.memoizedState = pushEffect(1 | hookFlags, create, destroy, deps); } function mountEffect(create, deps) { - mountEffectImpl(4195328, 8, create, deps); + mountEffectImpl(8390656, 8, create, deps); } function updateEffect(create, deps) { - updateEffectImpl(1024, 8, create, deps); + updateEffectImpl(2048, 8, create, deps); } function useEventImpl(payload) { currentlyRenderingFiber.flags |= 4; @@ -3017,14 +3017,14 @@ var HooksDispatcherOnMount = { useImperativeHandle: function(ref, create, deps) { deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; mountEffectImpl( - 2097156, + 4194308, 4, imperativeHandleEffect.bind(null, create, ref), deps ); }, useLayoutEffect: function(create, deps) { - return mountEffectImpl(2097156, 4, create, deps); + return mountEffectImpl(4194308, 4, create, deps); }, useInsertionEffect: function(create, deps) { mountEffectImpl(4, 2, create, deps); @@ -3101,7 +3101,7 @@ var HooksDispatcherOnMount = { mountEffect(subscribeToStore.bind(null, fiber, root, subscribe), [ subscribe ]); - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind(null, fiber, root, nextSnapshot, getSnapshot), @@ -3361,7 +3361,7 @@ function mountClassInstance(workInProgress, ctor, newProps, renderLanes) { processUpdateQueue(workInProgress, newProps, instance, renderLanes), (instance.state = workInProgress.memoizedState)); "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156); + (workInProgress.flags |= 4194308); } function createCapturedValueAtFiber(value, source) { try { @@ -3695,7 +3695,7 @@ function updateSimpleMemoComponent( (workInProgress.pendingProps = nextProps = prevProps), checkScheduledUpdateOrContext(current, renderLanes)) ) - 0 !== (current.flags & 65536) && (didReceiveUpdate = !0); + 0 !== (current.flags & 131072) && (didReceiveUpdate = !0); else return ( (workInProgress.lanes = current.lanes), @@ -3720,7 +3720,7 @@ function updateOffscreenComponent(current, workInProgress, renderLanes) { "unstable-defer-without-hiding" === nextProps.mode || workInProgress.stateNode._visibility & 2 ) { - if (0 !== (workInProgress.flags & 64)) { + if (0 !== (workInProgress.flags & 128)) { nextChildren = null !== prevState ? prevState.baseLanes | renderLanes : renderLanes; if (null !== current) { @@ -3813,7 +3813,7 @@ function markRef(current, workInProgress) { (null === current && null !== ref) || (null !== current && current.ref !== ref) ) - (workInProgress.flags |= 256), (workInProgress.flags |= 1048576); + (workInProgress.flags |= 512), (workInProgress.flags |= 2097152); } function updateFunctionComponent( current, @@ -3951,9 +3951,9 @@ function updateClassComponent( "function" === typeof instance.UNSAFE_componentWillMount && instance.UNSAFE_componentWillMount()), "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156)) + (workInProgress.flags |= 4194308)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = oldContext)), (instance.props = nextProps), @@ -3961,7 +3961,7 @@ function updateClassComponent( (instance.context = contextType), (nextProps = oldProps)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (nextProps = !1)); } else { instance = workInProgress.stateNode; @@ -4044,7 +4044,7 @@ function updateClassComponent( "function" === typeof instance.componentDidUpdate && (workInProgress.flags |= 4), "function" === typeof instance.getSnapshotBeforeUpdate && - (workInProgress.flags |= 512)) + (workInProgress.flags |= 1024)) : ("function" !== typeof instance.componentDidUpdate || (oldProps === current.memoizedProps && oldState === current.memoizedState) || @@ -4052,7 +4052,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (oldProps === current.memoizedProps && oldState === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = newState)), (instance.props = nextProps), @@ -4066,7 +4066,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (oldProps === current.memoizedProps && oldState === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (nextProps = !1)); } return finishClassComponent( @@ -4087,7 +4087,7 @@ function finishClassComponent( renderLanes ) { markRef(current, workInProgress); - var didCaptureError = 0 !== (workInProgress.flags & 64); + var didCaptureError = 0 !== (workInProgress.flags & 128); if (!shouldUpdate && !didCaptureError) return ( hasContext && invalidateContextProvider(workInProgress, Component, !1), @@ -4137,14 +4137,14 @@ function mountSuspenseOffscreenState(renderLanes) { function updateSuspenseComponent(current, workInProgress, renderLanes) { var nextProps = workInProgress.pendingProps, showFallback = !1, - didSuspend = 0 !== (workInProgress.flags & 64), + didSuspend = 0 !== (workInProgress.flags & 128), JSCompiler_temp; (JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & 2)); - JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -65)); + JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -129)); if (null === current) { current = nextProps.children; didSuspend = nextProps.fallback; @@ -4225,7 +4225,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.pendingProps = primaryChildProps), (workInProgress.deletions = null)) : ((nextProps = createWorkInProgress(JSCompiler_temp, primaryChildProps)), - (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 7340032)); + (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 14680064)); null !== dehydrated ? (showFallback = createWorkInProgress(dehydrated, showFallback)) : ((showFallback = createFiberFromFragment( @@ -4297,7 +4297,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes - ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 8)) + ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); workInProgress.child = nextProps; workInProgress.memoizedState = null; @@ -4372,10 +4372,10 @@ function updateDehydratedSuspenseComponent( renderLanes ) { if (didSuspend) { - if (workInProgress.flags & 128) + if (workInProgress.flags & 256) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags &= -129), + (workInProgress.flags &= -257), (suspenseState = createCapturedValue( Error(formatProdErrorMessage(422)) )), @@ -4390,7 +4390,7 @@ function updateDehydratedSuspenseComponent( return ( reuseSuspenseHandlerOnStack(), (workInProgress.child = current.child), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); reuseSuspenseHandlerOnStack(); @@ -4505,14 +4505,14 @@ function updateDehydratedSuspenseComponent( } if (shim()) return ( - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), (workInProgress.child = current.child), retryDehydratedSuspenseBoundary.bind(null, current), shim(), null ); current = mountSuspensePrimaryChildren(workInProgress, nextProps.children); - current.flags |= 2048; + current.flags |= 4096; return current; } function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) { @@ -4552,9 +4552,9 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) { reconcileChildren(current, workInProgress, nextProps.children, renderLanes); nextProps = suspenseStackCursor.current; if (0 !== (nextProps & 2)) - (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 64); + (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 128); else { - if (null !== current && 0 !== (current.flags & 64)) + if (null !== current && 0 !== (current.flags & 128)) a: for (current = workInProgress.child; null !== current; ) { if (13 === current.tag) null !== current.memoizedState && @@ -4718,7 +4718,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (null !== state.dehydrated) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); if (0 !== (renderLanes & workInProgress.child.childLanes)) @@ -4734,7 +4734,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( pushPrimaryTreeSuspenseHandler(workInProgress); break; case 19: - var didSuspendBefore = 0 !== (current.flags & 64); + var didSuspendBefore = 0 !== (current.flags & 128); state = 0 !== (renderLanes & workInProgress.childLanes); enableLazyContextPropagation && !state && @@ -4752,7 +4752,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( workInProgress, renderLanes ); - workInProgress.flags |= 64; + workInProgress.flags |= 128; } didSuspendBefore = workInProgress.memoizedState; null !== didSuspendBefore && @@ -4953,8 +4953,8 @@ function propagateParentContextChanges( ) { if (!isInsidePropagationBailout) - if (0 !== (parent.flags & 262144)) isInsidePropagationBailout = !0; - else if (0 !== (parent.flags & 131072)) break; + if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = !0; + else if (0 !== (parent.flags & 262144)) break; if (10 === parent.tag) { var currentParent = parent.alternate; if (null === currentParent) throw Error(formatProdErrorMessage(387)); @@ -4974,7 +4974,7 @@ function propagateParentContextChanges( renderLanes, forcePropagateEntireTree ); - workInProgress.flags |= 131072; + workInProgress.flags |= 262144; } } function checkIfContextChanged(currentDependencies) { @@ -5021,7 +5021,7 @@ function readContext(context) { firstContext: context }; enableLazyContextPropagation && - (currentlyRenderingFiber$1.flags |= 262144); + (currentlyRenderingFiber$1.flags |= 524288); } else lastContextDependency = lastContextDependency.next = context; return value; } @@ -5268,8 +5268,8 @@ function bubbleProperties(completedWork) { if (didBailout) for (var child$74 = completedWork.child; null !== child$74; ) (newChildLanes |= child$74.lanes | child$74.childLanes), - (subtreeFlags |= child$74.subtreeFlags & 7340032), - (subtreeFlags |= child$74.flags & 7340032), + (subtreeFlags |= child$74.subtreeFlags & 14680064), + (subtreeFlags |= child$74.flags & 14680064), (child$74.return = completedWork), (child$74 = child$74.sibling); else @@ -5309,11 +5309,11 @@ function completeWork(current, workInProgress, renderLanes) { (renderLanes = workInProgress.stateNode), enableTransitionTracing && null !== workInProgressTransitions && - (workInProgress.flags |= 1024), + (workInProgress.flags |= 2048), (newProps = null), null !== current && (newProps = current.memoizedState.cache), workInProgress.memoizedState.cache !== newProps && - (workInProgress.flags |= 1024), + (workInProgress.flags |= 2048), popProvider(CacheContext), enableTransitionTracing && enableTransitionTracing && @@ -5329,16 +5329,16 @@ function completeWork(current, workInProgress, renderLanes) { (null !== current && null !== current.child) || null === current || (current.memoizedState.isDehydrated && - 0 === (workInProgress.flags & 128)) || - ((workInProgress.flags |= 512), + 0 === (workInProgress.flags & 256)) || + ((workInProgress.flags |= 1024), null !== hydrationErrors && (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null))), updateHostContainer(current, workInProgress), bubbleProperties(workInProgress), enableTransitionTracing && - 0 !== (workInProgress.subtreeFlags & 4096) && - (workInProgress.flags |= 1024), + 0 !== (workInProgress.subtreeFlags & 8192) && + (workInProgress.flags |= 2048), null ); case 26: @@ -5349,7 +5349,7 @@ function completeWork(current, workInProgress, renderLanes) { if (null !== current && null != workInProgress.stateNode) updateHostComponent$1(current, workInProgress, renderLanes, newProps), current.ref !== workInProgress.ref && - (workInProgress.flags |= 1048832); + (workInProgress.flags |= 2097664); else { if (!newProps) { if (null === workInProgress.stateNode) @@ -5384,7 +5384,7 @@ function completeWork(current, workInProgress, renderLanes) { current = instance; appendAllChildren(current, workInProgress, !1, !1); workInProgress.stateNode = current; - null !== workInProgress.ref && (workInProgress.flags |= 1048832); + null !== workInProgress.ref && (workInProgress.flags |= 2097664); } bubbleProperties(workInProgress); return null; @@ -5416,7 +5416,7 @@ function completeWork(current, workInProgress, renderLanes) { throw Error(formatProdErrorMessage(318)); throw Error(formatProdErrorMessage(344)); } - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (workInProgress.memoizedState = null); workInProgress.flags |= 4; bubbleProperties(workInProgress); @@ -5426,9 +5426,9 @@ function completeWork(current, workInProgress, renderLanes) { (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null)), (JSCompiler_inline_result = !0); if (!JSCompiler_inline_result) - return workInProgress.flags & 32768 ? workInProgress : null; + return workInProgress.flags & 65536 ? workInProgress : null; } - if (0 !== (workInProgress.flags & 64)) + if (0 !== (workInProgress.flags & 128)) return (workInProgress.lanes = renderLanes), workInProgress; renderLanes = null !== instance; instance = null !== current && null !== current.memoizedState; @@ -5445,12 +5445,12 @@ function completeWork(current, workInProgress, renderLanes) { null !== JSCompiler_inline_result.memoizedState.cachePool && (cache$78 = JSCompiler_inline_result.memoizedState.cachePool.pool); cache$78 !== previousCache$77 && - (JSCompiler_inline_result.flags |= 1024); + (JSCompiler_inline_result.flags |= 2048); } renderLanes !== instance && - (enableTransitionTracing && (workInProgress.child.flags |= 1024), + (enableTransitionTracing && (workInProgress.child.flags |= 2048), renderLanes && - ((workInProgress.child.flags |= 4096), + ((workInProgress.child.flags |= 8192), 0 !== (workInProgress.mode & 1) && (isBadSuspenseFallback(current, newProps) ? renderDidSuspendDelayIfPossible() @@ -5485,19 +5485,19 @@ function completeWork(current, workInProgress, renderLanes) { pop(suspenseStackCursor); instance = workInProgress.memoizedState; if (null === instance) return bubbleProperties(workInProgress), null; - newProps = 0 !== (workInProgress.flags & 64); + newProps = 0 !== (workInProgress.flags & 128); JSCompiler_inline_result = instance.rendering; if (null === JSCompiler_inline_result) if (newProps) cutOffTailIfNeeded(instance, !1); else { if ( 0 !== workInProgressRootExitStatus || - (null !== current && 0 !== (current.flags & 64)) + (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { JSCompiler_inline_result = findFirstSuspended(current); if (null !== JSCompiler_inline_result) { - workInProgress.flags |= 64; + workInProgress.flags |= 128; cutOffTailIfNeeded(instance, !1); current = JSCompiler_inline_result.updateQueue; null !== current && @@ -5518,7 +5518,7 @@ function completeWork(current, workInProgress, renderLanes) { } null !== instance.tail && now() > workInProgressRootRenderTargetTime && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(instance, !1), (workInProgress.lanes = 4194304)); @@ -5530,7 +5530,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== current) ) { if ( - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), (current = current.updateQueue), null !== current && @@ -5546,7 +5546,7 @@ function completeWork(current, workInProgress, renderLanes) { 2 * now() - instance.renderingStartTime > workInProgressRootRenderTargetTime && 1073741824 !== renderLanes && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(instance, !1), (workInProgress.lanes = 4194304)); @@ -5583,10 +5583,10 @@ function completeWork(current, workInProgress, renderLanes) { }), shim$1(), null !== workInProgress.ref && - ((workInProgress.flags |= 1048832), (workInProgress.flags |= 4))) + ((workInProgress.flags |= 2097664), (workInProgress.flags |= 4))) : (null !== workInProgress.ref && (workInProgress.flags |= 4), current.ref !== workInProgress.ref && - (workInProgress.flags |= 1048832)), + (workInProgress.flags |= 2097664)), bubbleProperties(workInProgress), null ); @@ -5599,15 +5599,15 @@ function completeWork(current, workInProgress, renderLanes) { 23 !== workInProgress.tag && (null !== current ? (null !== current.memoizedState) !== newProps && - (workInProgress.flags |= 4096) - : newProps && (workInProgress.flags |= 4096)), + (workInProgress.flags |= 8192) + : newProps && (workInProgress.flags |= 8192)), newProps && 0 !== (workInProgress.mode & 1) ? 0 !== (renderLanes & 1073741824) && - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (bubbleProperties(workInProgress), 23 !== workInProgress.tag && workInProgress.subtreeFlags & 6 && - (workInProgress.flags |= 4096)) + (workInProgress.flags |= 8192)) : bubbleProperties(workInProgress), null !== workInProgress.updateQueue && (workInProgress.flags |= 4), (renderLanes = null), @@ -5619,7 +5619,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== workInProgress.memoizedState && null !== workInProgress.memoizedState.cachePool && (newProps = workInProgress.memoizedState.cachePool.pool), - newProps !== renderLanes && (workInProgress.flags |= 1024), + newProps !== renderLanes && (workInProgress.flags |= 2048), popTransition(workInProgress, current), null ); @@ -5628,7 +5628,7 @@ function completeWork(current, workInProgress, renderLanes) { (renderLanes = null), null !== current && (renderLanes = current.memoizedState.cache), workInProgress.memoizedState.cache !== renderLanes && - (workInProgress.flags |= 1024), + (workInProgress.flags |= 2048), popProvider(CacheContext), bubbleProperties(workInProgress), null @@ -5652,8 +5652,8 @@ function unwindWork(current, workInProgress) { return ( isContextProvider(workInProgress.type) && popContext(), (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 3: @@ -5668,8 +5668,8 @@ function unwindWork(current, workInProgress) { pop(contextStackCursor), resetWorkInProgressVersions(), (current = workInProgress.flags), - 0 !== (current & 32768) && 0 === (current & 64) - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + 0 !== (current & 65536) && 0 === (current & 128) + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 26: @@ -5686,8 +5686,8 @@ function unwindWork(current, workInProgress) { ) throw Error(formatProdErrorMessage(340)); current = workInProgress.flags; - return current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + return current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null; case 19: return pop(suspenseStackCursor), null; @@ -5702,8 +5702,8 @@ function unwindWork(current, workInProgress) { popHiddenContext(), popTransition(workInProgress, current), (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 24: @@ -5841,7 +5841,7 @@ function commitBeforeMutationEffects(root, firstChild) { doesFiberContain(firstChild[i], focusedInstanceHandle) && (shouldFireAfterActiveInstanceBlur = !0); firstChild = root.child; - if (0 !== (root.subtreeFlags & 4620) && null !== firstChild) + if (0 !== (root.subtreeFlags & 9236) && null !== firstChild) (firstChild.return = root), (nextEffect = firstChild); else for (; null !== nextEffect; ) { @@ -5892,7 +5892,7 @@ function commitBeforeMutationEffects(root, firstChild) { case 15: break; case 1: - if (0 !== (flags & 512) && null !== current) { + if (0 !== (flags & 1024) && null !== current) { var prevProps = current.memoizedProps, prevState = current.memoizedState, instance = root.stateNode, @@ -5915,7 +5915,8 @@ function commitBeforeMutationEffects(root, firstChild) { case 17: break; default: - if (0 !== (flags & 512)) throw Error(formatProdErrorMessage(163)); + if (0 !== (flags & 1024)) + throw Error(formatProdErrorMessage(163)); } } catch (error) { captureCommitPhaseError(root, root.return, error); @@ -6024,12 +6025,12 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ); } } - flags & 32 && commitClassCallbacks(finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 64 && commitClassCallbacks(finishedWork); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 3: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 32 && ((flags = finishedWork.updateQueue), null !== flags)) { + if (flags & 64 && ((flags = finishedWork.updateQueue), null !== flags)) { finishedRoot = null; if (null !== finishedWork.child) switch (finishedWork.child.tag) { @@ -6051,7 +6052,7 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { case 27: case 5: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -6077,14 +6078,14 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ? recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, - 0 !== (finishedWork.subtreeFlags & 4388) + 0 !== (finishedWork.subtreeFlags & 8772) ) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; } } else recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && + flags & 512 && ("manual" === finishedWork.memoizedProps.mode ? safelyAttachRef(finishedWork, finishedWork.return) : safelyDetachRef(finishedWork, finishedWork.return)); @@ -6570,7 +6571,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { captureCommitPhaseError(childToDelete, parentFiber, error); } } - if (parentFiber.subtreeFlags & 6430) + if (parentFiber.subtreeFlags & 12854) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), (parentFiber = parentFiber.sibling); @@ -6602,10 +6603,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 1: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); - flags & 32 && + flags & 64 && offscreenSubtreeIsHidden && ((finishedWork = finishedWork.updateQueue), null !== finishedWork && @@ -6620,7 +6621,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 5: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); if (flags & 4 && ((flags = finishedWork.stateNode), null != flags)) { @@ -6658,7 +6659,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); current = finishedWork.child; - current.flags & 4096 && + current.flags & 8192 && null !== current.memoizedState && (null === current.alternate || null === current.alternate.memoizedState) && @@ -6682,7 +6683,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { } break; case 22: - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); suspenseCallback = null !== finishedWork.memoizedState; @@ -6700,7 +6701,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { commitReconciliationEffects(finishedWork); finishedWork.stateNode._current = finishedWork; if ( - flags & 4096 && + flags & 8192 && ((root = finishedWork.stateNode), (root._visibility = suspenseCallback ? root._visibility & -2 @@ -6776,7 +6777,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 21: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && (null !== current && safelyDetachRef(finishedWork, finishedWork.return), safelyAttachRef(finishedWork, finishedWork.return)); flags & 4 && shim$1(); @@ -6804,8 +6805,8 @@ function commitReconciliationEffects(finishedWork) { case 27: case 5: var parent$jscomp$0 = JSCompiler_inline_result.stateNode; - JSCompiler_inline_result.flags & 16 && - (JSCompiler_inline_result.flags &= -17); + JSCompiler_inline_result.flags & 32 && + (JSCompiler_inline_result.flags &= -33); var before = getHostSibling(finishedWork); insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0); break; @@ -6827,10 +6828,10 @@ function commitReconciliationEffects(finishedWork) { } finishedWork.flags &= -3; } - flags & 2048 && (finishedWork.flags &= -2049); + flags & 4096 && (finishedWork.flags &= -4097); } function recursivelyTraverseLayoutEffects(root, parentFiber) { - if (parentFiber.subtreeFlags & 4388) + if (parentFiber.subtreeFlags & 8772) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber), (parentFiber = parentFiber.sibling); @@ -6884,7 +6885,7 @@ function recursivelyTraverseReappearLayoutEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 4388); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -6925,7 +6926,7 @@ function recursivelyTraverseReappearLayoutEffects( callCallback(hiddenCallbacks[finishedRoot], instance); } includeWorkInProgressEffects && - flags & 32 && + flags & 64 && commitClassCallbacks(finishedWork); safelyAttachRef(finishedWork, finishedWork.return); break; @@ -7055,7 +7056,7 @@ function recursivelyTraversePassiveMountEffects( committedLanes, committedTransitions ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveMountOnFiber( root, @@ -7082,7 +7083,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && commitHookPassiveMountEffects(finishedWork, 9); + flags & 2048 && commitHookPassiveMountEffects(finishedWork, 9); break; case 3: recursivelyTraversePassiveMountEffects( @@ -7091,7 +7092,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - if (flags & 1024) { + if (flags & 2048) { flags = null; null !== finishedWork.alternate && (flags = finishedWork.alternate.memoizedState.cache); @@ -7152,7 +7153,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -7191,9 +7192,9 @@ function commitPassiveMountOnFiber( finishedWork, committedLanes, committedTransitions, - 0 !== (finishedWork.subtreeFlags & 5128) + 0 !== (finishedWork.subtreeFlags & 10256) )); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -7207,7 +7208,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; case 25: @@ -7218,7 +7219,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && commitTracingMarkerPassiveMountEffect(finishedWork); + flags & 2048 && commitTracingMarkerPassiveMountEffect(finishedWork); break; } default: @@ -7238,7 +7239,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 5128); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 10256); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -7267,7 +7268,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -7307,7 +7308,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects )); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -7323,7 +7324,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; case 25: @@ -7336,7 +7337,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitTracingMarkerPassiveMountEffect(finishedWork); break; } @@ -7356,7 +7357,7 @@ function recursivelyTraverseAtomicPassiveEffects( finishedRoot$jscomp$0, parentFiber ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -7364,7 +7365,7 @@ function recursivelyTraverseAtomicPassiveEffects( switch (finishedWork.tag) { case 22: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -7373,7 +7374,7 @@ function recursivelyTraverseAtomicPassiveEffects( break; case 24: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: @@ -7398,7 +7399,7 @@ function detachAlternateSiblings(parentFiber) { } function recursivelyTraversePassiveUnmountEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -7410,7 +7411,7 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) { } detachAlternateSiblings(parentFiber); } - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveUnmountOnFiber(parentFiber), (parentFiber = parentFiber.sibling); @@ -7421,7 +7422,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { case 11: case 15: recursivelyTraversePassiveUnmountEffects(finishedWork); - finishedWork.flags & 1024 && + finishedWork.flags & 2048 && commitHookEffectListUnmount(9, finishedWork, finishedWork.return); break; case 22: @@ -7439,7 +7440,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -8001,7 +8002,7 @@ function recoverFromConcurrentError( var errorsFromFirstAttempt = workInProgressRootConcurrentErrors, JSCompiler_inline_result; (JSCompiler_inline_result = root.current.memoizedState.isDehydrated) && - (prepareFreshStack(root, errorRetryLanes).flags |= 128); + (prepareFreshStack(root, errorRetryLanes).flags |= 256); errorRetryLanes = renderRootSync(root, errorRetryLanes); if (2 !== errorRetryLanes) { if (workInProgressRootDidAttachPingListener && !JSCompiler_inline_result) @@ -8026,7 +8027,7 @@ function queueRecoverableErrors(errors) { } function isRenderConsistentWithExternalStores(finishedWork) { for (var node = finishedWork; ; ) { - if (node.flags & 8192) { + if (node.flags & 16384) { var updateQueue = node.updateQueue; if ( null !== updateQueue && @@ -8044,7 +8045,7 @@ function isRenderConsistentWithExternalStores(finishedWork) { } } updateQueue = node.child; - if (node.subtreeFlags & 8192 && null !== updateQueue) + if (node.subtreeFlags & 16384 && null !== updateQueue) (updateQueue.return = node), (node = updateQueue); else { if (node === finishedWork) break; @@ -8383,7 +8384,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var root = workInProgressRoot, value = thrownValue; thrownValue = workInProgressRootRenderLanes; - unitOfWork.flags |= 16384; + unitOfWork.flags |= 32768; if ( null !== value && "object" === typeof value && @@ -8417,14 +8418,14 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { if (null !== suspenseBoundary) { switch (suspenseBoundary.tag) { case 13: - suspenseBoundary.flags &= -129; + suspenseBoundary.flags &= -257; if (0 === (suspenseBoundary.mode & 1)) if (suspenseBoundary === returnFiber) - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; else { - suspenseBoundary.flags |= 64; - unitOfWork.flags |= 65536; - unitOfWork.flags &= -26405; + suspenseBoundary.flags |= 128; + unitOfWork.flags |= 131072; + unitOfWork.flags &= -52805; if (1 === unitOfWork.tag) if (null === unitOfWork.alternate) unitOfWork.tag = 17; else { @@ -8435,7 +8436,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { unitOfWork.lanes |= 1; } else - (suspenseBoundary.flags |= 32768), + (suspenseBoundary.flags |= 65536), (suspenseBoundary.lanes = thrownValue); var wakeables = suspenseBoundary.updateQueue; null === wakeables @@ -8444,7 +8445,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { break; case 22: if (suspenseBoundary.mode & 1) { - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; var offscreenQueue = suspenseBoundary.updateQueue; if (null === offscreenQueue) { var newOffscreenQueue = { @@ -8484,7 +8485,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { switch (root.tag) { case 3: var errorInfo = value; - root.flags |= 32768; + root.flags |= 65536; thrownValue &= -thrownValue; root.lanes |= thrownValue; var update$jscomp$0 = createRootErrorUpdate( @@ -8499,14 +8500,14 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var ctor = root.type, instance = root.stateNode; if ( - 0 === (root.flags & 64) && + 0 === (root.flags & 128) && ("function" === typeof ctor.getDerivedStateFromError || (null !== instance && "function" === typeof instance.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(instance)))) ) { - root.flags |= 32768; + root.flags |= 65536; update$jscomp$0 = thrownValue & -thrownValue; root.lanes |= update$jscomp$0; errorInfo = createClassErrorUpdate( @@ -8532,7 +8533,7 @@ function completeUnitOfWork(unitOfWork) { do { var current = completedWork.alternate; unitOfWork = completedWork.return; - if (0 === (completedWork.flags & 16384)) { + if (0 === (completedWork.flags & 32768)) { if ( ((current = completeWork(current, completedWork, renderLanes$1)), null !== current) @@ -8548,7 +8549,7 @@ function completeUnitOfWork(unitOfWork) { return; } if (null !== unitOfWork) - (unitOfWork.flags |= 16384), + (unitOfWork.flags |= 32768), (unitOfWork.subtreeFlags = 0), (unitOfWork.deletions = null); else { @@ -8607,8 +8608,8 @@ function commitRootImpl( root === workInProgressRoot && ((workInProgress = workInProgressRoot = null), (workInProgressRootRenderLanes = 0)); - (0 === (finishedWork.subtreeFlags & 5128) && - 0 === (finishedWork.flags & 5128)) || + (0 === (finishedWork.subtreeFlags & 10256) && + 0 === (finishedWork.flags & 10256)) || rootDoesHavePassiveEffects || ((rootDoesHavePassiveEffects = !0), (pendingPassiveEffectsRemainingLanes = remainingLanes), @@ -8617,8 +8618,8 @@ function commitRootImpl( flushPassiveEffects(); return null; })); - transitions = 0 !== (finishedWork.flags & 7998); - if (0 !== (finishedWork.subtreeFlags & 7998) || transitions) { + transitions = 0 !== (finishedWork.flags & 15990); + if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) { transitions = ReactCurrentBatchConfig$2.transition; ReactCurrentBatchConfig$2.transition = null; var previousPriority = currentUpdatePriority; @@ -8878,7 +8879,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { else { if ( !checkScheduledUpdateOrContext(current, renderLanes) && - 0 === (workInProgress.flags & 64) + 0 === (workInProgress.flags & 128) ) return ( (didReceiveUpdate = !1), @@ -8888,7 +8889,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { renderLanes ) ); - didReceiveUpdate = 0 !== (current.flags & 65536) ? !0 : !1; + didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1; } else didReceiveUpdate = !1; workInProgress.lanes = 0; @@ -9037,7 +9038,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { ? (nextCache = null) : null !== nextProps && shouldSetTextContent(Component, nextProps) && - (workInProgress.flags |= 16), + (workInProgress.flags |= 32), markRef(current, workInProgress), reconcileChildren(current, workInProgress, nextCache, renderLanes), workInProgress.child @@ -9275,7 +9276,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { aborts: null }), (workInProgress.stateNode = Component), - (workInProgress.flags |= 1024))), + (workInProgress.flags |= 2048))), (Component = workInProgress.stateNode), null !== Component && pushMarkerInstance(workInProgress, Component), @@ -9345,7 +9346,7 @@ function createWorkInProgress(current, pendingProps) { (workInProgress.flags = 0), (workInProgress.subtreeFlags = 0), (workInProgress.deletions = null)); - workInProgress.flags = current.flags & 7340032; + workInProgress.flags = current.flags & 14680064; workInProgress.childLanes = current.childLanes; workInProgress.lanes = current.lanes; workInProgress.child = current.child; @@ -9364,7 +9365,7 @@ function createWorkInProgress(current, pendingProps) { return workInProgress; } function resetWorkInProgress(workInProgress, renderLanes) { - workInProgress.flags &= 7340034; + workInProgress.flags &= 14680066; var current = workInProgress.alternate; null === current ? ((workInProgress.childLanes = 0), @@ -9781,7 +9782,7 @@ var slice = Array.prototype.slice, return null; }, bundleType: 0, - version: "18.3.0-www-classic-645ae2686-20221206", + version: "18.3.0-www-classic-d69b2cf82-20221206", rendererPackageName: "react-art" }; var internals$jscomp$inline_1336 = { @@ -9812,7 +9813,7 @@ var internals$jscomp$inline_1336 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-next-645ae2686-20221206" + reconcilerVersion: "18.3.0-next-d69b2cf82-20221206" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1337 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index cb6697b98e..d2e6140472 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -114,7 +114,7 @@ function getNearestMountedFiber(fiber) { fiber = node; do (node = fiber), - 0 !== (node.flags & 2050) && (nearestMounted = node.return), + 0 !== (node.flags & 4098) && (nearestMounted = node.return), (fiber = node.return); while (fiber); } @@ -264,7 +264,7 @@ function onCommitRoot(root) { rendererID, root, void 0, - 64 === (root.current.flags & 64) + 128 === (root.current.flags & 128) ); } catch (err) {} } @@ -1116,7 +1116,7 @@ function processUpdateQueue( newState = workInProgress; break a; case 3: - workInProgress.flags = (workInProgress.flags & -32769) | 64; + workInProgress.flags = (workInProgress.flags & -65537) | 128; case 0: workInProgress = update.payload; updateLane = @@ -1132,8 +1132,8 @@ function processUpdateQueue( } updateLane = pendingQueue.callback; null !== updateLane && - ((workInProgress$jscomp$0.flags |= 32), - isHiddenUpdate && (workInProgress$jscomp$0.flags |= 4096), + ((workInProgress$jscomp$0.flags |= 64), + isHiddenUpdate && (workInProgress$jscomp$0.flags |= 8192), (isHiddenUpdate = queue.callbacks), null === isHiddenUpdate ? (queue.callbacks = [updateLane]) @@ -1292,7 +1292,7 @@ function createChildReconciler(shouldTrackSideEffects) { if (shouldTrackSideEffects) { var deletions = returnFiber.deletions; null === deletions - ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 8)) + ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16)) : deletions.push(childToDelete); } } @@ -1320,22 +1320,22 @@ function createChildReconciler(shouldTrackSideEffects) { function placeChild(newFiber, lastPlacedIndex, newIndex) { newFiber.index = newIndex; if (!shouldTrackSideEffects) - return (newFiber.flags |= 524288), lastPlacedIndex; + return (newFiber.flags |= 1048576), lastPlacedIndex; newIndex = newFiber.alternate; if (null !== newIndex) return ( (newIndex = newIndex.index), newIndex < lastPlacedIndex - ? ((newFiber.flags |= 8388610), lastPlacedIndex) + ? ((newFiber.flags |= 16777218), lastPlacedIndex) : newIndex ); - newFiber.flags |= 8388610; + newFiber.flags |= 16777218; return lastPlacedIndex; } function placeSingleChild(newFiber) { shouldTrackSideEffects && null === newFiber.alternate && - (newFiber.flags |= 8388610); + (newFiber.flags |= 16777218); return newFiber; } function updateTextNode(returnFiber, current, textContent, lanes) { @@ -1961,7 +1961,7 @@ function findFirstSuspended(row) { if (null !== state && (null === state.dehydrated || shim() || shim())) return node; } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) { - if (0 !== (node.flags & 64)) return node; + if (0 !== (node.flags & 128)) return node; } else if (null !== node.child) { node.child.return = node; node = node.child; @@ -2116,7 +2116,7 @@ function renderWithHooksAgain(workInProgress, Component, props, secondArg) { } function bailoutHooks(current, workInProgress, lanes) { workInProgress.updateQueue = current.updateQueue; - workInProgress.flags &= -1029; + workInProgress.flags &= -2053; current.lanes &= ~lanes; } function resetHooksOnUnwind() { @@ -2445,7 +2445,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { snapshotChanged || (null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1) ) { - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind(null, fiber, hook, nextSnapshot, getSnapshot), @@ -2460,7 +2460,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { return nextSnapshot; } function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) { - fiber.flags |= 8192; + fiber.flags |= 16384; fiber = { getSnapshot: getSnapshot, value: renderedSnapshot }; getSnapshot = currentlyRenderingFiber.updateQueue; null === getSnapshot @@ -2560,10 +2560,10 @@ function updateEffectImpl(fiberFlags, hookFlags, create, deps) { hook.memoizedState = pushEffect(1 | hookFlags, create, destroy, deps); } function mountEffect(create, deps) { - mountEffectImpl(4195328, 8, create, deps); + mountEffectImpl(8390656, 8, create, deps); } function updateEffect(create, deps) { - updateEffectImpl(1024, 8, create, deps); + updateEffectImpl(2048, 8, create, deps); } function useEventImpl(payload) { currentlyRenderingFiber.flags |= 4; @@ -2824,14 +2824,14 @@ var HooksDispatcherOnMount = { useImperativeHandle: function(ref, create, deps) { deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; mountEffectImpl( - 2097156, + 4194308, 4, imperativeHandleEffect.bind(null, create, ref), deps ); }, useLayoutEffect: function(create, deps) { - return mountEffectImpl(2097156, 4, create, deps); + return mountEffectImpl(4194308, 4, create, deps); }, useInsertionEffect: function(create, deps) { mountEffectImpl(4, 2, create, deps); @@ -2908,7 +2908,7 @@ var HooksDispatcherOnMount = { mountEffect(subscribeToStore.bind(null, fiber, root, subscribe), [ subscribe ]); - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind(null, fiber, root, nextSnapshot, getSnapshot), @@ -3154,7 +3154,7 @@ function mountClassInstance(workInProgress, ctor, newProps, renderLanes) { processUpdateQueue(workInProgress, newProps, instance, renderLanes), (instance.state = workInProgress.memoizedState)); "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156); + (workInProgress.flags |= 4194308); } function createCapturedValueAtFiber(value, source) { try { @@ -3488,7 +3488,7 @@ function updateSimpleMemoComponent( (workInProgress.pendingProps = nextProps = prevProps), checkScheduledUpdateOrContext(current, renderLanes)) ) - 0 !== (current.flags & 65536) && (didReceiveUpdate = !0); + 0 !== (current.flags & 131072) && (didReceiveUpdate = !0); else return ( (workInProgress.lanes = current.lanes), @@ -3513,7 +3513,7 @@ function updateOffscreenComponent(current, workInProgress, renderLanes) { "unstable-defer-without-hiding" === nextProps.mode || workInProgress.stateNode._visibility & 2 ) { - if (0 !== (workInProgress.flags & 64)) { + if (0 !== (workInProgress.flags & 128)) { nextChildren = null !== prevState ? prevState.baseLanes | renderLanes : renderLanes; if (null !== current) { @@ -3606,7 +3606,7 @@ function markRef(current, workInProgress) { (null === current && null !== ref) || (null !== current && current.ref !== ref) ) - (workInProgress.flags |= 256), (workInProgress.flags |= 1048576); + (workInProgress.flags |= 512), (workInProgress.flags |= 2097152); } function updateFunctionComponent( current, @@ -3726,9 +3726,9 @@ function updateClassComponent( "function" === typeof instance.UNSAFE_componentWillMount && instance.UNSAFE_componentWillMount()), "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156)) + (workInProgress.flags |= 4194308)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = oldContext)), (instance.props = nextProps), @@ -3736,7 +3736,7 @@ function updateClassComponent( (instance.context = nextContext), (nextProps = oldProps)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (nextProps = !1)); } else { instance = workInProgress.stateNode; @@ -3817,7 +3817,7 @@ function updateClassComponent( "function" === typeof instance.componentDidUpdate && (workInProgress.flags |= 4), "function" === typeof instance.getSnapshotBeforeUpdate && - (workInProgress.flags |= 512)) + (workInProgress.flags |= 1024)) : ("function" !== typeof instance.componentDidUpdate || (nextContext === current.memoizedProps && oldContext$jscomp$0 === current.memoizedState) || @@ -3825,7 +3825,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (nextContext === current.memoizedProps && oldContext$jscomp$0 === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = newState)), (instance.props = nextProps), @@ -3839,7 +3839,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (nextContext === current.memoizedProps && oldContext$jscomp$0 === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (nextProps = !1)); } return finishClassComponent( @@ -3860,7 +3860,7 @@ function finishClassComponent( renderLanes ) { markRef(current, workInProgress); - hasContext = 0 !== (workInProgress.flags & 64); + hasContext = 0 !== (workInProgress.flags & 128); if (!shouldUpdate && !hasContext) return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); shouldUpdate = workInProgress.stateNode; @@ -3894,14 +3894,14 @@ function mountSuspenseOffscreenState(renderLanes) { function updateSuspenseComponent(current, workInProgress, renderLanes) { var nextProps = workInProgress.pendingProps, showFallback = !1, - didSuspend = 0 !== (workInProgress.flags & 64), + didSuspend = 0 !== (workInProgress.flags & 128), JSCompiler_temp; (JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & 2)); - JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -65)); + JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -129)); if (null === current) { current = nextProps.children; didSuspend = nextProps.fallback; @@ -3982,7 +3982,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.pendingProps = primaryChildProps), (workInProgress.deletions = null)) : ((nextProps = createWorkInProgress(JSCompiler_temp, primaryChildProps)), - (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 7340032)); + (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 14680064)); null !== dehydrated ? (showFallback = createWorkInProgress(dehydrated, showFallback)) : ((showFallback = createFiberFromFragment( @@ -4054,7 +4054,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes - ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 8)) + ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); workInProgress.child = nextProps; workInProgress.memoizedState = null; @@ -4129,10 +4129,10 @@ function updateDehydratedSuspenseComponent( renderLanes ) { if (didSuspend) { - if (workInProgress.flags & 128) + if (workInProgress.flags & 256) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags &= -129), + (workInProgress.flags &= -257), (suspenseState = createCapturedValue( Error(formatProdErrorMessage(422)) )), @@ -4147,7 +4147,7 @@ function updateDehydratedSuspenseComponent( return ( reuseSuspenseHandlerOnStack(), (workInProgress.child = current.child), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); reuseSuspenseHandlerOnStack(); @@ -4262,14 +4262,14 @@ function updateDehydratedSuspenseComponent( } if (shim()) return ( - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), (workInProgress.child = current.child), retryDehydratedSuspenseBoundary.bind(null, current), shim(), null ); current = mountSuspensePrimaryChildren(workInProgress, nextProps.children); - current.flags |= 2048; + current.flags |= 4096; return current; } function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) { @@ -4309,9 +4309,9 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) { reconcileChildren(current, workInProgress, nextProps.children, renderLanes); nextProps = suspenseStackCursor.current; if (0 !== (nextProps & 2)) - (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 64); + (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 128); else { - if (null !== current && 0 !== (current.flags & 64)) + if (null !== current && 0 !== (current.flags & 128)) a: for (current = workInProgress.child; null !== current; ) { if (13 === current.tag) null !== current.memoizedState && @@ -4471,7 +4471,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (null !== state.dehydrated) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); if (0 !== (renderLanes & workInProgress.child.childLanes)) @@ -4487,7 +4487,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( pushPrimaryTreeSuspenseHandler(workInProgress); break; case 19: - var didSuspendBefore = 0 !== (current.flags & 64); + var didSuspendBefore = 0 !== (current.flags & 128); state = 0 !== (renderLanes & workInProgress.childLanes); enableLazyContextPropagation && !state && @@ -4505,7 +4505,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( workInProgress, renderLanes ); - workInProgress.flags |= 64; + workInProgress.flags |= 128; } didSuspendBefore = workInProgress.memoizedState; null !== didSuspendBefore && @@ -4706,8 +4706,8 @@ function propagateParentContextChanges( ) { if (!isInsidePropagationBailout) - if (0 !== (parent.flags & 262144)) isInsidePropagationBailout = !0; - else if (0 !== (parent.flags & 131072)) break; + if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = !0; + else if (0 !== (parent.flags & 262144)) break; if (10 === parent.tag) { var currentParent = parent.alternate; if (null === currentParent) throw Error(formatProdErrorMessage(387)); @@ -4727,7 +4727,7 @@ function propagateParentContextChanges( renderLanes, forcePropagateEntireTree ); - workInProgress.flags |= 131072; + workInProgress.flags |= 262144; } } function checkIfContextChanged(currentDependencies) { @@ -4774,7 +4774,7 @@ function readContext(context) { firstContext: context }; enableLazyContextPropagation && - (currentlyRenderingFiber$1.flags |= 262144); + (currentlyRenderingFiber$1.flags |= 524288); } else lastContextDependency = lastContextDependency.next = context; return value; } @@ -5021,8 +5021,8 @@ function bubbleProperties(completedWork) { if (didBailout) for (var child$74 = completedWork.child; null !== child$74; ) (newChildLanes |= child$74.lanes | child$74.childLanes), - (subtreeFlags |= child$74.subtreeFlags & 7340032), - (subtreeFlags |= child$74.flags & 7340032), + (subtreeFlags |= child$74.subtreeFlags & 14680064), + (subtreeFlags |= child$74.flags & 14680064), (child$74.return = completedWork), (child$74 = child$74.sibling); else @@ -5058,11 +5058,11 @@ function completeWork(current, workInProgress, renderLanes) { (renderLanes = workInProgress.stateNode), enableTransitionTracing && null !== workInProgressTransitions && - (workInProgress.flags |= 1024), + (workInProgress.flags |= 2048), (newProps = null), null !== current && (newProps = current.memoizedState.cache), workInProgress.memoizedState.cache !== newProps && - (workInProgress.flags |= 1024), + (workInProgress.flags |= 2048), popProvider(CacheContext), enableTransitionTracing && enableTransitionTracing && @@ -5076,16 +5076,16 @@ function completeWork(current, workInProgress, renderLanes) { (null !== current && null !== current.child) || null === current || (current.memoizedState.isDehydrated && - 0 === (workInProgress.flags & 128)) || - ((workInProgress.flags |= 512), + 0 === (workInProgress.flags & 256)) || + ((workInProgress.flags |= 1024), null !== hydrationErrors && (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null))), updateHostContainer(current, workInProgress), bubbleProperties(workInProgress), enableTransitionTracing && - 0 !== (workInProgress.subtreeFlags & 4096) && - (workInProgress.flags |= 1024), + 0 !== (workInProgress.subtreeFlags & 8192) && + (workInProgress.flags |= 2048), null ); case 26: @@ -5096,7 +5096,7 @@ function completeWork(current, workInProgress, renderLanes) { if (null !== current && null != workInProgress.stateNode) updateHostComponent$1(current, workInProgress, renderLanes, newProps), current.ref !== workInProgress.ref && - (workInProgress.flags |= 1048832); + (workInProgress.flags |= 2097664); else { if (!newProps) { if (null === workInProgress.stateNode) @@ -5131,7 +5131,7 @@ function completeWork(current, workInProgress, renderLanes) { current = instance; appendAllChildren(current, workInProgress, !1, !1); workInProgress.stateNode = current; - null !== workInProgress.ref && (workInProgress.flags |= 1048832); + null !== workInProgress.ref && (workInProgress.flags |= 2097664); } bubbleProperties(workInProgress); return null; @@ -5163,7 +5163,7 @@ function completeWork(current, workInProgress, renderLanes) { throw Error(formatProdErrorMessage(318)); throw Error(formatProdErrorMessage(344)); } - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (workInProgress.memoizedState = null); workInProgress.flags |= 4; bubbleProperties(workInProgress); @@ -5173,9 +5173,9 @@ function completeWork(current, workInProgress, renderLanes) { (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null)), (JSCompiler_inline_result = !0); if (!JSCompiler_inline_result) - return workInProgress.flags & 32768 ? workInProgress : null; + return workInProgress.flags & 65536 ? workInProgress : null; } - if (0 !== (workInProgress.flags & 64)) + if (0 !== (workInProgress.flags & 128)) return (workInProgress.lanes = renderLanes), workInProgress; renderLanes = null !== instance; instance = null !== current && null !== current.memoizedState; @@ -5192,12 +5192,12 @@ function completeWork(current, workInProgress, renderLanes) { null !== JSCompiler_inline_result.memoizedState.cachePool && (cache$78 = JSCompiler_inline_result.memoizedState.cachePool.pool); cache$78 !== previousCache$77 && - (JSCompiler_inline_result.flags |= 1024); + (JSCompiler_inline_result.flags |= 2048); } renderLanes !== instance && - (enableTransitionTracing && (workInProgress.child.flags |= 1024), + (enableTransitionTracing && (workInProgress.child.flags |= 2048), renderLanes && - ((workInProgress.child.flags |= 4096), + ((workInProgress.child.flags |= 8192), 0 !== (workInProgress.mode & 1) && (isBadSuspenseFallback(current, newProps) ? renderDidSuspendDelayIfPossible() @@ -5228,19 +5228,19 @@ function completeWork(current, workInProgress, renderLanes) { pop(suspenseStackCursor); instance = workInProgress.memoizedState; if (null === instance) return bubbleProperties(workInProgress), null; - newProps = 0 !== (workInProgress.flags & 64); + newProps = 0 !== (workInProgress.flags & 128); JSCompiler_inline_result = instance.rendering; if (null === JSCompiler_inline_result) if (newProps) cutOffTailIfNeeded(instance, !1); else { if ( 0 !== workInProgressRootExitStatus || - (null !== current && 0 !== (current.flags & 64)) + (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { JSCompiler_inline_result = findFirstSuspended(current); if (null !== JSCompiler_inline_result) { - workInProgress.flags |= 64; + workInProgress.flags |= 128; cutOffTailIfNeeded(instance, !1); current = JSCompiler_inline_result.updateQueue; null !== current && @@ -5261,7 +5261,7 @@ function completeWork(current, workInProgress, renderLanes) { } null !== instance.tail && now() > workInProgressRootRenderTargetTime && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(instance, !1), (workInProgress.lanes = 4194304)); @@ -5273,7 +5273,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== current) ) { if ( - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), (current = current.updateQueue), null !== current && @@ -5289,7 +5289,7 @@ function completeWork(current, workInProgress, renderLanes) { 2 * now() - instance.renderingStartTime > workInProgressRootRenderTargetTime && 1073741824 !== renderLanes && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(instance, !1), (workInProgress.lanes = 4194304)); @@ -5326,10 +5326,10 @@ function completeWork(current, workInProgress, renderLanes) { }), shim$1(), null !== workInProgress.ref && - ((workInProgress.flags |= 1048832), (workInProgress.flags |= 4))) + ((workInProgress.flags |= 2097664), (workInProgress.flags |= 4))) : (null !== workInProgress.ref && (workInProgress.flags |= 4), current.ref !== workInProgress.ref && - (workInProgress.flags |= 1048832)), + (workInProgress.flags |= 2097664)), bubbleProperties(workInProgress), null ); @@ -5342,15 +5342,15 @@ function completeWork(current, workInProgress, renderLanes) { 23 !== workInProgress.tag && (null !== current ? (null !== current.memoizedState) !== newProps && - (workInProgress.flags |= 4096) - : newProps && (workInProgress.flags |= 4096)), + (workInProgress.flags |= 8192) + : newProps && (workInProgress.flags |= 8192)), newProps && 0 !== (workInProgress.mode & 1) ? 0 !== (renderLanes & 1073741824) && - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (bubbleProperties(workInProgress), 23 !== workInProgress.tag && workInProgress.subtreeFlags & 6 && - (workInProgress.flags |= 4096)) + (workInProgress.flags |= 8192)) : bubbleProperties(workInProgress), null !== workInProgress.updateQueue && (workInProgress.flags |= 4), (renderLanes = null), @@ -5362,7 +5362,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== workInProgress.memoizedState && null !== workInProgress.memoizedState.cachePool && (newProps = workInProgress.memoizedState.cachePool.pool), - newProps !== renderLanes && (workInProgress.flags |= 1024), + newProps !== renderLanes && (workInProgress.flags |= 2048), popTransition(workInProgress, current), null ); @@ -5371,7 +5371,7 @@ function completeWork(current, workInProgress, renderLanes) { (renderLanes = null), null !== current && (renderLanes = current.memoizedState.cache), workInProgress.memoizedState.cache !== renderLanes && - (workInProgress.flags |= 1024), + (workInProgress.flags |= 2048), popProvider(CacheContext), bubbleProperties(workInProgress), null @@ -5394,8 +5394,8 @@ function unwindWork(current, workInProgress) { case 1: return ( (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 3: @@ -5408,8 +5408,8 @@ function unwindWork(current, workInProgress) { popHostContainer(), resetWorkInProgressVersions(), (current = workInProgress.flags), - 0 !== (current & 32768) && 0 === (current & 64) - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + 0 !== (current & 65536) && 0 === (current & 128) + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 26: @@ -5426,8 +5426,8 @@ function unwindWork(current, workInProgress) { ) throw Error(formatProdErrorMessage(340)); current = workInProgress.flags; - return current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + return current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null; case 19: return pop(suspenseStackCursor), null; @@ -5442,8 +5442,8 @@ function unwindWork(current, workInProgress) { popHiddenContext(), popTransition(workInProgress, current), (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 24: @@ -5575,7 +5575,7 @@ function commitBeforeMutationEffects(root, firstChild) { doesFiberContain(firstChild[i], focusedInstanceHandle) && (shouldFireAfterActiveInstanceBlur = !0); firstChild = root.child; - if (0 !== (root.subtreeFlags & 4620) && null !== firstChild) + if (0 !== (root.subtreeFlags & 9236) && null !== firstChild) (firstChild.return = root), (nextEffect = firstChild); else for (; null !== nextEffect; ) { @@ -5626,7 +5626,7 @@ function commitBeforeMutationEffects(root, firstChild) { case 15: break; case 1: - if (0 !== (flags & 512) && null !== current) { + if (0 !== (flags & 1024) && null !== current) { var prevProps = current.memoizedProps, prevState = current.memoizedState, instance = root.stateNode, @@ -5649,7 +5649,8 @@ function commitBeforeMutationEffects(root, firstChild) { case 17: break; default: - if (0 !== (flags & 512)) throw Error(formatProdErrorMessage(163)); + if (0 !== (flags & 1024)) + throw Error(formatProdErrorMessage(163)); } } catch (error) { captureCommitPhaseError(root, root.return, error); @@ -5758,12 +5759,12 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ); } } - flags & 32 && commitClassCallbacks(finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 64 && commitClassCallbacks(finishedWork); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 3: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 32 && ((flags = finishedWork.updateQueue), null !== flags)) { + if (flags & 64 && ((flags = finishedWork.updateQueue), null !== flags)) { finishedRoot = null; if (null !== finishedWork.child) switch (finishedWork.child.tag) { @@ -5785,7 +5786,7 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { case 27: case 5: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -5811,14 +5812,14 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ? recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, - 0 !== (finishedWork.subtreeFlags & 4388) + 0 !== (finishedWork.subtreeFlags & 8772) ) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; } } else recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && + flags & 512 && ("manual" === finishedWork.memoizedProps.mode ? safelyAttachRef(finishedWork, finishedWork.return) : safelyDetachRef(finishedWork, finishedWork.return)); @@ -6304,7 +6305,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { captureCommitPhaseError(childToDelete, parentFiber, error); } } - if (parentFiber.subtreeFlags & 6430) + if (parentFiber.subtreeFlags & 12854) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), (parentFiber = parentFiber.sibling); @@ -6336,10 +6337,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 1: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); - flags & 32 && + flags & 64 && offscreenSubtreeIsHidden && ((finishedWork = finishedWork.updateQueue), null !== finishedWork && @@ -6354,7 +6355,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 5: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); if (flags & 4 && ((flags = finishedWork.stateNode), null != flags)) { @@ -6392,7 +6393,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); current = finishedWork.child; - current.flags & 4096 && + current.flags & 8192 && null !== current.memoizedState && (null === current.alternate || null === current.alternate.memoizedState) && @@ -6416,7 +6417,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { } break; case 22: - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); suspenseCallback = null !== finishedWork.memoizedState; @@ -6434,7 +6435,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { commitReconciliationEffects(finishedWork); finishedWork.stateNode._current = finishedWork; if ( - flags & 4096 && + flags & 8192 && ((root = finishedWork.stateNode), (root._visibility = suspenseCallback ? root._visibility & -2 @@ -6510,7 +6511,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 21: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && (null !== current && safelyDetachRef(finishedWork, finishedWork.return), safelyAttachRef(finishedWork, finishedWork.return)); flags & 4 && shim$1(); @@ -6538,8 +6539,8 @@ function commitReconciliationEffects(finishedWork) { case 27: case 5: var parent$jscomp$0 = JSCompiler_inline_result.stateNode; - JSCompiler_inline_result.flags & 16 && - (JSCompiler_inline_result.flags &= -17); + JSCompiler_inline_result.flags & 32 && + (JSCompiler_inline_result.flags &= -33); var before = getHostSibling(finishedWork); insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0); break; @@ -6561,10 +6562,10 @@ function commitReconciliationEffects(finishedWork) { } finishedWork.flags &= -3; } - flags & 2048 && (finishedWork.flags &= -2049); + flags & 4096 && (finishedWork.flags &= -4097); } function recursivelyTraverseLayoutEffects(root, parentFiber) { - if (parentFiber.subtreeFlags & 4388) + if (parentFiber.subtreeFlags & 8772) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber), (parentFiber = parentFiber.sibling); @@ -6618,7 +6619,7 @@ function recursivelyTraverseReappearLayoutEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 4388); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -6659,7 +6660,7 @@ function recursivelyTraverseReappearLayoutEffects( callCallback(hiddenCallbacks[finishedRoot], instance); } includeWorkInProgressEffects && - flags & 32 && + flags & 64 && commitClassCallbacks(finishedWork); safelyAttachRef(finishedWork, finishedWork.return); break; @@ -6789,7 +6790,7 @@ function recursivelyTraversePassiveMountEffects( committedLanes, committedTransitions ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveMountOnFiber( root, @@ -6816,7 +6817,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && commitHookPassiveMountEffects(finishedWork, 9); + flags & 2048 && commitHookPassiveMountEffects(finishedWork, 9); break; case 3: recursivelyTraversePassiveMountEffects( @@ -6825,7 +6826,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - if (flags & 1024) { + if (flags & 2048) { flags = null; null !== finishedWork.alternate && (flags = finishedWork.alternate.memoizedState.cache); @@ -6886,7 +6887,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -6925,9 +6926,9 @@ function commitPassiveMountOnFiber( finishedWork, committedLanes, committedTransitions, - 0 !== (finishedWork.subtreeFlags & 5128) + 0 !== (finishedWork.subtreeFlags & 10256) )); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -6941,7 +6942,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; case 25: @@ -6952,7 +6953,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && commitTracingMarkerPassiveMountEffect(finishedWork); + flags & 2048 && commitTracingMarkerPassiveMountEffect(finishedWork); break; } default: @@ -6972,7 +6973,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 5128); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 10256); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -7001,7 +7002,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -7041,7 +7042,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects )); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -7057,7 +7058,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; case 25: @@ -7070,7 +7071,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitTracingMarkerPassiveMountEffect(finishedWork); break; } @@ -7090,7 +7091,7 @@ function recursivelyTraverseAtomicPassiveEffects( finishedRoot$jscomp$0, parentFiber ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -7098,7 +7099,7 @@ function recursivelyTraverseAtomicPassiveEffects( switch (finishedWork.tag) { case 22: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -7107,7 +7108,7 @@ function recursivelyTraverseAtomicPassiveEffects( break; case 24: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: @@ -7132,7 +7133,7 @@ function detachAlternateSiblings(parentFiber) { } function recursivelyTraversePassiveUnmountEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -7144,7 +7145,7 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) { } detachAlternateSiblings(parentFiber); } - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveUnmountOnFiber(parentFiber), (parentFiber = parentFiber.sibling); @@ -7155,7 +7156,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { case 11: case 15: recursivelyTraversePassiveUnmountEffects(finishedWork); - finishedWork.flags & 1024 && + finishedWork.flags & 2048 && commitHookEffectListUnmount(9, finishedWork, finishedWork.return); break; case 22: @@ -7173,7 +7174,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -7735,7 +7736,7 @@ function recoverFromConcurrentError( var errorsFromFirstAttempt = workInProgressRootConcurrentErrors, JSCompiler_inline_result; (JSCompiler_inline_result = root.current.memoizedState.isDehydrated) && - (prepareFreshStack(root, errorRetryLanes).flags |= 128); + (prepareFreshStack(root, errorRetryLanes).flags |= 256); errorRetryLanes = renderRootSync(root, errorRetryLanes); if (2 !== errorRetryLanes) { if (workInProgressRootDidAttachPingListener && !JSCompiler_inline_result) @@ -7760,7 +7761,7 @@ function queueRecoverableErrors(errors) { } function isRenderConsistentWithExternalStores(finishedWork) { for (var node = finishedWork; ; ) { - if (node.flags & 8192) { + if (node.flags & 16384) { var updateQueue = node.updateQueue; if ( null !== updateQueue && @@ -7778,7 +7779,7 @@ function isRenderConsistentWithExternalStores(finishedWork) { } } updateQueue = node.child; - if (node.subtreeFlags & 8192 && null !== updateQueue) + if (node.subtreeFlags & 16384 && null !== updateQueue) (updateQueue.return = node), (node = updateQueue); else { if (node === finishedWork) break; @@ -8117,7 +8118,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var root = workInProgressRoot, value = thrownValue; thrownValue = workInProgressRootRenderLanes; - unitOfWork.flags |= 16384; + unitOfWork.flags |= 32768; if ( null !== value && "object" === typeof value && @@ -8151,14 +8152,14 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { if (null !== suspenseBoundary) { switch (suspenseBoundary.tag) { case 13: - suspenseBoundary.flags &= -129; + suspenseBoundary.flags &= -257; if (0 === (suspenseBoundary.mode & 1)) if (suspenseBoundary === returnFiber) - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; else { - suspenseBoundary.flags |= 64; - unitOfWork.flags |= 65536; - unitOfWork.flags &= -26405; + suspenseBoundary.flags |= 128; + unitOfWork.flags |= 131072; + unitOfWork.flags &= -52805; if (1 === unitOfWork.tag) if (null === unitOfWork.alternate) unitOfWork.tag = 17; else { @@ -8169,7 +8170,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { unitOfWork.lanes |= 1; } else - (suspenseBoundary.flags |= 32768), + (suspenseBoundary.flags |= 65536), (suspenseBoundary.lanes = thrownValue); var wakeables = suspenseBoundary.updateQueue; null === wakeables @@ -8178,7 +8179,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { break; case 22: if (suspenseBoundary.mode & 1) { - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; var offscreenQueue = suspenseBoundary.updateQueue; if (null === offscreenQueue) { var newOffscreenQueue = { @@ -8218,7 +8219,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { switch (root.tag) { case 3: var errorInfo = value; - root.flags |= 32768; + root.flags |= 65536; thrownValue &= -thrownValue; root.lanes |= thrownValue; var update$jscomp$0 = createRootErrorUpdate( @@ -8233,14 +8234,14 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var ctor = root.type, instance = root.stateNode; if ( - 0 === (root.flags & 64) && + 0 === (root.flags & 128) && ("function" === typeof ctor.getDerivedStateFromError || (null !== instance && "function" === typeof instance.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(instance)))) ) { - root.flags |= 32768; + root.flags |= 65536; update$jscomp$0 = thrownValue & -thrownValue; root.lanes |= update$jscomp$0; errorInfo = createClassErrorUpdate( @@ -8266,7 +8267,7 @@ function completeUnitOfWork(unitOfWork) { do { var current = completedWork.alternate; unitOfWork = completedWork.return; - if (0 === (completedWork.flags & 16384)) { + if (0 === (completedWork.flags & 32768)) { if ( ((current = completeWork(current, completedWork, renderLanes$1)), null !== current) @@ -8282,7 +8283,7 @@ function completeUnitOfWork(unitOfWork) { return; } if (null !== unitOfWork) - (unitOfWork.flags |= 16384), + (unitOfWork.flags |= 32768), (unitOfWork.subtreeFlags = 0), (unitOfWork.deletions = null); else { @@ -8341,8 +8342,8 @@ function commitRootImpl( root === workInProgressRoot && ((workInProgress = workInProgressRoot = null), (workInProgressRootRenderLanes = 0)); - (0 === (finishedWork.subtreeFlags & 5128) && - 0 === (finishedWork.flags & 5128)) || + (0 === (finishedWork.subtreeFlags & 10256) && + 0 === (finishedWork.flags & 10256)) || rootDoesHavePassiveEffects || ((rootDoesHavePassiveEffects = !0), (pendingPassiveEffectsRemainingLanes = remainingLanes), @@ -8351,8 +8352,8 @@ function commitRootImpl( flushPassiveEffects(); return null; })); - transitions = 0 !== (finishedWork.flags & 7998); - if (0 !== (finishedWork.subtreeFlags & 7998) || transitions) { + transitions = 0 !== (finishedWork.flags & 15990); + if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) { transitions = ReactCurrentBatchConfig$2.transition; ReactCurrentBatchConfig$2.transition = null; var previousPriority = currentUpdatePriority; @@ -8609,7 +8610,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { else { if ( !checkScheduledUpdateOrContext(current, renderLanes) && - 0 === (workInProgress.flags & 64) + 0 === (workInProgress.flags & 128) ) return ( (didReceiveUpdate = !1), @@ -8619,7 +8620,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { renderLanes ) ); - didReceiveUpdate = 0 !== (current.flags & 65536) ? !0 : !1; + didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1; } else didReceiveUpdate = !1; workInProgress.lanes = 0; @@ -8764,7 +8765,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { ? (nextCache = null) : null !== nextProps && shouldSetTextContent(Component, nextProps) && - (workInProgress.flags |= 16), + (workInProgress.flags |= 32), markRef(current, workInProgress), reconcileChildren(current, workInProgress, nextCache, renderLanes), workInProgress.child @@ -8982,7 +8983,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { aborts: null }), (workInProgress.stateNode = Component), - (workInProgress.flags |= 1024))), + (workInProgress.flags |= 2048))), (Component = workInProgress.stateNode), null !== Component && pushMarkerInstance(workInProgress, Component), @@ -9052,7 +9053,7 @@ function createWorkInProgress(current, pendingProps) { (workInProgress.flags = 0), (workInProgress.subtreeFlags = 0), (workInProgress.deletions = null)); - workInProgress.flags = current.flags & 7340032; + workInProgress.flags = current.flags & 14680064; workInProgress.childLanes = current.childLanes; workInProgress.lanes = current.lanes; workInProgress.child = current.child; @@ -9071,7 +9072,7 @@ function createWorkInProgress(current, pendingProps) { return workInProgress; } function resetWorkInProgress(workInProgress, renderLanes) { - workInProgress.flags &= 7340034; + workInProgress.flags &= 14680066; var current = workInProgress.alternate; null === current ? ((workInProgress.childLanes = 0), @@ -9448,7 +9449,7 @@ var slice = Array.prototype.slice, return null; }, bundleType: 0, - version: "18.3.0-www-modern-645ae2686-20221206", + version: "18.3.0-www-modern-d69b2cf82-20221206", rendererPackageName: "react-art" }; var internals$jscomp$inline_1327 = { @@ -9479,7 +9480,7 @@ var internals$jscomp$inline_1327 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-next-645ae2686-20221206" + reconcilerVersion: "18.3.0-next-d69b2cf82-20221206" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1328 = __REACT_DEVTOOLS_GLOBAL_HOOK__; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index d82727d41b..ca32da2e02 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -478,41 +478,47 @@ var Placement = 2; var DidCapture = /* */ - 64; + 128; var Hydrating = /* */ - 2048; // You can change the rest (and add more). + 4096; // You can change the rest (and add more). var Update = /* */ 4; +/* Skipped value: 0b000000000000000000000001000; */ + var ChildDeletion = /* */ - 8; + 16; var ContentReset = /* */ - 16; + 32; var Callback = /* */ - 32; + 64; +/* Used by DidCapture: 0b000000000000000000010000000; */ + var ForceClientRender = /* */ - 128; + 256; var Ref = /* */ - 256; + 512; var Snapshot = /* */ - 512; + 1024; var Passive = /* */ - 1024; + 2048; +/* Used by Hydrating: 0b000000000000001000000000000; */ + var Visibility = /* */ - 4096; + 8192; var StoreConsistency = /* */ - 8192; + 16384; var LifecycleEffectMask = Passive | Update | Callback | Ref | Snapshot | StoreConsistency; // Union of all commit flags (flags with the lifetime of a particular commit) @@ -522,22 +528,22 @@ var HostEffectMask = var Incomplete = /* */ - 16384; + 32768; var ShouldCapture = /* */ - 32768; + 65536; var ForceUpdateForLegacySuspense = /* */ - 65536; + 131072; var DidPropagateContext = /* */ - 131072; + 262144; var NeedsPropagation = /* */ - 262144; + 524288; var Forked = /* */ - 524288; // Static tags describe aspects of a fiber that are not specific to a render, + 1048576; // Static tags describe aspects of a fiber that are not specific to a render, // e.g. a fiber uses a passive effect (even if there are no updates on this particular render). // This enables us to defer more work in the unmount case, // since we can defer traversing the tree during layout to look for Passive effects, @@ -545,23 +551,23 @@ var Forked = var RefStatic = /* */ - 1048576; + 2097152; var LayoutStatic = /* */ - 2097152; + 4194304; var PassiveStatic = /* */ - 4194304; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. + 8388608; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. var PlacementDEV = /* */ - 8388608; + 16777216; var MountLayoutDev = /* */ - 16777216; + 33554432; var MountPassiveDev = /* */ - 33554432; // Groups of flags that are used in the commit phase to skip over trees that + 67108864; // Groups of flags that are used in the commit phase to skip over trees that // don't contain effects, by checking subtreeFlags. var BeforeMutationMask = // TODO: Remove Update flag from before mutation phase by re-landing Visibility @@ -42513,7 +42519,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-www-classic-645ae2686-20221206"; +var ReactVersion = "18.3.0-www-classic-d69b2cf82-20221206"; function createPortal( children, diff --git a/compiled/facebook-www/ReactDOM-dev.modern.js b/compiled/facebook-www/ReactDOM-dev.modern.js index ba1af692e7..0f002c3bc2 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -5205,41 +5205,47 @@ var Placement = 2; var DidCapture = /* */ - 64; + 128; var Hydrating = /* */ - 2048; // You can change the rest (and add more). + 4096; // You can change the rest (and add more). var Update = /* */ 4; +/* Skipped value: 0b000000000000000000000001000; */ + var ChildDeletion = /* */ - 8; + 16; var ContentReset = /* */ - 16; + 32; var Callback = /* */ - 32; + 64; +/* Used by DidCapture: 0b000000000000000000010000000; */ + var ForceClientRender = /* */ - 128; + 256; var Ref = /* */ - 256; + 512; var Snapshot = /* */ - 512; + 1024; var Passive = /* */ - 1024; + 2048; +/* Used by Hydrating: 0b000000000000001000000000000; */ + var Visibility = /* */ - 4096; + 8192; var StoreConsistency = /* */ - 8192; + 16384; var LifecycleEffectMask = Passive | Update | Callback | Ref | Snapshot | StoreConsistency; // Union of all commit flags (flags with the lifetime of a particular commit) @@ -5249,22 +5255,22 @@ var HostEffectMask = var Incomplete = /* */ - 16384; + 32768; var ShouldCapture = /* */ - 32768; + 65536; var ForceUpdateForLegacySuspense = /* */ - 65536; + 131072; var DidPropagateContext = /* */ - 131072; + 262144; var NeedsPropagation = /* */ - 262144; + 524288; var Forked = /* */ - 524288; // Static tags describe aspects of a fiber that are not specific to a render, + 1048576; // Static tags describe aspects of a fiber that are not specific to a render, // e.g. a fiber uses a passive effect (even if there are no updates on this particular render). // This enables us to defer more work in the unmount case, // since we can defer traversing the tree during layout to look for Passive effects, @@ -5272,23 +5278,23 @@ var Forked = var RefStatic = /* */ - 1048576; + 2097152; var LayoutStatic = /* */ - 2097152; + 4194304; var PassiveStatic = /* */ - 4194304; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. + 8388608; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. var PlacementDEV = /* */ - 8388608; + 16777216; var MountLayoutDev = /* */ - 16777216; + 33554432; var MountPassiveDev = /* */ - 33554432; // Groups of flags that are used in the commit phase to skip over trees that + 67108864; // Groups of flags that are used in the commit phase to skip over trees that // don't contain effects, by checking subtreeFlags. var BeforeMutationMask = // TODO: Remove Update flag from before mutation phase by re-landing Visibility @@ -42237,7 +42243,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-www-modern-645ae2686-20221206"; +var ReactVersion = "18.3.0-www-modern-d69b2cf82-20221206"; function createPortal( children, diff --git a/compiled/facebook-www/ReactDOM-prod.classic.js b/compiled/facebook-www/ReactDOM-prod.classic.js index d6bfe83cac..2bd4ddc858 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -217,7 +217,7 @@ function getNearestMountedFiber(fiber) { fiber = node; do (node = fiber), - 0 !== (node.flags & 2050) && (nearestMounted = node.return), + 0 !== (node.flags & 4098) && (nearestMounted = node.return), (fiber = node.return); while (fiber); } @@ -1572,7 +1572,7 @@ function onCommitRoot(root) { rendererID, root, void 0, - 64 === (root.current.flags & 64) + 128 === (root.current.flags & 128) ); } catch (err) {} } @@ -5420,7 +5420,7 @@ function deleteHydratableInstance(returnFiber, instance) { fiber.return = returnFiber; instance = returnFiber.deletions; null === instance - ? ((returnFiber.deletions = [fiber]), (returnFiber.flags |= 8)) + ? ((returnFiber.deletions = [fiber]), (returnFiber.flags |= 16)) : instance.push(fiber); } function tryHydrate(fiber, nextInstance) { @@ -5478,7 +5478,7 @@ function tryHydrate(fiber, nextInstance) { } } function shouldClientRenderOnMismatch(fiber) { - return 0 !== (fiber.mode & 1) && 0 === (fiber.flags & 64); + return 0 !== (fiber.mode & 1) && 0 === (fiber.flags & 128); } function tryToClaimNextHydratableInstance(fiber) { if (isHydrating) { @@ -5511,19 +5511,19 @@ function tryToClaimNextHydratableInstance(fiber) { JSCompiler_inline_result && tryHydrate(fiber, JSCompiler_inline_result) ? deleteHydratableInstance(onError, type) - : ((fiber.flags = (fiber.flags & -2049) | 2), + : ((fiber.flags = (fiber.flags & -4097) | 2), (isHydrating = !1), (hydrationParentFiber = fiber)); } } else { if (shouldClientRenderOnMismatch(fiber)) throw Error(formatProdErrorMessage(418)); - fiber.flags = (fiber.flags & -2049) | 2; + fiber.flags = (fiber.flags & -4097) | 2; isHydrating = !1; hydrationParentFiber = fiber; } else - (fiber.flags = (fiber.flags & -2049) | 2), + (fiber.flags = (fiber.flags & -4097) | 2), (isHydrating = !1), (hydrationParentFiber = fiber); } @@ -5948,7 +5948,7 @@ function processUpdateQueue( newState = workInProgress; break a; case 3: - workInProgress.flags = (workInProgress.flags & -32769) | 64; + workInProgress.flags = (workInProgress.flags & -65537) | 128; case 0: workInProgress = update.payload; updateLane = @@ -5964,8 +5964,8 @@ function processUpdateQueue( } updateLane = pendingQueue.callback; null !== updateLane && - ((workInProgress$jscomp$0.flags |= 32), - isHiddenUpdate && (workInProgress$jscomp$0.flags |= 4096), + ((workInProgress$jscomp$0.flags |= 64), + isHiddenUpdate && (workInProgress$jscomp$0.flags |= 8192), (isHiddenUpdate = queue.callbacks), null === isHiddenUpdate ? (queue.callbacks = [updateLane]) @@ -6076,7 +6076,7 @@ function createChildReconciler(shouldTrackSideEffects) { if (shouldTrackSideEffects) { var deletions = returnFiber.deletions; null === deletions - ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 8)) + ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16)) : deletions.push(childToDelete); } } @@ -6104,22 +6104,22 @@ function createChildReconciler(shouldTrackSideEffects) { function placeChild(newFiber, lastPlacedIndex, newIndex) { newFiber.index = newIndex; if (!shouldTrackSideEffects) - return (newFiber.flags |= 524288), lastPlacedIndex; + return (newFiber.flags |= 1048576), lastPlacedIndex; newIndex = newFiber.alternate; if (null !== newIndex) return ( (newIndex = newIndex.index), newIndex < lastPlacedIndex - ? ((newFiber.flags |= 8388610), lastPlacedIndex) + ? ((newFiber.flags |= 16777218), lastPlacedIndex) : newIndex ); - newFiber.flags |= 8388610; + newFiber.flags |= 16777218; return lastPlacedIndex; } function placeSingleChild(newFiber) { shouldTrackSideEffects && null === newFiber.alternate && - (newFiber.flags |= 8388610); + (newFiber.flags |= 16777218); return newFiber; } function updateTextNode(returnFiber, current, textContent, lanes) { @@ -6759,7 +6759,7 @@ function findFirstSuspended(row) { ) return node; } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) { - if (0 !== (node.flags & 64)) return node; + if (0 !== (node.flags & 128)) return node; } else if (null !== node.child) { node.child.return = node; node = node.child; @@ -6920,7 +6920,7 @@ function checkDidRenderIdHook() { } function bailoutHooks(current, workInProgress, lanes) { workInProgress.updateQueue = current.updateQueue; - workInProgress.flags &= -1029; + workInProgress.flags &= -2053; current.lanes &= ~lanes; } function resetHooksOnUnwind() { @@ -7249,7 +7249,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { snapshotChanged || (null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1) ) { - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind(null, fiber, hook, nextSnapshot, getSnapshot), @@ -7264,7 +7264,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { return nextSnapshot; } function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) { - fiber.flags |= 8192; + fiber.flags |= 16384; fiber = { getSnapshot: getSnapshot, value: renderedSnapshot }; getSnapshot = currentlyRenderingFiber.updateQueue; null === getSnapshot @@ -7364,10 +7364,10 @@ function updateEffectImpl(fiberFlags, hookFlags, create, deps) { hook.memoizedState = pushEffect(1 | hookFlags, create, destroy, deps); } function mountEffect(create, deps) { - mountEffectImpl(4195328, 8, create, deps); + mountEffectImpl(8390656, 8, create, deps); } function updateEffect(create, deps) { - updateEffectImpl(1024, 8, create, deps); + updateEffectImpl(2048, 8, create, deps); } function useEventImpl(payload) { currentlyRenderingFiber.flags |= 4; @@ -7628,14 +7628,14 @@ var HooksDispatcherOnMount = { useImperativeHandle: function(ref, create, deps) { deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; mountEffectImpl( - 2097156, + 4194308, 4, imperativeHandleEffect.bind(null, create, ref), deps ); }, useLayoutEffect: function(create, deps) { - return mountEffectImpl(2097156, 4, create, deps); + return mountEffectImpl(4194308, 4, create, deps); }, useInsertionEffect: function(create, deps) { mountEffectImpl(4, 2, create, deps); @@ -7718,7 +7718,7 @@ var HooksDispatcherOnMount = { mountEffect(subscribeToStore.bind(null, fiber, root$91, subscribe), [ subscribe ]); - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind( @@ -8002,7 +8002,7 @@ function mountClassInstance(workInProgress, ctor, newProps, renderLanes) { processUpdateQueue(workInProgress, newProps, instance, renderLanes), (instance.state = workInProgress.memoizedState)); "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156); + (workInProgress.flags |= 4194308); } function createCapturedValueAtFiber(value, source) { try { @@ -8098,10 +8098,10 @@ function markSuspenseBoundaryShouldCapture( if (0 === (suspenseBoundary.mode & 1)) return ( suspenseBoundary === returnFiber - ? (suspenseBoundary.flags |= 32768) - : ((suspenseBoundary.flags |= 64), - (sourceFiber.flags |= 65536), - (sourceFiber.flags &= -26405), + ? (suspenseBoundary.flags |= 65536) + : ((suspenseBoundary.flags |= 128), + (sourceFiber.flags |= 131072), + (sourceFiber.flags &= -52805), 1 === sourceFiber.tag && (null === sourceFiber.alternate ? (sourceFiber.tag = 17) @@ -8111,7 +8111,7 @@ function markSuspenseBoundaryShouldCapture( (sourceFiber.lanes |= 1)), suspenseBoundary ); - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; suspenseBoundary.lanes = rootRenderLanes; return suspenseBoundary; } @@ -8365,7 +8365,7 @@ function updateSimpleMemoComponent( (workInProgress.pendingProps = nextProps = prevProps), checkScheduledUpdateOrContext(current, renderLanes)) ) - 0 !== (current.flags & 65536) && (didReceiveUpdate = !0); + 0 !== (current.flags & 131072) && (didReceiveUpdate = !0); else return ( (workInProgress.lanes = current.lanes), @@ -8390,7 +8390,7 @@ function updateOffscreenComponent(current, workInProgress, renderLanes) { "unstable-defer-without-hiding" === nextProps.mode || workInProgress.stateNode._visibility & 2 ) { - if (0 !== (workInProgress.flags & 64)) { + if (0 !== (workInProgress.flags & 128)) { nextChildren = null !== prevState ? prevState.baseLanes | renderLanes : renderLanes; if (null !== current) { @@ -8483,7 +8483,7 @@ function markRef(current, workInProgress) { (null === current && null !== ref) || (null !== current && current.ref !== ref) ) - (workInProgress.flags |= 256), (workInProgress.flags |= 1048576); + (workInProgress.flags |= 512), (workInProgress.flags |= 2097152); } function updateFunctionComponent( current, @@ -8625,9 +8625,9 @@ function updateClassComponent( "function" === typeof instance.UNSAFE_componentWillMount && instance.UNSAFE_componentWillMount()), "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156)) + (workInProgress.flags |= 4194308)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = oldContext)), (instance.props = nextProps), @@ -8635,7 +8635,7 @@ function updateClassComponent( (instance.context = contextType), (nextProps = oldProps)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (nextProps = !1)); } else { instance = workInProgress.stateNode; @@ -8718,7 +8718,7 @@ function updateClassComponent( "function" === typeof instance.componentDidUpdate && (workInProgress.flags |= 4), "function" === typeof instance.getSnapshotBeforeUpdate && - (workInProgress.flags |= 512)) + (workInProgress.flags |= 1024)) : ("function" !== typeof instance.componentDidUpdate || (oldProps === current.memoizedProps && oldState === current.memoizedState) || @@ -8726,7 +8726,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (oldProps === current.memoizedProps && oldState === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = newState)), (instance.props = nextProps), @@ -8740,7 +8740,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (oldProps === current.memoizedProps && oldState === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (nextProps = !1)); } return finishClassComponent( @@ -8761,7 +8761,7 @@ function finishClassComponent( renderLanes ) { markRef(current, workInProgress); - var didCaptureError = 0 !== (workInProgress.flags & 64); + var didCaptureError = 0 !== (workInProgress.flags & 128); if (!shouldUpdate && !didCaptureError) return ( hasContext && invalidateContextProvider(workInProgress, Component, !1), @@ -8813,7 +8813,7 @@ function mountHostRootWithoutHydrating( ) { resetHydrationState(); queueHydrationError(recoverableError); - workInProgress.flags |= 128; + workInProgress.flags |= 256; reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } @@ -8824,14 +8824,14 @@ function mountSuspenseOffscreenState(renderLanes) { function updateSuspenseComponent(current, workInProgress, renderLanes) { var nextProps = workInProgress.pendingProps, showFallback = !1, - didSuspend = 0 !== (workInProgress.flags & 64), + didSuspend = 0 !== (workInProgress.flags & 128), JSCompiler_temp; (JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & 2)); - JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -65)); + JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -129)); if (null === current) { if (isHydrating) { showFallback @@ -8932,7 +8932,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.pendingProps = primaryChildProps), (workInProgress.deletions = null)) : ((nextProps = createWorkInProgress(JSCompiler_temp, primaryChildProps)), - (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 7340032)); + (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 14680064)); null !== dehydrated$113 ? (showFallback = createWorkInProgress(dehydrated$113, showFallback)) : ((showFallback = createFiberFromFragment( @@ -9004,7 +9004,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes - ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 8)) + ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); workInProgress.child = nextProps; workInProgress.memoizedState = null; @@ -9076,10 +9076,10 @@ function updateDehydratedSuspenseComponent( renderLanes ) { if (didSuspend) { - if (workInProgress.flags & 128) + if (workInProgress.flags & 256) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags &= -129), + (workInProgress.flags &= -257), (nextProps = createCapturedValue(Error(formatProdErrorMessage(422)))), retrySuspenseComponentWithoutHydrating( current, @@ -9092,7 +9092,7 @@ function updateDehydratedSuspenseComponent( return ( reuseSuspenseHandlerOnStack(), (workInProgress.child = current.child), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); reuseSuspenseHandlerOnStack(); @@ -9209,7 +9209,7 @@ function updateDehydratedSuspenseComponent( } if ("$?" === suspenseInstance.data) return ( - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), (workInProgress.child = current.child), (workInProgress = retryDehydratedSuspenseBoundary.bind(null, current)), (suspenseInstance._reactRetry = workInProgress), @@ -9231,7 +9231,7 @@ function updateDehydratedSuspenseComponent( workInProgress, nextProps.children ); - workInProgress.flags |= 2048; + workInProgress.flags |= 4096; return workInProgress; } function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) { @@ -9271,9 +9271,9 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) { reconcileChildren(current, workInProgress, nextProps.children, renderLanes); nextProps = suspenseStackCursor.current; if (0 !== (nextProps & 2)) - (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 64); + (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 128); else { - if (null !== current && 0 !== (current.flags & 64)) + if (null !== current && 0 !== (current.flags & 128)) a: for (current = workInProgress.child; null !== current; ) { if (13 === current.tag) null !== current.memoizedState && @@ -9438,7 +9438,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (null !== state.dehydrated) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); if (0 !== (renderLanes & workInProgress.child.childLanes)) @@ -9454,7 +9454,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( pushPrimaryTreeSuspenseHandler(workInProgress); break; case 19: - var didSuspendBefore = 0 !== (current.flags & 64); + var didSuspendBefore = 0 !== (current.flags & 128); state = 0 !== (renderLanes & workInProgress.childLanes); enableLazyContextPropagation && !state && @@ -9472,7 +9472,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( workInProgress, renderLanes ); - workInProgress.flags |= 64; + workInProgress.flags |= 128; } didSuspendBefore = workInProgress.memoizedState; null !== didSuspendBefore && @@ -9673,8 +9673,8 @@ function propagateParentContextChanges( ) { if (!isInsidePropagationBailout) - if (0 !== (parent.flags & 262144)) isInsidePropagationBailout = !0; - else if (0 !== (parent.flags & 131072)) break; + if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = !0; + else if (0 !== (parent.flags & 262144)) break; if (10 === parent.tag) { var currentParent = parent.alternate; if (null === currentParent) throw Error(formatProdErrorMessage(387)); @@ -9694,7 +9694,7 @@ function propagateParentContextChanges( renderLanes, forcePropagateEntireTree ); - workInProgress.flags |= 131072; + workInProgress.flags |= 262144; } } function checkIfContextChanged(currentDependencies) { @@ -9741,7 +9741,7 @@ function readContext(context) { firstContext: context }; enableLazyContextPropagation && - (currentlyRenderingFiber$1.flags |= 262144); + (currentlyRenderingFiber$1.flags |= 524288); } else lastContextDependency = lastContextDependency.next = context; return value; } @@ -9929,7 +9929,7 @@ function markUpdate(workInProgress) { workInProgress.flags |= 4; } function markRef$1(workInProgress) { - workInProgress.flags |= 1048832; + workInProgress.flags |= 2097664; } var appendAllChildren, updateHostContainer, @@ -10106,8 +10106,8 @@ function bubbleProperties(completedWork) { if (didBailout) for (var child$146 = completedWork.child; null !== child$146; ) (newChildLanes |= child$146.lanes | child$146.childLanes), - (subtreeFlags |= child$146.subtreeFlags & 7340032), - (subtreeFlags |= child$146.flags & 7340032), + (subtreeFlags |= child$146.subtreeFlags & 14680064), + (subtreeFlags |= child$146.flags & 14680064), (child$146.return = completedWork), (child$146 = child$146.sibling); else @@ -10146,11 +10146,11 @@ function completeWork(current, workInProgress, renderLanes) { newProps = workInProgress.stateNode; enableTransitionTracing && null !== workInProgressTransitions && - (workInProgress.flags |= 1024); + (workInProgress.flags |= 2048); renderLanes = null; null !== current && (renderLanes = current.memoizedState.cache); workInProgress.memoizedState.cache !== renderLanes && - (workInProgress.flags |= 1024); + (workInProgress.flags |= 2048); popProvider(CacheContext); enableTransitionTracing && enableTransitionTracing && @@ -10168,16 +10168,16 @@ function completeWork(current, workInProgress, renderLanes) { ? markUpdate(workInProgress) : null === current || (current.memoizedState.isDehydrated && - 0 === (workInProgress.flags & 128)) || - ((workInProgress.flags |= 512), + 0 === (workInProgress.flags & 256)) || + ((workInProgress.flags |= 1024), null !== hydrationErrors && (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null))); updateHostContainer(current, workInProgress); bubbleProperties(workInProgress); enableTransitionTracing && - 0 !== (workInProgress.subtreeFlags & 4096) && - (workInProgress.flags |= 1024); + 0 !== (workInProgress.subtreeFlags & 8192) && + (workInProgress.flags |= 2048); return null; case 26: return ( @@ -10324,11 +10324,11 @@ function completeWork(current, workInProgress, renderLanes) { isHydrating && null !== nextHydratableInstance && 0 !== (workInProgress.mode & 1) && - 0 === (workInProgress.flags & 64) + 0 === (workInProgress.flags & 128) ) { warnIfUnhydratedTailNodes(); resetHydrationState(); - workInProgress.flags |= 49280; + workInProgress.flags |= 98560; var JSCompiler_inline_result = !1; } else if ( ((JSCompiler_inline_result = popHydrationState(workInProgress)), @@ -10347,7 +10347,7 @@ function completeWork(current, workInProgress, renderLanes) { JSCompiler_inline_result[internalInstanceKey] = workInProgress; } else resetHydrationState(), - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (workInProgress.memoizedState = null), (workInProgress.flags |= 4); bubbleProperties(workInProgress); @@ -10357,9 +10357,9 @@ function completeWork(current, workInProgress, renderLanes) { (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null)), (JSCompiler_inline_result = !0); if (!JSCompiler_inline_result) - return workInProgress.flags & 32768 ? workInProgress : null; + return workInProgress.flags & 65536 ? workInProgress : null; } - if (0 !== (workInProgress.flags & 64)) + if (0 !== (workInProgress.flags & 128)) return (workInProgress.lanes = renderLanes), workInProgress; renderLanes = null !== type; type = null !== current && null !== current.memoizedState; @@ -10376,12 +10376,12 @@ function completeWork(current, workInProgress, renderLanes) { null !== JSCompiler_inline_result.memoizedState.cachePool && (cache$156 = JSCompiler_inline_result.memoizedState.cachePool.pool); cache$156 !== previousCache$155 && - (JSCompiler_inline_result.flags |= 1024); + (JSCompiler_inline_result.flags |= 2048); } renderLanes !== type && - (enableTransitionTracing && (workInProgress.child.flags |= 1024), + (enableTransitionTracing && (workInProgress.child.flags |= 2048), renderLanes && - ((workInProgress.child.flags |= 4096), + ((workInProgress.child.flags |= 8192), 0 !== (workInProgress.mode & 1) && (isBadSuspenseFallback(current, newProps) ? renderDidSuspendDelayIfPossible() @@ -10418,19 +10418,19 @@ function completeWork(current, workInProgress, renderLanes) { pop(suspenseStackCursor); type = workInProgress.memoizedState; if (null === type) return bubbleProperties(workInProgress), null; - newProps = 0 !== (workInProgress.flags & 64); + newProps = 0 !== (workInProgress.flags & 128); JSCompiler_inline_result = type.rendering; if (null === JSCompiler_inline_result) if (newProps) cutOffTailIfNeeded(type, !1); else { if ( 0 !== workInProgressRootExitStatus || - (null !== current && 0 !== (current.flags & 64)) + (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { JSCompiler_inline_result = findFirstSuspended(current); if (null !== JSCompiler_inline_result) { - workInProgress.flags |= 64; + workInProgress.flags |= 128; cutOffTailIfNeeded(type, !1); current = JSCompiler_inline_result.updateQueue; null !== current && @@ -10451,7 +10451,7 @@ function completeWork(current, workInProgress, renderLanes) { } null !== type.tail && now() > workInProgressRootRenderTargetTime && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); @@ -10463,7 +10463,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== current) ) { if ( - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), (current = current.updateQueue), null !== current && @@ -10480,7 +10480,7 @@ function completeWork(current, workInProgress, renderLanes) { 2 * now() - type.renderingStartTime > workInProgressRootRenderTargetTime && 1073741824 !== renderLanes && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); @@ -10533,15 +10533,15 @@ function completeWork(current, workInProgress, renderLanes) { 23 !== workInProgress.tag && (null !== current ? (null !== current.memoizedState) !== newProps && - (workInProgress.flags |= 4096) - : newProps && (workInProgress.flags |= 4096)), + (workInProgress.flags |= 8192) + : newProps && (workInProgress.flags |= 8192)), newProps && 0 !== (workInProgress.mode & 1) ? 0 !== (renderLanes & 1073741824) && - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (bubbleProperties(workInProgress), 23 !== workInProgress.tag && workInProgress.subtreeFlags & 6 && - (workInProgress.flags |= 4096)) + (workInProgress.flags |= 8192)) : bubbleProperties(workInProgress), null !== workInProgress.updateQueue && (workInProgress.flags |= 4), (newProps = null), @@ -10553,7 +10553,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== workInProgress.memoizedState && null !== workInProgress.memoizedState.cachePool && (renderLanes = workInProgress.memoizedState.cachePool.pool), - renderLanes !== newProps && (workInProgress.flags |= 1024), + renderLanes !== newProps && (workInProgress.flags |= 2048), popTransition(workInProgress, current), null ); @@ -10562,7 +10562,7 @@ function completeWork(current, workInProgress, renderLanes) { (newProps = null), null !== current && (newProps = current.memoizedState.cache), workInProgress.memoizedState.cache !== newProps && - (workInProgress.flags |= 1024), + (workInProgress.flags |= 2048), popProvider(CacheContext), bubbleProperties(workInProgress), null @@ -10586,8 +10586,8 @@ function unwindWork(current, workInProgress) { return ( isContextProvider(workInProgress.type) && popContext(), (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 3: @@ -10602,8 +10602,8 @@ function unwindWork(current, workInProgress) { pop(contextStackCursor$1), resetWorkInProgressVersions(), (current = workInProgress.flags), - 0 !== (current & 32768) && 0 === (current & 64) - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + 0 !== (current & 65536) && 0 === (current & 128) + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 26: @@ -10619,8 +10619,8 @@ function unwindWork(current, workInProgress) { resetHydrationState(); } current = workInProgress.flags; - return current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + return current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null; case 19: return pop(suspenseStackCursor), null; @@ -10635,8 +10635,8 @@ function unwindWork(current, workInProgress) { popHiddenContext(), popTransition(workInProgress, current), (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 24: @@ -10855,7 +10855,7 @@ function commitBeforeMutationEffects(root, firstChild) { ), (_enabled = !1)); root = firstChild.child; - if (0 !== (firstChild.subtreeFlags & 4620) && null !== root) + if (0 !== (firstChild.subtreeFlags & 9236) && null !== root) (root.return = firstChild), (nextEffect = root); else for (; null !== nextEffect; ) { @@ -10910,7 +10910,7 @@ function commitBeforeMutationEffects(root, firstChild) { case 15: break; case 1: - if (0 !== (flags & 512) && null !== current) { + if (0 !== (flags & 1024) && null !== current) { var prevProps = current.memoizedProps, prevState = current.memoizedState, instance = firstChild.stateNode, @@ -10924,7 +10924,7 @@ function commitBeforeMutationEffects(root, firstChild) { } break; case 3: - if (0 !== (flags & 512)) { + if (0 !== (flags & 1024)) { var container = firstChild.stateNode.containerInfo, nodeType = container.nodeType; if (9 === nodeType) @@ -10951,7 +10951,8 @@ function commitBeforeMutationEffects(root, firstChild) { case 17: break; default: - if (0 !== (flags & 512)) throw Error(formatProdErrorMessage(163)); + if (0 !== (flags & 1024)) + throw Error(formatProdErrorMessage(163)); } } catch (error) { captureCommitPhaseError(firstChild, firstChild.return, error); @@ -11079,12 +11080,12 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ); } } - flags & 32 && commitClassCallbacks(finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 64 && commitClassCallbacks(finishedWork); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 3: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 32 && ((flags = finishedWork.updateQueue), null !== flags)) { + if (flags & 64 && ((flags = finishedWork.updateQueue), null !== flags)) { finishedRoot = null; if (null !== finishedWork.child) switch (finishedWork.child.tag) { @@ -11104,13 +11105,13 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { break; case 26: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 27: case 5: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); null === current && flags & 4 && commitHostComponentMount(finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -11137,14 +11138,14 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ? recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, - 0 !== (finishedWork.subtreeFlags & 4388) + 0 !== (finishedWork.subtreeFlags & 8772) ) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; } } else recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && + flags & 512 && ("manual" === finishedWork.memoizedProps.mode ? safelyAttachRef(finishedWork, finishedWork.return) : safelyDetachRef(finishedWork, finishedWork.return)); @@ -11712,7 +11713,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { captureCommitPhaseError(childToDelete, parentFiber, error); } } - if (parentFiber.subtreeFlags & 6430) + if (parentFiber.subtreeFlags & 12854) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), (parentFiber = parentFiber.sibling); @@ -11744,10 +11745,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 1: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); - flags & 32 && + flags & 64 && offscreenSubtreeIsHidden && ((finishedWork = finishedWork.updateQueue), null !== finishedWork && @@ -11760,7 +11761,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 26: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); flags & 4 && @@ -11799,10 +11800,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 5: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); - if (finishedWork.flags & 16) { + if (finishedWork.flags & 32) { root = finishedWork.stateNode; try { setTextContent(root, ""); @@ -11910,7 +11911,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); current = finishedWork.child; - current.flags & 4096 && + current.flags & 8192 && null !== current.memoizedState && (null === current.alternate || null === current.alternate.memoizedState) && @@ -11934,7 +11935,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { } break; case 22: - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); isCustomComponentTag = null !== finishedWork.memoizedState; @@ -11951,7 +11952,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { commitReconciliationEffects(finishedWork); finishedWork.stateNode._current = finishedWork; if ( - flags & 4096 && + flags & 8192 && ((propValue = finishedWork.stateNode), (propValue._visibility = isCustomComponentTag ? propValue._visibility & -2 @@ -12051,7 +12052,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 21: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && (null !== current && safelyDetachRef(finishedWork, finishedWork.return), safelyAttachRef(finishedWork, finishedWork.return)); flags & 4 && (finishedWork.stateNode[internalInstanceKey] = finishedWork); @@ -12084,9 +12085,9 @@ function commitReconciliationEffects(finishedWork) { break; case 5: var parent$182 = JSCompiler_inline_result.stateNode; - JSCompiler_inline_result.flags & 16 && + JSCompiler_inline_result.flags & 32 && (setTextContent(parent$182, ""), - (JSCompiler_inline_result.flags &= -17)); + (JSCompiler_inline_result.flags &= -33)); var before$183 = getHostSibling(finishedWork); insertOrAppendPlacementNode(finishedWork, before$183, parent$182); break; @@ -12109,10 +12110,10 @@ function commitReconciliationEffects(finishedWork) { } finishedWork.flags &= -3; } - flags & 2048 && (finishedWork.flags &= -2049); + flags & 4096 && (finishedWork.flags &= -4097); } function recursivelyTraverseLayoutEffects(root, parentFiber) { - if (parentFiber.subtreeFlags & 4388) + if (parentFiber.subtreeFlags & 8772) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber), (parentFiber = parentFiber.sibling); @@ -12166,7 +12167,7 @@ function recursivelyTraverseReappearLayoutEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 4388); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var current = parentFiber.alternate, finishedRoot = finishedRoot$jscomp$0, @@ -12208,7 +12209,7 @@ function recursivelyTraverseReappearLayoutEffects( callCallback(hiddenCallbacks[current], finishedRoot); } includeWorkInProgressEffects && - flags & 32 && + flags & 64 && commitClassCallbacks(finishedWork); safelyAttachRef(finishedWork, finishedWork.return); break; @@ -12345,7 +12346,7 @@ function recursivelyTraversePassiveMountEffects( committedLanes, committedTransitions ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveMountOnFiber( root, @@ -12372,7 +12373,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && commitHookPassiveMountEffects(finishedWork, 9); + flags & 2048 && commitHookPassiveMountEffects(finishedWork, 9); break; case 3: recursivelyTraversePassiveMountEffects( @@ -12381,7 +12382,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - if (flags & 1024) { + if (flags & 2048) { flags = null; null !== finishedWork.alternate && (flags = finishedWork.alternate.memoizedState.cache); @@ -12442,7 +12443,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -12481,9 +12482,9 @@ function commitPassiveMountOnFiber( finishedWork, committedLanes, committedTransitions, - 0 !== (finishedWork.subtreeFlags & 5128) + 0 !== (finishedWork.subtreeFlags & 10256) )); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -12497,7 +12498,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; case 25: @@ -12508,7 +12509,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && commitTracingMarkerPassiveMountEffect(finishedWork); + flags & 2048 && commitTracingMarkerPassiveMountEffect(finishedWork); break; } default: @@ -12528,7 +12529,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 5128); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 10256); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -12557,7 +12558,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -12597,7 +12598,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects )); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -12613,7 +12614,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; case 25: @@ -12626,7 +12627,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitTracingMarkerPassiveMountEffect(finishedWork); break; } @@ -12646,7 +12647,7 @@ function recursivelyTraverseAtomicPassiveEffects( finishedRoot$jscomp$0, parentFiber ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -12654,7 +12655,7 @@ function recursivelyTraverseAtomicPassiveEffects( switch (finishedWork.tag) { case 22: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -12663,7 +12664,7 @@ function recursivelyTraverseAtomicPassiveEffects( break; case 24: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: @@ -12688,7 +12689,7 @@ function detachAlternateSiblings(parentFiber) { } function recursivelyTraversePassiveUnmountEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -12700,7 +12701,7 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) { } detachAlternateSiblings(parentFiber); } - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveUnmountOnFiber(parentFiber), (parentFiber = parentFiber.sibling); @@ -12711,7 +12712,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { case 11: case 15: recursivelyTraversePassiveUnmountEffects(finishedWork); - finishedWork.flags & 1024 && + finishedWork.flags & 2048 && commitHookEffectListUnmount(9, finishedWork, finishedWork.return); break; case 22: @@ -12729,7 +12730,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -13286,7 +13287,7 @@ function recoverFromConcurrentError( ) { var errorsFromFirstAttempt = workInProgressRootConcurrentErrors, wasRootDehydrated = root.current.memoizedState.isDehydrated; - wasRootDehydrated && (prepareFreshStack(root, errorRetryLanes).flags |= 128); + wasRootDehydrated && (prepareFreshStack(root, errorRetryLanes).flags |= 256); errorRetryLanes = renderRootSync(root, errorRetryLanes); if (2 !== errorRetryLanes) { if (workInProgressRootDidAttachPingListener && !wasRootDehydrated) @@ -13311,7 +13312,7 @@ function queueRecoverableErrors(errors) { } function isRenderConsistentWithExternalStores(finishedWork) { for (var node = finishedWork; ; ) { - if (node.flags & 8192) { + if (node.flags & 16384) { var updateQueue = node.updateQueue; if ( null !== updateQueue && @@ -13329,7 +13330,7 @@ function isRenderConsistentWithExternalStores(finishedWork) { } } updateQueue = node.child; - if (node.subtreeFlags & 8192 && null !== updateQueue) + if (node.subtreeFlags & 16384 && null !== updateQueue) (updateQueue.return = node), (node = updateQueue); else { if (node === finishedWork) break; @@ -13711,7 +13712,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var root = workInProgressRoot, value = thrownValue; thrownValue = workInProgressRootRenderLanes; - unitOfWork.flags |= 16384; + unitOfWork.flags |= 32768; if ( null !== value && "object" === typeof value && @@ -13745,7 +13746,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { if (null !== suspenseBoundary) { switch (suspenseBoundary.tag) { case 13: - suspenseBoundary.flags &= -129; + suspenseBoundary.flags &= -257; markSuspenseBoundaryShouldCapture( suspenseBoundary, returnFiber, @@ -13760,7 +13761,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { break; case 22: if (suspenseBoundary.mode & 1) { - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; var offscreenQueue = suspenseBoundary.updateQueue; if (null === offscreenQueue) { var newOffscreenQueue = { @@ -13793,7 +13794,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { unitOfWork.mode & 1 && ((wakeable = suspenseHandlerStackCursor.current), null !== wakeable) ) { - 0 === (wakeable.flags & 32768) && (wakeable.flags |= 128); + 0 === (wakeable.flags & 65536) && (wakeable.flags |= 256); markSuspenseBoundaryShouldCapture( wakeable, returnFiber, @@ -13815,7 +13816,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { switch (root.tag) { case 3: var errorInfo = value; - root.flags |= 32768; + root.flags |= 65536; thrownValue &= -thrownValue; root.lanes |= thrownValue; var update = createRootErrorUpdate(root, errorInfo, thrownValue); @@ -13826,14 +13827,14 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var ctor = root.type, instance = root.stateNode; if ( - 0 === (root.flags & 64) && + 0 === (root.flags & 128) && ("function" === typeof ctor.getDerivedStateFromError || (null !== instance && "function" === typeof instance.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(instance)))) ) { - root.flags |= 32768; + root.flags |= 65536; update = thrownValue & -thrownValue; root.lanes |= update; errorInfo = createClassErrorUpdate( @@ -13859,7 +13860,7 @@ function completeUnitOfWork(unitOfWork) { do { var current = completedWork.alternate; unitOfWork = completedWork.return; - if (0 === (completedWork.flags & 16384)) { + if (0 === (completedWork.flags & 32768)) { if ( ((current = completeWork(current, completedWork, renderLanes$1)), null !== current) @@ -13875,7 +13876,7 @@ function completeUnitOfWork(unitOfWork) { return; } if (null !== unitOfWork) - (unitOfWork.flags |= 16384), + (unitOfWork.flags |= 32768), (unitOfWork.subtreeFlags = 0), (unitOfWork.deletions = null); else { @@ -13934,8 +13935,8 @@ function commitRootImpl( root === workInProgressRoot && ((workInProgress = workInProgressRoot = null), (workInProgressRootRenderLanes = 0)); - (0 === (finishedWork.subtreeFlags & 5128) && - 0 === (finishedWork.flags & 5128)) || + (0 === (finishedWork.subtreeFlags & 10256) && + 0 === (finishedWork.flags & 10256)) || rootDoesHavePassiveEffects || ((rootDoesHavePassiveEffects = !0), (pendingPassiveEffectsRemainingLanes = remainingLanes), @@ -13944,8 +13945,8 @@ function commitRootImpl( flushPassiveEffects(); return null; })); - transitions = 0 !== (finishedWork.flags & 7998); - if (0 !== (finishedWork.subtreeFlags & 7998) || transitions) { + transitions = 0 !== (finishedWork.flags & 15990); + if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) { transitions = ReactCurrentBatchConfig$3.transition; ReactCurrentBatchConfig$3.transition = null; var previousPriority = currentUpdatePriority; @@ -14232,7 +14233,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { else { if ( !checkScheduledUpdateOrContext(current, renderLanes) && - 0 === (workInProgress.flags & 64) + 0 === (workInProgress.flags & 128) ) return ( (didReceiveUpdate = !1), @@ -14242,12 +14243,12 @@ beginWork$1 = function(current, workInProgress, renderLanes) { renderLanes ) ); - didReceiveUpdate = 0 !== (current.flags & 65536) ? !0 : !1; + didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1; } else (didReceiveUpdate = !1), isHydrating && - 0 !== (workInProgress.flags & 524288) && + 0 !== (workInProgress.flags & 1048576) && pushTreeId(workInProgress, treeForkCount, workInProgress.index); workInProgress.lanes = 0; switch (workInProgress.tag) { @@ -14386,7 +14387,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { }), (workInProgress.updateQueue.baseState = prevState), (workInProgress.memoizedState = prevState), - workInProgress.flags & 128) + workInProgress.flags & 256) ) { context = createCapturedValueAtFiber( Error(formatProdErrorMessage(423)), @@ -14434,7 +14435,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { renderLanes ); for (workInProgress.child = renderLanes; renderLanes; ) - (renderLanes.flags = (renderLanes.flags & -3) | 2048), + (renderLanes.flags = (renderLanes.flags & -3) | 4096), (renderLanes = renderLanes.sibling); } else { @@ -14498,7 +14499,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { ? (root = null) : null !== prevState && shouldSetTextContent(Component, prevState) && - (workInProgress.flags |= 16), + (workInProgress.flags |= 32), markRef(current, workInProgress), reconcileChildren(current, workInProgress, root, renderLanes), workInProgress.child @@ -14739,7 +14740,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { aborts: null }), (workInProgress.stateNode = Component), - (workInProgress.flags |= 1024))), + (workInProgress.flags |= 2048))), (Component = workInProgress.stateNode), null !== Component && pushMarkerInstance(workInProgress, Component), @@ -14809,7 +14810,7 @@ function createWorkInProgress(current, pendingProps) { (workInProgress.flags = 0), (workInProgress.subtreeFlags = 0), (workInProgress.deletions = null)); - workInProgress.flags = current.flags & 7340032; + workInProgress.flags = current.flags & 14680064; workInProgress.childLanes = current.childLanes; workInProgress.lanes = current.lanes; workInProgress.child = current.child; @@ -14828,7 +14829,7 @@ function createWorkInProgress(current, pendingProps) { return workInProgress; } function resetWorkInProgress(workInProgress, renderLanes) { - workInProgress.flags &= 7340034; + workInProgress.flags &= 14680066; var current = workInProgress.alternate; null === current ? ((workInProgress.childLanes = 0), @@ -15528,7 +15529,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1773 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "18.3.0-www-classic-645ae2686-20221206", + version: "18.3.0-www-classic-d69b2cf82-20221206", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2154 = { @@ -15558,7 +15559,7 @@ var internals$jscomp$inline_2154 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-next-645ae2686-20221206" + reconcilerVersion: "18.3.0-next-d69b2cf82-20221206" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2155 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -15800,4 +15801,4 @@ exports.unstable_renderSubtreeIntoContainer = function( ); }; exports.unstable_runWithPriority = runWithPriority; -exports.version = "18.3.0-next-645ae2686-20221206"; +exports.version = "18.3.0-next-d69b2cf82-20221206"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index b16d1a03fa..fb3f408913 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -1139,7 +1139,7 @@ function getNearestMountedFiber(fiber) { fiber = node; do (node = fiber), - 0 !== (node.flags & 2050) && (nearestMounted = node.return), + 0 !== (node.flags & 4098) && (nearestMounted = node.return), (fiber = node.return); while (fiber); } @@ -1277,7 +1277,7 @@ function onCommitRoot(root) { rendererID, root, void 0, - 64 === (root.current.flags & 64) + 128 === (root.current.flags & 128) ); } catch (err) {} } @@ -5271,7 +5271,7 @@ function deleteHydratableInstance(returnFiber, instance) { fiber.return = returnFiber; instance = returnFiber.deletions; null === instance - ? ((returnFiber.deletions = [fiber]), (returnFiber.flags |= 8)) + ? ((returnFiber.deletions = [fiber]), (returnFiber.flags |= 16)) : instance.push(fiber); } function tryHydrate(fiber, nextInstance) { @@ -5329,7 +5329,7 @@ function tryHydrate(fiber, nextInstance) { } } function shouldClientRenderOnMismatch(fiber) { - return 0 !== (fiber.mode & 1) && 0 === (fiber.flags & 64); + return 0 !== (fiber.mode & 1) && 0 === (fiber.flags & 128); } function tryToClaimNextHydratableInstance(fiber) { if (isHydrating) { @@ -5362,19 +5362,19 @@ function tryToClaimNextHydratableInstance(fiber) { JSCompiler_inline_result && tryHydrate(fiber, JSCompiler_inline_result) ? deleteHydratableInstance(onError, type) - : ((fiber.flags = (fiber.flags & -2049) | 2), + : ((fiber.flags = (fiber.flags & -4097) | 2), (isHydrating = !1), (hydrationParentFiber = fiber)); } } else { if (shouldClientRenderOnMismatch(fiber)) throw Error(formatProdErrorMessage(418)); - fiber.flags = (fiber.flags & -2049) | 2; + fiber.flags = (fiber.flags & -4097) | 2; isHydrating = !1; hydrationParentFiber = fiber; } else - (fiber.flags = (fiber.flags & -2049) | 2), + (fiber.flags = (fiber.flags & -4097) | 2), (isHydrating = !1), (hydrationParentFiber = fiber); } @@ -5799,7 +5799,7 @@ function processUpdateQueue( newState = workInProgress; break a; case 3: - workInProgress.flags = (workInProgress.flags & -32769) | 64; + workInProgress.flags = (workInProgress.flags & -65537) | 128; case 0: workInProgress = update.payload; updateLane = @@ -5815,8 +5815,8 @@ function processUpdateQueue( } updateLane = pendingQueue.callback; null !== updateLane && - ((workInProgress$jscomp$0.flags |= 32), - isHiddenUpdate && (workInProgress$jscomp$0.flags |= 4096), + ((workInProgress$jscomp$0.flags |= 64), + isHiddenUpdate && (workInProgress$jscomp$0.flags |= 8192), (isHiddenUpdate = queue.callbacks), null === isHiddenUpdate ? (queue.callbacks = [updateLane]) @@ -5927,7 +5927,7 @@ function createChildReconciler(shouldTrackSideEffects) { if (shouldTrackSideEffects) { var deletions = returnFiber.deletions; null === deletions - ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 8)) + ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16)) : deletions.push(childToDelete); } } @@ -5955,22 +5955,22 @@ function createChildReconciler(shouldTrackSideEffects) { function placeChild(newFiber, lastPlacedIndex, newIndex) { newFiber.index = newIndex; if (!shouldTrackSideEffects) - return (newFiber.flags |= 524288), lastPlacedIndex; + return (newFiber.flags |= 1048576), lastPlacedIndex; newIndex = newFiber.alternate; if (null !== newIndex) return ( (newIndex = newIndex.index), newIndex < lastPlacedIndex - ? ((newFiber.flags |= 8388610), lastPlacedIndex) + ? ((newFiber.flags |= 16777218), lastPlacedIndex) : newIndex ); - newFiber.flags |= 8388610; + newFiber.flags |= 16777218; return lastPlacedIndex; } function placeSingleChild(newFiber) { shouldTrackSideEffects && null === newFiber.alternate && - (newFiber.flags |= 8388610); + (newFiber.flags |= 16777218); return newFiber; } function updateTextNode(returnFiber, current, textContent, lanes) { @@ -6610,7 +6610,7 @@ function findFirstSuspended(row) { ) return node; } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) { - if (0 !== (node.flags & 64)) return node; + if (0 !== (node.flags & 128)) return node; } else if (null !== node.child) { node.child.return = node; node = node.child; @@ -6771,7 +6771,7 @@ function checkDidRenderIdHook() { } function bailoutHooks(current, workInProgress, lanes) { workInProgress.updateQueue = current.updateQueue; - workInProgress.flags &= -1029; + workInProgress.flags &= -2053; current.lanes &= ~lanes; } function resetHooksOnUnwind() { @@ -7100,7 +7100,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { snapshotChanged || (null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1) ) { - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind(null, fiber, hook, nextSnapshot, getSnapshot), @@ -7115,7 +7115,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { return nextSnapshot; } function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) { - fiber.flags |= 8192; + fiber.flags |= 16384; fiber = { getSnapshot: getSnapshot, value: renderedSnapshot }; getSnapshot = currentlyRenderingFiber.updateQueue; null === getSnapshot @@ -7215,10 +7215,10 @@ function updateEffectImpl(fiberFlags, hookFlags, create, deps) { hook.memoizedState = pushEffect(1 | hookFlags, create, destroy, deps); } function mountEffect(create, deps) { - mountEffectImpl(4195328, 8, create, deps); + mountEffectImpl(8390656, 8, create, deps); } function updateEffect(create, deps) { - updateEffectImpl(1024, 8, create, deps); + updateEffectImpl(2048, 8, create, deps); } function useEventImpl(payload) { currentlyRenderingFiber.flags |= 4; @@ -7479,14 +7479,14 @@ var HooksDispatcherOnMount = { useImperativeHandle: function(ref, create, deps) { deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; mountEffectImpl( - 2097156, + 4194308, 4, imperativeHandleEffect.bind(null, create, ref), deps ); }, useLayoutEffect: function(create, deps) { - return mountEffectImpl(2097156, 4, create, deps); + return mountEffectImpl(4194308, 4, create, deps); }, useInsertionEffect: function(create, deps) { mountEffectImpl(4, 2, create, deps); @@ -7569,7 +7569,7 @@ var HooksDispatcherOnMount = { mountEffect(subscribeToStore.bind(null, fiber, root$92, subscribe), [ subscribe ]); - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind( @@ -7839,7 +7839,7 @@ function mountClassInstance(workInProgress, ctor, newProps, renderLanes) { processUpdateQueue(workInProgress, newProps, instance, renderLanes), (instance.state = workInProgress.memoizedState)); "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156); + (workInProgress.flags |= 4194308); } function createCapturedValueAtFiber(value, source) { try { @@ -7935,10 +7935,10 @@ function markSuspenseBoundaryShouldCapture( if (0 === (suspenseBoundary.mode & 1)) return ( suspenseBoundary === returnFiber - ? (suspenseBoundary.flags |= 32768) - : ((suspenseBoundary.flags |= 64), - (sourceFiber.flags |= 65536), - (sourceFiber.flags &= -26405), + ? (suspenseBoundary.flags |= 65536) + : ((suspenseBoundary.flags |= 128), + (sourceFiber.flags |= 131072), + (sourceFiber.flags &= -52805), 1 === sourceFiber.tag && (null === sourceFiber.alternate ? (sourceFiber.tag = 17) @@ -7948,7 +7948,7 @@ function markSuspenseBoundaryShouldCapture( (sourceFiber.lanes |= 1)), suspenseBoundary ); - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; suspenseBoundary.lanes = rootRenderLanes; return suspenseBoundary; } @@ -8202,7 +8202,7 @@ function updateSimpleMemoComponent( (workInProgress.pendingProps = nextProps = prevProps), checkScheduledUpdateOrContext(current, renderLanes)) ) - 0 !== (current.flags & 65536) && (didReceiveUpdate = !0); + 0 !== (current.flags & 131072) && (didReceiveUpdate = !0); else return ( (workInProgress.lanes = current.lanes), @@ -8227,7 +8227,7 @@ function updateOffscreenComponent(current, workInProgress, renderLanes) { "unstable-defer-without-hiding" === nextProps.mode || workInProgress.stateNode._visibility & 2 ) { - if (0 !== (workInProgress.flags & 64)) { + if (0 !== (workInProgress.flags & 128)) { nextChildren = null !== prevState ? prevState.baseLanes | renderLanes : renderLanes; if (null !== current) { @@ -8320,7 +8320,7 @@ function markRef(current, workInProgress) { (null === current && null !== ref) || (null !== current && current.ref !== ref) ) - (workInProgress.flags |= 256), (workInProgress.flags |= 1048576); + (workInProgress.flags |= 512), (workInProgress.flags |= 2097152); } function updateFunctionComponent( current, @@ -8444,9 +8444,9 @@ function updateClassComponent( "function" === typeof instance.UNSAFE_componentWillMount && instance.UNSAFE_componentWillMount()), "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156)) + (workInProgress.flags |= 4194308)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = oldContext)), (instance.props = nextProps), @@ -8454,7 +8454,7 @@ function updateClassComponent( (instance.context = nextContext), (nextProps = oldProps)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (nextProps = !1)); } else { instance = workInProgress.stateNode; @@ -8535,7 +8535,7 @@ function updateClassComponent( "function" === typeof instance.componentDidUpdate && (workInProgress.flags |= 4), "function" === typeof instance.getSnapshotBeforeUpdate && - (workInProgress.flags |= 512)) + (workInProgress.flags |= 1024)) : ("function" !== typeof instance.componentDidUpdate || (nextContext === current.memoizedProps && oldContext$jscomp$0 === current.memoizedState) || @@ -8543,7 +8543,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (nextContext === current.memoizedProps && oldContext$jscomp$0 === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = newState)), (instance.props = nextProps), @@ -8557,7 +8557,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (nextContext === current.memoizedProps && oldContext$jscomp$0 === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (nextProps = !1)); } return finishClassComponent( @@ -8578,7 +8578,7 @@ function finishClassComponent( renderLanes ) { markRef(current, workInProgress); - hasContext = 0 !== (workInProgress.flags & 64); + hasContext = 0 !== (workInProgress.flags & 128); if (!shouldUpdate && !hasContext) return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); shouldUpdate = workInProgress.stateNode; @@ -8614,7 +8614,7 @@ function mountHostRootWithoutHydrating( ) { resetHydrationState(); queueHydrationError(recoverableError); - workInProgress.flags |= 128; + workInProgress.flags |= 256; reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } @@ -8625,14 +8625,14 @@ function mountSuspenseOffscreenState(renderLanes) { function updateSuspenseComponent(current, workInProgress, renderLanes) { var nextProps = workInProgress.pendingProps, showFallback = !1, - didSuspend = 0 !== (workInProgress.flags & 64), + didSuspend = 0 !== (workInProgress.flags & 128), JSCompiler_temp; (JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & 2)); - JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -65)); + JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -129)); if (null === current) { if (isHydrating) { showFallback @@ -8733,7 +8733,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.pendingProps = primaryChildProps), (workInProgress.deletions = null)) : ((nextProps = createWorkInProgress(JSCompiler_temp, primaryChildProps)), - (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 7340032)); + (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 14680064)); null !== dehydrated$114 ? (showFallback = createWorkInProgress(dehydrated$114, showFallback)) : ((showFallback = createFiberFromFragment( @@ -8805,7 +8805,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes - ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 8)) + ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); workInProgress.child = nextProps; workInProgress.memoizedState = null; @@ -8877,10 +8877,10 @@ function updateDehydratedSuspenseComponent( renderLanes ) { if (didSuspend) { - if (workInProgress.flags & 128) + if (workInProgress.flags & 256) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags &= -129), + (workInProgress.flags &= -257), (nextProps = createCapturedValue(Error(formatProdErrorMessage(422)))), retrySuspenseComponentWithoutHydrating( current, @@ -8893,7 +8893,7 @@ function updateDehydratedSuspenseComponent( return ( reuseSuspenseHandlerOnStack(), (workInProgress.child = current.child), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); reuseSuspenseHandlerOnStack(); @@ -9010,7 +9010,7 @@ function updateDehydratedSuspenseComponent( } if ("$?" === suspenseInstance.data) return ( - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), (workInProgress.child = current.child), (workInProgress = retryDehydratedSuspenseBoundary.bind(null, current)), (suspenseInstance._reactRetry = workInProgress), @@ -9032,7 +9032,7 @@ function updateDehydratedSuspenseComponent( workInProgress, nextProps.children ); - workInProgress.flags |= 2048; + workInProgress.flags |= 4096; return workInProgress; } function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) { @@ -9072,9 +9072,9 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) { reconcileChildren(current, workInProgress, nextProps.children, renderLanes); nextProps = suspenseStackCursor.current; if (0 !== (nextProps & 2)) - (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 64); + (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 128); else { - if (null !== current && 0 !== (current.flags & 64)) + if (null !== current && 0 !== (current.flags & 128)) a: for (current = workInProgress.child; null !== current; ) { if (13 === current.tag) null !== current.memoizedState && @@ -9235,7 +9235,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (null !== state.dehydrated) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); if (0 !== (renderLanes & workInProgress.child.childLanes)) @@ -9251,7 +9251,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( pushPrimaryTreeSuspenseHandler(workInProgress); break; case 19: - var didSuspendBefore = 0 !== (current.flags & 64); + var didSuspendBefore = 0 !== (current.flags & 128); state = 0 !== (renderLanes & workInProgress.childLanes); enableLazyContextPropagation && !state && @@ -9269,7 +9269,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( workInProgress, renderLanes ); - workInProgress.flags |= 64; + workInProgress.flags |= 128; } didSuspendBefore = workInProgress.memoizedState; null !== didSuspendBefore && @@ -9470,8 +9470,8 @@ function propagateParentContextChanges( ) { if (!isInsidePropagationBailout) - if (0 !== (parent.flags & 262144)) isInsidePropagationBailout = !0; - else if (0 !== (parent.flags & 131072)) break; + if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = !0; + else if (0 !== (parent.flags & 262144)) break; if (10 === parent.tag) { var currentParent = parent.alternate; if (null === currentParent) throw Error(formatProdErrorMessage(387)); @@ -9491,7 +9491,7 @@ function propagateParentContextChanges( renderLanes, forcePropagateEntireTree ); - workInProgress.flags |= 131072; + workInProgress.flags |= 262144; } } function checkIfContextChanged(currentDependencies) { @@ -9538,7 +9538,7 @@ function readContext(context) { firstContext: context }; enableLazyContextPropagation && - (currentlyRenderingFiber$1.flags |= 262144); + (currentlyRenderingFiber$1.flags |= 524288); } else lastContextDependency = lastContextDependency.next = context; return value; } @@ -9726,7 +9726,7 @@ function markUpdate(workInProgress) { workInProgress.flags |= 4; } function markRef$1(workInProgress) { - workInProgress.flags |= 1048832; + workInProgress.flags |= 2097664; } var appendAllChildren, updateHostContainer, @@ -9903,8 +9903,8 @@ function bubbleProperties(completedWork) { if (didBailout) for (var child$147 = completedWork.child; null !== child$147; ) (newChildLanes |= child$147.lanes | child$147.childLanes), - (subtreeFlags |= child$147.subtreeFlags & 7340032), - (subtreeFlags |= child$147.flags & 7340032), + (subtreeFlags |= child$147.subtreeFlags & 14680064), + (subtreeFlags |= child$147.flags & 14680064), (child$147.return = completedWork), (child$147 = child$147.sibling); else @@ -9939,11 +9939,11 @@ function completeWork(current, workInProgress, renderLanes) { newProps = workInProgress.stateNode; enableTransitionTracing && null !== workInProgressTransitions && - (workInProgress.flags |= 1024); + (workInProgress.flags |= 2048); renderLanes = null; null !== current && (renderLanes = current.memoizedState.cache); workInProgress.memoizedState.cache !== renderLanes && - (workInProgress.flags |= 1024); + (workInProgress.flags |= 2048); popProvider(CacheContext); enableTransitionTracing && enableTransitionTracing && @@ -9959,16 +9959,16 @@ function completeWork(current, workInProgress, renderLanes) { ? markUpdate(workInProgress) : null === current || (current.memoizedState.isDehydrated && - 0 === (workInProgress.flags & 128)) || - ((workInProgress.flags |= 512), + 0 === (workInProgress.flags & 256)) || + ((workInProgress.flags |= 1024), null !== hydrationErrors && (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null))); updateHostContainer(current, workInProgress); bubbleProperties(workInProgress); enableTransitionTracing && - 0 !== (workInProgress.subtreeFlags & 4096) && - (workInProgress.flags |= 1024); + 0 !== (workInProgress.subtreeFlags & 8192) && + (workInProgress.flags |= 2048); return null; case 26: return ( @@ -10115,11 +10115,11 @@ function completeWork(current, workInProgress, renderLanes) { isHydrating && null !== nextHydratableInstance && 0 !== (workInProgress.mode & 1) && - 0 === (workInProgress.flags & 64) + 0 === (workInProgress.flags & 128) ) { warnIfUnhydratedTailNodes(); resetHydrationState(); - workInProgress.flags |= 49280; + workInProgress.flags |= 98560; var JSCompiler_inline_result = !1; } else if ( ((JSCompiler_inline_result = popHydrationState(workInProgress)), @@ -10138,7 +10138,7 @@ function completeWork(current, workInProgress, renderLanes) { JSCompiler_inline_result[internalInstanceKey] = workInProgress; } else resetHydrationState(), - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (workInProgress.memoizedState = null), (workInProgress.flags |= 4); bubbleProperties(workInProgress); @@ -10148,9 +10148,9 @@ function completeWork(current, workInProgress, renderLanes) { (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null)), (JSCompiler_inline_result = !0); if (!JSCompiler_inline_result) - return workInProgress.flags & 32768 ? workInProgress : null; + return workInProgress.flags & 65536 ? workInProgress : null; } - if (0 !== (workInProgress.flags & 64)) + if (0 !== (workInProgress.flags & 128)) return (workInProgress.lanes = renderLanes), workInProgress; renderLanes = null !== type; type = null !== current && null !== current.memoizedState; @@ -10167,12 +10167,12 @@ function completeWork(current, workInProgress, renderLanes) { null !== JSCompiler_inline_result.memoizedState.cachePool && (cache$157 = JSCompiler_inline_result.memoizedState.cachePool.pool); cache$157 !== previousCache$156 && - (JSCompiler_inline_result.flags |= 1024); + (JSCompiler_inline_result.flags |= 2048); } renderLanes !== type && - (enableTransitionTracing && (workInProgress.child.flags |= 1024), + (enableTransitionTracing && (workInProgress.child.flags |= 2048), renderLanes && - ((workInProgress.child.flags |= 4096), + ((workInProgress.child.flags |= 8192), 0 !== (workInProgress.mode & 1) && (isBadSuspenseFallback(current, newProps) ? renderDidSuspendDelayIfPossible() @@ -10205,19 +10205,19 @@ function completeWork(current, workInProgress, renderLanes) { pop(suspenseStackCursor); type = workInProgress.memoizedState; if (null === type) return bubbleProperties(workInProgress), null; - newProps = 0 !== (workInProgress.flags & 64); + newProps = 0 !== (workInProgress.flags & 128); JSCompiler_inline_result = type.rendering; if (null === JSCompiler_inline_result) if (newProps) cutOffTailIfNeeded(type, !1); else { if ( 0 !== workInProgressRootExitStatus || - (null !== current && 0 !== (current.flags & 64)) + (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { JSCompiler_inline_result = findFirstSuspended(current); if (null !== JSCompiler_inline_result) { - workInProgress.flags |= 64; + workInProgress.flags |= 128; cutOffTailIfNeeded(type, !1); current = JSCompiler_inline_result.updateQueue; null !== current && @@ -10238,7 +10238,7 @@ function completeWork(current, workInProgress, renderLanes) { } null !== type.tail && now() > workInProgressRootRenderTargetTime && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); @@ -10250,7 +10250,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== current) ) { if ( - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), (current = current.updateQueue), null !== current && @@ -10267,7 +10267,7 @@ function completeWork(current, workInProgress, renderLanes) { 2 * now() - type.renderingStartTime > workInProgressRootRenderTargetTime && 1073741824 !== renderLanes && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); @@ -10320,15 +10320,15 @@ function completeWork(current, workInProgress, renderLanes) { 23 !== workInProgress.tag && (null !== current ? (null !== current.memoizedState) !== newProps && - (workInProgress.flags |= 4096) - : newProps && (workInProgress.flags |= 4096)), + (workInProgress.flags |= 8192) + : newProps && (workInProgress.flags |= 8192)), newProps && 0 !== (workInProgress.mode & 1) ? 0 !== (renderLanes & 1073741824) && - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (bubbleProperties(workInProgress), 23 !== workInProgress.tag && workInProgress.subtreeFlags & 6 && - (workInProgress.flags |= 4096)) + (workInProgress.flags |= 8192)) : bubbleProperties(workInProgress), null !== workInProgress.updateQueue && (workInProgress.flags |= 4), (newProps = null), @@ -10340,7 +10340,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== workInProgress.memoizedState && null !== workInProgress.memoizedState.cachePool && (renderLanes = workInProgress.memoizedState.cachePool.pool), - renderLanes !== newProps && (workInProgress.flags |= 1024), + renderLanes !== newProps && (workInProgress.flags |= 2048), popTransition(workInProgress, current), null ); @@ -10349,7 +10349,7 @@ function completeWork(current, workInProgress, renderLanes) { (newProps = null), null !== current && (newProps = current.memoizedState.cache), workInProgress.memoizedState.cache !== newProps && - (workInProgress.flags |= 1024), + (workInProgress.flags |= 2048), popProvider(CacheContext), bubbleProperties(workInProgress), null @@ -10372,8 +10372,8 @@ function unwindWork(current, workInProgress) { case 1: return ( (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 3: @@ -10386,8 +10386,8 @@ function unwindWork(current, workInProgress) { popHostContainer(), resetWorkInProgressVersions(), (current = workInProgress.flags), - 0 !== (current & 32768) && 0 === (current & 64) - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + 0 !== (current & 65536) && 0 === (current & 128) + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 26: @@ -10403,8 +10403,8 @@ function unwindWork(current, workInProgress) { resetHydrationState(); } current = workInProgress.flags; - return current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + return current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null; case 19: return pop(suspenseStackCursor), null; @@ -10419,8 +10419,8 @@ function unwindWork(current, workInProgress) { popHiddenContext(), popTransition(workInProgress, current), (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 24: @@ -10633,7 +10633,7 @@ function commitBeforeMutationEffects(root, firstChild) { ), (_enabled = !1)); root = firstChild.child; - if (0 !== (firstChild.subtreeFlags & 4620) && null !== root) + if (0 !== (firstChild.subtreeFlags & 9236) && null !== root) (root.return = firstChild), (nextEffect = root); else for (; null !== nextEffect; ) { @@ -10688,7 +10688,7 @@ function commitBeforeMutationEffects(root, firstChild) { case 15: break; case 1: - if (0 !== (flags & 512) && null !== current) { + if (0 !== (flags & 1024) && null !== current) { var prevProps = current.memoizedProps, prevState = current.memoizedState, instance = firstChild.stateNode, @@ -10702,7 +10702,7 @@ function commitBeforeMutationEffects(root, firstChild) { } break; case 3: - if (0 !== (flags & 512)) { + if (0 !== (flags & 1024)) { var container = firstChild.stateNode.containerInfo, nodeType = container.nodeType; if (9 === nodeType) @@ -10729,7 +10729,8 @@ function commitBeforeMutationEffects(root, firstChild) { case 17: break; default: - if (0 !== (flags & 512)) throw Error(formatProdErrorMessage(163)); + if (0 !== (flags & 1024)) + throw Error(formatProdErrorMessage(163)); } } catch (error) { captureCommitPhaseError(firstChild, firstChild.return, error); @@ -10857,12 +10858,12 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ); } } - flags & 32 && commitClassCallbacks(finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 64 && commitClassCallbacks(finishedWork); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 3: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 32 && ((flags = finishedWork.updateQueue), null !== flags)) { + if (flags & 64 && ((flags = finishedWork.updateQueue), null !== flags)) { finishedRoot = null; if (null !== finishedWork.child) switch (finishedWork.child.tag) { @@ -10882,13 +10883,13 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { break; case 26: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 27: case 5: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); null === current && flags & 4 && commitHostComponentMount(finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -10915,14 +10916,14 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ? recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, - 0 !== (finishedWork.subtreeFlags & 4388) + 0 !== (finishedWork.subtreeFlags & 8772) ) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; } } else recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && + flags & 512 && ("manual" === finishedWork.memoizedProps.mode ? safelyAttachRef(finishedWork, finishedWork.return) : safelyDetachRef(finishedWork, finishedWork.return)); @@ -11490,7 +11491,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { captureCommitPhaseError(childToDelete, parentFiber, error); } } - if (parentFiber.subtreeFlags & 6430) + if (parentFiber.subtreeFlags & 12854) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), (parentFiber = parentFiber.sibling); @@ -11522,10 +11523,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 1: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); - flags & 32 && + flags & 64 && offscreenSubtreeIsHidden && ((finishedWork = finishedWork.updateQueue), null !== finishedWork && @@ -11538,7 +11539,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 26: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); flags & 4 && @@ -11577,10 +11578,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 5: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); - if (finishedWork.flags & 16) { + if (finishedWork.flags & 32) { root = finishedWork.stateNode; try { setTextContent(root, ""); @@ -11688,7 +11689,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); current = finishedWork.child; - current.flags & 4096 && + current.flags & 8192 && null !== current.memoizedState && (null === current.alternate || null === current.alternate.memoizedState) && @@ -11712,7 +11713,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { } break; case 22: - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); isCustomComponentTag = null !== finishedWork.memoizedState; @@ -11729,7 +11730,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { commitReconciliationEffects(finishedWork); finishedWork.stateNode._current = finishedWork; if ( - flags & 4096 && + flags & 8192 && ((propValue = finishedWork.stateNode), (propValue._visibility = isCustomComponentTag ? propValue._visibility & -2 @@ -11829,7 +11830,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 21: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && (null !== current && safelyDetachRef(finishedWork, finishedWork.return), safelyAttachRef(finishedWork, finishedWork.return)); flags & 4 && (finishedWork.stateNode[internalInstanceKey] = finishedWork); @@ -11862,9 +11863,9 @@ function commitReconciliationEffects(finishedWork) { break; case 5: var parent$183 = JSCompiler_inline_result.stateNode; - JSCompiler_inline_result.flags & 16 && + JSCompiler_inline_result.flags & 32 && (setTextContent(parent$183, ""), - (JSCompiler_inline_result.flags &= -17)); + (JSCompiler_inline_result.flags &= -33)); var before$184 = getHostSibling(finishedWork); insertOrAppendPlacementNode(finishedWork, before$184, parent$183); break; @@ -11887,10 +11888,10 @@ function commitReconciliationEffects(finishedWork) { } finishedWork.flags &= -3; } - flags & 2048 && (finishedWork.flags &= -2049); + flags & 4096 && (finishedWork.flags &= -4097); } function recursivelyTraverseLayoutEffects(root, parentFiber) { - if (parentFiber.subtreeFlags & 4388) + if (parentFiber.subtreeFlags & 8772) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber), (parentFiber = parentFiber.sibling); @@ -11944,7 +11945,7 @@ function recursivelyTraverseReappearLayoutEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 4388); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var current = parentFiber.alternate, finishedRoot = finishedRoot$jscomp$0, @@ -11986,7 +11987,7 @@ function recursivelyTraverseReappearLayoutEffects( callCallback(hiddenCallbacks[current], finishedRoot); } includeWorkInProgressEffects && - flags & 32 && + flags & 64 && commitClassCallbacks(finishedWork); safelyAttachRef(finishedWork, finishedWork.return); break; @@ -12123,7 +12124,7 @@ function recursivelyTraversePassiveMountEffects( committedLanes, committedTransitions ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveMountOnFiber( root, @@ -12150,7 +12151,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && commitHookPassiveMountEffects(finishedWork, 9); + flags & 2048 && commitHookPassiveMountEffects(finishedWork, 9); break; case 3: recursivelyTraversePassiveMountEffects( @@ -12159,7 +12160,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - if (flags & 1024) { + if (flags & 2048) { flags = null; null !== finishedWork.alternate && (flags = finishedWork.alternate.memoizedState.cache); @@ -12220,7 +12221,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -12259,9 +12260,9 @@ function commitPassiveMountOnFiber( finishedWork, committedLanes, committedTransitions, - 0 !== (finishedWork.subtreeFlags & 5128) + 0 !== (finishedWork.subtreeFlags & 10256) )); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -12275,7 +12276,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; case 25: @@ -12286,7 +12287,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && commitTracingMarkerPassiveMountEffect(finishedWork); + flags & 2048 && commitTracingMarkerPassiveMountEffect(finishedWork); break; } default: @@ -12306,7 +12307,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 5128); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 10256); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -12335,7 +12336,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -12375,7 +12376,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects )); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -12391,7 +12392,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; case 25: @@ -12404,7 +12405,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitTracingMarkerPassiveMountEffect(finishedWork); break; } @@ -12424,7 +12425,7 @@ function recursivelyTraverseAtomicPassiveEffects( finishedRoot$jscomp$0, parentFiber ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -12432,7 +12433,7 @@ function recursivelyTraverseAtomicPassiveEffects( switch (finishedWork.tag) { case 22: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -12441,7 +12442,7 @@ function recursivelyTraverseAtomicPassiveEffects( break; case 24: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: @@ -12466,7 +12467,7 @@ function detachAlternateSiblings(parentFiber) { } function recursivelyTraversePassiveUnmountEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -12478,7 +12479,7 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) { } detachAlternateSiblings(parentFiber); } - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveUnmountOnFiber(parentFiber), (parentFiber = parentFiber.sibling); @@ -12489,7 +12490,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { case 11: case 15: recursivelyTraversePassiveUnmountEffects(finishedWork); - finishedWork.flags & 1024 && + finishedWork.flags & 2048 && commitHookEffectListUnmount(9, finishedWork, finishedWork.return); break; case 22: @@ -12507,7 +12508,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -13064,7 +13065,7 @@ function recoverFromConcurrentError( ) { var errorsFromFirstAttempt = workInProgressRootConcurrentErrors, wasRootDehydrated = root.current.memoizedState.isDehydrated; - wasRootDehydrated && (prepareFreshStack(root, errorRetryLanes).flags |= 128); + wasRootDehydrated && (prepareFreshStack(root, errorRetryLanes).flags |= 256); errorRetryLanes = renderRootSync(root, errorRetryLanes); if (2 !== errorRetryLanes) { if (workInProgressRootDidAttachPingListener && !wasRootDehydrated) @@ -13089,7 +13090,7 @@ function queueRecoverableErrors(errors) { } function isRenderConsistentWithExternalStores(finishedWork) { for (var node = finishedWork; ; ) { - if (node.flags & 8192) { + if (node.flags & 16384) { var updateQueue = node.updateQueue; if ( null !== updateQueue && @@ -13107,7 +13108,7 @@ function isRenderConsistentWithExternalStores(finishedWork) { } } updateQueue = node.child; - if (node.subtreeFlags & 8192 && null !== updateQueue) + if (node.subtreeFlags & 16384 && null !== updateQueue) (updateQueue.return = node), (node = updateQueue); else { if (node === finishedWork) break; @@ -13489,7 +13490,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var root = workInProgressRoot, value = thrownValue; thrownValue = workInProgressRootRenderLanes; - unitOfWork.flags |= 16384; + unitOfWork.flags |= 32768; if ( null !== value && "object" === typeof value && @@ -13523,7 +13524,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { if (null !== suspenseBoundary) { switch (suspenseBoundary.tag) { case 13: - suspenseBoundary.flags &= -129; + suspenseBoundary.flags &= -257; markSuspenseBoundaryShouldCapture( suspenseBoundary, returnFiber, @@ -13538,7 +13539,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { break; case 22: if (suspenseBoundary.mode & 1) { - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; var offscreenQueue = suspenseBoundary.updateQueue; if (null === offscreenQueue) { var newOffscreenQueue = { @@ -13571,7 +13572,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { unitOfWork.mode & 1 && ((wakeable = suspenseHandlerStackCursor.current), null !== wakeable) ) { - 0 === (wakeable.flags & 32768) && (wakeable.flags |= 128); + 0 === (wakeable.flags & 65536) && (wakeable.flags |= 256); markSuspenseBoundaryShouldCapture( wakeable, returnFiber, @@ -13593,7 +13594,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { switch (root.tag) { case 3: var errorInfo = value; - root.flags |= 32768; + root.flags |= 65536; thrownValue &= -thrownValue; root.lanes |= thrownValue; var update = createRootErrorUpdate(root, errorInfo, thrownValue); @@ -13604,14 +13605,14 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var ctor = root.type, instance = root.stateNode; if ( - 0 === (root.flags & 64) && + 0 === (root.flags & 128) && ("function" === typeof ctor.getDerivedStateFromError || (null !== instance && "function" === typeof instance.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(instance)))) ) { - root.flags |= 32768; + root.flags |= 65536; update = thrownValue & -thrownValue; root.lanes |= update; errorInfo = createClassErrorUpdate( @@ -13637,7 +13638,7 @@ function completeUnitOfWork(unitOfWork) { do { var current = completedWork.alternate; unitOfWork = completedWork.return; - if (0 === (completedWork.flags & 16384)) { + if (0 === (completedWork.flags & 32768)) { if ( ((current = completeWork(current, completedWork, renderLanes$1)), null !== current) @@ -13653,7 +13654,7 @@ function completeUnitOfWork(unitOfWork) { return; } if (null !== unitOfWork) - (unitOfWork.flags |= 16384), + (unitOfWork.flags |= 32768), (unitOfWork.subtreeFlags = 0), (unitOfWork.deletions = null); else { @@ -13712,8 +13713,8 @@ function commitRootImpl( root === workInProgressRoot && ((workInProgress = workInProgressRoot = null), (workInProgressRootRenderLanes = 0)); - (0 === (finishedWork.subtreeFlags & 5128) && - 0 === (finishedWork.flags & 5128)) || + (0 === (finishedWork.subtreeFlags & 10256) && + 0 === (finishedWork.flags & 10256)) || rootDoesHavePassiveEffects || ((rootDoesHavePassiveEffects = !0), (pendingPassiveEffectsRemainingLanes = remainingLanes), @@ -13722,8 +13723,8 @@ function commitRootImpl( flushPassiveEffects(); return null; })); - transitions = 0 !== (finishedWork.flags & 7998); - if (0 !== (finishedWork.subtreeFlags & 7998) || transitions) { + transitions = 0 !== (finishedWork.flags & 15990); + if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) { transitions = ReactCurrentBatchConfig$3.transition; ReactCurrentBatchConfig$3.transition = null; var previousPriority = currentUpdatePriority; @@ -14007,7 +14008,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { else { if ( !checkScheduledUpdateOrContext(current, renderLanes) && - 0 === (workInProgress.flags & 64) + 0 === (workInProgress.flags & 128) ) return ( (didReceiveUpdate = !1), @@ -14017,12 +14018,12 @@ beginWork$1 = function(current, workInProgress, renderLanes) { renderLanes ) ); - didReceiveUpdate = 0 !== (current.flags & 65536) ? !0 : !1; + didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1; } else (didReceiveUpdate = !1), isHydrating && - 0 !== (workInProgress.flags & 524288) && + 0 !== (workInProgress.flags & 1048576) && pushTreeId(workInProgress, treeForkCount, workInProgress.index); workInProgress.lanes = 0; switch (workInProgress.tag) { @@ -14160,7 +14161,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { }), (workInProgress.updateQueue.baseState = prevState), (workInProgress.memoizedState = prevState), - workInProgress.flags & 128) + workInProgress.flags & 256) ) { init = createCapturedValueAtFiber( Error(formatProdErrorMessage(423)), @@ -14207,7 +14208,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { renderLanes ); for (workInProgress.child = renderLanes; renderLanes; ) - (renderLanes.flags = (renderLanes.flags & -3) | 2048), + (renderLanes.flags = (renderLanes.flags & -3) | 4096), (renderLanes = renderLanes.sibling); } else { @@ -14271,7 +14272,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { ? (root = null) : null !== prevState && shouldSetTextContent(Component, prevState) && - (workInProgress.flags |= 16), + (workInProgress.flags |= 32), markRef(current, workInProgress), reconcileChildren(current, workInProgress, root, renderLanes), workInProgress.child @@ -14492,7 +14493,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { aborts: null }), (workInProgress.stateNode = Component), - (workInProgress.flags |= 1024))), + (workInProgress.flags |= 2048))), (Component = workInProgress.stateNode), null !== Component && pushMarkerInstance(workInProgress, Component), @@ -14562,7 +14563,7 @@ function createWorkInProgress(current, pendingProps) { (workInProgress.flags = 0), (workInProgress.subtreeFlags = 0), (workInProgress.deletions = null)); - workInProgress.flags = current.flags & 7340032; + workInProgress.flags = current.flags & 14680064; workInProgress.childLanes = current.childLanes; workInProgress.lanes = current.lanes; workInProgress.child = current.child; @@ -14581,7 +14582,7 @@ function createWorkInProgress(current, pendingProps) { return workInProgress; } function resetWorkInProgress(workInProgress, renderLanes) { - workInProgress.flags &= 7340034; + workInProgress.flags &= 14680066; var current = workInProgress.alternate; null === current ? ((workInProgress.childLanes = 0), @@ -15089,7 +15090,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1741 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "18.3.0-www-modern-645ae2686-20221206", + version: "18.3.0-www-modern-d69b2cf82-20221206", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2129 = { @@ -15120,7 +15121,7 @@ var internals$jscomp$inline_2129 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-next-645ae2686-20221206" + reconcilerVersion: "18.3.0-next-d69b2cf82-20221206" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2130 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -15308,4 +15309,4 @@ exports.unstable_flushControlled = function(fn) { } }; exports.unstable_runWithPriority = runWithPriority; -exports.version = "18.3.0-next-645ae2686-20221206"; +exports.version = "18.3.0-next-d69b2cf82-20221206"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index be8908556c..d6528c6028 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -231,7 +231,7 @@ function getNearestMountedFiber(fiber) { fiber = node; do (node = fiber), - 0 !== (node.flags & 2050) && (nearestMounted = node.return), + 0 !== (node.flags & 4098) && (nearestMounted = node.return), (fiber = node.return); while (fiber); } @@ -1584,7 +1584,7 @@ var scheduleCallback = Scheduler.unstable_scheduleCallback, function onCommitRoot(root, eventPriority) { if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot) try { - var didError = 64 === (root.current.flags & 64); + var didError = 128 === (root.current.flags & 128); switch (eventPriority) { case 1: var schedulerPriority = ImmediatePriority; @@ -5567,7 +5567,7 @@ function deleteHydratableInstance(returnFiber, instance) { fiber.return = returnFiber; instance = returnFiber.deletions; null === instance - ? ((returnFiber.deletions = [fiber]), (returnFiber.flags |= 8)) + ? ((returnFiber.deletions = [fiber]), (returnFiber.flags |= 16)) : instance.push(fiber); } function tryHydrate(fiber, nextInstance) { @@ -5625,7 +5625,7 @@ function tryHydrate(fiber, nextInstance) { } } function shouldClientRenderOnMismatch(fiber) { - return 0 !== (fiber.mode & 1) && 0 === (fiber.flags & 64); + return 0 !== (fiber.mode & 1) && 0 === (fiber.flags & 128); } function tryToClaimNextHydratableInstance(fiber) { if (isHydrating) { @@ -5658,19 +5658,19 @@ function tryToClaimNextHydratableInstance(fiber) { JSCompiler_inline_result && tryHydrate(fiber, JSCompiler_inline_result) ? deleteHydratableInstance(onError, type) - : ((fiber.flags = (fiber.flags & -2049) | 2), + : ((fiber.flags = (fiber.flags & -4097) | 2), (isHydrating = !1), (hydrationParentFiber = fiber)); } } else { if (shouldClientRenderOnMismatch(fiber)) throw Error(formatProdErrorMessage(418)); - fiber.flags = (fiber.flags & -2049) | 2; + fiber.flags = (fiber.flags & -4097) | 2; isHydrating = !1; hydrationParentFiber = fiber; } else - (fiber.flags = (fiber.flags & -2049) | 2), + (fiber.flags = (fiber.flags & -4097) | 2), (isHydrating = !1), (hydrationParentFiber = fiber); } @@ -6095,7 +6095,7 @@ function processUpdateQueue( newState = workInProgress; break a; case 3: - workInProgress.flags = (workInProgress.flags & -32769) | 64; + workInProgress.flags = (workInProgress.flags & -65537) | 128; case 0: workInProgress = update.payload; updateLane = @@ -6111,8 +6111,8 @@ function processUpdateQueue( } updateLane = pendingQueue.callback; null !== updateLane && - ((workInProgress$jscomp$0.flags |= 32), - isHiddenUpdate && (workInProgress$jscomp$0.flags |= 4096), + ((workInProgress$jscomp$0.flags |= 64), + isHiddenUpdate && (workInProgress$jscomp$0.flags |= 8192), (isHiddenUpdate = queue.callbacks), null === isHiddenUpdate ? (queue.callbacks = [updateLane]) @@ -6223,7 +6223,7 @@ function createChildReconciler(shouldTrackSideEffects) { if (shouldTrackSideEffects) { var deletions = returnFiber.deletions; null === deletions - ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 8)) + ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16)) : deletions.push(childToDelete); } } @@ -6251,22 +6251,22 @@ function createChildReconciler(shouldTrackSideEffects) { function placeChild(newFiber, lastPlacedIndex, newIndex) { newFiber.index = newIndex; if (!shouldTrackSideEffects) - return (newFiber.flags |= 524288), lastPlacedIndex; + return (newFiber.flags |= 1048576), lastPlacedIndex; newIndex = newFiber.alternate; if (null !== newIndex) return ( (newIndex = newIndex.index), newIndex < lastPlacedIndex - ? ((newFiber.flags |= 8388610), lastPlacedIndex) + ? ((newFiber.flags |= 16777218), lastPlacedIndex) : newIndex ); - newFiber.flags |= 8388610; + newFiber.flags |= 16777218; return lastPlacedIndex; } function placeSingleChild(newFiber) { shouldTrackSideEffects && null === newFiber.alternate && - (newFiber.flags |= 8388610); + (newFiber.flags |= 16777218); return newFiber; } function updateTextNode(returnFiber, current, textContent, lanes) { @@ -6906,7 +6906,7 @@ function findFirstSuspended(row) { ) return node; } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) { - if (0 !== (node.flags & 64)) return node; + if (0 !== (node.flags & 128)) return node; } else if (null !== node.child) { node.child.return = node; node = node.child; @@ -7067,7 +7067,7 @@ function checkDidRenderIdHook() { } function bailoutHooks(current, workInProgress, lanes) { workInProgress.updateQueue = current.updateQueue; - workInProgress.flags &= -1029; + workInProgress.flags &= -2053; current.lanes &= ~lanes; } function resetHooksOnUnwind() { @@ -7396,7 +7396,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { snapshotChanged || (null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1) ) { - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind(null, fiber, hook, nextSnapshot, getSnapshot), @@ -7411,7 +7411,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { return nextSnapshot; } function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) { - fiber.flags |= 8192; + fiber.flags |= 16384; fiber = { getSnapshot: getSnapshot, value: renderedSnapshot }; getSnapshot = currentlyRenderingFiber.updateQueue; null === getSnapshot @@ -7511,10 +7511,10 @@ function updateEffectImpl(fiberFlags, hookFlags, create, deps) { hook.memoizedState = pushEffect(1 | hookFlags, create, destroy, deps); } function mountEffect(create, deps) { - mountEffectImpl(4195328, 8, create, deps); + mountEffectImpl(8390656, 8, create, deps); } function updateEffect(create, deps) { - updateEffectImpl(1024, 8, create, deps); + updateEffectImpl(2048, 8, create, deps); } function useEventImpl(payload) { currentlyRenderingFiber.flags |= 4; @@ -7777,14 +7777,14 @@ var HooksDispatcherOnMount = { useImperativeHandle: function(ref, create, deps) { deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; mountEffectImpl( - 2097156, + 4194308, 4, imperativeHandleEffect.bind(null, create, ref), deps ); }, useLayoutEffect: function(create, deps) { - return mountEffectImpl(2097156, 4, create, deps); + return mountEffectImpl(4194308, 4, create, deps); }, useInsertionEffect: function(create, deps) { mountEffectImpl(4, 2, create, deps); @@ -7867,7 +7867,7 @@ var HooksDispatcherOnMount = { mountEffect(subscribeToStore.bind(null, fiber, root$94, subscribe), [ subscribe ]); - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind( @@ -8220,7 +8220,7 @@ function mountClassInstance(workInProgress, ctor, newProps, renderLanes) { processUpdateQueue(workInProgress, newProps, instance, renderLanes), (instance.state = workInProgress.memoizedState)); "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156); + (workInProgress.flags |= 4194308); } function createCapturedValueAtFiber(value, source) { try { @@ -8316,10 +8316,10 @@ function markSuspenseBoundaryShouldCapture( if (0 === (suspenseBoundary.mode & 1)) return ( suspenseBoundary === returnFiber - ? (suspenseBoundary.flags |= 32768) - : ((suspenseBoundary.flags |= 64), - (sourceFiber.flags |= 65536), - (sourceFiber.flags &= -26405), + ? (suspenseBoundary.flags |= 65536) + : ((suspenseBoundary.flags |= 128), + (sourceFiber.flags |= 131072), + (sourceFiber.flags &= -52805), 1 === sourceFiber.tag && (null === sourceFiber.alternate ? (sourceFiber.tag = 17) @@ -8329,7 +8329,7 @@ function markSuspenseBoundaryShouldCapture( (sourceFiber.lanes |= 1)), suspenseBoundary ); - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; suspenseBoundary.lanes = rootRenderLanes; return suspenseBoundary; } @@ -8585,7 +8585,7 @@ function updateSimpleMemoComponent( (workInProgress.pendingProps = nextProps = prevProps), checkScheduledUpdateOrContext(current, renderLanes)) ) - 0 !== (current.flags & 65536) && (didReceiveUpdate = !0); + 0 !== (current.flags & 131072) && (didReceiveUpdate = !0); else return ( (workInProgress.lanes = current.lanes), @@ -8610,7 +8610,7 @@ function updateOffscreenComponent(current, workInProgress, renderLanes) { "unstable-defer-without-hiding" === nextProps.mode || workInProgress.stateNode._visibility & 2 ) { - if (0 !== (workInProgress.flags & 64)) { + if (0 !== (workInProgress.flags & 128)) { nextChildren = null !== prevState ? prevState.baseLanes | renderLanes : renderLanes; if (null !== current) { @@ -8703,7 +8703,7 @@ function markRef(current, workInProgress) { (null === current && null !== ref) || (null !== current && current.ref !== ref) ) - (workInProgress.flags |= 256), (workInProgress.flags |= 1048576); + (workInProgress.flags |= 512), (workInProgress.flags |= 2097152); } function updateFunctionComponent( current, @@ -8849,9 +8849,9 @@ function updateClassComponent( "function" === typeof instance.UNSAFE_componentWillMount && instance.UNSAFE_componentWillMount()), "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156)) + (workInProgress.flags |= 4194308)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = oldContext)), (instance.props = nextProps), @@ -8859,7 +8859,7 @@ function updateClassComponent( (instance.context = contextType), (nextProps = oldProps)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (nextProps = !1)); } else { instance = workInProgress.stateNode; @@ -8942,7 +8942,7 @@ function updateClassComponent( "function" === typeof instance.componentDidUpdate && (workInProgress.flags |= 4), "function" === typeof instance.getSnapshotBeforeUpdate && - (workInProgress.flags |= 512)) + (workInProgress.flags |= 1024)) : ("function" !== typeof instance.componentDidUpdate || (oldProps === current.memoizedProps && oldState === current.memoizedState) || @@ -8950,7 +8950,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (oldProps === current.memoizedProps && oldState === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = newState)), (instance.props = nextProps), @@ -8964,7 +8964,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (oldProps === current.memoizedProps && oldState === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (nextProps = !1)); } return finishClassComponent( @@ -8985,7 +8985,7 @@ function finishClassComponent( renderLanes ) { markRef(current, workInProgress); - var didCaptureError = 0 !== (workInProgress.flags & 64); + var didCaptureError = 0 !== (workInProgress.flags & 128); if (!shouldUpdate && !didCaptureError) return ( hasContext && invalidateContextProvider(workInProgress, Component, !1), @@ -9044,7 +9044,7 @@ function mountHostRootWithoutHydrating( ) { resetHydrationState(); queueHydrationError(recoverableError); - workInProgress.flags |= 128; + workInProgress.flags |= 256; reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } @@ -9055,14 +9055,14 @@ function mountSuspenseOffscreenState(renderLanes) { function updateSuspenseComponent(current, workInProgress, renderLanes) { var nextProps = workInProgress.pendingProps, showFallback = !1, - didSuspend = 0 !== (workInProgress.flags & 64), + didSuspend = 0 !== (workInProgress.flags & 128), JSCompiler_temp; (JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & 2)); - JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -65)); + JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -129)); if (null === current) { if (isHydrating) { showFallback @@ -9168,7 +9168,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.treeBaseDuration = JSCompiler_temp.treeBaseDuration)), (workInProgress.deletions = null)) : ((nextProps = createWorkInProgress(JSCompiler_temp, primaryChildProps)), - (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 7340032)); + (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 14680064)); null !== dehydrated$118 ? (showFallback = createWorkInProgress(dehydrated$118, showFallback)) : ((showFallback = createFiberFromFragment( @@ -9240,7 +9240,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes - ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 8)) + ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); workInProgress.child = nextProps; workInProgress.memoizedState = null; @@ -9317,10 +9317,10 @@ function updateDehydratedSuspenseComponent( renderLanes ) { if (didSuspend) { - if (workInProgress.flags & 128) + if (workInProgress.flags & 256) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags &= -129), + (workInProgress.flags &= -257), (nextProps = createCapturedValue(Error(formatProdErrorMessage(422)))), retrySuspenseComponentWithoutHydrating( current, @@ -9333,7 +9333,7 @@ function updateDehydratedSuspenseComponent( return ( reuseSuspenseHandlerOnStack(), (workInProgress.child = current.child), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); reuseSuspenseHandlerOnStack(); @@ -9450,7 +9450,7 @@ function updateDehydratedSuspenseComponent( } if ("$?" === suspenseInstance.data) return ( - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), (workInProgress.child = current.child), (workInProgress = retryDehydratedSuspenseBoundary.bind(null, current)), (suspenseInstance._reactRetry = workInProgress), @@ -9472,7 +9472,7 @@ function updateDehydratedSuspenseComponent( workInProgress, nextProps.children ); - workInProgress.flags |= 2048; + workInProgress.flags |= 4096; return workInProgress; } function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) { @@ -9512,9 +9512,9 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) { reconcileChildren(current, workInProgress, nextProps.children, renderLanes); nextProps = suspenseStackCursor.current; if (0 !== (nextProps & 2)) - (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 64); + (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 128); else { - if (null !== current && 0 !== (current.flags & 64)) + if (null !== current && 0 !== (current.flags & 128)) a: for (current = workInProgress.child; null !== current; ) { if (13 === current.tag) null !== current.memoizedState && @@ -9687,7 +9687,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (null !== stateNode.dehydrated) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); if (0 !== (renderLanes & workInProgress.child.childLanes)) @@ -9703,7 +9703,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( pushPrimaryTreeSuspenseHandler(workInProgress); break; case 19: - var didSuspendBefore = 0 !== (current.flags & 64); + var didSuspendBefore = 0 !== (current.flags & 128); stateNode = 0 !== (renderLanes & workInProgress.childLanes); enableLazyContextPropagation && !stateNode && @@ -9721,7 +9721,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( workInProgress, renderLanes ); - workInProgress.flags |= 64; + workInProgress.flags |= 128; } didSuspendBefore = workInProgress.memoizedState; null !== didSuspendBefore && @@ -9922,8 +9922,8 @@ function propagateParentContextChanges( ) { if (!isInsidePropagationBailout) - if (0 !== (parent.flags & 262144)) isInsidePropagationBailout = !0; - else if (0 !== (parent.flags & 131072)) break; + if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = !0; + else if (0 !== (parent.flags & 262144)) break; if (10 === parent.tag) { var currentParent = parent.alternate; if (null === currentParent) throw Error(formatProdErrorMessage(387)); @@ -9943,7 +9943,7 @@ function propagateParentContextChanges( renderLanes, forcePropagateEntireTree ); - workInProgress.flags |= 131072; + workInProgress.flags |= 262144; } } function checkIfContextChanged(currentDependencies) { @@ -9990,7 +9990,7 @@ function readContext(context) { firstContext: context }; enableLazyContextPropagation && - (currentlyRenderingFiber$1.flags |= 262144); + (currentlyRenderingFiber$1.flags |= 524288); } else lastContextDependency = lastContextDependency.next = context; return value; } @@ -10178,7 +10178,7 @@ function markUpdate(workInProgress) { workInProgress.flags |= 4; } function markRef$1(workInProgress) { - workInProgress.flags |= 1048832; + workInProgress.flags |= 2097664; } var appendAllChildren, updateHostContainer, @@ -10361,8 +10361,8 @@ function bubbleProperties(completedWork) { ) (newChildLanes |= child$154.lanes | child$154.childLanes), - (subtreeFlags |= child$154.subtreeFlags & 7340032), - (subtreeFlags |= child$154.flags & 7340032), + (subtreeFlags |= child$154.subtreeFlags & 14680064), + (subtreeFlags |= child$154.flags & 14680064), (treeBaseDuration$153 += child$154.treeBaseDuration), (child$154 = child$154.sibling); completedWork.treeBaseDuration = treeBaseDuration$153; @@ -10374,8 +10374,8 @@ function bubbleProperties(completedWork) { ) (newChildLanes |= treeBaseDuration$153.lanes | treeBaseDuration$153.childLanes), - (subtreeFlags |= treeBaseDuration$153.subtreeFlags & 7340032), - (subtreeFlags |= treeBaseDuration$153.flags & 7340032), + (subtreeFlags |= treeBaseDuration$153.subtreeFlags & 14680064), + (subtreeFlags |= treeBaseDuration$153.flags & 14680064), (treeBaseDuration$153.return = completedWork), (treeBaseDuration$153 = treeBaseDuration$153.sibling); else if (0 !== (completedWork.mode & 2)) { @@ -10431,11 +10431,11 @@ function completeWork(current, workInProgress, renderLanes) { newProps = workInProgress.stateNode; enableTransitionTracing && null !== workInProgressTransitions && - (workInProgress.flags |= 1024); + (workInProgress.flags |= 2048); renderLanes = null; null !== current && (renderLanes = current.memoizedState.cache); workInProgress.memoizedState.cache !== renderLanes && - (workInProgress.flags |= 1024); + (workInProgress.flags |= 2048); popProvider(CacheContext); enableTransitionTracing && enableTransitionTracing && @@ -10453,16 +10453,16 @@ function completeWork(current, workInProgress, renderLanes) { ? markUpdate(workInProgress) : null === current || (current.memoizedState.isDehydrated && - 0 === (workInProgress.flags & 128)) || - ((workInProgress.flags |= 512), + 0 === (workInProgress.flags & 256)) || + ((workInProgress.flags |= 1024), null !== hydrationErrors && (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null))); updateHostContainer(current, workInProgress); bubbleProperties(workInProgress); enableTransitionTracing && - 0 !== (workInProgress.subtreeFlags & 4096) && - (workInProgress.flags |= 1024); + 0 !== (workInProgress.subtreeFlags & 8192) && + (workInProgress.flags |= 2048); return null; case 26: return ( @@ -10609,11 +10609,11 @@ function completeWork(current, workInProgress, renderLanes) { isHydrating && null !== nextHydratableInstance && 0 !== (workInProgress.mode & 1) && - 0 === (workInProgress.flags & 64) + 0 === (workInProgress.flags & 128) ) { warnIfUnhydratedTailNodes(); resetHydrationState(); - workInProgress.flags |= 49280; + workInProgress.flags |= 98560; var JSCompiler_inline_result = !1; } else if ( ((JSCompiler_inline_result = popHydrationState(workInProgress)), @@ -10639,7 +10639,7 @@ function completeWork(current, workInProgress, renderLanes) { JSCompiler_inline_result.treeBaseDuration)); } else resetHydrationState(), - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (workInProgress.memoizedState = null), (workInProgress.flags |= 4), bubbleProperties(workInProgress), @@ -10655,9 +10655,9 @@ function completeWork(current, workInProgress, renderLanes) { (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null)), (JSCompiler_inline_result = !0); if (!JSCompiler_inline_result) - return workInProgress.flags & 32768 ? workInProgress : null; + return workInProgress.flags & 65536 ? workInProgress : null; } - if (0 !== (workInProgress.flags & 64)) + if (0 !== (workInProgress.flags & 128)) return ( (workInProgress.lanes = renderLanes), 0 !== (workInProgress.mode & 2) && @@ -10679,12 +10679,12 @@ function completeWork(current, workInProgress, renderLanes) { null !== JSCompiler_inline_result.memoizedState.cachePool && (cache$167 = JSCompiler_inline_result.memoizedState.cachePool.pool); cache$167 !== previousCache$166 && - (JSCompiler_inline_result.flags |= 1024); + (JSCompiler_inline_result.flags |= 2048); } renderLanes !== type && - (enableTransitionTracing && (workInProgress.child.flags |= 1024), + (enableTransitionTracing && (workInProgress.child.flags |= 2048), renderLanes && - ((workInProgress.child.flags |= 4096), + ((workInProgress.child.flags |= 8192), 0 !== (workInProgress.mode & 1) && (isBadSuspenseFallback(current, newProps) ? renderDidSuspendDelayIfPossible() @@ -10726,19 +10726,19 @@ function completeWork(current, workInProgress, renderLanes) { pop(suspenseStackCursor); type = workInProgress.memoizedState; if (null === type) return bubbleProperties(workInProgress), null; - newProps = 0 !== (workInProgress.flags & 64); + newProps = 0 !== (workInProgress.flags & 128); JSCompiler_inline_result = type.rendering; if (null === JSCompiler_inline_result) if (newProps) cutOffTailIfNeeded(type, !1); else { if ( 0 !== workInProgressRootExitStatus || - (null !== current && 0 !== (current.flags & 64)) + (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { JSCompiler_inline_result = findFirstSuspended(current); if (null !== JSCompiler_inline_result) { - workInProgress.flags |= 64; + workInProgress.flags |= 128; cutOffTailIfNeeded(type, !1); current = JSCompiler_inline_result.updateQueue; null !== current && @@ -10759,7 +10759,7 @@ function completeWork(current, workInProgress, renderLanes) { } null !== type.tail && now() > workInProgressRootRenderTargetTime && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); @@ -10771,7 +10771,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== current) ) { if ( - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), (current = current.updateQueue), null !== current && @@ -10788,7 +10788,7 @@ function completeWork(current, workInProgress, renderLanes) { 2 * now() - type.renderingStartTime > workInProgressRootRenderTargetTime && 1073741824 !== renderLanes && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); @@ -10841,15 +10841,15 @@ function completeWork(current, workInProgress, renderLanes) { 23 !== workInProgress.tag && (null !== current ? (null !== current.memoizedState) !== newProps && - (workInProgress.flags |= 4096) - : newProps && (workInProgress.flags |= 4096)), + (workInProgress.flags |= 8192) + : newProps && (workInProgress.flags |= 8192)), newProps && 0 !== (workInProgress.mode & 1) ? 0 !== (renderLanes & 1073741824) && - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (bubbleProperties(workInProgress), 23 !== workInProgress.tag && workInProgress.subtreeFlags & 6 && - (workInProgress.flags |= 4096)) + (workInProgress.flags |= 8192)) : bubbleProperties(workInProgress), null !== workInProgress.updateQueue && (workInProgress.flags |= 4), (newProps = null), @@ -10861,7 +10861,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== workInProgress.memoizedState && null !== workInProgress.memoizedState.cachePool && (renderLanes = workInProgress.memoizedState.cachePool.pool), - renderLanes !== newProps && (workInProgress.flags |= 1024), + renderLanes !== newProps && (workInProgress.flags |= 2048), popTransition(workInProgress, current), null ); @@ -10870,7 +10870,7 @@ function completeWork(current, workInProgress, renderLanes) { (newProps = null), null !== current && (newProps = current.memoizedState.cache), workInProgress.memoizedState.cache !== newProps && - (workInProgress.flags |= 1024), + (workInProgress.flags |= 2048), popProvider(CacheContext), bubbleProperties(workInProgress), null @@ -10894,8 +10894,8 @@ function unwindWork(current, workInProgress) { return ( isContextProvider(workInProgress.type) && popContext(), (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), 0 !== (workInProgress.mode & 2) && transferActualDuration(workInProgress), workInProgress) @@ -10913,8 +10913,8 @@ function unwindWork(current, workInProgress) { pop(contextStackCursor$1), resetWorkInProgressVersions(), (current = workInProgress.flags), - 0 !== (current & 32768) && 0 === (current & 64) - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + 0 !== (current & 65536) && 0 === (current & 128) + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 26: @@ -10930,8 +10930,8 @@ function unwindWork(current, workInProgress) { resetHydrationState(); } current = workInProgress.flags; - return current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), + return current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), 0 !== (workInProgress.mode & 2) && transferActualDuration(workInProgress), workInProgress) @@ -10949,8 +10949,8 @@ function unwindWork(current, workInProgress) { popHiddenContext(), popTransition(workInProgress, current), (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), 0 !== (workInProgress.mode & 2) && transferActualDuration(workInProgress), workInProgress) @@ -11206,7 +11206,7 @@ function commitBeforeMutationEffects(root, firstChild) { ), (_enabled = !1)); root = firstChild.child; - if (0 !== (firstChild.subtreeFlags & 4620) && null !== root) + if (0 !== (firstChild.subtreeFlags & 9236) && null !== root) (root.return = firstChild), (nextEffect = root); else for (; null !== nextEffect; ) { @@ -11261,7 +11261,7 @@ function commitBeforeMutationEffects(root, firstChild) { case 15: break; case 1: - if (0 !== (flags & 512) && null !== current) { + if (0 !== (flags & 1024) && null !== current) { var prevProps = current.memoizedProps, prevState = current.memoizedState, instance = firstChild.stateNode, @@ -11275,7 +11275,7 @@ function commitBeforeMutationEffects(root, firstChild) { } break; case 3: - if (0 !== (flags & 512)) { + if (0 !== (flags & 1024)) { var container = firstChild.stateNode.containerInfo, nodeType = container.nodeType; if (9 === nodeType) @@ -11302,7 +11302,8 @@ function commitBeforeMutationEffects(root, firstChild) { case 17: break; default: - if (0 !== (flags & 512)) throw Error(formatProdErrorMessage(163)); + if (0 !== (flags & 1024)) + throw Error(formatProdErrorMessage(163)); } } catch (error) { captureCommitPhaseError(firstChild, firstChild.return, error); @@ -11588,12 +11589,12 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ); } } - flags & 32 && commitClassCallbacks(finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 64 && commitClassCallbacks(finishedWork); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 3: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 32 && ((flags = finishedWork.updateQueue), null !== flags)) { + if (flags & 64 && ((flags = finishedWork.updateQueue), null !== flags)) { finishedRoot = null; if (null !== finishedWork.child) switch (finishedWork.child.tag) { @@ -11613,13 +11614,13 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { break; case 26: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 27: case 5: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); null === current && flags & 4 && commitHostComponentMount(finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -11647,14 +11648,14 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ? recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, - 0 !== (finishedWork.subtreeFlags & 4388) + 0 !== (finishedWork.subtreeFlags & 8772) ) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; } } else recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && + flags & 512 && ("manual" === finishedWork.memoizedProps.mode ? safelyAttachRef(finishedWork, finishedWork.return) : safelyDetachRef(finishedWork, finishedWork.return)); @@ -12244,7 +12245,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { captureCommitPhaseError(childToDelete, parentFiber, error); } } - if (parentFiber.subtreeFlags & 6430) + if (parentFiber.subtreeFlags & 12854) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), (parentFiber = parentFiber.sibling); @@ -12293,10 +12294,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 1: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); - flags & 32 && + flags & 64 && offscreenSubtreeIsHidden && ((finishedWork = finishedWork.updateQueue), null !== finishedWork && @@ -12309,7 +12310,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 26: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); flags & 4 && @@ -12348,10 +12349,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 5: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); - if (finishedWork.flags & 16) { + if (finishedWork.flags & 32) { root = finishedWork.stateNode; try { setTextContent(root, ""); @@ -12459,7 +12460,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); current = finishedWork.child; - current.flags & 4096 && + current.flags & 8192 && null !== current.memoizedState && (null === current.alternate || null === current.alternate.memoizedState) && @@ -12483,7 +12484,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { } break; case 22: - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); isCustomComponentTag = null !== finishedWork.memoizedState; @@ -12500,7 +12501,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { commitReconciliationEffects(finishedWork); finishedWork.stateNode._current = finishedWork; if ( - flags & 4096 && + flags & 8192 && ((propValue = finishedWork.stateNode), (propValue._visibility = isCustomComponentTag ? propValue._visibility & -2 @@ -12600,7 +12601,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 21: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && (null !== current && safelyDetachRef(finishedWork, finishedWork.return), safelyAttachRef(finishedWork, finishedWork.return)); flags & 4 && (finishedWork.stateNode[internalInstanceKey] = finishedWork); @@ -12633,9 +12634,9 @@ function commitReconciliationEffects(finishedWork) { break; case 5: var parent$200 = JSCompiler_inline_result.stateNode; - JSCompiler_inline_result.flags & 16 && + JSCompiler_inline_result.flags & 32 && (setTextContent(parent$200, ""), - (JSCompiler_inline_result.flags &= -17)); + (JSCompiler_inline_result.flags &= -33)); var before$201 = getHostSibling(finishedWork); insertOrAppendPlacementNode(finishedWork, before$201, parent$200); break; @@ -12658,7 +12659,7 @@ function commitReconciliationEffects(finishedWork) { } finishedWork.flags &= -3; } - flags & 2048 && (finishedWork.flags &= -2049); + flags & 4096 && (finishedWork.flags &= -4097); } function commitLayoutEffects(finishedWork, root, committedLanes) { inProgressLanes = committedLanes; @@ -12667,7 +12668,7 @@ function commitLayoutEffects(finishedWork, root, committedLanes) { inProgressRoot = inProgressLanes = null; } function recursivelyTraverseLayoutEffects(root, parentFiber) { - if (parentFiber.subtreeFlags & 4388) + if (parentFiber.subtreeFlags & 8772) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber), (parentFiber = parentFiber.sibling); @@ -12726,7 +12727,7 @@ function recursivelyTraverseReappearLayoutEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 4388); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var current = parentFiber.alternate, finishedRoot = finishedRoot$jscomp$0, @@ -12768,7 +12769,7 @@ function recursivelyTraverseReappearLayoutEffects( callCallback(hiddenCallbacks[current], finishedRoot); } includeWorkInProgressEffects && - flags & 32 && + flags & 64 && commitClassCallbacks(finishedWork); safelyAttachRef(finishedWork, finishedWork.return); break; @@ -12917,7 +12918,7 @@ function recursivelyTraversePassiveMountEffects( committedLanes, committedTransitions ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveMountOnFiber( root, @@ -12944,7 +12945,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && commitHookPassiveMountEffects(finishedWork, 9); + flags & 2048 && commitHookPassiveMountEffects(finishedWork, 9); break; case 3: recursivelyTraversePassiveMountEffects( @@ -12953,7 +12954,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - if (flags & 1024) { + if (flags & 2048) { flags = null; null !== finishedWork.alternate && (flags = finishedWork.alternate.memoizedState.cache); @@ -13014,7 +13015,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -13053,9 +13054,9 @@ function commitPassiveMountOnFiber( finishedWork, committedLanes, committedTransitions, - 0 !== (finishedWork.subtreeFlags & 5128) + 0 !== (finishedWork.subtreeFlags & 10256) )); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -13069,7 +13070,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; case 25: @@ -13080,7 +13081,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && commitTracingMarkerPassiveMountEffect(finishedWork); + flags & 2048 && commitTracingMarkerPassiveMountEffect(finishedWork); break; } default: @@ -13100,7 +13101,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 5128); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 10256); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -13129,7 +13130,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -13169,7 +13170,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects )); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -13185,7 +13186,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; case 25: @@ -13198,7 +13199,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitTracingMarkerPassiveMountEffect(finishedWork); break; } @@ -13218,7 +13219,7 @@ function recursivelyTraverseAtomicPassiveEffects( finishedRoot$jscomp$0, parentFiber ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -13226,7 +13227,7 @@ function recursivelyTraverseAtomicPassiveEffects( switch (finishedWork.tag) { case 22: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -13235,7 +13236,7 @@ function recursivelyTraverseAtomicPassiveEffects( break; case 24: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: @@ -13279,7 +13280,7 @@ function commitHookPassiveUnmountEffects( } function recursivelyTraversePassiveUnmountEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -13291,7 +13292,7 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) { } detachAlternateSiblings(parentFiber); } - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveUnmountOnFiber(parentFiber), (parentFiber = parentFiber.sibling); @@ -13302,7 +13303,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { case 11: case 15: recursivelyTraversePassiveUnmountEffects(finishedWork); - finishedWork.flags & 1024 && + finishedWork.flags & 2048 && commitHookPassiveUnmountEffects(finishedWork, finishedWork.return, 9); break; case 22: @@ -13320,7 +13321,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -13896,7 +13897,7 @@ function recoverFromConcurrentError( ) { var errorsFromFirstAttempt = workInProgressRootConcurrentErrors, wasRootDehydrated = root.current.memoizedState.isDehydrated; - wasRootDehydrated && (prepareFreshStack(root, errorRetryLanes).flags |= 128); + wasRootDehydrated && (prepareFreshStack(root, errorRetryLanes).flags |= 256); errorRetryLanes = renderRootSync(root, errorRetryLanes); if (2 !== errorRetryLanes) { if (workInProgressRootDidAttachPingListener && !wasRootDehydrated) @@ -13921,7 +13922,7 @@ function queueRecoverableErrors(errors) { } function isRenderConsistentWithExternalStores(finishedWork) { for (var node = finishedWork; ; ) { - if (node.flags & 8192) { + if (node.flags & 16384) { var updateQueue = node.updateQueue; if ( null !== updateQueue && @@ -13939,7 +13940,7 @@ function isRenderConsistentWithExternalStores(finishedWork) { } } updateQueue = node.child; - if (node.subtreeFlags & 8192 && null !== updateQueue) + if (node.subtreeFlags & 16384 && null !== updateQueue) (updateQueue.return = node), (node = updateQueue); else { if (node === finishedWork) break; @@ -14383,7 +14384,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var root = workInProgressRoot, value = thrownValue; thrownValue = workInProgressRootRenderLanes; - unitOfWork.flags |= 16384; + unitOfWork.flags |= 32768; isDevToolsPresent && restorePendingUpdaters(root, thrownValue); if ( null !== value && @@ -14418,7 +14419,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { if (null !== suspenseBoundary) { switch (suspenseBoundary.tag) { case 13: - suspenseBoundary.flags &= -129; + suspenseBoundary.flags &= -257; markSuspenseBoundaryShouldCapture( suspenseBoundary, returnFiber, @@ -14433,7 +14434,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { break; case 22: if (suspenseBoundary.mode & 1) { - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; var offscreenQueue = suspenseBoundary.updateQueue; if (null === offscreenQueue) { var newOffscreenQueue = { @@ -14466,7 +14467,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { unitOfWork.mode & 1 && ((wakeable = suspenseHandlerStackCursor.current), null !== wakeable) ) { - 0 === (wakeable.flags & 32768) && (wakeable.flags |= 128); + 0 === (wakeable.flags & 65536) && (wakeable.flags |= 256); markSuspenseBoundaryShouldCapture( wakeable, returnFiber, @@ -14488,7 +14489,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { switch (root.tag) { case 3: var errorInfo = value; - root.flags |= 32768; + root.flags |= 65536; thrownValue &= -thrownValue; root.lanes |= thrownValue; var update = createRootErrorUpdate(root, errorInfo, thrownValue); @@ -14499,14 +14500,14 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var ctor = root.type, instance = root.stateNode; if ( - 0 === (root.flags & 64) && + 0 === (root.flags & 128) && ("function" === typeof ctor.getDerivedStateFromError || (null !== instance && "function" === typeof instance.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(instance)))) ) { - root.flags |= 32768; + root.flags |= 65536; update = thrownValue & -thrownValue; root.lanes |= update; errorInfo = createClassErrorUpdate( @@ -14532,7 +14533,7 @@ function completeUnitOfWork(unitOfWork) { do { var current = completedWork.alternate; unitOfWork = completedWork.return; - if (0 === (completedWork.flags & 16384)) { + if (0 === (completedWork.flags & 32768)) { if ( (0 === (completedWork.mode & 2) ? (current = completeWork(current, completedWork, renderLanes$1)) @@ -14559,7 +14560,7 @@ function completeUnitOfWork(unitOfWork) { completedWork.actualDuration = current; } if (null !== unitOfWork) - (unitOfWork.flags |= 16384), + (unitOfWork.flags |= 32768), (unitOfWork.subtreeFlags = 0), (unitOfWork.deletions = null); else { @@ -14624,8 +14625,8 @@ function commitRootImpl( root === workInProgressRoot && ((workInProgress = workInProgressRoot = null), (workInProgressRootRenderLanes = 0)); - (0 === (finishedWork.subtreeFlags & 5128) && - 0 === (finishedWork.flags & 5128)) || + (0 === (finishedWork.subtreeFlags & 10256) && + 0 === (finishedWork.flags & 10256)) || rootDoesHavePassiveEffects || ((rootDoesHavePassiveEffects = !0), (pendingPassiveEffectsRemainingLanes = remainingLanes), @@ -14634,8 +14635,8 @@ function commitRootImpl( flushPassiveEffects(); return null; })); - transitions = 0 !== (finishedWork.flags & 7998); - if (0 !== (finishedWork.subtreeFlags & 7998) || transitions) { + transitions = 0 !== (finishedWork.flags & 15990); + if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) { transitions = ReactCurrentBatchConfig$3.transition; ReactCurrentBatchConfig$3.transition = null; var previousPriority = currentUpdatePriority; @@ -14967,7 +14968,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { else { if ( !checkScheduledUpdateOrContext(current, renderLanes) && - 0 === (workInProgress.flags & 64) + 0 === (workInProgress.flags & 128) ) return ( (didReceiveUpdate = !1), @@ -14977,12 +14978,12 @@ beginWork$1 = function(current, workInProgress, renderLanes) { renderLanes ) ); - didReceiveUpdate = 0 !== (current.flags & 65536) ? !0 : !1; + didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1; } else (didReceiveUpdate = !1), isHydrating && - 0 !== (workInProgress.flags & 524288) && + 0 !== (workInProgress.flags & 1048576) && pushTreeId(workInProgress, treeForkCount, workInProgress.index); workInProgress.lanes = 0; switch (workInProgress.tag) { @@ -15123,7 +15124,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { }), (workInProgress.updateQueue.baseState = prevState), (workInProgress.memoizedState = prevState), - workInProgress.flags & 128) + workInProgress.flags & 256) ) { context = createCapturedValueAtFiber( Error(formatProdErrorMessage(423)), @@ -15171,7 +15172,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { renderLanes ); for (workInProgress.child = renderLanes; renderLanes; ) - (renderLanes.flags = (renderLanes.flags & -3) | 2048), + (renderLanes.flags = (renderLanes.flags & -3) | 4096), (renderLanes = renderLanes.sibling); } else { @@ -15235,7 +15236,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { ? (root = null) : null !== prevState && shouldSetTextContent(Component, prevState) && - (workInProgress.flags |= 16), + (workInProgress.flags |= 32), markRef(current, workInProgress), reconcileChildren(current, workInProgress, root, renderLanes), workInProgress.child @@ -15482,7 +15483,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { aborts: null }), (workInProgress.stateNode = Component), - (workInProgress.flags |= 1024))), + (workInProgress.flags |= 2048))), (Component = workInProgress.stateNode), null !== Component && pushMarkerInstance(workInProgress, Component), @@ -15563,7 +15564,7 @@ function createWorkInProgress(current, pendingProps) { (workInProgress.deletions = null), (workInProgress.actualDuration = 0), (workInProgress.actualStartTime = -1)); - workInProgress.flags = current.flags & 7340032; + workInProgress.flags = current.flags & 14680064; workInProgress.childLanes = current.childLanes; workInProgress.lanes = current.lanes; workInProgress.child = current.child; @@ -15584,7 +15585,7 @@ function createWorkInProgress(current, pendingProps) { return workInProgress; } function resetWorkInProgress(workInProgress, renderLanes) { - workInProgress.flags &= 7340034; + workInProgress.flags &= 14680066; var current = workInProgress.alternate; null === current ? ((workInProgress.childLanes = 0), @@ -16299,7 +16300,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1847 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "18.3.0-www-classic-645ae2686-20221206", + version: "18.3.0-www-classic-d69b2cf82-20221206", rendererPackageName: "react-dom" }; (function(internals) { @@ -16343,7 +16344,7 @@ var devToolsConfig$jscomp$inline_1847 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-next-645ae2686-20221206" + reconcilerVersion: "18.3.0-next-d69b2cf82-20221206" }); assign(Internals, { ReactBrowserEventEmitter: { @@ -16572,7 +16573,7 @@ exports.unstable_renderSubtreeIntoContainer = function( ); }; exports.unstable_runWithPriority = runWithPriority; -exports.version = "18.3.0-next-645ae2686-20221206"; +exports.version = "18.3.0-next-d69b2cf82-20221206"; /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ if ( diff --git a/compiled/facebook-www/ReactDOM-profiling.modern.js b/compiled/facebook-www/ReactDOM-profiling.modern.js index e0d668112d..73eecbaff9 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -1153,7 +1153,7 @@ function getNearestMountedFiber(fiber) { fiber = node; do (node = fiber), - 0 !== (node.flags & 2050) && (nearestMounted = node.return), + 0 !== (node.flags & 4098) && (nearestMounted = node.return), (fiber = node.return); while (fiber); } @@ -1289,7 +1289,7 @@ var scheduleCallback = Scheduler.unstable_scheduleCallback, function onCommitRoot(root, eventPriority) { if (injectedHook && "function" === typeof injectedHook.onCommitFiberRoot) try { - var didError = 64 === (root.current.flags & 64); + var didError = 128 === (root.current.flags & 128); switch (eventPriority) { case 1: var schedulerPriority = ImmediatePriority; @@ -5414,7 +5414,7 @@ function deleteHydratableInstance(returnFiber, instance) { fiber.return = returnFiber; instance = returnFiber.deletions; null === instance - ? ((returnFiber.deletions = [fiber]), (returnFiber.flags |= 8)) + ? ((returnFiber.deletions = [fiber]), (returnFiber.flags |= 16)) : instance.push(fiber); } function tryHydrate(fiber, nextInstance) { @@ -5472,7 +5472,7 @@ function tryHydrate(fiber, nextInstance) { } } function shouldClientRenderOnMismatch(fiber) { - return 0 !== (fiber.mode & 1) && 0 === (fiber.flags & 64); + return 0 !== (fiber.mode & 1) && 0 === (fiber.flags & 128); } function tryToClaimNextHydratableInstance(fiber) { if (isHydrating) { @@ -5505,19 +5505,19 @@ function tryToClaimNextHydratableInstance(fiber) { JSCompiler_inline_result && tryHydrate(fiber, JSCompiler_inline_result) ? deleteHydratableInstance(onError, type) - : ((fiber.flags = (fiber.flags & -2049) | 2), + : ((fiber.flags = (fiber.flags & -4097) | 2), (isHydrating = !1), (hydrationParentFiber = fiber)); } } else { if (shouldClientRenderOnMismatch(fiber)) throw Error(formatProdErrorMessage(418)); - fiber.flags = (fiber.flags & -2049) | 2; + fiber.flags = (fiber.flags & -4097) | 2; isHydrating = !1; hydrationParentFiber = fiber; } else - (fiber.flags = (fiber.flags & -2049) | 2), + (fiber.flags = (fiber.flags & -4097) | 2), (isHydrating = !1), (hydrationParentFiber = fiber); } @@ -5942,7 +5942,7 @@ function processUpdateQueue( newState = workInProgress; break a; case 3: - workInProgress.flags = (workInProgress.flags & -32769) | 64; + workInProgress.flags = (workInProgress.flags & -65537) | 128; case 0: workInProgress = update.payload; updateLane = @@ -5958,8 +5958,8 @@ function processUpdateQueue( } updateLane = pendingQueue.callback; null !== updateLane && - ((workInProgress$jscomp$0.flags |= 32), - isHiddenUpdate && (workInProgress$jscomp$0.flags |= 4096), + ((workInProgress$jscomp$0.flags |= 64), + isHiddenUpdate && (workInProgress$jscomp$0.flags |= 8192), (isHiddenUpdate = queue.callbacks), null === isHiddenUpdate ? (queue.callbacks = [updateLane]) @@ -6070,7 +6070,7 @@ function createChildReconciler(shouldTrackSideEffects) { if (shouldTrackSideEffects) { var deletions = returnFiber.deletions; null === deletions - ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 8)) + ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16)) : deletions.push(childToDelete); } } @@ -6098,22 +6098,22 @@ function createChildReconciler(shouldTrackSideEffects) { function placeChild(newFiber, lastPlacedIndex, newIndex) { newFiber.index = newIndex; if (!shouldTrackSideEffects) - return (newFiber.flags |= 524288), lastPlacedIndex; + return (newFiber.flags |= 1048576), lastPlacedIndex; newIndex = newFiber.alternate; if (null !== newIndex) return ( (newIndex = newIndex.index), newIndex < lastPlacedIndex - ? ((newFiber.flags |= 8388610), lastPlacedIndex) + ? ((newFiber.flags |= 16777218), lastPlacedIndex) : newIndex ); - newFiber.flags |= 8388610; + newFiber.flags |= 16777218; return lastPlacedIndex; } function placeSingleChild(newFiber) { shouldTrackSideEffects && null === newFiber.alternate && - (newFiber.flags |= 8388610); + (newFiber.flags |= 16777218); return newFiber; } function updateTextNode(returnFiber, current, textContent, lanes) { @@ -6753,7 +6753,7 @@ function findFirstSuspended(row) { ) return node; } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) { - if (0 !== (node.flags & 64)) return node; + if (0 !== (node.flags & 128)) return node; } else if (null !== node.child) { node.child.return = node; node = node.child; @@ -6914,7 +6914,7 @@ function checkDidRenderIdHook() { } function bailoutHooks(current, workInProgress, lanes) { workInProgress.updateQueue = current.updateQueue; - workInProgress.flags &= -1029; + workInProgress.flags &= -2053; current.lanes &= ~lanes; } function resetHooksOnUnwind() { @@ -7243,7 +7243,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { snapshotChanged || (null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1) ) { - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind(null, fiber, hook, nextSnapshot, getSnapshot), @@ -7258,7 +7258,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { return nextSnapshot; } function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) { - fiber.flags |= 8192; + fiber.flags |= 16384; fiber = { getSnapshot: getSnapshot, value: renderedSnapshot }; getSnapshot = currentlyRenderingFiber.updateQueue; null === getSnapshot @@ -7358,10 +7358,10 @@ function updateEffectImpl(fiberFlags, hookFlags, create, deps) { hook.memoizedState = pushEffect(1 | hookFlags, create, destroy, deps); } function mountEffect(create, deps) { - mountEffectImpl(4195328, 8, create, deps); + mountEffectImpl(8390656, 8, create, deps); } function updateEffect(create, deps) { - updateEffectImpl(1024, 8, create, deps); + updateEffectImpl(2048, 8, create, deps); } function useEventImpl(payload) { currentlyRenderingFiber.flags |= 4; @@ -7624,14 +7624,14 @@ var HooksDispatcherOnMount = { useImperativeHandle: function(ref, create, deps) { deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; mountEffectImpl( - 2097156, + 4194308, 4, imperativeHandleEffect.bind(null, create, ref), deps ); }, useLayoutEffect: function(create, deps) { - return mountEffectImpl(2097156, 4, create, deps); + return mountEffectImpl(4194308, 4, create, deps); }, useInsertionEffect: function(create, deps) { mountEffectImpl(4, 2, create, deps); @@ -7714,7 +7714,7 @@ var HooksDispatcherOnMount = { mountEffect(subscribeToStore.bind(null, fiber, root$95, subscribe), [ subscribe ]); - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind( @@ -8053,7 +8053,7 @@ function mountClassInstance(workInProgress, ctor, newProps, renderLanes) { processUpdateQueue(workInProgress, newProps, instance, renderLanes), (instance.state = workInProgress.memoizedState)); "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156); + (workInProgress.flags |= 4194308); } function createCapturedValueAtFiber(value, source) { try { @@ -8149,10 +8149,10 @@ function markSuspenseBoundaryShouldCapture( if (0 === (suspenseBoundary.mode & 1)) return ( suspenseBoundary === returnFiber - ? (suspenseBoundary.flags |= 32768) - : ((suspenseBoundary.flags |= 64), - (sourceFiber.flags |= 65536), - (sourceFiber.flags &= -26405), + ? (suspenseBoundary.flags |= 65536) + : ((suspenseBoundary.flags |= 128), + (sourceFiber.flags |= 131072), + (sourceFiber.flags &= -52805), 1 === sourceFiber.tag && (null === sourceFiber.alternate ? (sourceFiber.tag = 17) @@ -8162,7 +8162,7 @@ function markSuspenseBoundaryShouldCapture( (sourceFiber.lanes |= 1)), suspenseBoundary ); - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; suspenseBoundary.lanes = rootRenderLanes; return suspenseBoundary; } @@ -8418,7 +8418,7 @@ function updateSimpleMemoComponent( (workInProgress.pendingProps = nextProps = prevProps), checkScheduledUpdateOrContext(current, renderLanes)) ) - 0 !== (current.flags & 65536) && (didReceiveUpdate = !0); + 0 !== (current.flags & 131072) && (didReceiveUpdate = !0); else return ( (workInProgress.lanes = current.lanes), @@ -8443,7 +8443,7 @@ function updateOffscreenComponent(current, workInProgress, renderLanes) { "unstable-defer-without-hiding" === nextProps.mode || workInProgress.stateNode._visibility & 2 ) { - if (0 !== (workInProgress.flags & 64)) { + if (0 !== (workInProgress.flags & 128)) { nextChildren = null !== prevState ? prevState.baseLanes | renderLanes : renderLanes; if (null !== current) { @@ -8536,7 +8536,7 @@ function markRef(current, workInProgress) { (null === current && null !== ref) || (null !== current && current.ref !== ref) ) - (workInProgress.flags |= 256), (workInProgress.flags |= 1048576); + (workInProgress.flags |= 512), (workInProgress.flags |= 2097152); } function updateFunctionComponent( current, @@ -8664,9 +8664,9 @@ function updateClassComponent( "function" === typeof instance.UNSAFE_componentWillMount && instance.UNSAFE_componentWillMount()), "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156)) + (workInProgress.flags |= 4194308)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = oldContext)), (instance.props = nextProps), @@ -8674,7 +8674,7 @@ function updateClassComponent( (instance.context = nextContext), (nextProps = oldProps)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (nextProps = !1)); } else { instance = workInProgress.stateNode; @@ -8755,7 +8755,7 @@ function updateClassComponent( "function" === typeof instance.componentDidUpdate && (workInProgress.flags |= 4), "function" === typeof instance.getSnapshotBeforeUpdate && - (workInProgress.flags |= 512)) + (workInProgress.flags |= 1024)) : ("function" !== typeof instance.componentDidUpdate || (nextContext === current.memoizedProps && oldContext$jscomp$0 === current.memoizedState) || @@ -8763,7 +8763,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (nextContext === current.memoizedProps && oldContext$jscomp$0 === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = newState)), (instance.props = nextProps), @@ -8777,7 +8777,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (nextContext === current.memoizedProps && oldContext$jscomp$0 === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (nextProps = !1)); } return finishClassComponent( @@ -8798,7 +8798,7 @@ function finishClassComponent( renderLanes ) { markRef(current, workInProgress); - hasContext = 0 !== (workInProgress.flags & 64); + hasContext = 0 !== (workInProgress.flags & 128); if (!shouldUpdate && !hasContext) return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); shouldUpdate = workInProgress.stateNode; @@ -8835,7 +8835,7 @@ function mountHostRootWithoutHydrating( ) { resetHydrationState(); queueHydrationError(recoverableError); - workInProgress.flags |= 128; + workInProgress.flags |= 256; reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } @@ -8846,14 +8846,14 @@ function mountSuspenseOffscreenState(renderLanes) { function updateSuspenseComponent(current, workInProgress, renderLanes) { var nextProps = workInProgress.pendingProps, showFallback = !1, - didSuspend = 0 !== (workInProgress.flags & 64), + didSuspend = 0 !== (workInProgress.flags & 128), JSCompiler_temp; (JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & 2)); - JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -65)); + JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -129)); if (null === current) { if (isHydrating) { showFallback @@ -8959,7 +8959,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.treeBaseDuration = JSCompiler_temp.treeBaseDuration)), (workInProgress.deletions = null)) : ((nextProps = createWorkInProgress(JSCompiler_temp, primaryChildProps)), - (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 7340032)); + (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 14680064)); null !== dehydrated$119 ? (showFallback = createWorkInProgress(dehydrated$119, showFallback)) : ((showFallback = createFiberFromFragment( @@ -9031,7 +9031,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes - ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 8)) + ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); workInProgress.child = nextProps; workInProgress.memoizedState = null; @@ -9108,10 +9108,10 @@ function updateDehydratedSuspenseComponent( renderLanes ) { if (didSuspend) { - if (workInProgress.flags & 128) + if (workInProgress.flags & 256) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags &= -129), + (workInProgress.flags &= -257), (nextProps = createCapturedValue(Error(formatProdErrorMessage(422)))), retrySuspenseComponentWithoutHydrating( current, @@ -9124,7 +9124,7 @@ function updateDehydratedSuspenseComponent( return ( reuseSuspenseHandlerOnStack(), (workInProgress.child = current.child), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); reuseSuspenseHandlerOnStack(); @@ -9241,7 +9241,7 @@ function updateDehydratedSuspenseComponent( } if ("$?" === suspenseInstance.data) return ( - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), (workInProgress.child = current.child), (workInProgress = retryDehydratedSuspenseBoundary.bind(null, current)), (suspenseInstance._reactRetry = workInProgress), @@ -9263,7 +9263,7 @@ function updateDehydratedSuspenseComponent( workInProgress, nextProps.children ); - workInProgress.flags |= 2048; + workInProgress.flags |= 4096; return workInProgress; } function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) { @@ -9303,9 +9303,9 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) { reconcileChildren(current, workInProgress, nextProps.children, renderLanes); nextProps = suspenseStackCursor.current; if (0 !== (nextProps & 2)) - (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 64); + (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 128); else { - if (null !== current && 0 !== (current.flags & 64)) + if (null !== current && 0 !== (current.flags & 128)) a: for (current = workInProgress.child; null !== current; ) { if (13 === current.tag) null !== current.memoizedState && @@ -9474,7 +9474,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (null !== stateNode.dehydrated) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); if (0 !== (renderLanes & workInProgress.child.childLanes)) @@ -9490,7 +9490,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( pushPrimaryTreeSuspenseHandler(workInProgress); break; case 19: - var didSuspendBefore = 0 !== (current.flags & 64); + var didSuspendBefore = 0 !== (current.flags & 128); stateNode = 0 !== (renderLanes & workInProgress.childLanes); enableLazyContextPropagation && !stateNode && @@ -9508,7 +9508,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( workInProgress, renderLanes ); - workInProgress.flags |= 64; + workInProgress.flags |= 128; } didSuspendBefore = workInProgress.memoizedState; null !== didSuspendBefore && @@ -9709,8 +9709,8 @@ function propagateParentContextChanges( ) { if (!isInsidePropagationBailout) - if (0 !== (parent.flags & 262144)) isInsidePropagationBailout = !0; - else if (0 !== (parent.flags & 131072)) break; + if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = !0; + else if (0 !== (parent.flags & 262144)) break; if (10 === parent.tag) { var currentParent = parent.alternate; if (null === currentParent) throw Error(formatProdErrorMessage(387)); @@ -9730,7 +9730,7 @@ function propagateParentContextChanges( renderLanes, forcePropagateEntireTree ); - workInProgress.flags |= 131072; + workInProgress.flags |= 262144; } } function checkIfContextChanged(currentDependencies) { @@ -9777,7 +9777,7 @@ function readContext(context) { firstContext: context }; enableLazyContextPropagation && - (currentlyRenderingFiber$1.flags |= 262144); + (currentlyRenderingFiber$1.flags |= 524288); } else lastContextDependency = lastContextDependency.next = context; return value; } @@ -9965,7 +9965,7 @@ function markUpdate(workInProgress) { workInProgress.flags |= 4; } function markRef$1(workInProgress) { - workInProgress.flags |= 1048832; + workInProgress.flags |= 2097664; } var appendAllChildren, updateHostContainer, @@ -10148,8 +10148,8 @@ function bubbleProperties(completedWork) { ) (newChildLanes |= child$155.lanes | child$155.childLanes), - (subtreeFlags |= child$155.subtreeFlags & 7340032), - (subtreeFlags |= child$155.flags & 7340032), + (subtreeFlags |= child$155.subtreeFlags & 14680064), + (subtreeFlags |= child$155.flags & 14680064), (treeBaseDuration$154 += child$155.treeBaseDuration), (child$155 = child$155.sibling); completedWork.treeBaseDuration = treeBaseDuration$154; @@ -10161,8 +10161,8 @@ function bubbleProperties(completedWork) { ) (newChildLanes |= treeBaseDuration$154.lanes | treeBaseDuration$154.childLanes), - (subtreeFlags |= treeBaseDuration$154.subtreeFlags & 7340032), - (subtreeFlags |= treeBaseDuration$154.flags & 7340032), + (subtreeFlags |= treeBaseDuration$154.subtreeFlags & 14680064), + (subtreeFlags |= treeBaseDuration$154.flags & 14680064), (treeBaseDuration$154.return = completedWork), (treeBaseDuration$154 = treeBaseDuration$154.sibling); else if (0 !== (completedWork.mode & 2)) { @@ -10214,11 +10214,11 @@ function completeWork(current, workInProgress, renderLanes) { newProps = workInProgress.stateNode; enableTransitionTracing && null !== workInProgressTransitions && - (workInProgress.flags |= 1024); + (workInProgress.flags |= 2048); renderLanes = null; null !== current && (renderLanes = current.memoizedState.cache); workInProgress.memoizedState.cache !== renderLanes && - (workInProgress.flags |= 1024); + (workInProgress.flags |= 2048); popProvider(CacheContext); enableTransitionTracing && enableTransitionTracing && @@ -10234,16 +10234,16 @@ function completeWork(current, workInProgress, renderLanes) { ? markUpdate(workInProgress) : null === current || (current.memoizedState.isDehydrated && - 0 === (workInProgress.flags & 128)) || - ((workInProgress.flags |= 512), + 0 === (workInProgress.flags & 256)) || + ((workInProgress.flags |= 1024), null !== hydrationErrors && (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null))); updateHostContainer(current, workInProgress); bubbleProperties(workInProgress); enableTransitionTracing && - 0 !== (workInProgress.subtreeFlags & 4096) && - (workInProgress.flags |= 1024); + 0 !== (workInProgress.subtreeFlags & 8192) && + (workInProgress.flags |= 2048); return null; case 26: return ( @@ -10390,11 +10390,11 @@ function completeWork(current, workInProgress, renderLanes) { isHydrating && null !== nextHydratableInstance && 0 !== (workInProgress.mode & 1) && - 0 === (workInProgress.flags & 64) + 0 === (workInProgress.flags & 128) ) { warnIfUnhydratedTailNodes(); resetHydrationState(); - workInProgress.flags |= 49280; + workInProgress.flags |= 98560; var JSCompiler_inline_result = !1; } else if ( ((JSCompiler_inline_result = popHydrationState(workInProgress)), @@ -10420,7 +10420,7 @@ function completeWork(current, workInProgress, renderLanes) { JSCompiler_inline_result.treeBaseDuration)); } else resetHydrationState(), - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (workInProgress.memoizedState = null), (workInProgress.flags |= 4), bubbleProperties(workInProgress), @@ -10436,9 +10436,9 @@ function completeWork(current, workInProgress, renderLanes) { (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null)), (JSCompiler_inline_result = !0); if (!JSCompiler_inline_result) - return workInProgress.flags & 32768 ? workInProgress : null; + return workInProgress.flags & 65536 ? workInProgress : null; } - if (0 !== (workInProgress.flags & 64)) + if (0 !== (workInProgress.flags & 128)) return ( (workInProgress.lanes = renderLanes), 0 !== (workInProgress.mode & 2) && @@ -10460,12 +10460,12 @@ function completeWork(current, workInProgress, renderLanes) { null !== JSCompiler_inline_result.memoizedState.cachePool && (cache$168 = JSCompiler_inline_result.memoizedState.cachePool.pool); cache$168 !== previousCache$167 && - (JSCompiler_inline_result.flags |= 1024); + (JSCompiler_inline_result.flags |= 2048); } renderLanes !== type && - (enableTransitionTracing && (workInProgress.child.flags |= 1024), + (enableTransitionTracing && (workInProgress.child.flags |= 2048), renderLanes && - ((workInProgress.child.flags |= 4096), + ((workInProgress.child.flags |= 8192), 0 !== (workInProgress.mode & 1) && (isBadSuspenseFallback(current, newProps) ? renderDidSuspendDelayIfPossible() @@ -10503,19 +10503,19 @@ function completeWork(current, workInProgress, renderLanes) { pop(suspenseStackCursor); type = workInProgress.memoizedState; if (null === type) return bubbleProperties(workInProgress), null; - newProps = 0 !== (workInProgress.flags & 64); + newProps = 0 !== (workInProgress.flags & 128); JSCompiler_inline_result = type.rendering; if (null === JSCompiler_inline_result) if (newProps) cutOffTailIfNeeded(type, !1); else { if ( 0 !== workInProgressRootExitStatus || - (null !== current && 0 !== (current.flags & 64)) + (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { JSCompiler_inline_result = findFirstSuspended(current); if (null !== JSCompiler_inline_result) { - workInProgress.flags |= 64; + workInProgress.flags |= 128; cutOffTailIfNeeded(type, !1); current = JSCompiler_inline_result.updateQueue; null !== current && @@ -10536,7 +10536,7 @@ function completeWork(current, workInProgress, renderLanes) { } null !== type.tail && now() > workInProgressRootRenderTargetTime && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); @@ -10548,7 +10548,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== current) ) { if ( - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), (current = current.updateQueue), null !== current && @@ -10565,7 +10565,7 @@ function completeWork(current, workInProgress, renderLanes) { 2 * now() - type.renderingStartTime > workInProgressRootRenderTargetTime && 1073741824 !== renderLanes && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); @@ -10618,15 +10618,15 @@ function completeWork(current, workInProgress, renderLanes) { 23 !== workInProgress.tag && (null !== current ? (null !== current.memoizedState) !== newProps && - (workInProgress.flags |= 4096) - : newProps && (workInProgress.flags |= 4096)), + (workInProgress.flags |= 8192) + : newProps && (workInProgress.flags |= 8192)), newProps && 0 !== (workInProgress.mode & 1) ? 0 !== (renderLanes & 1073741824) && - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (bubbleProperties(workInProgress), 23 !== workInProgress.tag && workInProgress.subtreeFlags & 6 && - (workInProgress.flags |= 4096)) + (workInProgress.flags |= 8192)) : bubbleProperties(workInProgress), null !== workInProgress.updateQueue && (workInProgress.flags |= 4), (newProps = null), @@ -10638,7 +10638,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== workInProgress.memoizedState && null !== workInProgress.memoizedState.cachePool && (renderLanes = workInProgress.memoizedState.cachePool.pool), - renderLanes !== newProps && (workInProgress.flags |= 1024), + renderLanes !== newProps && (workInProgress.flags |= 2048), popTransition(workInProgress, current), null ); @@ -10647,7 +10647,7 @@ function completeWork(current, workInProgress, renderLanes) { (newProps = null), null !== current && (newProps = current.memoizedState.cache), workInProgress.memoizedState.cache !== newProps && - (workInProgress.flags |= 1024), + (workInProgress.flags |= 2048), popProvider(CacheContext), bubbleProperties(workInProgress), null @@ -10670,8 +10670,8 @@ function unwindWork(current, workInProgress) { case 1: return ( (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), 0 !== (workInProgress.mode & 2) && transferActualDuration(workInProgress), workInProgress) @@ -10687,8 +10687,8 @@ function unwindWork(current, workInProgress) { popHostContainer(), resetWorkInProgressVersions(), (current = workInProgress.flags), - 0 !== (current & 32768) && 0 === (current & 64) - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + 0 !== (current & 65536) && 0 === (current & 128) + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 26: @@ -10704,8 +10704,8 @@ function unwindWork(current, workInProgress) { resetHydrationState(); } current = workInProgress.flags; - return current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), + return current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), 0 !== (workInProgress.mode & 2) && transferActualDuration(workInProgress), workInProgress) @@ -10723,8 +10723,8 @@ function unwindWork(current, workInProgress) { popHiddenContext(), popTransition(workInProgress, current), (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), 0 !== (workInProgress.mode & 2) && transferActualDuration(workInProgress), workInProgress) @@ -10974,7 +10974,7 @@ function commitBeforeMutationEffects(root, firstChild) { ), (_enabled = !1)); root = firstChild.child; - if (0 !== (firstChild.subtreeFlags & 4620) && null !== root) + if (0 !== (firstChild.subtreeFlags & 9236) && null !== root) (root.return = firstChild), (nextEffect = root); else for (; null !== nextEffect; ) { @@ -11029,7 +11029,7 @@ function commitBeforeMutationEffects(root, firstChild) { case 15: break; case 1: - if (0 !== (flags & 512) && null !== current) { + if (0 !== (flags & 1024) && null !== current) { var prevProps = current.memoizedProps, prevState = current.memoizedState, instance = firstChild.stateNode, @@ -11043,7 +11043,7 @@ function commitBeforeMutationEffects(root, firstChild) { } break; case 3: - if (0 !== (flags & 512)) { + if (0 !== (flags & 1024)) { var container = firstChild.stateNode.containerInfo, nodeType = container.nodeType; if (9 === nodeType) @@ -11070,7 +11070,8 @@ function commitBeforeMutationEffects(root, firstChild) { case 17: break; default: - if (0 !== (flags & 512)) throw Error(formatProdErrorMessage(163)); + if (0 !== (flags & 1024)) + throw Error(formatProdErrorMessage(163)); } } catch (error) { captureCommitPhaseError(firstChild, firstChild.return, error); @@ -11356,12 +11357,12 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ); } } - flags & 32 && commitClassCallbacks(finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 64 && commitClassCallbacks(finishedWork); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 3: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 32 && ((flags = finishedWork.updateQueue), null !== flags)) { + if (flags & 64 && ((flags = finishedWork.updateQueue), null !== flags)) { finishedRoot = null; if (null !== finishedWork.child) switch (finishedWork.child.tag) { @@ -11381,13 +11382,13 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { break; case 26: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 27: case 5: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); null === current && flags & 4 && commitHostComponentMount(finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -11415,14 +11416,14 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ? recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, - 0 !== (finishedWork.subtreeFlags & 4388) + 0 !== (finishedWork.subtreeFlags & 8772) ) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; } } else recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && + flags & 512 && ("manual" === finishedWork.memoizedProps.mode ? safelyAttachRef(finishedWork, finishedWork.return) : safelyDetachRef(finishedWork, finishedWork.return)); @@ -12012,7 +12013,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { captureCommitPhaseError(childToDelete, parentFiber, error); } } - if (parentFiber.subtreeFlags & 6430) + if (parentFiber.subtreeFlags & 12854) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), (parentFiber = parentFiber.sibling); @@ -12061,10 +12062,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 1: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); - flags & 32 && + flags & 64 && offscreenSubtreeIsHidden && ((finishedWork = finishedWork.updateQueue), null !== finishedWork && @@ -12077,7 +12078,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 26: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); flags & 4 && @@ -12116,10 +12117,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 5: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); - if (finishedWork.flags & 16) { + if (finishedWork.flags & 32) { root = finishedWork.stateNode; try { setTextContent(root, ""); @@ -12227,7 +12228,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); current = finishedWork.child; - current.flags & 4096 && + current.flags & 8192 && null !== current.memoizedState && (null === current.alternate || null === current.alternate.memoizedState) && @@ -12251,7 +12252,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { } break; case 22: - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); isCustomComponentTag = null !== finishedWork.memoizedState; @@ -12268,7 +12269,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { commitReconciliationEffects(finishedWork); finishedWork.stateNode._current = finishedWork; if ( - flags & 4096 && + flags & 8192 && ((propValue = finishedWork.stateNode), (propValue._visibility = isCustomComponentTag ? propValue._visibility & -2 @@ -12368,7 +12369,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 21: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && (null !== current && safelyDetachRef(finishedWork, finishedWork.return), safelyAttachRef(finishedWork, finishedWork.return)); flags & 4 && (finishedWork.stateNode[internalInstanceKey] = finishedWork); @@ -12401,9 +12402,9 @@ function commitReconciliationEffects(finishedWork) { break; case 5: var parent$201 = JSCompiler_inline_result.stateNode; - JSCompiler_inline_result.flags & 16 && + JSCompiler_inline_result.flags & 32 && (setTextContent(parent$201, ""), - (JSCompiler_inline_result.flags &= -17)); + (JSCompiler_inline_result.flags &= -33)); var before$202 = getHostSibling(finishedWork); insertOrAppendPlacementNode(finishedWork, before$202, parent$201); break; @@ -12426,7 +12427,7 @@ function commitReconciliationEffects(finishedWork) { } finishedWork.flags &= -3; } - flags & 2048 && (finishedWork.flags &= -2049); + flags & 4096 && (finishedWork.flags &= -4097); } function commitLayoutEffects(finishedWork, root, committedLanes) { inProgressLanes = committedLanes; @@ -12435,7 +12436,7 @@ function commitLayoutEffects(finishedWork, root, committedLanes) { inProgressRoot = inProgressLanes = null; } function recursivelyTraverseLayoutEffects(root, parentFiber) { - if (parentFiber.subtreeFlags & 4388) + if (parentFiber.subtreeFlags & 8772) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber), (parentFiber = parentFiber.sibling); @@ -12494,7 +12495,7 @@ function recursivelyTraverseReappearLayoutEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 4388); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var current = parentFiber.alternate, finishedRoot = finishedRoot$jscomp$0, @@ -12536,7 +12537,7 @@ function recursivelyTraverseReappearLayoutEffects( callCallback(hiddenCallbacks[current], finishedRoot); } includeWorkInProgressEffects && - flags & 32 && + flags & 64 && commitClassCallbacks(finishedWork); safelyAttachRef(finishedWork, finishedWork.return); break; @@ -12685,7 +12686,7 @@ function recursivelyTraversePassiveMountEffects( committedLanes, committedTransitions ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveMountOnFiber( root, @@ -12712,7 +12713,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && commitHookPassiveMountEffects(finishedWork, 9); + flags & 2048 && commitHookPassiveMountEffects(finishedWork, 9); break; case 3: recursivelyTraversePassiveMountEffects( @@ -12721,7 +12722,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - if (flags & 1024) { + if (flags & 2048) { flags = null; null !== finishedWork.alternate && (flags = finishedWork.alternate.memoizedState.cache); @@ -12782,7 +12783,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -12821,9 +12822,9 @@ function commitPassiveMountOnFiber( finishedWork, committedLanes, committedTransitions, - 0 !== (finishedWork.subtreeFlags & 5128) + 0 !== (finishedWork.subtreeFlags & 10256) )); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -12837,7 +12838,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; case 25: @@ -12848,7 +12849,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && commitTracingMarkerPassiveMountEffect(finishedWork); + flags & 2048 && commitTracingMarkerPassiveMountEffect(finishedWork); break; } default: @@ -12868,7 +12869,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 5128); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 10256); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -12897,7 +12898,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -12937,7 +12938,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects )); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -12953,7 +12954,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; case 25: @@ -12966,7 +12967,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitTracingMarkerPassiveMountEffect(finishedWork); break; } @@ -12986,7 +12987,7 @@ function recursivelyTraverseAtomicPassiveEffects( finishedRoot$jscomp$0, parentFiber ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -12994,7 +12995,7 @@ function recursivelyTraverseAtomicPassiveEffects( switch (finishedWork.tag) { case 22: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork, @@ -13003,7 +13004,7 @@ function recursivelyTraverseAtomicPassiveEffects( break; case 24: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: @@ -13047,7 +13048,7 @@ function commitHookPassiveUnmountEffects( } function recursivelyTraversePassiveUnmountEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -13059,7 +13060,7 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) { } detachAlternateSiblings(parentFiber); } - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveUnmountOnFiber(parentFiber), (parentFiber = parentFiber.sibling); @@ -13070,7 +13071,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { case 11: case 15: recursivelyTraversePassiveUnmountEffects(finishedWork); - finishedWork.flags & 1024 && + finishedWork.flags & 2048 && commitHookPassiveUnmountEffects(finishedWork, finishedWork.return, 9); break; case 22: @@ -13088,7 +13089,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -13664,7 +13665,7 @@ function recoverFromConcurrentError( ) { var errorsFromFirstAttempt = workInProgressRootConcurrentErrors, wasRootDehydrated = root.current.memoizedState.isDehydrated; - wasRootDehydrated && (prepareFreshStack(root, errorRetryLanes).flags |= 128); + wasRootDehydrated && (prepareFreshStack(root, errorRetryLanes).flags |= 256); errorRetryLanes = renderRootSync(root, errorRetryLanes); if (2 !== errorRetryLanes) { if (workInProgressRootDidAttachPingListener && !wasRootDehydrated) @@ -13689,7 +13690,7 @@ function queueRecoverableErrors(errors) { } function isRenderConsistentWithExternalStores(finishedWork) { for (var node = finishedWork; ; ) { - if (node.flags & 8192) { + if (node.flags & 16384) { var updateQueue = node.updateQueue; if ( null !== updateQueue && @@ -13707,7 +13708,7 @@ function isRenderConsistentWithExternalStores(finishedWork) { } } updateQueue = node.child; - if (node.subtreeFlags & 8192 && null !== updateQueue) + if (node.subtreeFlags & 16384 && null !== updateQueue) (updateQueue.return = node), (node = updateQueue); else { if (node === finishedWork) break; @@ -14151,7 +14152,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var root = workInProgressRoot, value = thrownValue; thrownValue = workInProgressRootRenderLanes; - unitOfWork.flags |= 16384; + unitOfWork.flags |= 32768; isDevToolsPresent && restorePendingUpdaters(root, thrownValue); if ( null !== value && @@ -14186,7 +14187,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { if (null !== suspenseBoundary) { switch (suspenseBoundary.tag) { case 13: - suspenseBoundary.flags &= -129; + suspenseBoundary.flags &= -257; markSuspenseBoundaryShouldCapture( suspenseBoundary, returnFiber, @@ -14201,7 +14202,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { break; case 22: if (suspenseBoundary.mode & 1) { - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; var offscreenQueue = suspenseBoundary.updateQueue; if (null === offscreenQueue) { var newOffscreenQueue = { @@ -14234,7 +14235,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { unitOfWork.mode & 1 && ((wakeable = suspenseHandlerStackCursor.current), null !== wakeable) ) { - 0 === (wakeable.flags & 32768) && (wakeable.flags |= 128); + 0 === (wakeable.flags & 65536) && (wakeable.flags |= 256); markSuspenseBoundaryShouldCapture( wakeable, returnFiber, @@ -14256,7 +14257,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { switch (root.tag) { case 3: var errorInfo = value; - root.flags |= 32768; + root.flags |= 65536; thrownValue &= -thrownValue; root.lanes |= thrownValue; var update = createRootErrorUpdate(root, errorInfo, thrownValue); @@ -14267,14 +14268,14 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var ctor = root.type, instance = root.stateNode; if ( - 0 === (root.flags & 64) && + 0 === (root.flags & 128) && ("function" === typeof ctor.getDerivedStateFromError || (null !== instance && "function" === typeof instance.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(instance)))) ) { - root.flags |= 32768; + root.flags |= 65536; update = thrownValue & -thrownValue; root.lanes |= update; errorInfo = createClassErrorUpdate( @@ -14300,7 +14301,7 @@ function completeUnitOfWork(unitOfWork) { do { var current = completedWork.alternate; unitOfWork = completedWork.return; - if (0 === (completedWork.flags & 16384)) { + if (0 === (completedWork.flags & 32768)) { if ( (0 === (completedWork.mode & 2) ? (current = completeWork(current, completedWork, renderLanes$1)) @@ -14327,7 +14328,7 @@ function completeUnitOfWork(unitOfWork) { completedWork.actualDuration = current; } if (null !== unitOfWork) - (unitOfWork.flags |= 16384), + (unitOfWork.flags |= 32768), (unitOfWork.subtreeFlags = 0), (unitOfWork.deletions = null); else { @@ -14392,8 +14393,8 @@ function commitRootImpl( root === workInProgressRoot && ((workInProgress = workInProgressRoot = null), (workInProgressRootRenderLanes = 0)); - (0 === (finishedWork.subtreeFlags & 5128) && - 0 === (finishedWork.flags & 5128)) || + (0 === (finishedWork.subtreeFlags & 10256) && + 0 === (finishedWork.flags & 10256)) || rootDoesHavePassiveEffects || ((rootDoesHavePassiveEffects = !0), (pendingPassiveEffectsRemainingLanes = remainingLanes), @@ -14402,8 +14403,8 @@ function commitRootImpl( flushPassiveEffects(); return null; })); - transitions = 0 !== (finishedWork.flags & 7998); - if (0 !== (finishedWork.subtreeFlags & 7998) || transitions) { + transitions = 0 !== (finishedWork.flags & 15990); + if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) { transitions = ReactCurrentBatchConfig$3.transition; ReactCurrentBatchConfig$3.transition = null; var previousPriority = currentUpdatePriority; @@ -14732,7 +14733,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { else { if ( !checkScheduledUpdateOrContext(current, renderLanes) && - 0 === (workInProgress.flags & 64) + 0 === (workInProgress.flags & 128) ) return ( (didReceiveUpdate = !1), @@ -14742,12 +14743,12 @@ beginWork$1 = function(current, workInProgress, renderLanes) { renderLanes ) ); - didReceiveUpdate = 0 !== (current.flags & 65536) ? !0 : !1; + didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1; } else (didReceiveUpdate = !1), isHydrating && - 0 !== (workInProgress.flags & 524288) && + 0 !== (workInProgress.flags & 1048576) && pushTreeId(workInProgress, treeForkCount, workInProgress.index); workInProgress.lanes = 0; switch (workInProgress.tag) { @@ -14887,7 +14888,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { }), (workInProgress.updateQueue.baseState = prevState), (workInProgress.memoizedState = prevState), - workInProgress.flags & 128) + workInProgress.flags & 256) ) { init = createCapturedValueAtFiber( Error(formatProdErrorMessage(423)), @@ -14934,7 +14935,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { renderLanes ); for (workInProgress.child = renderLanes; renderLanes; ) - (renderLanes.flags = (renderLanes.flags & -3) | 2048), + (renderLanes.flags = (renderLanes.flags & -3) | 4096), (renderLanes = renderLanes.sibling); } else { @@ -14998,7 +14999,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { ? (root = null) : null !== prevState && shouldSetTextContent(Component, prevState) && - (workInProgress.flags |= 16), + (workInProgress.flags |= 32), markRef(current, workInProgress), reconcileChildren(current, workInProgress, root, renderLanes), workInProgress.child @@ -15225,7 +15226,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { aborts: null }), (workInProgress.stateNode = Component), - (workInProgress.flags |= 1024))), + (workInProgress.flags |= 2048))), (Component = workInProgress.stateNode), null !== Component && pushMarkerInstance(workInProgress, Component), @@ -15306,7 +15307,7 @@ function createWorkInProgress(current, pendingProps) { (workInProgress.deletions = null), (workInProgress.actualDuration = 0), (workInProgress.actualStartTime = -1)); - workInProgress.flags = current.flags & 7340032; + workInProgress.flags = current.flags & 14680064; workInProgress.childLanes = current.childLanes; workInProgress.lanes = current.lanes; workInProgress.child = current.child; @@ -15327,7 +15328,7 @@ function createWorkInProgress(current, pendingProps) { return workInProgress; } function resetWorkInProgress(workInProgress, renderLanes) { - workInProgress.flags &= 7340034; + workInProgress.flags &= 14680066; var current = workInProgress.alternate; null === current ? ((workInProgress.childLanes = 0), @@ -15850,7 +15851,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1815 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "18.3.0-www-modern-645ae2686-20221206", + version: "18.3.0-www-modern-d69b2cf82-20221206", rendererPackageName: "react-dom" }; (function(internals) { @@ -15895,7 +15896,7 @@ var devToolsConfig$jscomp$inline_1815 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-next-645ae2686-20221206" + reconcilerVersion: "18.3.0-next-d69b2cf82-20221206" }); exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals; exports.createPortal = function(children, container) { @@ -16070,7 +16071,7 @@ exports.unstable_flushControlled = function(fn) { } }; exports.unstable_runWithPriority = runWithPriority; -exports.version = "18.3.0-next-645ae2686-20221206"; +exports.version = "18.3.0-next-d69b2cf82-20221206"; /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ if ( diff --git a/compiled/facebook-www/ReactDOMServer-dev.classic.js b/compiled/facebook-www/ReactDOMServer-dev.classic.js index 66a4c4c01b..e1ec994123 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -18,7 +18,7 @@ if (__DEV__) { var React = require("react"); -var ReactVersion = "18.3.0-www-classic-645ae2686-20221206"; +var ReactVersion = "18.3.0-www-classic-d69b2cf82-20221206"; // This refers to a WWW module. var warningWWW = require("warning"); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index 690a6f5164..2f9a4ea74d 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -18,7 +18,7 @@ if (__DEV__) { var React = require("react"); -var ReactVersion = "18.3.0-www-modern-645ae2686-20221206"; +var ReactVersion = "18.3.0-www-modern-d69b2cf82-20221206"; // This refers to a WWW module. var warningWWW = require("warning"); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index 0add518938..d77fa3f55b 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -3620,4 +3620,4 @@ exports.renderToString = function(children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "18.3.0-www-classic-645ae2686-20221206"; +exports.version = "18.3.0-www-classic-d69b2cf82-20221206"; diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index d612b7d070..d26262627a 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -3533,4 +3533,4 @@ exports.renderToString = function(children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "18.3.0-www-modern-645ae2686-20221206"; +exports.version = "18.3.0-www-modern-d69b2cf82-20221206"; diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index 9bfd8d98e4..5983642def 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -415,41 +415,47 @@ var Placement = 2; var DidCapture = /* */ - 64; + 128; var Hydrating = /* */ - 2048; // You can change the rest (and add more). + 4096; // You can change the rest (and add more). var Update = /* */ 4; +/* Skipped value: 0b000000000000000000000001000; */ + var ChildDeletion = /* */ - 8; + 16; var ContentReset = /* */ - 16; + 32; var Callback = /* */ - 32; + 64; +/* Used by DidCapture: 0b000000000000000000010000000; */ + var ForceClientRender = /* */ - 128; + 256; var Ref = /* */ - 256; + 512; var Snapshot = /* */ - 512; + 1024; var Passive = /* */ - 1024; + 2048; +/* Used by Hydrating: 0b000000000000001000000000000; */ + var Visibility = /* */ - 4096; + 8192; var StoreConsistency = /* */ - 8192; + 16384; var LifecycleEffectMask = Passive | Update | Callback | Ref | Snapshot | StoreConsistency; // Union of all commit flags (flags with the lifetime of a particular commit) @@ -459,16 +465,16 @@ var HostEffectMask = var Incomplete = /* */ - 16384; + 32768; var ShouldCapture = /* */ - 32768; + 65536; var ForceUpdateForLegacySuspense = /* */ - 65536; + 131072; var Forked = /* */ - 524288; // Static tags describe aspects of a fiber that are not specific to a render, + 1048576; // Static tags describe aspects of a fiber that are not specific to a render, // e.g. a fiber uses a passive effect (even if there are no updates on this particular render). // This enables us to defer more work in the unmount case, // since we can defer traversing the tree during layout to look for Passive effects, @@ -476,23 +482,23 @@ var Forked = var RefStatic = /* */ - 1048576; + 2097152; var LayoutStatic = /* */ - 2097152; + 4194304; var PassiveStatic = /* */ - 4194304; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. + 8388608; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. var PlacementDEV = /* */ - 8388608; + 16777216; var MountLayoutDev = /* */ - 16777216; + 33554432; var MountPassiveDev = /* */ - 33554432; // Groups of flags that are used in the commit phase to skip over trees that + 67108864; // Groups of flags that are used in the commit phase to skip over trees that // don't contain effects, by checking subtreeFlags. var BeforeMutationMask = // TODO: Remove Update flag from before mutation phase by re-landing Visibility @@ -38790,7 +38796,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-www-classic-645ae2686-20221206"; +var ReactVersion = "18.3.0-www-classic-d69b2cf82-20221206"; function createPortal( children, diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index 7e450db3ba..a3006dc383 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -5122,41 +5122,47 @@ var Placement = 2; var DidCapture = /* */ - 64; + 128; var Hydrating = /* */ - 2048; // You can change the rest (and add more). + 4096; // You can change the rest (and add more). var Update = /* */ 4; +/* Skipped value: 0b000000000000000000000001000; */ + var ChildDeletion = /* */ - 8; + 16; var ContentReset = /* */ - 16; + 32; var Callback = /* */ - 32; + 64; +/* Used by DidCapture: 0b000000000000000000010000000; */ + var ForceClientRender = /* */ - 128; + 256; var Ref = /* */ - 256; + 512; var Snapshot = /* */ - 512; + 1024; var Passive = /* */ - 1024; + 2048; +/* Used by Hydrating: 0b000000000000001000000000000; */ + var Visibility = /* */ - 4096; + 8192; var StoreConsistency = /* */ - 8192; + 16384; var LifecycleEffectMask = Passive | Update | Callback | Ref | Snapshot | StoreConsistency; // Union of all commit flags (flags with the lifetime of a particular commit) @@ -5166,16 +5172,16 @@ var HostEffectMask = var Incomplete = /* */ - 16384; + 32768; var ShouldCapture = /* */ - 32768; + 65536; var ForceUpdateForLegacySuspense = /* */ - 65536; + 131072; var Forked = /* */ - 524288; // Static tags describe aspects of a fiber that are not specific to a render, + 1048576; // Static tags describe aspects of a fiber that are not specific to a render, // e.g. a fiber uses a passive effect (even if there are no updates on this particular render). // This enables us to defer more work in the unmount case, // since we can defer traversing the tree during layout to look for Passive effects, @@ -5183,23 +5189,23 @@ var Forked = var RefStatic = /* */ - 1048576; + 2097152; var LayoutStatic = /* */ - 2097152; + 4194304; var PassiveStatic = /* */ - 4194304; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. + 8388608; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. var PlacementDEV = /* */ - 8388608; + 16777216; var MountLayoutDev = /* */ - 16777216; + 33554432; var MountPassiveDev = /* */ - 33554432; // Groups of flags that are used in the commit phase to skip over trees that + 67108864; // Groups of flags that are used in the commit phase to skip over trees that // don't contain effects, by checking subtreeFlags. var BeforeMutationMask = // TODO: Remove Update flag from before mutation phase by re-landing Visibility @@ -38352,7 +38358,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-www-modern-645ae2686-20221206"; +var ReactVersion = "18.3.0-www-modern-d69b2cf82-20221206"; function createPortal( children, diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index b000d7c1eb..21935175e7 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -184,7 +184,7 @@ function getNearestMountedFiber(fiber) { fiber = node; do (node = fiber), - 0 !== (node.flags & 2050) && (nearestMounted = node.return), + 0 !== (node.flags & 4098) && (nearestMounted = node.return), (fiber = node.return); while (fiber); } @@ -1595,7 +1595,7 @@ function onCommitRoot(root) { rendererID, root, void 0, - 64 === (root.current.flags & 64) + 128 === (root.current.flags & 128) ); } catch (err) {} } @@ -5311,7 +5311,7 @@ function deleteHydratableInstance(returnFiber, instance) { fiber.return = returnFiber; instance = returnFiber.deletions; null === instance - ? ((returnFiber.deletions = [fiber]), (returnFiber.flags |= 8)) + ? ((returnFiber.deletions = [fiber]), (returnFiber.flags |= 16)) : instance.push(fiber); } function tryHydrate(fiber, nextInstance) { @@ -5369,7 +5369,7 @@ function tryHydrate(fiber, nextInstance) { } } function shouldClientRenderOnMismatch(fiber) { - return 0 !== (fiber.mode & 1) && 0 === (fiber.flags & 64); + return 0 !== (fiber.mode & 1) && 0 === (fiber.flags & 128); } function tryToClaimNextHydratableInstance(fiber) { if (isHydrating) { @@ -5402,19 +5402,19 @@ function tryToClaimNextHydratableInstance(fiber) { JSCompiler_inline_result && tryHydrate(fiber, JSCompiler_inline_result) ? deleteHydratableInstance(onError, type) - : ((fiber.flags = (fiber.flags & -2049) | 2), + : ((fiber.flags = (fiber.flags & -4097) | 2), (isHydrating = !1), (hydrationParentFiber = fiber)); } } else { if (shouldClientRenderOnMismatch(fiber)) throw Error(formatProdErrorMessage(418)); - fiber.flags = (fiber.flags & -2049) | 2; + fiber.flags = (fiber.flags & -4097) | 2; isHydrating = !1; hydrationParentFiber = fiber; } else - (fiber.flags = (fiber.flags & -2049) | 2), + (fiber.flags = (fiber.flags & -4097) | 2), (isHydrating = !1), (hydrationParentFiber = fiber); } @@ -5835,7 +5835,7 @@ function processUpdateQueue( newState = workInProgress; break a; case 3: - workInProgress.flags = (workInProgress.flags & -32769) | 64; + workInProgress.flags = (workInProgress.flags & -65537) | 128; case 0: workInProgress = update.payload; updateLane = @@ -5851,8 +5851,8 @@ function processUpdateQueue( } updateLane = pendingQueue.callback; null !== updateLane && - ((workInProgress$jscomp$0.flags |= 32), - isHiddenUpdate && (workInProgress$jscomp$0.flags |= 4096), + ((workInProgress$jscomp$0.flags |= 64), + isHiddenUpdate && (workInProgress$jscomp$0.flags |= 8192), (isHiddenUpdate = queue.callbacks), null === isHiddenUpdate ? (queue.callbacks = [updateLane]) @@ -5963,7 +5963,7 @@ function createChildReconciler(shouldTrackSideEffects) { if (shouldTrackSideEffects) { var deletions = returnFiber.deletions; null === deletions - ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 8)) + ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16)) : deletions.push(childToDelete); } } @@ -5991,22 +5991,22 @@ function createChildReconciler(shouldTrackSideEffects) { function placeChild(newFiber, lastPlacedIndex, newIndex) { newFiber.index = newIndex; if (!shouldTrackSideEffects) - return (newFiber.flags |= 524288), lastPlacedIndex; + return (newFiber.flags |= 1048576), lastPlacedIndex; newIndex = newFiber.alternate; if (null !== newIndex) return ( (newIndex = newIndex.index), newIndex < lastPlacedIndex - ? ((newFiber.flags |= 8388610), lastPlacedIndex) + ? ((newFiber.flags |= 16777218), lastPlacedIndex) : newIndex ); - newFiber.flags |= 8388610; + newFiber.flags |= 16777218; return lastPlacedIndex; } function placeSingleChild(newFiber) { shouldTrackSideEffects && null === newFiber.alternate && - (newFiber.flags |= 8388610); + (newFiber.flags |= 16777218); return newFiber; } function updateTextNode(returnFiber, current, textContent, lanes) { @@ -6646,7 +6646,7 @@ function findFirstSuspended(row) { ) return node; } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) { - if (0 !== (node.flags & 64)) return node; + if (0 !== (node.flags & 128)) return node; } else if (null !== node.child) { node.child.return = node; node = node.child; @@ -6800,7 +6800,7 @@ function checkDidRenderIdHook() { } function bailoutHooks(current, workInProgress, lanes) { workInProgress.updateQueue = current.updateQueue; - workInProgress.flags &= -1029; + workInProgress.flags &= -2053; current.lanes &= ~lanes; } function resetHooksOnUnwind() { @@ -7095,7 +7095,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { snapshotChanged || (null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1) ) { - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind(null, fiber, hook, nextSnapshot, getSnapshot), @@ -7110,7 +7110,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { return nextSnapshot; } function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) { - fiber.flags |= 8192; + fiber.flags |= 16384; fiber = { getSnapshot: getSnapshot, value: renderedSnapshot }; getSnapshot = currentlyRenderingFiber.updateQueue; null === getSnapshot @@ -7210,10 +7210,10 @@ function updateEffectImpl(fiberFlags, hookFlags, create, deps) { hook.memoizedState = pushEffect(1 | hookFlags, create, destroy, deps); } function mountEffect(create, deps) { - mountEffectImpl(4195328, 8, create, deps); + mountEffectImpl(8390656, 8, create, deps); } function updateEffect(create, deps) { - updateEffectImpl(1024, 8, create, deps); + updateEffectImpl(2048, 8, create, deps); } function updateInsertionEffect(create, deps) { return updateEffectImpl(4, 2, create, deps); @@ -7445,14 +7445,14 @@ var HooksDispatcherOnMount = { useImperativeHandle: function(ref, create, deps) { deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; mountEffectImpl( - 2097156, + 4194308, 4, imperativeHandleEffect.bind(null, create, ref), deps ); }, useLayoutEffect: function(create, deps) { - return mountEffectImpl(2097156, 4, create, deps); + return mountEffectImpl(4194308, 4, create, deps); }, useInsertionEffect: function(create, deps) { mountEffectImpl(4, 2, create, deps); @@ -7530,7 +7530,7 @@ var HooksDispatcherOnMount = { mountEffect(subscribeToStore.bind(null, fiber, root$87, subscribe), [ subscribe ]); - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind( @@ -7800,7 +7800,7 @@ function mountClassInstance(workInProgress, ctor, newProps, renderLanes) { processUpdateQueue(workInProgress, newProps, instance, renderLanes), (instance.state = workInProgress.memoizedState)); "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156); + (workInProgress.flags |= 4194308); } function createCapturedValueAtFiber(value, source) { try { @@ -7896,10 +7896,10 @@ function markSuspenseBoundaryShouldCapture( if (0 === (suspenseBoundary.mode & 1)) return ( suspenseBoundary === returnFiber - ? (suspenseBoundary.flags |= 32768) - : ((suspenseBoundary.flags |= 64), - (sourceFiber.flags |= 65536), - (sourceFiber.flags &= -26405), + ? (suspenseBoundary.flags |= 65536) + : ((suspenseBoundary.flags |= 128), + (sourceFiber.flags |= 131072), + (sourceFiber.flags &= -52805), 1 === sourceFiber.tag && (null === sourceFiber.alternate ? (sourceFiber.tag = 17) @@ -7909,7 +7909,7 @@ function markSuspenseBoundaryShouldCapture( (sourceFiber.lanes |= 1)), suspenseBoundary ); - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; suspenseBoundary.lanes = rootRenderLanes; return suspenseBoundary; } @@ -8026,7 +8026,7 @@ function updateSimpleMemoComponent( (workInProgress.pendingProps = nextProps = prevProps), 0 !== (current.lanes & renderLanes)) ) - 0 !== (current.flags & 65536) && (didReceiveUpdate = !0); + 0 !== (current.flags & 131072) && (didReceiveUpdate = !0); else return ( (workInProgress.lanes = current.lanes), @@ -8047,7 +8047,7 @@ function updateOffscreenComponent(current, workInProgress, renderLanes) { prevState = null !== current ? current.memoizedState : null; markRef(current, workInProgress); if ("hidden" === nextProps.mode || workInProgress.stateNode._visibility & 2) { - if (0 !== (workInProgress.flags & 64)) { + if (0 !== (workInProgress.flags & 128)) { renderLanes = null !== prevState ? prevState.baseLanes | renderLanes : renderLanes; if (null !== current) { @@ -8122,7 +8122,7 @@ function markRef(current, workInProgress) { (null === current && null !== ref) || (null !== current && current.ref !== ref) ) - (workInProgress.flags |= 256), (workInProgress.flags |= 1048576); + (workInProgress.flags |= 512), (workInProgress.flags |= 2097152); } function updateFunctionComponent( current, @@ -8264,9 +8264,9 @@ function updateClassComponent( "function" === typeof instance.UNSAFE_componentWillMount && instance.UNSAFE_componentWillMount()), "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156)) + (workInProgress.flags |= 4194308)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = oldContext)), (instance.props = nextProps), @@ -8274,7 +8274,7 @@ function updateClassComponent( (instance.context = contextType), (nextProps = oldProps)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (nextProps = !1)); } else { instance = workInProgress.stateNode; @@ -8350,7 +8350,7 @@ function updateClassComponent( "function" === typeof instance.componentDidUpdate && (workInProgress.flags |= 4), "function" === typeof instance.getSnapshotBeforeUpdate && - (workInProgress.flags |= 512)) + (workInProgress.flags |= 1024)) : ("function" !== typeof instance.componentDidUpdate || (oldProps === current.memoizedProps && oldState === current.memoizedState) || @@ -8358,7 +8358,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (oldProps === current.memoizedProps && oldState === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = newState)), (instance.props = nextProps), @@ -8372,7 +8372,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (oldProps === current.memoizedProps && oldState === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (nextProps = !1)); } return finishClassComponent( @@ -8393,7 +8393,7 @@ function finishClassComponent( renderLanes ) { markRef(current, workInProgress); - var didCaptureError = 0 !== (workInProgress.flags & 64); + var didCaptureError = 0 !== (workInProgress.flags & 128); if (!shouldUpdate && !didCaptureError) return ( hasContext && invalidateContextProvider(workInProgress, Component, !1), @@ -8445,7 +8445,7 @@ function mountHostRootWithoutHydrating( ) { resetHydrationState(); queueHydrationError(recoverableError); - workInProgress.flags |= 128; + workInProgress.flags |= 256; reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } @@ -8456,14 +8456,14 @@ function mountSuspenseOffscreenState(renderLanes) { function updateSuspenseComponent(current, workInProgress, renderLanes) { var nextProps = workInProgress.pendingProps, showFallback = !1, - didSuspend = 0 !== (workInProgress.flags & 64), + didSuspend = 0 !== (workInProgress.flags & 128), JSCompiler_temp; (JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & 2)); - JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -65)); + JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -129)); if (null === current) { if (isHydrating) { showFallback @@ -8548,7 +8548,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.pendingProps = primaryChildProps), (workInProgress.deletions = null)) : ((nextProps = createWorkInProgress(JSCompiler_temp, primaryChildProps)), - (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 7340032)); + (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 14680064)); null !== dehydrated$107 ? (showFallback = createWorkInProgress(dehydrated$107, showFallback)) : ((showFallback = createFiberFromFragment( @@ -8597,7 +8597,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes - ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 8)) + ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); workInProgress.child = nextProps; workInProgress.memoizedState = null; @@ -8669,10 +8669,10 @@ function updateDehydratedSuspenseComponent( renderLanes ) { if (didSuspend) { - if (workInProgress.flags & 128) + if (workInProgress.flags & 256) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags &= -129), + (workInProgress.flags &= -257), (nextProps = createCapturedValue(Error(formatProdErrorMessage(422)))), retrySuspenseComponentWithoutHydrating( current, @@ -8685,7 +8685,7 @@ function updateDehydratedSuspenseComponent( return ( reuseSuspenseHandlerOnStack(), (workInProgress.child = current.child), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); reuseSuspenseHandlerOnStack(); @@ -8799,7 +8799,7 @@ function updateDehydratedSuspenseComponent( } if ("$?" === suspenseInstance.data) return ( - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), (workInProgress.child = current.child), (workInProgress = retryDehydratedSuspenseBoundary.bind(null, current)), (suspenseInstance._reactRetry = workInProgress), @@ -8821,7 +8821,7 @@ function updateDehydratedSuspenseComponent( workInProgress, nextProps.children ); - workInProgress.flags |= 2048; + workInProgress.flags |= 4096; return workInProgress; } function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) { @@ -8861,9 +8861,9 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) { reconcileChildren(current, workInProgress, nextProps.children, renderLanes); nextProps = suspenseStackCursor.current; if (0 !== (nextProps & 2)) - (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 64); + (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 128); else { - if (null !== current && 0 !== (current.flags & 64)) + if (null !== current && 0 !== (current.flags & 128)) a: for (current = workInProgress.child; null !== current; ) { if (13 === current.tag) null !== current.memoizedState && @@ -9005,7 +9005,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (null !== state.dehydrated) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); if (0 !== (renderLanes & workInProgress.child.childLanes)) @@ -9022,14 +9022,14 @@ function attemptEarlyBailoutIfNoScheduledUpdate( break; case 19: state = 0 !== (renderLanes & workInProgress.childLanes); - if (0 !== (current.flags & 64)) { + if (0 !== (current.flags & 128)) { if (state) return updateSuspenseListComponent( current, workInProgress, renderLanes ); - workInProgress.flags |= 64; + workInProgress.flags |= 128; } var renderState = workInProgress.memoizedState; null !== renderState && @@ -9342,7 +9342,7 @@ function markUpdate(workInProgress) { workInProgress.flags |= 4; } function markRef$1(workInProgress) { - workInProgress.flags |= 1048832; + workInProgress.flags |= 2097664; } var appendAllChildren, updateHostContainer, @@ -9519,8 +9519,8 @@ function bubbleProperties(completedWork) { if (didBailout) for (var child$134 = completedWork.child; null !== child$134; ) (newChildLanes |= child$134.lanes | child$134.childLanes), - (subtreeFlags |= child$134.subtreeFlags & 7340032), - (subtreeFlags |= child$134.flags & 7340032), + (subtreeFlags |= child$134.subtreeFlags & 14680064), + (subtreeFlags |= child$134.flags & 14680064), (child$134.return = completedWork), (child$134 = child$134.sibling); else @@ -9560,7 +9560,7 @@ function completeWork(current, workInProgress, renderLanes) { renderLanes = null; null !== current && (renderLanes = current.memoizedState.cache); workInProgress.memoizedState.cache !== renderLanes && - (workInProgress.flags |= 1024); + (workInProgress.flags |= 2048); popProvider(CacheContext); popHostContainer(); pop(didPerformWorkStackCursor); @@ -9574,8 +9574,8 @@ function completeWork(current, workInProgress, renderLanes) { ? markUpdate(workInProgress) : null === current || (current.memoizedState.isDehydrated && - 0 === (workInProgress.flags & 128)) || - ((workInProgress.flags |= 512), + 0 === (workInProgress.flags & 256)) || + ((workInProgress.flags |= 1024), null !== hydrationErrors && (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null))); @@ -9727,11 +9727,11 @@ function completeWork(current, workInProgress, renderLanes) { isHydrating && null !== nextHydratableInstance && 0 !== (workInProgress.mode & 1) && - 0 === (workInProgress.flags & 64) + 0 === (workInProgress.flags & 128) ) { warnIfUnhydratedTailNodes(); resetHydrationState(); - workInProgress.flags |= 49280; + workInProgress.flags |= 98560; var JSCompiler_inline_result = !1; } else if ( ((JSCompiler_inline_result = popHydrationState(workInProgress)), @@ -9750,7 +9750,7 @@ function completeWork(current, workInProgress, renderLanes) { JSCompiler_inline_result[internalInstanceKey] = workInProgress; } else resetHydrationState(), - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (workInProgress.memoizedState = null), (workInProgress.flags |= 4); bubbleProperties(workInProgress); @@ -9760,9 +9760,9 @@ function completeWork(current, workInProgress, renderLanes) { (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null)), (JSCompiler_inline_result = !0); if (!JSCompiler_inline_result) - return workInProgress.flags & 32768 ? workInProgress : null; + return workInProgress.flags & 65536 ? workInProgress : null; } - if (0 !== (workInProgress.flags & 64)) + if (0 !== (workInProgress.flags & 128)) return (workInProgress.lanes = renderLanes), workInProgress; renderLanes = null !== type; type = null !== current && null !== current.memoizedState; @@ -9779,11 +9779,11 @@ function completeWork(current, workInProgress, renderLanes) { null !== JSCompiler_inline_result.memoizedState.cachePool && (cache$144 = JSCompiler_inline_result.memoizedState.cachePool.pool); cache$144 !== previousCache$143 && - (JSCompiler_inline_result.flags |= 1024); + (JSCompiler_inline_result.flags |= 2048); } renderLanes !== type && renderLanes && - ((workInProgress.child.flags |= 4096), + ((workInProgress.child.flags |= 8192), 0 !== (workInProgress.mode & 1) && (isBadSuspenseFallback(current, newProps) ? renderDidSuspendDelayIfPossible() @@ -9820,19 +9820,19 @@ function completeWork(current, workInProgress, renderLanes) { pop(suspenseStackCursor); type = workInProgress.memoizedState; if (null === type) return bubbleProperties(workInProgress), null; - newProps = 0 !== (workInProgress.flags & 64); + newProps = 0 !== (workInProgress.flags & 128); JSCompiler_inline_result = type.rendering; if (null === JSCompiler_inline_result) if (newProps) cutOffTailIfNeeded(type, !1); else { if ( 0 !== workInProgressRootExitStatus || - (null !== current && 0 !== (current.flags & 64)) + (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { JSCompiler_inline_result = findFirstSuspended(current); if (null !== JSCompiler_inline_result) { - workInProgress.flags |= 64; + workInProgress.flags |= 128; cutOffTailIfNeeded(type, !1); current = JSCompiler_inline_result.updateQueue; null !== current && @@ -9853,7 +9853,7 @@ function completeWork(current, workInProgress, renderLanes) { } null !== type.tail && now() > workInProgressRootRenderTargetTime && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); @@ -9865,7 +9865,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== current) ) { if ( - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), (current = current.updateQueue), null !== current && @@ -9882,7 +9882,7 @@ function completeWork(current, workInProgress, renderLanes) { 2 * now() - type.renderingStartTime > workInProgressRootRenderTargetTime && 1073741824 !== renderLanes && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); @@ -9934,13 +9934,13 @@ function completeWork(current, workInProgress, renderLanes) { (newProps = null !== workInProgress.memoizedState), null !== current ? (null !== current.memoizedState) !== newProps && - (workInProgress.flags |= 4096) - : newProps && (workInProgress.flags |= 4096), + (workInProgress.flags |= 8192) + : newProps && (workInProgress.flags |= 8192), newProps && 0 !== (workInProgress.mode & 1) ? 0 !== (renderLanes & 1073741824) && - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (bubbleProperties(workInProgress), - workInProgress.subtreeFlags & 6 && (workInProgress.flags |= 4096)) + workInProgress.subtreeFlags & 6 && (workInProgress.flags |= 8192)) : bubbleProperties(workInProgress), null !== workInProgress.updateQueue && (workInProgress.flags |= 4), (newProps = null), @@ -9952,7 +9952,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== workInProgress.memoizedState && null !== workInProgress.memoizedState.cachePool && (renderLanes = workInProgress.memoizedState.cachePool.pool), - renderLanes !== newProps && (workInProgress.flags |= 1024), + renderLanes !== newProps && (workInProgress.flags |= 2048), null !== current && pop(resumedCache), null ); @@ -9961,7 +9961,7 @@ function completeWork(current, workInProgress, renderLanes) { (newProps = null), null !== current && (newProps = current.memoizedState.cache), workInProgress.memoizedState.cache !== newProps && - (workInProgress.flags |= 1024), + (workInProgress.flags |= 2048), popProvider(CacheContext), bubbleProperties(workInProgress), null @@ -9978,8 +9978,8 @@ function unwindWork(current, workInProgress) { return ( isContextProvider(workInProgress.type) && popContext(), (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 3: @@ -9990,8 +9990,8 @@ function unwindWork(current, workInProgress) { pop(contextStackCursor$1), resetWorkInProgressVersions(), (current = workInProgress.flags), - 0 !== (current & 32768) && 0 === (current & 64) - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + 0 !== (current & 65536) && 0 === (current & 128) + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 26: @@ -10007,8 +10007,8 @@ function unwindWork(current, workInProgress) { resetHydrationState(); } current = workInProgress.flags; - return current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + return current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null; case 19: return pop(suspenseStackCursor), null; @@ -10023,8 +10023,8 @@ function unwindWork(current, workInProgress) { popHiddenContext(), null !== current && pop(resumedCache), (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 24: @@ -10227,7 +10227,7 @@ function commitBeforeMutationEffects(root, firstChild) { ), (_enabled = !1)); root = firstChild.child; - if (0 !== (firstChild.subtreeFlags & 4620) && null !== root) + if (0 !== (firstChild.subtreeFlags & 9236) && null !== root) (root.return = firstChild), (nextEffect = root); else for (; null !== nextEffect; ) { @@ -10272,7 +10272,7 @@ function commitBeforeMutationEffects(root, firstChild) { case 15: break; case 1: - if (0 !== (flags & 512) && null !== current) { + if (0 !== (flags & 1024) && null !== current) { var prevProps = current.memoizedProps, prevState = current.memoizedState, instance = firstChild.stateNode, @@ -10286,7 +10286,7 @@ function commitBeforeMutationEffects(root, firstChild) { } break; case 3: - if (0 !== (flags & 512)) { + if (0 !== (flags & 1024)) { var container = firstChild.stateNode.containerInfo, nodeType = container.nodeType; if (9 === nodeType) @@ -10313,7 +10313,8 @@ function commitBeforeMutationEffects(root, firstChild) { case 17: break; default: - if (0 !== (flags & 512)) throw Error(formatProdErrorMessage(163)); + if (0 !== (flags & 1024)) + throw Error(formatProdErrorMessage(163)); } } catch (error) { captureCommitPhaseError(firstChild, firstChild.return, error); @@ -10441,12 +10442,12 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ); } } - flags & 32 && commitClassCallbacks(finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 64 && commitClassCallbacks(finishedWork); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 3: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 32 && ((flags = finishedWork.updateQueue), null !== flags)) { + if (flags & 64 && ((flags = finishedWork.updateQueue), null !== flags)) { finishedRoot = null; if (null !== finishedWork.child) switch (finishedWork.child.tag) { @@ -10466,13 +10467,13 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { break; case 26: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 27: case 5: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); null === current && flags & 4 && commitHostComponentMount(finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -10499,14 +10500,14 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ? recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, - 0 !== (finishedWork.subtreeFlags & 4388) + 0 !== (finishedWork.subtreeFlags & 8772) ) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; } } else recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && + flags & 512 && ("manual" === finishedWork.memoizedProps.mode ? safelyAttachRef(finishedWork, finishedWork.return) : safelyDetachRef(finishedWork, finishedWork.return)); @@ -10891,7 +10892,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { captureCommitPhaseError(childToDelete, parentFiber, error); } } - if (parentFiber.subtreeFlags & 6430) + if (parentFiber.subtreeFlags & 12854) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), (parentFiber = parentFiber.sibling); @@ -10923,10 +10924,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 1: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); - flags & 32 && + flags & 64 && offscreenSubtreeIsHidden && ((finishedWork = finishedWork.updateQueue), null !== finishedWork && @@ -10939,7 +10940,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 26: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); flags & 4 && @@ -10978,10 +10979,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 5: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); - if (finishedWork.flags & 16) { + if (finishedWork.flags & 32) { root = finishedWork.stateNode; try { setTextContent(root, ""); @@ -11089,7 +11090,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); current = finishedWork.child; - current.flags & 4096 && + current.flags & 8192 && null !== current.memoizedState && (null === current.alternate || null === current.alternate.memoizedState) && @@ -11113,7 +11114,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { } break; case 22: - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); isCustomComponentTag = null !== finishedWork.memoizedState; @@ -11130,7 +11131,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { commitReconciliationEffects(finishedWork); finishedWork.stateNode._current = finishedWork; if ( - flags & 4096 && + flags & 8192 && ((propValue = finishedWork.stateNode), (propValue._visibility = isCustomComponentTag ? propValue._visibility & -2 @@ -11230,7 +11231,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 21: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && (null !== current && safelyDetachRef(finishedWork, finishedWork.return), safelyAttachRef(finishedWork, finishedWork.return)); flags & 4 && (finishedWork.stateNode[internalInstanceKey] = finishedWork); @@ -11263,9 +11264,9 @@ function commitReconciliationEffects(finishedWork) { break; case 5: var parent$167 = JSCompiler_inline_result.stateNode; - JSCompiler_inline_result.flags & 16 && + JSCompiler_inline_result.flags & 32 && (setTextContent(parent$167, ""), - (JSCompiler_inline_result.flags &= -17)); + (JSCompiler_inline_result.flags &= -33)); var before$168 = getHostSibling(finishedWork); insertOrAppendPlacementNode(finishedWork, before$168, parent$167); break; @@ -11288,10 +11289,10 @@ function commitReconciliationEffects(finishedWork) { } finishedWork.flags &= -3; } - flags & 2048 && (finishedWork.flags &= -2049); + flags & 4096 && (finishedWork.flags &= -4097); } function recursivelyTraverseLayoutEffects(root, parentFiber) { - if (parentFiber.subtreeFlags & 4388) + if (parentFiber.subtreeFlags & 8772) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber), (parentFiber = parentFiber.sibling); @@ -11345,7 +11346,7 @@ function recursivelyTraverseReappearLayoutEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 4388); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var current = parentFiber.alternate, finishedRoot = finishedRoot$jscomp$0, @@ -11387,7 +11388,7 @@ function recursivelyTraverseReappearLayoutEffects( callCallback(hiddenCallbacks[current], finishedRoot); } includeWorkInProgressEffects && - flags & 32 && + flags & 64 && commitClassCallbacks(finishedWork); safelyAttachRef(finishedWork, finishedWork.return); break; @@ -11476,7 +11477,7 @@ function recursivelyTraversePassiveMountEffects( committedLanes, committedTransitions ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveMountOnFiber( root, @@ -11503,7 +11504,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && commitHookPassiveMountEffects(finishedWork, 9); + flags & 2048 && commitHookPassiveMountEffects(finishedWork, 9); break; case 3: recursivelyTraversePassiveMountEffects( @@ -11512,7 +11513,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && ((finishedRoot = null), null !== finishedWork.alternate && (finishedRoot = finishedWork.alternate.memoizedState.cache), @@ -11555,9 +11556,9 @@ function commitPassiveMountOnFiber( finishedWork, committedLanes, committedTransitions, - 0 !== (finishedWork.subtreeFlags & 5128) + 0 !== (finishedWork.subtreeFlags & 10256) )); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork @@ -11570,7 +11571,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: @@ -11590,7 +11591,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 5128); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 10256); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -11645,7 +11646,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects )); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork @@ -11660,7 +11661,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: @@ -11679,7 +11680,7 @@ function recursivelyTraverseAtomicPassiveEffects( finishedRoot$jscomp$0, parentFiber ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -11687,7 +11688,7 @@ function recursivelyTraverseAtomicPassiveEffects( switch (finishedWork.tag) { case 22: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork @@ -11695,7 +11696,7 @@ function recursivelyTraverseAtomicPassiveEffects( break; case 24: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: @@ -11720,7 +11721,7 @@ function detachAlternateSiblings(parentFiber) { } function recursivelyTraversePassiveUnmountEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -11732,7 +11733,7 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) { } detachAlternateSiblings(parentFiber); } - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveUnmountOnFiber(parentFiber), (parentFiber = parentFiber.sibling); @@ -11743,7 +11744,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { case 11: case 15: recursivelyTraversePassiveUnmountEffects(finishedWork); - finishedWork.flags & 1024 && + finishedWork.flags & 2048 && commitHookEffectListUnmount(9, finishedWork, finishedWork.return); break; case 22: @@ -11761,7 +11762,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -12351,7 +12352,7 @@ function recoverFromConcurrentError( ) { var errorsFromFirstAttempt = workInProgressRootConcurrentErrors, wasRootDehydrated = root.current.memoizedState.isDehydrated; - wasRootDehydrated && (prepareFreshStack(root, errorRetryLanes).flags |= 128); + wasRootDehydrated && (prepareFreshStack(root, errorRetryLanes).flags |= 256); errorRetryLanes = renderRootSync(root, errorRetryLanes); if (2 !== errorRetryLanes) { if (workInProgressRootDidAttachPingListener && !wasRootDehydrated) @@ -12376,7 +12377,7 @@ function queueRecoverableErrors(errors) { } function isRenderConsistentWithExternalStores(finishedWork) { for (var node = finishedWork; ; ) { - if (node.flags & 8192) { + if (node.flags & 16384) { var updateQueue = node.updateQueue; if ( null !== updateQueue && @@ -12394,7 +12395,7 @@ function isRenderConsistentWithExternalStores(finishedWork) { } } updateQueue = node.child; - if (node.subtreeFlags & 8192 && null !== updateQueue) + if (node.subtreeFlags & 16384 && null !== updateQueue) (updateQueue.return = node), (node = updateQueue); else { if (node === finishedWork) break; @@ -12775,7 +12776,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var root = workInProgressRoot, value = thrownValue; thrownValue = workInProgressRootRenderLanes; - unitOfWork.flags |= 16384; + unitOfWork.flags |= 32768; if ( null !== value && "object" === typeof value && @@ -12799,7 +12800,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { if (null !== suspenseBoundary) { switch (suspenseBoundary.tag) { case 13: - suspenseBoundary.flags &= -129; + suspenseBoundary.flags &= -257; markSuspenseBoundaryShouldCapture( suspenseBoundary, returnFiber, @@ -12814,7 +12815,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { break; case 22: if (suspenseBoundary.mode & 1) { - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; var offscreenQueue = suspenseBoundary.updateQueue; if (null === offscreenQueue) { var newOffscreenQueue = { @@ -12847,7 +12848,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { unitOfWork.mode & 1 && ((wakeable = suspenseHandlerStackCursor.current), null !== wakeable) ) { - 0 === (wakeable.flags & 32768) && (wakeable.flags |= 128); + 0 === (wakeable.flags & 65536) && (wakeable.flags |= 256); markSuspenseBoundaryShouldCapture( wakeable, returnFiber, @@ -12869,7 +12870,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { switch (root.tag) { case 3: var errorInfo = value; - root.flags |= 32768; + root.flags |= 65536; thrownValue &= -thrownValue; root.lanes |= thrownValue; var update = createRootErrorUpdate(root, errorInfo, thrownValue); @@ -12880,14 +12881,14 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var ctor = root.type, instance = root.stateNode; if ( - 0 === (root.flags & 64) && + 0 === (root.flags & 128) && ("function" === typeof ctor.getDerivedStateFromError || (null !== instance && "function" === typeof instance.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(instance)))) ) { - root.flags |= 32768; + root.flags |= 65536; update = thrownValue & -thrownValue; root.lanes |= update; errorInfo = createClassErrorUpdate(root, tag, update); @@ -12909,7 +12910,7 @@ function completeUnitOfWork(unitOfWork) { do { var current = completedWork.alternate; unitOfWork = completedWork.return; - if (0 === (completedWork.flags & 16384)) { + if (0 === (completedWork.flags & 32768)) { if ( ((current = completeWork(current, completedWork, renderLanes$1)), null !== current) @@ -12925,7 +12926,7 @@ function completeUnitOfWork(unitOfWork) { return; } if (null !== unitOfWork) - (unitOfWork.flags |= 16384), + (unitOfWork.flags |= 32768), (unitOfWork.subtreeFlags = 0), (unitOfWork.deletions = null); else { @@ -12984,8 +12985,8 @@ function commitRootImpl( root === workInProgressRoot && ((workInProgress = workInProgressRoot = null), (workInProgressRootRenderLanes = 0)); - (0 === (finishedWork.subtreeFlags & 5128) && - 0 === (finishedWork.flags & 5128)) || + (0 === (finishedWork.subtreeFlags & 10256) && + 0 === (finishedWork.flags & 10256)) || rootDoesHavePassiveEffects || ((rootDoesHavePassiveEffects = !0), (pendingPassiveEffectsRemainingLanes = remainingLanes), @@ -12994,8 +12995,8 @@ function commitRootImpl( flushPassiveEffects(); return null; })); - transitions = 0 !== (finishedWork.flags & 7998); - if (0 !== (finishedWork.subtreeFlags & 7998) || transitions) { + transitions = 0 !== (finishedWork.flags & 15990); + if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) { transitions = ReactCurrentBatchConfig$3.transition; ReactCurrentBatchConfig$3.transition = null; var previousPriority = currentUpdatePriority; @@ -13246,7 +13247,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { else { if ( 0 === (current.lanes & renderLanes) && - 0 === (workInProgress.flags & 64) + 0 === (workInProgress.flags & 128) ) return ( (didReceiveUpdate = !1), @@ -13256,12 +13257,12 @@ beginWork$1 = function(current, workInProgress, renderLanes) { renderLanes ) ); - didReceiveUpdate = 0 !== (current.flags & 65536) ? !0 : !1; + didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1; } else (didReceiveUpdate = !1), isHydrating && - 0 !== (workInProgress.flags & 524288) && + 0 !== (workInProgress.flags & 1048576) && pushTreeId(workInProgress, treeForkCount, workInProgress.index); workInProgress.lanes = 0; switch (workInProgress.tag) { @@ -13397,7 +13398,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { }), (workInProgress.updateQueue.baseState = prevState), (workInProgress.memoizedState = prevState), - workInProgress.flags & 128) + workInProgress.flags & 256) ) { context = createCapturedValueAtFiber( Error(formatProdErrorMessage(423)), @@ -13445,7 +13446,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { renderLanes ); for (workInProgress.child = renderLanes; renderLanes; ) - (renderLanes.flags = (renderLanes.flags & -3) | 2048), + (renderLanes.flags = (renderLanes.flags & -3) | 4096), (renderLanes = renderLanes.sibling); } else { @@ -13509,7 +13510,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { ? (root = null) : null !== prevState && shouldSetTextContent(Component, prevState) && - (workInProgress.flags |= 16), + (workInProgress.flags |= 32), markRef(current, workInProgress), reconcileChildren(current, workInProgress, root, renderLanes), workInProgress.child @@ -13787,7 +13788,7 @@ function createWorkInProgress(current, pendingProps) { (workInProgress.flags = 0), (workInProgress.subtreeFlags = 0), (workInProgress.deletions = null)); - workInProgress.flags = current.flags & 7340032; + workInProgress.flags = current.flags & 14680064; workInProgress.childLanes = current.childLanes; workInProgress.lanes = current.lanes; workInProgress.child = current.child; @@ -13806,7 +13807,7 @@ function createWorkInProgress(current, pendingProps) { return workInProgress; } function resetWorkInProgress(workInProgress, renderLanes) { - workInProgress.flags &= 7340034; + workInProgress.flags &= 14680066; var current = workInProgress.alternate; null === current ? ((workInProgress.childLanes = 0), @@ -14436,7 +14437,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1699 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "18.3.0-www-classic-645ae2686-20221206", + version: "18.3.0-www-classic-d69b2cf82-20221206", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2091 = { @@ -14466,7 +14467,7 @@ var internals$jscomp$inline_2091 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-next-645ae2686-20221206" + reconcilerVersion: "18.3.0-next-d69b2cf82-20221206" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2092 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -14843,4 +14844,4 @@ exports.unstable_renderSubtreeIntoContainer = function( ); }; exports.unstable_runWithPriority = runWithPriority; -exports.version = "18.3.0-next-645ae2686-20221206"; +exports.version = "18.3.0-next-d69b2cf82-20221206"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index a8854f4fad..b8fe7e5ba9 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -1198,7 +1198,7 @@ function getNearestMountedFiber(fiber) { fiber = node; do (node = fiber), - 0 !== (node.flags & 2050) && (nearestMounted = node.return), + 0 !== (node.flags & 4098) && (nearestMounted = node.return), (fiber = node.return); while (fiber); } @@ -1336,7 +1336,7 @@ function onCommitRoot(root) { rendererID, root, void 0, - 64 === (root.current.flags & 64) + 128 === (root.current.flags & 128) ); } catch (err) {} } @@ -5117,7 +5117,7 @@ function deleteHydratableInstance(returnFiber, instance) { fiber.return = returnFiber; instance = returnFiber.deletions; null === instance - ? ((returnFiber.deletions = [fiber]), (returnFiber.flags |= 8)) + ? ((returnFiber.deletions = [fiber]), (returnFiber.flags |= 16)) : instance.push(fiber); } function tryHydrate(fiber, nextInstance) { @@ -5175,7 +5175,7 @@ function tryHydrate(fiber, nextInstance) { } } function shouldClientRenderOnMismatch(fiber) { - return 0 !== (fiber.mode & 1) && 0 === (fiber.flags & 64); + return 0 !== (fiber.mode & 1) && 0 === (fiber.flags & 128); } function tryToClaimNextHydratableInstance(fiber) { if (isHydrating) { @@ -5208,19 +5208,19 @@ function tryToClaimNextHydratableInstance(fiber) { JSCompiler_inline_result && tryHydrate(fiber, JSCompiler_inline_result) ? deleteHydratableInstance(onError, type) - : ((fiber.flags = (fiber.flags & -2049) | 2), + : ((fiber.flags = (fiber.flags & -4097) | 2), (isHydrating = !1), (hydrationParentFiber = fiber)); } } else { if (shouldClientRenderOnMismatch(fiber)) throw Error(formatProdErrorMessage(418)); - fiber.flags = (fiber.flags & -2049) | 2; + fiber.flags = (fiber.flags & -4097) | 2; isHydrating = !1; hydrationParentFiber = fiber; } else - (fiber.flags = (fiber.flags & -2049) | 2), + (fiber.flags = (fiber.flags & -4097) | 2), (isHydrating = !1), (hydrationParentFiber = fiber); } @@ -5641,7 +5641,7 @@ function processUpdateQueue( newState = workInProgress; break a; case 3: - workInProgress.flags = (workInProgress.flags & -32769) | 64; + workInProgress.flags = (workInProgress.flags & -65537) | 128; case 0: workInProgress = update.payload; updateLane = @@ -5657,8 +5657,8 @@ function processUpdateQueue( } updateLane = pendingQueue.callback; null !== updateLane && - ((workInProgress$jscomp$0.flags |= 32), - isHiddenUpdate && (workInProgress$jscomp$0.flags |= 4096), + ((workInProgress$jscomp$0.flags |= 64), + isHiddenUpdate && (workInProgress$jscomp$0.flags |= 8192), (isHiddenUpdate = queue.callbacks), null === isHiddenUpdate ? (queue.callbacks = [updateLane]) @@ -5769,7 +5769,7 @@ function createChildReconciler(shouldTrackSideEffects) { if (shouldTrackSideEffects) { var deletions = returnFiber.deletions; null === deletions - ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 8)) + ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16)) : deletions.push(childToDelete); } } @@ -5797,22 +5797,22 @@ function createChildReconciler(shouldTrackSideEffects) { function placeChild(newFiber, lastPlacedIndex, newIndex) { newFiber.index = newIndex; if (!shouldTrackSideEffects) - return (newFiber.flags |= 524288), lastPlacedIndex; + return (newFiber.flags |= 1048576), lastPlacedIndex; newIndex = newFiber.alternate; if (null !== newIndex) return ( (newIndex = newIndex.index), newIndex < lastPlacedIndex - ? ((newFiber.flags |= 8388610), lastPlacedIndex) + ? ((newFiber.flags |= 16777218), lastPlacedIndex) : newIndex ); - newFiber.flags |= 8388610; + newFiber.flags |= 16777218; return lastPlacedIndex; } function placeSingleChild(newFiber) { shouldTrackSideEffects && null === newFiber.alternate && - (newFiber.flags |= 8388610); + (newFiber.flags |= 16777218); return newFiber; } function updateTextNode(returnFiber, current, textContent, lanes) { @@ -6452,7 +6452,7 @@ function findFirstSuspended(row) { ) return node; } else if (19 === node.tag && void 0 !== node.memoizedProps.revealOrder) { - if (0 !== (node.flags & 64)) return node; + if (0 !== (node.flags & 128)) return node; } else if (null !== node.child) { node.child.return = node; node = node.child; @@ -6606,7 +6606,7 @@ function checkDidRenderIdHook() { } function bailoutHooks(current, workInProgress, lanes) { workInProgress.updateQueue = current.updateQueue; - workInProgress.flags &= -1029; + workInProgress.flags &= -2053; current.lanes &= ~lanes; } function resetHooksOnUnwind() { @@ -6901,7 +6901,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { snapshotChanged || (null !== workInProgressHook && workInProgressHook.memoizedState.tag & 1) ) { - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind(null, fiber, hook, nextSnapshot, getSnapshot), @@ -6916,7 +6916,7 @@ function updateSyncExternalStore(subscribe, getSnapshot) { return nextSnapshot; } function pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) { - fiber.flags |= 8192; + fiber.flags |= 16384; fiber = { getSnapshot: getSnapshot, value: renderedSnapshot }; getSnapshot = currentlyRenderingFiber.updateQueue; null === getSnapshot @@ -7016,10 +7016,10 @@ function updateEffectImpl(fiberFlags, hookFlags, create, deps) { hook.memoizedState = pushEffect(1 | hookFlags, create, destroy, deps); } function mountEffect(create, deps) { - mountEffectImpl(4195328, 8, create, deps); + mountEffectImpl(8390656, 8, create, deps); } function updateEffect(create, deps) { - updateEffectImpl(1024, 8, create, deps); + updateEffectImpl(2048, 8, create, deps); } function updateInsertionEffect(create, deps) { return updateEffectImpl(4, 2, create, deps); @@ -7251,14 +7251,14 @@ var HooksDispatcherOnMount = { useImperativeHandle: function(ref, create, deps) { deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null; mountEffectImpl( - 2097156, + 4194308, 4, imperativeHandleEffect.bind(null, create, ref), deps ); }, useLayoutEffect: function(create, deps) { - return mountEffectImpl(2097156, 4, create, deps); + return mountEffectImpl(4194308, 4, create, deps); }, useInsertionEffect: function(create, deps) { mountEffectImpl(4, 2, create, deps); @@ -7336,7 +7336,7 @@ var HooksDispatcherOnMount = { mountEffect(subscribeToStore.bind(null, fiber, root$88, subscribe), [ subscribe ]); - fiber.flags |= 1024; + fiber.flags |= 2048; pushEffect( 9, updateStoreInstance.bind( @@ -7592,7 +7592,7 @@ function mountClassInstance(workInProgress, ctor, newProps, renderLanes) { processUpdateQueue(workInProgress, newProps, instance, renderLanes), (instance.state = workInProgress.memoizedState)); "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156); + (workInProgress.flags |= 4194308); } function createCapturedValueAtFiber(value, source) { try { @@ -7688,10 +7688,10 @@ function markSuspenseBoundaryShouldCapture( if (0 === (suspenseBoundary.mode & 1)) return ( suspenseBoundary === returnFiber - ? (suspenseBoundary.flags |= 32768) - : ((suspenseBoundary.flags |= 64), - (sourceFiber.flags |= 65536), - (sourceFiber.flags &= -26405), + ? (suspenseBoundary.flags |= 65536) + : ((suspenseBoundary.flags |= 128), + (sourceFiber.flags |= 131072), + (sourceFiber.flags &= -52805), 1 === sourceFiber.tag && (null === sourceFiber.alternate ? (sourceFiber.tag = 17) @@ -7701,7 +7701,7 @@ function markSuspenseBoundaryShouldCapture( (sourceFiber.lanes |= 1)), suspenseBoundary ); - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; suspenseBoundary.lanes = rootRenderLanes; return suspenseBoundary; } @@ -7818,7 +7818,7 @@ function updateSimpleMemoComponent( (workInProgress.pendingProps = nextProps = prevProps), 0 !== (current.lanes & renderLanes)) ) - 0 !== (current.flags & 65536) && (didReceiveUpdate = !0); + 0 !== (current.flags & 131072) && (didReceiveUpdate = !0); else return ( (workInProgress.lanes = current.lanes), @@ -7839,7 +7839,7 @@ function updateOffscreenComponent(current, workInProgress, renderLanes) { prevState = null !== current ? current.memoizedState : null; markRef(current, workInProgress); if ("hidden" === nextProps.mode || workInProgress.stateNode._visibility & 2) { - if (0 !== (workInProgress.flags & 64)) { + if (0 !== (workInProgress.flags & 128)) { renderLanes = null !== prevState ? prevState.baseLanes | renderLanes : renderLanes; if (null !== current) { @@ -7914,7 +7914,7 @@ function markRef(current, workInProgress) { (null === current && null !== ref) || (null !== current && current.ref !== ref) ) - (workInProgress.flags |= 256), (workInProgress.flags |= 1048576); + (workInProgress.flags |= 512), (workInProgress.flags |= 2097152); } function updateFunctionComponent( current, @@ -8038,9 +8038,9 @@ function updateClassComponent( "function" === typeof instance.UNSAFE_componentWillMount && instance.UNSAFE_componentWillMount()), "function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156)) + (workInProgress.flags |= 4194308)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = oldContext)), (instance.props = nextProps), @@ -8048,7 +8048,7 @@ function updateClassComponent( (instance.context = nextContext), (nextProps = oldProps)) : ("function" === typeof instance.componentDidMount && - (workInProgress.flags |= 2097156), + (workInProgress.flags |= 4194308), (nextProps = !1)); } else { instance = workInProgress.stateNode; @@ -8122,7 +8122,7 @@ function updateClassComponent( "function" === typeof instance.componentDidUpdate && (workInProgress.flags |= 4), "function" === typeof instance.getSnapshotBeforeUpdate && - (workInProgress.flags |= 512)) + (workInProgress.flags |= 1024)) : ("function" !== typeof instance.componentDidUpdate || (nextContext === current.memoizedProps && oldContext$jscomp$0 === current.memoizedState) || @@ -8130,7 +8130,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (nextContext === current.memoizedProps && oldContext$jscomp$0 === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (workInProgress.memoizedProps = nextProps), (workInProgress.memoizedState = newState)), (instance.props = nextProps), @@ -8144,7 +8144,7 @@ function updateClassComponent( "function" !== typeof instance.getSnapshotBeforeUpdate || (nextContext === current.memoizedProps && oldContext$jscomp$0 === current.memoizedState) || - (workInProgress.flags |= 512), + (workInProgress.flags |= 1024), (nextProps = !1)); } return finishClassComponent( @@ -8165,7 +8165,7 @@ function finishClassComponent( renderLanes ) { markRef(current, workInProgress); - hasContext = 0 !== (workInProgress.flags & 64); + hasContext = 0 !== (workInProgress.flags & 128); if (!shouldUpdate && !hasContext) return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); shouldUpdate = workInProgress.stateNode; @@ -8201,7 +8201,7 @@ function mountHostRootWithoutHydrating( ) { resetHydrationState(); queueHydrationError(recoverableError); - workInProgress.flags |= 128; + workInProgress.flags |= 256; reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } @@ -8212,14 +8212,14 @@ function mountSuspenseOffscreenState(renderLanes) { function updateSuspenseComponent(current, workInProgress, renderLanes) { var nextProps = workInProgress.pendingProps, showFallback = !1, - didSuspend = 0 !== (workInProgress.flags & 64), + didSuspend = 0 !== (workInProgress.flags & 128), JSCompiler_temp; (JSCompiler_temp = didSuspend) || (JSCompiler_temp = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & 2)); - JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -65)); + JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -129)); if (null === current) { if (isHydrating) { showFallback @@ -8304,7 +8304,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.pendingProps = primaryChildProps), (workInProgress.deletions = null)) : ((nextProps = createWorkInProgress(JSCompiler_temp, primaryChildProps)), - (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 7340032)); + (nextProps.subtreeFlags = JSCompiler_temp.subtreeFlags & 14680064)); null !== dehydrated$108 ? (showFallback = createWorkInProgress(dehydrated$108, showFallback)) : ((showFallback = createFiberFromFragment( @@ -8353,7 +8353,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes - ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 8)) + ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); workInProgress.child = nextProps; workInProgress.memoizedState = null; @@ -8425,10 +8425,10 @@ function updateDehydratedSuspenseComponent( renderLanes ) { if (didSuspend) { - if (workInProgress.flags & 128) + if (workInProgress.flags & 256) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags &= -129), + (workInProgress.flags &= -257), (nextProps = createCapturedValue(Error(formatProdErrorMessage(422)))), retrySuspenseComponentWithoutHydrating( current, @@ -8441,7 +8441,7 @@ function updateDehydratedSuspenseComponent( return ( reuseSuspenseHandlerOnStack(), (workInProgress.child = current.child), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); reuseSuspenseHandlerOnStack(); @@ -8555,7 +8555,7 @@ function updateDehydratedSuspenseComponent( } if ("$?" === suspenseInstance.data) return ( - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), (workInProgress.child = current.child), (workInProgress = retryDehydratedSuspenseBoundary.bind(null, current)), (suspenseInstance._reactRetry = workInProgress), @@ -8577,7 +8577,7 @@ function updateDehydratedSuspenseComponent( workInProgress, nextProps.children ); - workInProgress.flags |= 2048; + workInProgress.flags |= 4096; return workInProgress; } function scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) { @@ -8617,9 +8617,9 @@ function updateSuspenseListComponent(current, workInProgress, renderLanes) { reconcileChildren(current, workInProgress, nextProps.children, renderLanes); nextProps = suspenseStackCursor.current; if (0 !== (nextProps & 2)) - (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 64); + (nextProps = (nextProps & 1) | 2), (workInProgress.flags |= 128); else { - if (null !== current && 0 !== (current.flags & 64)) + if (null !== current && 0 !== (current.flags & 128)) a: for (current = workInProgress.child; null !== current; ) { if (13 === current.tag) null !== current.memoizedState && @@ -8757,7 +8757,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (null !== state.dehydrated) return ( pushPrimaryTreeSuspenseHandler(workInProgress), - (workInProgress.flags |= 64), + (workInProgress.flags |= 128), null ); if (0 !== (renderLanes & workInProgress.child.childLanes)) @@ -8774,14 +8774,14 @@ function attemptEarlyBailoutIfNoScheduledUpdate( break; case 19: state = 0 !== (renderLanes & workInProgress.childLanes); - if (0 !== (current.flags & 64)) { + if (0 !== (current.flags & 128)) { if (state) return updateSuspenseListComponent( current, workInProgress, renderLanes ); - workInProgress.flags |= 64; + workInProgress.flags |= 128; } var renderState = workInProgress.memoizedState; null !== renderState && @@ -9094,7 +9094,7 @@ function markUpdate(workInProgress) { workInProgress.flags |= 4; } function markRef$1(workInProgress) { - workInProgress.flags |= 1048832; + workInProgress.flags |= 2097664; } var appendAllChildren, updateHostContainer, @@ -9271,8 +9271,8 @@ function bubbleProperties(completedWork) { if (didBailout) for (var child$135 = completedWork.child; null !== child$135; ) (newChildLanes |= child$135.lanes | child$135.childLanes), - (subtreeFlags |= child$135.subtreeFlags & 7340032), - (subtreeFlags |= child$135.flags & 7340032), + (subtreeFlags |= child$135.subtreeFlags & 14680064), + (subtreeFlags |= child$135.flags & 14680064), (child$135.return = completedWork), (child$135 = child$135.sibling); else @@ -9308,7 +9308,7 @@ function completeWork(current, workInProgress, renderLanes) { renderLanes = null; null !== current && (renderLanes = current.memoizedState.cache); workInProgress.memoizedState.cache !== renderLanes && - (workInProgress.flags |= 1024); + (workInProgress.flags |= 2048); popProvider(CacheContext); popHostContainer(); resetWorkInProgressVersions(); @@ -9320,8 +9320,8 @@ function completeWork(current, workInProgress, renderLanes) { ? markUpdate(workInProgress) : null === current || (current.memoizedState.isDehydrated && - 0 === (workInProgress.flags & 128)) || - ((workInProgress.flags |= 512), + 0 === (workInProgress.flags & 256)) || + ((workInProgress.flags |= 1024), null !== hydrationErrors && (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null))); @@ -9473,11 +9473,11 @@ function completeWork(current, workInProgress, renderLanes) { isHydrating && null !== nextHydratableInstance && 0 !== (workInProgress.mode & 1) && - 0 === (workInProgress.flags & 64) + 0 === (workInProgress.flags & 128) ) { warnIfUnhydratedTailNodes(); resetHydrationState(); - workInProgress.flags |= 49280; + workInProgress.flags |= 98560; var JSCompiler_inline_result = !1; } else if ( ((JSCompiler_inline_result = popHydrationState(workInProgress)), @@ -9496,7 +9496,7 @@ function completeWork(current, workInProgress, renderLanes) { JSCompiler_inline_result[internalInstanceKey] = workInProgress; } else resetHydrationState(), - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (workInProgress.memoizedState = null), (workInProgress.flags |= 4); bubbleProperties(workInProgress); @@ -9506,9 +9506,9 @@ function completeWork(current, workInProgress, renderLanes) { (queueRecoverableErrors(hydrationErrors), (hydrationErrors = null)), (JSCompiler_inline_result = !0); if (!JSCompiler_inline_result) - return workInProgress.flags & 32768 ? workInProgress : null; + return workInProgress.flags & 65536 ? workInProgress : null; } - if (0 !== (workInProgress.flags & 64)) + if (0 !== (workInProgress.flags & 128)) return (workInProgress.lanes = renderLanes), workInProgress; renderLanes = null !== type; type = null !== current && null !== current.memoizedState; @@ -9525,11 +9525,11 @@ function completeWork(current, workInProgress, renderLanes) { null !== JSCompiler_inline_result.memoizedState.cachePool && (cache$145 = JSCompiler_inline_result.memoizedState.cachePool.pool); cache$145 !== previousCache$144 && - (JSCompiler_inline_result.flags |= 1024); + (JSCompiler_inline_result.flags |= 2048); } renderLanes !== type && renderLanes && - ((workInProgress.child.flags |= 4096), + ((workInProgress.child.flags |= 8192), 0 !== (workInProgress.mode & 1) && (isBadSuspenseFallback(current, newProps) ? renderDidSuspendDelayIfPossible() @@ -9562,19 +9562,19 @@ function completeWork(current, workInProgress, renderLanes) { pop(suspenseStackCursor); type = workInProgress.memoizedState; if (null === type) return bubbleProperties(workInProgress), null; - newProps = 0 !== (workInProgress.flags & 64); + newProps = 0 !== (workInProgress.flags & 128); JSCompiler_inline_result = type.rendering; if (null === JSCompiler_inline_result) if (newProps) cutOffTailIfNeeded(type, !1); else { if ( 0 !== workInProgressRootExitStatus || - (null !== current && 0 !== (current.flags & 64)) + (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { JSCompiler_inline_result = findFirstSuspended(current); if (null !== JSCompiler_inline_result) { - workInProgress.flags |= 64; + workInProgress.flags |= 128; cutOffTailIfNeeded(type, !1); current = JSCompiler_inline_result.updateQueue; null !== current && @@ -9595,7 +9595,7 @@ function completeWork(current, workInProgress, renderLanes) { } null !== type.tail && now() > workInProgressRootRenderTargetTime && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); @@ -9607,7 +9607,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== current) ) { if ( - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), (current = current.updateQueue), null !== current && @@ -9624,7 +9624,7 @@ function completeWork(current, workInProgress, renderLanes) { 2 * now() - type.renderingStartTime > workInProgressRootRenderTargetTime && 1073741824 !== renderLanes && - ((workInProgress.flags |= 64), + ((workInProgress.flags |= 128), (newProps = !0), cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); @@ -9676,13 +9676,13 @@ function completeWork(current, workInProgress, renderLanes) { (newProps = null !== workInProgress.memoizedState), null !== current ? (null !== current.memoizedState) !== newProps && - (workInProgress.flags |= 4096) - : newProps && (workInProgress.flags |= 4096), + (workInProgress.flags |= 8192) + : newProps && (workInProgress.flags |= 8192), newProps && 0 !== (workInProgress.mode & 1) ? 0 !== (renderLanes & 1073741824) && - 0 === (workInProgress.flags & 64) && + 0 === (workInProgress.flags & 128) && (bubbleProperties(workInProgress), - workInProgress.subtreeFlags & 6 && (workInProgress.flags |= 4096)) + workInProgress.subtreeFlags & 6 && (workInProgress.flags |= 8192)) : bubbleProperties(workInProgress), null !== workInProgress.updateQueue && (workInProgress.flags |= 4), (newProps = null), @@ -9694,7 +9694,7 @@ function completeWork(current, workInProgress, renderLanes) { null !== workInProgress.memoizedState && null !== workInProgress.memoizedState.cachePool && (renderLanes = workInProgress.memoizedState.cachePool.pool), - renderLanes !== newProps && (workInProgress.flags |= 1024), + renderLanes !== newProps && (workInProgress.flags |= 2048), null !== current && pop(resumedCache), null ); @@ -9703,7 +9703,7 @@ function completeWork(current, workInProgress, renderLanes) { (newProps = null), null !== current && (newProps = current.memoizedState.cache), workInProgress.memoizedState.cache !== newProps && - (workInProgress.flags |= 1024), + (workInProgress.flags |= 2048), popProvider(CacheContext), bubbleProperties(workInProgress), null @@ -9719,8 +9719,8 @@ function unwindWork(current, workInProgress) { case 1: return ( (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 3: @@ -9729,8 +9729,8 @@ function unwindWork(current, workInProgress) { popHostContainer(), resetWorkInProgressVersions(), (current = workInProgress.flags), - 0 !== (current & 32768) && 0 === (current & 64) - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + 0 !== (current & 65536) && 0 === (current & 128) + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 26: @@ -9746,8 +9746,8 @@ function unwindWork(current, workInProgress) { resetHydrationState(); } current = workInProgress.flags; - return current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + return current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null; case 19: return pop(suspenseStackCursor), null; @@ -9762,8 +9762,8 @@ function unwindWork(current, workInProgress) { popHiddenContext(), null !== current && pop(resumedCache), (current = workInProgress.flags), - current & 32768 - ? ((workInProgress.flags = (current & -32769) | 64), workInProgress) + current & 65536 + ? ((workInProgress.flags = (current & -65537) | 128), workInProgress) : null ); case 24: @@ -9960,7 +9960,7 @@ function commitBeforeMutationEffects(root, firstChild) { ), (_enabled = !1)); root = firstChild.child; - if (0 !== (firstChild.subtreeFlags & 4620) && null !== root) + if (0 !== (firstChild.subtreeFlags & 9236) && null !== root) (root.return = firstChild), (nextEffect = root); else for (; null !== nextEffect; ) { @@ -10005,7 +10005,7 @@ function commitBeforeMutationEffects(root, firstChild) { case 15: break; case 1: - if (0 !== (flags & 512) && null !== current) { + if (0 !== (flags & 1024) && null !== current) { var prevProps = current.memoizedProps, prevState = current.memoizedState, instance = firstChild.stateNode, @@ -10019,7 +10019,7 @@ function commitBeforeMutationEffects(root, firstChild) { } break; case 3: - if (0 !== (flags & 512)) { + if (0 !== (flags & 1024)) { var container = firstChild.stateNode.containerInfo, nodeType = container.nodeType; if (9 === nodeType) @@ -10046,7 +10046,8 @@ function commitBeforeMutationEffects(root, firstChild) { case 17: break; default: - if (0 !== (flags & 512)) throw Error(formatProdErrorMessage(163)); + if (0 !== (flags & 1024)) + throw Error(formatProdErrorMessage(163)); } } catch (error) { captureCommitPhaseError(firstChild, firstChild.return, error); @@ -10174,12 +10175,12 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ); } } - flags & 32 && commitClassCallbacks(finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 64 && commitClassCallbacks(finishedWork); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 3: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 32 && ((flags = finishedWork.updateQueue), null !== flags)) { + if (flags & 64 && ((flags = finishedWork.updateQueue), null !== flags)) { finishedRoot = null; if (null !== finishedWork.child) switch (finishedWork.child.tag) { @@ -10199,13 +10200,13 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { break; case 26: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 27: case 5: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); null === current && flags & 4 && commitHostComponentMount(finishedWork); - flags & 256 && safelyAttachRef(finishedWork, finishedWork.return); + flags & 512 && safelyAttachRef(finishedWork, finishedWork.return); break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -10232,14 +10233,14 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { ? recursivelyTraverseReappearLayoutEffects( finishedRoot, finishedWork, - 0 !== (finishedWork.subtreeFlags & 4388) + 0 !== (finishedWork.subtreeFlags & 8772) ) : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden; offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden; } } else recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - flags & 256 && + flags & 512 && ("manual" === finishedWork.memoizedProps.mode ? safelyAttachRef(finishedWork, finishedWork.return) : safelyDetachRef(finishedWork, finishedWork.return)); @@ -10624,7 +10625,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) { captureCommitPhaseError(childToDelete, parentFiber, error); } } - if (parentFiber.subtreeFlags & 6430) + if (parentFiber.subtreeFlags & 12854) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitMutationEffectsOnFiber(parentFiber, root$jscomp$0), (parentFiber = parentFiber.sibling); @@ -10656,10 +10657,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 1: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); - flags & 32 && + flags & 64 && offscreenSubtreeIsHidden && ((finishedWork = finishedWork.updateQueue), null !== finishedWork && @@ -10672,7 +10673,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 26: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); flags & 4 && @@ -10711,10 +10712,10 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 5: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); - if (finishedWork.flags & 16) { + if (finishedWork.flags & 32) { root = finishedWork.stateNode; try { setTextContent(root, ""); @@ -10822,7 +10823,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); current = finishedWork.child; - current.flags & 4096 && + current.flags & 8192 && null !== current.memoizedState && (null === current.alternate || null === current.alternate.memoizedState) && @@ -10846,7 +10847,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { } break; case 22: - flags & 256 && + flags & 512 && null !== current && safelyDetachRef(current, current.return); isCustomComponentTag = null !== finishedWork.memoizedState; @@ -10863,7 +10864,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { commitReconciliationEffects(finishedWork); finishedWork.stateNode._current = finishedWork; if ( - flags & 4096 && + flags & 8192 && ((propValue = finishedWork.stateNode), (propValue._visibility = isCustomComponentTag ? propValue._visibility & -2 @@ -10963,7 +10964,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { case 21: recursivelyTraverseMutationEffects(root, finishedWork); commitReconciliationEffects(finishedWork); - flags & 256 && + flags & 512 && (null !== current && safelyDetachRef(finishedWork, finishedWork.return), safelyAttachRef(finishedWork, finishedWork.return)); flags & 4 && (finishedWork.stateNode[internalInstanceKey] = finishedWork); @@ -10996,9 +10997,9 @@ function commitReconciliationEffects(finishedWork) { break; case 5: var parent$168 = JSCompiler_inline_result.stateNode; - JSCompiler_inline_result.flags & 16 && + JSCompiler_inline_result.flags & 32 && (setTextContent(parent$168, ""), - (JSCompiler_inline_result.flags &= -17)); + (JSCompiler_inline_result.flags &= -33)); var before$169 = getHostSibling(finishedWork); insertOrAppendPlacementNode(finishedWork, before$169, parent$168); break; @@ -11021,10 +11022,10 @@ function commitReconciliationEffects(finishedWork) { } finishedWork.flags &= -3; } - flags & 2048 && (finishedWork.flags &= -2049); + flags & 4096 && (finishedWork.flags &= -4097); } function recursivelyTraverseLayoutEffects(root, parentFiber) { - if (parentFiber.subtreeFlags & 4388) + if (parentFiber.subtreeFlags & 8772) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber), (parentFiber = parentFiber.sibling); @@ -11078,7 +11079,7 @@ function recursivelyTraverseReappearLayoutEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 4388); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 8772); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var current = parentFiber.alternate, finishedRoot = finishedRoot$jscomp$0, @@ -11120,7 +11121,7 @@ function recursivelyTraverseReappearLayoutEffects( callCallback(hiddenCallbacks[current], finishedRoot); } includeWorkInProgressEffects && - flags & 32 && + flags & 64 && commitClassCallbacks(finishedWork); safelyAttachRef(finishedWork, finishedWork.return); break; @@ -11209,7 +11210,7 @@ function recursivelyTraversePassiveMountEffects( committedLanes, committedTransitions ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveMountOnFiber( root, @@ -11236,7 +11237,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && commitHookPassiveMountEffects(finishedWork, 9); + flags & 2048 && commitHookPassiveMountEffects(finishedWork, 9); break; case 3: recursivelyTraversePassiveMountEffects( @@ -11245,7 +11246,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && ((finishedRoot = null), null !== finishedWork.alternate && (finishedRoot = finishedWork.alternate.memoizedState.cache), @@ -11288,9 +11289,9 @@ function commitPassiveMountOnFiber( finishedWork, committedLanes, committedTransitions, - 0 !== (finishedWork.subtreeFlags & 5128) + 0 !== (finishedWork.subtreeFlags & 10256) )); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork @@ -11303,7 +11304,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: @@ -11323,7 +11324,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ) { includeWorkInProgressEffects = - includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 5128); + includeWorkInProgressEffects && 0 !== (parentFiber.subtreeFlags & 10256); for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -11378,7 +11379,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects )); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork @@ -11393,7 +11394,7 @@ function recursivelyTraverseReconnectPassiveEffects( includeWorkInProgressEffects ); includeWorkInProgressEffects && - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: @@ -11412,7 +11413,7 @@ function recursivelyTraverseAtomicPassiveEffects( finishedRoot$jscomp$0, parentFiber ) { - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) { var finishedRoot = finishedRoot$jscomp$0, finishedWork = parentFiber, @@ -11420,7 +11421,7 @@ function recursivelyTraverseAtomicPassiveEffects( switch (finishedWork.tag) { case 22: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitOffscreenPassiveMountEffects( finishedWork.alternate, finishedWork @@ -11428,7 +11429,7 @@ function recursivelyTraverseAtomicPassiveEffects( break; case 24: recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork); - flags & 1024 && + flags & 2048 && commitCachePassiveMountEffect(finishedWork.alternate, finishedWork); break; default: @@ -11453,7 +11454,7 @@ function detachAlternateSiblings(parentFiber) { } function recursivelyTraversePassiveUnmountEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -11465,7 +11466,7 @@ function recursivelyTraversePassiveUnmountEffects(parentFiber) { } detachAlternateSiblings(parentFiber); } - if (parentFiber.subtreeFlags & 5128) + if (parentFiber.subtreeFlags & 10256) for (parentFiber = parentFiber.child; null !== parentFiber; ) commitPassiveUnmountOnFiber(parentFiber), (parentFiber = parentFiber.sibling); @@ -11476,7 +11477,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { case 11: case 15: recursivelyTraversePassiveUnmountEffects(finishedWork); - finishedWork.flags & 1024 && + finishedWork.flags & 2048 && commitHookEffectListUnmount(9, finishedWork, finishedWork.return); break; case 22: @@ -11494,7 +11495,7 @@ function commitPassiveUnmountOnFiber(finishedWork) { } function recursivelyTraverseDisconnectPassiveEffects(parentFiber) { var deletions = parentFiber.deletions; - if (0 !== (parentFiber.flags & 8)) { + if (0 !== (parentFiber.flags & 16)) { if (null !== deletions) for (var i = 0; i < deletions.length; i++) { var childToDelete = deletions[i]; @@ -12084,7 +12085,7 @@ function recoverFromConcurrentError( ) { var errorsFromFirstAttempt = workInProgressRootConcurrentErrors, wasRootDehydrated = root.current.memoizedState.isDehydrated; - wasRootDehydrated && (prepareFreshStack(root, errorRetryLanes).flags |= 128); + wasRootDehydrated && (prepareFreshStack(root, errorRetryLanes).flags |= 256); errorRetryLanes = renderRootSync(root, errorRetryLanes); if (2 !== errorRetryLanes) { if (workInProgressRootDidAttachPingListener && !wasRootDehydrated) @@ -12109,7 +12110,7 @@ function queueRecoverableErrors(errors) { } function isRenderConsistentWithExternalStores(finishedWork) { for (var node = finishedWork; ; ) { - if (node.flags & 8192) { + if (node.flags & 16384) { var updateQueue = node.updateQueue; if ( null !== updateQueue && @@ -12127,7 +12128,7 @@ function isRenderConsistentWithExternalStores(finishedWork) { } } updateQueue = node.child; - if (node.subtreeFlags & 8192 && null !== updateQueue) + if (node.subtreeFlags & 16384 && null !== updateQueue) (updateQueue.return = node), (node = updateQueue); else { if (node === finishedWork) break; @@ -12508,7 +12509,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var root = workInProgressRoot, value = thrownValue; thrownValue = workInProgressRootRenderLanes; - unitOfWork.flags |= 16384; + unitOfWork.flags |= 32768; if ( null !== value && "object" === typeof value && @@ -12532,7 +12533,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { if (null !== suspenseBoundary) { switch (suspenseBoundary.tag) { case 13: - suspenseBoundary.flags &= -129; + suspenseBoundary.flags &= -257; markSuspenseBoundaryShouldCapture( suspenseBoundary, returnFiber, @@ -12547,7 +12548,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { break; case 22: if (suspenseBoundary.mode & 1) { - suspenseBoundary.flags |= 32768; + suspenseBoundary.flags |= 65536; var offscreenQueue = suspenseBoundary.updateQueue; if (null === offscreenQueue) { var newOffscreenQueue = { @@ -12580,7 +12581,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { unitOfWork.mode & 1 && ((wakeable = suspenseHandlerStackCursor.current), null !== wakeable) ) { - 0 === (wakeable.flags & 32768) && (wakeable.flags |= 128); + 0 === (wakeable.flags & 65536) && (wakeable.flags |= 256); markSuspenseBoundaryShouldCapture( wakeable, returnFiber, @@ -12602,7 +12603,7 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { switch (root.tag) { case 3: var errorInfo = value; - root.flags |= 32768; + root.flags |= 65536; thrownValue &= -thrownValue; root.lanes |= thrownValue; var update = createRootErrorUpdate(root, errorInfo, thrownValue); @@ -12613,14 +12614,14 @@ function unwindSuspendedUnitOfWork(unitOfWork, thrownValue) { var ctor = root.type, instance = root.stateNode; if ( - 0 === (root.flags & 64) && + 0 === (root.flags & 128) && ("function" === typeof ctor.getDerivedStateFromError || (null !== instance && "function" === typeof instance.componentDidCatch && (null === legacyErrorBoundariesThatAlreadyFailed || !legacyErrorBoundariesThatAlreadyFailed.has(instance)))) ) { - root.flags |= 32768; + root.flags |= 65536; update = thrownValue & -thrownValue; root.lanes |= update; errorInfo = createClassErrorUpdate(root, tag, update); @@ -12642,7 +12643,7 @@ function completeUnitOfWork(unitOfWork) { do { var current = completedWork.alternate; unitOfWork = completedWork.return; - if (0 === (completedWork.flags & 16384)) { + if (0 === (completedWork.flags & 32768)) { if ( ((current = completeWork(current, completedWork, renderLanes$1)), null !== current) @@ -12658,7 +12659,7 @@ function completeUnitOfWork(unitOfWork) { return; } if (null !== unitOfWork) - (unitOfWork.flags |= 16384), + (unitOfWork.flags |= 32768), (unitOfWork.subtreeFlags = 0), (unitOfWork.deletions = null); else { @@ -12717,8 +12718,8 @@ function commitRootImpl( root === workInProgressRoot && ((workInProgress = workInProgressRoot = null), (workInProgressRootRenderLanes = 0)); - (0 === (finishedWork.subtreeFlags & 5128) && - 0 === (finishedWork.flags & 5128)) || + (0 === (finishedWork.subtreeFlags & 10256) && + 0 === (finishedWork.flags & 10256)) || rootDoesHavePassiveEffects || ((rootDoesHavePassiveEffects = !0), (pendingPassiveEffectsRemainingLanes = remainingLanes), @@ -12727,8 +12728,8 @@ function commitRootImpl( flushPassiveEffects(); return null; })); - transitions = 0 !== (finishedWork.flags & 7998); - if (0 !== (finishedWork.subtreeFlags & 7998) || transitions) { + transitions = 0 !== (finishedWork.flags & 15990); + if (0 !== (finishedWork.subtreeFlags & 15990) || transitions) { transitions = ReactCurrentBatchConfig$3.transition; ReactCurrentBatchConfig$3.transition = null; var previousPriority = currentUpdatePriority; @@ -12976,7 +12977,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { else { if ( 0 === (current.lanes & renderLanes) && - 0 === (workInProgress.flags & 64) + 0 === (workInProgress.flags & 128) ) return ( (didReceiveUpdate = !1), @@ -12986,12 +12987,12 @@ beginWork$1 = function(current, workInProgress, renderLanes) { renderLanes ) ); - didReceiveUpdate = 0 !== (current.flags & 65536) ? !0 : !1; + didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1; } else (didReceiveUpdate = !1), isHydrating && - 0 !== (workInProgress.flags & 524288) && + 0 !== (workInProgress.flags & 1048576) && pushTreeId(workInProgress, treeForkCount, workInProgress.index); workInProgress.lanes = 0; switch (workInProgress.tag) { @@ -13126,7 +13127,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { }), (workInProgress.updateQueue.baseState = prevState), (workInProgress.memoizedState = prevState), - workInProgress.flags & 128) + workInProgress.flags & 256) ) { init = createCapturedValueAtFiber( Error(formatProdErrorMessage(423)), @@ -13173,7 +13174,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { renderLanes ); for (workInProgress.child = renderLanes; renderLanes; ) - (renderLanes.flags = (renderLanes.flags & -3) | 2048), + (renderLanes.flags = (renderLanes.flags & -3) | 4096), (renderLanes = renderLanes.sibling); } else { @@ -13237,7 +13238,7 @@ beginWork$1 = function(current, workInProgress, renderLanes) { ? (root = null) : null !== prevState && shouldSetTextContent(Component, prevState) && - (workInProgress.flags |= 16), + (workInProgress.flags |= 32), markRef(current, workInProgress), reconcileChildren(current, workInProgress, root, renderLanes), workInProgress.child @@ -13495,7 +13496,7 @@ function createWorkInProgress(current, pendingProps) { (workInProgress.flags = 0), (workInProgress.subtreeFlags = 0), (workInProgress.deletions = null)); - workInProgress.flags = current.flags & 7340032; + workInProgress.flags = current.flags & 14680064; workInProgress.childLanes = current.childLanes; workInProgress.lanes = current.lanes; workInProgress.child = current.child; @@ -13514,7 +13515,7 @@ function createWorkInProgress(current, pendingProps) { return workInProgress; } function resetWorkInProgress(workInProgress, renderLanes) { - workInProgress.flags &= 7340034; + workInProgress.flags &= 14680066; var current = workInProgress.alternate; null === current ? ((workInProgress.childLanes = 0), @@ -13956,7 +13957,7 @@ Internals.Events = [ var devToolsConfig$jscomp$inline_1686 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "18.3.0-www-modern-645ae2686-20221206", + version: "18.3.0-www-modern-d69b2cf82-20221206", rendererPackageName: "react-dom" }; var internals$jscomp$inline_2082 = { @@ -13987,7 +13988,7 @@ var internals$jscomp$inline_2082 = { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "18.3.0-next-645ae2686-20221206" + reconcilerVersion: "18.3.0-next-d69b2cf82-20221206" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2083 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -14310,4 +14311,4 @@ exports.unstable_flushControlled = function(fn) { } }; exports.unstable_runWithPriority = runWithPriority; -exports.version = "18.3.0-next-645ae2686-20221206"; +exports.version = "18.3.0-next-d69b2cf82-20221206"; diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index 447b4e4747..db9cd0094b 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -442,41 +442,47 @@ var Placement = 2; var DidCapture = /* */ - 64; + 128; var Hydrating = /* */ - 2048; // You can change the rest (and add more). + 4096; // You can change the rest (and add more). var Update = /* */ 4; +/* Skipped value: 0b000000000000000000000001000; */ + var ChildDeletion = /* */ - 8; + 16; var ContentReset = /* */ - 16; + 32; var Callback = /* */ - 32; + 64; +/* Used by DidCapture: 0b000000000000000000010000000; */ + var ForceClientRender = /* */ - 128; + 256; var Ref = /* */ - 256; + 512; var Snapshot = /* */ - 512; + 1024; var Passive = /* */ - 1024; + 2048; +/* Used by Hydrating: 0b000000000000001000000000000; */ + var Visibility = /* */ - 4096; + 8192; var StoreConsistency = /* */ - 8192; + 16384; var LifecycleEffectMask = Passive | Update | Callback | Ref | Snapshot | StoreConsistency; // Union of all commit flags (flags with the lifetime of a particular commit) @@ -486,16 +492,16 @@ var HostEffectMask = var Incomplete = /* */ - 16384; + 32768; var ShouldCapture = /* */ - 32768; + 65536; var ForceUpdateForLegacySuspense = /* */ - 65536; + 131072; var Forked = /* */ - 524288; // Static tags describe aspects of a fiber that are not specific to a render, + 1048576; // Static tags describe aspects of a fiber that are not specific to a render, // e.g. a fiber uses a passive effect (even if there are no updates on this particular render). // This enables us to defer more work in the unmount case, // since we can defer traversing the tree during layout to look for Passive effects, @@ -503,23 +509,23 @@ var Forked = var RefStatic = /* */ - 1048576; + 2097152; var LayoutStatic = /* */ - 2097152; + 4194304; var PassiveStatic = /* */ - 4194304; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. + 8388608; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. var PlacementDEV = /* */ - 8388608; + 16777216; var MountLayoutDev = /* */ - 16777216; + 33554432; var MountPassiveDev = /* */ - 33554432; // Groups of flags that are used in the commit phase to skip over trees that + 67108864; // Groups of flags that are used in the commit phase to skip over trees that // don't contain effects, by checking subtreeFlags. var BeforeMutationMask = // TODO: Remove Update flag from before mutation phase by re-landing Visibility @@ -23775,7 +23781,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-www-classic-645ae2686-20221206"; +var ReactVersion = "18.3.0-www-classic-d69b2cf82-20221206"; var didWarnAboutNestedUpdates; diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index 65aade8c2c..f78cc48c1e 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -442,41 +442,47 @@ var Placement = 2; var DidCapture = /* */ - 64; + 128; var Hydrating = /* */ - 2048; // You can change the rest (and add more). + 4096; // You can change the rest (and add more). var Update = /* */ 4; +/* Skipped value: 0b000000000000000000000001000; */ + var ChildDeletion = /* */ - 8; + 16; var ContentReset = /* */ - 16; + 32; var Callback = /* */ - 32; + 64; +/* Used by DidCapture: 0b000000000000000000010000000; */ + var ForceClientRender = /* */ - 128; + 256; var Ref = /* */ - 256; + 512; var Snapshot = /* */ - 512; + 1024; var Passive = /* */ - 1024; + 2048; +/* Used by Hydrating: 0b000000000000001000000000000; */ + var Visibility = /* */ - 4096; + 8192; var StoreConsistency = /* */ - 8192; + 16384; var LifecycleEffectMask = Passive | Update | Callback | Ref | Snapshot | StoreConsistency; // Union of all commit flags (flags with the lifetime of a particular commit) @@ -486,16 +492,16 @@ var HostEffectMask = var Incomplete = /* */ - 16384; + 32768; var ShouldCapture = /* */ - 32768; + 65536; var ForceUpdateForLegacySuspense = /* */ - 65536; + 131072; var Forked = /* */ - 524288; // Static tags describe aspects of a fiber that are not specific to a render, + 1048576; // Static tags describe aspects of a fiber that are not specific to a render, // e.g. a fiber uses a passive effect (even if there are no updates on this particular render). // This enables us to defer more work in the unmount case, // since we can defer traversing the tree during layout to look for Passive effects, @@ -503,23 +509,23 @@ var Forked = var RefStatic = /* */ - 1048576; + 2097152; var LayoutStatic = /* */ - 2097152; + 4194304; var PassiveStatic = /* */ - 4194304; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. + 8388608; // Flag used to identify newly inserted fibers. It isn't reset after commit unlike `Placement`. var PlacementDEV = /* */ - 8388608; + 16777216; var MountLayoutDev = /* */ - 16777216; + 33554432; var MountPassiveDev = /* */ - 33554432; // Groups of flags that are used in the commit phase to skip over trees that + 67108864; // Groups of flags that are used in the commit phase to skip over trees that // don't contain effects, by checking subtreeFlags. var BeforeMutationMask = // TODO: Remove Update flag from before mutation phase by re-landing Visibility @@ -23775,7 +23781,7 @@ function createFiberRoot( return root; } -var ReactVersion = "18.3.0-www-modern-645ae2686-20221206"; +var ReactVersion = "18.3.0-www-modern-d69b2cf82-20221206"; var didWarnAboutNestedUpdates; diff --git a/compiled/facebook-www/ReactTestUtils-dev.classic.js b/compiled/facebook-www/ReactTestUtils-dev.classic.js index c3311b14e1..fc2ca524f2 100644 --- a/compiled/facebook-www/ReactTestUtils-dev.classic.js +++ b/compiled/facebook-www/ReactTestUtils-dev.classic.js @@ -153,7 +153,7 @@ var Placement = 2; var Hydrating = /* */ - 2048; // You can change the rest (and add more). + 4096; // You can change the rest (and add more). var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; function getNearestMountedFiber(fiber) { diff --git a/compiled/facebook-www/ReactTestUtils-dev.modern.js b/compiled/facebook-www/ReactTestUtils-dev.modern.js index c2a739463c..1ceea63656 100644 --- a/compiled/facebook-www/ReactTestUtils-dev.modern.js +++ b/compiled/facebook-www/ReactTestUtils-dev.modern.js @@ -153,7 +153,7 @@ var Placement = 2; var Hydrating = /* */ - 2048; // You can change the rest (and add more). + 4096; // You can change the rest (and add more). var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner; function getNearestMountedFiber(fiber) {