diff --git a/package.json b/package.json index d5f2ed8bcdd15..2c0a6d086d60f 100644 --- a/package.json +++ b/package.json @@ -173,7 +173,7 @@ "eslint-plugin-jsdoc": "48.0.4", "eslint-plugin-mdx": "3.1.5", "eslint-plugin-react": "7.35.0", - "eslint-plugin-react-hooks": "0.0.0-experimental-f1e70b5e-20250811", + "eslint-plugin-react-hooks": "0.0.0-experimental-ac7820a9-20250811", "eslint-v8": "npm:eslint@^8.57.0", "event-stream": "4.0.1", "execa": "2.0.3", @@ -233,16 +233,16 @@ "pretty-ms": "7.0.0", "random-seed": "0.3.0", "react": "19.0.0", - "react-builtin": "npm:react@19.2.0-canary-f1e70b5e-20250811", + "react-builtin": "npm:react@19.2.0-canary-ac7820a9-20250811", "react-dom": "19.0.0", - "react-dom-builtin": "npm:react-dom@19.2.0-canary-f1e70b5e-20250811", - "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-f1e70b5e-20250811", - "react-experimental-builtin": "npm:react@0.0.0-experimental-f1e70b5e-20250811", - "react-is-builtin": "npm:react-is@19.2.0-canary-f1e70b5e-20250811", - "react-server-dom-turbopack": "19.2.0-canary-f1e70b5e-20250811", - "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-f1e70b5e-20250811", - "react-server-dom-webpack": "19.2.0-canary-f1e70b5e-20250811", - "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-f1e70b5e-20250811", + "react-dom-builtin": "npm:react-dom@19.2.0-canary-ac7820a9-20250811", + "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-ac7820a9-20250811", + "react-experimental-builtin": "npm:react@0.0.0-experimental-ac7820a9-20250811", + "react-is-builtin": "npm:react-is@19.2.0-canary-ac7820a9-20250811", + "react-server-dom-turbopack": "19.2.0-canary-ac7820a9-20250811", + "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-ac7820a9-20250811", + "react-server-dom-webpack": "19.2.0-canary-ac7820a9-20250811", + "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-ac7820a9-20250811", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", "relay-compiler": "13.0.2", @@ -252,8 +252,8 @@ "resolve-from": "5.0.0", "sass": "1.54.0", "satori": "0.15.2", - "scheduler-builtin": "npm:scheduler@0.27.0-canary-f1e70b5e-20250811", - "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-f1e70b5e-20250811", + "scheduler-builtin": "npm:scheduler@0.27.0-canary-ac7820a9-20250811", + "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-ac7820a9-20250811", "seedrandom": "3.0.5", "semver": "7.3.7", "serve-handler": "6.1.6", @@ -297,10 +297,10 @@ "@types/react-dom": "19.1.6", "@types/retry": "0.12.0", "jest-snapshot": "30.0.0-alpha.6", - "react": "19.2.0-canary-f1e70b5e-20250811", - "react-dom": "19.2.0-canary-f1e70b5e-20250811", - "react-is": "19.2.0-canary-f1e70b5e-20250811", - "scheduler": "0.27.0-canary-f1e70b5e-20250811" + "react": "19.2.0-canary-ac7820a9-20250811", + "react-dom": "19.2.0-canary-ac7820a9-20250811", + "react-is": "19.2.0-canary-ac7820a9-20250811", + "scheduler": "0.27.0-canary-ac7820a9-20250811" }, "patchedDependencies": { "webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch", diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js index f240b544ddbac..def93b93f5f3e 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js @@ -10186,6 +10186,14 @@ ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -10242,6 +10250,17 @@ reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } + function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; + } function deferHiddenOffscreenComponent( current, workInProgress, @@ -10303,6 +10322,135 @@ workInProgress.memoizedState = null; return current; } + function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + (current = nextHydratableInstance) + ? ((renderLanes = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (renderLanes = + null !== renderLanes && renderLanes.data === ACTIVITY_START_DATA + ? renderLanes + : null), + null !== renderLanes && + ((nextProps = { + dehydrated: renderLanes, + treeContext: getSuspendedTreeContext(), + retryLane: 536870912, + hydrationErrors: null + }), + (workInProgress.memoizedState = nextProps), + (nextProps = createFiberFromDehydratedFragment(renderLanes)), + (nextProps.return = workInProgress), + (workInProgress.child = nextProps), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null))) + : (renderLanes = null); + if (null === renderLanes) + throw ( + (warnNonHydratedInstance(workInProgress, current), + throwOnHydrationMismatch(workInProgress)) + ); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + var prevState = current.memoizedState; + if (null !== prevState) { + var activityInstance = prevState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else + throw Error( + "Client rendering an Activity suspended it again. This is a bug in React." + ); + else if ( + (warnIfHydrating(), + 0 !== (renderLanes & 536870912) && + markRenderDerivedCause(workInProgress), + didReceiveUpdate || + propagateParentContextChanges( + current, + workInProgress, + renderLanes, + !1 + ), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((activityInstance = getBumpedLaneForHydration( + nextProps, + renderLanes + )), + 0 !== activityInstance && activityInstance !== prevState.retryLane) + ) + throw ( + ((prevState.retryLane = activityInstance), + enqueueConcurrentRenderForLane(current, activityInstance), + scheduleUpdateOnFiber(nextProps, current, activityInstance), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = prevState.treeContext), + (nextHydratableInstance = getNextHydratable( + activityInstance.nextSibling + )), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (didSuspendOrErrorDEV = !1), + (hydrationDiffRootDEV = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + prevState = current.child; + nextProps = { mode: nextProps.mode, children: nextProps.children }; + 0 !== (renderLanes & 536870912) && + 0 !== (renderLanes & current.lanes) && + markRenderDerivedCause(workInProgress); + current = createWorkInProgress(prevState, nextProps); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; + } function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -11001,25 +11149,25 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_3157; - var JSCompiler_object_inline_stack_3156 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_3136; + var JSCompiler_object_inline_stack_3135 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_digest_3155 = !1; + var JSCompiler_object_inline_digest_3134 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_3157 = didSuspend) || - (JSCompiler_object_inline_componentStack_3157 = + (JSCompiler_object_inline_componentStack_3136 = didSuspend) || + (JSCompiler_object_inline_componentStack_3136 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_3157 && - ((JSCompiler_object_inline_digest_3155 = !0), + JSCompiler_object_inline_componentStack_3136 && + ((JSCompiler_object_inline_digest_3134 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_3157 = + JSCompiler_object_inline_componentStack_3136 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_digest_3155 + JSCompiler_object_inline_digest_3134 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); (current = nextHydratableInstance) @@ -11032,20 +11180,20 @@ ? renderLanes : null), null !== renderLanes && - ((JSCompiler_object_inline_componentStack_3157 = { + ((JSCompiler_object_inline_componentStack_3136 = { dehydrated: renderLanes, treeContext: getSuspendedTreeContext(), retryLane: 536870912, hydrationErrors: null }), (workInProgress.memoizedState = - JSCompiler_object_inline_componentStack_3157), - (JSCompiler_object_inline_componentStack_3157 = + JSCompiler_object_inline_componentStack_3136), + (JSCompiler_object_inline_componentStack_3136 = createFiberFromDehydratedFragment(renderLanes)), - (JSCompiler_object_inline_componentStack_3157.return = + (JSCompiler_object_inline_componentStack_3136.return = workInProgress), (workInProgress.child = - JSCompiler_object_inline_componentStack_3157), + JSCompiler_object_inline_componentStack_3136), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null))) : (renderLanes = null); @@ -11059,53 +11207,53 @@ : (workInProgress.lanes = 536870912); return null; } - var nextPrimaryChildren = JSCompiler_object_inline_stack_3156.children, - nextFallbackChildren = JSCompiler_object_inline_stack_3156.fallback; - if (JSCompiler_object_inline_digest_3155) + var nextPrimaryChildren = JSCompiler_object_inline_stack_3135.children, + nextFallbackChildren = JSCompiler_object_inline_stack_3135.fallback; + if (JSCompiler_object_inline_digest_3134) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_3156 = - mountSuspenseFallbackChildren( - workInProgress, - nextPrimaryChildren, - nextFallbackChildren, + mountSuspenseFallbackChildren( + workInProgress, + nextPrimaryChildren, + nextFallbackChildren, + renderLanes + ), + (JSCompiler_object_inline_stack_3135 = workInProgress.child), + (JSCompiler_object_inline_stack_3135.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (JSCompiler_object_inline_stack_3135.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_componentStack_3136, renderLanes )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_componentStack_3157, - renderLanes - )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_3156 + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3135) ); if ( "number" === - typeof JSCompiler_object_inline_stack_3156.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_3135.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_3156 = - mountSuspenseFallbackChildren( - workInProgress, - nextPrimaryChildren, - nextFallbackChildren, + mountSuspenseFallbackChildren( + workInProgress, + nextPrimaryChildren, + nextFallbackChildren, + renderLanes + ), + (JSCompiler_object_inline_stack_3135 = workInProgress.child), + (JSCompiler_object_inline_stack_3135.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (JSCompiler_object_inline_stack_3135.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_componentStack_3136, renderLanes )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_componentStack_3157, - renderLanes - )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_3156 + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3135) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -11115,8 +11263,8 @@ } var prevState = current.memoizedState; if (null !== prevState) { - var JSCompiler_object_inline_message_3154 = prevState.dehydrated; - if (null !== JSCompiler_object_inline_message_3154) { + var JSCompiler_object_inline_message_3133 = prevState.dehydrated; + if (null !== JSCompiler_object_inline_message_3133) { if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -11133,13 +11281,13 @@ (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), (nextPrimaryChildren = - JSCompiler_object_inline_stack_3156.fallback), + JSCompiler_object_inline_stack_3135.fallback), (nextFallbackChildren = workInProgress.mode), - (JSCompiler_object_inline_stack_3156 = + (JSCompiler_object_inline_stack_3135 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_3156.children + children: JSCompiler_object_inline_stack_3135.children }, nextFallbackChildren )), @@ -11150,75 +11298,78 @@ null )), (nextPrimaryChildren.flags |= 2), - (JSCompiler_object_inline_stack_3156.return = workInProgress), + (JSCompiler_object_inline_stack_3135.return = workInProgress), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_3156.sibling = + (JSCompiler_object_inline_stack_3135.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_3156), + (workInProgress.child = JSCompiler_object_inline_stack_3135), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_3156 = workInProgress.child), - (JSCompiler_object_inline_stack_3156.memoizedState = + (JSCompiler_object_inline_stack_3135 = workInProgress.child), + (JSCompiler_object_inline_stack_3135.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_3156.childLanes = + (JSCompiler_object_inline_stack_3135.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_3157, + JSCompiler_object_inline_componentStack_3136, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent( + null, + JSCompiler_object_inline_stack_3135 + ))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), warnIfHydrating(), 0 !== (renderLanes & 536870912) && markRenderDerivedCause(workInProgress), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_3154)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_3133)) ) { - JSCompiler_object_inline_componentStack_3157 = - JSCompiler_object_inline_message_3154.nextSibling && - JSCompiler_object_inline_message_3154.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_3157) { + JSCompiler_object_inline_componentStack_3136 = + JSCompiler_object_inline_message_3133.nextSibling && + JSCompiler_object_inline_message_3133.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_3136) { nextPrimaryChildren = - JSCompiler_object_inline_componentStack_3157.dgst; - var message = JSCompiler_object_inline_componentStack_3157.msg; + JSCompiler_object_inline_componentStack_3136.dgst; + var message = JSCompiler_object_inline_componentStack_3136.msg; nextFallbackChildren = - JSCompiler_object_inline_componentStack_3157.stck; + JSCompiler_object_inline_componentStack_3136.stck; var componentStack = - JSCompiler_object_inline_componentStack_3157.cstck; + JSCompiler_object_inline_componentStack_3136.cstck; } - JSCompiler_object_inline_message_3154 = message; - JSCompiler_object_inline_digest_3155 = nextPrimaryChildren; - JSCompiler_object_inline_stack_3156 = nextFallbackChildren; - JSCompiler_object_inline_componentStack_3157 = componentStack; - nextPrimaryChildren = JSCompiler_object_inline_digest_3155; - nextFallbackChildren = JSCompiler_object_inline_message_3154; - componentStack = JSCompiler_object_inline_componentStack_3157; + JSCompiler_object_inline_message_3133 = message; + JSCompiler_object_inline_digest_3134 = nextPrimaryChildren; + JSCompiler_object_inline_stack_3135 = nextFallbackChildren; + JSCompiler_object_inline_componentStack_3136 = componentStack; + nextPrimaryChildren = JSCompiler_object_inline_digest_3134; + nextFallbackChildren = JSCompiler_object_inline_message_3133; + componentStack = JSCompiler_object_inline_componentStack_3136; "POSTPONE" !== nextPrimaryChildren && - ((JSCompiler_object_inline_componentStack_3157 = + ((JSCompiler_object_inline_componentStack_3136 = nextFallbackChildren ? Error(nextFallbackChildren) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_componentStack_3157.stack = - JSCompiler_object_inline_stack_3156 || ""), - (JSCompiler_object_inline_componentStack_3157.digest = + (JSCompiler_object_inline_componentStack_3136.stack = + JSCompiler_object_inline_stack_3135 || ""), + (JSCompiler_object_inline_componentStack_3136.digest = nextPrimaryChildren), - (JSCompiler_object_inline_stack_3156 = + (JSCompiler_object_inline_stack_3135 = void 0 === componentStack ? null : componentStack), (nextPrimaryChildren = { - value: JSCompiler_object_inline_componentStack_3157, + value: JSCompiler_object_inline_componentStack_3136, source: null, - stack: JSCompiler_object_inline_stack_3156 + stack: JSCompiler_object_inline_stack_3135 }), - "string" === typeof JSCompiler_object_inline_stack_3156 && + "string" === typeof JSCompiler_object_inline_stack_3135 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_3157, + JSCompiler_object_inline_componentStack_3136, nextPrimaryChildren ), queueHydrationError(nextPrimaryChildren)); @@ -11235,34 +11386,34 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_3157 = + (JSCompiler_object_inline_componentStack_3136 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_3157) + didReceiveUpdate || JSCompiler_object_inline_componentStack_3136) ) { - JSCompiler_object_inline_componentStack_3157 = workInProgressRoot; + JSCompiler_object_inline_componentStack_3136 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_componentStack_3157 && - ((JSCompiler_object_inline_stack_3156 = getBumpedLaneForHydration( - JSCompiler_object_inline_componentStack_3157, + null !== JSCompiler_object_inline_componentStack_3136 && + ((JSCompiler_object_inline_stack_3135 = getBumpedLaneForHydration( + JSCompiler_object_inline_componentStack_3136, renderLanes )), - 0 !== JSCompiler_object_inline_stack_3156 && - JSCompiler_object_inline_stack_3156 !== prevState.retryLane) + 0 !== JSCompiler_object_inline_stack_3135 && + JSCompiler_object_inline_stack_3135 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_3156), + ((prevState.retryLane = JSCompiler_object_inline_stack_3135), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_3156 + JSCompiler_object_inline_stack_3135 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_3157, + JSCompiler_object_inline_componentStack_3136, current, - JSCompiler_object_inline_stack_3156 + JSCompiler_object_inline_stack_3135 ), SelectiveHydrationException) ); - isSuspenseInstancePending(JSCompiler_object_inline_message_3154) || + isSuspenseInstancePending(JSCompiler_object_inline_message_3133) || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -11270,13 +11421,13 @@ renderLanes ); } else - isSuspenseInstancePending(JSCompiler_object_inline_message_3154) + isSuspenseInstancePending(JSCompiler_object_inline_message_3133) ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_3154.nextSibling + JSCompiler_object_inline_message_3133.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -11288,31 +11439,31 @@ restoreSuspendedTreeContext(workInProgress, current), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_3156.children + JSCompiler_object_inline_stack_3135.children )), (workInProgress.flags |= 4096)); return workInProgress; } } - if (JSCompiler_object_inline_digest_3155) + if (JSCompiler_object_inline_digest_3134) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = JSCompiler_object_inline_stack_3156.fallback), + (nextPrimaryChildren = JSCompiler_object_inline_stack_3135.fallback), (nextFallbackChildren = workInProgress.mode), (componentStack = current.child), - (JSCompiler_object_inline_message_3154 = componentStack.sibling), - (JSCompiler_object_inline_stack_3156 = createWorkInProgress( + (JSCompiler_object_inline_message_3133 = componentStack.sibling), + (JSCompiler_object_inline_stack_3135 = createWorkInProgress( componentStack, { mode: "hidden", - children: JSCompiler_object_inline_stack_3156.children + children: JSCompiler_object_inline_stack_3135.children } )), - (JSCompiler_object_inline_stack_3156.subtreeFlags = + (JSCompiler_object_inline_stack_3135.subtreeFlags = componentStack.subtreeFlags & 65011712), - null !== JSCompiler_object_inline_message_3154 + null !== JSCompiler_object_inline_message_3133 ? (nextPrimaryChildren = createWorkInProgress( - JSCompiler_object_inline_message_3154, + JSCompiler_object_inline_message_3133, nextPrimaryChildren )) : ((nextPrimaryChildren = createFiberFromFragment( @@ -11323,39 +11474,39 @@ )), (nextPrimaryChildren.flags |= 2)), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_3156.return = workInProgress), - (JSCompiler_object_inline_stack_3156.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_3156), - (JSCompiler_object_inline_stack_3156 = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (nextFallbackChildren = current.child.memoizedState), - null === nextFallbackChildren - ? (nextFallbackChildren = mountSuspenseOffscreenState(renderLanes)) - : ((componentStack = nextFallbackChildren.cachePool), - null !== componentStack - ? ((JSCompiler_object_inline_message_3154 = - CacheContext._currentValue), - (componentStack = - componentStack.parent !== - JSCompiler_object_inline_message_3154 - ? { - parent: JSCompiler_object_inline_message_3154, - pool: JSCompiler_object_inline_message_3154 - } - : componentStack)) - : (componentStack = getSuspendedCache()), - (nextFallbackChildren = { - baseLanes: nextFallbackChildren.baseLanes | renderLanes, - cachePool: componentStack + (JSCompiler_object_inline_stack_3135.return = workInProgress), + (JSCompiler_object_inline_stack_3135.sibling = nextPrimaryChildren), + (workInProgress.child = JSCompiler_object_inline_stack_3135), + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3135), + (JSCompiler_object_inline_stack_3135 = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((nextFallbackChildren = nextPrimaryChildren.cachePool), + null !== nextFallbackChildren + ? ((componentStack = CacheContext._currentValue), + (nextFallbackChildren = + nextFallbackChildren.parent !== componentStack + ? { parent: componentStack, pool: componentStack } + : nextFallbackChildren)) + : (nextFallbackChildren = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: nextFallbackChildren })), - (nextPrimaryChildren.memoizedState = nextFallbackChildren), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_componentStack_3157, - renderLanes - )), + (JSCompiler_object_inline_stack_3135.memoizedState = + nextPrimaryChildren), + (JSCompiler_object_inline_stack_3135.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_componentStack_3136, + renderLanes + )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_3156 + bailoutOffscreenComponent( + current.child, + JSCompiler_object_inline_stack_3135 + ) ); null !== prevState && (renderLanes & 62914560) === renderLanes && @@ -11366,17 +11517,17 @@ current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_3156.children + children: JSCompiler_object_inline_stack_3135.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_3157 = + ((JSCompiler_object_inline_componentStack_3136 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_3157 + null === JSCompiler_object_inline_componentStack_3136 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_3157.push(current)); + : JSCompiler_object_inline_componentStack_3136.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -11415,12 +11566,6 @@ function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: OffscreenVisible, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -11874,7 +12019,7 @@ } function beginWork(current, workInProgress, renderLanes) { if (workInProgress._debugNeedsRemount && null !== current) { - var copiedFiber = createFiberFromTypeAndProps( + renderLanes = createFiberFromTypeAndProps( workInProgress.type, workInProgress.key, workInProgress.pendingProps, @@ -11882,19 +12027,19 @@ workInProgress.mode, workInProgress.lanes ); - copiedFiber._debugStack = workInProgress._debugStack; - copiedFiber._debugTask = workInProgress._debugTask; + renderLanes._debugStack = workInProgress._debugStack; + renderLanes._debugTask = workInProgress._debugTask; var returnFiber = workInProgress.return; if (null === returnFiber) throw Error("Cannot swap the root fiber."); current.alternate = null; workInProgress.alternate = null; - copiedFiber.index = workInProgress.index; - copiedFiber.sibling = workInProgress.sibling; - copiedFiber.return = workInProgress.return; - copiedFiber.ref = workInProgress.ref; - copiedFiber._debugInfo = workInProgress._debugInfo; + renderLanes.index = workInProgress.index; + renderLanes.sibling = workInProgress.sibling; + renderLanes.return = workInProgress.return; + renderLanes.ref = workInProgress.ref; + renderLanes._debugInfo = workInProgress._debugInfo; if (workInProgress === returnFiber.child) - returnFiber.child = copiedFiber; + returnFiber.child = renderLanes; else { var prevSibling = returnFiber.child; if (null === prevSibling) @@ -11902,14 +12047,14 @@ for (; prevSibling.sibling !== workInProgress; ) if (((prevSibling = prevSibling.sibling), null === prevSibling)) throw Error("Expected to find the previous sibling."); - prevSibling.sibling = copiedFiber; + prevSibling.sibling = renderLanes; } - var deletions = returnFiber.deletions; - null === deletions + workInProgress = returnFiber.deletions; + null === workInProgress ? ((returnFiber.deletions = [current]), (returnFiber.flags |= 16)) - : deletions.push(current); - copiedFiber.flags |= 2; - return copiedFiber; + : workInProgress.push(current); + renderLanes.flags |= 2; + return renderLanes; } if (null !== current) if ( @@ -11934,95 +12079,92 @@ } else { didReceiveUpdate = !1; - var JSCompiler_temp; - if ((JSCompiler_temp = isHydrating)) + if ((returnFiber = isHydrating)) warnIfNotHydrating(), - (JSCompiler_temp = 0 !== (workInProgress.flags & 1048576)); - if (JSCompiler_temp) { - var slotIndex = workInProgress.index; - warnIfNotHydrating(); - pushTreeId(workInProgress, treeForkCount, slotIndex); - } + (returnFiber = 0 !== (workInProgress.flags & 1048576)); + returnFiber && + ((returnFiber = workInProgress.index), + warnIfNotHydrating(), + pushTreeId(workInProgress, treeForkCount, returnFiber)); } workInProgress.lanes = 0; switch (workInProgress.tag) { case 16: - a: { - var props = workInProgress.pendingProps, - Component = resolveLazy(workInProgress.elementType); - workInProgress.type = Component; - if ("function" === typeof Component) - if (shouldConstruct(Component)) { - var resolvedProps = resolveClassComponentProps( - Component, - props + a: if ( + ((returnFiber = workInProgress.pendingProps), + (current = resolveLazy(workInProgress.elementType)), + (workInProgress.type = current), + "function" === typeof current) + ) + shouldConstruct(current) + ? ((returnFiber = resolveClassComponentProps( + current, + returnFiber + )), + (workInProgress.tag = 1), + (workInProgress.type = current = + resolveFunctionForHotReloading(current)), + (workInProgress = updateClassComponent( + null, + workInProgress, + current, + returnFiber, + renderLanes + ))) + : ((workInProgress.tag = 0), + validateFunctionComponentInDev(workInProgress, current), + (workInProgress.type = current = + resolveFunctionForHotReloading(current)), + (workInProgress = updateFunctionComponent( + null, + workInProgress, + current, + returnFiber, + renderLanes + ))); + else { + if (void 0 !== current && null !== current) + if ( + ((prevSibling = current.$$typeof), + prevSibling === REACT_FORWARD_REF_TYPE) + ) { + workInProgress.tag = 11; + workInProgress.type = current = + resolveForwardRefForHotReloading(current); + workInProgress = updateForwardRef( + null, + workInProgress, + current, + returnFiber, + renderLanes ); - workInProgress.tag = 1; - workInProgress.type = Component = - resolveFunctionForHotReloading(Component); - var JSCompiler_inline_result = updateClassComponent( + break a; + } else if (prevSibling === REACT_MEMO_TYPE) { + workInProgress.tag = 14; + workInProgress = updateMemoComponent( null, workInProgress, - Component, - resolvedProps, + current, + returnFiber, renderLanes ); - } else - (workInProgress.tag = 0), - validateFunctionComponentInDev(workInProgress, Component), - (workInProgress.type = Component = - resolveFunctionForHotReloading(Component)), - (JSCompiler_inline_result = updateFunctionComponent( - null, - workInProgress, - Component, - props, - renderLanes - )); - else { - if (void 0 !== Component && null !== Component) { - var $$typeof = Component.$$typeof; - if ($$typeof === REACT_FORWARD_REF_TYPE) { - workInProgress.tag = 11; - workInProgress.type = Component = - resolveForwardRefForHotReloading(Component); - JSCompiler_inline_result = updateForwardRef( - null, - workInProgress, - Component, - props, - renderLanes - ); - break a; - } else if ($$typeof === REACT_MEMO_TYPE) { - workInProgress.tag = 14; - JSCompiler_inline_result = updateMemoComponent( - null, - workInProgress, - Component, - props, - renderLanes - ); - break a; - } + break a; } - var hint = ""; - null !== Component && - "object" === typeof Component && - 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: " + - loggedComponent + - ". Lazy element type must resolve to a class or function." + - hint - ); - } + workInProgress = ""; + null !== current && + "object" === typeof current && + 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: " + + renderLanes + + ". Lazy element type must resolve to a class or function." + + workInProgress + ); } - return JSCompiler_inline_result; + return workInProgress; case 0: return updateFunctionComponent( current, @@ -12032,17 +12174,19 @@ renderLanes ); case 1: - var _Component = workInProgress.type, - resolvedProps$jscomp$0 = resolveClassComponentProps( - _Component, + return ( + (returnFiber = workInProgress.type), + (prevSibling = resolveClassComponentProps( + returnFiber, workInProgress.pendingProps - ); - return updateClassComponent( - current, - workInProgress, - _Component, - resolvedProps$jscomp$0, - renderLanes + )), + updateClassComponent( + current, + workInProgress, + returnFiber, + prevSibling, + renderLanes + ) ); case 3: a: { @@ -12054,15 +12198,15 @@ throw Error( "Should have a current fiber. This is a bug in React." ); - var nextProps = workInProgress.pendingProps, - prevState = workInProgress.memoizedState, - prevChildren = prevState.element; + returnFiber = workInProgress.pendingProps; + var prevState = workInProgress.memoizedState; + prevSibling = prevState.element; cloneUpdateQueue(current, workInProgress); - processUpdateQueue(workInProgress, nextProps, null, renderLanes); - var nextState = workInProgress.memoizedState, - nextCache = nextState.cache; - pushProvider(workInProgress, CacheContext, nextCache); - nextCache !== prevState.cache && + processUpdateQueue(workInProgress, returnFiber, null, renderLanes); + var nextState = workInProgress.memoizedState; + returnFiber = nextState.cache; + pushProvider(workInProgress, CacheContext, returnFiber); + returnFiber !== prevState.cache && propagateContextChanges( workInProgress, [CacheContext], @@ -12070,303 +12214,296 @@ !0 ); suspendIfUpdateReadFromEntangledAsyncAction(); - var nextChildren = nextState.element; - if (prevState.isDehydrated) { - var overrideState = { - element: nextChildren, - isDehydrated: !1, - cache: nextState.cache - }; - workInProgress.updateQueue.baseState = overrideState; - workInProgress.memoizedState = overrideState; - if (workInProgress.flags & 256) { - var JSCompiler_inline_result$jscomp$0 = - mountHostRootWithoutHydrating( - current, - workInProgress, - nextChildren, - renderLanes - ); + returnFiber = nextState.element; + if (prevState.isDehydrated) + if ( + ((prevState = { + element: returnFiber, + isDehydrated: !1, + cache: nextState.cache + }), + (workInProgress.updateQueue.baseState = prevState), + (workInProgress.memoizedState = prevState), + workInProgress.flags & 256) + ) { + workInProgress = mountHostRootWithoutHydrating( + current, + workInProgress, + returnFiber, + renderLanes + ); break a; - } else if (nextChildren !== prevChildren) { - var recoverableError = createCapturedValueAtFiber( + } else if (returnFiber !== prevSibling) { + prevSibling = createCapturedValueAtFiber( Error( "This root received an early update, before anything was able hydrate. Switched the entire root to client rendering." ), workInProgress ); - queueHydrationError(recoverableError); - JSCompiler_inline_result$jscomp$0 = - mountHostRootWithoutHydrating( - current, - workInProgress, - nextChildren, - renderLanes - ); + queueHydrationError(prevSibling); + workInProgress = mountHostRootWithoutHydrating( + current, + workInProgress, + returnFiber, + renderLanes + ); break a; } else { - var parentContainer = workInProgress.stateNode.containerInfo; - switch (parentContainer.nodeType) { + current = workInProgress.stateNode.containerInfo; + switch (current.nodeType) { case 9: - var parentElement = parentContainer.body; + current = current.body; break; default: - parentElement = - "HTML" === parentContainer.nodeName - ? parentContainer.ownerDocument.body - : parentContainer; + current = + "HTML" === current.nodeName + ? current.ownerDocument.body + : current; } - nextHydratableInstance = getNextHydratable( - parentElement.firstChild - ); + nextHydratableInstance = getNextHydratable(current.firstChild); hydrationParentFiber = workInProgress; isHydrating = !0; hydrationErrors = null; didSuspendOrErrorDEV = !1; hydrationDiffRootDEV = null; rootOrSingletonContext = !0; - for ( - var child = mountChildFibers( - workInProgress, - null, - nextChildren, - renderLanes - ), - node = (workInProgress.child = child); - node; - - ) - (node.flags = (node.flags & -3) | 4096), - (node = node.sibling); + renderLanes = mountChildFibers( + workInProgress, + null, + returnFiber, + renderLanes + ); + for (workInProgress.child = renderLanes; renderLanes; ) + (renderLanes.flags = (renderLanes.flags & -3) | 4096), + (renderLanes = renderLanes.sibling); } - } else { + else { resetHydrationState(); - if (nextChildren === prevChildren) { - JSCompiler_inline_result$jscomp$0 = - bailoutOnAlreadyFinishedWork( - current, - workInProgress, - renderLanes - ); + if (returnFiber === prevSibling) { + workInProgress = bailoutOnAlreadyFinishedWork( + current, + workInProgress, + renderLanes + ); break a; } reconcileChildren( current, workInProgress, - nextChildren, + returnFiber, renderLanes ); } - JSCompiler_inline_result$jscomp$0 = workInProgress.child; + workInProgress = workInProgress.child; } - return JSCompiler_inline_result$jscomp$0; + return workInProgress; case 26: - markRef(current, workInProgress); - if (null === current) { - var resource = getResource( - workInProgress.type, - null, - workInProgress.pendingProps, - null - ); - if (resource) workInProgress.memoizedState = resource; - else if (!isHydrating) { - var type = workInProgress.type, - props$jscomp$0 = workInProgress.pendingProps, - rootContainerInstance = requiredContext( - rootInstanceStackCursor.current - ), - domElement = getOwnerDocumentFromRootContainer( - rootContainerInstance - ).createElement(type); - domElement[internalInstanceKey] = workInProgress; - domElement[internalPropsKey] = props$jscomp$0; - setInitialProperties(domElement, type, props$jscomp$0); - markNodeAsHoistable(domElement); - workInProgress.stateNode = domElement; - } - } else - workInProgress.memoizedState = getResource( - workInProgress.type, - current.memoizedProps, - workInProgress.pendingProps, - current.memoizedState - ); - return null; + return ( + markRef(current, workInProgress), + null === current + ? (renderLanes = getResource( + workInProgress.type, + null, + workInProgress.pendingProps, + null + )) + ? (workInProgress.memoizedState = renderLanes) + : isHydrating || + ((renderLanes = workInProgress.type), + (current = workInProgress.pendingProps), + (returnFiber = requiredContext( + rootInstanceStackCursor.current + )), + (returnFiber = + getOwnerDocumentFromRootContainer( + returnFiber + ).createElement(renderLanes)), + (returnFiber[internalInstanceKey] = workInProgress), + (returnFiber[internalPropsKey] = current), + setInitialProperties(returnFiber, renderLanes, current), + markNodeAsHoistable(returnFiber), + (workInProgress.stateNode = returnFiber)) + : (workInProgress.memoizedState = getResource( + workInProgress.type, + current.memoizedProps, + workInProgress.pendingProps, + current.memoizedState + )), + null + ); case 27: - pushHostContext(workInProgress); - if (null === current && isHydrating) { - var currentRootContainer = requiredContext( - rootInstanceStackCursor.current - ), - currentHostContext = getHostContext(), - instance = (workInProgress.stateNode = resolveSingletonInstance( - workInProgress.type, - workInProgress.pendingProps, - currentRootContainer, - currentHostContext, - !1 - )); - if (!didSuspendOrErrorDEV) { - var differences = diffHydratedProperties( - instance, - workInProgress.type, - workInProgress.pendingProps, - currentHostContext - ); - null !== differences && - (buildHydrationDiffNode(workInProgress, 0).serverProps = - differences); - } - hydrationParentFiber = workInProgress; - rootOrSingletonContext = !0; - var currentHydratableInstance = nextHydratableInstance; - isSingletonScope(workInProgress.type) - ? ((previousHydratableOnEnteringScopedSingleton = - currentHydratableInstance), - (nextHydratableInstance = getNextHydratable( - instance.firstChild - ))) - : (nextHydratableInstance = currentHydratableInstance); - } - reconcileChildren( - current, - workInProgress, - workInProgress.pendingProps.children, - renderLanes + return ( + pushHostContext(workInProgress), + null === current && + isHydrating && + ((returnFiber = requiredContext(rootInstanceStackCursor.current)), + (prevSibling = getHostContext()), + (returnFiber = workInProgress.stateNode = + resolveSingletonInstance( + workInProgress.type, + workInProgress.pendingProps, + returnFiber, + prevSibling, + !1 + )), + didSuspendOrErrorDEV || + ((prevSibling = diffHydratedProperties( + returnFiber, + workInProgress.type, + workInProgress.pendingProps, + prevSibling + )), + null !== prevSibling && + (buildHydrationDiffNode(workInProgress, 0).serverProps = + prevSibling)), + (hydrationParentFiber = workInProgress), + (rootOrSingletonContext = !0), + (prevSibling = nextHydratableInstance), + isSingletonScope(workInProgress.type) + ? ((previousHydratableOnEnteringScopedSingleton = prevSibling), + (nextHydratableInstance = getNextHydratable( + returnFiber.firstChild + ))) + : (nextHydratableInstance = prevSibling)), + reconcileChildren( + current, + workInProgress, + workInProgress.pendingProps.children, + renderLanes + ), + markRef(current, workInProgress), + null === current && (workInProgress.flags |= 4194304), + workInProgress.child ); - markRef(current, workInProgress); - null === current && (workInProgress.flags |= 4194304); - return workInProgress.child; case 5: - if (null === current && isHydrating) { - var currentHostContext$jscomp$0 = getHostContext(), - shouldKeepWarning = validateDOMNesting( - workInProgress.type, - currentHostContext$jscomp$0.ancestorInfo - ), - nextInstance = nextHydratableInstance, - JSCompiler_temp$jscomp$0; - if (!(JSCompiler_temp$jscomp$0 = !nextInstance)) { - var instance$jscomp$0 = canHydrateInstance( - nextInstance, + return ( + null === current && + isHydrating && + ((prevState = getHostContext()), + (returnFiber = validateDOMNesting( workInProgress.type, - workInProgress.pendingProps, - rootOrSingletonContext - ); - if (null !== instance$jscomp$0) { - workInProgress.stateNode = instance$jscomp$0; - if (!didSuspendOrErrorDEV) { - var differences$jscomp$0 = diffHydratedProperties( - instance$jscomp$0, - workInProgress.type, - workInProgress.pendingProps, - currentHostContext$jscomp$0 - ); - null !== differences$jscomp$0 && - (buildHydrationDiffNode(workInProgress, 0).serverProps = - differences$jscomp$0); - } - hydrationParentFiber = workInProgress; - nextHydratableInstance = getNextHydratable( - instance$jscomp$0.firstChild - ); - rootOrSingletonContext = !1; - var JSCompiler_inline_result$jscomp$1 = !0; - } else JSCompiler_inline_result$jscomp$1 = !1; - JSCompiler_temp$jscomp$0 = !JSCompiler_inline_result$jscomp$1; - } - JSCompiler_temp$jscomp$0 && - (shouldKeepWarning && - warnNonHydratedInstance(workInProgress, nextInstance), - throwOnHydrationMismatch(workInProgress)); - } - pushHostContext(workInProgress); - var type$jscomp$0 = workInProgress.type, - nextProps$jscomp$0 = workInProgress.pendingProps, - prevProps = null !== current ? current.memoizedProps : null, - nextChildren$jscomp$0 = nextProps$jscomp$0.children; - shouldSetTextContent(type$jscomp$0, nextProps$jscomp$0) - ? (nextChildren$jscomp$0 = null) - : null !== prevProps && - shouldSetTextContent(type$jscomp$0, prevProps) && - (workInProgress.flags |= 32); - if (null !== workInProgress.memoizedState) { - var newState = renderWithHooks( + prevState.ancestorInfo + )), + (prevSibling = nextHydratableInstance), + (nextState = !prevSibling) || + ((nextState = canHydrateInstance( + prevSibling, + workInProgress.type, + workInProgress.pendingProps, + rootOrSingletonContext + )), + null !== nextState + ? ((workInProgress.stateNode = nextState), + didSuspendOrErrorDEV || + ((prevState = diffHydratedProperties( + nextState, + workInProgress.type, + workInProgress.pendingProps, + prevState + )), + null !== prevState && + (buildHydrationDiffNode(workInProgress, 0).serverProps = + prevState)), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = getNextHydratable( + nextState.firstChild + )), + (rootOrSingletonContext = !1), + (prevState = !0)) + : (prevState = !1), + (nextState = !prevState)), + nextState && + (returnFiber && + warnNonHydratedInstance(workInProgress, prevSibling), + throwOnHydrationMismatch(workInProgress))), + pushHostContext(workInProgress), + (prevSibling = workInProgress.type), + (prevState = workInProgress.pendingProps), + (nextState = null !== current ? current.memoizedProps : null), + (returnFiber = prevState.children), + shouldSetTextContent(prevSibling, prevState) + ? (returnFiber = null) + : null !== nextState && + shouldSetTextContent(prevSibling, nextState) && + (workInProgress.flags |= 32), + null !== workInProgress.memoizedState && + ((prevSibling = renderWithHooks( + current, + workInProgress, + TransitionAwareHostComponent, + null, + null, + renderLanes + )), + (HostTransitionContext._currentValue = prevSibling)), + markRef(current, workInProgress), + reconcileChildren( current, workInProgress, - TransitionAwareHostComponent, - null, - null, + returnFiber, renderLanes - ); - HostTransitionContext._currentValue = newState; - } - markRef(current, workInProgress); - reconcileChildren( - current, - workInProgress, - nextChildren$jscomp$0, - renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 6: - if (null === current && isHydrating) { - var text = workInProgress.pendingProps, - currentHostContext$jscomp$1 = getHostContext(), - ancestor = currentHostContext$jscomp$1.ancestorInfo.current; - var shouldKeepWarning$jscomp$0 = - null != ancestor - ? validateTextNesting( - text, - ancestor.tag, - currentHostContext$jscomp$1.ancestorInfo.implicitRootScope - ) - : !0; - var nextInstance$jscomp$0 = nextHydratableInstance, - JSCompiler_temp$jscomp$1; - if (!(JSCompiler_temp$jscomp$1 = !nextInstance$jscomp$0)) { - var textInstance = canHydrateTextInstance( - nextInstance$jscomp$0, - workInProgress.pendingProps, - rootOrSingletonContext - ); - if (null !== textInstance) { - workInProgress.stateNode = textInstance; - hydrationParentFiber = workInProgress; - nextHydratableInstance = null; - var JSCompiler_inline_result$jscomp$2 = !0; - } else JSCompiler_inline_result$jscomp$2 = !1; - JSCompiler_temp$jscomp$1 = !JSCompiler_inline_result$jscomp$2; - } - JSCompiler_temp$jscomp$1 && - (shouldKeepWarning$jscomp$0 && - warnNonHydratedInstance(workInProgress, nextInstance$jscomp$0), - throwOnHydrationMismatch(workInProgress)); - } - return null; + return ( + null === current && + isHydrating && + ((renderLanes = workInProgress.pendingProps), + (current = getHostContext()), + (returnFiber = current.ancestorInfo.current), + (renderLanes = + null != returnFiber + ? validateTextNesting( + renderLanes, + returnFiber.tag, + current.ancestorInfo.implicitRootScope + ) + : !0), + (current = nextHydratableInstance), + (returnFiber = !current) || + ((returnFiber = canHydrateTextInstance( + current, + workInProgress.pendingProps, + rootOrSingletonContext + )), + null !== returnFiber + ? ((workInProgress.stateNode = returnFiber), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null), + (returnFiber = !0)) + : (returnFiber = !1), + (returnFiber = !returnFiber)), + returnFiber && + (renderLanes && + warnNonHydratedInstance(workInProgress, current), + throwOnHydrationMismatch(workInProgress))), + null + ); case 13: return updateSuspenseComponent(current, workInProgress, renderLanes); case 4: - pushHostContainer( - workInProgress, - workInProgress.stateNode.containerInfo + return ( + pushHostContainer( + workInProgress, + workInProgress.stateNode.containerInfo + ), + (returnFiber = workInProgress.pendingProps), + null === current + ? (workInProgress.child = reconcileChildFibers( + workInProgress, + null, + returnFiber, + renderLanes + )) + : reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - var nextChildren$jscomp$1 = workInProgress.pendingProps; - null === current - ? (workInProgress.child = reconcileChildFibers( - workInProgress, - null, - nextChildren$jscomp$1, - renderLanes - )) - : reconcileChildren( - current, - workInProgress, - nextChildren$jscomp$1, - renderLanes - ); - return workInProgress.child; case 11: return updateForwardRef( current, @@ -12376,15 +12513,17 @@ renderLanes ); case 7: - var nextChildren$jscomp$2 = workInProgress.pendingProps; - markRef(current, workInProgress); - reconcileChildren( - current, - workInProgress, - nextChildren$jscomp$2, - renderLanes + return ( + (returnFiber = workInProgress.pendingProps), + markRef(current, workInProgress), + reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 8: return ( reconcileChildren( @@ -12396,53 +12535,64 @@ workInProgress.child ); case 12: - workInProgress.flags |= 4; - workInProgress.flags |= 2048; - var stateNode = workInProgress.stateNode; - stateNode.effectDuration = -0; - stateNode.passiveEffectDuration = -0; - reconcileChildren( - current, - workInProgress, - workInProgress.pendingProps.children, - renderLanes + return ( + (workInProgress.flags |= 4), + (workInProgress.flags |= 2048), + (returnFiber = workInProgress.stateNode), + (returnFiber.effectDuration = -0), + (returnFiber.passiveEffectDuration = -0), + reconcileChildren( + current, + workInProgress, + workInProgress.pendingProps.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 10: - var context = workInProgress.type, - newProps = workInProgress.pendingProps, - newValue = newProps.value; - "value" in newProps || - hasWarnedAboutUsingNoValuePropOnContextProvider || - ((hasWarnedAboutUsingNoValuePropOnContextProvider = !0), - console.error( - "The `value` prop is required for the ``. Did you misspell it or forget to pass it?" - )); - pushProvider(workInProgress, context, newValue); - reconcileChildren( - current, - workInProgress, - newProps.children, - renderLanes + return ( + (returnFiber = workInProgress.type), + (prevSibling = workInProgress.pendingProps), + (prevState = prevSibling.value), + "value" in prevSibling || + hasWarnedAboutUsingNoValuePropOnContextProvider || + ((hasWarnedAboutUsingNoValuePropOnContextProvider = !0), + console.error( + "The `value` prop is required for the ``. Did you misspell it or forget to pass it?" + )), + pushProvider(workInProgress, returnFiber, prevState), + reconcileChildren( + current, + workInProgress, + prevSibling.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 9: - var context$jscomp$0 = workInProgress.type._context, - render = workInProgress.pendingProps.children; - "function" !== typeof render && - console.error( - "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it." - ); - prepareToReadContext(workInProgress); - var newValue$jscomp$0 = readContext(context$jscomp$0); - var newChildren = callComponentInDEV( - render, - newValue$jscomp$0, - void 0 + return ( + (prevSibling = workInProgress.type._context), + (returnFiber = workInProgress.pendingProps.children), + "function" !== typeof returnFiber && + console.error( + "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it." + ), + prepareToReadContext(workInProgress), + (prevSibling = readContext(prevSibling)), + (returnFiber = callComponentInDEV( + returnFiber, + prevSibling, + void 0 + )), + (workInProgress.flags |= 1), + reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - workInProgress.flags |= 1; - reconcileChildren(current, workInProgress, newChildren, renderLanes); - return workInProgress.child; case 14: return updateMemoComponent( current, @@ -12466,170 +12616,7 @@ renderLanes ); case 31: - var nextProps$jscomp$1 = workInProgress.pendingProps, - didSuspend = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === nextProps$jscomp$1.mode) - mountActivityChildren(workInProgress, nextProps$jscomp$1); - else { - pushDehydratedActivitySuspenseHandler(workInProgress); - var nextInstance$jscomp$1 = nextHydratableInstance; - if (nextInstance$jscomp$1) { - var hydratableInstance = canHydrateHydrationBoundary( - nextInstance$jscomp$1, - rootOrSingletonContext - ); - var activityInstance = - null !== hydratableInstance && - hydratableInstance.data === ACTIVITY_START_DATA - ? hydratableInstance - : null; - if (null !== activityInstance) { - var activityState = { - dehydrated: activityInstance, - treeContext: getSuspendedTreeContext(), - retryLane: 536870912, - hydrationErrors: null - }; - workInProgress.memoizedState = activityState; - var dehydratedFragment = - createFiberFromDehydratedFragment(activityInstance); - dehydratedFragment.return = workInProgress; - workInProgress.child = dehydratedFragment; - hydrationParentFiber = workInProgress; - nextHydratableInstance = null; - } - var JSCompiler_temp$jscomp$2 = activityInstance; - } else JSCompiler_temp$jscomp$2 = null; - if (null === JSCompiler_temp$jscomp$2) - throw ( - (warnNonHydratedInstance( - workInProgress, - nextInstance$jscomp$1 - ), - throwOnHydrationMismatch(workInProgress)) - ); - } - workInProgress.lanes = 536870912; - var JSCompiler_inline_result$jscomp$3 = null; - } else - JSCompiler_inline_result$jscomp$3 = mountActivityChildren( - workInProgress, - nextProps$jscomp$1 - ); - else { - var prevState$jscomp$0 = current.memoizedState; - if (null !== prevState$jscomp$0) { - var activityInstance$jscomp$0 = prevState$jscomp$0.dehydrated; - pushDehydratedActivitySuspenseHandler(workInProgress); - if (didSuspend) - if (workInProgress.flags & 256) { - workInProgress.flags &= -257; - var JSCompiler_inline_result$jscomp$4 = - retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (JSCompiler_inline_result$jscomp$4 = null); - else - throw Error( - "Client rendering an Activity suspended it again. This is a bug in React." - ); - else { - warnIfHydrating(); - 0 !== (renderLanes & 536870912) && - markRenderDerivedCause(workInProgress); - didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ); - var hasContextChanged = - 0 !== (renderLanes & current.childLanes); - if (didReceiveUpdate || hasContextChanged) { - var root = workInProgressRoot; - if (null !== root) { - var attemptHydrationAtLane = getBumpedLaneForHydration( - root, - renderLanes - ); - if ( - 0 !== attemptHydrationAtLane && - attemptHydrationAtLane !== prevState$jscomp$0.retryLane - ) - throw ( - ((prevState$jscomp$0.retryLane = - attemptHydrationAtLane), - enqueueConcurrentRenderForLane( - current, - attemptHydrationAtLane - ), - scheduleUpdateOnFiber( - root, - current, - attemptHydrationAtLane - ), - SelectiveHydrationException) - ); - } - renderDidSuspendDelayIfPossible(); - JSCompiler_inline_result$jscomp$4 = - retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else { - var treeContext = prevState$jscomp$0.treeContext; - nextHydratableInstance = getNextHydratable( - activityInstance$jscomp$0.nextSibling - ); - hydrationParentFiber = workInProgress; - isHydrating = !0; - hydrationErrors = null; - didSuspendOrErrorDEV = !1; - hydrationDiffRootDEV = null; - rootOrSingletonContext = !1; - null !== treeContext && - restoreSuspendedTreeContext(workInProgress, treeContext); - var primaryChildFragment = mountActivityChildren( - workInProgress, - nextProps$jscomp$1 - ); - primaryChildFragment.flags |= 4096; - JSCompiler_inline_result$jscomp$4 = primaryChildFragment; - } - } - JSCompiler_inline_result$jscomp$3 = - JSCompiler_inline_result$jscomp$4; - } else { - var currentChild = current.child, - offscreenChildProps = { - mode: nextProps$jscomp$1.mode, - children: nextProps$jscomp$1.children - }; - 0 !== (renderLanes & 536870912) && - 0 !== (renderLanes & current.lanes) && - markRenderDerivedCause(workInProgress); - var primaryChildFragment$jscomp$0 = createWorkInProgress( - currentChild, - offscreenChildProps - ); - primaryChildFragment$jscomp$0.ref = workInProgress.ref; - workInProgress.child = primaryChildFragment$jscomp$0; - primaryChildFragment$jscomp$0.return = workInProgress; - JSCompiler_inline_result$jscomp$3 = primaryChildFragment$jscomp$0; - } - } - return JSCompiler_inline_result$jscomp$3; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -12638,88 +12625,88 @@ workInProgress.pendingProps ); case 24: - prepareToReadContext(workInProgress); - var parentCache = readContext(CacheContext); - if (null === current) { - var cacheFromPool = peekCacheFromPool(); - if (null !== cacheFromPool) var freshCache = cacheFromPool; - else { - var root$jscomp$0 = workInProgressRoot, - freshCache$jscomp$0 = createCache(); - root$jscomp$0.pooledCache = freshCache$jscomp$0; - retainCache(freshCache$jscomp$0); - null !== freshCache$jscomp$0 && - (root$jscomp$0.pooledCacheLanes |= renderLanes); - freshCache = freshCache$jscomp$0; - } - workInProgress.memoizedState = { - parent: parentCache, - cache: freshCache - }; - initializeUpdateQueue(workInProgress); - pushProvider(workInProgress, CacheContext, freshCache); - } else { - 0 !== (current.lanes & renderLanes) && - (cloneUpdateQueue(current, workInProgress), - processUpdateQueue(workInProgress, null, null, renderLanes), - suspendIfUpdateReadFromEntangledAsyncAction()); - var prevState$jscomp$1 = current.memoizedState, - nextState$jscomp$0 = workInProgress.memoizedState; - if (prevState$jscomp$1.parent !== parentCache) { - var derivedState = { parent: parentCache, cache: parentCache }; - workInProgress.memoizedState = derivedState; - 0 === workInProgress.lanes && - (workInProgress.memoizedState = - workInProgress.updateQueue.baseState = - derivedState); - pushProvider(workInProgress, CacheContext, parentCache); - } else { - var nextCache$jscomp$0 = nextState$jscomp$0.cache; - pushProvider(workInProgress, CacheContext, nextCache$jscomp$0); - nextCache$jscomp$0 !== prevState$jscomp$1.cache && - propagateContextChanges( - workInProgress, - [CacheContext], - renderLanes, - !0 - ); - } - } - reconcileChildren( - current, - workInProgress, - workInProgress.pendingProps.children, - renderLanes + return ( + prepareToReadContext(workInProgress), + (returnFiber = readContext(CacheContext)), + null === current + ? ((prevSibling = peekCacheFromPool()), + null === prevSibling && + ((prevSibling = workInProgressRoot), + (prevState = createCache()), + (prevSibling.pooledCache = prevState), + retainCache(prevState), + null !== prevState && + (prevSibling.pooledCacheLanes |= renderLanes), + (prevSibling = prevState)), + (workInProgress.memoizedState = { + parent: returnFiber, + cache: prevSibling + }), + initializeUpdateQueue(workInProgress), + pushProvider(workInProgress, CacheContext, prevSibling)) + : (0 !== (current.lanes & renderLanes) && + (cloneUpdateQueue(current, workInProgress), + processUpdateQueue(workInProgress, null, null, renderLanes), + suspendIfUpdateReadFromEntangledAsyncAction()), + (prevSibling = current.memoizedState), + (prevState = workInProgress.memoizedState), + prevSibling.parent !== returnFiber + ? ((prevSibling = { + parent: returnFiber, + cache: returnFiber + }), + (workInProgress.memoizedState = prevSibling), + 0 === workInProgress.lanes && + (workInProgress.memoizedState = + workInProgress.updateQueue.baseState = + prevSibling), + pushProvider(workInProgress, CacheContext, returnFiber)) + : ((returnFiber = prevState.cache), + pushProvider(workInProgress, CacheContext, returnFiber), + returnFiber !== prevSibling.cache && + propagateContextChanges( + workInProgress, + [CacheContext], + renderLanes, + !0 + ))), + reconcileChildren( + current, + workInProgress, + workInProgress.pendingProps.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 30: - var pendingProps = workInProgress.pendingProps; - null != pendingProps.name && "auto" !== pendingProps.name - ? (workInProgress.flags |= null === current ? 18882560 : 18874368) - : isHydrating && pushMaterializedTreeId(workInProgress); - if (void 0 !== pendingProps.className) { - var example = - "string" === typeof pendingProps.className - ? JSON.stringify(pendingProps.className) - : "{...}"; - didWarnAboutClassNameOnViewTransition[example] || - ((didWarnAboutClassNameOnViewTransition[example] = !0), - console.error( - ' doesn\'t accept a "className" prop. It has been renamed to "default".\n- \n+ ', - example, - example - )); - } - null !== current && current.memoizedProps.name !== pendingProps.name - ? (workInProgress.flags |= 4194816) - : markRef(current, workInProgress); - reconcileChildren( - current, - workInProgress, - pendingProps.children, - renderLanes + return ( + (returnFiber = workInProgress.pendingProps), + null != returnFiber.name && "auto" !== returnFiber.name + ? (workInProgress.flags |= null === current ? 18882560 : 18874368) + : isHydrating && pushMaterializedTreeId(workInProgress), + void 0 !== returnFiber.className && + ((prevSibling = + "string" === typeof returnFiber.className + ? JSON.stringify(returnFiber.className) + : "{...}"), + didWarnAboutClassNameOnViewTransition[prevSibling] || + ((didWarnAboutClassNameOnViewTransition[prevSibling] = !0), + console.error( + ' doesn\'t accept a "className" prop. It has been renamed to "default".\n- \n+ ', + prevSibling, + prevSibling + ))), + null !== current && current.memoizedProps.name !== returnFiber.name + ? (workInProgress.flags |= 4194816) + : markRef(current, workInProgress), + reconcileChildren( + current, + workInProgress, + returnFiber.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 29: throw workInProgress.pendingProps; } @@ -31435,11 +31422,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-ac7820a9-20250811" !== 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.2.0-experimental-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -31476,10 +31463,10 @@ !(function () { var internals = { bundleType: 1, - version: "19.2.0-experimental-f1e70b5e-20250811", + version: "19.2.0-experimental-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-experimental-ac7820a9-20250811" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -31626,7 +31613,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.2.0-experimental-f1e70b5e-20250811"; + exports.version = "19.2.0-experimental-ac7820a9-20250811"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js index bc84379ae6dec..9fceb4dad5b46 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js @@ -6666,6 +6666,14 @@ function updateOffscreenComponent( ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -6718,6 +6726,17 @@ function updateOffscreenComponent( reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } +function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; +} function deferHiddenOffscreenComponent( current, workInProgress, @@ -6762,6 +6781,110 @@ function retryActivityComponentWithoutHydrating( workInProgress.memoizedState = null; return current; } +function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + (current = nextHydratableInstance) + ? ((current = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (current = null !== current && "&" === current.data ? current : null), + null !== current && + ((workInProgress.memoizedState = { + dehydrated: current, + treeContext: + null !== treeContextProvider + ? { id: treeContextId, overflow: treeContextOverflow } + : null, + retryLane: 536870912, + hydrationErrors: null + }), + (renderLanes = createFiberFromDehydratedFragment(current)), + (renderLanes.return = workInProgress), + (workInProgress.child = renderLanes), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null))) + : (current = null); + if (null === current) throw throwOnHydrationMismatch(workInProgress); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + var prevState = current.memoizedState; + if (null !== prevState) { + var dehydrated = prevState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else throw Error(formatProdErrorMessage(558)); + else if ( + (didReceiveUpdate || + propagateParentContextChanges(current, workInProgress, renderLanes, !1), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((dehydrated = getBumpedLaneForHydration(nextProps, renderLanes)), + 0 !== dehydrated && dehydrated !== prevState.retryLane) + ) + throw ( + ((prevState.retryLane = dehydrated), + enqueueConcurrentRenderForLane(current, dehydrated), + scheduleUpdateOnFiber(nextProps, current, dehydrated), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = prevState.treeContext), + (nextHydratableInstance = getNextHydratable(dehydrated.nextSibling)), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + current = createWorkInProgress(current.child, { + mode: nextProps.mode, + children: nextProps.children + }); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; +} function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -7171,43 +7294,41 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes - )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes - )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); @@ -7265,7 +7386,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isSuspenseInstanceFallback(nextPrimaryChildren)) @@ -7360,31 +7481,31 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.return = workInProgress), (nextProps.sibling = nextPrimaryChildren), (workInProgress.child = nextProps), - (nextProps = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (showFallback = current.child.memoizedState), - null === showFallback - ? (showFallback = mountSuspenseOffscreenState(renderLanes)) - : ((nextFallbackChildren = showFallback.cachePool), - null !== nextFallbackChildren - ? ((digest = CacheContext._currentValue), - (nextFallbackChildren = - nextFallbackChildren.parent !== digest - ? { parent: digest, pool: digest } - : nextFallbackChildren)) - : (nextFallbackChildren = getSuspendedCache()), - (showFallback = { - baseLanes: showFallback.baseLanes | renderLanes, - cachePool: nextFallbackChildren + bailoutOffscreenComponent(null, nextProps), + (nextProps = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((showFallback = nextPrimaryChildren.cachePool), + null !== showFallback + ? ((nextFallbackChildren = CacheContext._currentValue), + (showFallback = + showFallback.parent !== nextFallbackChildren + ? { parent: nextFallbackChildren, pool: nextFallbackChildren } + : showFallback)) + : (showFallback = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: showFallback })), - (nextPrimaryChildren.memoizedState = showFallback), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + (nextProps.memoizedState = nextPrimaryChildren), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(current.child, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; @@ -7438,12 +7559,6 @@ function mountSuspenseFallbackChildren( function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiberImplClass(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -8129,114 +8244,7 @@ function beginWork(current, workInProgress, renderLanes) { case 19: return updateSuspenseListComponent(current, workInProgress, renderLanes); case 31: - $$typeof = workInProgress.pendingProps; - nextState = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === $$typeof.mode) - mountActivityChildren(workInProgress, $$typeof); - else if ( - (pushDehydratedActivitySuspenseHandler(workInProgress), - (renderLanes = nextHydratableInstance) - ? ((renderLanes = canHydrateHydrationBoundary( - renderLanes, - rootOrSingletonContext - )), - (renderLanes = - null !== renderLanes && "&" === renderLanes.data - ? renderLanes - : null), - null !== renderLanes && - ((workInProgress.memoizedState = { - dehydrated: renderLanes, - treeContext: - null !== treeContextProvider - ? { id: treeContextId, overflow: treeContextOverflow } - : null, - retryLane: 536870912, - hydrationErrors: null - }), - (current = createFiberFromDehydratedFragment(renderLanes)), - (current.return = workInProgress), - (workInProgress.child = current), - (hydrationParentFiber = workInProgress), - (nextHydratableInstance = null))) - : (renderLanes = null), - null === renderLanes) - ) - throw throwOnHydrationMismatch(workInProgress); - workInProgress.lanes = 536870912; - workInProgress = null; - } else workInProgress = mountActivityChildren(workInProgress, $$typeof); - else if (((props = current.memoizedState), null !== props)) - if ( - ((prevState = props.dehydrated), - pushDehydratedActivitySuspenseHandler(workInProgress), - nextState) - ) - if (workInProgress.flags & 256) - (workInProgress.flags &= -257), - (workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - )); - else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null); - else throw Error(formatProdErrorMessage(558)); - else if ( - (didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ), - (nextState = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || nextState) - ) { - $$typeof = workInProgressRoot; - if ( - null !== $$typeof && - ((prevState = getBumpedLaneForHydration($$typeof, renderLanes)), - 0 !== prevState && prevState !== props.retryLane) - ) - throw ( - ((props.retryLane = prevState), - enqueueConcurrentRenderForLane(current, prevState), - scheduleUpdateOnFiber($$typeof, current, prevState), - SelectiveHydrationException) - ); - renderDidSuspendDelayIfPossible(); - workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else - (renderLanes = props.treeContext), - (nextHydratableInstance = getNextHydratable(prevState.nextSibling)), - (hydrationParentFiber = workInProgress), - (isHydrating = !0), - (hydrationErrors = null), - (rootOrSingletonContext = !1), - null !== renderLanes && - restoreSuspendedTreeContext(workInProgress, renderLanes), - (workInProgress = mountActivityChildren(workInProgress, $$typeof)), - (workInProgress.flags |= 4096); - else - (renderLanes = createWorkInProgress(current.child, { - mode: $$typeof.mode, - children: $$typeof.children - })), - (renderLanes.ref = workInProgress.ref), - (workInProgress.child = renderLanes), - (renderLanes.return = workInProgress), - (workInProgress = renderLanes); - return workInProgress; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -14459,20 +14467,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1779 = 0; - i$jscomp$inline_1779 < simpleEventPluginEvents.length; - i$jscomp$inline_1779++ + var i$jscomp$inline_1777 = 0; + i$jscomp$inline_1777 < simpleEventPluginEvents.length; + i$jscomp$inline_1777++ ) { - var eventName$jscomp$inline_1780 = - simpleEventPluginEvents[i$jscomp$inline_1779], - domEventName$jscomp$inline_1781 = - eventName$jscomp$inline_1780.toLowerCase(), - capitalizedEvent$jscomp$inline_1782 = - eventName$jscomp$inline_1780[0].toUpperCase() + - eventName$jscomp$inline_1780.slice(1); + var eventName$jscomp$inline_1778 = + simpleEventPluginEvents[i$jscomp$inline_1777], + domEventName$jscomp$inline_1779 = + eventName$jscomp$inline_1778.toLowerCase(), + capitalizedEvent$jscomp$inline_1780 = + eventName$jscomp$inline_1778[0].toUpperCase() + + eventName$jscomp$inline_1778.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1781, - "on" + capitalizedEvent$jscomp$inline_1782 + domEventName$jscomp$inline_1779, + "on" + capitalizedEvent$jscomp$inline_1780 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -19229,16 +19237,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_2167 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2165 = React.version; if ( - "19.2.0-experimental-f1e70b5e-20250811" !== - isomorphicReactPackageVersion$jscomp$inline_2167 + "19.2.0-experimental-ac7820a9-20250811" !== + isomorphicReactPackageVersion$jscomp$inline_2165 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2167, - "19.2.0-experimental-f1e70b5e-20250811" + isomorphicReactPackageVersion$jscomp$inline_2165, + "19.2.0-experimental-ac7820a9-20250811" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -19258,24 +19266,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2852 = { +var internals$jscomp$inline_2860 = { bundleType: 0, - version: "19.2.0-experimental-f1e70b5e-20250811", + version: "19.2.0-experimental-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-experimental-ac7820a9-20250811" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2853 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2861 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2853.isDisabled && - hook$jscomp$inline_2853.supportsFiber + !hook$jscomp$inline_2861.isDisabled && + hook$jscomp$inline_2861.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2853.inject( - internals$jscomp$inline_2852 + (rendererID = hook$jscomp$inline_2861.inject( + internals$jscomp$inline_2860 )), - (injectedHook = hook$jscomp$inline_2853); + (injectedHook = hook$jscomp$inline_2861); } catch (err) {} } exports.createRoot = function (container, options) { @@ -19370,4 +19378,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-experimental-f1e70b5e-20250811"; +exports.version = "19.2.0-experimental-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js index 8dc587535ecce..1ff5eeff21414 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js @@ -10194,6 +10194,14 @@ ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -10250,6 +10258,17 @@ reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } + function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; + } function deferHiddenOffscreenComponent( current, workInProgress, @@ -10311,6 +10330,135 @@ workInProgress.memoizedState = null; return current; } + function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + (current = nextHydratableInstance) + ? ((renderLanes = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (renderLanes = + null !== renderLanes && renderLanes.data === ACTIVITY_START_DATA + ? renderLanes + : null), + null !== renderLanes && + ((nextProps = { + dehydrated: renderLanes, + treeContext: getSuspendedTreeContext(), + retryLane: 536870912, + hydrationErrors: null + }), + (workInProgress.memoizedState = nextProps), + (nextProps = createFiberFromDehydratedFragment(renderLanes)), + (nextProps.return = workInProgress), + (workInProgress.child = nextProps), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null))) + : (renderLanes = null); + if (null === renderLanes) + throw ( + (warnNonHydratedInstance(workInProgress, current), + throwOnHydrationMismatch(workInProgress)) + ); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + var prevState = current.memoizedState; + if (null !== prevState) { + var activityInstance = prevState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else + throw Error( + "Client rendering an Activity suspended it again. This is a bug in React." + ); + else if ( + (warnIfHydrating(), + 0 !== (renderLanes & 536870912) && + markRenderDerivedCause(workInProgress), + didReceiveUpdate || + propagateParentContextChanges( + current, + workInProgress, + renderLanes, + !1 + ), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((activityInstance = getBumpedLaneForHydration( + nextProps, + renderLanes + )), + 0 !== activityInstance && activityInstance !== prevState.retryLane) + ) + throw ( + ((prevState.retryLane = activityInstance), + enqueueConcurrentRenderForLane(current, activityInstance), + scheduleUpdateOnFiber(nextProps, current, activityInstance), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = prevState.treeContext), + (nextHydratableInstance = getNextHydratable( + activityInstance.nextSibling + )), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (didSuspendOrErrorDEV = !1), + (hydrationDiffRootDEV = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + prevState = current.child; + nextProps = { mode: nextProps.mode, children: nextProps.children }; + 0 !== (renderLanes & 536870912) && + 0 !== (renderLanes & current.lanes) && + markRenderDerivedCause(workInProgress); + current = createWorkInProgress(prevState, nextProps); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; + } function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -11009,25 +11157,25 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_3162; - var JSCompiler_object_inline_stack_3161 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_3141; + var JSCompiler_object_inline_stack_3140 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_digest_3160 = !1; + var JSCompiler_object_inline_digest_3139 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_3162 = didSuspend) || - (JSCompiler_object_inline_componentStack_3162 = + (JSCompiler_object_inline_componentStack_3141 = didSuspend) || + (JSCompiler_object_inline_componentStack_3141 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_3162 && - ((JSCompiler_object_inline_digest_3160 = !0), + JSCompiler_object_inline_componentStack_3141 && + ((JSCompiler_object_inline_digest_3139 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_3162 = + JSCompiler_object_inline_componentStack_3141 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_digest_3160 + JSCompiler_object_inline_digest_3139 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); (current = nextHydratableInstance) @@ -11040,20 +11188,20 @@ ? renderLanes : null), null !== renderLanes && - ((JSCompiler_object_inline_componentStack_3162 = { + ((JSCompiler_object_inline_componentStack_3141 = { dehydrated: renderLanes, treeContext: getSuspendedTreeContext(), retryLane: 536870912, hydrationErrors: null }), (workInProgress.memoizedState = - JSCompiler_object_inline_componentStack_3162), - (JSCompiler_object_inline_componentStack_3162 = + JSCompiler_object_inline_componentStack_3141), + (JSCompiler_object_inline_componentStack_3141 = createFiberFromDehydratedFragment(renderLanes)), - (JSCompiler_object_inline_componentStack_3162.return = + (JSCompiler_object_inline_componentStack_3141.return = workInProgress), (workInProgress.child = - JSCompiler_object_inline_componentStack_3162), + JSCompiler_object_inline_componentStack_3141), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null))) : (renderLanes = null); @@ -11067,53 +11215,53 @@ : (workInProgress.lanes = 536870912); return null; } - var nextPrimaryChildren = JSCompiler_object_inline_stack_3161.children, - nextFallbackChildren = JSCompiler_object_inline_stack_3161.fallback; - if (JSCompiler_object_inline_digest_3160) + var nextPrimaryChildren = JSCompiler_object_inline_stack_3140.children, + nextFallbackChildren = JSCompiler_object_inline_stack_3140.fallback; + if (JSCompiler_object_inline_digest_3139) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_3161 = - mountSuspenseFallbackChildren( - workInProgress, - nextPrimaryChildren, - nextFallbackChildren, + mountSuspenseFallbackChildren( + workInProgress, + nextPrimaryChildren, + nextFallbackChildren, + renderLanes + ), + (JSCompiler_object_inline_stack_3140 = workInProgress.child), + (JSCompiler_object_inline_stack_3140.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (JSCompiler_object_inline_stack_3140.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_componentStack_3141, renderLanes )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_componentStack_3162, - renderLanes - )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_3161 + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3140) ); if ( "number" === - typeof JSCompiler_object_inline_stack_3161.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_3140.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_3161 = - mountSuspenseFallbackChildren( - workInProgress, - nextPrimaryChildren, - nextFallbackChildren, + mountSuspenseFallbackChildren( + workInProgress, + nextPrimaryChildren, + nextFallbackChildren, + renderLanes + ), + (JSCompiler_object_inline_stack_3140 = workInProgress.child), + (JSCompiler_object_inline_stack_3140.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (JSCompiler_object_inline_stack_3140.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_componentStack_3141, renderLanes )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_componentStack_3162, - renderLanes - )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_3161 + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3140) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -11123,8 +11271,8 @@ } var prevState = current.memoizedState; if (null !== prevState) { - var JSCompiler_object_inline_message_3159 = prevState.dehydrated; - if (null !== JSCompiler_object_inline_message_3159) { + var JSCompiler_object_inline_message_3138 = prevState.dehydrated; + if (null !== JSCompiler_object_inline_message_3138) { if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -11141,13 +11289,13 @@ (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), (nextPrimaryChildren = - JSCompiler_object_inline_stack_3161.fallback), + JSCompiler_object_inline_stack_3140.fallback), (nextFallbackChildren = workInProgress.mode), - (JSCompiler_object_inline_stack_3161 = + (JSCompiler_object_inline_stack_3140 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_3161.children + children: JSCompiler_object_inline_stack_3140.children }, nextFallbackChildren )), @@ -11158,75 +11306,78 @@ null )), (nextPrimaryChildren.flags |= 2), - (JSCompiler_object_inline_stack_3161.return = workInProgress), + (JSCompiler_object_inline_stack_3140.return = workInProgress), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_3161.sibling = + (JSCompiler_object_inline_stack_3140.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_3161), + (workInProgress.child = JSCompiler_object_inline_stack_3140), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_3161 = workInProgress.child), - (JSCompiler_object_inline_stack_3161.memoizedState = + (JSCompiler_object_inline_stack_3140 = workInProgress.child), + (JSCompiler_object_inline_stack_3140.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_3161.childLanes = + (JSCompiler_object_inline_stack_3140.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_3162, + JSCompiler_object_inline_componentStack_3141, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent( + null, + JSCompiler_object_inline_stack_3140 + ))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), warnIfHydrating(), 0 !== (renderLanes & 536870912) && markRenderDerivedCause(workInProgress), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_3159)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_3138)) ) { - JSCompiler_object_inline_componentStack_3162 = - JSCompiler_object_inline_message_3159.nextSibling && - JSCompiler_object_inline_message_3159.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_3162) { + JSCompiler_object_inline_componentStack_3141 = + JSCompiler_object_inline_message_3138.nextSibling && + JSCompiler_object_inline_message_3138.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_3141) { nextPrimaryChildren = - JSCompiler_object_inline_componentStack_3162.dgst; - var message = JSCompiler_object_inline_componentStack_3162.msg; + JSCompiler_object_inline_componentStack_3141.dgst; + var message = JSCompiler_object_inline_componentStack_3141.msg; nextFallbackChildren = - JSCompiler_object_inline_componentStack_3162.stck; + JSCompiler_object_inline_componentStack_3141.stck; var componentStack = - JSCompiler_object_inline_componentStack_3162.cstck; + JSCompiler_object_inline_componentStack_3141.cstck; } - JSCompiler_object_inline_message_3159 = message; - JSCompiler_object_inline_digest_3160 = nextPrimaryChildren; - JSCompiler_object_inline_stack_3161 = nextFallbackChildren; - JSCompiler_object_inline_componentStack_3162 = componentStack; - nextPrimaryChildren = JSCompiler_object_inline_digest_3160; - nextFallbackChildren = JSCompiler_object_inline_message_3159; - componentStack = JSCompiler_object_inline_componentStack_3162; + JSCompiler_object_inline_message_3138 = message; + JSCompiler_object_inline_digest_3139 = nextPrimaryChildren; + JSCompiler_object_inline_stack_3140 = nextFallbackChildren; + JSCompiler_object_inline_componentStack_3141 = componentStack; + nextPrimaryChildren = JSCompiler_object_inline_digest_3139; + nextFallbackChildren = JSCompiler_object_inline_message_3138; + componentStack = JSCompiler_object_inline_componentStack_3141; "POSTPONE" !== nextPrimaryChildren && - ((JSCompiler_object_inline_componentStack_3162 = + ((JSCompiler_object_inline_componentStack_3141 = nextFallbackChildren ? Error(nextFallbackChildren) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_componentStack_3162.stack = - JSCompiler_object_inline_stack_3161 || ""), - (JSCompiler_object_inline_componentStack_3162.digest = + (JSCompiler_object_inline_componentStack_3141.stack = + JSCompiler_object_inline_stack_3140 || ""), + (JSCompiler_object_inline_componentStack_3141.digest = nextPrimaryChildren), - (JSCompiler_object_inline_stack_3161 = + (JSCompiler_object_inline_stack_3140 = void 0 === componentStack ? null : componentStack), (nextPrimaryChildren = { - value: JSCompiler_object_inline_componentStack_3162, + value: JSCompiler_object_inline_componentStack_3141, source: null, - stack: JSCompiler_object_inline_stack_3161 + stack: JSCompiler_object_inline_stack_3140 }), - "string" === typeof JSCompiler_object_inline_stack_3161 && + "string" === typeof JSCompiler_object_inline_stack_3140 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_3162, + JSCompiler_object_inline_componentStack_3141, nextPrimaryChildren ), queueHydrationError(nextPrimaryChildren)); @@ -11243,34 +11394,34 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_3162 = + (JSCompiler_object_inline_componentStack_3141 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_3162) + didReceiveUpdate || JSCompiler_object_inline_componentStack_3141) ) { - JSCompiler_object_inline_componentStack_3162 = workInProgressRoot; + JSCompiler_object_inline_componentStack_3141 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_componentStack_3162 && - ((JSCompiler_object_inline_stack_3161 = getBumpedLaneForHydration( - JSCompiler_object_inline_componentStack_3162, + null !== JSCompiler_object_inline_componentStack_3141 && + ((JSCompiler_object_inline_stack_3140 = getBumpedLaneForHydration( + JSCompiler_object_inline_componentStack_3141, renderLanes )), - 0 !== JSCompiler_object_inline_stack_3161 && - JSCompiler_object_inline_stack_3161 !== prevState.retryLane) + 0 !== JSCompiler_object_inline_stack_3140 && + JSCompiler_object_inline_stack_3140 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_3161), + ((prevState.retryLane = JSCompiler_object_inline_stack_3140), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_3161 + JSCompiler_object_inline_stack_3140 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_3162, + JSCompiler_object_inline_componentStack_3141, current, - JSCompiler_object_inline_stack_3161 + JSCompiler_object_inline_stack_3140 ), SelectiveHydrationException) ); - isSuspenseInstancePending(JSCompiler_object_inline_message_3159) || + isSuspenseInstancePending(JSCompiler_object_inline_message_3138) || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -11278,13 +11429,13 @@ renderLanes ); } else - isSuspenseInstancePending(JSCompiler_object_inline_message_3159) + isSuspenseInstancePending(JSCompiler_object_inline_message_3138) ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_3159.nextSibling + JSCompiler_object_inline_message_3138.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -11296,31 +11447,31 @@ restoreSuspendedTreeContext(workInProgress, current), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_3161.children + JSCompiler_object_inline_stack_3140.children )), (workInProgress.flags |= 4096)); return workInProgress; } } - if (JSCompiler_object_inline_digest_3160) + if (JSCompiler_object_inline_digest_3139) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = JSCompiler_object_inline_stack_3161.fallback), + (nextPrimaryChildren = JSCompiler_object_inline_stack_3140.fallback), (nextFallbackChildren = workInProgress.mode), (componentStack = current.child), - (JSCompiler_object_inline_message_3159 = componentStack.sibling), - (JSCompiler_object_inline_stack_3161 = createWorkInProgress( + (JSCompiler_object_inline_message_3138 = componentStack.sibling), + (JSCompiler_object_inline_stack_3140 = createWorkInProgress( componentStack, { mode: "hidden", - children: JSCompiler_object_inline_stack_3161.children + children: JSCompiler_object_inline_stack_3140.children } )), - (JSCompiler_object_inline_stack_3161.subtreeFlags = + (JSCompiler_object_inline_stack_3140.subtreeFlags = componentStack.subtreeFlags & 65011712), - null !== JSCompiler_object_inline_message_3159 + null !== JSCompiler_object_inline_message_3138 ? (nextPrimaryChildren = createWorkInProgress( - JSCompiler_object_inline_message_3159, + JSCompiler_object_inline_message_3138, nextPrimaryChildren )) : ((nextPrimaryChildren = createFiberFromFragment( @@ -11331,39 +11482,39 @@ )), (nextPrimaryChildren.flags |= 2)), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_3161.return = workInProgress), - (JSCompiler_object_inline_stack_3161.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_3161), - (JSCompiler_object_inline_stack_3161 = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (nextFallbackChildren = current.child.memoizedState), - null === nextFallbackChildren - ? (nextFallbackChildren = mountSuspenseOffscreenState(renderLanes)) - : ((componentStack = nextFallbackChildren.cachePool), - null !== componentStack - ? ((JSCompiler_object_inline_message_3159 = - CacheContext._currentValue), - (componentStack = - componentStack.parent !== - JSCompiler_object_inline_message_3159 - ? { - parent: JSCompiler_object_inline_message_3159, - pool: JSCompiler_object_inline_message_3159 - } - : componentStack)) - : (componentStack = getSuspendedCache()), - (nextFallbackChildren = { - baseLanes: nextFallbackChildren.baseLanes | renderLanes, - cachePool: componentStack + (JSCompiler_object_inline_stack_3140.return = workInProgress), + (JSCompiler_object_inline_stack_3140.sibling = nextPrimaryChildren), + (workInProgress.child = JSCompiler_object_inline_stack_3140), + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3140), + (JSCompiler_object_inline_stack_3140 = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((nextFallbackChildren = nextPrimaryChildren.cachePool), + null !== nextFallbackChildren + ? ((componentStack = CacheContext._currentValue), + (nextFallbackChildren = + nextFallbackChildren.parent !== componentStack + ? { parent: componentStack, pool: componentStack } + : nextFallbackChildren)) + : (nextFallbackChildren = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: nextFallbackChildren })), - (nextPrimaryChildren.memoizedState = nextFallbackChildren), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_componentStack_3162, - renderLanes - )), + (JSCompiler_object_inline_stack_3140.memoizedState = + nextPrimaryChildren), + (JSCompiler_object_inline_stack_3140.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_componentStack_3141, + renderLanes + )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_3161 + bailoutOffscreenComponent( + current.child, + JSCompiler_object_inline_stack_3140 + ) ); null !== prevState && (renderLanes & 62914560) === renderLanes && @@ -11374,17 +11525,17 @@ current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_3161.children + children: JSCompiler_object_inline_stack_3140.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_3162 = + ((JSCompiler_object_inline_componentStack_3141 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_3162 + null === JSCompiler_object_inline_componentStack_3141 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_3162.push(current)); + : JSCompiler_object_inline_componentStack_3141.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -11423,12 +11574,6 @@ function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: OffscreenVisible, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -11882,7 +12027,7 @@ } function beginWork(current, workInProgress, renderLanes) { if (workInProgress._debugNeedsRemount && null !== current) { - var copiedFiber = createFiberFromTypeAndProps( + renderLanes = createFiberFromTypeAndProps( workInProgress.type, workInProgress.key, workInProgress.pendingProps, @@ -11890,19 +12035,19 @@ workInProgress.mode, workInProgress.lanes ); - copiedFiber._debugStack = workInProgress._debugStack; - copiedFiber._debugTask = workInProgress._debugTask; + renderLanes._debugStack = workInProgress._debugStack; + renderLanes._debugTask = workInProgress._debugTask; var returnFiber = workInProgress.return; if (null === returnFiber) throw Error("Cannot swap the root fiber."); current.alternate = null; workInProgress.alternate = null; - copiedFiber.index = workInProgress.index; - copiedFiber.sibling = workInProgress.sibling; - copiedFiber.return = workInProgress.return; - copiedFiber.ref = workInProgress.ref; - copiedFiber._debugInfo = workInProgress._debugInfo; + renderLanes.index = workInProgress.index; + renderLanes.sibling = workInProgress.sibling; + renderLanes.return = workInProgress.return; + renderLanes.ref = workInProgress.ref; + renderLanes._debugInfo = workInProgress._debugInfo; if (workInProgress === returnFiber.child) - returnFiber.child = copiedFiber; + returnFiber.child = renderLanes; else { var prevSibling = returnFiber.child; if (null === prevSibling) @@ -11910,14 +12055,14 @@ for (; prevSibling.sibling !== workInProgress; ) if (((prevSibling = prevSibling.sibling), null === prevSibling)) throw Error("Expected to find the previous sibling."); - prevSibling.sibling = copiedFiber; + prevSibling.sibling = renderLanes; } - var deletions = returnFiber.deletions; - null === deletions + workInProgress = returnFiber.deletions; + null === workInProgress ? ((returnFiber.deletions = [current]), (returnFiber.flags |= 16)) - : deletions.push(current); - copiedFiber.flags |= 2; - return copiedFiber; + : workInProgress.push(current); + renderLanes.flags |= 2; + return renderLanes; } if (null !== current) if ( @@ -11942,95 +12087,92 @@ } else { didReceiveUpdate = !1; - var JSCompiler_temp; - if ((JSCompiler_temp = isHydrating)) + if ((returnFiber = isHydrating)) warnIfNotHydrating(), - (JSCompiler_temp = 0 !== (workInProgress.flags & 1048576)); - if (JSCompiler_temp) { - var slotIndex = workInProgress.index; - warnIfNotHydrating(); - pushTreeId(workInProgress, treeForkCount, slotIndex); - } + (returnFiber = 0 !== (workInProgress.flags & 1048576)); + returnFiber && + ((returnFiber = workInProgress.index), + warnIfNotHydrating(), + pushTreeId(workInProgress, treeForkCount, returnFiber)); } workInProgress.lanes = 0; switch (workInProgress.tag) { case 16: - a: { - var props = workInProgress.pendingProps, - Component = resolveLazy(workInProgress.elementType); - workInProgress.type = Component; - if ("function" === typeof Component) - if (shouldConstruct(Component)) { - var resolvedProps = resolveClassComponentProps( - Component, - props + a: if ( + ((returnFiber = workInProgress.pendingProps), + (current = resolveLazy(workInProgress.elementType)), + (workInProgress.type = current), + "function" === typeof current) + ) + shouldConstruct(current) + ? ((returnFiber = resolveClassComponentProps( + current, + returnFiber + )), + (workInProgress.tag = 1), + (workInProgress.type = current = + resolveFunctionForHotReloading(current)), + (workInProgress = updateClassComponent( + null, + workInProgress, + current, + returnFiber, + renderLanes + ))) + : ((workInProgress.tag = 0), + validateFunctionComponentInDev(workInProgress, current), + (workInProgress.type = current = + resolveFunctionForHotReloading(current)), + (workInProgress = updateFunctionComponent( + null, + workInProgress, + current, + returnFiber, + renderLanes + ))); + else { + if (void 0 !== current && null !== current) + if ( + ((prevSibling = current.$$typeof), + prevSibling === REACT_FORWARD_REF_TYPE) + ) { + workInProgress.tag = 11; + workInProgress.type = current = + resolveForwardRefForHotReloading(current); + workInProgress = updateForwardRef( + null, + workInProgress, + current, + returnFiber, + renderLanes ); - workInProgress.tag = 1; - workInProgress.type = Component = - resolveFunctionForHotReloading(Component); - var JSCompiler_inline_result = updateClassComponent( + break a; + } else if (prevSibling === REACT_MEMO_TYPE) { + workInProgress.tag = 14; + workInProgress = updateMemoComponent( null, workInProgress, - Component, - resolvedProps, + current, + returnFiber, renderLanes ); - } else - (workInProgress.tag = 0), - validateFunctionComponentInDev(workInProgress, Component), - (workInProgress.type = Component = - resolveFunctionForHotReloading(Component)), - (JSCompiler_inline_result = updateFunctionComponent( - null, - workInProgress, - Component, - props, - renderLanes - )); - else { - if (void 0 !== Component && null !== Component) { - var $$typeof = Component.$$typeof; - if ($$typeof === REACT_FORWARD_REF_TYPE) { - workInProgress.tag = 11; - workInProgress.type = Component = - resolveForwardRefForHotReloading(Component); - JSCompiler_inline_result = updateForwardRef( - null, - workInProgress, - Component, - props, - renderLanes - ); - break a; - } else if ($$typeof === REACT_MEMO_TYPE) { - workInProgress.tag = 14; - JSCompiler_inline_result = updateMemoComponent( - null, - workInProgress, - Component, - props, - renderLanes - ); - break a; - } + break a; } - var hint = ""; - null !== Component && - "object" === typeof Component && - 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: " + - loggedComponent + - ". Lazy element type must resolve to a class or function." + - hint - ); - } + workInProgress = ""; + null !== current && + "object" === typeof current && + 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: " + + renderLanes + + ". Lazy element type must resolve to a class or function." + + workInProgress + ); } - return JSCompiler_inline_result; + return workInProgress; case 0: return updateFunctionComponent( current, @@ -12040,17 +12182,19 @@ renderLanes ); case 1: - var _Component = workInProgress.type, - resolvedProps$jscomp$0 = resolveClassComponentProps( - _Component, + return ( + (returnFiber = workInProgress.type), + (prevSibling = resolveClassComponentProps( + returnFiber, workInProgress.pendingProps - ); - return updateClassComponent( - current, - workInProgress, - _Component, - resolvedProps$jscomp$0, - renderLanes + )), + updateClassComponent( + current, + workInProgress, + returnFiber, + prevSibling, + renderLanes + ) ); case 3: a: { @@ -12062,15 +12206,15 @@ throw Error( "Should have a current fiber. This is a bug in React." ); - var nextProps = workInProgress.pendingProps, - prevState = workInProgress.memoizedState, - prevChildren = prevState.element; + returnFiber = workInProgress.pendingProps; + var prevState = workInProgress.memoizedState; + prevSibling = prevState.element; cloneUpdateQueue(current, workInProgress); - processUpdateQueue(workInProgress, nextProps, null, renderLanes); - var nextState = workInProgress.memoizedState, - nextCache = nextState.cache; - pushProvider(workInProgress, CacheContext, nextCache); - nextCache !== prevState.cache && + processUpdateQueue(workInProgress, returnFiber, null, renderLanes); + var nextState = workInProgress.memoizedState; + returnFiber = nextState.cache; + pushProvider(workInProgress, CacheContext, returnFiber); + returnFiber !== prevState.cache && propagateContextChanges( workInProgress, [CacheContext], @@ -12078,303 +12222,296 @@ !0 ); suspendIfUpdateReadFromEntangledAsyncAction(); - var nextChildren = nextState.element; - if (prevState.isDehydrated) { - var overrideState = { - element: nextChildren, - isDehydrated: !1, - cache: nextState.cache - }; - workInProgress.updateQueue.baseState = overrideState; - workInProgress.memoizedState = overrideState; - if (workInProgress.flags & 256) { - var JSCompiler_inline_result$jscomp$0 = - mountHostRootWithoutHydrating( - current, - workInProgress, - nextChildren, - renderLanes - ); + returnFiber = nextState.element; + if (prevState.isDehydrated) + if ( + ((prevState = { + element: returnFiber, + isDehydrated: !1, + cache: nextState.cache + }), + (workInProgress.updateQueue.baseState = prevState), + (workInProgress.memoizedState = prevState), + workInProgress.flags & 256) + ) { + workInProgress = mountHostRootWithoutHydrating( + current, + workInProgress, + returnFiber, + renderLanes + ); break a; - } else if (nextChildren !== prevChildren) { - var recoverableError = createCapturedValueAtFiber( + } else if (returnFiber !== prevSibling) { + prevSibling = createCapturedValueAtFiber( Error( "This root received an early update, before anything was able hydrate. Switched the entire root to client rendering." ), workInProgress ); - queueHydrationError(recoverableError); - JSCompiler_inline_result$jscomp$0 = - mountHostRootWithoutHydrating( - current, - workInProgress, - nextChildren, - renderLanes - ); + queueHydrationError(prevSibling); + workInProgress = mountHostRootWithoutHydrating( + current, + workInProgress, + returnFiber, + renderLanes + ); break a; } else { - var parentContainer = workInProgress.stateNode.containerInfo; - switch (parentContainer.nodeType) { + current = workInProgress.stateNode.containerInfo; + switch (current.nodeType) { case 9: - var parentElement = parentContainer.body; + current = current.body; break; default: - parentElement = - "HTML" === parentContainer.nodeName - ? parentContainer.ownerDocument.body - : parentContainer; + current = + "HTML" === current.nodeName + ? current.ownerDocument.body + : current; } - nextHydratableInstance = getNextHydratable( - parentElement.firstChild - ); + nextHydratableInstance = getNextHydratable(current.firstChild); hydrationParentFiber = workInProgress; isHydrating = !0; hydrationErrors = null; didSuspendOrErrorDEV = !1; hydrationDiffRootDEV = null; rootOrSingletonContext = !0; - for ( - var child = mountChildFibers( - workInProgress, - null, - nextChildren, - renderLanes - ), - node = (workInProgress.child = child); - node; - - ) - (node.flags = (node.flags & -3) | 4096), - (node = node.sibling); + renderLanes = mountChildFibers( + workInProgress, + null, + returnFiber, + renderLanes + ); + for (workInProgress.child = renderLanes; renderLanes; ) + (renderLanes.flags = (renderLanes.flags & -3) | 4096), + (renderLanes = renderLanes.sibling); } - } else { + else { resetHydrationState(); - if (nextChildren === prevChildren) { - JSCompiler_inline_result$jscomp$0 = - bailoutOnAlreadyFinishedWork( - current, - workInProgress, - renderLanes - ); + if (returnFiber === prevSibling) { + workInProgress = bailoutOnAlreadyFinishedWork( + current, + workInProgress, + renderLanes + ); break a; } reconcileChildren( current, workInProgress, - nextChildren, + returnFiber, renderLanes ); } - JSCompiler_inline_result$jscomp$0 = workInProgress.child; + workInProgress = workInProgress.child; } - return JSCompiler_inline_result$jscomp$0; + return workInProgress; case 26: - markRef(current, workInProgress); - if (null === current) { - var resource = getResource( - workInProgress.type, - null, - workInProgress.pendingProps, - null - ); - if (resource) workInProgress.memoizedState = resource; - else if (!isHydrating) { - var type = workInProgress.type, - props$jscomp$0 = workInProgress.pendingProps, - rootContainerInstance = requiredContext( - rootInstanceStackCursor.current - ), - domElement = getOwnerDocumentFromRootContainer( - rootContainerInstance - ).createElement(type); - domElement[internalInstanceKey] = workInProgress; - domElement[internalPropsKey] = props$jscomp$0; - setInitialProperties(domElement, type, props$jscomp$0); - markNodeAsHoistable(domElement); - workInProgress.stateNode = domElement; - } - } else - workInProgress.memoizedState = getResource( - workInProgress.type, - current.memoizedProps, - workInProgress.pendingProps, - current.memoizedState - ); - return null; + return ( + markRef(current, workInProgress), + null === current + ? (renderLanes = getResource( + workInProgress.type, + null, + workInProgress.pendingProps, + null + )) + ? (workInProgress.memoizedState = renderLanes) + : isHydrating || + ((renderLanes = workInProgress.type), + (current = workInProgress.pendingProps), + (returnFiber = requiredContext( + rootInstanceStackCursor.current + )), + (returnFiber = + getOwnerDocumentFromRootContainer( + returnFiber + ).createElement(renderLanes)), + (returnFiber[internalInstanceKey] = workInProgress), + (returnFiber[internalPropsKey] = current), + setInitialProperties(returnFiber, renderLanes, current), + markNodeAsHoistable(returnFiber), + (workInProgress.stateNode = returnFiber)) + : (workInProgress.memoizedState = getResource( + workInProgress.type, + current.memoizedProps, + workInProgress.pendingProps, + current.memoizedState + )), + null + ); case 27: - pushHostContext(workInProgress); - if (null === current && isHydrating) { - var currentRootContainer = requiredContext( - rootInstanceStackCursor.current - ), - currentHostContext = getHostContext(), - instance = (workInProgress.stateNode = resolveSingletonInstance( - workInProgress.type, - workInProgress.pendingProps, - currentRootContainer, - currentHostContext, - !1 - )); - if (!didSuspendOrErrorDEV) { - var differences = diffHydratedProperties( - instance, - workInProgress.type, - workInProgress.pendingProps, - currentHostContext - ); - null !== differences && - (buildHydrationDiffNode(workInProgress, 0).serverProps = - differences); - } - hydrationParentFiber = workInProgress; - rootOrSingletonContext = !0; - var currentHydratableInstance = nextHydratableInstance; - isSingletonScope(workInProgress.type) - ? ((previousHydratableOnEnteringScopedSingleton = - currentHydratableInstance), - (nextHydratableInstance = getNextHydratable( - instance.firstChild - ))) - : (nextHydratableInstance = currentHydratableInstance); - } - reconcileChildren( - current, - workInProgress, - workInProgress.pendingProps.children, - renderLanes + return ( + pushHostContext(workInProgress), + null === current && + isHydrating && + ((returnFiber = requiredContext(rootInstanceStackCursor.current)), + (prevSibling = getHostContext()), + (returnFiber = workInProgress.stateNode = + resolveSingletonInstance( + workInProgress.type, + workInProgress.pendingProps, + returnFiber, + prevSibling, + !1 + )), + didSuspendOrErrorDEV || + ((prevSibling = diffHydratedProperties( + returnFiber, + workInProgress.type, + workInProgress.pendingProps, + prevSibling + )), + null !== prevSibling && + (buildHydrationDiffNode(workInProgress, 0).serverProps = + prevSibling)), + (hydrationParentFiber = workInProgress), + (rootOrSingletonContext = !0), + (prevSibling = nextHydratableInstance), + isSingletonScope(workInProgress.type) + ? ((previousHydratableOnEnteringScopedSingleton = prevSibling), + (nextHydratableInstance = getNextHydratable( + returnFiber.firstChild + ))) + : (nextHydratableInstance = prevSibling)), + reconcileChildren( + current, + workInProgress, + workInProgress.pendingProps.children, + renderLanes + ), + markRef(current, workInProgress), + null === current && (workInProgress.flags |= 4194304), + workInProgress.child ); - markRef(current, workInProgress); - null === current && (workInProgress.flags |= 4194304); - return workInProgress.child; case 5: - if (null === current && isHydrating) { - var currentHostContext$jscomp$0 = getHostContext(), - shouldKeepWarning = validateDOMNesting( - workInProgress.type, - currentHostContext$jscomp$0.ancestorInfo - ), - nextInstance = nextHydratableInstance, - JSCompiler_temp$jscomp$0; - if (!(JSCompiler_temp$jscomp$0 = !nextInstance)) { - var instance$jscomp$0 = canHydrateInstance( - nextInstance, + return ( + null === current && + isHydrating && + ((prevState = getHostContext()), + (returnFiber = validateDOMNesting( workInProgress.type, - workInProgress.pendingProps, - rootOrSingletonContext - ); - if (null !== instance$jscomp$0) { - workInProgress.stateNode = instance$jscomp$0; - if (!didSuspendOrErrorDEV) { - var differences$jscomp$0 = diffHydratedProperties( - instance$jscomp$0, - workInProgress.type, - workInProgress.pendingProps, - currentHostContext$jscomp$0 - ); - null !== differences$jscomp$0 && - (buildHydrationDiffNode(workInProgress, 0).serverProps = - differences$jscomp$0); - } - hydrationParentFiber = workInProgress; - nextHydratableInstance = getNextHydratable( - instance$jscomp$0.firstChild - ); - rootOrSingletonContext = !1; - var JSCompiler_inline_result$jscomp$1 = !0; - } else JSCompiler_inline_result$jscomp$1 = !1; - JSCompiler_temp$jscomp$0 = !JSCompiler_inline_result$jscomp$1; - } - JSCompiler_temp$jscomp$0 && - (shouldKeepWarning && - warnNonHydratedInstance(workInProgress, nextInstance), - throwOnHydrationMismatch(workInProgress)); - } - pushHostContext(workInProgress); - var type$jscomp$0 = workInProgress.type, - nextProps$jscomp$0 = workInProgress.pendingProps, - prevProps = null !== current ? current.memoizedProps : null, - nextChildren$jscomp$0 = nextProps$jscomp$0.children; - shouldSetTextContent(type$jscomp$0, nextProps$jscomp$0) - ? (nextChildren$jscomp$0 = null) - : null !== prevProps && - shouldSetTextContent(type$jscomp$0, prevProps) && - (workInProgress.flags |= 32); - if (null !== workInProgress.memoizedState) { - var newState = renderWithHooks( + prevState.ancestorInfo + )), + (prevSibling = nextHydratableInstance), + (nextState = !prevSibling) || + ((nextState = canHydrateInstance( + prevSibling, + workInProgress.type, + workInProgress.pendingProps, + rootOrSingletonContext + )), + null !== nextState + ? ((workInProgress.stateNode = nextState), + didSuspendOrErrorDEV || + ((prevState = diffHydratedProperties( + nextState, + workInProgress.type, + workInProgress.pendingProps, + prevState + )), + null !== prevState && + (buildHydrationDiffNode(workInProgress, 0).serverProps = + prevState)), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = getNextHydratable( + nextState.firstChild + )), + (rootOrSingletonContext = !1), + (prevState = !0)) + : (prevState = !1), + (nextState = !prevState)), + nextState && + (returnFiber && + warnNonHydratedInstance(workInProgress, prevSibling), + throwOnHydrationMismatch(workInProgress))), + pushHostContext(workInProgress), + (prevSibling = workInProgress.type), + (prevState = workInProgress.pendingProps), + (nextState = null !== current ? current.memoizedProps : null), + (returnFiber = prevState.children), + shouldSetTextContent(prevSibling, prevState) + ? (returnFiber = null) + : null !== nextState && + shouldSetTextContent(prevSibling, nextState) && + (workInProgress.flags |= 32), + null !== workInProgress.memoizedState && + ((prevSibling = renderWithHooks( + current, + workInProgress, + TransitionAwareHostComponent, + null, + null, + renderLanes + )), + (HostTransitionContext._currentValue = prevSibling)), + markRef(current, workInProgress), + reconcileChildren( current, workInProgress, - TransitionAwareHostComponent, - null, - null, + returnFiber, renderLanes - ); - HostTransitionContext._currentValue = newState; - } - markRef(current, workInProgress); - reconcileChildren( - current, - workInProgress, - nextChildren$jscomp$0, - renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 6: - if (null === current && isHydrating) { - var text = workInProgress.pendingProps, - currentHostContext$jscomp$1 = getHostContext(), - ancestor = currentHostContext$jscomp$1.ancestorInfo.current; - var shouldKeepWarning$jscomp$0 = - null != ancestor - ? validateTextNesting( - text, - ancestor.tag, - currentHostContext$jscomp$1.ancestorInfo.implicitRootScope - ) - : !0; - var nextInstance$jscomp$0 = nextHydratableInstance, - JSCompiler_temp$jscomp$1; - if (!(JSCompiler_temp$jscomp$1 = !nextInstance$jscomp$0)) { - var textInstance = canHydrateTextInstance( - nextInstance$jscomp$0, - workInProgress.pendingProps, - rootOrSingletonContext - ); - if (null !== textInstance) { - workInProgress.stateNode = textInstance; - hydrationParentFiber = workInProgress; - nextHydratableInstance = null; - var JSCompiler_inline_result$jscomp$2 = !0; - } else JSCompiler_inline_result$jscomp$2 = !1; - JSCompiler_temp$jscomp$1 = !JSCompiler_inline_result$jscomp$2; - } - JSCompiler_temp$jscomp$1 && - (shouldKeepWarning$jscomp$0 && - warnNonHydratedInstance(workInProgress, nextInstance$jscomp$0), - throwOnHydrationMismatch(workInProgress)); - } - return null; + return ( + null === current && + isHydrating && + ((renderLanes = workInProgress.pendingProps), + (current = getHostContext()), + (returnFiber = current.ancestorInfo.current), + (renderLanes = + null != returnFiber + ? validateTextNesting( + renderLanes, + returnFiber.tag, + current.ancestorInfo.implicitRootScope + ) + : !0), + (current = nextHydratableInstance), + (returnFiber = !current) || + ((returnFiber = canHydrateTextInstance( + current, + workInProgress.pendingProps, + rootOrSingletonContext + )), + null !== returnFiber + ? ((workInProgress.stateNode = returnFiber), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null), + (returnFiber = !0)) + : (returnFiber = !1), + (returnFiber = !returnFiber)), + returnFiber && + (renderLanes && + warnNonHydratedInstance(workInProgress, current), + throwOnHydrationMismatch(workInProgress))), + null + ); case 13: return updateSuspenseComponent(current, workInProgress, renderLanes); case 4: - pushHostContainer( - workInProgress, - workInProgress.stateNode.containerInfo + return ( + pushHostContainer( + workInProgress, + workInProgress.stateNode.containerInfo + ), + (returnFiber = workInProgress.pendingProps), + null === current + ? (workInProgress.child = reconcileChildFibers( + workInProgress, + null, + returnFiber, + renderLanes + )) + : reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - var nextChildren$jscomp$1 = workInProgress.pendingProps; - null === current - ? (workInProgress.child = reconcileChildFibers( - workInProgress, - null, - nextChildren$jscomp$1, - renderLanes - )) - : reconcileChildren( - current, - workInProgress, - nextChildren$jscomp$1, - renderLanes - ); - return workInProgress.child; case 11: return updateForwardRef( current, @@ -12384,15 +12521,17 @@ renderLanes ); case 7: - var nextChildren$jscomp$2 = workInProgress.pendingProps; - markRef(current, workInProgress); - reconcileChildren( - current, - workInProgress, - nextChildren$jscomp$2, - renderLanes + return ( + (returnFiber = workInProgress.pendingProps), + markRef(current, workInProgress), + reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 8: return ( reconcileChildren( @@ -12404,53 +12543,64 @@ workInProgress.child ); case 12: - workInProgress.flags |= 4; - workInProgress.flags |= 2048; - var stateNode = workInProgress.stateNode; - stateNode.effectDuration = -0; - stateNode.passiveEffectDuration = -0; - reconcileChildren( - current, - workInProgress, - workInProgress.pendingProps.children, - renderLanes + return ( + (workInProgress.flags |= 4), + (workInProgress.flags |= 2048), + (returnFiber = workInProgress.stateNode), + (returnFiber.effectDuration = -0), + (returnFiber.passiveEffectDuration = -0), + reconcileChildren( + current, + workInProgress, + workInProgress.pendingProps.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 10: - var context = workInProgress.type, - newProps = workInProgress.pendingProps, - newValue = newProps.value; - "value" in newProps || - hasWarnedAboutUsingNoValuePropOnContextProvider || - ((hasWarnedAboutUsingNoValuePropOnContextProvider = !0), - console.error( - "The `value` prop is required for the ``. Did you misspell it or forget to pass it?" - )); - pushProvider(workInProgress, context, newValue); - reconcileChildren( - current, - workInProgress, - newProps.children, - renderLanes + return ( + (returnFiber = workInProgress.type), + (prevSibling = workInProgress.pendingProps), + (prevState = prevSibling.value), + "value" in prevSibling || + hasWarnedAboutUsingNoValuePropOnContextProvider || + ((hasWarnedAboutUsingNoValuePropOnContextProvider = !0), + console.error( + "The `value` prop is required for the ``. Did you misspell it or forget to pass it?" + )), + pushProvider(workInProgress, returnFiber, prevState), + reconcileChildren( + current, + workInProgress, + prevSibling.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 9: - var context$jscomp$0 = workInProgress.type._context, - render = workInProgress.pendingProps.children; - "function" !== typeof render && - console.error( - "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it." - ); - prepareToReadContext(workInProgress); - var newValue$jscomp$0 = readContext(context$jscomp$0); - var newChildren = callComponentInDEV( - render, - newValue$jscomp$0, - void 0 + return ( + (prevSibling = workInProgress.type._context), + (returnFiber = workInProgress.pendingProps.children), + "function" !== typeof returnFiber && + console.error( + "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it." + ), + prepareToReadContext(workInProgress), + (prevSibling = readContext(prevSibling)), + (returnFiber = callComponentInDEV( + returnFiber, + prevSibling, + void 0 + )), + (workInProgress.flags |= 1), + reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - workInProgress.flags |= 1; - reconcileChildren(current, workInProgress, newChildren, renderLanes); - return workInProgress.child; case 14: return updateMemoComponent( current, @@ -12474,170 +12624,7 @@ renderLanes ); case 31: - var nextProps$jscomp$1 = workInProgress.pendingProps, - didSuspend = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === nextProps$jscomp$1.mode) - mountActivityChildren(workInProgress, nextProps$jscomp$1); - else { - pushDehydratedActivitySuspenseHandler(workInProgress); - var nextInstance$jscomp$1 = nextHydratableInstance; - if (nextInstance$jscomp$1) { - var hydratableInstance = canHydrateHydrationBoundary( - nextInstance$jscomp$1, - rootOrSingletonContext - ); - var activityInstance = - null !== hydratableInstance && - hydratableInstance.data === ACTIVITY_START_DATA - ? hydratableInstance - : null; - if (null !== activityInstance) { - var activityState = { - dehydrated: activityInstance, - treeContext: getSuspendedTreeContext(), - retryLane: 536870912, - hydrationErrors: null - }; - workInProgress.memoizedState = activityState; - var dehydratedFragment = - createFiberFromDehydratedFragment(activityInstance); - dehydratedFragment.return = workInProgress; - workInProgress.child = dehydratedFragment; - hydrationParentFiber = workInProgress; - nextHydratableInstance = null; - } - var JSCompiler_temp$jscomp$2 = activityInstance; - } else JSCompiler_temp$jscomp$2 = null; - if (null === JSCompiler_temp$jscomp$2) - throw ( - (warnNonHydratedInstance( - workInProgress, - nextInstance$jscomp$1 - ), - throwOnHydrationMismatch(workInProgress)) - ); - } - workInProgress.lanes = 536870912; - var JSCompiler_inline_result$jscomp$3 = null; - } else - JSCompiler_inline_result$jscomp$3 = mountActivityChildren( - workInProgress, - nextProps$jscomp$1 - ); - else { - var prevState$jscomp$0 = current.memoizedState; - if (null !== prevState$jscomp$0) { - var activityInstance$jscomp$0 = prevState$jscomp$0.dehydrated; - pushDehydratedActivitySuspenseHandler(workInProgress); - if (didSuspend) - if (workInProgress.flags & 256) { - workInProgress.flags &= -257; - var JSCompiler_inline_result$jscomp$4 = - retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (JSCompiler_inline_result$jscomp$4 = null); - else - throw Error( - "Client rendering an Activity suspended it again. This is a bug in React." - ); - else { - warnIfHydrating(); - 0 !== (renderLanes & 536870912) && - markRenderDerivedCause(workInProgress); - didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ); - var hasContextChanged = - 0 !== (renderLanes & current.childLanes); - if (didReceiveUpdate || hasContextChanged) { - var root = workInProgressRoot; - if (null !== root) { - var attemptHydrationAtLane = getBumpedLaneForHydration( - root, - renderLanes - ); - if ( - 0 !== attemptHydrationAtLane && - attemptHydrationAtLane !== prevState$jscomp$0.retryLane - ) - throw ( - ((prevState$jscomp$0.retryLane = - attemptHydrationAtLane), - enqueueConcurrentRenderForLane( - current, - attemptHydrationAtLane - ), - scheduleUpdateOnFiber( - root, - current, - attemptHydrationAtLane - ), - SelectiveHydrationException) - ); - } - renderDidSuspendDelayIfPossible(); - JSCompiler_inline_result$jscomp$4 = - retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else { - var treeContext = prevState$jscomp$0.treeContext; - nextHydratableInstance = getNextHydratable( - activityInstance$jscomp$0.nextSibling - ); - hydrationParentFiber = workInProgress; - isHydrating = !0; - hydrationErrors = null; - didSuspendOrErrorDEV = !1; - hydrationDiffRootDEV = null; - rootOrSingletonContext = !1; - null !== treeContext && - restoreSuspendedTreeContext(workInProgress, treeContext); - var primaryChildFragment = mountActivityChildren( - workInProgress, - nextProps$jscomp$1 - ); - primaryChildFragment.flags |= 4096; - JSCompiler_inline_result$jscomp$4 = primaryChildFragment; - } - } - JSCompiler_inline_result$jscomp$3 = - JSCompiler_inline_result$jscomp$4; - } else { - var currentChild = current.child, - offscreenChildProps = { - mode: nextProps$jscomp$1.mode, - children: nextProps$jscomp$1.children - }; - 0 !== (renderLanes & 536870912) && - 0 !== (renderLanes & current.lanes) && - markRenderDerivedCause(workInProgress); - var primaryChildFragment$jscomp$0 = createWorkInProgress( - currentChild, - offscreenChildProps - ); - primaryChildFragment$jscomp$0.ref = workInProgress.ref; - workInProgress.child = primaryChildFragment$jscomp$0; - primaryChildFragment$jscomp$0.return = workInProgress; - JSCompiler_inline_result$jscomp$3 = primaryChildFragment$jscomp$0; - } - } - return JSCompiler_inline_result$jscomp$3; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -12646,88 +12633,88 @@ workInProgress.pendingProps ); case 24: - prepareToReadContext(workInProgress); - var parentCache = readContext(CacheContext); - if (null === current) { - var cacheFromPool = peekCacheFromPool(); - if (null !== cacheFromPool) var freshCache = cacheFromPool; - else { - var root$jscomp$0 = workInProgressRoot, - freshCache$jscomp$0 = createCache(); - root$jscomp$0.pooledCache = freshCache$jscomp$0; - retainCache(freshCache$jscomp$0); - null !== freshCache$jscomp$0 && - (root$jscomp$0.pooledCacheLanes |= renderLanes); - freshCache = freshCache$jscomp$0; - } - workInProgress.memoizedState = { - parent: parentCache, - cache: freshCache - }; - initializeUpdateQueue(workInProgress); - pushProvider(workInProgress, CacheContext, freshCache); - } else { - 0 !== (current.lanes & renderLanes) && - (cloneUpdateQueue(current, workInProgress), - processUpdateQueue(workInProgress, null, null, renderLanes), - suspendIfUpdateReadFromEntangledAsyncAction()); - var prevState$jscomp$1 = current.memoizedState, - nextState$jscomp$0 = workInProgress.memoizedState; - if (prevState$jscomp$1.parent !== parentCache) { - var derivedState = { parent: parentCache, cache: parentCache }; - workInProgress.memoizedState = derivedState; - 0 === workInProgress.lanes && - (workInProgress.memoizedState = - workInProgress.updateQueue.baseState = - derivedState); - pushProvider(workInProgress, CacheContext, parentCache); - } else { - var nextCache$jscomp$0 = nextState$jscomp$0.cache; - pushProvider(workInProgress, CacheContext, nextCache$jscomp$0); - nextCache$jscomp$0 !== prevState$jscomp$1.cache && - propagateContextChanges( - workInProgress, - [CacheContext], - renderLanes, - !0 - ); - } - } - reconcileChildren( - current, - workInProgress, - workInProgress.pendingProps.children, - renderLanes + return ( + prepareToReadContext(workInProgress), + (returnFiber = readContext(CacheContext)), + null === current + ? ((prevSibling = peekCacheFromPool()), + null === prevSibling && + ((prevSibling = workInProgressRoot), + (prevState = createCache()), + (prevSibling.pooledCache = prevState), + retainCache(prevState), + null !== prevState && + (prevSibling.pooledCacheLanes |= renderLanes), + (prevSibling = prevState)), + (workInProgress.memoizedState = { + parent: returnFiber, + cache: prevSibling + }), + initializeUpdateQueue(workInProgress), + pushProvider(workInProgress, CacheContext, prevSibling)) + : (0 !== (current.lanes & renderLanes) && + (cloneUpdateQueue(current, workInProgress), + processUpdateQueue(workInProgress, null, null, renderLanes), + suspendIfUpdateReadFromEntangledAsyncAction()), + (prevSibling = current.memoizedState), + (prevState = workInProgress.memoizedState), + prevSibling.parent !== returnFiber + ? ((prevSibling = { + parent: returnFiber, + cache: returnFiber + }), + (workInProgress.memoizedState = prevSibling), + 0 === workInProgress.lanes && + (workInProgress.memoizedState = + workInProgress.updateQueue.baseState = + prevSibling), + pushProvider(workInProgress, CacheContext, returnFiber)) + : ((returnFiber = prevState.cache), + pushProvider(workInProgress, CacheContext, returnFiber), + returnFiber !== prevSibling.cache && + propagateContextChanges( + workInProgress, + [CacheContext], + renderLanes, + !0 + ))), + reconcileChildren( + current, + workInProgress, + workInProgress.pendingProps.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 30: - var pendingProps = workInProgress.pendingProps; - null != pendingProps.name && "auto" !== pendingProps.name - ? (workInProgress.flags |= null === current ? 18882560 : 18874368) - : isHydrating && pushMaterializedTreeId(workInProgress); - if (void 0 !== pendingProps.className) { - var example = - "string" === typeof pendingProps.className - ? JSON.stringify(pendingProps.className) - : "{...}"; - didWarnAboutClassNameOnViewTransition[example] || - ((didWarnAboutClassNameOnViewTransition[example] = !0), - console.error( - ' doesn\'t accept a "className" prop. It has been renamed to "default".\n- \n+ ', - example, - example - )); - } - null !== current && current.memoizedProps.name !== pendingProps.name - ? (workInProgress.flags |= 4194816) - : markRef(current, workInProgress); - reconcileChildren( - current, - workInProgress, - pendingProps.children, - renderLanes + return ( + (returnFiber = workInProgress.pendingProps), + null != returnFiber.name && "auto" !== returnFiber.name + ? (workInProgress.flags |= null === current ? 18882560 : 18874368) + : isHydrating && pushMaterializedTreeId(workInProgress), + void 0 !== returnFiber.className && + ((prevSibling = + "string" === typeof returnFiber.className + ? JSON.stringify(returnFiber.className) + : "{...}"), + didWarnAboutClassNameOnViewTransition[prevSibling] || + ((didWarnAboutClassNameOnViewTransition[prevSibling] = !0), + console.error( + ' doesn\'t accept a "className" prop. It has been renamed to "default".\n- \n+ ', + prevSibling, + prevSibling + ))), + null !== current && current.memoizedProps.name !== returnFiber.name + ? (workInProgress.flags |= 4194816) + : markRef(current, workInProgress), + reconcileChildren( + current, + workInProgress, + returnFiber.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 29: throw workInProgress.pendingProps; } @@ -31487,11 +31474,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-ac7820a9-20250811" !== 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.2.0-experimental-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -31528,10 +31515,10 @@ !(function () { var internals = { bundleType: 1, - version: "19.2.0-experimental-f1e70b5e-20250811", + version: "19.2.0-experimental-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-experimental-ac7820a9-20250811" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -32008,7 +31995,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-experimental-f1e70b5e-20250811"; + exports.version = "19.2.0-experimental-ac7820a9-20250811"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js index ab88a0984727c..8f48ad0314cbb 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js @@ -7130,6 +7130,14 @@ function updateOffscreenComponent( ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -7182,6 +7190,17 @@ function updateOffscreenComponent( reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } +function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; +} function deferHiddenOffscreenComponent( current, workInProgress, @@ -7226,6 +7245,110 @@ function retryActivityComponentWithoutHydrating( workInProgress.memoizedState = null; return current; } +function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + (current = nextHydratableInstance) + ? ((current = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (current = null !== current && "&" === current.data ? current : null), + null !== current && + ((workInProgress.memoizedState = { + dehydrated: current, + treeContext: + null !== treeContextProvider + ? { id: treeContextId, overflow: treeContextOverflow } + : null, + retryLane: 536870912, + hydrationErrors: null + }), + (renderLanes = createFiberFromDehydratedFragment(current)), + (renderLanes.return = workInProgress), + (workInProgress.child = renderLanes), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null))) + : (current = null); + if (null === current) throw throwOnHydrationMismatch(workInProgress); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + var prevState = current.memoizedState; + if (null !== prevState) { + var dehydrated = prevState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else throw Error(formatProdErrorMessage(558)); + else if ( + (didReceiveUpdate || + propagateParentContextChanges(current, workInProgress, renderLanes, !1), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((dehydrated = getBumpedLaneForHydration(nextProps, renderLanes)), + 0 !== dehydrated && dehydrated !== prevState.retryLane) + ) + throw ( + ((prevState.retryLane = dehydrated), + enqueueConcurrentRenderForLane(current, dehydrated), + scheduleUpdateOnFiber(nextProps, current, dehydrated), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = prevState.treeContext), + (nextHydratableInstance = getNextHydratable(dehydrated.nextSibling)), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + current = createWorkInProgress(current.child, { + mode: nextProps.mode, + children: nextProps.children + }); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; +} function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -7634,43 +7757,41 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes - )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes - )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); @@ -7728,7 +7849,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isSuspenseInstanceFallback(nextPrimaryChildren)) @@ -7823,31 +7944,31 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.return = workInProgress), (nextProps.sibling = nextPrimaryChildren), (workInProgress.child = nextProps), - (nextProps = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (showFallback = current.child.memoizedState), - null === showFallback - ? (showFallback = mountSuspenseOffscreenState(renderLanes)) - : ((nextFallbackChildren = showFallback.cachePool), - null !== nextFallbackChildren - ? ((digest = CacheContext._currentValue), - (nextFallbackChildren = - nextFallbackChildren.parent !== digest - ? { parent: digest, pool: digest } - : nextFallbackChildren)) - : (nextFallbackChildren = getSuspendedCache()), - (showFallback = { - baseLanes: showFallback.baseLanes | renderLanes, - cachePool: nextFallbackChildren + bailoutOffscreenComponent(null, nextProps), + (nextProps = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((showFallback = nextPrimaryChildren.cachePool), + null !== showFallback + ? ((nextFallbackChildren = CacheContext._currentValue), + (showFallback = + showFallback.parent !== nextFallbackChildren + ? { parent: nextFallbackChildren, pool: nextFallbackChildren } + : showFallback)) + : (showFallback = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: showFallback })), - (nextPrimaryChildren.memoizedState = showFallback), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + (nextProps.memoizedState = nextPrimaryChildren), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(current.child, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; @@ -7901,12 +8022,6 @@ function mountSuspenseFallbackChildren( function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiberImplClass(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -8606,114 +8721,7 @@ function beginWork(current, workInProgress, renderLanes) { case 19: return updateSuspenseListComponent(current, workInProgress, renderLanes); case 31: - $$typeof = workInProgress.pendingProps; - nextState = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === $$typeof.mode) - mountActivityChildren(workInProgress, $$typeof); - else if ( - (pushDehydratedActivitySuspenseHandler(workInProgress), - (renderLanes = nextHydratableInstance) - ? ((renderLanes = canHydrateHydrationBoundary( - renderLanes, - rootOrSingletonContext - )), - (renderLanes = - null !== renderLanes && "&" === renderLanes.data - ? renderLanes - : null), - null !== renderLanes && - ((workInProgress.memoizedState = { - dehydrated: renderLanes, - treeContext: - null !== treeContextProvider - ? { id: treeContextId, overflow: treeContextOverflow } - : null, - retryLane: 536870912, - hydrationErrors: null - }), - (current = createFiberFromDehydratedFragment(renderLanes)), - (current.return = workInProgress), - (workInProgress.child = current), - (hydrationParentFiber = workInProgress), - (nextHydratableInstance = null))) - : (renderLanes = null), - null === renderLanes) - ) - throw throwOnHydrationMismatch(workInProgress); - workInProgress.lanes = 536870912; - workInProgress = null; - } else workInProgress = mountActivityChildren(workInProgress, $$typeof); - else if (((props = current.memoizedState), null !== props)) - if ( - ((prevState = props.dehydrated), - pushDehydratedActivitySuspenseHandler(workInProgress), - nextState) - ) - if (workInProgress.flags & 256) - (workInProgress.flags &= -257), - (workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - )); - else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null); - else throw Error(formatProdErrorMessage(558)); - else if ( - (didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ), - (nextState = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || nextState) - ) { - $$typeof = workInProgressRoot; - if ( - null !== $$typeof && - ((prevState = getBumpedLaneForHydration($$typeof, renderLanes)), - 0 !== prevState && prevState !== props.retryLane) - ) - throw ( - ((props.retryLane = prevState), - enqueueConcurrentRenderForLane(current, prevState), - scheduleUpdateOnFiber($$typeof, current, prevState), - SelectiveHydrationException) - ); - renderDidSuspendDelayIfPossible(); - workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else - (renderLanes = props.treeContext), - (nextHydratableInstance = getNextHydratable(prevState.nextSibling)), - (hydrationParentFiber = workInProgress), - (isHydrating = !0), - (hydrationErrors = null), - (rootOrSingletonContext = !1), - null !== renderLanes && - restoreSuspendedTreeContext(workInProgress, renderLanes), - (workInProgress = mountActivityChildren(workInProgress, $$typeof)), - (workInProgress.flags |= 4096); - else - (renderLanes = createWorkInProgress(current.child, { - mode: $$typeof.mode, - children: $$typeof.children - })), - (renderLanes.ref = workInProgress.ref), - (workInProgress.child = renderLanes), - (renderLanes.return = workInProgress), - (workInProgress = renderLanes); - return workInProgress; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -16169,20 +16177,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_2012 = 0; - i$jscomp$inline_2012 < simpleEventPluginEvents.length; - i$jscomp$inline_2012++ + var i$jscomp$inline_2010 = 0; + i$jscomp$inline_2010 < simpleEventPluginEvents.length; + i$jscomp$inline_2010++ ) { - var eventName$jscomp$inline_2013 = - simpleEventPluginEvents[i$jscomp$inline_2012], - domEventName$jscomp$inline_2014 = - eventName$jscomp$inline_2013.toLowerCase(), - capitalizedEvent$jscomp$inline_2015 = - eventName$jscomp$inline_2013[0].toUpperCase() + - eventName$jscomp$inline_2013.slice(1); + var eventName$jscomp$inline_2011 = + simpleEventPluginEvents[i$jscomp$inline_2010], + domEventName$jscomp$inline_2012 = + eventName$jscomp$inline_2011.toLowerCase(), + capitalizedEvent$jscomp$inline_2013 = + eventName$jscomp$inline_2011[0].toUpperCase() + + eventName$jscomp$inline_2011.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_2014, - "on" + capitalizedEvent$jscomp$inline_2015 + domEventName$jscomp$inline_2012, + "on" + capitalizedEvent$jscomp$inline_2013 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -20965,16 +20973,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_2400 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2398 = React.version; if ( - "19.2.0-experimental-f1e70b5e-20250811" !== - isomorphicReactPackageVersion$jscomp$inline_2400 + "19.2.0-experimental-ac7820a9-20250811" !== + isomorphicReactPackageVersion$jscomp$inline_2398 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2400, - "19.2.0-experimental-f1e70b5e-20250811" + isomorphicReactPackageVersion$jscomp$inline_2398, + "19.2.0-experimental-ac7820a9-20250811" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -20994,24 +21002,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_3087 = { +var internals$jscomp$inline_3095 = { bundleType: 0, - version: "19.2.0-experimental-f1e70b5e-20250811", + version: "19.2.0-experimental-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-experimental-ac7820a9-20250811" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_3088 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_3096 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_3088.isDisabled && - hook$jscomp$inline_3088.supportsFiber + !hook$jscomp$inline_3096.isDisabled && + hook$jscomp$inline_3096.supportsFiber ) try { - (rendererID = hook$jscomp$inline_3088.inject( - internals$jscomp$inline_3087 + (rendererID = hook$jscomp$inline_3096.inject( + internals$jscomp$inline_3095 )), - (injectedHook = hook$jscomp$inline_3088); + (injectedHook = hook$jscomp$inline_3096); } catch (err) {} } function getCrossOriginStringAs(as, input) { @@ -21267,7 +21275,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-experimental-f1e70b5e-20250811"; +exports.version = "19.2.0-experimental-ac7820a9-20250811"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js index b4a6cc89282a9..0019cd8536397 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js @@ -10523,5 +10523,5 @@ '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.2.0-experimental-f1e70b5e-20250811"; + exports.version = "19.2.0-experimental-ac7820a9-20250811"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js index f9acf01568919..dbce2f0d1bfb6 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js @@ -7142,4 +7142,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.2.0-experimental-f1e70b5e-20250811"; +exports.version = "19.2.0-experimental-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js index 2f1ea6e492ef3..9f85465001239 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js @@ -10523,5 +10523,5 @@ '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 "renderToPipeableStream" which supports Suspense on the server' ); }; - exports.version = "19.2.0-experimental-f1e70b5e-20250811"; + exports.version = "19.2.0-experimental-ac7820a9-20250811"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js index ad9e9e80ed84f..b83221e618a29 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js @@ -7245,4 +7245,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 "renderToPipeableStream" which supports Suspense on the server' ); }; -exports.version = "19.2.0-experimental-f1e70b5e-20250811"; +exports.version = "19.2.0-experimental-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js index d3c0f2f7bfa7d..644344c77fbff 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js @@ -9512,11 +9512,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-ac7820a9-20250811" !== 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.2.0-experimental-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react-experimental"), @@ -11335,5 +11335,5 @@ startWork(request); }); }; - exports.version = "19.2.0-experimental-f1e70b5e-20250811"; + exports.version = "19.2.0-experimental-ac7820a9-20250811"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js index 21b94bc0aff23..34d93aafdc09b 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js @@ -7805,12 +7805,12 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-ac7820a9-20250811" !== isomorphicReactPackageVersion) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion, - "19.2.0-experimental-f1e70b5e-20250811" + "19.2.0-experimental-ac7820a9-20250811" ) ); } @@ -8065,4 +8065,4 @@ exports.resumeAndPrerender = function (children, postponedState, options) { startWork(request); }); }; -exports.version = "19.2.0-experimental-f1e70b5e-20250811"; +exports.version = "19.2.0-experimental-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js index eadd64c7d42c5..ed35a3c39af7e 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js @@ -7293,13 +7293,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) { } var isomorphicReactPackageVersion$jscomp$inline_869 = React.version; if ( - "19.2.0-experimental-f1e70b5e-20250811" !== + "19.2.0-experimental-ac7820a9-20250811" !== isomorphicReactPackageVersion$jscomp$inline_869 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_869 + - "\n - react-dom: 19.2.0-experimental-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -7390,4 +7390,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.2.0-experimental-f1e70b5e-20250811"; +exports.version = "19.2.0-experimental-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js index ecc4b4fae9a26..fc5d6b42b5026 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js @@ -9541,11 +9541,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-ac7820a9-20250811" !== 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.2.0-experimental-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react-experimental"), @@ -11360,5 +11360,5 @@ startWork(request); }); }; - exports.version = "19.2.0-experimental-f1e70b5e-20250811"; + exports.version = "19.2.0-experimental-ac7820a9-20250811"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js index 6f5b2d2a7ee7e..64b19810a53e4 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js @@ -7923,11 +7923,11 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-ac7820a9-20250811" !== 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.2.0-experimental-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -8181,4 +8181,4 @@ exports.resumeAndPrerender = function (children, postponedState, options) { startWork(request); }); }; -exports.version = "19.2.0-experimental-f1e70b5e-20250811"; +exports.version = "19.2.0-experimental-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js index 1b456dcded421..22b21c35417b6 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js @@ -9402,11 +9402,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-ac7820a9-20250811" !== 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.2.0-experimental-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); } function createDrainHandler(destination, request) { @@ -11531,5 +11531,5 @@ } }; }; - exports.version = "19.2.0-experimental-f1e70b5e-20250811"; + exports.version = "19.2.0-experimental-ac7820a9-20250811"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js index 21da06ed503b1..0317b8053fa56 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js @@ -7803,11 +7803,11 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-ac7820a9-20250811" !== 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.2.0-experimental-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -8365,4 +8365,4 @@ exports.resumeToPipeableStream = function (children, postponedState, options) { } }; }; -exports.version = "19.2.0-experimental-f1e70b5e-20250811"; +exports.version = "19.2.0-experimental-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js index 9773fb7898736..f18616fedb63a 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js @@ -10227,6 +10227,14 @@ ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -10283,6 +10291,17 @@ reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } + function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; + } function deferHiddenOffscreenComponent( current, workInProgress, @@ -10344,6 +10363,135 @@ workInProgress.memoizedState = null; return current; } + function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + (current = nextHydratableInstance) + ? ((renderLanes = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (renderLanes = + null !== renderLanes && renderLanes.data === ACTIVITY_START_DATA + ? renderLanes + : null), + null !== renderLanes && + ((nextProps = { + dehydrated: renderLanes, + treeContext: getSuspendedTreeContext(), + retryLane: 536870912, + hydrationErrors: null + }), + (workInProgress.memoizedState = nextProps), + (nextProps = createFiberFromDehydratedFragment(renderLanes)), + (nextProps.return = workInProgress), + (workInProgress.child = nextProps), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null))) + : (renderLanes = null); + if (null === renderLanes) + throw ( + (warnNonHydratedInstance(workInProgress, current), + throwOnHydrationMismatch(workInProgress)) + ); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + var prevState = current.memoizedState; + if (null !== prevState) { + var activityInstance = prevState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else + throw Error( + "Client rendering an Activity suspended it again. This is a bug in React." + ); + else if ( + (warnIfHydrating(), + 0 !== (renderLanes & 536870912) && + markRenderDerivedCause(workInProgress), + didReceiveUpdate || + propagateParentContextChanges( + current, + workInProgress, + renderLanes, + !1 + ), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((activityInstance = getBumpedLaneForHydration( + nextProps, + renderLanes + )), + 0 !== activityInstance && activityInstance !== prevState.retryLane) + ) + throw ( + ((prevState.retryLane = activityInstance), + enqueueConcurrentRenderForLane(current, activityInstance), + scheduleUpdateOnFiber(nextProps, current, activityInstance), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = prevState.treeContext), + (nextHydratableInstance = getNextHydratable( + activityInstance.nextSibling + )), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (didSuspendOrErrorDEV = !1), + (hydrationDiffRootDEV = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + prevState = current.child; + nextProps = { mode: nextProps.mode, children: nextProps.children }; + 0 !== (renderLanes & 536870912) && + 0 !== (renderLanes & current.lanes) && + markRenderDerivedCause(workInProgress); + current = createWorkInProgress(prevState, nextProps); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; + } function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -11042,25 +11190,25 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_3191; - var JSCompiler_object_inline_stack_3190 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_3170; + var JSCompiler_object_inline_stack_3169 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_digest_3189 = !1; + var JSCompiler_object_inline_digest_3168 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_3191 = didSuspend) || - (JSCompiler_object_inline_componentStack_3191 = + (JSCompiler_object_inline_componentStack_3170 = didSuspend) || + (JSCompiler_object_inline_componentStack_3170 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_3191 && - ((JSCompiler_object_inline_digest_3189 = !0), + JSCompiler_object_inline_componentStack_3170 && + ((JSCompiler_object_inline_digest_3168 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_3191 = + JSCompiler_object_inline_componentStack_3170 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_digest_3189 + JSCompiler_object_inline_digest_3168 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); (current = nextHydratableInstance) @@ -11073,20 +11221,20 @@ ? renderLanes : null), null !== renderLanes && - ((JSCompiler_object_inline_componentStack_3191 = { + ((JSCompiler_object_inline_componentStack_3170 = { dehydrated: renderLanes, treeContext: getSuspendedTreeContext(), retryLane: 536870912, hydrationErrors: null }), (workInProgress.memoizedState = - JSCompiler_object_inline_componentStack_3191), - (JSCompiler_object_inline_componentStack_3191 = + JSCompiler_object_inline_componentStack_3170), + (JSCompiler_object_inline_componentStack_3170 = createFiberFromDehydratedFragment(renderLanes)), - (JSCompiler_object_inline_componentStack_3191.return = + (JSCompiler_object_inline_componentStack_3170.return = workInProgress), (workInProgress.child = - JSCompiler_object_inline_componentStack_3191), + JSCompiler_object_inline_componentStack_3170), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null))) : (renderLanes = null); @@ -11100,53 +11248,53 @@ : (workInProgress.lanes = 536870912); return null; } - var nextPrimaryChildren = JSCompiler_object_inline_stack_3190.children, - nextFallbackChildren = JSCompiler_object_inline_stack_3190.fallback; - if (JSCompiler_object_inline_digest_3189) + var nextPrimaryChildren = JSCompiler_object_inline_stack_3169.children, + nextFallbackChildren = JSCompiler_object_inline_stack_3169.fallback; + if (JSCompiler_object_inline_digest_3168) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_3190 = - mountSuspenseFallbackChildren( - workInProgress, - nextPrimaryChildren, - nextFallbackChildren, + mountSuspenseFallbackChildren( + workInProgress, + nextPrimaryChildren, + nextFallbackChildren, + renderLanes + ), + (JSCompiler_object_inline_stack_3169 = workInProgress.child), + (JSCompiler_object_inline_stack_3169.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (JSCompiler_object_inline_stack_3169.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_componentStack_3170, renderLanes )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_componentStack_3191, - renderLanes - )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_3190 + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3169) ); if ( "number" === - typeof JSCompiler_object_inline_stack_3190.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_3169.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_3190 = - mountSuspenseFallbackChildren( - workInProgress, - nextPrimaryChildren, - nextFallbackChildren, + mountSuspenseFallbackChildren( + workInProgress, + nextPrimaryChildren, + nextFallbackChildren, + renderLanes + ), + (JSCompiler_object_inline_stack_3169 = workInProgress.child), + (JSCompiler_object_inline_stack_3169.memoizedState = + mountSuspenseOffscreenState(renderLanes)), + (JSCompiler_object_inline_stack_3169.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_componentStack_3170, renderLanes )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_componentStack_3191, - renderLanes - )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_3190 + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3169) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -11156,8 +11304,8 @@ } var prevState = current.memoizedState; if (null !== prevState) { - var JSCompiler_object_inline_message_3188 = prevState.dehydrated; - if (null !== JSCompiler_object_inline_message_3188) { + var JSCompiler_object_inline_message_3167 = prevState.dehydrated; + if (null !== JSCompiler_object_inline_message_3167) { if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -11174,13 +11322,13 @@ (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), (nextPrimaryChildren = - JSCompiler_object_inline_stack_3190.fallback), + JSCompiler_object_inline_stack_3169.fallback), (nextFallbackChildren = workInProgress.mode), - (JSCompiler_object_inline_stack_3190 = + (JSCompiler_object_inline_stack_3169 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_3190.children + children: JSCompiler_object_inline_stack_3169.children }, nextFallbackChildren )), @@ -11191,75 +11339,78 @@ null )), (nextPrimaryChildren.flags |= 2), - (JSCompiler_object_inline_stack_3190.return = workInProgress), + (JSCompiler_object_inline_stack_3169.return = workInProgress), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_3190.sibling = + (JSCompiler_object_inline_stack_3169.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_3190), + (workInProgress.child = JSCompiler_object_inline_stack_3169), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_3190 = workInProgress.child), - (JSCompiler_object_inline_stack_3190.memoizedState = + (JSCompiler_object_inline_stack_3169 = workInProgress.child), + (JSCompiler_object_inline_stack_3169.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_3190.childLanes = + (JSCompiler_object_inline_stack_3169.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_3191, + JSCompiler_object_inline_componentStack_3170, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent( + null, + JSCompiler_object_inline_stack_3169 + ))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), warnIfHydrating(), 0 !== (renderLanes & 536870912) && markRenderDerivedCause(workInProgress), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_3188)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_3167)) ) { - JSCompiler_object_inline_componentStack_3191 = - JSCompiler_object_inline_message_3188.nextSibling && - JSCompiler_object_inline_message_3188.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_3191) { + JSCompiler_object_inline_componentStack_3170 = + JSCompiler_object_inline_message_3167.nextSibling && + JSCompiler_object_inline_message_3167.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_3170) { nextPrimaryChildren = - JSCompiler_object_inline_componentStack_3191.dgst; - var message = JSCompiler_object_inline_componentStack_3191.msg; + JSCompiler_object_inline_componentStack_3170.dgst; + var message = JSCompiler_object_inline_componentStack_3170.msg; nextFallbackChildren = - JSCompiler_object_inline_componentStack_3191.stck; + JSCompiler_object_inline_componentStack_3170.stck; var componentStack = - JSCompiler_object_inline_componentStack_3191.cstck; + JSCompiler_object_inline_componentStack_3170.cstck; } - JSCompiler_object_inline_message_3188 = message; - JSCompiler_object_inline_digest_3189 = nextPrimaryChildren; - JSCompiler_object_inline_stack_3190 = nextFallbackChildren; - JSCompiler_object_inline_componentStack_3191 = componentStack; - nextPrimaryChildren = JSCompiler_object_inline_digest_3189; - nextFallbackChildren = JSCompiler_object_inline_message_3188; - componentStack = JSCompiler_object_inline_componentStack_3191; + JSCompiler_object_inline_message_3167 = message; + JSCompiler_object_inline_digest_3168 = nextPrimaryChildren; + JSCompiler_object_inline_stack_3169 = nextFallbackChildren; + JSCompiler_object_inline_componentStack_3170 = componentStack; + nextPrimaryChildren = JSCompiler_object_inline_digest_3168; + nextFallbackChildren = JSCompiler_object_inline_message_3167; + componentStack = JSCompiler_object_inline_componentStack_3170; "POSTPONE" !== nextPrimaryChildren && - ((JSCompiler_object_inline_componentStack_3191 = + ((JSCompiler_object_inline_componentStack_3170 = nextFallbackChildren ? Error(nextFallbackChildren) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_componentStack_3191.stack = - JSCompiler_object_inline_stack_3190 || ""), - (JSCompiler_object_inline_componentStack_3191.digest = + (JSCompiler_object_inline_componentStack_3170.stack = + JSCompiler_object_inline_stack_3169 || ""), + (JSCompiler_object_inline_componentStack_3170.digest = nextPrimaryChildren), - (JSCompiler_object_inline_stack_3190 = + (JSCompiler_object_inline_stack_3169 = void 0 === componentStack ? null : componentStack), (nextPrimaryChildren = { - value: JSCompiler_object_inline_componentStack_3191, + value: JSCompiler_object_inline_componentStack_3170, source: null, - stack: JSCompiler_object_inline_stack_3190 + stack: JSCompiler_object_inline_stack_3169 }), - "string" === typeof JSCompiler_object_inline_stack_3190 && + "string" === typeof JSCompiler_object_inline_stack_3169 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_3191, + JSCompiler_object_inline_componentStack_3170, nextPrimaryChildren ), queueHydrationError(nextPrimaryChildren)); @@ -11276,34 +11427,34 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_3191 = + (JSCompiler_object_inline_componentStack_3170 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_3191) + didReceiveUpdate || JSCompiler_object_inline_componentStack_3170) ) { - JSCompiler_object_inline_componentStack_3191 = workInProgressRoot; + JSCompiler_object_inline_componentStack_3170 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_componentStack_3191 && - ((JSCompiler_object_inline_stack_3190 = getBumpedLaneForHydration( - JSCompiler_object_inline_componentStack_3191, + null !== JSCompiler_object_inline_componentStack_3170 && + ((JSCompiler_object_inline_stack_3169 = getBumpedLaneForHydration( + JSCompiler_object_inline_componentStack_3170, renderLanes )), - 0 !== JSCompiler_object_inline_stack_3190 && - JSCompiler_object_inline_stack_3190 !== prevState.retryLane) + 0 !== JSCompiler_object_inline_stack_3169 && + JSCompiler_object_inline_stack_3169 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_3190), + ((prevState.retryLane = JSCompiler_object_inline_stack_3169), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_3190 + JSCompiler_object_inline_stack_3169 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_3191, + JSCompiler_object_inline_componentStack_3170, current, - JSCompiler_object_inline_stack_3190 + JSCompiler_object_inline_stack_3169 ), SelectiveHydrationException) ); - isSuspenseInstancePending(JSCompiler_object_inline_message_3188) || + isSuspenseInstancePending(JSCompiler_object_inline_message_3167) || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -11311,13 +11462,13 @@ renderLanes ); } else - isSuspenseInstancePending(JSCompiler_object_inline_message_3188) + isSuspenseInstancePending(JSCompiler_object_inline_message_3167) ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_3188.nextSibling + JSCompiler_object_inline_message_3167.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -11329,31 +11480,31 @@ restoreSuspendedTreeContext(workInProgress, current), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_3190.children + JSCompiler_object_inline_stack_3169.children )), (workInProgress.flags |= 4096)); return workInProgress; } } - if (JSCompiler_object_inline_digest_3189) + if (JSCompiler_object_inline_digest_3168) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = JSCompiler_object_inline_stack_3190.fallback), + (nextPrimaryChildren = JSCompiler_object_inline_stack_3169.fallback), (nextFallbackChildren = workInProgress.mode), (componentStack = current.child), - (JSCompiler_object_inline_message_3188 = componentStack.sibling), - (JSCompiler_object_inline_stack_3190 = createWorkInProgress( + (JSCompiler_object_inline_message_3167 = componentStack.sibling), + (JSCompiler_object_inline_stack_3169 = createWorkInProgress( componentStack, { mode: "hidden", - children: JSCompiler_object_inline_stack_3190.children + children: JSCompiler_object_inline_stack_3169.children } )), - (JSCompiler_object_inline_stack_3190.subtreeFlags = + (JSCompiler_object_inline_stack_3169.subtreeFlags = componentStack.subtreeFlags & 65011712), - null !== JSCompiler_object_inline_message_3188 + null !== JSCompiler_object_inline_message_3167 ? (nextPrimaryChildren = createWorkInProgress( - JSCompiler_object_inline_message_3188, + JSCompiler_object_inline_message_3167, nextPrimaryChildren )) : ((nextPrimaryChildren = createFiberFromFragment( @@ -11364,39 +11515,39 @@ )), (nextPrimaryChildren.flags |= 2)), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_3190.return = workInProgress), - (JSCompiler_object_inline_stack_3190.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_3190), - (JSCompiler_object_inline_stack_3190 = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (nextFallbackChildren = current.child.memoizedState), - null === nextFallbackChildren - ? (nextFallbackChildren = mountSuspenseOffscreenState(renderLanes)) - : ((componentStack = nextFallbackChildren.cachePool), - null !== componentStack - ? ((JSCompiler_object_inline_message_3188 = - CacheContext._currentValue), - (componentStack = - componentStack.parent !== - JSCompiler_object_inline_message_3188 - ? { - parent: JSCompiler_object_inline_message_3188, - pool: JSCompiler_object_inline_message_3188 - } - : componentStack)) - : (componentStack = getSuspendedCache()), - (nextFallbackChildren = { - baseLanes: nextFallbackChildren.baseLanes | renderLanes, - cachePool: componentStack + (JSCompiler_object_inline_stack_3169.return = workInProgress), + (JSCompiler_object_inline_stack_3169.sibling = nextPrimaryChildren), + (workInProgress.child = JSCompiler_object_inline_stack_3169), + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_3169), + (JSCompiler_object_inline_stack_3169 = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((nextFallbackChildren = nextPrimaryChildren.cachePool), + null !== nextFallbackChildren + ? ((componentStack = CacheContext._currentValue), + (nextFallbackChildren = + nextFallbackChildren.parent !== componentStack + ? { parent: componentStack, pool: componentStack } + : nextFallbackChildren)) + : (nextFallbackChildren = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: nextFallbackChildren })), - (nextPrimaryChildren.memoizedState = nextFallbackChildren), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_componentStack_3191, - renderLanes - )), + (JSCompiler_object_inline_stack_3169.memoizedState = + nextPrimaryChildren), + (JSCompiler_object_inline_stack_3169.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_componentStack_3170, + renderLanes + )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_3190 + bailoutOffscreenComponent( + current.child, + JSCompiler_object_inline_stack_3169 + ) ); null !== prevState && (renderLanes & 62914560) === renderLanes && @@ -11407,17 +11558,17 @@ current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_3190.children + children: JSCompiler_object_inline_stack_3169.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_3191 = + ((JSCompiler_object_inline_componentStack_3170 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_3191 + null === JSCompiler_object_inline_componentStack_3170 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_3191.push(current)); + : JSCompiler_object_inline_componentStack_3170.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -11456,12 +11607,6 @@ function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: OffscreenVisible, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -11915,7 +12060,7 @@ } function beginWork(current, workInProgress, renderLanes) { if (workInProgress._debugNeedsRemount && null !== current) { - var copiedFiber = createFiberFromTypeAndProps( + renderLanes = createFiberFromTypeAndProps( workInProgress.type, workInProgress.key, workInProgress.pendingProps, @@ -11923,19 +12068,19 @@ workInProgress.mode, workInProgress.lanes ); - copiedFiber._debugStack = workInProgress._debugStack; - copiedFiber._debugTask = workInProgress._debugTask; + renderLanes._debugStack = workInProgress._debugStack; + renderLanes._debugTask = workInProgress._debugTask; var returnFiber = workInProgress.return; if (null === returnFiber) throw Error("Cannot swap the root fiber."); current.alternate = null; workInProgress.alternate = null; - copiedFiber.index = workInProgress.index; - copiedFiber.sibling = workInProgress.sibling; - copiedFiber.return = workInProgress.return; - copiedFiber.ref = workInProgress.ref; - copiedFiber._debugInfo = workInProgress._debugInfo; + renderLanes.index = workInProgress.index; + renderLanes.sibling = workInProgress.sibling; + renderLanes.return = workInProgress.return; + renderLanes.ref = workInProgress.ref; + renderLanes._debugInfo = workInProgress._debugInfo; if (workInProgress === returnFiber.child) - returnFiber.child = copiedFiber; + returnFiber.child = renderLanes; else { var prevSibling = returnFiber.child; if (null === prevSibling) @@ -11943,14 +12088,14 @@ for (; prevSibling.sibling !== workInProgress; ) if (((prevSibling = prevSibling.sibling), null === prevSibling)) throw Error("Expected to find the previous sibling."); - prevSibling.sibling = copiedFiber; + prevSibling.sibling = renderLanes; } - var deletions = returnFiber.deletions; - null === deletions + workInProgress = returnFiber.deletions; + null === workInProgress ? ((returnFiber.deletions = [current]), (returnFiber.flags |= 16)) - : deletions.push(current); - copiedFiber.flags |= 2; - return copiedFiber; + : workInProgress.push(current); + renderLanes.flags |= 2; + return renderLanes; } if (null !== current) if ( @@ -11975,95 +12120,92 @@ } else { didReceiveUpdate = !1; - var JSCompiler_temp; - if ((JSCompiler_temp = isHydrating)) + if ((returnFiber = isHydrating)) warnIfNotHydrating(), - (JSCompiler_temp = 0 !== (workInProgress.flags & 1048576)); - if (JSCompiler_temp) { - var slotIndex = workInProgress.index; - warnIfNotHydrating(); - pushTreeId(workInProgress, treeForkCount, slotIndex); - } + (returnFiber = 0 !== (workInProgress.flags & 1048576)); + returnFiber && + ((returnFiber = workInProgress.index), + warnIfNotHydrating(), + pushTreeId(workInProgress, treeForkCount, returnFiber)); } workInProgress.lanes = 0; switch (workInProgress.tag) { case 16: - a: { - var props = workInProgress.pendingProps, - Component = resolveLazy(workInProgress.elementType); - workInProgress.type = Component; - if ("function" === typeof Component) - if (shouldConstruct(Component)) { - var resolvedProps = resolveClassComponentProps( - Component, - props + a: if ( + ((returnFiber = workInProgress.pendingProps), + (current = resolveLazy(workInProgress.elementType)), + (workInProgress.type = current), + "function" === typeof current) + ) + shouldConstruct(current) + ? ((returnFiber = resolveClassComponentProps( + current, + returnFiber + )), + (workInProgress.tag = 1), + (workInProgress.type = current = + resolveFunctionForHotReloading(current)), + (workInProgress = updateClassComponent( + null, + workInProgress, + current, + returnFiber, + renderLanes + ))) + : ((workInProgress.tag = 0), + validateFunctionComponentInDev(workInProgress, current), + (workInProgress.type = current = + resolveFunctionForHotReloading(current)), + (workInProgress = updateFunctionComponent( + null, + workInProgress, + current, + returnFiber, + renderLanes + ))); + else { + if (void 0 !== current && null !== current) + if ( + ((prevSibling = current.$$typeof), + prevSibling === REACT_FORWARD_REF_TYPE) + ) { + workInProgress.tag = 11; + workInProgress.type = current = + resolveForwardRefForHotReloading(current); + workInProgress = updateForwardRef( + null, + workInProgress, + current, + returnFiber, + renderLanes ); - workInProgress.tag = 1; - workInProgress.type = Component = - resolveFunctionForHotReloading(Component); - var JSCompiler_inline_result = updateClassComponent( + break a; + } else if (prevSibling === REACT_MEMO_TYPE) { + workInProgress.tag = 14; + workInProgress = updateMemoComponent( null, workInProgress, - Component, - resolvedProps, + current, + returnFiber, renderLanes ); - } else - (workInProgress.tag = 0), - validateFunctionComponentInDev(workInProgress, Component), - (workInProgress.type = Component = - resolveFunctionForHotReloading(Component)), - (JSCompiler_inline_result = updateFunctionComponent( - null, - workInProgress, - Component, - props, - renderLanes - )); - else { - if (void 0 !== Component && null !== Component) { - var $$typeof = Component.$$typeof; - if ($$typeof === REACT_FORWARD_REF_TYPE) { - workInProgress.tag = 11; - workInProgress.type = Component = - resolveForwardRefForHotReloading(Component); - JSCompiler_inline_result = updateForwardRef( - null, - workInProgress, - Component, - props, - renderLanes - ); - break a; - } else if ($$typeof === REACT_MEMO_TYPE) { - workInProgress.tag = 14; - JSCompiler_inline_result = updateMemoComponent( - null, - workInProgress, - Component, - props, - renderLanes - ); - break a; - } + break a; } - var hint = ""; - null !== Component && - "object" === typeof Component && - 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: " + - loggedComponent + - ". Lazy element type must resolve to a class or function." + - hint - ); - } + workInProgress = ""; + null !== current && + "object" === typeof current && + 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: " + + renderLanes + + ". Lazy element type must resolve to a class or function." + + workInProgress + ); } - return JSCompiler_inline_result; + return workInProgress; case 0: return updateFunctionComponent( current, @@ -12073,17 +12215,19 @@ renderLanes ); case 1: - var _Component = workInProgress.type, - resolvedProps$jscomp$0 = resolveClassComponentProps( - _Component, + return ( + (returnFiber = workInProgress.type), + (prevSibling = resolveClassComponentProps( + returnFiber, workInProgress.pendingProps - ); - return updateClassComponent( - current, - workInProgress, - _Component, - resolvedProps$jscomp$0, - renderLanes + )), + updateClassComponent( + current, + workInProgress, + returnFiber, + prevSibling, + renderLanes + ) ); case 3: a: { @@ -12095,15 +12239,15 @@ throw Error( "Should have a current fiber. This is a bug in React." ); - var nextProps = workInProgress.pendingProps, - prevState = workInProgress.memoizedState, - prevChildren = prevState.element; + returnFiber = workInProgress.pendingProps; + var prevState = workInProgress.memoizedState; + prevSibling = prevState.element; cloneUpdateQueue(current, workInProgress); - processUpdateQueue(workInProgress, nextProps, null, renderLanes); - var nextState = workInProgress.memoizedState, - nextCache = nextState.cache; - pushProvider(workInProgress, CacheContext, nextCache); - nextCache !== prevState.cache && + processUpdateQueue(workInProgress, returnFiber, null, renderLanes); + var nextState = workInProgress.memoizedState; + returnFiber = nextState.cache; + pushProvider(workInProgress, CacheContext, returnFiber); + returnFiber !== prevState.cache && propagateContextChanges( workInProgress, [CacheContext], @@ -12111,303 +12255,296 @@ !0 ); suspendIfUpdateReadFromEntangledAsyncAction(); - var nextChildren = nextState.element; - if (prevState.isDehydrated) { - var overrideState = { - element: nextChildren, - isDehydrated: !1, - cache: nextState.cache - }; - workInProgress.updateQueue.baseState = overrideState; - workInProgress.memoizedState = overrideState; - if (workInProgress.flags & 256) { - var JSCompiler_inline_result$jscomp$0 = - mountHostRootWithoutHydrating( - current, - workInProgress, - nextChildren, - renderLanes - ); + returnFiber = nextState.element; + if (prevState.isDehydrated) + if ( + ((prevState = { + element: returnFiber, + isDehydrated: !1, + cache: nextState.cache + }), + (workInProgress.updateQueue.baseState = prevState), + (workInProgress.memoizedState = prevState), + workInProgress.flags & 256) + ) { + workInProgress = mountHostRootWithoutHydrating( + current, + workInProgress, + returnFiber, + renderLanes + ); break a; - } else if (nextChildren !== prevChildren) { - var recoverableError = createCapturedValueAtFiber( + } else if (returnFiber !== prevSibling) { + prevSibling = createCapturedValueAtFiber( Error( "This root received an early update, before anything was able hydrate. Switched the entire root to client rendering." ), workInProgress ); - queueHydrationError(recoverableError); - JSCompiler_inline_result$jscomp$0 = - mountHostRootWithoutHydrating( - current, - workInProgress, - nextChildren, - renderLanes - ); + queueHydrationError(prevSibling); + workInProgress = mountHostRootWithoutHydrating( + current, + workInProgress, + returnFiber, + renderLanes + ); break a; } else { - var parentContainer = workInProgress.stateNode.containerInfo; - switch (parentContainer.nodeType) { + current = workInProgress.stateNode.containerInfo; + switch (current.nodeType) { case 9: - var parentElement = parentContainer.body; + current = current.body; break; default: - parentElement = - "HTML" === parentContainer.nodeName - ? parentContainer.ownerDocument.body - : parentContainer; + current = + "HTML" === current.nodeName + ? current.ownerDocument.body + : current; } - nextHydratableInstance = getNextHydratable( - parentElement.firstChild - ); + nextHydratableInstance = getNextHydratable(current.firstChild); hydrationParentFiber = workInProgress; isHydrating = !0; hydrationErrors = null; didSuspendOrErrorDEV = !1; hydrationDiffRootDEV = null; rootOrSingletonContext = !0; - for ( - var child = mountChildFibers( - workInProgress, - null, - nextChildren, - renderLanes - ), - node = (workInProgress.child = child); - node; - - ) - (node.flags = (node.flags & -3) | 4096), - (node = node.sibling); + renderLanes = mountChildFibers( + workInProgress, + null, + returnFiber, + renderLanes + ); + for (workInProgress.child = renderLanes; renderLanes; ) + (renderLanes.flags = (renderLanes.flags & -3) | 4096), + (renderLanes = renderLanes.sibling); } - } else { + else { resetHydrationState(); - if (nextChildren === prevChildren) { - JSCompiler_inline_result$jscomp$0 = - bailoutOnAlreadyFinishedWork( - current, - workInProgress, - renderLanes - ); + if (returnFiber === prevSibling) { + workInProgress = bailoutOnAlreadyFinishedWork( + current, + workInProgress, + renderLanes + ); break a; } reconcileChildren( current, workInProgress, - nextChildren, + returnFiber, renderLanes ); } - JSCompiler_inline_result$jscomp$0 = workInProgress.child; + workInProgress = workInProgress.child; } - return JSCompiler_inline_result$jscomp$0; + return workInProgress; case 26: - markRef(current, workInProgress); - if (null === current) { - var resource = getResource( - workInProgress.type, - null, - workInProgress.pendingProps, - null - ); - if (resource) workInProgress.memoizedState = resource; - else if (!isHydrating) { - var type = workInProgress.type, - props$jscomp$0 = workInProgress.pendingProps, - rootContainerInstance = requiredContext( - rootInstanceStackCursor.current - ), - domElement = getOwnerDocumentFromRootContainer( - rootContainerInstance - ).createElement(type); - domElement[internalInstanceKey] = workInProgress; - domElement[internalPropsKey] = props$jscomp$0; - setInitialProperties(domElement, type, props$jscomp$0); - markNodeAsHoistable(domElement); - workInProgress.stateNode = domElement; - } - } else - workInProgress.memoizedState = getResource( - workInProgress.type, - current.memoizedProps, - workInProgress.pendingProps, - current.memoizedState - ); - return null; + return ( + markRef(current, workInProgress), + null === current + ? (renderLanes = getResource( + workInProgress.type, + null, + workInProgress.pendingProps, + null + )) + ? (workInProgress.memoizedState = renderLanes) + : isHydrating || + ((renderLanes = workInProgress.type), + (current = workInProgress.pendingProps), + (returnFiber = requiredContext( + rootInstanceStackCursor.current + )), + (returnFiber = + getOwnerDocumentFromRootContainer( + returnFiber + ).createElement(renderLanes)), + (returnFiber[internalInstanceKey] = workInProgress), + (returnFiber[internalPropsKey] = current), + setInitialProperties(returnFiber, renderLanes, current), + markNodeAsHoistable(returnFiber), + (workInProgress.stateNode = returnFiber)) + : (workInProgress.memoizedState = getResource( + workInProgress.type, + current.memoizedProps, + workInProgress.pendingProps, + current.memoizedState + )), + null + ); case 27: - pushHostContext(workInProgress); - if (null === current && isHydrating) { - var currentRootContainer = requiredContext( - rootInstanceStackCursor.current - ), - currentHostContext = getHostContext(), - instance = (workInProgress.stateNode = resolveSingletonInstance( - workInProgress.type, - workInProgress.pendingProps, - currentRootContainer, - currentHostContext, - !1 - )); - if (!didSuspendOrErrorDEV) { - var differences = diffHydratedProperties( - instance, - workInProgress.type, - workInProgress.pendingProps, - currentHostContext - ); - null !== differences && - (buildHydrationDiffNode(workInProgress, 0).serverProps = - differences); - } - hydrationParentFiber = workInProgress; - rootOrSingletonContext = !0; - var currentHydratableInstance = nextHydratableInstance; - isSingletonScope(workInProgress.type) - ? ((previousHydratableOnEnteringScopedSingleton = - currentHydratableInstance), - (nextHydratableInstance = getNextHydratable( - instance.firstChild - ))) - : (nextHydratableInstance = currentHydratableInstance); - } - reconcileChildren( - current, - workInProgress, - workInProgress.pendingProps.children, - renderLanes + return ( + pushHostContext(workInProgress), + null === current && + isHydrating && + ((returnFiber = requiredContext(rootInstanceStackCursor.current)), + (prevSibling = getHostContext()), + (returnFiber = workInProgress.stateNode = + resolveSingletonInstance( + workInProgress.type, + workInProgress.pendingProps, + returnFiber, + prevSibling, + !1 + )), + didSuspendOrErrorDEV || + ((prevSibling = diffHydratedProperties( + returnFiber, + workInProgress.type, + workInProgress.pendingProps, + prevSibling + )), + null !== prevSibling && + (buildHydrationDiffNode(workInProgress, 0).serverProps = + prevSibling)), + (hydrationParentFiber = workInProgress), + (rootOrSingletonContext = !0), + (prevSibling = nextHydratableInstance), + isSingletonScope(workInProgress.type) + ? ((previousHydratableOnEnteringScopedSingleton = prevSibling), + (nextHydratableInstance = getNextHydratable( + returnFiber.firstChild + ))) + : (nextHydratableInstance = prevSibling)), + reconcileChildren( + current, + workInProgress, + workInProgress.pendingProps.children, + renderLanes + ), + markRef(current, workInProgress), + null === current && (workInProgress.flags |= 4194304), + workInProgress.child ); - markRef(current, workInProgress); - null === current && (workInProgress.flags |= 4194304); - return workInProgress.child; case 5: - if (null === current && isHydrating) { - var currentHostContext$jscomp$0 = getHostContext(), - shouldKeepWarning = validateDOMNesting( - workInProgress.type, - currentHostContext$jscomp$0.ancestorInfo - ), - nextInstance = nextHydratableInstance, - JSCompiler_temp$jscomp$0; - if (!(JSCompiler_temp$jscomp$0 = !nextInstance)) { - var instance$jscomp$0 = canHydrateInstance( - nextInstance, + return ( + null === current && + isHydrating && + ((prevState = getHostContext()), + (returnFiber = validateDOMNesting( workInProgress.type, - workInProgress.pendingProps, - rootOrSingletonContext - ); - if (null !== instance$jscomp$0) { - workInProgress.stateNode = instance$jscomp$0; - if (!didSuspendOrErrorDEV) { - var differences$jscomp$0 = diffHydratedProperties( - instance$jscomp$0, - workInProgress.type, - workInProgress.pendingProps, - currentHostContext$jscomp$0 - ); - null !== differences$jscomp$0 && - (buildHydrationDiffNode(workInProgress, 0).serverProps = - differences$jscomp$0); - } - hydrationParentFiber = workInProgress; - nextHydratableInstance = getNextHydratable( - instance$jscomp$0.firstChild - ); - rootOrSingletonContext = !1; - var JSCompiler_inline_result$jscomp$1 = !0; - } else JSCompiler_inline_result$jscomp$1 = !1; - JSCompiler_temp$jscomp$0 = !JSCompiler_inline_result$jscomp$1; - } - JSCompiler_temp$jscomp$0 && - (shouldKeepWarning && - warnNonHydratedInstance(workInProgress, nextInstance), - throwOnHydrationMismatch(workInProgress)); - } - pushHostContext(workInProgress); - var type$jscomp$0 = workInProgress.type, - nextProps$jscomp$0 = workInProgress.pendingProps, - prevProps = null !== current ? current.memoizedProps : null, - nextChildren$jscomp$0 = nextProps$jscomp$0.children; - shouldSetTextContent(type$jscomp$0, nextProps$jscomp$0) - ? (nextChildren$jscomp$0 = null) - : null !== prevProps && - shouldSetTextContent(type$jscomp$0, prevProps) && - (workInProgress.flags |= 32); - if (null !== workInProgress.memoizedState) { - var newState = renderWithHooks( + prevState.ancestorInfo + )), + (prevSibling = nextHydratableInstance), + (nextState = !prevSibling) || + ((nextState = canHydrateInstance( + prevSibling, + workInProgress.type, + workInProgress.pendingProps, + rootOrSingletonContext + )), + null !== nextState + ? ((workInProgress.stateNode = nextState), + didSuspendOrErrorDEV || + ((prevState = diffHydratedProperties( + nextState, + workInProgress.type, + workInProgress.pendingProps, + prevState + )), + null !== prevState && + (buildHydrationDiffNode(workInProgress, 0).serverProps = + prevState)), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = getNextHydratable( + nextState.firstChild + )), + (rootOrSingletonContext = !1), + (prevState = !0)) + : (prevState = !1), + (nextState = !prevState)), + nextState && + (returnFiber && + warnNonHydratedInstance(workInProgress, prevSibling), + throwOnHydrationMismatch(workInProgress))), + pushHostContext(workInProgress), + (prevSibling = workInProgress.type), + (prevState = workInProgress.pendingProps), + (nextState = null !== current ? current.memoizedProps : null), + (returnFiber = prevState.children), + shouldSetTextContent(prevSibling, prevState) + ? (returnFiber = null) + : null !== nextState && + shouldSetTextContent(prevSibling, nextState) && + (workInProgress.flags |= 32), + null !== workInProgress.memoizedState && + ((prevSibling = renderWithHooks( + current, + workInProgress, + TransitionAwareHostComponent, + null, + null, + renderLanes + )), + (HostTransitionContext._currentValue = prevSibling)), + markRef(current, workInProgress), + reconcileChildren( current, workInProgress, - TransitionAwareHostComponent, - null, - null, + returnFiber, renderLanes - ); - HostTransitionContext._currentValue = newState; - } - markRef(current, workInProgress); - reconcileChildren( - current, - workInProgress, - nextChildren$jscomp$0, - renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 6: - if (null === current && isHydrating) { - var text = workInProgress.pendingProps, - currentHostContext$jscomp$1 = getHostContext(), - ancestor = currentHostContext$jscomp$1.ancestorInfo.current; - var shouldKeepWarning$jscomp$0 = - null != ancestor - ? validateTextNesting( - text, - ancestor.tag, - currentHostContext$jscomp$1.ancestorInfo.implicitRootScope - ) - : !0; - var nextInstance$jscomp$0 = nextHydratableInstance, - JSCompiler_temp$jscomp$1; - if (!(JSCompiler_temp$jscomp$1 = !nextInstance$jscomp$0)) { - var textInstance = canHydrateTextInstance( - nextInstance$jscomp$0, - workInProgress.pendingProps, - rootOrSingletonContext - ); - if (null !== textInstance) { - workInProgress.stateNode = textInstance; - hydrationParentFiber = workInProgress; - nextHydratableInstance = null; - var JSCompiler_inline_result$jscomp$2 = !0; - } else JSCompiler_inline_result$jscomp$2 = !1; - JSCompiler_temp$jscomp$1 = !JSCompiler_inline_result$jscomp$2; - } - JSCompiler_temp$jscomp$1 && - (shouldKeepWarning$jscomp$0 && - warnNonHydratedInstance(workInProgress, nextInstance$jscomp$0), - throwOnHydrationMismatch(workInProgress)); - } - return null; + return ( + null === current && + isHydrating && + ((renderLanes = workInProgress.pendingProps), + (current = getHostContext()), + (returnFiber = current.ancestorInfo.current), + (renderLanes = + null != returnFiber + ? validateTextNesting( + renderLanes, + returnFiber.tag, + current.ancestorInfo.implicitRootScope + ) + : !0), + (current = nextHydratableInstance), + (returnFiber = !current) || + ((returnFiber = canHydrateTextInstance( + current, + workInProgress.pendingProps, + rootOrSingletonContext + )), + null !== returnFiber + ? ((workInProgress.stateNode = returnFiber), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null), + (returnFiber = !0)) + : (returnFiber = !1), + (returnFiber = !returnFiber)), + returnFiber && + (renderLanes && + warnNonHydratedInstance(workInProgress, current), + throwOnHydrationMismatch(workInProgress))), + null + ); case 13: return updateSuspenseComponent(current, workInProgress, renderLanes); case 4: - pushHostContainer( - workInProgress, - workInProgress.stateNode.containerInfo + return ( + pushHostContainer( + workInProgress, + workInProgress.stateNode.containerInfo + ), + (returnFiber = workInProgress.pendingProps), + null === current + ? (workInProgress.child = reconcileChildFibers( + workInProgress, + null, + returnFiber, + renderLanes + )) + : reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - var nextChildren$jscomp$1 = workInProgress.pendingProps; - null === current - ? (workInProgress.child = reconcileChildFibers( - workInProgress, - null, - nextChildren$jscomp$1, - renderLanes - )) - : reconcileChildren( - current, - workInProgress, - nextChildren$jscomp$1, - renderLanes - ); - return workInProgress.child; case 11: return updateForwardRef( current, @@ -12417,15 +12554,17 @@ renderLanes ); case 7: - var nextChildren$jscomp$2 = workInProgress.pendingProps; - markRef(current, workInProgress); - reconcileChildren( - current, - workInProgress, - nextChildren$jscomp$2, - renderLanes + return ( + (returnFiber = workInProgress.pendingProps), + markRef(current, workInProgress), + reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 8: return ( reconcileChildren( @@ -12437,53 +12576,64 @@ workInProgress.child ); case 12: - workInProgress.flags |= 4; - workInProgress.flags |= 2048; - var stateNode = workInProgress.stateNode; - stateNode.effectDuration = -0; - stateNode.passiveEffectDuration = -0; - reconcileChildren( - current, - workInProgress, - workInProgress.pendingProps.children, - renderLanes + return ( + (workInProgress.flags |= 4), + (workInProgress.flags |= 2048), + (returnFiber = workInProgress.stateNode), + (returnFiber.effectDuration = -0), + (returnFiber.passiveEffectDuration = -0), + reconcileChildren( + current, + workInProgress, + workInProgress.pendingProps.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 10: - var context = workInProgress.type, - newProps = workInProgress.pendingProps, - newValue = newProps.value; - "value" in newProps || - hasWarnedAboutUsingNoValuePropOnContextProvider || - ((hasWarnedAboutUsingNoValuePropOnContextProvider = !0), - console.error( - "The `value` prop is required for the ``. Did you misspell it or forget to pass it?" - )); - pushProvider(workInProgress, context, newValue); - reconcileChildren( - current, - workInProgress, - newProps.children, - renderLanes + return ( + (returnFiber = workInProgress.type), + (prevSibling = workInProgress.pendingProps), + (prevState = prevSibling.value), + "value" in prevSibling || + hasWarnedAboutUsingNoValuePropOnContextProvider || + ((hasWarnedAboutUsingNoValuePropOnContextProvider = !0), + console.error( + "The `value` prop is required for the ``. Did you misspell it or forget to pass it?" + )), + pushProvider(workInProgress, returnFiber, prevState), + reconcileChildren( + current, + workInProgress, + prevSibling.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 9: - var context$jscomp$0 = workInProgress.type._context, - render = workInProgress.pendingProps.children; - "function" !== typeof render && - console.error( - "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it." - ); - prepareToReadContext(workInProgress); - var newValue$jscomp$0 = readContext(context$jscomp$0); - var newChildren = callComponentInDEV( - render, - newValue$jscomp$0, - void 0 + return ( + (prevSibling = workInProgress.type._context), + (returnFiber = workInProgress.pendingProps.children), + "function" !== typeof returnFiber && + console.error( + "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it." + ), + prepareToReadContext(workInProgress), + (prevSibling = readContext(prevSibling)), + (returnFiber = callComponentInDEV( + returnFiber, + prevSibling, + void 0 + )), + (workInProgress.flags |= 1), + reconcileChildren( + current, + workInProgress, + returnFiber, + renderLanes + ), + workInProgress.child ); - workInProgress.flags |= 1; - reconcileChildren(current, workInProgress, newChildren, renderLanes); - return workInProgress.child; case 14: return updateMemoComponent( current, @@ -12507,170 +12657,7 @@ renderLanes ); case 31: - var nextProps$jscomp$1 = workInProgress.pendingProps, - didSuspend = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === nextProps$jscomp$1.mode) - mountActivityChildren(workInProgress, nextProps$jscomp$1); - else { - pushDehydratedActivitySuspenseHandler(workInProgress); - var nextInstance$jscomp$1 = nextHydratableInstance; - if (nextInstance$jscomp$1) { - var hydratableInstance = canHydrateHydrationBoundary( - nextInstance$jscomp$1, - rootOrSingletonContext - ); - var activityInstance = - null !== hydratableInstance && - hydratableInstance.data === ACTIVITY_START_DATA - ? hydratableInstance - : null; - if (null !== activityInstance) { - var activityState = { - dehydrated: activityInstance, - treeContext: getSuspendedTreeContext(), - retryLane: 536870912, - hydrationErrors: null - }; - workInProgress.memoizedState = activityState; - var dehydratedFragment = - createFiberFromDehydratedFragment(activityInstance); - dehydratedFragment.return = workInProgress; - workInProgress.child = dehydratedFragment; - hydrationParentFiber = workInProgress; - nextHydratableInstance = null; - } - var JSCompiler_temp$jscomp$2 = activityInstance; - } else JSCompiler_temp$jscomp$2 = null; - if (null === JSCompiler_temp$jscomp$2) - throw ( - (warnNonHydratedInstance( - workInProgress, - nextInstance$jscomp$1 - ), - throwOnHydrationMismatch(workInProgress)) - ); - } - workInProgress.lanes = 536870912; - var JSCompiler_inline_result$jscomp$3 = null; - } else - JSCompiler_inline_result$jscomp$3 = mountActivityChildren( - workInProgress, - nextProps$jscomp$1 - ); - else { - var prevState$jscomp$0 = current.memoizedState; - if (null !== prevState$jscomp$0) { - var activityInstance$jscomp$0 = prevState$jscomp$0.dehydrated; - pushDehydratedActivitySuspenseHandler(workInProgress); - if (didSuspend) - if (workInProgress.flags & 256) { - workInProgress.flags &= -257; - var JSCompiler_inline_result$jscomp$4 = - retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (JSCompiler_inline_result$jscomp$4 = null); - else - throw Error( - "Client rendering an Activity suspended it again. This is a bug in React." - ); - else { - warnIfHydrating(); - 0 !== (renderLanes & 536870912) && - markRenderDerivedCause(workInProgress); - didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ); - var hasContextChanged = - 0 !== (renderLanes & current.childLanes); - if (didReceiveUpdate || hasContextChanged) { - var root = workInProgressRoot; - if (null !== root) { - var attemptHydrationAtLane = getBumpedLaneForHydration( - root, - renderLanes - ); - if ( - 0 !== attemptHydrationAtLane && - attemptHydrationAtLane !== prevState$jscomp$0.retryLane - ) - throw ( - ((prevState$jscomp$0.retryLane = - attemptHydrationAtLane), - enqueueConcurrentRenderForLane( - current, - attemptHydrationAtLane - ), - scheduleUpdateOnFiber( - root, - current, - attemptHydrationAtLane - ), - SelectiveHydrationException) - ); - } - renderDidSuspendDelayIfPossible(); - JSCompiler_inline_result$jscomp$4 = - retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else { - var treeContext = prevState$jscomp$0.treeContext; - nextHydratableInstance = getNextHydratable( - activityInstance$jscomp$0.nextSibling - ); - hydrationParentFiber = workInProgress; - isHydrating = !0; - hydrationErrors = null; - didSuspendOrErrorDEV = !1; - hydrationDiffRootDEV = null; - rootOrSingletonContext = !1; - null !== treeContext && - restoreSuspendedTreeContext(workInProgress, treeContext); - var primaryChildFragment = mountActivityChildren( - workInProgress, - nextProps$jscomp$1 - ); - primaryChildFragment.flags |= 4096; - JSCompiler_inline_result$jscomp$4 = primaryChildFragment; - } - } - JSCompiler_inline_result$jscomp$3 = - JSCompiler_inline_result$jscomp$4; - } else { - var currentChild = current.child, - offscreenChildProps = { - mode: nextProps$jscomp$1.mode, - children: nextProps$jscomp$1.children - }; - 0 !== (renderLanes & 536870912) && - 0 !== (renderLanes & current.lanes) && - markRenderDerivedCause(workInProgress); - var primaryChildFragment$jscomp$0 = createWorkInProgress( - currentChild, - offscreenChildProps - ); - primaryChildFragment$jscomp$0.ref = workInProgress.ref; - workInProgress.child = primaryChildFragment$jscomp$0; - primaryChildFragment$jscomp$0.return = workInProgress; - JSCompiler_inline_result$jscomp$3 = primaryChildFragment$jscomp$0; - } - } - return JSCompiler_inline_result$jscomp$3; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -12679,88 +12666,88 @@ workInProgress.pendingProps ); case 24: - prepareToReadContext(workInProgress); - var parentCache = readContext(CacheContext); - if (null === current) { - var cacheFromPool = peekCacheFromPool(); - if (null !== cacheFromPool) var freshCache = cacheFromPool; - else { - var root$jscomp$0 = workInProgressRoot, - freshCache$jscomp$0 = createCache(); - root$jscomp$0.pooledCache = freshCache$jscomp$0; - retainCache(freshCache$jscomp$0); - null !== freshCache$jscomp$0 && - (root$jscomp$0.pooledCacheLanes |= renderLanes); - freshCache = freshCache$jscomp$0; - } - workInProgress.memoizedState = { - parent: parentCache, - cache: freshCache - }; - initializeUpdateQueue(workInProgress); - pushProvider(workInProgress, CacheContext, freshCache); - } else { - 0 !== (current.lanes & renderLanes) && - (cloneUpdateQueue(current, workInProgress), - processUpdateQueue(workInProgress, null, null, renderLanes), - suspendIfUpdateReadFromEntangledAsyncAction()); - var prevState$jscomp$1 = current.memoizedState, - nextState$jscomp$0 = workInProgress.memoizedState; - if (prevState$jscomp$1.parent !== parentCache) { - var derivedState = { parent: parentCache, cache: parentCache }; - workInProgress.memoizedState = derivedState; - 0 === workInProgress.lanes && - (workInProgress.memoizedState = - workInProgress.updateQueue.baseState = - derivedState); - pushProvider(workInProgress, CacheContext, parentCache); - } else { - var nextCache$jscomp$0 = nextState$jscomp$0.cache; - pushProvider(workInProgress, CacheContext, nextCache$jscomp$0); - nextCache$jscomp$0 !== prevState$jscomp$1.cache && - propagateContextChanges( - workInProgress, - [CacheContext], - renderLanes, - !0 - ); - } - } - reconcileChildren( - current, - workInProgress, - workInProgress.pendingProps.children, - renderLanes + return ( + prepareToReadContext(workInProgress), + (returnFiber = readContext(CacheContext)), + null === current + ? ((prevSibling = peekCacheFromPool()), + null === prevSibling && + ((prevSibling = workInProgressRoot), + (prevState = createCache()), + (prevSibling.pooledCache = prevState), + retainCache(prevState), + null !== prevState && + (prevSibling.pooledCacheLanes |= renderLanes), + (prevSibling = prevState)), + (workInProgress.memoizedState = { + parent: returnFiber, + cache: prevSibling + }), + initializeUpdateQueue(workInProgress), + pushProvider(workInProgress, CacheContext, prevSibling)) + : (0 !== (current.lanes & renderLanes) && + (cloneUpdateQueue(current, workInProgress), + processUpdateQueue(workInProgress, null, null, renderLanes), + suspendIfUpdateReadFromEntangledAsyncAction()), + (prevSibling = current.memoizedState), + (prevState = workInProgress.memoizedState), + prevSibling.parent !== returnFiber + ? ((prevSibling = { + parent: returnFiber, + cache: returnFiber + }), + (workInProgress.memoizedState = prevSibling), + 0 === workInProgress.lanes && + (workInProgress.memoizedState = + workInProgress.updateQueue.baseState = + prevSibling), + pushProvider(workInProgress, CacheContext, returnFiber)) + : ((returnFiber = prevState.cache), + pushProvider(workInProgress, CacheContext, returnFiber), + returnFiber !== prevSibling.cache && + propagateContextChanges( + workInProgress, + [CacheContext], + renderLanes, + !0 + ))), + reconcileChildren( + current, + workInProgress, + workInProgress.pendingProps.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 30: - var pendingProps = workInProgress.pendingProps; - null != pendingProps.name && "auto" !== pendingProps.name - ? (workInProgress.flags |= null === current ? 18882560 : 18874368) - : isHydrating && pushMaterializedTreeId(workInProgress); - if (void 0 !== pendingProps.className) { - var example = - "string" === typeof pendingProps.className - ? JSON.stringify(pendingProps.className) - : "{...}"; - didWarnAboutClassNameOnViewTransition[example] || - ((didWarnAboutClassNameOnViewTransition[example] = !0), - console.error( - ' doesn\'t accept a "className" prop. It has been renamed to "default".\n- \n+ ', - example, - example - )); - } - null !== current && current.memoizedProps.name !== pendingProps.name - ? (workInProgress.flags |= 4194816) - : markRef(current, workInProgress); - reconcileChildren( - current, - workInProgress, - pendingProps.children, - renderLanes + return ( + (returnFiber = workInProgress.pendingProps), + null != returnFiber.name && "auto" !== returnFiber.name + ? (workInProgress.flags |= null === current ? 18882560 : 18874368) + : isHydrating && pushMaterializedTreeId(workInProgress), + void 0 !== returnFiber.className && + ((prevSibling = + "string" === typeof returnFiber.className + ? JSON.stringify(returnFiber.className) + : "{...}"), + didWarnAboutClassNameOnViewTransition[prevSibling] || + ((didWarnAboutClassNameOnViewTransition[prevSibling] = !0), + console.error( + ' doesn\'t accept a "className" prop. It has been renamed to "default".\n- \n+ ', + prevSibling, + prevSibling + ))), + null !== current && current.memoizedProps.name !== returnFiber.name + ? (workInProgress.flags |= 4194816) + : markRef(current, workInProgress), + reconcileChildren( + current, + workInProgress, + returnFiber.children, + renderLanes + ), + workInProgress.child ); - return workInProgress.child; case 29: throw workInProgress.pendingProps; } @@ -31756,11 +31743,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-experimental-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-experimental-ac7820a9-20250811" !== 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.2.0-experimental-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-experimental-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -31797,10 +31784,10 @@ !(function () { var internals = { bundleType: 1, - version: "19.2.0-experimental-f1e70b5e-20250811", + version: "19.2.0-experimental-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-experimental-ac7820a9-20250811" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -32113,5 +32100,5 @@ } }; }; - exports.version = "19.2.0-experimental-f1e70b5e-20250811"; + exports.version = "19.2.0-experimental-ac7820a9-20250811"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js index 15fd3e219fb5d..0258aa06974c3 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js @@ -6752,6 +6752,14 @@ function updateOffscreenComponent( ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -6804,6 +6812,17 @@ function updateOffscreenComponent( reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } +function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; +} function deferHiddenOffscreenComponent( current, workInProgress, @@ -6848,6 +6867,110 @@ function retryActivityComponentWithoutHydrating( workInProgress.memoizedState = null; return current; } +function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + (current = nextHydratableInstance) + ? ((current = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (current = null !== current && "&" === current.data ? current : null), + null !== current && + ((workInProgress.memoizedState = { + dehydrated: current, + treeContext: + null !== treeContextProvider + ? { id: treeContextId, overflow: treeContextOverflow } + : null, + retryLane: 536870912, + hydrationErrors: null + }), + (renderLanes = createFiberFromDehydratedFragment(current)), + (renderLanes.return = workInProgress), + (workInProgress.child = renderLanes), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null))) + : (current = null); + if (null === current) throw throwOnHydrationMismatch(workInProgress); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + var prevState = current.memoizedState; + if (null !== prevState) { + var dehydrated = prevState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else throw Error(formatProdErrorMessage(558)); + else if ( + (didReceiveUpdate || + propagateParentContextChanges(current, workInProgress, renderLanes, !1), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((dehydrated = getBumpedLaneForHydration(nextProps, renderLanes)), + 0 !== dehydrated && dehydrated !== prevState.retryLane) + ) + throw ( + ((prevState.retryLane = dehydrated), + enqueueConcurrentRenderForLane(current, dehydrated), + scheduleUpdateOnFiber(nextProps, current, dehydrated), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = prevState.treeContext), + (nextHydratableInstance = getNextHydratable(dehydrated.nextSibling)), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + current = createWorkInProgress(current.child, { + mode: nextProps.mode, + children: nextProps.children + }); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; +} function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -7257,43 +7380,41 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { if (showFallback) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes - )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); if ("number" === typeof nextProps.unstable_expectedLoadTime) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextProps = mountSuspenseFallbackChildren( + mountSuspenseFallbackChildren( workInProgress, nextPrimaryChildren, nextFallbackChildren, renderLanes - )), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + ), + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); @@ -7351,7 +7472,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isSuspenseInstanceFallback(nextPrimaryChildren)) @@ -7446,31 +7567,31 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.return = workInProgress), (nextProps.sibling = nextPrimaryChildren), (workInProgress.child = nextProps), - (nextProps = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (showFallback = current.child.memoizedState), - null === showFallback - ? (showFallback = mountSuspenseOffscreenState(renderLanes)) - : ((nextFallbackChildren = showFallback.cachePool), - null !== nextFallbackChildren - ? ((digest = CacheContext._currentValue), - (nextFallbackChildren = - nextFallbackChildren.parent !== digest - ? { parent: digest, pool: digest } - : nextFallbackChildren)) - : (nextFallbackChildren = getSuspendedCache()), - (showFallback = { - baseLanes: showFallback.baseLanes | renderLanes, - cachePool: nextFallbackChildren + bailoutOffscreenComponent(null, nextProps), + (nextProps = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((showFallback = nextPrimaryChildren.cachePool), + null !== showFallback + ? ((nextFallbackChildren = CacheContext._currentValue), + (showFallback = + showFallback.parent !== nextFallbackChildren + ? { parent: nextFallbackChildren, pool: nextFallbackChildren } + : showFallback)) + : (showFallback = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: showFallback })), - (nextPrimaryChildren.memoizedState = showFallback), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + (nextProps.memoizedState = nextPrimaryChildren), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(current.child, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; @@ -7524,12 +7645,6 @@ function mountSuspenseFallbackChildren( function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiberImplClass(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -8215,114 +8330,7 @@ function beginWork(current, workInProgress, renderLanes) { case 19: return updateSuspenseListComponent(current, workInProgress, renderLanes); case 31: - $$typeof = workInProgress.pendingProps; - nextState = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === $$typeof.mode) - mountActivityChildren(workInProgress, $$typeof); - else if ( - (pushDehydratedActivitySuspenseHandler(workInProgress), - (renderLanes = nextHydratableInstance) - ? ((renderLanes = canHydrateHydrationBoundary( - renderLanes, - rootOrSingletonContext - )), - (renderLanes = - null !== renderLanes && "&" === renderLanes.data - ? renderLanes - : null), - null !== renderLanes && - ((workInProgress.memoizedState = { - dehydrated: renderLanes, - treeContext: - null !== treeContextProvider - ? { id: treeContextId, overflow: treeContextOverflow } - : null, - retryLane: 536870912, - hydrationErrors: null - }), - (current = createFiberFromDehydratedFragment(renderLanes)), - (current.return = workInProgress), - (workInProgress.child = current), - (hydrationParentFiber = workInProgress), - (nextHydratableInstance = null))) - : (renderLanes = null), - null === renderLanes) - ) - throw throwOnHydrationMismatch(workInProgress); - workInProgress.lanes = 536870912; - workInProgress = null; - } else workInProgress = mountActivityChildren(workInProgress, $$typeof); - else if (((props = current.memoizedState), null !== props)) - if ( - ((prevState = props.dehydrated), - pushDehydratedActivitySuspenseHandler(workInProgress), - nextState) - ) - if (workInProgress.flags & 256) - (workInProgress.flags &= -257), - (workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - )); - else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null); - else throw Error(formatProdErrorMessage(558)); - else if ( - (didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ), - (nextState = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || nextState) - ) { - $$typeof = workInProgressRoot; - if ( - null !== $$typeof && - ((prevState = getBumpedLaneForHydration($$typeof, renderLanes)), - 0 !== prevState && prevState !== props.retryLane) - ) - throw ( - ((props.retryLane = prevState), - enqueueConcurrentRenderForLane(current, prevState), - scheduleUpdateOnFiber($$typeof, current, prevState), - SelectiveHydrationException) - ); - renderDidSuspendDelayIfPossible(); - workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else - (renderLanes = props.treeContext), - (nextHydratableInstance = getNextHydratable(prevState.nextSibling)), - (hydrationParentFiber = workInProgress), - (isHydrating = !0), - (hydrationErrors = null), - (rootOrSingletonContext = !1), - null !== renderLanes && - restoreSuspendedTreeContext(workInProgress, renderLanes), - (workInProgress = mountActivityChildren(workInProgress, $$typeof)), - (workInProgress.flags |= 4096); - else - (renderLanes = createWorkInProgress(current.child, { - mode: $$typeof.mode, - children: $$typeof.children - })), - (renderLanes.ref = workInProgress.ref), - (workInProgress.child = renderLanes), - (renderLanes.return = workInProgress), - (workInProgress = renderLanes); - return workInProgress; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -14731,20 +14739,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1808 = 0; - i$jscomp$inline_1808 < simpleEventPluginEvents.length; - i$jscomp$inline_1808++ + var i$jscomp$inline_1806 = 0; + i$jscomp$inline_1806 < simpleEventPluginEvents.length; + i$jscomp$inline_1806++ ) { - var eventName$jscomp$inline_1809 = - simpleEventPluginEvents[i$jscomp$inline_1808], - domEventName$jscomp$inline_1810 = - eventName$jscomp$inline_1809.toLowerCase(), - capitalizedEvent$jscomp$inline_1811 = - eventName$jscomp$inline_1809[0].toUpperCase() + - eventName$jscomp$inline_1809.slice(1); + var eventName$jscomp$inline_1807 = + simpleEventPluginEvents[i$jscomp$inline_1806], + domEventName$jscomp$inline_1808 = + eventName$jscomp$inline_1807.toLowerCase(), + capitalizedEvent$jscomp$inline_1809 = + eventName$jscomp$inline_1807[0].toUpperCase() + + eventName$jscomp$inline_1807.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1810, - "on" + capitalizedEvent$jscomp$inline_1811 + domEventName$jscomp$inline_1808, + "on" + capitalizedEvent$jscomp$inline_1809 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -19545,16 +19553,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_2196 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2194 = React.version; if ( - "19.2.0-experimental-f1e70b5e-20250811" !== - isomorphicReactPackageVersion$jscomp$inline_2196 + "19.2.0-experimental-ac7820a9-20250811" !== + isomorphicReactPackageVersion$jscomp$inline_2194 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2196, - "19.2.0-experimental-f1e70b5e-20250811" + isomorphicReactPackageVersion$jscomp$inline_2194, + "19.2.0-experimental-ac7820a9-20250811" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -19574,24 +19582,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2886 = { +var internals$jscomp$inline_2894 = { bundleType: 0, - version: "19.2.0-experimental-f1e70b5e-20250811", + version: "19.2.0-experimental-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-experimental-ac7820a9-20250811" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2887 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2895 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2887.isDisabled && - hook$jscomp$inline_2887.supportsFiber + !hook$jscomp$inline_2895.isDisabled && + hook$jscomp$inline_2895.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2887.inject( - internals$jscomp$inline_2886 + (rendererID = hook$jscomp$inline_2895.inject( + internals$jscomp$inline_2894 )), - (injectedHook = hook$jscomp$inline_2887); + (injectedHook = hook$jscomp$inline_2895); } catch (err) {} } exports.createComponentSelector = function (component) { @@ -19837,4 +19845,4 @@ exports.observeVisibleRects = function ( } }; }; -exports.version = "19.2.0-experimental-f1e70b5e-20250811"; +exports.version = "19.2.0-experimental-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js index 458064872167b..39926186aed81 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js @@ -416,7 +416,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-experimental-f1e70b5e-20250811"; + exports.version = "19.2.0-experimental-ac7820a9-20250811"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js index 790c24831a250..d76e2029df2fa 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js @@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-experimental-f1e70b5e-20250811"; +exports.version = "19.2.0-experimental-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js index aa3d12ff4c242..c89d28df5f60a 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js @@ -336,5 +336,5 @@ })) : Internals.d.m(href)); }; - exports.version = "19.2.0-experimental-f1e70b5e-20250811"; + exports.version = "19.2.0-experimental-ac7820a9-20250811"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js index e46af28d30634..84f4f7670cbe1 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js @@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) { }); } else Internals.d.m(href); }; -exports.version = "19.2.0-experimental-f1e70b5e-20250811"; +exports.version = "19.2.0-experimental-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom-experimental/package.json b/packages/next/src/compiled/react-dom-experimental/package.json index 1379811f00d72..4fa14596cc2a1 100644 --- a/packages/next/src/compiled/react-dom-experimental/package.json +++ b/packages/next/src/compiled/react-dom-experimental/package.json @@ -72,10 +72,10 @@ "./package.json": "./package.json" }, "dependencies": { - "scheduler": "0.0.0-experimental-f1e70b5e-20250811" + "scheduler": "0.0.0-experimental-ac7820a9-20250811" }, "peerDependencies": { - "react": "0.0.0-experimental-f1e70b5e-20250811" + "react": "0.0.0-experimental-ac7820a9-20250811" }, "browser": { "./server.js": "./server.browser.js", diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js index 37a4555d9dd88..0dc19ce415e1b 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js @@ -8926,6 +8926,14 @@ ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -8982,6 +8990,17 @@ reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } + function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; + } function deferHiddenOffscreenComponent( current, workInProgress, @@ -9043,6 +9062,135 @@ workInProgress.memoizedState = null; return current; } + function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + if ((current = nextHydratableInstance)) { + if ( + ((renderLanes = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (renderLanes = + null !== renderLanes && renderLanes.data === ACTIVITY_START_DATA + ? renderLanes + : null), + null !== renderLanes) + ) { + var activityState = { + dehydrated: renderLanes, + treeContext: getSuspendedTreeContext(), + retryLane: 536870912, + hydrationErrors: null + }; + workInProgress.memoizedState = activityState; + activityState = createFiberFromDehydratedFragment(renderLanes); + activityState.return = workInProgress; + workInProgress.child = activityState; + hydrationParentFiber = workInProgress; + nextHydratableInstance = null; + } + } else renderLanes = null; + if (null === renderLanes) + throw ( + (warnNonHydratedInstance(workInProgress, current), + throwOnHydrationMismatch(workInProgress)) + ); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + activityState = current.memoizedState; + if (null !== activityState) { + var activityInstance = activityState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else + throw Error( + "Client rendering an Activity suspended it again. This is a bug in React." + ); + else if ( + (warnIfHydrating(), + didReceiveUpdate || + propagateParentContextChanges( + current, + workInProgress, + renderLanes, + !1 + ), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((activityInstance = getBumpedLaneForHydration( + nextProps, + renderLanes + )), + 0 !== activityInstance && + activityInstance !== activityState.retryLane) + ) + throw ( + ((activityState.retryLane = activityInstance), + enqueueConcurrentRenderForLane(current, activityInstance), + scheduleUpdateOnFiber(nextProps, current, activityInstance), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = activityState.treeContext), + (nextHydratableInstance = getNextHydratable( + activityInstance.nextSibling + )), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (didSuspendOrErrorDEV = !1), + (hydrationDiffRootDEV = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + current = createWorkInProgress(current.child, { + mode: nextProps.mode, + children: nextProps.children + }); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; + } function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -9747,24 +9895,24 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2552; - var JSCompiler_object_inline_stack_2553 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2532; + var JSCompiler_object_inline_stack_2533 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2551 = !1; + var JSCompiler_object_inline_message_2531 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2552 = didSuspend) || - (JSCompiler_object_inline_digest_2552 = + (JSCompiler_object_inline_digest_2532 = didSuspend) || + (JSCompiler_object_inline_digest_2532 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2552 && - ((JSCompiler_object_inline_message_2551 = !0), + JSCompiler_object_inline_digest_2532 && + ((JSCompiler_object_inline_message_2531 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2552 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2532 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2551 + JSCompiler_object_inline_message_2531 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); (current = nextHydratableInstance) @@ -9777,18 +9925,18 @@ ? renderLanes : null), null !== renderLanes && - ((JSCompiler_object_inline_digest_2552 = { + ((JSCompiler_object_inline_digest_2532 = { dehydrated: renderLanes, treeContext: getSuspendedTreeContext(), retryLane: 536870912, hydrationErrors: null }), (workInProgress.memoizedState = - JSCompiler_object_inline_digest_2552), - (JSCompiler_object_inline_digest_2552 = + JSCompiler_object_inline_digest_2532), + (JSCompiler_object_inline_digest_2532 = createFiberFromDehydratedFragment(renderLanes)), - (JSCompiler_object_inline_digest_2552.return = workInProgress), - (workInProgress.child = JSCompiler_object_inline_digest_2552), + (JSCompiler_object_inline_digest_2532.return = workInProgress), + (workInProgress.child = JSCompiler_object_inline_digest_2532), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null))) : (renderLanes = null); @@ -9802,36 +9950,40 @@ : (workInProgress.lanes = 536870912); return null; } - var nextPrimaryChildren = JSCompiler_object_inline_stack_2553.children; - JSCompiler_object_inline_stack_2553 = - JSCompiler_object_inline_stack_2553.fallback; - if (JSCompiler_object_inline_message_2551) { + var nextPrimaryChildren = JSCompiler_object_inline_stack_2533.children; + JSCompiler_object_inline_stack_2533 = + JSCompiler_object_inline_stack_2533.fallback; + if (JSCompiler_object_inline_message_2531) { reuseSuspenseHandlerOnStack(workInProgress); var mode = workInProgress.mode; nextPrimaryChildren = mountWorkInProgressOffscreenFiber( { mode: "hidden", children: nextPrimaryChildren }, mode ); - JSCompiler_object_inline_stack_2553 = createFiberFromFragment( - JSCompiler_object_inline_stack_2553, + JSCompiler_object_inline_stack_2533 = createFiberFromFragment( + JSCompiler_object_inline_stack_2533, mode, renderLanes, null ); nextPrimaryChildren.return = workInProgress; - JSCompiler_object_inline_stack_2553.return = workInProgress; - nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2553; + JSCompiler_object_inline_stack_2533.return = workInProgress; + nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2533; workInProgress.child = nextPrimaryChildren; - nextPrimaryChildren = workInProgress.child; - nextPrimaryChildren.memoizedState = + JSCompiler_object_inline_stack_2533 = workInProgress.child; + JSCompiler_object_inline_stack_2533.memoizedState = mountSuspenseOffscreenState(renderLanes); - nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_digest_2552, - renderLanes - ); + JSCompiler_object_inline_stack_2533.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_digest_2532, + renderLanes + ); workInProgress.memoizedState = SUSPENDED_MARKER; - return JSCompiler_object_inline_stack_2553; + return bailoutOffscreenComponent( + null, + JSCompiler_object_inline_stack_2533 + ); } pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -9841,8 +9993,8 @@ } var prevState = current.memoizedState; if (null !== prevState) { - var JSCompiler_object_inline_componentStack_2554 = prevState.dehydrated; - if (null !== JSCompiler_object_inline_componentStack_2554) { + var JSCompiler_object_inline_componentStack_2534 = prevState.dehydrated; + if (null !== JSCompiler_object_inline_componentStack_2534) { if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -9859,13 +10011,13 @@ (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), (nextPrimaryChildren = - JSCompiler_object_inline_stack_2553.fallback), + JSCompiler_object_inline_stack_2533.fallback), (mode = workInProgress.mode), - (JSCompiler_object_inline_stack_2553 = + (JSCompiler_object_inline_stack_2533 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2553.children + children: JSCompiler_object_inline_stack_2533.children }, mode )), @@ -9876,71 +10028,74 @@ null )), (nextPrimaryChildren.flags |= 2), - (JSCompiler_object_inline_stack_2553.return = workInProgress), + (JSCompiler_object_inline_stack_2533.return = workInProgress), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_2553.sibling = + (JSCompiler_object_inline_stack_2533.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_2553), + (workInProgress.child = JSCompiler_object_inline_stack_2533), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2553 = workInProgress.child), - (JSCompiler_object_inline_stack_2553.memoizedState = + (JSCompiler_object_inline_stack_2533 = workInProgress.child), + (JSCompiler_object_inline_stack_2533.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2553.childLanes = + (JSCompiler_object_inline_stack_2533.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2552, + JSCompiler_object_inline_digest_2532, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent( + null, + JSCompiler_object_inline_stack_2533 + ))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), warnIfHydrating(), isSuspenseInstanceFallback( - JSCompiler_object_inline_componentStack_2554 + JSCompiler_object_inline_componentStack_2534 )) ) { - JSCompiler_object_inline_digest_2552 = - JSCompiler_object_inline_componentStack_2554.nextSibling && - JSCompiler_object_inline_componentStack_2554.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2552) { - nextPrimaryChildren = JSCompiler_object_inline_digest_2552.dgst; - var message = JSCompiler_object_inline_digest_2552.msg; - mode = JSCompiler_object_inline_digest_2552.stck; - var componentStack = JSCompiler_object_inline_digest_2552.cstck; + JSCompiler_object_inline_digest_2532 = + JSCompiler_object_inline_componentStack_2534.nextSibling && + JSCompiler_object_inline_componentStack_2534.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2532) { + nextPrimaryChildren = JSCompiler_object_inline_digest_2532.dgst; + var message = JSCompiler_object_inline_digest_2532.msg; + mode = JSCompiler_object_inline_digest_2532.stck; + var componentStack = JSCompiler_object_inline_digest_2532.cstck; } - JSCompiler_object_inline_message_2551 = message; - JSCompiler_object_inline_digest_2552 = nextPrimaryChildren; - JSCompiler_object_inline_stack_2553 = mode; - JSCompiler_object_inline_componentStack_2554 = componentStack; - nextPrimaryChildren = JSCompiler_object_inline_message_2551; - mode = JSCompiler_object_inline_componentStack_2554; + JSCompiler_object_inline_message_2531 = message; + JSCompiler_object_inline_digest_2532 = nextPrimaryChildren; + JSCompiler_object_inline_stack_2533 = mode; + JSCompiler_object_inline_componentStack_2534 = componentStack; + nextPrimaryChildren = JSCompiler_object_inline_message_2531; + mode = JSCompiler_object_inline_componentStack_2534; nextPrimaryChildren = nextPrimaryChildren ? Error(nextPrimaryChildren) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); nextPrimaryChildren.stack = - JSCompiler_object_inline_stack_2553 || ""; - nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2552; - JSCompiler_object_inline_digest_2552 = + JSCompiler_object_inline_stack_2533 || ""; + nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2532; + JSCompiler_object_inline_digest_2532 = void 0 === mode ? null : mode; - JSCompiler_object_inline_stack_2553 = { + JSCompiler_object_inline_stack_2533 = { value: nextPrimaryChildren, source: null, - stack: JSCompiler_object_inline_digest_2552 + stack: JSCompiler_object_inline_digest_2532 }; - "string" === typeof JSCompiler_object_inline_digest_2552 && + "string" === typeof JSCompiler_object_inline_digest_2532 && CapturedStacks.set( nextPrimaryChildren, - JSCompiler_object_inline_stack_2553 + JSCompiler_object_inline_stack_2533 ); - queueHydrationError(JSCompiler_object_inline_stack_2553); + queueHydrationError(JSCompiler_object_inline_stack_2533); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9954,35 +10109,35 @@ renderLanes, !1 ), - (JSCompiler_object_inline_digest_2552 = + (JSCompiler_object_inline_digest_2532 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2552) + didReceiveUpdate || JSCompiler_object_inline_digest_2532) ) { - JSCompiler_object_inline_digest_2552 = workInProgressRoot; + JSCompiler_object_inline_digest_2532 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2552 && - ((JSCompiler_object_inline_stack_2553 = getBumpedLaneForHydration( - JSCompiler_object_inline_digest_2552, + null !== JSCompiler_object_inline_digest_2532 && + ((JSCompiler_object_inline_stack_2533 = getBumpedLaneForHydration( + JSCompiler_object_inline_digest_2532, renderLanes )), - 0 !== JSCompiler_object_inline_stack_2553 && - JSCompiler_object_inline_stack_2553 !== prevState.retryLane) + 0 !== JSCompiler_object_inline_stack_2533 && + JSCompiler_object_inline_stack_2533 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2553), + ((prevState.retryLane = JSCompiler_object_inline_stack_2533), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2553 + JSCompiler_object_inline_stack_2533 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2552, + JSCompiler_object_inline_digest_2532, current, - JSCompiler_object_inline_stack_2553 + JSCompiler_object_inline_stack_2533 ), SelectiveHydrationException) ); isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_2554 + JSCompiler_object_inline_componentStack_2534 ) || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9991,14 +10146,14 @@ ); } else isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_2554 + JSCompiler_object_inline_componentStack_2534 ) ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_componentStack_2554.nextSibling + JSCompiler_object_inline_componentStack_2534.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -10010,32 +10165,32 @@ restoreSuspendedTreeContext(workInProgress, current), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2553.children + JSCompiler_object_inline_stack_2533.children )), (workInProgress.flags |= 4096)); return workInProgress; } } - if (JSCompiler_object_inline_message_2551) + if (JSCompiler_object_inline_message_2531) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = JSCompiler_object_inline_stack_2553.fallback), + (nextPrimaryChildren = JSCompiler_object_inline_stack_2533.fallback), (mode = workInProgress.mode), (componentStack = current.child), - (JSCompiler_object_inline_componentStack_2554 = + (JSCompiler_object_inline_componentStack_2534 = componentStack.sibling), - (JSCompiler_object_inline_stack_2553 = createWorkInProgress( + (JSCompiler_object_inline_stack_2533 = createWorkInProgress( componentStack, { mode: "hidden", - children: JSCompiler_object_inline_stack_2553.children + children: JSCompiler_object_inline_stack_2533.children } )), - (JSCompiler_object_inline_stack_2553.subtreeFlags = + (JSCompiler_object_inline_stack_2533.subtreeFlags = componentStack.subtreeFlags & 65011712), - null !== JSCompiler_object_inline_componentStack_2554 + null !== JSCompiler_object_inline_componentStack_2534 ? (nextPrimaryChildren = createWorkInProgress( - JSCompiler_object_inline_componentStack_2554, + JSCompiler_object_inline_componentStack_2534, nextPrimaryChildren )) : ((nextPrimaryChildren = createFiberFromFragment( @@ -10046,55 +10201,55 @@ )), (nextPrimaryChildren.flags |= 2)), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_2553.return = workInProgress), - (JSCompiler_object_inline_stack_2553.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_2553), - (JSCompiler_object_inline_stack_2553 = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (mode = current.child.memoizedState), - null === mode - ? (mode = mountSuspenseOffscreenState(renderLanes)) - : ((componentStack = mode.cachePool), - null !== componentStack - ? ((JSCompiler_object_inline_componentStack_2554 = - CacheContext._currentValue), - (componentStack = - componentStack.parent !== - JSCompiler_object_inline_componentStack_2554 - ? { - parent: JSCompiler_object_inline_componentStack_2554, - pool: JSCompiler_object_inline_componentStack_2554 - } - : componentStack)) - : (componentStack = getSuspendedCache()), - (mode = { - baseLanes: mode.baseLanes | renderLanes, - cachePool: componentStack + (JSCompiler_object_inline_stack_2533.return = workInProgress), + (JSCompiler_object_inline_stack_2533.sibling = nextPrimaryChildren), + (workInProgress.child = JSCompiler_object_inline_stack_2533), + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2533), + (JSCompiler_object_inline_stack_2533 = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((mode = nextPrimaryChildren.cachePool), + null !== mode + ? ((componentStack = CacheContext._currentValue), + (mode = + mode.parent !== componentStack + ? { parent: componentStack, pool: componentStack } + : mode)) + : (mode = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: mode })), - (nextPrimaryChildren.memoizedState = mode), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_digest_2552, - renderLanes - )), + (JSCompiler_object_inline_stack_2533.memoizedState = + nextPrimaryChildren), + (JSCompiler_object_inline_stack_2533.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_digest_2532, + renderLanes + )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2553 + bailoutOffscreenComponent( + current.child, + JSCompiler_object_inline_stack_2533 + ) ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2553.children + children: JSCompiler_object_inline_stack_2533.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2552 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2552 + ((JSCompiler_object_inline_digest_2532 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2532 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2552.push(current)); + : JSCompiler_object_inline_digest_2532.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -10110,12 +10265,6 @@ function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: OffscreenVisible, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -11155,136 +11304,7 @@ renderLanes ); case 31: - prevSibling = workInProgress.pendingProps; - nextState = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === prevSibling.mode) - mountActivityChildren(workInProgress, prevSibling); - else if ( - (pushDehydratedActivitySuspenseHandler(workInProgress), - (renderLanes = nextHydratableInstance) - ? ((current = canHydrateHydrationBoundary( - renderLanes, - rootOrSingletonContext - )), - (current = - null !== current && current.data === ACTIVITY_START_DATA - ? current - : null), - null !== current && - ((returnFiber = { - dehydrated: current, - treeContext: getSuspendedTreeContext(), - retryLane: 536870912, - hydrationErrors: null - }), - (workInProgress.memoizedState = returnFiber), - (returnFiber = - createFiberFromDehydratedFragment(current)), - (returnFiber.return = workInProgress), - (workInProgress.child = returnFiber), - (hydrationParentFiber = workInProgress), - (nextHydratableInstance = null))) - : (current = null), - null === current) - ) - throw ( - (warnNonHydratedInstance(workInProgress, renderLanes), - throwOnHydrationMismatch(workInProgress)) - ); - workInProgress.lanes = 536870912; - workInProgress = null; - } else - workInProgress = mountActivityChildren( - workInProgress, - prevSibling - ); - else if ( - ((returnFiber = current.memoizedState), null !== returnFiber) - ) - if ( - ((prevState = returnFiber.dehydrated), - pushDehydratedActivitySuspenseHandler(workInProgress), - nextState) - ) - if (workInProgress.flags & 256) - (workInProgress.flags &= -257), - (workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - )); - else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null); - else - throw Error( - "Client rendering an Activity suspended it again. This is a bug in React." - ); - else if ( - (warnIfHydrating(), - didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ), - (nextState = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || nextState) - ) { - prevSibling = workInProgressRoot; - if ( - null !== prevSibling && - ((prevState = getBumpedLaneForHydration( - prevSibling, - renderLanes - )), - 0 !== prevState && prevState !== returnFiber.retryLane) - ) - throw ( - ((returnFiber.retryLane = prevState), - enqueueConcurrentRenderForLane(current, prevState), - scheduleUpdateOnFiber(prevSibling, current, prevState), - SelectiveHydrationException) - ); - renderDidSuspendDelayIfPossible(); - workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else - (renderLanes = returnFiber.treeContext), - (nextHydratableInstance = getNextHydratable( - prevState.nextSibling - )), - (hydrationParentFiber = workInProgress), - (isHydrating = !0), - (hydrationErrors = null), - (didSuspendOrErrorDEV = !1), - (hydrationDiffRootDEV = null), - (rootOrSingletonContext = !1), - null !== renderLanes && - restoreSuspendedTreeContext(workInProgress, renderLanes), - (workInProgress = mountActivityChildren( - workInProgress, - prevSibling - )), - (workInProgress.flags |= 4096); - else - (renderLanes = createWorkInProgress(current.child, { - mode: prevSibling.mode, - children: prevSibling.children - })), - (renderLanes.ref = workInProgress.ref), - (workInProgress.child = renderLanes), - (renderLanes.return = workInProgress), - (workInProgress = renderLanes); - return workInProgress; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -25536,11 +25556,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-ac7820a9-20250811" !== 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.2.0-canary-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25577,10 +25597,10 @@ !(function () { var internals = { bundleType: 1, - version: "19.2.0-canary-f1e70b5e-20250811", + version: "19.2.0-canary-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-canary-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-canary-ac7820a9-20250811" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25718,7 +25738,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.2.0-canary-f1e70b5e-20250811"; + exports.version = "19.2.0-canary-ac7820a9-20250811"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js index 657334c7e6453..69ea75549f40f 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js @@ -2048,19 +2048,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) { } var isInputEventSupported = !1; if (canUseDOM) { - var JSCompiler_inline_result$jscomp$283; + var JSCompiler_inline_result$jscomp$284; if (canUseDOM) { - var isSupported$jscomp$inline_428 = "oninput" in document; - if (!isSupported$jscomp$inline_428) { - var element$jscomp$inline_429 = document.createElement("div"); - element$jscomp$inline_429.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_428 = - "function" === typeof element$jscomp$inline_429.oninput; + var isSupported$jscomp$inline_427 = "oninput" in document; + if (!isSupported$jscomp$inline_427) { + var element$jscomp$inline_428 = document.createElement("div"); + element$jscomp$inline_428.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_427 = + "function" === typeof element$jscomp$inline_428.oninput; } - JSCompiler_inline_result$jscomp$283 = isSupported$jscomp$inline_428; - } else JSCompiler_inline_result$jscomp$283 = !1; + JSCompiler_inline_result$jscomp$284 = isSupported$jscomp$inline_427; + } else JSCompiler_inline_result$jscomp$284 = !1; isInputEventSupported = - JSCompiler_inline_result$jscomp$283 && + JSCompiler_inline_result$jscomp$284 && (!document.documentMode || 9 < document.documentMode); } function stopWatchingForValueChange() { @@ -6210,6 +6210,14 @@ function updateOffscreenComponent( ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -6262,6 +6270,17 @@ function updateOffscreenComponent( reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } +function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; +} function deferHiddenOffscreenComponent( current, workInProgress, @@ -6306,6 +6325,110 @@ function retryActivityComponentWithoutHydrating( workInProgress.memoizedState = null; return current; } +function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + (current = nextHydratableInstance) + ? ((current = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (current = null !== current && "&" === current.data ? current : null), + null !== current && + ((workInProgress.memoizedState = { + dehydrated: current, + treeContext: + null !== treeContextProvider + ? { id: treeContextId, overflow: treeContextOverflow } + : null, + retryLane: 536870912, + hydrationErrors: null + }), + (renderLanes = createFiberFromDehydratedFragment(current)), + (renderLanes.return = workInProgress), + (workInProgress.child = renderLanes), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null))) + : (current = null); + if (null === current) throw throwOnHydrationMismatch(workInProgress); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + var prevState = current.memoizedState; + if (null !== prevState) { + var dehydrated = prevState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else throw Error(formatProdErrorMessage(558)); + else if ( + (didReceiveUpdate || + propagateParentContextChanges(current, workInProgress, renderLanes, !1), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((dehydrated = getBumpedLaneForHydration(nextProps, renderLanes)), + 0 !== dehydrated && dehydrated !== prevState.retryLane) + ) + throw ( + ((prevState.retryLane = dehydrated), + enqueueConcurrentRenderForLane(current, dehydrated), + scheduleUpdateOnFiber(nextProps, current, dehydrated), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = prevState.treeContext), + (nextHydratableInstance = getNextHydratable(dehydrated.nextSibling)), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + current = createWorkInProgress(current.child, { + mode: nextProps.mode, + children: nextProps.children + }); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; +} function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -6730,16 +6853,15 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.return = workInProgress), (nextPrimaryChildren.sibling = nextProps), (workInProgress.child = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); @@ -6796,7 +6918,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isSuspenseInstanceFallback(nextPrimaryChildren)) @@ -6890,31 +7012,31 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.return = workInProgress), (nextProps.sibling = nextPrimaryChildren), (workInProgress.child = nextProps), - (nextProps = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (showFallback = current.child.memoizedState), - null === showFallback - ? (showFallback = mountSuspenseOffscreenState(renderLanes)) - : ((prevState = showFallback.cachePool), - null !== prevState - ? ((digest = CacheContext._currentValue), - (prevState = - prevState.parent !== digest - ? { parent: digest, pool: digest } - : prevState)) - : (prevState = getSuspendedCache()), - (showFallback = { - baseLanes: showFallback.baseLanes | renderLanes, - cachePool: prevState + bailoutOffscreenComponent(null, nextProps), + (nextProps = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((showFallback = nextPrimaryChildren.cachePool), + null !== showFallback + ? ((prevState = CacheContext._currentValue), + (showFallback = + showFallback.parent !== prevState + ? { parent: prevState, pool: prevState } + : showFallback)) + : (showFallback = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: showFallback })), - (nextPrimaryChildren.memoizedState = showFallback), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + (nextProps.memoizedState = nextPrimaryChildren), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(current.child, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; @@ -6945,12 +7067,6 @@ function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiberImplClass(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -7166,9 +7282,9 @@ function attemptEarlyBailoutIfNoScheduledUpdate( ); break; case 13: - var state$100 = workInProgress.memoizedState; - if (null !== state$100) { - if (null !== state$100.dehydrated) + var state$101 = workInProgress.memoizedState; + if (null !== state$101) { + if (null !== state$101.dehydrated) return ( pushPrimaryTreeSuspenseHandler(workInProgress), (workInProgress.flags |= 128), @@ -7188,17 +7304,17 @@ function attemptEarlyBailoutIfNoScheduledUpdate( break; case 19: var didSuspendBefore = 0 !== (current.flags & 128); - state$100 = 0 !== (renderLanes & workInProgress.childLanes); - state$100 || + state$101 = 0 !== (renderLanes & workInProgress.childLanes); + state$101 || (propagateParentContextChanges( current, workInProgress, renderLanes, !1 ), - (state$100 = 0 !== (renderLanes & workInProgress.childLanes))); + (state$101 = 0 !== (renderLanes & workInProgress.childLanes))); if (didSuspendBefore) { - if (state$100) + if (state$101) return updateSuspenseListComponent( current, workInProgress, @@ -7212,7 +7328,7 @@ function attemptEarlyBailoutIfNoScheduledUpdate( (didSuspendBefore.tail = null), (didSuspendBefore.lastEffect = null)); push(suspenseStackCursor, suspenseStackCursor.current); - if (state$100) break; + if (state$101) break; else return null; case 22: return ( @@ -7639,114 +7755,7 @@ function beginWork(current, workInProgress, renderLanes) { case 19: return updateSuspenseListComponent(current, workInProgress, renderLanes); case 31: - $$typeof = workInProgress.pendingProps; - nextState = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === $$typeof.mode) - mountActivityChildren(workInProgress, $$typeof); - else if ( - (pushDehydratedActivitySuspenseHandler(workInProgress), - (renderLanes = nextHydratableInstance) - ? ((renderLanes = canHydrateHydrationBoundary( - renderLanes, - rootOrSingletonContext - )), - (renderLanes = - null !== renderLanes && "&" === renderLanes.data - ? renderLanes - : null), - null !== renderLanes && - ((workInProgress.memoizedState = { - dehydrated: renderLanes, - treeContext: - null !== treeContextProvider - ? { id: treeContextId, overflow: treeContextOverflow } - : null, - retryLane: 536870912, - hydrationErrors: null - }), - (current = createFiberFromDehydratedFragment(renderLanes)), - (current.return = workInProgress), - (workInProgress.child = current), - (hydrationParentFiber = workInProgress), - (nextHydratableInstance = null))) - : (renderLanes = null), - null === renderLanes) - ) - throw throwOnHydrationMismatch(workInProgress); - workInProgress.lanes = 536870912; - workInProgress = null; - } else workInProgress = mountActivityChildren(workInProgress, $$typeof); - else if (((props = current.memoizedState), null !== props)) - if ( - ((prevState = props.dehydrated), - pushDehydratedActivitySuspenseHandler(workInProgress), - nextState) - ) - if (workInProgress.flags & 256) - (workInProgress.flags &= -257), - (workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - )); - else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null); - else throw Error(formatProdErrorMessage(558)); - else if ( - (didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ), - (nextState = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || nextState) - ) { - $$typeof = workInProgressRoot; - if ( - null !== $$typeof && - ((prevState = getBumpedLaneForHydration($$typeof, renderLanes)), - 0 !== prevState && prevState !== props.retryLane) - ) - throw ( - ((props.retryLane = prevState), - enqueueConcurrentRenderForLane(current, prevState), - scheduleUpdateOnFiber($$typeof, current, prevState), - SelectiveHydrationException) - ); - renderDidSuspendDelayIfPossible(); - workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else - (renderLanes = props.treeContext), - (nextHydratableInstance = getNextHydratable(prevState.nextSibling)), - (hydrationParentFiber = workInProgress), - (isHydrating = !0), - (hydrationErrors = null), - (rootOrSingletonContext = !1), - null !== renderLanes && - restoreSuspendedTreeContext(workInProgress, renderLanes), - (workInProgress = mountActivityChildren(workInProgress, $$typeof)), - (workInProgress.flags |= 4096); - else - (renderLanes = createWorkInProgress(current.child, { - mode: $$typeof.mode, - children: $$typeof.children - })), - (renderLanes.ref = workInProgress.ref), - (workInProgress.child = renderLanes), - (renderLanes.return = workInProgress), - (workInProgress = renderLanes); - return workInProgress; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -7865,14 +7874,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$104 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$104 = lastTailNode), + for (var lastTailNode$105 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$105 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$104 + null === lastTailNode$105 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$104.sibling = null); + : (lastTailNode$105.sibling = null); } } function bubbleProperties(completedWork) { @@ -7882,19 +7891,19 @@ function bubbleProperties(completedWork) { newChildLanes = 0, subtreeFlags = 0; if (didBailout) - for (var child$105 = completedWork.child; null !== child$105; ) - (newChildLanes |= child$105.lanes | child$105.childLanes), - (subtreeFlags |= child$105.subtreeFlags & 65011712), - (subtreeFlags |= child$105.flags & 65011712), - (child$105.return = completedWork), - (child$105 = child$105.sibling); + for (var child$106 = completedWork.child; null !== child$106; ) + (newChildLanes |= child$106.lanes | child$106.childLanes), + (subtreeFlags |= child$106.subtreeFlags & 65011712), + (subtreeFlags |= child$106.flags & 65011712), + (child$106.return = completedWork), + (child$106 = child$106.sibling); else - for (child$105 = completedWork.child; null !== child$105; ) - (newChildLanes |= child$105.lanes | child$105.childLanes), - (subtreeFlags |= child$105.subtreeFlags), - (subtreeFlags |= child$105.flags), - (child$105.return = completedWork), - (child$105 = child$105.sibling); + for (child$106 = completedWork.child; null !== child$106; ) + (newChildLanes |= child$106.lanes | child$106.childLanes), + (subtreeFlags |= child$106.subtreeFlags), + (subtreeFlags |= child$106.flags), + (child$106.return = completedWork), + (child$106 = child$106.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -8643,8 +8652,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { else if ("function" === typeof ref) try { ref(null); - } catch (error$138) { - captureCommitPhaseError(current, nearestMountedAncestor, error$138); + } catch (error$139) { + captureCommitPhaseError(current, nearestMountedAncestor, error$139); } else ref.current = null; } @@ -8969,11 +8978,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$137) { + } catch (error$138) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$137 + error$138 ); } } @@ -9796,20 +9805,20 @@ function commitReconciliationEffects(finishedWork) { insertOrAppendPlacementNode(finishedWork, before, parent); break; case 5: - var parent$139 = hostParentFiber.stateNode; + var parent$140 = hostParentFiber.stateNode; hostParentFiber.flags & 32 && - (setTextContent(parent$139, ""), (hostParentFiber.flags &= -33)); - var before$140 = getHostSibling(finishedWork); - insertOrAppendPlacementNode(finishedWork, before$140, parent$139); + (setTextContent(parent$140, ""), (hostParentFiber.flags &= -33)); + var before$141 = getHostSibling(finishedWork); + insertOrAppendPlacementNode(finishedWork, before$141, parent$140); break; case 3: case 4: - var parent$141 = hostParentFiber.stateNode.containerInfo, - before$142 = getHostSibling(finishedWork); + var parent$142 = hostParentFiber.stateNode.containerInfo, + before$143 = getHostSibling(finishedWork); insertOrAppendPlacementNodeIntoContainer( finishedWork, - before$142, - parent$141 + before$143, + parent$142 ); break; default: @@ -11029,8 +11038,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) { workLoopSync(); exitStatus = workInProgressRootExitStatus; break; - } catch (thrownValue$163) { - handleThrow(root, thrownValue$163); + } catch (thrownValue$164) { + handleThrow(root, thrownValue$164); } while (1); lanes && root.shellSuspendCounter++; @@ -11149,8 +11158,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrentByScheduler(); break; - } catch (thrownValue$165) { - handleThrow(root, thrownValue$165); + } catch (thrownValue$166) { + handleThrow(root, thrownValue$166); } while (1); lastContextDependency = currentlyRenderingFiber$1 = null; @@ -11786,14 +11795,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { isFlushingWork = !0; do { var didPerformSomeWork = !1; - for (var root$168 = firstScheduledRoot; null !== root$168; ) { + for (var root$169 = firstScheduledRoot; null !== root$169; ) { if (!onlyLegacy) if (0 !== syncTransitionLanes) { - var pendingLanes = root$168.pendingLanes; + var pendingLanes = root$169.pendingLanes; if (0 === pendingLanes) var JSCompiler_inline_result = 0; else { - var suspendedLanes = root$168.suspendedLanes, - pingedLanes = root$168.pingedLanes; + var suspendedLanes = root$169.suspendedLanes, + pingedLanes = root$169.pingedLanes; JSCompiler_inline_result = (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; JSCompiler_inline_result &= @@ -11807,20 +11816,20 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { } 0 !== JSCompiler_inline_result && ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$168, JSCompiler_inline_result)); + performSyncWorkOnRoot(root$169, JSCompiler_inline_result)); } else (JSCompiler_inline_result = workInProgressRootRenderLanes), (JSCompiler_inline_result = getNextLanes( - root$168, - root$168 === workInProgressRoot ? JSCompiler_inline_result : 0, - null !== root$168.cancelPendingCommit || - -1 !== root$168.timeoutHandle + root$169, + root$169 === workInProgressRoot ? JSCompiler_inline_result : 0, + null !== root$169.cancelPendingCommit || + -1 !== root$169.timeoutHandle )), 0 === (JSCompiler_inline_result & 3) || - checkIfRootIsPrerendering(root$168, JSCompiler_inline_result) || + checkIfRootIsPrerendering(root$169, JSCompiler_inline_result) || ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$168, JSCompiler_inline_result)); - root$168 = root$168.next; + performSyncWorkOnRoot(root$169, JSCompiler_inline_result)); + root$169 = root$169.next; } } while (didPerformSomeWork); isFlushingWork = !1; @@ -12064,20 +12073,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1576 = 0; - i$jscomp$inline_1576 < simpleEventPluginEvents.length; - i$jscomp$inline_1576++ + var i$jscomp$inline_1573 = 0; + i$jscomp$inline_1573 < simpleEventPluginEvents.length; + i$jscomp$inline_1573++ ) { - var eventName$jscomp$inline_1577 = - simpleEventPluginEvents[i$jscomp$inline_1576], - domEventName$jscomp$inline_1578 = - eventName$jscomp$inline_1577.toLowerCase(), - capitalizedEvent$jscomp$inline_1579 = - eventName$jscomp$inline_1577[0].toUpperCase() + - eventName$jscomp$inline_1577.slice(1); + var eventName$jscomp$inline_1574 = + simpleEventPluginEvents[i$jscomp$inline_1573], + domEventName$jscomp$inline_1575 = + eventName$jscomp$inline_1574.toLowerCase(), + capitalizedEvent$jscomp$inline_1576 = + eventName$jscomp$inline_1574[0].toUpperCase() + + eventName$jscomp$inline_1574.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1578, - "on" + capitalizedEvent$jscomp$inline_1579 + domEventName$jscomp$inline_1575, + "on" + capitalizedEvent$jscomp$inline_1576 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -13251,34 +13260,34 @@ function setInitialProperties(domElement, tag, props) { defaultChecked = null; for (hasSrc in props) if (props.hasOwnProperty(hasSrc)) { - var propValue$182 = props[hasSrc]; - if (null != propValue$182) + var propValue$183 = props[hasSrc]; + if (null != propValue$183) switch (hasSrc) { case "name": - hasSrcSet = propValue$182; + hasSrcSet = propValue$183; break; case "type": - propValue = propValue$182; + propValue = propValue$183; break; case "checked": - checked = propValue$182; + checked = propValue$183; break; case "defaultChecked": - defaultChecked = propValue$182; + defaultChecked = propValue$183; break; case "value": - propKey = propValue$182; + propKey = propValue$183; break; case "defaultValue": - defaultValue = propValue$182; + defaultValue = propValue$183; break; case "children": case "dangerouslySetInnerHTML": - if (null != propValue$182) + if (null != propValue$183) throw Error(formatProdErrorMessage(137, tag)); break; default: - setProp(domElement, tag, hasSrc, propValue$182, props, null); + setProp(domElement, tag, hasSrc, propValue$183, props, null); } } initInput( @@ -13415,14 +13424,14 @@ function setInitialProperties(domElement, tag, props) { return; default: if (isCustomElement(tag)) { - for (propValue$182 in props) - props.hasOwnProperty(propValue$182) && - ((hasSrc = props[propValue$182]), + for (propValue$183 in props) + props.hasOwnProperty(propValue$183) && + ((hasSrc = props[propValue$183]), void 0 !== hasSrc && setPropOnCustomElement( domElement, tag, - propValue$182, + propValue$183, hasSrc, props, void 0 @@ -13470,14 +13479,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp(domElement, tag, propKey, null, nextProps, lastProp); } } - for (var propKey$199 in nextProps) { - var propKey = nextProps[propKey$199]; - lastProp = lastProps[propKey$199]; + for (var propKey$200 in nextProps) { + var propKey = nextProps[propKey$200]; + lastProp = lastProps[propKey$200]; if ( - nextProps.hasOwnProperty(propKey$199) && + nextProps.hasOwnProperty(propKey$200) && (null != propKey || null != lastProp) ) - switch (propKey$199) { + switch (propKey$200) { case "type": type = propKey; break; @@ -13506,7 +13515,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$199, + propKey$200, propKey, nextProps, lastProp @@ -13525,7 +13534,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ); return; case "select": - propKey = value = defaultValue = propKey$199 = null; + propKey = value = defaultValue = propKey$200 = null; for (type in lastProps) if ( ((lastDefaultValue = lastProps[type]), @@ -13556,7 +13565,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (name) { case "value": - propKey$199 = type; + propKey$200 = type; break; case "defaultValue": defaultValue = type; @@ -13577,15 +13586,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) { tag = defaultValue; lastProps = value; nextProps = propKey; - null != propKey$199 - ? updateOptions(domElement, !!lastProps, propKey$199, !1) + null != propKey$200 + ? updateOptions(domElement, !!lastProps, propKey$200, !1) : !!nextProps !== !!lastProps && (null != tag ? updateOptions(domElement, !!lastProps, tag, !0) : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1)); return; case "textarea": - propKey = propKey$199 = null; + propKey = propKey$200 = null; for (defaultValue in lastProps) if ( ((name = lastProps[defaultValue]), @@ -13609,7 +13618,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (value) { case "value": - propKey$199 = name; + propKey$200 = name; break; case "defaultValue": propKey = name; @@ -13623,17 +13632,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) { name !== type && setProp(domElement, tag, value, name, nextProps, type); } - updateTextarea(domElement, propKey$199, propKey); + updateTextarea(domElement, propKey$200, propKey); return; case "option": - for (var propKey$215 in lastProps) + for (var propKey$216 in lastProps) if ( - ((propKey$199 = lastProps[propKey$215]), - lastProps.hasOwnProperty(propKey$215) && - null != propKey$199 && - !nextProps.hasOwnProperty(propKey$215)) + ((propKey$200 = lastProps[propKey$216]), + lastProps.hasOwnProperty(propKey$216) && + null != propKey$200 && + !nextProps.hasOwnProperty(propKey$216)) ) - switch (propKey$215) { + switch (propKey$216) { case "selected": domElement.selected = !1; break; @@ -13641,33 +13650,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$215, + propKey$216, null, nextProps, - propKey$199 + propKey$200 ); } for (lastDefaultValue in nextProps) if ( - ((propKey$199 = nextProps[lastDefaultValue]), + ((propKey$200 = nextProps[lastDefaultValue]), (propKey = lastProps[lastDefaultValue]), nextProps.hasOwnProperty(lastDefaultValue) && - propKey$199 !== propKey && - (null != propKey$199 || null != propKey)) + propKey$200 !== propKey && + (null != propKey$200 || null != propKey)) ) switch (lastDefaultValue) { case "selected": domElement.selected = - propKey$199 && - "function" !== typeof propKey$199 && - "symbol" !== typeof propKey$199; + propKey$200 && + "function" !== typeof propKey$200 && + "symbol" !== typeof propKey$200; break; default: setProp( domElement, tag, lastDefaultValue, - propKey$199, + propKey$200, nextProps, propKey ); @@ -13688,24 +13697,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) { case "track": case "wbr": case "menuitem": - for (var propKey$220 in lastProps) - (propKey$199 = lastProps[propKey$220]), - lastProps.hasOwnProperty(propKey$220) && - null != propKey$199 && - !nextProps.hasOwnProperty(propKey$220) && - setProp(domElement, tag, propKey$220, null, nextProps, propKey$199); + for (var propKey$221 in lastProps) + (propKey$200 = lastProps[propKey$221]), + lastProps.hasOwnProperty(propKey$221) && + null != propKey$200 && + !nextProps.hasOwnProperty(propKey$221) && + setProp(domElement, tag, propKey$221, null, nextProps, propKey$200); for (checked in nextProps) if ( - ((propKey$199 = nextProps[checked]), + ((propKey$200 = nextProps[checked]), (propKey = lastProps[checked]), nextProps.hasOwnProperty(checked) && - propKey$199 !== propKey && - (null != propKey$199 || null != propKey)) + propKey$200 !== propKey && + (null != propKey$200 || null != propKey)) ) switch (checked) { case "children": case "dangerouslySetInnerHTML": - if (null != propKey$199) + if (null != propKey$200) throw Error(formatProdErrorMessage(137, tag)); break; default: @@ -13713,7 +13722,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { domElement, tag, checked, - propKey$199, + propKey$200, nextProps, propKey ); @@ -13721,49 +13730,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) { return; default: if (isCustomElement(tag)) { - for (var propKey$225 in lastProps) - (propKey$199 = lastProps[propKey$225]), - lastProps.hasOwnProperty(propKey$225) && - void 0 !== propKey$199 && - !nextProps.hasOwnProperty(propKey$225) && + for (var propKey$226 in lastProps) + (propKey$200 = lastProps[propKey$226]), + lastProps.hasOwnProperty(propKey$226) && + void 0 !== propKey$200 && + !nextProps.hasOwnProperty(propKey$226) && setPropOnCustomElement( domElement, tag, - propKey$225, + propKey$226, void 0, nextProps, - propKey$199 + propKey$200 ); for (defaultChecked in nextProps) - (propKey$199 = nextProps[defaultChecked]), + (propKey$200 = nextProps[defaultChecked]), (propKey = lastProps[defaultChecked]), !nextProps.hasOwnProperty(defaultChecked) || - propKey$199 === propKey || - (void 0 === propKey$199 && void 0 === propKey) || + propKey$200 === propKey || + (void 0 === propKey$200 && void 0 === propKey) || setPropOnCustomElement( domElement, tag, defaultChecked, - propKey$199, + propKey$200, nextProps, propKey ); return; } } - for (var propKey$230 in lastProps) - (propKey$199 = lastProps[propKey$230]), - lastProps.hasOwnProperty(propKey$230) && - null != propKey$199 && - !nextProps.hasOwnProperty(propKey$230) && - setProp(domElement, tag, propKey$230, null, nextProps, propKey$199); + for (var propKey$231 in lastProps) + (propKey$200 = lastProps[propKey$231]), + lastProps.hasOwnProperty(propKey$231) && + null != propKey$200 && + !nextProps.hasOwnProperty(propKey$231) && + setProp(domElement, tag, propKey$231, null, nextProps, propKey$200); for (lastProp in nextProps) - (propKey$199 = nextProps[lastProp]), + (propKey$200 = nextProps[lastProp]), (propKey = lastProps[lastProp]), !nextProps.hasOwnProperty(lastProp) || - propKey$199 === propKey || - (null == propKey$199 && null == propKey) || - setProp(domElement, tag, lastProp, propKey$199, nextProps, propKey); + propKey$200 === propKey || + (null == propKey$200 && null == propKey) || + setProp(domElement, tag, lastProp, propKey$200, nextProps, propKey); } var eventsEnabled = null, selectionInformation = null; @@ -14432,26 +14441,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$241 = getResourcesFromRoot( + var styles$242 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$242 = styles$241.get(type); - resource$242 || + resource$243 = styles$242.get(type); + resource$243 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$242 = { + (resource$243 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$241.set(type, resource$242), - (styles$241 = JSCompiler_inline_result.querySelector( + styles$242.set(type, resource$243), + (styles$242 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$241._p && - ((resource$242.instance = styles$241), - (resource$242.state.loading = 5)), + !styles$242._p && + ((resource$243.instance = styles$242), + (resource$243.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -14464,16 +14473,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$241 || + styles$242 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$242.state + resource$243.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$242; + return resource$243; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -14570,37 +14579,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$247 = hoistableRoot.querySelector( + var instance$248 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$247) + if (instance$248) return ( (resource.state.loading |= 4), - (resource.instance = instance$247), - markNodeAsHoistable(instance$247), - instance$247 + (resource.instance = instance$248), + markNodeAsHoistable(instance$248), + instance$248 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$247 = ( + instance$248 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$247); - var linkInstance = instance$247; + markNodeAsHoistable(instance$248); + var linkInstance = instance$248; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$247, "link", instance); + setInitialProperties(instance$248, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$247, props.precedence, hoistableRoot); - return (resource.instance = instance$247); + insertStylesheet(instance$248, props.precedence, hoistableRoot); + return (resource.instance = instance$248); case "script": - instance$247 = getScriptKey(props.src); + instance$248 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$247) + getScriptSelectorFromKey(instance$248) )) ) return ( @@ -14609,7 +14618,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$247))) + if ((styleProps = preloadPropsMap.get(instance$248))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -15693,16 +15702,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1836 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1833 = React.version; if ( - "19.2.0-canary-f1e70b5e-20250811" !== - isomorphicReactPackageVersion$jscomp$inline_1836 + "19.2.0-canary-ac7820a9-20250811" !== + isomorphicReactPackageVersion$jscomp$inline_1833 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1836, - "19.2.0-canary-f1e70b5e-20250811" + isomorphicReactPackageVersion$jscomp$inline_1833, + "19.2.0-canary-ac7820a9-20250811" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15722,24 +15731,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2329 = { +var internals$jscomp$inline_2336 = { bundleType: 0, - version: "19.2.0-canary-f1e70b5e-20250811", + version: "19.2.0-canary-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-canary-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-canary-ac7820a9-20250811" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2330 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2337 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2330.isDisabled && - hook$jscomp$inline_2330.supportsFiber + !hook$jscomp$inline_2337.isDisabled && + hook$jscomp$inline_2337.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2330.inject( - internals$jscomp$inline_2329 + (rendererID = hook$jscomp$inline_2337.inject( + internals$jscomp$inline_2336 )), - (injectedHook = hook$jscomp$inline_2330); + (injectedHook = hook$jscomp$inline_2337); } catch (err) {} } exports.createRoot = function (container, options) { @@ -15825,4 +15834,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.2.0-canary-f1e70b5e-20250811"; +exports.version = "19.2.0-canary-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js index 93b520e1d2107..01a266ed7cf9d 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js @@ -8934,6 +8934,14 @@ ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -8990,6 +8998,17 @@ reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } + function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: OffscreenVisible, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; + } function deferHiddenOffscreenComponent( current, workInProgress, @@ -9051,6 +9070,135 @@ workInProgress.memoizedState = null; return current; } + function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + if ((current = nextHydratableInstance)) { + if ( + ((renderLanes = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (renderLanes = + null !== renderLanes && renderLanes.data === ACTIVITY_START_DATA + ? renderLanes + : null), + null !== renderLanes) + ) { + var activityState = { + dehydrated: renderLanes, + treeContext: getSuspendedTreeContext(), + retryLane: 536870912, + hydrationErrors: null + }; + workInProgress.memoizedState = activityState; + activityState = createFiberFromDehydratedFragment(renderLanes); + activityState.return = workInProgress; + workInProgress.child = activityState; + hydrationParentFiber = workInProgress; + nextHydratableInstance = null; + } + } else renderLanes = null; + if (null === renderLanes) + throw ( + (warnNonHydratedInstance(workInProgress, current), + throwOnHydrationMismatch(workInProgress)) + ); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + activityState = current.memoizedState; + if (null !== activityState) { + var activityInstance = activityState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else + throw Error( + "Client rendering an Activity suspended it again. This is a bug in React." + ); + else if ( + (warnIfHydrating(), + didReceiveUpdate || + propagateParentContextChanges( + current, + workInProgress, + renderLanes, + !1 + ), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((activityInstance = getBumpedLaneForHydration( + nextProps, + renderLanes + )), + 0 !== activityInstance && + activityInstance !== activityState.retryLane) + ) + throw ( + ((activityState.retryLane = activityInstance), + enqueueConcurrentRenderForLane(current, activityInstance), + scheduleUpdateOnFiber(nextProps, current, activityInstance), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = activityState.treeContext), + (nextHydratableInstance = getNextHydratable( + activityInstance.nextSibling + )), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (didSuspendOrErrorDEV = !1), + (hydrationDiffRootDEV = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + current = createWorkInProgress(current.child, { + mode: nextProps.mode, + children: nextProps.children + }); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; + } function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -9755,24 +9903,24 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2557; - var JSCompiler_object_inline_stack_2558 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2537; + var JSCompiler_object_inline_stack_2538 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2556 = !1; + var JSCompiler_object_inline_message_2536 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2557 = didSuspend) || - (JSCompiler_object_inline_digest_2557 = + (JSCompiler_object_inline_digest_2537 = didSuspend) || + (JSCompiler_object_inline_digest_2537 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2557 && - ((JSCompiler_object_inline_message_2556 = !0), + JSCompiler_object_inline_digest_2537 && + ((JSCompiler_object_inline_message_2536 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2557 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2537 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2556 + JSCompiler_object_inline_message_2536 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); (current = nextHydratableInstance) @@ -9785,18 +9933,18 @@ ? renderLanes : null), null !== renderLanes && - ((JSCompiler_object_inline_digest_2557 = { + ((JSCompiler_object_inline_digest_2537 = { dehydrated: renderLanes, treeContext: getSuspendedTreeContext(), retryLane: 536870912, hydrationErrors: null }), (workInProgress.memoizedState = - JSCompiler_object_inline_digest_2557), - (JSCompiler_object_inline_digest_2557 = + JSCompiler_object_inline_digest_2537), + (JSCompiler_object_inline_digest_2537 = createFiberFromDehydratedFragment(renderLanes)), - (JSCompiler_object_inline_digest_2557.return = workInProgress), - (workInProgress.child = JSCompiler_object_inline_digest_2557), + (JSCompiler_object_inline_digest_2537.return = workInProgress), + (workInProgress.child = JSCompiler_object_inline_digest_2537), (hydrationParentFiber = workInProgress), (nextHydratableInstance = null))) : (renderLanes = null); @@ -9810,36 +9958,40 @@ : (workInProgress.lanes = 536870912); return null; } - var nextPrimaryChildren = JSCompiler_object_inline_stack_2558.children; - JSCompiler_object_inline_stack_2558 = - JSCompiler_object_inline_stack_2558.fallback; - if (JSCompiler_object_inline_message_2556) { + var nextPrimaryChildren = JSCompiler_object_inline_stack_2538.children; + JSCompiler_object_inline_stack_2538 = + JSCompiler_object_inline_stack_2538.fallback; + if (JSCompiler_object_inline_message_2536) { reuseSuspenseHandlerOnStack(workInProgress); var mode = workInProgress.mode; nextPrimaryChildren = mountWorkInProgressOffscreenFiber( { mode: "hidden", children: nextPrimaryChildren }, mode ); - JSCompiler_object_inline_stack_2558 = createFiberFromFragment( - JSCompiler_object_inline_stack_2558, + JSCompiler_object_inline_stack_2538 = createFiberFromFragment( + JSCompiler_object_inline_stack_2538, mode, renderLanes, null ); nextPrimaryChildren.return = workInProgress; - JSCompiler_object_inline_stack_2558.return = workInProgress; - nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2558; + JSCompiler_object_inline_stack_2538.return = workInProgress; + nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2538; workInProgress.child = nextPrimaryChildren; - nextPrimaryChildren = workInProgress.child; - nextPrimaryChildren.memoizedState = + JSCompiler_object_inline_stack_2538 = workInProgress.child; + JSCompiler_object_inline_stack_2538.memoizedState = mountSuspenseOffscreenState(renderLanes); - nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_digest_2557, - renderLanes - ); + JSCompiler_object_inline_stack_2538.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_digest_2537, + renderLanes + ); workInProgress.memoizedState = SUSPENDED_MARKER; - return JSCompiler_object_inline_stack_2558; + return bailoutOffscreenComponent( + null, + JSCompiler_object_inline_stack_2538 + ); } pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( @@ -9849,8 +10001,8 @@ } var prevState = current.memoizedState; if (null !== prevState) { - var JSCompiler_object_inline_componentStack_2559 = prevState.dehydrated; - if (null !== JSCompiler_object_inline_componentStack_2559) { + var JSCompiler_object_inline_componentStack_2539 = prevState.dehydrated; + if (null !== JSCompiler_object_inline_componentStack_2539) { if (didSuspend) workInProgress.flags & 256 ? (pushPrimaryTreeSuspenseHandler(workInProgress), @@ -9867,13 +10019,13 @@ (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), (nextPrimaryChildren = - JSCompiler_object_inline_stack_2558.fallback), + JSCompiler_object_inline_stack_2538.fallback), (mode = workInProgress.mode), - (JSCompiler_object_inline_stack_2558 = + (JSCompiler_object_inline_stack_2538 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2558.children + children: JSCompiler_object_inline_stack_2538.children }, mode )), @@ -9884,71 +10036,74 @@ null )), (nextPrimaryChildren.flags |= 2), - (JSCompiler_object_inline_stack_2558.return = workInProgress), + (JSCompiler_object_inline_stack_2538.return = workInProgress), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_2558.sibling = + (JSCompiler_object_inline_stack_2538.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_2558), + (workInProgress.child = JSCompiler_object_inline_stack_2538), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2558 = workInProgress.child), - (JSCompiler_object_inline_stack_2558.memoizedState = + (JSCompiler_object_inline_stack_2538 = workInProgress.child), + (JSCompiler_object_inline_stack_2538.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2558.childLanes = + (JSCompiler_object_inline_stack_2538.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2557, + JSCompiler_object_inline_digest_2537, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent( + null, + JSCompiler_object_inline_stack_2538 + ))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), warnIfHydrating(), isSuspenseInstanceFallback( - JSCompiler_object_inline_componentStack_2559 + JSCompiler_object_inline_componentStack_2539 )) ) { - JSCompiler_object_inline_digest_2557 = - JSCompiler_object_inline_componentStack_2559.nextSibling && - JSCompiler_object_inline_componentStack_2559.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2557) { - nextPrimaryChildren = JSCompiler_object_inline_digest_2557.dgst; - var message = JSCompiler_object_inline_digest_2557.msg; - mode = JSCompiler_object_inline_digest_2557.stck; - var componentStack = JSCompiler_object_inline_digest_2557.cstck; + JSCompiler_object_inline_digest_2537 = + JSCompiler_object_inline_componentStack_2539.nextSibling && + JSCompiler_object_inline_componentStack_2539.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2537) { + nextPrimaryChildren = JSCompiler_object_inline_digest_2537.dgst; + var message = JSCompiler_object_inline_digest_2537.msg; + mode = JSCompiler_object_inline_digest_2537.stck; + var componentStack = JSCompiler_object_inline_digest_2537.cstck; } - JSCompiler_object_inline_message_2556 = message; - JSCompiler_object_inline_digest_2557 = nextPrimaryChildren; - JSCompiler_object_inline_stack_2558 = mode; - JSCompiler_object_inline_componentStack_2559 = componentStack; - nextPrimaryChildren = JSCompiler_object_inline_message_2556; - mode = JSCompiler_object_inline_componentStack_2559; + JSCompiler_object_inline_message_2536 = message; + JSCompiler_object_inline_digest_2537 = nextPrimaryChildren; + JSCompiler_object_inline_stack_2538 = mode; + JSCompiler_object_inline_componentStack_2539 = componentStack; + nextPrimaryChildren = JSCompiler_object_inline_message_2536; + mode = JSCompiler_object_inline_componentStack_2539; nextPrimaryChildren = nextPrimaryChildren ? Error(nextPrimaryChildren) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); nextPrimaryChildren.stack = - JSCompiler_object_inline_stack_2558 || ""; - nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2557; - JSCompiler_object_inline_digest_2557 = + JSCompiler_object_inline_stack_2538 || ""; + nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2537; + JSCompiler_object_inline_digest_2537 = void 0 === mode ? null : mode; - JSCompiler_object_inline_stack_2558 = { + JSCompiler_object_inline_stack_2538 = { value: nextPrimaryChildren, source: null, - stack: JSCompiler_object_inline_digest_2557 + stack: JSCompiler_object_inline_digest_2537 }; - "string" === typeof JSCompiler_object_inline_digest_2557 && + "string" === typeof JSCompiler_object_inline_digest_2537 && CapturedStacks.set( nextPrimaryChildren, - JSCompiler_object_inline_stack_2558 + JSCompiler_object_inline_stack_2538 ); - queueHydrationError(JSCompiler_object_inline_stack_2558); + queueHydrationError(JSCompiler_object_inline_stack_2538); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9962,35 +10117,35 @@ renderLanes, !1 ), - (JSCompiler_object_inline_digest_2557 = + (JSCompiler_object_inline_digest_2537 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2557) + didReceiveUpdate || JSCompiler_object_inline_digest_2537) ) { - JSCompiler_object_inline_digest_2557 = workInProgressRoot; + JSCompiler_object_inline_digest_2537 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2557 && - ((JSCompiler_object_inline_stack_2558 = getBumpedLaneForHydration( - JSCompiler_object_inline_digest_2557, + null !== JSCompiler_object_inline_digest_2537 && + ((JSCompiler_object_inline_stack_2538 = getBumpedLaneForHydration( + JSCompiler_object_inline_digest_2537, renderLanes )), - 0 !== JSCompiler_object_inline_stack_2558 && - JSCompiler_object_inline_stack_2558 !== prevState.retryLane) + 0 !== JSCompiler_object_inline_stack_2538 && + JSCompiler_object_inline_stack_2538 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2558), + ((prevState.retryLane = JSCompiler_object_inline_stack_2538), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2558 + JSCompiler_object_inline_stack_2538 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2557, + JSCompiler_object_inline_digest_2537, current, - JSCompiler_object_inline_stack_2558 + JSCompiler_object_inline_stack_2538 ), SelectiveHydrationException) ); isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_2559 + JSCompiler_object_inline_componentStack_2539 ) || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9999,14 +10154,14 @@ ); } else isSuspenseInstancePending( - JSCompiler_object_inline_componentStack_2559 + JSCompiler_object_inline_componentStack_2539 ) ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_componentStack_2559.nextSibling + JSCompiler_object_inline_componentStack_2539.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -10018,32 +10173,32 @@ restoreSuspendedTreeContext(workInProgress, current), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2558.children + JSCompiler_object_inline_stack_2538.children )), (workInProgress.flags |= 4096)); return workInProgress; } } - if (JSCompiler_object_inline_message_2556) + if (JSCompiler_object_inline_message_2536) return ( reuseSuspenseHandlerOnStack(workInProgress), - (nextPrimaryChildren = JSCompiler_object_inline_stack_2558.fallback), + (nextPrimaryChildren = JSCompiler_object_inline_stack_2538.fallback), (mode = workInProgress.mode), (componentStack = current.child), - (JSCompiler_object_inline_componentStack_2559 = + (JSCompiler_object_inline_componentStack_2539 = componentStack.sibling), - (JSCompiler_object_inline_stack_2558 = createWorkInProgress( + (JSCompiler_object_inline_stack_2538 = createWorkInProgress( componentStack, { mode: "hidden", - children: JSCompiler_object_inline_stack_2558.children + children: JSCompiler_object_inline_stack_2538.children } )), - (JSCompiler_object_inline_stack_2558.subtreeFlags = + (JSCompiler_object_inline_stack_2538.subtreeFlags = componentStack.subtreeFlags & 65011712), - null !== JSCompiler_object_inline_componentStack_2559 + null !== JSCompiler_object_inline_componentStack_2539 ? (nextPrimaryChildren = createWorkInProgress( - JSCompiler_object_inline_componentStack_2559, + JSCompiler_object_inline_componentStack_2539, nextPrimaryChildren )) : ((nextPrimaryChildren = createFiberFromFragment( @@ -10054,55 +10209,55 @@ )), (nextPrimaryChildren.flags |= 2)), (nextPrimaryChildren.return = workInProgress), - (JSCompiler_object_inline_stack_2558.return = workInProgress), - (JSCompiler_object_inline_stack_2558.sibling = nextPrimaryChildren), - (workInProgress.child = JSCompiler_object_inline_stack_2558), - (JSCompiler_object_inline_stack_2558 = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (mode = current.child.memoizedState), - null === mode - ? (mode = mountSuspenseOffscreenState(renderLanes)) - : ((componentStack = mode.cachePool), - null !== componentStack - ? ((JSCompiler_object_inline_componentStack_2559 = - CacheContext._currentValue), - (componentStack = - componentStack.parent !== - JSCompiler_object_inline_componentStack_2559 - ? { - parent: JSCompiler_object_inline_componentStack_2559, - pool: JSCompiler_object_inline_componentStack_2559 - } - : componentStack)) - : (componentStack = getSuspendedCache()), - (mode = { - baseLanes: mode.baseLanes | renderLanes, - cachePool: componentStack + (JSCompiler_object_inline_stack_2538.return = workInProgress), + (JSCompiler_object_inline_stack_2538.sibling = nextPrimaryChildren), + (workInProgress.child = JSCompiler_object_inline_stack_2538), + bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2538), + (JSCompiler_object_inline_stack_2538 = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((mode = nextPrimaryChildren.cachePool), + null !== mode + ? ((componentStack = CacheContext._currentValue), + (mode = + mode.parent !== componentStack + ? { parent: componentStack, pool: componentStack } + : mode)) + : (mode = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: mode })), - (nextPrimaryChildren.memoizedState = mode), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( - current, - JSCompiler_object_inline_digest_2557, - renderLanes - )), + (JSCompiler_object_inline_stack_2538.memoizedState = + nextPrimaryChildren), + (JSCompiler_object_inline_stack_2538.childLanes = + getRemainingWorkInPrimaryTree( + current, + JSCompiler_object_inline_digest_2537, + renderLanes + )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2558 + bailoutOffscreenComponent( + current.child, + JSCompiler_object_inline_stack_2538 + ) ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2558.children + children: JSCompiler_object_inline_stack_2538.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2557 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2557 + ((JSCompiler_object_inline_digest_2537 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2537 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2557.push(current)); + : JSCompiler_object_inline_digest_2537.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -10118,12 +10273,6 @@ function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiber(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: OffscreenVisible, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -11163,136 +11312,7 @@ renderLanes ); case 31: - prevSibling = workInProgress.pendingProps; - nextState = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === prevSibling.mode) - mountActivityChildren(workInProgress, prevSibling); - else if ( - (pushDehydratedActivitySuspenseHandler(workInProgress), - (renderLanes = nextHydratableInstance) - ? ((current = canHydrateHydrationBoundary( - renderLanes, - rootOrSingletonContext - )), - (current = - null !== current && current.data === ACTIVITY_START_DATA - ? current - : null), - null !== current && - ((returnFiber = { - dehydrated: current, - treeContext: getSuspendedTreeContext(), - retryLane: 536870912, - hydrationErrors: null - }), - (workInProgress.memoizedState = returnFiber), - (returnFiber = - createFiberFromDehydratedFragment(current)), - (returnFiber.return = workInProgress), - (workInProgress.child = returnFiber), - (hydrationParentFiber = workInProgress), - (nextHydratableInstance = null))) - : (current = null), - null === current) - ) - throw ( - (warnNonHydratedInstance(workInProgress, renderLanes), - throwOnHydrationMismatch(workInProgress)) - ); - workInProgress.lanes = 536870912; - workInProgress = null; - } else - workInProgress = mountActivityChildren( - workInProgress, - prevSibling - ); - else if ( - ((returnFiber = current.memoizedState), null !== returnFiber) - ) - if ( - ((prevState = returnFiber.dehydrated), - pushDehydratedActivitySuspenseHandler(workInProgress), - nextState) - ) - if (workInProgress.flags & 256) - (workInProgress.flags &= -257), - (workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - )); - else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null); - else - throw Error( - "Client rendering an Activity suspended it again. This is a bug in React." - ); - else if ( - (warnIfHydrating(), - didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ), - (nextState = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || nextState) - ) { - prevSibling = workInProgressRoot; - if ( - null !== prevSibling && - ((prevState = getBumpedLaneForHydration( - prevSibling, - renderLanes - )), - 0 !== prevState && prevState !== returnFiber.retryLane) - ) - throw ( - ((returnFiber.retryLane = prevState), - enqueueConcurrentRenderForLane(current, prevState), - scheduleUpdateOnFiber(prevSibling, current, prevState), - SelectiveHydrationException) - ); - renderDidSuspendDelayIfPossible(); - workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else - (renderLanes = returnFiber.treeContext), - (nextHydratableInstance = getNextHydratable( - prevState.nextSibling - )), - (hydrationParentFiber = workInProgress), - (isHydrating = !0), - (hydrationErrors = null), - (didSuspendOrErrorDEV = !1), - (hydrationDiffRootDEV = null), - (rootOrSingletonContext = !1), - null !== renderLanes && - restoreSuspendedTreeContext(workInProgress, renderLanes), - (workInProgress = mountActivityChildren( - workInProgress, - prevSibling - )), - (workInProgress.flags |= 4096); - else - (renderLanes = createWorkInProgress(current.child, { - mode: prevSibling.mode, - children: prevSibling.children - })), - (renderLanes.ref = workInProgress.ref), - (workInProgress.child = renderLanes), - (renderLanes.return = workInProgress), - (workInProgress = renderLanes); - return workInProgress; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -25588,11 +25608,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-ac7820a9-20250811" !== 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.2.0-canary-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25629,10 +25649,10 @@ !(function () { var internals = { bundleType: 1, - version: "19.2.0-canary-f1e70b5e-20250811", + version: "19.2.0-canary-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-canary-f1e70b5e-20250811" + reconcilerVersion: "19.2.0-canary-ac7820a9-20250811" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -26100,7 +26120,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-canary-f1e70b5e-20250811"; + exports.version = "19.2.0-canary-ac7820a9-20250811"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js index c4c38e64ad260..dbf6223e8e9d6 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js @@ -2130,19 +2130,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) { } var isInputEventSupported = !1; if (canUseDOM) { - var JSCompiler_inline_result$jscomp$301; + var JSCompiler_inline_result$jscomp$302; if (canUseDOM) { - var isSupported$jscomp$inline_447 = "oninput" in document; - if (!isSupported$jscomp$inline_447) { - var element$jscomp$inline_448 = document.createElement("div"); - element$jscomp$inline_448.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_447 = - "function" === typeof element$jscomp$inline_448.oninput; + var isSupported$jscomp$inline_446 = "oninput" in document; + if (!isSupported$jscomp$inline_446) { + var element$jscomp$inline_447 = document.createElement("div"); + element$jscomp$inline_447.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_446 = + "function" === typeof element$jscomp$inline_447.oninput; } - JSCompiler_inline_result$jscomp$301 = isSupported$jscomp$inline_447; - } else JSCompiler_inline_result$jscomp$301 = !1; + JSCompiler_inline_result$jscomp$302 = isSupported$jscomp$inline_446; + } else JSCompiler_inline_result$jscomp$302 = !1; isInputEventSupported = - JSCompiler_inline_result$jscomp$301 && + JSCompiler_inline_result$jscomp$302 && (!document.documentMode || 9 < document.documentMode); } function stopWatchingForValueChange() { @@ -6380,6 +6380,14 @@ function updateOffscreenComponent( ) { var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; + null === current && + null === workInProgress.stateNode && + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { nextProps = @@ -6432,6 +6440,17 @@ function updateOffscreenComponent( reconcileChildren(current, workInProgress, nextChildren, renderLanes); return workInProgress.child; } +function bailoutOffscreenComponent(current, workInProgress) { + (null !== current && 22 === current.tag) || + null !== workInProgress.stateNode || + (workInProgress.stateNode = { + _visibility: 1, + _pendingMarkers: null, + _retryCache: null, + _transitions: null + }); + return workInProgress.sibling; +} function deferHiddenOffscreenComponent( current, workInProgress, @@ -6476,6 +6495,110 @@ function retryActivityComponentWithoutHydrating( workInProgress.memoizedState = null; return current; } +function updateActivityComponent(current, workInProgress, renderLanes) { + var nextProps = workInProgress.pendingProps, + didSuspend = 0 !== (workInProgress.flags & 128); + workInProgress.flags &= -129; + if (null === current) { + if (isHydrating) { + if ("hidden" === nextProps.mode) + return ( + (current = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.lanes = 536870912), + bailoutOffscreenComponent(null, current) + ); + pushDehydratedActivitySuspenseHandler(workInProgress); + (current = nextHydratableInstance) + ? ((current = canHydrateHydrationBoundary( + current, + rootOrSingletonContext + )), + (current = null !== current && "&" === current.data ? current : null), + null !== current && + ((workInProgress.memoizedState = { + dehydrated: current, + treeContext: + null !== treeContextProvider + ? { id: treeContextId, overflow: treeContextOverflow } + : null, + retryLane: 536870912, + hydrationErrors: null + }), + (renderLanes = createFiberFromDehydratedFragment(current)), + (renderLanes.return = workInProgress), + (workInProgress.child = renderLanes), + (hydrationParentFiber = workInProgress), + (nextHydratableInstance = null))) + : (current = null); + if (null === current) throw throwOnHydrationMismatch(workInProgress); + workInProgress.lanes = 536870912; + return null; + } + return mountActivityChildren(workInProgress, nextProps); + } + var prevState = current.memoizedState; + if (null !== prevState) { + var dehydrated = prevState.dehydrated; + pushDehydratedActivitySuspenseHandler(workInProgress); + if (didSuspend) + if (workInProgress.flags & 256) + (workInProgress.flags &= -257), + (workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + )); + else if (null !== workInProgress.memoizedState) + (workInProgress.child = current.child), + (workInProgress.flags |= 128), + (workInProgress = null); + else throw Error(formatProdErrorMessage(558)); + else if ( + (didReceiveUpdate || + propagateParentContextChanges(current, workInProgress, renderLanes, !1), + (didSuspend = 0 !== (renderLanes & current.childLanes)), + didReceiveUpdate || didSuspend) + ) { + nextProps = workInProgressRoot; + if ( + null !== nextProps && + ((dehydrated = getBumpedLaneForHydration(nextProps, renderLanes)), + 0 !== dehydrated && dehydrated !== prevState.retryLane) + ) + throw ( + ((prevState.retryLane = dehydrated), + enqueueConcurrentRenderForLane(current, dehydrated), + scheduleUpdateOnFiber(nextProps, current, dehydrated), + SelectiveHydrationException) + ); + renderDidSuspendDelayIfPossible(); + workInProgress = retryActivityComponentWithoutHydrating( + current, + workInProgress, + renderLanes + ); + } else + (current = prevState.treeContext), + (nextHydratableInstance = getNextHydratable(dehydrated.nextSibling)), + (hydrationParentFiber = workInProgress), + (isHydrating = !0), + (hydrationErrors = null), + (rootOrSingletonContext = !1), + null !== current && + restoreSuspendedTreeContext(workInProgress, current), + (workInProgress = mountActivityChildren(workInProgress, nextProps)), + (workInProgress.flags |= 4096); + return workInProgress; + } + current = createWorkInProgress(current.child, { + mode: nextProps.mode, + children: nextProps.children + }); + current.ref = workInProgress.ref; + workInProgress.child = current; + current.return = workInProgress; + return current; +} function markRef(current, workInProgress) { var ref = workInProgress.ref; if (null === ref) @@ -6905,16 +7028,15 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.return = workInProgress), (nextPrimaryChildren.sibling = nextProps), (workInProgress.child = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (nextPrimaryChildren.memoizedState = - mountSuspenseOffscreenState(renderLanes)), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + (nextProps = workInProgress.child), + (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(null, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren); @@ -6971,7 +7093,7 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = nextPrimaryChildren)); + (workInProgress = bailoutOffscreenComponent(null, nextProps))); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isSuspenseInstanceFallback(nextPrimaryChildren)) @@ -7065,31 +7187,31 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) { (nextProps.return = workInProgress), (nextProps.sibling = nextPrimaryChildren), (workInProgress.child = nextProps), - (nextProps = nextPrimaryChildren), - (nextPrimaryChildren = workInProgress.child), - (showFallback = current.child.memoizedState), - null === showFallback - ? (showFallback = mountSuspenseOffscreenState(renderLanes)) - : ((prevState = showFallback.cachePool), - null !== prevState - ? ((digest = CacheContext._currentValue), - (prevState = - prevState.parent !== digest - ? { parent: digest, pool: digest } - : prevState)) - : (prevState = getSuspendedCache()), - (showFallback = { - baseLanes: showFallback.baseLanes | renderLanes, - cachePool: prevState + bailoutOffscreenComponent(null, nextProps), + (nextProps = workInProgress.child), + (nextPrimaryChildren = current.child.memoizedState), + null === nextPrimaryChildren + ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes)) + : ((showFallback = nextPrimaryChildren.cachePool), + null !== showFallback + ? ((prevState = CacheContext._currentValue), + (showFallback = + showFallback.parent !== prevState + ? { parent: prevState, pool: prevState } + : showFallback)) + : (showFallback = getSuspendedCache()), + (nextPrimaryChildren = { + baseLanes: nextPrimaryChildren.baseLanes | renderLanes, + cachePool: showFallback })), - (nextPrimaryChildren.memoizedState = showFallback), - (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree( + (nextProps.memoizedState = nextPrimaryChildren), + (nextProps.childLanes = getRemainingWorkInPrimaryTree( current, JSCompiler_temp, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - nextProps + bailoutOffscreenComponent(current.child, nextProps) ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; @@ -7120,12 +7242,6 @@ function mountSuspensePrimaryChildren(workInProgress, primaryChildren) { function mountWorkInProgressOffscreenFiber(offscreenProps, mode) { offscreenProps = createFiberImplClass(22, offscreenProps, null, mode); offscreenProps.lanes = 0; - offscreenProps.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null - }; return offscreenProps; } function retrySuspenseComponentWithoutHydrating( @@ -7830,114 +7946,7 @@ function beginWork(current, workInProgress, renderLanes) { case 19: return updateSuspenseListComponent(current, workInProgress, renderLanes); case 31: - $$typeof = workInProgress.pendingProps; - nextState = 0 !== (workInProgress.flags & 128); - workInProgress.flags &= -129; - if (null === current) - if (isHydrating) { - if ("hidden" === $$typeof.mode) - mountActivityChildren(workInProgress, $$typeof); - else if ( - (pushDehydratedActivitySuspenseHandler(workInProgress), - (renderLanes = nextHydratableInstance) - ? ((renderLanes = canHydrateHydrationBoundary( - renderLanes, - rootOrSingletonContext - )), - (renderLanes = - null !== renderLanes && "&" === renderLanes.data - ? renderLanes - : null), - null !== renderLanes && - ((workInProgress.memoizedState = { - dehydrated: renderLanes, - treeContext: - null !== treeContextProvider - ? { id: treeContextId, overflow: treeContextOverflow } - : null, - retryLane: 536870912, - hydrationErrors: null - }), - (current = createFiberFromDehydratedFragment(renderLanes)), - (current.return = workInProgress), - (workInProgress.child = current), - (hydrationParentFiber = workInProgress), - (nextHydratableInstance = null))) - : (renderLanes = null), - null === renderLanes) - ) - throw throwOnHydrationMismatch(workInProgress); - workInProgress.lanes = 536870912; - workInProgress = null; - } else workInProgress = mountActivityChildren(workInProgress, $$typeof); - else if (((props = current.memoizedState), null !== props)) - if ( - ((prevState = props.dehydrated), - pushDehydratedActivitySuspenseHandler(workInProgress), - nextState) - ) - if (workInProgress.flags & 256) - (workInProgress.flags &= -257), - (workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - )); - else if (null !== workInProgress.memoizedState) - (workInProgress.child = current.child), - (workInProgress.flags |= 128), - (workInProgress = null); - else throw Error(formatProdErrorMessage(558)); - else if ( - (didReceiveUpdate || - propagateParentContextChanges( - current, - workInProgress, - renderLanes, - !1 - ), - (nextState = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || nextState) - ) { - $$typeof = workInProgressRoot; - if ( - null !== $$typeof && - ((prevState = getBumpedLaneForHydration($$typeof, renderLanes)), - 0 !== prevState && prevState !== props.retryLane) - ) - throw ( - ((props.retryLane = prevState), - enqueueConcurrentRenderForLane(current, prevState), - scheduleUpdateOnFiber($$typeof, current, prevState), - SelectiveHydrationException) - ); - renderDidSuspendDelayIfPossible(); - workInProgress = retryActivityComponentWithoutHydrating( - current, - workInProgress, - renderLanes - ); - } else - (renderLanes = props.treeContext), - (nextHydratableInstance = getNextHydratable(prevState.nextSibling)), - (hydrationParentFiber = workInProgress), - (isHydrating = !0), - (hydrationErrors = null), - (rootOrSingletonContext = !1), - null !== renderLanes && - restoreSuspendedTreeContext(workInProgress, renderLanes), - (workInProgress = mountActivityChildren(workInProgress, $$typeof)), - (workInProgress.flags |= 4096); - else - (renderLanes = createWorkInProgress(current.child, { - mode: $$typeof.mode, - children: $$typeof.children - })), - (renderLanes.ref = workInProgress.ref), - (workInProgress.child = renderLanes), - (renderLanes.return = workInProgress), - (workInProgress = renderLanes); - return workInProgress; + return updateActivityComponent(current, workInProgress, renderLanes); case 22: return updateOffscreenComponent( current, @@ -8056,14 +8065,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$107 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$107 = lastTailNode), + for (var lastTailNode$108 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$108 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$107 + null === lastTailNode$108 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$107.sibling = null); + : (lastTailNode$108.sibling = null); } } function bubbleProperties(completedWork) { @@ -8075,53 +8084,53 @@ function bubbleProperties(completedWork) { if (didBailout) if (0 !== (completedWork.mode & 2)) { for ( - var treeBaseDuration$109 = completedWork.selfBaseDuration, - child$110 = completedWork.child; - null !== child$110; + var treeBaseDuration$110 = completedWork.selfBaseDuration, + child$111 = completedWork.child; + null !== child$111; ) - (newChildLanes |= child$110.lanes | child$110.childLanes), - (subtreeFlags |= child$110.subtreeFlags & 65011712), - (subtreeFlags |= child$110.flags & 65011712), - (treeBaseDuration$109 += child$110.treeBaseDuration), - (child$110 = child$110.sibling); - completedWork.treeBaseDuration = treeBaseDuration$109; + (newChildLanes |= child$111.lanes | child$111.childLanes), + (subtreeFlags |= child$111.subtreeFlags & 65011712), + (subtreeFlags |= child$111.flags & 65011712), + (treeBaseDuration$110 += child$111.treeBaseDuration), + (child$111 = child$111.sibling); + completedWork.treeBaseDuration = treeBaseDuration$110; } else for ( - treeBaseDuration$109 = completedWork.child; - null !== treeBaseDuration$109; + treeBaseDuration$110 = completedWork.child; + null !== treeBaseDuration$110; ) (newChildLanes |= - treeBaseDuration$109.lanes | treeBaseDuration$109.childLanes), - (subtreeFlags |= treeBaseDuration$109.subtreeFlags & 65011712), - (subtreeFlags |= treeBaseDuration$109.flags & 65011712), - (treeBaseDuration$109.return = completedWork), - (treeBaseDuration$109 = treeBaseDuration$109.sibling); + treeBaseDuration$110.lanes | treeBaseDuration$110.childLanes), + (subtreeFlags |= treeBaseDuration$110.subtreeFlags & 65011712), + (subtreeFlags |= treeBaseDuration$110.flags & 65011712), + (treeBaseDuration$110.return = completedWork), + (treeBaseDuration$110 = treeBaseDuration$110.sibling); else if (0 !== (completedWork.mode & 2)) { - treeBaseDuration$109 = completedWork.actualDuration; - child$110 = completedWork.selfBaseDuration; + treeBaseDuration$110 = completedWork.actualDuration; + child$111 = completedWork.selfBaseDuration; for (var child = completedWork.child; null !== child; ) (newChildLanes |= child.lanes | child.childLanes), (subtreeFlags |= child.subtreeFlags), (subtreeFlags |= child.flags), - (treeBaseDuration$109 += child.actualDuration), - (child$110 += child.treeBaseDuration), + (treeBaseDuration$110 += child.actualDuration), + (child$111 += child.treeBaseDuration), (child = child.sibling); - completedWork.actualDuration = treeBaseDuration$109; - completedWork.treeBaseDuration = child$110; + completedWork.actualDuration = treeBaseDuration$110; + completedWork.treeBaseDuration = child$111; } else for ( - treeBaseDuration$109 = completedWork.child; - null !== treeBaseDuration$109; + treeBaseDuration$110 = completedWork.child; + null !== treeBaseDuration$110; ) (newChildLanes |= - treeBaseDuration$109.lanes | treeBaseDuration$109.childLanes), - (subtreeFlags |= treeBaseDuration$109.subtreeFlags), - (subtreeFlags |= treeBaseDuration$109.flags), - (treeBaseDuration$109.return = completedWork), - (treeBaseDuration$109 = treeBaseDuration$109.sibling); + treeBaseDuration$110.lanes | treeBaseDuration$110.childLanes), + (subtreeFlags |= treeBaseDuration$110.subtreeFlags), + (subtreeFlags |= treeBaseDuration$110.flags), + (treeBaseDuration$110.return = completedWork), + (treeBaseDuration$110 = treeBaseDuration$110.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -8984,8 +8993,8 @@ function safelyCallComponentWillUnmount( } else try { instance.componentWillUnmount(); - } catch (error$150) { - captureCommitPhaseError(current, nearestMountedAncestor, error$150); + } catch (error$151) { + captureCommitPhaseError(current, nearestMountedAncestor, error$151); } } function safelyAttachRef(current, nearestMountedAncestor) { @@ -9047,8 +9056,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { recordEffectDuration(current); } else ref(null); - } catch (error$151) { - captureCommitPhaseError(current, nearestMountedAncestor, error$151); + } catch (error$152) { + captureCommitPhaseError(current, nearestMountedAncestor, error$152); } else ref.current = null; } @@ -9398,11 +9407,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { } else try { finishedRoot.componentDidMount(); - } catch (error$147) { + } catch (error$148) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$147 + error$148 ); } else { @@ -9419,11 +9428,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$148) { + } catch (error$149) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$148 + error$149 ); } recordEffectDuration(); @@ -9434,11 +9443,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$149) { + } catch (error$150) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$149 + error$150 ); } } @@ -10289,20 +10298,20 @@ function commitReconciliationEffects(finishedWork) { insertOrAppendPlacementNode(finishedWork, before, parent); break; case 5: - var parent$152 = hostParentFiber.stateNode; + var parent$153 = hostParentFiber.stateNode; hostParentFiber.flags & 32 && - (setTextContent(parent$152, ""), (hostParentFiber.flags &= -33)); - var before$153 = getHostSibling(finishedWork); - insertOrAppendPlacementNode(finishedWork, before$153, parent$152); + (setTextContent(parent$153, ""), (hostParentFiber.flags &= -33)); + var before$154 = getHostSibling(finishedWork); + insertOrAppendPlacementNode(finishedWork, before$154, parent$153); break; case 3: case 4: - var parent$154 = hostParentFiber.stateNode.containerInfo, - before$155 = getHostSibling(finishedWork); + var parent$155 = hostParentFiber.stateNode.containerInfo, + before$156 = getHostSibling(finishedWork); insertOrAppendPlacementNodeIntoContainer( finishedWork, - before$155, - parent$154 + before$156, + parent$155 ); break; default: @@ -11611,8 +11620,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) { workLoopSync(); memoizedUpdaters = workInProgressRootExitStatus; break; - } catch (thrownValue$180) { - handleThrow(root, thrownValue$180); + } catch (thrownValue$181) { + handleThrow(root, thrownValue$181); } while (1); lanes && root.shellSuspendCounter++; @@ -11739,8 +11748,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrentByScheduler(); break; - } catch (thrownValue$182) { - handleThrow(root, thrownValue$182); + } catch (thrownValue$183) { + handleThrow(root, thrownValue$183); } while (1); lastContextDependency = currentlyRenderingFiber$1 = null; @@ -12465,14 +12474,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { isFlushingWork = !0; do { var didPerformSomeWork = !1; - for (var root$185 = firstScheduledRoot; null !== root$185; ) { + for (var root$186 = firstScheduledRoot; null !== root$186; ) { if (!onlyLegacy) if (0 !== syncTransitionLanes) { - var pendingLanes = root$185.pendingLanes; + var pendingLanes = root$186.pendingLanes; if (0 === pendingLanes) var JSCompiler_inline_result = 0; else { - var suspendedLanes = root$185.suspendedLanes, - pingedLanes = root$185.pingedLanes; + var suspendedLanes = root$186.suspendedLanes, + pingedLanes = root$186.pingedLanes; JSCompiler_inline_result = (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; JSCompiler_inline_result &= @@ -12486,20 +12495,20 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { } 0 !== JSCompiler_inline_result && ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$185, JSCompiler_inline_result)); + performSyncWorkOnRoot(root$186, JSCompiler_inline_result)); } else (JSCompiler_inline_result = workInProgressRootRenderLanes), (JSCompiler_inline_result = getNextLanes( - root$185, - root$185 === workInProgressRoot ? JSCompiler_inline_result : 0, - null !== root$185.cancelPendingCommit || - -1 !== root$185.timeoutHandle + root$186, + root$186 === workInProgressRoot ? JSCompiler_inline_result : 0, + null !== root$186.cancelPendingCommit || + -1 !== root$186.timeoutHandle )), 0 === (JSCompiler_inline_result & 3) || - checkIfRootIsPrerendering(root$185, JSCompiler_inline_result) || + checkIfRootIsPrerendering(root$186, JSCompiler_inline_result) || ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$185, JSCompiler_inline_result)); - root$185 = root$185.next; + performSyncWorkOnRoot(root$186, JSCompiler_inline_result)); + root$186 = root$186.next; } } while (didPerformSomeWork); isFlushingWork = !1; @@ -12746,20 +12755,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1678 = 0; - i$jscomp$inline_1678 < simpleEventPluginEvents.length; - i$jscomp$inline_1678++ + var i$jscomp$inline_1675 = 0; + i$jscomp$inline_1675 < simpleEventPluginEvents.length; + i$jscomp$inline_1675++ ) { - var eventName$jscomp$inline_1679 = - simpleEventPluginEvents[i$jscomp$inline_1678], - domEventName$jscomp$inline_1680 = - eventName$jscomp$inline_1679.toLowerCase(), - capitalizedEvent$jscomp$inline_1681 = - eventName$jscomp$inline_1679[0].toUpperCase() + - eventName$jscomp$inline_1679.slice(1); + var eventName$jscomp$inline_1676 = + simpleEventPluginEvents[i$jscomp$inline_1675], + domEventName$jscomp$inline_1677 = + eventName$jscomp$inline_1676.toLowerCase(), + capitalizedEvent$jscomp$inline_1678 = + eventName$jscomp$inline_1676[0].toUpperCase() + + eventName$jscomp$inline_1676.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1680, - "on" + capitalizedEvent$jscomp$inline_1681 + domEventName$jscomp$inline_1677, + "on" + capitalizedEvent$jscomp$inline_1678 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -13933,34 +13942,34 @@ function setInitialProperties(domElement, tag, props) { defaultChecked = null; for (hasSrc in props) if (props.hasOwnProperty(hasSrc)) { - var propValue$199 = props[hasSrc]; - if (null != propValue$199) + var propValue$200 = props[hasSrc]; + if (null != propValue$200) switch (hasSrc) { case "name": - hasSrcSet = propValue$199; + hasSrcSet = propValue$200; break; case "type": - propValue = propValue$199; + propValue = propValue$200; break; case "checked": - checked = propValue$199; + checked = propValue$200; break; case "defaultChecked": - defaultChecked = propValue$199; + defaultChecked = propValue$200; break; case "value": - propKey = propValue$199; + propKey = propValue$200; break; case "defaultValue": - defaultValue = propValue$199; + defaultValue = propValue$200; break; case "children": case "dangerouslySetInnerHTML": - if (null != propValue$199) + if (null != propValue$200) throw Error(formatProdErrorMessage(137, tag)); break; default: - setProp(domElement, tag, hasSrc, propValue$199, props, null); + setProp(domElement, tag, hasSrc, propValue$200, props, null); } } initInput( @@ -14097,14 +14106,14 @@ function setInitialProperties(domElement, tag, props) { return; default: if (isCustomElement(tag)) { - for (propValue$199 in props) - props.hasOwnProperty(propValue$199) && - ((hasSrc = props[propValue$199]), + for (propValue$200 in props) + props.hasOwnProperty(propValue$200) && + ((hasSrc = props[propValue$200]), void 0 !== hasSrc && setPropOnCustomElement( domElement, tag, - propValue$199, + propValue$200, hasSrc, props, void 0 @@ -14152,14 +14161,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp(domElement, tag, propKey, null, nextProps, lastProp); } } - for (var propKey$216 in nextProps) { - var propKey = nextProps[propKey$216]; - lastProp = lastProps[propKey$216]; + for (var propKey$217 in nextProps) { + var propKey = nextProps[propKey$217]; + lastProp = lastProps[propKey$217]; if ( - nextProps.hasOwnProperty(propKey$216) && + nextProps.hasOwnProperty(propKey$217) && (null != propKey || null != lastProp) ) - switch (propKey$216) { + switch (propKey$217) { case "type": type = propKey; break; @@ -14188,7 +14197,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$216, + propKey$217, propKey, nextProps, lastProp @@ -14207,7 +14216,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ); return; case "select": - propKey = value = defaultValue = propKey$216 = null; + propKey = value = defaultValue = propKey$217 = null; for (type in lastProps) if ( ((lastDefaultValue = lastProps[type]), @@ -14238,7 +14247,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (name) { case "value": - propKey$216 = type; + propKey$217 = type; break; case "defaultValue": defaultValue = type; @@ -14259,15 +14268,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) { tag = defaultValue; lastProps = value; nextProps = propKey; - null != propKey$216 - ? updateOptions(domElement, !!lastProps, propKey$216, !1) + null != propKey$217 + ? updateOptions(domElement, !!lastProps, propKey$217, !1) : !!nextProps !== !!lastProps && (null != tag ? updateOptions(domElement, !!lastProps, tag, !0) : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1)); return; case "textarea": - propKey = propKey$216 = null; + propKey = propKey$217 = null; for (defaultValue in lastProps) if ( ((name = lastProps[defaultValue]), @@ -14291,7 +14300,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (value) { case "value": - propKey$216 = name; + propKey$217 = name; break; case "defaultValue": propKey = name; @@ -14305,17 +14314,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) { name !== type && setProp(domElement, tag, value, name, nextProps, type); } - updateTextarea(domElement, propKey$216, propKey); + updateTextarea(domElement, propKey$217, propKey); return; case "option": - for (var propKey$232 in lastProps) + for (var propKey$233 in lastProps) if ( - ((propKey$216 = lastProps[propKey$232]), - lastProps.hasOwnProperty(propKey$232) && - null != propKey$216 && - !nextProps.hasOwnProperty(propKey$232)) + ((propKey$217 = lastProps[propKey$233]), + lastProps.hasOwnProperty(propKey$233) && + null != propKey$217 && + !nextProps.hasOwnProperty(propKey$233)) ) - switch (propKey$232) { + switch (propKey$233) { case "selected": domElement.selected = !1; break; @@ -14323,33 +14332,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$232, + propKey$233, null, nextProps, - propKey$216 + propKey$217 ); } for (lastDefaultValue in nextProps) if ( - ((propKey$216 = nextProps[lastDefaultValue]), + ((propKey$217 = nextProps[lastDefaultValue]), (propKey = lastProps[lastDefaultValue]), nextProps.hasOwnProperty(lastDefaultValue) && - propKey$216 !== propKey && - (null != propKey$216 || null != propKey)) + propKey$217 !== propKey && + (null != propKey$217 || null != propKey)) ) switch (lastDefaultValue) { case "selected": domElement.selected = - propKey$216 && - "function" !== typeof propKey$216 && - "symbol" !== typeof propKey$216; + propKey$217 && + "function" !== typeof propKey$217 && + "symbol" !== typeof propKey$217; break; default: setProp( domElement, tag, lastDefaultValue, - propKey$216, + propKey$217, nextProps, propKey ); @@ -14370,24 +14379,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) { case "track": case "wbr": case "menuitem": - for (var propKey$237 in lastProps) - (propKey$216 = lastProps[propKey$237]), - lastProps.hasOwnProperty(propKey$237) && - null != propKey$216 && - !nextProps.hasOwnProperty(propKey$237) && - setProp(domElement, tag, propKey$237, null, nextProps, propKey$216); + for (var propKey$238 in lastProps) + (propKey$217 = lastProps[propKey$238]), + lastProps.hasOwnProperty(propKey$238) && + null != propKey$217 && + !nextProps.hasOwnProperty(propKey$238) && + setProp(domElement, tag, propKey$238, null, nextProps, propKey$217); for (checked in nextProps) if ( - ((propKey$216 = nextProps[checked]), + ((propKey$217 = nextProps[checked]), (propKey = lastProps[checked]), nextProps.hasOwnProperty(checked) && - propKey$216 !== propKey && - (null != propKey$216 || null != propKey)) + propKey$217 !== propKey && + (null != propKey$217 || null != propKey)) ) switch (checked) { case "children": case "dangerouslySetInnerHTML": - if (null != propKey$216) + if (null != propKey$217) throw Error(formatProdErrorMessage(137, tag)); break; default: @@ -14395,7 +14404,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { domElement, tag, checked, - propKey$216, + propKey$217, nextProps, propKey ); @@ -14403,49 +14412,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) { return; default: if (isCustomElement(tag)) { - for (var propKey$242 in lastProps) - (propKey$216 = lastProps[propKey$242]), - lastProps.hasOwnProperty(propKey$242) && - void 0 !== propKey$216 && - !nextProps.hasOwnProperty(propKey$242) && + for (var propKey$243 in lastProps) + (propKey$217 = lastProps[propKey$243]), + lastProps.hasOwnProperty(propKey$243) && + void 0 !== propKey$217 && + !nextProps.hasOwnProperty(propKey$243) && setPropOnCustomElement( domElement, tag, - propKey$242, + propKey$243, void 0, nextProps, - propKey$216 + propKey$217 ); for (defaultChecked in nextProps) - (propKey$216 = nextProps[defaultChecked]), + (propKey$217 = nextProps[defaultChecked]), (propKey = lastProps[defaultChecked]), !nextProps.hasOwnProperty(defaultChecked) || - propKey$216 === propKey || - (void 0 === propKey$216 && void 0 === propKey) || + propKey$217 === propKey || + (void 0 === propKey$217 && void 0 === propKey) || setPropOnCustomElement( domElement, tag, defaultChecked, - propKey$216, + propKey$217, nextProps, propKey ); return; } } - for (var propKey$247 in lastProps) - (propKey$216 = lastProps[propKey$247]), - lastProps.hasOwnProperty(propKey$247) && - null != propKey$216 && - !nextProps.hasOwnProperty(propKey$247) && - setProp(domElement, tag, propKey$247, null, nextProps, propKey$216); + for (var propKey$248 in lastProps) + (propKey$217 = lastProps[propKey$248]), + lastProps.hasOwnProperty(propKey$248) && + null != propKey$217 && + !nextProps.hasOwnProperty(propKey$248) && + setProp(domElement, tag, propKey$248, null, nextProps, propKey$217); for (lastProp in nextProps) - (propKey$216 = nextProps[lastProp]), + (propKey$217 = nextProps[lastProp]), (propKey = lastProps[lastProp]), !nextProps.hasOwnProperty(lastProp) || - propKey$216 === propKey || - (null == propKey$216 && null == propKey) || - setProp(domElement, tag, lastProp, propKey$216, nextProps, propKey); + propKey$217 === propKey || + (null == propKey$217 && null == propKey) || + setProp(domElement, tag, lastProp, propKey$217, nextProps, propKey); } var eventsEnabled = null, selectionInformation = null; @@ -15114,26 +15123,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$258 = getResourcesFromRoot( + var styles$259 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$259 = styles$258.get(type); - resource$259 || + resource$260 = styles$259.get(type); + resource$260 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$259 = { + (resource$260 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$258.set(type, resource$259), - (styles$258 = JSCompiler_inline_result.querySelector( + styles$259.set(type, resource$260), + (styles$259 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$258._p && - ((resource$259.instance = styles$258), - (resource$259.state.loading = 5)), + !styles$259._p && + ((resource$260.instance = styles$259), + (resource$260.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -15146,16 +15155,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$258 || + styles$259 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$259.state + resource$260.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$259; + return resource$260; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -15252,37 +15261,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$264 = hoistableRoot.querySelector( + var instance$265 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$264) + if (instance$265) return ( (resource.state.loading |= 4), - (resource.instance = instance$264), - markNodeAsHoistable(instance$264), - instance$264 + (resource.instance = instance$265), + markNodeAsHoistable(instance$265), + instance$265 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$264 = ( + instance$265 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$264); - var linkInstance = instance$264; + markNodeAsHoistable(instance$265); + var linkInstance = instance$265; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$264, "link", instance); + setInitialProperties(instance$265, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$264, props.precedence, hoistableRoot); - return (resource.instance = instance$264); + insertStylesheet(instance$265, props.precedence, hoistableRoot); + return (resource.instance = instance$265); case "script": - instance$264 = getScriptKey(props.src); + instance$265 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$264) + getScriptSelectorFromKey(instance$265) )) ) return ( @@ -15291,7 +15300,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$264))) + if ((styleProps = preloadPropsMap.get(instance$265))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -16394,16 +16403,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1940 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1937 = React.version; if ( - "19.2.0-canary-f1e70b5e-20250811" !== - isomorphicReactPackageVersion$jscomp$inline_1940 + "19.2.0-canary-ac7820a9-20250811" !== + isomorphicReactPackageVersion$jscomp$inline_1937 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1940, - "19.2.0-canary-f1e70b5e-20250811" + isomorphicReactPackageVersion$jscomp$inline_1937, + "19.2.0-canary-ac7820a9-20250811" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -16423,17 +16432,17 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_1947 = { +var internals$jscomp$inline_1944 = { bundleType: 0, - version: "19.2.0-canary-f1e70b5e-20250811", + version: "19.2.0-canary-ac7820a9-20250811", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-canary-f1e70b5e-20250811", + reconcilerVersion: "19.2.0-canary-ac7820a9-20250811", getLaneLabelMap: function () { for ( - var map = new Map(), lane = 1, index$281 = 0; - 31 > index$281; - index$281++ + var map = new Map(), lane = 1, index$282 = 0; + 31 > index$282; + index$282++ ) { var label = getLabelForLane(lane); map.set(lane, label); @@ -16446,16 +16455,16 @@ var internals$jscomp$inline_1947 = { } }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2401 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2408 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2401.isDisabled && - hook$jscomp$inline_2401.supportsFiber + !hook$jscomp$inline_2408.isDisabled && + hook$jscomp$inline_2408.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2401.inject( - internals$jscomp$inline_1947 + (rendererID = hook$jscomp$inline_2408.inject( + internals$jscomp$inline_1944 )), - (injectedHook = hook$jscomp$inline_2401); + (injectedHook = hook$jscomp$inline_2408); } catch (err) {} } function getCrossOriginStringAs(as, input) { @@ -16701,7 +16710,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-canary-f1e70b5e-20250811"; +exports.version = "19.2.0-canary-ac7820a9-20250811"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js index 49be51bca737f..7adbe7d2c534c 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js @@ -9738,5 +9738,5 @@ '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.2.0-canary-f1e70b5e-20250811"; + exports.version = "19.2.0-canary-ac7820a9-20250811"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js index cf67da5dcadf1..e1ed4e5b0e3fb 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js @@ -6491,4 +6491,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.2.0-canary-f1e70b5e-20250811"; +exports.version = "19.2.0-canary-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js index 535f7b7052199..26918af25fd51 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js @@ -9738,5 +9738,5 @@ '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 "renderToPipeableStream" which supports Suspense on the server' ); }; - exports.version = "19.2.0-canary-f1e70b5e-20250811"; + exports.version = "19.2.0-canary-ac7820a9-20250811"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js index 1a5ff61863f52..ff8b491892255 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js @@ -6574,4 +6574,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 "renderToPipeableStream" which supports Suspense on the server' ); }; -exports.version = "19.2.0-canary-f1e70b5e-20250811"; +exports.version = "19.2.0-canary-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js index 2f2d164242d0f..43a15e2dec51b 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js @@ -8485,11 +8485,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-ac7820a9-20250811" !== 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.2.0-canary-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react"), @@ -10179,5 +10179,5 @@ startWork(request); }); }; - exports.version = "19.2.0-canary-f1e70b5e-20250811"; + exports.version = "19.2.0-canary-ac7820a9-20250811"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js index c6f627c57525f..98f93c657e956 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js @@ -6875,12 +6875,12 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-ac7820a9-20250811" !== isomorphicReactPackageVersion) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion, - "19.2.0-canary-f1e70b5e-20250811" + "19.2.0-canary-ac7820a9-20250811" ) ); } @@ -7027,4 +7027,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.2.0-canary-f1e70b5e-20250811"; +exports.version = "19.2.0-canary-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js index 4cbed7a09a00c..73ba78c8c1c17 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js @@ -6523,13 +6523,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) { } var isomorphicReactPackageVersion$jscomp$inline_816 = React.version; if ( - "19.2.0-canary-f1e70b5e-20250811" !== + "19.2.0-canary-ac7820a9-20250811" !== isomorphicReactPackageVersion$jscomp$inline_816 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_816 + - "\n - react-dom: 19.2.0-canary-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -6620,4 +6620,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.2.0-canary-f1e70b5e-20250811"; +exports.version = "19.2.0-canary-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js index 58432ff5226af..b47efa026bcab 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js @@ -8508,11 +8508,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-ac7820a9-20250811" !== 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.2.0-canary-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react"), @@ -10198,5 +10198,5 @@ startWork(request); }); }; - exports.version = "19.2.0-canary-f1e70b5e-20250811"; + exports.version = "19.2.0-canary-ac7820a9-20250811"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js index ef4664c87c468..cfe5ae516fe1e 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js @@ -6973,11 +6973,11 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-ac7820a9-20250811" !== 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.2.0-canary-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -7123,4 +7123,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.2.0-canary-f1e70b5e-20250811"; +exports.version = "19.2.0-canary-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js index f406f6f21ab79..afba43d88ef24 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js @@ -8383,11 +8383,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-ac7820a9-20250811" !== 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.2.0-canary-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); } function createDrainHandler(destination, request) { @@ -10258,5 +10258,5 @@ startWork(request); }); }; - exports.version = "19.2.0-canary-f1e70b5e-20250811"; + exports.version = "19.2.0-canary-ac7820a9-20250811"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js index 083400f72bb06..65d552677696c 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js @@ -6865,11 +6865,11 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-canary-f1e70b5e-20250811" !== isomorphicReactPackageVersion) + if ("19.2.0-canary-ac7820a9-20250811" !== 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.2.0-canary-f1e70b5e-20250811\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-canary-ac7820a9-20250811\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -7207,4 +7207,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.2.0-canary-f1e70b5e-20250811"; +exports.version = "19.2.0-canary-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom.development.js index fa5ca3252f264..498d23f98fd30 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.development.js @@ -416,7 +416,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-canary-f1e70b5e-20250811"; + exports.version = "19.2.0-canary-ac7820a9-20250811"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom.production.js index 66833994d093a..cfabd2af67a28 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.production.js @@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-canary-f1e70b5e-20250811"; +exports.version = "19.2.0-canary-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js index af5add49f6b8d..c72a1634a50b7 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js @@ -336,5 +336,5 @@ })) : Internals.d.m(href)); }; - exports.version = "19.2.0-canary-f1e70b5e-20250811"; + exports.version = "19.2.0-canary-ac7820a9-20250811"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js index 32a1e23d32c66..918eb9bae96cc 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js @@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) { }); } else Internals.d.m(href); }; -exports.version = "19.2.0-canary-f1e70b5e-20250811"; +exports.version = "19.2.0-canary-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-dom/package.json b/packages/next/src/compiled/react-dom/package.json index 81c4a6ce0471b..c4da2682e3fe7 100644 --- a/packages/next/src/compiled/react-dom/package.json +++ b/packages/next/src/compiled/react-dom/package.json @@ -67,10 +67,10 @@ "./package.json": "./package.json" }, "dependencies": { - "scheduler": "0.27.0-canary-f1e70b5e-20250811" + "scheduler": "0.27.0-canary-ac7820a9-20250811" }, "peerDependencies": { - "react": "19.2.0-canary-f1e70b5e-20250811" + "react": "19.2.0-canary-ac7820a9-20250811" }, "browser": { "./server.js": "./server.browser.js", diff --git a/packages/next/src/compiled/react-experimental/cjs/react.development.js b/packages/next/src/compiled/react-experimental/cjs/react.development.js index 9f67c4e765188..84a9318cf0469 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.development.js @@ -1362,7 +1362,7 @@ exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-experimental-f1e70b5e-20250811"; + exports.version = "19.2.0-experimental-ac7820a9-20250811"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-experimental/cjs/react.production.js b/packages/next/src/compiled/react-experimental/cjs/react.production.js index 494848982fd7f..b781fdc5e1494 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.production.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.production.js @@ -605,4 +605,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-experimental-f1e70b5e-20250811"; +exports.version = "19.2.0-experimental-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js b/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js index 095b07c162f97..be4a8101508f7 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js @@ -1030,5 +1030,5 @@ exports.useMemo = function (create, deps) { return resolveDispatcher().useMemo(create, deps); }; - exports.version = "19.2.0-experimental-f1e70b5e-20250811"; + exports.version = "19.2.0-experimental-ac7820a9-20250811"; })(); diff --git a/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js b/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js index ed823d733906b..0aef38870b616 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js @@ -572,4 +572,4 @@ exports.useId = function () { exports.useMemo = function (create, deps) { return ReactSharedInternals.H.useMemo(create, deps); }; -exports.version = "19.2.0-experimental-f1e70b5e-20250811"; +exports.version = "19.2.0-experimental-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react-is/package.json b/packages/next/src/compiled/react-is/package.json index 3f317b75e8b9b..8a9c6f651e605 100644 --- a/packages/next/src/compiled/react-is/package.json +++ b/packages/next/src/compiled/react-is/package.json @@ -1,6 +1,6 @@ { "name": "react-is", - "version": "19.2.0-canary-f1e70b5e-20250811", + "version": "19.2.0-canary-ac7820a9-20250811", "description": "Brand checking of React Elements.", "main": "index.js", "sideEffects": false, diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js index 24716631b8b00..e538b8249b2ce 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js @@ -1115,6 +1115,7 @@ if (null === value) return ""; if (value instanceof Error) return String(value.message); if ("string" === typeof value.url) return value.url; + if ("string" === typeof value.href) return value.href; if ("string" === typeof value.command) return value.command; if ( "object" === typeof value.request && @@ -4433,10 +4434,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.2.0-experimental-f1e70b5e-20250811", + version: "19.2.0-experimental-ac7820a9-20250811", rendererPackageName: "react-server-dom-turbopack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-f1e70b5e-20250811", + reconcilerVersion: "19.2.0-experimental-ac7820a9-20250811", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js index 3ffb9edff34d6..9c960cc5beb1a 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.edge.development.js @@ -1321,6 +1321,7 @@ if (null === value) return ""; if (value instanceof Error) return String(value.message); if ("string" === typeof value.url) return value.url; + if ("string" === typeof value.href) return value.href; if ("string" === typeof value.command) return value.command; if ( "object" === typeof value.request && diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js index 88241a6767f54..90074503174d4 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.node.development.js @@ -1321,6 +1321,7 @@ if (null === value) return ""; if (value instanceof Error) return String(value.message); if ("string" === typeof value.url) return value.url; + if ("string" === typeof value.href) return value.href; if ("string" === typeof value.command) return value.command; if ( "object" === typeof value.request && diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json b/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json index 451a6e0145122..707158c473f74 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json @@ -48,7 +48,7 @@ "neo-async": "^2.6.1" }, "peerDependencies": { - "react": "0.0.0-experimental-f1e70b5e-20250811", - "react-dom": "0.0.0-experimental-f1e70b5e-20250811" + "react": "0.0.0-experimental-ac7820a9-20250811", + "react-dom": "0.0.0-experimental-ac7820a9-20250811" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js index 97b03b59b956b..4dd52050239c4 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js @@ -3371,10 +3371,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.2.0-canary-f1e70b5e-20250811", + version: "19.2.0-canary-ac7820a9-20250811", rendererPackageName: "react-server-dom-turbopack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-canary-f1e70b5e-20250811", + reconcilerVersion: "19.2.0-canary-ac7820a9-20250811", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/package.json b/packages/next/src/compiled/react-server-dom-turbopack/package.json index b2f7be2374c43..72a6db01eaa52 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/package.json +++ b/packages/next/src/compiled/react-server-dom-turbopack/package.json @@ -48,7 +48,7 @@ "neo-async": "^2.6.1" }, "peerDependencies": { - "react": "19.2.0-canary-f1e70b5e-20250811", - "react-dom": "19.2.0-canary-f1e70b5e-20250811" + "react": "19.2.0-canary-ac7820a9-20250811", + "react-dom": "19.2.0-canary-ac7820a9-20250811" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js index 7509876f3b0a3..2d5df8579506b 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js @@ -1124,6 +1124,7 @@ if (null === value) return ""; if (value instanceof Error) return String(value.message); if ("string" === typeof value.url) return value.url; + if ("string" === typeof value.href) return value.href; if ("string" === typeof value.command) return value.command; if ( "object" === typeof value.request && @@ -4449,10 +4450,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.2.0-experimental-f1e70b5e-20250811", + version: "19.2.0-experimental-ac7820a9-20250811", rendererPackageName: "react-server-dom-webpack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-experimental-f1e70b5e-20250811", + reconcilerVersion: "19.2.0-experimental-ac7820a9-20250811", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js index cce7d60e9b76a..df5ea1aacad44 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.edge.development.js @@ -1326,6 +1326,7 @@ if (null === value) return ""; if (value instanceof Error) return String(value.message); if ("string" === typeof value.url) return value.url; + if ("string" === typeof value.href) return value.href; if ("string" === typeof value.command) return value.command; if ( "object" === typeof value.request && diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js index d4ee05c81a561..c5d0cac94c568 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.development.js @@ -1326,6 +1326,7 @@ if (null === value) return ""; if (value instanceof Error) return String(value.message); if ("string" === typeof value.url) return value.url; + if ("string" === typeof value.href) return value.href; if ("string" === typeof value.command) return value.command; if ( "object" === typeof value.request && diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js index bf135ddf07a93..2405c1c507810 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.node.unbundled.development.js @@ -1288,6 +1288,7 @@ if (null === value) return ""; if (value instanceof Error) return String(value.message); if ("string" === typeof value.url) return value.url; + if ("string" === typeof value.href) return value.href; if ("string" === typeof value.command) return value.command; if ( "object" === typeof value.request && diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json b/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json index 5c4985510f63a..e40693d8bcc43 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json @@ -64,8 +64,8 @@ "webpack-sources": "^3.2.0" }, "peerDependencies": { - "react": "0.0.0-experimental-f1e70b5e-20250811", - "react-dom": "0.0.0-experimental-f1e70b5e-20250811", + "react": "0.0.0-experimental-ac7820a9-20250811", + "react-dom": "0.0.0-experimental-ac7820a9-20250811", "webpack": "^5.59.0" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js index 31da37989cdff..67b65b7fd0a67 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js @@ -3387,10 +3387,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.2.0-canary-f1e70b5e-20250811", + version: "19.2.0-canary-ac7820a9-20250811", rendererPackageName: "react-server-dom-webpack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-canary-f1e70b5e-20250811", + reconcilerVersion: "19.2.0-canary-ac7820a9-20250811", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/package.json b/packages/next/src/compiled/react-server-dom-webpack/package.json index d82d7112ca7e7..d1392977bdb0f 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/package.json +++ b/packages/next/src/compiled/react-server-dom-webpack/package.json @@ -64,8 +64,8 @@ "webpack-sources": "^3.2.0" }, "peerDependencies": { - "react": "19.2.0-canary-f1e70b5e-20250811", - "react-dom": "19.2.0-canary-f1e70b5e-20250811", + "react": "19.2.0-canary-ac7820a9-20250811", + "react-dom": "19.2.0-canary-ac7820a9-20250811", "webpack": "^5.59.0" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react/cjs/react.development.js b/packages/next/src/compiled/react/cjs/react.development.js index 9474b0a98bdc4..1fc27a85a2e1b 100644 --- a/packages/next/src/compiled/react/cjs/react.development.js +++ b/packages/next/src/compiled/react/cjs/react.development.js @@ -1278,7 +1278,7 @@ exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-canary-f1e70b5e-20250811"; + exports.version = "19.2.0-canary-ac7820a9-20250811"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react/cjs/react.production.js b/packages/next/src/compiled/react/cjs/react.production.js index afe606fae02c0..b4ae4d4e1669f 100644 --- a/packages/next/src/compiled/react/cjs/react.production.js +++ b/packages/next/src/compiled/react/cjs/react.production.js @@ -543,4 +543,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-canary-f1e70b5e-20250811"; +exports.version = "19.2.0-canary-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/react/cjs/react.react-server.development.js b/packages/next/src/compiled/react/cjs/react.react-server.development.js index d94df1c11a7ce..01027c8dd84e0 100644 --- a/packages/next/src/compiled/react/cjs/react.react-server.development.js +++ b/packages/next/src/compiled/react/cjs/react.react-server.development.js @@ -850,5 +850,5 @@ exports.useMemo = function (create, deps) { return resolveDispatcher().useMemo(create, deps); }; - exports.version = "19.2.0-canary-f1e70b5e-20250811"; + exports.version = "19.2.0-canary-ac7820a9-20250811"; })(); diff --git a/packages/next/src/compiled/react/cjs/react.react-server.production.js b/packages/next/src/compiled/react/cjs/react.react-server.production.js index 1a0cb77df5ece..8dfcaea94f9ef 100644 --- a/packages/next/src/compiled/react/cjs/react.react-server.production.js +++ b/packages/next/src/compiled/react/cjs/react.react-server.production.js @@ -430,4 +430,4 @@ exports.useId = function () { exports.useMemo = function (create, deps) { return ReactSharedInternals.H.useMemo(create, deps); }; -exports.version = "19.2.0-canary-f1e70b5e-20250811"; +exports.version = "19.2.0-canary-ac7820a9-20250811"; diff --git a/packages/next/src/compiled/unistore/unistore.js b/packages/next/src/compiled/unistore/unistore.js index c10f673c07e14..aeb27cf0bd461 100644 --- a/packages/next/src/compiled/unistore/unistore.js +++ b/packages/next/src/compiled/unistore/unistore.js @@ -1 +1 @@ -(()=>{var t={215:t=>{function n(t,i){for(var _ in i)t[_]=i[_];return t}t.exports=function(t){var i=[];function u(t){for(var _=[],a=0;a{var t={472:t=>{function n(t,i){for(var _ in i)t[_]=i[_];return t}t.exports=function(t){var i=[];function u(t){for(var _=[],a=0;a=14.0.0'} peerDependencies: '@types/react': 19.1.8 - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 peerDependenciesMeta: '@types/react': optional: true @@ -2766,8 +2766,8 @@ packages: resolution: {integrity: sha512-9+uaWyF1o/PgXqHLJnC81IIG0HlV3o9eFCQ5hWZDMx5NHrFk0rrwqEFGQOB8lti/rnbxNPi+kYYw1D4e8xSn/Q==} peerDependencies: '@types/react': 19.1.8 - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 peerDependenciesMeta: '@types/react': optional: true @@ -2982,7 +2982,7 @@ packages: resolution: {integrity: sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA==} peerDependencies: '@types/react': '*' - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 peerDependenciesMeta: '@types/react': optional: true @@ -2999,7 +2999,7 @@ packages: '@emotion/use-insertion-effect-with-fallbacks@1.0.1': resolution: {integrity: sha512-jT/qyKZ9rzLErtrjGgdkMBn2OP8wl0G3sQlBb3YPryvKHsjvINUhVaPFfP+fpBcOkmrVOVEEHQFJ7nbj2TH2gw==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 '@emotion/utils@1.2.1': resolution: {integrity: sha512-Y2tGf3I+XVnajdItskUCn6LX+VUDmP6lTL4fcqsXAv43dnlbZiuW4MWQW38rW/BVWSE7Q/7+XQocmpnRYILUmg==} @@ -3666,20 +3666,20 @@ packages: '@floating-ui/react-dom@2.1.0': resolution: {integrity: sha512-lNzj5EQmEKn5FFKc04+zasr09h/uX8RtJRNj5gUXsSQIXHVWTVh+hVAg1vOMCexkX8EgvemMvIFpQfkosnVNyA==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 '@floating-ui/react-dom@2.1.5': resolution: {integrity: sha512-HDO/1/1oH9fjj4eLgegrlH3dklZpHtUYYFiVwMUwfGvk9jWDRWqkklA2/NFScknrcNSspbV868WjXORvreDX+Q==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 '@floating-ui/react@0.26.16': resolution: {integrity: sha512-HEf43zxZNAI/E781QIVpYSF3K2VH4TTYZpqecjdsFkjsaU1EbaWcM++kw0HXFffj7gDUcBFevX8s0rQGQpxkow==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 '@floating-ui/utils@0.2.10': resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==} @@ -4403,13 +4403,13 @@ packages: resolution: {integrity: sha512-l9ypojKN3PjwO1CSLIsqxi7mA25+7w+xc71Q+JuCCREI0tuGwkZsKbIOpuTATIJOjPh8ycLiW7QxX1LYsRTq6w==} peerDependencies: '@mantine/hooks': 7.10.1 - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 '@mantine/hooks@7.11.2': resolution: {integrity: sha512-jhyVe/sbDEG2U8rr2lMecUPgQxcfr5hh9HazqGfkS7ZRIMDO7uJ947yAcTMGGkp5Lxtt5TBFt1Cb6tiB2/1agg==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 '@manypkg/find-root@1.1.0': resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==} @@ -4432,13 +4432,13 @@ packages: '@mdx-js/react@2.2.1': resolution: {integrity: sha512-YdXcMcEnqZhzql98RNrqYo9cEhTTesBiCclEtoiQUbJwx87q9453GTapYU6kJ8ZZ2ek1Vp25SiAXEFy5O/eAPw==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 '@mdx-js/react@3.1.0': resolution: {integrity: sha512-QjHtSaoameoalGnKDT3FoIl4+9RwyTmo9ZJGBdLOks/YOiWHoRDI3PUwEzOE7kEmGcV3AFcp9K6dYu9rEuKLAQ==} peerDependencies: '@types/react': 19.1.8 - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 '@module-federation/error-codes@0.15.0': resolution: {integrity: sha512-CFJSF+XKwTcy0PFZ2l/fSUpR4z247+Uwzp1sXVkdIfJ/ATsnqf0Q01f51qqSEA6MYdQi6FKos9FIcu3dCpQNdg==} @@ -5138,8 +5138,8 @@ packages: '@storybook/blocks@8.6.0': resolution: {integrity: sha512-3PNxlB5Ooj8CIhttbDxeV6kW7ui+2GEdTngtqhnsUHVjzeTKpilsk2lviOeUzqlyq5FDK+rhpZ3L3DJ9pDvioA==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 storybook: ^8.6.0 peerDependenciesMeta: react: @@ -5189,8 +5189,8 @@ packages: resolution: {integrity: sha512-Nz/UzeYQdUZUhacrPyfkiiysSjydyjgg/p0P9HxB4p/WaJUUjMAcaoaLgy3EXx61zZJ3iD36WPuDkZs5QYrA0A==} engines: {node: '>=14.0.0'} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 '@storybook/instrumenter@8.6.0': resolution: {integrity: sha512-eEY/Hfa3Vj5Nv4vHRHlSqjoyW6oAKNK3rKIXfL/eawQwb7rKhzijDLG5YBH44Hh7dEPIqUp0LEdgpyIY7GXezg==} @@ -5206,8 +5206,8 @@ packages: resolution: {integrity: sha512-04T86VG0UJtiozgZkTR5sY1qM3E0Rgwqwllvyy7kFFdkV+Sv/VsPjW9sC38s9C8FtCYRL8pJZz81ey3oylpIMA==} engines: {node: '>=18.0.0'} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 storybook: ^8.6.0 typescript: '*' peerDependenciesMeta: @@ -5228,16 +5228,16 @@ packages: '@storybook/react-dom-shim@8.6.0': resolution: {integrity: sha512-5Y+vMHhcx0xnaNsLQMbkmjc3zkDn/fGBNsiLH2e4POvW3ZQvOxjoyxAsEQaKwLtFgsdCFSd2tR89F6ItYrA2JQ==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 storybook: ^8.6.0 '@storybook/react-webpack5@8.6.0': resolution: {integrity: sha512-2L9CYDPn1OL0B8K5EU/Wpo9Slg8f0vkYPaPioQnmcK3Q4SJR4JAuDVWHUtNdxhaPOkHIy887Tfrf6BEC/blMaQ==} engines: {node: '>=18.0.0'} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 storybook: ^8.6.0 typescript: '>= 4.2.x' peerDependenciesMeta: @@ -5249,8 +5249,8 @@ packages: engines: {node: '>=18.0.0'} peerDependencies: '@storybook/test': 8.6.0 - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 storybook: ^8.6.0 typescript: '>= 4.2.x' peerDependenciesMeta: @@ -5430,8 +5430,8 @@ packages: engines: {node: '>=18'} peerDependencies: '@types/react': 19.1.8 - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 peerDependenciesMeta: '@types/react': optional: true @@ -8888,8 +8888,8 @@ packages: peerDependencies: eslint: '>=8.0.0' - eslint-plugin-react-hooks@0.0.0-experimental-f1e70b5e-20250811: - resolution: {integrity: sha512-by7oXKcxzCzOgdkHcSpWXrzZHQt9jy8ElrtHx5bEpuNnSSKljye8BvUStqI6Ws7qPxXXNuzEy7pFh5wjqAd1hw==} + eslint-plugin-react-hooks@0.0.0-experimental-ac7820a9-20250811: + resolution: {integrity: sha512-HLfdE0IvODJ34Xnppw1kyLWHHmkRGm8KF6azOrMIu4ml0twhN9hWXcLlkNa4E1hK5jRTNU8myKnqHps1Ni7DaQ==} engines: {node: '>=18'} peerDependencies: eslint: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0 || ^9.0.0 @@ -11585,7 +11585,7 @@ packages: lucide-react@0.383.0: resolution: {integrity: sha512-13xlG0CQCJtzjSQYwwJ3WRqMHtRj3EXmLlorrARt7y+IHnxUCp3XyFNL1DfaGySWxHObDvnu1u1dV+0VMKHUSg==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 lz-string@1.5.0: resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} @@ -14115,15 +14115,23 @@ packages: resolution: {integrity: sha512-APPU8HB2uZnpl6Vt/+0AFoVYgSRtfiP6FLrZgPPTDmqSb2R4qZRbgd0A3VzIFxDt5e+Fozjx79WjLWnF69DK8g==} engines: {node: '>=16.14.0'} - react-dom@0.0.0-experimental-f1e70b5e-20250811: - resolution: {integrity: sha512-CzonuBcaTmUXlgOKnlCWIIChTu729UzjA0DFdwljoJ/Mf5MCAJNAXXSsrCFRNqK0v35wiVsvbBcK9Nz9D+0a8Q==} + react-dom@0.0.0-experimental-ac7820a9-20250811: + resolution: {integrity: sha512-Y0GCPTM0OgkuyzvF6cjyCvmHnc1/OxmlPDp3hInezNfjpjBXpXT5bzJq4bpLB5SzySAch2MFxVxz08ndrpDojw==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + + react-dom@19.2.0-canary-ac7820a9-20250811: + resolution: {integrity: sha512-RfjNalYiqEIgWE9CmcKT/a2Fs22QVHW+C19X3d0CegBBzbOkjNx0vqrizwR7ZTz7Vk1BgsTIatX6sYoctZdkyw==} + peerDependencies: + react: 19.2.0-canary-ac7820a9-20250811 react-dom@19.2.0-canary-f1e70b5e-20250811: resolution: {integrity: sha512-bFxjJ+7QNrRism4WhUAdrOP5lnAD8DoRPGxRcrFy1rvYrezkOEuO/dMmA6Rsdq1rk9r+RuyZmNR7SSBeG32Biw==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + + react-is@19.2.0-canary-ac7820a9-20250811: + resolution: {integrity: sha512-AxG+Q2PcHqrO9PcY99oMvB0R483gYmarhQs1FyWPdiDMsmTbAwkCDmEYsC2dyn68bPHGBlm+esJdV7YyQpvGFw==} react-is@19.2.0-canary-f1e70b5e-20250811: resolution: {integrity: sha512-pkl/cNsOvO6fuHsqzMJS8RqgwHy/8QLicxhZML99Hkq+RQcDXWbH02n+UOUouL63pXtnwd7/w870lmOrAoBb6g==} @@ -14134,8 +14142,8 @@ packages: react-number-format@5.4.0: resolution: {integrity: sha512-NWdICrqLhI7rAS8yUeLVd6Wr4cN7UjJ9IBTS0f/a9i7UB4x4Ti70kGnksBtZ7o4Z7YRbvCMMR/jQmkoOBa/4fg==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 react-refresh@0.12.0: resolution: {integrity: sha512-suLIhrU2IHKL5JEKR/fAwJv7bbeq4kJ+pJopf77jHwuR+HmJS/HbrPIGsTBUVfw7tXPOmYv7UJ7PCaN49e8x4A==} @@ -14146,7 +14154,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': 19.1.8 - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 peerDependenciesMeta: '@types/react': optional: true @@ -14156,58 +14164,58 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': 19.1.8 - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 peerDependenciesMeta: '@types/react': optional: true - react-server-dom-turbopack@0.0.0-experimental-f1e70b5e-20250811: - resolution: {integrity: sha512-dv02uRSeVynDOYtp+XhJ85eRsQrLvxDlnIGDy2YpJVczNlS5znACof9JrDAxnNVLpStA4IFEhEzPUEJiBWUlOg==} + react-server-dom-turbopack@0.0.0-experimental-ac7820a9-20250811: + resolution: {integrity: sha512-2j5NTImx54BFyxwcus3vjVcp+ueulncTEuNmnWiPYvoLdPmQ6cMGRVZ4b/4K2Y3qRtPae3vwoWedFz5CTFYOpw==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 - react-server-dom-turbopack@19.2.0-canary-f1e70b5e-20250811: - resolution: {integrity: sha512-IwKSft5dxHhn3Y+Pg9x8XSPU/QclWnNnY5puRt3H5RbnOgStsVSxH68eH44QdgO3drO5DbcS1HZPLJZOvxuXTA==} + react-server-dom-turbopack@19.2.0-canary-ac7820a9-20250811: + resolution: {integrity: sha512-SfTdqJZFCCYwusQnhcgvM/z7Tk1JZfult3jXwneMrQsurSgeO8ecUdrmYp57JlxmEqlnFUfiR/aO77eFqnbvag==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 - react-server-dom-webpack@0.0.0-experimental-f1e70b5e-20250811: - resolution: {integrity: sha512-fUJWkB7UEPv/26IKkS91w4I2In9MFwuRrRpQuFaq6TGdPQte1L7fRPMcTWbZfiV31xniw0nsTXTS4+QcmN90hQ==} + react-server-dom-webpack@0.0.0-experimental-ac7820a9-20250811: + resolution: {integrity: sha512-kHGm9u5rrOgv2XubyEJyKXVY47tJ9yBoiU8/U4oo7k3mbGaim7TpK814x4jhJRI3v1Kx1wgJ/oMprQM2G+iNSg==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 webpack: 5.98.0 - react-server-dom-webpack@19.2.0-canary-f1e70b5e-20250811: - resolution: {integrity: sha512-LosA6IU75s6YWXy6DdKbVxnuY6nj9nAWwyh5WCeIl4VuYMwmf9B8Eo4M9UKB98KIk9LgS9uVpk/uQVNta6eJtw==} + react-server-dom-webpack@19.2.0-canary-ac7820a9-20250811: + resolution: {integrity: sha512-TcCO+qOJE6yAgbfg4AmKoAvGHJpGyOOX5KXJGJXU80ShZ1Yv58BordwJT8+j/h9eAU985wGDyw0tQTNTRgaJqQ==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 webpack: 5.98.0 react-shallow-renderer@16.15.0: resolution: {integrity: sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 react-ssr-prepass@1.0.8: resolution: {integrity: sha512-O0gfRA1SaK+9ITKxqfnXsej2jF+OHGP/+GxD4unROQaM/0/UczGF9fuF+wTboxaQoKdIf4FvS3h/OigWh704VA==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-is: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-is: 19.2.0-canary-ac7820a9-20250811 react-style-singleton@2.2.1: resolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==} engines: {node: '>=10'} peerDependencies: '@types/react': 19.1.8 - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 peerDependenciesMeta: '@types/react': optional: true @@ -14215,22 +14223,26 @@ packages: react-test-renderer@18.2.0: resolution: {integrity: sha512-JWD+aQ0lh2gvh4NM3bBM42Kx+XybOxCpgYK7F8ugAlpaTSnWsX+39Z4XkOykGZAHrjwwTZT3x3KxswVWxHPUqA==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 react-textarea-autosize@8.5.3: resolution: {integrity: sha512-XT1024o2pqCuZSuBt9FwHlaDeNtVrtCXu0Rnz88t1jUGheCLa3PhjE1GH8Ctm2axEtvdCl5SUHYschyQ0L5QHQ==} engines: {node: '>=10'} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 react-virtualized@9.22.3: resolution: {integrity: sha512-MKovKMxWTcwPSxE1kK1HcheQTWfuCxAuBoSTf2gwyMM21NdX/PXUhnoP8Uc5dRKd+nKm8v41R36OellhdCpkrw==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811 - react@0.0.0-experimental-f1e70b5e-20250811: - resolution: {integrity: sha512-SZ1EXamt7ZdYXFAcPCRTHfdWxy/pYVhWEsg7pRJtcKs4iuIx+SUaAzxJ1PrO1IrZWxgvWdCseCFmq8UnmRv5qA==} + react@0.0.0-experimental-ac7820a9-20250811: + resolution: {integrity: sha512-jvzjiY0rlL6sOyeAPUOP9VINLBKp/J/cjscVa9mKWSjFzbAS4few1Dl6YfObzqBtGG2z/ByhQsGYC7qQQbPGhg==} + engines: {node: '>=0.10.0'} + + react@19.2.0-canary-ac7820a9-20250811: + resolution: {integrity: sha512-0qZ3zvr1JiT8hIVnLz6gRAaWVB4F9tXc/hWFMU5Z76vjwzVlaRJ3xMH6QvgIi5dbx40vg8QEdExq1HwS+bwVdg==} engines: {node: '>=0.10.0'} react@19.2.0-canary-f1e70b5e-20250811: @@ -14792,11 +14804,11 @@ packages: resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} engines: {node: '>=v12.22.7'} - scheduler@0.0.0-experimental-f1e70b5e-20250811: - resolution: {integrity: sha512-UzaKTIlwIAD+eX4YHY1T8SpT41G6PA6ztlG642tkPuc5Sbzhzi4zqQJWnpyA/NJrKHI/E/eXfMU/zjMk1IGEpg==} + scheduler@0.0.0-experimental-ac7820a9-20250811: + resolution: {integrity: sha512-8hOXHp7kGtVDiUEH5Zeu+Ip7PPdiKfjBYnjKt2CI90bg3MOhLGy1Gx5/uPKsxC4Ta5lZn/utKtoTp7Fl9LIpag==} - scheduler@0.27.0-canary-f1e70b5e-20250811: - resolution: {integrity: sha512-gmJFycv/hjKTihYbw7TbhouJ+fMiXXU0SGOebMXrhEKEH/ArAB0Yk+ZyqTeStnhnUPhs95errafBrSmOQdrANQ==} + scheduler@0.27.0-canary-ac7820a9-20250811: + resolution: {integrity: sha512-3AfndAY1UUyQxc37Z1+OLSKvr1NnJm9JxpZ3BYsBKT4b716cmOFzBF3HDIvc2dY10LI8v7jYj9epZkIYYc2pLg==} schema-utils@2.7.1: resolution: {integrity: sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==} @@ -15455,7 +15467,7 @@ packages: peerDependencies: '@babel/core': '*' babel-plugin-macros: '*' - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 peerDependenciesMeta: '@babel/core': optional: true @@ -15536,7 +15548,7 @@ packages: swr@2.2.4: resolution: {integrity: sha512-njiZ/4RiIhoOlAaLYDqwz5qH/KZXVilRLvomrx83HjzCWTfa+InyfAjv05PSFxnmLzZkNO9ZfvgoqzAaEI4sGQ==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 symbol-observable@1.0.1: resolution: {integrity: sha512-Kb3PrPYz4HanVF1LVGuAdW6LoVgIwjUYJGzFe7NDrBLCN4lsV/5J0MFurV+ygS4bRVwrCEt2c7MQ1R2a72oJDw==} @@ -16328,7 +16340,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': 19.1.8 - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 peerDependenciesMeta: '@types/react': optional: true @@ -16336,13 +16348,13 @@ packages: use-composed-ref@1.3.0: resolution: {integrity: sha512-GLMG0Jc/jiKov/3Ulid1wbv3r54K9HlMW29IWcDFPEqFkSO2nS0MuefWgMJpeHQ9YJeXDL3ZUF+P3jdXlZX/cQ==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 use-isomorphic-layout-effect@1.1.2: resolution: {integrity: sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA==} peerDependencies: '@types/react': '*' - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 peerDependenciesMeta: '@types/react': optional: true @@ -16351,7 +16363,7 @@ packages: resolution: {integrity: sha512-xA+AVm/Wlg3e2P/JiItTziwS7FK92LWrDB0p+hgXloIMuVCeJJ8v6f0eeHyPZaJrM+usM1FkFfbNCrJGs8A/zw==} peerDependencies: '@types/react': '*' - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 peerDependenciesMeta: '@types/react': optional: true @@ -16361,7 +16373,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': 19.1.8 - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 peerDependenciesMeta: '@types/react': optional: true @@ -16369,12 +16381,12 @@ packages: use-sync-external-store@1.2.0: resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 use-sync-external-store@1.5.0: resolution: {integrity: sha512-Rb46I4cGGVBmjamjphe8L/UnvJD+uPPtTkNvX5mZgqdbavhI4EbgIWJiIHXJ8bc/i9EQGPRh4DwEURJ552Do0A==} peerDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -18064,28 +18076,28 @@ snapshots: '@babel/helper-string-parser': 7.25.9 '@babel/helper-validator-identifier': 7.25.9 - '@base-ui-components/react@1.0.0-beta.2(@types/react@19.1.8)(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)': + '@base-ui-components/react@1.0.0-beta.2(@types/react@19.1.8)(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)': dependencies: '@babel/runtime': 7.27.6 - '@base-ui-components/utils': 0.1.0(@types/react@19.1.8)(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811) - '@floating-ui/react-dom': 2.1.5(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811) + '@base-ui-components/utils': 0.1.0(@types/react@19.1.8)(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811) + '@floating-ui/react-dom': 2.1.5(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811) '@floating-ui/utils': 0.2.10 - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) reselect: 5.1.1 tabbable: 6.2.0 - use-sync-external-store: 1.5.0(react@19.2.0-canary-f1e70b5e-20250811) + use-sync-external-store: 1.5.0(react@19.2.0-canary-ac7820a9-20250811) optionalDependencies: '@types/react': 19.1.8 - '@base-ui-components/utils@0.1.0(@types/react@19.1.8)(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)': + '@base-ui-components/utils@0.1.0(@types/react@19.1.8)(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)': dependencies: '@babel/runtime': 7.27.6 '@floating-ui/utils': 0.2.10 - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) reselect: 5.1.1 - use-sync-external-store: 1.5.0(react@19.2.0-canary-f1e70b5e-20250811) + use-sync-external-store: 1.5.0(react@19.2.0-canary-ac7820a9-20250811) optionalDependencies: '@types/react': 19.1.8 @@ -18418,17 +18430,17 @@ snapshots: '@emotion/memoize@0.8.1': {} - '@emotion/react@11.11.1(@types/react@19.1.8)(react@19.2.0-canary-f1e70b5e-20250811)': + '@emotion/react@11.11.1(@types/react@19.1.8)(react@19.2.0-canary-ac7820a9-20250811)': dependencies: '@babel/runtime': 7.27.0 '@emotion/babel-plugin': 11.11.0 '@emotion/cache': 11.11.0 '@emotion/serialize': 1.1.2 - '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@19.2.0-canary-f1e70b5e-20250811) + '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@19.2.0-canary-ac7820a9-20250811) '@emotion/utils': 1.2.1 '@emotion/weak-memoize': 0.3.1 hoist-non-react-statics: 3.3.2 - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 optionalDependencies: '@types/react': 19.1.8 transitivePeerDependencies: @@ -18446,9 +18458,9 @@ snapshots: '@emotion/unitless@0.8.1': {} - '@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@19.2.0-canary-f1e70b5e-20250811)': + '@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@19.2.0-canary-ac7820a9-20250811)': dependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 '@emotion/utils@1.2.1': {} @@ -18972,11 +18984,11 @@ snapshots: react: 19.2.0-canary-f1e70b5e-20250811 react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) - '@floating-ui/react-dom@2.1.5(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)': + '@floating-ui/react-dom@2.1.5(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)': dependencies: '@floating-ui/dom': 1.7.3 - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) '@floating-ui/react@0.26.16(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)': dependencies: @@ -20135,17 +20147,23 @@ snapshots: transitivePeerDependencies: - supports-color + '@mdx-js/react@2.2.1(react@19.2.0-canary-ac7820a9-20250811)': + dependencies: + '@types/mdx': 2.0.3 + '@types/react': 19.1.8 + react: 19.2.0-canary-ac7820a9-20250811 + '@mdx-js/react@2.2.1(react@19.2.0-canary-f1e70b5e-20250811)': dependencies: '@types/mdx': 2.0.3 '@types/react': 19.1.8 react: 19.2.0-canary-f1e70b5e-20250811 - '@mdx-js/react@3.1.0(@types/react@19.1.8)(react@19.2.0-canary-f1e70b5e-20250811)': + '@mdx-js/react@3.1.0(@types/react@19.1.8)(react@19.2.0-canary-ac7820a9-20250811)': dependencies: '@types/mdx': 2.0.3 '@types/react': 19.1.8 - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 '@module-federation/error-codes@0.15.0': {} @@ -20905,12 +20923,12 @@ snapshots: '@storybook/addon-docs@8.6.0(@types/react@19.1.8)(storybook@8.6.0(prettier@3.3.3))': dependencies: - '@mdx-js/react': 3.1.0(@types/react@19.1.8)(react@19.2.0-canary-f1e70b5e-20250811) - '@storybook/blocks': 8.6.0(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)(storybook@8.6.0(prettier@3.3.3)) + '@mdx-js/react': 3.1.0(@types/react@19.1.8)(react@19.2.0-canary-ac7820a9-20250811) + '@storybook/blocks': 8.6.0(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)(storybook@8.6.0(prettier@3.3.3)) '@storybook/csf-plugin': 8.6.0(storybook@8.6.0(prettier@3.3.3)) - '@storybook/react-dom-shim': 8.6.0(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)(storybook@8.6.0(prettier@3.3.3)) - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + '@storybook/react-dom-shim': 8.6.0(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)(storybook@8.6.0(prettier@3.3.3)) + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) storybook: 8.6.0(prettier@3.3.3) ts-dedent: 2.2.0 transitivePeerDependencies: @@ -20975,14 +20993,14 @@ snapshots: - '@swc/helpers' - webpack - '@storybook/blocks@8.6.0(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)(storybook@8.6.0(prettier@3.3.3))': + '@storybook/blocks@8.6.0(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)(storybook@8.6.0(prettier@3.3.3))': dependencies: - '@storybook/icons': 1.3.0(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811) + '@storybook/icons': 1.3.0(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811) storybook: 8.6.0(prettier@3.3.3) ts-dedent: 2.2.0 optionalDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) '@storybook/builder-webpack5@8.6.0(@rspack/core@1.4.5(@swc/helpers@0.5.15))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2)': dependencies: @@ -21061,10 +21079,10 @@ snapshots: '@storybook/global@5.0.0': {} - '@storybook/icons@1.3.0(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)': + '@storybook/icons@1.3.0(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)': dependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) '@storybook/instrumenter@8.6.0(storybook@8.6.0(prettier@3.3.3))': dependencies: @@ -21076,17 +21094,17 @@ snapshots: dependencies: storybook: 8.6.0(prettier@3.3.3) - '@storybook/preset-react-webpack@8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2)': + '@storybook/preset-react-webpack@8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2)': dependencies: '@storybook/core-webpack': 8.6.0(storybook@8.6.0(prettier@3.3.3)) - '@storybook/react': 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) + '@storybook/react': 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) '@storybook/react-docgen-typescript-plugin': 1.0.6--canary.9.0c3f3b7.0(typescript@5.8.2)(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)) '@types/semver': 7.5.6 find-up: 5.0.0 magic-string: 0.30.17 - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 react-docgen: 7.1.0 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) resolve: 1.22.10 semver: 7.6.3 storybook: 8.6.0(prettier@3.3.3) @@ -21120,19 +21138,19 @@ snapshots: transitivePeerDependencies: - supports-color - '@storybook/react-dom-shim@8.6.0(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)(storybook@8.6.0(prettier@3.3.3))': + '@storybook/react-dom-shim@8.6.0(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)(storybook@8.6.0(prettier@3.3.3))': dependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) storybook: 8.6.0(prettier@3.3.3) - '@storybook/react-webpack5@8.6.0(@rspack/core@1.4.5(@swc/helpers@0.5.15))(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2)': + '@storybook/react-webpack5@8.6.0(@rspack/core@1.4.5(@swc/helpers@0.5.15))(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2)': dependencies: '@storybook/builder-webpack5': 8.6.0(@rspack/core@1.4.5(@swc/helpers@0.5.15))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) - '@storybook/preset-react-webpack': 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) - '@storybook/react': 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + '@storybook/preset-react-webpack': 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2)(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) + '@storybook/react': 8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2) + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) storybook: 8.6.0(prettier@3.3.3) optionalDependencies: typescript: 5.8.2 @@ -21145,16 +21163,16 @@ snapshots: - uglify-js - webpack-cli - '@storybook/react@8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2)': + '@storybook/react@8.6.0(@storybook/test@8.6.0(storybook@8.6.0(prettier@3.3.3)))(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)(storybook@8.6.0(prettier@3.3.3))(typescript@5.8.2)': dependencies: '@storybook/components': 8.6.0(storybook@8.6.0(prettier@3.3.3)) '@storybook/global': 5.0.0 '@storybook/manager-api': 8.6.0(storybook@8.6.0(prettier@3.3.3)) '@storybook/preview-api': 8.6.0(storybook@8.6.0(prettier@3.3.3)) - '@storybook/react-dom-shim': 8.6.0(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)(storybook@8.6.0(prettier@3.3.3)) + '@storybook/react-dom-shim': 8.6.0(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)(storybook@8.6.0(prettier@3.3.3)) '@storybook/theming': 8.6.0(storybook@8.6.0(prettier@3.3.3)) - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) storybook: 8.6.0(prettier@3.3.3) optionalDependencies: '@storybook/test': 8.6.0(storybook@8.6.0(prettier@3.3.3)) @@ -21361,13 +21379,13 @@ snapshots: lodash: 4.17.21 redent: 3.0.0 - '@testing-library/react@15.0.7(@types/react@19.1.8)(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)': + '@testing-library/react@15.0.7(@types/react@19.1.8)(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)': dependencies: '@babel/runtime': 7.27.0 '@testing-library/dom': 10.1.0 '@types/react-dom': 19.1.6(@types/react@19.1.8) - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) optionalDependencies: '@types/react': 19.1.8 @@ -25643,7 +25661,7 @@ snapshots: - bluebird - supports-color - eslint-plugin-react-hooks@0.0.0-experimental-f1e70b5e-20250811(eslint@9.12.0): + eslint-plugin-react-hooks@0.0.0-experimental-ac7820a9-20250811(eslint@9.12.0): dependencies: '@babel/core': 7.26.10 '@babel/parser': 7.27.0 @@ -27166,7 +27184,7 @@ snapshots: hoist-non-react-statics@3.3.2: dependencies: - react-is: 19.2.0-canary-f1e70b5e-20250811 + react-is: 19.2.0-canary-ac7820a9-20250811 homedir-polyfill@1.0.3: dependencies: @@ -32107,25 +32125,25 @@ snapshots: dependencies: ansi-regex: 5.0.1 ansi-styles: 5.2.0 - react-is: 19.2.0-canary-f1e70b5e-20250811 + react-is: 19.2.0-canary-ac7820a9-20250811 pretty-format@29.5.0: dependencies: '@jest/schemas': 29.4.3 ansi-styles: 5.2.0 - react-is: 19.2.0-canary-f1e70b5e-20250811 + react-is: 19.2.0-canary-ac7820a9-20250811 pretty-format@29.7.0: dependencies: '@jest/schemas': 29.6.3 ansi-styles: 5.2.0 - react-is: 19.2.0-canary-f1e70b5e-20250811 + react-is: 19.2.0-canary-ac7820a9-20250811 pretty-format@30.0.0-alpha.6: dependencies: '@jest/schemas': 30.0.0-alpha.6 ansi-styles: 5.2.0 - react-is: 19.2.0-canary-f1e70b5e-20250811 + react-is: 19.2.0-canary-ac7820a9-20250811 pretty-ms@7.0.0: dependencies: @@ -32188,7 +32206,7 @@ snapshots: dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - react-is: 19.2.0-canary-f1e70b5e-20250811 + react-is: 19.2.0-canary-ac7820a9-20250811 property-information@5.6.0: dependencies: @@ -32399,15 +32417,22 @@ snapshots: transitivePeerDependencies: - supports-color - react-dom@0.0.0-experimental-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811): + react-dom@0.0.0-experimental-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811): dependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - scheduler: 0.27.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + scheduler: 0.27.0-canary-ac7820a9-20250811 + + react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811): + dependencies: + react: 19.2.0-canary-ac7820a9-20250811 + scheduler: 0.27.0-canary-ac7820a9-20250811 react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811): dependencies: react: 19.2.0-canary-f1e70b5e-20250811 - scheduler: 0.27.0-canary-f1e70b5e-20250811 + scheduler: 0.27.0-canary-ac7820a9-20250811 + + react-is@19.2.0-canary-ac7820a9-20250811: {} react-is@19.2.0-canary-f1e70b5e-20250811: {} @@ -32440,48 +32465,48 @@ snapshots: optionalDependencies: '@types/react': 19.1.8 - react-server-dom-turbopack@0.0.0-experimental-f1e70b5e-20250811(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811): + react-server-dom-turbopack@0.0.0-experimental-ac7820a9-20250811(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) - react-server-dom-turbopack@19.2.0-canary-f1e70b5e-20250811(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811): + react-server-dom-turbopack@19.2.0-canary-ac7820a9-20250811(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) - react-server-dom-webpack@0.0.0-experimental-f1e70b5e-20250811(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))): + react-server-dom-webpack@0.0.0-experimental-ac7820a9-20250811(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) webpack: 5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15)) webpack-sources: 3.2.3(patch_hash=jbynf5dc46ambamq3wuyho6hkq) - react-server-dom-webpack@19.2.0-canary-f1e70b5e-20250811(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811)(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))): + react-server-dom-webpack@19.2.0-canary-ac7820a9-20250811(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811)(webpack@5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) webpack: 5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15)) webpack-sources: 3.2.3(patch_hash=jbynf5dc46ambamq3wuyho6hkq) - react-shallow-renderer@16.15.0(react@19.2.0-canary-f1e70b5e-20250811): + react-shallow-renderer@16.15.0(react@19.2.0-canary-ac7820a9-20250811): dependencies: object-assign: 4.1.1 - react: 19.2.0-canary-f1e70b5e-20250811 - react-is: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-is: 19.2.0-canary-ac7820a9-20250811 - react-ssr-prepass@1.0.8(react-is@19.2.0-canary-f1e70b5e-20250811)(react@19.2.0-canary-f1e70b5e-20250811): + react-ssr-prepass@1.0.8(react-is@19.2.0-canary-f1e70b5e-20250811)(react@19.2.0-canary-ac7820a9-20250811): dependencies: object-is: 1.0.2 - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 react-is: 19.2.0-canary-f1e70b5e-20250811 react-style-singleton@2.2.1(@types/react@19.1.8)(react@19.2.0-canary-f1e70b5e-20250811): @@ -32493,12 +32518,12 @@ snapshots: optionalDependencies: '@types/react': 19.1.8 - react-test-renderer@18.2.0(react@19.2.0-canary-f1e70b5e-20250811): + react-test-renderer@18.2.0(react@19.2.0-canary-ac7820a9-20250811): dependencies: - react: 19.2.0-canary-f1e70b5e-20250811 - react-is: 19.2.0-canary-f1e70b5e-20250811 - react-shallow-renderer: 16.15.0(react@19.2.0-canary-f1e70b5e-20250811) - scheduler: 0.27.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 + react-is: 19.2.0-canary-ac7820a9-20250811 + react-shallow-renderer: 16.15.0(react@19.2.0-canary-ac7820a9-20250811) + scheduler: 0.27.0-canary-ac7820a9-20250811 react-textarea-autosize@8.5.3(@types/react@19.1.8)(react@19.2.0-canary-f1e70b5e-20250811): dependencies: @@ -32509,18 +32534,20 @@ snapshots: transitivePeerDependencies: - '@types/react' - react-virtualized@9.22.3(react-dom@19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811))(react@19.2.0-canary-f1e70b5e-20250811): + react-virtualized@9.22.3(react-dom@19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811))(react@19.2.0-canary-ac7820a9-20250811): dependencies: '@babel/runtime': 7.27.0 clsx: 1.1.1 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 - react: 19.2.0-canary-f1e70b5e-20250811 - react-dom: 19.2.0-canary-f1e70b5e-20250811(react@19.2.0-canary-f1e70b5e-20250811) + react: 19.2.0-canary-ac7820a9-20250811 + react-dom: 19.2.0-canary-ac7820a9-20250811(react@19.2.0-canary-ac7820a9-20250811) react-lifecycles-compat: 3.0.4 - react@0.0.0-experimental-f1e70b5e-20250811: {} + react@0.0.0-experimental-ac7820a9-20250811: {} + + react@19.2.0-canary-ac7820a9-20250811: {} react@19.2.0-canary-f1e70b5e-20250811: {} @@ -33290,9 +33317,9 @@ snapshots: dependencies: xmlchars: 2.2.0 - scheduler@0.0.0-experimental-f1e70b5e-20250811: {} + scheduler@0.0.0-experimental-ac7820a9-20250811: {} - scheduler@0.27.0-canary-f1e70b5e-20250811: {} + scheduler@0.27.0-canary-ac7820a9-20250811: {} schema-utils@2.7.1: dependencies: @@ -34093,10 +34120,10 @@ snapshots: postcss: 7.0.32 postcss-load-plugins: 2.3.0 - styled-jsx@5.1.6(@babel/core@7.26.10)(babel-plugin-macros@3.1.0)(react@19.2.0-canary-f1e70b5e-20250811): + styled-jsx@5.1.6(@babel/core@7.26.10)(babel-plugin-macros@3.1.0)(react@19.2.0-canary-ac7820a9-20250811): dependencies: client-only: 0.0.1 - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 optionalDependencies: '@babel/core': 7.26.10 babel-plugin-macros: 3.1.0 @@ -34190,11 +34217,11 @@ snapshots: '@swc/counter': 0.1.3 webpack: 5.98.0(@swc/core@1.11.24(@swc/helpers@0.5.15))(esbuild@0.24.2) - swr@2.2.4(react@19.2.0-canary-f1e70b5e-20250811): + swr@2.2.4(react@19.2.0-canary-ac7820a9-20250811): dependencies: client-only: 0.0.1 - react: 19.2.0-canary-f1e70b5e-20250811 - use-sync-external-store: 1.2.0(react@19.2.0-canary-f1e70b5e-20250811) + react: 19.2.0-canary-ac7820a9-20250811 + use-sync-external-store: 1.2.0(react@19.2.0-canary-ac7820a9-20250811) symbol-observable@1.0.1: {} @@ -34991,9 +35018,9 @@ snapshots: unist-util-is: 6.0.0 unist-util-visit-parents: 6.0.1 - unistore@3.4.1(react@19.2.0-canary-f1e70b5e-20250811): + unistore@3.4.1(react@19.2.0-canary-ac7820a9-20250811): optionalDependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 universal-github-app-jwt@1.1.1: dependencies: @@ -35119,13 +35146,13 @@ snapshots: optionalDependencies: '@types/react': 19.1.8 - use-sync-external-store@1.2.0(react@19.2.0-canary-f1e70b5e-20250811): + use-sync-external-store@1.2.0(react@19.2.0-canary-ac7820a9-20250811): dependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 - use-sync-external-store@1.5.0(react@19.2.0-canary-f1e70b5e-20250811): + use-sync-external-store@1.5.0(react@19.2.0-canary-ac7820a9-20250811): dependencies: - react: 19.2.0-canary-f1e70b5e-20250811 + react: 19.2.0-canary-ac7820a9-20250811 util-deprecate@1.0.2: {}