diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index ed146f5455..7b3c08978a 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -b7e7f1a3fab87e8fc19e86a8088a9e0fe4710973 +9cc0f6e68de2b83b11d1fb2b514d2f508c2da6f7 diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index ed146f5455..7b3c08978a 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -b7e7f1a3fab87e8fc19e86a8088a9e0fe4710973 +9cc0f6e68de2b83b11d1fb2b514d2f508c2da6f7 diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index af891def6f..9a851ea44f 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -1993,7 +1993,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-www-classic-b7e7f1a3-20240722"; + exports.version = "19.0.0-www-classic-9cc0f6e6-20240723"; "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 536885450b..c297b5b0a1 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -1973,7 +1973,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-www-modern-b7e7f1a3-20240722"; + exports.version = "19.0.0-www-modern-9cc0f6e6-20240723"; "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 cf0104e422..e08682194f 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -662,4 +662,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-classic-b7e7f1a3-20240722"; +exports.version = "19.0.0-www-classic-9cc0f6e6-20240723"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 2b4905c20c..9d05b60ea5 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -662,4 +662,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-modern-b7e7f1a3-20240722"; +exports.version = "19.0.0-www-modern-9cc0f6e6-20240723"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index 1e7d9f9e79..4d87d69fe0 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -666,7 +666,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-classic-b7e7f1a3-20240722"; +exports.version = "19.0.0-www-classic-9cc0f6e6-20240723"; "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 fc71c05256..5b1e306edd 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -666,7 +666,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-www-modern-b7e7f1a3-20240722"; +exports.version = "19.0.0-www-modern-9cc0f6e6-20240723"; "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 1021f439bf..88de664769 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -8139,9 +8139,10 @@ __DEV__ && current.$$typeof === REACT_LAZY_TYPE && (workInProgress = " Did you wrap a component in React.lazy() more than once?"); + renderLanes = getComponentNameFromType(current) || current; throw Error( "Element type is invalid. Received a promise that resolves to: " + - current + + renderLanes + ". Lazy element type must resolve to a class or function." + workInProgress ); @@ -17034,14 +17035,14 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-www-classic-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-classic-9cc0f6e6-20240723" }); })({ findFiberByHostInstance: function () { return null; }, bundleType: 1, - version: "19.0.0-www-classic-b7e7f1a3-20240722", + version: "19.0.0-www-classic-9cc0f6e6-20240723", rendererPackageName: "react-art" }); var ClippingRectangle = TYPES.CLIPPING_RECTANGLE, diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js index 525d4a12ac..38467c5784 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -7849,9 +7849,10 @@ __DEV__ && current.$$typeof === REACT_LAZY_TYPE && (workInProgress = " Did you wrap a component in React.lazy() more than once?"); + renderLanes = getComponentNameFromType(current) || current; throw Error( "Element type is invalid. Received a promise that resolves to: " + - current + + renderLanes + ". Lazy element type must resolve to a class or function." + workInProgress ); @@ -16444,14 +16445,14 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-www-modern-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-modern-9cc0f6e6-20240723" }); })({ findFiberByHostInstance: function () { return null; }, bundleType: 1, - version: "19.0.0-www-modern-b7e7f1a3-20240722", + version: "19.0.0-www-modern-9cc0f6e6-20240723", rendererPackageName: "react-art" }); var ClippingRectangle = TYPES.CLIPPING_RECTANGLE, diff --git a/compiled/facebook-www/ReactART-prod.classic.js b/compiled/facebook-www/ReactART-prod.classic.js index 58a58fdb5c..d0d9b67cc0 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -5763,7 +5763,8 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - throw Error(formatProdErrorMessage(306, current, "")); + workInProgress = getComponentNameFromType(current) || current; + throw Error(formatProdErrorMessage(306, workInProgress, "")); } } return workInProgress; @@ -10757,19 +10758,19 @@ var slice = Array.prototype.slice, }; return Text; })(React.Component), - devToolsConfig$jscomp$inline_1174 = { + devToolsConfig$jscomp$inline_1175 = { findFiberByHostInstance: function () { return null; }, bundleType: 0, - version: "19.0.0-www-classic-b7e7f1a3-20240722", + version: "19.0.0-www-classic-9cc0f6e6-20240723", rendererPackageName: "react-art" }; -var internals$jscomp$inline_1386 = { - bundleType: devToolsConfig$jscomp$inline_1174.bundleType, - version: devToolsConfig$jscomp$inline_1174.version, - rendererPackageName: devToolsConfig$jscomp$inline_1174.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1174.rendererConfig, +var internals$jscomp$inline_1387 = { + bundleType: devToolsConfig$jscomp$inline_1175.bundleType, + version: devToolsConfig$jscomp$inline_1175.version, + rendererPackageName: devToolsConfig$jscomp$inline_1175.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1175.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -10786,26 +10787,26 @@ var internals$jscomp$inline_1386 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1174.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1175.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-classic-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-classic-9cc0f6e6-20240723" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1387 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1388 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1387.isDisabled && - hook$jscomp$inline_1387.supportsFiber + !hook$jscomp$inline_1388.isDisabled && + hook$jscomp$inline_1388.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1387.inject( - internals$jscomp$inline_1386 + (rendererID = hook$jscomp$inline_1388.inject( + internals$jscomp$inline_1387 )), - (injectedHook = hook$jscomp$inline_1387); + (injectedHook = hook$jscomp$inline_1388); } catch (err) {} } var Path = Mode$1.Path; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index 1debab942a..6b142fc2ac 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -115,7 +115,66 @@ function getIteratorFn(maybeIterable) { maybeIterable["@@iterator"]; return "function" === typeof maybeIterable ? maybeIterable : null; } -Symbol.for("react.client.reference"); +var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); +function getComponentNameFromType(type) { + if (null == type) return null; + if ("function" === typeof type) + return type.$$typeof === REACT_CLIENT_REFERENCE + ? null + : type.displayName || type.name || null; + if ("string" === typeof type) return type; + switch (type) { + case REACT_FRAGMENT_TYPE: + return "Fragment"; + case REACT_PORTAL_TYPE: + return "Portal"; + case REACT_PROFILER_TYPE: + return "Profiler"; + case REACT_STRICT_MODE_TYPE: + return "StrictMode"; + case REACT_SUSPENSE_TYPE: + return "Suspense"; + case REACT_SUSPENSE_LIST_TYPE: + return "SuspenseList"; + case REACT_TRACING_MARKER_TYPE: + if (enableTransitionTracing) return "TracingMarker"; + } + if ("object" === typeof type) + switch (type.$$typeof) { + case REACT_PROVIDER_TYPE: + if (enableRenderableContext) break; + else return (type._context.displayName || "Context") + ".Provider"; + case REACT_CONTEXT_TYPE: + return enableRenderableContext + ? (type.displayName || "Context") + ".Provider" + : (type.displayName || "Context") + ".Consumer"; + case REACT_CONSUMER_TYPE: + if (enableRenderableContext) + return (type._context.displayName || "Context") + ".Consumer"; + break; + case REACT_FORWARD_REF_TYPE: + var innerType = type.render; + type = type.displayName; + type || + ((type = innerType.displayName || innerType.name || ""), + (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef")); + return type; + case REACT_MEMO_TYPE: + return ( + (innerType = type.displayName || null), + null !== innerType + ? innerType + : getComponentNameFromType(type.type) || "Memo" + ); + case REACT_LAZY_TYPE: + innerType = type._payload; + type = type._init; + try { + return getComponentNameFromType(type(innerType)); + } catch (x) {} + } + return null; +} var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, prefix, @@ -5397,7 +5456,8 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - throw Error(formatProdErrorMessage(306, current, "")); + workInProgress = getComponentNameFromType(current) || current; + throw Error(formatProdErrorMessage(306, workInProgress, "")); } } return workInProgress; @@ -10201,19 +10261,19 @@ var slice = Array.prototype.slice, }; return Text; })(React.Component), - devToolsConfig$jscomp$inline_1138 = { + devToolsConfig$jscomp$inline_1139 = { findFiberByHostInstance: function () { return null; }, bundleType: 0, - version: "19.0.0-www-modern-b7e7f1a3-20240722", + version: "19.0.0-www-modern-9cc0f6e6-20240723", rendererPackageName: "react-art" }; -var internals$jscomp$inline_1372 = { - bundleType: devToolsConfig$jscomp$inline_1138.bundleType, - version: devToolsConfig$jscomp$inline_1138.version, - rendererPackageName: devToolsConfig$jscomp$inline_1138.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1138.rendererConfig, +var internals$jscomp$inline_1373 = { + bundleType: devToolsConfig$jscomp$inline_1139.bundleType, + version: devToolsConfig$jscomp$inline_1139.version, + rendererPackageName: devToolsConfig$jscomp$inline_1139.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1139.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -10230,26 +10290,26 @@ var internals$jscomp$inline_1372 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1138.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1139.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-modern-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-modern-9cc0f6e6-20240723" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1373 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1374 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1373.isDisabled && - hook$jscomp$inline_1373.supportsFiber + !hook$jscomp$inline_1374.isDisabled && + hook$jscomp$inline_1374.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1373.inject( - internals$jscomp$inline_1372 + (rendererID = hook$jscomp$inline_1374.inject( + internals$jscomp$inline_1373 )), - (injectedHook = hook$jscomp$inline_1373); + (injectedHook = hook$jscomp$inline_1374); } catch (err) {} } var Path = Mode$1.Path; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index dc8e401ec8..1ca3bb394c 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -9166,32 +9166,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2433; - var JSCompiler_object_inline_stack_2434 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2434; + var JSCompiler_object_inline_stack_2435 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2435 = !1; + var JSCompiler_object_inline_componentStack_2436 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2433 = didSuspend) || - (JSCompiler_object_inline_digest_2433 = + (JSCompiler_object_inline_digest_2434 = didSuspend) || + (JSCompiler_object_inline_digest_2434 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2433 && - ((JSCompiler_object_inline_componentStack_2435 = !0), + JSCompiler_object_inline_digest_2434 && + ((JSCompiler_object_inline_componentStack_2436 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2433 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2434 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2435 + JSCompiler_object_inline_componentStack_2436 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2432 = nextHydratableInstance; + var JSCompiler_object_inline_message_2433 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2432)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2433)) { c: { - var instance = JSCompiler_object_inline_message_2432; + var instance = JSCompiler_object_inline_message_2433; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9232,19 +9232,19 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2432 + JSCompiler_object_inline_message_2433 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2432 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2433 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2432 && - ((JSCompiler_object_inline_message_2432 = - JSCompiler_object_inline_message_2432.dehydrated), - null !== JSCompiler_object_inline_message_2432) + null !== JSCompiler_object_inline_message_2433 && + ((JSCompiler_object_inline_message_2433 = + JSCompiler_object_inline_message_2433.dehydrated), + null !== JSCompiler_object_inline_message_2433) ) return ( - JSCompiler_object_inline_message_2432.data === + JSCompiler_object_inline_message_2433.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = DefaultHydrationLane) : (workInProgress.lanes = OffscreenLane), @@ -9252,27 +9252,27 @@ __DEV__ && ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2432 = - JSCompiler_object_inline_stack_2434.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2434.fallback; - if (JSCompiler_object_inline_componentStack_2435) + JSCompiler_object_inline_message_2433 = + JSCompiler_object_inline_stack_2435.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2435.fallback; + if (JSCompiler_object_inline_componentStack_2436) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2434 = + (JSCompiler_object_inline_stack_2435 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2432, + JSCompiler_object_inline_message_2433, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2435 = + (JSCompiler_object_inline_componentStack_2436 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2435.memoizedState = + (JSCompiler_object_inline_componentStack_2436.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2435.childLanes = + (JSCompiler_object_inline_componentStack_2436.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2433, + JSCompiler_object_inline_digest_2434, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9285,9 +9285,9 @@ __DEV__ && ? markerInstanceStack.current : null), (current = - JSCompiler_object_inline_componentStack_2435.updateQueue), + JSCompiler_object_inline_componentStack_2436.updateQueue), null === current - ? (JSCompiler_object_inline_componentStack_2435.updateQueue = + ? (JSCompiler_object_inline_componentStack_2436.updateQueue = { transitions: workInProgress, markerInstances: renderLanes, @@ -9295,46 +9295,46 @@ __DEV__ && }) : ((current.transitions = workInProgress), (current.markerInstances = renderLanes)))), - JSCompiler_object_inline_stack_2434 + JSCompiler_object_inline_stack_2435 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2434.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2435.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2434 = + (JSCompiler_object_inline_stack_2435 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2432, + JSCompiler_object_inline_message_2433, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2435 = + (JSCompiler_object_inline_componentStack_2436 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2435.memoizedState = + (JSCompiler_object_inline_componentStack_2436.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2435.childLanes = + (JSCompiler_object_inline_componentStack_2436.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2433, + JSCompiler_object_inline_digest_2434, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2434 + JSCompiler_object_inline_stack_2435 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2432 + JSCompiler_object_inline_message_2433 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2432 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2432) + ((JSCompiler_object_inline_message_2433 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2433) ) { if (didSuspend) workInProgress.flags & 256 @@ -9351,32 +9351,32 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2435 = - JSCompiler_object_inline_stack_2434.fallback), - (JSCompiler_object_inline_message_2432 = workInProgress.mode), - (JSCompiler_object_inline_stack_2434 = createFiberFromOffscreen( + (JSCompiler_object_inline_componentStack_2436 = + JSCompiler_object_inline_stack_2435.fallback), + (JSCompiler_object_inline_message_2433 = workInProgress.mode), + (JSCompiler_object_inline_stack_2435 = createFiberFromOffscreen( { mode: "visible", - children: JSCompiler_object_inline_stack_2434.children + children: JSCompiler_object_inline_stack_2435.children }, - JSCompiler_object_inline_message_2432, + JSCompiler_object_inline_message_2433, 0, null )), - (JSCompiler_object_inline_componentStack_2435 = + (JSCompiler_object_inline_componentStack_2436 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2435, - JSCompiler_object_inline_message_2432, + JSCompiler_object_inline_componentStack_2436, + JSCompiler_object_inline_message_2433, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2435.flags |= 2), - (JSCompiler_object_inline_stack_2434.return = workInProgress), - (JSCompiler_object_inline_componentStack_2435.return = + (JSCompiler_object_inline_componentStack_2436.flags |= 2), + (JSCompiler_object_inline_stack_2435.return = workInProgress), + (JSCompiler_object_inline_componentStack_2436.return = workInProgress), - (JSCompiler_object_inline_stack_2434.sibling = - JSCompiler_object_inline_componentStack_2435), - (workInProgress.child = JSCompiler_object_inline_stack_2434), + (JSCompiler_object_inline_stack_2435.sibling = + JSCompiler_object_inline_componentStack_2436), + (workInProgress.child = JSCompiler_object_inline_stack_2435), (disableLegacyMode || 0 !== (workInProgress.mode & 1)) && reconcileChildFibers( workInProgress, @@ -9384,63 +9384,63 @@ __DEV__ && null, renderLanes ), - (JSCompiler_object_inline_stack_2434 = workInProgress.child), - (JSCompiler_object_inline_stack_2434.memoizedState = + (JSCompiler_object_inline_stack_2435 = workInProgress.child), + (JSCompiler_object_inline_stack_2435.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2434.childLanes = + (JSCompiler_object_inline_stack_2435.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2433, + JSCompiler_object_inline_digest_2434, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2435)); + JSCompiler_object_inline_componentStack_2436)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2432.data === + JSCompiler_object_inline_message_2433.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2433 = - JSCompiler_object_inline_message_2432.nextSibling && - JSCompiler_object_inline_message_2432.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2433) { - JSCompiler_temp = JSCompiler_object_inline_digest_2433.dgst; - var message = JSCompiler_object_inline_digest_2433.msg; - instance = JSCompiler_object_inline_digest_2433.stck; - var componentStack = JSCompiler_object_inline_digest_2433.cstck; + JSCompiler_object_inline_digest_2434 = + JSCompiler_object_inline_message_2433.nextSibling && + JSCompiler_object_inline_message_2433.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2434) { + JSCompiler_temp = JSCompiler_object_inline_digest_2434.dgst; + var message = JSCompiler_object_inline_digest_2434.msg; + instance = JSCompiler_object_inline_digest_2434.stck; + var componentStack = JSCompiler_object_inline_digest_2434.cstck; } - JSCompiler_object_inline_message_2432 = message; - JSCompiler_object_inline_digest_2433 = JSCompiler_temp; - JSCompiler_object_inline_stack_2434 = instance; - JSCompiler_object_inline_componentStack_2435 = componentStack; - JSCompiler_object_inline_message_2432 = - JSCompiler_object_inline_message_2432 - ? Error(JSCompiler_object_inline_message_2432) + JSCompiler_object_inline_message_2433 = message; + JSCompiler_object_inline_digest_2434 = JSCompiler_temp; + JSCompiler_object_inline_stack_2435 = instance; + JSCompiler_object_inline_componentStack_2436 = componentStack; + JSCompiler_object_inline_message_2433 = + JSCompiler_object_inline_message_2433 + ? Error(JSCompiler_object_inline_message_2433) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2432.stack = - JSCompiler_object_inline_stack_2434 || ""; - JSCompiler_object_inline_message_2432.digest = - JSCompiler_object_inline_digest_2433; - JSCompiler_object_inline_digest_2433 = - void 0 === JSCompiler_object_inline_componentStack_2435 + JSCompiler_object_inline_message_2433.stack = + JSCompiler_object_inline_stack_2435 || ""; + JSCompiler_object_inline_message_2433.digest = + JSCompiler_object_inline_digest_2434; + JSCompiler_object_inline_digest_2434 = + void 0 === JSCompiler_object_inline_componentStack_2436 ? null - : JSCompiler_object_inline_componentStack_2435; - "string" === typeof JSCompiler_object_inline_digest_2433 && + : JSCompiler_object_inline_componentStack_2436; + "string" === typeof JSCompiler_object_inline_digest_2434 && CapturedStacks.set( - JSCompiler_object_inline_message_2432, - JSCompiler_object_inline_digest_2433 + JSCompiler_object_inline_message_2433, + JSCompiler_object_inline_digest_2434 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2432, + value: JSCompiler_object_inline_message_2433, source: null, - stack: JSCompiler_object_inline_digest_2433 + stack: JSCompiler_object_inline_digest_2434 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9456,26 +9456,26 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2433 = + (JSCompiler_object_inline_digest_2434 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2433) + didReceiveUpdate || JSCompiler_object_inline_digest_2434) ) { - JSCompiler_object_inline_digest_2433 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2433) { - JSCompiler_object_inline_stack_2434 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2434 & SyncUpdateLanes)) - JSCompiler_object_inline_stack_2434 = SyncHydrationLane; + JSCompiler_object_inline_digest_2434 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2434) { + JSCompiler_object_inline_stack_2435 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2435 & SyncUpdateLanes)) + JSCompiler_object_inline_stack_2435 = SyncHydrationLane; else - switch (JSCompiler_object_inline_stack_2434) { + switch (JSCompiler_object_inline_stack_2435) { case SyncLane: - JSCompiler_object_inline_stack_2434 = SyncHydrationLane; + JSCompiler_object_inline_stack_2435 = SyncHydrationLane; break; case InputContinuousLane: - JSCompiler_object_inline_stack_2434 = + JSCompiler_object_inline_stack_2435 = InputContinuousHydrationLane; break; case DefaultLane: - JSCompiler_object_inline_stack_2434 = DefaultHydrationLane; + JSCompiler_object_inline_stack_2435 = DefaultHydrationLane; break; case 128: case 256: @@ -9496,40 +9496,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2434 = TransitionHydrationLane; + JSCompiler_object_inline_stack_2435 = TransitionHydrationLane; break; case IdleLane: - JSCompiler_object_inline_stack_2434 = IdleHydrationLane; + JSCompiler_object_inline_stack_2435 = IdleHydrationLane; break; default: - JSCompiler_object_inline_stack_2434 = 0; + JSCompiler_object_inline_stack_2435 = 0; } - JSCompiler_object_inline_stack_2434 = + JSCompiler_object_inline_stack_2435 = 0 !== - (JSCompiler_object_inline_stack_2434 & - (JSCompiler_object_inline_digest_2433.suspendedLanes | + (JSCompiler_object_inline_stack_2435 & + (JSCompiler_object_inline_digest_2434.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2434; + : JSCompiler_object_inline_stack_2435; if ( - 0 !== JSCompiler_object_inline_stack_2434 && - JSCompiler_object_inline_stack_2434 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2435 && + JSCompiler_object_inline_stack_2435 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2434), + ((prevState.retryLane = JSCompiler_object_inline_stack_2435), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2434 + JSCompiler_object_inline_stack_2435 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2433, + JSCompiler_object_inline_digest_2434, current, - JSCompiler_object_inline_stack_2434 + JSCompiler_object_inline_stack_2435 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2432.data === + JSCompiler_object_inline_message_2433.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9537,7 +9537,7 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2432.data === + JSCompiler_object_inline_message_2433.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9545,12 +9545,12 @@ __DEV__ && null, current )), - (JSCompiler_object_inline_message_2432._reactRetry = + (JSCompiler_object_inline_message_2433._reactRetry = workInProgress), (workInProgress = null)) : ((renderLanes = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2432.nextSibling + JSCompiler_object_inline_message_2433.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9568,73 +9568,73 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2434.children + JSCompiler_object_inline_stack_2435.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2435) + if (JSCompiler_object_inline_componentStack_2436) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2435 = - JSCompiler_object_inline_stack_2434.fallback), - (JSCompiler_object_inline_message_2432 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2436 = + JSCompiler_object_inline_stack_2435.fallback), + (JSCompiler_object_inline_message_2433 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), (componentStack = { mode: "hidden", - children: JSCompiler_object_inline_stack_2434.children + children: JSCompiler_object_inline_stack_2435.children }), disableLegacyMode || - 0 !== (JSCompiler_object_inline_message_2432 & 1) || + 0 !== (JSCompiler_object_inline_message_2433 & 1) || workInProgress.child === JSCompiler_temp - ? ((JSCompiler_object_inline_stack_2434 = createWorkInProgress( + ? ((JSCompiler_object_inline_stack_2435 = createWorkInProgress( JSCompiler_temp, componentStack )), - (JSCompiler_object_inline_stack_2434.subtreeFlags = + (JSCompiler_object_inline_stack_2435.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280)) - : ((JSCompiler_object_inline_stack_2434 = workInProgress.child), - (JSCompiler_object_inline_stack_2434.childLanes = 0), - (JSCompiler_object_inline_stack_2434.pendingProps = + : ((JSCompiler_object_inline_stack_2435 = workInProgress.child), + (JSCompiler_object_inline_stack_2435.childLanes = 0), + (JSCompiler_object_inline_stack_2435.pendingProps = componentStack), workInProgress.mode & 2 && - ((JSCompiler_object_inline_stack_2434.actualDuration = 0), - (JSCompiler_object_inline_stack_2434.actualStartTime = -1), - (JSCompiler_object_inline_stack_2434.selfBaseDuration = + ((JSCompiler_object_inline_stack_2435.actualDuration = 0), + (JSCompiler_object_inline_stack_2435.actualStartTime = -1), + (JSCompiler_object_inline_stack_2435.selfBaseDuration = JSCompiler_temp.selfBaseDuration), - (JSCompiler_object_inline_stack_2434.treeBaseDuration = + (JSCompiler_object_inline_stack_2435.treeBaseDuration = JSCompiler_temp.treeBaseDuration)), (workInProgress.deletions = null)), null !== instance - ? (JSCompiler_object_inline_componentStack_2435 = + ? (JSCompiler_object_inline_componentStack_2436 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2435 + JSCompiler_object_inline_componentStack_2436 )) - : ((JSCompiler_object_inline_componentStack_2435 = + : ((JSCompiler_object_inline_componentStack_2436 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2435, - JSCompiler_object_inline_message_2432, + JSCompiler_object_inline_componentStack_2436, + JSCompiler_object_inline_message_2433, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2435.flags |= 2)), - (JSCompiler_object_inline_componentStack_2435.return = + (JSCompiler_object_inline_componentStack_2436.flags |= 2)), + (JSCompiler_object_inline_componentStack_2436.return = workInProgress), - (JSCompiler_object_inline_stack_2434.return = workInProgress), - (JSCompiler_object_inline_stack_2434.sibling = - JSCompiler_object_inline_componentStack_2435), - (workInProgress.child = JSCompiler_object_inline_stack_2434), - (JSCompiler_object_inline_stack_2434 = - JSCompiler_object_inline_componentStack_2435), - (JSCompiler_object_inline_componentStack_2435 = workInProgress.child), - (JSCompiler_object_inline_message_2432 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2432 - ? (JSCompiler_object_inline_message_2432 = + (JSCompiler_object_inline_stack_2435.return = workInProgress), + (JSCompiler_object_inline_stack_2435.sibling = + JSCompiler_object_inline_componentStack_2436), + (workInProgress.child = JSCompiler_object_inline_stack_2435), + (JSCompiler_object_inline_stack_2435 = + JSCompiler_object_inline_componentStack_2436), + (JSCompiler_object_inline_componentStack_2436 = workInProgress.child), + (JSCompiler_object_inline_message_2433 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2433 + ? (JSCompiler_object_inline_message_2433 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2432.cachePool), + JSCompiler_object_inline_message_2433.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9642,34 +9642,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2432 = { + (JSCompiler_object_inline_message_2433 = { baseLanes: - JSCompiler_object_inline_message_2432.baseLanes | renderLanes, + JSCompiler_object_inline_message_2433.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2435.memoizedState = - JSCompiler_object_inline_message_2432), + (JSCompiler_object_inline_componentStack_2436.memoizedState = + JSCompiler_object_inline_message_2433), enableTransitionTracing && - ((JSCompiler_object_inline_message_2432 = enableTransitionTracing + ((JSCompiler_object_inline_message_2433 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2432 && + null !== JSCompiler_object_inline_message_2433 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2435.updateQueue), + JSCompiler_object_inline_componentStack_2436.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2435.updateQueue = { - transitions: JSCompiler_object_inline_message_2432, + ? (JSCompiler_object_inline_componentStack_2436.updateQueue = { + transitions: JSCompiler_object_inline_message_2433, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2435.updateQueue = + ? (JSCompiler_object_inline_componentStack_2436.updateQueue = { - transitions: JSCompiler_object_inline_message_2432, + transitions: JSCompiler_object_inline_message_2433, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9677,41 +9677,41 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2432), + JSCompiler_object_inline_message_2433), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2435.childLanes = + (JSCompiler_object_inline_componentStack_2436.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2433, + JSCompiler_object_inline_digest_2434, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2434 + JSCompiler_object_inline_stack_2435 ); pushPrimaryTreeSuspenseHandler(workInProgress); - JSCompiler_object_inline_digest_2433 = current.child; - current = JSCompiler_object_inline_digest_2433.sibling; - JSCompiler_object_inline_digest_2433 = createWorkInProgress( - JSCompiler_object_inline_digest_2433, + JSCompiler_object_inline_digest_2434 = current.child; + current = JSCompiler_object_inline_digest_2434.sibling; + JSCompiler_object_inline_digest_2434 = createWorkInProgress( + JSCompiler_object_inline_digest_2434, { mode: "visible", - children: JSCompiler_object_inline_stack_2434.children + children: JSCompiler_object_inline_stack_2435.children } ); disableLegacyMode || 0 !== (workInProgress.mode & 1) || - (JSCompiler_object_inline_digest_2433.lanes = renderLanes); - JSCompiler_object_inline_digest_2433.return = workInProgress; - JSCompiler_object_inline_digest_2433.sibling = null; + (JSCompiler_object_inline_digest_2434.lanes = renderLanes); + JSCompiler_object_inline_digest_2434.return = workInProgress; + JSCompiler_object_inline_digest_2434.sibling = null; null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); - workInProgress.child = JSCompiler_object_inline_digest_2433; + workInProgress.child = JSCompiler_object_inline_digest_2434; workInProgress.memoizedState = null; - return JSCompiler_object_inline_digest_2433; + return JSCompiler_object_inline_digest_2434; } function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { primaryChildren = createFiberFromOffscreen( @@ -10329,9 +10329,11 @@ __DEV__ && Component.$$typeof === REACT_LAZY_TYPE && (hint = " Did you wrap a component in React.lazy() more than once?"); + var loggedComponent = + getComponentNameFromType(Component) || Component; throw Error( "Element type is invalid. Received a promise that resolves to: " + - Component + + loggedComponent + ". Lazy element type must resolve to a class or function." + hint ); @@ -27626,11 +27628,11 @@ __DEV__ && : flushSyncErrorInBuildsThatSupportLegacyMode; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-classic-b7e7f1a3-20240722" !== isomorphicReactPackageVersion) + if ("19.0.0-www-classic-9cc0f6e6-20240723" !== 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-b7e7f1a3-20240722\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-classic-9cc0f6e6-20240723\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27696,12 +27698,12 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-www-classic-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-classic-9cc0f6e6-20240723" }); })({ findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 1, - version: "19.0.0-www-classic-b7e7f1a3-20240722", + version: "19.0.0-www-classic-9cc0f6e6-20240723", rendererPackageName: "react-dom" }) && canUseDOM && @@ -28344,7 +28346,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-classic-b7e7f1a3-20240722"; + exports.version = "19.0.0-www-classic-9cc0f6e6-20240723"; "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 80ec684a67..68102b2ffd 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -8859,32 +8859,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2452; - var JSCompiler_object_inline_stack_2453 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2453; + var JSCompiler_object_inline_stack_2454 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2454 = !1; + var JSCompiler_object_inline_componentStack_2455 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2452 = didSuspend) || - (JSCompiler_object_inline_digest_2452 = + (JSCompiler_object_inline_digest_2453 = didSuspend) || + (JSCompiler_object_inline_digest_2453 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2452 && - ((JSCompiler_object_inline_componentStack_2454 = !0), + JSCompiler_object_inline_digest_2453 && + ((JSCompiler_object_inline_componentStack_2455 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2452 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2453 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2454 + JSCompiler_object_inline_componentStack_2455 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2451 = nextHydratableInstance; + var JSCompiler_object_inline_message_2452 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2451)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2452)) { c: { - var instance = JSCompiler_object_inline_message_2451; + var instance = JSCompiler_object_inline_message_2452; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -8925,19 +8925,19 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2451 + JSCompiler_object_inline_message_2452 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2451 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2452 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2451 && - ((JSCompiler_object_inline_message_2451 = - JSCompiler_object_inline_message_2451.dehydrated), - null !== JSCompiler_object_inline_message_2451) + null !== JSCompiler_object_inline_message_2452 && + ((JSCompiler_object_inline_message_2452 = + JSCompiler_object_inline_message_2452.dehydrated), + null !== JSCompiler_object_inline_message_2452) ) return ( - JSCompiler_object_inline_message_2451.data === + JSCompiler_object_inline_message_2452.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = DefaultHydrationLane) : (workInProgress.lanes = OffscreenLane), @@ -8945,27 +8945,27 @@ __DEV__ && ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2451 = - JSCompiler_object_inline_stack_2453.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2453.fallback; - if (JSCompiler_object_inline_componentStack_2454) + JSCompiler_object_inline_message_2452 = + JSCompiler_object_inline_stack_2454.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2454.fallback; + if (JSCompiler_object_inline_componentStack_2455) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2453 = + (JSCompiler_object_inline_stack_2454 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2451, + JSCompiler_object_inline_message_2452, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2454 = + (JSCompiler_object_inline_componentStack_2455 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2454.memoizedState = + (JSCompiler_object_inline_componentStack_2455.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2454.childLanes = + (JSCompiler_object_inline_componentStack_2455.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2452, + JSCompiler_object_inline_digest_2453, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -8978,9 +8978,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2454.updateQueue), + JSCompiler_object_inline_componentStack_2455.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2454.updateQueue = + ? (JSCompiler_object_inline_componentStack_2455.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -8988,46 +8988,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2453 + JSCompiler_object_inline_stack_2454 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2453.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2454.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2453 = + (JSCompiler_object_inline_stack_2454 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2451, + JSCompiler_object_inline_message_2452, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2454 = + (JSCompiler_object_inline_componentStack_2455 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2454.memoizedState = + (JSCompiler_object_inline_componentStack_2455.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2454.childLanes = + (JSCompiler_object_inline_componentStack_2455.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2452, + JSCompiler_object_inline_digest_2453, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2453 + JSCompiler_object_inline_stack_2454 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2451 + JSCompiler_object_inline_message_2452 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2451 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2451) + ((JSCompiler_object_inline_message_2452 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2452) ) { if (didSuspend) workInProgress.flags & 256 @@ -9044,94 +9044,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2454 = - JSCompiler_object_inline_stack_2453.fallback), - (JSCompiler_object_inline_message_2451 = workInProgress.mode), - (JSCompiler_object_inline_stack_2453 = + (JSCompiler_object_inline_componentStack_2455 = + JSCompiler_object_inline_stack_2454.fallback), + (JSCompiler_object_inline_message_2452 = workInProgress.mode), + (JSCompiler_object_inline_stack_2454 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2453.children + children: JSCompiler_object_inline_stack_2454.children }, - JSCompiler_object_inline_message_2451 + JSCompiler_object_inline_message_2452 )), - (JSCompiler_object_inline_componentStack_2454 = + (JSCompiler_object_inline_componentStack_2455 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2454, - JSCompiler_object_inline_message_2451, + JSCompiler_object_inline_componentStack_2455, + JSCompiler_object_inline_message_2452, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2454.flags |= 2), - (JSCompiler_object_inline_stack_2453.return = workInProgress), - (JSCompiler_object_inline_componentStack_2454.return = + (JSCompiler_object_inline_componentStack_2455.flags |= 2), + (JSCompiler_object_inline_stack_2454.return = workInProgress), + (JSCompiler_object_inline_componentStack_2455.return = workInProgress), - (JSCompiler_object_inline_stack_2453.sibling = - JSCompiler_object_inline_componentStack_2454), - (workInProgress.child = JSCompiler_object_inline_stack_2453), + (JSCompiler_object_inline_stack_2454.sibling = + JSCompiler_object_inline_componentStack_2455), + (workInProgress.child = JSCompiler_object_inline_stack_2454), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2453 = workInProgress.child), - (JSCompiler_object_inline_stack_2453.memoizedState = + (JSCompiler_object_inline_stack_2454 = workInProgress.child), + (JSCompiler_object_inline_stack_2454.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2453.childLanes = + (JSCompiler_object_inline_stack_2454.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2452, + JSCompiler_object_inline_digest_2453, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2454)); + JSCompiler_object_inline_componentStack_2455)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2451.data === + JSCompiler_object_inline_message_2452.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2452 = - JSCompiler_object_inline_message_2451.nextSibling && - JSCompiler_object_inline_message_2451.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2452) { - JSCompiler_temp = JSCompiler_object_inline_digest_2452.dgst; - var message = JSCompiler_object_inline_digest_2452.msg; - instance = JSCompiler_object_inline_digest_2452.stck; - var componentStack = JSCompiler_object_inline_digest_2452.cstck; + JSCompiler_object_inline_digest_2453 = + JSCompiler_object_inline_message_2452.nextSibling && + JSCompiler_object_inline_message_2452.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2453) { + JSCompiler_temp = JSCompiler_object_inline_digest_2453.dgst; + var message = JSCompiler_object_inline_digest_2453.msg; + instance = JSCompiler_object_inline_digest_2453.stck; + var componentStack = JSCompiler_object_inline_digest_2453.cstck; } - JSCompiler_object_inline_message_2451 = message; - JSCompiler_object_inline_digest_2452 = JSCompiler_temp; - JSCompiler_object_inline_stack_2453 = instance; - JSCompiler_object_inline_componentStack_2454 = componentStack; - JSCompiler_object_inline_message_2451 = - JSCompiler_object_inline_message_2451 - ? Error(JSCompiler_object_inline_message_2451) + JSCompiler_object_inline_message_2452 = message; + JSCompiler_object_inline_digest_2453 = JSCompiler_temp; + JSCompiler_object_inline_stack_2454 = instance; + JSCompiler_object_inline_componentStack_2455 = componentStack; + JSCompiler_object_inline_message_2452 = + JSCompiler_object_inline_message_2452 + ? Error(JSCompiler_object_inline_message_2452) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2451.stack = - JSCompiler_object_inline_stack_2453 || ""; - JSCompiler_object_inline_message_2451.digest = - JSCompiler_object_inline_digest_2452; - JSCompiler_object_inline_digest_2452 = - void 0 === JSCompiler_object_inline_componentStack_2454 + JSCompiler_object_inline_message_2452.stack = + JSCompiler_object_inline_stack_2454 || ""; + JSCompiler_object_inline_message_2452.digest = + JSCompiler_object_inline_digest_2453; + JSCompiler_object_inline_digest_2453 = + void 0 === JSCompiler_object_inline_componentStack_2455 ? null - : JSCompiler_object_inline_componentStack_2454; - "string" === typeof JSCompiler_object_inline_digest_2452 && + : JSCompiler_object_inline_componentStack_2455; + "string" === typeof JSCompiler_object_inline_digest_2453 && CapturedStacks.set( - JSCompiler_object_inline_message_2451, - JSCompiler_object_inline_digest_2452 + JSCompiler_object_inline_message_2452, + JSCompiler_object_inline_digest_2453 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2451, + value: JSCompiler_object_inline_message_2452, source: null, - stack: JSCompiler_object_inline_digest_2452 + stack: JSCompiler_object_inline_digest_2453 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9147,26 +9147,26 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2452 = + (JSCompiler_object_inline_digest_2453 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2452) + didReceiveUpdate || JSCompiler_object_inline_digest_2453) ) { - JSCompiler_object_inline_digest_2452 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2452) { - JSCompiler_object_inline_stack_2453 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2453 & SyncUpdateLanes)) - JSCompiler_object_inline_stack_2453 = SyncHydrationLane; + JSCompiler_object_inline_digest_2453 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2453) { + JSCompiler_object_inline_stack_2454 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2454 & SyncUpdateLanes)) + JSCompiler_object_inline_stack_2454 = SyncHydrationLane; else - switch (JSCompiler_object_inline_stack_2453) { + switch (JSCompiler_object_inline_stack_2454) { case SyncLane: - JSCompiler_object_inline_stack_2453 = SyncHydrationLane; + JSCompiler_object_inline_stack_2454 = SyncHydrationLane; break; case InputContinuousLane: - JSCompiler_object_inline_stack_2453 = + JSCompiler_object_inline_stack_2454 = InputContinuousHydrationLane; break; case DefaultLane: - JSCompiler_object_inline_stack_2453 = DefaultHydrationLane; + JSCompiler_object_inline_stack_2454 = DefaultHydrationLane; break; case 128: case 256: @@ -9187,40 +9187,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2453 = TransitionHydrationLane; + JSCompiler_object_inline_stack_2454 = TransitionHydrationLane; break; case IdleLane: - JSCompiler_object_inline_stack_2453 = IdleHydrationLane; + JSCompiler_object_inline_stack_2454 = IdleHydrationLane; break; default: - JSCompiler_object_inline_stack_2453 = 0; + JSCompiler_object_inline_stack_2454 = 0; } - JSCompiler_object_inline_stack_2453 = + JSCompiler_object_inline_stack_2454 = 0 !== - (JSCompiler_object_inline_stack_2453 & - (JSCompiler_object_inline_digest_2452.suspendedLanes | + (JSCompiler_object_inline_stack_2454 & + (JSCompiler_object_inline_digest_2453.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2453; + : JSCompiler_object_inline_stack_2454; if ( - 0 !== JSCompiler_object_inline_stack_2453 && - JSCompiler_object_inline_stack_2453 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2454 && + JSCompiler_object_inline_stack_2454 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2453), + ((prevState.retryLane = JSCompiler_object_inline_stack_2454), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2453 + JSCompiler_object_inline_stack_2454 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2452, + JSCompiler_object_inline_digest_2453, current, - JSCompiler_object_inline_stack_2453 + JSCompiler_object_inline_stack_2454 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2451.data === + JSCompiler_object_inline_message_2452.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9228,7 +9228,7 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2451.data === + JSCompiler_object_inline_message_2452.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9236,12 +9236,12 @@ __DEV__ && null, current )), - (JSCompiler_object_inline_message_2451._reactRetry = + (JSCompiler_object_inline_message_2452._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2451.nextSibling + JSCompiler_object_inline_message_2452.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9259,57 +9259,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2453.children + JSCompiler_object_inline_stack_2454.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2454) + if (JSCompiler_object_inline_componentStack_2455) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2454 = - JSCompiler_object_inline_stack_2453.fallback), - (JSCompiler_object_inline_message_2451 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2455 = + JSCompiler_object_inline_stack_2454.fallback), + (JSCompiler_object_inline_message_2452 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2453 = createWorkInProgress( + (JSCompiler_object_inline_stack_2454 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2453.children + children: JSCompiler_object_inline_stack_2454.children } )), - (JSCompiler_object_inline_stack_2453.subtreeFlags = + (JSCompiler_object_inline_stack_2454.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2454 = + ? (JSCompiler_object_inline_componentStack_2455 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2454 + JSCompiler_object_inline_componentStack_2455 )) - : ((JSCompiler_object_inline_componentStack_2454 = + : ((JSCompiler_object_inline_componentStack_2455 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2454, - JSCompiler_object_inline_message_2451, + JSCompiler_object_inline_componentStack_2455, + JSCompiler_object_inline_message_2452, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2454.flags |= 2)), - (JSCompiler_object_inline_componentStack_2454.return = + (JSCompiler_object_inline_componentStack_2455.flags |= 2)), + (JSCompiler_object_inline_componentStack_2455.return = workInProgress), - (JSCompiler_object_inline_stack_2453.return = workInProgress), - (JSCompiler_object_inline_stack_2453.sibling = - JSCompiler_object_inline_componentStack_2454), - (workInProgress.child = JSCompiler_object_inline_stack_2453), - (JSCompiler_object_inline_stack_2453 = - JSCompiler_object_inline_componentStack_2454), - (JSCompiler_object_inline_componentStack_2454 = workInProgress.child), - (JSCompiler_object_inline_message_2451 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2451 - ? (JSCompiler_object_inline_message_2451 = + (JSCompiler_object_inline_stack_2454.return = workInProgress), + (JSCompiler_object_inline_stack_2454.sibling = + JSCompiler_object_inline_componentStack_2455), + (workInProgress.child = JSCompiler_object_inline_stack_2454), + (JSCompiler_object_inline_stack_2454 = + JSCompiler_object_inline_componentStack_2455), + (JSCompiler_object_inline_componentStack_2455 = workInProgress.child), + (JSCompiler_object_inline_message_2452 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2452 + ? (JSCompiler_object_inline_message_2452 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2451.cachePool), + JSCompiler_object_inline_message_2452.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9317,34 +9317,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2451 = { + (JSCompiler_object_inline_message_2452 = { baseLanes: - JSCompiler_object_inline_message_2451.baseLanes | renderLanes, + JSCompiler_object_inline_message_2452.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2454.memoizedState = - JSCompiler_object_inline_message_2451), + (JSCompiler_object_inline_componentStack_2455.memoizedState = + JSCompiler_object_inline_message_2452), enableTransitionTracing && - ((JSCompiler_object_inline_message_2451 = enableTransitionTracing + ((JSCompiler_object_inline_message_2452 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2451 && + null !== JSCompiler_object_inline_message_2452 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2454.updateQueue), + JSCompiler_object_inline_componentStack_2455.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2454.updateQueue = { - transitions: JSCompiler_object_inline_message_2451, + ? (JSCompiler_object_inline_componentStack_2455.updateQueue = { + transitions: JSCompiler_object_inline_message_2452, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2454.updateQueue = + ? (JSCompiler_object_inline_componentStack_2455.updateQueue = { - transitions: JSCompiler_object_inline_message_2451, + transitions: JSCompiler_object_inline_message_2452, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9352,32 +9352,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2451), + JSCompiler_object_inline_message_2452), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2454.childLanes = + (JSCompiler_object_inline_componentStack_2455.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2452, + JSCompiler_object_inline_digest_2453, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2453 + JSCompiler_object_inline_stack_2454 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2453.children + children: JSCompiler_object_inline_stack_2454.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2452 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2452 + ((JSCompiler_object_inline_digest_2453 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2453 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2452.push(current)); + : JSCompiler_object_inline_digest_2453.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -9978,9 +9978,10 @@ __DEV__ && current.$$typeof === REACT_LAZY_TYPE && (workInProgress = " Did you wrap a component in React.lazy() more than once?"); + renderLanes = getComponentNameFromType(current) || current; throw Error( "Element type is invalid. Received a promise that resolves to: " + - current + + renderLanes + ". Lazy element type must resolve to a class or function." + workInProgress ); @@ -26747,11 +26748,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-modern-b7e7f1a3-20240722" !== isomorphicReactPackageVersion) + if ("19.0.0-www-modern-9cc0f6e6-20240723" !== 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-b7e7f1a3-20240722\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-modern-9cc0f6e6-20240723\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -26816,12 +26817,12 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-www-modern-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-modern-9cc0f6e6-20240723" }); })({ findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 1, - version: "19.0.0-www-modern-b7e7f1a3-20240722", + version: "19.0.0-www-modern-9cc0f6e6-20240723", rendererPackageName: "react-dom" }) && canUseDOM && @@ -27417,7 +27418,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-modern-b7e7f1a3-20240722"; + exports.version = "19.0.0-www-modern-9cc0f6e6-20240723"; "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 80814db5c0..660a2ec781 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -6793,7 +6793,8 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - throw Error(formatProdErrorMessage(306, current, "")); + workInProgress = getComponentNameFromType(current) || current; + throw Error(formatProdErrorMessage(306, workInProgress, "")); } } return workInProgress; @@ -13201,14 +13202,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$387; if (canUseDOM) { - var isSupported$jscomp$inline_1557 = "oninput" in document; - if (!isSupported$jscomp$inline_1557) { - var element$jscomp$inline_1558 = document.createElement("div"); - element$jscomp$inline_1558.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1557 = - "function" === typeof element$jscomp$inline_1558.oninput; + var isSupported$jscomp$inline_1558 = "oninput" in document; + if (!isSupported$jscomp$inline_1558) { + var element$jscomp$inline_1559 = document.createElement("div"); + element$jscomp$inline_1559.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1558 = + "function" === typeof element$jscomp$inline_1559.oninput; } - JSCompiler_inline_result$jscomp$387 = isSupported$jscomp$inline_1557; + JSCompiler_inline_result$jscomp$387 = isSupported$jscomp$inline_1558; } else JSCompiler_inline_result$jscomp$387 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$387 && @@ -13622,20 +13623,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1598 = 0; - i$jscomp$inline_1598 < simpleEventPluginEvents.length; - i$jscomp$inline_1598++ + var i$jscomp$inline_1599 = 0; + i$jscomp$inline_1599 < simpleEventPluginEvents.length; + i$jscomp$inline_1599++ ) { - var eventName$jscomp$inline_1599 = - simpleEventPluginEvents[i$jscomp$inline_1598], - domEventName$jscomp$inline_1600 = - eventName$jscomp$inline_1599.toLowerCase(), - capitalizedEvent$jscomp$inline_1601 = - eventName$jscomp$inline_1599[0].toUpperCase() + - eventName$jscomp$inline_1599.slice(1); + var eventName$jscomp$inline_1600 = + simpleEventPluginEvents[i$jscomp$inline_1599], + domEventName$jscomp$inline_1601 = + eventName$jscomp$inline_1600.toLowerCase(), + capitalizedEvent$jscomp$inline_1602 = + eventName$jscomp$inline_1600[0].toUpperCase() + + eventName$jscomp$inline_1600.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1600, - "on" + capitalizedEvent$jscomp$inline_1601 + domEventName$jscomp$inline_1601, + "on" + capitalizedEvent$jscomp$inline_1602 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -17236,16 +17237,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1771 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1772 = React.version; if ( - "19.0.0-www-classic-b7e7f1a3-20240722" !== - isomorphicReactPackageVersion$jscomp$inline_1771 + "19.0.0-www-classic-9cc0f6e6-20240723" !== + isomorphicReactPackageVersion$jscomp$inline_1772 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1771, - "19.0.0-www-classic-b7e7f1a3-20240722" + isomorphicReactPackageVersion$jscomp$inline_1772, + "19.0.0-www-classic-9cc0f6e6-20240723" ) ); function flushSyncFromReconciler(fn) { @@ -17288,17 +17289,17 @@ Internals.Events = [ return fn(a); } ]; -var devToolsConfig$jscomp$inline_1778 = { +var devToolsConfig$jscomp$inline_1779 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-classic-b7e7f1a3-20240722", + version: "19.0.0-www-classic-9cc0f6e6-20240723", rendererPackageName: "react-dom" }; -var internals$jscomp$inline_2222 = { - bundleType: devToolsConfig$jscomp$inline_1778.bundleType, - version: devToolsConfig$jscomp$inline_1778.version, - rendererPackageName: devToolsConfig$jscomp$inline_1778.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1778.rendererConfig, +var internals$jscomp$inline_2223 = { + bundleType: devToolsConfig$jscomp$inline_1779.bundleType, + version: devToolsConfig$jscomp$inline_1779.version, + rendererPackageName: devToolsConfig$jscomp$inline_1779.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1779.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -17314,26 +17315,26 @@ var internals$jscomp$inline_2222 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1778.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1779.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-classic-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-classic-9cc0f6e6-20240723" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2223 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2224 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2223.isDisabled && - hook$jscomp$inline_2223.supportsFiber + !hook$jscomp$inline_2224.isDisabled && + hook$jscomp$inline_2224.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2223.inject( - internals$jscomp$inline_2222 + (rendererID = hook$jscomp$inline_2224.inject( + internals$jscomp$inline_2223 )), - (injectedHook = hook$jscomp$inline_2223); + (injectedHook = hook$jscomp$inline_2224); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -17785,4 +17786,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-b7e7f1a3-20240722"; +exports.version = "19.0.0-www-classic-9cc0f6e6-20240723"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index 3caac04a32..bef6ae69a2 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -92,7 +92,66 @@ function getIteratorFn(maybeIterable) { maybeIterable["@@iterator"]; return "function" === typeof maybeIterable ? maybeIterable : null; } -Symbol.for("react.client.reference"); +var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); +function getComponentNameFromType(type) { + if (null == type) return null; + if ("function" === typeof type) + return type.$$typeof === REACT_CLIENT_REFERENCE + ? null + : type.displayName || type.name || null; + if ("string" === typeof type) return type; + switch (type) { + case REACT_FRAGMENT_TYPE: + return "Fragment"; + case REACT_PORTAL_TYPE: + return "Portal"; + case REACT_PROFILER_TYPE: + return "Profiler"; + case REACT_STRICT_MODE_TYPE: + return "StrictMode"; + case REACT_SUSPENSE_TYPE: + return "Suspense"; + case REACT_SUSPENSE_LIST_TYPE: + return "SuspenseList"; + case REACT_TRACING_MARKER_TYPE: + if (enableTransitionTracing) return "TracingMarker"; + } + if ("object" === typeof type) + switch (type.$$typeof) { + case REACT_PROVIDER_TYPE: + if (enableRenderableContext) break; + else return (type._context.displayName || "Context") + ".Provider"; + case REACT_CONTEXT_TYPE: + return enableRenderableContext + ? (type.displayName || "Context") + ".Provider" + : (type.displayName || "Context") + ".Consumer"; + case REACT_CONSUMER_TYPE: + if (enableRenderableContext) + return (type._context.displayName || "Context") + ".Consumer"; + break; + case REACT_FORWARD_REF_TYPE: + var innerType = type.render; + type = type.displayName; + type || + ((type = innerType.displayName || innerType.name || ""), + (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef")); + return type; + case REACT_MEMO_TYPE: + return ( + (innerType = type.displayName || null), + null !== innerType + ? innerType + : getComponentNameFromType(type.type) || "Memo" + ); + case REACT_LAZY_TYPE: + innerType = type._payload; + type = type._init; + try { + return getComponentNameFromType(type(innerType)); + } catch (x) {} + } + return null; +} var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, prefix, @@ -6385,7 +6444,8 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - throw Error(formatProdErrorMessage(306, current, "")); + workInProgress = getComponentNameFromType(current) || current; + throw Error(formatProdErrorMessage(306, workInProgress, "")); } } return workInProgress; @@ -12556,14 +12616,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$374; if (canUseDOM) { - var isSupported$jscomp$inline_1528 = "oninput" in document; - if (!isSupported$jscomp$inline_1528) { - var element$jscomp$inline_1529 = document.createElement("div"); - element$jscomp$inline_1529.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1528 = - "function" === typeof element$jscomp$inline_1529.oninput; + var isSupported$jscomp$inline_1529 = "oninput" in document; + if (!isSupported$jscomp$inline_1529) { + var element$jscomp$inline_1530 = document.createElement("div"); + element$jscomp$inline_1530.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1529 = + "function" === typeof element$jscomp$inline_1530.oninput; } - JSCompiler_inline_result$jscomp$374 = isSupported$jscomp$inline_1528; + JSCompiler_inline_result$jscomp$374 = isSupported$jscomp$inline_1529; } else JSCompiler_inline_result$jscomp$374 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$374 && @@ -12977,20 +13037,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1569 = 0; - i$jscomp$inline_1569 < simpleEventPluginEvents.length; - i$jscomp$inline_1569++ + var i$jscomp$inline_1570 = 0; + i$jscomp$inline_1570 < simpleEventPluginEvents.length; + i$jscomp$inline_1570++ ) { - var eventName$jscomp$inline_1570 = - simpleEventPluginEvents[i$jscomp$inline_1569], - domEventName$jscomp$inline_1571 = - eventName$jscomp$inline_1570.toLowerCase(), - capitalizedEvent$jscomp$inline_1572 = - eventName$jscomp$inline_1570[0].toUpperCase() + - eventName$jscomp$inline_1570.slice(1); + var eventName$jscomp$inline_1571 = + simpleEventPluginEvents[i$jscomp$inline_1570], + domEventName$jscomp$inline_1572 = + eventName$jscomp$inline_1571.toLowerCase(), + capitalizedEvent$jscomp$inline_1573 = + eventName$jscomp$inline_1571[0].toUpperCase() + + eventName$jscomp$inline_1571.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1571, - "on" + capitalizedEvent$jscomp$inline_1572 + domEventName$jscomp$inline_1572, + "on" + capitalizedEvent$jscomp$inline_1573 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -16540,16 +16600,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1742 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1743 = React.version; if ( - "19.0.0-www-modern-b7e7f1a3-20240722" !== - isomorphicReactPackageVersion$jscomp$inline_1742 + "19.0.0-www-modern-9cc0f6e6-20240723" !== + isomorphicReactPackageVersion$jscomp$inline_1743 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1742, - "19.0.0-www-modern-b7e7f1a3-20240722" + isomorphicReactPackageVersion$jscomp$inline_1743, + "19.0.0-www-modern-9cc0f6e6-20240723" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -16565,17 +16625,17 @@ Internals.Events = [ return fn(a); } ]; -var devToolsConfig$jscomp$inline_1744 = { +var devToolsConfig$jscomp$inline_1745 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-modern-b7e7f1a3-20240722", + version: "19.0.0-www-modern-9cc0f6e6-20240723", rendererPackageName: "react-dom" }; -var internals$jscomp$inline_2213 = { - bundleType: devToolsConfig$jscomp$inline_1744.bundleType, - version: devToolsConfig$jscomp$inline_1744.version, - rendererPackageName: devToolsConfig$jscomp$inline_1744.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1744.rendererConfig, +var internals$jscomp$inline_2214 = { + bundleType: devToolsConfig$jscomp$inline_1745.bundleType, + version: devToolsConfig$jscomp$inline_1745.version, + rendererPackageName: devToolsConfig$jscomp$inline_1745.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1745.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -16591,26 +16651,26 @@ var internals$jscomp$inline_2213 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1744.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1745.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-modern-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-modern-9cc0f6e6-20240723" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2214 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2215 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2214.isDisabled && - hook$jscomp$inline_2214.supportsFiber + !hook$jscomp$inline_2215.isDisabled && + hook$jscomp$inline_2215.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2214.inject( - internals$jscomp$inline_2213 + (rendererID = hook$jscomp$inline_2215.inject( + internals$jscomp$inline_2214 )), - (injectedHook = hook$jscomp$inline_2214); + (injectedHook = hook$jscomp$inline_2215); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -16969,4 +17029,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-b7e7f1a3-20240722"; +exports.version = "19.0.0-www-modern-9cc0f6e6-20240723"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index 3fa1e075b5..29cb17babf 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -7035,7 +7035,8 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - throw Error(formatProdErrorMessage(306, current, "")); + workInProgress = getComponentNameFromType(current) || current; + throw Error(formatProdErrorMessage(306, workInProgress, "")); } } return workInProgress; @@ -13972,14 +13973,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$408; 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_1645 = "oninput" in document; + if (!isSupported$jscomp$inline_1645) { + var element$jscomp$inline_1646 = document.createElement("div"); + element$jscomp$inline_1646.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1645 = + "function" === typeof element$jscomp$inline_1646.oninput; } - JSCompiler_inline_result$jscomp$408 = isSupported$jscomp$inline_1644; + JSCompiler_inline_result$jscomp$408 = isSupported$jscomp$inline_1645; } else JSCompiler_inline_result$jscomp$408 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$408 && @@ -14393,20 +14394,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_1686 = 0; + i$jscomp$inline_1686 < simpleEventPluginEvents.length; + i$jscomp$inline_1686++ ) { - 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_1687 = + simpleEventPluginEvents[i$jscomp$inline_1686], + domEventName$jscomp$inline_1688 = + eventName$jscomp$inline_1687.toLowerCase(), + capitalizedEvent$jscomp$inline_1689 = + eventName$jscomp$inline_1687[0].toUpperCase() + + eventName$jscomp$inline_1687.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1687, - "on" + capitalizedEvent$jscomp$inline_1688 + domEventName$jscomp$inline_1688, + "on" + capitalizedEvent$jscomp$inline_1689 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -18007,16 +18008,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_1859 = React.version; if ( - "19.0.0-www-classic-b7e7f1a3-20240722" !== - isomorphicReactPackageVersion$jscomp$inline_1858 + "19.0.0-www-classic-9cc0f6e6-20240723" !== + isomorphicReactPackageVersion$jscomp$inline_1859 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1858, - "19.0.0-www-classic-b7e7f1a3-20240722" + isomorphicReactPackageVersion$jscomp$inline_1859, + "19.0.0-www-classic-9cc0f6e6-20240723" ) ); function flushSyncFromReconciler(fn) { @@ -18059,10 +18060,10 @@ Internals.Events = [ return fn(a); } ]; -var devToolsConfig$jscomp$inline_1865 = { +var devToolsConfig$jscomp$inline_1866 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-classic-b7e7f1a3-20240722", + version: "19.0.0-www-classic-9cc0f6e6-20240723", rendererPackageName: "react-dom" }; (function (internals) { @@ -18080,10 +18081,10 @@ var devToolsConfig$jscomp$inline_1865 = { } catch (err) {} return hook.checkDCE ? !0 : !1; })({ - bundleType: devToolsConfig$jscomp$inline_1865.bundleType, - version: devToolsConfig$jscomp$inline_1865.version, - rendererPackageName: devToolsConfig$jscomp$inline_1865.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1865.rendererConfig, + bundleType: devToolsConfig$jscomp$inline_1866.bundleType, + version: devToolsConfig$jscomp$inline_1866.version, + rendererPackageName: devToolsConfig$jscomp$inline_1866.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1866.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -18099,14 +18100,14 @@ var devToolsConfig$jscomp$inline_1865 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1865.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1866.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-classic-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-classic-9cc0f6e6-20240723" }); function ReactDOMRoot(internalRoot) { this._internalRoot = internalRoot; @@ -18557,7 +18558,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-b7e7f1a3-20240722"; +exports.version = "19.0.0-www-classic-9cc0f6e6-20240723"; "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 f3f966dbe1..be58d07108 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -97,7 +97,66 @@ function getIteratorFn(maybeIterable) { maybeIterable["@@iterator"]; return "function" === typeof maybeIterable ? maybeIterable : null; } -Symbol.for("react.client.reference"); +var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"); +function getComponentNameFromType(type) { + if (null == type) return null; + if ("function" === typeof type) + return type.$$typeof === REACT_CLIENT_REFERENCE + ? null + : type.displayName || type.name || null; + if ("string" === typeof type) return type; + switch (type) { + case REACT_FRAGMENT_TYPE: + return "Fragment"; + case REACT_PORTAL_TYPE: + return "Portal"; + case REACT_PROFILER_TYPE: + return "Profiler"; + case REACT_STRICT_MODE_TYPE: + return "StrictMode"; + case REACT_SUSPENSE_TYPE: + return "Suspense"; + case REACT_SUSPENSE_LIST_TYPE: + return "SuspenseList"; + case REACT_TRACING_MARKER_TYPE: + if (enableTransitionTracing) return "TracingMarker"; + } + if ("object" === typeof type) + switch (type.$$typeof) { + case REACT_PROVIDER_TYPE: + if (enableRenderableContext) break; + else return (type._context.displayName || "Context") + ".Provider"; + case REACT_CONTEXT_TYPE: + return enableRenderableContext + ? (type.displayName || "Context") + ".Provider" + : (type.displayName || "Context") + ".Consumer"; + case REACT_CONSUMER_TYPE: + if (enableRenderableContext) + return (type._context.displayName || "Context") + ".Consumer"; + break; + case REACT_FORWARD_REF_TYPE: + var innerType = type.render; + type = type.displayName; + type || + ((type = innerType.displayName || innerType.name || ""), + (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef")); + return type; + case REACT_MEMO_TYPE: + return ( + (innerType = type.displayName || null), + null !== innerType + ? innerType + : getComponentNameFromType(type.type) || "Memo" + ); + case REACT_LAZY_TYPE: + innerType = type._payload; + type = type._init; + try { + return getComponentNameFromType(type(innerType)); + } catch (x) {} + } + return null; +} var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, prefix, @@ -6610,7 +6669,8 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - throw Error(formatProdErrorMessage(306, current, "")); + workInProgress = getComponentNameFromType(current) || current; + throw Error(formatProdErrorMessage(306, workInProgress, "")); } } return workInProgress; @@ -13310,14 +13370,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$395; if (canUseDOM) { - var isSupported$jscomp$inline_1615 = "oninput" in document; - if (!isSupported$jscomp$inline_1615) { - var element$jscomp$inline_1616 = document.createElement("div"); - element$jscomp$inline_1616.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1615 = - "function" === typeof element$jscomp$inline_1616.oninput; + var isSupported$jscomp$inline_1616 = "oninput" in document; + if (!isSupported$jscomp$inline_1616) { + var element$jscomp$inline_1617 = document.createElement("div"); + element$jscomp$inline_1617.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1616 = + "function" === typeof element$jscomp$inline_1617.oninput; } - JSCompiler_inline_result$jscomp$395 = isSupported$jscomp$inline_1615; + JSCompiler_inline_result$jscomp$395 = isSupported$jscomp$inline_1616; } else JSCompiler_inline_result$jscomp$395 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$395 && @@ -13731,20 +13791,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1656 = 0; - i$jscomp$inline_1656 < simpleEventPluginEvents.length; - i$jscomp$inline_1656++ + var i$jscomp$inline_1657 = 0; + i$jscomp$inline_1657 < simpleEventPluginEvents.length; + i$jscomp$inline_1657++ ) { - var eventName$jscomp$inline_1657 = - simpleEventPluginEvents[i$jscomp$inline_1656], - domEventName$jscomp$inline_1658 = - eventName$jscomp$inline_1657.toLowerCase(), - capitalizedEvent$jscomp$inline_1659 = - eventName$jscomp$inline_1657[0].toUpperCase() + - eventName$jscomp$inline_1657.slice(1); + var eventName$jscomp$inline_1658 = + simpleEventPluginEvents[i$jscomp$inline_1657], + domEventName$jscomp$inline_1659 = + eventName$jscomp$inline_1658.toLowerCase(), + capitalizedEvent$jscomp$inline_1660 = + eventName$jscomp$inline_1658[0].toUpperCase() + + eventName$jscomp$inline_1658.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1658, - "on" + capitalizedEvent$jscomp$inline_1659 + domEventName$jscomp$inline_1659, + "on" + capitalizedEvent$jscomp$inline_1660 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -17294,16 +17354,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1829 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1830 = React.version; if ( - "19.0.0-www-modern-b7e7f1a3-20240722" !== - isomorphicReactPackageVersion$jscomp$inline_1829 + "19.0.0-www-modern-9cc0f6e6-20240723" !== + isomorphicReactPackageVersion$jscomp$inline_1830 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1829, - "19.0.0-www-modern-b7e7f1a3-20240722" + isomorphicReactPackageVersion$jscomp$inline_1830, + "19.0.0-www-modern-9cc0f6e6-20240723" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17319,10 +17379,10 @@ Internals.Events = [ return fn(a); } ]; -var devToolsConfig$jscomp$inline_1831 = { +var devToolsConfig$jscomp$inline_1832 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-modern-b7e7f1a3-20240722", + version: "19.0.0-www-modern-9cc0f6e6-20240723", rendererPackageName: "react-dom" }; (function (internals) { @@ -17340,10 +17400,10 @@ var devToolsConfig$jscomp$inline_1831 = { } catch (err) {} return hook.checkDCE ? !0 : !1; })({ - bundleType: devToolsConfig$jscomp$inline_1831.bundleType, - version: devToolsConfig$jscomp$inline_1831.version, - rendererPackageName: devToolsConfig$jscomp$inline_1831.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1831.rendererConfig, + bundleType: devToolsConfig$jscomp$inline_1832.bundleType, + version: devToolsConfig$jscomp$inline_1832.version, + rendererPackageName: devToolsConfig$jscomp$inline_1832.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1832.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -17359,14 +17419,14 @@ var devToolsConfig$jscomp$inline_1831 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1831.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1832.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-modern-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-modern-9cc0f6e6-20240723" }); function ReactDOMRoot(internalRoot) { this._internalRoot = internalRoot; @@ -17724,7 +17784,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-b7e7f1a3-20240722"; +exports.version = "19.0.0-www-modern-9cc0f6e6-20240723"; "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 d5fa1cd92b..fdb6c9f7d8 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -8865,5 +8865,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-b7e7f1a3-20240722"; + exports.version = "19.0.0-www-classic-9cc0f6e6-20240723"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index 5d4b3df57e..5c57d2a9f6 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -8690,5 +8690,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-b7e7f1a3-20240722"; + exports.version = "19.0.0-www-modern-9cc0f6e6-20240723"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index b58c61a127..8a8974071b 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -5789,4 +5789,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-b7e7f1a3-20240722"; +exports.version = "19.0.0-www-classic-9cc0f6e6-20240723"; diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index 3b2b4544ba..a607b65e66 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -5716,4 +5716,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-b7e7f1a3-20240722"; +exports.version = "19.0.0-www-modern-9cc0f6e6-20240723"; diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index 0f252fc106..dd2445ff37 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -9207,32 +9207,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2467; - var JSCompiler_object_inline_stack_2468 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2468; + var JSCompiler_object_inline_stack_2469 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2469 = !1; + var JSCompiler_object_inline_componentStack_2470 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2467 = didSuspend) || - (JSCompiler_object_inline_digest_2467 = + (JSCompiler_object_inline_digest_2468 = didSuspend) || + (JSCompiler_object_inline_digest_2468 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2467 && - ((JSCompiler_object_inline_componentStack_2469 = !0), + JSCompiler_object_inline_digest_2468 && + ((JSCompiler_object_inline_componentStack_2470 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2467 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2468 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2469 + JSCompiler_object_inline_componentStack_2470 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2466 = nextHydratableInstance; + var JSCompiler_object_inline_message_2467 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2466)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2467)) { c: { - var instance = JSCompiler_object_inline_message_2466; + var instance = JSCompiler_object_inline_message_2467; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9273,19 +9273,19 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2466 + JSCompiler_object_inline_message_2467 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2466 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2467 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2466 && - ((JSCompiler_object_inline_message_2466 = - JSCompiler_object_inline_message_2466.dehydrated), - null !== JSCompiler_object_inline_message_2466) + null !== JSCompiler_object_inline_message_2467 && + ((JSCompiler_object_inline_message_2467 = + JSCompiler_object_inline_message_2467.dehydrated), + null !== JSCompiler_object_inline_message_2467) ) return ( - JSCompiler_object_inline_message_2466.data === + JSCompiler_object_inline_message_2467.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = DefaultHydrationLane) : (workInProgress.lanes = OffscreenLane), @@ -9293,27 +9293,27 @@ __DEV__ && ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2466 = - JSCompiler_object_inline_stack_2468.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2468.fallback; - if (JSCompiler_object_inline_componentStack_2469) + JSCompiler_object_inline_message_2467 = + JSCompiler_object_inline_stack_2469.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2469.fallback; + if (JSCompiler_object_inline_componentStack_2470) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2468 = + (JSCompiler_object_inline_stack_2469 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2466, + JSCompiler_object_inline_message_2467, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2469 = + (JSCompiler_object_inline_componentStack_2470 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2469.memoizedState = + (JSCompiler_object_inline_componentStack_2470.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2469.childLanes = + (JSCompiler_object_inline_componentStack_2470.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2467, + JSCompiler_object_inline_digest_2468, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9326,9 +9326,9 @@ __DEV__ && ? markerInstanceStack.current : null), (current = - JSCompiler_object_inline_componentStack_2469.updateQueue), + JSCompiler_object_inline_componentStack_2470.updateQueue), null === current - ? (JSCompiler_object_inline_componentStack_2469.updateQueue = + ? (JSCompiler_object_inline_componentStack_2470.updateQueue = { transitions: workInProgress, markerInstances: renderLanes, @@ -9336,46 +9336,46 @@ __DEV__ && }) : ((current.transitions = workInProgress), (current.markerInstances = renderLanes)))), - JSCompiler_object_inline_stack_2468 + JSCompiler_object_inline_stack_2469 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2468.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2469.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2468 = + (JSCompiler_object_inline_stack_2469 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2466, + JSCompiler_object_inline_message_2467, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2469 = + (JSCompiler_object_inline_componentStack_2470 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2469.memoizedState = + (JSCompiler_object_inline_componentStack_2470.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2469.childLanes = + (JSCompiler_object_inline_componentStack_2470.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2467, + JSCompiler_object_inline_digest_2468, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2468 + JSCompiler_object_inline_stack_2469 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2466 + JSCompiler_object_inline_message_2467 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2466 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2466) + ((JSCompiler_object_inline_message_2467 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2467) ) { if (didSuspend) workInProgress.flags & 256 @@ -9392,32 +9392,32 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2469 = - JSCompiler_object_inline_stack_2468.fallback), - (JSCompiler_object_inline_message_2466 = workInProgress.mode), - (JSCompiler_object_inline_stack_2468 = createFiberFromOffscreen( + (JSCompiler_object_inline_componentStack_2470 = + JSCompiler_object_inline_stack_2469.fallback), + (JSCompiler_object_inline_message_2467 = workInProgress.mode), + (JSCompiler_object_inline_stack_2469 = createFiberFromOffscreen( { mode: "visible", - children: JSCompiler_object_inline_stack_2468.children + children: JSCompiler_object_inline_stack_2469.children }, - JSCompiler_object_inline_message_2466, + JSCompiler_object_inline_message_2467, 0, null )), - (JSCompiler_object_inline_componentStack_2469 = + (JSCompiler_object_inline_componentStack_2470 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2469, - JSCompiler_object_inline_message_2466, + JSCompiler_object_inline_componentStack_2470, + JSCompiler_object_inline_message_2467, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2469.flags |= 2), - (JSCompiler_object_inline_stack_2468.return = workInProgress), - (JSCompiler_object_inline_componentStack_2469.return = + (JSCompiler_object_inline_componentStack_2470.flags |= 2), + (JSCompiler_object_inline_stack_2469.return = workInProgress), + (JSCompiler_object_inline_componentStack_2470.return = workInProgress), - (JSCompiler_object_inline_stack_2468.sibling = - JSCompiler_object_inline_componentStack_2469), - (workInProgress.child = JSCompiler_object_inline_stack_2468), + (JSCompiler_object_inline_stack_2469.sibling = + JSCompiler_object_inline_componentStack_2470), + (workInProgress.child = JSCompiler_object_inline_stack_2469), (disableLegacyMode || 0 !== (workInProgress.mode & 1)) && reconcileChildFibers( workInProgress, @@ -9425,63 +9425,63 @@ __DEV__ && null, renderLanes ), - (JSCompiler_object_inline_stack_2468 = workInProgress.child), - (JSCompiler_object_inline_stack_2468.memoizedState = + (JSCompiler_object_inline_stack_2469 = workInProgress.child), + (JSCompiler_object_inline_stack_2469.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2468.childLanes = + (JSCompiler_object_inline_stack_2469.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2467, + JSCompiler_object_inline_digest_2468, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2469)); + JSCompiler_object_inline_componentStack_2470)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2466.data === + JSCompiler_object_inline_message_2467.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2467 = - JSCompiler_object_inline_message_2466.nextSibling && - JSCompiler_object_inline_message_2466.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2467) { - JSCompiler_temp = JSCompiler_object_inline_digest_2467.dgst; - var message = JSCompiler_object_inline_digest_2467.msg; - instance = JSCompiler_object_inline_digest_2467.stck; - var componentStack = JSCompiler_object_inline_digest_2467.cstck; + JSCompiler_object_inline_digest_2468 = + JSCompiler_object_inline_message_2467.nextSibling && + JSCompiler_object_inline_message_2467.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2468) { + JSCompiler_temp = JSCompiler_object_inline_digest_2468.dgst; + var message = JSCompiler_object_inline_digest_2468.msg; + instance = JSCompiler_object_inline_digest_2468.stck; + var componentStack = JSCompiler_object_inline_digest_2468.cstck; } - JSCompiler_object_inline_message_2466 = message; - JSCompiler_object_inline_digest_2467 = JSCompiler_temp; - JSCompiler_object_inline_stack_2468 = instance; - JSCompiler_object_inline_componentStack_2469 = componentStack; - JSCompiler_object_inline_message_2466 = - JSCompiler_object_inline_message_2466 - ? Error(JSCompiler_object_inline_message_2466) + JSCompiler_object_inline_message_2467 = message; + JSCompiler_object_inline_digest_2468 = JSCompiler_temp; + JSCompiler_object_inline_stack_2469 = instance; + JSCompiler_object_inline_componentStack_2470 = componentStack; + JSCompiler_object_inline_message_2467 = + JSCompiler_object_inline_message_2467 + ? Error(JSCompiler_object_inline_message_2467) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2466.stack = - JSCompiler_object_inline_stack_2468 || ""; - JSCompiler_object_inline_message_2466.digest = - JSCompiler_object_inline_digest_2467; - JSCompiler_object_inline_digest_2467 = - void 0 === JSCompiler_object_inline_componentStack_2469 + JSCompiler_object_inline_message_2467.stack = + JSCompiler_object_inline_stack_2469 || ""; + JSCompiler_object_inline_message_2467.digest = + JSCompiler_object_inline_digest_2468; + JSCompiler_object_inline_digest_2468 = + void 0 === JSCompiler_object_inline_componentStack_2470 ? null - : JSCompiler_object_inline_componentStack_2469; - "string" === typeof JSCompiler_object_inline_digest_2467 && + : JSCompiler_object_inline_componentStack_2470; + "string" === typeof JSCompiler_object_inline_digest_2468 && CapturedStacks.set( - JSCompiler_object_inline_message_2466, - JSCompiler_object_inline_digest_2467 + JSCompiler_object_inline_message_2467, + JSCompiler_object_inline_digest_2468 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2466, + value: JSCompiler_object_inline_message_2467, source: null, - stack: JSCompiler_object_inline_digest_2467 + stack: JSCompiler_object_inline_digest_2468 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9497,26 +9497,26 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2467 = + (JSCompiler_object_inline_digest_2468 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2467) + didReceiveUpdate || JSCompiler_object_inline_digest_2468) ) { - JSCompiler_object_inline_digest_2467 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2467) { - JSCompiler_object_inline_stack_2468 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2468 & SyncUpdateLanes)) - JSCompiler_object_inline_stack_2468 = SyncHydrationLane; + JSCompiler_object_inline_digest_2468 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2468) { + JSCompiler_object_inline_stack_2469 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2469 & SyncUpdateLanes)) + JSCompiler_object_inline_stack_2469 = SyncHydrationLane; else - switch (JSCompiler_object_inline_stack_2468) { + switch (JSCompiler_object_inline_stack_2469) { case SyncLane: - JSCompiler_object_inline_stack_2468 = SyncHydrationLane; + JSCompiler_object_inline_stack_2469 = SyncHydrationLane; break; case InputContinuousLane: - JSCompiler_object_inline_stack_2468 = + JSCompiler_object_inline_stack_2469 = InputContinuousHydrationLane; break; case DefaultLane: - JSCompiler_object_inline_stack_2468 = DefaultHydrationLane; + JSCompiler_object_inline_stack_2469 = DefaultHydrationLane; break; case 128: case 256: @@ -9537,40 +9537,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2468 = TransitionHydrationLane; + JSCompiler_object_inline_stack_2469 = TransitionHydrationLane; break; case IdleLane: - JSCompiler_object_inline_stack_2468 = IdleHydrationLane; + JSCompiler_object_inline_stack_2469 = IdleHydrationLane; break; default: - JSCompiler_object_inline_stack_2468 = 0; + JSCompiler_object_inline_stack_2469 = 0; } - JSCompiler_object_inline_stack_2468 = + JSCompiler_object_inline_stack_2469 = 0 !== - (JSCompiler_object_inline_stack_2468 & - (JSCompiler_object_inline_digest_2467.suspendedLanes | + (JSCompiler_object_inline_stack_2469 & + (JSCompiler_object_inline_digest_2468.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2468; + : JSCompiler_object_inline_stack_2469; if ( - 0 !== JSCompiler_object_inline_stack_2468 && - JSCompiler_object_inline_stack_2468 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2469 && + JSCompiler_object_inline_stack_2469 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2468), + ((prevState.retryLane = JSCompiler_object_inline_stack_2469), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2468 + JSCompiler_object_inline_stack_2469 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2467, + JSCompiler_object_inline_digest_2468, current, - JSCompiler_object_inline_stack_2468 + JSCompiler_object_inline_stack_2469 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2466.data === + JSCompiler_object_inline_message_2467.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9578,7 +9578,7 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2466.data === + JSCompiler_object_inline_message_2467.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9586,12 +9586,12 @@ __DEV__ && null, current )), - (JSCompiler_object_inline_message_2466._reactRetry = + (JSCompiler_object_inline_message_2467._reactRetry = workInProgress), (workInProgress = null)) : ((renderLanes = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2466.nextSibling + JSCompiler_object_inline_message_2467.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9609,73 +9609,73 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2468.children + JSCompiler_object_inline_stack_2469.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2469) + if (JSCompiler_object_inline_componentStack_2470) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2469 = - JSCompiler_object_inline_stack_2468.fallback), - (JSCompiler_object_inline_message_2466 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2470 = + JSCompiler_object_inline_stack_2469.fallback), + (JSCompiler_object_inline_message_2467 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), (componentStack = { mode: "hidden", - children: JSCompiler_object_inline_stack_2468.children + children: JSCompiler_object_inline_stack_2469.children }), disableLegacyMode || - 0 !== (JSCompiler_object_inline_message_2466 & 1) || + 0 !== (JSCompiler_object_inline_message_2467 & 1) || workInProgress.child === JSCompiler_temp - ? ((JSCompiler_object_inline_stack_2468 = createWorkInProgress( + ? ((JSCompiler_object_inline_stack_2469 = createWorkInProgress( JSCompiler_temp, componentStack )), - (JSCompiler_object_inline_stack_2468.subtreeFlags = + (JSCompiler_object_inline_stack_2469.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280)) - : ((JSCompiler_object_inline_stack_2468 = workInProgress.child), - (JSCompiler_object_inline_stack_2468.childLanes = 0), - (JSCompiler_object_inline_stack_2468.pendingProps = + : ((JSCompiler_object_inline_stack_2469 = workInProgress.child), + (JSCompiler_object_inline_stack_2469.childLanes = 0), + (JSCompiler_object_inline_stack_2469.pendingProps = componentStack), workInProgress.mode & 2 && - ((JSCompiler_object_inline_stack_2468.actualDuration = 0), - (JSCompiler_object_inline_stack_2468.actualStartTime = -1), - (JSCompiler_object_inline_stack_2468.selfBaseDuration = + ((JSCompiler_object_inline_stack_2469.actualDuration = 0), + (JSCompiler_object_inline_stack_2469.actualStartTime = -1), + (JSCompiler_object_inline_stack_2469.selfBaseDuration = JSCompiler_temp.selfBaseDuration), - (JSCompiler_object_inline_stack_2468.treeBaseDuration = + (JSCompiler_object_inline_stack_2469.treeBaseDuration = JSCompiler_temp.treeBaseDuration)), (workInProgress.deletions = null)), null !== instance - ? (JSCompiler_object_inline_componentStack_2469 = + ? (JSCompiler_object_inline_componentStack_2470 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2469 + JSCompiler_object_inline_componentStack_2470 )) - : ((JSCompiler_object_inline_componentStack_2469 = + : ((JSCompiler_object_inline_componentStack_2470 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2469, - JSCompiler_object_inline_message_2466, + JSCompiler_object_inline_componentStack_2470, + JSCompiler_object_inline_message_2467, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2469.flags |= 2)), - (JSCompiler_object_inline_componentStack_2469.return = + (JSCompiler_object_inline_componentStack_2470.flags |= 2)), + (JSCompiler_object_inline_componentStack_2470.return = workInProgress), - (JSCompiler_object_inline_stack_2468.return = workInProgress), - (JSCompiler_object_inline_stack_2468.sibling = - JSCompiler_object_inline_componentStack_2469), - (workInProgress.child = JSCompiler_object_inline_stack_2468), - (JSCompiler_object_inline_stack_2468 = - JSCompiler_object_inline_componentStack_2469), - (JSCompiler_object_inline_componentStack_2469 = workInProgress.child), - (JSCompiler_object_inline_message_2466 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2466 - ? (JSCompiler_object_inline_message_2466 = + (JSCompiler_object_inline_stack_2469.return = workInProgress), + (JSCompiler_object_inline_stack_2469.sibling = + JSCompiler_object_inline_componentStack_2470), + (workInProgress.child = JSCompiler_object_inline_stack_2469), + (JSCompiler_object_inline_stack_2469 = + JSCompiler_object_inline_componentStack_2470), + (JSCompiler_object_inline_componentStack_2470 = workInProgress.child), + (JSCompiler_object_inline_message_2467 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2467 + ? (JSCompiler_object_inline_message_2467 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2466.cachePool), + JSCompiler_object_inline_message_2467.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9683,34 +9683,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2466 = { + (JSCompiler_object_inline_message_2467 = { baseLanes: - JSCompiler_object_inline_message_2466.baseLanes | renderLanes, + JSCompiler_object_inline_message_2467.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2469.memoizedState = - JSCompiler_object_inline_message_2466), + (JSCompiler_object_inline_componentStack_2470.memoizedState = + JSCompiler_object_inline_message_2467), enableTransitionTracing && - ((JSCompiler_object_inline_message_2466 = enableTransitionTracing + ((JSCompiler_object_inline_message_2467 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2466 && + null !== JSCompiler_object_inline_message_2467 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2469.updateQueue), + JSCompiler_object_inline_componentStack_2470.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2469.updateQueue = { - transitions: JSCompiler_object_inline_message_2466, + ? (JSCompiler_object_inline_componentStack_2470.updateQueue = { + transitions: JSCompiler_object_inline_message_2467, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2469.updateQueue = + ? (JSCompiler_object_inline_componentStack_2470.updateQueue = { - transitions: JSCompiler_object_inline_message_2466, + transitions: JSCompiler_object_inline_message_2467, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9718,41 +9718,41 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2466), + JSCompiler_object_inline_message_2467), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2469.childLanes = + (JSCompiler_object_inline_componentStack_2470.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2467, + JSCompiler_object_inline_digest_2468, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2468 + JSCompiler_object_inline_stack_2469 ); pushPrimaryTreeSuspenseHandler(workInProgress); - JSCompiler_object_inline_digest_2467 = current.child; - current = JSCompiler_object_inline_digest_2467.sibling; - JSCompiler_object_inline_digest_2467 = createWorkInProgress( - JSCompiler_object_inline_digest_2467, + JSCompiler_object_inline_digest_2468 = current.child; + current = JSCompiler_object_inline_digest_2468.sibling; + JSCompiler_object_inline_digest_2468 = createWorkInProgress( + JSCompiler_object_inline_digest_2468, { mode: "visible", - children: JSCompiler_object_inline_stack_2468.children + children: JSCompiler_object_inline_stack_2469.children } ); disableLegacyMode || 0 !== (workInProgress.mode & 1) || - (JSCompiler_object_inline_digest_2467.lanes = renderLanes); - JSCompiler_object_inline_digest_2467.return = workInProgress; - JSCompiler_object_inline_digest_2467.sibling = null; + (JSCompiler_object_inline_digest_2468.lanes = renderLanes); + JSCompiler_object_inline_digest_2468.return = workInProgress; + JSCompiler_object_inline_digest_2468.sibling = null; null !== current && ((renderLanes = workInProgress.deletions), null === renderLanes ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) : renderLanes.push(current)); - workInProgress.child = JSCompiler_object_inline_digest_2467; + workInProgress.child = JSCompiler_object_inline_digest_2468; workInProgress.memoizedState = null; - return JSCompiler_object_inline_digest_2467; + return JSCompiler_object_inline_digest_2468; } function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { primaryChildren = createFiberFromOffscreen( @@ -10370,9 +10370,11 @@ __DEV__ && Component.$$typeof === REACT_LAZY_TYPE && (hint = " Did you wrap a component in React.lazy() more than once?"); + var loggedComponent = + getComponentNameFromType(Component) || Component; throw Error( "Element type is invalid. Received a promise that resolves to: " + - Component + + loggedComponent + ". Lazy element type must resolve to a class or function." + hint ); @@ -27960,11 +27962,11 @@ __DEV__ && : flushSyncErrorInBuildsThatSupportLegacyMode; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-classic-b7e7f1a3-20240722" !== isomorphicReactPackageVersion) + if ("19.0.0-www-classic-9cc0f6e6-20240723" !== 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-b7e7f1a3-20240722\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-classic-9cc0f6e6-20240723\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -28030,12 +28032,12 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-www-classic-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-classic-9cc0f6e6-20240723" }); })({ findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 1, - version: "19.0.0-www-classic-b7e7f1a3-20240722", + version: "19.0.0-www-classic-9cc0f6e6-20240723", rendererPackageName: "react-dom" }) && canUseDOM && @@ -28844,5 +28846,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-classic-b7e7f1a3-20240722"; + exports.version = "19.0.0-www-classic-9cc0f6e6-20240723"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index f23cca4d92..5726571016 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -8900,32 +8900,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2486; - var JSCompiler_object_inline_stack_2487 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2487; + var JSCompiler_object_inline_stack_2488 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2488 = !1; + var JSCompiler_object_inline_componentStack_2489 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2486 = didSuspend) || - (JSCompiler_object_inline_digest_2486 = + (JSCompiler_object_inline_digest_2487 = didSuspend) || + (JSCompiler_object_inline_digest_2487 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2486 && - ((JSCompiler_object_inline_componentStack_2488 = !0), + JSCompiler_object_inline_digest_2487 && + ((JSCompiler_object_inline_componentStack_2489 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2486 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2487 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2488 + JSCompiler_object_inline_componentStack_2489 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2485 = nextHydratableInstance; + var JSCompiler_object_inline_message_2486 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2485)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2486)) { c: { - var instance = JSCompiler_object_inline_message_2485; + var instance = JSCompiler_object_inline_message_2486; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -8966,19 +8966,19 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2485 + JSCompiler_object_inline_message_2486 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2485 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2486 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2485 && - ((JSCompiler_object_inline_message_2485 = - JSCompiler_object_inline_message_2485.dehydrated), - null !== JSCompiler_object_inline_message_2485) + null !== JSCompiler_object_inline_message_2486 && + ((JSCompiler_object_inline_message_2486 = + JSCompiler_object_inline_message_2486.dehydrated), + null !== JSCompiler_object_inline_message_2486) ) return ( - JSCompiler_object_inline_message_2485.data === + JSCompiler_object_inline_message_2486.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = DefaultHydrationLane) : (workInProgress.lanes = OffscreenLane), @@ -8986,27 +8986,27 @@ __DEV__ && ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2485 = - JSCompiler_object_inline_stack_2487.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2487.fallback; - if (JSCompiler_object_inline_componentStack_2488) + JSCompiler_object_inline_message_2486 = + JSCompiler_object_inline_stack_2488.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2488.fallback; + if (JSCompiler_object_inline_componentStack_2489) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2487 = + (JSCompiler_object_inline_stack_2488 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2485, + JSCompiler_object_inline_message_2486, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2488 = + (JSCompiler_object_inline_componentStack_2489 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2488.memoizedState = + (JSCompiler_object_inline_componentStack_2489.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2488.childLanes = + (JSCompiler_object_inline_componentStack_2489.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2486, + JSCompiler_object_inline_digest_2487, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9019,9 +9019,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2488.updateQueue), + JSCompiler_object_inline_componentStack_2489.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2488.updateQueue = + ? (JSCompiler_object_inline_componentStack_2489.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9029,46 +9029,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2487 + JSCompiler_object_inline_stack_2488 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2487.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2488.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2487 = + (JSCompiler_object_inline_stack_2488 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2485, + JSCompiler_object_inline_message_2486, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2488 = + (JSCompiler_object_inline_componentStack_2489 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2488.memoizedState = + (JSCompiler_object_inline_componentStack_2489.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2488.childLanes = + (JSCompiler_object_inline_componentStack_2489.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2486, + JSCompiler_object_inline_digest_2487, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2487 + JSCompiler_object_inline_stack_2488 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2485 + JSCompiler_object_inline_message_2486 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2485 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2485) + ((JSCompiler_object_inline_message_2486 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2486) ) { if (didSuspend) workInProgress.flags & 256 @@ -9085,94 +9085,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2488 = - JSCompiler_object_inline_stack_2487.fallback), - (JSCompiler_object_inline_message_2485 = workInProgress.mode), - (JSCompiler_object_inline_stack_2487 = + (JSCompiler_object_inline_componentStack_2489 = + JSCompiler_object_inline_stack_2488.fallback), + (JSCompiler_object_inline_message_2486 = workInProgress.mode), + (JSCompiler_object_inline_stack_2488 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2487.children + children: JSCompiler_object_inline_stack_2488.children }, - JSCompiler_object_inline_message_2485 + JSCompiler_object_inline_message_2486 )), - (JSCompiler_object_inline_componentStack_2488 = + (JSCompiler_object_inline_componentStack_2489 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2488, - JSCompiler_object_inline_message_2485, + JSCompiler_object_inline_componentStack_2489, + JSCompiler_object_inline_message_2486, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2488.flags |= 2), - (JSCompiler_object_inline_stack_2487.return = workInProgress), - (JSCompiler_object_inline_componentStack_2488.return = + (JSCompiler_object_inline_componentStack_2489.flags |= 2), + (JSCompiler_object_inline_stack_2488.return = workInProgress), + (JSCompiler_object_inline_componentStack_2489.return = workInProgress), - (JSCompiler_object_inline_stack_2487.sibling = - JSCompiler_object_inline_componentStack_2488), - (workInProgress.child = JSCompiler_object_inline_stack_2487), + (JSCompiler_object_inline_stack_2488.sibling = + JSCompiler_object_inline_componentStack_2489), + (workInProgress.child = JSCompiler_object_inline_stack_2488), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2487 = workInProgress.child), - (JSCompiler_object_inline_stack_2487.memoizedState = + (JSCompiler_object_inline_stack_2488 = workInProgress.child), + (JSCompiler_object_inline_stack_2488.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2487.childLanes = + (JSCompiler_object_inline_stack_2488.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2486, + JSCompiler_object_inline_digest_2487, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2488)); + JSCompiler_object_inline_componentStack_2489)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2485.data === + JSCompiler_object_inline_message_2486.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2486 = - JSCompiler_object_inline_message_2485.nextSibling && - JSCompiler_object_inline_message_2485.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2486) { - JSCompiler_temp = JSCompiler_object_inline_digest_2486.dgst; - var message = JSCompiler_object_inline_digest_2486.msg; - instance = JSCompiler_object_inline_digest_2486.stck; - var componentStack = JSCompiler_object_inline_digest_2486.cstck; + JSCompiler_object_inline_digest_2487 = + JSCompiler_object_inline_message_2486.nextSibling && + JSCompiler_object_inline_message_2486.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2487) { + JSCompiler_temp = JSCompiler_object_inline_digest_2487.dgst; + var message = JSCompiler_object_inline_digest_2487.msg; + instance = JSCompiler_object_inline_digest_2487.stck; + var componentStack = JSCompiler_object_inline_digest_2487.cstck; } - JSCompiler_object_inline_message_2485 = message; - JSCompiler_object_inline_digest_2486 = JSCompiler_temp; - JSCompiler_object_inline_stack_2487 = instance; - JSCompiler_object_inline_componentStack_2488 = componentStack; - JSCompiler_object_inline_message_2485 = - JSCompiler_object_inline_message_2485 - ? Error(JSCompiler_object_inline_message_2485) + JSCompiler_object_inline_message_2486 = message; + JSCompiler_object_inline_digest_2487 = JSCompiler_temp; + JSCompiler_object_inline_stack_2488 = instance; + JSCompiler_object_inline_componentStack_2489 = componentStack; + JSCompiler_object_inline_message_2486 = + JSCompiler_object_inline_message_2486 + ? Error(JSCompiler_object_inline_message_2486) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2485.stack = - JSCompiler_object_inline_stack_2487 || ""; - JSCompiler_object_inline_message_2485.digest = - JSCompiler_object_inline_digest_2486; - JSCompiler_object_inline_digest_2486 = - void 0 === JSCompiler_object_inline_componentStack_2488 + JSCompiler_object_inline_message_2486.stack = + JSCompiler_object_inline_stack_2488 || ""; + JSCompiler_object_inline_message_2486.digest = + JSCompiler_object_inline_digest_2487; + JSCompiler_object_inline_digest_2487 = + void 0 === JSCompiler_object_inline_componentStack_2489 ? null - : JSCompiler_object_inline_componentStack_2488; - "string" === typeof JSCompiler_object_inline_digest_2486 && + : JSCompiler_object_inline_componentStack_2489; + "string" === typeof JSCompiler_object_inline_digest_2487 && CapturedStacks.set( - JSCompiler_object_inline_message_2485, - JSCompiler_object_inline_digest_2486 + JSCompiler_object_inline_message_2486, + JSCompiler_object_inline_digest_2487 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2485, + value: JSCompiler_object_inline_message_2486, source: null, - stack: JSCompiler_object_inline_digest_2486 + stack: JSCompiler_object_inline_digest_2487 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9188,26 +9188,26 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2486 = + (JSCompiler_object_inline_digest_2487 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2486) + didReceiveUpdate || JSCompiler_object_inline_digest_2487) ) { - JSCompiler_object_inline_digest_2486 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2486) { - JSCompiler_object_inline_stack_2487 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2487 & SyncUpdateLanes)) - JSCompiler_object_inline_stack_2487 = SyncHydrationLane; + JSCompiler_object_inline_digest_2487 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2487) { + JSCompiler_object_inline_stack_2488 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2488 & SyncUpdateLanes)) + JSCompiler_object_inline_stack_2488 = SyncHydrationLane; else - switch (JSCompiler_object_inline_stack_2487) { + switch (JSCompiler_object_inline_stack_2488) { case SyncLane: - JSCompiler_object_inline_stack_2487 = SyncHydrationLane; + JSCompiler_object_inline_stack_2488 = SyncHydrationLane; break; case InputContinuousLane: - JSCompiler_object_inline_stack_2487 = + JSCompiler_object_inline_stack_2488 = InputContinuousHydrationLane; break; case DefaultLane: - JSCompiler_object_inline_stack_2487 = DefaultHydrationLane; + JSCompiler_object_inline_stack_2488 = DefaultHydrationLane; break; case 128: case 256: @@ -9228,40 +9228,40 @@ __DEV__ && case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2487 = TransitionHydrationLane; + JSCompiler_object_inline_stack_2488 = TransitionHydrationLane; break; case IdleLane: - JSCompiler_object_inline_stack_2487 = IdleHydrationLane; + JSCompiler_object_inline_stack_2488 = IdleHydrationLane; break; default: - JSCompiler_object_inline_stack_2487 = 0; + JSCompiler_object_inline_stack_2488 = 0; } - JSCompiler_object_inline_stack_2487 = + JSCompiler_object_inline_stack_2488 = 0 !== - (JSCompiler_object_inline_stack_2487 & - (JSCompiler_object_inline_digest_2486.suspendedLanes | + (JSCompiler_object_inline_stack_2488 & + (JSCompiler_object_inline_digest_2487.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2487; + : JSCompiler_object_inline_stack_2488; if ( - 0 !== JSCompiler_object_inline_stack_2487 && - JSCompiler_object_inline_stack_2487 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2488 && + JSCompiler_object_inline_stack_2488 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2487), + ((prevState.retryLane = JSCompiler_object_inline_stack_2488), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2487 + JSCompiler_object_inline_stack_2488 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2486, + JSCompiler_object_inline_digest_2487, current, - JSCompiler_object_inline_stack_2487 + JSCompiler_object_inline_stack_2488 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2485.data === + JSCompiler_object_inline_message_2486.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9269,7 +9269,7 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2485.data === + JSCompiler_object_inline_message_2486.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9277,12 +9277,12 @@ __DEV__ && null, current )), - (JSCompiler_object_inline_message_2485._reactRetry = + (JSCompiler_object_inline_message_2486._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2485.nextSibling + JSCompiler_object_inline_message_2486.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9300,57 +9300,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2487.children + JSCompiler_object_inline_stack_2488.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2488) + if (JSCompiler_object_inline_componentStack_2489) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2488 = - JSCompiler_object_inline_stack_2487.fallback), - (JSCompiler_object_inline_message_2485 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2489 = + JSCompiler_object_inline_stack_2488.fallback), + (JSCompiler_object_inline_message_2486 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2487 = createWorkInProgress( + (JSCompiler_object_inline_stack_2488 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2487.children + children: JSCompiler_object_inline_stack_2488.children } )), - (JSCompiler_object_inline_stack_2487.subtreeFlags = + (JSCompiler_object_inline_stack_2488.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2488 = + ? (JSCompiler_object_inline_componentStack_2489 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2488 + JSCompiler_object_inline_componentStack_2489 )) - : ((JSCompiler_object_inline_componentStack_2488 = + : ((JSCompiler_object_inline_componentStack_2489 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2488, - JSCompiler_object_inline_message_2485, + JSCompiler_object_inline_componentStack_2489, + JSCompiler_object_inline_message_2486, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2488.flags |= 2)), - (JSCompiler_object_inline_componentStack_2488.return = + (JSCompiler_object_inline_componentStack_2489.flags |= 2)), + (JSCompiler_object_inline_componentStack_2489.return = workInProgress), - (JSCompiler_object_inline_stack_2487.return = workInProgress), - (JSCompiler_object_inline_stack_2487.sibling = - JSCompiler_object_inline_componentStack_2488), - (workInProgress.child = JSCompiler_object_inline_stack_2487), - (JSCompiler_object_inline_stack_2487 = - JSCompiler_object_inline_componentStack_2488), - (JSCompiler_object_inline_componentStack_2488 = workInProgress.child), - (JSCompiler_object_inline_message_2485 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2485 - ? (JSCompiler_object_inline_message_2485 = + (JSCompiler_object_inline_stack_2488.return = workInProgress), + (JSCompiler_object_inline_stack_2488.sibling = + JSCompiler_object_inline_componentStack_2489), + (workInProgress.child = JSCompiler_object_inline_stack_2488), + (JSCompiler_object_inline_stack_2488 = + JSCompiler_object_inline_componentStack_2489), + (JSCompiler_object_inline_componentStack_2489 = workInProgress.child), + (JSCompiler_object_inline_message_2486 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2486 + ? (JSCompiler_object_inline_message_2486 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2485.cachePool), + JSCompiler_object_inline_message_2486.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9358,34 +9358,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2485 = { + (JSCompiler_object_inline_message_2486 = { baseLanes: - JSCompiler_object_inline_message_2485.baseLanes | renderLanes, + JSCompiler_object_inline_message_2486.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2488.memoizedState = - JSCompiler_object_inline_message_2485), + (JSCompiler_object_inline_componentStack_2489.memoizedState = + JSCompiler_object_inline_message_2486), enableTransitionTracing && - ((JSCompiler_object_inline_message_2485 = enableTransitionTracing + ((JSCompiler_object_inline_message_2486 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2485 && + null !== JSCompiler_object_inline_message_2486 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2488.updateQueue), + JSCompiler_object_inline_componentStack_2489.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2488.updateQueue = { - transitions: JSCompiler_object_inline_message_2485, + ? (JSCompiler_object_inline_componentStack_2489.updateQueue = { + transitions: JSCompiler_object_inline_message_2486, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2488.updateQueue = + ? (JSCompiler_object_inline_componentStack_2489.updateQueue = { - transitions: JSCompiler_object_inline_message_2485, + transitions: JSCompiler_object_inline_message_2486, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9393,32 +9393,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2485), + JSCompiler_object_inline_message_2486), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2488.childLanes = + (JSCompiler_object_inline_componentStack_2489.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2486, + JSCompiler_object_inline_digest_2487, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2487 + JSCompiler_object_inline_stack_2488 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2487.children + children: JSCompiler_object_inline_stack_2488.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2486 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2486 + ((JSCompiler_object_inline_digest_2487 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2487 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2486.push(current)); + : JSCompiler_object_inline_digest_2487.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -10019,9 +10019,10 @@ __DEV__ && current.$$typeof === REACT_LAZY_TYPE && (workInProgress = " Did you wrap a component in React.lazy() more than once?"); + renderLanes = getComponentNameFromType(current) || current; throw Error( "Element type is invalid. Received a promise that resolves to: " + - current + + renderLanes + ". Lazy element type must resolve to a class or function." + workInProgress ); @@ -27081,11 +27082,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-www-modern-b7e7f1a3-20240722" !== isomorphicReactPackageVersion) + if ("19.0.0-www-modern-9cc0f6e6-20240723" !== 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-b7e7f1a3-20240722\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-www-modern-9cc0f6e6-20240723\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27150,12 +27151,12 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-www-modern-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-modern-9cc0f6e6-20240723" }); })({ findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 1, - version: "19.0.0-www-modern-b7e7f1a3-20240722", + version: "19.0.0-www-modern-9cc0f6e6-20240723", rendererPackageName: "react-dom" }) && canUseDOM && @@ -27917,5 +27918,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-www-modern-b7e7f1a3-20240722"; + exports.version = "19.0.0-www-modern-9cc0f6e6-20240723"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index 662bedcea4..61d5fc0b3b 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -6879,7 +6879,8 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - throw Error(formatProdErrorMessage(306, current, "")); + workInProgress = getComponentNameFromType(current) || current; + throw Error(formatProdErrorMessage(306, workInProgress, "")); } } return workInProgress; @@ -13473,14 +13474,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$390; if (canUseDOM) { - var isSupported$jscomp$inline_1587 = "oninput" in document; - if (!isSupported$jscomp$inline_1587) { - var element$jscomp$inline_1588 = document.createElement("div"); - element$jscomp$inline_1588.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1587 = - "function" === typeof element$jscomp$inline_1588.oninput; + var isSupported$jscomp$inline_1588 = "oninput" in document; + if (!isSupported$jscomp$inline_1588) { + var element$jscomp$inline_1589 = document.createElement("div"); + element$jscomp$inline_1589.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1588 = + "function" === typeof element$jscomp$inline_1589.oninput; } - JSCompiler_inline_result$jscomp$390 = isSupported$jscomp$inline_1587; + JSCompiler_inline_result$jscomp$390 = isSupported$jscomp$inline_1588; } else JSCompiler_inline_result$jscomp$390 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$390 && @@ -13894,20 +13895,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1628 = 0; - i$jscomp$inline_1628 < simpleEventPluginEvents.length; - i$jscomp$inline_1628++ + var i$jscomp$inline_1629 = 0; + i$jscomp$inline_1629 < simpleEventPluginEvents.length; + i$jscomp$inline_1629++ ) { - var eventName$jscomp$inline_1629 = - simpleEventPluginEvents[i$jscomp$inline_1628], - domEventName$jscomp$inline_1630 = - eventName$jscomp$inline_1629.toLowerCase(), - capitalizedEvent$jscomp$inline_1631 = - eventName$jscomp$inline_1629[0].toUpperCase() + - eventName$jscomp$inline_1629.slice(1); + var eventName$jscomp$inline_1630 = + simpleEventPluginEvents[i$jscomp$inline_1629], + domEventName$jscomp$inline_1631 = + eventName$jscomp$inline_1630.toLowerCase(), + capitalizedEvent$jscomp$inline_1632 = + eventName$jscomp$inline_1630[0].toUpperCase() + + eventName$jscomp$inline_1630.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1630, - "on" + capitalizedEvent$jscomp$inline_1631 + domEventName$jscomp$inline_1631, + "on" + capitalizedEvent$jscomp$inline_1632 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -17565,16 +17566,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1801 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1802 = React.version; if ( - "19.0.0-www-classic-b7e7f1a3-20240722" !== - isomorphicReactPackageVersion$jscomp$inline_1801 + "19.0.0-www-classic-9cc0f6e6-20240723" !== + isomorphicReactPackageVersion$jscomp$inline_1802 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1801, - "19.0.0-www-classic-b7e7f1a3-20240722" + isomorphicReactPackageVersion$jscomp$inline_1802, + "19.0.0-www-classic-9cc0f6e6-20240723" ) ); function flushSyncFromReconciler(fn) { @@ -17617,17 +17618,17 @@ Internals.Events = [ return fn(a); } ]; -var devToolsConfig$jscomp$inline_1808 = { +var devToolsConfig$jscomp$inline_1809 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-classic-b7e7f1a3-20240722", + version: "19.0.0-www-classic-9cc0f6e6-20240723", rendererPackageName: "react-dom" }; -var internals$jscomp$inline_2257 = { - bundleType: devToolsConfig$jscomp$inline_1808.bundleType, - version: devToolsConfig$jscomp$inline_1808.version, - rendererPackageName: devToolsConfig$jscomp$inline_1808.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1808.rendererConfig, +var internals$jscomp$inline_2258 = { + bundleType: devToolsConfig$jscomp$inline_1809.bundleType, + version: devToolsConfig$jscomp$inline_1809.version, + rendererPackageName: devToolsConfig$jscomp$inline_1809.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1809.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -17643,26 +17644,26 @@ var internals$jscomp$inline_2257 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1808.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1809.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-classic-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-classic-9cc0f6e6-20240723" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2258 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2259 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2258.isDisabled && - hook$jscomp$inline_2258.supportsFiber + !hook$jscomp$inline_2259.isDisabled && + hook$jscomp$inline_2259.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2258.inject( - internals$jscomp$inline_2257 + (rendererID = hook$jscomp$inline_2259.inject( + internals$jscomp$inline_2258 )), - (injectedHook = hook$jscomp$inline_2258); + (injectedHook = hook$jscomp$inline_2259); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -18265,4 +18266,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-classic-b7e7f1a3-20240722"; +exports.version = "19.0.0-www-classic-9cc0f6e6-20240723"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index 10d4565e0d..7537771632 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -6530,7 +6530,8 @@ function beginWork(current, workInProgress, renderLanes) { ); break a; } - throw Error(formatProdErrorMessage(306, current, "")); + workInProgress = getComponentNameFromType(current) || current; + throw Error(formatProdErrorMessage(306, workInProgress, "")); } } return workInProgress; @@ -12887,14 +12888,14 @@ var isInputEventSupported = !1; if (canUseDOM) { var JSCompiler_inline_result$jscomp$377; if (canUseDOM) { - var isSupported$jscomp$inline_1558 = "oninput" in document; - if (!isSupported$jscomp$inline_1558) { - var element$jscomp$inline_1559 = document.createElement("div"); - element$jscomp$inline_1559.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_1558 = - "function" === typeof element$jscomp$inline_1559.oninput; + var isSupported$jscomp$inline_1559 = "oninput" in document; + if (!isSupported$jscomp$inline_1559) { + var element$jscomp$inline_1560 = document.createElement("div"); + element$jscomp$inline_1560.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_1559 = + "function" === typeof element$jscomp$inline_1560.oninput; } - JSCompiler_inline_result$jscomp$377 = isSupported$jscomp$inline_1558; + JSCompiler_inline_result$jscomp$377 = isSupported$jscomp$inline_1559; } else JSCompiler_inline_result$jscomp$377 = !1; isInputEventSupported = JSCompiler_inline_result$jscomp$377 && @@ -13308,20 +13309,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1599 = 0; - i$jscomp$inline_1599 < simpleEventPluginEvents.length; - i$jscomp$inline_1599++ + var i$jscomp$inline_1600 = 0; + i$jscomp$inline_1600 < simpleEventPluginEvents.length; + i$jscomp$inline_1600++ ) { - var eventName$jscomp$inline_1600 = - simpleEventPluginEvents[i$jscomp$inline_1599], - domEventName$jscomp$inline_1601 = - eventName$jscomp$inline_1600.toLowerCase(), - capitalizedEvent$jscomp$inline_1602 = - eventName$jscomp$inline_1600[0].toUpperCase() + - eventName$jscomp$inline_1600.slice(1); + var eventName$jscomp$inline_1601 = + simpleEventPluginEvents[i$jscomp$inline_1600], + domEventName$jscomp$inline_1602 = + eventName$jscomp$inline_1601.toLowerCase(), + capitalizedEvent$jscomp$inline_1603 = + eventName$jscomp$inline_1601[0].toUpperCase() + + eventName$jscomp$inline_1601.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1601, - "on" + capitalizedEvent$jscomp$inline_1602 + domEventName$jscomp$inline_1602, + "on" + capitalizedEvent$jscomp$inline_1603 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -16928,16 +16929,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1772 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1773 = React.version; if ( - "19.0.0-www-modern-b7e7f1a3-20240722" !== - isomorphicReactPackageVersion$jscomp$inline_1772 + "19.0.0-www-modern-9cc0f6e6-20240723" !== + isomorphicReactPackageVersion$jscomp$inline_1773 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1772, - "19.0.0-www-modern-b7e7f1a3-20240722" + isomorphicReactPackageVersion$jscomp$inline_1773, + "19.0.0-www-modern-9cc0f6e6-20240723" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -16953,17 +16954,17 @@ Internals.Events = [ return fn(a); } ]; -var devToolsConfig$jscomp$inline_1774 = { +var devToolsConfig$jscomp$inline_1775 = { findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 0, - version: "19.0.0-www-modern-b7e7f1a3-20240722", + version: "19.0.0-www-modern-9cc0f6e6-20240723", rendererPackageName: "react-dom" }; -var internals$jscomp$inline_2248 = { - bundleType: devToolsConfig$jscomp$inline_1774.bundleType, - version: devToolsConfig$jscomp$inline_1774.version, - rendererPackageName: devToolsConfig$jscomp$inline_1774.rendererPackageName, - rendererConfig: devToolsConfig$jscomp$inline_1774.rendererConfig, +var internals$jscomp$inline_2249 = { + bundleType: devToolsConfig$jscomp$inline_1775.bundleType, + version: devToolsConfig$jscomp$inline_1775.version, + rendererPackageName: devToolsConfig$jscomp$inline_1775.rendererPackageName, + rendererConfig: devToolsConfig$jscomp$inline_1775.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, @@ -16979,26 +16980,26 @@ var internals$jscomp$inline_2248 = { return null === fiber ? null : fiber.stateNode; }, findFiberByHostInstance: - devToolsConfig$jscomp$inline_1774.findFiberByHostInstance || + devToolsConfig$jscomp$inline_1775.findFiberByHostInstance || emptyFindFiberByHostInstance, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-modern-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-modern-9cc0f6e6-20240723" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2249 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2250 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2249.isDisabled && - hook$jscomp$inline_2249.supportsFiber + !hook$jscomp$inline_2250.isDisabled && + hook$jscomp$inline_2250.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2249.inject( - internals$jscomp$inline_2248 + (rendererID = hook$jscomp$inline_2250.inject( + internals$jscomp$inline_2249 )), - (injectedHook = hook$jscomp$inline_2249); + (injectedHook = hook$jscomp$inline_2250); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -17508,4 +17509,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-www-modern-b7e7f1a3-20240722"; +exports.version = "19.0.0-www-modern-9cc0f6e6-20240723"; diff --git a/compiled/facebook-www/ReactReconciler-dev.classic.js b/compiled/facebook-www/ReactReconciler-dev.classic.js index 9ee1685d44..73d92c79ac 100644 --- a/compiled/facebook-www/ReactReconciler-dev.classic.js +++ b/compiled/facebook-www/ReactReconciler-dev.classic.js @@ -8477,9 +8477,10 @@ __DEV__ && current.$$typeof === REACT_LAZY_TYPE && (workInProgress = " Did you wrap a component in React.lazy() more than once?"); + renderLanes = getComponentNameFromType(current) || current; throw Error( "Element type is invalid. Received a promise that resolves to: " + - current + + renderLanes + ". Lazy element type must resolve to a class or function." + workInProgress ); @@ -19126,7 +19127,7 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-www-classic-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-classic-9cc0f6e6-20240723" }); }; exports.isAlreadyRendering = function () { diff --git a/compiled/facebook-www/ReactReconciler-dev.modern.js b/compiled/facebook-www/ReactReconciler-dev.modern.js index 8a9d7cc15c..c19509f5e0 100644 --- a/compiled/facebook-www/ReactReconciler-dev.modern.js +++ b/compiled/facebook-www/ReactReconciler-dev.modern.js @@ -8155,9 +8155,10 @@ __DEV__ && current.$$typeof === REACT_LAZY_TYPE && (workInProgress = " Did you wrap a component in React.lazy() more than once?"); + renderLanes = getComponentNameFromType(current) || current; throw Error( "Element type is invalid. Received a promise that resolves to: " + - current + + renderLanes + ". Lazy element type must resolve to a class or function." + workInProgress ); @@ -18486,7 +18487,7 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-www-modern-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-modern-9cc0f6e6-20240723" }); }; exports.isAlreadyRendering = function () { diff --git a/compiled/facebook-www/ReactReconciler-prod.classic.js b/compiled/facebook-www/ReactReconciler-prod.classic.js index b3c76a7bfa..aab7b1d096 100644 --- a/compiled/facebook-www/ReactReconciler-prod.classic.js +++ b/compiled/facebook-www/ReactReconciler-prod.classic.js @@ -5523,7 +5523,8 @@ module.exports = function ($$$config) { ); break a; } - throw Error(formatProdErrorMessage(306, current, "")); + workInProgress = getComponentNameFromType(current) || current; + throw Error(formatProdErrorMessage(306, workInProgress, "")); } } return workInProgress; @@ -12747,7 +12748,7 @@ module.exports = function ($$$config) { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-classic-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-classic-9cc0f6e6-20240723" }; if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) devToolsConfig = !1; diff --git a/compiled/facebook-www/ReactReconciler-prod.modern.js b/compiled/facebook-www/ReactReconciler-prod.modern.js index 4ca542dd14..bd3fdeda63 100644 --- a/compiled/facebook-www/ReactReconciler-prod.modern.js +++ b/compiled/facebook-www/ReactReconciler-prod.modern.js @@ -5201,7 +5201,8 @@ module.exports = function ($$$config) { ); break a; } - throw Error(formatProdErrorMessage(306, current, "")); + workInProgress = getComponentNameFromType(current) || current; + throw Error(formatProdErrorMessage(306, workInProgress, "")); } } return workInProgress; @@ -12235,7 +12236,7 @@ module.exports = function ($$$config) { scheduleRoot: null, setRefreshHandler: null, getCurrentFiber: null, - reconcilerVersion: "19.0.0-www-modern-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-modern-9cc0f6e6-20240723" }; if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) devToolsConfig = !1; diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index 0c8e72e642..e5b27ad88b 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -13,7 +13,7 @@ "use strict"; __DEV__ && (function () { - function JSCompiler_object_inline_createNodeMock_1091() { + function JSCompiler_object_inline_createNodeMock_1092() { return null; } function findHook(fiber, id) { @@ -7202,9 +7202,10 @@ __DEV__ && current.$$typeof === REACT_LAZY_TYPE && (workInProgress = " Did you wrap a component in React.lazy() more than once?"); + renderLanes = getComponentNameFromType(current) || current; throw Error( "Element type is invalid. Received a promise that resolves to: " + - current + + renderLanes + ". Lazy element type must resolve to a class or function." + workInProgress ); @@ -14822,20 +14823,20 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-www-classic-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-classic-9cc0f6e6-20240723" }); })({ findFiberByHostInstance: function () { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 1, - version: "19.0.0-www-classic-b7e7f1a3-20240722", + version: "19.0.0-www-classic-9cc0f6e6-20240723", rendererPackageName: "react-test-renderer" }); exports._Scheduler = Scheduler; exports.act = act; exports.create = function (element, options) { - var createNodeMock = JSCompiler_object_inline_createNodeMock_1091, + var createNodeMock = JSCompiler_object_inline_createNodeMock_1092, isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT, isConcurrent = isConcurrentOnly, isStrictMode = !1, diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index a0721963be..606c0cbf64 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -13,7 +13,7 @@ "use strict"; __DEV__ && (function () { - function JSCompiler_object_inline_createNodeMock_1091() { + function JSCompiler_object_inline_createNodeMock_1092() { return null; } function findHook(fiber, id) { @@ -7202,9 +7202,10 @@ __DEV__ && current.$$typeof === REACT_LAZY_TYPE && (workInProgress = " Did you wrap a component in React.lazy() more than once?"); + renderLanes = getComponentNameFromType(current) || current; throw Error( "Element type is invalid. Received a promise that resolves to: " + - current + + renderLanes + ". Lazy element type must resolve to a class or function." + workInProgress ); @@ -14822,20 +14823,20 @@ __DEV__ && scheduleRoot: scheduleRoot, setRefreshHandler: setRefreshHandler, getCurrentFiber: getCurrentFiberForDevTools, - reconcilerVersion: "19.0.0-www-modern-b7e7f1a3-20240722" + reconcilerVersion: "19.0.0-www-modern-9cc0f6e6-20240723" }); })({ findFiberByHostInstance: function () { throw Error("TestRenderer does not support findFiberByHostInstance()"); }, bundleType: 1, - version: "19.0.0-www-modern-b7e7f1a3-20240722", + version: "19.0.0-www-modern-9cc0f6e6-20240723", rendererPackageName: "react-test-renderer" }); exports._Scheduler = Scheduler; exports.act = act; exports.create = function (element, options) { - var createNodeMock = JSCompiler_object_inline_createNodeMock_1091, + var createNodeMock = JSCompiler_object_inline_createNodeMock_1092, isConcurrentOnly = !0 !== global.IS_REACT_NATIVE_TEST_ENVIRONMENT, isConcurrent = isConcurrentOnly, isStrictMode = !1, diff --git a/compiled/facebook-www/VERSION_CLASSIC b/compiled/facebook-www/VERSION_CLASSIC index 3a2cce91bc..bd30b093d0 100644 --- a/compiled/facebook-www/VERSION_CLASSIC +++ b/compiled/facebook-www/VERSION_CLASSIC @@ -1 +1 @@ -19.0.0-www-classic-b7e7f1a3-20240722 \ No newline at end of file +19.0.0-www-classic-9cc0f6e6-20240723 \ No newline at end of file diff --git a/compiled/facebook-www/VERSION_MODERN b/compiled/facebook-www/VERSION_MODERN index cb8d8b10dd..c75c0a6993 100644 --- a/compiled/facebook-www/VERSION_MODERN +++ b/compiled/facebook-www/VERSION_MODERN @@ -1 +1 @@ -19.0.0-www-modern-b7e7f1a3-20240722 \ No newline at end of file +19.0.0-www-modern-9cc0f6e6-20240723 \ No newline at end of file