From 7be331e2ae87b8343d7fba69f0f6dae475d4b3b6 Mon Sep 17 00:00:00 2001 From: rickhanlonii Date: Sun, 15 Dec 2024 09:23:15 -0800 Subject: [PATCH] [flags] Delete enableDebugTracing (#31780) This is unused, even in the one builds that uses it, and we don't plan on landing it in this form. DiffTrain build for [2d320563f35ad75419983f166431055b4e7ed9f6](https://github.com/facebook/react/commit/2d320563f35ad75419983f166431055b4e7ed9f6) --- .../facebook-www/JSXDEVRuntime-dev.classic.js | 3 - .../facebook-www/JSXDEVRuntime-dev.modern.js | 3 - compiled/facebook-www/REVISION | 2 +- compiled/facebook-www/REVISION_TRANSFORMS | 2 +- compiled/facebook-www/React-dev.classic.js | 6 +- compiled/facebook-www/React-dev.modern.js | 6 +- compiled/facebook-www/React-prod.classic.js | 4 +- compiled/facebook-www/React-prod.modern.js | 4 +- .../facebook-www/React-profiling.classic.js | 4 +- .../facebook-www/React-profiling.modern.js | 4 +- compiled/facebook-www/ReactART-dev.classic.js | 234 +------- compiled/facebook-www/ReactART-dev.modern.js | 234 +------- .../facebook-www/ReactART-prod.classic.js | 14 +- compiled/facebook-www/ReactART-prod.modern.js | 14 +- compiled/facebook-www/ReactDOM-dev.classic.js | 553 ++++++------------ compiled/facebook-www/ReactDOM-dev.modern.js | 553 ++++++------------ .../facebook-www/ReactDOM-prod.classic.js | 18 +- compiled/facebook-www/ReactDOM-prod.modern.js | 18 +- .../ReactDOM-profiling.classic.js | 18 +- .../facebook-www/ReactDOM-profiling.modern.js | 18 +- .../ReactDOMServer-dev.classic.js | 4 +- .../facebook-www/ReactDOMServer-dev.modern.js | 4 +- .../ReactDOMServer-prod.classic.js | 4 +- .../ReactDOMServer-prod.modern.js | 4 +- .../ReactDOMServerStreaming-dev.modern.js | 2 - .../ReactDOMServerStreaming-prod.modern.js | 2 - .../ReactDOMTesting-dev.classic.js | 553 ++++++------------ .../ReactDOMTesting-dev.modern.js | 553 ++++++------------ .../ReactDOMTesting-prod.classic.js | 18 +- .../ReactDOMTesting-prod.modern.js | 18 +- compiled/facebook-www/ReactIs-dev.classic.js | 3 - compiled/facebook-www/ReactIs-dev.modern.js | 3 - compiled/facebook-www/ReactIs-prod.classic.js | 3 - compiled/facebook-www/ReactIs-prod.modern.js | 3 - .../ReactReconciler-dev.classic.js | 230 +------- .../ReactReconciler-dev.modern.js | 230 +------- .../ReactReconciler-prod.classic.js | 10 +- .../ReactReconciler-prod.modern.js | 10 +- .../ReactTestRenderer-dev.classic.js | 11 +- .../ReactTestRenderer-dev.modern.js | 11 +- compiled/facebook-www/VERSION_CLASSIC | 2 +- compiled/facebook-www/VERSION_MODERN | 2 +- 42 files changed, 934 insertions(+), 2458 deletions(-) diff --git a/compiled/facebook-www/JSXDEVRuntime-dev.classic.js b/compiled/facebook-www/JSXDEVRuntime-dev.classic.js index 6c2fc23675..ebb14bf630 100644 --- a/compiled/facebook-www/JSXDEVRuntime-dev.classic.js +++ b/compiled/facebook-www/JSXDEVRuntime-dev.classic.js @@ -493,7 +493,6 @@ __DEV__ && "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || - (enableDebugTracing && type === REACT_DEBUG_TRACING_MODE_TYPE) || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || @@ -701,7 +700,6 @@ __DEV__ && dynamicFeatureFlags = require("ReactFeatureFlags"), disableDefaultPropsExceptForClasses = dynamicFeatureFlags.disableDefaultPropsExceptForClasses, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableRenderableContext = dynamicFeatureFlags.enableRenderableContext, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, renameElementSymbol = dynamicFeatureFlags.renameElementSymbol, @@ -723,7 +721,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), diff --git a/compiled/facebook-www/JSXDEVRuntime-dev.modern.js b/compiled/facebook-www/JSXDEVRuntime-dev.modern.js index 6c2fc23675..ebb14bf630 100644 --- a/compiled/facebook-www/JSXDEVRuntime-dev.modern.js +++ b/compiled/facebook-www/JSXDEVRuntime-dev.modern.js @@ -493,7 +493,6 @@ __DEV__ && "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || - (enableDebugTracing && type === REACT_DEBUG_TRACING_MODE_TYPE) || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || @@ -701,7 +700,6 @@ __DEV__ && dynamicFeatureFlags = require("ReactFeatureFlags"), disableDefaultPropsExceptForClasses = dynamicFeatureFlags.disableDefaultPropsExceptForClasses, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableRenderableContext = dynamicFeatureFlags.enableRenderableContext, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, renameElementSymbol = dynamicFeatureFlags.renameElementSymbol, @@ -723,7 +721,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), diff --git a/compiled/facebook-www/REVISION b/compiled/facebook-www/REVISION index 86bedfb530..66d206d4d6 100644 --- a/compiled/facebook-www/REVISION +++ b/compiled/facebook-www/REVISION @@ -1 +1 @@ -c80b336d23aa472b5e5910268138ac0447d6ae19 +2d320563f35ad75419983f166431055b4e7ed9f6 diff --git a/compiled/facebook-www/REVISION_TRANSFORMS b/compiled/facebook-www/REVISION_TRANSFORMS index 86bedfb530..66d206d4d6 100644 --- a/compiled/facebook-www/REVISION_TRANSFORMS +++ b/compiled/facebook-www/REVISION_TRANSFORMS @@ -1 +1 @@ -c80b336d23aa472b5e5910268138ac0447d6ae19 +2d320563f35ad75419983f166431055b4e7ed9f6 diff --git a/compiled/facebook-www/React-dev.classic.js b/compiled/facebook-www/React-dev.classic.js index 65101f7abc..50f38cf568 100644 --- a/compiled/facebook-www/React-dev.classic.js +++ b/compiled/facebook-www/React-dev.classic.js @@ -187,7 +187,6 @@ __DEV__ && "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || - (enableDebugTracing && type === REACT_DEBUG_TRACING_MODE_TYPE) || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || @@ -1111,7 +1110,6 @@ __DEV__ && var dynamicFeatureFlags = require("ReactFeatureFlags"), disableDefaultPropsExceptForClasses = dynamicFeatureFlags.disableDefaultPropsExceptForClasses, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableRenderableContext = dynamicFeatureFlags.enableRenderableContext, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableUseResourceEffectHook = @@ -1135,7 +1133,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -1860,7 +1857,6 @@ __DEV__ && } }; exports.unstable_Activity = REACT_OFFSCREEN_TYPE; - exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE; exports.unstable_LegacyHidden = REACT_LEGACY_HIDDEN_TYPE; exports.unstable_Scope = REACT_SCOPE_TYPE; exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; @@ -1954,7 +1950,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.1.0-www-classic-c80b336d-20241214"; + exports.version = "19.1.0-www-classic-2d320563-20241215"; "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 52128b19a9..a8fccaf810 100644 --- a/compiled/facebook-www/React-dev.modern.js +++ b/compiled/facebook-www/React-dev.modern.js @@ -187,7 +187,6 @@ __DEV__ && "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || - (enableDebugTracing && type === REACT_DEBUG_TRACING_MODE_TYPE) || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || @@ -1111,7 +1110,6 @@ __DEV__ && var dynamicFeatureFlags = require("ReactFeatureFlags"), disableDefaultPropsExceptForClasses = dynamicFeatureFlags.disableDefaultPropsExceptForClasses, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableRenderableContext = dynamicFeatureFlags.enableRenderableContext, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, enableUseResourceEffectHook = @@ -1135,7 +1133,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -1860,7 +1857,6 @@ __DEV__ && } }; exports.unstable_Activity = REACT_OFFSCREEN_TYPE; - exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE; exports.unstable_LegacyHidden = REACT_LEGACY_HIDDEN_TYPE; exports.unstable_Scope = REACT_SCOPE_TYPE; exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; @@ -1954,7 +1950,7 @@ __DEV__ && exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.1.0-www-modern-c80b336d-20241214"; + exports.version = "19.1.0-www-modern-2d320563-20241215"; "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 7f1a75c170..637b05df52 100644 --- a/compiled/facebook-www/React-prod.classic.js +++ b/compiled/facebook-www/React-prod.classic.js @@ -35,7 +35,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -559,7 +558,6 @@ exports.startTransition = function (scope, options) { } }; exports.unstable_Activity = REACT_OFFSCREEN_TYPE; -exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE; exports.unstable_LegacyHidden = REACT_LEGACY_HIDDEN_TYPE; exports.unstable_Scope = REACT_SCOPE_TYPE; exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; @@ -635,4 +633,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-classic-c80b336d-20241214"; +exports.version = "19.1.0-www-classic-2d320563-20241215"; diff --git a/compiled/facebook-www/React-prod.modern.js b/compiled/facebook-www/React-prod.modern.js index 4ad54a47c8..76cb7713cd 100644 --- a/compiled/facebook-www/React-prod.modern.js +++ b/compiled/facebook-www/React-prod.modern.js @@ -35,7 +35,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -559,7 +558,6 @@ exports.startTransition = function (scope, options) { } }; exports.unstable_Activity = REACT_OFFSCREEN_TYPE; -exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE; exports.unstable_LegacyHidden = REACT_LEGACY_HIDDEN_TYPE; exports.unstable_Scope = REACT_SCOPE_TYPE; exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; @@ -635,4 +633,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-modern-c80b336d-20241214"; +exports.version = "19.1.0-www-modern-2d320563-20241215"; diff --git a/compiled/facebook-www/React-profiling.classic.js b/compiled/facebook-www/React-profiling.classic.js index f1ac74f432..03f6475982 100644 --- a/compiled/facebook-www/React-profiling.classic.js +++ b/compiled/facebook-www/React-profiling.classic.js @@ -39,7 +39,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -563,7 +562,6 @@ exports.startTransition = function (scope, options) { } }; exports.unstable_Activity = REACT_OFFSCREEN_TYPE; -exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE; exports.unstable_LegacyHidden = REACT_LEGACY_HIDDEN_TYPE; exports.unstable_Scope = REACT_SCOPE_TYPE; exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; @@ -639,7 +637,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-classic-c80b336d-20241214"; +exports.version = "19.1.0-www-classic-2d320563-20241215"; "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 d7dfade166..fd533b51dc 100644 --- a/compiled/facebook-www/React-profiling.modern.js +++ b/compiled/facebook-www/React-profiling.modern.js @@ -39,7 +39,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -563,7 +562,6 @@ exports.startTransition = function (scope, options) { } }; exports.unstable_Activity = REACT_OFFSCREEN_TYPE; -exports.unstable_DebugTracingMode = REACT_DEBUG_TRACING_MODE_TYPE; exports.unstable_LegacyHidden = REACT_LEGACY_HIDDEN_TYPE; exports.unstable_Scope = REACT_SCOPE_TYPE; exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE; @@ -639,7 +637,7 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.1.0-www-modern-c80b336d-20241214"; +exports.version = "19.1.0-www-modern-2d320563-20241215"; "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 f6f7d7d30b..42b34756af 100644 --- a/compiled/facebook-www/ReactART-dev.classic.js +++ b/compiled/facebook-www/ReactART-dev.classic.js @@ -787,7 +787,7 @@ __DEV__ && } } function setIsStrictModeForDevtools(newIsStrictMode) { - "function" === typeof log$2 && + "function" === typeof log$1 && (unstable_setDisableYieldValue(newIsStrictMode), (suppressWarning = newIsStrictMode)); if (injectedHook && "function" === typeof injectedHook.setStrictMode) @@ -845,7 +845,7 @@ __DEV__ && } function clz32Fallback(x) { x >>>= 0; - return 0 === x ? 32 : (31 - ((log$1(x) / LN2) | 0)) | 0; + return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0; } function getLabelForLane(lane) { if (enableSchedulingProfiler) { @@ -1483,100 +1483,6 @@ __DEV__ && function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } - function formatLanes(laneOrLanes) { - return "0b" + laneOrLanes.toString(2).padStart(31, "0"); - } - function group() { - for ( - var _len = arguments.length, groupArgs = Array(_len), _key = 0; - _key < _len; - _key++ - ) - groupArgs[_key] = arguments[_key]; - pendingGroupArgs.push(groupArgs); - null === nativeConsoleLog && - ((nativeConsoleLog = nativeConsole.log), (nativeConsole.log = log)); - } - function groupEnd() { - for ( - pendingGroupArgs.pop(); - printedGroupIndex >= pendingGroupArgs.length; - - ) - nativeConsole.groupEnd(), printedGroupIndex--; - 0 === pendingGroupArgs.length && - ((nativeConsole.log = nativeConsoleLog), (nativeConsoleLog = null)); - } - function log() { - if (printedGroupIndex < pendingGroupArgs.length - 1) { - for (var i = printedGroupIndex + 1; i < pendingGroupArgs.length; i++) - nativeConsole.group.apply(nativeConsole, pendingGroupArgs[i]); - printedGroupIndex = pendingGroupArgs.length - 1; - } - "function" === typeof nativeConsoleLog - ? nativeConsoleLog.apply(void 0, arguments) - : nativeConsole.log.apply(nativeConsole, arguments); - } - function getWakeableID(wakeable) { - wakeableIDs.has(wakeable) || wakeableIDs.set(wakeable, wakeableID++); - return wakeableIDs.get(wakeable); - } - function logComponentSuspended(componentName, wakeable) { - if (enableDebugTracing) { - var id = getWakeableID(wakeable), - display = wakeable.displayName || wakeable; - log( - "%c\u269b%c " + componentName + " suspended", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - wakeable.then( - function () { - log( - "%c\u269b%c " + componentName + " resolved", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - }, - function () { - log( - "%c\u269b%c " + componentName + " rejected", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - } - ); - } - } - function logRenderStarted(lanes) { - enableDebugTracing && - group( - "%c\u269b%c render%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); - } - function logStateUpdateScheduled(componentName, lane, payloadOrAction) { - enableDebugTracing && - log( - "%c\u269b%c " + - componentName + - " updated state %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #01a252; font-weight: bold;", - "", - payloadOrAction - ); - } function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { var existing = CapturedStacks.get(value); @@ -4464,7 +4370,7 @@ __DEV__ && "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()." ); JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber); - var update = { + action = { lane: JSCompiler_OptimizeArgumentsArray_p0, revertLane: 0, action: action, @@ -4473,25 +4379,26 @@ __DEV__ && next: null }; isRenderPhaseUpdate(fiber) - ? enqueueRenderPhaseUpdate(queue, update) - : ((update = enqueueConcurrentHookUpdate( + ? enqueueRenderPhaseUpdate(queue, action) + : ((action = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, JSCompiler_OptimizeArgumentsArray_p0 )), - null !== update && + null !== action && (scheduleUpdateOnFiber( - update, + action, fiber, JSCompiler_OptimizeArgumentsArray_p0 ), entangleTransitionUpdate( - update, + action, queue, JSCompiler_OptimizeArgumentsArray_p0 ))); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p0, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0); } function dispatchSetState( fiber, @@ -4510,7 +4417,8 @@ __DEV__ && action, JSCompiler_OptimizeArgumentsArray_p1 ); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p1, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1); } function dispatchSetStateInternal(fiber, queue, action, lane) { var update = { @@ -4569,7 +4477,7 @@ __DEV__ && error$jscomp$0( "An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition." ); - var update = { + action = { lane: 2, revertLane: requestTransitionLane(), action: action, @@ -4585,12 +4493,12 @@ __DEV__ && (throwIfDuringRender = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, 2 )), null !== throwIfDuringRender && scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); - markUpdateInDevTools(fiber, 2, action); + enableSchedulingProfiler && markStateUpdateScheduled(fiber, 2); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; @@ -4617,13 +4525,6 @@ __DEV__ && markRootEntangled(root, lane); } } - function markUpdateInDevTools(fiber, lane, action) { - if (enableDebugTracing && fiber.mode & 4) { - var name = getComponentNameFromFiber(fiber) || "Unknown"; - logStateUpdateScheduled(name, lane, action); - } - enableSchedulingProfiler && markStateUpdateScheduled(fiber, lane); - } function pushDebugInfo(debugInfo) { var previousDebugInfo = currentDebugInfo; null != debugInfo && @@ -6003,10 +5904,6 @@ __DEV__ && rootRenderLanes, !0 ); - enableDebugTracing && - sourceFiber.mode & 4 && - ((returnFiber = getComponentNameFromFiber(sourceFiber) || "Unknown"), - logComponentSuspended(returnFiber, value)); returnFiber = suspenseHandlerStackCursor.current; if (null !== returnFiber) { switch (returnFiber.tag) { @@ -13091,7 +12988,6 @@ __DEV__ && workInProgressTransitions = getTransitionsForLanes(root, lanes); prepareFreshStack(root, lanes); } - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); lanes = !1; memoizedUpdaters = workInProgressRootExitStatus; @@ -13145,7 +13041,6 @@ __DEV__ && executionContext = prevExecutionContext; ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markRenderStopped(); null === workInProgress && ((workInProgressRoot = null), @@ -13180,7 +13075,6 @@ __DEV__ && root, lanes ); - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); a: do try { @@ -13310,7 +13204,6 @@ __DEV__ && ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; executionContext = prevExecutionContext; - enableDebugTracing && enableDebugTracing && groupEnd(); if (null !== workInProgress) return ( enableSchedulingProfiler && @@ -13572,25 +13465,13 @@ __DEV__ && throw Error("Should not already be working."); var finishedWork = root.finishedWork, lanes = root.finishedLanes; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c commit%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markCommitStarted && injectedProfilingHooks.markCommitStarted(lanes); if (null === finishedWork) - return ( - enableDebugTracing && enableDebugTracing && groupEnd(), - enableSchedulingProfiler && markCommitStopped(), - null - ); + return enableSchedulingProfiler && markCommitStopped(), null; 0 === lanes && error$jscomp$0( "root.finishedLanes should not be empty during a commit. This is a bug in React." @@ -13640,14 +13521,6 @@ __DEV__ && commitBeforeMutationEffects(root, finishedWork), commitMutationEffects(root, finishedWork, lanes), (root.current = finishedWork), - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c layout effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -13655,7 +13528,6 @@ __DEV__ && typeof injectedProfilingHooks.markLayoutEffectsStarted && injectedProfilingHooks.markLayoutEffectsStarted(lanes), commitLayoutEffects(finishedWork, root, lanes), - enableDebugTracing && enableDebugTracing && groupEnd(), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -13705,7 +13577,6 @@ __DEV__ && : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); flushSyncWorkAcrossRoots_impl(0, !1); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markCommitStopped(); return null; } @@ -13764,14 +13635,6 @@ __DEV__ && throw Error("Cannot flush passive effects while already rendering."); isFlushingPassiveEffects = !0; didScheduleUpdateDuringPassiveEffects = !1; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c passive effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -13782,7 +13645,6 @@ __DEV__ && executionContext |= CommitContext; commitPassiveUnmountOnFiber(root.current); commitPassiveMountOnFiber(root, root.current, lanes, transitions); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -14496,12 +14358,6 @@ __DEV__ && }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= 4; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -14849,7 +14705,6 @@ __DEV__ && dynamicFeatureFlags.disableLegacyContextForFunctionComponents, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -14890,7 +14745,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -14940,7 +14794,7 @@ __DEV__ && UserBlockingPriority = Scheduler.unstable_UserBlockingPriority, NormalPriority$1 = Scheduler.unstable_NormalPriority, IdlePriority = Scheduler.unstable_IdlePriority, - log$2 = Scheduler.log, + log$1 = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null, @@ -14948,7 +14802,7 @@ __DEV__ && hasLoggedError = !1, isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__, clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, - log$1 = Math.log, + log = Math.log, LN2 = Math.LN2, nextTransitionLane = 128, nextRetryLane = 4194304, @@ -14990,12 +14844,6 @@ __DEV__ && didPerformWorkStackCursor = createCursor(!1), previousContext = emptyContextObject, objectIs = "function" === typeof Object.is ? Object.is : is, - nativeConsole = console, - nativeConsoleLog = null, - pendingGroupArgs = [], - printedGroupIndex = -1, - wakeableIDs = new ("function" === typeof WeakMap ? WeakMap : Map)(), - wakeableID = 0, CapturedStacks = new WeakMap(), contextStackCursor = createCursor(null), contextFiberStackCursor = createCursor(null), @@ -16710,14 +16558,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & 4 && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueReplaceState: function (inst, payload, callback) { @@ -16729,14 +16573,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & 4 && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueForceUpdate: function (inst, callback) { @@ -16751,20 +16591,6 @@ __DEV__ && null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & 4 && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - enableDebugTracing && - log( - "%c\u269b%c " + - callback + - " forced update %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #db2e1f; font-weight: bold;", - "" - )); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -17189,10 +17015,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-c80b336d-20241214", + version: "19.1.0-www-classic-2d320563-20241215", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-classic-2d320563-20241215" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -17226,7 +17052,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.1.0-www-classic-c80b336d-20241214"; + exports.version = "19.1.0-www-classic-2d320563-20241215"; "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 95161f7134..1d0b2cb7ac 100644 --- a/compiled/facebook-www/ReactART-dev.modern.js +++ b/compiled/facebook-www/ReactART-dev.modern.js @@ -773,7 +773,7 @@ __DEV__ && } } function setIsStrictModeForDevtools(newIsStrictMode) { - "function" === typeof log$2 && + "function" === typeof log$1 && (unstable_setDisableYieldValue(newIsStrictMode), (suppressWarning = newIsStrictMode)); if (injectedHook && "function" === typeof injectedHook.setStrictMode) @@ -831,7 +831,7 @@ __DEV__ && } function clz32Fallback(x) { x >>>= 0; - return 0 === x ? 32 : (31 - ((log$1(x) / LN2) | 0)) | 0; + return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0; } function getLabelForLane(lane) { if (enableSchedulingProfiler) { @@ -1375,100 +1375,6 @@ __DEV__ && function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } - function formatLanes(laneOrLanes) { - return "0b" + laneOrLanes.toString(2).padStart(31, "0"); - } - function group() { - for ( - var _len = arguments.length, groupArgs = Array(_len), _key = 0; - _key < _len; - _key++ - ) - groupArgs[_key] = arguments[_key]; - pendingGroupArgs.push(groupArgs); - null === nativeConsoleLog && - ((nativeConsoleLog = nativeConsole.log), (nativeConsole.log = log)); - } - function groupEnd() { - for ( - pendingGroupArgs.pop(); - printedGroupIndex >= pendingGroupArgs.length; - - ) - nativeConsole.groupEnd(), printedGroupIndex--; - 0 === pendingGroupArgs.length && - ((nativeConsole.log = nativeConsoleLog), (nativeConsoleLog = null)); - } - function log() { - if (printedGroupIndex < pendingGroupArgs.length - 1) { - for (var i = printedGroupIndex + 1; i < pendingGroupArgs.length; i++) - nativeConsole.group.apply(nativeConsole, pendingGroupArgs[i]); - printedGroupIndex = pendingGroupArgs.length - 1; - } - "function" === typeof nativeConsoleLog - ? nativeConsoleLog.apply(void 0, arguments) - : nativeConsole.log.apply(nativeConsole, arguments); - } - function getWakeableID(wakeable) { - wakeableIDs.has(wakeable) || wakeableIDs.set(wakeable, wakeableID++); - return wakeableIDs.get(wakeable); - } - function logComponentSuspended(componentName, wakeable) { - if (enableDebugTracing) { - var id = getWakeableID(wakeable), - display = wakeable.displayName || wakeable; - log( - "%c\u269b%c " + componentName + " suspended", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - wakeable.then( - function () { - log( - "%c\u269b%c " + componentName + " resolved", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - }, - function () { - log( - "%c\u269b%c " + componentName + " rejected", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - } - ); - } - } - function logRenderStarted(lanes) { - enableDebugTracing && - group( - "%c\u269b%c render%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); - } - function logStateUpdateScheduled(componentName, lane, payloadOrAction) { - enableDebugTracing && - log( - "%c\u269b%c " + - componentName + - " updated state %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #01a252; font-weight: bold;", - "", - payloadOrAction - ); - } function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { var existing = CapturedStacks.get(value); @@ -4356,7 +4262,7 @@ __DEV__ && "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()." ); JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber); - var update = { + action = { lane: JSCompiler_OptimizeArgumentsArray_p0, revertLane: 0, action: action, @@ -4365,25 +4271,26 @@ __DEV__ && next: null }; isRenderPhaseUpdate(fiber) - ? enqueueRenderPhaseUpdate(queue, update) - : ((update = enqueueConcurrentHookUpdate( + ? enqueueRenderPhaseUpdate(queue, action) + : ((action = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, JSCompiler_OptimizeArgumentsArray_p0 )), - null !== update && + null !== action && (scheduleUpdateOnFiber( - update, + action, fiber, JSCompiler_OptimizeArgumentsArray_p0 ), entangleTransitionUpdate( - update, + action, queue, JSCompiler_OptimizeArgumentsArray_p0 ))); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p0, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0); } function dispatchSetState( fiber, @@ -4402,7 +4309,8 @@ __DEV__ && action, JSCompiler_OptimizeArgumentsArray_p1 ); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p1, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1); } function dispatchSetStateInternal(fiber, queue, action, lane) { var update = { @@ -4461,7 +4369,7 @@ __DEV__ && error$jscomp$0( "An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition." ); - var update = { + action = { lane: 2, revertLane: requestTransitionLane(), action: action, @@ -4477,12 +4385,12 @@ __DEV__ && (throwIfDuringRender = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, 2 )), null !== throwIfDuringRender && scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); - markUpdateInDevTools(fiber, 2, action); + enableSchedulingProfiler && markStateUpdateScheduled(fiber, 2); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; @@ -4509,13 +4417,6 @@ __DEV__ && markRootEntangled(root, lane); } } - function markUpdateInDevTools(fiber, lane, action) { - if (enableDebugTracing && fiber.mode & 4) { - var name = getComponentNameFromFiber(fiber) || "Unknown"; - logStateUpdateScheduled(name, lane, action); - } - enableSchedulingProfiler && markStateUpdateScheduled(fiber, lane); - } function pushDebugInfo(debugInfo) { var previousDebugInfo = currentDebugInfo; null != debugInfo && @@ -5895,10 +5796,6 @@ __DEV__ && rootRenderLanes, !0 ); - enableDebugTracing && - sourceFiber.mode & 4 && - ((returnFiber = getComponentNameFromFiber(sourceFiber) || "Unknown"), - logComponentSuspended(returnFiber, value)); returnFiber = suspenseHandlerStackCursor.current; if (null !== returnFiber) { switch (returnFiber.tag) { @@ -12895,7 +12792,6 @@ __DEV__ && workInProgressTransitions = getTransitionsForLanes(root, lanes); prepareFreshStack(root, lanes); } - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); lanes = !1; memoizedUpdaters = workInProgressRootExitStatus; @@ -12949,7 +12845,6 @@ __DEV__ && executionContext = prevExecutionContext; ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markRenderStopped(); null === workInProgress && ((workInProgressRoot = null), @@ -12984,7 +12879,6 @@ __DEV__ && root, lanes ); - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); a: do try { @@ -13114,7 +13008,6 @@ __DEV__ && ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; executionContext = prevExecutionContext; - enableDebugTracing && enableDebugTracing && groupEnd(); if (null !== workInProgress) return ( enableSchedulingProfiler && @@ -13372,25 +13265,13 @@ __DEV__ && throw Error("Should not already be working."); var finishedWork = root.finishedWork, lanes = root.finishedLanes; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c commit%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markCommitStarted && injectedProfilingHooks.markCommitStarted(lanes); if (null === finishedWork) - return ( - enableDebugTracing && enableDebugTracing && groupEnd(), - enableSchedulingProfiler && markCommitStopped(), - null - ); + return enableSchedulingProfiler && markCommitStopped(), null; 0 === lanes && error$jscomp$0( "root.finishedLanes should not be empty during a commit. This is a bug in React." @@ -13440,14 +13321,6 @@ __DEV__ && commitBeforeMutationEffects(root, finishedWork), commitMutationEffects(root, finishedWork, lanes), (root.current = finishedWork), - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c layout effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -13455,7 +13328,6 @@ __DEV__ && typeof injectedProfilingHooks.markLayoutEffectsStarted && injectedProfilingHooks.markLayoutEffectsStarted(lanes), commitLayoutEffects(finishedWork, root, lanes), - enableDebugTracing && enableDebugTracing && groupEnd(), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -13505,7 +13377,6 @@ __DEV__ && : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); flushSyncWorkAcrossRoots_impl(0, !1); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markCommitStopped(); return null; } @@ -13564,14 +13435,6 @@ __DEV__ && throw Error("Cannot flush passive effects while already rendering."); isFlushingPassiveEffects = !0; didScheduleUpdateDuringPassiveEffects = !1; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c passive effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -13582,7 +13445,6 @@ __DEV__ && executionContext |= CommitContext; commitPassiveUnmountOnFiber(root.current); commitPassiveMountOnFiber(root, root.current, lanes, transitions); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -14296,12 +14158,6 @@ __DEV__ && }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= 4; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -14606,7 +14462,6 @@ __DEV__ && dynamicFeatureFlags.disableDefaultPropsExceptForClasses, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -14647,7 +14502,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -14697,7 +14551,7 @@ __DEV__ && UserBlockingPriority = Scheduler.unstable_UserBlockingPriority, NormalPriority$1 = Scheduler.unstable_NormalPriority, IdlePriority = Scheduler.unstable_IdlePriority, - log$2 = Scheduler.log, + log$1 = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null, @@ -14705,7 +14559,7 @@ __DEV__ && hasLoggedError = !1, isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__, clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, - log$1 = Math.log, + log = Math.log, LN2 = Math.LN2, nextTransitionLane = 128, nextRetryLane = 4194304, @@ -14743,12 +14597,6 @@ __DEV__ && emptyContextObject = {}; Object.freeze(emptyContextObject); var objectIs = "function" === typeof Object.is ? Object.is : is, - nativeConsole = console, - nativeConsoleLog = null, - pendingGroupArgs = [], - printedGroupIndex = -1, - wakeableIDs = new ("function" === typeof WeakMap ? WeakMap : Map)(), - wakeableID = 0, CapturedStacks = new WeakMap(), contextStackCursor = createCursor(null), contextFiberStackCursor = createCursor(null), @@ -16473,14 +16321,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & 4 && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueReplaceState: function (inst, payload, callback) { @@ -16492,14 +16336,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & 4 && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueForceUpdate: function (inst, callback) { @@ -16514,20 +16354,6 @@ __DEV__ && null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & 4 && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - enableDebugTracing && - log( - "%c\u269b%c " + - callback + - " forced update %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #db2e1f; font-weight: bold;", - "" - )); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -16952,10 +16778,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-c80b336d-20241214", + version: "19.1.0-www-modern-2d320563-20241215", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-modern-2d320563-20241215" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -16989,7 +16815,7 @@ __DEV__ && exports.Shape = Shape; exports.Surface = Surface; exports.Text = Text; - exports.version = "19.1.0-www-modern-c80b336d-20241214"; + exports.version = "19.1.0-www-modern-2d320563-20241215"; "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 8ccb7d32d1..f5f95bb5ef 100644 --- a/compiled/facebook-www/ReactART-prod.classic.js +++ b/compiled/facebook-www/ReactART-prod.classic.js @@ -67,7 +67,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), dynamicFeatureFlags.disableLegacyContextForFunctionComponents, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -104,7 +103,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -10470,12 +10468,6 @@ function createFiberFromTypeAndProps( }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= 4; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -10825,10 +10817,10 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1500 = { bundleType: 0, - version: "19.1.0-www-classic-c80b336d-20241214", + version: "19.1.0-www-classic-2d320563-20241215", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-classic-2d320563-20241215" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1501 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10854,4 +10846,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.1.0-www-classic-c80b336d-20241214"; +exports.version = "19.1.0-www-classic-2d320563-20241215"; diff --git a/compiled/facebook-www/ReactART-prod.modern.js b/compiled/facebook-www/ReactART-prod.modern.js index 9aa07fcd4b..698c11bd06 100644 --- a/compiled/facebook-www/ReactART-prod.modern.js +++ b/compiled/facebook-www/ReactART-prod.modern.js @@ -65,7 +65,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), dynamicFeatureFlags.disableDefaultPropsExceptForClasses, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -102,7 +101,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -10226,12 +10224,6 @@ function createFiberFromTypeAndProps( }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= 4; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -10541,10 +10533,10 @@ var slice = Array.prototype.slice, })(React.Component); var internals$jscomp$inline_1479 = { bundleType: 0, - version: "19.1.0-www-modern-c80b336d-20241214", + version: "19.1.0-www-modern-2d320563-20241215", rendererPackageName: "react-art", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-modern-2d320563-20241215" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_1480 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -10570,4 +10562,4 @@ exports.RadialGradient = RadialGradient; exports.Shape = TYPES.SHAPE; exports.Surface = Surface; exports.Text = Text; -exports.version = "19.1.0-www-modern-c80b336d-20241214"; +exports.version = "19.1.0-www-modern-2d320563-20241215"; diff --git a/compiled/facebook-www/ReactDOM-dev.classic.js b/compiled/facebook-www/ReactDOM-dev.classic.js index 77dd036b38..4273f6adc0 100644 --- a/compiled/facebook-www/ReactDOM-dev.classic.js +++ b/compiled/facebook-www/ReactDOM-dev.classic.js @@ -871,7 +871,7 @@ __DEV__ && } } function setIsStrictModeForDevtools(newIsStrictMode) { - "function" === typeof log$2 && + "function" === typeof log$1 && (unstable_setDisableYieldValue(newIsStrictMode), (suppressWarning = newIsStrictMode)); if (injectedHook && "function" === typeof injectedHook.setStrictMode) @@ -929,7 +929,7 @@ __DEV__ && } function clz32Fallback(x) { x >>>= 0; - return 0 === x ? 32 : (31 - ((log$1(x) / LN2) | 0)) | 0; + return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0; } function getLabelForLane(lane) { if (enableSchedulingProfiler) { @@ -3455,100 +3455,6 @@ __DEV__ && function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } - function formatLanes(laneOrLanes) { - return "0b" + laneOrLanes.toString(2).padStart(31, "0"); - } - function group() { - for ( - var _len = arguments.length, groupArgs = Array(_len), _key = 0; - _key < _len; - _key++ - ) - groupArgs[_key] = arguments[_key]; - pendingGroupArgs.push(groupArgs); - null === nativeConsoleLog && - ((nativeConsoleLog = nativeConsole.log), (nativeConsole.log = log)); - } - function groupEnd() { - for ( - pendingGroupArgs.pop(); - printedGroupIndex >= pendingGroupArgs.length; - - ) - nativeConsole.groupEnd(), printedGroupIndex--; - 0 === pendingGroupArgs.length && - ((nativeConsole.log = nativeConsoleLog), (nativeConsoleLog = null)); - } - function log() { - if (printedGroupIndex < pendingGroupArgs.length - 1) { - for (var i = printedGroupIndex + 1; i < pendingGroupArgs.length; i++) - nativeConsole.group.apply(nativeConsole, pendingGroupArgs[i]); - printedGroupIndex = pendingGroupArgs.length - 1; - } - "function" === typeof nativeConsoleLog - ? nativeConsoleLog.apply(void 0, arguments) - : nativeConsole.log.apply(nativeConsole, arguments); - } - function getWakeableID(wakeable) { - wakeableIDs.has(wakeable) || wakeableIDs.set(wakeable, wakeableID++); - return wakeableIDs.get(wakeable); - } - function logComponentSuspended(componentName, wakeable) { - if (enableDebugTracing) { - var id = getWakeableID(wakeable), - display = wakeable.displayName || wakeable; - log( - "%c\u269b%c " + componentName + " suspended", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - wakeable.then( - function () { - log( - "%c\u269b%c " + componentName + " resolved", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - }, - function () { - log( - "%c\u269b%c " + componentName + " rejected", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - } - ); - } - } - function logRenderStarted(lanes) { - enableDebugTracing && - group( - "%c\u269b%c render%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); - } - function logStateUpdateScheduled(componentName, lane, payloadOrAction) { - enableDebugTracing && - log( - "%c\u269b%c " + - componentName + - " updated state %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #01a252; font-weight: bold;", - "", - payloadOrAction - ); - } function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { var existing = CapturedStacks.get(value); @@ -6422,7 +6328,7 @@ __DEV__ && "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()." ); JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber); - var update = { + action = { lane: JSCompiler_OptimizeArgumentsArray_p0, revertLane: 0, action: action, @@ -6431,25 +6337,26 @@ __DEV__ && next: null }; isRenderPhaseUpdate(fiber) - ? enqueueRenderPhaseUpdate(queue, update) - : ((update = enqueueConcurrentHookUpdate( + ? enqueueRenderPhaseUpdate(queue, action) + : ((action = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, JSCompiler_OptimizeArgumentsArray_p0 )), - null !== update && + null !== action && (scheduleUpdateOnFiber( - update, + action, fiber, JSCompiler_OptimizeArgumentsArray_p0 ), entangleTransitionUpdate( - update, + action, queue, JSCompiler_OptimizeArgumentsArray_p0 ))); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p0, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0); } function dispatchSetState( fiber, @@ -6468,7 +6375,8 @@ __DEV__ && action, JSCompiler_OptimizeArgumentsArray_p1 ); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p1, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1); } function dispatchSetStateInternal(fiber, queue, action, lane) { var update = { @@ -6527,7 +6435,7 @@ __DEV__ && error$jscomp$0( "An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition." ); - var update = { + action = { lane: 2, revertLane: requestTransitionLane(), action: action, @@ -6543,12 +6451,12 @@ __DEV__ && (throwIfDuringRender = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, 2 )), null !== throwIfDuringRender && scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); - markUpdateInDevTools(fiber, 2, action); + enableSchedulingProfiler && markStateUpdateScheduled(fiber, 2); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; @@ -6575,13 +6483,6 @@ __DEV__ && markRootEntangled(root, lane); } } - function markUpdateInDevTools(fiber, lane, action) { - if (enableDebugTracing && fiber.mode & DebugTracingMode) { - var name = getComponentNameFromFiber(fiber) || "Unknown"; - logStateUpdateScheduled(name, lane, action); - } - enableSchedulingProfiler && markStateUpdateScheduled(fiber, lane); - } function pushDebugInfo(debugInfo) { var previousDebugInfo = currentDebugInfo; null != debugInfo && @@ -8043,10 +7944,6 @@ __DEV__ && !0 ); isHydrating && (didSuspendOrErrorDEV = !0); - enableDebugTracing && - sourceFiber.mode & DebugTracingMode && - ((sourceFiber = getComponentNameFromFiber(sourceFiber) || "Unknown"), - logComponentSuspended(sourceFiber, value)); sourceFiber = suspenseHandlerStackCursor.current; if (null !== sourceFiber) { switch (sourceFiber.tag) { @@ -9407,32 +9304,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2494; - var JSCompiler_object_inline_stack_2495 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2491; + var JSCompiler_object_inline_stack_2492 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2496 = !1; + var JSCompiler_object_inline_componentStack_2493 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2494 = didSuspend) || - (JSCompiler_object_inline_digest_2494 = + (JSCompiler_object_inline_digest_2491 = didSuspend) || + (JSCompiler_object_inline_digest_2491 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2494 && - ((JSCompiler_object_inline_componentStack_2496 = !0), + JSCompiler_object_inline_digest_2491 && + ((JSCompiler_object_inline_componentStack_2493 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2494 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2491 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2496 + JSCompiler_object_inline_componentStack_2493 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2493 = nextHydratableInstance; + var JSCompiler_object_inline_message_2490 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2493)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2490)) { c: { - var instance = JSCompiler_object_inline_message_2493; + var instance = JSCompiler_object_inline_message_2490; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9473,46 +9370,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2493 + JSCompiler_object_inline_message_2490 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2493 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2490 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2493 && - ((JSCompiler_object_inline_message_2493 = - JSCompiler_object_inline_message_2493.dehydrated), - null !== JSCompiler_object_inline_message_2493) + null !== JSCompiler_object_inline_message_2490 && + ((JSCompiler_object_inline_message_2490 = + JSCompiler_object_inline_message_2490.dehydrated), + null !== JSCompiler_object_inline_message_2490) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2493) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2490) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2493 = - JSCompiler_object_inline_stack_2495.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2495.fallback; - if (JSCompiler_object_inline_componentStack_2496) + JSCompiler_object_inline_message_2490 = + JSCompiler_object_inline_stack_2492.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2492.fallback; + if (JSCompiler_object_inline_componentStack_2493) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2495 = + (JSCompiler_object_inline_stack_2492 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2493, + JSCompiler_object_inline_message_2490, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2496 = + (JSCompiler_object_inline_componentStack_2493 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2496.memoizedState = + (JSCompiler_object_inline_componentStack_2493.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2496.childLanes = + (JSCompiler_object_inline_componentStack_2493.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2494, + JSCompiler_object_inline_digest_2491, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9525,9 +9422,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2496.updateQueue), + JSCompiler_object_inline_componentStack_2493.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2496.updateQueue = + ? (JSCompiler_object_inline_componentStack_2493.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9535,46 +9432,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2495 + JSCompiler_object_inline_stack_2492 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2495.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2492.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2495 = + (JSCompiler_object_inline_stack_2492 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2493, + JSCompiler_object_inline_message_2490, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2496 = + (JSCompiler_object_inline_componentStack_2493 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2496.memoizedState = + (JSCompiler_object_inline_componentStack_2493.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2496.childLanes = + (JSCompiler_object_inline_componentStack_2493.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2494, + JSCompiler_object_inline_digest_2491, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2495 + JSCompiler_object_inline_stack_2492 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2493 + JSCompiler_object_inline_message_2490 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2493 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2493) + ((JSCompiler_object_inline_message_2490 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2490) ) { if (didSuspend) workInProgress.flags & 256 @@ -9591,94 +9488,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2496 = - JSCompiler_object_inline_stack_2495.fallback), - (JSCompiler_object_inline_message_2493 = workInProgress.mode), - (JSCompiler_object_inline_stack_2495 = + (JSCompiler_object_inline_componentStack_2493 = + JSCompiler_object_inline_stack_2492.fallback), + (JSCompiler_object_inline_message_2490 = workInProgress.mode), + (JSCompiler_object_inline_stack_2492 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2495.children + children: JSCompiler_object_inline_stack_2492.children }, - JSCompiler_object_inline_message_2493 + JSCompiler_object_inline_message_2490 )), - (JSCompiler_object_inline_componentStack_2496 = + (JSCompiler_object_inline_componentStack_2493 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2496, - JSCompiler_object_inline_message_2493, + JSCompiler_object_inline_componentStack_2493, + JSCompiler_object_inline_message_2490, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2496.flags |= 2), - (JSCompiler_object_inline_stack_2495.return = workInProgress), - (JSCompiler_object_inline_componentStack_2496.return = + (JSCompiler_object_inline_componentStack_2493.flags |= 2), + (JSCompiler_object_inline_stack_2492.return = workInProgress), + (JSCompiler_object_inline_componentStack_2493.return = workInProgress), - (JSCompiler_object_inline_stack_2495.sibling = - JSCompiler_object_inline_componentStack_2496), - (workInProgress.child = JSCompiler_object_inline_stack_2495), + (JSCompiler_object_inline_stack_2492.sibling = + JSCompiler_object_inline_componentStack_2493), + (workInProgress.child = JSCompiler_object_inline_stack_2492), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2495 = workInProgress.child), - (JSCompiler_object_inline_stack_2495.memoizedState = + (JSCompiler_object_inline_stack_2492 = workInProgress.child), + (JSCompiler_object_inline_stack_2492.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2495.childLanes = + (JSCompiler_object_inline_stack_2492.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2494, + JSCompiler_object_inline_digest_2491, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2496)); + JSCompiler_object_inline_componentStack_2493)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2493)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2490)) ) { - JSCompiler_object_inline_digest_2494 = - JSCompiler_object_inline_message_2493.nextSibling && - JSCompiler_object_inline_message_2493.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2494) { - JSCompiler_temp = JSCompiler_object_inline_digest_2494.dgst; - var message = JSCompiler_object_inline_digest_2494.msg; - instance = JSCompiler_object_inline_digest_2494.stck; - var componentStack = JSCompiler_object_inline_digest_2494.cstck; + JSCompiler_object_inline_digest_2491 = + JSCompiler_object_inline_message_2490.nextSibling && + JSCompiler_object_inline_message_2490.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2491) { + JSCompiler_temp = JSCompiler_object_inline_digest_2491.dgst; + var message = JSCompiler_object_inline_digest_2491.msg; + instance = JSCompiler_object_inline_digest_2491.stck; + var componentStack = JSCompiler_object_inline_digest_2491.cstck; } - JSCompiler_object_inline_message_2493 = message; - JSCompiler_object_inline_digest_2494 = JSCompiler_temp; - JSCompiler_object_inline_stack_2495 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2496 = + JSCompiler_object_inline_message_2490 = message; + JSCompiler_object_inline_digest_2491 = JSCompiler_temp; + JSCompiler_object_inline_stack_2492 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2493 = componentStack; - JSCompiler_object_inline_componentStack_2496 = - JSCompiler_object_inline_message_2493 - ? Error(JSCompiler_object_inline_message_2493) + JSCompiler_object_inline_componentStack_2493 = + JSCompiler_object_inline_message_2490 + ? Error(JSCompiler_object_inline_message_2490) : 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_2496.stack = - JSCompiler_object_inline_stack_2495 || ""; - JSCompiler_object_inline_componentStack_2496.digest = - JSCompiler_object_inline_digest_2494; - JSCompiler_object_inline_digest_2494 = + JSCompiler_object_inline_componentStack_2493.stack = + JSCompiler_object_inline_stack_2492 || ""; + JSCompiler_object_inline_componentStack_2493.digest = + JSCompiler_object_inline_digest_2491; + JSCompiler_object_inline_digest_2491 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2495 = { - value: JSCompiler_object_inline_componentStack_2496, + JSCompiler_object_inline_stack_2492 = { + value: JSCompiler_object_inline_componentStack_2493, source: null, - stack: JSCompiler_object_inline_digest_2494 + stack: JSCompiler_object_inline_digest_2491 }; - "string" === typeof JSCompiler_object_inline_digest_2494 && + "string" === typeof JSCompiler_object_inline_digest_2491 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2496, - JSCompiler_object_inline_stack_2495 + JSCompiler_object_inline_componentStack_2493, + JSCompiler_object_inline_stack_2492 ); - queueHydrationError(JSCompiler_object_inline_stack_2495); + queueHydrationError(JSCompiler_object_inline_stack_2492); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9692,44 +9589,44 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2494 = + (JSCompiler_object_inline_digest_2491 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2494) + didReceiveUpdate || JSCompiler_object_inline_digest_2491) ) { - JSCompiler_object_inline_digest_2494 = workInProgressRoot; + JSCompiler_object_inline_digest_2491 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2494 && - ((JSCompiler_object_inline_stack_2495 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2495 = - 0 !== (JSCompiler_object_inline_stack_2495 & 42) + null !== JSCompiler_object_inline_digest_2491 && + ((JSCompiler_object_inline_stack_2492 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2492 = + 0 !== (JSCompiler_object_inline_stack_2492 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2495 + JSCompiler_object_inline_stack_2492 )), - (JSCompiler_object_inline_stack_2495 = + (JSCompiler_object_inline_stack_2492 = 0 !== - (JSCompiler_object_inline_stack_2495 & - (JSCompiler_object_inline_digest_2494.suspendedLanes | + (JSCompiler_object_inline_stack_2492 & + (JSCompiler_object_inline_digest_2491.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2495), - 0 !== JSCompiler_object_inline_stack_2495 && - JSCompiler_object_inline_stack_2495 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2492), + 0 !== JSCompiler_object_inline_stack_2492 && + JSCompiler_object_inline_stack_2492 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2495), + ((prevState.retryLane = JSCompiler_object_inline_stack_2492), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2495 + JSCompiler_object_inline_stack_2492 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2494, + JSCompiler_object_inline_digest_2491, current, - JSCompiler_object_inline_stack_2495 + JSCompiler_object_inline_stack_2492 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2493.data === + JSCompiler_object_inline_message_2490.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9737,14 +9634,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2493.data === + JSCompiler_object_inline_message_2490.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2493.nextSibling + JSCompiler_object_inline_message_2490.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9762,57 +9659,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2495.children + JSCompiler_object_inline_stack_2492.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2496) + if (JSCompiler_object_inline_componentStack_2493) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2496 = - JSCompiler_object_inline_stack_2495.fallback), - (JSCompiler_object_inline_message_2493 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2493 = + JSCompiler_object_inline_stack_2492.fallback), + (JSCompiler_object_inline_message_2490 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2495 = createWorkInProgress( + (JSCompiler_object_inline_stack_2492 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2495.children + children: JSCompiler_object_inline_stack_2492.children } )), - (JSCompiler_object_inline_stack_2495.subtreeFlags = + (JSCompiler_object_inline_stack_2492.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2496 = + ? (JSCompiler_object_inline_componentStack_2493 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2496 + JSCompiler_object_inline_componentStack_2493 )) - : ((JSCompiler_object_inline_componentStack_2496 = + : ((JSCompiler_object_inline_componentStack_2493 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2496, - JSCompiler_object_inline_message_2493, + JSCompiler_object_inline_componentStack_2493, + JSCompiler_object_inline_message_2490, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2496.flags |= 2)), - (JSCompiler_object_inline_componentStack_2496.return = + (JSCompiler_object_inline_componentStack_2493.flags |= 2)), + (JSCompiler_object_inline_componentStack_2493.return = workInProgress), - (JSCompiler_object_inline_stack_2495.return = workInProgress), - (JSCompiler_object_inline_stack_2495.sibling = - JSCompiler_object_inline_componentStack_2496), - (workInProgress.child = JSCompiler_object_inline_stack_2495), - (JSCompiler_object_inline_stack_2495 = - JSCompiler_object_inline_componentStack_2496), - (JSCompiler_object_inline_componentStack_2496 = workInProgress.child), - (JSCompiler_object_inline_message_2493 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2493 - ? (JSCompiler_object_inline_message_2493 = + (JSCompiler_object_inline_stack_2492.return = workInProgress), + (JSCompiler_object_inline_stack_2492.sibling = + JSCompiler_object_inline_componentStack_2493), + (workInProgress.child = JSCompiler_object_inline_stack_2492), + (JSCompiler_object_inline_stack_2492 = + JSCompiler_object_inline_componentStack_2493), + (JSCompiler_object_inline_componentStack_2493 = workInProgress.child), + (JSCompiler_object_inline_message_2490 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2490 + ? (JSCompiler_object_inline_message_2490 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2493.cachePool), + JSCompiler_object_inline_message_2490.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9820,34 +9717,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2493 = { + (JSCompiler_object_inline_message_2490 = { baseLanes: - JSCompiler_object_inline_message_2493.baseLanes | renderLanes, + JSCompiler_object_inline_message_2490.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2496.memoizedState = - JSCompiler_object_inline_message_2493), + (JSCompiler_object_inline_componentStack_2493.memoizedState = + JSCompiler_object_inline_message_2490), enableTransitionTracing && - ((JSCompiler_object_inline_message_2493 = enableTransitionTracing + ((JSCompiler_object_inline_message_2490 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2493 && + null !== JSCompiler_object_inline_message_2490 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2496.updateQueue), + JSCompiler_object_inline_componentStack_2493.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2496.updateQueue = { - transitions: JSCompiler_object_inline_message_2493, + ? (JSCompiler_object_inline_componentStack_2493.updateQueue = { + transitions: JSCompiler_object_inline_message_2490, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2496.updateQueue = + ? (JSCompiler_object_inline_componentStack_2493.updateQueue = { - transitions: JSCompiler_object_inline_message_2493, + transitions: JSCompiler_object_inline_message_2490, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9855,32 +9752,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2493), + JSCompiler_object_inline_message_2490), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2496.childLanes = + (JSCompiler_object_inline_componentStack_2493.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2494, + JSCompiler_object_inline_digest_2491, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2495 + JSCompiler_object_inline_stack_2492 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2495.children + children: JSCompiler_object_inline_stack_2492.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2494 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2494 + ((JSCompiler_object_inline_digest_2491 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2491 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2494.push(current)); + : JSCompiler_object_inline_digest_2491.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -16218,7 +16115,6 @@ __DEV__ && workInProgressTransitions = getTransitionsForLanes(root, lanes); prepareFreshStack(root, lanes); } - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); lanes = !1; memoizedUpdaters = workInProgressRootExitStatus; @@ -16272,7 +16168,6 @@ __DEV__ && executionContext = prevExecutionContext; ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markRenderStopped(); null === workInProgress && ((workInProgressRoot = null), @@ -16307,7 +16202,6 @@ __DEV__ && root, lanes ); - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); a: do try { @@ -16437,7 +16331,6 @@ __DEV__ && ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; executionContext = prevExecutionContext; - enableDebugTracing && enableDebugTracing && groupEnd(); if (null !== workInProgress) return ( enableSchedulingProfiler && @@ -16736,25 +16629,13 @@ __DEV__ && throw Error("Should not already be working."); var finishedWork = root.finishedWork, lanes = root.finishedLanes; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c commit%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markCommitStarted && injectedProfilingHooks.markCommitStarted(lanes); if (null === finishedWork) - return ( - enableDebugTracing && enableDebugTracing && groupEnd(), - enableSchedulingProfiler && markCommitStopped(), - null - ); + return enableSchedulingProfiler && markCommitStopped(), null; 0 === lanes && error$jscomp$0( "root.finishedLanes should not be empty during a commit. This is a bug in React." @@ -16814,14 +16695,6 @@ __DEV__ && (_enabled = !!eventsEnabled), (selectionInformation = eventsEnabled = null), (root.current = finishedWork), - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c layout effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -16829,7 +16702,6 @@ __DEV__ && typeof injectedProfilingHooks.markLayoutEffectsStarted && injectedProfilingHooks.markLayoutEffectsStarted(lanes), commitLayoutEffects(finishedWork, root, lanes), - enableDebugTracing && enableDebugTracing && groupEnd(), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -16880,7 +16752,6 @@ __DEV__ && : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); flushSyncWorkAcrossRoots_impl(0, !1); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markCommitStopped(); if (enableTransitionTracing) { var prevRootTransitionCallbacks = root.transitionCallbacks; @@ -16957,14 +16828,6 @@ __DEV__ && throw Error("Cannot flush passive effects while already rendering."); isFlushingPassiveEffects = !0; didScheduleUpdateDuringPassiveEffects = !1; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c passive effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -16975,7 +16838,6 @@ __DEV__ && executionContext |= CommitContext; commitPassiveUnmountOnFiber(root.current); commitPassiveMountOnFiber(root, root.current, lanes, transitions); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -17697,12 +17559,6 @@ __DEV__ && }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= DebugTracingMode; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -23791,7 +23647,6 @@ __DEV__ && dynamicFeatureFlags.disableLegacyContextForFunctionComponents, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -23836,7 +23691,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -23874,7 +23728,7 @@ __DEV__ && NormalPriority$1 = Scheduler.unstable_NormalPriority, LowPriority = Scheduler.unstable_LowPriority, IdlePriority = Scheduler.unstable_IdlePriority, - log$2 = Scheduler.log, + log$1 = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null, @@ -23882,7 +23736,7 @@ __DEV__ && hasLoggedError = !1, isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__, clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, - log$1 = Math.log, + log = Math.log, LN2 = Math.LN2, nextTransitionLane = 128, nextRetryLane = 4194304, @@ -24781,12 +24635,6 @@ __DEV__ && didPerformWorkStackCursor = createCursor(!1), previousContext = emptyContextObject, objectIs = "function" === typeof Object.is ? Object.is : is, - nativeConsole = console, - nativeConsoleLog = null, - pendingGroupArgs = [], - printedGroupIndex = -1, - wakeableIDs = new ("function" === typeof WeakMap ? WeakMap : Map)(), - wakeableID = 0, CapturedStacks = new WeakMap(), forkStack = [], forkStackIndex = 0, @@ -24810,7 +24658,6 @@ __DEV__ && NoMode = 0, ConcurrentMode = 1, ProfileMode = 2, - DebugTracingMode = 4, StrictLegacyMode = 8, StrictEffectsMode = 16, NoStrictPassiveEffectsMode = 64, @@ -26578,14 +26425,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & DebugTracingMode && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueReplaceState: function (inst, payload, callback) { @@ -26597,14 +26440,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & DebugTracingMode && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueForceUpdate: function (inst, callback) { @@ -26619,20 +26458,6 @@ __DEV__ && null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & DebugTracingMode && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - enableDebugTracing && - log( - "%c\u269b%c " + - callback + - " forced update %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #db2e1f; font-weight: bold;", - "" - )); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -27665,11 +27490,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-classic-c80b336d-20241214" !== isomorphicReactPackageVersion) + if ("19.1.0-www-classic-2d320563-20241215" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.1.0-www-classic-c80b336d-20241214\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-classic-2d320563-20241215\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27712,10 +27537,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-c80b336d-20241214", + version: "19.1.0-www-classic-2d320563-20241215", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-classic-2d320563-20241215" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28322,7 +28147,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-classic-c80b336d-20241214"; + exports.version = "19.1.0-www-classic-2d320563-20241215"; "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 29fe84feb1..127fe35fb7 100644 --- a/compiled/facebook-www/ReactDOM-dev.modern.js +++ b/compiled/facebook-www/ReactDOM-dev.modern.js @@ -871,7 +871,7 @@ __DEV__ && } } function setIsStrictModeForDevtools(newIsStrictMode) { - "function" === typeof log$2 && + "function" === typeof log$1 && (unstable_setDisableYieldValue(newIsStrictMode), (suppressWarning = newIsStrictMode)); if (injectedHook && "function" === typeof injectedHook.setStrictMode) @@ -929,7 +929,7 @@ __DEV__ && } function clz32Fallback(x) { x >>>= 0; - return 0 === x ? 32 : (31 - ((log$1(x) / LN2) | 0)) | 0; + return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0; } function getLabelForLane(lane) { if (enableSchedulingProfiler) { @@ -3347,100 +3347,6 @@ __DEV__ && function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } - function formatLanes(laneOrLanes) { - return "0b" + laneOrLanes.toString(2).padStart(31, "0"); - } - function group() { - for ( - var _len = arguments.length, groupArgs = Array(_len), _key = 0; - _key < _len; - _key++ - ) - groupArgs[_key] = arguments[_key]; - pendingGroupArgs.push(groupArgs); - null === nativeConsoleLog && - ((nativeConsoleLog = nativeConsole.log), (nativeConsole.log = log)); - } - function groupEnd() { - for ( - pendingGroupArgs.pop(); - printedGroupIndex >= pendingGroupArgs.length; - - ) - nativeConsole.groupEnd(), printedGroupIndex--; - 0 === pendingGroupArgs.length && - ((nativeConsole.log = nativeConsoleLog), (nativeConsoleLog = null)); - } - function log() { - if (printedGroupIndex < pendingGroupArgs.length - 1) { - for (var i = printedGroupIndex + 1; i < pendingGroupArgs.length; i++) - nativeConsole.group.apply(nativeConsole, pendingGroupArgs[i]); - printedGroupIndex = pendingGroupArgs.length - 1; - } - "function" === typeof nativeConsoleLog - ? nativeConsoleLog.apply(void 0, arguments) - : nativeConsole.log.apply(nativeConsole, arguments); - } - function getWakeableID(wakeable) { - wakeableIDs.has(wakeable) || wakeableIDs.set(wakeable, wakeableID++); - return wakeableIDs.get(wakeable); - } - function logComponentSuspended(componentName, wakeable) { - if (enableDebugTracing) { - var id = getWakeableID(wakeable), - display = wakeable.displayName || wakeable; - log( - "%c\u269b%c " + componentName + " suspended", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - wakeable.then( - function () { - log( - "%c\u269b%c " + componentName + " resolved", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - }, - function () { - log( - "%c\u269b%c " + componentName + " rejected", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - } - ); - } - } - function logRenderStarted(lanes) { - enableDebugTracing && - group( - "%c\u269b%c render%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); - } - function logStateUpdateScheduled(componentName, lane, payloadOrAction) { - enableDebugTracing && - log( - "%c\u269b%c " + - componentName + - " updated state %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #01a252; font-weight: bold;", - "", - payloadOrAction - ); - } function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { var existing = CapturedStacks.get(value); @@ -6309,7 +6215,7 @@ __DEV__ && "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()." ); JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber); - var update = { + action = { lane: JSCompiler_OptimizeArgumentsArray_p0, revertLane: 0, action: action, @@ -6318,25 +6224,26 @@ __DEV__ && next: null }; isRenderPhaseUpdate(fiber) - ? enqueueRenderPhaseUpdate(queue, update) - : ((update = enqueueConcurrentHookUpdate( + ? enqueueRenderPhaseUpdate(queue, action) + : ((action = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, JSCompiler_OptimizeArgumentsArray_p0 )), - null !== update && + null !== action && (scheduleUpdateOnFiber( - update, + action, fiber, JSCompiler_OptimizeArgumentsArray_p0 ), entangleTransitionUpdate( - update, + action, queue, JSCompiler_OptimizeArgumentsArray_p0 ))); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p0, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0); } function dispatchSetState( fiber, @@ -6355,7 +6262,8 @@ __DEV__ && action, JSCompiler_OptimizeArgumentsArray_p1 ); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p1, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1); } function dispatchSetStateInternal(fiber, queue, action, lane) { var update = { @@ -6414,7 +6322,7 @@ __DEV__ && error$jscomp$0( "An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition." ); - var update = { + action = { lane: 2, revertLane: requestTransitionLane(), action: action, @@ -6430,12 +6338,12 @@ __DEV__ && (throwIfDuringRender = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, 2 )), null !== throwIfDuringRender && scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); - markUpdateInDevTools(fiber, 2, action); + enableSchedulingProfiler && markStateUpdateScheduled(fiber, 2); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; @@ -6462,13 +6370,6 @@ __DEV__ && markRootEntangled(root, lane); } } - function markUpdateInDevTools(fiber, lane, action) { - if (enableDebugTracing && fiber.mode & DebugTracingMode) { - var name = getComponentNameFromFiber(fiber) || "Unknown"; - logStateUpdateScheduled(name, lane, action); - } - enableSchedulingProfiler && markStateUpdateScheduled(fiber, lane); - } function pushDebugInfo(debugInfo) { var previousDebugInfo = currentDebugInfo; null != debugInfo && @@ -7930,10 +7831,6 @@ __DEV__ && !0 ); isHydrating && (didSuspendOrErrorDEV = !0); - enableDebugTracing && - sourceFiber.mode & DebugTracingMode && - ((sourceFiber = getComponentNameFromFiber(sourceFiber) || "Unknown"), - logComponentSuspended(sourceFiber, value)); sourceFiber = suspenseHandlerStackCursor.current; if (null !== sourceFiber) { switch (sourceFiber.tag) { @@ -9219,32 +9116,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2486; - var JSCompiler_object_inline_stack_2487 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2483; + var JSCompiler_object_inline_stack_2484 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2488 = !1; + var JSCompiler_object_inline_componentStack_2485 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2486 = didSuspend) || - (JSCompiler_object_inline_digest_2486 = + (JSCompiler_object_inline_digest_2483 = didSuspend) || + (JSCompiler_object_inline_digest_2483 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2486 && - ((JSCompiler_object_inline_componentStack_2488 = !0), + JSCompiler_object_inline_digest_2483 && + ((JSCompiler_object_inline_componentStack_2485 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2486 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2483 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2488 + JSCompiler_object_inline_componentStack_2485 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2485 = nextHydratableInstance; + var JSCompiler_object_inline_message_2482 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2485)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2482)) { c: { - var instance = JSCompiler_object_inline_message_2485; + var instance = JSCompiler_object_inline_message_2482; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9285,46 +9182,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2485 + JSCompiler_object_inline_message_2482 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2485 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2482 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2485 && - ((JSCompiler_object_inline_message_2485 = - JSCompiler_object_inline_message_2485.dehydrated), - null !== JSCompiler_object_inline_message_2485) + null !== JSCompiler_object_inline_message_2482 && + ((JSCompiler_object_inline_message_2482 = + JSCompiler_object_inline_message_2482.dehydrated), + null !== JSCompiler_object_inline_message_2482) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2485) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2482) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2485 = - JSCompiler_object_inline_stack_2487.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2487.fallback; - if (JSCompiler_object_inline_componentStack_2488) + JSCompiler_object_inline_message_2482 = + JSCompiler_object_inline_stack_2484.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2484.fallback; + if (JSCompiler_object_inline_componentStack_2485) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2487 = + (JSCompiler_object_inline_stack_2484 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2485, + JSCompiler_object_inline_message_2482, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2488 = + (JSCompiler_object_inline_componentStack_2485 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2488.memoizedState = + (JSCompiler_object_inline_componentStack_2485.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2488.childLanes = + (JSCompiler_object_inline_componentStack_2485.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2486, + JSCompiler_object_inline_digest_2483, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9337,9 +9234,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2488.updateQueue), + JSCompiler_object_inline_componentStack_2485.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2488.updateQueue = + ? (JSCompiler_object_inline_componentStack_2485.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9347,46 +9244,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2487 + JSCompiler_object_inline_stack_2484 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2487.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2484.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2487 = + (JSCompiler_object_inline_stack_2484 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2485, + JSCompiler_object_inline_message_2482, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2488 = + (JSCompiler_object_inline_componentStack_2485 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2488.memoizedState = + (JSCompiler_object_inline_componentStack_2485.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2488.childLanes = + (JSCompiler_object_inline_componentStack_2485.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2486, + JSCompiler_object_inline_digest_2483, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2487 + JSCompiler_object_inline_stack_2484 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2485 + JSCompiler_object_inline_message_2482 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2485 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2485) + ((JSCompiler_object_inline_message_2482 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2482) ) { if (didSuspend) workInProgress.flags & 256 @@ -9403,94 +9300,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2488 = - JSCompiler_object_inline_stack_2487.fallback), - (JSCompiler_object_inline_message_2485 = workInProgress.mode), - (JSCompiler_object_inline_stack_2487 = + (JSCompiler_object_inline_componentStack_2485 = + JSCompiler_object_inline_stack_2484.fallback), + (JSCompiler_object_inline_message_2482 = workInProgress.mode), + (JSCompiler_object_inline_stack_2484 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2487.children + children: JSCompiler_object_inline_stack_2484.children }, - JSCompiler_object_inline_message_2485 + JSCompiler_object_inline_message_2482 )), - (JSCompiler_object_inline_componentStack_2488 = + (JSCompiler_object_inline_componentStack_2485 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2488, - JSCompiler_object_inline_message_2485, + JSCompiler_object_inline_componentStack_2485, + JSCompiler_object_inline_message_2482, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2488.flags |= 2), - (JSCompiler_object_inline_stack_2487.return = workInProgress), - (JSCompiler_object_inline_componentStack_2488.return = + (JSCompiler_object_inline_componentStack_2485.flags |= 2), + (JSCompiler_object_inline_stack_2484.return = workInProgress), + (JSCompiler_object_inline_componentStack_2485.return = workInProgress), - (JSCompiler_object_inline_stack_2487.sibling = - JSCompiler_object_inline_componentStack_2488), - (workInProgress.child = JSCompiler_object_inline_stack_2487), + (JSCompiler_object_inline_stack_2484.sibling = + JSCompiler_object_inline_componentStack_2485), + (workInProgress.child = JSCompiler_object_inline_stack_2484), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2487 = workInProgress.child), - (JSCompiler_object_inline_stack_2487.memoizedState = + (JSCompiler_object_inline_stack_2484 = workInProgress.child), + (JSCompiler_object_inline_stack_2484.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2487.childLanes = + (JSCompiler_object_inline_stack_2484.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2486, + JSCompiler_object_inline_digest_2483, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2488)); + JSCompiler_object_inline_componentStack_2485)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2485)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2482)) ) { - JSCompiler_object_inline_digest_2486 = - JSCompiler_object_inline_message_2485.nextSibling && - JSCompiler_object_inline_message_2485.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2486) { - JSCompiler_temp = JSCompiler_object_inline_digest_2486.dgst; - var message = JSCompiler_object_inline_digest_2486.msg; - instance = JSCompiler_object_inline_digest_2486.stck; - var componentStack = JSCompiler_object_inline_digest_2486.cstck; + JSCompiler_object_inline_digest_2483 = + JSCompiler_object_inline_message_2482.nextSibling && + JSCompiler_object_inline_message_2482.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2483) { + JSCompiler_temp = JSCompiler_object_inline_digest_2483.dgst; + var message = JSCompiler_object_inline_digest_2483.msg; + instance = JSCompiler_object_inline_digest_2483.stck; + var componentStack = JSCompiler_object_inline_digest_2483.cstck; } - JSCompiler_object_inline_message_2485 = message; - JSCompiler_object_inline_digest_2486 = JSCompiler_temp; - JSCompiler_object_inline_stack_2487 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2488 = + JSCompiler_object_inline_message_2482 = message; + JSCompiler_object_inline_digest_2483 = JSCompiler_temp; + JSCompiler_object_inline_stack_2484 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2485 = componentStack; - JSCompiler_object_inline_componentStack_2488 = - JSCompiler_object_inline_message_2485 - ? Error(JSCompiler_object_inline_message_2485) + JSCompiler_object_inline_componentStack_2485 = + JSCompiler_object_inline_message_2482 + ? Error(JSCompiler_object_inline_message_2482) : 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_2488.stack = - JSCompiler_object_inline_stack_2487 || ""; - JSCompiler_object_inline_componentStack_2488.digest = - JSCompiler_object_inline_digest_2486; - JSCompiler_object_inline_digest_2486 = + JSCompiler_object_inline_componentStack_2485.stack = + JSCompiler_object_inline_stack_2484 || ""; + JSCompiler_object_inline_componentStack_2485.digest = + JSCompiler_object_inline_digest_2483; + JSCompiler_object_inline_digest_2483 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2487 = { - value: JSCompiler_object_inline_componentStack_2488, + JSCompiler_object_inline_stack_2484 = { + value: JSCompiler_object_inline_componentStack_2485, source: null, - stack: JSCompiler_object_inline_digest_2486 + stack: JSCompiler_object_inline_digest_2483 }; - "string" === typeof JSCompiler_object_inline_digest_2486 && + "string" === typeof JSCompiler_object_inline_digest_2483 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2488, - JSCompiler_object_inline_stack_2487 + JSCompiler_object_inline_componentStack_2485, + JSCompiler_object_inline_stack_2484 ); - queueHydrationError(JSCompiler_object_inline_stack_2487); + queueHydrationError(JSCompiler_object_inline_stack_2484); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9504,44 +9401,44 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2486 = + (JSCompiler_object_inline_digest_2483 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2486) + didReceiveUpdate || JSCompiler_object_inline_digest_2483) ) { - JSCompiler_object_inline_digest_2486 = workInProgressRoot; + JSCompiler_object_inline_digest_2483 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2486 && - ((JSCompiler_object_inline_stack_2487 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2487 = - 0 !== (JSCompiler_object_inline_stack_2487 & 42) + null !== JSCompiler_object_inline_digest_2483 && + ((JSCompiler_object_inline_stack_2484 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2484 = + 0 !== (JSCompiler_object_inline_stack_2484 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2487 + JSCompiler_object_inline_stack_2484 )), - (JSCompiler_object_inline_stack_2487 = + (JSCompiler_object_inline_stack_2484 = 0 !== - (JSCompiler_object_inline_stack_2487 & - (JSCompiler_object_inline_digest_2486.suspendedLanes | + (JSCompiler_object_inline_stack_2484 & + (JSCompiler_object_inline_digest_2483.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2487), - 0 !== JSCompiler_object_inline_stack_2487 && - JSCompiler_object_inline_stack_2487 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2484), + 0 !== JSCompiler_object_inline_stack_2484 && + JSCompiler_object_inline_stack_2484 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2487), + ((prevState.retryLane = JSCompiler_object_inline_stack_2484), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2487 + JSCompiler_object_inline_stack_2484 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2486, + JSCompiler_object_inline_digest_2483, current, - JSCompiler_object_inline_stack_2487 + JSCompiler_object_inline_stack_2484 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2485.data === + JSCompiler_object_inline_message_2482.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9549,14 +9446,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2485.data === + JSCompiler_object_inline_message_2482.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2485.nextSibling + JSCompiler_object_inline_message_2482.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9574,57 +9471,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2487.children + JSCompiler_object_inline_stack_2484.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2488) + if (JSCompiler_object_inline_componentStack_2485) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2488 = - JSCompiler_object_inline_stack_2487.fallback), - (JSCompiler_object_inline_message_2485 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2485 = + JSCompiler_object_inline_stack_2484.fallback), + (JSCompiler_object_inline_message_2482 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2487 = createWorkInProgress( + (JSCompiler_object_inline_stack_2484 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2487.children + children: JSCompiler_object_inline_stack_2484.children } )), - (JSCompiler_object_inline_stack_2487.subtreeFlags = + (JSCompiler_object_inline_stack_2484.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2488 = + ? (JSCompiler_object_inline_componentStack_2485 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2488 + JSCompiler_object_inline_componentStack_2485 )) - : ((JSCompiler_object_inline_componentStack_2488 = + : ((JSCompiler_object_inline_componentStack_2485 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2488, - JSCompiler_object_inline_message_2485, + JSCompiler_object_inline_componentStack_2485, + JSCompiler_object_inline_message_2482, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2488.flags |= 2)), - (JSCompiler_object_inline_componentStack_2488.return = + (JSCompiler_object_inline_componentStack_2485.flags |= 2)), + (JSCompiler_object_inline_componentStack_2485.return = workInProgress), - (JSCompiler_object_inline_stack_2487.return = workInProgress), - (JSCompiler_object_inline_stack_2487.sibling = - JSCompiler_object_inline_componentStack_2488), - (workInProgress.child = JSCompiler_object_inline_stack_2487), - (JSCompiler_object_inline_stack_2487 = - JSCompiler_object_inline_componentStack_2488), - (JSCompiler_object_inline_componentStack_2488 = workInProgress.child), - (JSCompiler_object_inline_message_2485 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2485 - ? (JSCompiler_object_inline_message_2485 = + (JSCompiler_object_inline_stack_2484.return = workInProgress), + (JSCompiler_object_inline_stack_2484.sibling = + JSCompiler_object_inline_componentStack_2485), + (workInProgress.child = JSCompiler_object_inline_stack_2484), + (JSCompiler_object_inline_stack_2484 = + JSCompiler_object_inline_componentStack_2485), + (JSCompiler_object_inline_componentStack_2485 = workInProgress.child), + (JSCompiler_object_inline_message_2482 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2482 + ? (JSCompiler_object_inline_message_2482 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2485.cachePool), + JSCompiler_object_inline_message_2482.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9632,34 +9529,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2485 = { + (JSCompiler_object_inline_message_2482 = { baseLanes: - JSCompiler_object_inline_message_2485.baseLanes | renderLanes, + JSCompiler_object_inline_message_2482.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2488.memoizedState = - JSCompiler_object_inline_message_2485), + (JSCompiler_object_inline_componentStack_2485.memoizedState = + JSCompiler_object_inline_message_2482), enableTransitionTracing && - ((JSCompiler_object_inline_message_2485 = enableTransitionTracing + ((JSCompiler_object_inline_message_2482 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2485 && + null !== JSCompiler_object_inline_message_2482 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2488.updateQueue), + JSCompiler_object_inline_componentStack_2485.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2488.updateQueue = { - transitions: JSCompiler_object_inline_message_2485, + ? (JSCompiler_object_inline_componentStack_2485.updateQueue = { + transitions: JSCompiler_object_inline_message_2482, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2488.updateQueue = + ? (JSCompiler_object_inline_componentStack_2485.updateQueue = { - transitions: JSCompiler_object_inline_message_2485, + transitions: JSCompiler_object_inline_message_2482, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9667,32 +9564,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2485), + JSCompiler_object_inline_message_2482), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2488.childLanes = + (JSCompiler_object_inline_componentStack_2485.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2486, + JSCompiler_object_inline_digest_2483, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2487 + JSCompiler_object_inline_stack_2484 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2487.children + children: JSCompiler_object_inline_stack_2484.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2486 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2486 + ((JSCompiler_object_inline_digest_2483 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2483 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2486.push(current)); + : JSCompiler_object_inline_digest_2483.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -16017,7 +15914,6 @@ __DEV__ && workInProgressTransitions = getTransitionsForLanes(root, lanes); prepareFreshStack(root, lanes); } - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); lanes = !1; memoizedUpdaters = workInProgressRootExitStatus; @@ -16071,7 +15967,6 @@ __DEV__ && executionContext = prevExecutionContext; ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markRenderStopped(); null === workInProgress && ((workInProgressRoot = null), @@ -16106,7 +16001,6 @@ __DEV__ && root, lanes ); - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); a: do try { @@ -16236,7 +16130,6 @@ __DEV__ && ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; executionContext = prevExecutionContext; - enableDebugTracing && enableDebugTracing && groupEnd(); if (null !== workInProgress) return ( enableSchedulingProfiler && @@ -16531,25 +16424,13 @@ __DEV__ && throw Error("Should not already be working."); var finishedWork = root.finishedWork, lanes = root.finishedLanes; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c commit%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markCommitStarted && injectedProfilingHooks.markCommitStarted(lanes); if (null === finishedWork) - return ( - enableDebugTracing && enableDebugTracing && groupEnd(), - enableSchedulingProfiler && markCommitStopped(), - null - ); + return enableSchedulingProfiler && markCommitStopped(), null; 0 === lanes && error$jscomp$0( "root.finishedLanes should not be empty during a commit. This is a bug in React." @@ -16609,14 +16490,6 @@ __DEV__ && (_enabled = !!eventsEnabled), (selectionInformation = eventsEnabled = null), (root.current = finishedWork), - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c layout effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -16624,7 +16497,6 @@ __DEV__ && typeof injectedProfilingHooks.markLayoutEffectsStarted && injectedProfilingHooks.markLayoutEffectsStarted(lanes), commitLayoutEffects(finishedWork, root, lanes), - enableDebugTracing && enableDebugTracing && groupEnd(), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -16675,7 +16547,6 @@ __DEV__ && : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); flushSyncWorkAcrossRoots_impl(0, !1); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markCommitStopped(); if (enableTransitionTracing) { var prevRootTransitionCallbacks = root.transitionCallbacks; @@ -16752,14 +16623,6 @@ __DEV__ && throw Error("Cannot flush passive effects while already rendering."); isFlushingPassiveEffects = !0; didScheduleUpdateDuringPassiveEffects = !1; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c passive effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -16770,7 +16633,6 @@ __DEV__ && executionContext |= CommitContext; commitPassiveUnmountOnFiber(root.current); commitPassiveMountOnFiber(root, root.current, lanes, transitions); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -17492,12 +17354,6 @@ __DEV__ && }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= DebugTracingMode; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -23576,7 +23432,6 @@ __DEV__ && dynamicFeatureFlags.disableDefaultPropsExceptForClasses, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -23621,7 +23476,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -23659,7 +23513,7 @@ __DEV__ && NormalPriority$1 = Scheduler.unstable_NormalPriority, LowPriority = Scheduler.unstable_LowPriority, IdlePriority = Scheduler.unstable_IdlePriority, - log$2 = Scheduler.log, + log$1 = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null, @@ -23667,7 +23521,7 @@ __DEV__ && hasLoggedError = !1, isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__, clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, - log$1 = Math.log, + log = Math.log, LN2 = Math.LN2, nextTransitionLane = 128, nextRetryLane = 4194304, @@ -24562,12 +24416,6 @@ __DEV__ && emptyContextObject = {}; Object.freeze(emptyContextObject); var objectIs = "function" === typeof Object.is ? Object.is : is, - nativeConsole = console, - nativeConsoleLog = null, - pendingGroupArgs = [], - printedGroupIndex = -1, - wakeableIDs = new ("function" === typeof WeakMap ? WeakMap : Map)(), - wakeableID = 0, CapturedStacks = new WeakMap(), forkStack = [], forkStackIndex = 0, @@ -24591,7 +24439,6 @@ __DEV__ && NoMode = 0, ConcurrentMode = 1, ProfileMode = 2, - DebugTracingMode = 4, StrictLegacyMode = 8, StrictEffectsMode = 16, NoStrictPassiveEffectsMode = 64, @@ -26358,14 +26205,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & DebugTracingMode && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueReplaceState: function (inst, payload, callback) { @@ -26377,14 +26220,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & DebugTracingMode && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueForceUpdate: function (inst, callback) { @@ -26399,20 +26238,6 @@ __DEV__ && null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & DebugTracingMode && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - enableDebugTracing && - log( - "%c\u269b%c " + - callback + - " forced update %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #db2e1f; font-weight: bold;", - "" - )); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -27444,11 +27269,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-modern-c80b336d-20241214" !== isomorphicReactPackageVersion) + if ("19.1.0-www-modern-2d320563-20241215" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.1.0-www-modern-c80b336d-20241214\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-modern-2d320563-20241215\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27491,10 +27316,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-c80b336d-20241214", + version: "19.1.0-www-modern-2d320563-20241215", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-modern-2d320563-20241215" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28101,7 +27926,7 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-modern-c80b336d-20241214"; + exports.version = "19.1.0-www-modern-2d320563-20241215"; "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 a915e4675c..84c915b995 100644 --- a/compiled/facebook-www/ReactDOM-prod.classic.js +++ b/compiled/facebook-www/ReactDOM-prod.classic.js @@ -40,7 +40,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), dynamicFeatureFlags.disableLegacyContextForFunctionComponents, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -81,7 +80,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -12407,12 +12405,6 @@ function createFiberFromTypeAndProps( }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= 4; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -17282,14 +17274,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1765 = React.version; if ( - "19.1.0-www-classic-c80b336d-20241214" !== + "19.1.0-www-classic-2d320563-20241215" !== isomorphicReactPackageVersion$jscomp$inline_1765 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1765, - "19.1.0-www-classic-c80b336d-20241214" + "19.1.0-www-classic-2d320563-20241215" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17307,10 +17299,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2306 = { bundleType: 0, - version: "19.1.0-www-classic-c80b336d-20241214", + version: "19.1.0-www-classic-2d320563-20241215", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-classic-2d320563-20241215" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2307 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17675,4 +17667,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-classic-c80b336d-20241214"; +exports.version = "19.1.0-www-classic-2d320563-20241215"; diff --git a/compiled/facebook-www/ReactDOM-prod.modern.js b/compiled/facebook-www/ReactDOM-prod.modern.js index 6a27be2d75..4f5779236f 100644 --- a/compiled/facebook-www/ReactDOM-prod.modern.js +++ b/compiled/facebook-www/ReactDOM-prod.modern.js @@ -38,7 +38,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), dynamicFeatureFlags.disableDefaultPropsExceptForClasses, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -79,7 +78,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -12154,12 +12152,6 @@ function createFiberFromTypeAndProps( }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= 4; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -17013,14 +17005,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1755 = React.version; if ( - "19.1.0-www-modern-c80b336d-20241214" !== + "19.1.0-www-modern-2d320563-20241215" !== isomorphicReactPackageVersion$jscomp$inline_1755 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1755, - "19.1.0-www-modern-c80b336d-20241214" + "19.1.0-www-modern-2d320563-20241215" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17038,10 +17030,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2288 = { bundleType: 0, - version: "19.1.0-www-modern-c80b336d-20241214", + version: "19.1.0-www-modern-2d320563-20241215", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-modern-2d320563-20241215" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2289 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17406,4 +17398,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-modern-c80b336d-20241214"; +exports.version = "19.1.0-www-modern-2d320563-20241215"; diff --git a/compiled/facebook-www/ReactDOM-profiling.classic.js b/compiled/facebook-www/ReactDOM-profiling.classic.js index 4ab6923bd6..aaeb16685f 100644 --- a/compiled/facebook-www/ReactDOM-profiling.classic.js +++ b/compiled/facebook-www/ReactDOM-profiling.classic.js @@ -44,7 +44,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), dynamicFeatureFlags.disableLegacyContextForFunctionComponents, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -86,7 +85,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -13071,12 +13069,6 @@ function createFiberFromTypeAndProps( }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= 4; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -17971,14 +17963,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1858 = React.version; if ( - "19.1.0-www-classic-c80b336d-20241214" !== + "19.1.0-www-classic-2d320563-20241215" !== isomorphicReactPackageVersion$jscomp$inline_1858 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1858, - "19.1.0-www-classic-c80b336d-20241214" + "19.1.0-www-classic-2d320563-20241215" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17996,10 +17988,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_1860 = { bundleType: 0, - version: "19.1.0-www-classic-c80b336d-20241214", + version: "19.1.0-www-classic-2d320563-20241215", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-classic-2d320563-20241215" }; enableSchedulingProfiler && ((internals$jscomp$inline_1860.getLaneLabelMap = getLaneLabelMap), @@ -18367,7 +18359,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-classic-c80b336d-20241214"; +exports.version = "19.1.0-www-classic-2d320563-20241215"; "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 9e6c72d4e7..5de8268d52 100644 --- a/compiled/facebook-www/ReactDOM-profiling.modern.js +++ b/compiled/facebook-www/ReactDOM-profiling.modern.js @@ -42,7 +42,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), dynamicFeatureFlags.disableDefaultPropsExceptForClasses, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -84,7 +83,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -12817,12 +12815,6 @@ function createFiberFromTypeAndProps( }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= 4; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -17701,14 +17693,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1848 = React.version; if ( - "19.1.0-www-modern-c80b336d-20241214" !== + "19.1.0-www-modern-2d320563-20241215" !== isomorphicReactPackageVersion$jscomp$inline_1848 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1848, - "19.1.0-www-modern-c80b336d-20241214" + "19.1.0-www-modern-2d320563-20241215" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17726,10 +17718,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_1850 = { bundleType: 0, - version: "19.1.0-www-modern-c80b336d-20241214", + version: "19.1.0-www-modern-2d320563-20241215", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-modern-2d320563-20241215" }; enableSchedulingProfiler && ((internals$jscomp$inline_1850.getLaneLabelMap = getLaneLabelMap), @@ -18097,7 +18089,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-modern-c80b336d-20241214"; +exports.version = "19.1.0-www-modern-2d320563-20241215"; "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 8f2de2d259..f107fcb0c5 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.classic.js +++ b/compiled/facebook-www/ReactDOMServer-dev.classic.js @@ -5479,7 +5479,6 @@ __DEV__ && } else { switch (type) { case REACT_LEGACY_HIDDEN_TYPE: - case REACT_DEBUG_TRACING_MODE_TYPE: case REACT_STRICT_MODE_TYPE: case REACT_PROFILER_TYPE: case REACT_FRAGMENT_TYPE: @@ -7714,7 +7713,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -9158,5 +9156,5 @@ __DEV__ && 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.1.0-www-classic-c80b336d-20241214"; + exports.version = "19.1.0-www-classic-2d320563-20241215"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-dev.modern.js b/compiled/facebook-www/ReactDOMServer-dev.modern.js index 260b8ef8b0..4ff4cbb8fe 100644 --- a/compiled/facebook-www/ReactDOMServer-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServer-dev.modern.js @@ -5352,7 +5352,6 @@ __DEV__ && else { switch (type) { case REACT_LEGACY_HIDDEN_TYPE: - case REACT_DEBUG_TRACING_MODE_TYPE: case REACT_STRICT_MODE_TYPE: case REACT_PROFILER_TYPE: case REACT_FRAGMENT_TYPE: @@ -7542,7 +7541,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -8984,5 +8982,5 @@ __DEV__ && 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; - exports.version = "19.1.0-www-modern-c80b336d-20241214"; + exports.version = "19.1.0-www-modern-2d320563-20241215"; })(); diff --git a/compiled/facebook-www/ReactDOMServer-prod.classic.js b/compiled/facebook-www/ReactDOMServer-prod.classic.js index d5b6634985..92be9d654f 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.classic.js +++ b/compiled/facebook-www/ReactDOMServer-prod.classic.js @@ -78,7 +78,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -4183,7 +4182,6 @@ function renderElement(request, task, keyPath, type, props, ref) { else { switch (type) { case REACT_LEGACY_HIDDEN_TYPE: - case REACT_DEBUG_TRACING_MODE_TYPE: case REACT_STRICT_MODE_TYPE: case REACT_PROFILER_TYPE: case REACT_FRAGMENT_TYPE: @@ -5906,4 +5904,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.1.0-www-classic-c80b336d-20241214"; +exports.version = "19.1.0-www-classic-2d320563-20241215"; diff --git a/compiled/facebook-www/ReactDOMServer-prod.modern.js b/compiled/facebook-www/ReactDOMServer-prod.modern.js index d586fb5bab..66d693e62b 100644 --- a/compiled/facebook-www/ReactDOMServer-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServer-prod.modern.js @@ -76,7 +76,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -4116,7 +4115,6 @@ function renderElement(request, task, keyPath, type, props, ref) { else { switch (type) { case REACT_LEGACY_HIDDEN_TYPE: - case REACT_DEBUG_TRACING_MODE_TYPE: case REACT_STRICT_MODE_TYPE: case REACT_PROFILER_TYPE: case REACT_FRAGMENT_TYPE: @@ -5818,4 +5816,4 @@ exports.renderToString = function (children, options) { 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server' ); }; -exports.version = "19.1.0-www-modern-c80b336d-20241214"; +exports.version = "19.1.0-www-modern-2d320563-20241215"; diff --git a/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js b/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js index d75c15a692..4b08ef222c 100644 --- a/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js +++ b/compiled/facebook-www/ReactDOMServerStreaming-dev.modern.js @@ -5092,7 +5092,6 @@ __DEV__ && else { switch (type) { case REACT_LEGACY_HIDDEN_TYPE: - case REACT_DEBUG_TRACING_MODE_TYPE: case REACT_STRICT_MODE_TYPE: case REACT_PROFILER_TYPE: case REACT_FRAGMENT_TYPE: @@ -6945,7 +6944,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), diff --git a/compiled/facebook-www/ReactDOMServerStreaming-prod.modern.js b/compiled/facebook-www/ReactDOMServerStreaming-prod.modern.js index 54e627b9af..ececf75dcb 100644 --- a/compiled/facebook-www/ReactDOMServerStreaming-prod.modern.js +++ b/compiled/facebook-www/ReactDOMServerStreaming-prod.modern.js @@ -61,7 +61,6 @@ var React = require("react"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -3962,7 +3961,6 @@ function renderElement(request, task, keyPath, type, props, ref) { else { switch (type) { case REACT_LEGACY_HIDDEN_TYPE: - case REACT_DEBUG_TRACING_MODE_TYPE: case REACT_STRICT_MODE_TYPE: case REACT_PROFILER_TYPE: case REACT_FRAGMENT_TYPE: diff --git a/compiled/facebook-www/ReactDOMTesting-dev.classic.js b/compiled/facebook-www/ReactDOMTesting-dev.classic.js index bfcab47506..2ca00dbd48 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.classic.js @@ -871,7 +871,7 @@ __DEV__ && } } function setIsStrictModeForDevtools(newIsStrictMode) { - "function" === typeof log$2 && + "function" === typeof log$1 && (unstable_setDisableYieldValue(newIsStrictMode), (suppressWarning = newIsStrictMode)); if (injectedHook && "function" === typeof injectedHook.setStrictMode) @@ -929,7 +929,7 @@ __DEV__ && } function clz32Fallback(x) { x >>>= 0; - return 0 === x ? 32 : (31 - ((log$1(x) / LN2) | 0)) | 0; + return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0; } function getLabelForLane(lane) { if (enableSchedulingProfiler) { @@ -3496,100 +3496,6 @@ __DEV__ && function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } - function formatLanes(laneOrLanes) { - return "0b" + laneOrLanes.toString(2).padStart(31, "0"); - } - function group() { - for ( - var _len = arguments.length, groupArgs = Array(_len), _key = 0; - _key < _len; - _key++ - ) - groupArgs[_key] = arguments[_key]; - pendingGroupArgs.push(groupArgs); - null === nativeConsoleLog && - ((nativeConsoleLog = nativeConsole.log), (nativeConsole.log = log)); - } - function groupEnd() { - for ( - pendingGroupArgs.pop(); - printedGroupIndex >= pendingGroupArgs.length; - - ) - nativeConsole.groupEnd(), printedGroupIndex--; - 0 === pendingGroupArgs.length && - ((nativeConsole.log = nativeConsoleLog), (nativeConsoleLog = null)); - } - function log() { - if (printedGroupIndex < pendingGroupArgs.length - 1) { - for (var i = printedGroupIndex + 1; i < pendingGroupArgs.length; i++) - nativeConsole.group.apply(nativeConsole, pendingGroupArgs[i]); - printedGroupIndex = pendingGroupArgs.length - 1; - } - "function" === typeof nativeConsoleLog - ? nativeConsoleLog.apply(void 0, arguments) - : nativeConsole.log.apply(nativeConsole, arguments); - } - function getWakeableID(wakeable) { - wakeableIDs.has(wakeable) || wakeableIDs.set(wakeable, wakeableID++); - return wakeableIDs.get(wakeable); - } - function logComponentSuspended(componentName, wakeable) { - if (enableDebugTracing) { - var id = getWakeableID(wakeable), - display = wakeable.displayName || wakeable; - log( - "%c\u269b%c " + componentName + " suspended", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - wakeable.then( - function () { - log( - "%c\u269b%c " + componentName + " resolved", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - }, - function () { - log( - "%c\u269b%c " + componentName + " rejected", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - } - ); - } - } - function logRenderStarted(lanes) { - enableDebugTracing && - group( - "%c\u269b%c render%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); - } - function logStateUpdateScheduled(componentName, lane, payloadOrAction) { - enableDebugTracing && - log( - "%c\u269b%c " + - componentName + - " updated state %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #01a252; font-weight: bold;", - "", - payloadOrAction - ); - } function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { var existing = CapturedStacks.get(value); @@ -6463,7 +6369,7 @@ __DEV__ && "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()." ); JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber); - var update = { + action = { lane: JSCompiler_OptimizeArgumentsArray_p0, revertLane: 0, action: action, @@ -6472,25 +6378,26 @@ __DEV__ && next: null }; isRenderPhaseUpdate(fiber) - ? enqueueRenderPhaseUpdate(queue, update) - : ((update = enqueueConcurrentHookUpdate( + ? enqueueRenderPhaseUpdate(queue, action) + : ((action = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, JSCompiler_OptimizeArgumentsArray_p0 )), - null !== update && + null !== action && (scheduleUpdateOnFiber( - update, + action, fiber, JSCompiler_OptimizeArgumentsArray_p0 ), entangleTransitionUpdate( - update, + action, queue, JSCompiler_OptimizeArgumentsArray_p0 ))); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p0, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0); } function dispatchSetState( fiber, @@ -6509,7 +6416,8 @@ __DEV__ && action, JSCompiler_OptimizeArgumentsArray_p1 ); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p1, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1); } function dispatchSetStateInternal(fiber, queue, action, lane) { var update = { @@ -6568,7 +6476,7 @@ __DEV__ && error$jscomp$0( "An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition." ); - var update = { + action = { lane: 2, revertLane: requestTransitionLane(), action: action, @@ -6584,12 +6492,12 @@ __DEV__ && (throwIfDuringRender = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, 2 )), null !== throwIfDuringRender && scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); - markUpdateInDevTools(fiber, 2, action); + enableSchedulingProfiler && markStateUpdateScheduled(fiber, 2); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; @@ -6616,13 +6524,6 @@ __DEV__ && markRootEntangled(root, lane); } } - function markUpdateInDevTools(fiber, lane, action) { - if (enableDebugTracing && fiber.mode & DebugTracingMode) { - var name = getComponentNameFromFiber(fiber) || "Unknown"; - logStateUpdateScheduled(name, lane, action); - } - enableSchedulingProfiler && markStateUpdateScheduled(fiber, lane); - } function pushDebugInfo(debugInfo) { var previousDebugInfo = currentDebugInfo; null != debugInfo && @@ -8084,10 +7985,6 @@ __DEV__ && !0 ); isHydrating && (didSuspendOrErrorDEV = !0); - enableDebugTracing && - sourceFiber.mode & DebugTracingMode && - ((sourceFiber = getComponentNameFromFiber(sourceFiber) || "Unknown"), - logComponentSuspended(sourceFiber, value)); sourceFiber = suspenseHandlerStackCursor.current; if (null !== sourceFiber) { switch (sourceFiber.tag) { @@ -9448,32 +9345,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2528; - var JSCompiler_object_inline_stack_2529 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2525; + var JSCompiler_object_inline_stack_2526 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2530 = !1; + var JSCompiler_object_inline_componentStack_2527 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2528 = didSuspend) || - (JSCompiler_object_inline_digest_2528 = + (JSCompiler_object_inline_digest_2525 = didSuspend) || + (JSCompiler_object_inline_digest_2525 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2528 && - ((JSCompiler_object_inline_componentStack_2530 = !0), + JSCompiler_object_inline_digest_2525 && + ((JSCompiler_object_inline_componentStack_2527 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2528 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2525 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2530 + JSCompiler_object_inline_componentStack_2527 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2527 = nextHydratableInstance; + var JSCompiler_object_inline_message_2524 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2527)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2524)) { c: { - var instance = JSCompiler_object_inline_message_2527; + var instance = JSCompiler_object_inline_message_2524; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9514,46 +9411,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2527 + JSCompiler_object_inline_message_2524 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2527 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2524 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2527 && - ((JSCompiler_object_inline_message_2527 = - JSCompiler_object_inline_message_2527.dehydrated), - null !== JSCompiler_object_inline_message_2527) + null !== JSCompiler_object_inline_message_2524 && + ((JSCompiler_object_inline_message_2524 = + JSCompiler_object_inline_message_2524.dehydrated), + null !== JSCompiler_object_inline_message_2524) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2527) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2524) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2527 = - JSCompiler_object_inline_stack_2529.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2529.fallback; - if (JSCompiler_object_inline_componentStack_2530) + JSCompiler_object_inline_message_2524 = + JSCompiler_object_inline_stack_2526.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2526.fallback; + if (JSCompiler_object_inline_componentStack_2527) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2529 = + (JSCompiler_object_inline_stack_2526 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2527, + JSCompiler_object_inline_message_2524, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2530 = + (JSCompiler_object_inline_componentStack_2527 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2530.memoizedState = + (JSCompiler_object_inline_componentStack_2527.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2530.childLanes = + (JSCompiler_object_inline_componentStack_2527.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2528, + JSCompiler_object_inline_digest_2525, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9566,9 +9463,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2530.updateQueue), + JSCompiler_object_inline_componentStack_2527.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2530.updateQueue = + ? (JSCompiler_object_inline_componentStack_2527.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9576,46 +9473,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2529 + JSCompiler_object_inline_stack_2526 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2529.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2526.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2529 = + (JSCompiler_object_inline_stack_2526 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2527, + JSCompiler_object_inline_message_2524, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2530 = + (JSCompiler_object_inline_componentStack_2527 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2530.memoizedState = + (JSCompiler_object_inline_componentStack_2527.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2530.childLanes = + (JSCompiler_object_inline_componentStack_2527.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2528, + JSCompiler_object_inline_digest_2525, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2529 + JSCompiler_object_inline_stack_2526 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2527 + JSCompiler_object_inline_message_2524 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2527 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2527) + ((JSCompiler_object_inline_message_2524 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2524) ) { if (didSuspend) workInProgress.flags & 256 @@ -9632,94 +9529,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2530 = - JSCompiler_object_inline_stack_2529.fallback), - (JSCompiler_object_inline_message_2527 = workInProgress.mode), - (JSCompiler_object_inline_stack_2529 = + (JSCompiler_object_inline_componentStack_2527 = + JSCompiler_object_inline_stack_2526.fallback), + (JSCompiler_object_inline_message_2524 = workInProgress.mode), + (JSCompiler_object_inline_stack_2526 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2529.children + children: JSCompiler_object_inline_stack_2526.children }, - JSCompiler_object_inline_message_2527 + JSCompiler_object_inline_message_2524 )), - (JSCompiler_object_inline_componentStack_2530 = + (JSCompiler_object_inline_componentStack_2527 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2530, - JSCompiler_object_inline_message_2527, + JSCompiler_object_inline_componentStack_2527, + JSCompiler_object_inline_message_2524, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2530.flags |= 2), - (JSCompiler_object_inline_stack_2529.return = workInProgress), - (JSCompiler_object_inline_componentStack_2530.return = + (JSCompiler_object_inline_componentStack_2527.flags |= 2), + (JSCompiler_object_inline_stack_2526.return = workInProgress), + (JSCompiler_object_inline_componentStack_2527.return = workInProgress), - (JSCompiler_object_inline_stack_2529.sibling = - JSCompiler_object_inline_componentStack_2530), - (workInProgress.child = JSCompiler_object_inline_stack_2529), + (JSCompiler_object_inline_stack_2526.sibling = + JSCompiler_object_inline_componentStack_2527), + (workInProgress.child = JSCompiler_object_inline_stack_2526), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2529 = workInProgress.child), - (JSCompiler_object_inline_stack_2529.memoizedState = + (JSCompiler_object_inline_stack_2526 = workInProgress.child), + (JSCompiler_object_inline_stack_2526.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2529.childLanes = + (JSCompiler_object_inline_stack_2526.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2528, + JSCompiler_object_inline_digest_2525, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2530)); + JSCompiler_object_inline_componentStack_2527)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2527)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2524)) ) { - JSCompiler_object_inline_digest_2528 = - JSCompiler_object_inline_message_2527.nextSibling && - JSCompiler_object_inline_message_2527.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2528) { - JSCompiler_temp = JSCompiler_object_inline_digest_2528.dgst; - var message = JSCompiler_object_inline_digest_2528.msg; - instance = JSCompiler_object_inline_digest_2528.stck; - var componentStack = JSCompiler_object_inline_digest_2528.cstck; + JSCompiler_object_inline_digest_2525 = + JSCompiler_object_inline_message_2524.nextSibling && + JSCompiler_object_inline_message_2524.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2525) { + JSCompiler_temp = JSCompiler_object_inline_digest_2525.dgst; + var message = JSCompiler_object_inline_digest_2525.msg; + instance = JSCompiler_object_inline_digest_2525.stck; + var componentStack = JSCompiler_object_inline_digest_2525.cstck; } - JSCompiler_object_inline_message_2527 = message; - JSCompiler_object_inline_digest_2528 = JSCompiler_temp; - JSCompiler_object_inline_stack_2529 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2530 = + JSCompiler_object_inline_message_2524 = message; + JSCompiler_object_inline_digest_2525 = JSCompiler_temp; + JSCompiler_object_inline_stack_2526 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2527 = componentStack; - JSCompiler_object_inline_componentStack_2530 = - JSCompiler_object_inline_message_2527 - ? Error(JSCompiler_object_inline_message_2527) + JSCompiler_object_inline_componentStack_2527 = + JSCompiler_object_inline_message_2524 + ? Error(JSCompiler_object_inline_message_2524) : 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_2530.stack = - JSCompiler_object_inline_stack_2529 || ""; - JSCompiler_object_inline_componentStack_2530.digest = - JSCompiler_object_inline_digest_2528; - JSCompiler_object_inline_digest_2528 = + JSCompiler_object_inline_componentStack_2527.stack = + JSCompiler_object_inline_stack_2526 || ""; + JSCompiler_object_inline_componentStack_2527.digest = + JSCompiler_object_inline_digest_2525; + JSCompiler_object_inline_digest_2525 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2529 = { - value: JSCompiler_object_inline_componentStack_2530, + JSCompiler_object_inline_stack_2526 = { + value: JSCompiler_object_inline_componentStack_2527, source: null, - stack: JSCompiler_object_inline_digest_2528 + stack: JSCompiler_object_inline_digest_2525 }; - "string" === typeof JSCompiler_object_inline_digest_2528 && + "string" === typeof JSCompiler_object_inline_digest_2525 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2530, - JSCompiler_object_inline_stack_2529 + JSCompiler_object_inline_componentStack_2527, + JSCompiler_object_inline_stack_2526 ); - queueHydrationError(JSCompiler_object_inline_stack_2529); + queueHydrationError(JSCompiler_object_inline_stack_2526); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9733,44 +9630,44 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2528 = + (JSCompiler_object_inline_digest_2525 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2528) + didReceiveUpdate || JSCompiler_object_inline_digest_2525) ) { - JSCompiler_object_inline_digest_2528 = workInProgressRoot; + JSCompiler_object_inline_digest_2525 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2528 && - ((JSCompiler_object_inline_stack_2529 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2529 = - 0 !== (JSCompiler_object_inline_stack_2529 & 42) + null !== JSCompiler_object_inline_digest_2525 && + ((JSCompiler_object_inline_stack_2526 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2526 = + 0 !== (JSCompiler_object_inline_stack_2526 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2529 + JSCompiler_object_inline_stack_2526 )), - (JSCompiler_object_inline_stack_2529 = + (JSCompiler_object_inline_stack_2526 = 0 !== - (JSCompiler_object_inline_stack_2529 & - (JSCompiler_object_inline_digest_2528.suspendedLanes | + (JSCompiler_object_inline_stack_2526 & + (JSCompiler_object_inline_digest_2525.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2529), - 0 !== JSCompiler_object_inline_stack_2529 && - JSCompiler_object_inline_stack_2529 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2526), + 0 !== JSCompiler_object_inline_stack_2526 && + JSCompiler_object_inline_stack_2526 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2529), + ((prevState.retryLane = JSCompiler_object_inline_stack_2526), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2529 + JSCompiler_object_inline_stack_2526 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2528, + JSCompiler_object_inline_digest_2525, current, - JSCompiler_object_inline_stack_2529 + JSCompiler_object_inline_stack_2526 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2527.data === + JSCompiler_object_inline_message_2524.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9778,14 +9675,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2527.data === + JSCompiler_object_inline_message_2524.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2527.nextSibling + JSCompiler_object_inline_message_2524.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9803,57 +9700,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2529.children + JSCompiler_object_inline_stack_2526.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2530) + if (JSCompiler_object_inline_componentStack_2527) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2530 = - JSCompiler_object_inline_stack_2529.fallback), - (JSCompiler_object_inline_message_2527 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2527 = + JSCompiler_object_inline_stack_2526.fallback), + (JSCompiler_object_inline_message_2524 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2529 = createWorkInProgress( + (JSCompiler_object_inline_stack_2526 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2529.children + children: JSCompiler_object_inline_stack_2526.children } )), - (JSCompiler_object_inline_stack_2529.subtreeFlags = + (JSCompiler_object_inline_stack_2526.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2530 = + ? (JSCompiler_object_inline_componentStack_2527 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2530 + JSCompiler_object_inline_componentStack_2527 )) - : ((JSCompiler_object_inline_componentStack_2530 = + : ((JSCompiler_object_inline_componentStack_2527 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2530, - JSCompiler_object_inline_message_2527, + JSCompiler_object_inline_componentStack_2527, + JSCompiler_object_inline_message_2524, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2530.flags |= 2)), - (JSCompiler_object_inline_componentStack_2530.return = + (JSCompiler_object_inline_componentStack_2527.flags |= 2)), + (JSCompiler_object_inline_componentStack_2527.return = workInProgress), - (JSCompiler_object_inline_stack_2529.return = workInProgress), - (JSCompiler_object_inline_stack_2529.sibling = - JSCompiler_object_inline_componentStack_2530), - (workInProgress.child = JSCompiler_object_inline_stack_2529), - (JSCompiler_object_inline_stack_2529 = - JSCompiler_object_inline_componentStack_2530), - (JSCompiler_object_inline_componentStack_2530 = workInProgress.child), - (JSCompiler_object_inline_message_2527 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2527 - ? (JSCompiler_object_inline_message_2527 = + (JSCompiler_object_inline_stack_2526.return = workInProgress), + (JSCompiler_object_inline_stack_2526.sibling = + JSCompiler_object_inline_componentStack_2527), + (workInProgress.child = JSCompiler_object_inline_stack_2526), + (JSCompiler_object_inline_stack_2526 = + JSCompiler_object_inline_componentStack_2527), + (JSCompiler_object_inline_componentStack_2527 = workInProgress.child), + (JSCompiler_object_inline_message_2524 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2524 + ? (JSCompiler_object_inline_message_2524 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2527.cachePool), + JSCompiler_object_inline_message_2524.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9861,34 +9758,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2527 = { + (JSCompiler_object_inline_message_2524 = { baseLanes: - JSCompiler_object_inline_message_2527.baseLanes | renderLanes, + JSCompiler_object_inline_message_2524.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2530.memoizedState = - JSCompiler_object_inline_message_2527), + (JSCompiler_object_inline_componentStack_2527.memoizedState = + JSCompiler_object_inline_message_2524), enableTransitionTracing && - ((JSCompiler_object_inline_message_2527 = enableTransitionTracing + ((JSCompiler_object_inline_message_2524 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2527 && + null !== JSCompiler_object_inline_message_2524 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2530.updateQueue), + JSCompiler_object_inline_componentStack_2527.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2530.updateQueue = { - transitions: JSCompiler_object_inline_message_2527, + ? (JSCompiler_object_inline_componentStack_2527.updateQueue = { + transitions: JSCompiler_object_inline_message_2524, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2530.updateQueue = + ? (JSCompiler_object_inline_componentStack_2527.updateQueue = { - transitions: JSCompiler_object_inline_message_2527, + transitions: JSCompiler_object_inline_message_2524, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9896,32 +9793,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2527), + JSCompiler_object_inline_message_2524), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2530.childLanes = + (JSCompiler_object_inline_componentStack_2527.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2528, + JSCompiler_object_inline_digest_2525, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2529 + JSCompiler_object_inline_stack_2526 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2529.children + children: JSCompiler_object_inline_stack_2526.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2528 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2528 + ((JSCompiler_object_inline_digest_2525 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2525 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2528.push(current)); + : JSCompiler_object_inline_digest_2525.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -16441,7 +16338,6 @@ __DEV__ && workInProgressTransitions = getTransitionsForLanes(root, lanes); prepareFreshStack(root, lanes); } - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); lanes = !1; memoizedUpdaters = workInProgressRootExitStatus; @@ -16495,7 +16391,6 @@ __DEV__ && executionContext = prevExecutionContext; ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markRenderStopped(); null === workInProgress && ((workInProgressRoot = null), @@ -16530,7 +16425,6 @@ __DEV__ && root, lanes ); - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); a: do try { @@ -16660,7 +16554,6 @@ __DEV__ && ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; executionContext = prevExecutionContext; - enableDebugTracing && enableDebugTracing && groupEnd(); if (null !== workInProgress) return ( enableSchedulingProfiler && @@ -16959,25 +16852,13 @@ __DEV__ && throw Error("Should not already be working."); var finishedWork = root.finishedWork, lanes = root.finishedLanes; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c commit%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markCommitStarted && injectedProfilingHooks.markCommitStarted(lanes); if (null === finishedWork) - return ( - enableDebugTracing && enableDebugTracing && groupEnd(), - enableSchedulingProfiler && markCommitStopped(), - null - ); + return enableSchedulingProfiler && markCommitStopped(), null; 0 === lanes && error$jscomp$0( "root.finishedLanes should not be empty during a commit. This is a bug in React." @@ -17037,14 +16918,6 @@ __DEV__ && (_enabled = !!eventsEnabled), (selectionInformation = eventsEnabled = null), (root.current = finishedWork), - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c layout effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -17052,7 +16925,6 @@ __DEV__ && typeof injectedProfilingHooks.markLayoutEffectsStarted && injectedProfilingHooks.markLayoutEffectsStarted(lanes), commitLayoutEffects(finishedWork, root, lanes), - enableDebugTracing && enableDebugTracing && groupEnd(), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -17103,7 +16975,6 @@ __DEV__ && : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); flushSyncWorkAcrossRoots_impl(0, !1); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markCommitStopped(); if (enableTransitionTracing) { var prevRootTransitionCallbacks = root.transitionCallbacks; @@ -17180,14 +17051,6 @@ __DEV__ && throw Error("Cannot flush passive effects while already rendering."); isFlushingPassiveEffects = !0; didScheduleUpdateDuringPassiveEffects = !1; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c passive effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -17198,7 +17061,6 @@ __DEV__ && executionContext |= CommitContext; commitPassiveUnmountOnFiber(root.current); commitPassiveMountOnFiber(root, root.current, lanes, transitions); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -17920,12 +17782,6 @@ __DEV__ && }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= DebugTracingMode; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -24075,7 +23931,6 @@ __DEV__ && dynamicFeatureFlags.disableLegacyContextForFunctionComponents, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -24120,7 +23975,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -24158,7 +24012,7 @@ __DEV__ && NormalPriority$1 = Scheduler.unstable_NormalPriority, LowPriority = Scheduler.unstable_LowPriority, IdlePriority = Scheduler.unstable_IdlePriority, - log$2 = Scheduler.log, + log$1 = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null, @@ -24166,7 +24020,7 @@ __DEV__ && hasLoggedError = !1, isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__, clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, - log$1 = Math.log, + log = Math.log, LN2 = Math.LN2, nextTransitionLane = 128, nextRetryLane = 4194304, @@ -25110,12 +24964,6 @@ __DEV__ && didPerformWorkStackCursor = createCursor(!1), previousContext = emptyContextObject, objectIs = "function" === typeof Object.is ? Object.is : is, - nativeConsole = console, - nativeConsoleLog = null, - pendingGroupArgs = [], - printedGroupIndex = -1, - wakeableIDs = new ("function" === typeof WeakMap ? WeakMap : Map)(), - wakeableID = 0, CapturedStacks = new WeakMap(), forkStack = [], forkStackIndex = 0, @@ -25139,7 +24987,6 @@ __DEV__ && NoMode = 0, ConcurrentMode = 1, ProfileMode = 2, - DebugTracingMode = 4, StrictLegacyMode = 8, StrictEffectsMode = 16, NoStrictPassiveEffectsMode = 64, @@ -26907,14 +26754,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & DebugTracingMode && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueReplaceState: function (inst, payload, callback) { @@ -26926,14 +26769,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & DebugTracingMode && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueForceUpdate: function (inst, callback) { @@ -26948,20 +26787,6 @@ __DEV__ && null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & DebugTracingMode && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - enableDebugTracing && - log( - "%c\u269b%c " + - callback + - " forced update %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #db2e1f; font-weight: bold;", - "" - )); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -27999,11 +27824,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-classic-c80b336d-20241214" !== isomorphicReactPackageVersion) + if ("19.1.0-www-classic-2d320563-20241215" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.1.0-www-classic-c80b336d-20241214\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-classic-2d320563-20241215\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -28046,10 +27871,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-c80b336d-20241214", + version: "19.1.0-www-classic-2d320563-20241215", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-classic-2d320563-20241215" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28822,5 +28647,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-classic-c80b336d-20241214"; + exports.version = "19.1.0-www-classic-2d320563-20241215"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-dev.modern.js b/compiled/facebook-www/ReactDOMTesting-dev.modern.js index 1246a27dcb..136be2805b 100644 --- a/compiled/facebook-www/ReactDOMTesting-dev.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-dev.modern.js @@ -871,7 +871,7 @@ __DEV__ && } } function setIsStrictModeForDevtools(newIsStrictMode) { - "function" === typeof log$2 && + "function" === typeof log$1 && (unstable_setDisableYieldValue(newIsStrictMode), (suppressWarning = newIsStrictMode)); if (injectedHook && "function" === typeof injectedHook.setStrictMode) @@ -929,7 +929,7 @@ __DEV__ && } function clz32Fallback(x) { x >>>= 0; - return 0 === x ? 32 : (31 - ((log$1(x) / LN2) | 0)) | 0; + return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0; } function getLabelForLane(lane) { if (enableSchedulingProfiler) { @@ -3388,100 +3388,6 @@ __DEV__ && function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } - function formatLanes(laneOrLanes) { - return "0b" + laneOrLanes.toString(2).padStart(31, "0"); - } - function group() { - for ( - var _len = arguments.length, groupArgs = Array(_len), _key = 0; - _key < _len; - _key++ - ) - groupArgs[_key] = arguments[_key]; - pendingGroupArgs.push(groupArgs); - null === nativeConsoleLog && - ((nativeConsoleLog = nativeConsole.log), (nativeConsole.log = log)); - } - function groupEnd() { - for ( - pendingGroupArgs.pop(); - printedGroupIndex >= pendingGroupArgs.length; - - ) - nativeConsole.groupEnd(), printedGroupIndex--; - 0 === pendingGroupArgs.length && - ((nativeConsole.log = nativeConsoleLog), (nativeConsoleLog = null)); - } - function log() { - if (printedGroupIndex < pendingGroupArgs.length - 1) { - for (var i = printedGroupIndex + 1; i < pendingGroupArgs.length; i++) - nativeConsole.group.apply(nativeConsole, pendingGroupArgs[i]); - printedGroupIndex = pendingGroupArgs.length - 1; - } - "function" === typeof nativeConsoleLog - ? nativeConsoleLog.apply(void 0, arguments) - : nativeConsole.log.apply(nativeConsole, arguments); - } - function getWakeableID(wakeable) { - wakeableIDs.has(wakeable) || wakeableIDs.set(wakeable, wakeableID++); - return wakeableIDs.get(wakeable); - } - function logComponentSuspended(componentName, wakeable) { - if (enableDebugTracing) { - var id = getWakeableID(wakeable), - display = wakeable.displayName || wakeable; - log( - "%c\u269b%c " + componentName + " suspended", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - wakeable.then( - function () { - log( - "%c\u269b%c " + componentName + " resolved", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - }, - function () { - log( - "%c\u269b%c " + componentName + " rejected", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - } - ); - } - } - function logRenderStarted(lanes) { - enableDebugTracing && - group( - "%c\u269b%c render%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); - } - function logStateUpdateScheduled(componentName, lane, payloadOrAction) { - enableDebugTracing && - log( - "%c\u269b%c " + - componentName + - " updated state %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #01a252; font-weight: bold;", - "", - payloadOrAction - ); - } function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { var existing = CapturedStacks.get(value); @@ -6350,7 +6256,7 @@ __DEV__ && "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()." ); JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber); - var update = { + action = { lane: JSCompiler_OptimizeArgumentsArray_p0, revertLane: 0, action: action, @@ -6359,25 +6265,26 @@ __DEV__ && next: null }; isRenderPhaseUpdate(fiber) - ? enqueueRenderPhaseUpdate(queue, update) - : ((update = enqueueConcurrentHookUpdate( + ? enqueueRenderPhaseUpdate(queue, action) + : ((action = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, JSCompiler_OptimizeArgumentsArray_p0 )), - null !== update && + null !== action && (scheduleUpdateOnFiber( - update, + action, fiber, JSCompiler_OptimizeArgumentsArray_p0 ), entangleTransitionUpdate( - update, + action, queue, JSCompiler_OptimizeArgumentsArray_p0 ))); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p0, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0); } function dispatchSetState( fiber, @@ -6396,7 +6303,8 @@ __DEV__ && action, JSCompiler_OptimizeArgumentsArray_p1 ); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p1, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1); } function dispatchSetStateInternal(fiber, queue, action, lane) { var update = { @@ -6455,7 +6363,7 @@ __DEV__ && error$jscomp$0( "An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition." ); - var update = { + action = { lane: 2, revertLane: requestTransitionLane(), action: action, @@ -6471,12 +6379,12 @@ __DEV__ && (throwIfDuringRender = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, 2 )), null !== throwIfDuringRender && scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); - markUpdateInDevTools(fiber, 2, action); + enableSchedulingProfiler && markStateUpdateScheduled(fiber, 2); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; @@ -6503,13 +6411,6 @@ __DEV__ && markRootEntangled(root, lane); } } - function markUpdateInDevTools(fiber, lane, action) { - if (enableDebugTracing && fiber.mode & DebugTracingMode) { - var name = getComponentNameFromFiber(fiber) || "Unknown"; - logStateUpdateScheduled(name, lane, action); - } - enableSchedulingProfiler && markStateUpdateScheduled(fiber, lane); - } function pushDebugInfo(debugInfo) { var previousDebugInfo = currentDebugInfo; null != debugInfo && @@ -7971,10 +7872,6 @@ __DEV__ && !0 ); isHydrating && (didSuspendOrErrorDEV = !0); - enableDebugTracing && - sourceFiber.mode & DebugTracingMode && - ((sourceFiber = getComponentNameFromFiber(sourceFiber) || "Unknown"), - logComponentSuspended(sourceFiber, value)); sourceFiber = suspenseHandlerStackCursor.current; if (null !== sourceFiber) { switch (sourceFiber.tag) { @@ -9260,32 +9157,32 @@ __DEV__ && return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2520; - var JSCompiler_object_inline_stack_2521 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2517; + var JSCompiler_object_inline_stack_2518 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2522 = !1; + var JSCompiler_object_inline_componentStack_2519 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2520 = didSuspend) || - (JSCompiler_object_inline_digest_2520 = + (JSCompiler_object_inline_digest_2517 = didSuspend) || + (JSCompiler_object_inline_digest_2517 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2520 && - ((JSCompiler_object_inline_componentStack_2522 = !0), + JSCompiler_object_inline_digest_2517 && + ((JSCompiler_object_inline_componentStack_2519 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2520 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2517 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2522 + JSCompiler_object_inline_componentStack_2519 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2519 = nextHydratableInstance; + var JSCompiler_object_inline_message_2516 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2519)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2516)) { c: { - var instance = JSCompiler_object_inline_message_2519; + var instance = JSCompiler_object_inline_message_2516; for ( JSCompiler_temp = rootOrSingletonContext; instance.nodeType !== COMMENT_NODE; @@ -9326,46 +9223,46 @@ __DEV__ && JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2519 + JSCompiler_object_inline_message_2516 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2519 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2516 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2519 && - ((JSCompiler_object_inline_message_2519 = - JSCompiler_object_inline_message_2519.dehydrated), - null !== JSCompiler_object_inline_message_2519) + null !== JSCompiler_object_inline_message_2516 && + ((JSCompiler_object_inline_message_2516 = + JSCompiler_object_inline_message_2516.dehydrated), + null !== JSCompiler_object_inline_message_2516) ) return ( - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2519) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2516) ? (workInProgress.lanes = 32) : (workInProgress.lanes = 536870912), null ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2519 = - JSCompiler_object_inline_stack_2521.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2521.fallback; - if (JSCompiler_object_inline_componentStack_2522) + JSCompiler_object_inline_message_2516 = + JSCompiler_object_inline_stack_2518.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2518.fallback; + if (JSCompiler_object_inline_componentStack_2519) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2521 = + (JSCompiler_object_inline_stack_2518 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2519, + JSCompiler_object_inline_message_2516, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2522 = + (JSCompiler_object_inline_componentStack_2519 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2522.memoizedState = + (JSCompiler_object_inline_componentStack_2519.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2522.childLanes = + (JSCompiler_object_inline_componentStack_2519.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2520, + JSCompiler_object_inline_digest_2517, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), @@ -9378,9 +9275,9 @@ __DEV__ && ? markerInstanceStack.current : null), (renderLanes = - JSCompiler_object_inline_componentStack_2522.updateQueue), + JSCompiler_object_inline_componentStack_2519.updateQueue), null === renderLanes - ? (JSCompiler_object_inline_componentStack_2522.updateQueue = + ? (JSCompiler_object_inline_componentStack_2519.updateQueue = { transitions: workInProgress, markerInstances: current, @@ -9388,46 +9285,46 @@ __DEV__ && }) : ((renderLanes.transitions = workInProgress), (renderLanes.markerInstances = current)))), - JSCompiler_object_inline_stack_2521 + JSCompiler_object_inline_stack_2518 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2521.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2518.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2521 = + (JSCompiler_object_inline_stack_2518 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_message_2519, + JSCompiler_object_inline_message_2516, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_componentStack_2522 = + (JSCompiler_object_inline_componentStack_2519 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2522.memoizedState = + (JSCompiler_object_inline_componentStack_2519.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2522.childLanes = + (JSCompiler_object_inline_componentStack_2519.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2520, + JSCompiler_object_inline_digest_2517, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2521 + JSCompiler_object_inline_stack_2518 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2519 + JSCompiler_object_inline_message_2516 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2519 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2519) + ((JSCompiler_object_inline_message_2516 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2516) ) { if (didSuspend) workInProgress.flags & 256 @@ -9444,94 +9341,94 @@ __DEV__ && (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2522 = - JSCompiler_object_inline_stack_2521.fallback), - (JSCompiler_object_inline_message_2519 = workInProgress.mode), - (JSCompiler_object_inline_stack_2521 = + (JSCompiler_object_inline_componentStack_2519 = + JSCompiler_object_inline_stack_2518.fallback), + (JSCompiler_object_inline_message_2516 = workInProgress.mode), + (JSCompiler_object_inline_stack_2518 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2521.children + children: JSCompiler_object_inline_stack_2518.children }, - JSCompiler_object_inline_message_2519 + JSCompiler_object_inline_message_2516 )), - (JSCompiler_object_inline_componentStack_2522 = + (JSCompiler_object_inline_componentStack_2519 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2522, - JSCompiler_object_inline_message_2519, + JSCompiler_object_inline_componentStack_2519, + JSCompiler_object_inline_message_2516, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2522.flags |= 2), - (JSCompiler_object_inline_stack_2521.return = workInProgress), - (JSCompiler_object_inline_componentStack_2522.return = + (JSCompiler_object_inline_componentStack_2519.flags |= 2), + (JSCompiler_object_inline_stack_2518.return = workInProgress), + (JSCompiler_object_inline_componentStack_2519.return = workInProgress), - (JSCompiler_object_inline_stack_2521.sibling = - JSCompiler_object_inline_componentStack_2522), - (workInProgress.child = JSCompiler_object_inline_stack_2521), + (JSCompiler_object_inline_stack_2518.sibling = + JSCompiler_object_inline_componentStack_2519), + (workInProgress.child = JSCompiler_object_inline_stack_2518), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2521 = workInProgress.child), - (JSCompiler_object_inline_stack_2521.memoizedState = + (JSCompiler_object_inline_stack_2518 = workInProgress.child), + (JSCompiler_object_inline_stack_2518.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2521.childLanes = + (JSCompiler_object_inline_stack_2518.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2520, + JSCompiler_object_inline_digest_2517, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2522)); + JSCompiler_object_inline_componentStack_2519)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && error$jscomp$0( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - isSuspenseInstanceFallback(JSCompiler_object_inline_message_2519)) + isSuspenseInstanceFallback(JSCompiler_object_inline_message_2516)) ) { - JSCompiler_object_inline_digest_2520 = - JSCompiler_object_inline_message_2519.nextSibling && - JSCompiler_object_inline_message_2519.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2520) { - JSCompiler_temp = JSCompiler_object_inline_digest_2520.dgst; - var message = JSCompiler_object_inline_digest_2520.msg; - instance = JSCompiler_object_inline_digest_2520.stck; - var componentStack = JSCompiler_object_inline_digest_2520.cstck; + JSCompiler_object_inline_digest_2517 = + JSCompiler_object_inline_message_2516.nextSibling && + JSCompiler_object_inline_message_2516.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2517) { + JSCompiler_temp = JSCompiler_object_inline_digest_2517.dgst; + var message = JSCompiler_object_inline_digest_2517.msg; + instance = JSCompiler_object_inline_digest_2517.stck; + var componentStack = JSCompiler_object_inline_digest_2517.cstck; } - JSCompiler_object_inline_message_2519 = message; - JSCompiler_object_inline_digest_2520 = JSCompiler_temp; - JSCompiler_object_inline_stack_2521 = instance; - JSCompiler_temp = JSCompiler_object_inline_componentStack_2522 = + JSCompiler_object_inline_message_2516 = message; + JSCompiler_object_inline_digest_2517 = JSCompiler_temp; + JSCompiler_object_inline_stack_2518 = instance; + JSCompiler_temp = JSCompiler_object_inline_componentStack_2519 = componentStack; - JSCompiler_object_inline_componentStack_2522 = - JSCompiler_object_inline_message_2519 - ? Error(JSCompiler_object_inline_message_2519) + JSCompiler_object_inline_componentStack_2519 = + JSCompiler_object_inline_message_2516 + ? Error(JSCompiler_object_inline_message_2516) : 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_2522.stack = - JSCompiler_object_inline_stack_2521 || ""; - JSCompiler_object_inline_componentStack_2522.digest = - JSCompiler_object_inline_digest_2520; - JSCompiler_object_inline_digest_2520 = + JSCompiler_object_inline_componentStack_2519.stack = + JSCompiler_object_inline_stack_2518 || ""; + JSCompiler_object_inline_componentStack_2519.digest = + JSCompiler_object_inline_digest_2517; + JSCompiler_object_inline_digest_2517 = void 0 === JSCompiler_temp ? null : JSCompiler_temp; - JSCompiler_object_inline_stack_2521 = { - value: JSCompiler_object_inline_componentStack_2522, + JSCompiler_object_inline_stack_2518 = { + value: JSCompiler_object_inline_componentStack_2519, source: null, - stack: JSCompiler_object_inline_digest_2520 + stack: JSCompiler_object_inline_digest_2517 }; - "string" === typeof JSCompiler_object_inline_digest_2520 && + "string" === typeof JSCompiler_object_inline_digest_2517 && CapturedStacks.set( - JSCompiler_object_inline_componentStack_2522, - JSCompiler_object_inline_stack_2521 + JSCompiler_object_inline_componentStack_2519, + JSCompiler_object_inline_stack_2518 ); - queueHydrationError(JSCompiler_object_inline_stack_2521); + queueHydrationError(JSCompiler_object_inline_stack_2518); workInProgress = retrySuspenseComponentWithoutHydrating( current, workInProgress, @@ -9545,44 +9442,44 @@ __DEV__ && renderLanes, !1 ), - (JSCompiler_object_inline_digest_2520 = + (JSCompiler_object_inline_digest_2517 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2520) + didReceiveUpdate || JSCompiler_object_inline_digest_2517) ) { - JSCompiler_object_inline_digest_2520 = workInProgressRoot; + JSCompiler_object_inline_digest_2517 = workInProgressRoot; if ( - null !== JSCompiler_object_inline_digest_2520 && - ((JSCompiler_object_inline_stack_2521 = renderLanes & -renderLanes), - (JSCompiler_object_inline_stack_2521 = - 0 !== (JSCompiler_object_inline_stack_2521 & 42) + null !== JSCompiler_object_inline_digest_2517 && + ((JSCompiler_object_inline_stack_2518 = renderLanes & -renderLanes), + (JSCompiler_object_inline_stack_2518 = + 0 !== (JSCompiler_object_inline_stack_2518 & 42) ? 1 : getBumpedLaneForHydrationByLane( - JSCompiler_object_inline_stack_2521 + JSCompiler_object_inline_stack_2518 )), - (JSCompiler_object_inline_stack_2521 = + (JSCompiler_object_inline_stack_2518 = 0 !== - (JSCompiler_object_inline_stack_2521 & - (JSCompiler_object_inline_digest_2520.suspendedLanes | + (JSCompiler_object_inline_stack_2518 & + (JSCompiler_object_inline_digest_2517.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2521), - 0 !== JSCompiler_object_inline_stack_2521 && - JSCompiler_object_inline_stack_2521 !== prevState.retryLane) + : JSCompiler_object_inline_stack_2518), + 0 !== JSCompiler_object_inline_stack_2518 && + JSCompiler_object_inline_stack_2518 !== prevState.retryLane) ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2521), + ((prevState.retryLane = JSCompiler_object_inline_stack_2518), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2521 + JSCompiler_object_inline_stack_2518 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2520, + JSCompiler_object_inline_digest_2517, current, - JSCompiler_object_inline_stack_2521 + JSCompiler_object_inline_stack_2518 ), SelectiveHydrationException) ); - JSCompiler_object_inline_message_2519.data === + JSCompiler_object_inline_message_2516.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9590,14 +9487,14 @@ __DEV__ && renderLanes ); } else - JSCompiler_object_inline_message_2519.data === + JSCompiler_object_inline_message_2516.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 192), (workInProgress.child = current.child), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2519.nextSibling + JSCompiler_object_inline_message_2516.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9615,57 +9512,57 @@ __DEV__ && (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2521.children + JSCompiler_object_inline_stack_2518.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2522) + if (JSCompiler_object_inline_componentStack_2519) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2522 = - JSCompiler_object_inline_stack_2521.fallback), - (JSCompiler_object_inline_message_2519 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2519 = + JSCompiler_object_inline_stack_2518.fallback), + (JSCompiler_object_inline_message_2516 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2521 = createWorkInProgress( + (JSCompiler_object_inline_stack_2518 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2521.children + children: JSCompiler_object_inline_stack_2518.children } )), - (JSCompiler_object_inline_stack_2521.subtreeFlags = + (JSCompiler_object_inline_stack_2518.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2522 = + ? (JSCompiler_object_inline_componentStack_2519 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2522 + JSCompiler_object_inline_componentStack_2519 )) - : ((JSCompiler_object_inline_componentStack_2522 = + : ((JSCompiler_object_inline_componentStack_2519 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2522, - JSCompiler_object_inline_message_2519, + JSCompiler_object_inline_componentStack_2519, + JSCompiler_object_inline_message_2516, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2522.flags |= 2)), - (JSCompiler_object_inline_componentStack_2522.return = + (JSCompiler_object_inline_componentStack_2519.flags |= 2)), + (JSCompiler_object_inline_componentStack_2519.return = workInProgress), - (JSCompiler_object_inline_stack_2521.return = workInProgress), - (JSCompiler_object_inline_stack_2521.sibling = - JSCompiler_object_inline_componentStack_2522), - (workInProgress.child = JSCompiler_object_inline_stack_2521), - (JSCompiler_object_inline_stack_2521 = - JSCompiler_object_inline_componentStack_2522), - (JSCompiler_object_inline_componentStack_2522 = workInProgress.child), - (JSCompiler_object_inline_message_2519 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2519 - ? (JSCompiler_object_inline_message_2519 = + (JSCompiler_object_inline_stack_2518.return = workInProgress), + (JSCompiler_object_inline_stack_2518.sibling = + JSCompiler_object_inline_componentStack_2519), + (workInProgress.child = JSCompiler_object_inline_stack_2518), + (JSCompiler_object_inline_stack_2518 = + JSCompiler_object_inline_componentStack_2519), + (JSCompiler_object_inline_componentStack_2519 = workInProgress.child), + (JSCompiler_object_inline_message_2516 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2516 + ? (JSCompiler_object_inline_message_2516 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2519.cachePool), + JSCompiler_object_inline_message_2516.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9673,34 +9570,34 @@ __DEV__ && ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2519 = { + (JSCompiler_object_inline_message_2516 = { baseLanes: - JSCompiler_object_inline_message_2519.baseLanes | renderLanes, + JSCompiler_object_inline_message_2516.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2522.memoizedState = - JSCompiler_object_inline_message_2519), + (JSCompiler_object_inline_componentStack_2519.memoizedState = + JSCompiler_object_inline_message_2516), enableTransitionTracing && - ((JSCompiler_object_inline_message_2519 = enableTransitionTracing + ((JSCompiler_object_inline_message_2516 = enableTransitionTracing ? transitionStack.current : null), - null !== JSCompiler_object_inline_message_2519 && + null !== JSCompiler_object_inline_message_2516 && ((JSCompiler_temp = enableTransitionTracing ? markerInstanceStack.current : null), (instance = - JSCompiler_object_inline_componentStack_2522.updateQueue), + JSCompiler_object_inline_componentStack_2519.updateQueue), (componentStack = current.updateQueue), null === instance - ? (JSCompiler_object_inline_componentStack_2522.updateQueue = { - transitions: JSCompiler_object_inline_message_2519, + ? (JSCompiler_object_inline_componentStack_2519.updateQueue = { + transitions: JSCompiler_object_inline_message_2516, markerInstances: JSCompiler_temp, retryQueue: null }) : instance === componentStack - ? (JSCompiler_object_inline_componentStack_2522.updateQueue = + ? (JSCompiler_object_inline_componentStack_2519.updateQueue = { - transitions: JSCompiler_object_inline_message_2519, + transitions: JSCompiler_object_inline_message_2516, markerInstances: JSCompiler_temp, retryQueue: null !== componentStack @@ -9708,32 +9605,32 @@ __DEV__ && : null }) : ((instance.transitions = - JSCompiler_object_inline_message_2519), + JSCompiler_object_inline_message_2516), (instance.markerInstances = JSCompiler_temp)))), - (JSCompiler_object_inline_componentStack_2522.childLanes = + (JSCompiler_object_inline_componentStack_2519.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2520, + JSCompiler_object_inline_digest_2517, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2521 + JSCompiler_object_inline_stack_2518 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2521.children + children: JSCompiler_object_inline_stack_2518.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2520 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2520 + ((JSCompiler_object_inline_digest_2517 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2517 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2520.push(current)); + : JSCompiler_object_inline_digest_2517.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -16240,7 +16137,6 @@ __DEV__ && workInProgressTransitions = getTransitionsForLanes(root, lanes); prepareFreshStack(root, lanes); } - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); lanes = !1; memoizedUpdaters = workInProgressRootExitStatus; @@ -16294,7 +16190,6 @@ __DEV__ && executionContext = prevExecutionContext; ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markRenderStopped(); null === workInProgress && ((workInProgressRoot = null), @@ -16329,7 +16224,6 @@ __DEV__ && root, lanes ); - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); a: do try { @@ -16459,7 +16353,6 @@ __DEV__ && ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; executionContext = prevExecutionContext; - enableDebugTracing && enableDebugTracing && groupEnd(); if (null !== workInProgress) return ( enableSchedulingProfiler && @@ -16754,25 +16647,13 @@ __DEV__ && throw Error("Should not already be working."); var finishedWork = root.finishedWork, lanes = root.finishedLanes; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c commit%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markCommitStarted && injectedProfilingHooks.markCommitStarted(lanes); if (null === finishedWork) - return ( - enableDebugTracing && enableDebugTracing && groupEnd(), - enableSchedulingProfiler && markCommitStopped(), - null - ); + return enableSchedulingProfiler && markCommitStopped(), null; 0 === lanes && error$jscomp$0( "root.finishedLanes should not be empty during a commit. This is a bug in React." @@ -16832,14 +16713,6 @@ __DEV__ && (_enabled = !!eventsEnabled), (selectionInformation = eventsEnabled = null), (root.current = finishedWork), - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c layout effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -16847,7 +16720,6 @@ __DEV__ && typeof injectedProfilingHooks.markLayoutEffectsStarted && injectedProfilingHooks.markLayoutEffectsStarted(lanes), commitLayoutEffects(finishedWork, root, lanes), - enableDebugTracing && enableDebugTracing && groupEnd(), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -16898,7 +16770,6 @@ __DEV__ && : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); flushSyncWorkAcrossRoots_impl(0, !1); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markCommitStopped(); if (enableTransitionTracing) { var prevRootTransitionCallbacks = root.transitionCallbacks; @@ -16975,14 +16846,6 @@ __DEV__ && throw Error("Cannot flush passive effects while already rendering."); isFlushingPassiveEffects = !0; didScheduleUpdateDuringPassiveEffects = !1; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c passive effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -16993,7 +16856,6 @@ __DEV__ && executionContext |= CommitContext; commitPassiveUnmountOnFiber(root.current); commitPassiveMountOnFiber(root, root.current, lanes, transitions); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -17715,12 +17577,6 @@ __DEV__ && }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= DebugTracingMode; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -23860,7 +23716,6 @@ __DEV__ && dynamicFeatureFlags.disableDefaultPropsExceptForClasses, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -23905,7 +23760,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -23943,7 +23797,7 @@ __DEV__ && NormalPriority$1 = Scheduler.unstable_NormalPriority, LowPriority = Scheduler.unstable_LowPriority, IdlePriority = Scheduler.unstable_IdlePriority, - log$2 = Scheduler.log, + log$1 = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null, @@ -23951,7 +23805,7 @@ __DEV__ && hasLoggedError = !1, isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__, clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, - log$1 = Math.log, + log = Math.log, LN2 = Math.LN2, nextTransitionLane = 128, nextRetryLane = 4194304, @@ -24891,12 +24745,6 @@ __DEV__ && emptyContextObject = {}; Object.freeze(emptyContextObject); var objectIs = "function" === typeof Object.is ? Object.is : is, - nativeConsole = console, - nativeConsoleLog = null, - pendingGroupArgs = [], - printedGroupIndex = -1, - wakeableIDs = new ("function" === typeof WeakMap ? WeakMap : Map)(), - wakeableID = 0, CapturedStacks = new WeakMap(), forkStack = [], forkStackIndex = 0, @@ -24920,7 +24768,6 @@ __DEV__ && NoMode = 0, ConcurrentMode = 1, ProfileMode = 2, - DebugTracingMode = 4, StrictLegacyMode = 8, StrictEffectsMode = 16, NoStrictPassiveEffectsMode = 64, @@ -26687,14 +26534,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & DebugTracingMode && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueReplaceState: function (inst, payload, callback) { @@ -26706,14 +26549,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & DebugTracingMode && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueForceUpdate: function (inst, callback) { @@ -26728,20 +26567,6 @@ __DEV__ && null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & DebugTracingMode && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - enableDebugTracing && - log( - "%c\u269b%c " + - callback + - " forced update %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #db2e1f; font-weight: bold;", - "" - )); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -27778,11 +27603,11 @@ __DEV__ && return_targetInst = null; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.1.0-www-modern-c80b336d-20241214" !== isomorphicReactPackageVersion) + if ("19.1.0-www-modern-2d320563-20241215" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.1.0-www-modern-c80b336d-20241214\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.1.0-www-modern-2d320563-20241215\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -27825,10 +27650,10 @@ __DEV__ && !(function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-c80b336d-20241214", + version: "19.1.0-www-modern-2d320563-20241215", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-modern-2d320563-20241215" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -28601,5 +28426,5 @@ __DEV__ && exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.1.0-www-modern-c80b336d-20241214"; + exports.version = "19.1.0-www-modern-2d320563-20241215"; })(); diff --git a/compiled/facebook-www/ReactDOMTesting-prod.classic.js b/compiled/facebook-www/ReactDOMTesting-prod.classic.js index 9fea6a9019..9313b5f9c9 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.classic.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.classic.js @@ -40,7 +40,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), dynamicFeatureFlags.disableLegacyContextForFunctionComponents, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -81,7 +80,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -12679,12 +12677,6 @@ function createFiberFromTypeAndProps( }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= 4; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -17611,14 +17603,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1794 = React.version; if ( - "19.1.0-www-classic-c80b336d-20241214" !== + "19.1.0-www-classic-2d320563-20241215" !== isomorphicReactPackageVersion$jscomp$inline_1794 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1794, - "19.1.0-www-classic-c80b336d-20241214" + "19.1.0-www-classic-2d320563-20241215" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17636,10 +17628,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2340 = { bundleType: 0, - version: "19.1.0-www-classic-c80b336d-20241214", + version: "19.1.0-www-classic-2d320563-20241215", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-classic-2d320563-20241215" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2341 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -18155,4 +18147,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-classic-c80b336d-20241214"; +exports.version = "19.1.0-www-classic-2d320563-20241215"; diff --git a/compiled/facebook-www/ReactDOMTesting-prod.modern.js b/compiled/facebook-www/ReactDOMTesting-prod.modern.js index c447972066..9a0e607add 100644 --- a/compiled/facebook-www/ReactDOMTesting-prod.modern.js +++ b/compiled/facebook-www/ReactDOMTesting-prod.modern.js @@ -38,7 +38,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), dynamicFeatureFlags.disableDefaultPropsExceptForClasses, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -79,7 +78,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -12426,12 +12424,6 @@ function createFiberFromTypeAndProps( }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= 4; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -17342,14 +17334,14 @@ function getCrossOriginStringAs(as, input) { } var isomorphicReactPackageVersion$jscomp$inline_1784 = React.version; if ( - "19.1.0-www-modern-c80b336d-20241214" !== + "19.1.0-www-modern-2d320563-20241215" !== isomorphicReactPackageVersion$jscomp$inline_1784 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_1784, - "19.1.0-www-modern-c80b336d-20241214" + "19.1.0-www-modern-2d320563-20241215" ) ); Internals.findDOMNode = function (componentOrElement) { @@ -17367,10 +17359,10 @@ Internals.Events = [ ]; var internals$jscomp$inline_2322 = { bundleType: 0, - version: "19.1.0-www-modern-c80b336d-20241214", + version: "19.1.0-www-modern-2d320563-20241215", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-modern-2d320563-20241215" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { var hook$jscomp$inline_2323 = __REACT_DEVTOOLS_GLOBAL_HOOK__; @@ -17886,4 +17878,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.1.0-www-modern-c80b336d-20241214"; +exports.version = "19.1.0-www-modern-2d320563-20241215"; diff --git a/compiled/facebook-www/ReactIs-dev.classic.js b/compiled/facebook-www/ReactIs-dev.classic.js index a69db2c2c4..ccf9e1ed47 100644 --- a/compiled/facebook-www/ReactIs-dev.classic.js +++ b/compiled/facebook-www/ReactIs-dev.classic.js @@ -46,7 +46,6 @@ __DEV__ && } } var dynamicFeatureFlags = require("ReactFeatureFlags"), - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableRenderableContext = dynamicFeatureFlags.enableRenderableContext, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing; dynamicFeatureFlags = dynamicFeatureFlags.renameElementSymbol; @@ -67,7 +66,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -137,7 +135,6 @@ __DEV__ && "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || - (enableDebugTracing && type === REACT_DEBUG_TRACING_MODE_TYPE) || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || diff --git a/compiled/facebook-www/ReactIs-dev.modern.js b/compiled/facebook-www/ReactIs-dev.modern.js index a69db2c2c4..ccf9e1ed47 100644 --- a/compiled/facebook-www/ReactIs-dev.modern.js +++ b/compiled/facebook-www/ReactIs-dev.modern.js @@ -46,7 +46,6 @@ __DEV__ && } } var dynamicFeatureFlags = require("ReactFeatureFlags"), - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableRenderableContext = dynamicFeatureFlags.enableRenderableContext, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing; dynamicFeatureFlags = dynamicFeatureFlags.renameElementSymbol; @@ -67,7 +66,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -137,7 +135,6 @@ __DEV__ && "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || - (enableDebugTracing && type === REACT_DEBUG_TRACING_MODE_TYPE) || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || diff --git a/compiled/facebook-www/ReactIs-prod.classic.js b/compiled/facebook-www/ReactIs-prod.classic.js index 206aaf1352..97b2aba5cd 100644 --- a/compiled/facebook-www/ReactIs-prod.classic.js +++ b/compiled/facebook-www/ReactIs-prod.classic.js @@ -12,7 +12,6 @@ "use strict"; var dynamicFeatureFlags = require("ReactFeatureFlags"), - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableRenderableContext = dynamicFeatureFlags.enableRenderableContext, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, renameElementSymbol = dynamicFeatureFlags.renameElementSymbol, @@ -33,7 +32,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -136,7 +134,6 @@ exports.isValidElementType = function (type) { "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || - (enableDebugTracing && type === REACT_DEBUG_TRACING_MODE_TYPE) || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || diff --git a/compiled/facebook-www/ReactIs-prod.modern.js b/compiled/facebook-www/ReactIs-prod.modern.js index 206aaf1352..97b2aba5cd 100644 --- a/compiled/facebook-www/ReactIs-prod.modern.js +++ b/compiled/facebook-www/ReactIs-prod.modern.js @@ -12,7 +12,6 @@ "use strict"; var dynamicFeatureFlags = require("ReactFeatureFlags"), - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableRenderableContext = dynamicFeatureFlags.enableRenderableContext, enableTransitionTracing = dynamicFeatureFlags.enableTransitionTracing, renameElementSymbol = dynamicFeatureFlags.renameElementSymbol, @@ -33,7 +32,6 @@ var dynamicFeatureFlags = require("ReactFeatureFlags"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -136,7 +134,6 @@ exports.isValidElementType = function (type) { "function" === typeof type || type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || - (enableDebugTracing && type === REACT_DEBUG_TRACING_MODE_TYPE) || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || diff --git a/compiled/facebook-www/ReactReconciler-dev.classic.js b/compiled/facebook-www/ReactReconciler-dev.classic.js index 0941bb3d8a..f67ed3e9ab 100644 --- a/compiled/facebook-www/ReactReconciler-dev.classic.js +++ b/compiled/facebook-www/ReactReconciler-dev.classic.js @@ -920,7 +920,7 @@ __DEV__ && } function clz32Fallback(x) { x >>>= 0; - return 0 === x ? 32 : (31 - ((log$2(x) / LN2) | 0)) | 0; + return 0 === x ? 32 : (31 - ((log$1(x) / LN2) | 0)) | 0; } function getLabelForLane(lane) { if (enableSchedulingProfiler) { @@ -1340,7 +1340,7 @@ __DEV__ && } } function setIsStrictModeForDevtools(newIsStrictMode) { - "function" === typeof log$1 && + "function" === typeof log && (unstable_setDisableYieldValue(newIsStrictMode), (suppressWarning = newIsStrictMode)); if (injectedHook && "function" === typeof injectedHook.setStrictMode) @@ -1399,100 +1399,6 @@ __DEV__ && function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } - function formatLanes(laneOrLanes) { - return "0b" + laneOrLanes.toString(2).padStart(31, "0"); - } - function group() { - for ( - var _len = arguments.length, groupArgs = Array(_len), _key = 0; - _key < _len; - _key++ - ) - groupArgs[_key] = arguments[_key]; - pendingGroupArgs.push(groupArgs); - null === nativeConsoleLog && - ((nativeConsoleLog = nativeConsole.log), (nativeConsole.log = log)); - } - function groupEnd() { - for ( - pendingGroupArgs.pop(); - printedGroupIndex >= pendingGroupArgs.length; - - ) - nativeConsole.groupEnd(), printedGroupIndex--; - 0 === pendingGroupArgs.length && - ((nativeConsole.log = nativeConsoleLog), (nativeConsoleLog = null)); - } - function log() { - if (printedGroupIndex < pendingGroupArgs.length - 1) { - for (var i = printedGroupIndex + 1; i < pendingGroupArgs.length; i++) - nativeConsole.group.apply(nativeConsole, pendingGroupArgs[i]); - printedGroupIndex = pendingGroupArgs.length - 1; - } - "function" === typeof nativeConsoleLog - ? nativeConsoleLog.apply(void 0, arguments) - : nativeConsole.log.apply(nativeConsole, arguments); - } - function getWakeableID(wakeable) { - wakeableIDs.has(wakeable) || wakeableIDs.set(wakeable, wakeableID++); - return wakeableIDs.get(wakeable); - } - function logComponentSuspended(componentName, wakeable) { - if (enableDebugTracing) { - var id = getWakeableID(wakeable), - display = wakeable.displayName || wakeable; - log( - "%c\u269b%c " + componentName + " suspended", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - wakeable.then( - function () { - log( - "%c\u269b%c " + componentName + " resolved", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - }, - function () { - log( - "%c\u269b%c " + componentName + " rejected", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - } - ); - } - } - function logRenderStarted(lanes) { - enableDebugTracing && - group( - "%c\u269b%c render%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); - } - function logStateUpdateScheduled(componentName, lane, payloadOrAction) { - enableDebugTracing && - log( - "%c\u269b%c " + - componentName + - " updated state %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #01a252; font-weight: bold;", - "", - payloadOrAction - ); - } function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { var existing = CapturedStacks.get(value); @@ -4739,7 +4645,7 @@ __DEV__ && "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()." ); JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber); - var update = { + action = { lane: JSCompiler_OptimizeArgumentsArray_p0, revertLane: 0, action: action, @@ -4748,25 +4654,26 @@ __DEV__ && next: null }; isRenderPhaseUpdate(fiber) - ? enqueueRenderPhaseUpdate(queue, update) - : ((update = enqueueConcurrentHookUpdate( + ? enqueueRenderPhaseUpdate(queue, action) + : ((action = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, JSCompiler_OptimizeArgumentsArray_p0 )), - null !== update && + null !== action && (scheduleUpdateOnFiber( - update, + action, fiber, JSCompiler_OptimizeArgumentsArray_p0 ), entangleTransitionUpdate( - update, + action, queue, JSCompiler_OptimizeArgumentsArray_p0 ))); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p0, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0); } function dispatchSetState( fiber, @@ -4785,7 +4692,8 @@ __DEV__ && action, JSCompiler_OptimizeArgumentsArray_p1 ); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p1, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1); } function dispatchSetStateInternal(fiber, queue, action, lane) { var update = { @@ -4844,7 +4752,7 @@ __DEV__ && error$jscomp$0( "An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition." ); - var update = { + action = { lane: 2, revertLane: requestTransitionLane(), action: action, @@ -4860,12 +4768,12 @@ __DEV__ && (throwIfDuringRender = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, 2 )), null !== throwIfDuringRender && scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); - markUpdateInDevTools(fiber, 2, action); + enableSchedulingProfiler && markStateUpdateScheduled(fiber, 2); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; @@ -4892,13 +4800,6 @@ __DEV__ && markRootEntangled(root, lane); } } - function markUpdateInDevTools(fiber, lane, action) { - if (enableDebugTracing && fiber.mode & 4) { - var name = getComponentNameFromFiber(fiber) || "Unknown"; - logStateUpdateScheduled(name, lane, action); - } - enableSchedulingProfiler && markStateUpdateScheduled(fiber, lane); - } function pushDebugInfo(debugInfo) { var previousDebugInfo = currentDebugInfo; null != debugInfo && @@ -6293,10 +6194,6 @@ __DEV__ && !0 ); isHydrating && (didSuspendOrErrorDEV = !0); - enableDebugTracing && - sourceFiber.mode & 4 && - ((sourceFiber = getComponentNameFromFiber(sourceFiber) || "Unknown"), - logComponentSuspended(sourceFiber, value)); sourceFiber = suspenseHandlerStackCursor.current; if (null !== sourceFiber) { switch (sourceFiber.tag) { @@ -14587,7 +14484,6 @@ __DEV__ && workInProgressTransitions = getTransitionsForLanes(root, lanes); prepareFreshStack(root, lanes); } - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); lanes = !1; memoizedUpdaters = workInProgressRootExitStatus; @@ -14641,7 +14537,6 @@ __DEV__ && executionContext = prevExecutionContext; ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markRenderStopped(); null === workInProgress && ((workInProgressRoot = null), @@ -14676,7 +14571,6 @@ __DEV__ && root, lanes ); - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); a: do try { @@ -14812,7 +14706,6 @@ __DEV__ && ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; executionContext = prevExecutionContext; - enableDebugTracing && enableDebugTracing && groupEnd(); if (null !== workInProgress) return ( enableSchedulingProfiler && @@ -15111,25 +15004,13 @@ __DEV__ && throw Error("Should not already be working."); var finishedWork = root.finishedWork, lanes = root.finishedLanes; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c commit%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markCommitStarted && injectedProfilingHooks.markCommitStarted(lanes); if (null === finishedWork) - return ( - enableDebugTracing && enableDebugTracing && groupEnd(), - enableSchedulingProfiler && markCommitStopped(), - null - ); + return enableSchedulingProfiler && markCommitStopped(), null; 0 === lanes && error$jscomp$0( "root.finishedLanes should not be empty during a commit. This is a bug in React." @@ -15184,14 +15065,6 @@ __DEV__ && suspendedRetryLanes && afterActiveInstanceBlur(), resetAfterCommit(root.containerInfo), (root.current = finishedWork), - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c layout effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -15199,7 +15072,6 @@ __DEV__ && typeof injectedProfilingHooks.markLayoutEffectsStarted && injectedProfilingHooks.markLayoutEffectsStarted(lanes), commitLayoutEffects(finishedWork, root, lanes), - enableDebugTracing && enableDebugTracing && groupEnd(), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -15250,7 +15122,6 @@ __DEV__ && : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); flushSyncWorkAcrossRoots_impl(0, !1); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markCommitStopped(); if (enableTransitionTracing) { var prevRootTransitionCallbacks = root.transitionCallbacks; @@ -15324,14 +15195,6 @@ __DEV__ && throw Error("Cannot flush passive effects while already rendering."); isFlushingPassiveEffects = !0; didScheduleUpdateDuringPassiveEffects = !1; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c passive effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -15342,7 +15205,6 @@ __DEV__ && executionContext |= CommitContext; commitPassiveUnmountOnFiber(root.current); commitPassiveMountOnFiber(root, root.current, lanes, transitions); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -16073,12 +15935,6 @@ __DEV__ && }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= 4; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -16493,7 +16349,6 @@ __DEV__ && dynamicFeatureFlags.disableLegacyContextForFunctionComponents, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -16536,7 +16391,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -16705,7 +16559,7 @@ __DEV__ && didPerformWorkStackCursor = createCursor(!1), previousContext = emptyContextObject, clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, - log$2 = Math.log, + log$1 = Math.log, LN2 = Math.LN2, nextTransitionLane = 128, nextRetryLane = 4194304, @@ -16718,7 +16572,7 @@ __DEV__ && UserBlockingPriority = Scheduler.unstable_UserBlockingPriority, NormalPriority$1 = Scheduler.unstable_NormalPriority, IdlePriority = Scheduler.unstable_IdlePriority, - log$1 = Scheduler.log, + log = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null, @@ -16726,12 +16580,6 @@ __DEV__ && hasLoggedError = !1, isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__, objectIs = "function" === typeof Object.is ? Object.is : is, - nativeConsole = console, - nativeConsoleLog = null, - pendingGroupArgs = [], - printedGroupIndex = -1, - wakeableIDs = new ("function" === typeof WeakMap ? WeakMap : Map)(), - wakeableID = 0, CapturedStacks = new WeakMap(), forkStack = [], forkStackIndex = 0, @@ -18521,14 +18369,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & 4 && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueReplaceState: function (inst, payload, callback) { @@ -18540,14 +18384,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & 4 && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueForceUpdate: function (inst, callback) { @@ -18562,20 +18402,6 @@ __DEV__ && null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & 4 && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - enableDebugTracing && - log( - "%c\u269b%c " + - callback + - " forced update %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #db2e1f; font-weight: bold;", - "" - )); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -19353,7 +19179,7 @@ __DEV__ && version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-classic-2d320563-20241215" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-dev.modern.js b/compiled/facebook-www/ReactReconciler-dev.modern.js index 9e203d0265..7bd9f20e73 100644 --- a/compiled/facebook-www/ReactReconciler-dev.modern.js +++ b/compiled/facebook-www/ReactReconciler-dev.modern.js @@ -826,7 +826,7 @@ __DEV__ && } function clz32Fallback(x) { x >>>= 0; - return 0 === x ? 32 : (31 - ((log$2(x) / LN2) | 0)) | 0; + return 0 === x ? 32 : (31 - ((log$1(x) / LN2) | 0)) | 0; } function getLabelForLane(lane) { if (enableSchedulingProfiler) { @@ -1246,7 +1246,7 @@ __DEV__ && } } function setIsStrictModeForDevtools(newIsStrictMode) { - "function" === typeof log$1 && + "function" === typeof log && (unstable_setDisableYieldValue(newIsStrictMode), (suppressWarning = newIsStrictMode)); if (injectedHook && "function" === typeof injectedHook.setStrictMode) @@ -1305,100 +1305,6 @@ __DEV__ && function is(x, y) { return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y); } - function formatLanes(laneOrLanes) { - return "0b" + laneOrLanes.toString(2).padStart(31, "0"); - } - function group() { - for ( - var _len = arguments.length, groupArgs = Array(_len), _key = 0; - _key < _len; - _key++ - ) - groupArgs[_key] = arguments[_key]; - pendingGroupArgs.push(groupArgs); - null === nativeConsoleLog && - ((nativeConsoleLog = nativeConsole.log), (nativeConsole.log = log)); - } - function groupEnd() { - for ( - pendingGroupArgs.pop(); - printedGroupIndex >= pendingGroupArgs.length; - - ) - nativeConsole.groupEnd(), printedGroupIndex--; - 0 === pendingGroupArgs.length && - ((nativeConsole.log = nativeConsoleLog), (nativeConsoleLog = null)); - } - function log() { - if (printedGroupIndex < pendingGroupArgs.length - 1) { - for (var i = printedGroupIndex + 1; i < pendingGroupArgs.length; i++) - nativeConsole.group.apply(nativeConsole, pendingGroupArgs[i]); - printedGroupIndex = pendingGroupArgs.length - 1; - } - "function" === typeof nativeConsoleLog - ? nativeConsoleLog.apply(void 0, arguments) - : nativeConsole.log.apply(nativeConsole, arguments); - } - function getWakeableID(wakeable) { - wakeableIDs.has(wakeable) || wakeableIDs.set(wakeable, wakeableID++); - return wakeableIDs.get(wakeable); - } - function logComponentSuspended(componentName, wakeable) { - if (enableDebugTracing) { - var id = getWakeableID(wakeable), - display = wakeable.displayName || wakeable; - log( - "%c\u269b%c " + componentName + " suspended", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - wakeable.then( - function () { - log( - "%c\u269b%c " + componentName + " resolved", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - }, - function () { - log( - "%c\u269b%c " + componentName + " rejected", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #80366d; font-weight: bold;", - id, - display - ); - } - ); - } - } - function logRenderStarted(lanes) { - enableDebugTracing && - group( - "%c\u269b%c render%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); - } - function logStateUpdateScheduled(componentName, lane, payloadOrAction) { - enableDebugTracing && - log( - "%c\u269b%c " + - componentName + - " updated state %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #01a252; font-weight: bold;", - "", - payloadOrAction - ); - } function createCapturedValueAtFiber(value, source) { if ("object" === typeof value && null !== value) { var existing = CapturedStacks.get(value); @@ -4645,7 +4551,7 @@ __DEV__ && "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()." ); JSCompiler_OptimizeArgumentsArray_p0 = requestUpdateLane(fiber); - var update = { + action = { lane: JSCompiler_OptimizeArgumentsArray_p0, revertLane: 0, action: action, @@ -4654,25 +4560,26 @@ __DEV__ && next: null }; isRenderPhaseUpdate(fiber) - ? enqueueRenderPhaseUpdate(queue, update) - : ((update = enqueueConcurrentHookUpdate( + ? enqueueRenderPhaseUpdate(queue, action) + : ((action = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, JSCompiler_OptimizeArgumentsArray_p0 )), - null !== update && + null !== action && (scheduleUpdateOnFiber( - update, + action, fiber, JSCompiler_OptimizeArgumentsArray_p0 ), entangleTransitionUpdate( - update, + action, queue, JSCompiler_OptimizeArgumentsArray_p0 ))); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p0, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p0); } function dispatchSetState( fiber, @@ -4691,7 +4598,8 @@ __DEV__ && action, JSCompiler_OptimizeArgumentsArray_p1 ); - markUpdateInDevTools(fiber, JSCompiler_OptimizeArgumentsArray_p1, action); + enableSchedulingProfiler && + markStateUpdateScheduled(fiber, JSCompiler_OptimizeArgumentsArray_p1); } function dispatchSetStateInternal(fiber, queue, action, lane) { var update = { @@ -4750,7 +4658,7 @@ __DEV__ && error$jscomp$0( "An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition." ); - var update = { + action = { lane: 2, revertLane: requestTransitionLane(), action: action, @@ -4766,12 +4674,12 @@ __DEV__ && (throwIfDuringRender = enqueueConcurrentHookUpdate( fiber, queue, - update, + action, 2 )), null !== throwIfDuringRender && scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2); - markUpdateInDevTools(fiber, 2, action); + enableSchedulingProfiler && markStateUpdateScheduled(fiber, 2); } function isRenderPhaseUpdate(fiber) { var alternate = fiber.alternate; @@ -4798,13 +4706,6 @@ __DEV__ && markRootEntangled(root, lane); } } - function markUpdateInDevTools(fiber, lane, action) { - if (enableDebugTracing && fiber.mode & 4) { - var name = getComponentNameFromFiber(fiber) || "Unknown"; - logStateUpdateScheduled(name, lane, action); - } - enableSchedulingProfiler && markStateUpdateScheduled(fiber, lane); - } function pushDebugInfo(debugInfo) { var previousDebugInfo = currentDebugInfo; null != debugInfo && @@ -6199,10 +6100,6 @@ __DEV__ && !0 ); isHydrating && (didSuspendOrErrorDEV = !0); - enableDebugTracing && - sourceFiber.mode & 4 && - ((sourceFiber = getComponentNameFromFiber(sourceFiber) || "Unknown"), - logComponentSuspended(sourceFiber, value)); sourceFiber = suspenseHandlerStackCursor.current; if (null !== sourceFiber) { switch (sourceFiber.tag) { @@ -14405,7 +14302,6 @@ __DEV__ && workInProgressTransitions = getTransitionsForLanes(root, lanes); prepareFreshStack(root, lanes); } - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); lanes = !1; memoizedUpdaters = workInProgressRootExitStatus; @@ -14459,7 +14355,6 @@ __DEV__ && executionContext = prevExecutionContext; ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markRenderStopped(); null === workInProgress && ((workInProgressRoot = null), @@ -14494,7 +14389,6 @@ __DEV__ && root, lanes ); - enableDebugTracing && logRenderStarted(lanes); enableSchedulingProfiler && markRenderStarted(lanes); a: do try { @@ -14630,7 +14524,6 @@ __DEV__ && ReactSharedInternals.H = prevDispatcher; ReactSharedInternals.A = prevAsyncDispatcher; executionContext = prevExecutionContext; - enableDebugTracing && enableDebugTracing && groupEnd(); if (null !== workInProgress) return ( enableSchedulingProfiler && @@ -14925,25 +14818,13 @@ __DEV__ && throw Error("Should not already be working."); var finishedWork = root.finishedWork, lanes = root.finishedLanes; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c commit%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && "function" === typeof injectedProfilingHooks.markCommitStarted && injectedProfilingHooks.markCommitStarted(lanes); if (null === finishedWork) - return ( - enableDebugTracing && enableDebugTracing && groupEnd(), - enableSchedulingProfiler && markCommitStopped(), - null - ); + return enableSchedulingProfiler && markCommitStopped(), null; 0 === lanes && error$jscomp$0( "root.finishedLanes should not be empty during a commit. This is a bug in React." @@ -14998,14 +14879,6 @@ __DEV__ && suspendedRetryLanes && afterActiveInstanceBlur(), resetAfterCommit(root.containerInfo), (root.current = finishedWork), - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c layout effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -15013,7 +14886,6 @@ __DEV__ && typeof injectedProfilingHooks.markLayoutEffectsStarted && injectedProfilingHooks.markLayoutEffectsStarted(lanes), commitLayoutEffects(finishedWork, root, lanes), - enableDebugTracing && enableDebugTracing && groupEnd(), enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -15064,7 +14936,6 @@ __DEV__ && : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))) : (nestedUpdateCount = 0); flushSyncWorkAcrossRoots_impl(0, !1); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && markCommitStopped(); if (enableTransitionTracing) { var prevRootTransitionCallbacks = root.transitionCallbacks; @@ -15138,14 +15009,6 @@ __DEV__ && throw Error("Cannot flush passive effects while already rendering."); isFlushingPassiveEffects = !0; didScheduleUpdateDuringPassiveEffects = !1; - enableDebugTracing && - enableDebugTracing && - group( - "%c\u269b%c passive effects%c (" + formatLanes(lanes) + ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "", - "font-weight: normal;" - ); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -15156,7 +15019,6 @@ __DEV__ && executionContext |= CommitContext; commitPassiveUnmountOnFiber(root.current); commitPassiveMountOnFiber(root, root.current, lanes, transitions); - enableDebugTracing && enableDebugTracing && groupEnd(); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -15887,12 +15749,6 @@ __DEV__ && }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= 4; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -16272,7 +16128,6 @@ __DEV__ && dynamicFeatureFlags.disableDefaultPropsExceptForClasses, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -16315,7 +16170,6 @@ __DEV__ && REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -16480,7 +16334,7 @@ __DEV__ && emptyContextObject = {}; Object.freeze(emptyContextObject); var clz32 = Math.clz32 ? Math.clz32 : clz32Fallback, - log$2 = Math.log, + log$1 = Math.log, LN2 = Math.LN2, nextTransitionLane = 128, nextRetryLane = 4194304, @@ -16493,7 +16347,7 @@ __DEV__ && UserBlockingPriority = Scheduler.unstable_UserBlockingPriority, NormalPriority$1 = Scheduler.unstable_NormalPriority, IdlePriority = Scheduler.unstable_IdlePriority, - log$1 = Scheduler.log, + log = Scheduler.log, unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue, rendererID = null, injectedHook = null, @@ -16501,12 +16355,6 @@ __DEV__ && hasLoggedError = !1, isDevToolsPresent = "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__, objectIs = "function" === typeof Object.is ? Object.is : is, - nativeConsole = console, - nativeConsoleLog = null, - pendingGroupArgs = [], - printedGroupIndex = -1, - wakeableIDs = new ("function" === typeof WeakMap ? WeakMap : Map)(), - wakeableID = 0, CapturedStacks = new WeakMap(), forkStack = [], forkStackIndex = 0, @@ -18295,14 +18143,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & 4 && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueReplaceState: function (inst, payload, callback) { @@ -18314,14 +18158,10 @@ __DEV__ && void 0 !== callback && null !== callback && (warnOnInvalidCallback(callback), (update.callback = callback)); - callback = enqueueUpdate(inst, update, lane); - null !== callback && - (scheduleUpdateOnFiber(callback, inst, lane), - entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & 4 && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - logStateUpdateScheduled(callback, lane, payload)); + payload = enqueueUpdate(inst, update, lane); + null !== payload && + (scheduleUpdateOnFiber(payload, inst, lane), + entangleTransitions(payload, inst, lane)); enableSchedulingProfiler && markStateUpdateScheduled(inst, lane); }, enqueueForceUpdate: function (inst, callback) { @@ -18336,20 +18176,6 @@ __DEV__ && null !== callback && (scheduleUpdateOnFiber(callback, inst, lane), entangleTransitions(callback, inst, lane)); - enableDebugTracing && - inst.mode & 4 && - ((callback = getComponentNameFromFiber(inst) || "Unknown"), - enableDebugTracing && - log( - "%c\u269b%c " + - callback + - " forced update %c(" + - formatLanes(lane) + - ")", - "background-color: #20232a; color: #61dafb; padding: 0 2px;", - "color: #db2e1f; font-weight: bold;", - "" - )); enableSchedulingProfiler && enableSchedulingProfiler && null !== injectedProfilingHooks && @@ -19127,7 +18953,7 @@ __DEV__ && version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-modern-2d320563-20241215" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.classic.js b/compiled/facebook-www/ReactReconciler-prod.classic.js index 1ddc380742..9e8ca4bcc1 100644 --- a/compiled/facebook-www/ReactReconciler-prod.classic.js +++ b/compiled/facebook-www/ReactReconciler-prod.classic.js @@ -11380,12 +11380,6 @@ module.exports = function ($$$config) { }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= 4; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -11693,7 +11687,6 @@ module.exports = function ($$$config) { dynamicFeatureFlags.disableLegacyContextForFunctionComponents, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -11733,7 +11726,6 @@ module.exports = function ($$$config) { REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -12855,7 +12847,7 @@ module.exports = function ($$$config) { version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-classic-2d320563-20241215" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactReconciler-prod.modern.js b/compiled/facebook-www/ReactReconciler-prod.modern.js index 674881281b..e23f4bfd65 100644 --- a/compiled/facebook-www/ReactReconciler-prod.modern.js +++ b/compiled/facebook-www/ReactReconciler-prod.modern.js @@ -11138,12 +11138,6 @@ module.exports = function ($$$config) { }), key ); - case REACT_DEBUG_TRACING_MODE_TYPE: - if (enableDebugTracing) { - fiberTag = 8; - mode |= 4; - break; - } default: if ("object" === typeof type && null !== type) switch (type.$$typeof) { @@ -11415,7 +11409,6 @@ module.exports = function ($$$config) { dynamicFeatureFlags.disableDefaultPropsExceptForClasses, disableSchedulerTimeoutInWorkLoop = dynamicFeatureFlags.disableSchedulerTimeoutInWorkLoop, - enableDebugTracing = dynamicFeatureFlags.enableDebugTracing, enableDeferRootSchedulingToMicrotask = dynamicFeatureFlags.enableDeferRootSchedulingToMicrotask, enableDO_NOT_USE_disableStrictPassiveEffect = @@ -11455,7 +11448,6 @@ module.exports = function ($$$config) { REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_SCOPE_TYPE = Symbol.for("react.scope"), - REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for("react.debug_trace_mode"), REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"), REACT_TRACING_MARKER_TYPE = Symbol.for("react.tracing_marker"), @@ -12574,7 +12566,7 @@ module.exports = function ($$$config) { version: rendererVersion, rendererPackageName: rendererPackageName, currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-modern-2d320563-20241215" }; null !== extraDevToolsConfig && (internals.rendererConfig = extraDevToolsConfig); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.classic.js b/compiled/facebook-www/ReactTestRenderer-dev.classic.js index ba1c98cf7d..ac7e9c2fc0 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.classic.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.classic.js @@ -13022,9 +13022,8 @@ __DEV__ && REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), - REACT_SCOPE_TYPE = Symbol.for("react.scope"); - Symbol.for("react.debug_trace_mode"); - var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), + REACT_SCOPE_TYPE = Symbol.for("react.scope"), + REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"); Symbol.for("react.tracing_marker"); var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), @@ -15004,10 +15003,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-classic-c80b336d-20241214", + version: "19.1.0-www-classic-2d320563-20241215", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-classic-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-classic-2d320563-20241215" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15142,5 +15141,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.1.0-www-classic-c80b336d-20241214"; + exports.version = "19.1.0-www-classic-2d320563-20241215"; })(); diff --git a/compiled/facebook-www/ReactTestRenderer-dev.modern.js b/compiled/facebook-www/ReactTestRenderer-dev.modern.js index ecb97a0cf4..7ec35c8124 100644 --- a/compiled/facebook-www/ReactTestRenderer-dev.modern.js +++ b/compiled/facebook-www/ReactTestRenderer-dev.modern.js @@ -13022,9 +13022,8 @@ __DEV__ && REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), - REACT_SCOPE_TYPE = Symbol.for("react.scope"); - Symbol.for("react.debug_trace_mode"); - var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), + REACT_SCOPE_TYPE = Symbol.for("react.scope"), + REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"), REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"); Symbol.for("react.tracing_marker"); var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"), @@ -15004,10 +15003,10 @@ __DEV__ && (function () { var internals = { bundleType: 1, - version: "19.1.0-www-modern-c80b336d-20241214", + version: "19.1.0-www-modern-2d320563-20241215", rendererPackageName: "react-test-renderer", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.1.0-www-modern-c80b336d-20241214" + reconcilerVersion: "19.1.0-www-modern-2d320563-20241215" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -15142,5 +15141,5 @@ __DEV__ && exports.unstable_batchedUpdates = function (fn, a) { return fn(a); }; - exports.version = "19.1.0-www-modern-c80b336d-20241214"; + exports.version = "19.1.0-www-modern-2d320563-20241215"; })(); diff --git a/compiled/facebook-www/VERSION_CLASSIC b/compiled/facebook-www/VERSION_CLASSIC index 636ce66962..2be5d77223 100644 --- a/compiled/facebook-www/VERSION_CLASSIC +++ b/compiled/facebook-www/VERSION_CLASSIC @@ -1 +1 @@ -19.1.0-www-classic-c80b336d-20241214 \ No newline at end of file +19.1.0-www-classic-2d320563-20241215 \ No newline at end of file diff --git a/compiled/facebook-www/VERSION_MODERN b/compiled/facebook-www/VERSION_MODERN index 35d16ab4f4..661a9d82d7 100644 --- a/compiled/facebook-www/VERSION_MODERN +++ b/compiled/facebook-www/VERSION_MODERN @@ -1 +1 @@ -19.1.0-www-modern-c80b336d-20241214 \ No newline at end of file +19.1.0-www-modern-2d320563-20241215 \ No newline at end of file