diff --git a/compiled/eslint-plugin-react-hooks/index.js b/compiled/eslint-plugin-react-hooks/index.js index 8eba3eeb6a..b7aff43e55 100644 --- a/compiled/eslint-plugin-react-hooks/index.js +++ b/compiled/eslint-plugin-react-hooks/index.js @@ -4616,296 +4616,306 @@ function isValidIdentifier(name, reserved = true) { var lib$1 = {}; -Object.defineProperty(lib$1, "__esModule", { - value: true -}); -lib$1.readCodePoint = readCodePoint; -lib$1.readInt = readInt; -lib$1.readStringContents = readStringContents; -var _isDigit = function isDigit(code) { - return code >= 48 && code <= 57; -}; -const forbiddenNumericSeparatorSiblings = { - decBinOct: new Set([46, 66, 69, 79, 95, 98, 101, 111]), - hex: new Set([46, 88, 95, 120]) -}; -const isAllowedNumericSeparatorSibling = { - bin: ch => ch === 48 || ch === 49, - oct: ch => ch >= 48 && ch <= 55, - dec: ch => ch >= 48 && ch <= 57, - hex: ch => ch >= 48 && ch <= 57 || ch >= 65 && ch <= 70 || ch >= 97 && ch <= 102 -}; -function readStringContents(type, input, pos, lineStart, curLine, errors) { - const initialPos = pos; - const initialLineStart = lineStart; - const initialCurLine = curLine; - let out = ""; - let firstInvalidLoc = null; - let chunkStart = pos; - const { - length - } = input; - for (;;) { - if (pos >= length) { - errors.unterminated(initialPos, initialLineStart, initialCurLine); - out += input.slice(chunkStart, pos); - break; - } - const ch = input.charCodeAt(pos); - if (isStringEnd(type, ch, input, pos)) { - out += input.slice(chunkStart, pos); - break; - } - if (ch === 92) { - out += input.slice(chunkStart, pos); - const res = readEscapedChar(input, pos, lineStart, curLine, type === "template", errors); - if (res.ch === null && !firstInvalidLoc) { - firstInvalidLoc = { - pos, - lineStart, - curLine - }; - } else { - out += res.ch; - } - ({ - pos, - lineStart, - curLine - } = res); - chunkStart = pos; - } else if (ch === 8232 || ch === 8233) { - ++pos; - ++curLine; - lineStart = pos; - } else if (ch === 10 || ch === 13) { - if (type === "template") { - out += input.slice(chunkStart, pos) + "\n"; - ++pos; - if (ch === 13 && input.charCodeAt(pos) === 10) { - ++pos; - } - ++curLine; - chunkStart = lineStart = pos; - } else { - errors.unterminated(initialPos, initialLineStart, initialCurLine); - } - } else { - ++pos; - } - } - return { - pos, - str: out, - firstInvalidLoc, - lineStart, - curLine, - containsInvalid: !!firstInvalidLoc - }; -} -function isStringEnd(type, ch, input, pos) { - if (type === "template") { - return ch === 96 || ch === 36 && input.charCodeAt(pos + 1) === 123; - } - return ch === (type === "double" ? 34 : 39); -} -function readEscapedChar(input, pos, lineStart, curLine, inTemplate, errors) { - const throwOnInvalid = !inTemplate; - pos++; - const res = ch => ({ - pos, - ch, - lineStart, - curLine - }); - const ch = input.charCodeAt(pos++); - switch (ch) { - case 110: - return res("\n"); - case 114: - return res("\r"); - case 120: - { - let code; - ({ - code, - pos - } = readHexChar(input, pos, lineStart, curLine, 2, false, throwOnInvalid, errors)); - return res(code === null ? null : String.fromCharCode(code)); - } - case 117: - { - let code; - ({ - code, - pos - } = readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors)); - return res(code === null ? null : String.fromCodePoint(code)); - } - case 116: - return res("\t"); - case 98: - return res("\b"); - case 118: - return res("\u000b"); - case 102: - return res("\f"); - case 13: - if (input.charCodeAt(pos) === 10) { - ++pos; - } - case 10: - lineStart = pos; - ++curLine; - case 8232: - case 8233: - return res(""); - case 56: - case 57: - if (inTemplate) { - return res(null); - } else { - errors.strictNumericEscape(pos - 1, lineStart, curLine); - } - default: - if (ch >= 48 && ch <= 55) { - const startPos = pos - 1; - const match = /^[0-7]+/.exec(input.slice(startPos, pos + 2)); - let octalStr = match[0]; - let octal = parseInt(octalStr, 8); - if (octal > 255) { - octalStr = octalStr.slice(0, -1); - octal = parseInt(octalStr, 8); - } - pos += octalStr.length - 1; - const next = input.charCodeAt(pos); - if (octalStr !== "0" || next === 56 || next === 57) { - if (inTemplate) { - return res(null); - } else { - errors.strictNumericEscape(startPos, lineStart, curLine); - } - } - return res(String.fromCharCode(octal)); - } - return res(String.fromCharCode(ch)); - } -} -function readHexChar(input, pos, lineStart, curLine, len, forceLen, throwOnInvalid, errors) { - const initialPos = pos; - let n; - ({ - n, - pos - } = readInt(input, pos, lineStart, curLine, 16, len, forceLen, false, errors, !throwOnInvalid)); - if (n === null) { - if (throwOnInvalid) { - errors.invalidEscapeSequence(initialPos, lineStart, curLine); - } else { - pos = initialPos - 1; - } - } - return { - code: n, - pos - }; -} -function readInt(input, pos, lineStart, curLine, radix, len, forceLen, allowNumSeparator, errors, bailOnError) { - const start = pos; - const forbiddenSiblings = radix === 16 ? forbiddenNumericSeparatorSiblings.hex : forbiddenNumericSeparatorSiblings.decBinOct; - const isAllowedSibling = radix === 16 ? isAllowedNumericSeparatorSibling.hex : radix === 10 ? isAllowedNumericSeparatorSibling.dec : radix === 8 ? isAllowedNumericSeparatorSibling.oct : isAllowedNumericSeparatorSibling.bin; - let invalid = false; - let total = 0; - for (let i = 0, e = len == null ? Infinity : len; i < e; ++i) { - const code = input.charCodeAt(pos); - let val; - if (code === 95 && allowNumSeparator !== "bail") { - const prev = input.charCodeAt(pos - 1); - const next = input.charCodeAt(pos + 1); - if (!allowNumSeparator) { - if (bailOnError) return { - n: null, - pos - }; - errors.numericSeparatorInEscapeSequence(pos, lineStart, curLine); - } else if (Number.isNaN(next) || !isAllowedSibling(next) || forbiddenSiblings.has(prev) || forbiddenSiblings.has(next)) { - if (bailOnError) return { - n: null, - pos - }; - errors.unexpectedNumericSeparator(pos, lineStart, curLine); - } - ++pos; - continue; - } - if (code >= 97) { - val = code - 97 + 10; - } else if (code >= 65) { - val = code - 65 + 10; - } else if (_isDigit(code)) { - val = code - 48; - } else { - val = Infinity; - } - if (val >= radix) { - if (val <= 9 && bailOnError) { - return { - n: null, - pos - }; - } else if (val <= 9 && errors.invalidDigit(pos, lineStart, curLine, radix)) { - val = 0; - } else if (forceLen) { - val = 0; - invalid = true; - } else { - break; - } - } - ++pos; - total = total * radix + val; - } - if (pos === start || len != null && pos - start !== len || invalid) { - return { - n: null, - pos - }; - } - return { - n: total, - pos - }; -} -function readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors) { - const ch = input.charCodeAt(pos); - let code; - if (ch === 123) { - ++pos; - ({ - code, - pos - } = readHexChar(input, pos, lineStart, curLine, input.indexOf("}", pos) - pos, true, throwOnInvalid, errors)); - ++pos; - if (code !== null && code > 0x10ffff) { - if (throwOnInvalid) { - errors.invalidCodePoint(pos, lineStart, curLine); - } else { - return { - code: null, - pos - }; - } - } - } else { - ({ - code, - pos - } = readHexChar(input, pos, lineStart, curLine, 4, false, throwOnInvalid, errors)); - } - return { - code, - pos - }; +var hasRequiredLib$1; + +function requireLib$1 () { + if (hasRequiredLib$1) return lib$1; + hasRequiredLib$1 = 1; + + Object.defineProperty(lib$1, "__esModule", { + value: true + }); + lib$1.readCodePoint = readCodePoint; + lib$1.readInt = readInt; + lib$1.readStringContents = readStringContents; + var _isDigit = function isDigit(code) { + return code >= 48 && code <= 57; + }; + const forbiddenNumericSeparatorSiblings = { + decBinOct: new Set([46, 66, 69, 79, 95, 98, 101, 111]), + hex: new Set([46, 88, 95, 120]) + }; + const isAllowedNumericSeparatorSibling = { + bin: ch => ch === 48 || ch === 49, + oct: ch => ch >= 48 && ch <= 55, + dec: ch => ch >= 48 && ch <= 57, + hex: ch => ch >= 48 && ch <= 57 || ch >= 65 && ch <= 70 || ch >= 97 && ch <= 102 + }; + function readStringContents(type, input, pos, lineStart, curLine, errors) { + const initialPos = pos; + const initialLineStart = lineStart; + const initialCurLine = curLine; + let out = ""; + let firstInvalidLoc = null; + let chunkStart = pos; + const { + length + } = input; + for (;;) { + if (pos >= length) { + errors.unterminated(initialPos, initialLineStart, initialCurLine); + out += input.slice(chunkStart, pos); + break; + } + const ch = input.charCodeAt(pos); + if (isStringEnd(type, ch, input, pos)) { + out += input.slice(chunkStart, pos); + break; + } + if (ch === 92) { + out += input.slice(chunkStart, pos); + const res = readEscapedChar(input, pos, lineStart, curLine, type === "template", errors); + if (res.ch === null && !firstInvalidLoc) { + firstInvalidLoc = { + pos, + lineStart, + curLine + }; + } else { + out += res.ch; + } + ({ + pos, + lineStart, + curLine + } = res); + chunkStart = pos; + } else if (ch === 8232 || ch === 8233) { + ++pos; + ++curLine; + lineStart = pos; + } else if (ch === 10 || ch === 13) { + if (type === "template") { + out += input.slice(chunkStart, pos) + "\n"; + ++pos; + if (ch === 13 && input.charCodeAt(pos) === 10) { + ++pos; + } + ++curLine; + chunkStart = lineStart = pos; + } else { + errors.unterminated(initialPos, initialLineStart, initialCurLine); + } + } else { + ++pos; + } + } + return { + pos, + str: out, + firstInvalidLoc, + lineStart, + curLine, + containsInvalid: !!firstInvalidLoc + }; + } + function isStringEnd(type, ch, input, pos) { + if (type === "template") { + return ch === 96 || ch === 36 && input.charCodeAt(pos + 1) === 123; + } + return ch === (type === "double" ? 34 : 39); + } + function readEscapedChar(input, pos, lineStart, curLine, inTemplate, errors) { + const throwOnInvalid = !inTemplate; + pos++; + const res = ch => ({ + pos, + ch, + lineStart, + curLine + }); + const ch = input.charCodeAt(pos++); + switch (ch) { + case 110: + return res("\n"); + case 114: + return res("\r"); + case 120: + { + let code; + ({ + code, + pos + } = readHexChar(input, pos, lineStart, curLine, 2, false, throwOnInvalid, errors)); + return res(code === null ? null : String.fromCharCode(code)); + } + case 117: + { + let code; + ({ + code, + pos + } = readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors)); + return res(code === null ? null : String.fromCodePoint(code)); + } + case 116: + return res("\t"); + case 98: + return res("\b"); + case 118: + return res("\u000b"); + case 102: + return res("\f"); + case 13: + if (input.charCodeAt(pos) === 10) { + ++pos; + } + case 10: + lineStart = pos; + ++curLine; + case 8232: + case 8233: + return res(""); + case 56: + case 57: + if (inTemplate) { + return res(null); + } else { + errors.strictNumericEscape(pos - 1, lineStart, curLine); + } + default: + if (ch >= 48 && ch <= 55) { + const startPos = pos - 1; + const match = /^[0-7]+/.exec(input.slice(startPos, pos + 2)); + let octalStr = match[0]; + let octal = parseInt(octalStr, 8); + if (octal > 255) { + octalStr = octalStr.slice(0, -1); + octal = parseInt(octalStr, 8); + } + pos += octalStr.length - 1; + const next = input.charCodeAt(pos); + if (octalStr !== "0" || next === 56 || next === 57) { + if (inTemplate) { + return res(null); + } else { + errors.strictNumericEscape(startPos, lineStart, curLine); + } + } + return res(String.fromCharCode(octal)); + } + return res(String.fromCharCode(ch)); + } + } + function readHexChar(input, pos, lineStart, curLine, len, forceLen, throwOnInvalid, errors) { + const initialPos = pos; + let n; + ({ + n, + pos + } = readInt(input, pos, lineStart, curLine, 16, len, forceLen, false, errors, !throwOnInvalid)); + if (n === null) { + if (throwOnInvalid) { + errors.invalidEscapeSequence(initialPos, lineStart, curLine); + } else { + pos = initialPos - 1; + } + } + return { + code: n, + pos + }; + } + function readInt(input, pos, lineStart, curLine, radix, len, forceLen, allowNumSeparator, errors, bailOnError) { + const start = pos; + const forbiddenSiblings = radix === 16 ? forbiddenNumericSeparatorSiblings.hex : forbiddenNumericSeparatorSiblings.decBinOct; + const isAllowedSibling = radix === 16 ? isAllowedNumericSeparatorSibling.hex : radix === 10 ? isAllowedNumericSeparatorSibling.dec : radix === 8 ? isAllowedNumericSeparatorSibling.oct : isAllowedNumericSeparatorSibling.bin; + let invalid = false; + let total = 0; + for (let i = 0, e = len == null ? Infinity : len; i < e; ++i) { + const code = input.charCodeAt(pos); + let val; + if (code === 95 && allowNumSeparator !== "bail") { + const prev = input.charCodeAt(pos - 1); + const next = input.charCodeAt(pos + 1); + if (!allowNumSeparator) { + if (bailOnError) return { + n: null, + pos + }; + errors.numericSeparatorInEscapeSequence(pos, lineStart, curLine); + } else if (Number.isNaN(next) || !isAllowedSibling(next) || forbiddenSiblings.has(prev) || forbiddenSiblings.has(next)) { + if (bailOnError) return { + n: null, + pos + }; + errors.unexpectedNumericSeparator(pos, lineStart, curLine); + } + ++pos; + continue; + } + if (code >= 97) { + val = code - 97 + 10; + } else if (code >= 65) { + val = code - 65 + 10; + } else if (_isDigit(code)) { + val = code - 48; + } else { + val = Infinity; + } + if (val >= radix) { + if (val <= 9 && bailOnError) { + return { + n: null, + pos + }; + } else if (val <= 9 && errors.invalidDigit(pos, lineStart, curLine, radix)) { + val = 0; + } else if (forceLen) { + val = 0; + invalid = true; + } else { + break; + } + } + ++pos; + total = total * radix + val; + } + if (pos === start || len != null && pos - start !== len || invalid) { + return { + n: null, + pos + }; + } + return { + n: total, + pos + }; + } + function readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors) { + const ch = input.charCodeAt(pos); + let code; + if (ch === 123) { + ++pos; + ({ + code, + pos + } = readHexChar(input, pos, lineStart, curLine, input.indexOf("}", pos) - pos, true, throwOnInvalid, errors)); + ++pos; + if (code !== null && code > 0x10ffff) { + if (throwOnInvalid) { + errors.invalidCodePoint(pos, lineStart, curLine); + } else { + return { + code: null, + pos + }; + } + } + } else { + ({ + code, + pos + } = readHexChar(input, pos, lineStart, curLine, 4, false, throwOnInvalid, errors)); + } + return { + code, + pos + }; + } + + + return lib$1; } var constants = {}; @@ -5230,7 +5240,7 @@ function requireCore () { var _is = requireIs(); var _isValidIdentifier = isValidIdentifier$1; var _helperValidatorIdentifier = lib$2; - var _helperStringParser = lib$1; + var _helperStringParser = requireLib$1(); var _index = constants; var _utils = requireUtils(); const defineType = (0, _utils.defineAliasedType)("Standardized"); diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index 3912c39c7b..588a8b5013 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -ff697fc58be53dd485bd2babb826bc6cd664929c +31ecc9804a3f263033611f069774e50059c0743a diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index 3912c39c7b..588a8b5013 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -ff697fc58be53dd485bd2babb826bc6cd664929c +31ecc9804a3f263033611f069774e50059c0743a diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index f36b77cce7..21d40789a1 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -1538,7 +1538,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-www-classic-ff697fc5-20250409"; + exports.version = "19.2.0-www-classic-31ecc980-20250409"; "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 465e12ebcc..9c72ce4e7c 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -1538,7 +1538,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.2.0-www-modern-ff697fc5-20250409"; + exports.version = "19.2.0-www-modern-31ecc980-20250409"; "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 d12e8fe5df..f49207466c 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -636,4 +636,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-www-classic-ff697fc5-20250409"; +exports.version = "19.2.0-www-classic-31ecc980-20250409"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 0809cebf1c..b167193b49 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -636,4 +636,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-www-modern-ff697fc5-20250409"; +exports.version = "19.2.0-www-modern-31ecc980-20250409"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index 7a0dd96b25..ec76367797 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -640,7 +640,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-www-classic-ff697fc5-20250409"; +exports.version = "19.2.0-www-classic-31ecc980-20250409"; "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 fb8f12fd33..11e504f707 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -640,7 +640,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.2.0-www-modern-ff697fc5-20250409"; +exports.version = "19.2.0-www-modern-31ecc980-20250409"; "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 84d69b7f51..35599aeede 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -6811,9 +6811,13 @@ __DEV__ && renderLanes ); } - function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, + function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps + ) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -8460,10 +8464,14 @@ __DEV__ && if (stateNode) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider( @@ -8473,10 +8481,21 @@ __DEV__ && ); break; case 25: - enableTransitionTracing && - ((stateNode = workInProgress.stateNode), - null !== stateNode && - pushMarkerInstance(workInProgress, stateNode)); + if (enableTransitionTracing) { + stateNode = workInProgress.stateNode; + null !== stateNode && pushMarkerInstance(workInProgress, stateNode); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -8962,12 +8981,18 @@ __DEV__ && workInProgress ); case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); - case 23: - return updateLegacyHiddenComponent( + return updateOffscreenComponent( current, workInProgress, - renderLanes + renderLanes, + workInProgress.pendingProps + ); + case 23: + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps ); case 24: return ( @@ -18174,8 +18199,7 @@ __DEV__ && var didWarnAboutTailOptions = {}; var didWarnAboutDefaultPropsOnFunctionComponent = {}; var didWarnAboutClassNameOnViewTransition = {}; - var updateLegacyHiddenComponent = updateOffscreenComponent, - SUSPENDED_MARKER = { + var SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0, @@ -18527,10 +18551,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-www-classic-ff697fc5-20250409", + version: "19.2.0-www-classic-31ecc980-20250409", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-classic-31ecc980-20250409" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -18564,7 +18588,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.2.0-www-classic-ff697fc5-20250409"; + exports.version = "19.2.0-www-classic-31ecc980-20250409"; "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 be0062812d..e12ec12cb1 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -6717,9 +6717,13 @@ __DEV__ && renderLanes ); } - function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, + function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps + ) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -8290,10 +8294,14 @@ __DEV__ && if (stateNode) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider( @@ -8303,10 +8311,21 @@ __DEV__ && ); break; case 25: - enableTransitionTracing && - ((stateNode = workInProgress.stateNode), - null !== stateNode && - pushMarkerInstance(workInProgress, stateNode)); + if (enableTransitionTracing) { + stateNode = workInProgress.stateNode; + null !== stateNode && pushMarkerInstance(workInProgress, stateNode); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -8794,12 +8813,18 @@ __DEV__ && workInProgress ); case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); - case 23: - return updateLegacyHiddenComponent( + return updateOffscreenComponent( current, workInProgress, - renderLanes + renderLanes, + workInProgress.pendingProps + ); + case 23: + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps ); case 24: return ( @@ -17946,8 +17971,7 @@ __DEV__ && var didWarnAboutTailOptions = {}; var didWarnAboutDefaultPropsOnFunctionComponent = {}; var didWarnAboutClassNameOnViewTransition = {}; - var updateLegacyHiddenComponent = updateOffscreenComponent, - SUSPENDED_MARKER = { + var SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0, @@ -18299,10 +18323,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-www-modern-ff697fc5-20250409", + version: "19.2.0-www-modern-31ecc980-20250409", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-modern-31ecc980-20250409" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -18336,7 +18360,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.2.0-www-modern-ff697fc5-20250409"; + exports.version = "19.2.0-www-modern-31ecc980-20250409"; "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 d0688261e6..370fa305e9 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -4833,9 +4833,13 @@ function updateSimpleMemoComponent( renderLanes ); } -function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, +function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps +) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -5959,18 +5963,34 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (state) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider(workInProgress, CacheContext, current.memoizedState.cache); break; case 25: - enableTransitionTracing && - ((state = workInProgress.stateNode), - null !== state && pushMarkerInstance(workInProgress, state)); + if (enableTransitionTracing) { + state = workInProgress.stateNode; + null !== state && pushMarkerInstance(workInProgress, state); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -6287,9 +6307,19 @@ function beginWork(current, workInProgress, renderLanes) { workInProgress ); case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 23: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 24: return ( prepareToReadContext(workInProgress), @@ -11216,24 +11246,24 @@ var slice = Array.prototype.slice, }; return Text; })(React.Component); -var internals$jscomp$inline_1593 = { +var internals$jscomp$inline_1605 = { bundleType: 0, - version: "19.2.0-www-classic-ff697fc5-20250409", + version: "19.2.0-www-classic-31ecc980-20250409", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-classic-31ecc980-20250409" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1594 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1606 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1594.isDisabled && - hook$jscomp$inline_1594.supportsFiber + !hook$jscomp$inline_1606.isDisabled && + hook$jscomp$inline_1606.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1594.inject( - internals$jscomp$inline_1593 + (rendererID = hook$jscomp$inline_1606.inject( + internals$jscomp$inline_1605 )), - (injectedHook = hook$jscomp$inline_1594); + (injectedHook = hook$jscomp$inline_1606); } catch (err) {} } var Path = Mode$1.Path; @@ -11247,4 +11277,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.2.0-www-classic-ff697fc5-20250409"; +exports.version = "19.2.0-www-classic-31ecc980-20250409"; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index ee2427e20f..e28e7194f5 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -4688,9 +4688,13 @@ function updateSimpleMemoComponent( renderLanes ); } -function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, +function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps +) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -5733,18 +5737,34 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (state) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider(workInProgress, CacheContext, current.memoizedState.cache); break; case 25: - enableTransitionTracing && - ((state = workInProgress.stateNode), - null !== state && pushMarkerInstance(workInProgress, state)); + if (enableTransitionTracing) { + state = workInProgress.stateNode; + null !== state && pushMarkerInstance(workInProgress, state); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -6058,9 +6078,19 @@ function beginWork(current, workInProgress, renderLanes) { workInProgress ); case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 23: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 24: return ( prepareToReadContext(workInProgress), @@ -10929,24 +10959,24 @@ var slice = Array.prototype.slice, }; return Text; })(React.Component); -var internals$jscomp$inline_1566 = { +var internals$jscomp$inline_1578 = { bundleType: 0, - version: "19.2.0-www-modern-ff697fc5-20250409", + version: "19.2.0-www-modern-31ecc980-20250409", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-modern-31ecc980-20250409" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_1567 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_1579 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_1567.isDisabled && - hook$jscomp$inline_1567.supportsFiber + !hook$jscomp$inline_1579.isDisabled && + hook$jscomp$inline_1579.supportsFiber ) try { - (rendererID = hook$jscomp$inline_1567.inject( - internals$jscomp$inline_1566 + (rendererID = hook$jscomp$inline_1579.inject( + internals$jscomp$inline_1578 )), - (injectedHook = hook$jscomp$inline_1567); + (injectedHook = hook$jscomp$inline_1579); } catch (err) {} } var Path = Mode$1.Path; @@ -10960,4 +10990,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.2.0-www-modern-ff697fc5-20250409"; +exports.version = "19.2.0-www-modern-31ecc980-20250409"; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index a4ea47ab8b..f5513a95ee 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -8969,9 +8969,13 @@ __DEV__ && renderLanes ); } - function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, + function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps + ) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -9862,32 +9866,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2837; - var JSCompiler_object_inline_stack_2838 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2849; + var JSCompiler_object_inline_stack_2850 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2839 = !1; + var JSCompiler_object_inline_componentStack_2851 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2837 = didSuspend) || - (JSCompiler_object_inline_digest_2837 = + (JSCompiler_object_inline_digest_2849 = didSuspend) || + (JSCompiler_object_inline_digest_2849 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2837 && - ((JSCompiler_object_inline_componentStack_2839 = !0), + JSCompiler_object_inline_digest_2849 && + ((JSCompiler_object_inline_componentStack_2851 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2837 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2849 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2839 + JSCompiler_object_inline_componentStack_2851 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2836 = nextHydratableInstance; + var JSCompiler_object_inline_message_2848 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2836)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2848)) { c: { - var instance = JSCompiler_object_inline_message_2836; + var instance = JSCompiler_object_inline_message_2848; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9929,46 +9933,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2836 + JSCompiler_object_inline_message_2848 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2836 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2848 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2836 && - ((JSCompiler_object_inline_message_2836 = - JSCompiler_object_inline_message_2836.dehydrated), - null !== JSCompiler_object_inline_message_2836) + null !== JSCompiler_object_inline_message_2848 && + ((JSCompiler_object_inline_message_2848 = + JSCompiler_object_inline_message_2848.dehydrated), + null !== JSCompiler_object_inline_message_2848) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2836) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2848) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2836 = - JSCompiler_object_inline_stack_2838.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2838.fallback; - if (JSCompiler_object_inline_componentStack_2839) + JSCompiler_object_inline_message_2848 = + JSCompiler_object_inline_stack_2850.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2850.fallback; + if (JSCompiler_object_inline_componentStack_2851) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2838 = + (JSCompiler_object_inline_stack_2850 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2836, + JSCompiler_object_inline_message_2848, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2839 = + (JSCompiler_object_inline_componentStack_2851 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2839.memoizedState = + (JSCompiler_object_inline_componentStack_2851.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2839.childLanes = + (JSCompiler_object_inline_componentStack_2851.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2837, + JSCompiler_object_inline_digest_2849, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9981,9 +9985,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2839.updateQueue), + JSCompiler_object_inline_componentStack_2851.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2839.updateQueue = + ? (JSCompiler_object_inline_componentStack_2851.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9991,46 +9995,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2838 + JSCompiler_object_inline_stack_2850 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2838.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2850.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2838 = + (JSCompiler_object_inline_stack_2850 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2836, + JSCompiler_object_inline_message_2848, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2839 = + (JSCompiler_object_inline_componentStack_2851 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2839.memoizedState = + (JSCompiler_object_inline_componentStack_2851.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2839.childLanes = + (JSCompiler_object_inline_componentStack_2851.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2837, + JSCompiler_object_inline_digest_2849, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2838 + JSCompiler_object_inline_stack_2850 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2836 + JSCompiler_object_inline_message_2848 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2836 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2836) + ((JSCompiler_object_inline_message_2848 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2848) ) { if (didSuspend) workInProgress.flags & 256 @@ -10047,94 +10051,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2839 = - JSCompiler_object_inline_stack_2838.fallback), - (JSCompiler_object_inline_message_2836 = workInProgress.mode), - (JSCompiler_object_inline_stack_2838 = + (JSCompiler_object_inline_componentStack_2851 = + JSCompiler_object_inline_stack_2850.fallback), + (JSCompiler_object_inline_message_2848 = workInProgress.mode), + (JSCompiler_object_inline_stack_2850 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2838.children + children: JSCompiler_object_inline_stack_2850.children }, - JSCompiler_object_inline_message_2836 + JSCompiler_object_inline_message_2848 )), - (JSCompiler_object_inline_componentStack_2839 = + (JSCompiler_object_inline_componentStack_2851 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2839, - JSCompiler_object_inline_message_2836, + JSCompiler_object_inline_componentStack_2851, + JSCompiler_object_inline_message_2848, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2839.flags |= 2), - (JSCompiler_object_inline_stack_2838.return = workInProgress), - (JSCompiler_object_inline_componentStack_2839.return = + (JSCompiler_object_inline_componentStack_2851.flags |= 2), + (JSCompiler_object_inline_stack_2850.return = workInProgress), + (JSCompiler_object_inline_componentStack_2851.return = workInProgress), - (JSCompiler_object_inline_stack_2838.sibling = - JSCompiler_object_inline_componentStack_2839), - (workInProgress.child = JSCompiler_object_inline_stack_2838), + (JSCompiler_object_inline_stack_2850.sibling = + JSCompiler_object_inline_componentStack_2851), + (workInProgress.child = JSCompiler_object_inline_stack_2850), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2838 = workInProgress.child), - (JSCompiler_object_inline_stack_2838.memoizedState = + (JSCompiler_object_inline_stack_2850 = workInProgress.child), + (JSCompiler_object_inline_stack_2850.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2838.childLanes = + (JSCompiler_object_inline_stack_2850.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2837, + JSCompiler_object_inline_digest_2849, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2839)); + JSCompiler_object_inline_componentStack_2851)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2836)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2848)) ) { - JSCompiler_object_inline_digest_2837 = - JSCompiler_object_inline_message_2836.nextSibling && - JSCompiler_object_inline_message_2836.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2837) { - JSCompiler_temp = JSCompiler_object_inline_digest_2837.dgst; - var message = JSCompiler_object_inline_digest_2837.msg; - instance = JSCompiler_object_inline_digest_2837.stck; - var componentStack = JSCompiler_object_inline_digest_2837.cstck; + JSCompiler_object_inline_digest_2849 = + JSCompiler_object_inline_message_2848.nextSibling && + JSCompiler_object_inline_message_2848.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2849) { + JSCompiler_temp = JSCompiler_object_inline_digest_2849.dgst; + var message = JSCompiler_object_inline_digest_2849.msg; + instance = JSCompiler_object_inline_digest_2849.stck; + var componentStack = JSCompiler_object_inline_digest_2849.cstck; } - JSCompiler_object_inline_message_2836 = message; - JSCompiler_object_inline_digest_2837 = JSCompiler_temp; - JSCompiler_object_inline_stack_2838 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2839 = + JSCompiler_object_inline_message_2848 = message; + JSCompiler_object_inline_digest_2849 = JSCompiler_temp; + JSCompiler_object_inline_stack_2850 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2851 = componentStack; - JSCompiler_object_inline_componentStack_2839 = - JSCompiler_object_inline_message_2836 - ? Error(JSCompiler_object_inline_message_2836) + JSCompiler_object_inline_componentStack_2851 = + JSCompiler_object_inline_message_2848 + ? Error(JSCompiler_object_inline_message_2848) : 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_2839.stack = - JSCompiler_object_inline_stack_2838 || ""; - JSCompiler_object_inline_componentStack_2839.digest = - JSCompiler_object_inline_digest_2837; - JSCompiler_object_inline_digest_2837 = + JSCompiler_object_inline_componentStack_2851.stack = + JSCompiler_object_inline_stack_2850 || ""; + JSCompiler_object_inline_componentStack_2851.digest = + JSCompiler_object_inline_digest_2849; + JSCompiler_object_inline_digest_2849 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2838 = { - value: JSCompiler_object_inline_componentStack_2839, + JSCompiler_object_inline_stack_2850 = { + value: JSCompiler_object_inline_componentStack_2851, source: null, - stack: JSCompiler_object_inline_digest_2837 + stack: JSCompiler_object_inline_digest_2849 }; - "string" === typeof JSCompiler_object_inline_digest_2837 && + "string" === typeof JSCompiler_object_inline_digest_2849 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2839, - JSCompiler_object_inline_stack_2838 + JSCompiler_object_inline_componentStack_2851, + JSCompiler_object_inline_stack_2850 ); - queueHydrationError(JSCompiler_object_inline_stack_2838); + queueHydrationError(JSCompiler_object_inline_stack_2850); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -10148,44 +10152,44 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2837 = + (JSCompiler_object_inline_digest_2849 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2837) + didReceiveUpdate || JSCompiler_object_inline_digest_2849) ) { - JSCompiler_object_inline_digest_2837 = workInProgressRoot; + JSCompiler_object_inline_digest_2849 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2837 && - ((JSCompiler_object_inline_stack_2838 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2838 = - 0 !== (JSCompiler_object_inline_stack_2838 & 42) + null !== JSCompiler_object_inline_digest_2849 && + ((JSCompiler_object_inline_stack_2850 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2850 = + 0 !== (JSCompiler_object_inline_stack_2850 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2838 + JSCompiler_object_inline_stack_2850 )), - (JSCompiler_object_inline_stack_2838 = + (JSCompiler_object_inline_stack_2850 = 0 !== - (JSCompiler_object_inline_stack_2838 & - (JSCompiler_object_inline_digest_2837.suspendedLanes | + (JSCompiler_object_inline_stack_2850 & + (JSCompiler_object_inline_digest_2849.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2838), - 0 !== JSCompiler_object_inline_stack_2838 && - JSCompiler_object_inline_stack_2838 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2850), + 0 !== JSCompiler_object_inline_stack_2850 && + JSCompiler_object_inline_stack_2850 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2838), + ((prevState.retryLane = JSCompiler_object_inline_stack_2850), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2838 + JSCompiler_object_inline_stack_2850 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2837, + JSCompiler_object_inline_digest_2849, current, - JSCompiler_object_inline_stack_2838 + JSCompiler_object_inline_stack_2850 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2836.data === + JSCompiler_object_inline_message_2848.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -10193,14 +10197,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2836.data === + JSCompiler_object_inline_message_2848.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2836.nextSibling + JSCompiler_object_inline_message_2848.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -10218,57 +10222,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2838.children + JSCompiler_object_inline_stack_2850.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2839) + if (JSCompiler_object_inline_componentStack_2851) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2839 = - JSCompiler_object_inline_stack_2838.fallback), - (JSCompiler_object_inline_message_2836 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2851 = + JSCompiler_object_inline_stack_2850.fallback), + (JSCompiler_object_inline_message_2848 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2838 = createWorkInProgress( + (JSCompiler_object_inline_stack_2850 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2838.children + children: JSCompiler_object_inline_stack_2850.children } )), - (JSCompiler_object_inline_stack_2838.subtreeFlags = + (JSCompiler_object_inline_stack_2850.subtreeFlags = JSCompiler_temp.subtreeFlags & 65011712), null !== instance - ? (JSCompiler_object_inline_componentStack_2839 = + ? (JSCompiler_object_inline_componentStack_2851 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2839 + JSCompiler_object_inline_componentStack_2851 )) - : ((JSCompiler_object_inline_componentStack_2839 = + : ((JSCompiler_object_inline_componentStack_2851 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2839, - JSCompiler_object_inline_message_2836, + JSCompiler_object_inline_componentStack_2851, + JSCompiler_object_inline_message_2848, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2839.flags |= 2)), - (JSCompiler_object_inline_componentStack_2839.return = + (JSCompiler_object_inline_componentStack_2851.flags |= 2)), + (JSCompiler_object_inline_componentStack_2851.return = workInProgress), - (JSCompiler_object_inline_stack_2838.return = workInProgress), - (JSCompiler_object_inline_stack_2838.sibling = - JSCompiler_object_inline_componentStack_2839), - (workInProgress.child = JSCompiler_object_inline_stack_2838), - (JSCompiler_object_inline_stack_2838 = - JSCompiler_object_inline_componentStack_2839), - (JSCompiler_object_inline_componentStack_2839 = workInProgress.child), - (JSCompiler_object_inline_message_2836 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2836 - ? (JSCompiler_object_inline_message_2836 = + (JSCompiler_object_inline_stack_2850.return = workInProgress), + (JSCompiler_object_inline_stack_2850.sibling = + JSCompiler_object_inline_componentStack_2851), + (workInProgress.child = JSCompiler_object_inline_stack_2850), + (JSCompiler_object_inline_stack_2850 = + JSCompiler_object_inline_componentStack_2851), + (JSCompiler_object_inline_componentStack_2851 = workInProgress.child), + (JSCompiler_object_inline_message_2848 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2848 + ? (JSCompiler_object_inline_message_2848 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2836.cachePool), + JSCompiler_object_inline_message_2848.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -10276,34 +10280,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2836 = { + (JSCompiler_object_inline_message_2848 = { baseLanes: - JSCompiler_object_inline_message_2836.baseLanes | renderLanes, + JSCompiler_object_inline_message_2848.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2839.memoizedState = - JSCompiler_object_inline_message_2836), + (JSCompiler_object_inline_componentStack_2851.memoizedState = + JSCompiler_object_inline_message_2848), enableTransitionTracing && - ((JSCompiler_object_inline_message_2836 = enableTransitionTracing + ((JSCompiler_object_inline_message_2848 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2836 && + null !== JSCompiler_object_inline_message_2848 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2839.updateQueue), + JSCompiler_object_inline_componentStack_2851.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2839.updateQueue = { - transitions: JSCompiler_object_inline_message_2836, + ? (JSCompiler_object_inline_componentStack_2851.updateQueue = { + transitions: JSCompiler_object_inline_message_2848, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2839.updateQueue = + ? (JSCompiler_object_inline_componentStack_2851.updateQueue = { - transitions: JSCompiler_object_inline_message_2836, + transitions: JSCompiler_object_inline_message_2848, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -10311,32 +10315,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2836), + JSCompiler_object_inline_message_2848), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2839.childLanes = + (JSCompiler_object_inline_componentStack_2851.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2837, + JSCompiler_object_inline_digest_2849, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2838 + JSCompiler_object_inline_stack_2850 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2838.children + children: JSCompiler_object_inline_stack_2850.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2837 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2837 + ((JSCompiler_object_inline_digest_2849 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2849 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2837.push(current)); + : JSCompiler_object_inline_digest_2849.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -10762,10 +10766,14 @@ __DEV__ && if (stateNode) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider( @@ -10775,10 +10783,21 @@ __DEV__ && ); break; case 25: - enableTransitionTracing && - ((stateNode = workInProgress.stateNode), - null !== stateNode && - pushMarkerInstance(workInProgress, stateNode)); + if (enableTransitionTracing) { + stateNode = workInProgress.stateNode; + null !== stateNode && pushMarkerInstance(workInProgress, stateNode); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -11475,12 +11494,18 @@ __DEV__ && } return JSCompiler_inline_result$jscomp$3; case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); - case 23: - return updateLegacyHiddenComponent( + return updateOffscreenComponent( current, workInProgress, - renderLanes + renderLanes, + workInProgress.pendingProps + ); + case 23: + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps ); case 24: prepareToReadContext(workInProgress); @@ -29315,8 +29340,7 @@ __DEV__ && var didWarnAboutTailOptions = {}; var didWarnAboutDefaultPropsOnFunctionComponent = {}; var didWarnAboutClassNameOnViewTransition = {}; - var updateLegacyHiddenComponent = updateOffscreenComponent, - SUSPENDED_MARKER = { + var SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0, @@ -30468,11 +30492,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-www-classic-ff697fc5-20250409" !== isomorphicReactPackageVersion) + if ("19.2.0-www-classic-31ecc980-20250409" !== 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-www-classic-ff697fc5-20250409\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-www-classic-31ecc980-20250409\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -30515,10 +30539,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-www-classic-ff697fc5-20250409", + version: "19.2.0-www-classic-31ecc980-20250409", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-classic-31ecc980-20250409" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -31116,7 +31140,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-www-classic-ff697fc5-20250409"; + exports.version = "19.2.0-www-classic-31ecc980-20250409"; "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 50bae345d1..5c0141db93 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -8856,9 +8856,13 @@ __DEV__ && renderLanes ); } - function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, + function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps + ) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -9674,32 +9678,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2832; - var JSCompiler_object_inline_stack_2833 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2844; + var JSCompiler_object_inline_stack_2845 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2834 = !1; + var JSCompiler_object_inline_componentStack_2846 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2832 = didSuspend) || - (JSCompiler_object_inline_digest_2832 = + (JSCompiler_object_inline_digest_2844 = didSuspend) || + (JSCompiler_object_inline_digest_2844 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2832 && - ((JSCompiler_object_inline_componentStack_2834 = !0), + JSCompiler_object_inline_digest_2844 && + ((JSCompiler_object_inline_componentStack_2846 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2832 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2844 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2834 + JSCompiler_object_inline_componentStack_2846 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2831 = nextHydratableInstance; + var JSCompiler_object_inline_message_2843 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2831)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2843)) { c: { - var instance = JSCompiler_object_inline_message_2831; + var instance = JSCompiler_object_inline_message_2843; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9741,46 +9745,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2831 + JSCompiler_object_inline_message_2843 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2831 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2843 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2831 && - ((JSCompiler_object_inline_message_2831 = - JSCompiler_object_inline_message_2831.dehydrated), - null !== JSCompiler_object_inline_message_2831) + null !== JSCompiler_object_inline_message_2843 && + ((JSCompiler_object_inline_message_2843 = + JSCompiler_object_inline_message_2843.dehydrated), + null !== JSCompiler_object_inline_message_2843) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2831) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2843) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2831 = - JSCompiler_object_inline_stack_2833.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2833.fallback; - if (JSCompiler_object_inline_componentStack_2834) + JSCompiler_object_inline_message_2843 = + JSCompiler_object_inline_stack_2845.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2845.fallback; + if (JSCompiler_object_inline_componentStack_2846) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2833 = + (JSCompiler_object_inline_stack_2845 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2831, + JSCompiler_object_inline_message_2843, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2834 = + (JSCompiler_object_inline_componentStack_2846 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2834.memoizedState = + (JSCompiler_object_inline_componentStack_2846.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2834.childLanes = + (JSCompiler_object_inline_componentStack_2846.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2832, + JSCompiler_object_inline_digest_2844, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9793,9 +9797,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2834.updateQueue), + JSCompiler_object_inline_componentStack_2846.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2834.updateQueue = + ? (JSCompiler_object_inline_componentStack_2846.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9803,46 +9807,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2833 + JSCompiler_object_inline_stack_2845 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2833.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2845.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2833 = + (JSCompiler_object_inline_stack_2845 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2831, + JSCompiler_object_inline_message_2843, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2834 = + (JSCompiler_object_inline_componentStack_2846 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2834.memoizedState = + (JSCompiler_object_inline_componentStack_2846.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2834.childLanes = + (JSCompiler_object_inline_componentStack_2846.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2832, + JSCompiler_object_inline_digest_2844, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2833 + JSCompiler_object_inline_stack_2845 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2831 + JSCompiler_object_inline_message_2843 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2831 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2831) + ((JSCompiler_object_inline_message_2843 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2843) ) { if (didSuspend) workInProgress.flags & 256 @@ -9859,94 +9863,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2834 = - JSCompiler_object_inline_stack_2833.fallback), - (JSCompiler_object_inline_message_2831 = workInProgress.mode), - (JSCompiler_object_inline_stack_2833 = + (JSCompiler_object_inline_componentStack_2846 = + JSCompiler_object_inline_stack_2845.fallback), + (JSCompiler_object_inline_message_2843 = workInProgress.mode), + (JSCompiler_object_inline_stack_2845 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2833.children + children: JSCompiler_object_inline_stack_2845.children }, - JSCompiler_object_inline_message_2831 + JSCompiler_object_inline_message_2843 )), - (JSCompiler_object_inline_componentStack_2834 = + (JSCompiler_object_inline_componentStack_2846 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2834, - JSCompiler_object_inline_message_2831, + JSCompiler_object_inline_componentStack_2846, + JSCompiler_object_inline_message_2843, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2834.flags |= 2), - (JSCompiler_object_inline_stack_2833.return = workInProgress), - (JSCompiler_object_inline_componentStack_2834.return = + (JSCompiler_object_inline_componentStack_2846.flags |= 2), + (JSCompiler_object_inline_stack_2845.return = workInProgress), + (JSCompiler_object_inline_componentStack_2846.return = workInProgress), - (JSCompiler_object_inline_stack_2833.sibling = - JSCompiler_object_inline_componentStack_2834), - (workInProgress.child = JSCompiler_object_inline_stack_2833), + (JSCompiler_object_inline_stack_2845.sibling = + JSCompiler_object_inline_componentStack_2846), + (workInProgress.child = JSCompiler_object_inline_stack_2845), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2833 = workInProgress.child), - (JSCompiler_object_inline_stack_2833.memoizedState = + (JSCompiler_object_inline_stack_2845 = workInProgress.child), + (JSCompiler_object_inline_stack_2845.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2833.childLanes = + (JSCompiler_object_inline_stack_2845.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2832, + JSCompiler_object_inline_digest_2844, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2834)); + JSCompiler_object_inline_componentStack_2846)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2831)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2843)) ) { - JSCompiler_object_inline_digest_2832 = - JSCompiler_object_inline_message_2831.nextSibling && - JSCompiler_object_inline_message_2831.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2832) { - JSCompiler_temp = JSCompiler_object_inline_digest_2832.dgst; - var message = JSCompiler_object_inline_digest_2832.msg; - instance = JSCompiler_object_inline_digest_2832.stck; - var componentStack = JSCompiler_object_inline_digest_2832.cstck; + JSCompiler_object_inline_digest_2844 = + JSCompiler_object_inline_message_2843.nextSibling && + JSCompiler_object_inline_message_2843.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2844) { + JSCompiler_temp = JSCompiler_object_inline_digest_2844.dgst; + var message = JSCompiler_object_inline_digest_2844.msg; + instance = JSCompiler_object_inline_digest_2844.stck; + var componentStack = JSCompiler_object_inline_digest_2844.cstck; } - JSCompiler_object_inline_message_2831 = message; - JSCompiler_object_inline_digest_2832 = JSCompiler_temp; - JSCompiler_object_inline_stack_2833 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2834 = + JSCompiler_object_inline_message_2843 = message; + JSCompiler_object_inline_digest_2844 = JSCompiler_temp; + JSCompiler_object_inline_stack_2845 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2846 = componentStack; - JSCompiler_object_inline_componentStack_2834 = - JSCompiler_object_inline_message_2831 - ? Error(JSCompiler_object_inline_message_2831) + JSCompiler_object_inline_componentStack_2846 = + JSCompiler_object_inline_message_2843 + ? Error(JSCompiler_object_inline_message_2843) : 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_2834.stack = - JSCompiler_object_inline_stack_2833 || ""; - JSCompiler_object_inline_componentStack_2834.digest = - JSCompiler_object_inline_digest_2832; - JSCompiler_object_inline_digest_2832 = + JSCompiler_object_inline_componentStack_2846.stack = + JSCompiler_object_inline_stack_2845 || ""; + JSCompiler_object_inline_componentStack_2846.digest = + JSCompiler_object_inline_digest_2844; + JSCompiler_object_inline_digest_2844 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2833 = { - value: JSCompiler_object_inline_componentStack_2834, + JSCompiler_object_inline_stack_2845 = { + value: JSCompiler_object_inline_componentStack_2846, source: null, - stack: JSCompiler_object_inline_digest_2832 + stack: JSCompiler_object_inline_digest_2844 }; - "string" === typeof JSCompiler_object_inline_digest_2832 && + "string" === typeof JSCompiler_object_inline_digest_2844 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2834, - JSCompiler_object_inline_stack_2833 + JSCompiler_object_inline_componentStack_2846, + JSCompiler_object_inline_stack_2845 ); - queueHydrationError(JSCompiler_object_inline_stack_2833); + queueHydrationError(JSCompiler_object_inline_stack_2845); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9960,44 +9964,44 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2832 = + (JSCompiler_object_inline_digest_2844 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2832) + didReceiveUpdate || JSCompiler_object_inline_digest_2844) ) { - JSCompiler_object_inline_digest_2832 = workInProgressRoot; + JSCompiler_object_inline_digest_2844 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2832 && - ((JSCompiler_object_inline_stack_2833 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2833 = - 0 !== (JSCompiler_object_inline_stack_2833 & 42) + null !== JSCompiler_object_inline_digest_2844 && + ((JSCompiler_object_inline_stack_2845 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2845 = + 0 !== (JSCompiler_object_inline_stack_2845 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2833 + JSCompiler_object_inline_stack_2845 )), - (JSCompiler_object_inline_stack_2833 = + (JSCompiler_object_inline_stack_2845 = 0 !== - (JSCompiler_object_inline_stack_2833 & - (JSCompiler_object_inline_digest_2832.suspendedLanes | + (JSCompiler_object_inline_stack_2845 & + (JSCompiler_object_inline_digest_2844.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2833), - 0 !== JSCompiler_object_inline_stack_2833 && - JSCompiler_object_inline_stack_2833 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2845), + 0 !== JSCompiler_object_inline_stack_2845 && + JSCompiler_object_inline_stack_2845 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2833), + ((prevState.retryLane = JSCompiler_object_inline_stack_2845), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2833 + JSCompiler_object_inline_stack_2845 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2832, + JSCompiler_object_inline_digest_2844, current, - JSCompiler_object_inline_stack_2833 + JSCompiler_object_inline_stack_2845 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2831.data === + JSCompiler_object_inline_message_2843.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -10005,14 +10009,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2831.data === + JSCompiler_object_inline_message_2843.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2831.nextSibling + JSCompiler_object_inline_message_2843.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -10030,57 +10034,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2833.children + JSCompiler_object_inline_stack_2845.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2834) + if (JSCompiler_object_inline_componentStack_2846) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2834 = - JSCompiler_object_inline_stack_2833.fallback), - (JSCompiler_object_inline_message_2831 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2846 = + JSCompiler_object_inline_stack_2845.fallback), + (JSCompiler_object_inline_message_2843 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2833 = createWorkInProgress( + (JSCompiler_object_inline_stack_2845 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2833.children + children: JSCompiler_object_inline_stack_2845.children } )), - (JSCompiler_object_inline_stack_2833.subtreeFlags = + (JSCompiler_object_inline_stack_2845.subtreeFlags = JSCompiler_temp.subtreeFlags & 65011712), null !== instance - ? (JSCompiler_object_inline_componentStack_2834 = + ? (JSCompiler_object_inline_componentStack_2846 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2834 + JSCompiler_object_inline_componentStack_2846 )) - : ((JSCompiler_object_inline_componentStack_2834 = + : ((JSCompiler_object_inline_componentStack_2846 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2834, - JSCompiler_object_inline_message_2831, + JSCompiler_object_inline_componentStack_2846, + JSCompiler_object_inline_message_2843, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2834.flags |= 2)), - (JSCompiler_object_inline_componentStack_2834.return = + (JSCompiler_object_inline_componentStack_2846.flags |= 2)), + (JSCompiler_object_inline_componentStack_2846.return = workInProgress), - (JSCompiler_object_inline_stack_2833.return = workInProgress), - (JSCompiler_object_inline_stack_2833.sibling = - JSCompiler_object_inline_componentStack_2834), - (workInProgress.child = JSCompiler_object_inline_stack_2833), - (JSCompiler_object_inline_stack_2833 = - JSCompiler_object_inline_componentStack_2834), - (JSCompiler_object_inline_componentStack_2834 = workInProgress.child), - (JSCompiler_object_inline_message_2831 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2831 - ? (JSCompiler_object_inline_message_2831 = + (JSCompiler_object_inline_stack_2845.return = workInProgress), + (JSCompiler_object_inline_stack_2845.sibling = + JSCompiler_object_inline_componentStack_2846), + (workInProgress.child = JSCompiler_object_inline_stack_2845), + (JSCompiler_object_inline_stack_2845 = + JSCompiler_object_inline_componentStack_2846), + (JSCompiler_object_inline_componentStack_2846 = workInProgress.child), + (JSCompiler_object_inline_message_2843 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2843 + ? (JSCompiler_object_inline_message_2843 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2831.cachePool), + JSCompiler_object_inline_message_2843.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -10088,34 +10092,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2831 = { + (JSCompiler_object_inline_message_2843 = { baseLanes: - JSCompiler_object_inline_message_2831.baseLanes | renderLanes, + JSCompiler_object_inline_message_2843.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2834.memoizedState = - JSCompiler_object_inline_message_2831), + (JSCompiler_object_inline_componentStack_2846.memoizedState = + JSCompiler_object_inline_message_2843), enableTransitionTracing && - ((JSCompiler_object_inline_message_2831 = enableTransitionTracing + ((JSCompiler_object_inline_message_2843 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2831 && + null !== JSCompiler_object_inline_message_2843 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2834.updateQueue), + JSCompiler_object_inline_componentStack_2846.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2834.updateQueue = { - transitions: JSCompiler_object_inline_message_2831, + ? (JSCompiler_object_inline_componentStack_2846.updateQueue = { + transitions: JSCompiler_object_inline_message_2843, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2834.updateQueue = + ? (JSCompiler_object_inline_componentStack_2846.updateQueue = { - transitions: JSCompiler_object_inline_message_2831, + transitions: JSCompiler_object_inline_message_2843, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -10123,32 +10127,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2831), + JSCompiler_object_inline_message_2843), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2834.childLanes = + (JSCompiler_object_inline_componentStack_2846.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2832, + JSCompiler_object_inline_digest_2844, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2833 + JSCompiler_object_inline_stack_2845 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2833.children + children: JSCompiler_object_inline_stack_2845.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2832 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2832 + ((JSCompiler_object_inline_digest_2844 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2844 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2832.push(current)); + : JSCompiler_object_inline_digest_2844.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -10573,10 +10577,14 @@ __DEV__ && if (stateNode) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider( @@ -10586,10 +10594,21 @@ __DEV__ && ); break; case 25: - enableTransitionTracing && - ((stateNode = workInProgress.stateNode), - null !== stateNode && - pushMarkerInstance(workInProgress, stateNode)); + if (enableTransitionTracing) { + stateNode = workInProgress.stateNode; + null !== stateNode && pushMarkerInstance(workInProgress, stateNode); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -11288,12 +11307,18 @@ __DEV__ && } return JSCompiler_inline_result$jscomp$3; case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); - case 23: - return updateLegacyHiddenComponent( + return updateOffscreenComponent( current, workInProgress, - renderLanes + renderLanes, + workInProgress.pendingProps + ); + case 23: + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps ); case 24: prepareToReadContext(workInProgress); @@ -29102,8 +29127,7 @@ __DEV__ && var didWarnAboutTailOptions = {}; var didWarnAboutDefaultPropsOnFunctionComponent = {}; var didWarnAboutClassNameOnViewTransition = {}; - var updateLegacyHiddenComponent = updateOffscreenComponent, - SUSPENDED_MARKER = { + var SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0, @@ -30254,11 +30278,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-www-modern-ff697fc5-20250409" !== isomorphicReactPackageVersion) + if ("19.2.0-www-modern-31ecc980-20250409" !== 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-www-modern-ff697fc5-20250409\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-www-modern-31ecc980-20250409\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -30301,10 +30325,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-www-modern-ff697fc5-20250409", + version: "19.2.0-www-modern-31ecc980-20250409", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-modern-31ecc980-20250409" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -30902,7 +30926,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-www-modern-ff697fc5-20250409"; + exports.version = "19.2.0-www-modern-31ecc980-20250409"; "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 4222de4549..2df9e71cb7 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -5907,9 +5907,13 @@ function updateSimpleMemoComponent( renderLanes ); } -function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, +function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps +) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -7091,18 +7095,34 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (state) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider(workInProgress, CacheContext, current.memoizedState.cache); break; case 25: - enableTransitionTracing && - ((state = workInProgress.stateNode), - null !== state && pushMarkerInstance(workInProgress, state)); + if (enableTransitionTracing) { + state = workInProgress.stateNode; + null !== state && pushMarkerInstance(workInProgress, state); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -7574,9 +7594,19 @@ function beginWork(current, workInProgress, renderLanes) { workInProgress ); case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 23: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 24: return ( prepareToReadContext(workInProgress), @@ -14778,20 +14808,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1733 = 0; - i$jscomp$inline_1733 < simpleEventPluginEvents.length; - i$jscomp$inline_1733++ + var i$jscomp$inline_1745 = 0; + i$jscomp$inline_1745 < simpleEventPluginEvents.length; + i$jscomp$inline_1745++ ) { - var eventName$jscomp$inline_1734 = - simpleEventPluginEvents[i$jscomp$inline_1733], - domEventName$jscomp$inline_1735 = - eventName$jscomp$inline_1734.toLowerCase(), - capitalizedEvent$jscomp$inline_1736 = - eventName$jscomp$inline_1734[0].toUpperCase() + - eventName$jscomp$inline_1734.slice(1); + var eventName$jscomp$inline_1746 = + simpleEventPluginEvents[i$jscomp$inline_1745], + domEventName$jscomp$inline_1747 = + eventName$jscomp$inline_1746.toLowerCase(), + capitalizedEvent$jscomp$inline_1748 = + eventName$jscomp$inline_1746[0].toUpperCase() + + eventName$jscomp$inline_1746.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1735, - "on" + capitalizedEvent$jscomp$inline_1736 + domEventName$jscomp$inline_1747, + "on" + capitalizedEvent$jscomp$inline_1748 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -19020,16 +19050,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1978 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1990 = React.version; if ( - "19.2.0-www-classic-ff697fc5-20250409" !== - isomorphicReactPackageVersion$jscomp$inline_1978 + "19.2.0-www-classic-31ecc980-20250409" !== + isomorphicReactPackageVersion$jscomp$inline_1990 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1978, - "19.2.0-www-classic-ff697fc5-20250409" + isomorphicReactPackageVersion$jscomp$inline_1990, + "19.2.0-www-classic-31ecc980-20250409" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -19045,24 +19075,24 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2562 = { +var internals$jscomp$inline_2574 = { bundleType: 0, - version: "19.2.0-www-classic-ff697fc5-20250409", + version: "19.2.0-www-classic-31ecc980-20250409", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-classic-31ecc980-20250409" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2563 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2575 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2563.isDisabled && - hook$jscomp$inline_2563.supportsFiber + !hook$jscomp$inline_2575.isDisabled && + hook$jscomp$inline_2575.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2563.inject( - internals$jscomp$inline_2562 + (rendererID = hook$jscomp$inline_2575.inject( + internals$jscomp$inline_2574 )), - (injectedHook = hook$jscomp$inline_2563); + (injectedHook = hook$jscomp$inline_2575); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -19414,4 +19444,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-classic-ff697fc5-20250409"; +exports.version = "19.2.0-www-classic-31ecc980-20250409"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index 994495e358..4a103f51c7 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -5751,9 +5751,13 @@ function updateSimpleMemoComponent( renderLanes ); } -function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, +function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps +) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -6854,18 +6858,34 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (state) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider(workInProgress, CacheContext, current.memoizedState.cache); break; case 25: - enableTransitionTracing && - ((state = workInProgress.stateNode), - null !== state && pushMarkerInstance(workInProgress, state)); + if (enableTransitionTracing) { + state = workInProgress.stateNode; + null !== state && pushMarkerInstance(workInProgress, state); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -7337,9 +7357,19 @@ function beginWork(current, workInProgress, renderLanes) { workInProgress ); case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 23: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 24: return ( prepareToReadContext(workInProgress), @@ -14512,20 +14542,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1723 = 0; - i$jscomp$inline_1723 < simpleEventPluginEvents.length; - i$jscomp$inline_1723++ + var i$jscomp$inline_1735 = 0; + i$jscomp$inline_1735 < simpleEventPluginEvents.length; + i$jscomp$inline_1735++ ) { - var eventName$jscomp$inline_1724 = - simpleEventPluginEvents[i$jscomp$inline_1723], - domEventName$jscomp$inline_1725 = - eventName$jscomp$inline_1724.toLowerCase(), - capitalizedEvent$jscomp$inline_1726 = - eventName$jscomp$inline_1724[0].toUpperCase() + - eventName$jscomp$inline_1724.slice(1); + var eventName$jscomp$inline_1736 = + simpleEventPluginEvents[i$jscomp$inline_1735], + domEventName$jscomp$inline_1737 = + eventName$jscomp$inline_1736.toLowerCase(), + capitalizedEvent$jscomp$inline_1738 = + eventName$jscomp$inline_1736[0].toUpperCase() + + eventName$jscomp$inline_1736.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1725, - "on" + capitalizedEvent$jscomp$inline_1726 + domEventName$jscomp$inline_1737, + "on" + capitalizedEvent$jscomp$inline_1738 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -18749,16 +18779,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1968 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1980 = React.version; if ( - "19.2.0-www-modern-ff697fc5-20250409" !== - isomorphicReactPackageVersion$jscomp$inline_1968 + "19.2.0-www-modern-31ecc980-20250409" !== + isomorphicReactPackageVersion$jscomp$inline_1980 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1968, - "19.2.0-www-modern-ff697fc5-20250409" + isomorphicReactPackageVersion$jscomp$inline_1980, + "19.2.0-www-modern-31ecc980-20250409" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -18774,24 +18804,24 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2544 = { +var internals$jscomp$inline_2556 = { bundleType: 0, - version: "19.2.0-www-modern-ff697fc5-20250409", + version: "19.2.0-www-modern-31ecc980-20250409", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-modern-31ecc980-20250409" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2545 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2557 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2545.isDisabled && - hook$jscomp$inline_2545.supportsFiber + !hook$jscomp$inline_2557.isDisabled && + hook$jscomp$inline_2557.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2545.inject( - internals$jscomp$inline_2544 + (rendererID = hook$jscomp$inline_2557.inject( + internals$jscomp$inline_2556 )), - (injectedHook = hook$jscomp$inline_2545); + (injectedHook = hook$jscomp$inline_2557); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -19143,4 +19173,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-modern-ff697fc5-20250409"; +exports.version = "19.2.0-www-modern-31ecc980-20250409"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index c6d8cf8049..a3f4998394 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -6472,9 +6472,13 @@ function updateSimpleMemoComponent( renderLanes ); } -function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, +function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps +) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -7672,18 +7676,34 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (stateNode) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider(workInProgress, CacheContext, current.memoizedState.cache); break; case 25: - enableTransitionTracing && - ((stateNode = workInProgress.stateNode), - null !== stateNode && pushMarkerInstance(workInProgress, stateNode)); + if (enableTransitionTracing) { + stateNode = workInProgress.stateNode; + null !== stateNode && pushMarkerInstance(workInProgress, stateNode); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -8162,9 +8182,19 @@ function beginWork(current, workInProgress, renderLanes) { workInProgress ); case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 23: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 24: return ( prepareToReadContext(workInProgress), @@ -16733,20 +16763,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1929 = 0; - i$jscomp$inline_1929 < simpleEventPluginEvents.length; - i$jscomp$inline_1929++ + var i$jscomp$inline_1941 = 0; + i$jscomp$inline_1941 < simpleEventPluginEvents.length; + i$jscomp$inline_1941++ ) { - var eventName$jscomp$inline_1930 = - simpleEventPluginEvents[i$jscomp$inline_1929], - domEventName$jscomp$inline_1931 = - eventName$jscomp$inline_1930.toLowerCase(), - capitalizedEvent$jscomp$inline_1932 = - eventName$jscomp$inline_1930[0].toUpperCase() + - eventName$jscomp$inline_1930.slice(1); + var eventName$jscomp$inline_1942 = + simpleEventPluginEvents[i$jscomp$inline_1941], + domEventName$jscomp$inline_1943 = + eventName$jscomp$inline_1942.toLowerCase(), + capitalizedEvent$jscomp$inline_1944 = + eventName$jscomp$inline_1942[0].toUpperCase() + + eventName$jscomp$inline_1942.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1931, - "on" + capitalizedEvent$jscomp$inline_1932 + domEventName$jscomp$inline_1943, + "on" + capitalizedEvent$jscomp$inline_1944 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -20984,16 +21014,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_2174 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2186 = React.version; if ( - "19.2.0-www-classic-ff697fc5-20250409" !== - isomorphicReactPackageVersion$jscomp$inline_2174 + "19.2.0-www-classic-31ecc980-20250409" !== + isomorphicReactPackageVersion$jscomp$inline_2186 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2174, - "19.2.0-www-classic-ff697fc5-20250409" + isomorphicReactPackageVersion$jscomp$inline_2186, + "19.2.0-www-classic-31ecc980-20250409" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -21009,27 +21039,27 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2176 = { +var internals$jscomp$inline_2188 = { bundleType: 0, - version: "19.2.0-www-classic-ff697fc5-20250409", + version: "19.2.0-www-classic-31ecc980-20250409", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-classic-31ecc980-20250409" }; enableSchedulingProfiler && - ((internals$jscomp$inline_2176.getLaneLabelMap = getLaneLabelMap), - (internals$jscomp$inline_2176.injectProfilingHooks = injectProfilingHooks)); + ((internals$jscomp$inline_2188.getLaneLabelMap = getLaneLabelMap), + (internals$jscomp$inline_2188.injectProfilingHooks = injectProfilingHooks)); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2754 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2766 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2754.isDisabled && - hook$jscomp$inline_2754.supportsFiber + !hook$jscomp$inline_2766.isDisabled && + hook$jscomp$inline_2766.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2754.inject( - internals$jscomp$inline_2176 + (rendererID = hook$jscomp$inline_2766.inject( + internals$jscomp$inline_2188 )), - (injectedHook = hook$jscomp$inline_2754); + (injectedHook = hook$jscomp$inline_2766); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -21381,7 +21411,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-classic-ff697fc5-20250409"; +exports.version = "19.2.0-www-classic-31ecc980-20250409"; "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 1073eabc68..4342830cc6 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -6386,9 +6386,13 @@ function updateSimpleMemoComponent( renderLanes ); } -function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, +function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps +) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -7504,18 +7508,34 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (stateNode) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider(workInProgress, CacheContext, current.memoizedState.cache); break; case 25: - enableTransitionTracing && - ((stateNode = workInProgress.stateNode), - null !== stateNode && pushMarkerInstance(workInProgress, stateNode)); + if (enableTransitionTracing) { + stateNode = workInProgress.stateNode; + null !== stateNode && pushMarkerInstance(workInProgress, stateNode); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -7994,9 +8014,19 @@ function beginWork(current, workInProgress, renderLanes) { workInProgress ); case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 23: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 24: return ( prepareToReadContext(workInProgress), @@ -16536,20 +16566,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1919 = 0; - i$jscomp$inline_1919 < simpleEventPluginEvents.length; - i$jscomp$inline_1919++ + var i$jscomp$inline_1931 = 0; + i$jscomp$inline_1931 < simpleEventPluginEvents.length; + i$jscomp$inline_1931++ ) { - var eventName$jscomp$inline_1920 = - simpleEventPluginEvents[i$jscomp$inline_1919], - domEventName$jscomp$inline_1921 = - eventName$jscomp$inline_1920.toLowerCase(), - capitalizedEvent$jscomp$inline_1922 = - eventName$jscomp$inline_1920[0].toUpperCase() + - eventName$jscomp$inline_1920.slice(1); + var eventName$jscomp$inline_1932 = + simpleEventPluginEvents[i$jscomp$inline_1931], + domEventName$jscomp$inline_1933 = + eventName$jscomp$inline_1932.toLowerCase(), + capitalizedEvent$jscomp$inline_1934 = + eventName$jscomp$inline_1932[0].toUpperCase() + + eventName$jscomp$inline_1932.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1921, - "on" + capitalizedEvent$jscomp$inline_1922 + domEventName$jscomp$inline_1933, + "on" + capitalizedEvent$jscomp$inline_1934 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -20782,16 +20812,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_2164 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2176 = React.version; if ( - "19.2.0-www-modern-ff697fc5-20250409" !== - isomorphicReactPackageVersion$jscomp$inline_2164 + "19.2.0-www-modern-31ecc980-20250409" !== + isomorphicReactPackageVersion$jscomp$inline_2176 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2164, - "19.2.0-www-modern-ff697fc5-20250409" + isomorphicReactPackageVersion$jscomp$inline_2176, + "19.2.0-www-modern-31ecc980-20250409" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -20807,27 +20837,27 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2166 = { +var internals$jscomp$inline_2178 = { bundleType: 0, - version: "19.2.0-www-modern-ff697fc5-20250409", + version: "19.2.0-www-modern-31ecc980-20250409", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-modern-31ecc980-20250409" }; enableSchedulingProfiler && - ((internals$jscomp$inline_2166.getLaneLabelMap = getLaneLabelMap), - (internals$jscomp$inline_2166.injectProfilingHooks = injectProfilingHooks)); + ((internals$jscomp$inline_2178.getLaneLabelMap = getLaneLabelMap), + (internals$jscomp$inline_2178.injectProfilingHooks = injectProfilingHooks)); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2736 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2748 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2736.isDisabled && - hook$jscomp$inline_2736.supportsFiber + !hook$jscomp$inline_2748.isDisabled && + hook$jscomp$inline_2748.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2736.inject( - internals$jscomp$inline_2166 + (rendererID = hook$jscomp$inline_2748.inject( + internals$jscomp$inline_2178 )), - (injectedHook = hook$jscomp$inline_2736); + (injectedHook = hook$jscomp$inline_2748); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -21179,7 +21209,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-modern-ff697fc5-20250409"; +exports.version = "19.2.0-www-modern-31ecc980-20250409"; "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 e9a699ea56..2ca4474acd 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -9468,5 +9468,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.2.0-www-classic-ff697fc5-20250409"; + exports.version = "19.2.0-www-classic-31ecc980-20250409"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index e9803715ad..763d2eca8d 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -9397,5 +9397,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.2.0-www-modern-ff697fc5-20250409"; + exports.version = "19.2.0-www-modern-31ecc980-20250409"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index 5254587d21..9bda6b3c84 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -6223,4 +6223,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-www-classic-ff697fc5-20250409"; +exports.version = "19.2.0-www-classic-31ecc980-20250409"; diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index 189c100c25..4f8568ded3 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -6135,4 +6135,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-www-modern-ff697fc5-20250409"; +exports.version = "19.2.0-www-modern-31ecc980-20250409"; diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index 354d125d78..f7551badb7 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -9010,9 +9010,13 @@ __DEV__ && renderLanes ); } - function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, + function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps + ) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -9903,32 +9907,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2871; - var JSCompiler_object_inline_stack_2872 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2883; + var JSCompiler_object_inline_stack_2884 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2873 = !1; + var JSCompiler_object_inline_componentStack_2885 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2871 = didSuspend) || - (JSCompiler_object_inline_digest_2871 = + (JSCompiler_object_inline_digest_2883 = didSuspend) || + (JSCompiler_object_inline_digest_2883 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2871 && - ((JSCompiler_object_inline_componentStack_2873 = !0), + JSCompiler_object_inline_digest_2883 && + ((JSCompiler_object_inline_componentStack_2885 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2871 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2883 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2873 + JSCompiler_object_inline_componentStack_2885 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2870 = nextHydratableInstance; + var JSCompiler_object_inline_message_2882 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2870)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2882)) { c: { - var instance = JSCompiler_object_inline_message_2870; + var instance = JSCompiler_object_inline_message_2882; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9970,46 +9974,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2870 + JSCompiler_object_inline_message_2882 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2870 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2882 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2870 && - ((JSCompiler_object_inline_message_2870 = - JSCompiler_object_inline_message_2870.dehydrated), - null !== JSCompiler_object_inline_message_2870) + null !== JSCompiler_object_inline_message_2882 && + ((JSCompiler_object_inline_message_2882 = + JSCompiler_object_inline_message_2882.dehydrated), + null !== JSCompiler_object_inline_message_2882) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2870) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2882) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2870 = - JSCompiler_object_inline_stack_2872.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2872.fallback; - if (JSCompiler_object_inline_componentStack_2873) + JSCompiler_object_inline_message_2882 = + JSCompiler_object_inline_stack_2884.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2884.fallback; + if (JSCompiler_object_inline_componentStack_2885) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2872 = + (JSCompiler_object_inline_stack_2884 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2870, + JSCompiler_object_inline_message_2882, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2873 = + (JSCompiler_object_inline_componentStack_2885 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2873.memoizedState = + (JSCompiler_object_inline_componentStack_2885.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2873.childLanes = + (JSCompiler_object_inline_componentStack_2885.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2871, + JSCompiler_object_inline_digest_2883, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -10022,9 +10026,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2873.updateQueue), + JSCompiler_object_inline_componentStack_2885.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2873.updateQueue = + ? (JSCompiler_object_inline_componentStack_2885.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -10032,46 +10036,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2872 + JSCompiler_object_inline_stack_2884 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2872.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2884.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2872 = + (JSCompiler_object_inline_stack_2884 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2870, + JSCompiler_object_inline_message_2882, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2873 = + (JSCompiler_object_inline_componentStack_2885 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2873.memoizedState = + (JSCompiler_object_inline_componentStack_2885.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2873.childLanes = + (JSCompiler_object_inline_componentStack_2885.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2871, + JSCompiler_object_inline_digest_2883, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2872 + JSCompiler_object_inline_stack_2884 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2870 + JSCompiler_object_inline_message_2882 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2870 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2870) + ((JSCompiler_object_inline_message_2882 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2882) ) { if (didSuspend) workInProgress.flags & 256 @@ -10088,94 +10092,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2873 = - JSCompiler_object_inline_stack_2872.fallback), - (JSCompiler_object_inline_message_2870 = workInProgress.mode), - (JSCompiler_object_inline_stack_2872 = + (JSCompiler_object_inline_componentStack_2885 = + JSCompiler_object_inline_stack_2884.fallback), + (JSCompiler_object_inline_message_2882 = workInProgress.mode), + (JSCompiler_object_inline_stack_2884 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2872.children + children: JSCompiler_object_inline_stack_2884.children }, - JSCompiler_object_inline_message_2870 + JSCompiler_object_inline_message_2882 )), - (JSCompiler_object_inline_componentStack_2873 = + (JSCompiler_object_inline_componentStack_2885 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2873, - JSCompiler_object_inline_message_2870, + JSCompiler_object_inline_componentStack_2885, + JSCompiler_object_inline_message_2882, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2873.flags |= 2), - (JSCompiler_object_inline_stack_2872.return = workInProgress), - (JSCompiler_object_inline_componentStack_2873.return = + (JSCompiler_object_inline_componentStack_2885.flags |= 2), + (JSCompiler_object_inline_stack_2884.return = workInProgress), + (JSCompiler_object_inline_componentStack_2885.return = workInProgress), - (JSCompiler_object_inline_stack_2872.sibling = - JSCompiler_object_inline_componentStack_2873), - (workInProgress.child = JSCompiler_object_inline_stack_2872), + (JSCompiler_object_inline_stack_2884.sibling = + JSCompiler_object_inline_componentStack_2885), + (workInProgress.child = JSCompiler_object_inline_stack_2884), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2872 = workInProgress.child), - (JSCompiler_object_inline_stack_2872.memoizedState = + (JSCompiler_object_inline_stack_2884 = workInProgress.child), + (JSCompiler_object_inline_stack_2884.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2872.childLanes = + (JSCompiler_object_inline_stack_2884.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2871, + JSCompiler_object_inline_digest_2883, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2873)); + JSCompiler_object_inline_componentStack_2885)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2870)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2882)) ) { - JSCompiler_object_inline_digest_2871 = - JSCompiler_object_inline_message_2870.nextSibling && - JSCompiler_object_inline_message_2870.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2871) { - JSCompiler_temp = JSCompiler_object_inline_digest_2871.dgst; - var message = JSCompiler_object_inline_digest_2871.msg; - instance = JSCompiler_object_inline_digest_2871.stck; - var componentStack = JSCompiler_object_inline_digest_2871.cstck; + JSCompiler_object_inline_digest_2883 = + JSCompiler_object_inline_message_2882.nextSibling && + JSCompiler_object_inline_message_2882.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2883) { + JSCompiler_temp = JSCompiler_object_inline_digest_2883.dgst; + var message = JSCompiler_object_inline_digest_2883.msg; + instance = JSCompiler_object_inline_digest_2883.stck; + var componentStack = JSCompiler_object_inline_digest_2883.cstck; } - JSCompiler_object_inline_message_2870 = message; - JSCompiler_object_inline_digest_2871 = JSCompiler_temp; - JSCompiler_object_inline_stack_2872 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2873 = + JSCompiler_object_inline_message_2882 = message; + JSCompiler_object_inline_digest_2883 = JSCompiler_temp; + JSCompiler_object_inline_stack_2884 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2885 = componentStack; - JSCompiler_object_inline_componentStack_2873 = - JSCompiler_object_inline_message_2870 - ? Error(JSCompiler_object_inline_message_2870) + JSCompiler_object_inline_componentStack_2885 = + JSCompiler_object_inline_message_2882 + ? Error(JSCompiler_object_inline_message_2882) : 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_2873.stack = - JSCompiler_object_inline_stack_2872 || ""; - JSCompiler_object_inline_componentStack_2873.digest = - JSCompiler_object_inline_digest_2871; - JSCompiler_object_inline_digest_2871 = + JSCompiler_object_inline_componentStack_2885.stack = + JSCompiler_object_inline_stack_2884 || ""; + JSCompiler_object_inline_componentStack_2885.digest = + JSCompiler_object_inline_digest_2883; + JSCompiler_object_inline_digest_2883 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2872 = { - value: JSCompiler_object_inline_componentStack_2873, + JSCompiler_object_inline_stack_2884 = { + value: JSCompiler_object_inline_componentStack_2885, source: null, - stack: JSCompiler_object_inline_digest_2871 + stack: JSCompiler_object_inline_digest_2883 }; - "string" === typeof JSCompiler_object_inline_digest_2871 && + "string" === typeof JSCompiler_object_inline_digest_2883 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2873, - JSCompiler_object_inline_stack_2872 + JSCompiler_object_inline_componentStack_2885, + JSCompiler_object_inline_stack_2884 ); - queueHydrationError(JSCompiler_object_inline_stack_2872); + queueHydrationError(JSCompiler_object_inline_stack_2884); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -10189,44 +10193,44 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2871 = + (JSCompiler_object_inline_digest_2883 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2871) + didReceiveUpdate || JSCompiler_object_inline_digest_2883) ) { - JSCompiler_object_inline_digest_2871 = workInProgressRoot; + JSCompiler_object_inline_digest_2883 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2871 && - ((JSCompiler_object_inline_stack_2872 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2872 = - 0 !== (JSCompiler_object_inline_stack_2872 & 42) + null !== JSCompiler_object_inline_digest_2883 && + ((JSCompiler_object_inline_stack_2884 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2884 = + 0 !== (JSCompiler_object_inline_stack_2884 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2872 + JSCompiler_object_inline_stack_2884 )), - (JSCompiler_object_inline_stack_2872 = + (JSCompiler_object_inline_stack_2884 = 0 !== - (JSCompiler_object_inline_stack_2872 & - (JSCompiler_object_inline_digest_2871.suspendedLanes | + (JSCompiler_object_inline_stack_2884 & + (JSCompiler_object_inline_digest_2883.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2872), - 0 !== JSCompiler_object_inline_stack_2872 && - JSCompiler_object_inline_stack_2872 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2884), + 0 !== JSCompiler_object_inline_stack_2884 && + JSCompiler_object_inline_stack_2884 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2872), + ((prevState.retryLane = JSCompiler_object_inline_stack_2884), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2872 + JSCompiler_object_inline_stack_2884 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2871, + JSCompiler_object_inline_digest_2883, current, - JSCompiler_object_inline_stack_2872 + JSCompiler_object_inline_stack_2884 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2870.data === + JSCompiler_object_inline_message_2882.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -10234,14 +10238,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2870.data === + JSCompiler_object_inline_message_2882.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2870.nextSibling + JSCompiler_object_inline_message_2882.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -10259,57 +10263,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2872.children + JSCompiler_object_inline_stack_2884.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2873) + if (JSCompiler_object_inline_componentStack_2885) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2873 = - JSCompiler_object_inline_stack_2872.fallback), - (JSCompiler_object_inline_message_2870 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2885 = + JSCompiler_object_inline_stack_2884.fallback), + (JSCompiler_object_inline_message_2882 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2872 = createWorkInProgress( + (JSCompiler_object_inline_stack_2884 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2872.children + children: JSCompiler_object_inline_stack_2884.children } )), - (JSCompiler_object_inline_stack_2872.subtreeFlags = + (JSCompiler_object_inline_stack_2884.subtreeFlags = JSCompiler_temp.subtreeFlags & 65011712), null !== instance - ? (JSCompiler_object_inline_componentStack_2873 = + ? (JSCompiler_object_inline_componentStack_2885 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2873 + JSCompiler_object_inline_componentStack_2885 )) - : ((JSCompiler_object_inline_componentStack_2873 = + : ((JSCompiler_object_inline_componentStack_2885 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2873, - JSCompiler_object_inline_message_2870, + JSCompiler_object_inline_componentStack_2885, + JSCompiler_object_inline_message_2882, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2873.flags |= 2)), - (JSCompiler_object_inline_componentStack_2873.return = + (JSCompiler_object_inline_componentStack_2885.flags |= 2)), + (JSCompiler_object_inline_componentStack_2885.return = workInProgress), - (JSCompiler_object_inline_stack_2872.return = workInProgress), - (JSCompiler_object_inline_stack_2872.sibling = - JSCompiler_object_inline_componentStack_2873), - (workInProgress.child = JSCompiler_object_inline_stack_2872), - (JSCompiler_object_inline_stack_2872 = - JSCompiler_object_inline_componentStack_2873), - (JSCompiler_object_inline_componentStack_2873 = workInProgress.child), - (JSCompiler_object_inline_message_2870 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2870 - ? (JSCompiler_object_inline_message_2870 = + (JSCompiler_object_inline_stack_2884.return = workInProgress), + (JSCompiler_object_inline_stack_2884.sibling = + JSCompiler_object_inline_componentStack_2885), + (workInProgress.child = JSCompiler_object_inline_stack_2884), + (JSCompiler_object_inline_stack_2884 = + JSCompiler_object_inline_componentStack_2885), + (JSCompiler_object_inline_componentStack_2885 = workInProgress.child), + (JSCompiler_object_inline_message_2882 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2882 + ? (JSCompiler_object_inline_message_2882 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2870.cachePool), + JSCompiler_object_inline_message_2882.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -10317,34 +10321,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2870 = { + (JSCompiler_object_inline_message_2882 = { baseLanes: - JSCompiler_object_inline_message_2870.baseLanes | renderLanes, + JSCompiler_object_inline_message_2882.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2873.memoizedState = - JSCompiler_object_inline_message_2870), + (JSCompiler_object_inline_componentStack_2885.memoizedState = + JSCompiler_object_inline_message_2882), enableTransitionTracing && - ((JSCompiler_object_inline_message_2870 = enableTransitionTracing + ((JSCompiler_object_inline_message_2882 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2870 && + null !== JSCompiler_object_inline_message_2882 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2873.updateQueue), + JSCompiler_object_inline_componentStack_2885.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2873.updateQueue = { - transitions: JSCompiler_object_inline_message_2870, + ? (JSCompiler_object_inline_componentStack_2885.updateQueue = { + transitions: JSCompiler_object_inline_message_2882, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2873.updateQueue = + ? (JSCompiler_object_inline_componentStack_2885.updateQueue = { - transitions: JSCompiler_object_inline_message_2870, + transitions: JSCompiler_object_inline_message_2882, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -10352,32 +10356,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2870), + JSCompiler_object_inline_message_2882), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2873.childLanes = + (JSCompiler_object_inline_componentStack_2885.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2871, + JSCompiler_object_inline_digest_2883, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2872 + JSCompiler_object_inline_stack_2884 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2872.children + children: JSCompiler_object_inline_stack_2884.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2871 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2871 + ((JSCompiler_object_inline_digest_2883 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2883 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2871.push(current)); + : JSCompiler_object_inline_digest_2883.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -10803,10 +10807,14 @@ __DEV__ && if (stateNode) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider( @@ -10816,10 +10824,21 @@ __DEV__ && ); break; case 25: - enableTransitionTracing && - ((stateNode = workInProgress.stateNode), - null !== stateNode && - pushMarkerInstance(workInProgress, stateNode)); + if (enableTransitionTracing) { + stateNode = workInProgress.stateNode; + null !== stateNode && pushMarkerInstance(workInProgress, stateNode); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -11516,12 +11535,18 @@ __DEV__ && } return JSCompiler_inline_result$jscomp$3; case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); - case 23: - return updateLegacyHiddenComponent( + return updateOffscreenComponent( current, workInProgress, - renderLanes + renderLanes, + workInProgress.pendingProps + ); + case 23: + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps ); case 24: prepareToReadContext(workInProgress); @@ -29631,8 +29656,7 @@ __DEV__ && var didWarnAboutTailOptions = {}; var didWarnAboutDefaultPropsOnFunctionComponent = {}; var didWarnAboutClassNameOnViewTransition = {}; - var updateLegacyHiddenComponent = updateOffscreenComponent, - SUSPENDED_MARKER = { + var SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0, @@ -30789,11 +30813,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-www-classic-ff697fc5-20250409" !== isomorphicReactPackageVersion) + if ("19.2.0-www-classic-31ecc980-20250409" !== 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-www-classic-ff697fc5-20250409\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-www-classic-31ecc980-20250409\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -30836,10 +30860,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-www-classic-ff697fc5-20250409", + version: "19.2.0-www-classic-31ecc980-20250409", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-classic-31ecc980-20250409" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -31603,5 +31627,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-www-classic-ff697fc5-20250409"; + exports.version = "19.2.0-www-classic-31ecc980-20250409"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index a37e67adfb..5f53794bdc 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -8897,9 +8897,13 @@ __DEV__ && renderLanes ); } - function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, + function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps + ) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -9715,32 +9719,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2866; - var JSCompiler_object_inline_stack_2867 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2878; + var JSCompiler_object_inline_stack_2879 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2868 = !1; + var JSCompiler_object_inline_componentStack_2880 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2866 = didSuspend) || - (JSCompiler_object_inline_digest_2866 = + (JSCompiler_object_inline_digest_2878 = didSuspend) || + (JSCompiler_object_inline_digest_2878 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2866 && - ((JSCompiler_object_inline_componentStack_2868 = !0), + JSCompiler_object_inline_digest_2878 && + ((JSCompiler_object_inline_componentStack_2880 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2866 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2878 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2868 + JSCompiler_object_inline_componentStack_2880 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2865 = nextHydratableInstance; + var JSCompiler_object_inline_message_2877 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2865)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2877)) { c: { - var instance = JSCompiler_object_inline_message_2865; + var instance = JSCompiler_object_inline_message_2877; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9782,46 +9786,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2865 + JSCompiler_object_inline_message_2877 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2865 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2877 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2865 && - ((JSCompiler_object_inline_message_2865 = - JSCompiler_object_inline_message_2865.dehydrated), - null !== JSCompiler_object_inline_message_2865) + null !== JSCompiler_object_inline_message_2877 && + ((JSCompiler_object_inline_message_2877 = + JSCompiler_object_inline_message_2877.dehydrated), + null !== JSCompiler_object_inline_message_2877) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2865) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2877) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2865 = - JSCompiler_object_inline_stack_2867.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2867.fallback; - if (JSCompiler_object_inline_componentStack_2868) + JSCompiler_object_inline_message_2877 = + JSCompiler_object_inline_stack_2879.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2879.fallback; + if (JSCompiler_object_inline_componentStack_2880) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2867 = + (JSCompiler_object_inline_stack_2879 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2865, + JSCompiler_object_inline_message_2877, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2868 = + (JSCompiler_object_inline_componentStack_2880 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2868.memoizedState = + (JSCompiler_object_inline_componentStack_2880.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2868.childLanes = + (JSCompiler_object_inline_componentStack_2880.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2866, + JSCompiler_object_inline_digest_2878, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9834,9 +9838,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2868.updateQueue), + JSCompiler_object_inline_componentStack_2880.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2868.updateQueue = + ? (JSCompiler_object_inline_componentStack_2880.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9844,46 +9848,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2867 + JSCompiler_object_inline_stack_2879 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2867.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2879.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2867 = + (JSCompiler_object_inline_stack_2879 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2865, + JSCompiler_object_inline_message_2877, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2868 = + (JSCompiler_object_inline_componentStack_2880 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2868.memoizedState = + (JSCompiler_object_inline_componentStack_2880.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2868.childLanes = + (JSCompiler_object_inline_componentStack_2880.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2866, + JSCompiler_object_inline_digest_2878, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2867 + JSCompiler_object_inline_stack_2879 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2865 + JSCompiler_object_inline_message_2877 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2865 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2865) + ((JSCompiler_object_inline_message_2877 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2877) ) { if (didSuspend) workInProgress.flags & 256 @@ -9900,94 +9904,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2868 = - JSCompiler_object_inline_stack_2867.fallback), - (JSCompiler_object_inline_message_2865 = workInProgress.mode), - (JSCompiler_object_inline_stack_2867 = + (JSCompiler_object_inline_componentStack_2880 = + JSCompiler_object_inline_stack_2879.fallback), + (JSCompiler_object_inline_message_2877 = workInProgress.mode), + (JSCompiler_object_inline_stack_2879 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2867.children + children: JSCompiler_object_inline_stack_2879.children }, - JSCompiler_object_inline_message_2865 + JSCompiler_object_inline_message_2877 )), - (JSCompiler_object_inline_componentStack_2868 = + (JSCompiler_object_inline_componentStack_2880 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2868, - JSCompiler_object_inline_message_2865, + JSCompiler_object_inline_componentStack_2880, + JSCompiler_object_inline_message_2877, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2868.flags |= 2), - (JSCompiler_object_inline_stack_2867.return = workInProgress), - (JSCompiler_object_inline_componentStack_2868.return = + (JSCompiler_object_inline_componentStack_2880.flags |= 2), + (JSCompiler_object_inline_stack_2879.return = workInProgress), + (JSCompiler_object_inline_componentStack_2880.return = workInProgress), - (JSCompiler_object_inline_stack_2867.sibling = - JSCompiler_object_inline_componentStack_2868), - (workInProgress.child = JSCompiler_object_inline_stack_2867), + (JSCompiler_object_inline_stack_2879.sibling = + JSCompiler_object_inline_componentStack_2880), + (workInProgress.child = JSCompiler_object_inline_stack_2879), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2867 = workInProgress.child), - (JSCompiler_object_inline_stack_2867.memoizedState = + (JSCompiler_object_inline_stack_2879 = workInProgress.child), + (JSCompiler_object_inline_stack_2879.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2867.childLanes = + (JSCompiler_object_inline_stack_2879.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2866, + JSCompiler_object_inline_digest_2878, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2868)); + JSCompiler_object_inline_componentStack_2880)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2865)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2877)) ) { - JSCompiler_object_inline_digest_2866 = - JSCompiler_object_inline_message_2865.nextSibling && - JSCompiler_object_inline_message_2865.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2866) { - JSCompiler_temp = JSCompiler_object_inline_digest_2866.dgst; - var message = JSCompiler_object_inline_digest_2866.msg; - instance = JSCompiler_object_inline_digest_2866.stck; - var componentStack = JSCompiler_object_inline_digest_2866.cstck; + JSCompiler_object_inline_digest_2878 = + JSCompiler_object_inline_message_2877.nextSibling && + JSCompiler_object_inline_message_2877.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2878) { + JSCompiler_temp = JSCompiler_object_inline_digest_2878.dgst; + var message = JSCompiler_object_inline_digest_2878.msg; + instance = JSCompiler_object_inline_digest_2878.stck; + var componentStack = JSCompiler_object_inline_digest_2878.cstck; } - JSCompiler_object_inline_message_2865 = message; - JSCompiler_object_inline_digest_2866 = JSCompiler_temp; - JSCompiler_object_inline_stack_2867 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2868 = + JSCompiler_object_inline_message_2877 = message; + JSCompiler_object_inline_digest_2878 = JSCompiler_temp; + JSCompiler_object_inline_stack_2879 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2880 = componentStack; - JSCompiler_object_inline_componentStack_2868 = - JSCompiler_object_inline_message_2865 - ? Error(JSCompiler_object_inline_message_2865) + JSCompiler_object_inline_componentStack_2880 = + JSCompiler_object_inline_message_2877 + ? Error(JSCompiler_object_inline_message_2877) : 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_2868.stack = - JSCompiler_object_inline_stack_2867 || ""; - JSCompiler_object_inline_componentStack_2868.digest = - JSCompiler_object_inline_digest_2866; - JSCompiler_object_inline_digest_2866 = + JSCompiler_object_inline_componentStack_2880.stack = + JSCompiler_object_inline_stack_2879 || ""; + JSCompiler_object_inline_componentStack_2880.digest = + JSCompiler_object_inline_digest_2878; + JSCompiler_object_inline_digest_2878 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2867 = { - value: JSCompiler_object_inline_componentStack_2868, + JSCompiler_object_inline_stack_2879 = { + value: JSCompiler_object_inline_componentStack_2880, source: null, - stack: JSCompiler_object_inline_digest_2866 + stack: JSCompiler_object_inline_digest_2878 }; - "string" === typeof JSCompiler_object_inline_digest_2866 && + "string" === typeof JSCompiler_object_inline_digest_2878 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2868, - JSCompiler_object_inline_stack_2867 + JSCompiler_object_inline_componentStack_2880, + JSCompiler_object_inline_stack_2879 ); - queueHydrationError(JSCompiler_object_inline_stack_2867); + queueHydrationError(JSCompiler_object_inline_stack_2879); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -10001,44 +10005,44 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2866 = + (JSCompiler_object_inline_digest_2878 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2866) + didReceiveUpdate || JSCompiler_object_inline_digest_2878) ) { - JSCompiler_object_inline_digest_2866 = workInProgressRoot; + JSCompiler_object_inline_digest_2878 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2866 && - ((JSCompiler_object_inline_stack_2867 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2867 = - 0 !== (JSCompiler_object_inline_stack_2867 & 42) + null !== JSCompiler_object_inline_digest_2878 && + ((JSCompiler_object_inline_stack_2879 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2879 = + 0 !== (JSCompiler_object_inline_stack_2879 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2867 + JSCompiler_object_inline_stack_2879 )), - (JSCompiler_object_inline_stack_2867 = + (JSCompiler_object_inline_stack_2879 = 0 !== - (JSCompiler_object_inline_stack_2867 & - (JSCompiler_object_inline_digest_2866.suspendedLanes | + (JSCompiler_object_inline_stack_2879 & + (JSCompiler_object_inline_digest_2878.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2867), - 0 !== JSCompiler_object_inline_stack_2867 && - JSCompiler_object_inline_stack_2867 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2879), + 0 !== JSCompiler_object_inline_stack_2879 && + JSCompiler_object_inline_stack_2879 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2867), + ((prevState.retryLane = JSCompiler_object_inline_stack_2879), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2867 + JSCompiler_object_inline_stack_2879 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2866, + JSCompiler_object_inline_digest_2878, current, - JSCompiler_object_inline_stack_2867 + JSCompiler_object_inline_stack_2879 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2865.data === + JSCompiler_object_inline_message_2877.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -10046,14 +10050,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2865.data === + JSCompiler_object_inline_message_2877.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2865.nextSibling + JSCompiler_object_inline_message_2877.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -10071,57 +10075,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2867.children + JSCompiler_object_inline_stack_2879.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2868) + if (JSCompiler_object_inline_componentStack_2880) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2868 = - JSCompiler_object_inline_stack_2867.fallback), - (JSCompiler_object_inline_message_2865 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2880 = + JSCompiler_object_inline_stack_2879.fallback), + (JSCompiler_object_inline_message_2877 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2867 = createWorkInProgress( + (JSCompiler_object_inline_stack_2879 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2867.children + children: JSCompiler_object_inline_stack_2879.children } )), - (JSCompiler_object_inline_stack_2867.subtreeFlags = + (JSCompiler_object_inline_stack_2879.subtreeFlags = JSCompiler_temp.subtreeFlags & 65011712), null !== instance - ? (JSCompiler_object_inline_componentStack_2868 = + ? (JSCompiler_object_inline_componentStack_2880 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2868 + JSCompiler_object_inline_componentStack_2880 )) - : ((JSCompiler_object_inline_componentStack_2868 = + : ((JSCompiler_object_inline_componentStack_2880 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2868, - JSCompiler_object_inline_message_2865, + JSCompiler_object_inline_componentStack_2880, + JSCompiler_object_inline_message_2877, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2868.flags |= 2)), - (JSCompiler_object_inline_componentStack_2868.return = + (JSCompiler_object_inline_componentStack_2880.flags |= 2)), + (JSCompiler_object_inline_componentStack_2880.return = workInProgress), - (JSCompiler_object_inline_stack_2867.return = workInProgress), - (JSCompiler_object_inline_stack_2867.sibling = - JSCompiler_object_inline_componentStack_2868), - (workInProgress.child = JSCompiler_object_inline_stack_2867), - (JSCompiler_object_inline_stack_2867 = - JSCompiler_object_inline_componentStack_2868), - (JSCompiler_object_inline_componentStack_2868 = workInProgress.child), - (JSCompiler_object_inline_message_2865 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2865 - ? (JSCompiler_object_inline_message_2865 = + (JSCompiler_object_inline_stack_2879.return = workInProgress), + (JSCompiler_object_inline_stack_2879.sibling = + JSCompiler_object_inline_componentStack_2880), + (workInProgress.child = JSCompiler_object_inline_stack_2879), + (JSCompiler_object_inline_stack_2879 = + JSCompiler_object_inline_componentStack_2880), + (JSCompiler_object_inline_componentStack_2880 = workInProgress.child), + (JSCompiler_object_inline_message_2877 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2877 + ? (JSCompiler_object_inline_message_2877 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2865.cachePool), + JSCompiler_object_inline_message_2877.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -10129,34 +10133,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2865 = { + (JSCompiler_object_inline_message_2877 = { baseLanes: - JSCompiler_object_inline_message_2865.baseLanes | renderLanes, + JSCompiler_object_inline_message_2877.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2868.memoizedState = - JSCompiler_object_inline_message_2865), + (JSCompiler_object_inline_componentStack_2880.memoizedState = + JSCompiler_object_inline_message_2877), enableTransitionTracing && - ((JSCompiler_object_inline_message_2865 = enableTransitionTracing + ((JSCompiler_object_inline_message_2877 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2865 && + null !== JSCompiler_object_inline_message_2877 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2868.updateQueue), + JSCompiler_object_inline_componentStack_2880.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2868.updateQueue = { - transitions: JSCompiler_object_inline_message_2865, + ? (JSCompiler_object_inline_componentStack_2880.updateQueue = { + transitions: JSCompiler_object_inline_message_2877, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2868.updateQueue = + ? (JSCompiler_object_inline_componentStack_2880.updateQueue = { - transitions: JSCompiler_object_inline_message_2865, + transitions: JSCompiler_object_inline_message_2877, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -10164,32 +10168,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2865), + JSCompiler_object_inline_message_2877), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2868.childLanes = + (JSCompiler_object_inline_componentStack_2880.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2866, + JSCompiler_object_inline_digest_2878, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2867 + JSCompiler_object_inline_stack_2879 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2867.children + children: JSCompiler_object_inline_stack_2879.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2866 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2866 + ((JSCompiler_object_inline_digest_2878 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2878 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2866.push(current)); + : JSCompiler_object_inline_digest_2878.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -10614,10 +10618,14 @@ __DEV__ && if (stateNode) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider( @@ -10627,10 +10635,21 @@ __DEV__ && ); break; case 25: - enableTransitionTracing && - ((stateNode = workInProgress.stateNode), - null !== stateNode && - pushMarkerInstance(workInProgress, stateNode)); + if (enableTransitionTracing) { + stateNode = workInProgress.stateNode; + null !== stateNode && pushMarkerInstance(workInProgress, stateNode); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -11329,12 +11348,18 @@ __DEV__ && } return JSCompiler_inline_result$jscomp$3; case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); - case 23: - return updateLegacyHiddenComponent( + return updateOffscreenComponent( current, workInProgress, - renderLanes + renderLanes, + workInProgress.pendingProps + ); + case 23: + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps ); case 24: prepareToReadContext(workInProgress); @@ -29418,8 +29443,7 @@ __DEV__ && var didWarnAboutTailOptions = {}; var didWarnAboutDefaultPropsOnFunctionComponent = {}; var didWarnAboutClassNameOnViewTransition = {}; - var updateLegacyHiddenComponent = updateOffscreenComponent, - SUSPENDED_MARKER = { + var SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0, @@ -30575,11 +30599,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-www-modern-ff697fc5-20250409" !== isomorphicReactPackageVersion) + if ("19.2.0-www-modern-31ecc980-20250409" !== 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-www-modern-ff697fc5-20250409\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-www-modern-31ecc980-20250409\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -30622,10 +30646,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-www-modern-ff697fc5-20250409", + version: "19.2.0-www-modern-31ecc980-20250409", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-modern-31ecc980-20250409" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -31389,5 +31413,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-www-modern-ff697fc5-20250409"; + exports.version = "19.2.0-www-modern-31ecc980-20250409"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index 52092801d2..76d66e39fc 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -5993,9 +5993,13 @@ function updateSimpleMemoComponent( renderLanes ); } -function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, +function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps +) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -7177,18 +7181,34 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (state) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider(workInProgress, CacheContext, current.memoizedState.cache); break; case 25: - enableTransitionTracing && - ((state = workInProgress.stateNode), - null !== state && pushMarkerInstance(workInProgress, state)); + if (enableTransitionTracing) { + state = workInProgress.stateNode; + null !== state && pushMarkerInstance(workInProgress, state); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -7660,9 +7680,19 @@ function beginWork(current, workInProgress, renderLanes) { workInProgress ); case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 23: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 24: return ( prepareToReadContext(workInProgress), @@ -15050,20 +15080,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1762 = 0; - i$jscomp$inline_1762 < simpleEventPluginEvents.length; - i$jscomp$inline_1762++ + var i$jscomp$inline_1774 = 0; + i$jscomp$inline_1774 < simpleEventPluginEvents.length; + i$jscomp$inline_1774++ ) { - var eventName$jscomp$inline_1763 = - simpleEventPluginEvents[i$jscomp$inline_1762], - domEventName$jscomp$inline_1764 = - eventName$jscomp$inline_1763.toLowerCase(), - capitalizedEvent$jscomp$inline_1765 = - eventName$jscomp$inline_1763[0].toUpperCase() + - eventName$jscomp$inline_1763.slice(1); + var eventName$jscomp$inline_1775 = + simpleEventPluginEvents[i$jscomp$inline_1774], + domEventName$jscomp$inline_1776 = + eventName$jscomp$inline_1775.toLowerCase(), + capitalizedEvent$jscomp$inline_1777 = + eventName$jscomp$inline_1775[0].toUpperCase() + + eventName$jscomp$inline_1775.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1764, - "on" + capitalizedEvent$jscomp$inline_1765 + domEventName$jscomp$inline_1776, + "on" + capitalizedEvent$jscomp$inline_1777 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -19336,16 +19366,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_2007 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2019 = React.version; if ( - "19.2.0-www-classic-ff697fc5-20250409" !== - isomorphicReactPackageVersion$jscomp$inline_2007 + "19.2.0-www-classic-31ecc980-20250409" !== + isomorphicReactPackageVersion$jscomp$inline_2019 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2007, - "19.2.0-www-classic-ff697fc5-20250409" + isomorphicReactPackageVersion$jscomp$inline_2019, + "19.2.0-www-classic-31ecc980-20250409" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -19361,24 +19391,24 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2596 = { +var internals$jscomp$inline_2608 = { bundleType: 0, - version: "19.2.0-www-classic-ff697fc5-20250409", + version: "19.2.0-www-classic-31ecc980-20250409", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-classic-31ecc980-20250409" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2597 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2609 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2597.isDisabled && - hook$jscomp$inline_2597.supportsFiber + !hook$jscomp$inline_2609.isDisabled && + hook$jscomp$inline_2609.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2597.inject( - internals$jscomp$inline_2596 + (rendererID = hook$jscomp$inline_2609.inject( + internals$jscomp$inline_2608 )), - (injectedHook = hook$jscomp$inline_2597); + (injectedHook = hook$jscomp$inline_2609); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -19881,4 +19911,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-classic-ff697fc5-20250409"; +exports.version = "19.2.0-www-classic-31ecc980-20250409"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index 6489b7bb0f..ecf00523d6 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -5837,9 +5837,13 @@ function updateSimpleMemoComponent( renderLanes ); } -function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, +function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps +) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -6940,18 +6944,34 @@ function attemptEarlyBailoutIfNoScheduledUpdate( if (state) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider(workInProgress, CacheContext, current.memoizedState.cache); break; case 25: - enableTransitionTracing && - ((state = workInProgress.stateNode), - null !== state && pushMarkerInstance(workInProgress, state)); + if (enableTransitionTracing) { + state = workInProgress.stateNode; + null !== state && pushMarkerInstance(workInProgress, state); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -7423,9 +7443,19 @@ function beginWork(current, workInProgress, renderLanes) { workInProgress ); case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 23: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 24: return ( prepareToReadContext(workInProgress), @@ -14784,20 +14814,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1752 = 0; - i$jscomp$inline_1752 < simpleEventPluginEvents.length; - i$jscomp$inline_1752++ + var i$jscomp$inline_1764 = 0; + i$jscomp$inline_1764 < simpleEventPluginEvents.length; + i$jscomp$inline_1764++ ) { - var eventName$jscomp$inline_1753 = - simpleEventPluginEvents[i$jscomp$inline_1752], - domEventName$jscomp$inline_1754 = - eventName$jscomp$inline_1753.toLowerCase(), - capitalizedEvent$jscomp$inline_1755 = - eventName$jscomp$inline_1753[0].toUpperCase() + - eventName$jscomp$inline_1753.slice(1); + var eventName$jscomp$inline_1765 = + simpleEventPluginEvents[i$jscomp$inline_1764], + domEventName$jscomp$inline_1766 = + eventName$jscomp$inline_1765.toLowerCase(), + capitalizedEvent$jscomp$inline_1767 = + eventName$jscomp$inline_1765[0].toUpperCase() + + eventName$jscomp$inline_1765.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1754, - "on" + capitalizedEvent$jscomp$inline_1755 + domEventName$jscomp$inline_1766, + "on" + capitalizedEvent$jscomp$inline_1767 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -19065,16 +19095,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1997 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2009 = React.version; if ( - "19.2.0-www-modern-ff697fc5-20250409" !== - isomorphicReactPackageVersion$jscomp$inline_1997 + "19.2.0-www-modern-31ecc980-20250409" !== + isomorphicReactPackageVersion$jscomp$inline_2009 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1997, - "19.2.0-www-modern-ff697fc5-20250409" + isomorphicReactPackageVersion$jscomp$inline_2009, + "19.2.0-www-modern-31ecc980-20250409" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -19090,24 +19120,24 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2578 = { +var internals$jscomp$inline_2590 = { bundleType: 0, - version: "19.2.0-www-modern-ff697fc5-20250409", + version: "19.2.0-www-modern-31ecc980-20250409", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-modern-31ecc980-20250409" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2579 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2591 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2579.isDisabled && - hook$jscomp$inline_2579.supportsFiber + !hook$jscomp$inline_2591.isDisabled && + hook$jscomp$inline_2591.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2579.inject( - internals$jscomp$inline_2578 + (rendererID = hook$jscomp$inline_2591.inject( + internals$jscomp$inline_2590 )), - (injectedHook = hook$jscomp$inline_2579); + (injectedHook = hook$jscomp$inline_2591); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -19610,4 +19640,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-modern-ff697fc5-20250409"; +exports.version = "19.2.0-www-modern-31ecc980-20250409"; diff --git a/compiled/facebook-www/ReactReconciler-dev.classic.js b/compiled/facebook-www/ReactReconciler-dev.classic.js index ee1f80100f..2c0fc2b922 100644 --- a/compiled/facebook-www/ReactReconciler-dev.classic.js +++ b/compiled/facebook-www/ReactReconciler-dev.classic.js @@ -7235,9 +7235,13 @@ __DEV__ && renderLanes ); } - function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, + function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps + ) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -8936,10 +8940,14 @@ __DEV__ && if (stateNode) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider( @@ -8949,10 +8957,21 @@ __DEV__ && ); break; case 25: - enableTransitionTracing && - ((stateNode = workInProgress.stateNode), - null !== stateNode && - pushMarkerInstance(workInProgress, stateNode)); + if (enableTransitionTracing) { + stateNode = workInProgress.stateNode; + null !== stateNode && pushMarkerInstance(workInProgress, stateNode); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -9631,12 +9650,18 @@ __DEV__ && } return JSCompiler_inline_result$jscomp$3; case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); - case 23: - return updateLegacyHiddenComponent( + return updateOffscreenComponent( current, workInProgress, - renderLanes + renderLanes, + workInProgress.pendingProps + ); + case 23: + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps ); case 24: prepareToReadContext(workInProgress); @@ -20538,8 +20563,7 @@ __DEV__ && var didWarnAboutTailOptions = {}; var didWarnAboutDefaultPropsOnFunctionComponent = {}; var didWarnAboutClassNameOnViewTransition = {}; - var updateLegacyHiddenComponent = updateOffscreenComponent, - SUSPENDED_MARKER = { + var SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0, @@ -21211,7 +21235,7 @@ __DEV__ && version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-classic-31ecc980-20250409" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-dev.modern.js b/compiled/facebook-www/ReactReconciler-dev.modern.js index caa2619e65..00aed90e0f 100644 --- a/compiled/facebook-www/ReactReconciler-dev.modern.js +++ b/compiled/facebook-www/ReactReconciler-dev.modern.js @@ -7141,9 +7141,13 @@ __DEV__ && renderLanes ); } - function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, + function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps + ) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -8766,10 +8770,14 @@ __DEV__ && if (stateNode) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider( @@ -8779,10 +8787,21 @@ __DEV__ && ); break; case 25: - enableTransitionTracing && - ((stateNode = workInProgress.stateNode), - null !== stateNode && - pushMarkerInstance(workInProgress, stateNode)); + if (enableTransitionTracing) { + stateNode = workInProgress.stateNode; + null !== stateNode && pushMarkerInstance(workInProgress, stateNode); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -9463,12 +9482,18 @@ __DEV__ && } return JSCompiler_inline_result$jscomp$3; case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); - case 23: - return updateLegacyHiddenComponent( + return updateOffscreenComponent( current, workInProgress, - renderLanes + renderLanes, + workInProgress.pendingProps + ); + case 23: + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps ); case 24: prepareToReadContext(workInProgress); @@ -20319,8 +20344,7 @@ __DEV__ && var didWarnAboutTailOptions = {}; var didWarnAboutDefaultPropsOnFunctionComponent = {}; var didWarnAboutClassNameOnViewTransition = {}; - var updateLegacyHiddenComponent = updateOffscreenComponent, - SUSPENDED_MARKER = { + var SUSPENDED_MARKER = { dehydrated: null, treeContext: null, retryLane: 0, @@ -20992,7 +21016,7 @@ __DEV__ && version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-modern-31ecc980-20250409" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.classic.js b/compiled/facebook-www/ReactReconciler-prod.classic.js index 38cf958823..1722dff85d 100644 --- a/compiled/facebook-www/ReactReconciler-prod.classic.js +++ b/compiled/facebook-www/ReactReconciler-prod.classic.js @@ -4590,9 +4590,13 @@ module.exports = function ($$$config) { renderLanes ); } - function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, + function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps + ) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -5790,18 +5794,34 @@ module.exports = function ($$$config) { if (state) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider(workInProgress, CacheContext, current.memoizedState.cache); break; case 25: - enableTransitionTracing && - ((state = workInProgress.stateNode), - null !== state && pushMarkerInstance(workInProgress, state)); + if (enableTransitionTracing) { + state = workInProgress.stateNode; + null !== state && pushMarkerInstance(workInProgress, state); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -6301,12 +6321,18 @@ module.exports = function ($$$config) { workInProgress ); case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); - case 23: - return updateLegacyHiddenComponent( + return updateOffscreenComponent( current, workInProgress, - renderLanes + renderLanes, + workInProgress.pendingProps + ); + case 23: + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps ); case 24: return ( @@ -13359,7 +13385,6 @@ module.exports = function ($$$config) { markerInstanceStack = createCursor(null), SelectiveHydrationException = Error(formatProdErrorMessage(461)), didReceiveUpdate = !1, - updateLegacyHiddenComponent = updateOffscreenComponent, SUSPENDED_MARKER = { dehydrated: null, treeContext: null, @@ -13801,7 +13826,7 @@ module.exports = function ($$$config) { version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-classic-31ecc980-20250409" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.modern.js b/compiled/facebook-www/ReactReconciler-prod.modern.js index 9abb003fca..8b8eacb8c9 100644 --- a/compiled/facebook-www/ReactReconciler-prod.modern.js +++ b/compiled/facebook-www/ReactReconciler-prod.modern.js @@ -4449,9 +4449,13 @@ module.exports = function ($$$config) { renderLanes ); } - function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, + function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps + ) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ( "hidden" === nextProps.mode || @@ -5564,18 +5568,34 @@ module.exports = function ($$$config) { if (state) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider(workInProgress, CacheContext, current.memoizedState.cache); break; case 25: - enableTransitionTracing && - ((state = workInProgress.stateNode), - null !== state && pushMarkerInstance(workInProgress, state)); + if (enableTransitionTracing) { + state = workInProgress.stateNode; + null !== state && pushMarkerInstance(workInProgress, state); + break; + } + case 23: + return ( + (workInProgress.lanes = 0), + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) + ); } return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes); } @@ -6075,12 +6095,18 @@ module.exports = function ($$$config) { workInProgress ); case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); - case 23: - return updateLegacyHiddenComponent( + return updateOffscreenComponent( current, workInProgress, - renderLanes + renderLanes, + workInProgress.pendingProps + ); + case 23: + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps ); case 24: return ( @@ -13076,7 +13102,6 @@ module.exports = function ($$$config) { markerInstanceStack = createCursor(null), SelectiveHydrationException = Error(formatProdErrorMessage(461)), didReceiveUpdate = !1, - updateLegacyHiddenComponent = updateOffscreenComponent, SUSPENDED_MARKER = { dehydrated: null, treeContext: null, @@ -13518,7 +13543,7 @@ module.exports = function ($$$config) { version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-modern-31ecc980-20250409" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index 33d35113a7..e14d58cc6e 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -6049,9 +6049,13 @@ __DEV__ && renderLanes ); } - function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, + function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps + ) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { @@ -7573,10 +7577,14 @@ __DEV__ && if (stateNode) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider( @@ -7984,7 +7992,12 @@ __DEV__ && workInProgress ); case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 24: return ( prepareToReadContext(workInProgress), @@ -15106,10 +15119,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-www-classic-ff697fc5-20250409", + version: "19.2.0-www-classic-31ecc980-20250409", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-classic-31ecc980-20250409" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15244,5 +15257,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.2.0-www-classic-ff697fc5-20250409"; + exports.version = "19.2.0-www-classic-31ecc980-20250409"; })(); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index d572c6954f..74943a161c 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -6049,9 +6049,13 @@ __DEV__ && renderLanes ); } - function updateOffscreenComponent(current, workInProgress, renderLanes) { - var nextProps = workInProgress.pendingProps, - nextChildren = nextProps.children, + function updateOffscreenComponent( + current, + workInProgress, + renderLanes, + nextProps + ) { + var nextChildren = nextProps.children, prevState = null !== current ? current.memoizedState : null; if ("hidden" === nextProps.mode) { if (0 !== (workInProgress.flags & 128)) { @@ -7573,10 +7577,14 @@ __DEV__ && if (stateNode) break; else return null; case 22: - case 23: return ( (workInProgress.lanes = 0), - updateOffscreenComponent(current, workInProgress, renderLanes) + updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ) ); case 24: pushProvider( @@ -7984,7 +7992,12 @@ __DEV__ && workInProgress ); case 22: - return updateOffscreenComponent(current, workInProgress, renderLanes); + return updateOffscreenComponent( + current, + workInProgress, + renderLanes, + workInProgress.pendingProps + ); case 24: return ( prepareToReadContext(workInProgress), @@ -15106,10 +15119,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-www-modern-ff697fc5-20250409", + version: "19.2.0-www-modern-31ecc980-20250409", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-ff697fc5-20250409" + reconcilerVersion: "19.2.0-www-modern-31ecc980-20250409" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15244,5 +15257,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.2.0-www-modern-ff697fc5-20250409"; + exports.version = "19.2.0-www-modern-31ecc980-20250409"; })(); diff --git a/compiled/facebook-www/VERSION_CLASSIC b/compiled/facebook-www/VERSION_CLASSIC index 0a7294ad2e..d1a90f96ef 100644 --- a/compiled/facebook-www/VERSION_CLASSIC +++ b/compiled/facebook-www/VERSION_CLASSIC @@ -1 +1 @@ -19.2.0-www-classic-ff697fc5-20250409 \ No newline at end of file +19.2.0-www-classic-31ecc980-20250409 \ No newline at end of file diff --git a/compiled/facebook-www/VERSION_MODERN b/compiled/facebook-www/VERSION_MODERN index f0bb0bca08..658bbdaef1 100644 --- a/compiled/facebook-www/VERSION_MODERN +++ b/compiled/facebook-www/VERSION_MODERN @@ -1 +1 @@ -19.2.0-www-modern-ff697fc5-20250409 \ No newline at end of file +19.2.0-www-modern-31ecc980-20250409 \ No newline at end of file