From e3aab58ef9f397697023ae4b25e3880bd7110cf8 Mon Sep 17 00:00:00 2001 From: gnoff Date: Wed, 4 Dec 2024 08:09:37 -0800 Subject: [PATCH] Register Suspense retry handlers in commit phase (#31667) To avoid GC pressure and accidentally hanging onto old trees Suspense boundary retries are now implemented in the commit phase. I used the Callback flag which was previously only used to schedule callbacks for Class components. This isn't quite semantically equivalent but it's unused and seemingly compatible. DiffTrain build for [de68d2f4a2403ad1ef46a3036ddc1f9080640588](https://github.com/facebook/react/commit/de68d2f4a2403ad1ef46a3036ddc1f9080640588) --- compiled/facebook-www/REVISION | 2 +- compiled/facebook-www/REVISION_TRANSFORMS | 2 +- compiled/facebook-www/React-dev.classic.js | 2 +- compiled/facebook-www/React-dev.modern.js | 2 +- compiled/facebook-www/React-prod.classic.js | 2 +- compiled/facebook-www/React-prod.modern.js | 2 +- .../facebook-www/React-profiling.classic.js | 2 +- .../facebook-www/React-profiling.modern.js | 2 +- compiled/facebook-www/ReactART-dev.classic.js | 16 +- compiled/facebook-www/ReactART-dev.modern.js | 16 +- .../facebook-www/ReactART-prod.classic.js | 15 +- compiled/facebook-www/ReactART-prod.modern.js | 15 +- compiled/facebook-www/ReactDOM-dev.classic.js | 378 +++++++++--------- compiled/facebook-www/ReactDOM-dev.modern.js | 378 +++++++++--------- .../facebook-www/ReactDOM-prod.classic.js | 104 ++--- compiled/facebook-www/ReactDOM-prod.modern.js | 104 ++--- .../ReactDOM-profiling.classic.js | 108 ++--- .../facebook-www/ReactDOM-profiling.modern.js | 108 ++--- .../ReactDOMServer-dev.classic.js | 2 +- .../facebook-www/ReactDOMServer-dev.modern.js | 2 +- .../ReactDOMServer-prod.classic.js | 2 +- .../ReactDOMServer-prod.modern.js | 2 +- .../ReactDOMTesting-dev.classic.js | 378 +++++++++--------- .../ReactDOMTesting-dev.modern.js | 378 +++++++++--------- .../ReactDOMTesting-prod.classic.js | 104 ++--- .../ReactDOMTesting-prod.modern.js | 104 ++--- .../ReactReconciler-dev.classic.js | 19 +- .../ReactReconciler-dev.modern.js | 19 +- .../ReactReconciler-prod.classic.js | 19 +- .../ReactReconciler-prod.modern.js | 19 +- .../ReactTestRenderer-dev.classic.js | 16 +- .../ReactTestRenderer-dev.modern.js | 16 +- compiled/facebook-www/VERSION_CLASSIC | 2 +- compiled/facebook-www/VERSION_MODERN | 2 +- 34 files changed, 1222 insertions(+), 1120 deletions(-) diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index b49ff24ac2394..03f9a5144b3b3 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -16d2bbbd1f1617d636ea0fd271b902a12a763c27 +de68d2f4a2403ad1ef46a3036ddc1f9080640588 diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index b49ff24ac2394..03f9a5144b3b3 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -16d2bbbd1f1617d636ea0fd271b902a12a763c27 +de68d2f4a2403ad1ef46a3036ddc1f9080640588 diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 02047d417c220..0db68ea8068f0 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -1841,7 +1841,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-www-classic-16d2bbbd-20241203"; + exports.version = "19.0.0-www-classic-de68d2f4-20241204"; "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 2e3b10de6b453..75a2646d45859 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -1841,7 +1841,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-www-modern-16d2bbbd-20241203"; + exports.version = "19.0.0-www-modern-de68d2f4-20241204"; "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 8e10a4b450626..40af01edb717b 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -634,4 +634,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-classic-16d2bbbd-20241203"; +exports.version = "19.0.0-www-classic-de68d2f4-20241204"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index dd87d62eda5cd..5634021faf4ba 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -634,4 +634,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-modern-16d2bbbd-20241203"; +exports.version = "19.0.0-www-modern-de68d2f4-20241204"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index 84b143c434cc4..9f78a8e38d5d5 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -638,7 +638,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-classic-16d2bbbd-20241203"; +exports.version = "19.0.0-www-classic-de68d2f4-20241204"; "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 4fc7dc3d08fe9..3d7a37707f48e 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -638,7 +638,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-modern-16d2bbbd-20241203"; +exports.version = "19.0.0-www-modern-de68d2f4-20241204"; "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 9f19bd7fc540f..d8a9981ab8892 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -7446,10 +7446,8 @@ __DEV__ && ); } else isSuspenseInstancePending() - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - retryDehydratedSuspenseBoundary.bind(null, current), - registerSuspenseInstanceRetry(), (workInProgress = null)) : ((workInProgress = mountSuspensePrimaryChildren( workInProgress, @@ -10535,6 +10533,12 @@ __DEV__ && break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); + flags & 64 && + ((finishedRoot = finishedWork.memoizedState), + null !== finishedRoot && + null !== finishedRoot.dehydrated && + (retryDehydratedSuspenseBoundary.bind(null, finishedWork), + registerSuspenseInstanceRetry())); break; case 22: prevProps = @@ -17125,11 +17129,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-www-classic-16d2bbbd-20241203", + version: "19.0.0-www-classic-de68d2f4-20241204", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-classic-de68d2f4-20241204" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -17163,7 +17167,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.0.0-www-classic-16d2bbbd-20241203"; + exports.version = "19.0.0-www-classic-de68d2f4-20241204"; "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 d4938791695cb..7f09aa15fed6c 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -7263,10 +7263,8 @@ __DEV__ && ); } else isSuspenseInstancePending() - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - retryDehydratedSuspenseBoundary.bind(null, current), - registerSuspenseInstanceRetry(), (workInProgress = null)) : ((workInProgress = mountSuspensePrimaryChildren( workInProgress, @@ -10339,6 +10337,12 @@ __DEV__ && break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); + flags & 64 && + ((finishedRoot = finishedWork.memoizedState), + null !== finishedRoot && + null !== finishedRoot.dehydrated && + (retryDehydratedSuspenseBoundary.bind(null, finishedWork), + registerSuspenseInstanceRetry())); break; case 22: prevProps = @@ -16888,11 +16892,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-www-modern-16d2bbbd-20241203", + version: "19.0.0-www-modern-de68d2f4-20241204", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-modern-de68d2f4-20241204" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -16926,7 +16930,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.0.0-www-modern-16d2bbbd-20241203"; + exports.version = "19.0.0-www-modern-de68d2f4-20241204"; "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 a25f7663a58b2..93128b6b3b91b 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -5332,10 +5332,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { ); } else shim$2() - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - retryDehydratedSuspenseBoundary.bind(null, current), - shim$2(), (workInProgress = null)) : ((workInProgress = mountSuspensePrimaryChildren( workInProgress, @@ -7518,6 +7516,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); + flags & 64 && + ((flags = finishedWork.memoizedState), + null !== flags && + null !== flags.dehydrated && + (retryDehydratedSuspenseBoundary.bind(null, finishedWork), shim$2())); break; case 22: prevProps = @@ -10824,13 +10827,13 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1509 = { bundleType: 0, - version: "19.0.0-www-classic-16d2bbbd-20241203", + version: "19.0.0-www-classic-de68d2f4-20241204", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: function () { return null; }, - reconcilerVersion: "19.0.0-www-classic-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-classic-de68d2f4-20241204" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1510 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10856,4 +10859,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.0.0-www-classic-16d2bbbd-20241203"; +exports.version = "19.0.0-www-classic-de68d2f4-20241204"; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index 4df73e558c8af..637fae589e2ad 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -5118,10 +5118,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { ); } else shim$2() - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - retryDehydratedSuspenseBoundary.bind(null, current), - shim$2(), (workInProgress = null)) : ((workInProgress = mountSuspensePrimaryChildren( workInProgress, @@ -7278,6 +7276,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); + flags & 64 && + ((flags = finishedWork.memoizedState), + null !== flags && + null !== flags.dehydrated && + (retryDehydratedSuspenseBoundary.bind(null, finishedWork), shim$2())); break; case 22: prevProps = @@ -10540,13 +10543,13 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1488 = { bundleType: 0, - version: "19.0.0-www-modern-16d2bbbd-20241203", + version: "19.0.0-www-modern-de68d2f4-20241204", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: function () { return null; }, - reconcilerVersion: "19.0.0-www-modern-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-modern-de68d2f4-20241204" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1489 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10572,4 +10575,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.0.0-www-modern-16d2bbbd-20241203"; +exports.version = "19.0.0-www-modern-de68d2f4-20241204"; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index 27f49c4f07653..a3b22cfd82111 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -9247,32 +9247,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2514; - var JSCompiler_object_inline_stack_2515 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2513; + var JSCompiler_object_inline_stack_2514 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2516 = !1; + var JSCompiler_object_inline_componentStack_2515 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2514 = didSuspend) || - (JSCompiler_object_inline_digest_2514 = + (JSCompiler_object_inline_digest_2513 = didSuspend) || + (JSCompiler_object_inline_digest_2513 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2514 && - ((JSCompiler_object_inline_componentStack_2516 = !0), + JSCompiler_object_inline_digest_2513 && + ((JSCompiler_object_inline_componentStack_2515 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2514 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2513 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2516 + JSCompiler_object_inline_componentStack_2515 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2513 = nextHydratableInstance; + var JSCompiler_object_inline_message_2512 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2513)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2512)) { c: { - var instance = JSCompiler_object_inline_message_2513; + var instance = JSCompiler_object_inline_message_2512; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9313,46 +9313,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2513 + JSCompiler_object_inline_message_2512 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2513 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2512 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2513 && - ((JSCompiler_object_inline_message_2513 = - JSCompiler_object_inline_message_2513.dehydrated), - null !== JSCompiler_object_inline_message_2513) + null !== JSCompiler_object_inline_message_2512 && + ((JSCompiler_object_inline_message_2512 = + JSCompiler_object_inline_message_2512.dehydrated), + null !== JSCompiler_object_inline_message_2512) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2513) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2512) ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2513 = - JSCompiler_object_inline_stack_2515.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2515.fallback; - if (JSCompiler_object_inline_componentStack_2516) + JSCompiler_object_inline_message_2512 = + JSCompiler_object_inline_stack_2514.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2514.fallback; + if (JSCompiler_object_inline_componentStack_2515) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2515 = + (JSCompiler_object_inline_stack_2514 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2513, + JSCompiler_object_inline_message_2512, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2516 = + (JSCompiler_object_inline_componentStack_2515 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2516.memoizedState = + (JSCompiler_object_inline_componentStack_2515.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2516.childLanes = + (JSCompiler_object_inline_componentStack_2515.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2514, + JSCompiler_object_inline_digest_2513, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9365,9 +9365,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2516.updateQueue), + JSCompiler_object_inline_componentStack_2515.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2516.updateQueue = + ? (JSCompiler_object_inline_componentStack_2515.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9375,46 +9375,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2515 + JSCompiler_object_inline_stack_2514 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2515.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2514.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2515 = + (JSCompiler_object_inline_stack_2514 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2513, + JSCompiler_object_inline_message_2512, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2516 = + (JSCompiler_object_inline_componentStack_2515 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2516.memoizedState = + (JSCompiler_object_inline_componentStack_2515.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2516.childLanes = + (JSCompiler_object_inline_componentStack_2515.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2514, + JSCompiler_object_inline_digest_2513, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2515 + JSCompiler_object_inline_stack_2514 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2513 + JSCompiler_object_inline_message_2512 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2513 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2513) + ((JSCompiler_object_inline_message_2512 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2512) ) { if (didSuspend) workInProgress.flags & 256 @@ -9431,94 +9431,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2516 = - JSCompiler_object_inline_stack_2515.fallback), - (JSCompiler_object_inline_message_2513 = workInProgress.mode), - (JSCompiler_object_inline_stack_2515 = + (JSCompiler_object_inline_componentStack_2515 = + JSCompiler_object_inline_stack_2514.fallback), + (JSCompiler_object_inline_message_2512 = workInProgress.mode), + (JSCompiler_object_inline_stack_2514 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2515.children + children: JSCompiler_object_inline_stack_2514.children }, - JSCompiler_object_inline_message_2513 + JSCompiler_object_inline_message_2512 )), - (JSCompiler_object_inline_componentStack_2516 = + (JSCompiler_object_inline_componentStack_2515 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2516, - JSCompiler_object_inline_message_2513, + JSCompiler_object_inline_componentStack_2515, + JSCompiler_object_inline_message_2512, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2516.flags |= 2), - (JSCompiler_object_inline_stack_2515.return = workInProgress), - (JSCompiler_object_inline_componentStack_2516.return = + (JSCompiler_object_inline_componentStack_2515.flags |= 2), + (JSCompiler_object_inline_stack_2514.return = workInProgress), + (JSCompiler_object_inline_componentStack_2515.return = workInProgress), - (JSCompiler_object_inline_stack_2515.sibling = - JSCompiler_object_inline_componentStack_2516), - (workInProgress.child = JSCompiler_object_inline_stack_2515), + (JSCompiler_object_inline_stack_2514.sibling = + JSCompiler_object_inline_componentStack_2515), + (workInProgress.child = JSCompiler_object_inline_stack_2514), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2515 = workInProgress.child), - (JSCompiler_object_inline_stack_2515.memoizedState = + (JSCompiler_object_inline_stack_2514 = workInProgress.child), + (JSCompiler_object_inline_stack_2514.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2515.childLanes = + (JSCompiler_object_inline_stack_2514.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2514, + JSCompiler_object_inline_digest_2513, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2516)); + JSCompiler_object_inline_componentStack_2515)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2513)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2512)) ) { - JSCompiler_object_inline_digest_2514 = - JSCompiler_object_inline_message_2513.nextSibling && - JSCompiler_object_inline_message_2513.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2514) { - JSCompiler_temp = JSCompiler_object_inline_digest_2514.dgst; - var message = JSCompiler_object_inline_digest_2514.msg; - instance = JSCompiler_object_inline_digest_2514.stck; - var componentStack = JSCompiler_object_inline_digest_2514.cstck; + JSCompiler_object_inline_digest_2513 = + JSCompiler_object_inline_message_2512.nextSibling && + JSCompiler_object_inline_message_2512.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2513) { + JSCompiler_temp = JSCompiler_object_inline_digest_2513.dgst; + var message = JSCompiler_object_inline_digest_2513.msg; + instance = JSCompiler_object_inline_digest_2513.stck; + var componentStack = JSCompiler_object_inline_digest_2513.cstck; } - JSCompiler_object_inline_message_2513 = message; - JSCompiler_object_inline_digest_2514 = JSCompiler_temp; - JSCompiler_object_inline_stack_2515 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2516 = + JSCompiler_object_inline_message_2512 = message; + JSCompiler_object_inline_digest_2513 = JSCompiler_temp; + JSCompiler_object_inline_stack_2514 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2515 = componentStack; - JSCompiler_object_inline_componentStack_2516 = - JSCompiler_object_inline_message_2513 - ? Error(JSCompiler_object_inline_message_2513) + JSCompiler_object_inline_componentStack_2515 = + JSCompiler_object_inline_message_2512 + ? Error(JSCompiler_object_inline_message_2512) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_componentStack_2516.stack = - JSCompiler_object_inline_stack_2515 || ""; - JSCompiler_object_inline_componentStack_2516.digest = - JSCompiler_object_inline_digest_2514; - JSCompiler_object_inline_digest_2514 = + JSCompiler_object_inline_componentStack_2515.stack = + JSCompiler_object_inline_stack_2514 || ""; + JSCompiler_object_inline_componentStack_2515.digest = + JSCompiler_object_inline_digest_2513; + JSCompiler_object_inline_digest_2513 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2515 = { - value: JSCompiler_object_inline_componentStack_2516, + JSCompiler_object_inline_stack_2514 = { + value: JSCompiler_object_inline_componentStack_2515, source: null, - stack: JSCompiler_object_inline_digest_2514 + stack: JSCompiler_object_inline_digest_2513 }; - "string" === typeof JSCompiler_object_inline_digest_2514 && + "string" === typeof JSCompiler_object_inline_digest_2513 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2516, - JSCompiler_object_inline_stack_2515 + JSCompiler_object_inline_componentStack_2515, + JSCompiler_object_inline_stack_2514 ); - queueHydrationError(JSCompiler_object_inline_stack_2515); + queueHydrationError(JSCompiler_object_inline_stack_2514); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9532,25 +9532,25 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2514 = + (JSCompiler_object_inline_digest_2513 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2514) + didReceiveUpdate || JSCompiler_object_inline_digest_2513) ) { - JSCompiler_object_inline_digest_2514 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2514) { - JSCompiler_object_inline_stack_2515 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2515 & 42)) - JSCompiler_object_inline_stack_2515 = 1; + JSCompiler_object_inline_digest_2513 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2513) { + JSCompiler_object_inline_stack_2514 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2514 & 42)) + JSCompiler_object_inline_stack_2514 = 1; else - switch (JSCompiler_object_inline_stack_2515) { + switch (JSCompiler_object_inline_stack_2514) { case 2: - JSCompiler_object_inline_stack_2515 = 1; + JSCompiler_object_inline_stack_2514 = 1; break; case 8: - JSCompiler_object_inline_stack_2515 = 4; + JSCompiler_object_inline_stack_2514 = 4; break; case 32: - JSCompiler_object_inline_stack_2515 = 16; + JSCompiler_object_inline_stack_2514 = 16; break; case 128: case 256: @@ -9571,40 +9571,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2515 = 64; + JSCompiler_object_inline_stack_2514 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2515 = 134217728; + JSCompiler_object_inline_stack_2514 = 134217728; break; default: - JSCompiler_object_inline_stack_2515 = 0; + JSCompiler_object_inline_stack_2514 = 0; } - JSCompiler_object_inline_stack_2515 = + JSCompiler_object_inline_stack_2514 = 0 !== - (JSCompiler_object_inline_stack_2515 & - (JSCompiler_object_inline_digest_2514.suspendedLanes | + (JSCompiler_object_inline_stack_2514 & + (JSCompiler_object_inline_digest_2513.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2515; + : JSCompiler_object_inline_stack_2514; if ( - 0 !== JSCompiler_object_inline_stack_2515 && - JSCompiler_object_inline_stack_2515 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2514 && + JSCompiler_object_inline_stack_2514 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2515), + ((prevState.retryLane = JSCompiler_object_inline_stack_2514), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2515 + JSCompiler_object_inline_stack_2514 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2514, + JSCompiler_object_inline_digest_2513, current, - JSCompiler_object_inline_stack_2515 + JSCompiler_object_inline_stack_2514 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2513.data === + JSCompiler_object_inline_message_2512.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9612,22 +9612,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2513.data === + JSCompiler_object_inline_message_2512.data === SUSPENSE_PENDING_START_DATA - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - (workInProgress = retryDehydratedSuspenseBoundary.bind( - null, - current - )), - registerSuspenseInstanceRetry( - JSCompiler_object_inline_message_2513, - workInProgress - ), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2513.nextSibling + JSCompiler_object_inline_message_2512.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9645,57 +9637,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2515.children + JSCompiler_object_inline_stack_2514.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2516) + if (JSCompiler_object_inline_componentStack_2515) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2516 = - JSCompiler_object_inline_stack_2515.fallback), - (JSCompiler_object_inline_message_2513 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2515 = + JSCompiler_object_inline_stack_2514.fallback), + (JSCompiler_object_inline_message_2512 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2515 = createWorkInProgress( + (JSCompiler_object_inline_stack_2514 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2515.children + children: JSCompiler_object_inline_stack_2514.children } )), - (JSCompiler_object_inline_stack_2515.subtreeFlags = + (JSCompiler_object_inline_stack_2514.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2516 = + ? (JSCompiler_object_inline_componentStack_2515 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2516 + JSCompiler_object_inline_componentStack_2515 )) - : ((JSCompiler_object_inline_componentStack_2516 = + : ((JSCompiler_object_inline_componentStack_2515 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2516, - JSCompiler_object_inline_message_2513, + JSCompiler_object_inline_componentStack_2515, + JSCompiler_object_inline_message_2512, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2516.flags |= 2)), - (JSCompiler_object_inline_componentStack_2516.return = + (JSCompiler_object_inline_componentStack_2515.flags |= 2)), + (JSCompiler_object_inline_componentStack_2515.return = workInProgress), - (JSCompiler_object_inline_stack_2515.return = workInProgress), - (JSCompiler_object_inline_stack_2515.sibling = - JSCompiler_object_inline_componentStack_2516), - (workInProgress.child = JSCompiler_object_inline_stack_2515), - (JSCompiler_object_inline_stack_2515 = - JSCompiler_object_inline_componentStack_2516), - (JSCompiler_object_inline_componentStack_2516 = workInProgress.child), - (JSCompiler_object_inline_message_2513 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2513 - ? (JSCompiler_object_inline_message_2513 = + (JSCompiler_object_inline_stack_2514.return = workInProgress), + (JSCompiler_object_inline_stack_2514.sibling = + JSCompiler_object_inline_componentStack_2515), + (workInProgress.child = JSCompiler_object_inline_stack_2514), + (JSCompiler_object_inline_stack_2514 = + JSCompiler_object_inline_componentStack_2515), + (JSCompiler_object_inline_componentStack_2515 = workInProgress.child), + (JSCompiler_object_inline_message_2512 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2512 + ? (JSCompiler_object_inline_message_2512 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2513.cachePool), + JSCompiler_object_inline_message_2512.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9703,34 +9695,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2513 = { + (JSCompiler_object_inline_message_2512 = { baseLanes: - JSCompiler_object_inline_message_2513.baseLanes | renderLanes, + JSCompiler_object_inline_message_2512.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2516.memoizedState = - JSCompiler_object_inline_message_2513), + (JSCompiler_object_inline_componentStack_2515.memoizedState = + JSCompiler_object_inline_message_2512), enableTransitionTracing && - ((JSCompiler_object_inline_message_2513 = enableTransitionTracing + ((JSCompiler_object_inline_message_2512 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2513 && + null !== JSCompiler_object_inline_message_2512 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2516.updateQueue), + JSCompiler_object_inline_componentStack_2515.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2516.updateQueue = { - transitions: JSCompiler_object_inline_message_2513, + ? (JSCompiler_object_inline_componentStack_2515.updateQueue = { + transitions: JSCompiler_object_inline_message_2512, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2516.updateQueue = + ? (JSCompiler_object_inline_componentStack_2515.updateQueue = { - transitions: JSCompiler_object_inline_message_2513, + transitions: JSCompiler_object_inline_message_2512, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9738,32 +9730,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2513), + JSCompiler_object_inline_message_2512), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2516.childLanes = + (JSCompiler_object_inline_componentStack_2515.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2514, + JSCompiler_object_inline_digest_2513, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2515 + JSCompiler_object_inline_stack_2514 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2515.children + children: JSCompiler_object_inline_stack_2514.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2514 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2514 + ((JSCompiler_object_inline_digest_2513 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2513 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2514.push(current)); + : JSCompiler_object_inline_digest_2513.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -13297,6 +13289,16 @@ __DEV__ && recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); + flags & 64 && + ((finishedRoot = finishedWork.memoizedState), + null !== finishedRoot && + ((finishedRoot = finishedRoot.dehydrated), + null !== finishedRoot && + ((finishedWork = retryDehydratedSuspenseBoundary.bind( + null, + finishedWork + )), + registerSuspenseInstanceRetry(finishedRoot, finishedWork)))); break; case 22: prevProps = @@ -21977,15 +21979,19 @@ __DEV__ && } function registerSuspenseInstanceRetry(instance, callback) { var ownerDocument = instance.ownerDocument; - ownerDocument.readyState !== DOCUMENT_READY_STATE_COMPLETE && - ownerDocument.addEventListener( - "DOMContentLoaded", - function () { - instance.data === SUSPENSE_PENDING_START_DATA && callback(); - }, - { once: !0 } - ); - instance._reactRetry = callback; + if ( + instance.data !== SUSPENSE_PENDING_START_DATA || + ownerDocument.readyState === DOCUMENT_READY_STATE_COMPLETE + ) + callback(); + else { + var listener = function () { + callback(); + ownerDocument.removeEventListener("DOMContentLoaded", listener); + }; + ownerDocument.addEventListener("DOMContentLoaded", listener); + instance._reactRetry = listener; + } } function getNextHydratable(node) { for (; null != node; node = node.nextSibling) { @@ -27563,11 +27569,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-classic-16d2bbbd-20241203" !== isomorphicReactPackageVersion) + if ("19.0.0-www-classic-de68d2f4-20241204" !== 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-16d2bbbd-20241203\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-classic-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27610,11 +27616,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-www-classic-16d2bbbd-20241203", + version: "19.0.0-www-classic-de68d2f4-20241204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-classic-de68d2f4-20241204" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28219,7 +28225,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-classic-16d2bbbd-20241203"; + exports.version = "19.0.0-www-classic-de68d2f4-20241204"; "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 40fd04ed43111..af8d10ed58c5d 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -9059,32 +9059,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2506; - var JSCompiler_object_inline_stack_2507 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2505; + var JSCompiler_object_inline_stack_2506 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2508 = !1; + var JSCompiler_object_inline_componentStack_2507 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2506 = didSuspend) || - (JSCompiler_object_inline_digest_2506 = + (JSCompiler_object_inline_digest_2505 = didSuspend) || + (JSCompiler_object_inline_digest_2505 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2506 && - ((JSCompiler_object_inline_componentStack_2508 = !0), + JSCompiler_object_inline_digest_2505 && + ((JSCompiler_object_inline_componentStack_2507 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2506 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2505 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2508 + JSCompiler_object_inline_componentStack_2507 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2505 = nextHydratableInstance; + var JSCompiler_object_inline_message_2504 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2505)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2504)) { c: { - var instance = JSCompiler_object_inline_message_2505; + var instance = JSCompiler_object_inline_message_2504; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9125,46 +9125,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2505 + JSCompiler_object_inline_message_2504 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2505 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2504 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2505 && - ((JSCompiler_object_inline_message_2505 = - JSCompiler_object_inline_message_2505.dehydrated), - null !== JSCompiler_object_inline_message_2505) + null !== JSCompiler_object_inline_message_2504 && + ((JSCompiler_object_inline_message_2504 = + JSCompiler_object_inline_message_2504.dehydrated), + null !== JSCompiler_object_inline_message_2504) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2505) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2504) ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2505 = - JSCompiler_object_inline_stack_2507.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2507.fallback; - if (JSCompiler_object_inline_componentStack_2508) + JSCompiler_object_inline_message_2504 = + JSCompiler_object_inline_stack_2506.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2506.fallback; + if (JSCompiler_object_inline_componentStack_2507) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2507 = + (JSCompiler_object_inline_stack_2506 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2505, + JSCompiler_object_inline_message_2504, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2508 = + (JSCompiler_object_inline_componentStack_2507 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2508.memoizedState = + (JSCompiler_object_inline_componentStack_2507.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2508.childLanes = + (JSCompiler_object_inline_componentStack_2507.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2506, + JSCompiler_object_inline_digest_2505, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9177,9 +9177,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2508.updateQueue), + JSCompiler_object_inline_componentStack_2507.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2508.updateQueue = + ? (JSCompiler_object_inline_componentStack_2507.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9187,46 +9187,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2507 + JSCompiler_object_inline_stack_2506 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2507.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2506.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2507 = + (JSCompiler_object_inline_stack_2506 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2505, + JSCompiler_object_inline_message_2504, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2508 = + (JSCompiler_object_inline_componentStack_2507 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2508.memoizedState = + (JSCompiler_object_inline_componentStack_2507.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2508.childLanes = + (JSCompiler_object_inline_componentStack_2507.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2506, + JSCompiler_object_inline_digest_2505, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2507 + JSCompiler_object_inline_stack_2506 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2505 + JSCompiler_object_inline_message_2504 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2505 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2505) + ((JSCompiler_object_inline_message_2504 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2504) ) { if (didSuspend) workInProgress.flags & 256 @@ -9243,94 +9243,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2508 = - JSCompiler_object_inline_stack_2507.fallback), - (JSCompiler_object_inline_message_2505 = workInProgress.mode), - (JSCompiler_object_inline_stack_2507 = + (JSCompiler_object_inline_componentStack_2507 = + JSCompiler_object_inline_stack_2506.fallback), + (JSCompiler_object_inline_message_2504 = workInProgress.mode), + (JSCompiler_object_inline_stack_2506 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2507.children + children: JSCompiler_object_inline_stack_2506.children }, - JSCompiler_object_inline_message_2505 + JSCompiler_object_inline_message_2504 )), - (JSCompiler_object_inline_componentStack_2508 = + (JSCompiler_object_inline_componentStack_2507 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2508, - JSCompiler_object_inline_message_2505, + JSCompiler_object_inline_componentStack_2507, + JSCompiler_object_inline_message_2504, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2508.flags |= 2), - (JSCompiler_object_inline_stack_2507.return = workInProgress), - (JSCompiler_object_inline_componentStack_2508.return = + (JSCompiler_object_inline_componentStack_2507.flags |= 2), + (JSCompiler_object_inline_stack_2506.return = workInProgress), + (JSCompiler_object_inline_componentStack_2507.return = workInProgress), - (JSCompiler_object_inline_stack_2507.sibling = - JSCompiler_object_inline_componentStack_2508), - (workInProgress.child = JSCompiler_object_inline_stack_2507), + (JSCompiler_object_inline_stack_2506.sibling = + JSCompiler_object_inline_componentStack_2507), + (workInProgress.child = JSCompiler_object_inline_stack_2506), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2507 = workInProgress.child), - (JSCompiler_object_inline_stack_2507.memoizedState = + (JSCompiler_object_inline_stack_2506 = workInProgress.child), + (JSCompiler_object_inline_stack_2506.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2507.childLanes = + (JSCompiler_object_inline_stack_2506.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2506, + JSCompiler_object_inline_digest_2505, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2508)); + JSCompiler_object_inline_componentStack_2507)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2505)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2504)) ) { - JSCompiler_object_inline_digest_2506 = - JSCompiler_object_inline_message_2505.nextSibling && - JSCompiler_object_inline_message_2505.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2506) { - JSCompiler_temp = JSCompiler_object_inline_digest_2506.dgst; - var message = JSCompiler_object_inline_digest_2506.msg; - instance = JSCompiler_object_inline_digest_2506.stck; - var componentStack = JSCompiler_object_inline_digest_2506.cstck; + JSCompiler_object_inline_digest_2505 = + JSCompiler_object_inline_message_2504.nextSibling && + JSCompiler_object_inline_message_2504.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2505) { + JSCompiler_temp = JSCompiler_object_inline_digest_2505.dgst; + var message = JSCompiler_object_inline_digest_2505.msg; + instance = JSCompiler_object_inline_digest_2505.stck; + var componentStack = JSCompiler_object_inline_digest_2505.cstck; } - JSCompiler_object_inline_message_2505 = message; - JSCompiler_object_inline_digest_2506 = JSCompiler_temp; - JSCompiler_object_inline_stack_2507 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2508 = + JSCompiler_object_inline_message_2504 = message; + JSCompiler_object_inline_digest_2505 = JSCompiler_temp; + JSCompiler_object_inline_stack_2506 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2507 = componentStack; - JSCompiler_object_inline_componentStack_2508 = - JSCompiler_object_inline_message_2505 - ? Error(JSCompiler_object_inline_message_2505) + JSCompiler_object_inline_componentStack_2507 = + JSCompiler_object_inline_message_2504 + ? Error(JSCompiler_object_inline_message_2504) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_componentStack_2508.stack = - JSCompiler_object_inline_stack_2507 || ""; - JSCompiler_object_inline_componentStack_2508.digest = - JSCompiler_object_inline_digest_2506; - JSCompiler_object_inline_digest_2506 = + JSCompiler_object_inline_componentStack_2507.stack = + JSCompiler_object_inline_stack_2506 || ""; + JSCompiler_object_inline_componentStack_2507.digest = + JSCompiler_object_inline_digest_2505; + JSCompiler_object_inline_digest_2505 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2507 = { - value: JSCompiler_object_inline_componentStack_2508, + JSCompiler_object_inline_stack_2506 = { + value: JSCompiler_object_inline_componentStack_2507, source: null, - stack: JSCompiler_object_inline_digest_2506 + stack: JSCompiler_object_inline_digest_2505 }; - "string" === typeof JSCompiler_object_inline_digest_2506 && + "string" === typeof JSCompiler_object_inline_digest_2505 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2508, - JSCompiler_object_inline_stack_2507 + JSCompiler_object_inline_componentStack_2507, + JSCompiler_object_inline_stack_2506 ); - queueHydrationError(JSCompiler_object_inline_stack_2507); + queueHydrationError(JSCompiler_object_inline_stack_2506); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9344,25 +9344,25 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2506 = + (JSCompiler_object_inline_digest_2505 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2506) + didReceiveUpdate || JSCompiler_object_inline_digest_2505) ) { - JSCompiler_object_inline_digest_2506 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2506) { - JSCompiler_object_inline_stack_2507 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2507 & 42)) - JSCompiler_object_inline_stack_2507 = 1; + JSCompiler_object_inline_digest_2505 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2505) { + JSCompiler_object_inline_stack_2506 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2506 & 42)) + JSCompiler_object_inline_stack_2506 = 1; else - switch (JSCompiler_object_inline_stack_2507) { + switch (JSCompiler_object_inline_stack_2506) { case 2: - JSCompiler_object_inline_stack_2507 = 1; + JSCompiler_object_inline_stack_2506 = 1; break; case 8: - JSCompiler_object_inline_stack_2507 = 4; + JSCompiler_object_inline_stack_2506 = 4; break; case 32: - JSCompiler_object_inline_stack_2507 = 16; + JSCompiler_object_inline_stack_2506 = 16; break; case 128: case 256: @@ -9383,40 +9383,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2507 = 64; + JSCompiler_object_inline_stack_2506 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2507 = 134217728; + JSCompiler_object_inline_stack_2506 = 134217728; break; default: - JSCompiler_object_inline_stack_2507 = 0; + JSCompiler_object_inline_stack_2506 = 0; } - JSCompiler_object_inline_stack_2507 = + JSCompiler_object_inline_stack_2506 = 0 !== - (JSCompiler_object_inline_stack_2507 & - (JSCompiler_object_inline_digest_2506.suspendedLanes | + (JSCompiler_object_inline_stack_2506 & + (JSCompiler_object_inline_digest_2505.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2507; + : JSCompiler_object_inline_stack_2506; if ( - 0 !== JSCompiler_object_inline_stack_2507 && - JSCompiler_object_inline_stack_2507 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2506 && + JSCompiler_object_inline_stack_2506 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2507), + ((prevState.retryLane = JSCompiler_object_inline_stack_2506), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2507 + JSCompiler_object_inline_stack_2506 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2506, + JSCompiler_object_inline_digest_2505, current, - JSCompiler_object_inline_stack_2507 + JSCompiler_object_inline_stack_2506 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2505.data === + JSCompiler_object_inline_message_2504.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9424,22 +9424,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2505.data === + JSCompiler_object_inline_message_2504.data === SUSPENSE_PENDING_START_DATA - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - (workInProgress = retryDehydratedSuspenseBoundary.bind( - null, - current - )), - registerSuspenseInstanceRetry( - JSCompiler_object_inline_message_2505, - workInProgress - ), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2505.nextSibling + JSCompiler_object_inline_message_2504.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9457,57 +9449,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2507.children + JSCompiler_object_inline_stack_2506.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2508) + if (JSCompiler_object_inline_componentStack_2507) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2508 = - JSCompiler_object_inline_stack_2507.fallback), - (JSCompiler_object_inline_message_2505 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2507 = + JSCompiler_object_inline_stack_2506.fallback), + (JSCompiler_object_inline_message_2504 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2507 = createWorkInProgress( + (JSCompiler_object_inline_stack_2506 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2507.children + children: JSCompiler_object_inline_stack_2506.children } )), - (JSCompiler_object_inline_stack_2507.subtreeFlags = + (JSCompiler_object_inline_stack_2506.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2508 = + ? (JSCompiler_object_inline_componentStack_2507 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2508 + JSCompiler_object_inline_componentStack_2507 )) - : ((JSCompiler_object_inline_componentStack_2508 = + : ((JSCompiler_object_inline_componentStack_2507 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2508, - JSCompiler_object_inline_message_2505, + JSCompiler_object_inline_componentStack_2507, + JSCompiler_object_inline_message_2504, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2508.flags |= 2)), - (JSCompiler_object_inline_componentStack_2508.return = + (JSCompiler_object_inline_componentStack_2507.flags |= 2)), + (JSCompiler_object_inline_componentStack_2507.return = workInProgress), - (JSCompiler_object_inline_stack_2507.return = workInProgress), - (JSCompiler_object_inline_stack_2507.sibling = - JSCompiler_object_inline_componentStack_2508), - (workInProgress.child = JSCompiler_object_inline_stack_2507), - (JSCompiler_object_inline_stack_2507 = - JSCompiler_object_inline_componentStack_2508), - (JSCompiler_object_inline_componentStack_2508 = workInProgress.child), - (JSCompiler_object_inline_message_2505 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2505 - ? (JSCompiler_object_inline_message_2505 = + (JSCompiler_object_inline_stack_2506.return = workInProgress), + (JSCompiler_object_inline_stack_2506.sibling = + JSCompiler_object_inline_componentStack_2507), + (workInProgress.child = JSCompiler_object_inline_stack_2506), + (JSCompiler_object_inline_stack_2506 = + JSCompiler_object_inline_componentStack_2507), + (JSCompiler_object_inline_componentStack_2507 = workInProgress.child), + (JSCompiler_object_inline_message_2504 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2504 + ? (JSCompiler_object_inline_message_2504 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2505.cachePool), + JSCompiler_object_inline_message_2504.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9515,34 +9507,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2505 = { + (JSCompiler_object_inline_message_2504 = { baseLanes: - JSCompiler_object_inline_message_2505.baseLanes | renderLanes, + JSCompiler_object_inline_message_2504.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2508.memoizedState = - JSCompiler_object_inline_message_2505), + (JSCompiler_object_inline_componentStack_2507.memoizedState = + JSCompiler_object_inline_message_2504), enableTransitionTracing && - ((JSCompiler_object_inline_message_2505 = enableTransitionTracing + ((JSCompiler_object_inline_message_2504 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2505 && + null !== JSCompiler_object_inline_message_2504 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2508.updateQueue), + JSCompiler_object_inline_componentStack_2507.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2508.updateQueue = { - transitions: JSCompiler_object_inline_message_2505, + ? (JSCompiler_object_inline_componentStack_2507.updateQueue = { + transitions: JSCompiler_object_inline_message_2504, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2508.updateQueue = + ? (JSCompiler_object_inline_componentStack_2507.updateQueue = { - transitions: JSCompiler_object_inline_message_2505, + transitions: JSCompiler_object_inline_message_2504, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9550,32 +9542,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2505), + JSCompiler_object_inline_message_2504), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2508.childLanes = + (JSCompiler_object_inline_componentStack_2507.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2506, + JSCompiler_object_inline_digest_2505, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2507 + JSCompiler_object_inline_stack_2506 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2507.children + children: JSCompiler_object_inline_stack_2506.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2506 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2506 + ((JSCompiler_object_inline_digest_2505 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2505 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2506.push(current)); + : JSCompiler_object_inline_digest_2505.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -13096,6 +13088,16 @@ __DEV__ && recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); + flags & 64 && + ((finishedRoot = finishedWork.memoizedState), + null !== finishedRoot && + ((finishedRoot = finishedRoot.dehydrated), + null !== finishedRoot && + ((finishedWork = retryDehydratedSuspenseBoundary.bind( + null, + finishedWork + )), + registerSuspenseInstanceRetry(finishedRoot, finishedWork)))); break; case 22: prevProps = @@ -21764,15 +21766,19 @@ __DEV__ && } function registerSuspenseInstanceRetry(instance, callback) { var ownerDocument = instance.ownerDocument; - ownerDocument.readyState !== DOCUMENT_READY_STATE_COMPLETE && - ownerDocument.addEventListener( - "DOMContentLoaded", - function () { - instance.data === SUSPENSE_PENDING_START_DATA && callback(); - }, - { once: !0 } - ); - instance._reactRetry = callback; + if ( + instance.data !== SUSPENSE_PENDING_START_DATA || + ownerDocument.readyState === DOCUMENT_READY_STATE_COMPLETE + ) + callback(); + else { + var listener = function () { + callback(); + ownerDocument.removeEventListener("DOMContentLoaded", listener); + }; + ownerDocument.addEventListener("DOMContentLoaded", listener); + instance._reactRetry = listener; + } } function getNextHydratable(node) { for (; null != node; node = node.nextSibling) { @@ -27342,11 +27348,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-modern-16d2bbbd-20241203" !== isomorphicReactPackageVersion) + if ("19.0.0-www-modern-de68d2f4-20241204" !== 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-16d2bbbd-20241203\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-modern-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27389,11 +27395,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-www-modern-16d2bbbd-20241203", + version: "19.0.0-www-modern-de68d2f4-20241204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-modern-de68d2f4-20241204" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -27998,7 +28004,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-modern-16d2bbbd-20241203"; + exports.version = "19.0.0-www-modern-de68d2f4-20241204"; "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 6e12ebcef00d1..3d1333731279e 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -6384,13 +6384,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { ); } else "$?" === nextInstance.data - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - (workInProgress = retryDehydratedSuspenseBoundary.bind( - null, - current - )), - registerSuspenseInstanceRetry(nextInstance, workInProgress), (workInProgress = null)) : ((current = JSCompiler_temp$jscomp$0.treeContext), (nextHydratableInstance = getNextHydratable( @@ -9024,6 +9019,16 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); + flags & 64 && + ((flags = finishedWork.memoizedState), + null !== flags && + ((flags = flags.dehydrated), + null !== flags && + ((finishedWork = retryDehydratedSuspenseBoundary.bind( + null, + finishedWork + )), + registerSuspenseInstanceRetry(flags, finishedWork)))); break; case 22: prevProps = @@ -13254,14 +13259,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$354; if (canUseDOM) { - var isSupported$jscomp$inline_1561 = "oninput" in document; - if (!isSupported$jscomp$inline_1561) { - var element$jscomp$inline_1562 = document.createElement("div"); - element$jscomp$inline_1562.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1561 = - "function" === typeof element$jscomp$inline_1562.oninput; + var isSupported$jscomp$inline_1560 = "oninput" in document; + if (!isSupported$jscomp$inline_1560) { + var element$jscomp$inline_1561 = document.createElement("div"); + element$jscomp$inline_1561.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1560 = + "function" === typeof element$jscomp$inline_1561.oninput; } - JSCompiler_inline_result$jscomp$354 = isSupported$jscomp$inline_1561; + JSCompiler_inline_result$jscomp$354 = isSupported$jscomp$inline_1560; } else JSCompiler_inline_result$jscomp$354 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$354 && @@ -13675,20 +13680,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1602 = 0; - i$jscomp$inline_1602 < simpleEventPluginEvents.length; - i$jscomp$inline_1602++ + var i$jscomp$inline_1601 = 0; + i$jscomp$inline_1601 < simpleEventPluginEvents.length; + i$jscomp$inline_1601++ ) { - var eventName$jscomp$inline_1603 = - simpleEventPluginEvents[i$jscomp$inline_1602], - domEventName$jscomp$inline_1604 = - eventName$jscomp$inline_1603.toLowerCase(), - capitalizedEvent$jscomp$inline_1605 = - eventName$jscomp$inline_1603[0].toUpperCase() + - eventName$jscomp$inline_1603.slice(1); + var eventName$jscomp$inline_1602 = + simpleEventPluginEvents[i$jscomp$inline_1601], + domEventName$jscomp$inline_1603 = + eventName$jscomp$inline_1602.toLowerCase(), + capitalizedEvent$jscomp$inline_1604 = + eventName$jscomp$inline_1602[0].toUpperCase() + + eventName$jscomp$inline_1602.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1604, - "on" + capitalizedEvent$jscomp$inline_1605 + domEventName$jscomp$inline_1603, + "on" + capitalizedEvent$jscomp$inline_1604 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -15721,15 +15726,16 @@ function isSuspenseInstanceFallback(instance) { } function registerSuspenseInstanceRetry(instance, callback) { var ownerDocument = instance.ownerDocument; - "complete" !== ownerDocument.readyState && - ownerDocument.addEventListener( - "DOMContentLoaded", - function () { - "$?" === instance.data && callback(); - }, - { once: !0 } - ); - instance._reactRetry = callback; + if ("$?" !== instance.data || "complete" === ownerDocument.readyState) + callback(); + else { + var listener = function () { + callback(); + ownerDocument.removeEventListener("DOMContentLoaded", listener); + }; + ownerDocument.addEventListener("DOMContentLoaded", listener); + instance._reactRetry = listener; + } } function getNextHydratable(node) { for (; null != node; node = node.nextSibling) { @@ -17269,16 +17275,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1775 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1774 = React.version; if ( - "19.0.0-www-classic-16d2bbbd-20241203" !== - isomorphicReactPackageVersion$jscomp$inline_1775 + "19.0.0-www-classic-de68d2f4-20241204" !== + isomorphicReactPackageVersion$jscomp$inline_1774 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1775, - "19.0.0-www-classic-16d2bbbd-20241203" + isomorphicReactPackageVersion$jscomp$inline_1774, + "19.0.0-www-classic-de68d2f4-20241204" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17294,25 +17300,25 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2316 = { +var internals$jscomp$inline_2315 = { bundleType: 0, - version: "19.0.0-www-classic-16d2bbbd-20241203", + version: "19.0.0-www-classic-de68d2f4-20241204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-classic-de68d2f4-20241204" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2317 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2316 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2317.isDisabled && - hook$jscomp$inline_2317.supportsFiber + !hook$jscomp$inline_2316.isDisabled && + hook$jscomp$inline_2316.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2317.inject( - internals$jscomp$inline_2316 + (rendererID = hook$jscomp$inline_2316.inject( + internals$jscomp$inline_2315 )), - (injectedHook = hook$jscomp$inline_2317); + (injectedHook = hook$jscomp$inline_2316); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -17663,4 +17669,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-16d2bbbd-20241203"; +exports.version = "19.0.0-www-classic-de68d2f4-20241204"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index 585a321770e64..76e661d448cd5 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -6158,13 +6158,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { ); } else "$?" === nextInstance.data - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - (workInProgress = retryDehydratedSuspenseBoundary.bind( - null, - current - )), - registerSuspenseInstanceRetry(nextInstance, workInProgress), (workInProgress = null)) : ((current = JSCompiler_temp$jscomp$0.treeContext), (nextHydratableInstance = getNextHydratable( @@ -8775,6 +8770,16 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); + flags & 64 && + ((flags = finishedWork.memoizedState), + null !== flags && + ((flags = flags.dehydrated), + null !== flags && + ((finishedWork = retryDehydratedSuspenseBoundary.bind( + null, + finishedWork + )), + registerSuspenseInstanceRetry(flags, finishedWork)))); break; case 22: prevProps = @@ -12990,14 +12995,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$357; if (canUseDOM) { - var isSupported$jscomp$inline_1551 = "oninput" in document; - if (!isSupported$jscomp$inline_1551) { - var element$jscomp$inline_1552 = document.createElement("div"); - element$jscomp$inline_1552.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1551 = - "function" === typeof element$jscomp$inline_1552.oninput; + var isSupported$jscomp$inline_1550 = "oninput" in document; + if (!isSupported$jscomp$inline_1550) { + var element$jscomp$inline_1551 = document.createElement("div"); + element$jscomp$inline_1551.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1550 = + "function" === typeof element$jscomp$inline_1551.oninput; } - JSCompiler_inline_result$jscomp$357 = isSupported$jscomp$inline_1551; + JSCompiler_inline_result$jscomp$357 = isSupported$jscomp$inline_1550; } else JSCompiler_inline_result$jscomp$357 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$357 && @@ -13411,20 +13416,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1592 = 0; - i$jscomp$inline_1592 < simpleEventPluginEvents.length; - i$jscomp$inline_1592++ + var i$jscomp$inline_1591 = 0; + i$jscomp$inline_1591 < simpleEventPluginEvents.length; + i$jscomp$inline_1591++ ) { - var eventName$jscomp$inline_1593 = - simpleEventPluginEvents[i$jscomp$inline_1592], - domEventName$jscomp$inline_1594 = - eventName$jscomp$inline_1593.toLowerCase(), - capitalizedEvent$jscomp$inline_1595 = - eventName$jscomp$inline_1593[0].toUpperCase() + - eventName$jscomp$inline_1593.slice(1); + var eventName$jscomp$inline_1592 = + simpleEventPluginEvents[i$jscomp$inline_1591], + domEventName$jscomp$inline_1593 = + eventName$jscomp$inline_1592.toLowerCase(), + capitalizedEvent$jscomp$inline_1594 = + eventName$jscomp$inline_1592[0].toUpperCase() + + eventName$jscomp$inline_1592.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1594, - "on" + capitalizedEvent$jscomp$inline_1595 + domEventName$jscomp$inline_1593, + "on" + capitalizedEvent$jscomp$inline_1594 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -15452,15 +15457,16 @@ function isSuspenseInstanceFallback(instance) { } function registerSuspenseInstanceRetry(instance, callback) { var ownerDocument = instance.ownerDocument; - "complete" !== ownerDocument.readyState && - ownerDocument.addEventListener( - "DOMContentLoaded", - function () { - "$?" === instance.data && callback(); - }, - { once: !0 } - ); - instance._reactRetry = callback; + if ("$?" !== instance.data || "complete" === ownerDocument.readyState) + callback(); + else { + var listener = function () { + callback(); + ownerDocument.removeEventListener("DOMContentLoaded", listener); + }; + ownerDocument.addEventListener("DOMContentLoaded", listener); + instance._reactRetry = listener; + } } function getNextHydratable(node) { for (; null != node; node = node.nextSibling) { @@ -17000,16 +17006,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1765 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1764 = React.version; if ( - "19.0.0-www-modern-16d2bbbd-20241203" !== - isomorphicReactPackageVersion$jscomp$inline_1765 + "19.0.0-www-modern-de68d2f4-20241204" !== + isomorphicReactPackageVersion$jscomp$inline_1764 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1765, - "19.0.0-www-modern-16d2bbbd-20241203" + isomorphicReactPackageVersion$jscomp$inline_1764, + "19.0.0-www-modern-de68d2f4-20241204" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17025,25 +17031,25 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2298 = { +var internals$jscomp$inline_2297 = { bundleType: 0, - version: "19.0.0-www-modern-16d2bbbd-20241203", + version: "19.0.0-www-modern-de68d2f4-20241204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-modern-de68d2f4-20241204" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2299 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2298 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2299.isDisabled && - hook$jscomp$inline_2299.supportsFiber + !hook$jscomp$inline_2298.isDisabled && + hook$jscomp$inline_2298.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2299.inject( - internals$jscomp$inline_2298 + (rendererID = hook$jscomp$inline_2298.inject( + internals$jscomp$inline_2297 )), - (injectedHook = hook$jscomp$inline_2299); + (injectedHook = hook$jscomp$inline_2298); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -17394,4 +17400,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-16d2bbbd-20241203"; +exports.version = "19.0.0-www-modern-de68d2f4-20241204"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index 1e5557fd38a56..3587c9a93a1d0 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -6572,13 +6572,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { ); } else "$?" === nextInstance.data - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - (workInProgress = retryDehydratedSuspenseBoundary.bind( - null, - current - )), - registerSuspenseInstanceRetry(nextInstance, workInProgress), (workInProgress = null)) : ((current = JSCompiler_temp$jscomp$0.treeContext), (nextHydratableInstance = getNextHydratable( @@ -9509,6 +9504,16 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); + flags & 64 && + ((finishedRoot = finishedWork.memoizedState), + null !== finishedRoot && + ((finishedRoot = finishedRoot.dehydrated), + null !== finishedRoot && + ((finishedWork = retryDehydratedSuspenseBoundary.bind( + null, + finishedWork + )), + registerSuspenseInstanceRetry(finishedRoot, finishedWork)))); break; case 22: prevProps = @@ -13943,14 +13948,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$371; if (canUseDOM) { - var isSupported$jscomp$inline_1654 = "oninput" in document; - if (!isSupported$jscomp$inline_1654) { - var element$jscomp$inline_1655 = document.createElement("div"); - element$jscomp$inline_1655.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1654 = - "function" === typeof element$jscomp$inline_1655.oninput; + var isSupported$jscomp$inline_1653 = "oninput" in document; + if (!isSupported$jscomp$inline_1653) { + var element$jscomp$inline_1654 = document.createElement("div"); + element$jscomp$inline_1654.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1653 = + "function" === typeof element$jscomp$inline_1654.oninput; } - JSCompiler_inline_result$jscomp$371 = isSupported$jscomp$inline_1654; + JSCompiler_inline_result$jscomp$371 = isSupported$jscomp$inline_1653; } else JSCompiler_inline_result$jscomp$371 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$371 && @@ -14364,20 +14369,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1695 = 0; - i$jscomp$inline_1695 < simpleEventPluginEvents.length; - i$jscomp$inline_1695++ + var i$jscomp$inline_1694 = 0; + i$jscomp$inline_1694 < simpleEventPluginEvents.length; + i$jscomp$inline_1694++ ) { - var eventName$jscomp$inline_1696 = - simpleEventPluginEvents[i$jscomp$inline_1695], - domEventName$jscomp$inline_1697 = - eventName$jscomp$inline_1696.toLowerCase(), - capitalizedEvent$jscomp$inline_1698 = - eventName$jscomp$inline_1696[0].toUpperCase() + - eventName$jscomp$inline_1696.slice(1); + var eventName$jscomp$inline_1695 = + simpleEventPluginEvents[i$jscomp$inline_1694], + domEventName$jscomp$inline_1696 = + eventName$jscomp$inline_1695.toLowerCase(), + capitalizedEvent$jscomp$inline_1697 = + eventName$jscomp$inline_1695[0].toUpperCase() + + eventName$jscomp$inline_1695.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1697, - "on" + capitalizedEvent$jscomp$inline_1698 + domEventName$jscomp$inline_1696, + "on" + capitalizedEvent$jscomp$inline_1697 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -16410,15 +16415,16 @@ function isSuspenseInstanceFallback(instance) { } function registerSuspenseInstanceRetry(instance, callback) { var ownerDocument = instance.ownerDocument; - "complete" !== ownerDocument.readyState && - ownerDocument.addEventListener( - "DOMContentLoaded", - function () { - "$?" === instance.data && callback(); - }, - { once: !0 } - ); - instance._reactRetry = callback; + if ("$?" !== instance.data || "complete" === ownerDocument.readyState) + callback(); + else { + var listener = function () { + callback(); + ownerDocument.removeEventListener("DOMContentLoaded", listener); + }; + ownerDocument.addEventListener("DOMContentLoaded", listener); + instance._reactRetry = listener; + } } function getNextHydratable(node) { for (; null != node; node = node.nextSibling) { @@ -17958,16 +17964,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1868 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1867 = React.version; if ( - "19.0.0-www-classic-16d2bbbd-20241203" !== - isomorphicReactPackageVersion$jscomp$inline_1868 + "19.0.0-www-classic-de68d2f4-20241204" !== + isomorphicReactPackageVersion$jscomp$inline_1867 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1868, - "19.0.0-www-classic-16d2bbbd-20241203" + isomorphicReactPackageVersion$jscomp$inline_1867, + "19.0.0-www-classic-de68d2f4-20241204" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17983,28 +17989,28 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_1870 = { +var internals$jscomp$inline_1869 = { bundleType: 0, - version: "19.0.0-www-classic-16d2bbbd-20241203", + version: "19.0.0-www-classic-de68d2f4-20241204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-classic-de68d2f4-20241204" }; enableSchedulingProfiler && - ((internals$jscomp$inline_1870.getLaneLabelMap = getLaneLabelMap), - (internals$jscomp$inline_1870.injectProfilingHooks = injectProfilingHooks)); + ((internals$jscomp$inline_1869.getLaneLabelMap = getLaneLabelMap), + (internals$jscomp$inline_1869.injectProfilingHooks = injectProfilingHooks)); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2368 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2367 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2368.isDisabled && - hook$jscomp$inline_2368.supportsFiber + !hook$jscomp$inline_2367.isDisabled && + hook$jscomp$inline_2367.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2368.inject( - internals$jscomp$inline_1870 + (rendererID = hook$jscomp$inline_2367.inject( + internals$jscomp$inline_1869 )), - (injectedHook = hook$jscomp$inline_2368); + (injectedHook = hook$jscomp$inline_2367); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -18355,7 +18361,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-16d2bbbd-20241203"; +exports.version = "19.0.0-www-classic-de68d2f4-20241204"; "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 b8368a3952bf1..eb9e5d5c55b31 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -6345,13 +6345,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { ); } else "$?" === nextInstance.data - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - (workInProgress = retryDehydratedSuspenseBoundary.bind( - null, - current - )), - registerSuspenseInstanceRetry(nextInstance, workInProgress), (workInProgress = null)) : ((current = JSCompiler_temp$jscomp$0.treeContext), (nextHydratableInstance = getNextHydratable( @@ -9259,6 +9254,16 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); + flags & 64 && + ((finishedRoot = finishedWork.memoizedState), + null !== finishedRoot && + ((finishedRoot = finishedRoot.dehydrated), + null !== finishedRoot && + ((finishedWork = retryDehydratedSuspenseBoundary.bind( + null, + finishedWork + )), + registerSuspenseInstanceRetry(finishedRoot, finishedWork)))); break; case 22: prevProps = @@ -13678,14 +13683,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$374; if (canUseDOM) { - var isSupported$jscomp$inline_1644 = "oninput" in document; - if (!isSupported$jscomp$inline_1644) { - var element$jscomp$inline_1645 = document.createElement("div"); - element$jscomp$inline_1645.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1644 = - "function" === typeof element$jscomp$inline_1645.oninput; + var isSupported$jscomp$inline_1643 = "oninput" in document; + if (!isSupported$jscomp$inline_1643) { + var element$jscomp$inline_1644 = document.createElement("div"); + element$jscomp$inline_1644.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1643 = + "function" === typeof element$jscomp$inline_1644.oninput; } - JSCompiler_inline_result$jscomp$374 = isSupported$jscomp$inline_1644; + JSCompiler_inline_result$jscomp$374 = isSupported$jscomp$inline_1643; } else JSCompiler_inline_result$jscomp$374 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$374 && @@ -14099,20 +14104,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1685 = 0; - i$jscomp$inline_1685 < simpleEventPluginEvents.length; - i$jscomp$inline_1685++ + var i$jscomp$inline_1684 = 0; + i$jscomp$inline_1684 < simpleEventPluginEvents.length; + i$jscomp$inline_1684++ ) { - var eventName$jscomp$inline_1686 = - simpleEventPluginEvents[i$jscomp$inline_1685], - domEventName$jscomp$inline_1687 = - eventName$jscomp$inline_1686.toLowerCase(), - capitalizedEvent$jscomp$inline_1688 = - eventName$jscomp$inline_1686[0].toUpperCase() + - eventName$jscomp$inline_1686.slice(1); + var eventName$jscomp$inline_1685 = + simpleEventPluginEvents[i$jscomp$inline_1684], + domEventName$jscomp$inline_1686 = + eventName$jscomp$inline_1685.toLowerCase(), + capitalizedEvent$jscomp$inline_1687 = + eventName$jscomp$inline_1685[0].toUpperCase() + + eventName$jscomp$inline_1685.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1687, - "on" + capitalizedEvent$jscomp$inline_1688 + domEventName$jscomp$inline_1686, + "on" + capitalizedEvent$jscomp$inline_1687 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -16140,15 +16145,16 @@ function isSuspenseInstanceFallback(instance) { } function registerSuspenseInstanceRetry(instance, callback) { var ownerDocument = instance.ownerDocument; - "complete" !== ownerDocument.readyState && - ownerDocument.addEventListener( - "DOMContentLoaded", - function () { - "$?" === instance.data && callback(); - }, - { once: !0 } - ); - instance._reactRetry = callback; + if ("$?" !== instance.data || "complete" === ownerDocument.readyState) + callback(); + else { + var listener = function () { + callback(); + ownerDocument.removeEventListener("DOMContentLoaded", listener); + }; + ownerDocument.addEventListener("DOMContentLoaded", listener); + instance._reactRetry = listener; + } } function getNextHydratable(node) { for (; null != node; node = node.nextSibling) { @@ -17688,16 +17694,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1858 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1857 = React.version; if ( - "19.0.0-www-modern-16d2bbbd-20241203" !== - isomorphicReactPackageVersion$jscomp$inline_1858 + "19.0.0-www-modern-de68d2f4-20241204" !== + isomorphicReactPackageVersion$jscomp$inline_1857 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1858, - "19.0.0-www-modern-16d2bbbd-20241203" + isomorphicReactPackageVersion$jscomp$inline_1857, + "19.0.0-www-modern-de68d2f4-20241204" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17713,28 +17719,28 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_1860 = { +var internals$jscomp$inline_1859 = { bundleType: 0, - version: "19.0.0-www-modern-16d2bbbd-20241203", + version: "19.0.0-www-modern-de68d2f4-20241204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-modern-de68d2f4-20241204" }; enableSchedulingProfiler && - ((internals$jscomp$inline_1860.getLaneLabelMap = getLaneLabelMap), - (internals$jscomp$inline_1860.injectProfilingHooks = injectProfilingHooks)); + ((internals$jscomp$inline_1859.getLaneLabelMap = getLaneLabelMap), + (internals$jscomp$inline_1859.injectProfilingHooks = injectProfilingHooks)); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2350 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2349 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2350.isDisabled && - hook$jscomp$inline_2350.supportsFiber + !hook$jscomp$inline_2349.isDisabled && + hook$jscomp$inline_2349.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2350.inject( - internals$jscomp$inline_1860 + (rendererID = hook$jscomp$inline_2349.inject( + internals$jscomp$inline_1859 )), - (injectedHook = hook$jscomp$inline_2350); + (injectedHook = hook$jscomp$inline_2349); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -18085,7 +18091,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-16d2bbbd-20241203"; +exports.version = "19.0.0-www-modern-de68d2f4-20241204"; "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 0097f65b12843..75c4f155c112d 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -8991,5 +8991,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-16d2bbbd-20241203"; + exports.version = "19.0.0-www-classic-de68d2f4-20241204"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index 4d2fe8e46d86b..ef67948efcbbe 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -8809,5 +8809,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-16d2bbbd-20241203"; + exports.version = "19.0.0-www-modern-de68d2f4-20241204"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index 6d7e7abcaf9c2..e34de8b04acc5 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -5910,4 +5910,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-16d2bbbd-20241203"; +exports.version = "19.0.0-www-classic-de68d2f4-20241204"; diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index 3d2c23c3d2c41..048c054d2f6b7 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -5822,4 +5822,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-16d2bbbd-20241203"; +exports.version = "19.0.0-www-modern-de68d2f4-20241204"; diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index 0152d2c6e06a9..2abd65e9b8108 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -9288,32 +9288,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2548; - var JSCompiler_object_inline_stack_2549 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2547; + var JSCompiler_object_inline_stack_2548 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2550 = !1; + var JSCompiler_object_inline_componentStack_2549 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2548 = didSuspend) || - (JSCompiler_object_inline_digest_2548 = + (JSCompiler_object_inline_digest_2547 = didSuspend) || + (JSCompiler_object_inline_digest_2547 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2548 && - ((JSCompiler_object_inline_componentStack_2550 = !0), + JSCompiler_object_inline_digest_2547 && + ((JSCompiler_object_inline_componentStack_2549 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2548 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2547 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2550 + JSCompiler_object_inline_componentStack_2549 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2547 = nextHydratableInstance; + var JSCompiler_object_inline_message_2546 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2547)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2546)) { c: { - var instance = JSCompiler_object_inline_message_2547; + var instance = JSCompiler_object_inline_message_2546; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9354,46 +9354,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2547 + JSCompiler_object_inline_message_2546 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2547 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2546 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2547 && - ((JSCompiler_object_inline_message_2547 = - JSCompiler_object_inline_message_2547.dehydrated), - null !== JSCompiler_object_inline_message_2547) + null !== JSCompiler_object_inline_message_2546 && + ((JSCompiler_object_inline_message_2546 = + JSCompiler_object_inline_message_2546.dehydrated), + null !== JSCompiler_object_inline_message_2546) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2547) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2546) ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2547 = - JSCompiler_object_inline_stack_2549.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2549.fallback; - if (JSCompiler_object_inline_componentStack_2550) + JSCompiler_object_inline_message_2546 = + JSCompiler_object_inline_stack_2548.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2548.fallback; + if (JSCompiler_object_inline_componentStack_2549) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2549 = + (JSCompiler_object_inline_stack_2548 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2547, + JSCompiler_object_inline_message_2546, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2550 = + (JSCompiler_object_inline_componentStack_2549 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2550.memoizedState = + (JSCompiler_object_inline_componentStack_2549.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2550.childLanes = + (JSCompiler_object_inline_componentStack_2549.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2548, + JSCompiler_object_inline_digest_2547, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9406,9 +9406,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2550.updateQueue), + JSCompiler_object_inline_componentStack_2549.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2550.updateQueue = + ? (JSCompiler_object_inline_componentStack_2549.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9416,46 +9416,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2549 + JSCompiler_object_inline_stack_2548 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2549.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2548.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2549 = + (JSCompiler_object_inline_stack_2548 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2547, + JSCompiler_object_inline_message_2546, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2550 = + (JSCompiler_object_inline_componentStack_2549 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2550.memoizedState = + (JSCompiler_object_inline_componentStack_2549.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2550.childLanes = + (JSCompiler_object_inline_componentStack_2549.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2548, + JSCompiler_object_inline_digest_2547, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2549 + JSCompiler_object_inline_stack_2548 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2547 + JSCompiler_object_inline_message_2546 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2547 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2547) + ((JSCompiler_object_inline_message_2546 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2546) ) { if (didSuspend) workInProgress.flags & 256 @@ -9472,94 +9472,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2550 = - JSCompiler_object_inline_stack_2549.fallback), - (JSCompiler_object_inline_message_2547 = workInProgress.mode), - (JSCompiler_object_inline_stack_2549 = + (JSCompiler_object_inline_componentStack_2549 = + JSCompiler_object_inline_stack_2548.fallback), + (JSCompiler_object_inline_message_2546 = workInProgress.mode), + (JSCompiler_object_inline_stack_2548 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2549.children + children: JSCompiler_object_inline_stack_2548.children }, - JSCompiler_object_inline_message_2547 + JSCompiler_object_inline_message_2546 )), - (JSCompiler_object_inline_componentStack_2550 = + (JSCompiler_object_inline_componentStack_2549 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2550, - JSCompiler_object_inline_message_2547, + JSCompiler_object_inline_componentStack_2549, + JSCompiler_object_inline_message_2546, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2550.flags |= 2), - (JSCompiler_object_inline_stack_2549.return = workInProgress), - (JSCompiler_object_inline_componentStack_2550.return = + (JSCompiler_object_inline_componentStack_2549.flags |= 2), + (JSCompiler_object_inline_stack_2548.return = workInProgress), + (JSCompiler_object_inline_componentStack_2549.return = workInProgress), - (JSCompiler_object_inline_stack_2549.sibling = - JSCompiler_object_inline_componentStack_2550), - (workInProgress.child = JSCompiler_object_inline_stack_2549), + (JSCompiler_object_inline_stack_2548.sibling = + JSCompiler_object_inline_componentStack_2549), + (workInProgress.child = JSCompiler_object_inline_stack_2548), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2549 = workInProgress.child), - (JSCompiler_object_inline_stack_2549.memoizedState = + (JSCompiler_object_inline_stack_2548 = workInProgress.child), + (JSCompiler_object_inline_stack_2548.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2549.childLanes = + (JSCompiler_object_inline_stack_2548.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2548, + JSCompiler_object_inline_digest_2547, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2550)); + JSCompiler_object_inline_componentStack_2549)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2547)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2546)) ) { - JSCompiler_object_inline_digest_2548 = - JSCompiler_object_inline_message_2547.nextSibling && - JSCompiler_object_inline_message_2547.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2548) { - JSCompiler_temp = JSCompiler_object_inline_digest_2548.dgst; - var message = JSCompiler_object_inline_digest_2548.msg; - instance = JSCompiler_object_inline_digest_2548.stck; - var componentStack = JSCompiler_object_inline_digest_2548.cstck; + JSCompiler_object_inline_digest_2547 = + JSCompiler_object_inline_message_2546.nextSibling && + JSCompiler_object_inline_message_2546.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2547) { + JSCompiler_temp = JSCompiler_object_inline_digest_2547.dgst; + var message = JSCompiler_object_inline_digest_2547.msg; + instance = JSCompiler_object_inline_digest_2547.stck; + var componentStack = JSCompiler_object_inline_digest_2547.cstck; } - JSCompiler_object_inline_message_2547 = message; - JSCompiler_object_inline_digest_2548 = JSCompiler_temp; - JSCompiler_object_inline_stack_2549 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2550 = + JSCompiler_object_inline_message_2546 = message; + JSCompiler_object_inline_digest_2547 = JSCompiler_temp; + JSCompiler_object_inline_stack_2548 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2549 = componentStack; - JSCompiler_object_inline_componentStack_2550 = - JSCompiler_object_inline_message_2547 - ? Error(JSCompiler_object_inline_message_2547) + JSCompiler_object_inline_componentStack_2549 = + JSCompiler_object_inline_message_2546 + ? Error(JSCompiler_object_inline_message_2546) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_componentStack_2550.stack = - JSCompiler_object_inline_stack_2549 || ""; - JSCompiler_object_inline_componentStack_2550.digest = - JSCompiler_object_inline_digest_2548; - JSCompiler_object_inline_digest_2548 = + JSCompiler_object_inline_componentStack_2549.stack = + JSCompiler_object_inline_stack_2548 || ""; + JSCompiler_object_inline_componentStack_2549.digest = + JSCompiler_object_inline_digest_2547; + JSCompiler_object_inline_digest_2547 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2549 = { - value: JSCompiler_object_inline_componentStack_2550, + JSCompiler_object_inline_stack_2548 = { + value: JSCompiler_object_inline_componentStack_2549, source: null, - stack: JSCompiler_object_inline_digest_2548 + stack: JSCompiler_object_inline_digest_2547 }; - "string" === typeof JSCompiler_object_inline_digest_2548 && + "string" === typeof JSCompiler_object_inline_digest_2547 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2550, - JSCompiler_object_inline_stack_2549 + JSCompiler_object_inline_componentStack_2549, + JSCompiler_object_inline_stack_2548 ); - queueHydrationError(JSCompiler_object_inline_stack_2549); + queueHydrationError(JSCompiler_object_inline_stack_2548); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9573,25 +9573,25 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2548 = + (JSCompiler_object_inline_digest_2547 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2548) + didReceiveUpdate || JSCompiler_object_inline_digest_2547) ) { - JSCompiler_object_inline_digest_2548 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2548) { - JSCompiler_object_inline_stack_2549 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2549 & 42)) - JSCompiler_object_inline_stack_2549 = 1; + JSCompiler_object_inline_digest_2547 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2547) { + JSCompiler_object_inline_stack_2548 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2548 & 42)) + JSCompiler_object_inline_stack_2548 = 1; else - switch (JSCompiler_object_inline_stack_2549) { + switch (JSCompiler_object_inline_stack_2548) { case 2: - JSCompiler_object_inline_stack_2549 = 1; + JSCompiler_object_inline_stack_2548 = 1; break; case 8: - JSCompiler_object_inline_stack_2549 = 4; + JSCompiler_object_inline_stack_2548 = 4; break; case 32: - JSCompiler_object_inline_stack_2549 = 16; + JSCompiler_object_inline_stack_2548 = 16; break; case 128: case 256: @@ -9612,40 +9612,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2549 = 64; + JSCompiler_object_inline_stack_2548 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2549 = 134217728; + JSCompiler_object_inline_stack_2548 = 134217728; break; default: - JSCompiler_object_inline_stack_2549 = 0; + JSCompiler_object_inline_stack_2548 = 0; } - JSCompiler_object_inline_stack_2549 = + JSCompiler_object_inline_stack_2548 = 0 !== - (JSCompiler_object_inline_stack_2549 & - (JSCompiler_object_inline_digest_2548.suspendedLanes | + (JSCompiler_object_inline_stack_2548 & + (JSCompiler_object_inline_digest_2547.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2549; + : JSCompiler_object_inline_stack_2548; if ( - 0 !== JSCompiler_object_inline_stack_2549 && - JSCompiler_object_inline_stack_2549 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2548 && + JSCompiler_object_inline_stack_2548 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2549), + ((prevState.retryLane = JSCompiler_object_inline_stack_2548), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2549 + JSCompiler_object_inline_stack_2548 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2548, + JSCompiler_object_inline_digest_2547, current, - JSCompiler_object_inline_stack_2549 + JSCompiler_object_inline_stack_2548 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2547.data === + JSCompiler_object_inline_message_2546.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9653,22 +9653,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2547.data === + JSCompiler_object_inline_message_2546.data === SUSPENSE_PENDING_START_DATA - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - (workInProgress = retryDehydratedSuspenseBoundary.bind( - null, - current - )), - registerSuspenseInstanceRetry( - JSCompiler_object_inline_message_2547, - workInProgress - ), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2547.nextSibling + JSCompiler_object_inline_message_2546.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9686,57 +9678,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2549.children + JSCompiler_object_inline_stack_2548.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2550) + if (JSCompiler_object_inline_componentStack_2549) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2550 = - JSCompiler_object_inline_stack_2549.fallback), - (JSCompiler_object_inline_message_2547 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2549 = + JSCompiler_object_inline_stack_2548.fallback), + (JSCompiler_object_inline_message_2546 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2549 = createWorkInProgress( + (JSCompiler_object_inline_stack_2548 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2549.children + children: JSCompiler_object_inline_stack_2548.children } )), - (JSCompiler_object_inline_stack_2549.subtreeFlags = + (JSCompiler_object_inline_stack_2548.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2550 = + ? (JSCompiler_object_inline_componentStack_2549 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2550 + JSCompiler_object_inline_componentStack_2549 )) - : ((JSCompiler_object_inline_componentStack_2550 = + : ((JSCompiler_object_inline_componentStack_2549 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2550, - JSCompiler_object_inline_message_2547, + JSCompiler_object_inline_componentStack_2549, + JSCompiler_object_inline_message_2546, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2550.flags |= 2)), - (JSCompiler_object_inline_componentStack_2550.return = + (JSCompiler_object_inline_componentStack_2549.flags |= 2)), + (JSCompiler_object_inline_componentStack_2549.return = workInProgress), - (JSCompiler_object_inline_stack_2549.return = workInProgress), - (JSCompiler_object_inline_stack_2549.sibling = - JSCompiler_object_inline_componentStack_2550), - (workInProgress.child = JSCompiler_object_inline_stack_2549), - (JSCompiler_object_inline_stack_2549 = - JSCompiler_object_inline_componentStack_2550), - (JSCompiler_object_inline_componentStack_2550 = workInProgress.child), - (JSCompiler_object_inline_message_2547 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2547 - ? (JSCompiler_object_inline_message_2547 = + (JSCompiler_object_inline_stack_2548.return = workInProgress), + (JSCompiler_object_inline_stack_2548.sibling = + JSCompiler_object_inline_componentStack_2549), + (workInProgress.child = JSCompiler_object_inline_stack_2548), + (JSCompiler_object_inline_stack_2548 = + JSCompiler_object_inline_componentStack_2549), + (JSCompiler_object_inline_componentStack_2549 = workInProgress.child), + (JSCompiler_object_inline_message_2546 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2546 + ? (JSCompiler_object_inline_message_2546 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2547.cachePool), + JSCompiler_object_inline_message_2546.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9744,34 +9736,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2547 = { + (JSCompiler_object_inline_message_2546 = { baseLanes: - JSCompiler_object_inline_message_2547.baseLanes | renderLanes, + JSCompiler_object_inline_message_2546.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2550.memoizedState = - JSCompiler_object_inline_message_2547), + (JSCompiler_object_inline_componentStack_2549.memoizedState = + JSCompiler_object_inline_message_2546), enableTransitionTracing && - ((JSCompiler_object_inline_message_2547 = enableTransitionTracing + ((JSCompiler_object_inline_message_2546 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2547 && + null !== JSCompiler_object_inline_message_2546 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2550.updateQueue), + JSCompiler_object_inline_componentStack_2549.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2550.updateQueue = { - transitions: JSCompiler_object_inline_message_2547, + ? (JSCompiler_object_inline_componentStack_2549.updateQueue = { + transitions: JSCompiler_object_inline_message_2546, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2550.updateQueue = + ? (JSCompiler_object_inline_componentStack_2549.updateQueue = { - transitions: JSCompiler_object_inline_message_2547, + transitions: JSCompiler_object_inline_message_2546, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9779,32 +9771,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2547), + JSCompiler_object_inline_message_2546), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2550.childLanes = + (JSCompiler_object_inline_componentStack_2549.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2548, + JSCompiler_object_inline_digest_2547, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2549 + JSCompiler_object_inline_stack_2548 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2549.children + children: JSCompiler_object_inline_stack_2548.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2548 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2548 + ((JSCompiler_object_inline_digest_2547 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2547 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2548.push(current)); + : JSCompiler_object_inline_digest_2547.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -13338,6 +13330,16 @@ __DEV__ && recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); + flags & 64 && + ((finishedRoot = finishedWork.memoizedState), + null !== finishedRoot && + ((finishedRoot = finishedRoot.dehydrated), + null !== finishedRoot && + ((finishedWork = retryDehydratedSuspenseBoundary.bind( + null, + finishedWork + )), + registerSuspenseInstanceRetry(finishedRoot, finishedWork)))); break; case 22: prevProps = @@ -22200,15 +22202,19 @@ __DEV__ && } function registerSuspenseInstanceRetry(instance, callback) { var ownerDocument = instance.ownerDocument; - ownerDocument.readyState !== DOCUMENT_READY_STATE_COMPLETE && - ownerDocument.addEventListener( - "DOMContentLoaded", - function () { - instance.data === SUSPENSE_PENDING_START_DATA && callback(); - }, - { once: !0 } - ); - instance._reactRetry = callback; + if ( + instance.data !== SUSPENSE_PENDING_START_DATA || + ownerDocument.readyState === DOCUMENT_READY_STATE_COMPLETE + ) + callback(); + else { + var listener = function () { + callback(); + ownerDocument.removeEventListener("DOMContentLoaded", listener); + }; + ownerDocument.addEventListener("DOMContentLoaded", listener); + instance._reactRetry = listener; + } } function getNextHydratable(node) { for (; null != node; node = node.nextSibling) { @@ -27897,11 +27903,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-classic-16d2bbbd-20241203" !== isomorphicReactPackageVersion) + if ("19.0.0-www-classic-de68d2f4-20241204" !== 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-16d2bbbd-20241203\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-classic-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27944,11 +27950,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-www-classic-16d2bbbd-20241203", + version: "19.0.0-www-classic-de68d2f4-20241204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-classic-de68d2f4-20241204" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28719,5 +28725,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-classic-16d2bbbd-20241203"; + exports.version = "19.0.0-www-classic-de68d2f4-20241204"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index 2a531214d5b75..4e0a78ed52ebc 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -9100,32 +9100,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2540; - var JSCompiler_object_inline_stack_2541 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2539; + var JSCompiler_object_inline_stack_2540 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2542 = !1; + var JSCompiler_object_inline_componentStack_2541 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2540 = didSuspend) || - (JSCompiler_object_inline_digest_2540 = + (JSCompiler_object_inline_digest_2539 = didSuspend) || + (JSCompiler_object_inline_digest_2539 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2540 && - ((JSCompiler_object_inline_componentStack_2542 = !0), + JSCompiler_object_inline_digest_2539 && + ((JSCompiler_object_inline_componentStack_2541 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2540 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2539 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2542 + JSCompiler_object_inline_componentStack_2541 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2539 = nextHydratableInstance; + var JSCompiler_object_inline_message_2538 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2539)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2538)) { c: { - var instance = JSCompiler_object_inline_message_2539; + var instance = JSCompiler_object_inline_message_2538; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9166,46 +9166,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2539 + JSCompiler_object_inline_message_2538 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2539 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2538 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2539 && - ((JSCompiler_object_inline_message_2539 = - JSCompiler_object_inline_message_2539.dehydrated), - null !== JSCompiler_object_inline_message_2539) + null !== JSCompiler_object_inline_message_2538 && + ((JSCompiler_object_inline_message_2538 = + JSCompiler_object_inline_message_2538.dehydrated), + null !== JSCompiler_object_inline_message_2538) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2539) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2538) ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2539 = - JSCompiler_object_inline_stack_2541.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2541.fallback; - if (JSCompiler_object_inline_componentStack_2542) + JSCompiler_object_inline_message_2538 = + JSCompiler_object_inline_stack_2540.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2540.fallback; + if (JSCompiler_object_inline_componentStack_2541) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2541 = + (JSCompiler_object_inline_stack_2540 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2539, + JSCompiler_object_inline_message_2538, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2542 = + (JSCompiler_object_inline_componentStack_2541 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2542.memoizedState = + (JSCompiler_object_inline_componentStack_2541.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2542.childLanes = + (JSCompiler_object_inline_componentStack_2541.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2540, + JSCompiler_object_inline_digest_2539, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9218,9 +9218,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2542.updateQueue), + JSCompiler_object_inline_componentStack_2541.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2542.updateQueue = + ? (JSCompiler_object_inline_componentStack_2541.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9228,46 +9228,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2541 + JSCompiler_object_inline_stack_2540 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2541.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2540.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2541 = + (JSCompiler_object_inline_stack_2540 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2539, + JSCompiler_object_inline_message_2538, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2542 = + (JSCompiler_object_inline_componentStack_2541 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2542.memoizedState = + (JSCompiler_object_inline_componentStack_2541.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2542.childLanes = + (JSCompiler_object_inline_componentStack_2541.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2540, + JSCompiler_object_inline_digest_2539, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2541 + JSCompiler_object_inline_stack_2540 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2539 + JSCompiler_object_inline_message_2538 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2539 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2539) + ((JSCompiler_object_inline_message_2538 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2538) ) { if (didSuspend) workInProgress.flags & 256 @@ -9284,94 +9284,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2542 = - JSCompiler_object_inline_stack_2541.fallback), - (JSCompiler_object_inline_message_2539 = workInProgress.mode), - (JSCompiler_object_inline_stack_2541 = + (JSCompiler_object_inline_componentStack_2541 = + JSCompiler_object_inline_stack_2540.fallback), + (JSCompiler_object_inline_message_2538 = workInProgress.mode), + (JSCompiler_object_inline_stack_2540 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2541.children + children: JSCompiler_object_inline_stack_2540.children }, - JSCompiler_object_inline_message_2539 + JSCompiler_object_inline_message_2538 )), - (JSCompiler_object_inline_componentStack_2542 = + (JSCompiler_object_inline_componentStack_2541 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2542, - JSCompiler_object_inline_message_2539, + JSCompiler_object_inline_componentStack_2541, + JSCompiler_object_inline_message_2538, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2542.flags |= 2), - (JSCompiler_object_inline_stack_2541.return = workInProgress), - (JSCompiler_object_inline_componentStack_2542.return = + (JSCompiler_object_inline_componentStack_2541.flags |= 2), + (JSCompiler_object_inline_stack_2540.return = workInProgress), + (JSCompiler_object_inline_componentStack_2541.return = workInProgress), - (JSCompiler_object_inline_stack_2541.sibling = - JSCompiler_object_inline_componentStack_2542), - (workInProgress.child = JSCompiler_object_inline_stack_2541), + (JSCompiler_object_inline_stack_2540.sibling = + JSCompiler_object_inline_componentStack_2541), + (workInProgress.child = JSCompiler_object_inline_stack_2540), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2541 = workInProgress.child), - (JSCompiler_object_inline_stack_2541.memoizedState = + (JSCompiler_object_inline_stack_2540 = workInProgress.child), + (JSCompiler_object_inline_stack_2540.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2541.childLanes = + (JSCompiler_object_inline_stack_2540.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2540, + JSCompiler_object_inline_digest_2539, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2542)); + JSCompiler_object_inline_componentStack_2541)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2539)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2538)) ) { - JSCompiler_object_inline_digest_2540 = - JSCompiler_object_inline_message_2539.nextSibling && - JSCompiler_object_inline_message_2539.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2540) { - JSCompiler_temp = JSCompiler_object_inline_digest_2540.dgst; - var message = JSCompiler_object_inline_digest_2540.msg; - instance = JSCompiler_object_inline_digest_2540.stck; - var componentStack = JSCompiler_object_inline_digest_2540.cstck; + JSCompiler_object_inline_digest_2539 = + JSCompiler_object_inline_message_2538.nextSibling && + JSCompiler_object_inline_message_2538.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2539) { + JSCompiler_temp = JSCompiler_object_inline_digest_2539.dgst; + var message = JSCompiler_object_inline_digest_2539.msg; + instance = JSCompiler_object_inline_digest_2539.stck; + var componentStack = JSCompiler_object_inline_digest_2539.cstck; } - JSCompiler_object_inline_message_2539 = message; - JSCompiler_object_inline_digest_2540 = JSCompiler_temp; - JSCompiler_object_inline_stack_2541 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2542 = + JSCompiler_object_inline_message_2538 = message; + JSCompiler_object_inline_digest_2539 = JSCompiler_temp; + JSCompiler_object_inline_stack_2540 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2541 = componentStack; - JSCompiler_object_inline_componentStack_2542 = - JSCompiler_object_inline_message_2539 - ? Error(JSCompiler_object_inline_message_2539) + JSCompiler_object_inline_componentStack_2541 = + JSCompiler_object_inline_message_2538 + ? Error(JSCompiler_object_inline_message_2538) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_componentStack_2542.stack = - JSCompiler_object_inline_stack_2541 || ""; - JSCompiler_object_inline_componentStack_2542.digest = - JSCompiler_object_inline_digest_2540; - JSCompiler_object_inline_digest_2540 = + JSCompiler_object_inline_componentStack_2541.stack = + JSCompiler_object_inline_stack_2540 || ""; + JSCompiler_object_inline_componentStack_2541.digest = + JSCompiler_object_inline_digest_2539; + JSCompiler_object_inline_digest_2539 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2541 = { - value: JSCompiler_object_inline_componentStack_2542, + JSCompiler_object_inline_stack_2540 = { + value: JSCompiler_object_inline_componentStack_2541, source: null, - stack: JSCompiler_object_inline_digest_2540 + stack: JSCompiler_object_inline_digest_2539 }; - "string" === typeof JSCompiler_object_inline_digest_2540 && + "string" === typeof JSCompiler_object_inline_digest_2539 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2542, - JSCompiler_object_inline_stack_2541 + JSCompiler_object_inline_componentStack_2541, + JSCompiler_object_inline_stack_2540 ); - queueHydrationError(JSCompiler_object_inline_stack_2541); + queueHydrationError(JSCompiler_object_inline_stack_2540); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9385,25 +9385,25 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2540 = + (JSCompiler_object_inline_digest_2539 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2540) + didReceiveUpdate || JSCompiler_object_inline_digest_2539) ) { - JSCompiler_object_inline_digest_2540 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2540) { - JSCompiler_object_inline_stack_2541 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2541 & 42)) - JSCompiler_object_inline_stack_2541 = 1; + JSCompiler_object_inline_digest_2539 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2539) { + JSCompiler_object_inline_stack_2540 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2540 & 42)) + JSCompiler_object_inline_stack_2540 = 1; else - switch (JSCompiler_object_inline_stack_2541) { + switch (JSCompiler_object_inline_stack_2540) { case 2: - JSCompiler_object_inline_stack_2541 = 1; + JSCompiler_object_inline_stack_2540 = 1; break; case 8: - JSCompiler_object_inline_stack_2541 = 4; + JSCompiler_object_inline_stack_2540 = 4; break; case 32: - JSCompiler_object_inline_stack_2541 = 16; + JSCompiler_object_inline_stack_2540 = 16; break; case 128: case 256: @@ -9424,40 +9424,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2541 = 64; + JSCompiler_object_inline_stack_2540 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2541 = 134217728; + JSCompiler_object_inline_stack_2540 = 134217728; break; default: - JSCompiler_object_inline_stack_2541 = 0; + JSCompiler_object_inline_stack_2540 = 0; } - JSCompiler_object_inline_stack_2541 = + JSCompiler_object_inline_stack_2540 = 0 !== - (JSCompiler_object_inline_stack_2541 & - (JSCompiler_object_inline_digest_2540.suspendedLanes | + (JSCompiler_object_inline_stack_2540 & + (JSCompiler_object_inline_digest_2539.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2541; + : JSCompiler_object_inline_stack_2540; if ( - 0 !== JSCompiler_object_inline_stack_2541 && - JSCompiler_object_inline_stack_2541 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2540 && + JSCompiler_object_inline_stack_2540 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2541), + ((prevState.retryLane = JSCompiler_object_inline_stack_2540), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2541 + JSCompiler_object_inline_stack_2540 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2540, + JSCompiler_object_inline_digest_2539, current, - JSCompiler_object_inline_stack_2541 + JSCompiler_object_inline_stack_2540 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2539.data === + JSCompiler_object_inline_message_2538.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9465,22 +9465,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2539.data === + JSCompiler_object_inline_message_2538.data === SUSPENSE_PENDING_START_DATA - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - (workInProgress = retryDehydratedSuspenseBoundary.bind( - null, - current - )), - registerSuspenseInstanceRetry( - JSCompiler_object_inline_message_2539, - workInProgress - ), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2539.nextSibling + JSCompiler_object_inline_message_2538.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9498,57 +9490,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2541.children + JSCompiler_object_inline_stack_2540.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2542) + if (JSCompiler_object_inline_componentStack_2541) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2542 = - JSCompiler_object_inline_stack_2541.fallback), - (JSCompiler_object_inline_message_2539 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2541 = + JSCompiler_object_inline_stack_2540.fallback), + (JSCompiler_object_inline_message_2538 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2541 = createWorkInProgress( + (JSCompiler_object_inline_stack_2540 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2541.children + children: JSCompiler_object_inline_stack_2540.children } )), - (JSCompiler_object_inline_stack_2541.subtreeFlags = + (JSCompiler_object_inline_stack_2540.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2542 = + ? (JSCompiler_object_inline_componentStack_2541 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2542 + JSCompiler_object_inline_componentStack_2541 )) - : ((JSCompiler_object_inline_componentStack_2542 = + : ((JSCompiler_object_inline_componentStack_2541 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2542, - JSCompiler_object_inline_message_2539, + JSCompiler_object_inline_componentStack_2541, + JSCompiler_object_inline_message_2538, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2542.flags |= 2)), - (JSCompiler_object_inline_componentStack_2542.return = + (JSCompiler_object_inline_componentStack_2541.flags |= 2)), + (JSCompiler_object_inline_componentStack_2541.return = workInProgress), - (JSCompiler_object_inline_stack_2541.return = workInProgress), - (JSCompiler_object_inline_stack_2541.sibling = - JSCompiler_object_inline_componentStack_2542), - (workInProgress.child = JSCompiler_object_inline_stack_2541), - (JSCompiler_object_inline_stack_2541 = - JSCompiler_object_inline_componentStack_2542), - (JSCompiler_object_inline_componentStack_2542 = workInProgress.child), - (JSCompiler_object_inline_message_2539 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2539 - ? (JSCompiler_object_inline_message_2539 = + (JSCompiler_object_inline_stack_2540.return = workInProgress), + (JSCompiler_object_inline_stack_2540.sibling = + JSCompiler_object_inline_componentStack_2541), + (workInProgress.child = JSCompiler_object_inline_stack_2540), + (JSCompiler_object_inline_stack_2540 = + JSCompiler_object_inline_componentStack_2541), + (JSCompiler_object_inline_componentStack_2541 = workInProgress.child), + (JSCompiler_object_inline_message_2538 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2538 + ? (JSCompiler_object_inline_message_2538 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2539.cachePool), + JSCompiler_object_inline_message_2538.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9556,34 +9548,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2539 = { + (JSCompiler_object_inline_message_2538 = { baseLanes: - JSCompiler_object_inline_message_2539.baseLanes | renderLanes, + JSCompiler_object_inline_message_2538.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2542.memoizedState = - JSCompiler_object_inline_message_2539), + (JSCompiler_object_inline_componentStack_2541.memoizedState = + JSCompiler_object_inline_message_2538), enableTransitionTracing && - ((JSCompiler_object_inline_message_2539 = enableTransitionTracing + ((JSCompiler_object_inline_message_2538 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2539 && + null !== JSCompiler_object_inline_message_2538 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2542.updateQueue), + JSCompiler_object_inline_componentStack_2541.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2542.updateQueue = { - transitions: JSCompiler_object_inline_message_2539, + ? (JSCompiler_object_inline_componentStack_2541.updateQueue = { + transitions: JSCompiler_object_inline_message_2538, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2542.updateQueue = + ? (JSCompiler_object_inline_componentStack_2541.updateQueue = { - transitions: JSCompiler_object_inline_message_2539, + transitions: JSCompiler_object_inline_message_2538, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9591,32 +9583,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2539), + JSCompiler_object_inline_message_2538), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2542.childLanes = + (JSCompiler_object_inline_componentStack_2541.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2540, + JSCompiler_object_inline_digest_2539, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2541 + JSCompiler_object_inline_stack_2540 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2541.children + children: JSCompiler_object_inline_stack_2540.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2540 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2540 + ((JSCompiler_object_inline_digest_2539 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2539 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2540.push(current)); + : JSCompiler_object_inline_digest_2539.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -13137,6 +13129,16 @@ __DEV__ && recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); + flags & 64 && + ((finishedRoot = finishedWork.memoizedState), + null !== finishedRoot && + ((finishedRoot = finishedRoot.dehydrated), + null !== finishedRoot && + ((finishedWork = retryDehydratedSuspenseBoundary.bind( + null, + finishedWork + )), + registerSuspenseInstanceRetry(finishedRoot, finishedWork)))); break; case 22: prevProps = @@ -21987,15 +21989,19 @@ __DEV__ && } function registerSuspenseInstanceRetry(instance, callback) { var ownerDocument = instance.ownerDocument; - ownerDocument.readyState !== DOCUMENT_READY_STATE_COMPLETE && - ownerDocument.addEventListener( - "DOMContentLoaded", - function () { - instance.data === SUSPENSE_PENDING_START_DATA && callback(); - }, - { once: !0 } - ); - instance._reactRetry = callback; + if ( + instance.data !== SUSPENSE_PENDING_START_DATA || + ownerDocument.readyState === DOCUMENT_READY_STATE_COMPLETE + ) + callback(); + else { + var listener = function () { + callback(); + ownerDocument.removeEventListener("DOMContentLoaded", listener); + }; + ownerDocument.addEventListener("DOMContentLoaded", listener); + instance._reactRetry = listener; + } } function getNextHydratable(node) { for (; null != node; node = node.nextSibling) { @@ -27676,11 +27682,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-modern-16d2bbbd-20241203" !== isomorphicReactPackageVersion) + if ("19.0.0-www-modern-de68d2f4-20241204" !== 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-16d2bbbd-20241203\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-modern-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27723,11 +27729,11 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.0.0-www-modern-16d2bbbd-20241203", + version: "19.0.0-www-modern-de68d2f4-20241204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-modern-de68d2f4-20241204" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28498,5 +28504,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-modern-16d2bbbd-20241203"; + exports.version = "19.0.0-www-modern-de68d2f4-20241204"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index 5ce0076afb3e5..4f95be778af9f 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -6470,13 +6470,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { ); } else "$?" === nextInstance.data - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - (workInProgress = retryDehydratedSuspenseBoundary.bind( - null, - current - )), - registerSuspenseInstanceRetry(nextInstance, workInProgress), (workInProgress = null)) : ((current = JSCompiler_temp$jscomp$0.treeContext), (nextHydratableInstance = getNextHydratable( @@ -9110,6 +9105,16 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); + flags & 64 && + ((flags = finishedWork.memoizedState), + null !== flags && + ((flags = flags.dehydrated), + null !== flags && + ((finishedWork = retryDehydratedSuspenseBoundary.bind( + null, + finishedWork + )), + registerSuspenseInstanceRetry(flags, finishedWork)))); break; case 22: prevProps = @@ -13526,14 +13531,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$356; if (canUseDOM) { - var isSupported$jscomp$inline_1590 = "oninput" in document; - if (!isSupported$jscomp$inline_1590) { - var element$jscomp$inline_1591 = document.createElement("div"); - element$jscomp$inline_1591.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1590 = - "function" === typeof element$jscomp$inline_1591.oninput; + var isSupported$jscomp$inline_1589 = "oninput" in document; + if (!isSupported$jscomp$inline_1589) { + var element$jscomp$inline_1590 = document.createElement("div"); + element$jscomp$inline_1590.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1589 = + "function" === typeof element$jscomp$inline_1590.oninput; } - JSCompiler_inline_result$jscomp$356 = isSupported$jscomp$inline_1590; + JSCompiler_inline_result$jscomp$356 = isSupported$jscomp$inline_1589; } else JSCompiler_inline_result$jscomp$356 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$356 && @@ -13947,20 +13952,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1631 = 0; - i$jscomp$inline_1631 < simpleEventPluginEvents.length; - i$jscomp$inline_1631++ + var i$jscomp$inline_1630 = 0; + i$jscomp$inline_1630 < simpleEventPluginEvents.length; + i$jscomp$inline_1630++ ) { - var eventName$jscomp$inline_1632 = - simpleEventPluginEvents[i$jscomp$inline_1631], - domEventName$jscomp$inline_1633 = - eventName$jscomp$inline_1632.toLowerCase(), - capitalizedEvent$jscomp$inline_1634 = - eventName$jscomp$inline_1632[0].toUpperCase() + - eventName$jscomp$inline_1632.slice(1); + var eventName$jscomp$inline_1631 = + simpleEventPluginEvents[i$jscomp$inline_1630], + domEventName$jscomp$inline_1632 = + eventName$jscomp$inline_1631.toLowerCase(), + capitalizedEvent$jscomp$inline_1633 = + eventName$jscomp$inline_1631[0].toUpperCase() + + eventName$jscomp$inline_1631.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1633, - "on" + capitalizedEvent$jscomp$inline_1634 + domEventName$jscomp$inline_1632, + "on" + capitalizedEvent$jscomp$inline_1633 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -15993,15 +15998,16 @@ function isSuspenseInstanceFallback(instance) { } function registerSuspenseInstanceRetry(instance, callback) { var ownerDocument = instance.ownerDocument; - "complete" !== ownerDocument.readyState && - ownerDocument.addEventListener( - "DOMContentLoaded", - function () { - "$?" === instance.data && callback(); - }, - { once: !0 } - ); - instance._reactRetry = callback; + if ("$?" !== instance.data || "complete" === ownerDocument.readyState) + callback(); + else { + var listener = function () { + callback(); + ownerDocument.removeEventListener("DOMContentLoaded", listener); + }; + ownerDocument.addEventListener("DOMContentLoaded", listener); + instance._reactRetry = listener; + } } function getNextHydratable(node) { for (; null != node; node = node.nextSibling) { @@ -17598,16 +17604,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1804 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1803 = React.version; if ( - "19.0.0-www-classic-16d2bbbd-20241203" !== - isomorphicReactPackageVersion$jscomp$inline_1804 + "19.0.0-www-classic-de68d2f4-20241204" !== + isomorphicReactPackageVersion$jscomp$inline_1803 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1804, - "19.0.0-www-classic-16d2bbbd-20241203" + isomorphicReactPackageVersion$jscomp$inline_1803, + "19.0.0-www-classic-de68d2f4-20241204" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17623,25 +17629,25 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2350 = { +var internals$jscomp$inline_2349 = { bundleType: 0, - version: "19.0.0-www-classic-16d2bbbd-20241203", + version: "19.0.0-www-classic-de68d2f4-20241204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-classic-de68d2f4-20241204" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2351 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2350 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2351.isDisabled && - hook$jscomp$inline_2351.supportsFiber + !hook$jscomp$inline_2350.isDisabled && + hook$jscomp$inline_2350.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2351.inject( - internals$jscomp$inline_2350 + (rendererID = hook$jscomp$inline_2350.inject( + internals$jscomp$inline_2349 )), - (injectedHook = hook$jscomp$inline_2351); + (injectedHook = hook$jscomp$inline_2350); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -18143,4 +18149,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-16d2bbbd-20241203"; +exports.version = "19.0.0-www-classic-de68d2f4-20241204"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index 9fd7651a3475a..6d7f32344d39e 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -6244,13 +6244,8 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { ); } else "$?" === nextInstance.data - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - (workInProgress = retryDehydratedSuspenseBoundary.bind( - null, - current - )), - registerSuspenseInstanceRetry(nextInstance, workInProgress), (workInProgress = null)) : ((current = JSCompiler_temp$jscomp$0.treeContext), (nextHydratableInstance = getNextHydratable( @@ -8861,6 +8856,16 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); + flags & 64 && + ((flags = finishedWork.memoizedState), + null !== flags && + ((flags = flags.dehydrated), + null !== flags && + ((finishedWork = retryDehydratedSuspenseBoundary.bind( + null, + finishedWork + )), + registerSuspenseInstanceRetry(flags, finishedWork)))); break; case 22: prevProps = @@ -13262,14 +13267,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$359; if (canUseDOM) { - var isSupported$jscomp$inline_1580 = "oninput" in document; - if (!isSupported$jscomp$inline_1580) { - var element$jscomp$inline_1581 = document.createElement("div"); - element$jscomp$inline_1581.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1580 = - "function" === typeof element$jscomp$inline_1581.oninput; + var isSupported$jscomp$inline_1579 = "oninput" in document; + if (!isSupported$jscomp$inline_1579) { + var element$jscomp$inline_1580 = document.createElement("div"); + element$jscomp$inline_1580.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1579 = + "function" === typeof element$jscomp$inline_1580.oninput; } - JSCompiler_inline_result$jscomp$359 = isSupported$jscomp$inline_1580; + JSCompiler_inline_result$jscomp$359 = isSupported$jscomp$inline_1579; } else JSCompiler_inline_result$jscomp$359 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$359 && @@ -13683,20 +13688,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1621 = 0; - i$jscomp$inline_1621 < simpleEventPluginEvents.length; - i$jscomp$inline_1621++ + var i$jscomp$inline_1620 = 0; + i$jscomp$inline_1620 < simpleEventPluginEvents.length; + i$jscomp$inline_1620++ ) { - var eventName$jscomp$inline_1622 = - simpleEventPluginEvents[i$jscomp$inline_1621], - domEventName$jscomp$inline_1623 = - eventName$jscomp$inline_1622.toLowerCase(), - capitalizedEvent$jscomp$inline_1624 = - eventName$jscomp$inline_1622[0].toUpperCase() + - eventName$jscomp$inline_1622.slice(1); + var eventName$jscomp$inline_1621 = + simpleEventPluginEvents[i$jscomp$inline_1620], + domEventName$jscomp$inline_1622 = + eventName$jscomp$inline_1621.toLowerCase(), + capitalizedEvent$jscomp$inline_1623 = + eventName$jscomp$inline_1621[0].toUpperCase() + + eventName$jscomp$inline_1621.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1623, - "on" + capitalizedEvent$jscomp$inline_1624 + domEventName$jscomp$inline_1622, + "on" + capitalizedEvent$jscomp$inline_1623 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -15724,15 +15729,16 @@ function isSuspenseInstanceFallback(instance) { } function registerSuspenseInstanceRetry(instance, callback) { var ownerDocument = instance.ownerDocument; - "complete" !== ownerDocument.readyState && - ownerDocument.addEventListener( - "DOMContentLoaded", - function () { - "$?" === instance.data && callback(); - }, - { once: !0 } - ); - instance._reactRetry = callback; + if ("$?" !== instance.data || "complete" === ownerDocument.readyState) + callback(); + else { + var listener = function () { + callback(); + ownerDocument.removeEventListener("DOMContentLoaded", listener); + }; + ownerDocument.addEventListener("DOMContentLoaded", listener); + instance._reactRetry = listener; + } } function getNextHydratable(node) { for (; null != node; node = node.nextSibling) { @@ -17329,16 +17335,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1794 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1793 = React.version; if ( - "19.0.0-www-modern-16d2bbbd-20241203" !== - isomorphicReactPackageVersion$jscomp$inline_1794 + "19.0.0-www-modern-de68d2f4-20241204" !== + isomorphicReactPackageVersion$jscomp$inline_1793 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1794, - "19.0.0-www-modern-16d2bbbd-20241203" + isomorphicReactPackageVersion$jscomp$inline_1793, + "19.0.0-www-modern-de68d2f4-20241204" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17354,25 +17360,25 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2332 = { +var internals$jscomp$inline_2331 = { bundleType: 0, - version: "19.0.0-www-modern-16d2bbbd-20241203", + version: "19.0.0-www-modern-de68d2f4-20241204", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-modern-de68d2f4-20241204" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2333 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2332 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2333.isDisabled && - hook$jscomp$inline_2333.supportsFiber + !hook$jscomp$inline_2332.isDisabled && + hook$jscomp$inline_2332.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2333.inject( - internals$jscomp$inline_2332 + (rendererID = hook$jscomp$inline_2332.inject( + internals$jscomp$inline_2331 )), - (injectedHook = hook$jscomp$inline_2333); + (injectedHook = hook$jscomp$inline_2332); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -17874,4 +17880,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-16d2bbbd-20241203"; +exports.version = "19.0.0-www-modern-de68d2f4-20241204"; diff --git a/compiled/facebook-www/ReactReconciler-dev.classic.js b/compiled/facebook-www/ReactReconciler-dev.classic.js index 86671d2f5e9d4..8e5605fbe3e5e 100644 --- a/compiled/facebook-www/ReactReconciler-dev.classic.js +++ b/compiled/facebook-www/ReactReconciler-dev.classic.js @@ -7810,13 +7810,8 @@ __DEV__ && ); } else isSuspenseInstancePending(nextInstance) - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - (workInProgress = retryDehydratedSuspenseBoundary.bind( - null, - current - )), - registerSuspenseInstanceRetry(nextInstance, workInProgress), (workInProgress = null)) : ((current = JSCompiler_temp$jscomp$0.treeContext), supportsHydration && @@ -11590,6 +11585,16 @@ __DEV__ && recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); + flags & 64 && + ((finishedRoot = finishedWork.memoizedState), + null !== finishedRoot && + ((finishedRoot = finishedRoot.dehydrated), + null !== finishedRoot && + ((finishedWork = retryDehydratedSuspenseBoundary.bind( + null, + finishedWork + )), + registerSuspenseInstanceRetry(finishedRoot, finishedWork)))); break; case 22: prevProps = @@ -19274,7 +19279,7 @@ __DEV__ && rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-classic-de68d2f4-20241204" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-dev.modern.js b/compiled/facebook-www/ReactReconciler-dev.modern.js index b5534da0b60b7..819dca87f8f90 100644 --- a/compiled/facebook-www/ReactReconciler-dev.modern.js +++ b/compiled/facebook-www/ReactReconciler-dev.modern.js @@ -7641,13 +7641,8 @@ __DEV__ && ); } else isSuspenseInstancePending(nextInstance) - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - (workInProgress = retryDehydratedSuspenseBoundary.bind( - null, - current - )), - registerSuspenseInstanceRetry(nextInstance, workInProgress), (workInProgress = null)) : ((current = JSCompiler_temp$jscomp$0.treeContext), supportsHydration && @@ -11408,6 +11403,16 @@ __DEV__ && recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); + flags & 64 && + ((finishedRoot = finishedWork.memoizedState), + null !== finishedRoot && + ((finishedRoot = finishedRoot.dehydrated), + null !== finishedRoot && + ((finishedWork = retryDehydratedSuspenseBoundary.bind( + null, + finishedWork + )), + registerSuspenseInstanceRetry(finishedRoot, finishedWork)))); break; case 22: prevProps = @@ -19048,7 +19053,7 @@ __DEV__ && rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-modern-de68d2f4-20241204" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.classic.js b/compiled/facebook-www/ReactReconciler-prod.classic.js index 90650a5e80b81..bb69af5eceaa6 100644 --- a/compiled/facebook-www/ReactReconciler-prod.classic.js +++ b/compiled/facebook-www/ReactReconciler-prod.classic.js @@ -5116,13 +5116,8 @@ module.exports = function ($$$config) { ); } else isSuspenseInstancePending(nextInstance) - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - (workInProgress = retryDehydratedSuspenseBoundary.bind( - null, - current - )), - registerSuspenseInstanceRetry(nextInstance, workInProgress), (workInProgress = null)) : ((current = JSCompiler_temp$jscomp$0.treeContext), supportsHydration && @@ -7890,6 +7885,16 @@ module.exports = function ($$$config) { recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); + flags & 64 && + ((flags = finishedWork.memoizedState), + null !== flags && + ((flags = flags.dehydrated), + null !== flags && + ((finishedWork = retryDehydratedSuspenseBoundary.bind( + null, + finishedWork + )), + registerSuspenseInstanceRetry(flags, finishedWork)))); break; case 22: prevProps = @@ -12847,7 +12852,7 @@ module.exports = function ($$$config) { rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-classic-de68d2f4-20241204" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.modern.js b/compiled/facebook-www/ReactReconciler-prod.modern.js index 7e34a67a45597..51cbfc3a1a906 100644 --- a/compiled/facebook-www/ReactReconciler-prod.modern.js +++ b/compiled/facebook-www/ReactReconciler-prod.modern.js @@ -4898,13 +4898,8 @@ module.exports = function ($$$config) { ); } else isSuspenseInstancePending(nextInstance) - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - (workInProgress = retryDehydratedSuspenseBoundary.bind( - null, - current - )), - registerSuspenseInstanceRetry(nextInstance, workInProgress), (workInProgress = null)) : ((current = JSCompiler_temp$jscomp$0.treeContext), supportsHydration && @@ -7652,6 +7647,16 @@ module.exports = function ($$$config) { recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork); + flags & 64 && + ((flags = finishedWork.memoizedState), + null !== flags && + ((flags = flags.dehydrated), + null !== flags && + ((finishedWork = retryDehydratedSuspenseBoundary.bind( + null, + finishedWork + )), + registerSuspenseInstanceRetry(flags, finishedWork)))); break; case 22: prevProps = @@ -12566,7 +12571,7 @@ module.exports = function ($$$config) { rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-modern-de68d2f4-20241204" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index 4f29677214d48..1cbf2b79583de 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -6737,10 +6737,8 @@ __DEV__ && ); } else isSuspenseInstancePending() - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - retryDehydratedSuspenseBoundary.bind(null, current), - registerSuspenseInstanceRetry(), (workInProgress = null)) : ((workInProgress = mountSuspensePrimaryChildren( workInProgress, @@ -9371,6 +9369,12 @@ __DEV__ && break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); + flags & 64 && + ((finishedRoot = finishedWork.memoizedState), + null !== finishedRoot && + null !== finishedRoot.dehydrated && + (retryDehydratedSuspenseBoundary.bind(null, finishedWork), + registerSuspenseInstanceRetry())); break; case 22: prevProps = @@ -15028,11 +15032,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-www-classic-16d2bbbd-20241203", + version: "19.0.0-www-classic-de68d2f4-20241204", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-classic-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-classic-de68d2f4-20241204" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15167,5 +15171,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.0.0-www-classic-16d2bbbd-20241203"; + exports.version = "19.0.0-www-classic-de68d2f4-20241204"; })(); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index 9592f1286f2ee..2dde9dfffea90 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -6737,10 +6737,8 @@ __DEV__ && ); } else isSuspenseInstancePending() - ? ((workInProgress.flags |= 128), + ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), - retryDehydratedSuspenseBoundary.bind(null, current), - registerSuspenseInstanceRetry(), (workInProgress = null)) : ((workInProgress = mountSuspensePrimaryChildren( workInProgress, @@ -9371,6 +9369,12 @@ __DEV__ && break; case 13: recursivelyTraverseLayoutEffects(finishedRoot, finishedWork); + flags & 64 && + ((finishedRoot = finishedWork.memoizedState), + null !== finishedRoot && + null !== finishedRoot.dehydrated && + (retryDehydratedSuspenseBoundary.bind(null, finishedWork), + registerSuspenseInstanceRetry())); break; case 22: prevProps = @@ -15028,11 +15032,11 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.0.0-www-modern-16d2bbbd-20241203", + version: "19.0.0-www-modern-de68d2f4-20241204", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getInstanceFromNode, - reconcilerVersion: "19.0.0-www-modern-16d2bbbd-20241203" + reconcilerVersion: "19.0.0-www-modern-de68d2f4-20241204" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15167,5 +15171,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.0.0-www-modern-16d2bbbd-20241203"; + exports.version = "19.0.0-www-modern-de68d2f4-20241204"; })(); diff --git a/compiled/facebook-www/VERSION_CLASSIC b/compiled/facebook-www/VERSION_CLASSIC index 7803ddd0d6515..78759ca98d537 100644 --- a/compiled/facebook-www/VERSION_CLASSIC +++ b/compiled/facebook-www/VERSION_CLASSIC @@ -1 +1 @@ -19.0.0-www-classic-16d2bbbd-20241203 \ No newline at end of file +19.0.0-www-classic-de68d2f4-20241204 \ No newline at end of file diff --git a/compiled/facebook-www/VERSION_MODERN b/compiled/facebook-www/VERSION_MODERN index 116a5d1dc15de..66da3dd833c0a 100644 --- a/compiled/facebook-www/VERSION_MODERN +++ b/compiled/facebook-www/VERSION_MODERN @@ -1 +1 @@ -19.0.0-www-modern-16d2bbbd-20241203 \ No newline at end of file +19.0.0-www-modern-de68d2f4-20241204 \ No newline at end of file