From 473ee29cdb80a6446684bb7418fa7e2bb7a118ee Mon Sep 17 00:00:00 2001 From: rickhanlonii Date: Wed, 26 Mar 2025 14:45:27 -0700 Subject: [PATCH] s/HTML/text for text hydration mismatches (#32763) DiffTrain build for [3e88e97c116c7a1535976f2d4486bbf345476443](https://github.com/facebook/react/commit/3e88e97c116c7a1535976f2d4486bbf345476443) --- compiled/facebook-www/REVISION | 2 +- compiled/facebook-www/REVISION_TRANSFORMS | 2 +- compiled/facebook-www/React-dev.classic.js | 2 +- compiled/facebook-www/React-dev.modern.js | 2 +- compiled/facebook-www/React-prod.classic.js | 2 +- compiled/facebook-www/React-prod.modern.js | 2 +- .../facebook-www/React-profiling.classic.js | 2 +- .../facebook-www/React-profiling.modern.js | 2 +- compiled/facebook-www/ReactART-dev.classic.js | 6 ++--- compiled/facebook-www/ReactART-dev.modern.js | 6 ++--- .../facebook-www/ReactART-prod.classic.js | 6 ++--- compiled/facebook-www/ReactART-prod.modern.js | 6 ++--- compiled/facebook-www/ReactDOM-dev.classic.js | 22 +++++++++------- compiled/facebook-www/ReactDOM-dev.modern.js | 22 +++++++++------- .../facebook-www/ReactDOM-prod.classic.js | 26 +++++++++++++------ compiled/facebook-www/ReactDOM-prod.modern.js | 26 +++++++++++++------ .../ReactDOM-profiling.classic.js | 26 +++++++++++++------ .../facebook-www/ReactDOM-profiling.modern.js | 26 +++++++++++++------ .../ReactDOMServer-dev.classic.js | 2 +- .../facebook-www/ReactDOMServer-dev.modern.js | 2 +- .../ReactDOMServer-prod.classic.js | 2 +- .../ReactDOMServer-prod.modern.js | 2 +- .../ReactDOMTesting-dev.classic.js | 22 +++++++++------- .../ReactDOMTesting-dev.modern.js | 22 +++++++++------- .../ReactDOMTesting-prod.classic.js | 26 +++++++++++++------ .../ReactDOMTesting-prod.modern.js | 26 +++++++++++++------ .../ReactReconciler-dev.classic.js | 14 ++++++---- .../ReactReconciler-dev.modern.js | 14 ++++++---- .../ReactReconciler-prod.classic.js | 16 +++++++++--- .../ReactReconciler-prod.modern.js | 16 +++++++++--- .../ReactTestRenderer-dev.classic.js | 6 ++--- .../ReactTestRenderer-dev.modern.js | 6 ++--- compiled/facebook-www/VERSION_CLASSIC | 2 +- compiled/facebook-www/VERSION_MODERN | 2 +- 34 files changed, 234 insertions(+), 134 deletions(-) diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index bda48eeee2..ac12aa9dc3 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -f134b3993a84d53cc99fe66b426ba13548f142ec +3e88e97c116c7a1535976f2d4486bbf345476443 diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index bda48eeee2..ac12aa9dc3 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -f134b3993a84d53cc99fe66b426ba13548f142ec +3e88e97c116c7a1535976f2d4486bbf345476443 diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index e335efb439..b2d75e9404 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -1511,7 +1511,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.1.0-www-classic-f134b399-20250326"; + exports.version = "19.1.0-www-classic-3e88e97c-20250326"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-dev.modern.js b/compiled/facebook-www/React-dev.modern.js index dfe506a85b..f86a8d810e 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -1511,7 +1511,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.1.0-www-modern-f134b399-20250326"; + exports.version = "19.1.0-www-modern-3e88e97c-20250326"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-prod.classic.js b/compiled/facebook-www/React-prod.classic.js index 95942458a2..8aa324d7e9 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -624,4 +624,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-classic-f134b399-20250326"; +exports.version = "19.1.0-www-classic-3e88e97c-20250326"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 792072add4..da41dc427e 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -624,4 +624,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-modern-f134b399-20250326"; +exports.version = "19.1.0-www-modern-3e88e97c-20250326"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index a873c80416..0ceea231c7 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -628,7 +628,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-classic-f134b399-20250326"; +exports.version = "19.1.0-www-classic-3e88e97c-20250326"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/React-profiling.modern.js b/compiled/facebook-www/React-profiling.modern.js index 90cc2ee479..7e7d586da6 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -628,7 +628,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-modern-f134b399-20250326"; +exports.version = "19.1.0-www-modern-3e88e97c-20250326"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-dev.classic.js b/compiled/facebook-www/ReactART-dev.classic.js index 161494ddfe..d245f89166 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -18194,10 +18194,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-f134b399-20250326", + version: "19.1.0-www-classic-3e88e97c-20250326", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-f134b399-20250326" + reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -18231,7 +18231,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.1.0-www-classic-f134b399-20250326"; + exports.version = "19.1.0-www-classic-3e88e97c-20250326"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-dev.modern.js b/compiled/facebook-www/ReactART-dev.modern.js index 1540ad4614..7f9469b98f 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -17966,10 +17966,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-f134b399-20250326", + version: "19.1.0-www-modern-3e88e97c-20250326", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-f134b399-20250326" + reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -18003,7 +18003,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.1.0-www-modern-f134b399-20250326"; + exports.version = "19.1.0-www-modern-3e88e97c-20250326"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactART-prod.classic.js b/compiled/facebook-www/ReactART-prod.classic.js index d97e2f94a4..619e4e3565 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -11146,10 +11146,10 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1582 = { bundleType: 0, - version: "19.1.0-www-classic-f134b399-20250326", + version: "19.1.0-www-classic-3e88e97c-20250326", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-f134b399-20250326" + reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1583 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -11175,4 +11175,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.1.0-www-classic-f134b399-20250326"; +exports.version = "19.1.0-www-classic-3e88e97c-20250326"; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index 76266ebb91..c5a3fe4edd 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -10859,10 +10859,10 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1555 = { bundleType: 0, - version: "19.1.0-www-modern-f134b399-20250326", + version: "19.1.0-www-modern-3e88e97c-20250326", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-f134b399-20250326" + reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1556 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10888,4 +10888,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.1.0-www-modern-f134b399-20250326"; +exports.version = "19.1.0-www-modern-3e88e97c-20250326"; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index a33dc1deff..901599eec8 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -3586,14 +3586,18 @@ __DEV__ && fiber.serverTail.push(rejectedCandidate))); } function throwOnHydrationMismatch(fiber) { - var diff = "", + var fromText = + 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1, + diff = "", diffRoot = hydrationDiffRootDEV; null !== diffRoot && ((hydrationDiffRootDEV = null), (diff = describeDiff(diffRoot))); queueHydrationError( createCapturedValueAtFiber( Error( - "Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + + "Hydration failed because the server rendered " + + (fromText ? "text" : "HTML") + + " didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + diff ), fiber @@ -3692,7 +3696,7 @@ __DEV__ && : (didHydrate = !1); !didHydrate && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(fiber); + throwOnHydrationMismatch(fiber, !0); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) @@ -12088,7 +12092,7 @@ __DEV__ && : !1; !current && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(workInProgress); + throwOnHydrationMismatch(workInProgress, !0); } else (_type = renderLanes.ancestorInfo.current), null != _type && @@ -29908,11 +29912,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-classic-f134b399-20250326" !== isomorphicReactPackageVersion) + if ("19.1.0-www-classic-3e88e97c-20250326" !== 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.1.0-www-classic-f134b399-20250326\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-classic-3e88e97c-20250326\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -29955,10 +29959,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-f134b399-20250326", + version: "19.1.0-www-classic-3e88e97c-20250326", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-f134b399-20250326" + reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -30556,7 +30560,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-classic-f134b399-20250326"; + exports.version = "19.1.0-www-classic-3e88e97c-20250326"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-dev.modern.js b/compiled/facebook-www/ReactDOM-dev.modern.js index 30d17568c1..0b754ed6e2 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -3478,14 +3478,18 @@ __DEV__ && fiber.serverTail.push(rejectedCandidate))); } function throwOnHydrationMismatch(fiber) { - var diff = "", + var fromText = + 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1, + diff = "", diffRoot = hydrationDiffRootDEV; null !== diffRoot && ((hydrationDiffRootDEV = null), (diff = describeDiff(diffRoot))); queueHydrationError( createCapturedValueAtFiber( Error( - "Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + + "Hydration failed because the server rendered " + + (fromText ? "text" : "HTML") + + " didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + diff ), fiber @@ -3579,7 +3583,7 @@ __DEV__ && : (didHydrate = !1); !didHydrate && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(fiber); + throwOnHydrationMismatch(fiber, !0); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) @@ -11895,7 +11899,7 @@ __DEV__ && : !1; !current && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(workInProgress); + throwOnHydrationMismatch(workInProgress, !0); } else (_type = renderLanes.ancestorInfo.current), null != _type && @@ -29694,11 +29698,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-modern-f134b399-20250326" !== isomorphicReactPackageVersion) + if ("19.1.0-www-modern-3e88e97c-20250326" !== 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.1.0-www-modern-f134b399-20250326\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-modern-3e88e97c-20250326\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -29741,10 +29745,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-f134b399-20250326", + version: "19.1.0-www-modern-3e88e97c-20250326", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-f134b399-20250326" + reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -30342,7 +30346,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-modern-f134b399-20250326"; + exports.version = "19.1.0-www-modern-3e88e97c-20250326"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-prod.classic.js b/compiled/facebook-www/ReactDOM-prod.classic.js index 4e7319c1c8..fd7a9e3796 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -1784,7 +1784,15 @@ var hydrationParentFiber = null, rootOrSingletonContext = !1, HydrationMismatchException = Error(formatProdErrorMessage(519)); function throwOnHydrationMismatch(fiber) { - var error = Error(formatProdErrorMessage(418, "")); + var error = Error( + formatProdErrorMessage( + 418, + 1 < arguments.length && void 0 !== arguments[1] && arguments[1] + ? "text" + : "HTML", + "" + ) + ); queueHydrationError(createCapturedValueAtFiber(error, fiber)); throw HydrationMismatchException; } @@ -1861,7 +1869,9 @@ function prepareToHydrateHostInstance(fiber) { null != props.onClick && (instance.onclick = noop$1), (instance = !0)) : (instance = !1); - !instance && favorSafetyOverHydrationPerf && throwOnHydrationMismatch(fiber); + !instance && + favorSafetyOverHydrationPerf && + throwOnHydrationMismatch(fiber, !0); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) @@ -8035,7 +8045,7 @@ function completeWork(current, workInProgress, renderLanes) { : !1; !current && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(workInProgress); + throwOnHydrationMismatch(workInProgress, !0); } else (current = getOwnerDocumentFromRootContainer(current).createTextNode( @@ -18791,14 +18801,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1974 = React.version; if ( - "19.1.0-www-classic-f134b399-20250326" !== + "19.1.0-www-classic-3e88e97c-20250326" !== isomorphicReactPackageVersion$jscomp$inline_1974 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1974, - "19.1.0-www-classic-f134b399-20250326" + "19.1.0-www-classic-3e88e97c-20250326" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -18816,10 +18826,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2558 = { bundleType: 0, - version: "19.1.0-www-classic-f134b399-20250326", + version: "19.1.0-www-classic-3e88e97c-20250326", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-f134b399-20250326" + reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2559 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -19183,4 +19193,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-classic-f134b399-20250326"; +exports.version = "19.1.0-www-classic-3e88e97c-20250326"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index f5df8844b0..92a57de63e 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -1628,7 +1628,15 @@ var hydrationParentFiber = null, rootOrSingletonContext = !1, HydrationMismatchException = Error(formatProdErrorMessage(519)); function throwOnHydrationMismatch(fiber) { - var error = Error(formatProdErrorMessage(418, "")); + var error = Error( + formatProdErrorMessage( + 418, + 1 < arguments.length && void 0 !== arguments[1] && arguments[1] + ? "text" + : "HTML", + "" + ) + ); queueHydrationError(createCapturedValueAtFiber(error, fiber)); throw HydrationMismatchException; } @@ -1705,7 +1713,9 @@ function prepareToHydrateHostInstance(fiber) { null != props.onClick && (instance.onclick = noop$1), (instance = !0)) : (instance = !1); - !instance && favorSafetyOverHydrationPerf && throwOnHydrationMismatch(fiber); + !instance && + favorSafetyOverHydrationPerf && + throwOnHydrationMismatch(fiber, !0); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) @@ -7791,7 +7801,7 @@ function completeWork(current, workInProgress, renderLanes) { : !1; !current && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(workInProgress); + throwOnHydrationMismatch(workInProgress, !0); } else (current = getOwnerDocumentFromRootContainer(current).createTextNode( @@ -18520,14 +18530,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1964 = React.version; if ( - "19.1.0-www-modern-f134b399-20250326" !== + "19.1.0-www-modern-3e88e97c-20250326" !== isomorphicReactPackageVersion$jscomp$inline_1964 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1964, - "19.1.0-www-modern-f134b399-20250326" + "19.1.0-www-modern-3e88e97c-20250326" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -18545,10 +18555,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2540 = { bundleType: 0, - version: "19.1.0-www-modern-f134b399-20250326", + version: "19.1.0-www-modern-3e88e97c-20250326", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-f134b399-20250326" + reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2541 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -18912,4 +18922,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-modern-f134b399-20250326"; +exports.version = "19.1.0-www-modern-3e88e97c-20250326"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index a6c8b7e5a8..4f20a1329c 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -1897,7 +1897,15 @@ var hydrationParentFiber = null, rootOrSingletonContext = !1, HydrationMismatchException = Error(formatProdErrorMessage(519)); function throwOnHydrationMismatch(fiber) { - var error = Error(formatProdErrorMessage(418, "")); + var error = Error( + formatProdErrorMessage( + 418, + 1 < arguments.length && void 0 !== arguments[1] && arguments[1] + ? "text" + : "HTML", + "" + ) + ); queueHydrationError(createCapturedValueAtFiber(error, fiber)); throw HydrationMismatchException; } @@ -1974,7 +1982,9 @@ function prepareToHydrateHostInstance(fiber) { null != props.onClick && (instance.onclick = noop$1), (instance = !0)) : (instance = !1); - !instance && favorSafetyOverHydrationPerf && throwOnHydrationMismatch(fiber); + !instance && + favorSafetyOverHydrationPerf && + throwOnHydrationMismatch(fiber, !0); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) @@ -8640,7 +8650,7 @@ function completeWork(current, workInProgress, renderLanes) { : !1; !current && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(workInProgress); + throwOnHydrationMismatch(workInProgress, !0); } else (current = getOwnerDocumentFromRootContainer(current).createTextNode( @@ -20524,14 +20534,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_2134 = React.version; if ( - "19.1.0-www-classic-f134b399-20250326" !== + "19.1.0-www-classic-3e88e97c-20250326" !== isomorphicReactPackageVersion$jscomp$inline_2134 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2134, - "19.1.0-www-classic-f134b399-20250326" + "19.1.0-www-classic-3e88e97c-20250326" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -20549,10 +20559,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2136 = { bundleType: 0, - version: "19.1.0-www-classic-f134b399-20250326", + version: "19.1.0-www-classic-3e88e97c-20250326", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-f134b399-20250326" + reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326" }; enableSchedulingProfiler && ((internals$jscomp$inline_2136.getLaneLabelMap = getLaneLabelMap), @@ -20919,7 +20929,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-classic-f134b399-20250326"; +exports.version = "19.1.0-www-classic-3e88e97c-20250326"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOM-profiling.modern.js b/compiled/facebook-www/ReactDOM-profiling.modern.js index e7276fb120..35444a6514 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -1811,7 +1811,15 @@ var hydrationParentFiber = null, rootOrSingletonContext = !1, HydrationMismatchException = Error(formatProdErrorMessage(519)); function throwOnHydrationMismatch(fiber) { - var error = Error(formatProdErrorMessage(418, "")); + var error = Error( + formatProdErrorMessage( + 418, + 1 < arguments.length && void 0 !== arguments[1] && arguments[1] + ? "text" + : "HTML", + "" + ) + ); queueHydrationError(createCapturedValueAtFiber(error, fiber)); throw HydrationMismatchException; } @@ -1888,7 +1896,9 @@ function prepareToHydrateHostInstance(fiber) { null != props.onClick && (instance.onclick = noop$1), (instance = !0)) : (instance = !1); - !instance && favorSafetyOverHydrationPerf && throwOnHydrationMismatch(fiber); + !instance && + favorSafetyOverHydrationPerf && + throwOnHydrationMismatch(fiber, !0); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) @@ -8465,7 +8475,7 @@ function completeWork(current, workInProgress, renderLanes) { : !1; !current && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(workInProgress); + throwOnHydrationMismatch(workInProgress, !0); } else (current = getOwnerDocumentFromRootContainer(current).createTextNode( @@ -20322,14 +20332,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_2124 = React.version; if ( - "19.1.0-www-modern-f134b399-20250326" !== + "19.1.0-www-modern-3e88e97c-20250326" !== isomorphicReactPackageVersion$jscomp$inline_2124 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2124, - "19.1.0-www-modern-f134b399-20250326" + "19.1.0-www-modern-3e88e97c-20250326" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -20347,10 +20357,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2126 = { bundleType: 0, - version: "19.1.0-www-modern-f134b399-20250326", + version: "19.1.0-www-modern-3e88e97c-20250326", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-f134b399-20250326" + reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326" }; enableSchedulingProfiler && ((internals$jscomp$inline_2126.getLaneLabelMap = getLaneLabelMap), @@ -20717,7 +20727,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-modern-f134b399-20250326"; +exports.version = "19.1.0-www-modern-3e88e97c-20250326"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/compiled/facebook-www/ReactDOMServer-dev.classic.js b/compiled/facebook-www/ReactDOMServer-dev.classic.js index da147425d5..d958b35f16 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -9440,5 +9440,5 @@ __DEV__ && 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.1.0-www-classic-f134b399-20250326"; + exports.version = "19.1.0-www-classic-3e88e97c-20250326"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index 5d259f1d55..23c3539355 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -9369,5 +9369,5 @@ __DEV__ && 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.1.0-www-modern-f134b399-20250326"; + exports.version = "19.1.0-www-modern-3e88e97c-20250326"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index 78a06461db..8155f3e79a 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -6203,4 +6203,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.1.0-www-classic-f134b399-20250326"; +exports.version = "19.1.0-www-classic-3e88e97c-20250326"; diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index 6f6e5c1269..ab04f49d7e 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -6115,4 +6115,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.1.0-www-modern-f134b399-20250326"; +exports.version = "19.1.0-www-modern-3e88e97c-20250326"; diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index 2176b9780c..d53066e2a3 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -3627,14 +3627,18 @@ __DEV__ && fiber.serverTail.push(rejectedCandidate))); } function throwOnHydrationMismatch(fiber) { - var diff = "", + var fromText = + 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1, + diff = "", diffRoot = hydrationDiffRootDEV; null !== diffRoot && ((hydrationDiffRootDEV = null), (diff = describeDiff(diffRoot))); queueHydrationError( createCapturedValueAtFiber( Error( - "Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + + "Hydration failed because the server rendered " + + (fromText ? "text" : "HTML") + + " didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + diff ), fiber @@ -3733,7 +3737,7 @@ __DEV__ && : (didHydrate = !1); !didHydrate && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(fiber); + throwOnHydrationMismatch(fiber, !0); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) @@ -12129,7 +12133,7 @@ __DEV__ && : !1; !current && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(workInProgress); + throwOnHydrationMismatch(workInProgress, !0); } else (_type = renderLanes.ancestorInfo.current), null != _type && @@ -30229,11 +30233,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-classic-f134b399-20250326" !== isomorphicReactPackageVersion) + if ("19.1.0-www-classic-3e88e97c-20250326" !== 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.1.0-www-classic-f134b399-20250326\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-classic-3e88e97c-20250326\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -30276,10 +30280,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-f134b399-20250326", + version: "19.1.0-www-classic-3e88e97c-20250326", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-f134b399-20250326" + reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -31043,5 +31047,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-classic-f134b399-20250326"; + exports.version = "19.1.0-www-classic-3e88e97c-20250326"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index 7d595c62f1..7114ce480a 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -3519,14 +3519,18 @@ __DEV__ && fiber.serverTail.push(rejectedCandidate))); } function throwOnHydrationMismatch(fiber) { - var diff = "", + var fromText = + 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1, + diff = "", diffRoot = hydrationDiffRootDEV; null !== diffRoot && ((hydrationDiffRootDEV = null), (diff = describeDiff(diffRoot))); queueHydrationError( createCapturedValueAtFiber( Error( - "Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + + "Hydration failed because the server rendered " + + (fromText ? "text" : "HTML") + + " didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + diff ), fiber @@ -3620,7 +3624,7 @@ __DEV__ && : (didHydrate = !1); !didHydrate && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(fiber); + throwOnHydrationMismatch(fiber, !0); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) @@ -11936,7 +11940,7 @@ __DEV__ && : !1; !current && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(workInProgress); + throwOnHydrationMismatch(workInProgress, !0); } else (_type = renderLanes.ancestorInfo.current), null != _type && @@ -30015,11 +30019,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-modern-f134b399-20250326" !== isomorphicReactPackageVersion) + if ("19.1.0-www-modern-3e88e97c-20250326" !== 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.1.0-www-modern-f134b399-20250326\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-modern-3e88e97c-20250326\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -30062,10 +30066,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-f134b399-20250326", + version: "19.1.0-www-modern-3e88e97c-20250326", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-f134b399-20250326" + reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -30829,5 +30833,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-modern-f134b399-20250326"; + exports.version = "19.1.0-www-modern-3e88e97c-20250326"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index de18fef42b..d830426f76 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -1870,7 +1870,15 @@ var hydrationParentFiber = null, rootOrSingletonContext = !1, HydrationMismatchException = Error(formatProdErrorMessage(519)); function throwOnHydrationMismatch(fiber) { - var error = Error(formatProdErrorMessage(418, "")); + var error = Error( + formatProdErrorMessage( + 418, + 1 < arguments.length && void 0 !== arguments[1] && arguments[1] + ? "text" + : "HTML", + "" + ) + ); queueHydrationError(createCapturedValueAtFiber(error, fiber)); throw HydrationMismatchException; } @@ -1947,7 +1955,9 @@ function prepareToHydrateHostInstance(fiber) { null != props.onClick && (instance.onclick = noop$1), (instance = !0)) : (instance = !1); - !instance && favorSafetyOverHydrationPerf && throwOnHydrationMismatch(fiber); + !instance && + favorSafetyOverHydrationPerf && + throwOnHydrationMismatch(fiber, !0); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) @@ -8121,7 +8131,7 @@ function completeWork(current, workInProgress, renderLanes) { : !1; !current && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(workInProgress); + throwOnHydrationMismatch(workInProgress, !0); } else (current = getOwnerDocumentFromRootContainer(current).createTextNode( @@ -19107,14 +19117,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_2003 = React.version; if ( - "19.1.0-www-classic-f134b399-20250326" !== + "19.1.0-www-classic-3e88e97c-20250326" !== isomorphicReactPackageVersion$jscomp$inline_2003 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_2003, - "19.1.0-www-classic-f134b399-20250326" + "19.1.0-www-classic-3e88e97c-20250326" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -19132,10 +19142,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2592 = { bundleType: 0, - version: "19.1.0-www-classic-f134b399-20250326", + version: "19.1.0-www-classic-3e88e97c-20250326", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-f134b399-20250326" + reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2593 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -19650,4 +19660,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-classic-f134b399-20250326"; +exports.version = "19.1.0-www-classic-3e88e97c-20250326"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index 03e6e5900c..126ad5f436 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -1714,7 +1714,15 @@ var hydrationParentFiber = null, rootOrSingletonContext = !1, HydrationMismatchException = Error(formatProdErrorMessage(519)); function throwOnHydrationMismatch(fiber) { - var error = Error(formatProdErrorMessage(418, "")); + var error = Error( + formatProdErrorMessage( + 418, + 1 < arguments.length && void 0 !== arguments[1] && arguments[1] + ? "text" + : "HTML", + "" + ) + ); queueHydrationError(createCapturedValueAtFiber(error, fiber)); throw HydrationMismatchException; } @@ -1791,7 +1799,9 @@ function prepareToHydrateHostInstance(fiber) { null != props.onClick && (instance.onclick = noop$1), (instance = !0)) : (instance = !1); - !instance && favorSafetyOverHydrationPerf && throwOnHydrationMismatch(fiber); + !instance && + favorSafetyOverHydrationPerf && + throwOnHydrationMismatch(fiber, !0); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) @@ -7877,7 +7887,7 @@ function completeWork(current, workInProgress, renderLanes) { : !1; !current && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(workInProgress); + throwOnHydrationMismatch(workInProgress, !0); } else (current = getOwnerDocumentFromRootContainer(current).createTextNode( @@ -18836,14 +18846,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1993 = React.version; if ( - "19.1.0-www-modern-f134b399-20250326" !== + "19.1.0-www-modern-3e88e97c-20250326" !== isomorphicReactPackageVersion$jscomp$inline_1993 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1993, - "19.1.0-www-modern-f134b399-20250326" + "19.1.0-www-modern-3e88e97c-20250326" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -18861,10 +18871,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2574 = { bundleType: 0, - version: "19.1.0-www-modern-f134b399-20250326", + version: "19.1.0-www-modern-3e88e97c-20250326", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-f134b399-20250326" + reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2575 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -19379,4 +19389,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-modern-f134b399-20250326"; +exports.version = "19.1.0-www-modern-3e88e97c-20250326"; diff --git a/compiled/facebook-www/ReactReconciler-dev.classic.js b/compiled/facebook-www/ReactReconciler-dev.classic.js index f714d955e0..b1609bac28 100644 --- a/compiled/facebook-www/ReactReconciler-dev.classic.js +++ b/compiled/facebook-www/ReactReconciler-dev.classic.js @@ -2016,14 +2016,18 @@ __DEV__ && fiber.serverTail.push(rejectedCandidate))); } function throwOnHydrationMismatch(fiber) { - var diff = "", + var fromText = + 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1, + diff = "", diffRoot = hydrationDiffRootDEV; null !== diffRoot && ((hydrationDiffRootDEV = null), (diff = describeDiff(diffRoot))); queueHydrationError( createCapturedValueAtFiber( Error( - "Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + + "Hydration failed because the server rendered " + + (fromText ? "text" : "HTML") + + " didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + diff ), fiber @@ -2044,7 +2048,7 @@ __DEV__ && fiber ) && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(fiber); + throwOnHydrationMismatch(fiber, !0); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) @@ -10397,7 +10401,7 @@ __DEV__ && newProps ) && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(workInProgress); + throwOnHydrationMismatch(workInProgress, !0); } else workInProgress.stateNode = createTextInstance( newProps, @@ -20835,7 +20839,7 @@ __DEV__ && version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-f134b399-20250326" + reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-dev.modern.js b/compiled/facebook-www/ReactReconciler-dev.modern.js index c59f7f568e..59e2c83eab 100644 --- a/compiled/facebook-www/ReactReconciler-dev.modern.js +++ b/compiled/facebook-www/ReactReconciler-dev.modern.js @@ -1922,14 +1922,18 @@ __DEV__ && fiber.serverTail.push(rejectedCandidate))); } function throwOnHydrationMismatch(fiber) { - var diff = "", + var fromText = + 1 < arguments.length && void 0 !== arguments[1] ? arguments[1] : !1, + diff = "", diffRoot = hydrationDiffRootDEV; null !== diffRoot && ((hydrationDiffRootDEV = null), (diff = describeDiff(diffRoot))); queueHydrationError( createCapturedValueAtFiber( Error( - "Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + + "Hydration failed because the server rendered " + + (fromText ? "text" : "HTML") + + " didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:\n\n- A server/client branch `if (typeof window !== 'undefined')`.\n- Variable input such as `Date.now()` or `Math.random()` which changes each time it's called.\n- Date formatting in a user's locale which doesn't match the server.\n- External changing data without sending a snapshot of it along with the HTML.\n- Invalid HTML tag nesting.\n\nIt can also happen if the client has a browser extension installed which messes with the HTML before React loaded.\n\nhttps://react.dev/link/hydration-mismatch" + diff ), fiber @@ -1950,7 +1954,7 @@ __DEV__ && fiber ) && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(fiber); + throwOnHydrationMismatch(fiber, !0); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) @@ -10223,7 +10227,7 @@ __DEV__ && newProps ) && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(workInProgress); + throwOnHydrationMismatch(workInProgress, !0); } else workInProgress.stateNode = createTextInstance( newProps, @@ -20616,7 +20620,7 @@ __DEV__ && version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-f134b399-20250326" + reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.classic.js b/compiled/facebook-www/ReactReconciler-prod.classic.js index 73c7af96f1..e303dd4ab6 100644 --- a/compiled/facebook-www/ReactReconciler-prod.classic.js +++ b/compiled/facebook-www/ReactReconciler-prod.classic.js @@ -1012,7 +1012,15 @@ module.exports = function ($$$config) { : (HostTransitionContext._currentValue2 = NotPendingTransition)); } function throwOnHydrationMismatch(fiber) { - var error = Error(formatProdErrorMessage(418, "")); + var error = Error( + formatProdErrorMessage( + 418, + 1 < arguments.length && void 0 !== arguments[1] && arguments[1] + ? "text" + : "HTML", + "" + ) + ); queueHydrationError(createCapturedValueAtFiber(error, fiber)); throw HydrationMismatchException; } @@ -1026,7 +1034,7 @@ module.exports = function ($$$config) { fiber ) && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(fiber); + throwOnHydrationMismatch(fiber, !0); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) @@ -6973,7 +6981,7 @@ module.exports = function ($$$config) { newProps ) && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(workInProgress); + throwOnHydrationMismatch(workInProgress, !0); } else workInProgress.stateNode = createTextInstance( newProps, @@ -13687,7 +13695,7 @@ module.exports = function ($$$config) { version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-f134b399-20250326" + reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.modern.js b/compiled/facebook-www/ReactReconciler-prod.modern.js index 79241f9e92..bbe4afa876 100644 --- a/compiled/facebook-www/ReactReconciler-prod.modern.js +++ b/compiled/facebook-www/ReactReconciler-prod.modern.js @@ -871,7 +871,15 @@ module.exports = function ($$$config) { : (HostTransitionContext._currentValue2 = NotPendingTransition)); } function throwOnHydrationMismatch(fiber) { - var error = Error(formatProdErrorMessage(418, "")); + var error = Error( + formatProdErrorMessage( + 418, + 1 < arguments.length && void 0 !== arguments[1] && arguments[1] + ? "text" + : "HTML", + "" + ) + ); queueHydrationError(createCapturedValueAtFiber(error, fiber)); throw HydrationMismatchException; } @@ -885,7 +893,7 @@ module.exports = function ($$$config) { fiber ) && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(fiber); + throwOnHydrationMismatch(fiber, !0); } function popToNextHostParent(fiber) { for (hydrationParentFiber = fiber.return; hydrationParentFiber; ) @@ -6740,7 +6748,7 @@ module.exports = function ($$$config) { newProps ) && favorSafetyOverHydrationPerf && - throwOnHydrationMismatch(workInProgress); + throwOnHydrationMismatch(workInProgress, !0); } else workInProgress.stateNode = createTextInstance( newProps, @@ -13404,7 +13412,7 @@ module.exports = function ($$$config) { version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-f134b399-20250326" + reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index ef96ccd660..dfc9f1ae18 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -15031,10 +15031,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-f134b399-20250326", + version: "19.1.0-www-classic-3e88e97c-20250326", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-f134b399-20250326" + reconcilerVersion: "19.1.0-www-classic-3e88e97c-20250326" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15169,5 +15169,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.1.0-www-classic-f134b399-20250326"; + exports.version = "19.1.0-www-classic-3e88e97c-20250326"; })(); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index 1dd4c12e47..1a5d97b0e1 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -15031,10 +15031,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-f134b399-20250326", + version: "19.1.0-www-modern-3e88e97c-20250326", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-f134b399-20250326" + reconcilerVersion: "19.1.0-www-modern-3e88e97c-20250326" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15169,5 +15169,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.1.0-www-modern-f134b399-20250326"; + exports.version = "19.1.0-www-modern-3e88e97c-20250326"; })(); diff --git a/compiled/facebook-www/VERSION_CLASSIC b/compiled/facebook-www/VERSION_CLASSIC index 81451410af..d499c6191b 100644 --- a/compiled/facebook-www/VERSION_CLASSIC +++ b/compiled/facebook-www/VERSION_CLASSIC @@ -1 +1 @@ -19.1.0-www-classic-f134b399-20250326 \ No newline at end of file +19.1.0-www-classic-3e88e97c-20250326 \ No newline at end of file diff --git a/compiled/facebook-www/VERSION_MODERN b/compiled/facebook-www/VERSION_MODERN index d6a1122eb4..61ec02909a 100644 --- a/compiled/facebook-www/VERSION_MODERN +++ b/compiled/facebook-www/VERSION_MODERN @@ -1 +1 @@ -19.1.0-www-modern-f134b399-20250326 \ No newline at end of file +19.1.0-www-modern-3e88e97c-20250326 \ No newline at end of file