diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index b0c0da35bdb0c..4e8ccbbea4549 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -d7167c35059bc6a0ad84eb34e65b3b66328d5dd8 +8152e5cd27721e792f395c0b62c8a7769a54777a diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index b0c0da35bdb0c..4e8ccbbea4549 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -d7167c35059bc6a0ad84eb34e65b3b66328d5dd8 +8152e5cd27721e792f395c0b62c8a7769a54777a diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 189518b591283..bff1bbe978196 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -2001,7 +2001,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-www-classic-d7167c35-20240916"; + exports.version = "19.0.0-www-classic-8152e5cd-20240916"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-dev.modern.js b/compiled/facebook-www/React-dev.modern.js index 916ed7e9c245f..f508ea2e4f325 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -1981,7 +1981,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-www-modern-d7167c35-20240916"; + exports.version = "19.0.0-www-modern-8152e5cd-20240916"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-prod.classic.js b/compiled/facebook-www/React-prod.classic.js index 0bd67f99d001b..49b2c37485d3e 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -665,4 +665,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-classic-d7167c35-20240916"; +exports.version = "19.0.0-www-classic-8152e5cd-20240916"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 88a556270e1b3..4762c4b78867a 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -665,4 +665,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-modern-d7167c35-20240916"; +exports.version = "19.0.0-www-modern-8152e5cd-20240916"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index de8583ba2832d..e779479c4c2e0 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -669,7 +669,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-classic-d7167c35-20240916"; +exports.version = "19.0.0-www-classic-8152e5cd-20240916"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-profiling.modern.js b/compiled/facebook-www/React-profiling.modern.js index 2dd02d8e10c69..352678d5d84cc 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -669,7 +669,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-modern-d7167c35-20240916"; +exports.version = "19.0.0-www-modern-8152e5cd-20240916"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-dev.classic.js b/compiled/facebook-www/ReactART-dev.classic.js index c1cd7cffd77da..9ac3bd924864d 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -9663,10 +9663,7 @@ __DEV__ && } } function shouldProfile$1(current) { - return ( - 0 !== (current.mode & 2) && - (executionContext & CommitContext) !== NoContext - ); + return 0 !== (current.mode & 2); } function commitHookLayoutEffects(finishedWork, hookFlags) { shouldProfile$1(finishedWork) @@ -10068,26 +10065,6 @@ __DEV__ && commitTime ); } - function commitProfilerUpdate( - finishedWork, - current, - commitTime, - effectDuration - ) { - if (executionContext & CommitContext) - try { - runWithFiberInDEV( - finishedWork, - commitProfiler, - finishedWork, - current, - commitTime, - effectDuration - ); - } catch (error$20) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$20); - } - } function commitProfilerPostCommitImpl( finishedWork, current, @@ -10238,12 +10215,6 @@ __DEV__ && ); } } - function shouldProfile(current) { - return ( - 0 !== (current.mode & 2) && - (executionContext & CommitContext) !== NoContext - ); - } function commitBeforeMutationEffects(root, firstChild) { focusedInstanceHandle = null; for (nextEffect = firstChild; null !== nextEffect; ) { @@ -10462,14 +10433,26 @@ __DEV__ && break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 4) - a: for ( - flags = finishedWork.stateNode.effectDuration, - commitProfilerUpdate(finishedWork, current, commitTime, flags), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (flags & 4) { + flags = finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + flags + ); + } catch (error$20) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$20 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += flags; @@ -10480,6 +10463,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -10865,7 +10849,7 @@ __DEV__ && (tag & Layout) === NoFlags || (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + 0 !== (deletedFiber.mode & 2) ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -10908,7 +10892,7 @@ __DEV__ && : (tag & Layout) !== NoFlags && (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + 0 !== (deletedFiber.mode & 2) ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -11117,7 +11101,7 @@ __DEV__ && finishedWork.return ), commitHookEffectListMount(Insertion | HasEffect, finishedWork), - shouldProfile(finishedWork) + 0 !== (finishedWork.mode & 2) ? (startLayoutEffectTimer(), commitHookEffectListUnmount( Layout | HasEffect, @@ -11432,7 +11416,7 @@ __DEV__ && case 11: case 14: case 15: - if (shouldProfile(finishedWork)) + if (0 !== (finishedWork.mode & 2)) try { startLayoutEffectTimer(), commitHookEffectListUnmount( @@ -11550,20 +11534,27 @@ __DEV__ && finishedWork, includeWorkInProgressEffects ); - if (includeWorkInProgressEffects && flags & 4) - a: for ( - includeWorkInProgressEffects = - finishedWork.stateNode.effectDuration, - commitProfilerUpdate( - finishedWork, - current, - commitTime, - includeWorkInProgressEffects - ), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (includeWorkInProgressEffects && flags & 4) { + includeWorkInProgressEffects = + finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + includeWorkInProgressEffects + ); + } catch (error$20) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$20 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += @@ -11576,6 +11567,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseReappearLayoutEffects( @@ -11803,7 +11795,7 @@ __DEV__ && committedLanes, committedTransitions ); - if (flags & 2048 && executionContext & CommitContext) + if (flags & 2048) a: for ( finishedRoot = finishedWork.stateNode.passiveEffectDuration, commitProfilerPostCommit( @@ -17136,11 +17128,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-www-classic-d7167c35-20240916", + version: "19.0.0-www-classic-8152e5cd-20240916", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-classic-8152e5cd-20240916" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -17174,7 +17166,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.0.0-www-classic-d7167c35-20240916"; + exports.version = "19.0.0-www-classic-8152e5cd-20240916"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js index 94634e540f8cd..805d1e2b09fe8 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -9295,10 +9295,7 @@ __DEV__ && } } function shouldProfile$1(current) { - return ( - 0 !== (current.mode & 2) && - (executionContext & CommitContext) !== NoContext - ); + return 0 !== (current.mode & 2); } function commitHookLayoutEffects(finishedWork, hookFlags) { shouldProfile$1(finishedWork) @@ -9690,26 +9687,6 @@ __DEV__ && commitTime ); } - function commitProfilerUpdate( - finishedWork, - current, - commitTime, - effectDuration - ) { - if (executionContext & CommitContext) - try { - runWithFiberInDEV( - finishedWork, - commitProfiler, - finishedWork, - current, - commitTime, - effectDuration - ); - } catch (error$20) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$20); - } - } function commitProfilerPostCommitImpl( finishedWork, current, @@ -9860,12 +9837,6 @@ __DEV__ && ); } } - function shouldProfile(current) { - return ( - 0 !== (current.mode & 2) && - (executionContext & CommitContext) !== NoContext - ); - } function commitBeforeMutationEffects(root, firstChild) { focusedInstanceHandle = null; for (nextEffect = firstChild; null !== nextEffect; ) { @@ -10084,14 +10055,26 @@ __DEV__ && break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 4) - a: for ( - flags = finishedWork.stateNode.effectDuration, - commitProfilerUpdate(finishedWork, current, commitTime, flags), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (flags & 4) { + flags = finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + flags + ); + } catch (error$20) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$20 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += flags; @@ -10102,6 +10085,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -10482,7 +10466,7 @@ __DEV__ && (tag & Layout) === NoFlags || (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + 0 !== (deletedFiber.mode & 2) ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -10525,7 +10509,7 @@ __DEV__ && : (tag & Layout) !== NoFlags && (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + 0 !== (deletedFiber.mode & 2) ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -10728,7 +10712,7 @@ __DEV__ && finishedWork.return ), commitHookEffectListMount(Insertion | HasEffect, finishedWork), - shouldProfile(finishedWork) + 0 !== (finishedWork.mode & 2) ? (startLayoutEffectTimer(), commitHookEffectListUnmount( Layout | HasEffect, @@ -11040,7 +11024,7 @@ __DEV__ && case 11: case 14: case 15: - if (shouldProfile(finishedWork)) + if (0 !== (finishedWork.mode & 2)) try { startLayoutEffectTimer(), commitHookEffectListUnmount( @@ -11165,20 +11149,27 @@ __DEV__ && finishedWork, includeWorkInProgressEffects ); - if (includeWorkInProgressEffects && flags & 4) - a: for ( - includeWorkInProgressEffects = - finishedWork.stateNode.effectDuration, - commitProfilerUpdate( - finishedWork, - current, - commitTime, - includeWorkInProgressEffects - ), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (includeWorkInProgressEffects && flags & 4) { + includeWorkInProgressEffects = + finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + includeWorkInProgressEffects + ); + } catch (error$20) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$20 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += @@ -11191,6 +11182,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseReappearLayoutEffects( @@ -11418,7 +11410,7 @@ __DEV__ && committedLanes, committedTransitions ); - if (flags & 2048 && executionContext & CommitContext) + if (flags & 2048) a: for ( finishedRoot = finishedWork.stateNode.passiveEffectDuration, commitProfilerPostCommit( @@ -16582,11 +16574,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-www-modern-d7167c35-20240916", + version: "19.0.0-www-modern-8152e5cd-20240916", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-modern-8152e5cd-20240916" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -16620,7 +16612,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.0.0-www-modern-d7167c35-20240916"; + exports.version = "19.0.0-www-modern-8152e5cd-20240916"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-prod.classic.js b/compiled/facebook-www/ReactART-prod.classic.js index 2400240651d69..f5c5fadfeb73e 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -10891,13 +10891,13 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1424 = { bundleType: 0, - version: "19.0.0-www-classic-d7167c35-20240916", + version: "19.0.0-www-classic-8152e5cd-20240916", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: function () { return null; }, - reconcilerVersion: "19.0.0-www-classic-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-classic-8152e5cd-20240916" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1425 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10923,4 +10923,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.0.0-www-classic-d7167c35-20240916"; +exports.version = "19.0.0-www-classic-8152e5cd-20240916"; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index 030ad6e0b5fcb..2bb41793854a8 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -10405,13 +10405,13 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1416 = { bundleType: 0, - version: "19.0.0-www-modern-d7167c35-20240916", + version: "19.0.0-www-modern-8152e5cd-20240916", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: function () { return null; }, - reconcilerVersion: "19.0.0-www-modern-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-modern-8152e5cd-20240916" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1417 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10437,4 +10437,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.0.0-www-modern-d7167c35-20240916"; +exports.version = "19.0.0-www-modern-8152e5cd-20240916"; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index 27fbca092d629..caaa60459ca36 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -9206,32 +9206,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2405; - var JSCompiler_object_inline_stack_2406 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2417; + var JSCompiler_object_inline_stack_2418 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2407 = !1; + var JSCompiler_object_inline_componentStack_2419 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2405 = didSuspend) || - (JSCompiler_object_inline_digest_2405 = + (JSCompiler_object_inline_digest_2417 = didSuspend) || + (JSCompiler_object_inline_digest_2417 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2405 && - ((JSCompiler_object_inline_componentStack_2407 = !0), + JSCompiler_object_inline_digest_2417 && + ((JSCompiler_object_inline_componentStack_2419 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2405 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2417 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2407 + JSCompiler_object_inline_componentStack_2419 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2404 = nextHydratableInstance; + var JSCompiler_object_inline_message_2416 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2404)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2416)) { c: { - var instance = JSCompiler_object_inline_message_2404; + var instance = JSCompiler_object_inline_message_2416; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9272,19 +9272,19 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2404 + JSCompiler_object_inline_message_2416 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2404 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2416 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2404 && - ((JSCompiler_object_inline_message_2404 = - JSCompiler_object_inline_message_2404.dehydrated), - null !== JSCompiler_object_inline_message_2404) + null !== JSCompiler_object_inline_message_2416 && + ((JSCompiler_object_inline_message_2416 = + JSCompiler_object_inline_message_2416.dehydrated), + null !== JSCompiler_object_inline_message_2416) ) return ( - JSCompiler_object_inline_message_2404.data === + JSCompiler_object_inline_message_2416.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -9292,27 +9292,27 @@ __DEV__ && ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2404 = - JSCompiler_object_inline_stack_2406.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2406.fallback; - if (JSCompiler_object_inline_componentStack_2407) + JSCompiler_object_inline_message_2416 = + JSCompiler_object_inline_stack_2418.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2418.fallback; + if (JSCompiler_object_inline_componentStack_2419) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2406 = + (JSCompiler_object_inline_stack_2418 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2404, + JSCompiler_object_inline_message_2416, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2407 = + (JSCompiler_object_inline_componentStack_2419 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2407.memoizedState = + (JSCompiler_object_inline_componentStack_2419.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2407.childLanes = + (JSCompiler_object_inline_componentStack_2419.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2405, + JSCompiler_object_inline_digest_2417, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9325,9 +9325,9 @@ __DEV__ && ? markerInstanceStack.current : null), (current = - JSCompiler_object_inline_componentStack_2407.updateQueue), + JSCompiler_object_inline_componentStack_2419.updateQueue), null === current - ? (JSCompiler_object_inline_componentStack_2407.updateQueue = + ? (JSCompiler_object_inline_componentStack_2419.updateQueue = { transitions: workInProgress, markerInstances: renderLanes, @@ -9335,46 +9335,46 @@ __DEV__ && }) : ((current.transitions = workInProgress), (current.markerInstances = renderLanes)))), - JSCompiler_object_inline_stack_2406 + JSCompiler_object_inline_stack_2418 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2406.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2418.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2406 = + (JSCompiler_object_inline_stack_2418 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2404, + JSCompiler_object_inline_message_2416, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2407 = + (JSCompiler_object_inline_componentStack_2419 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2407.memoizedState = + (JSCompiler_object_inline_componentStack_2419.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2407.childLanes = + (JSCompiler_object_inline_componentStack_2419.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2405, + JSCompiler_object_inline_digest_2417, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2406 + JSCompiler_object_inline_stack_2418 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2404 + JSCompiler_object_inline_message_2416 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2404 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2404) + ((JSCompiler_object_inline_message_2416 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2416) ) { if (didSuspend) workInProgress.flags & 256 @@ -9391,32 +9391,32 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2407 = - JSCompiler_object_inline_stack_2406.fallback), - (JSCompiler_object_inline_message_2404 = workInProgress.mode), - (JSCompiler_object_inline_stack_2406 = createFiberFromOffscreen( + (JSCompiler_object_inline_componentStack_2419 = + JSCompiler_object_inline_stack_2418.fallback), + (JSCompiler_object_inline_message_2416 = workInProgress.mode), + (JSCompiler_object_inline_stack_2418 = createFiberFromOffscreen( { mode: "visible", - children: JSCompiler_object_inline_stack_2406.children + children: JSCompiler_object_inline_stack_2418.children }, - JSCompiler_object_inline_message_2404, + JSCompiler_object_inline_message_2416, 0, null )), - (JSCompiler_object_inline_componentStack_2407 = + (JSCompiler_object_inline_componentStack_2419 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2407, - JSCompiler_object_inline_message_2404, + JSCompiler_object_inline_componentStack_2419, + JSCompiler_object_inline_message_2416, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2407.flags |= 2), - (JSCompiler_object_inline_stack_2406.return = workInProgress), - (JSCompiler_object_inline_componentStack_2407.return = + (JSCompiler_object_inline_componentStack_2419.flags |= 2), + (JSCompiler_object_inline_stack_2418.return = workInProgress), + (JSCompiler_object_inline_componentStack_2419.return = workInProgress), - (JSCompiler_object_inline_stack_2406.sibling = - JSCompiler_object_inline_componentStack_2407), - (workInProgress.child = JSCompiler_object_inline_stack_2406), + (JSCompiler_object_inline_stack_2418.sibling = + JSCompiler_object_inline_componentStack_2419), + (workInProgress.child = JSCompiler_object_inline_stack_2418), (disableLegacyMode || (workInProgress.mode & ConcurrentMode) !== NoMode) && reconcileChildFibers( @@ -9425,63 +9425,63 @@ __DEV__ && null, renderLanes ), - (JSCompiler_object_inline_stack_2406 = workInProgress.child), - (JSCompiler_object_inline_stack_2406.memoizedState = + (JSCompiler_object_inline_stack_2418 = workInProgress.child), + (JSCompiler_object_inline_stack_2418.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2406.childLanes = + (JSCompiler_object_inline_stack_2418.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2405, + JSCompiler_object_inline_digest_2417, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2407)); + JSCompiler_object_inline_componentStack_2419)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2404.data === + JSCompiler_object_inline_message_2416.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2405 = - JSCompiler_object_inline_message_2404.nextSibling && - JSCompiler_object_inline_message_2404.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2405) { - JSCompiler_temp = JSCompiler_object_inline_digest_2405.dgst; - var message = JSCompiler_object_inline_digest_2405.msg; - instance = JSCompiler_object_inline_digest_2405.stck; - var componentStack = JSCompiler_object_inline_digest_2405.cstck; + JSCompiler_object_inline_digest_2417 = + JSCompiler_object_inline_message_2416.nextSibling && + JSCompiler_object_inline_message_2416.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2417) { + JSCompiler_temp = JSCompiler_object_inline_digest_2417.dgst; + var message = JSCompiler_object_inline_digest_2417.msg; + instance = JSCompiler_object_inline_digest_2417.stck; + var componentStack = JSCompiler_object_inline_digest_2417.cstck; } - JSCompiler_object_inline_message_2404 = message; - JSCompiler_object_inline_digest_2405 = JSCompiler_temp; - JSCompiler_object_inline_stack_2406 = instance; - JSCompiler_object_inline_componentStack_2407 = componentStack; - JSCompiler_object_inline_message_2404 = - JSCompiler_object_inline_message_2404 - ? Error(JSCompiler_object_inline_message_2404) + JSCompiler_object_inline_message_2416 = message; + JSCompiler_object_inline_digest_2417 = JSCompiler_temp; + JSCompiler_object_inline_stack_2418 = instance; + JSCompiler_object_inline_componentStack_2419 = componentStack; + JSCompiler_object_inline_message_2416 = + JSCompiler_object_inline_message_2416 + ? Error(JSCompiler_object_inline_message_2416) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2404.stack = - JSCompiler_object_inline_stack_2406 || ""; - JSCompiler_object_inline_message_2404.digest = - JSCompiler_object_inline_digest_2405; - JSCompiler_object_inline_digest_2405 = - void 0 === JSCompiler_object_inline_componentStack_2407 + JSCompiler_object_inline_message_2416.stack = + JSCompiler_object_inline_stack_2418 || ""; + JSCompiler_object_inline_message_2416.digest = + JSCompiler_object_inline_digest_2417; + JSCompiler_object_inline_digest_2417 = + void 0 === JSCompiler_object_inline_componentStack_2419 ? null - : JSCompiler_object_inline_componentStack_2407; - "string" === typeof JSCompiler_object_inline_digest_2405 && + : JSCompiler_object_inline_componentStack_2419; + "string" === typeof JSCompiler_object_inline_digest_2417 && CapturedStacks.set( - JSCompiler_object_inline_message_2404, - JSCompiler_object_inline_digest_2405 + JSCompiler_object_inline_message_2416, + JSCompiler_object_inline_digest_2417 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2404, + value: JSCompiler_object_inline_message_2416, source: null, - stack: JSCompiler_object_inline_digest_2405 + stack: JSCompiler_object_inline_digest_2417 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9496,25 +9496,25 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2405 = + (JSCompiler_object_inline_digest_2417 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2405) + didReceiveUpdate || JSCompiler_object_inline_digest_2417) ) { - JSCompiler_object_inline_digest_2405 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2405) { - JSCompiler_object_inline_stack_2406 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2406 & 42)) - JSCompiler_object_inline_stack_2406 = 1; + JSCompiler_object_inline_digest_2417 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2417) { + JSCompiler_object_inline_stack_2418 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2418 & 42)) + JSCompiler_object_inline_stack_2418 = 1; else - switch (JSCompiler_object_inline_stack_2406) { + switch (JSCompiler_object_inline_stack_2418) { case 2: - JSCompiler_object_inline_stack_2406 = 1; + JSCompiler_object_inline_stack_2418 = 1; break; case 8: - JSCompiler_object_inline_stack_2406 = 4; + JSCompiler_object_inline_stack_2418 = 4; break; case 32: - JSCompiler_object_inline_stack_2406 = 16; + JSCompiler_object_inline_stack_2418 = 16; break; case 128: case 256: @@ -9535,40 +9535,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2406 = 64; + JSCompiler_object_inline_stack_2418 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2406 = 134217728; + JSCompiler_object_inline_stack_2418 = 134217728; break; default: - JSCompiler_object_inline_stack_2406 = 0; + JSCompiler_object_inline_stack_2418 = 0; } - JSCompiler_object_inline_stack_2406 = + JSCompiler_object_inline_stack_2418 = 0 !== - (JSCompiler_object_inline_stack_2406 & - (JSCompiler_object_inline_digest_2405.suspendedLanes | + (JSCompiler_object_inline_stack_2418 & + (JSCompiler_object_inline_digest_2417.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2406; + : JSCompiler_object_inline_stack_2418; if ( - 0 !== JSCompiler_object_inline_stack_2406 && - JSCompiler_object_inline_stack_2406 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2418 && + JSCompiler_object_inline_stack_2418 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2406), + ((prevState.retryLane = JSCompiler_object_inline_stack_2418), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2406 + JSCompiler_object_inline_stack_2418 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2405, + JSCompiler_object_inline_digest_2417, current, - JSCompiler_object_inline_stack_2406 + JSCompiler_object_inline_stack_2418 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2404.data === + JSCompiler_object_inline_message_2416.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9576,7 +9576,7 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2404.data === + JSCompiler_object_inline_message_2416.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9584,12 +9584,12 @@ __DEV__ && null, current )), - (JSCompiler_object_inline_message_2404._reactRetry = + (JSCompiler_object_inline_message_2416._reactRetry = workInProgress), (workInProgress = null)) : ((renderLanes = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2404.nextSibling + JSCompiler_object_inline_message_2416.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9607,73 +9607,73 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2406.children + JSCompiler_object_inline_stack_2418.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2407) + if (JSCompiler_object_inline_componentStack_2419) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2407 = - JSCompiler_object_inline_stack_2406.fallback), - (JSCompiler_object_inline_message_2404 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2419 = + JSCompiler_object_inline_stack_2418.fallback), + (JSCompiler_object_inline_message_2416 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), (componentStack = { mode: "hidden", - children: JSCompiler_object_inline_stack_2406.children + children: JSCompiler_object_inline_stack_2418.children }), disableLegacyMode || - (JSCompiler_object_inline_message_2404 & ConcurrentMode) !== NoMode || + (JSCompiler_object_inline_message_2416 & ConcurrentMode) !== NoMode || workInProgress.child === JSCompiler_temp - ? ((JSCompiler_object_inline_stack_2406 = createWorkInProgress( + ? ((JSCompiler_object_inline_stack_2418 = createWorkInProgress( JSCompiler_temp, componentStack )), - (JSCompiler_object_inline_stack_2406.subtreeFlags = + (JSCompiler_object_inline_stack_2418.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280)) - : ((JSCompiler_object_inline_stack_2406 = workInProgress.child), - (JSCompiler_object_inline_stack_2406.childLanes = 0), - (JSCompiler_object_inline_stack_2406.pendingProps = + : ((JSCompiler_object_inline_stack_2418 = workInProgress.child), + (JSCompiler_object_inline_stack_2418.childLanes = 0), + (JSCompiler_object_inline_stack_2418.pendingProps = componentStack), workInProgress.mode & ProfileMode && - ((JSCompiler_object_inline_stack_2406.actualDuration = -0), - (JSCompiler_object_inline_stack_2406.actualStartTime = -1.1), - (JSCompiler_object_inline_stack_2406.selfBaseDuration = + ((JSCompiler_object_inline_stack_2418.actualDuration = -0), + (JSCompiler_object_inline_stack_2418.actualStartTime = -1.1), + (JSCompiler_object_inline_stack_2418.selfBaseDuration = JSCompiler_temp.selfBaseDuration), - (JSCompiler_object_inline_stack_2406.treeBaseDuration = + (JSCompiler_object_inline_stack_2418.treeBaseDuration = JSCompiler_temp.treeBaseDuration)), (workInProgress.deletions = null)), null !== instance - ? (JSCompiler_object_inline_componentStack_2407 = + ? (JSCompiler_object_inline_componentStack_2419 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2407 + JSCompiler_object_inline_componentStack_2419 )) - : ((JSCompiler_object_inline_componentStack_2407 = + : ((JSCompiler_object_inline_componentStack_2419 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2407, - JSCompiler_object_inline_message_2404, + JSCompiler_object_inline_componentStack_2419, + JSCompiler_object_inline_message_2416, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2407.flags |= 2)), - (JSCompiler_object_inline_componentStack_2407.return = + (JSCompiler_object_inline_componentStack_2419.flags |= 2)), + (JSCompiler_object_inline_componentStack_2419.return = workInProgress), - (JSCompiler_object_inline_stack_2406.return = workInProgress), - (JSCompiler_object_inline_stack_2406.sibling = - JSCompiler_object_inline_componentStack_2407), - (workInProgress.child = JSCompiler_object_inline_stack_2406), - (JSCompiler_object_inline_stack_2406 = - JSCompiler_object_inline_componentStack_2407), - (JSCompiler_object_inline_componentStack_2407 = workInProgress.child), - (JSCompiler_object_inline_message_2404 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2404 - ? (JSCompiler_object_inline_message_2404 = + (JSCompiler_object_inline_stack_2418.return = workInProgress), + (JSCompiler_object_inline_stack_2418.sibling = + JSCompiler_object_inline_componentStack_2419), + (workInProgress.child = JSCompiler_object_inline_stack_2418), + (JSCompiler_object_inline_stack_2418 = + JSCompiler_object_inline_componentStack_2419), + (JSCompiler_object_inline_componentStack_2419 = workInProgress.child), + (JSCompiler_object_inline_message_2416 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2416 + ? (JSCompiler_object_inline_message_2416 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2404.cachePool), + JSCompiler_object_inline_message_2416.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9681,34 +9681,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2404 = { + (JSCompiler_object_inline_message_2416 = { baseLanes: - JSCompiler_object_inline_message_2404.baseLanes | renderLanes, + JSCompiler_object_inline_message_2416.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2407.memoizedState = - JSCompiler_object_inline_message_2404), + (JSCompiler_object_inline_componentStack_2419.memoizedState = + JSCompiler_object_inline_message_2416), enableTransitionTracing && - ((JSCompiler_object_inline_message_2404 = enableTransitionTracing + ((JSCompiler_object_inline_message_2416 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2404 && + null !== JSCompiler_object_inline_message_2416 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2407.updateQueue), + JSCompiler_object_inline_componentStack_2419.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2407.updateQueue = { - transitions: JSCompiler_object_inline_message_2404, + ? (JSCompiler_object_inline_componentStack_2419.updateQueue = { + transitions: JSCompiler_object_inline_message_2416, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2407.updateQueue = + ? (JSCompiler_object_inline_componentStack_2419.updateQueue = { - transitions: JSCompiler_object_inline_message_2404, + transitions: JSCompiler_object_inline_message_2416, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9716,41 +9716,41 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2404), + JSCompiler_object_inline_message_2416), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2407.childLanes = + (JSCompiler_object_inline_componentStack_2419.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2405, + JSCompiler_object_inline_digest_2417, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2406 + JSCompiler_object_inline_stack_2418 ); pushPrimaryTreeSuspenseHandler(workInProgress); - JSCompiler_object_inline_digest_2405 = current.child; - current = JSCompiler_object_inline_digest_2405.sibling; - JSCompiler_object_inline_digest_2405 = createWorkInProgress( - JSCompiler_object_inline_digest_2405, + JSCompiler_object_inline_digest_2417 = current.child; + current = JSCompiler_object_inline_digest_2417.sibling; + JSCompiler_object_inline_digest_2417 = createWorkInProgress( + JSCompiler_object_inline_digest_2417, { mode: "visible", - children: JSCompiler_object_inline_stack_2406.children + children: JSCompiler_object_inline_stack_2418.children } ); disableLegacyMode || (workInProgress.mode & ConcurrentMode) !== NoMode || - (JSCompiler_object_inline_digest_2405.lanes = renderLanes); - JSCompiler_object_inline_digest_2405.return = workInProgress; - JSCompiler_object_inline_digest_2405.sibling = null; + (JSCompiler_object_inline_digest_2417.lanes = renderLanes); + JSCompiler_object_inline_digest_2417.return = workInProgress; + JSCompiler_object_inline_digest_2417.sibling = null; null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); - workInProgress.child = JSCompiler_object_inline_digest_2405; + workInProgress.child = JSCompiler_object_inline_digest_2417; workInProgress.memoizedState = null; - return JSCompiler_object_inline_digest_2405; + return JSCompiler_object_inline_digest_2417; } function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { primaryChildren = createFiberFromOffscreen( @@ -12339,10 +12339,7 @@ __DEV__ && } } function shouldProfile$1(current) { - return ( - (current.mode & ProfileMode) !== NoMode && - (executionContext & CommitContext) !== NoContext - ); + return (current.mode & ProfileMode) !== NoMode; } function commitHookLayoutEffects(finishedWork, hookFlags) { shouldProfile$1(finishedWork) @@ -12744,26 +12741,6 @@ __DEV__ && commitTime ); } - function commitProfilerUpdate( - finishedWork, - current, - commitTime, - effectDuration - ) { - if (executionContext & CommitContext) - try { - runWithFiberInDEV( - finishedWork, - commitProfiler, - finishedWork, - current, - commitTime, - effectDuration - ); - } catch (error$21) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$21); - } - } function commitProfilerPostCommitImpl( finishedWork, current, @@ -12950,12 +12927,6 @@ __DEV__ && } } } - function shouldProfile(current) { - return ( - (current.mode & ProfileMode) !== NoMode && - (executionContext & CommitContext) !== NoContext - ); - } function commitBeforeMutationEffects(root, firstChild) { root = root.containerInfo; eventsEnabled = _enabled; @@ -13267,14 +13238,26 @@ __DEV__ && break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 4) - a: for ( - flags = finishedWork.stateNode.effectDuration, - commitProfilerUpdate(finishedWork, current, commitTime, flags), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (flags & 4) { + flags = finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + flags + ); + } catch (error$21) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$21 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += flags; @@ -13285,6 +13268,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -13720,7 +13704,7 @@ __DEV__ && (tag & Layout) === NoFlags || (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + (deletedFiber.mode & ProfileMode) !== NoMode ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -13763,7 +13747,7 @@ __DEV__ && : (tag & Layout) !== NoFlags && (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + (deletedFiber.mode & ProfileMode) !== NoMode ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -14010,7 +13994,7 @@ __DEV__ && finishedWork.return ), commitHookEffectListMount(Insertion | HasEffect, finishedWork), - shouldProfile(finishedWork) + (finishedWork.mode & ProfileMode) !== NoMode ? (startLayoutEffectTimer(), commitHookEffectListUnmount( Layout | HasEffect, @@ -14554,7 +14538,7 @@ __DEV__ && case 11: case 14: case 15: - if (shouldProfile(finishedWork)) + if ((finishedWork.mode & ProfileMode) !== NoMode) try { startLayoutEffectTimer(), commitHookEffectListUnmount( @@ -14672,20 +14656,27 @@ __DEV__ && finishedWork, includeWorkInProgressEffects ); - if (includeWorkInProgressEffects && flags & 4) - a: for ( - includeWorkInProgressEffects = - finishedWork.stateNode.effectDuration, - commitProfilerUpdate( - finishedWork, - current, - commitTime, - includeWorkInProgressEffects - ), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (includeWorkInProgressEffects && flags & 4) { + includeWorkInProgressEffects = + finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + includeWorkInProgressEffects + ); + } catch (error$21) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$21 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += @@ -14698,6 +14689,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseReappearLayoutEffects( @@ -14928,7 +14920,7 @@ __DEV__ && committedLanes, committedTransitions ); - if (flags & 2048 && executionContext & CommitContext) + if (flags & 2048) a: for ( finishedRoot = finishedWork.stateNode.passiveEffectDuration, commitProfilerPostCommit( @@ -18691,41 +18683,41 @@ __DEV__ && : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmp322628415$1, $jscomp$nullish$tmp0; + var $jscomp$optchain$tmp1248351372$1, $jscomp$nullish$tmp0; containerInfo = null != ($jscomp$nullish$tmp0 = null == containerInfo ? void 0 : null == - ($jscomp$optchain$tmp322628415$1 = containerInfo.ownerDocument) + ($jscomp$optchain$tmp1248351372$1 = containerInfo.ownerDocument) ? void 0 - : $jscomp$optchain$tmp322628415$1.defaultView) + : $jscomp$optchain$tmp1248351372$1.defaultView) ? $jscomp$nullish$tmp0 : window; for ( - $jscomp$optchain$tmp322628415$1 = getActiveElement( + $jscomp$optchain$tmp1248351372$1 = getActiveElement( containerInfo.document ); - $jscomp$optchain$tmp322628415$1 instanceof + $jscomp$optchain$tmp1248351372$1 instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = "string" === - typeof $jscomp$optchain$tmp322628415$1.contentWindow.location.href; + typeof $jscomp$optchain$tmp1248351372$1.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmp322628415$1.contentWindow; + containerInfo = $jscomp$optchain$tmp1248351372$1.contentWindow; else break; - $jscomp$optchain$tmp322628415$1 = getActiveElement( + $jscomp$optchain$tmp1248351372$1 = getActiveElement( containerInfo.document ); } - return $jscomp$optchain$tmp322628415$1; + return $jscomp$optchain$tmp1248351372$1; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -27890,11 +27882,11 @@ __DEV__ && : flushSyncErrorInBuildsThatSupportLegacyMode; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-classic-d7167c35-20240916" !== isomorphicReactPackageVersion) + if ("19.0.0-www-classic-8152e5cd-20240916" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-www-classic-d7167c35-20240916\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-classic-8152e5cd-20240916\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27938,11 +27930,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-www-classic-d7167c35-20240916", + version: "19.0.0-www-classic-8152e5cd-20240916", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-classic-8152e5cd-20240916" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28595,7 +28587,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-classic-d7167c35-20240916"; + exports.version = "19.0.0-www-classic-8152e5cd-20240916"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-dev.modern.js b/compiled/facebook-www/ReactDOM-dev.modern.js index 9d20c1b1556c5..f59010a558a5d 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -8891,32 +8891,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2426; - var JSCompiler_object_inline_stack_2427 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2438; + var JSCompiler_object_inline_stack_2439 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2428 = !1; + var JSCompiler_object_inline_componentStack_2440 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2426 = didSuspend) || - (JSCompiler_object_inline_digest_2426 = + (JSCompiler_object_inline_digest_2438 = didSuspend) || + (JSCompiler_object_inline_digest_2438 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2426 && - ((JSCompiler_object_inline_componentStack_2428 = !0), + JSCompiler_object_inline_digest_2438 && + ((JSCompiler_object_inline_componentStack_2440 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2426 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2438 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2428 + JSCompiler_object_inline_componentStack_2440 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2425 = nextHydratableInstance; + var JSCompiler_object_inline_message_2437 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2425)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2437)) { c: { - var instance = JSCompiler_object_inline_message_2425; + var instance = JSCompiler_object_inline_message_2437; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -8957,19 +8957,19 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2425 + JSCompiler_object_inline_message_2437 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2425 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2437 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2425 && - ((JSCompiler_object_inline_message_2425 = - JSCompiler_object_inline_message_2425.dehydrated), - null !== JSCompiler_object_inline_message_2425) + null !== JSCompiler_object_inline_message_2437 && + ((JSCompiler_object_inline_message_2437 = + JSCompiler_object_inline_message_2437.dehydrated), + null !== JSCompiler_object_inline_message_2437) ) return ( - JSCompiler_object_inline_message_2425.data === + JSCompiler_object_inline_message_2437.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8977,27 +8977,27 @@ __DEV__ && ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2425 = - JSCompiler_object_inline_stack_2427.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2427.fallback; - if (JSCompiler_object_inline_componentStack_2428) + JSCompiler_object_inline_message_2437 = + JSCompiler_object_inline_stack_2439.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2439.fallback; + if (JSCompiler_object_inline_componentStack_2440) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2427 = + (JSCompiler_object_inline_stack_2439 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2425, + JSCompiler_object_inline_message_2437, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2428 = + (JSCompiler_object_inline_componentStack_2440 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2428.memoizedState = + (JSCompiler_object_inline_componentStack_2440.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2428.childLanes = + (JSCompiler_object_inline_componentStack_2440.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2426, + JSCompiler_object_inline_digest_2438, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9010,9 +9010,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2428.updateQueue), + JSCompiler_object_inline_componentStack_2440.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2428.updateQueue = + ? (JSCompiler_object_inline_componentStack_2440.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9020,46 +9020,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2427 + JSCompiler_object_inline_stack_2439 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2427.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2439.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2427 = + (JSCompiler_object_inline_stack_2439 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2425, + JSCompiler_object_inline_message_2437, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2428 = + (JSCompiler_object_inline_componentStack_2440 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2428.memoizedState = + (JSCompiler_object_inline_componentStack_2440.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2428.childLanes = + (JSCompiler_object_inline_componentStack_2440.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2426, + JSCompiler_object_inline_digest_2438, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2427 + JSCompiler_object_inline_stack_2439 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2425 + JSCompiler_object_inline_message_2437 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2425 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2425) + ((JSCompiler_object_inline_message_2437 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2437) ) { if (didSuspend) workInProgress.flags & 256 @@ -9076,94 +9076,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2428 = - JSCompiler_object_inline_stack_2427.fallback), - (JSCompiler_object_inline_message_2425 = workInProgress.mode), - (JSCompiler_object_inline_stack_2427 = + (JSCompiler_object_inline_componentStack_2440 = + JSCompiler_object_inline_stack_2439.fallback), + (JSCompiler_object_inline_message_2437 = workInProgress.mode), + (JSCompiler_object_inline_stack_2439 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2427.children + children: JSCompiler_object_inline_stack_2439.children }, - JSCompiler_object_inline_message_2425 + JSCompiler_object_inline_message_2437 )), - (JSCompiler_object_inline_componentStack_2428 = + (JSCompiler_object_inline_componentStack_2440 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2428, - JSCompiler_object_inline_message_2425, + JSCompiler_object_inline_componentStack_2440, + JSCompiler_object_inline_message_2437, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2428.flags |= 2), - (JSCompiler_object_inline_stack_2427.return = workInProgress), - (JSCompiler_object_inline_componentStack_2428.return = + (JSCompiler_object_inline_componentStack_2440.flags |= 2), + (JSCompiler_object_inline_stack_2439.return = workInProgress), + (JSCompiler_object_inline_componentStack_2440.return = workInProgress), - (JSCompiler_object_inline_stack_2427.sibling = - JSCompiler_object_inline_componentStack_2428), - (workInProgress.child = JSCompiler_object_inline_stack_2427), + (JSCompiler_object_inline_stack_2439.sibling = + JSCompiler_object_inline_componentStack_2440), + (workInProgress.child = JSCompiler_object_inline_stack_2439), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2427 = workInProgress.child), - (JSCompiler_object_inline_stack_2427.memoizedState = + (JSCompiler_object_inline_stack_2439 = workInProgress.child), + (JSCompiler_object_inline_stack_2439.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2427.childLanes = + (JSCompiler_object_inline_stack_2439.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2426, + JSCompiler_object_inline_digest_2438, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2428)); + JSCompiler_object_inline_componentStack_2440)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2425.data === + JSCompiler_object_inline_message_2437.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2426 = - JSCompiler_object_inline_message_2425.nextSibling && - JSCompiler_object_inline_message_2425.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2426) { - JSCompiler_temp = JSCompiler_object_inline_digest_2426.dgst; - var message = JSCompiler_object_inline_digest_2426.msg; - instance = JSCompiler_object_inline_digest_2426.stck; - var componentStack = JSCompiler_object_inline_digest_2426.cstck; + JSCompiler_object_inline_digest_2438 = + JSCompiler_object_inline_message_2437.nextSibling && + JSCompiler_object_inline_message_2437.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2438) { + JSCompiler_temp = JSCompiler_object_inline_digest_2438.dgst; + var message = JSCompiler_object_inline_digest_2438.msg; + instance = JSCompiler_object_inline_digest_2438.stck; + var componentStack = JSCompiler_object_inline_digest_2438.cstck; } - JSCompiler_object_inline_message_2425 = message; - JSCompiler_object_inline_digest_2426 = JSCompiler_temp; - JSCompiler_object_inline_stack_2427 = instance; - JSCompiler_object_inline_componentStack_2428 = componentStack; - JSCompiler_object_inline_message_2425 = - JSCompiler_object_inline_message_2425 - ? Error(JSCompiler_object_inline_message_2425) + JSCompiler_object_inline_message_2437 = message; + JSCompiler_object_inline_digest_2438 = JSCompiler_temp; + JSCompiler_object_inline_stack_2439 = instance; + JSCompiler_object_inline_componentStack_2440 = componentStack; + JSCompiler_object_inline_message_2437 = + JSCompiler_object_inline_message_2437 + ? Error(JSCompiler_object_inline_message_2437) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2425.stack = - JSCompiler_object_inline_stack_2427 || ""; - JSCompiler_object_inline_message_2425.digest = - JSCompiler_object_inline_digest_2426; - JSCompiler_object_inline_digest_2426 = - void 0 === JSCompiler_object_inline_componentStack_2428 + JSCompiler_object_inline_message_2437.stack = + JSCompiler_object_inline_stack_2439 || ""; + JSCompiler_object_inline_message_2437.digest = + JSCompiler_object_inline_digest_2438; + JSCompiler_object_inline_digest_2438 = + void 0 === JSCompiler_object_inline_componentStack_2440 ? null - : JSCompiler_object_inline_componentStack_2428; - "string" === typeof JSCompiler_object_inline_digest_2426 && + : JSCompiler_object_inline_componentStack_2440; + "string" === typeof JSCompiler_object_inline_digest_2438 && CapturedStacks.set( - JSCompiler_object_inline_message_2425, - JSCompiler_object_inline_digest_2426 + JSCompiler_object_inline_message_2437, + JSCompiler_object_inline_digest_2438 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2425, + value: JSCompiler_object_inline_message_2437, source: null, - stack: JSCompiler_object_inline_digest_2426 + stack: JSCompiler_object_inline_digest_2438 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9178,25 +9178,25 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2426 = + (JSCompiler_object_inline_digest_2438 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2426) + didReceiveUpdate || JSCompiler_object_inline_digest_2438) ) { - JSCompiler_object_inline_digest_2426 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2426) { - JSCompiler_object_inline_stack_2427 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2427 & 42)) - JSCompiler_object_inline_stack_2427 = 1; + JSCompiler_object_inline_digest_2438 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2438) { + JSCompiler_object_inline_stack_2439 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2439 & 42)) + JSCompiler_object_inline_stack_2439 = 1; else - switch (JSCompiler_object_inline_stack_2427) { + switch (JSCompiler_object_inline_stack_2439) { case 2: - JSCompiler_object_inline_stack_2427 = 1; + JSCompiler_object_inline_stack_2439 = 1; break; case 8: - JSCompiler_object_inline_stack_2427 = 4; + JSCompiler_object_inline_stack_2439 = 4; break; case 32: - JSCompiler_object_inline_stack_2427 = 16; + JSCompiler_object_inline_stack_2439 = 16; break; case 128: case 256: @@ -9217,40 +9217,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2427 = 64; + JSCompiler_object_inline_stack_2439 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2427 = 134217728; + JSCompiler_object_inline_stack_2439 = 134217728; break; default: - JSCompiler_object_inline_stack_2427 = 0; + JSCompiler_object_inline_stack_2439 = 0; } - JSCompiler_object_inline_stack_2427 = + JSCompiler_object_inline_stack_2439 = 0 !== - (JSCompiler_object_inline_stack_2427 & - (JSCompiler_object_inline_digest_2426.suspendedLanes | + (JSCompiler_object_inline_stack_2439 & + (JSCompiler_object_inline_digest_2438.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2427; + : JSCompiler_object_inline_stack_2439; if ( - 0 !== JSCompiler_object_inline_stack_2427 && - JSCompiler_object_inline_stack_2427 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2439 && + JSCompiler_object_inline_stack_2439 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2427), + ((prevState.retryLane = JSCompiler_object_inline_stack_2439), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2427 + JSCompiler_object_inline_stack_2439 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2426, + JSCompiler_object_inline_digest_2438, current, - JSCompiler_object_inline_stack_2427 + JSCompiler_object_inline_stack_2439 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2425.data === + JSCompiler_object_inline_message_2437.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9258,7 +9258,7 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2425.data === + JSCompiler_object_inline_message_2437.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9266,12 +9266,12 @@ __DEV__ && null, current )), - (JSCompiler_object_inline_message_2425._reactRetry = + (JSCompiler_object_inline_message_2437._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2425.nextSibling + JSCompiler_object_inline_message_2437.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9289,57 +9289,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2427.children + JSCompiler_object_inline_stack_2439.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2428) + if (JSCompiler_object_inline_componentStack_2440) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2428 = - JSCompiler_object_inline_stack_2427.fallback), - (JSCompiler_object_inline_message_2425 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2440 = + JSCompiler_object_inline_stack_2439.fallback), + (JSCompiler_object_inline_message_2437 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2427 = createWorkInProgress( + (JSCompiler_object_inline_stack_2439 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2427.children + children: JSCompiler_object_inline_stack_2439.children } )), - (JSCompiler_object_inline_stack_2427.subtreeFlags = + (JSCompiler_object_inline_stack_2439.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2428 = + ? (JSCompiler_object_inline_componentStack_2440 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2428 + JSCompiler_object_inline_componentStack_2440 )) - : ((JSCompiler_object_inline_componentStack_2428 = + : ((JSCompiler_object_inline_componentStack_2440 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2428, - JSCompiler_object_inline_message_2425, + JSCompiler_object_inline_componentStack_2440, + JSCompiler_object_inline_message_2437, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2428.flags |= 2)), - (JSCompiler_object_inline_componentStack_2428.return = + (JSCompiler_object_inline_componentStack_2440.flags |= 2)), + (JSCompiler_object_inline_componentStack_2440.return = workInProgress), - (JSCompiler_object_inline_stack_2427.return = workInProgress), - (JSCompiler_object_inline_stack_2427.sibling = - JSCompiler_object_inline_componentStack_2428), - (workInProgress.child = JSCompiler_object_inline_stack_2427), - (JSCompiler_object_inline_stack_2427 = - JSCompiler_object_inline_componentStack_2428), - (JSCompiler_object_inline_componentStack_2428 = workInProgress.child), - (JSCompiler_object_inline_message_2425 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2425 - ? (JSCompiler_object_inline_message_2425 = + (JSCompiler_object_inline_stack_2439.return = workInProgress), + (JSCompiler_object_inline_stack_2439.sibling = + JSCompiler_object_inline_componentStack_2440), + (workInProgress.child = JSCompiler_object_inline_stack_2439), + (JSCompiler_object_inline_stack_2439 = + JSCompiler_object_inline_componentStack_2440), + (JSCompiler_object_inline_componentStack_2440 = workInProgress.child), + (JSCompiler_object_inline_message_2437 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2437 + ? (JSCompiler_object_inline_message_2437 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2425.cachePool), + JSCompiler_object_inline_message_2437.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9347,34 +9347,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2425 = { + (JSCompiler_object_inline_message_2437 = { baseLanes: - JSCompiler_object_inline_message_2425.baseLanes | renderLanes, + JSCompiler_object_inline_message_2437.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2428.memoizedState = - JSCompiler_object_inline_message_2425), + (JSCompiler_object_inline_componentStack_2440.memoizedState = + JSCompiler_object_inline_message_2437), enableTransitionTracing && - ((JSCompiler_object_inline_message_2425 = enableTransitionTracing + ((JSCompiler_object_inline_message_2437 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2425 && + null !== JSCompiler_object_inline_message_2437 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2428.updateQueue), + JSCompiler_object_inline_componentStack_2440.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2428.updateQueue = { - transitions: JSCompiler_object_inline_message_2425, + ? (JSCompiler_object_inline_componentStack_2440.updateQueue = { + transitions: JSCompiler_object_inline_message_2437, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2428.updateQueue = + ? (JSCompiler_object_inline_componentStack_2440.updateQueue = { - transitions: JSCompiler_object_inline_message_2425, + transitions: JSCompiler_object_inline_message_2437, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9382,32 +9382,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2425), + JSCompiler_object_inline_message_2437), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2428.childLanes = + (JSCompiler_object_inline_componentStack_2440.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2426, + JSCompiler_object_inline_digest_2438, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2427 + JSCompiler_object_inline_stack_2439 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2427.children + children: JSCompiler_object_inline_stack_2439.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2426 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2426 + ((JSCompiler_object_inline_digest_2438 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2438 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2426.push(current)); + : JSCompiler_object_inline_digest_2438.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -11901,10 +11901,7 @@ __DEV__ && } } function shouldProfile$1(current) { - return ( - (current.mode & ProfileMode) !== NoMode && - (executionContext & CommitContext) !== NoContext - ); + return (current.mode & ProfileMode) !== NoMode; } function commitHookLayoutEffects(finishedWork, hookFlags) { shouldProfile$1(finishedWork) @@ -12296,26 +12293,6 @@ __DEV__ && commitTime ); } - function commitProfilerUpdate( - finishedWork, - current, - commitTime, - effectDuration - ) { - if (executionContext & CommitContext) - try { - runWithFiberInDEV( - finishedWork, - commitProfiler, - finishedWork, - current, - commitTime, - effectDuration - ); - } catch (error$21) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$21); - } - } function commitProfilerPostCommitImpl( finishedWork, current, @@ -12502,12 +12479,6 @@ __DEV__ && } } } - function shouldProfile(current) { - return ( - (current.mode & ProfileMode) !== NoMode && - (executionContext & CommitContext) !== NoContext - ); - } function commitBeforeMutationEffects(root, firstChild) { root = root.containerInfo; eventsEnabled = _enabled; @@ -12834,14 +12805,26 @@ __DEV__ && break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 4) - a: for ( - flags = finishedWork.stateNode.effectDuration, - commitProfilerUpdate(finishedWork, current, commitTime, flags), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (flags & 4) { + flags = finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + flags + ); + } catch (error$21) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$21 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += flags; @@ -12852,6 +12835,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -13279,7 +13263,7 @@ __DEV__ && (tag & Layout) === NoFlags || (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + (deletedFiber.mode & ProfileMode) !== NoMode ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -13322,7 +13306,7 @@ __DEV__ && : (tag & Layout) !== NoFlags && (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + (deletedFiber.mode & ProfileMode) !== NoMode ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -13563,7 +13547,7 @@ __DEV__ && finishedWork.return ), commitHookEffectListMount(Insertion | HasEffect, finishedWork), - shouldProfile(finishedWork) + (finishedWork.mode & ProfileMode) !== NoMode ? (startLayoutEffectTimer(), commitHookEffectListUnmount( Layout | HasEffect, @@ -14103,7 +14087,7 @@ __DEV__ && case 11: case 14: case 15: - if (shouldProfile(finishedWork)) + if ((finishedWork.mode & ProfileMode) !== NoMode) try { startLayoutEffectTimer(), commitHookEffectListUnmount( @@ -14228,20 +14212,27 @@ __DEV__ && finishedWork, includeWorkInProgressEffects ); - if (includeWorkInProgressEffects && flags & 4) - a: for ( - includeWorkInProgressEffects = - finishedWork.stateNode.effectDuration, - commitProfilerUpdate( - finishedWork, - current, - commitTime, - includeWorkInProgressEffects - ), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (includeWorkInProgressEffects && flags & 4) { + includeWorkInProgressEffects = + finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + includeWorkInProgressEffects + ); + } catch (error$21) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$21 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += @@ -14254,6 +14245,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseReappearLayoutEffects( @@ -14484,7 +14476,7 @@ __DEV__ && committedLanes, committedTransitions ); - if (flags & 2048 && executionContext & CommitContext) + if (flags & 2048) a: for ( finishedRoot = finishedWork.stateNode.passiveEffectDuration, commitProfilerPostCommit( @@ -18025,43 +18017,41 @@ __DEV__ && : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmpm1460914829$1, $jscomp$nullish$tmp0; + var $jscomp$optchain$tmp1470729354$1, $jscomp$nullish$tmp0; containerInfo = null != ($jscomp$nullish$tmp0 = null == containerInfo ? void 0 : null == - ($jscomp$optchain$tmpm1460914829$1 = - containerInfo.ownerDocument) + ($jscomp$optchain$tmp1470729354$1 = containerInfo.ownerDocument) ? void 0 - : $jscomp$optchain$tmpm1460914829$1.defaultView) + : $jscomp$optchain$tmp1470729354$1.defaultView) ? $jscomp$nullish$tmp0 : window; for ( - $jscomp$optchain$tmpm1460914829$1 = getActiveElement( + $jscomp$optchain$tmp1470729354$1 = getActiveElement( containerInfo.document ); - $jscomp$optchain$tmpm1460914829$1 instanceof + $jscomp$optchain$tmp1470729354$1 instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = "string" === - typeof $jscomp$optchain$tmpm1460914829$1.contentWindow.location - .href; + typeof $jscomp$optchain$tmp1470729354$1.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmpm1460914829$1.contentWindow; + containerInfo = $jscomp$optchain$tmp1470729354$1.contentWindow; else break; - $jscomp$optchain$tmpm1460914829$1 = getActiveElement( + $jscomp$optchain$tmp1470729354$1 = getActiveElement( containerInfo.document ); } - return $jscomp$optchain$tmpm1460914829$1; + return $jscomp$optchain$tmp1470729354$1; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -27009,11 +26999,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-modern-d7167c35-20240916" !== isomorphicReactPackageVersion) + if ("19.0.0-www-modern-8152e5cd-20240916" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-www-modern-d7167c35-20240916\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-modern-8152e5cd-20240916\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27056,11 +27046,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-www-modern-d7167c35-20240916", + version: "19.0.0-www-modern-8152e5cd-20240916", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-modern-8152e5cd-20240916" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -27665,7 +27655,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-modern-d7167c35-20240916"; + exports.version = "19.0.0-www-modern-8152e5cd-20240916"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-prod.classic.js b/compiled/facebook-www/ReactDOM-prod.classic.js index da09e4da02e59..db67bc76b9ad5 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -13498,36 +13498,36 @@ function containsNode(outerNode, innerNode) { : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmp1622499087$1, $jscomp$nullish$tmp0; + var $jscomp$optchain$tmp228420743$1, $jscomp$nullish$tmp0; containerInfo = null != ($jscomp$nullish$tmp0 = null == containerInfo ? void 0 : null == - ($jscomp$optchain$tmp1622499087$1 = containerInfo.ownerDocument) + ($jscomp$optchain$tmp228420743$1 = containerInfo.ownerDocument) ? void 0 - : $jscomp$optchain$tmp1622499087$1.defaultView) + : $jscomp$optchain$tmp228420743$1.defaultView) ? $jscomp$nullish$tmp0 : window; for ( - $jscomp$optchain$tmp1622499087$1 = getActiveElement(containerInfo.document); - $jscomp$optchain$tmp1622499087$1 instanceof containerInfo.HTMLIFrameElement; + $jscomp$optchain$tmp228420743$1 = getActiveElement(containerInfo.document); + $jscomp$optchain$tmp228420743$1 instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = "string" === - typeof $jscomp$optchain$tmp1622499087$1.contentWindow.location.href; + typeof $jscomp$optchain$tmp228420743$1.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmp1622499087$1.contentWindow; + containerInfo = $jscomp$optchain$tmp228420743$1.contentWindow; else break; - $jscomp$optchain$tmp1622499087$1 = getActiveElement(containerInfo.document); + $jscomp$optchain$tmp228420743$1 = getActiveElement(containerInfo.document); } - return $jscomp$optchain$tmp1622499087$1; + return $jscomp$optchain$tmp228420743$1; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -17452,14 +17452,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1768 = React.version; if ( - "19.0.0-www-classic-d7167c35-20240916" !== + "19.0.0-www-classic-8152e5cd-20240916" !== isomorphicReactPackageVersion$jscomp$inline_1768 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1768, - "19.0.0-www-classic-d7167c35-20240916" + "19.0.0-www-classic-8152e5cd-20240916" ) ); function flushSyncFromReconciler(fn) { @@ -17504,11 +17504,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_2263 = { bundleType: 0, - version: "19.0.0-www-classic-d7167c35-20240916", + version: "19.0.0-www-classic-8152e5cd-20240916", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-classic-8152e5cd-20240916" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2264 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17964,4 +17964,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-d7167c35-20240916"; +exports.version = "19.0.0-www-classic-8152e5cd-20240916"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index 07f1a81413765..8a47fc1dfd760 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -12925,36 +12925,36 @@ function containsNode(outerNode, innerNode) { : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmp141077029$1, $jscomp$nullish$tmp0; + var $jscomp$optchain$tmpm533976136$1, $jscomp$nullish$tmp0; containerInfo = null != ($jscomp$nullish$tmp0 = null == containerInfo ? void 0 : null == - ($jscomp$optchain$tmp141077029$1 = containerInfo.ownerDocument) + ($jscomp$optchain$tmpm533976136$1 = containerInfo.ownerDocument) ? void 0 - : $jscomp$optchain$tmp141077029$1.defaultView) + : $jscomp$optchain$tmpm533976136$1.defaultView) ? $jscomp$nullish$tmp0 : window; for ( - $jscomp$optchain$tmp141077029$1 = getActiveElement(containerInfo.document); - $jscomp$optchain$tmp141077029$1 instanceof containerInfo.HTMLIFrameElement; + $jscomp$optchain$tmpm533976136$1 = getActiveElement(containerInfo.document); + $jscomp$optchain$tmpm533976136$1 instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = "string" === - typeof $jscomp$optchain$tmp141077029$1.contentWindow.location.href; + typeof $jscomp$optchain$tmpm533976136$1.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmp141077029$1.contentWindow; + containerInfo = $jscomp$optchain$tmpm533976136$1.contentWindow; else break; - $jscomp$optchain$tmp141077029$1 = getActiveElement(containerInfo.document); + $jscomp$optchain$tmpm533976136$1 = getActiveElement(containerInfo.document); } - return $jscomp$optchain$tmp141077029$1; + return $jscomp$optchain$tmpm533976136$1; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -16828,14 +16828,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1739 = React.version; if ( - "19.0.0-www-modern-d7167c35-20240916" !== + "19.0.0-www-modern-8152e5cd-20240916" !== isomorphicReactPackageVersion$jscomp$inline_1739 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1739, - "19.0.0-www-modern-d7167c35-20240916" + "19.0.0-www-modern-8152e5cd-20240916" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -16853,11 +16853,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_2254 = { bundleType: 0, - version: "19.0.0-www-modern-d7167c35-20240916", + version: "19.0.0-www-modern-8152e5cd-20240916", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-modern-8152e5cd-20240916" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2255 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17220,4 +17220,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-d7167c35-20240916"; +exports.version = "19.0.0-www-modern-8152e5cd-20240916"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index 941262277d9a2..1ccabc8ad88a5 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -8753,7 +8753,7 @@ function unwindInterruptedWork(current, interruptedWork) { } } function shouldProfile$1(current) { - return 0 !== (current.mode & 2) && 0 !== (executionContext & 4); + return 0 !== (current.mode & 2); } function commitHookLayoutEffects(finishedWork, hookFlags) { shouldProfile$1(finishedWork) @@ -8999,33 +8999,32 @@ function commitProfilerUpdate( commitTime, effectDuration ) { - if (executionContext & 4) - try { - var _finishedWork$memoize = finishedWork.memoizedProps, - id = _finishedWork$memoize.id, - onCommit = _finishedWork$memoize.onCommit, - onRender = _finishedWork$memoize.onRender; - current = null === current ? "mount" : "update"; - currentUpdateIsNested && (current = "nested-update"); - "function" === typeof onRender && - onRender( - id, - current, - finishedWork.actualDuration, - finishedWork.treeBaseDuration, - finishedWork.actualStartTime, - commitTime - ); - "function" === typeof onCommit && - onCommit( - finishedWork.memoizedProps.id, - current, - effectDuration, - commitTime - ); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } + try { + var _finishedWork$memoize = finishedWork.memoizedProps, + id = _finishedWork$memoize.id, + onCommit = _finishedWork$memoize.onCommit, + onRender = _finishedWork$memoize.onRender; + current = null === current ? "mount" : "update"; + currentUpdateIsNested && (current = "nested-update"); + "function" === typeof onRender && + onRender( + id, + current, + finishedWork.actualDuration, + finishedWork.treeBaseDuration, + finishedWork.actualStartTime, + commitTime + ); + "function" === typeof onCommit && + onCommit( + finishedWork.memoizedProps.id, + current, + effectDuration, + commitTime + ); + } catch (error) { + captureCommitPhaseError(finishedWork, finishedWork.return, error); + } } function commitProfilerPostCommit( finishedWork, @@ -9150,11 +9149,8 @@ var offscreenSubtreeIsHidden = !1, PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set, nextEffect = null, inProgressLanes = null, - inProgressRoot = null; -function shouldProfile(current) { - return 0 !== (current.mode & 2) && 0 !== (executionContext & 4); -} -var focusedInstanceHandle = null, + inProgressRoot = null, + focusedInstanceHandle = null, shouldFireAfterActiveInstanceBlur = !1; function commitBeforeMutationEffects(root, firstChild) { root = root.containerInfo; @@ -9878,7 +9874,7 @@ function commitDeletionEffectsOnFiber( 0 === (prevHostParentIsContainer$194 & 4) || (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + 0 !== (deletedFiber.mode & 2) ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -9921,7 +9917,7 @@ function commitDeletionEffectsOnFiber( : 0 !== (prevHostParentIsContainer$194 & 4) && (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + 0 !== (deletedFiber.mode & 2) ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -10136,7 +10132,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { flags & 4 && (commitHookEffectListUnmount(3, finishedWork, finishedWork.return), commitHookEffectListMount(3, finishedWork), - shouldProfile(finishedWork) + 0 !== (finishedWork.mode & 2) ? (startLayoutEffectTimer(), commitHookEffectListUnmount(5, finishedWork, finishedWork.return), recordLayoutEffectDuration(finishedWork)) @@ -10639,7 +10635,7 @@ function recursivelyTraverseDisappearLayoutEffects(parentFiber) { case 11: case 14: case 15: - if (shouldProfile(finishedWork)) + if (0 !== (finishedWork.mode & 2)) try { startLayoutEffectTimer(), commitHookEffectListUnmount(4, finishedWork, finishedWork.return); @@ -10982,7 +10978,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - if (flags & 2048 && executionContext & 4) + if (flags & 2048) a: for ( finishedRoot = finishedWork.stateNode.passiveEffectDuration, commitProfilerPostCommit( @@ -14274,36 +14270,36 @@ function containsNode(outerNode, innerNode) { : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmpm70934577$1, $jscomp$nullish$tmp0; + var $jscomp$optchain$tmp149839561$1, $jscomp$nullish$tmp0; containerInfo = null != ($jscomp$nullish$tmp0 = null == containerInfo ? void 0 : null == - ($jscomp$optchain$tmpm70934577$1 = containerInfo.ownerDocument) + ($jscomp$optchain$tmp149839561$1 = containerInfo.ownerDocument) ? void 0 - : $jscomp$optchain$tmpm70934577$1.defaultView) + : $jscomp$optchain$tmp149839561$1.defaultView) ? $jscomp$nullish$tmp0 : window; for ( - $jscomp$optchain$tmpm70934577$1 = getActiveElement(containerInfo.document); - $jscomp$optchain$tmpm70934577$1 instanceof containerInfo.HTMLIFrameElement; + $jscomp$optchain$tmp149839561$1 = getActiveElement(containerInfo.document); + $jscomp$optchain$tmp149839561$1 instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = "string" === - typeof $jscomp$optchain$tmpm70934577$1.contentWindow.location.href; + typeof $jscomp$optchain$tmp149839561$1.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmpm70934577$1.contentWindow; + containerInfo = $jscomp$optchain$tmp149839561$1.contentWindow; else break; - $jscomp$optchain$tmpm70934577$1 = getActiveElement(containerInfo.document); + $jscomp$optchain$tmp149839561$1 = getActiveElement(containerInfo.document); } - return $jscomp$optchain$tmpm70934577$1; + return $jscomp$optchain$tmp149839561$1; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -18228,14 +18224,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1867 = React.version; if ( - "19.0.0-www-classic-d7167c35-20240916" !== + "19.0.0-www-classic-8152e5cd-20240916" !== isomorphicReactPackageVersion$jscomp$inline_1867 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1867, - "19.0.0-www-classic-d7167c35-20240916" + "19.0.0-www-classic-8152e5cd-20240916" ) ); function flushSyncFromReconciler(fn) { @@ -18280,11 +18276,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_1874 = { bundleType: 0, - version: "19.0.0-www-classic-d7167c35-20240916", + version: "19.0.0-www-classic-8152e5cd-20240916", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-classic-8152e5cd-20240916" }; enableSchedulingProfiler && ((internals$jscomp$inline_1874.getLaneLabelMap = getLaneLabelMap), @@ -18743,7 +18739,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-d7167c35-20240916"; +exports.version = "19.0.0-www-classic-8152e5cd-20240916"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-profiling.modern.js b/compiled/facebook-www/ReactDOM-profiling.modern.js index 9ea40acbc6adb..14ffa25de14ff 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -8304,7 +8304,7 @@ function unwindInterruptedWork(current, interruptedWork) { } } function shouldProfile$1(current) { - return 0 !== (current.mode & 2) && 0 !== (executionContext & 4); + return 0 !== (current.mode & 2); } function commitHookLayoutEffects(finishedWork, hookFlags) { shouldProfile$1(finishedWork) @@ -8550,33 +8550,32 @@ function commitProfilerUpdate( commitTime, effectDuration ) { - if (executionContext & 4) - try { - var _finishedWork$memoize = finishedWork.memoizedProps, - id = _finishedWork$memoize.id, - onCommit = _finishedWork$memoize.onCommit, - onRender = _finishedWork$memoize.onRender; - current = null === current ? "mount" : "update"; - currentUpdateIsNested && (current = "nested-update"); - "function" === typeof onRender && - onRender( - id, - current, - finishedWork.actualDuration, - finishedWork.treeBaseDuration, - finishedWork.actualStartTime, - commitTime - ); - "function" === typeof onCommit && - onCommit( - finishedWork.memoizedProps.id, - current, - effectDuration, - commitTime - ); - } catch (error) { - captureCommitPhaseError(finishedWork, finishedWork.return, error); - } + try { + var _finishedWork$memoize = finishedWork.memoizedProps, + id = _finishedWork$memoize.id, + onCommit = _finishedWork$memoize.onCommit, + onRender = _finishedWork$memoize.onRender; + current = null === current ? "mount" : "update"; + currentUpdateIsNested && (current = "nested-update"); + "function" === typeof onRender && + onRender( + id, + current, + finishedWork.actualDuration, + finishedWork.treeBaseDuration, + finishedWork.actualStartTime, + commitTime + ); + "function" === typeof onCommit && + onCommit( + finishedWork.memoizedProps.id, + current, + effectDuration, + commitTime + ); + } catch (error) { + captureCommitPhaseError(finishedWork, finishedWork.return, error); + } } function commitProfilerPostCommit( finishedWork, @@ -8701,11 +8700,8 @@ var offscreenSubtreeIsHidden = !1, PossiblyWeakSet = "function" === typeof WeakSet ? WeakSet : Set, nextEffect = null, inProgressLanes = null, - inProgressRoot = null; -function shouldProfile(current) { - return 0 !== (current.mode & 2) && 0 !== (executionContext & 4); -} -var focusedInstanceHandle = null, + inProgressRoot = null, + focusedInstanceHandle = null, shouldFireAfterActiveInstanceBlur = !1; function commitBeforeMutationEffects(root, firstChild) { root = root.containerInfo; @@ -9439,7 +9435,7 @@ function commitDeletionEffectsOnFiber( 0 === (prevHostParentIsContainer$185 & 4) || (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + 0 !== (deletedFiber.mode & 2) ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -9482,7 +9478,7 @@ function commitDeletionEffectsOnFiber( : 0 !== (prevHostParentIsContainer$185 & 4) && (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + 0 !== (deletedFiber.mode & 2) ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -9691,7 +9687,7 @@ function commitMutationEffectsOnFiber(finishedWork, root) { flags & 4 && (commitHookEffectListUnmount(3, finishedWork, finishedWork.return), commitHookEffectListMount(3, finishedWork), - shouldProfile(finishedWork) + 0 !== (finishedWork.mode & 2) ? (startLayoutEffectTimer(), commitHookEffectListUnmount(5, finishedWork, finishedWork.return), recordLayoutEffectDuration(finishedWork)) @@ -10191,7 +10187,7 @@ function recursivelyTraverseDisappearLayoutEffects(parentFiber) { case 11: case 14: case 15: - if (shouldProfile(finishedWork)) + if (0 !== (finishedWork.mode & 2)) try { startLayoutEffectTimer(), commitHookEffectListUnmount(4, finishedWork, finishedWork.return); @@ -10534,7 +10530,7 @@ function commitPassiveMountOnFiber( committedLanes, committedTransitions ); - if (flags & 2048 && executionContext & 4) + if (flags & 2048) a: for ( finishedRoot = finishedWork.stateNode.passiveEffectDuration, commitProfilerPostCommit( @@ -13684,41 +13680,36 @@ function containsNode(outerNode, innerNode) { : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmpm1599319018$1, $jscomp$nullish$tmp0; + var $jscomp$optchain$tmp2057677589$1, $jscomp$nullish$tmp0; containerInfo = null != ($jscomp$nullish$tmp0 = null == containerInfo ? void 0 : null == - ($jscomp$optchain$tmpm1599319018$1 = containerInfo.ownerDocument) + ($jscomp$optchain$tmp2057677589$1 = containerInfo.ownerDocument) ? void 0 - : $jscomp$optchain$tmpm1599319018$1.defaultView) + : $jscomp$optchain$tmp2057677589$1.defaultView) ? $jscomp$nullish$tmp0 : window; for ( - $jscomp$optchain$tmpm1599319018$1 = getActiveElement( - containerInfo.document - ); - $jscomp$optchain$tmpm1599319018$1 instanceof - containerInfo.HTMLIFrameElement; + $jscomp$optchain$tmp2057677589$1 = getActiveElement(containerInfo.document); + $jscomp$optchain$tmp2057677589$1 instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = "string" === - typeof $jscomp$optchain$tmpm1599319018$1.contentWindow.location.href; + typeof $jscomp$optchain$tmp2057677589$1.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmpm1599319018$1.contentWindow; + containerInfo = $jscomp$optchain$tmp2057677589$1.contentWindow; else break; - $jscomp$optchain$tmpm1599319018$1 = getActiveElement( - containerInfo.document - ); + $jscomp$optchain$tmp2057677589$1 = getActiveElement(containerInfo.document); } - return $jscomp$optchain$tmpm1599319018$1; + return $jscomp$optchain$tmp2057677589$1; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -17592,14 +17583,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1838 = React.version; if ( - "19.0.0-www-modern-d7167c35-20240916" !== + "19.0.0-www-modern-8152e5cd-20240916" !== isomorphicReactPackageVersion$jscomp$inline_1838 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1838, - "19.0.0-www-modern-d7167c35-20240916" + "19.0.0-www-modern-8152e5cd-20240916" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17617,11 +17608,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_1840 = { bundleType: 0, - version: "19.0.0-www-modern-d7167c35-20240916", + version: "19.0.0-www-modern-8152e5cd-20240916", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-modern-8152e5cd-20240916" }; enableSchedulingProfiler && ((internals$jscomp$inline_1840.getLaneLabelMap = getLaneLabelMap), @@ -17987,7 +17978,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-d7167c35-20240916"; +exports.version = "19.0.0-www-modern-8152e5cd-20240916"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOMServer-dev.classic.js b/compiled/facebook-www/ReactDOMServer-dev.classic.js index 644579b76fc83..5dafea9694eda 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -8986,5 +8986,5 @@ __DEV__ && 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-www-classic-d7167c35-20240916"; + exports.version = "19.0.0-www-classic-8152e5cd-20240916"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index 505d67ed49fad..7cc9c2f4b8095 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -8804,5 +8804,5 @@ __DEV__ && 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-www-modern-d7167c35-20240916"; + exports.version = "19.0.0-www-modern-8152e5cd-20240916"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index 5c4a8ae38caee..4518d40f273db 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -5911,4 +5911,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.0.0-www-classic-d7167c35-20240916"; +exports.version = "19.0.0-www-classic-8152e5cd-20240916"; diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index 0b4007b886909..63d1432a33530 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -5823,4 +5823,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.0.0-www-modern-d7167c35-20240916"; +exports.version = "19.0.0-www-modern-8152e5cd-20240916"; diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index e466caa0b12b9..a2438bedeefdd 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -9247,32 +9247,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2439; - var JSCompiler_object_inline_stack_2440 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2451; + var JSCompiler_object_inline_stack_2452 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2441 = !1; + var JSCompiler_object_inline_componentStack_2453 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2439 = didSuspend) || - (JSCompiler_object_inline_digest_2439 = + (JSCompiler_object_inline_digest_2451 = didSuspend) || + (JSCompiler_object_inline_digest_2451 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2439 && - ((JSCompiler_object_inline_componentStack_2441 = !0), + JSCompiler_object_inline_digest_2451 && + ((JSCompiler_object_inline_componentStack_2453 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2439 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2451 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2441 + JSCompiler_object_inline_componentStack_2453 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2438 = nextHydratableInstance; + var JSCompiler_object_inline_message_2450 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2438)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2450)) { c: { - var instance = JSCompiler_object_inline_message_2438; + var instance = JSCompiler_object_inline_message_2450; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9313,19 +9313,19 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2438 + JSCompiler_object_inline_message_2450 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2438 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2450 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2438 && - ((JSCompiler_object_inline_message_2438 = - JSCompiler_object_inline_message_2438.dehydrated), - null !== JSCompiler_object_inline_message_2438) + null !== JSCompiler_object_inline_message_2450 && + ((JSCompiler_object_inline_message_2450 = + JSCompiler_object_inline_message_2450.dehydrated), + null !== JSCompiler_object_inline_message_2450) ) return ( - JSCompiler_object_inline_message_2438.data === + JSCompiler_object_inline_message_2450.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -9333,27 +9333,27 @@ __DEV__ && ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2438 = - JSCompiler_object_inline_stack_2440.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2440.fallback; - if (JSCompiler_object_inline_componentStack_2441) + JSCompiler_object_inline_message_2450 = + JSCompiler_object_inline_stack_2452.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2452.fallback; + if (JSCompiler_object_inline_componentStack_2453) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2440 = + (JSCompiler_object_inline_stack_2452 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2438, + JSCompiler_object_inline_message_2450, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2441 = + (JSCompiler_object_inline_componentStack_2453 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2441.memoizedState = + (JSCompiler_object_inline_componentStack_2453.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2441.childLanes = + (JSCompiler_object_inline_componentStack_2453.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2439, + JSCompiler_object_inline_digest_2451, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9366,9 +9366,9 @@ __DEV__ && ? markerInstanceStack.current : null), (current = - JSCompiler_object_inline_componentStack_2441.updateQueue), + JSCompiler_object_inline_componentStack_2453.updateQueue), null === current - ? (JSCompiler_object_inline_componentStack_2441.updateQueue = + ? (JSCompiler_object_inline_componentStack_2453.updateQueue = { transitions: workInProgress, markerInstances: renderLanes, @@ -9376,46 +9376,46 @@ __DEV__ && }) : ((current.transitions = workInProgress), (current.markerInstances = renderLanes)))), - JSCompiler_object_inline_stack_2440 + JSCompiler_object_inline_stack_2452 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2440.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2452.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2440 = + (JSCompiler_object_inline_stack_2452 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2438, + JSCompiler_object_inline_message_2450, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2441 = + (JSCompiler_object_inline_componentStack_2453 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2441.memoizedState = + (JSCompiler_object_inline_componentStack_2453.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2441.childLanes = + (JSCompiler_object_inline_componentStack_2453.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2439, + JSCompiler_object_inline_digest_2451, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2440 + JSCompiler_object_inline_stack_2452 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2438 + JSCompiler_object_inline_message_2450 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2438 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2438) + ((JSCompiler_object_inline_message_2450 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2450) ) { if (didSuspend) workInProgress.flags & 256 @@ -9432,32 +9432,32 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2441 = - JSCompiler_object_inline_stack_2440.fallback), - (JSCompiler_object_inline_message_2438 = workInProgress.mode), - (JSCompiler_object_inline_stack_2440 = createFiberFromOffscreen( + (JSCompiler_object_inline_componentStack_2453 = + JSCompiler_object_inline_stack_2452.fallback), + (JSCompiler_object_inline_message_2450 = workInProgress.mode), + (JSCompiler_object_inline_stack_2452 = createFiberFromOffscreen( { mode: "visible", - children: JSCompiler_object_inline_stack_2440.children + children: JSCompiler_object_inline_stack_2452.children }, - JSCompiler_object_inline_message_2438, + JSCompiler_object_inline_message_2450, 0, null )), - (JSCompiler_object_inline_componentStack_2441 = + (JSCompiler_object_inline_componentStack_2453 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2441, - JSCompiler_object_inline_message_2438, + JSCompiler_object_inline_componentStack_2453, + JSCompiler_object_inline_message_2450, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2441.flags |= 2), - (JSCompiler_object_inline_stack_2440.return = workInProgress), - (JSCompiler_object_inline_componentStack_2441.return = + (JSCompiler_object_inline_componentStack_2453.flags |= 2), + (JSCompiler_object_inline_stack_2452.return = workInProgress), + (JSCompiler_object_inline_componentStack_2453.return = workInProgress), - (JSCompiler_object_inline_stack_2440.sibling = - JSCompiler_object_inline_componentStack_2441), - (workInProgress.child = JSCompiler_object_inline_stack_2440), + (JSCompiler_object_inline_stack_2452.sibling = + JSCompiler_object_inline_componentStack_2453), + (workInProgress.child = JSCompiler_object_inline_stack_2452), (disableLegacyMode || (workInProgress.mode & ConcurrentMode) !== NoMode) && reconcileChildFibers( @@ -9466,63 +9466,63 @@ __DEV__ && null, renderLanes ), - (JSCompiler_object_inline_stack_2440 = workInProgress.child), - (JSCompiler_object_inline_stack_2440.memoizedState = + (JSCompiler_object_inline_stack_2452 = workInProgress.child), + (JSCompiler_object_inline_stack_2452.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2440.childLanes = + (JSCompiler_object_inline_stack_2452.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2439, + JSCompiler_object_inline_digest_2451, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2441)); + JSCompiler_object_inline_componentStack_2453)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2438.data === + JSCompiler_object_inline_message_2450.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2439 = - JSCompiler_object_inline_message_2438.nextSibling && - JSCompiler_object_inline_message_2438.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2439) { - JSCompiler_temp = JSCompiler_object_inline_digest_2439.dgst; - var message = JSCompiler_object_inline_digest_2439.msg; - instance = JSCompiler_object_inline_digest_2439.stck; - var componentStack = JSCompiler_object_inline_digest_2439.cstck; + JSCompiler_object_inline_digest_2451 = + JSCompiler_object_inline_message_2450.nextSibling && + JSCompiler_object_inline_message_2450.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2451) { + JSCompiler_temp = JSCompiler_object_inline_digest_2451.dgst; + var message = JSCompiler_object_inline_digest_2451.msg; + instance = JSCompiler_object_inline_digest_2451.stck; + var componentStack = JSCompiler_object_inline_digest_2451.cstck; } - JSCompiler_object_inline_message_2438 = message; - JSCompiler_object_inline_digest_2439 = JSCompiler_temp; - JSCompiler_object_inline_stack_2440 = instance; - JSCompiler_object_inline_componentStack_2441 = componentStack; - JSCompiler_object_inline_message_2438 = - JSCompiler_object_inline_message_2438 - ? Error(JSCompiler_object_inline_message_2438) + JSCompiler_object_inline_message_2450 = message; + JSCompiler_object_inline_digest_2451 = JSCompiler_temp; + JSCompiler_object_inline_stack_2452 = instance; + JSCompiler_object_inline_componentStack_2453 = componentStack; + JSCompiler_object_inline_message_2450 = + JSCompiler_object_inline_message_2450 + ? Error(JSCompiler_object_inline_message_2450) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2438.stack = - JSCompiler_object_inline_stack_2440 || ""; - JSCompiler_object_inline_message_2438.digest = - JSCompiler_object_inline_digest_2439; - JSCompiler_object_inline_digest_2439 = - void 0 === JSCompiler_object_inline_componentStack_2441 + JSCompiler_object_inline_message_2450.stack = + JSCompiler_object_inline_stack_2452 || ""; + JSCompiler_object_inline_message_2450.digest = + JSCompiler_object_inline_digest_2451; + JSCompiler_object_inline_digest_2451 = + void 0 === JSCompiler_object_inline_componentStack_2453 ? null - : JSCompiler_object_inline_componentStack_2441; - "string" === typeof JSCompiler_object_inline_digest_2439 && + : JSCompiler_object_inline_componentStack_2453; + "string" === typeof JSCompiler_object_inline_digest_2451 && CapturedStacks.set( - JSCompiler_object_inline_message_2438, - JSCompiler_object_inline_digest_2439 + JSCompiler_object_inline_message_2450, + JSCompiler_object_inline_digest_2451 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2438, + value: JSCompiler_object_inline_message_2450, source: null, - stack: JSCompiler_object_inline_digest_2439 + stack: JSCompiler_object_inline_digest_2451 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9537,25 +9537,25 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2439 = + (JSCompiler_object_inline_digest_2451 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2439) + didReceiveUpdate || JSCompiler_object_inline_digest_2451) ) { - JSCompiler_object_inline_digest_2439 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2439) { - JSCompiler_object_inline_stack_2440 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2440 & 42)) - JSCompiler_object_inline_stack_2440 = 1; + JSCompiler_object_inline_digest_2451 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2451) { + JSCompiler_object_inline_stack_2452 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2452 & 42)) + JSCompiler_object_inline_stack_2452 = 1; else - switch (JSCompiler_object_inline_stack_2440) { + switch (JSCompiler_object_inline_stack_2452) { case 2: - JSCompiler_object_inline_stack_2440 = 1; + JSCompiler_object_inline_stack_2452 = 1; break; case 8: - JSCompiler_object_inline_stack_2440 = 4; + JSCompiler_object_inline_stack_2452 = 4; break; case 32: - JSCompiler_object_inline_stack_2440 = 16; + JSCompiler_object_inline_stack_2452 = 16; break; case 128: case 256: @@ -9576,40 +9576,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2440 = 64; + JSCompiler_object_inline_stack_2452 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2440 = 134217728; + JSCompiler_object_inline_stack_2452 = 134217728; break; default: - JSCompiler_object_inline_stack_2440 = 0; + JSCompiler_object_inline_stack_2452 = 0; } - JSCompiler_object_inline_stack_2440 = + JSCompiler_object_inline_stack_2452 = 0 !== - (JSCompiler_object_inline_stack_2440 & - (JSCompiler_object_inline_digest_2439.suspendedLanes | + (JSCompiler_object_inline_stack_2452 & + (JSCompiler_object_inline_digest_2451.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2440; + : JSCompiler_object_inline_stack_2452; if ( - 0 !== JSCompiler_object_inline_stack_2440 && - JSCompiler_object_inline_stack_2440 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2452 && + JSCompiler_object_inline_stack_2452 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2440), + ((prevState.retryLane = JSCompiler_object_inline_stack_2452), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2440 + JSCompiler_object_inline_stack_2452 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2439, + JSCompiler_object_inline_digest_2451, current, - JSCompiler_object_inline_stack_2440 + JSCompiler_object_inline_stack_2452 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2438.data === + JSCompiler_object_inline_message_2450.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9617,7 +9617,7 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2438.data === + JSCompiler_object_inline_message_2450.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9625,12 +9625,12 @@ __DEV__ && null, current )), - (JSCompiler_object_inline_message_2438._reactRetry = + (JSCompiler_object_inline_message_2450._reactRetry = workInProgress), (workInProgress = null)) : ((renderLanes = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2438.nextSibling + JSCompiler_object_inline_message_2450.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9648,73 +9648,73 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2440.children + JSCompiler_object_inline_stack_2452.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2441) + if (JSCompiler_object_inline_componentStack_2453) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2441 = - JSCompiler_object_inline_stack_2440.fallback), - (JSCompiler_object_inline_message_2438 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2453 = + JSCompiler_object_inline_stack_2452.fallback), + (JSCompiler_object_inline_message_2450 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), (componentStack = { mode: "hidden", - children: JSCompiler_object_inline_stack_2440.children + children: JSCompiler_object_inline_stack_2452.children }), disableLegacyMode || - (JSCompiler_object_inline_message_2438 & ConcurrentMode) !== NoMode || + (JSCompiler_object_inline_message_2450 & ConcurrentMode) !== NoMode || workInProgress.child === JSCompiler_temp - ? ((JSCompiler_object_inline_stack_2440 = createWorkInProgress( + ? ((JSCompiler_object_inline_stack_2452 = createWorkInProgress( JSCompiler_temp, componentStack )), - (JSCompiler_object_inline_stack_2440.subtreeFlags = + (JSCompiler_object_inline_stack_2452.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280)) - : ((JSCompiler_object_inline_stack_2440 = workInProgress.child), - (JSCompiler_object_inline_stack_2440.childLanes = 0), - (JSCompiler_object_inline_stack_2440.pendingProps = + : ((JSCompiler_object_inline_stack_2452 = workInProgress.child), + (JSCompiler_object_inline_stack_2452.childLanes = 0), + (JSCompiler_object_inline_stack_2452.pendingProps = componentStack), workInProgress.mode & ProfileMode && - ((JSCompiler_object_inline_stack_2440.actualDuration = -0), - (JSCompiler_object_inline_stack_2440.actualStartTime = -1.1), - (JSCompiler_object_inline_stack_2440.selfBaseDuration = + ((JSCompiler_object_inline_stack_2452.actualDuration = -0), + (JSCompiler_object_inline_stack_2452.actualStartTime = -1.1), + (JSCompiler_object_inline_stack_2452.selfBaseDuration = JSCompiler_temp.selfBaseDuration), - (JSCompiler_object_inline_stack_2440.treeBaseDuration = + (JSCompiler_object_inline_stack_2452.treeBaseDuration = JSCompiler_temp.treeBaseDuration)), (workInProgress.deletions = null)), null !== instance - ? (JSCompiler_object_inline_componentStack_2441 = + ? (JSCompiler_object_inline_componentStack_2453 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2441 + JSCompiler_object_inline_componentStack_2453 )) - : ((JSCompiler_object_inline_componentStack_2441 = + : ((JSCompiler_object_inline_componentStack_2453 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2441, - JSCompiler_object_inline_message_2438, + JSCompiler_object_inline_componentStack_2453, + JSCompiler_object_inline_message_2450, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2441.flags |= 2)), - (JSCompiler_object_inline_componentStack_2441.return = + (JSCompiler_object_inline_componentStack_2453.flags |= 2)), + (JSCompiler_object_inline_componentStack_2453.return = workInProgress), - (JSCompiler_object_inline_stack_2440.return = workInProgress), - (JSCompiler_object_inline_stack_2440.sibling = - JSCompiler_object_inline_componentStack_2441), - (workInProgress.child = JSCompiler_object_inline_stack_2440), - (JSCompiler_object_inline_stack_2440 = - JSCompiler_object_inline_componentStack_2441), - (JSCompiler_object_inline_componentStack_2441 = workInProgress.child), - (JSCompiler_object_inline_message_2438 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2438 - ? (JSCompiler_object_inline_message_2438 = + (JSCompiler_object_inline_stack_2452.return = workInProgress), + (JSCompiler_object_inline_stack_2452.sibling = + JSCompiler_object_inline_componentStack_2453), + (workInProgress.child = JSCompiler_object_inline_stack_2452), + (JSCompiler_object_inline_stack_2452 = + JSCompiler_object_inline_componentStack_2453), + (JSCompiler_object_inline_componentStack_2453 = workInProgress.child), + (JSCompiler_object_inline_message_2450 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2450 + ? (JSCompiler_object_inline_message_2450 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2438.cachePool), + JSCompiler_object_inline_message_2450.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9722,34 +9722,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2438 = { + (JSCompiler_object_inline_message_2450 = { baseLanes: - JSCompiler_object_inline_message_2438.baseLanes | renderLanes, + JSCompiler_object_inline_message_2450.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2441.memoizedState = - JSCompiler_object_inline_message_2438), + (JSCompiler_object_inline_componentStack_2453.memoizedState = + JSCompiler_object_inline_message_2450), enableTransitionTracing && - ((JSCompiler_object_inline_message_2438 = enableTransitionTracing + ((JSCompiler_object_inline_message_2450 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2438 && + null !== JSCompiler_object_inline_message_2450 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2441.updateQueue), + JSCompiler_object_inline_componentStack_2453.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2441.updateQueue = { - transitions: JSCompiler_object_inline_message_2438, + ? (JSCompiler_object_inline_componentStack_2453.updateQueue = { + transitions: JSCompiler_object_inline_message_2450, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2441.updateQueue = + ? (JSCompiler_object_inline_componentStack_2453.updateQueue = { - transitions: JSCompiler_object_inline_message_2438, + transitions: JSCompiler_object_inline_message_2450, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9757,41 +9757,41 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2438), + JSCompiler_object_inline_message_2450), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2441.childLanes = + (JSCompiler_object_inline_componentStack_2453.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2439, + JSCompiler_object_inline_digest_2451, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2440 + JSCompiler_object_inline_stack_2452 ); pushPrimaryTreeSuspenseHandler(workInProgress); - JSCompiler_object_inline_digest_2439 = current.child; - current = JSCompiler_object_inline_digest_2439.sibling; - JSCompiler_object_inline_digest_2439 = createWorkInProgress( - JSCompiler_object_inline_digest_2439, + JSCompiler_object_inline_digest_2451 = current.child; + current = JSCompiler_object_inline_digest_2451.sibling; + JSCompiler_object_inline_digest_2451 = createWorkInProgress( + JSCompiler_object_inline_digest_2451, { mode: "visible", - children: JSCompiler_object_inline_stack_2440.children + children: JSCompiler_object_inline_stack_2452.children } ); disableLegacyMode || (workInProgress.mode & ConcurrentMode) !== NoMode || - (JSCompiler_object_inline_digest_2439.lanes = renderLanes); - JSCompiler_object_inline_digest_2439.return = workInProgress; - JSCompiler_object_inline_digest_2439.sibling = null; + (JSCompiler_object_inline_digest_2451.lanes = renderLanes); + JSCompiler_object_inline_digest_2451.return = workInProgress; + JSCompiler_object_inline_digest_2451.sibling = null; null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); - workInProgress.child = JSCompiler_object_inline_digest_2439; + workInProgress.child = JSCompiler_object_inline_digest_2451; workInProgress.memoizedState = null; - return JSCompiler_object_inline_digest_2439; + return JSCompiler_object_inline_digest_2451; } function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { primaryChildren = createFiberFromOffscreen( @@ -12380,10 +12380,7 @@ __DEV__ && } } function shouldProfile$1(current) { - return ( - (current.mode & ProfileMode) !== NoMode && - (executionContext & CommitContext) !== NoContext - ); + return (current.mode & ProfileMode) !== NoMode; } function commitHookLayoutEffects(finishedWork, hookFlags) { shouldProfile$1(finishedWork) @@ -12785,26 +12782,6 @@ __DEV__ && commitTime ); } - function commitProfilerUpdate( - finishedWork, - current, - commitTime, - effectDuration - ) { - if (executionContext & CommitContext) - try { - runWithFiberInDEV( - finishedWork, - commitProfiler, - finishedWork, - current, - commitTime, - effectDuration - ); - } catch (error$21) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$21); - } - } function commitProfilerPostCommitImpl( finishedWork, current, @@ -12991,12 +12968,6 @@ __DEV__ && } } } - function shouldProfile(current) { - return ( - (current.mode & ProfileMode) !== NoMode && - (executionContext & CommitContext) !== NoContext - ); - } function commitBeforeMutationEffects(root, firstChild) { root = root.containerInfo; eventsEnabled = _enabled; @@ -13308,14 +13279,26 @@ __DEV__ && break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 4) - a: for ( - flags = finishedWork.stateNode.effectDuration, - commitProfilerUpdate(finishedWork, current, commitTime, flags), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (flags & 4) { + flags = finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + flags + ); + } catch (error$21) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$21 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += flags; @@ -13326,6 +13309,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -13761,7 +13745,7 @@ __DEV__ && (tag & Layout) === NoFlags || (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + (deletedFiber.mode & ProfileMode) !== NoMode ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -13804,7 +13788,7 @@ __DEV__ && : (tag & Layout) !== NoFlags && (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + (deletedFiber.mode & ProfileMode) !== NoMode ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -14051,7 +14035,7 @@ __DEV__ && finishedWork.return ), commitHookEffectListMount(Insertion | HasEffect, finishedWork), - shouldProfile(finishedWork) + (finishedWork.mode & ProfileMode) !== NoMode ? (startLayoutEffectTimer(), commitHookEffectListUnmount( Layout | HasEffect, @@ -14595,7 +14579,7 @@ __DEV__ && case 11: case 14: case 15: - if (shouldProfile(finishedWork)) + if ((finishedWork.mode & ProfileMode) !== NoMode) try { startLayoutEffectTimer(), commitHookEffectListUnmount( @@ -14713,20 +14697,27 @@ __DEV__ && finishedWork, includeWorkInProgressEffects ); - if (includeWorkInProgressEffects && flags & 4) - a: for ( - includeWorkInProgressEffects = - finishedWork.stateNode.effectDuration, - commitProfilerUpdate( - finishedWork, - current, - commitTime, - includeWorkInProgressEffects - ), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (includeWorkInProgressEffects && flags & 4) { + includeWorkInProgressEffects = + finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + includeWorkInProgressEffects + ); + } catch (error$21) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$21 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += @@ -14739,6 +14730,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseReappearLayoutEffects( @@ -14969,7 +14961,7 @@ __DEV__ && committedLanes, committedTransitions ); - if (flags & 2048 && executionContext & CommitContext) + if (flags & 2048) a: for ( finishedRoot = finishedWork.stateNode.passiveEffectDuration, commitProfilerPostCommit( @@ -18914,41 +18906,41 @@ __DEV__ && : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmp993280372$1, $jscomp$nullish$tmp0; + var $jscomp$optchain$tmp380848773$1, $jscomp$nullish$tmp0; containerInfo = null != ($jscomp$nullish$tmp0 = null == containerInfo ? void 0 : null == - ($jscomp$optchain$tmp993280372$1 = containerInfo.ownerDocument) + ($jscomp$optchain$tmp380848773$1 = containerInfo.ownerDocument) ? void 0 - : $jscomp$optchain$tmp993280372$1.defaultView) + : $jscomp$optchain$tmp380848773$1.defaultView) ? $jscomp$nullish$tmp0 : window; for ( - $jscomp$optchain$tmp993280372$1 = getActiveElement( + $jscomp$optchain$tmp380848773$1 = getActiveElement( containerInfo.document ); - $jscomp$optchain$tmp993280372$1 instanceof + $jscomp$optchain$tmp380848773$1 instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = "string" === - typeof $jscomp$optchain$tmp993280372$1.contentWindow.location.href; + typeof $jscomp$optchain$tmp380848773$1.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmp993280372$1.contentWindow; + containerInfo = $jscomp$optchain$tmp380848773$1.contentWindow; else break; - $jscomp$optchain$tmp993280372$1 = getActiveElement( + $jscomp$optchain$tmp380848773$1 = getActiveElement( containerInfo.document ); } - return $jscomp$optchain$tmp993280372$1; + return $jscomp$optchain$tmp380848773$1; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -28224,11 +28216,11 @@ __DEV__ && : flushSyncErrorInBuildsThatSupportLegacyMode; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-classic-d7167c35-20240916" !== isomorphicReactPackageVersion) + if ("19.0.0-www-classic-8152e5cd-20240916" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-www-classic-d7167c35-20240916\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-classic-8152e5cd-20240916\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -28272,11 +28264,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-www-classic-d7167c35-20240916", + version: "19.0.0-www-classic-8152e5cd-20240916", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-classic-8152e5cd-20240916" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -29095,5 +29087,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-classic-d7167c35-20240916"; + exports.version = "19.0.0-www-classic-8152e5cd-20240916"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index 724733fa7d701..cc89997b58a9d 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -8932,32 +8932,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2460; - var JSCompiler_object_inline_stack_2461 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2472; + var JSCompiler_object_inline_stack_2473 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2462 = !1; + var JSCompiler_object_inline_componentStack_2474 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2460 = didSuspend) || - (JSCompiler_object_inline_digest_2460 = + (JSCompiler_object_inline_digest_2472 = didSuspend) || + (JSCompiler_object_inline_digest_2472 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2460 && - ((JSCompiler_object_inline_componentStack_2462 = !0), + JSCompiler_object_inline_digest_2472 && + ((JSCompiler_object_inline_componentStack_2474 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2460 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2472 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2462 + JSCompiler_object_inline_componentStack_2474 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2459 = nextHydratableInstance; + var JSCompiler_object_inline_message_2471 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2459)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2471)) { c: { - var instance = JSCompiler_object_inline_message_2459; + var instance = JSCompiler_object_inline_message_2471; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -8998,19 +8998,19 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2459 + JSCompiler_object_inline_message_2471 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2459 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2471 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2459 && - ((JSCompiler_object_inline_message_2459 = - JSCompiler_object_inline_message_2459.dehydrated), - null !== JSCompiler_object_inline_message_2459) + null !== JSCompiler_object_inline_message_2471 && + ((JSCompiler_object_inline_message_2471 = + JSCompiler_object_inline_message_2471.dehydrated), + null !== JSCompiler_object_inline_message_2471) ) return ( - JSCompiler_object_inline_message_2459.data === + JSCompiler_object_inline_message_2471.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -9018,27 +9018,27 @@ __DEV__ && ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2459 = - JSCompiler_object_inline_stack_2461.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2461.fallback; - if (JSCompiler_object_inline_componentStack_2462) + JSCompiler_object_inline_message_2471 = + JSCompiler_object_inline_stack_2473.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2473.fallback; + if (JSCompiler_object_inline_componentStack_2474) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2461 = + (JSCompiler_object_inline_stack_2473 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2459, + JSCompiler_object_inline_message_2471, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2462 = + (JSCompiler_object_inline_componentStack_2474 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2462.memoizedState = + (JSCompiler_object_inline_componentStack_2474.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2462.childLanes = + (JSCompiler_object_inline_componentStack_2474.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2460, + JSCompiler_object_inline_digest_2472, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9051,9 +9051,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2462.updateQueue), + JSCompiler_object_inline_componentStack_2474.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2462.updateQueue = + ? (JSCompiler_object_inline_componentStack_2474.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9061,46 +9061,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2461 + JSCompiler_object_inline_stack_2473 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2461.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2473.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2461 = + (JSCompiler_object_inline_stack_2473 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2459, + JSCompiler_object_inline_message_2471, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2462 = + (JSCompiler_object_inline_componentStack_2474 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2462.memoizedState = + (JSCompiler_object_inline_componentStack_2474.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2462.childLanes = + (JSCompiler_object_inline_componentStack_2474.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2460, + JSCompiler_object_inline_digest_2472, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2461 + JSCompiler_object_inline_stack_2473 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2459 + JSCompiler_object_inline_message_2471 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2459 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2459) + ((JSCompiler_object_inline_message_2471 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2471) ) { if (didSuspend) workInProgress.flags & 256 @@ -9117,94 +9117,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2462 = - JSCompiler_object_inline_stack_2461.fallback), - (JSCompiler_object_inline_message_2459 = workInProgress.mode), - (JSCompiler_object_inline_stack_2461 = + (JSCompiler_object_inline_componentStack_2474 = + JSCompiler_object_inline_stack_2473.fallback), + (JSCompiler_object_inline_message_2471 = workInProgress.mode), + (JSCompiler_object_inline_stack_2473 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2461.children + children: JSCompiler_object_inline_stack_2473.children }, - JSCompiler_object_inline_message_2459 + JSCompiler_object_inline_message_2471 )), - (JSCompiler_object_inline_componentStack_2462 = + (JSCompiler_object_inline_componentStack_2474 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2462, - JSCompiler_object_inline_message_2459, + JSCompiler_object_inline_componentStack_2474, + JSCompiler_object_inline_message_2471, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2462.flags |= 2), - (JSCompiler_object_inline_stack_2461.return = workInProgress), - (JSCompiler_object_inline_componentStack_2462.return = + (JSCompiler_object_inline_componentStack_2474.flags |= 2), + (JSCompiler_object_inline_stack_2473.return = workInProgress), + (JSCompiler_object_inline_componentStack_2474.return = workInProgress), - (JSCompiler_object_inline_stack_2461.sibling = - JSCompiler_object_inline_componentStack_2462), - (workInProgress.child = JSCompiler_object_inline_stack_2461), + (JSCompiler_object_inline_stack_2473.sibling = + JSCompiler_object_inline_componentStack_2474), + (workInProgress.child = JSCompiler_object_inline_stack_2473), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2461 = workInProgress.child), - (JSCompiler_object_inline_stack_2461.memoizedState = + (JSCompiler_object_inline_stack_2473 = workInProgress.child), + (JSCompiler_object_inline_stack_2473.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2461.childLanes = + (JSCompiler_object_inline_stack_2473.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2460, + JSCompiler_object_inline_digest_2472, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2462)); + JSCompiler_object_inline_componentStack_2474)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2459.data === + JSCompiler_object_inline_message_2471.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2460 = - JSCompiler_object_inline_message_2459.nextSibling && - JSCompiler_object_inline_message_2459.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2460) { - JSCompiler_temp = JSCompiler_object_inline_digest_2460.dgst; - var message = JSCompiler_object_inline_digest_2460.msg; - instance = JSCompiler_object_inline_digest_2460.stck; - var componentStack = JSCompiler_object_inline_digest_2460.cstck; + JSCompiler_object_inline_digest_2472 = + JSCompiler_object_inline_message_2471.nextSibling && + JSCompiler_object_inline_message_2471.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2472) { + JSCompiler_temp = JSCompiler_object_inline_digest_2472.dgst; + var message = JSCompiler_object_inline_digest_2472.msg; + instance = JSCompiler_object_inline_digest_2472.stck; + var componentStack = JSCompiler_object_inline_digest_2472.cstck; } - JSCompiler_object_inline_message_2459 = message; - JSCompiler_object_inline_digest_2460 = JSCompiler_temp; - JSCompiler_object_inline_stack_2461 = instance; - JSCompiler_object_inline_componentStack_2462 = componentStack; - JSCompiler_object_inline_message_2459 = - JSCompiler_object_inline_message_2459 - ? Error(JSCompiler_object_inline_message_2459) + JSCompiler_object_inline_message_2471 = message; + JSCompiler_object_inline_digest_2472 = JSCompiler_temp; + JSCompiler_object_inline_stack_2473 = instance; + JSCompiler_object_inline_componentStack_2474 = componentStack; + JSCompiler_object_inline_message_2471 = + JSCompiler_object_inline_message_2471 + ? Error(JSCompiler_object_inline_message_2471) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2459.stack = - JSCompiler_object_inline_stack_2461 || ""; - JSCompiler_object_inline_message_2459.digest = - JSCompiler_object_inline_digest_2460; - JSCompiler_object_inline_digest_2460 = - void 0 === JSCompiler_object_inline_componentStack_2462 + JSCompiler_object_inline_message_2471.stack = + JSCompiler_object_inline_stack_2473 || ""; + JSCompiler_object_inline_message_2471.digest = + JSCompiler_object_inline_digest_2472; + JSCompiler_object_inline_digest_2472 = + void 0 === JSCompiler_object_inline_componentStack_2474 ? null - : JSCompiler_object_inline_componentStack_2462; - "string" === typeof JSCompiler_object_inline_digest_2460 && + : JSCompiler_object_inline_componentStack_2474; + "string" === typeof JSCompiler_object_inline_digest_2472 && CapturedStacks.set( - JSCompiler_object_inline_message_2459, - JSCompiler_object_inline_digest_2460 + JSCompiler_object_inline_message_2471, + JSCompiler_object_inline_digest_2472 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2459, + value: JSCompiler_object_inline_message_2471, source: null, - stack: JSCompiler_object_inline_digest_2460 + stack: JSCompiler_object_inline_digest_2472 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9219,25 +9219,25 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2460 = + (JSCompiler_object_inline_digest_2472 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2460) + didReceiveUpdate || JSCompiler_object_inline_digest_2472) ) { - JSCompiler_object_inline_digest_2460 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2460) { - JSCompiler_object_inline_stack_2461 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2461 & 42)) - JSCompiler_object_inline_stack_2461 = 1; + JSCompiler_object_inline_digest_2472 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2472) { + JSCompiler_object_inline_stack_2473 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2473 & 42)) + JSCompiler_object_inline_stack_2473 = 1; else - switch (JSCompiler_object_inline_stack_2461) { + switch (JSCompiler_object_inline_stack_2473) { case 2: - JSCompiler_object_inline_stack_2461 = 1; + JSCompiler_object_inline_stack_2473 = 1; break; case 8: - JSCompiler_object_inline_stack_2461 = 4; + JSCompiler_object_inline_stack_2473 = 4; break; case 32: - JSCompiler_object_inline_stack_2461 = 16; + JSCompiler_object_inline_stack_2473 = 16; break; case 128: case 256: @@ -9258,40 +9258,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2461 = 64; + JSCompiler_object_inline_stack_2473 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2461 = 134217728; + JSCompiler_object_inline_stack_2473 = 134217728; break; default: - JSCompiler_object_inline_stack_2461 = 0; + JSCompiler_object_inline_stack_2473 = 0; } - JSCompiler_object_inline_stack_2461 = + JSCompiler_object_inline_stack_2473 = 0 !== - (JSCompiler_object_inline_stack_2461 & - (JSCompiler_object_inline_digest_2460.suspendedLanes | + (JSCompiler_object_inline_stack_2473 & + (JSCompiler_object_inline_digest_2472.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2461; + : JSCompiler_object_inline_stack_2473; if ( - 0 !== JSCompiler_object_inline_stack_2461 && - JSCompiler_object_inline_stack_2461 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2473 && + JSCompiler_object_inline_stack_2473 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2461), + ((prevState.retryLane = JSCompiler_object_inline_stack_2473), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2461 + JSCompiler_object_inline_stack_2473 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2460, + JSCompiler_object_inline_digest_2472, current, - JSCompiler_object_inline_stack_2461 + JSCompiler_object_inline_stack_2473 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2459.data === + JSCompiler_object_inline_message_2471.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9299,7 +9299,7 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2459.data === + JSCompiler_object_inline_message_2471.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9307,12 +9307,12 @@ __DEV__ && null, current )), - (JSCompiler_object_inline_message_2459._reactRetry = + (JSCompiler_object_inline_message_2471._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2459.nextSibling + JSCompiler_object_inline_message_2471.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9330,57 +9330,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2461.children + JSCompiler_object_inline_stack_2473.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2462) + if (JSCompiler_object_inline_componentStack_2474) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2462 = - JSCompiler_object_inline_stack_2461.fallback), - (JSCompiler_object_inline_message_2459 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2474 = + JSCompiler_object_inline_stack_2473.fallback), + (JSCompiler_object_inline_message_2471 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2461 = createWorkInProgress( + (JSCompiler_object_inline_stack_2473 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2461.children + children: JSCompiler_object_inline_stack_2473.children } )), - (JSCompiler_object_inline_stack_2461.subtreeFlags = + (JSCompiler_object_inline_stack_2473.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2462 = + ? (JSCompiler_object_inline_componentStack_2474 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2462 + JSCompiler_object_inline_componentStack_2474 )) - : ((JSCompiler_object_inline_componentStack_2462 = + : ((JSCompiler_object_inline_componentStack_2474 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2462, - JSCompiler_object_inline_message_2459, + JSCompiler_object_inline_componentStack_2474, + JSCompiler_object_inline_message_2471, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2462.flags |= 2)), - (JSCompiler_object_inline_componentStack_2462.return = + (JSCompiler_object_inline_componentStack_2474.flags |= 2)), + (JSCompiler_object_inline_componentStack_2474.return = workInProgress), - (JSCompiler_object_inline_stack_2461.return = workInProgress), - (JSCompiler_object_inline_stack_2461.sibling = - JSCompiler_object_inline_componentStack_2462), - (workInProgress.child = JSCompiler_object_inline_stack_2461), - (JSCompiler_object_inline_stack_2461 = - JSCompiler_object_inline_componentStack_2462), - (JSCompiler_object_inline_componentStack_2462 = workInProgress.child), - (JSCompiler_object_inline_message_2459 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2459 - ? (JSCompiler_object_inline_message_2459 = + (JSCompiler_object_inline_stack_2473.return = workInProgress), + (JSCompiler_object_inline_stack_2473.sibling = + JSCompiler_object_inline_componentStack_2474), + (workInProgress.child = JSCompiler_object_inline_stack_2473), + (JSCompiler_object_inline_stack_2473 = + JSCompiler_object_inline_componentStack_2474), + (JSCompiler_object_inline_componentStack_2474 = workInProgress.child), + (JSCompiler_object_inline_message_2471 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2471 + ? (JSCompiler_object_inline_message_2471 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2459.cachePool), + JSCompiler_object_inline_message_2471.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9388,34 +9388,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2459 = { + (JSCompiler_object_inline_message_2471 = { baseLanes: - JSCompiler_object_inline_message_2459.baseLanes | renderLanes, + JSCompiler_object_inline_message_2471.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2462.memoizedState = - JSCompiler_object_inline_message_2459), + (JSCompiler_object_inline_componentStack_2474.memoizedState = + JSCompiler_object_inline_message_2471), enableTransitionTracing && - ((JSCompiler_object_inline_message_2459 = enableTransitionTracing + ((JSCompiler_object_inline_message_2471 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2459 && + null !== JSCompiler_object_inline_message_2471 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2462.updateQueue), + JSCompiler_object_inline_componentStack_2474.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2462.updateQueue = { - transitions: JSCompiler_object_inline_message_2459, + ? (JSCompiler_object_inline_componentStack_2474.updateQueue = { + transitions: JSCompiler_object_inline_message_2471, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2462.updateQueue = + ? (JSCompiler_object_inline_componentStack_2474.updateQueue = { - transitions: JSCompiler_object_inline_message_2459, + transitions: JSCompiler_object_inline_message_2471, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9423,32 +9423,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2459), + JSCompiler_object_inline_message_2471), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2462.childLanes = + (JSCompiler_object_inline_componentStack_2474.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2460, + JSCompiler_object_inline_digest_2472, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2461 + JSCompiler_object_inline_stack_2473 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2461.children + children: JSCompiler_object_inline_stack_2473.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2460 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2460 + ((JSCompiler_object_inline_digest_2472 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2472 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2460.push(current)); + : JSCompiler_object_inline_digest_2472.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -11942,10 +11942,7 @@ __DEV__ && } } function shouldProfile$1(current) { - return ( - (current.mode & ProfileMode) !== NoMode && - (executionContext & CommitContext) !== NoContext - ); + return (current.mode & ProfileMode) !== NoMode; } function commitHookLayoutEffects(finishedWork, hookFlags) { shouldProfile$1(finishedWork) @@ -12337,26 +12334,6 @@ __DEV__ && commitTime ); } - function commitProfilerUpdate( - finishedWork, - current, - commitTime, - effectDuration - ) { - if (executionContext & CommitContext) - try { - runWithFiberInDEV( - finishedWork, - commitProfiler, - finishedWork, - current, - commitTime, - effectDuration - ); - } catch (error$21) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$21); - } - } function commitProfilerPostCommitImpl( finishedWork, current, @@ -12543,12 +12520,6 @@ __DEV__ && } } } - function shouldProfile(current) { - return ( - (current.mode & ProfileMode) !== NoMode && - (executionContext & CommitContext) !== NoContext - ); - } function commitBeforeMutationEffects(root, firstChild) { root = root.containerInfo; eventsEnabled = _enabled; @@ -12875,14 +12846,26 @@ __DEV__ && break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 4) - a: for ( - flags = finishedWork.stateNode.effectDuration, - commitProfilerUpdate(finishedWork, current, commitTime, flags), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (flags & 4) { + flags = finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + flags + ); + } catch (error$21) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$21 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += flags; @@ -12893,6 +12876,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -13320,7 +13304,7 @@ __DEV__ && (tag & Layout) === NoFlags || (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + (deletedFiber.mode & ProfileMode) !== NoMode ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -13363,7 +13347,7 @@ __DEV__ && : (tag & Layout) !== NoFlags && (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + (deletedFiber.mode & ProfileMode) !== NoMode ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -13604,7 +13588,7 @@ __DEV__ && finishedWork.return ), commitHookEffectListMount(Insertion | HasEffect, finishedWork), - shouldProfile(finishedWork) + (finishedWork.mode & ProfileMode) !== NoMode ? (startLayoutEffectTimer(), commitHookEffectListUnmount( Layout | HasEffect, @@ -14144,7 +14128,7 @@ __DEV__ && case 11: case 14: case 15: - if (shouldProfile(finishedWork)) + if ((finishedWork.mode & ProfileMode) !== NoMode) try { startLayoutEffectTimer(), commitHookEffectListUnmount( @@ -14269,20 +14253,27 @@ __DEV__ && finishedWork, includeWorkInProgressEffects ); - if (includeWorkInProgressEffects && flags & 4) - a: for ( - includeWorkInProgressEffects = - finishedWork.stateNode.effectDuration, - commitProfilerUpdate( - finishedWork, - current, - commitTime, - includeWorkInProgressEffects - ), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (includeWorkInProgressEffects && flags & 4) { + includeWorkInProgressEffects = + finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + includeWorkInProgressEffects + ); + } catch (error$21) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$21 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += @@ -14295,6 +14286,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseReappearLayoutEffects( @@ -14525,7 +14517,7 @@ __DEV__ && committedLanes, committedTransitions ); - if (flags & 2048 && executionContext & CommitContext) + if (flags & 2048) a: for ( finishedRoot = finishedWork.stateNode.passiveEffectDuration, commitProfilerPostCommit( @@ -18248,43 +18240,41 @@ __DEV__ && : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmpm1013680213$1, $jscomp$nullish$tmp0; + var $jscomp$optchain$tmp850383619$1, $jscomp$nullish$tmp0; containerInfo = null != ($jscomp$nullish$tmp0 = null == containerInfo ? void 0 : null == - ($jscomp$optchain$tmpm1013680213$1 = - containerInfo.ownerDocument) + ($jscomp$optchain$tmp850383619$1 = containerInfo.ownerDocument) ? void 0 - : $jscomp$optchain$tmpm1013680213$1.defaultView) + : $jscomp$optchain$tmp850383619$1.defaultView) ? $jscomp$nullish$tmp0 : window; for ( - $jscomp$optchain$tmpm1013680213$1 = getActiveElement( + $jscomp$optchain$tmp850383619$1 = getActiveElement( containerInfo.document ); - $jscomp$optchain$tmpm1013680213$1 instanceof + $jscomp$optchain$tmp850383619$1 instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = "string" === - typeof $jscomp$optchain$tmpm1013680213$1.contentWindow.location - .href; + typeof $jscomp$optchain$tmp850383619$1.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmpm1013680213$1.contentWindow; + containerInfo = $jscomp$optchain$tmp850383619$1.contentWindow; else break; - $jscomp$optchain$tmpm1013680213$1 = getActiveElement( + $jscomp$optchain$tmp850383619$1 = getActiveElement( containerInfo.document ); } - return $jscomp$optchain$tmpm1013680213$1; + return $jscomp$optchain$tmp850383619$1; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -27343,11 +27333,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-modern-d7167c35-20240916" !== isomorphicReactPackageVersion) + if ("19.0.0-www-modern-8152e5cd-20240916" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-www-modern-d7167c35-20240916\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-modern-8152e5cd-20240916\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27390,11 +27380,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-www-modern-d7167c35-20240916", + version: "19.0.0-www-modern-8152e5cd-20240916", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-modern-8152e5cd-20240916" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28165,5 +28155,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-modern-d7167c35-20240916"; + exports.version = "19.0.0-www-modern-8152e5cd-20240916"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index 21b09b20ebfe6..0ed385383cd7f 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -13770,36 +13770,41 @@ function containsNode(outerNode, innerNode) { : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmp424966228$1, $jscomp$nullish$tmp0; + var $jscomp$optchain$tmpm1799581304$1, $jscomp$nullish$tmp0; containerInfo = null != ($jscomp$nullish$tmp0 = null == containerInfo ? void 0 : null == - ($jscomp$optchain$tmp424966228$1 = containerInfo.ownerDocument) + ($jscomp$optchain$tmpm1799581304$1 = containerInfo.ownerDocument) ? void 0 - : $jscomp$optchain$tmp424966228$1.defaultView) + : $jscomp$optchain$tmpm1799581304$1.defaultView) ? $jscomp$nullish$tmp0 : window; for ( - $jscomp$optchain$tmp424966228$1 = getActiveElement(containerInfo.document); - $jscomp$optchain$tmp424966228$1 instanceof containerInfo.HTMLIFrameElement; + $jscomp$optchain$tmpm1799581304$1 = getActiveElement( + containerInfo.document + ); + $jscomp$optchain$tmpm1799581304$1 instanceof + containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = "string" === - typeof $jscomp$optchain$tmp424966228$1.contentWindow.location.href; + typeof $jscomp$optchain$tmpm1799581304$1.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmp424966228$1.contentWindow; + containerInfo = $jscomp$optchain$tmpm1799581304$1.contentWindow; else break; - $jscomp$optchain$tmp424966228$1 = getActiveElement(containerInfo.document); + $jscomp$optchain$tmpm1799581304$1 = getActiveElement( + containerInfo.document + ); } - return $jscomp$optchain$tmp424966228$1; + return $jscomp$optchain$tmpm1799581304$1; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -17781,14 +17786,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1798 = React.version; if ( - "19.0.0-www-classic-d7167c35-20240916" !== + "19.0.0-www-classic-8152e5cd-20240916" !== isomorphicReactPackageVersion$jscomp$inline_1798 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1798, - "19.0.0-www-classic-d7167c35-20240916" + "19.0.0-www-classic-8152e5cd-20240916" ) ); function flushSyncFromReconciler(fn) { @@ -17833,11 +17838,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_2298 = { bundleType: 0, - version: "19.0.0-www-classic-d7167c35-20240916", + version: "19.0.0-www-classic-8152e5cd-20240916", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-classic-8152e5cd-20240916" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2299 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -18444,4 +18449,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-d7167c35-20240916"; +exports.version = "19.0.0-www-classic-8152e5cd-20240916"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index 17a3a5d81cdbe..52b917a95ec2f 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -13197,41 +13197,36 @@ function containsNode(outerNode, innerNode) { : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmpm1912023413$1, $jscomp$nullish$tmp0; + var $jscomp$optchain$tmp902704102$1, $jscomp$nullish$tmp0; containerInfo = null != ($jscomp$nullish$tmp0 = null == containerInfo ? void 0 : null == - ($jscomp$optchain$tmpm1912023413$1 = containerInfo.ownerDocument) + ($jscomp$optchain$tmp902704102$1 = containerInfo.ownerDocument) ? void 0 - : $jscomp$optchain$tmpm1912023413$1.defaultView) + : $jscomp$optchain$tmp902704102$1.defaultView) ? $jscomp$nullish$tmp0 : window; for ( - $jscomp$optchain$tmpm1912023413$1 = getActiveElement( - containerInfo.document - ); - $jscomp$optchain$tmpm1912023413$1 instanceof - containerInfo.HTMLIFrameElement; + $jscomp$optchain$tmp902704102$1 = getActiveElement(containerInfo.document); + $jscomp$optchain$tmp902704102$1 instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = "string" === - typeof $jscomp$optchain$tmpm1912023413$1.contentWindow.location.href; + typeof $jscomp$optchain$tmp902704102$1.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmpm1912023413$1.contentWindow; + containerInfo = $jscomp$optchain$tmp902704102$1.contentWindow; else break; - $jscomp$optchain$tmpm1912023413$1 = getActiveElement( - containerInfo.document - ); + $jscomp$optchain$tmp902704102$1 = getActiveElement(containerInfo.document); } - return $jscomp$optchain$tmpm1912023413$1; + return $jscomp$optchain$tmp902704102$1; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -17162,14 +17157,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1769 = React.version; if ( - "19.0.0-www-modern-d7167c35-20240916" !== + "19.0.0-www-modern-8152e5cd-20240916" !== isomorphicReactPackageVersion$jscomp$inline_1769 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1769, - "19.0.0-www-modern-d7167c35-20240916" + "19.0.0-www-modern-8152e5cd-20240916" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17187,11 +17182,11 @@ Internals.Events = [ ]; var internals$jscomp$inline_2289 = { bundleType: 0, - version: "19.0.0-www-modern-d7167c35-20240916", + version: "19.0.0-www-modern-8152e5cd-20240916", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-modern-8152e5cd-20240916" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2290 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17705,4 +17700,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-d7167c35-20240916"; +exports.version = "19.0.0-www-modern-8152e5cd-20240916"; diff --git a/compiled/facebook-www/ReactReconciler-dev.classic.js b/compiled/facebook-www/ReactReconciler-dev.classic.js index ff9f85b80891b..7554ef41f9e75 100644 --- a/compiled/facebook-www/ReactReconciler-dev.classic.js +++ b/compiled/facebook-www/ReactReconciler-dev.classic.js @@ -10676,10 +10676,7 @@ __DEV__ && } } function shouldProfile$1(current) { - return ( - (current.mode & 2) !== NoMode && - (executionContext & CommitContext) !== NoContext - ); + return (current.mode & 2) !== NoMode; } function commitHookLayoutEffects(finishedWork, hookFlags) { shouldProfile$1(finishedWork) @@ -11081,26 +11078,6 @@ __DEV__ && commitTime ); } - function commitProfilerUpdate( - finishedWork, - current, - commitTime, - effectDuration - ) { - if (executionContext & CommitContext) - try { - runWithFiberInDEV( - finishedWork, - commitProfiler, - finishedWork, - current, - commitTime, - effectDuration - ); - } catch (error$20) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$20); - } - } function commitProfilerPostCommitImpl( finishedWork, current, @@ -11308,12 +11285,6 @@ __DEV__ && captureCommitPhaseError(finishedWork, finishedWork.return, error$32); } } - function shouldProfile(current) { - return ( - (current.mode & 2) !== NoMode && - (executionContext & CommitContext) !== NoContext - ); - } function commitBeforeMutationEffects(root, firstChild) { focusedInstanceHandle = prepareForCommit(root.containerInfo); for (nextEffect = firstChild; null !== nextEffect; ) { @@ -11550,14 +11521,26 @@ __DEV__ && break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 4) - a: for ( - flags = finishedWork.stateNode.effectDuration, - commitProfilerUpdate(finishedWork, current, commitTime, flags), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (flags & 4) { + flags = finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + flags + ); + } catch (error$20) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$20 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += flags; @@ -11568,6 +11551,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -12012,7 +11996,7 @@ __DEV__ && (tag & Layout) === NoFlags || (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + (deletedFiber.mode & 2) !== NoMode ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -12055,7 +12039,7 @@ __DEV__ && : (tag & Layout) !== NoFlags && (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + (deletedFiber.mode & 2) !== NoMode ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -12304,7 +12288,7 @@ __DEV__ && finishedWork.return ), commitHookEffectListMount(Insertion | HasEffect, finishedWork), - shouldProfile(finishedWork) + (finishedWork.mode & 2) !== NoMode ? (startLayoutEffectTimer(), commitHookEffectListUnmount( Layout | HasEffect, @@ -12769,7 +12753,7 @@ __DEV__ && case 11: case 14: case 15: - if (shouldProfile(finishedWork)) + if ((finishedWork.mode & 2) !== NoMode) try { startLayoutEffectTimer(), commitHookEffectListUnmount( @@ -12887,20 +12871,27 @@ __DEV__ && finishedWork, includeWorkInProgressEffects ); - if (includeWorkInProgressEffects && flags & 4) - a: for ( - includeWorkInProgressEffects = - finishedWork.stateNode.effectDuration, - commitProfilerUpdate( - finishedWork, - current, - commitTime, - includeWorkInProgressEffects - ), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (includeWorkInProgressEffects && flags & 4) { + includeWorkInProgressEffects = + finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + includeWorkInProgressEffects + ); + } catch (error$20) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$20 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += @@ -12913,6 +12904,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseReappearLayoutEffects( @@ -13143,7 +13135,7 @@ __DEV__ && committedLanes, committedTransitions ); - if (flags & 2048 && executionContext & CommitContext) + if (flags & 2048) a: for ( finishedRoot = finishedWork.stateNode.passiveEffectDuration, commitProfilerPostCommit( @@ -19323,7 +19315,7 @@ __DEV__ && rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-classic-8152e5cd-20240916" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-dev.modern.js b/compiled/facebook-www/ReactReconciler-dev.modern.js index ea954a43d895a..49d68836a62fe 100644 --- a/compiled/facebook-www/ReactReconciler-dev.modern.js +++ b/compiled/facebook-www/ReactReconciler-dev.modern.js @@ -10288,10 +10288,7 @@ __DEV__ && } } function shouldProfile$1(current) { - return ( - (current.mode & 2) !== NoMode && - (executionContext & CommitContext) !== NoContext - ); + return (current.mode & 2) !== NoMode; } function commitHookLayoutEffects(finishedWork, hookFlags) { shouldProfile$1(finishedWork) @@ -10683,26 +10680,6 @@ __DEV__ && commitTime ); } - function commitProfilerUpdate( - finishedWork, - current, - commitTime, - effectDuration - ) { - if (executionContext & CommitContext) - try { - runWithFiberInDEV( - finishedWork, - commitProfiler, - finishedWork, - current, - commitTime, - effectDuration - ); - } catch (error$20) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$20); - } - } function commitProfilerPostCommitImpl( finishedWork, current, @@ -10910,12 +10887,6 @@ __DEV__ && captureCommitPhaseError(finishedWork, finishedWork.return, error$32); } } - function shouldProfile(current) { - return ( - (current.mode & 2) !== NoMode && - (executionContext & CommitContext) !== NoContext - ); - } function commitBeforeMutationEffects(root, firstChild) { focusedInstanceHandle = prepareForCommit(root.containerInfo); for (nextEffect = firstChild; null !== nextEffect; ) { @@ -11152,14 +11123,26 @@ __DEV__ && break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 4) - a: for ( - flags = finishedWork.stateNode.effectDuration, - commitProfilerUpdate(finishedWork, current, commitTime, flags), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (flags & 4) { + flags = finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + flags + ); + } catch (error$20) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$20 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += flags; @@ -11170,6 +11153,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -11609,7 +11593,7 @@ __DEV__ && (tag & Layout) === NoFlags || (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + (deletedFiber.mode & 2) !== NoMode ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -11652,7 +11636,7 @@ __DEV__ && : (tag & Layout) !== NoFlags && (enableSchedulingProfiler && markComponentLayoutEffectUnmountStarted(deletedFiber), - shouldProfile(deletedFiber) + (deletedFiber.mode & 2) !== NoMode ? (startLayoutEffectTimer(), (inst.destroy = void 0), safelyCallDestroy( @@ -11895,7 +11879,7 @@ __DEV__ && finishedWork.return ), commitHookEffectListMount(Insertion | HasEffect, finishedWork), - shouldProfile(finishedWork) + (finishedWork.mode & 2) !== NoMode ? (startLayoutEffectTimer(), commitHookEffectListUnmount( Layout | HasEffect, @@ -12357,7 +12341,7 @@ __DEV__ && case 11: case 14: case 15: - if (shouldProfile(finishedWork)) + if ((finishedWork.mode & 2) !== NoMode) try { startLayoutEffectTimer(), commitHookEffectListUnmount( @@ -12482,20 +12466,27 @@ __DEV__ && finishedWork, includeWorkInProgressEffects ); - if (includeWorkInProgressEffects && flags & 4) - a: for ( - includeWorkInProgressEffects = - finishedWork.stateNode.effectDuration, - commitProfilerUpdate( - finishedWork, - current, - commitTime, - includeWorkInProgressEffects - ), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (includeWorkInProgressEffects && flags & 4) { + includeWorkInProgressEffects = + finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + includeWorkInProgressEffects + ); + } catch (error$20) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$20 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += @@ -12508,6 +12499,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseReappearLayoutEffects( @@ -12738,7 +12730,7 @@ __DEV__ && committedLanes, committedTransitions ); - if (flags & 2048 && executionContext & CommitContext) + if (flags & 2048) a: for ( finishedRoot = finishedWork.stateNode.passiveEffectDuration, commitProfilerPostCommit( @@ -18717,7 +18709,7 @@ __DEV__ && rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-modern-8152e5cd-20240916" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.classic.js b/compiled/facebook-www/ReactReconciler-prod.classic.js index c8b1e0b2106f2..a34df68335d59 100644 --- a/compiled/facebook-www/ReactReconciler-prod.classic.js +++ b/compiled/facebook-www/ReactReconciler-prod.classic.js @@ -12891,7 +12891,7 @@ module.exports = function ($$$config) { rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-classic-8152e5cd-20240916" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.modern.js b/compiled/facebook-www/ReactReconciler-prod.modern.js index 1ad513a087f26..eb9b42090f4c3 100644 --- a/compiled/facebook-www/ReactReconciler-prod.modern.js +++ b/compiled/facebook-www/ReactReconciler-prod.modern.js @@ -12384,7 +12384,7 @@ module.exports = function ($$$config) { rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-modern-8152e5cd-20240916" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index 99842de3e51f1..1dd4e4ba27ea0 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -8628,10 +8628,7 @@ __DEV__ && } } function shouldProfile$1(current) { - return ( - 0 !== (current.mode & 2) && - (executionContext & CommitContext) !== NoContext - ); + return 0 !== (current.mode & 2); } function commitHookLayoutEffects(finishedWork, hookFlags) { shouldProfile$1(finishedWork) @@ -8976,26 +8973,6 @@ __DEV__ && commitTime ); } - function commitProfilerUpdate( - finishedWork, - current, - commitTime, - effectDuration - ) { - if (executionContext & CommitContext) - try { - runWithFiberInDEV( - finishedWork, - commitProfiler, - finishedWork, - current, - commitTime, - effectDuration - ); - } catch (error$20) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$20); - } - } function commitProfilerPostCommitImpl( finishedWork, current, @@ -9125,12 +9102,6 @@ __DEV__ && ); } } - function shouldProfile(current) { - return ( - 0 !== (current.mode & 2) && - (executionContext & CommitContext) !== NoContext - ); - } function commitBeforeMutationEffects(root, firstChild) { for (nextEffect = firstChild; null !== nextEffect; ) if ( @@ -9314,14 +9285,26 @@ __DEV__ && break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 4) - a: for ( - flags = finishedWork.stateNode.effectDuration, - commitProfilerUpdate(finishedWork, current, commitTime, flags), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (flags & 4) { + flags = finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + flags + ); + } catch (error$20) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$20 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += flags; @@ -9332,6 +9315,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -9524,7 +9508,7 @@ __DEV__ && (isRunningInsertionEffect = !1)) : offscreenSubtreeWasHidden || (tag & Layout) === NoFlags || - (shouldProfile(deletedFiber) + (0 !== (deletedFiber.mode & 2) ? (startLayoutEffectTimer(), (inst.destroy = void 0), runWithFiberInDEV( @@ -9688,7 +9672,7 @@ __DEV__ && finishedWork.return ), commitHookEffectListMount(Insertion | HasEffect, finishedWork), - shouldProfile(finishedWork) + 0 !== (finishedWork.mode & 2) ? (startLayoutEffectTimer(), commitHookEffectListUnmount( Layout | HasEffect, @@ -10012,7 +9996,7 @@ __DEV__ && case 11: case 14: case 15: - if (shouldProfile(finishedWork)) + if (0 !== (finishedWork.mode & 2)) try { startLayoutEffectTimer(), commitHookEffectListUnmount( @@ -10131,20 +10115,24 @@ __DEV__ && finishedWork, includeWorkInProgressEffects ); - if (includeWorkInProgressEffects && flags & 4) - a: for ( - includeWorkInProgressEffects = - finishedWork.stateNode.effectDuration, - commitProfilerUpdate( - finishedWork, - current, - commitTime, - includeWorkInProgressEffects - ), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (includeWorkInProgressEffects && flags & 4) { + includeWorkInProgressEffects = + finishedWork.stateNode.effectDuration; + flags = finishedWork; + try { + runWithFiberInDEV( + flags, + commitProfiler, + flags, + current, + commitTime, + includeWorkInProgressEffects + ); + } catch (error$20) { + captureCommitPhaseError(flags, flags.return, error$20); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += @@ -10157,6 +10145,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseReappearLayoutEffects( @@ -10265,7 +10254,7 @@ __DEV__ && committedLanes, committedTransitions ); - if (flags & 2048 && executionContext & CommitContext) { + if (flags & 2048) { finishedRoot = finishedWork.stateNode.passiveEffectDuration; try { runWithFiberInDEV( @@ -15031,11 +15020,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-www-classic-d7167c35-20240916", + version: "19.0.0-www-classic-8152e5cd-20240916", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-classic-8152e5cd-20240916" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15170,5 +15159,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.0.0-www-classic-d7167c35-20240916"; + exports.version = "19.0.0-www-classic-8152e5cd-20240916"; })(); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index 894b044c4ab1f..f3d821b69fc16 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -8628,10 +8628,7 @@ __DEV__ && } } function shouldProfile$1(current) { - return ( - 0 !== (current.mode & 2) && - (executionContext & CommitContext) !== NoContext - ); + return 0 !== (current.mode & 2); } function commitHookLayoutEffects(finishedWork, hookFlags) { shouldProfile$1(finishedWork) @@ -8976,26 +8973,6 @@ __DEV__ && commitTime ); } - function commitProfilerUpdate( - finishedWork, - current, - commitTime, - effectDuration - ) { - if (executionContext & CommitContext) - try { - runWithFiberInDEV( - finishedWork, - commitProfiler, - finishedWork, - current, - commitTime, - effectDuration - ); - } catch (error$20) { - captureCommitPhaseError(finishedWork, finishedWork.return, error$20); - } - } function commitProfilerPostCommitImpl( finishedWork, current, @@ -9125,12 +9102,6 @@ __DEV__ && ); } } - function shouldProfile(current) { - return ( - 0 !== (current.mode & 2) && - (executionContext & CommitContext) !== NoContext - ); - } function commitBeforeMutationEffects(root, firstChild) { for (nextEffect = firstChild; null !== nextEffect; ) if ( @@ -9314,14 +9285,26 @@ __DEV__ && break; case 12: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); - if (flags & 4) - a: for ( - flags = finishedWork.stateNode.effectDuration, - commitProfilerUpdate(finishedWork, current, commitTime, flags), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (flags & 4) { + flags = finishedWork.stateNode.effectDuration; + try { + runWithFiberInDEV( + finishedWork, + commitProfiler, + finishedWork, + current, + commitTime, + flags + ); + } catch (error$20) { + captureCommitPhaseError( + finishedWork, + finishedWork.return, + error$20 + ); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += flags; @@ -9332,6 +9315,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); @@ -9524,7 +9508,7 @@ __DEV__ && (isRunningInsertionEffect = !1)) : offscreenSubtreeWasHidden || (tag & Layout) === NoFlags || - (shouldProfile(deletedFiber) + (0 !== (deletedFiber.mode & 2) ? (startLayoutEffectTimer(), (inst.destroy = void 0), runWithFiberInDEV( @@ -9688,7 +9672,7 @@ __DEV__ && finishedWork.return ), commitHookEffectListMount(Insertion | HasEffect, finishedWork), - shouldProfile(finishedWork) + 0 !== (finishedWork.mode & 2) ? (startLayoutEffectTimer(), commitHookEffectListUnmount( Layout | HasEffect, @@ -10012,7 +9996,7 @@ __DEV__ && case 11: case 14: case 15: - if (shouldProfile(finishedWork)) + if (0 !== (finishedWork.mode & 2)) try { startLayoutEffectTimer(), commitHookEffectListUnmount( @@ -10131,20 +10115,24 @@ __DEV__ && finishedWork, includeWorkInProgressEffects ); - if (includeWorkInProgressEffects && flags & 4) - a: for ( - includeWorkInProgressEffects = - finishedWork.stateNode.effectDuration, - commitProfilerUpdate( - finishedWork, - current, - commitTime, - includeWorkInProgressEffects - ), - finishedWork = finishedWork.return; - null !== finishedWork; - - ) { + if (includeWorkInProgressEffects && flags & 4) { + includeWorkInProgressEffects = + finishedWork.stateNode.effectDuration; + flags = finishedWork; + try { + runWithFiberInDEV( + flags, + commitProfiler, + flags, + current, + commitTime, + includeWorkInProgressEffects + ); + } catch (error$20) { + captureCommitPhaseError(flags, flags.return, error$20); + } + finishedWork = finishedWork.return; + a: for (; null !== finishedWork; ) { switch (finishedWork.tag) { case 3: finishedWork.stateNode.effectDuration += @@ -10157,6 +10145,7 @@ __DEV__ && } finishedWork = finishedWork.return; } + } break; case 13: recursivelyTraverseReappearLayoutEffects( @@ -10265,7 +10254,7 @@ __DEV__ && committedLanes, committedTransitions ); - if (flags & 2048 && executionContext & CommitContext) { + if (flags & 2048) { finishedRoot = finishedWork.stateNode.passiveEffectDuration; try { runWithFiberInDEV( @@ -15031,11 +15020,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-www-modern-d7167c35-20240916", + version: "19.0.0-www-modern-8152e5cd-20240916", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-d7167c35-20240916" + reconcilerVersion: "19.0.0-www-modern-8152e5cd-20240916" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15170,5 +15159,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.0.0-www-modern-d7167c35-20240916"; + exports.version = "19.0.0-www-modern-8152e5cd-20240916"; })(); diff --git a/compiled/facebook-www/VERSION_CLASSIC b/compiled/facebook-www/VERSION_CLASSIC index 5dc7ebc0c0386..6794083251695 100644 --- a/compiled/facebook-www/VERSION_CLASSIC +++ b/compiled/facebook-www/VERSION_CLASSIC @@ -1 +1 @@ -19.0.0-www-classic-d7167c35-20240916 \ No newline at end of file +19.0.0-www-classic-8152e5cd-20240916 \ No newline at end of file diff --git a/compiled/facebook-www/VERSION_MODERN b/compiled/facebook-www/VERSION_MODERN index 1242401e0c345..9f661c0cab301 100644 --- a/compiled/facebook-www/VERSION_MODERN +++ b/compiled/facebook-www/VERSION_MODERN @@ -1 +1 @@ -19.0.0-www-modern-d7167c35-20240916 \ No newline at end of file +19.0.0-www-modern-8152e5cd-20240916 \ No newline at end of file