diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index b1b2ac9b96..c1010bd5ff 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -c44e4a250557e53b120e40db8b01fb5fd93f1e35 +8a3c5e1a8d1d89a68ca36c6959c1f253710f6cef diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index b1b2ac9b96..c1010bd5ff 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -c44e4a250557e53b120e40db8b01fb5fd93f1e35 +8a3c5e1a8d1d89a68ca36c6959c1f253710f6cef diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 0800e7ff18..8cbc15aae5 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-c44e4a25-20250409"; + exports.version = "19.2.0-www-classic-8a3c5e1a-20250410"; "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 a24e0e3509..3db61a843f 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-c44e4a25-20250409"; + exports.version = "19.2.0-www-modern-8a3c5e1a-20250410"; "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 5d9d6e0380..06c1c7a869 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-c44e4a25-20250409"; +exports.version = "19.2.0-www-classic-8a3c5e1a-20250410"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 5ce9fb4429..d6a5a4bb3a 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-c44e4a25-20250409"; +exports.version = "19.2.0-www-modern-8a3c5e1a-20250410"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index 442b264beb..10378914fc 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-c44e4a25-20250409"; +exports.version = "19.2.0-www-classic-8a3c5e1a-20250410"; "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 87e4ffe101..d69c78b4b4 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-c44e4a25-20250409"; +exports.version = "19.2.0-www-modern-8a3c5e1a-20250410"; "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 a5f49a68c1..4c99dcdb2b 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -18546,10 +18546,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-www-classic-c44e4a25-20250409", + version: "19.2.0-www-classic-8a3c5e1a-20250410", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-c44e4a25-20250409" + reconcilerVersion: "19.2.0-www-classic-8a3c5e1a-20250410" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -18583,7 +18583,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.2.0-www-classic-c44e4a25-20250409"; + exports.version = "19.2.0-www-classic-8a3c5e1a-20250410"; "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 06225a6a27..af00accea5 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -18318,10 +18318,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.2.0-www-modern-c44e4a25-20250409", + version: "19.2.0-www-modern-8a3c5e1a-20250410", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-c44e4a25-20250409" + reconcilerVersion: "19.2.0-www-modern-8a3c5e1a-20250410" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -18355,7 +18355,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.2.0-www-modern-c44e4a25-20250409"; + exports.version = "19.2.0-www-modern-8a3c5e1a-20250410"; "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 48582dde4c..0e52431aa9 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -11249,10 +11249,10 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1607 = { bundleType: 0, - version: "19.2.0-www-classic-c44e4a25-20250409", + version: "19.2.0-www-classic-8a3c5e1a-20250410", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-c44e4a25-20250409" + reconcilerVersion: "19.2.0-www-classic-8a3c5e1a-20250410" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1608 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -11278,4 +11278,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.2.0-www-classic-c44e4a25-20250409"; +exports.version = "19.2.0-www-classic-8a3c5e1a-20250410"; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index b851265ff6..de58c9fe5e 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -10962,10 +10962,10 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1580 = { bundleType: 0, - version: "19.2.0-www-modern-c44e4a25-20250409", + version: "19.2.0-www-modern-8a3c5e1a-20250410", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-c44e4a25-20250409" + reconcilerVersion: "19.2.0-www-modern-8a3c5e1a-20250410" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1581 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10991,4 +10991,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.2.0-www-modern-c44e4a25-20250409"; +exports.version = "19.2.0-www-modern-8a3c5e1a-20250410"; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index ad2c448823..e6f5042116 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -24214,55 +24214,45 @@ __DEV__ && } function clearSuspenseBoundary(parentInstance, suspenseInstance) { var node = suspenseInstance, - possiblePreambleContribution = 0, depth = 0; do { var nextNode = node.nextSibling; parentInstance.removeChild(node); if (nextNode && nextNode.nodeType === COMMENT_NODE) if (((node = nextNode.data), node === SUSPENSE_END_DATA)) { - if ( - 0 < possiblePreambleContribution && - 8 > possiblePreambleContribution - ) { - node = possiblePreambleContribution; - var ownerDocument = parentInstance.ownerDocument; - node & PREAMBLE_CONTRIBUTION_HTML && - releaseSingletonInstance(ownerDocument.documentElement); - node & PREAMBLE_CONTRIBUTION_BODY && - releaseSingletonInstance(ownerDocument.body); - if (node & PREAMBLE_CONTRIBUTION_HEAD) - for ( - node = ownerDocument.head, - releaseSingletonInstance(node), - ownerDocument = node.firstChild; - ownerDocument; - - ) { - var nextNode$jscomp$0 = ownerDocument.nextSibling, - nodeName = ownerDocument.nodeName; - ownerDocument[internalHoistableMarker] || - "SCRIPT" === nodeName || - "STYLE" === nodeName || - ("LINK" === nodeName && - "stylesheet" === ownerDocument.rel.toLowerCase()) || - node.removeChild(ownerDocument); - ownerDocument = nextNode$jscomp$0; - } - } if (0 === depth) { parentInstance.removeChild(nextNode); retryIfBlockedOn(suspenseInstance); return; } depth--; - } else + } else if ( node === SUSPENSE_START_DATA || node === SUSPENSE_PENDING_START_DATA || node === SUSPENSE_FALLBACK_START_DATA - ? depth++ - : (possiblePreambleContribution = node.charCodeAt(0) - 48); - else possiblePreambleContribution = 0; + ) + depth++; + else if (node === PREAMBLE_CONTRIBUTION_HTML) + releaseSingletonInstance( + parentInstance.ownerDocument.documentElement + ); + else if (node === PREAMBLE_CONTRIBUTION_HEAD) { + node = parentInstance.ownerDocument.head; + releaseSingletonInstance(node); + for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) { + var nextNode$jscomp$0 = node$jscomp$0.nextSibling, + nodeName = node$jscomp$0.nodeName; + node$jscomp$0[internalHoistableMarker] || + "SCRIPT" === nodeName || + "STYLE" === nodeName || + ("LINK" === nodeName && + "stylesheet" === node$jscomp$0.rel.toLowerCase()) || + node.removeChild(node$jscomp$0); + node$jscomp$0 = nextNode$jscomp$0; + } + } else + node === PREAMBLE_CONTRIBUTION_BODY && + releaseSingletonInstance(parentInstance.ownerDocument.body); node = nextNode; } while (node); retryIfBlockedOn(suspenseInstance); @@ -29988,9 +29978,9 @@ __DEV__ && SUSPENSE_END_DATA = "/$", SUSPENSE_PENDING_START_DATA = "$?", SUSPENSE_FALLBACK_START_DATA = "$!", - PREAMBLE_CONTRIBUTION_HTML = 1, - PREAMBLE_CONTRIBUTION_BODY = 2, - PREAMBLE_CONTRIBUTION_HEAD = 4, + PREAMBLE_CONTRIBUTION_HTML = "html", + PREAMBLE_CONTRIBUTION_BODY = "body", + PREAMBLE_CONTRIBUTION_HEAD = "head", FORM_STATE_IS_MATCHING = "F!", FORM_STATE_IS_NOT_MATCHING = "F", DOCUMENT_READY_STATE_COMPLETE = "complete", @@ -30487,11 +30477,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-www-classic-c44e4a25-20250409" !== isomorphicReactPackageVersion) + if ("19.2.0-www-classic-8a3c5e1a-20250410" !== 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-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-www-classic-8a3c5e1a-20250410\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -30534,10 +30524,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-www-classic-c44e4a25-20250409", + version: "19.2.0-www-classic-8a3c5e1a-20250410", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-c44e4a25-20250409" + reconcilerVersion: "19.2.0-www-classic-8a3c5e1a-20250410" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -31135,7 +31125,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-www-classic-c44e4a25-20250409"; + exports.version = "19.2.0-www-classic-8a3c5e1a-20250410"; "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 a736487fd7..3b564e014f 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -24008,55 +24008,45 @@ __DEV__ && } function clearSuspenseBoundary(parentInstance, suspenseInstance) { var node = suspenseInstance, - possiblePreambleContribution = 0, depth = 0; do { var nextNode = node.nextSibling; parentInstance.removeChild(node); if (nextNode && nextNode.nodeType === COMMENT_NODE) if (((node = nextNode.data), node === SUSPENSE_END_DATA)) { - if ( - 0 < possiblePreambleContribution && - 8 > possiblePreambleContribution - ) { - node = possiblePreambleContribution; - var ownerDocument = parentInstance.ownerDocument; - node & PREAMBLE_CONTRIBUTION_HTML && - releaseSingletonInstance(ownerDocument.documentElement); - node & PREAMBLE_CONTRIBUTION_BODY && - releaseSingletonInstance(ownerDocument.body); - if (node & PREAMBLE_CONTRIBUTION_HEAD) - for ( - node = ownerDocument.head, - releaseSingletonInstance(node), - ownerDocument = node.firstChild; - ownerDocument; - - ) { - var nextNode$jscomp$0 = ownerDocument.nextSibling, - nodeName = ownerDocument.nodeName; - ownerDocument[internalHoistableMarker] || - "SCRIPT" === nodeName || - "STYLE" === nodeName || - ("LINK" === nodeName && - "stylesheet" === ownerDocument.rel.toLowerCase()) || - node.removeChild(ownerDocument); - ownerDocument = nextNode$jscomp$0; - } - } if (0 === depth) { parentInstance.removeChild(nextNode); retryIfBlockedOn(suspenseInstance); return; } depth--; - } else + } else if ( node === SUSPENSE_START_DATA || node === SUSPENSE_PENDING_START_DATA || node === SUSPENSE_FALLBACK_START_DATA - ? depth++ - : (possiblePreambleContribution = node.charCodeAt(0) - 48); - else possiblePreambleContribution = 0; + ) + depth++; + else if (node === PREAMBLE_CONTRIBUTION_HTML) + releaseSingletonInstance( + parentInstance.ownerDocument.documentElement + ); + else if (node === PREAMBLE_CONTRIBUTION_HEAD) { + node = parentInstance.ownerDocument.head; + releaseSingletonInstance(node); + for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) { + var nextNode$jscomp$0 = node$jscomp$0.nextSibling, + nodeName = node$jscomp$0.nodeName; + node$jscomp$0[internalHoistableMarker] || + "SCRIPT" === nodeName || + "STYLE" === nodeName || + ("LINK" === nodeName && + "stylesheet" === node$jscomp$0.rel.toLowerCase()) || + node.removeChild(node$jscomp$0); + node$jscomp$0 = nextNode$jscomp$0; + } + } else + node === PREAMBLE_CONTRIBUTION_BODY && + releaseSingletonInstance(parentInstance.ownerDocument.body); node = nextNode; } while (node); retryIfBlockedOn(suspenseInstance); @@ -29774,9 +29764,9 @@ __DEV__ && SUSPENSE_END_DATA = "/$", SUSPENSE_PENDING_START_DATA = "$?", SUSPENSE_FALLBACK_START_DATA = "$!", - PREAMBLE_CONTRIBUTION_HTML = 1, - PREAMBLE_CONTRIBUTION_BODY = 2, - PREAMBLE_CONTRIBUTION_HEAD = 4, + PREAMBLE_CONTRIBUTION_HTML = "html", + PREAMBLE_CONTRIBUTION_BODY = "body", + PREAMBLE_CONTRIBUTION_HEAD = "head", FORM_STATE_IS_MATCHING = "F!", FORM_STATE_IS_NOT_MATCHING = "F", DOCUMENT_READY_STATE_COMPLETE = "complete", @@ -30273,11 +30263,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.2.0-www-modern-c44e4a25-20250409" !== isomorphicReactPackageVersion) + if ("19.2.0-www-modern-8a3c5e1a-20250410" !== 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-c44e4a25-20250409\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.2.0-www-modern-8a3c5e1a-20250410\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -30320,10 +30310,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.2.0-www-modern-c44e4a25-20250409", + version: "19.2.0-www-modern-8a3c5e1a-20250410", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-c44e4a25-20250409" + reconcilerVersion: "19.2.0-www-modern-8a3c5e1a-20250410" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -30921,7 +30911,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.2.0-www-modern-c44e4a25-20250409"; + exports.version = "19.2.0-www-modern-8a3c5e1a-20250410"; "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 cf821c2617..10209a0f79 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -14809,20 +14809,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1747 = 0; - i$jscomp$inline_1747 < simpleEventPluginEvents.length; - i$jscomp$inline_1747++ + var i$jscomp$inline_1749 = 0; + i$jscomp$inline_1749 < simpleEventPluginEvents.length; + i$jscomp$inline_1749++ ) { - var eventName$jscomp$inline_1748 = - simpleEventPluginEvents[i$jscomp$inline_1747], - domEventName$jscomp$inline_1749 = - eventName$jscomp$inline_1748.toLowerCase(), - capitalizedEvent$jscomp$inline_1750 = - eventName$jscomp$inline_1748[0].toUpperCase() + - eventName$jscomp$inline_1748.slice(1); + var eventName$jscomp$inline_1750 = + simpleEventPluginEvents[i$jscomp$inline_1749], + domEventName$jscomp$inline_1751 = + eventName$jscomp$inline_1750.toLowerCase(), + capitalizedEvent$jscomp$inline_1752 = + eventName$jscomp$inline_1750[0].toUpperCase() + + eventName$jscomp$inline_1750.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1749, - "on" + capitalizedEvent$jscomp$inline_1750 + domEventName$jscomp$inline_1751, + "on" + capitalizedEvent$jscomp$inline_1752 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -16815,51 +16815,38 @@ function createEvent(type, bubbles) { } function clearSuspenseBoundary(parentInstance, suspenseInstance) { var node = suspenseInstance, - possiblePreambleContribution = 0, depth = 0; do { var nextNode = node.nextSibling; parentInstance.removeChild(node); if (nextNode && 8 === nextNode.nodeType) if (((node = nextNode.data), "/$" === node)) { - if ( - 0 < possiblePreambleContribution && - 8 > possiblePreambleContribution - ) { - node = possiblePreambleContribution; - var ownerDocument = parentInstance.ownerDocument; - node & 1 && releaseSingletonInstance(ownerDocument.documentElement); - node & 2 && releaseSingletonInstance(ownerDocument.body); - if (node & 4) - for ( - node = ownerDocument.head, - releaseSingletonInstance(node), - ownerDocument = node.firstChild; - ownerDocument; - - ) { - var nextNode$jscomp$0 = ownerDocument.nextSibling, - nodeName = ownerDocument.nodeName; - ownerDocument[internalHoistableMarker] || - "SCRIPT" === nodeName || - "STYLE" === nodeName || - ("LINK" === nodeName && - "stylesheet" === ownerDocument.rel.toLowerCase()) || - node.removeChild(ownerDocument); - ownerDocument = nextNode$jscomp$0; - } - } if (0 === depth) { parentInstance.removeChild(nextNode); retryIfBlockedOn(suspenseInstance); return; } depth--; + } else if ("$" === node || "$?" === node || "$!" === node) depth++; + else if ("html" === node) + releaseSingletonInstance(parentInstance.ownerDocument.documentElement); + else if ("head" === node) { + node = parentInstance.ownerDocument.head; + releaseSingletonInstance(node); + for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) { + var nextNode$jscomp$0 = node$jscomp$0.nextSibling, + nodeName = node$jscomp$0.nodeName; + node$jscomp$0[internalHoistableMarker] || + "SCRIPT" === nodeName || + "STYLE" === nodeName || + ("LINK" === nodeName && + "stylesheet" === node$jscomp$0.rel.toLowerCase()) || + node.removeChild(node$jscomp$0); + node$jscomp$0 = nextNode$jscomp$0; + } } else - "$" === node || "$?" === node || "$!" === node - ? depth++ - : (possiblePreambleContribution = node.charCodeAt(0) - 48); - else possiblePreambleContribution = 0; + "body" === node && + releaseSingletonInstance(parentInstance.ownerDocument.body); node = nextNode; } while (node); retryIfBlockedOn(suspenseInstance); @@ -17844,26 +17831,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$282 = getResourcesFromRoot( + var styles$284 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$283 = styles$282.get(type); - resource$283 || + resource$285 = styles$284.get(type); + resource$285 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$283 = { + (resource$285 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$282.set(type, resource$283), - (styles$282 = JSCompiler_inline_result.querySelector( + styles$284.set(type, resource$285), + (styles$284 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$282._p && - ((resource$283.instance = styles$282), - (resource$283.state.loading = 5)), + !styles$284._p && + ((resource$285.instance = styles$284), + (resource$285.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -17876,16 +17863,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$282 || + styles$284 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$283.state + resource$285.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$283; + return resource$285; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -17982,37 +17969,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$288 = hoistableRoot.querySelector( + var instance$290 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$288) + if (instance$290) return ( (resource.state.loading |= 4), - (resource.instance = instance$288), - markNodeAsHoistable(instance$288), - instance$288 + (resource.instance = instance$290), + markNodeAsHoistable(instance$290), + instance$290 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$288 = ( + instance$290 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$288); - var linkInstance = instance$288; + markNodeAsHoistable(instance$290); + var linkInstance = instance$290; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$288, "link", instance); + setInitialProperties(instance$290, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$288, props.precedence, hoistableRoot); - return (resource.instance = instance$288); + insertStylesheet(instance$290, props.precedence, hoistableRoot); + return (resource.instance = instance$290); case "script": - instance$288 = getScriptKey(props.src); + instance$290 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$288) + getScriptSelectorFromKey(instance$290) )) ) return ( @@ -18021,7 +18008,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$288))) + if ((styleProps = preloadPropsMap.get(instance$290))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -19051,16 +19038,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1992 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1994 = React.version; if ( - "19.2.0-www-classic-c44e4a25-20250409" !== - isomorphicReactPackageVersion$jscomp$inline_1992 + "19.2.0-www-classic-8a3c5e1a-20250410" !== + isomorphicReactPackageVersion$jscomp$inline_1994 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1992, - "19.2.0-www-classic-c44e4a25-20250409" + isomorphicReactPackageVersion$jscomp$inline_1994, + "19.2.0-www-classic-8a3c5e1a-20250410" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -19076,24 +19063,24 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2576 = { +var internals$jscomp$inline_2578 = { bundleType: 0, - version: "19.2.0-www-classic-c44e4a25-20250409", + version: "19.2.0-www-classic-8a3c5e1a-20250410", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-c44e4a25-20250409" + reconcilerVersion: "19.2.0-www-classic-8a3c5e1a-20250410" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2577 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2579 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2577.isDisabled && - hook$jscomp$inline_2577.supportsFiber + !hook$jscomp$inline_2579.isDisabled && + hook$jscomp$inline_2579.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2577.inject( - internals$jscomp$inline_2576 + (rendererID = hook$jscomp$inline_2579.inject( + internals$jscomp$inline_2578 )), - (injectedHook = hook$jscomp$inline_2577); + (injectedHook = hook$jscomp$inline_2579); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -19445,4 +19432,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-classic-c44e4a25-20250409"; +exports.version = "19.2.0-www-classic-8a3c5e1a-20250410"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index da40aae909..90f13920c2 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -14543,20 +14543,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1737 = 0; - i$jscomp$inline_1737 < simpleEventPluginEvents.length; - i$jscomp$inline_1737++ + var i$jscomp$inline_1739 = 0; + i$jscomp$inline_1739 < simpleEventPluginEvents.length; + i$jscomp$inline_1739++ ) { - var eventName$jscomp$inline_1738 = - simpleEventPluginEvents[i$jscomp$inline_1737], - domEventName$jscomp$inline_1739 = - eventName$jscomp$inline_1738.toLowerCase(), - capitalizedEvent$jscomp$inline_1740 = - eventName$jscomp$inline_1738[0].toUpperCase() + - eventName$jscomp$inline_1738.slice(1); + var eventName$jscomp$inline_1740 = + simpleEventPluginEvents[i$jscomp$inline_1739], + domEventName$jscomp$inline_1741 = + eventName$jscomp$inline_1740.toLowerCase(), + capitalizedEvent$jscomp$inline_1742 = + eventName$jscomp$inline_1740[0].toUpperCase() + + eventName$jscomp$inline_1740.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1739, - "on" + capitalizedEvent$jscomp$inline_1740 + domEventName$jscomp$inline_1741, + "on" + capitalizedEvent$jscomp$inline_1742 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -16544,51 +16544,38 @@ function createEvent(type, bubbles) { } function clearSuspenseBoundary(parentInstance, suspenseInstance) { var node = suspenseInstance, - possiblePreambleContribution = 0, depth = 0; do { var nextNode = node.nextSibling; parentInstance.removeChild(node); if (nextNode && 8 === nextNode.nodeType) if (((node = nextNode.data), "/$" === node)) { - if ( - 0 < possiblePreambleContribution && - 8 > possiblePreambleContribution - ) { - node = possiblePreambleContribution; - var ownerDocument = parentInstance.ownerDocument; - node & 1 && releaseSingletonInstance(ownerDocument.documentElement); - node & 2 && releaseSingletonInstance(ownerDocument.body); - if (node & 4) - for ( - node = ownerDocument.head, - releaseSingletonInstance(node), - ownerDocument = node.firstChild; - ownerDocument; - - ) { - var nextNode$jscomp$0 = ownerDocument.nextSibling, - nodeName = ownerDocument.nodeName; - ownerDocument[internalHoistableMarker] || - "SCRIPT" === nodeName || - "STYLE" === nodeName || - ("LINK" === nodeName && - "stylesheet" === ownerDocument.rel.toLowerCase()) || - node.removeChild(ownerDocument); - ownerDocument = nextNode$jscomp$0; - } - } if (0 === depth) { parentInstance.removeChild(nextNode); retryIfBlockedOn(suspenseInstance); return; } depth--; + } else if ("$" === node || "$?" === node || "$!" === node) depth++; + else if ("html" === node) + releaseSingletonInstance(parentInstance.ownerDocument.documentElement); + else if ("head" === node) { + node = parentInstance.ownerDocument.head; + releaseSingletonInstance(node); + for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) { + var nextNode$jscomp$0 = node$jscomp$0.nextSibling, + nodeName = node$jscomp$0.nodeName; + node$jscomp$0[internalHoistableMarker] || + "SCRIPT" === nodeName || + "STYLE" === nodeName || + ("LINK" === nodeName && + "stylesheet" === node$jscomp$0.rel.toLowerCase()) || + node.removeChild(node$jscomp$0); + node$jscomp$0 = nextNode$jscomp$0; + } } else - "$" === node || "$?" === node || "$!" === node - ? depth++ - : (possiblePreambleContribution = node.charCodeAt(0) - 48); - else possiblePreambleContribution = 0; + "body" === node && + releaseSingletonInstance(parentInstance.ownerDocument.body); node = nextNode; } while (node); retryIfBlockedOn(suspenseInstance); @@ -17573,26 +17560,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$282 = getResourcesFromRoot( + var styles$284 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$283 = styles$282.get(type); - resource$283 || + resource$285 = styles$284.get(type); + resource$285 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$283 = { + (resource$285 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$282.set(type, resource$283), - (styles$282 = JSCompiler_inline_result.querySelector( + styles$284.set(type, resource$285), + (styles$284 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$282._p && - ((resource$283.instance = styles$282), - (resource$283.state.loading = 5)), + !styles$284._p && + ((resource$285.instance = styles$284), + (resource$285.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -17605,16 +17592,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$282 || + styles$284 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$283.state + resource$285.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$283; + return resource$285; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -17711,37 +17698,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$288 = hoistableRoot.querySelector( + var instance$290 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$288) + if (instance$290) return ( (resource.state.loading |= 4), - (resource.instance = instance$288), - markNodeAsHoistable(instance$288), - instance$288 + (resource.instance = instance$290), + markNodeAsHoistable(instance$290), + instance$290 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$288 = ( + instance$290 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$288); - var linkInstance = instance$288; + markNodeAsHoistable(instance$290); + var linkInstance = instance$290; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$288, "link", instance); + setInitialProperties(instance$290, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$288, props.precedence, hoistableRoot); - return (resource.instance = instance$288); + insertStylesheet(instance$290, props.precedence, hoistableRoot); + return (resource.instance = instance$290); case "script": - instance$288 = getScriptKey(props.src); + instance$290 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$288) + getScriptSelectorFromKey(instance$290) )) ) return ( @@ -17750,7 +17737,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$288))) + if ((styleProps = preloadPropsMap.get(instance$290))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -18780,16 +18767,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_1982 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1984 = React.version; if ( - "19.2.0-www-modern-c44e4a25-20250409" !== - isomorphicReactPackageVersion$jscomp$inline_1982 + "19.2.0-www-modern-8a3c5e1a-20250410" !== + isomorphicReactPackageVersion$jscomp$inline_1984 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1982, - "19.2.0-www-modern-c44e4a25-20250409" + isomorphicReactPackageVersion$jscomp$inline_1984, + "19.2.0-www-modern-8a3c5e1a-20250410" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -18805,24 +18792,24 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2558 = { +var internals$jscomp$inline_2560 = { bundleType: 0, - version: "19.2.0-www-modern-c44e4a25-20250409", + version: "19.2.0-www-modern-8a3c5e1a-20250410", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-c44e4a25-20250409" + reconcilerVersion: "19.2.0-www-modern-8a3c5e1a-20250410" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2559 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2561 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2559.isDisabled && - hook$jscomp$inline_2559.supportsFiber + !hook$jscomp$inline_2561.isDisabled && + hook$jscomp$inline_2561.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2559.inject( - internals$jscomp$inline_2558 + (rendererID = hook$jscomp$inline_2561.inject( + internals$jscomp$inline_2560 )), - (injectedHook = hook$jscomp$inline_2559); + (injectedHook = hook$jscomp$inline_2561); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -19174,4 +19161,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-modern-c44e4a25-20250409"; +exports.version = "19.2.0-www-modern-8a3c5e1a-20250410"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index 709d6b7130..f429350ed4 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -16759,20 +16759,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1943 = 0; - i$jscomp$inline_1943 < simpleEventPluginEvents.length; - i$jscomp$inline_1943++ + var i$jscomp$inline_1945 = 0; + i$jscomp$inline_1945 < simpleEventPluginEvents.length; + i$jscomp$inline_1945++ ) { - var eventName$jscomp$inline_1944 = - simpleEventPluginEvents[i$jscomp$inline_1943], - domEventName$jscomp$inline_1945 = - eventName$jscomp$inline_1944.toLowerCase(), - capitalizedEvent$jscomp$inline_1946 = - eventName$jscomp$inline_1944[0].toUpperCase() + - eventName$jscomp$inline_1944.slice(1); + var eventName$jscomp$inline_1946 = + simpleEventPluginEvents[i$jscomp$inline_1945], + domEventName$jscomp$inline_1947 = + eventName$jscomp$inline_1946.toLowerCase(), + capitalizedEvent$jscomp$inline_1948 = + eventName$jscomp$inline_1946[0].toUpperCase() + + eventName$jscomp$inline_1946.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1945, - "on" + capitalizedEvent$jscomp$inline_1946 + domEventName$jscomp$inline_1947, + "on" + capitalizedEvent$jscomp$inline_1948 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -18774,51 +18774,38 @@ function createEvent(type, bubbles) { } function clearSuspenseBoundary(parentInstance, suspenseInstance) { var node = suspenseInstance, - possiblePreambleContribution = 0, depth = 0; do { var nextNode = node.nextSibling; parentInstance.removeChild(node); if (nextNode && 8 === nextNode.nodeType) if (((node = nextNode.data), "/$" === node)) { - if ( - 0 < possiblePreambleContribution && - 8 > possiblePreambleContribution - ) { - node = possiblePreambleContribution; - var ownerDocument = parentInstance.ownerDocument; - node & 1 && releaseSingletonInstance(ownerDocument.documentElement); - node & 2 && releaseSingletonInstance(ownerDocument.body); - if (node & 4) - for ( - node = ownerDocument.head, - releaseSingletonInstance(node), - ownerDocument = node.firstChild; - ownerDocument; - - ) { - var nextNode$jscomp$0 = ownerDocument.nextSibling, - nodeName = ownerDocument.nodeName; - ownerDocument[internalHoistableMarker] || - "SCRIPT" === nodeName || - "STYLE" === nodeName || - ("LINK" === nodeName && - "stylesheet" === ownerDocument.rel.toLowerCase()) || - node.removeChild(ownerDocument); - ownerDocument = nextNode$jscomp$0; - } - } if (0 === depth) { parentInstance.removeChild(nextNode); retryIfBlockedOn(suspenseInstance); return; } depth--; + } else if ("$" === node || "$?" === node || "$!" === node) depth++; + else if ("html" === node) + releaseSingletonInstance(parentInstance.ownerDocument.documentElement); + else if ("head" === node) { + node = parentInstance.ownerDocument.head; + releaseSingletonInstance(node); + for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) { + var nextNode$jscomp$0 = node$jscomp$0.nextSibling, + nodeName = node$jscomp$0.nodeName; + node$jscomp$0[internalHoistableMarker] || + "SCRIPT" === nodeName || + "STYLE" === nodeName || + ("LINK" === nodeName && + "stylesheet" === node$jscomp$0.rel.toLowerCase()) || + node.removeChild(node$jscomp$0); + node$jscomp$0 = nextNode$jscomp$0; + } } else - "$" === node || "$?" === node || "$!" === node - ? depth++ - : (possiblePreambleContribution = node.charCodeAt(0) - 48); - else possiblePreambleContribution = 0; + "body" === node && + releaseSingletonInstance(parentInstance.ownerDocument.body); node = nextNode; } while (node); retryIfBlockedOn(suspenseInstance); @@ -19803,26 +19790,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$307 = getResourcesFromRoot( + var styles$309 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$308 = styles$307.get(type); - resource$308 || + resource$310 = styles$309.get(type); + resource$310 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$308 = { + (resource$310 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$307.set(type, resource$308), - (styles$307 = JSCompiler_inline_result.querySelector( + styles$309.set(type, resource$310), + (styles$309 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$307._p && - ((resource$308.instance = styles$307), - (resource$308.state.loading = 5)), + !styles$309._p && + ((resource$310.instance = styles$309), + (resource$310.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -19835,16 +19822,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$307 || + styles$309 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$308.state + resource$310.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$308; + return resource$310; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -19941,37 +19928,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$313 = hoistableRoot.querySelector( + var instance$315 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$313) + if (instance$315) return ( (resource.state.loading |= 4), - (resource.instance = instance$313), - markNodeAsHoistable(instance$313), - instance$313 + (resource.instance = instance$315), + markNodeAsHoistable(instance$315), + instance$315 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$313 = ( + instance$315 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$313); - var linkInstance = instance$313; + markNodeAsHoistable(instance$315); + var linkInstance = instance$315; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$313, "link", instance); + setInitialProperties(instance$315, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$313, props.precedence, hoistableRoot); - return (resource.instance = instance$313); + insertStylesheet(instance$315, props.precedence, hoistableRoot); + return (resource.instance = instance$315); case "script": - instance$313 = getScriptKey(props.src); + instance$315 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$313) + getScriptSelectorFromKey(instance$315) )) ) return ( @@ -19980,7 +19967,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$313))) + if ((styleProps = preloadPropsMap.get(instance$315))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -21010,16 +20997,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_2188 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2190 = React.version; if ( - "19.2.0-www-classic-c44e4a25-20250409" !== - isomorphicReactPackageVersion$jscomp$inline_2188 + "19.2.0-www-classic-8a3c5e1a-20250410" !== + isomorphicReactPackageVersion$jscomp$inline_2190 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2188, - "19.2.0-www-classic-c44e4a25-20250409" + isomorphicReactPackageVersion$jscomp$inline_2190, + "19.2.0-www-classic-8a3c5e1a-20250410" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -21035,27 +21022,27 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2190 = { +var internals$jscomp$inline_2192 = { bundleType: 0, - version: "19.2.0-www-classic-c44e4a25-20250409", + version: "19.2.0-www-classic-8a3c5e1a-20250410", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-classic-c44e4a25-20250409" + reconcilerVersion: "19.2.0-www-classic-8a3c5e1a-20250410" }; enableSchedulingProfiler && - ((internals$jscomp$inline_2190.getLaneLabelMap = getLaneLabelMap), - (internals$jscomp$inline_2190.injectProfilingHooks = injectProfilingHooks)); + ((internals$jscomp$inline_2192.getLaneLabelMap = getLaneLabelMap), + (internals$jscomp$inline_2192.injectProfilingHooks = injectProfilingHooks)); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2768 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2770 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2768.isDisabled && - hook$jscomp$inline_2768.supportsFiber + !hook$jscomp$inline_2770.isDisabled && + hook$jscomp$inline_2770.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2768.inject( - internals$jscomp$inline_2190 + (rendererID = hook$jscomp$inline_2770.inject( + internals$jscomp$inline_2192 )), - (injectedHook = hook$jscomp$inline_2768); + (injectedHook = hook$jscomp$inline_2770); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -21407,7 +21394,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-classic-c44e4a25-20250409"; +exports.version = "19.2.0-www-classic-8a3c5e1a-20250410"; "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 6041e29683..b37b57c3c3 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -16562,20 +16562,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) { (nativeEventTarget[internalScrollTimer] = targetInst)); } for ( - var i$jscomp$inline_1933 = 0; - i$jscomp$inline_1933 < simpleEventPluginEvents.length; - i$jscomp$inline_1933++ + var i$jscomp$inline_1935 = 0; + i$jscomp$inline_1935 < simpleEventPluginEvents.length; + i$jscomp$inline_1935++ ) { - var eventName$jscomp$inline_1934 = - simpleEventPluginEvents[i$jscomp$inline_1933], - domEventName$jscomp$inline_1935 = - eventName$jscomp$inline_1934.toLowerCase(), - capitalizedEvent$jscomp$inline_1936 = - eventName$jscomp$inline_1934[0].toUpperCase() + - eventName$jscomp$inline_1934.slice(1); + var eventName$jscomp$inline_1936 = + simpleEventPluginEvents[i$jscomp$inline_1935], + domEventName$jscomp$inline_1937 = + eventName$jscomp$inline_1936.toLowerCase(), + capitalizedEvent$jscomp$inline_1938 = + eventName$jscomp$inline_1936[0].toUpperCase() + + eventName$jscomp$inline_1936.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1935, - "on" + capitalizedEvent$jscomp$inline_1936 + domEventName$jscomp$inline_1937, + "on" + capitalizedEvent$jscomp$inline_1938 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -18572,51 +18572,38 @@ function createEvent(type, bubbles) { } function clearSuspenseBoundary(parentInstance, suspenseInstance) { var node = suspenseInstance, - possiblePreambleContribution = 0, depth = 0; do { var nextNode = node.nextSibling; parentInstance.removeChild(node); if (nextNode && 8 === nextNode.nodeType) if (((node = nextNode.data), "/$" === node)) { - if ( - 0 < possiblePreambleContribution && - 8 > possiblePreambleContribution - ) { - node = possiblePreambleContribution; - var ownerDocument = parentInstance.ownerDocument; - node & 1 && releaseSingletonInstance(ownerDocument.documentElement); - node & 2 && releaseSingletonInstance(ownerDocument.body); - if (node & 4) - for ( - node = ownerDocument.head, - releaseSingletonInstance(node), - ownerDocument = node.firstChild; - ownerDocument; - - ) { - var nextNode$jscomp$0 = ownerDocument.nextSibling, - nodeName = ownerDocument.nodeName; - ownerDocument[internalHoistableMarker] || - "SCRIPT" === nodeName || - "STYLE" === nodeName || - ("LINK" === nodeName && - "stylesheet" === ownerDocument.rel.toLowerCase()) || - node.removeChild(ownerDocument); - ownerDocument = nextNode$jscomp$0; - } - } if (0 === depth) { parentInstance.removeChild(nextNode); retryIfBlockedOn(suspenseInstance); return; } depth--; + } else if ("$" === node || "$?" === node || "$!" === node) depth++; + else if ("html" === node) + releaseSingletonInstance(parentInstance.ownerDocument.documentElement); + else if ("head" === node) { + node = parentInstance.ownerDocument.head; + releaseSingletonInstance(node); + for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) { + var nextNode$jscomp$0 = node$jscomp$0.nextSibling, + nodeName = node$jscomp$0.nodeName; + node$jscomp$0[internalHoistableMarker] || + "SCRIPT" === nodeName || + "STYLE" === nodeName || + ("LINK" === nodeName && + "stylesheet" === node$jscomp$0.rel.toLowerCase()) || + node.removeChild(node$jscomp$0); + node$jscomp$0 = nextNode$jscomp$0; + } } else - "$" === node || "$?" === node || "$!" === node - ? depth++ - : (possiblePreambleContribution = node.charCodeAt(0) - 48); - else possiblePreambleContribution = 0; + "body" === node && + releaseSingletonInstance(parentInstance.ownerDocument.body); node = nextNode; } while (node); retryIfBlockedOn(suspenseInstance); @@ -19601,26 +19588,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$307 = getResourcesFromRoot( + var styles$309 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$308 = styles$307.get(type); - resource$308 || + resource$310 = styles$309.get(type); + resource$310 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$308 = { + (resource$310 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$307.set(type, resource$308), - (styles$307 = JSCompiler_inline_result.querySelector( + styles$309.set(type, resource$310), + (styles$309 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$307._p && - ((resource$308.instance = styles$307), - (resource$308.state.loading = 5)), + !styles$309._p && + ((resource$310.instance = styles$309), + (resource$310.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -19633,16 +19620,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$307 || + styles$309 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$308.state + resource$310.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$308; + return resource$310; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -19739,37 +19726,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$313 = hoistableRoot.querySelector( + var instance$315 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$313) + if (instance$315) return ( (resource.state.loading |= 4), - (resource.instance = instance$313), - markNodeAsHoistable(instance$313), - instance$313 + (resource.instance = instance$315), + markNodeAsHoistable(instance$315), + instance$315 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$313 = ( + instance$315 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$313); - var linkInstance = instance$313; + markNodeAsHoistable(instance$315); + var linkInstance = instance$315; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$313, "link", instance); + setInitialProperties(instance$315, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$313, props.precedence, hoistableRoot); - return (resource.instance = instance$313); + insertStylesheet(instance$315, props.precedence, hoistableRoot); + return (resource.instance = instance$315); case "script": - instance$313 = getScriptKey(props.src); + instance$315 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$313) + getScriptSelectorFromKey(instance$315) )) ) return ( @@ -19778,7 +19765,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$313))) + if ((styleProps = preloadPropsMap.get(instance$315))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -20808,16 +20795,16 @@ function getCrossOriginStringAs(as, input) { if ("string" === typeof input) return "use-credentials" === input ? input : ""; } -var isomorphicReactPackageVersion$jscomp$inline_2178 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_2180 = React.version; if ( - "19.2.0-www-modern-c44e4a25-20250409" !== - isomorphicReactPackageVersion$jscomp$inline_2178 + "19.2.0-www-modern-8a3c5e1a-20250410" !== + isomorphicReactPackageVersion$jscomp$inline_2180 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_2178, - "19.2.0-www-modern-c44e4a25-20250409" + isomorphicReactPackageVersion$jscomp$inline_2180, + "19.2.0-www-modern-8a3c5e1a-20250410" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -20833,27 +20820,27 @@ Internals.Events = [ return fn(a); } ]; -var internals$jscomp$inline_2180 = { +var internals$jscomp$inline_2182 = { bundleType: 0, - version: "19.2.0-www-modern-c44e4a25-20250409", + version: "19.2.0-www-modern-8a3c5e1a-20250410", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.2.0-www-modern-c44e4a25-20250409" + reconcilerVersion: "19.2.0-www-modern-8a3c5e1a-20250410" }; enableSchedulingProfiler && - ((internals$jscomp$inline_2180.getLaneLabelMap = getLaneLabelMap), - (internals$jscomp$inline_2180.injectProfilingHooks = injectProfilingHooks)); + ((internals$jscomp$inline_2182.getLaneLabelMap = getLaneLabelMap), + (internals$jscomp$inline_2182.injectProfilingHooks = injectProfilingHooks)); if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2750 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2752 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2750.isDisabled && - hook$jscomp$inline_2750.supportsFiber + !hook$jscomp$inline_2752.isDisabled && + hook$jscomp$inline_2752.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2750.inject( - internals$jscomp$inline_2180 + (rendererID = hook$jscomp$inline_2752.inject( + internals$jscomp$inline_2182 )), - (injectedHook = hook$jscomp$inline_2750); + (injectedHook = hook$jscomp$inline_2752); } catch (err) {} } function ReactDOMRoot(internalRoot) { @@ -21205,7 +21192,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.2.0-www-modern-c44e4a25-20250409"; +exports.version = "19.2.0-www-modern-8a3c5e1a-20250410"; "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 3bf120cd57..c94d986681 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -765,12 +765,7 @@ __DEV__ && }; } function createPreambleState() { - return { - htmlChunks: null, - headChunks: null, - bodyChunks: null, - contribution: NoContribution - }; + return { htmlChunks: null, headChunks: null, bodyChunks: null }; } function createFormatContext(insertionMode, selectedValue, tagScope) { return { @@ -2702,6 +2697,7 @@ __DEV__ && var preamble = preambleState || renderState.preamble; if (preamble.headChunks) throw Error("The `` tag may only be rendered once."); + null !== preambleState && target$jscomp$0.push("\x3c!--head--\x3e"); preamble.headChunks = []; var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement( preamble.headChunks, @@ -2720,6 +2716,7 @@ __DEV__ && var preamble$jscomp$0 = preambleState || renderState.preamble; if (preamble$jscomp$0.bodyChunks) throw Error("The `` tag may only be rendered once."); + null !== preambleState && target$jscomp$0.push("\x3c!--body--\x3e"); preamble$jscomp$0.bodyChunks = []; var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement( preamble$jscomp$0.bodyChunks, @@ -2738,6 +2735,7 @@ __DEV__ && var preamble$jscomp$1 = preambleState || renderState.preamble; if (preamble$jscomp$1.htmlChunks) throw Error("The `` tag may only be rendered once."); + null !== preambleState && target$jscomp$0.push("\x3c!--html--\x3e"); preamble$jscomp$1.htmlChunks = [doctypeChunk]; var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement( preamble$jscomp$1.htmlChunks, @@ -2821,16 +2819,13 @@ __DEV__ && renderState = renderState.preamble; null === renderState.htmlChunks && preambleState.htmlChunks && - ((renderState.htmlChunks = preambleState.htmlChunks), - (preambleState.contribution |= 1)); + (renderState.htmlChunks = preambleState.htmlChunks); null === renderState.headChunks && preambleState.headChunks && - ((renderState.headChunks = preambleState.headChunks), - (preambleState.contribution |= 4)); + (renderState.headChunks = preambleState.headChunks); null === renderState.bodyChunks && preambleState.bodyChunks && - ((renderState.bodyChunks = preambleState.bodyChunks), - (preambleState.contribution |= 2)); + (renderState.bodyChunks = preambleState.bodyChunks); } function writeBootstrap(destination, renderState) { renderState = renderState.bootstrapChunks; @@ -2851,13 +2846,6 @@ __DEV__ && destination.push(renderState); return destination.push(startPendingSuspenseBoundary2); } - function writePreambleContribution(destination, preambleState) { - preambleState = preambleState.contribution; - preambleState !== NoContribution && - (destination.push(boundaryPreambleContributionChunkStart), - destination.push("" + preambleState), - destination.push(boundaryPreambleContributionChunkEnd)); - } function writeStartSegment(destination, renderState, formatContext, id) { switch (formatContext.insertionMode) { case ROOT_HTML_MODE: @@ -5613,20 +5601,8 @@ __DEV__ && renderNode(request, task, props.children, -1); task.keyPath = _prevKeyPath3; } - if (!request.renderState.generateStaticMarkup) { - var target$jscomp$0 = segment$jscomp$0.chunks, - preambleState = task.blockedPreamble; - if (preambleState) { - var contribution = preambleState.contribution; - contribution !== NoContribution && - target$jscomp$0.push( - boundaryPreambleContributionChunkStart, - "" + contribution, - boundaryPreambleContributionChunkEnd - ); - } - target$jscomp$0.push("\x3c!--/&--\x3e"); - } + request.renderState.generateStaticMarkup || + segment$jscomp$0.chunks.push("\x3c!--/&--\x3e"); segment$jscomp$0.lastPushedText = !1; } return; @@ -7284,8 +7260,8 @@ __DEV__ && if (!request.renderState.generateStaticMarkup) { var errorDigest = boundary.errorDigest, errorMessage = boundary.errorMessage, - errorStack = boundary.errorStack, - errorComponentStack = boundary.errorComponentStack; + errorStack = boundary.errorStack; + boundary = boundary.errorComponentStack; destination.push(startClientRenderedSuspenseBoundary); destination.push(clientRenderedSuspenseBoundaryError1); errorDigest && @@ -7309,22 +7285,20 @@ __DEV__ && destination.push( clientRenderedSuspenseBoundaryErrorAttrInterstitial )); - errorComponentStack && + boundary && (destination.push(clientRenderedSuspenseBoundaryError1D), - (errorComponentStack = escapeTextForBrowser(errorComponentStack)), - destination.push(errorComponentStack), + (errorStack = escapeTextForBrowser(boundary)), + destination.push(errorStack), destination.push( clientRenderedSuspenseBoundaryErrorAttrInterstitial )); destination.push(clientRenderedSuspenseBoundaryError2); } flushSubtree(request, destination, segment, hoistableState); - request.renderState.generateStaticMarkup - ? (destination = !0) - : ((request = boundary.fallbackPreamble) && - writePreambleContribution(destination, request), - (destination = destination.push(endSuspenseBoundary))); - return destination; + request = request.renderState.generateStaticMarkup + ? !0 + : destination.push(endSuspenseBoundary); + return request; } if (boundary.status !== COMPLETED) return ( @@ -7338,9 +7312,12 @@ __DEV__ && boundary.rootSegmentID ), hoistableState && - ((boundary = boundary.fallbackState), - boundary.styles.forEach(hoistStyleQueueDependency, hoistableState), - boundary.stylesheets.forEach( + ((errorStack = boundary.fallbackState), + errorStack.styles.forEach( + hoistStyleQueueDependency, + hoistableState + ), + errorStack.stylesheets.forEach( hoistStylesheetDependency, hoistableState )), @@ -7371,12 +7348,10 @@ __DEV__ && "A previously unvisited boundary must have exactly one root segment. This is a bug in React." ); flushSegment(request, destination, segment[0], hoistableState); - request.renderState.generateStaticMarkup - ? (destination = !0) - : ((request = boundary.contentPreamble) && - writePreambleContribution(destination, request), - (destination = destination.push(endSuspenseBoundary))); - return destination; + request = request.renderState.generateStaticMarkup + ? !0 + : destination.push(endSuspenseBoundary); + return request; } function flushSegmentContainer( request, @@ -9061,8 +9036,7 @@ __DEV__ && Object.freeze(PRELOAD_NO_CREDS); var scriptRegex = /(<\/|<)(s)(cript)/gi; var didWarnForNewBooleanPropsWithEmptyValue = {}; - var NoContribution = 0, - ROOT_HTML_MODE = 0, + var ROOT_HTML_MODE = 0, HTML_HTML_MODE = 1, HTML_MODE = 2, HTML_HEAD_MODE = 3, @@ -9117,8 +9091,6 @@ __DEV__ && clientRenderedSuspenseBoundaryError1C = ' data-stck="', clientRenderedSuspenseBoundaryError1D = ' data-cstck="', clientRenderedSuspenseBoundaryError2 = ">", - boundaryPreambleContributionChunkStart = "\x3c!--", - boundaryPreambleContributionChunkEnd = "--\x3e", startSegmentHTML = '", @@ -9468,5 +9440,5 @@ __DEV__ && 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.2.0-www-classic-c44e4a25-20250409"; + exports.version = "19.2.0-www-classic-8a3c5e1a-20250410"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index 578769b629..178d3098ad 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -765,12 +765,7 @@ __DEV__ && }; } function createPreambleState() { - return { - htmlChunks: null, - headChunks: null, - bodyChunks: null, - contribution: NoContribution - }; + return { htmlChunks: null, headChunks: null, bodyChunks: null }; } function createFormatContext(insertionMode, selectedValue, tagScope) { return { @@ -2702,6 +2697,7 @@ __DEV__ && var preamble = preambleState || renderState.preamble; if (preamble.headChunks) throw Error("The `` tag may only be rendered once."); + null !== preambleState && target$jscomp$0.push("\x3c!--head--\x3e"); preamble.headChunks = []; var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement( preamble.headChunks, @@ -2720,6 +2716,7 @@ __DEV__ && var preamble$jscomp$0 = preambleState || renderState.preamble; if (preamble$jscomp$0.bodyChunks) throw Error("The `` tag may only be rendered once."); + null !== preambleState && target$jscomp$0.push("\x3c!--body--\x3e"); preamble$jscomp$0.bodyChunks = []; var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement( preamble$jscomp$0.bodyChunks, @@ -2738,6 +2735,7 @@ __DEV__ && var preamble$jscomp$1 = preambleState || renderState.preamble; if (preamble$jscomp$1.htmlChunks) throw Error("The `` tag may only be rendered once."); + null !== preambleState && target$jscomp$0.push("\x3c!--html--\x3e"); preamble$jscomp$1.htmlChunks = [doctypeChunk]; var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement( preamble$jscomp$1.htmlChunks, @@ -2821,16 +2819,13 @@ __DEV__ && renderState = renderState.preamble; null === renderState.htmlChunks && preambleState.htmlChunks && - ((renderState.htmlChunks = preambleState.htmlChunks), - (preambleState.contribution |= 1)); + (renderState.htmlChunks = preambleState.htmlChunks); null === renderState.headChunks && preambleState.headChunks && - ((renderState.headChunks = preambleState.headChunks), - (preambleState.contribution |= 4)); + (renderState.headChunks = preambleState.headChunks); null === renderState.bodyChunks && preambleState.bodyChunks && - ((renderState.bodyChunks = preambleState.bodyChunks), - (preambleState.contribution |= 2)); + (renderState.bodyChunks = preambleState.bodyChunks); } function writeBootstrap(destination, renderState) { renderState = renderState.bootstrapChunks; @@ -2851,13 +2846,6 @@ __DEV__ && destination.push(renderState); return destination.push(startPendingSuspenseBoundary2); } - function writePreambleContribution(destination, preambleState) { - preambleState = preambleState.contribution; - preambleState !== NoContribution && - (destination.push(boundaryPreambleContributionChunkStart), - destination.push("" + preambleState), - destination.push(boundaryPreambleContributionChunkEnd)); - } function writeStartSegment(destination, renderState, formatContext, id) { switch (formatContext.insertionMode) { case ROOT_HTML_MODE: @@ -5552,20 +5540,8 @@ __DEV__ && renderNode(request, task, props.children, -1); task.keyPath = _prevKeyPath3; } - if (!request.renderState.generateStaticMarkup) { - var target$jscomp$0 = segment$jscomp$0.chunks, - preambleState = task.blockedPreamble; - if (preambleState) { - var contribution = preambleState.contribution; - contribution !== NoContribution && - target$jscomp$0.push( - boundaryPreambleContributionChunkStart, - "" + contribution, - boundaryPreambleContributionChunkEnd - ); - } - target$jscomp$0.push("\x3c!--/&--\x3e"); - } + request.renderState.generateStaticMarkup || + segment$jscomp$0.chunks.push("\x3c!--/&--\x3e"); segment$jscomp$0.lastPushedText = !1; } return; @@ -7217,8 +7193,8 @@ __DEV__ && if (!request.renderState.generateStaticMarkup) { var errorDigest = boundary.errorDigest, errorMessage = boundary.errorMessage, - errorStack = boundary.errorStack, - errorComponentStack = boundary.errorComponentStack; + errorStack = boundary.errorStack; + boundary = boundary.errorComponentStack; destination.push(startClientRenderedSuspenseBoundary); destination.push(clientRenderedSuspenseBoundaryError1); errorDigest && @@ -7242,22 +7218,20 @@ __DEV__ && destination.push( clientRenderedSuspenseBoundaryErrorAttrInterstitial )); - errorComponentStack && + boundary && (destination.push(clientRenderedSuspenseBoundaryError1D), - (errorComponentStack = escapeTextForBrowser(errorComponentStack)), - destination.push(errorComponentStack), + (errorStack = escapeTextForBrowser(boundary)), + destination.push(errorStack), destination.push( clientRenderedSuspenseBoundaryErrorAttrInterstitial )); destination.push(clientRenderedSuspenseBoundaryError2); } flushSubtree(request, destination, segment, hoistableState); - request.renderState.generateStaticMarkup - ? (destination = !0) - : ((request = boundary.fallbackPreamble) && - writePreambleContribution(destination, request), - (destination = destination.push(endSuspenseBoundary))); - return destination; + request = request.renderState.generateStaticMarkup + ? !0 + : destination.push(endSuspenseBoundary); + return request; } if (boundary.status !== COMPLETED) return ( @@ -7271,9 +7245,12 @@ __DEV__ && boundary.rootSegmentID ), hoistableState && - ((boundary = boundary.fallbackState), - boundary.styles.forEach(hoistStyleQueueDependency, hoistableState), - boundary.stylesheets.forEach( + ((errorStack = boundary.fallbackState), + errorStack.styles.forEach( + hoistStyleQueueDependency, + hoistableState + ), + errorStack.stylesheets.forEach( hoistStylesheetDependency, hoistableState )), @@ -7304,12 +7281,10 @@ __DEV__ && "A previously unvisited boundary must have exactly one root segment. This is a bug in React." ); flushSegment(request, destination, segment[0], hoistableState); - request.renderState.generateStaticMarkup - ? (destination = !0) - : ((request = boundary.contentPreamble) && - writePreambleContribution(destination, request), - (destination = destination.push(endSuspenseBoundary))); - return destination; + request = request.renderState.generateStaticMarkup + ? !0 + : destination.push(endSuspenseBoundary); + return request; } function flushSegmentContainer( request, @@ -8992,8 +8967,7 @@ __DEV__ && Object.freeze(PRELOAD_NO_CREDS); var scriptRegex = /(<\/|<)(s)(cript)/gi; var didWarnForNewBooleanPropsWithEmptyValue = {}; - var NoContribution = 0, - ROOT_HTML_MODE = 0, + var ROOT_HTML_MODE = 0, HTML_HTML_MODE = 1, HTML_MODE = 2, HTML_HEAD_MODE = 3, @@ -9048,8 +9022,6 @@ __DEV__ && clientRenderedSuspenseBoundaryError1C = ' data-stck="', clientRenderedSuspenseBoundaryError1D = ' data-cstck="', clientRenderedSuspenseBoundaryError2 = ">", - boundaryPreambleContributionChunkStart = "\x3c!--", - boundaryPreambleContributionChunkEnd = "--\x3e", startSegmentHTML = '", @@ -9397,5 +9369,5 @@ __DEV__ && 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.2.0-www-modern-c44e4a25-20250409"; + exports.version = "19.2.0-www-modern-8a3c5e1a-20250410"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index de56f88e79..e3aa52f48d 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -347,12 +347,7 @@ function createResumableState( }; } function createPreambleState() { - return { - htmlChunks: null, - headChunks: null, - bodyChunks: null, - contribution: 0 - }; + return { htmlChunks: null, headChunks: null, bodyChunks: null }; } function createFormatContext(insertionMode, selectedValue, tagScope) { return { @@ -1768,6 +1763,7 @@ function pushStartInstance( var preamble = preambleState || renderState.preamble; if (preamble.headChunks) throw Error(formatProdErrorMessage(545, "``")); + null !== preambleState && target$jscomp$0.push("\x3c!--head--\x3e"); preamble.headChunks = []; var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement( preamble.headChunks, @@ -1786,6 +1782,7 @@ function pushStartInstance( var preamble$jscomp$0 = preambleState || renderState.preamble; if (preamble$jscomp$0.bodyChunks) throw Error(formatProdErrorMessage(545, "``")); + null !== preambleState && target$jscomp$0.push("\x3c!--body--\x3e"); preamble$jscomp$0.bodyChunks = []; var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement( preamble$jscomp$0.bodyChunks, @@ -1804,6 +1801,7 @@ function pushStartInstance( var preamble$jscomp$1 = preambleState || renderState.preamble; if (preamble$jscomp$1.htmlChunks) throw Error(formatProdErrorMessage(545, "``")); + null !== preambleState && target$jscomp$0.push("\x3c!--html--\x3e"); preamble$jscomp$1.htmlChunks = [""]; var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement( preamble$jscomp$1.htmlChunks, @@ -1881,16 +1879,13 @@ function hoistPreambleState(renderState, preambleState) { renderState = renderState.preamble; null === renderState.htmlChunks && preambleState.htmlChunks && - ((renderState.htmlChunks = preambleState.htmlChunks), - (preambleState.contribution |= 1)); + (renderState.htmlChunks = preambleState.htmlChunks); null === renderState.headChunks && preambleState.headChunks && - ((renderState.headChunks = preambleState.headChunks), - (preambleState.contribution |= 4)); + (renderState.headChunks = preambleState.headChunks); null === renderState.bodyChunks && preambleState.bodyChunks && - ((renderState.bodyChunks = preambleState.bodyChunks), - (preambleState.contribution |= 2)); + (renderState.bodyChunks = preambleState.bodyChunks); } function writeBootstrap(destination, renderState) { renderState = renderState.bootstrapChunks; @@ -1908,13 +1903,6 @@ function writeStartPendingSuspenseBoundary(destination, renderState, id) { destination.push(renderState); return destination.push('">'); } -function writePreambleContribution(destination, preambleState) { - preambleState = preambleState.contribution; - 0 !== preambleState && - (destination.push("\x3c!--"), - destination.push("" + preambleState), - destination.push("--\x3e")); -} function writeStartSegment(destination, renderState, formatContext, id) { switch (formatContext.insertionMode) { case 0: @@ -2761,17 +2749,17 @@ function createRenderState(resumableState, generateStaticMarkup) { "\x3c/script>" ); bootstrapScriptContent = idPrefix + "P:"; - var JSCompiler_object_inline_segmentPrefix_1724 = idPrefix + "S:"; + var JSCompiler_object_inline_segmentPrefix_1695 = idPrefix + "S:"; idPrefix += "B:"; - var JSCompiler_object_inline_preamble_1727 = createPreambleState(), - JSCompiler_object_inline_preconnects_1737 = new Set(), - JSCompiler_object_inline_fontPreloads_1738 = new Set(), - JSCompiler_object_inline_highImagePreloads_1739 = new Set(), - JSCompiler_object_inline_styles_1740 = new Map(), - JSCompiler_object_inline_bootstrapScripts_1741 = new Set(), - JSCompiler_object_inline_scripts_1742 = new Set(), - JSCompiler_object_inline_bulkPreloads_1743 = new Set(), - JSCompiler_object_inline_preloads_1744 = { + var JSCompiler_object_inline_preamble_1698 = createPreambleState(), + JSCompiler_object_inline_preconnects_1708 = new Set(), + JSCompiler_object_inline_fontPreloads_1709 = new Set(), + JSCompiler_object_inline_highImagePreloads_1710 = new Set(), + JSCompiler_object_inline_styles_1711 = new Map(), + JSCompiler_object_inline_bootstrapScripts_1712 = new Set(), + JSCompiler_object_inline_scripts_1713 = new Set(), + JSCompiler_object_inline_bulkPreloads_1714 = new Set(), + JSCompiler_object_inline_preloads_1715 = { images: new Map(), stylesheets: new Map(), scripts: new Map(), @@ -2808,7 +2796,7 @@ function createRenderState(resumableState, generateStaticMarkup) { scriptConfig.moduleScriptResources[href] = null; scriptConfig = []; pushLinkImpl(scriptConfig, props); - JSCompiler_object_inline_bootstrapScripts_1741.add(scriptConfig); + JSCompiler_object_inline_bootstrapScripts_1712.add(scriptConfig); bootstrapChunks.push('