Remove unstable_flushControlled (#26397)

This API has been fully replaced by `flushSync`.

DiffTrain build for [99aa082be0](https://github.com/facebook/react/commit/99aa082be0a2a62fef8ed747348ddf85c5641902)
This commit is contained in:
kassens
2023-03-15 20:20:50 +00:00
parent 969ad1d890
commit 923bb20d2e
16 changed files with 217 additions and 411 deletions
+1 -1
View File
@@ -1 +1 @@
cfc1274e3be5a93a4c93f8fb87f2109993afe1dd
99aa082be0a2a62fef8ed747348ddf85c5641902
+1 -1
View File
@@ -27,7 +27,7 @@ if (
}
"use strict";
var ReactVersion = "18.3.0-www-modern-addde25e";
var ReactVersion = "18.3.0-www-modern-269fc792";
// ATTENTION
// When adding new symbols to this file,
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
return self;
}
var ReactVersion = "18.3.0-www-classic-773bb029";
var ReactVersion = "18.3.0-www-classic-fb88bc59";
var LegacyRoot = 0;
var ConcurrentRoot = 1;
@@ -24208,7 +24208,7 @@ function flushSync(fn) {
function isInvalidExecutionContextForEventFunction() {
// Used to throw if certain APIs are called from the wrong context.
return (executionContext & RenderContext) !== NoContext;
}
} // This is called by the HiddenContext module when we enter or leave a
// hidden subtree. The stack logic is managed there because that's the only
// place that ever modifies it. Which module it lives in doesn't matter for
// performance because this function will get inlined regardless
+2 -2
View File
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
return self;
}
var ReactVersion = "18.3.0-www-modern-ee471100";
var ReactVersion = "18.3.0-www-modern-80930f5c";
var LegacyRoot = 0;
var ConcurrentRoot = 1;
@@ -23868,7 +23868,7 @@ function flushSync(fn) {
function isInvalidExecutionContextForEventFunction() {
// Used to throw if certain APIs are called from the wrong context.
return (executionContext & RenderContext) !== NoContext;
}
} // This is called by the HiddenContext module when we enter or leave a
// hidden subtree. The stack logic is managed there because that's the only
// place that ever modifies it. Which module it lives in doesn't matter for
// performance because this function will get inlined regardless
@@ -9555,7 +9555,7 @@ var slice = Array.prototype.slice,
return null;
},
bundleType: 0,
version: "18.3.0-www-modern-990522b1",
version: "18.3.0-www-modern-d2d40a82",
rendererPackageName: "react-art"
};
var internals$jscomp$inline_1283 = {
@@ -9586,7 +9586,7 @@ var internals$jscomp$inline_1283 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-modern-990522b1"
reconcilerVersion: "18.3.0-www-modern-d2d40a82"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1284 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
+1 -24
View File
@@ -34796,28 +34796,6 @@ function isAlreadyRendering() {
function isInvalidExecutionContextForEventFunction() {
// Used to throw if certain APIs are called from the wrong context.
return (executionContext & RenderContext) !== NoContext;
}
function flushControlled(fn) {
var prevExecutionContext = executionContext;
executionContext |= BatchedContext;
var prevTransition = ReactCurrentBatchConfig$1.transition;
var previousPriority = getCurrentUpdatePriority();
try {
ReactCurrentBatchConfig$1.transition = null;
setCurrentUpdatePriority(DiscreteEventPriority);
fn();
} finally {
setCurrentUpdatePriority(previousPriority);
ReactCurrentBatchConfig$1.transition = prevTransition;
executionContext = prevExecutionContext;
if (executionContext === NoContext) {
// Flush the immediate callbacks that were scheduled during this batch
resetRenderTimer();
flushSyncCallbacks();
}
}
} // This is called by the HiddenContext module when we enter or leave a
// hidden subtree. The stack logic is managed there because that's the only
// place that ever modifies it. Which module it lives in doesn't matter for
@@ -38347,7 +38325,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-classic-036f93df";
var ReactVersion = "18.3.0-www-classic-da9cec21";
function createPortal$1(
children,
@@ -44209,7 +44187,6 @@ exports.render = render;
exports.unmountComponentAtNode = unmountComponentAtNode;
exports.unstable_batchedUpdates = batchedUpdates$1;
exports.unstable_createEventHandle = createEventHandle;
exports.unstable_flushControlled = flushControlled;
exports.unstable_renderSubtreeIntoContainer = renderSubtreeIntoContainer;
exports.unstable_runWithPriority = runWithPriority;
exports.version = ReactVersion;
+1 -24
View File
@@ -29582,28 +29582,6 @@ function isAlreadyRendering() {
function isInvalidExecutionContextForEventFunction() {
// Used to throw if certain APIs are called from the wrong context.
return (executionContext & RenderContext) !== NoContext;
}
function flushControlled(fn) {
var prevExecutionContext = executionContext;
executionContext |= BatchedContext;
var prevTransition = ReactCurrentBatchConfig$1.transition;
var previousPriority = getCurrentUpdatePriority();
try {
ReactCurrentBatchConfig$1.transition = null;
setCurrentUpdatePriority(DiscreteEventPriority);
fn();
} finally {
setCurrentUpdatePriority(previousPriority);
ReactCurrentBatchConfig$1.transition = prevTransition;
executionContext = prevExecutionContext;
if (executionContext === NoContext) {
// Flush the immediate callbacks that were scheduled during this batch
resetRenderTimer();
flushSyncCallbacks();
}
}
} // This is called by the HiddenContext module when we enter or leave a
// hidden subtree. The stack logic is managed there because that's the only
// place that ever modifies it. Which module it lives in doesn't matter for
@@ -33133,7 +33111,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-modern-990522b1";
var ReactVersion = "18.3.0-www-modern-d2d40a82";
function createPortal$1(
children,
@@ -43282,7 +43260,6 @@ exports.preinit = preinit;
exports.preload = preload;
exports.unstable_batchedUpdates = batchedUpdates$1;
exports.unstable_createEventHandle = createEventHandle;
exports.unstable_flushControlled = flushControlled;
exports.unstable_runWithPriority = runWithPriority;
exports.version = ReactVersion;
+34 -51
View File
@@ -10866,9 +10866,6 @@ function addTransitionProgressCallbackToPendingTransition(
boundaries
));
}
function resetRenderTimer() {
workInProgressRootRenderTargetTime = now() + 500;
}
var hasUncaughtError = !1,
firstUncaughtError = null,
legacyErrorBoundariesThatAlreadyFailed = null,
@@ -10941,7 +10938,8 @@ function scheduleUpdateOnFiber(root, fiber, lane, eventTime) {
2 === lane &&
0 === executionContext &&
0 === (fiber.mode & 1) &&
(resetRenderTimer(), includesLegacySyncCallbacks && flushSyncCallbacks());
((workInProgressRootRenderTargetTime = now() + 500),
includesLegacySyncCallbacks && flushSyncCallbacks());
}
}
function ensureRootIsScheduled(root, currentTime) {
@@ -11294,7 +11292,7 @@ function batchedUpdates$1(fn, a) {
} finally {
(executionContext = prevExecutionContext),
0 === executionContext &&
(resetRenderTimer(),
((workInProgressRootRenderTargetTime = now() + 500),
includesLegacySyncCallbacks && flushSyncCallbacks());
}
}
@@ -11477,7 +11475,7 @@ function renderRootConcurrent(root, lanes) {
prevCacheDispatcher = pushCacheDispatcher();
if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes)
(workInProgressTransitions = getTransitionsForLanes(root, lanes)),
resetRenderTimer(),
(workInProgressRootRenderTargetTime = now() + 500),
prepareFreshStack(root, lanes);
a: do
try {
@@ -13278,7 +13276,8 @@ function attemptSynchronousHydration(fiber) {
(markRootEntangled(root$208, lanes | 2),
ensureRootIsScheduled(root$208, now()),
0 === (executionContext & 6) &&
(resetRenderTimer(), flushSyncCallbacks()));
((workInProgressRootRenderTargetTime = now() + 500),
flushSyncCallbacks()));
}
break;
case 13:
@@ -13849,14 +13848,14 @@ var isInputEventSupported = !1;
if (canUseDOM) {
var JSCompiler_inline_result$jscomp$309;
if (canUseDOM) {
var isSupported$jscomp$inline_1570 = "oninput" in document;
if (!isSupported$jscomp$inline_1570) {
var element$jscomp$inline_1571 = document.createElement("div");
element$jscomp$inline_1571.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1570 =
"function" === typeof element$jscomp$inline_1571.oninput;
var isSupported$jscomp$inline_1566 = "oninput" in document;
if (!isSupported$jscomp$inline_1566) {
var element$jscomp$inline_1567 = document.createElement("div");
element$jscomp$inline_1567.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1566 =
"function" === typeof element$jscomp$inline_1567.oninput;
}
JSCompiler_inline_result$jscomp$309 = isSupported$jscomp$inline_1570;
JSCompiler_inline_result$jscomp$309 = isSupported$jscomp$inline_1566;
} else JSCompiler_inline_result$jscomp$309 = !1;
isInputEventSupported =
JSCompiler_inline_result$jscomp$309 &&
@@ -13997,20 +13996,20 @@ function registerSimpleEvent(domEventName, reactName) {
registerTwoPhaseEvent(reactName, [domEventName]);
}
for (
var i$jscomp$inline_1583 = 0;
i$jscomp$inline_1583 < simpleEventPluginEvents.length;
i$jscomp$inline_1583++
var i$jscomp$inline_1579 = 0;
i$jscomp$inline_1579 < simpleEventPluginEvents.length;
i$jscomp$inline_1579++
) {
var eventName$jscomp$inline_1584 =
simpleEventPluginEvents[i$jscomp$inline_1583],
domEventName$jscomp$inline_1585 =
eventName$jscomp$inline_1584.toLowerCase(),
capitalizedEvent$jscomp$inline_1586 =
eventName$jscomp$inline_1584[0].toUpperCase() +
eventName$jscomp$inline_1584.slice(1);
var eventName$jscomp$inline_1580 =
simpleEventPluginEvents[i$jscomp$inline_1579],
domEventName$jscomp$inline_1581 =
eventName$jscomp$inline_1580.toLowerCase(),
capitalizedEvent$jscomp$inline_1582 =
eventName$jscomp$inline_1580[0].toUpperCase() +
eventName$jscomp$inline_1580.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1585,
"on" + capitalizedEvent$jscomp$inline_1586
domEventName$jscomp$inline_1581,
"on" + capitalizedEvent$jscomp$inline_1582
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -15700,17 +15699,17 @@ Internals.Events = [
restoreStateIfNeeded,
batchedUpdates$1
];
var devToolsConfig$jscomp$inline_1739 = {
var devToolsConfig$jscomp$inline_1735 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-0ef1f7ef",
version: "18.3.0-www-classic-55fee6a8",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2127 = {
bundleType: devToolsConfig$jscomp$inline_1739.bundleType,
version: devToolsConfig$jscomp$inline_1739.version,
rendererPackageName: devToolsConfig$jscomp$inline_1739.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1739.rendererConfig,
bundleType: devToolsConfig$jscomp$inline_1735.bundleType,
version: devToolsConfig$jscomp$inline_1735.version,
rendererPackageName: devToolsConfig$jscomp$inline_1735.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1735.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
@@ -15726,14 +15725,14 @@ var internals$jscomp$inline_2127 = {
return null === fiber ? null : fiber.stateNode;
},
findFiberByHostInstance:
devToolsConfig$jscomp$inline_1739.findFiberByHostInstance ||
devToolsConfig$jscomp$inline_1735.findFiberByHostInstance ||
emptyFindFiberByHostInstance,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-classic-0ef1f7ef"
reconcilerVersion: "18.3.0-www-classic-55fee6a8"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2128 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15954,22 +15953,6 @@ exports.unstable_createEventHandle = function (type, options) {
"boolean" === typeof options && (isCapturePhaseListener = options));
return eventHandle;
};
exports.unstable_flushControlled = function (fn) {
var prevExecutionContext = executionContext;
executionContext |= 1;
var prevTransition = ReactCurrentBatchConfig$1.transition,
previousPriority = currentUpdatePriority;
try {
(ReactCurrentBatchConfig$1.transition = null),
(currentUpdatePriority = 2),
fn();
} finally {
(currentUpdatePriority = previousPriority),
(ReactCurrentBatchConfig$1.transition = prevTransition),
(executionContext = prevExecutionContext),
0 === executionContext && (resetRenderTimer(), flushSyncCallbacks());
}
};
exports.unstable_renderSubtreeIntoContainer = function (
parentComponent,
element,
@@ -15989,4 +15972,4 @@ exports.unstable_renderSubtreeIntoContainer = function (
);
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-classic-0ef1f7ef";
exports.version = "18.3.0-www-classic-55fee6a8";
+34 -51
View File
@@ -9533,9 +9533,6 @@ function addTransitionProgressCallbackToPendingTransition(
boundaries
));
}
function resetRenderTimer() {
workInProgressRootRenderTargetTime = now() + 500;
}
var hasUncaughtError = !1,
firstUncaughtError = null,
legacyErrorBoundariesThatAlreadyFailed = null,
@@ -9608,7 +9605,8 @@ function scheduleUpdateOnFiber(root, fiber, lane, eventTime) {
2 === lane &&
0 === executionContext &&
0 === (fiber.mode & 1) &&
(resetRenderTimer(), includesLegacySyncCallbacks && flushSyncCallbacks());
((workInProgressRootRenderTargetTime = now() + 500),
includesLegacySyncCallbacks && flushSyncCallbacks());
}
}
function ensureRootIsScheduled(root, currentTime) {
@@ -9961,7 +9959,7 @@ function batchedUpdates$1(fn, a) {
} finally {
(executionContext = prevExecutionContext),
0 === executionContext &&
(resetRenderTimer(),
((workInProgressRootRenderTargetTime = now() + 500),
includesLegacySyncCallbacks && flushSyncCallbacks());
}
}
@@ -10144,7 +10142,7 @@ function renderRootConcurrent(root, lanes) {
prevCacheDispatcher = pushCacheDispatcher();
if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes)
(workInProgressTransitions = getTransitionsForLanes(root, lanes)),
resetRenderTimer(),
(workInProgressRootRenderTargetTime = now() + 500),
prepareFreshStack(root, lanes);
a: do
try {
@@ -11831,7 +11829,8 @@ function attemptSynchronousHydration(fiber) {
(markRootEntangled(root$179, lanes | 2),
ensureRootIsScheduled(root$179, now()),
0 === (executionContext & 6) &&
(resetRenderTimer(), flushSyncCallbacks()));
((workInProgressRootRenderTargetTime = now() + 500),
flushSyncCallbacks()));
}
break;
case 13:
@@ -13104,14 +13103,14 @@ var isInputEventSupported = !1;
if (canUseDOM) {
var JSCompiler_inline_result$jscomp$292;
if (canUseDOM) {
var isSupported$jscomp$inline_1489 = "oninput" in document;
if (!isSupported$jscomp$inline_1489) {
var element$jscomp$inline_1490 = document.createElement("div");
element$jscomp$inline_1490.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1489 =
"function" === typeof element$jscomp$inline_1490.oninput;
var isSupported$jscomp$inline_1485 = "oninput" in document;
if (!isSupported$jscomp$inline_1485) {
var element$jscomp$inline_1486 = document.createElement("div");
element$jscomp$inline_1486.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1485 =
"function" === typeof element$jscomp$inline_1486.oninput;
}
JSCompiler_inline_result$jscomp$292 = isSupported$jscomp$inline_1489;
JSCompiler_inline_result$jscomp$292 = isSupported$jscomp$inline_1485;
} else JSCompiler_inline_result$jscomp$292 = !1;
isInputEventSupported =
JSCompiler_inline_result$jscomp$292 &&
@@ -13423,20 +13422,20 @@ function registerSimpleEvent(domEventName, reactName) {
registerTwoPhaseEvent(reactName, [domEventName]);
}
for (
var i$jscomp$inline_1530 = 0;
i$jscomp$inline_1530 < simpleEventPluginEvents.length;
i$jscomp$inline_1530++
var i$jscomp$inline_1526 = 0;
i$jscomp$inline_1526 < simpleEventPluginEvents.length;
i$jscomp$inline_1526++
) {
var eventName$jscomp$inline_1531 =
simpleEventPluginEvents[i$jscomp$inline_1530],
domEventName$jscomp$inline_1532 =
eventName$jscomp$inline_1531.toLowerCase(),
capitalizedEvent$jscomp$inline_1533 =
eventName$jscomp$inline_1531[0].toUpperCase() +
eventName$jscomp$inline_1531.slice(1);
var eventName$jscomp$inline_1527 =
simpleEventPluginEvents[i$jscomp$inline_1526],
domEventName$jscomp$inline_1528 =
eventName$jscomp$inline_1527.toLowerCase(),
capitalizedEvent$jscomp$inline_1529 =
eventName$jscomp$inline_1527[0].toUpperCase() +
eventName$jscomp$inline_1527.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1532,
"on" + capitalizedEvent$jscomp$inline_1533
domEventName$jscomp$inline_1528,
"on" + capitalizedEvent$jscomp$inline_1529
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -15223,17 +15222,17 @@ Internals.Events = [
restoreStateIfNeeded,
batchedUpdates$1
];
var devToolsConfig$jscomp$inline_1709 = {
var devToolsConfig$jscomp$inline_1705 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-d994d737",
version: "18.3.0-www-modern-90982dde",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2115 = {
bundleType: devToolsConfig$jscomp$inline_1709.bundleType,
version: devToolsConfig$jscomp$inline_1709.version,
rendererPackageName: devToolsConfig$jscomp$inline_1709.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1709.rendererConfig,
bundleType: devToolsConfig$jscomp$inline_1705.bundleType,
version: devToolsConfig$jscomp$inline_1705.version,
rendererPackageName: devToolsConfig$jscomp$inline_1705.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1705.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
@@ -15250,14 +15249,14 @@ var internals$jscomp$inline_2115 = {
return null === fiber ? null : fiber.stateNode;
},
findFiberByHostInstance:
devToolsConfig$jscomp$inline_1709.findFiberByHostInstance ||
devToolsConfig$jscomp$inline_1705.findFiberByHostInstance ||
emptyFindFiberByHostInstance,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-modern-d994d737"
reconcilerVersion: "18.3.0-www-modern-90982dde"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2116 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15425,21 +15424,5 @@ exports.unstable_createEventHandle = function (type, options) {
"boolean" === typeof options && (isCapturePhaseListener = options));
return eventHandle;
};
exports.unstable_flushControlled = function (fn) {
var prevExecutionContext = executionContext;
executionContext |= 1;
var prevTransition = ReactCurrentBatchConfig$1.transition,
previousPriority = currentUpdatePriority;
try {
(ReactCurrentBatchConfig$1.transition = null),
(currentUpdatePriority = 2),
fn();
} finally {
(currentUpdatePriority = previousPriority),
(ReactCurrentBatchConfig$1.transition = prevTransition),
(executionContext = prevExecutionContext),
0 === executionContext && (resetRenderTimer(), flushSyncCallbacks());
}
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-modern-d994d737";
exports.version = "18.3.0-www-modern-90982dde";
@@ -11455,9 +11455,6 @@ function addTransitionProgressCallbackToPendingTransition(
boundaries
));
}
function resetRenderTimer() {
workInProgressRootRenderTargetTime = now$1() + 500;
}
var hasUncaughtError = !1,
firstUncaughtError = null,
legacyErrorBoundariesThatAlreadyFailed = null,
@@ -11548,7 +11545,8 @@ function scheduleUpdateOnFiber(root, fiber, lane, eventTime) {
2 === lane &&
0 === executionContext &&
0 === (fiber.mode & 1) &&
(resetRenderTimer(), includesLegacySyncCallbacks && flushSyncCallbacks());
((workInProgressRootRenderTargetTime = now$1() + 500),
includesLegacySyncCallbacks && flushSyncCallbacks());
}
}
function ensureRootIsScheduled(root, currentTime) {
@@ -11904,7 +11902,7 @@ function batchedUpdates$1(fn, a) {
} finally {
(executionContext = prevExecutionContext),
0 === executionContext &&
(resetRenderTimer(),
((workInProgressRootRenderTargetTime = now$1() + 500),
includesLegacySyncCallbacks && flushSyncCallbacks());
}
}
@@ -12133,7 +12131,7 @@ function renderRootConcurrent(root, lanes) {
movePendingFibersToMemoized(root, lanes);
}
workInProgressTransitions = getTransitionsForLanes(root, lanes);
resetRenderTimer();
workInProgressRootRenderTargetTime = now$1() + 500;
prepareFreshStack(root, lanes);
}
enableSchedulingProfiler && markRenderStarted(lanes);
@@ -14055,7 +14053,8 @@ function attemptSynchronousHydration(fiber) {
(markRootEntangled(root$229, lanes | 2),
ensureRootIsScheduled(root$229, now$1()),
0 === (executionContext & 6) &&
(resetRenderTimer(), flushSyncCallbacks()));
((workInProgressRootRenderTargetTime = now$1() + 500),
flushSyncCallbacks()));
}
break;
case 13:
@@ -14626,14 +14625,14 @@ var isInputEventSupported = !1;
if (canUseDOM) {
var JSCompiler_inline_result$jscomp$330;
if (canUseDOM) {
var isSupported$jscomp$inline_1650 = "oninput" in document;
if (!isSupported$jscomp$inline_1650) {
var element$jscomp$inline_1651 = document.createElement("div");
element$jscomp$inline_1651.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1650 =
"function" === typeof element$jscomp$inline_1651.oninput;
var isSupported$jscomp$inline_1646 = "oninput" in document;
if (!isSupported$jscomp$inline_1646) {
var element$jscomp$inline_1647 = document.createElement("div");
element$jscomp$inline_1647.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1646 =
"function" === typeof element$jscomp$inline_1647.oninput;
}
JSCompiler_inline_result$jscomp$330 = isSupported$jscomp$inline_1650;
JSCompiler_inline_result$jscomp$330 = isSupported$jscomp$inline_1646;
} else JSCompiler_inline_result$jscomp$330 = !1;
isInputEventSupported =
JSCompiler_inline_result$jscomp$330 &&
@@ -14774,20 +14773,20 @@ function registerSimpleEvent(domEventName, reactName) {
registerTwoPhaseEvent(reactName, [domEventName]);
}
for (
var i$jscomp$inline_1663 = 0;
i$jscomp$inline_1663 < simpleEventPluginEvents.length;
i$jscomp$inline_1663++
var i$jscomp$inline_1659 = 0;
i$jscomp$inline_1659 < simpleEventPluginEvents.length;
i$jscomp$inline_1659++
) {
var eventName$jscomp$inline_1664 =
simpleEventPluginEvents[i$jscomp$inline_1663],
domEventName$jscomp$inline_1665 =
eventName$jscomp$inline_1664.toLowerCase(),
capitalizedEvent$jscomp$inline_1666 =
eventName$jscomp$inline_1664[0].toUpperCase() +
eventName$jscomp$inline_1664.slice(1);
var eventName$jscomp$inline_1660 =
simpleEventPluginEvents[i$jscomp$inline_1659],
domEventName$jscomp$inline_1661 =
eventName$jscomp$inline_1660.toLowerCase(),
capitalizedEvent$jscomp$inline_1662 =
eventName$jscomp$inline_1660[0].toUpperCase() +
eventName$jscomp$inline_1660.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1665,
"on" + capitalizedEvent$jscomp$inline_1666
domEventName$jscomp$inline_1661,
"on" + capitalizedEvent$jscomp$inline_1662
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -16477,10 +16476,10 @@ Internals.Events = [
restoreStateIfNeeded,
batchedUpdates$1
];
var devToolsConfig$jscomp$inline_1819 = {
var devToolsConfig$jscomp$inline_1815 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-65d9d3da",
version: "18.3.0-www-classic-b1120432",
rendererPackageName: "react-dom"
};
(function (internals) {
@@ -16498,10 +16497,10 @@ var devToolsConfig$jscomp$inline_1819 = {
} catch (err) {}
return hook.checkDCE ? !0 : !1;
})({
bundleType: devToolsConfig$jscomp$inline_1819.bundleType,
version: devToolsConfig$jscomp$inline_1819.version,
rendererPackageName: devToolsConfig$jscomp$inline_1819.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1819.rendererConfig,
bundleType: devToolsConfig$jscomp$inline_1815.bundleType,
version: devToolsConfig$jscomp$inline_1815.version,
rendererPackageName: devToolsConfig$jscomp$inline_1815.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1815.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
@@ -16517,14 +16516,14 @@ var devToolsConfig$jscomp$inline_1819 = {
return null === fiber ? null : fiber.stateNode;
},
findFiberByHostInstance:
devToolsConfig$jscomp$inline_1819.findFiberByHostInstance ||
devToolsConfig$jscomp$inline_1815.findFiberByHostInstance ||
emptyFindFiberByHostInstance,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-classic-65d9d3da"
reconcilerVersion: "18.3.0-www-classic-b1120432"
});
assign(Internals, {
ReactBrowserEventEmitter: {
@@ -16732,22 +16731,6 @@ exports.unstable_createEventHandle = function (type, options) {
"boolean" === typeof options && (isCapturePhaseListener = options));
return eventHandle;
};
exports.unstable_flushControlled = function (fn) {
var prevExecutionContext = executionContext;
executionContext |= 1;
var prevTransition = ReactCurrentBatchConfig$1.transition,
previousPriority = currentUpdatePriority;
try {
(ReactCurrentBatchConfig$1.transition = null),
(currentUpdatePriority = 2),
fn();
} finally {
(currentUpdatePriority = previousPriority),
(ReactCurrentBatchConfig$1.transition = prevTransition),
(executionContext = prevExecutionContext),
0 === executionContext && (resetRenderTimer(), flushSyncCallbacks());
}
};
exports.unstable_renderSubtreeIntoContainer = function (
parentComponent,
element,
@@ -16767,7 +16750,7 @@ exports.unstable_renderSubtreeIntoContainer = function (
);
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-classic-65d9d3da";
exports.version = "18.3.0-www-classic-b1120432";
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
@@ -10116,9 +10116,6 @@ function addTransitionProgressCallbackToPendingTransition(
boundaries
));
}
function resetRenderTimer() {
workInProgressRootRenderTargetTime = now$1() + 500;
}
var hasUncaughtError = !1,
firstUncaughtError = null,
legacyErrorBoundariesThatAlreadyFailed = null,
@@ -10209,7 +10206,8 @@ function scheduleUpdateOnFiber(root, fiber, lane, eventTime) {
2 === lane &&
0 === executionContext &&
0 === (fiber.mode & 1) &&
(resetRenderTimer(), includesLegacySyncCallbacks && flushSyncCallbacks());
((workInProgressRootRenderTargetTime = now$1() + 500),
includesLegacySyncCallbacks && flushSyncCallbacks());
}
}
function ensureRootIsScheduled(root, currentTime) {
@@ -10565,7 +10563,7 @@ function batchedUpdates$1(fn, a) {
} finally {
(executionContext = prevExecutionContext),
0 === executionContext &&
(resetRenderTimer(),
((workInProgressRootRenderTargetTime = now$1() + 500),
includesLegacySyncCallbacks && flushSyncCallbacks());
}
}
@@ -10794,7 +10792,7 @@ function renderRootConcurrent(root, lanes) {
movePendingFibersToMemoized(root, lanes);
}
workInProgressTransitions = getTransitionsForLanes(root, lanes);
resetRenderTimer();
workInProgressRootRenderTargetTime = now$1() + 500;
prepareFreshStack(root, lanes);
}
enableSchedulingProfiler && markRenderStarted(lanes);
@@ -12602,7 +12600,8 @@ function attemptSynchronousHydration(fiber) {
(markRootEntangled(root$200, lanes | 2),
ensureRootIsScheduled(root$200, now$1()),
0 === (executionContext & 6) &&
(resetRenderTimer(), flushSyncCallbacks()));
((workInProgressRootRenderTargetTime = now$1() + 500),
flushSyncCallbacks()));
}
break;
case 13:
@@ -13875,14 +13874,14 @@ var isInputEventSupported = !1;
if (canUseDOM) {
var JSCompiler_inline_result$jscomp$313;
if (canUseDOM) {
var isSupported$jscomp$inline_1569 = "oninput" in document;
if (!isSupported$jscomp$inline_1569) {
var element$jscomp$inline_1570 = document.createElement("div");
element$jscomp$inline_1570.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1569 =
"function" === typeof element$jscomp$inline_1570.oninput;
var isSupported$jscomp$inline_1565 = "oninput" in document;
if (!isSupported$jscomp$inline_1565) {
var element$jscomp$inline_1566 = document.createElement("div");
element$jscomp$inline_1566.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1565 =
"function" === typeof element$jscomp$inline_1566.oninput;
}
JSCompiler_inline_result$jscomp$313 = isSupported$jscomp$inline_1569;
JSCompiler_inline_result$jscomp$313 = isSupported$jscomp$inline_1565;
} else JSCompiler_inline_result$jscomp$313 = !1;
isInputEventSupported =
JSCompiler_inline_result$jscomp$313 &&
@@ -14194,20 +14193,20 @@ function registerSimpleEvent(domEventName, reactName) {
registerTwoPhaseEvent(reactName, [domEventName]);
}
for (
var i$jscomp$inline_1610 = 0;
i$jscomp$inline_1610 < simpleEventPluginEvents.length;
i$jscomp$inline_1610++
var i$jscomp$inline_1606 = 0;
i$jscomp$inline_1606 < simpleEventPluginEvents.length;
i$jscomp$inline_1606++
) {
var eventName$jscomp$inline_1611 =
simpleEventPluginEvents[i$jscomp$inline_1610],
domEventName$jscomp$inline_1612 =
eventName$jscomp$inline_1611.toLowerCase(),
capitalizedEvent$jscomp$inline_1613 =
eventName$jscomp$inline_1611[0].toUpperCase() +
eventName$jscomp$inline_1611.slice(1);
var eventName$jscomp$inline_1607 =
simpleEventPluginEvents[i$jscomp$inline_1606],
domEventName$jscomp$inline_1608 =
eventName$jscomp$inline_1607.toLowerCase(),
capitalizedEvent$jscomp$inline_1609 =
eventName$jscomp$inline_1607[0].toUpperCase() +
eventName$jscomp$inline_1607.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1612,
"on" + capitalizedEvent$jscomp$inline_1613
domEventName$jscomp$inline_1608,
"on" + capitalizedEvent$jscomp$inline_1609
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -15994,10 +15993,10 @@ Internals.Events = [
restoreStateIfNeeded,
batchedUpdates$1
];
var devToolsConfig$jscomp$inline_1789 = {
var devToolsConfig$jscomp$inline_1785 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-e0363ff4",
version: "18.3.0-www-modern-4965a577",
rendererPackageName: "react-dom"
};
(function (internals) {
@@ -16015,10 +16014,10 @@ var devToolsConfig$jscomp$inline_1789 = {
} catch (err) {}
return hook.checkDCE ? !0 : !1;
})({
bundleType: devToolsConfig$jscomp$inline_1789.bundleType,
version: devToolsConfig$jscomp$inline_1789.version,
rendererPackageName: devToolsConfig$jscomp$inline_1789.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1789.rendererConfig,
bundleType: devToolsConfig$jscomp$inline_1785.bundleType,
version: devToolsConfig$jscomp$inline_1785.version,
rendererPackageName: devToolsConfig$jscomp$inline_1785.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1785.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
@@ -16035,14 +16034,14 @@ var devToolsConfig$jscomp$inline_1789 = {
return null === fiber ? null : fiber.stateNode;
},
findFiberByHostInstance:
devToolsConfig$jscomp$inline_1789.findFiberByHostInstance ||
devToolsConfig$jscomp$inline_1785.findFiberByHostInstance ||
emptyFindFiberByHostInstance,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-modern-e0363ff4"
reconcilerVersion: "18.3.0-www-modern-4965a577"
});
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
exports.createPortal = function (children, container) {
@@ -16197,24 +16196,8 @@ exports.unstable_createEventHandle = function (type, options) {
"boolean" === typeof options && (isCapturePhaseListener = options));
return eventHandle;
};
exports.unstable_flushControlled = function (fn) {
var prevExecutionContext = executionContext;
executionContext |= 1;
var prevTransition = ReactCurrentBatchConfig$1.transition,
previousPriority = currentUpdatePriority;
try {
(ReactCurrentBatchConfig$1.transition = null),
(currentUpdatePriority = 2),
fn();
} finally {
(currentUpdatePriority = previousPriority),
(ReactCurrentBatchConfig$1.transition = prevTransition),
(executionContext = prevExecutionContext),
0 === executionContext && (resetRenderTimer(), flushSyncCallbacks());
}
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-modern-e0363ff4";
exports.version = "18.3.0-www-modern-4965a577";
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
@@ -32511,28 +32511,6 @@ function isAlreadyRendering() {
function isInvalidExecutionContextForEventFunction() {
// Used to throw if certain APIs are called from the wrong context.
return (executionContext & RenderContext) !== NoContext;
}
function flushControlled(fn) {
var prevExecutionContext = executionContext;
executionContext |= BatchedContext;
var prevTransition = ReactCurrentBatchConfig$1.transition;
var previousPriority = getCurrentUpdatePriority();
try {
ReactCurrentBatchConfig$1.transition = null;
setCurrentUpdatePriority(DiscreteEventPriority);
fn();
} finally {
setCurrentUpdatePriority(previousPriority);
ReactCurrentBatchConfig$1.transition = prevTransition;
executionContext = prevExecutionContext;
if (executionContext === NoContext) {
// Flush the immediate callbacks that were scheduled during this batch
resetRenderTimer();
flushSyncCallbacks();
}
}
} // This is called by the HiddenContext module when we enter or leave a
// hidden subtree. The stack logic is managed there because that's the only
// place that ever modifies it. Which module it lives in doesn't matter for
@@ -36062,7 +36040,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-classic-7b9fdab9";
var ReactVersion = "18.3.0-www-classic-eea7c96b";
function createPortal$1(
children,
@@ -44973,7 +44951,6 @@ exports.render = render;
exports.unmountComponentAtNode = unmountComponentAtNode;
exports.unstable_batchedUpdates = batchedUpdates$1;
exports.unstable_createEventHandle = createEventHandle;
exports.unstable_flushControlled = flushControlled;
exports.unstable_renderSubtreeIntoContainer = renderSubtreeIntoContainer;
exports.unstable_runWithPriority = runWithPriority;
exports.version = ReactVersion;
@@ -30199,28 +30199,6 @@ function isAlreadyRendering() {
function isInvalidExecutionContextForEventFunction() {
// Used to throw if certain APIs are called from the wrong context.
return (executionContext & RenderContext) !== NoContext;
}
function flushControlled(fn) {
var prevExecutionContext = executionContext;
executionContext |= BatchedContext;
var prevTransition = ReactCurrentBatchConfig$1.transition;
var previousPriority = getCurrentUpdatePriority();
try {
ReactCurrentBatchConfig$1.transition = null;
setCurrentUpdatePriority(DiscreteEventPriority);
fn();
} finally {
setCurrentUpdatePriority(previousPriority);
ReactCurrentBatchConfig$1.transition = prevTransition;
executionContext = prevExecutionContext;
if (executionContext === NoContext) {
// Flush the immediate callbacks that were scheduled during this batch
resetRenderTimer();
flushSyncCallbacks();
}
}
} // This is called by the HiddenContext module when we enter or leave a
// hidden subtree. The stack logic is managed there because that's the only
// place that ever modifies it. Which module it lives in doesn't matter for
@@ -33750,7 +33728,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-modern-2bd137fc";
var ReactVersion = "18.3.0-www-modern-a8fa9eb3";
function createPortal$1(
children,
@@ -44043,7 +44021,6 @@ exports.preinit = preinit;
exports.preload = preload;
exports.unstable_batchedUpdates = batchedUpdates$1;
exports.unstable_createEventHandle = createEventHandle;
exports.unstable_flushControlled = flushControlled;
exports.unstable_runWithPriority = runWithPriority;
exports.version = ReactVersion;
@@ -10285,9 +10285,6 @@ function addTransitionProgressCallbackToPendingTransition(
boundaries
));
}
function resetRenderTimer() {
workInProgressRootRenderTargetTime = now() + 500;
}
var hasUncaughtError = !1,
firstUncaughtError = null,
legacyErrorBoundariesThatAlreadyFailed = null,
@@ -10360,7 +10357,8 @@ function scheduleUpdateOnFiber(root, fiber, lane, eventTime) {
2 === lane &&
0 === executionContext &&
0 === (fiber.mode & 1) &&
(resetRenderTimer(), includesLegacySyncCallbacks && flushSyncCallbacks());
((workInProgressRootRenderTargetTime = now() + 500),
includesLegacySyncCallbacks && flushSyncCallbacks());
}
}
function ensureRootIsScheduled(root, currentTime) {
@@ -10713,7 +10711,7 @@ function batchedUpdates$1(fn, a) {
} finally {
(executionContext = prevExecutionContext),
0 === executionContext &&
(resetRenderTimer(),
((workInProgressRootRenderTargetTime = now() + 500),
includesLegacySyncCallbacks && flushSyncCallbacks());
}
}
@@ -10896,7 +10894,7 @@ function renderRootConcurrent(root, lanes) {
prevCacheDispatcher = pushCacheDispatcher();
if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes)
(workInProgressTransitions = getTransitionsForLanes(root, lanes)),
resetRenderTimer(),
(workInProgressRootRenderTargetTime = now() + 500),
prepareFreshStack(root, lanes);
a: do
try {
@@ -12697,7 +12695,8 @@ function attemptSynchronousHydration(fiber) {
(markRootEntangled(root$182, lanes | 2),
ensureRootIsScheduled(root$182, now()),
0 === (executionContext & 6) &&
(resetRenderTimer(), flushSyncCallbacks()));
((workInProgressRootRenderTargetTime = now() + 500),
flushSyncCallbacks()));
}
break;
case 13:
@@ -12984,17 +12983,17 @@ Internals.Events = [
restoreStateIfNeeded,
batchedUpdates$1
];
var devToolsConfig$jscomp$inline_1602 = {
var devToolsConfig$jscomp$inline_1598 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-classic-773bb029",
version: "18.3.0-www-classic-fb88bc59",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2168 = {
bundleType: devToolsConfig$jscomp$inline_1602.bundleType,
version: devToolsConfig$jscomp$inline_1602.version,
rendererPackageName: devToolsConfig$jscomp$inline_1602.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1602.rendererConfig,
bundleType: devToolsConfig$jscomp$inline_1598.bundleType,
version: devToolsConfig$jscomp$inline_1598.version,
rendererPackageName: devToolsConfig$jscomp$inline_1598.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1598.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
@@ -13010,14 +13009,14 @@ var internals$jscomp$inline_2168 = {
return null === fiber ? null : fiber.stateNode;
},
findFiberByHostInstance:
devToolsConfig$jscomp$inline_1602.findFiberByHostInstance ||
devToolsConfig$jscomp$inline_1598.findFiberByHostInstance ||
emptyFindFiberByHostInstance,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-classic-773bb029"
reconcilerVersion: "18.3.0-www-classic-fb88bc59"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2169 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -14411,14 +14410,14 @@ var isInputEventSupported = !1;
if (canUseDOM) {
var JSCompiler_inline_result$jscomp$318;
if (canUseDOM) {
var isSupported$jscomp$inline_1679 = "oninput" in document;
if (!isSupported$jscomp$inline_1679) {
var element$jscomp$inline_1680 = document.createElement("div");
element$jscomp$inline_1680.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1679 =
"function" === typeof element$jscomp$inline_1680.oninput;
var isSupported$jscomp$inline_1675 = "oninput" in document;
if (!isSupported$jscomp$inline_1675) {
var element$jscomp$inline_1676 = document.createElement("div");
element$jscomp$inline_1676.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1675 =
"function" === typeof element$jscomp$inline_1676.oninput;
}
JSCompiler_inline_result$jscomp$318 = isSupported$jscomp$inline_1679;
JSCompiler_inline_result$jscomp$318 = isSupported$jscomp$inline_1675;
} else JSCompiler_inline_result$jscomp$318 = !1;
isInputEventSupported =
JSCompiler_inline_result$jscomp$318 &&
@@ -14559,20 +14558,20 @@ function registerSimpleEvent(domEventName, reactName) {
registerTwoPhaseEvent(reactName, [domEventName]);
}
for (
var i$jscomp$inline_1692 = 0;
i$jscomp$inline_1692 < simpleEventPluginEvents.length;
i$jscomp$inline_1692++
var i$jscomp$inline_1688 = 0;
i$jscomp$inline_1688 < simpleEventPluginEvents.length;
i$jscomp$inline_1688++
) {
var eventName$jscomp$inline_1693 =
simpleEventPluginEvents[i$jscomp$inline_1692],
domEventName$jscomp$inline_1694 =
eventName$jscomp$inline_1693.toLowerCase(),
capitalizedEvent$jscomp$inline_1695 =
eventName$jscomp$inline_1693[0].toUpperCase() +
eventName$jscomp$inline_1693.slice(1);
var eventName$jscomp$inline_1689 =
simpleEventPluginEvents[i$jscomp$inline_1688],
domEventName$jscomp$inline_1690 =
eventName$jscomp$inline_1689.toLowerCase(),
capitalizedEvent$jscomp$inline_1691 =
eventName$jscomp$inline_1689[0].toUpperCase() +
eventName$jscomp$inline_1689.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1694,
"on" + capitalizedEvent$jscomp$inline_1695
domEventName$jscomp$inline_1690,
"on" + capitalizedEvent$jscomp$inline_1691
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -16430,22 +16429,6 @@ exports.unstable_createEventHandle = function (type, options) {
"boolean" === typeof options && (isCapturePhaseListener = options));
return eventHandle;
};
exports.unstable_flushControlled = function (fn) {
var prevExecutionContext = executionContext;
executionContext |= 1;
var prevTransition = ReactCurrentBatchConfig$1.transition,
previousPriority = currentUpdatePriority;
try {
(ReactCurrentBatchConfig$1.transition = null),
(currentUpdatePriority = 2),
fn();
} finally {
(currentUpdatePriority = previousPriority),
(ReactCurrentBatchConfig$1.transition = prevTransition),
(executionContext = prevExecutionContext),
0 === executionContext && (resetRenderTimer(), flushSyncCallbacks());
}
};
exports.unstable_renderSubtreeIntoContainer = function (
parentComponent,
element,
@@ -16465,4 +16448,4 @@ exports.unstable_renderSubtreeIntoContainer = function (
);
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-classic-773bb029";
exports.version = "18.3.0-www-classic-fb88bc59";
@@ -9860,9 +9860,6 @@ function addTransitionProgressCallbackToPendingTransition(
boundaries
));
}
function resetRenderTimer() {
workInProgressRootRenderTargetTime = now() + 500;
}
var hasUncaughtError = !1,
firstUncaughtError = null,
legacyErrorBoundariesThatAlreadyFailed = null,
@@ -9935,7 +9932,8 @@ function scheduleUpdateOnFiber(root, fiber, lane, eventTime) {
2 === lane &&
0 === executionContext &&
0 === (fiber.mode & 1) &&
(resetRenderTimer(), includesLegacySyncCallbacks && flushSyncCallbacks());
((workInProgressRootRenderTargetTime = now() + 500),
includesLegacySyncCallbacks && flushSyncCallbacks());
}
}
function ensureRootIsScheduled(root, currentTime) {
@@ -10288,7 +10286,7 @@ function batchedUpdates$1(fn, a) {
} finally {
(executionContext = prevExecutionContext),
0 === executionContext &&
(resetRenderTimer(),
((workInProgressRootRenderTargetTime = now() + 500),
includesLegacySyncCallbacks && flushSyncCallbacks());
}
}
@@ -10471,7 +10469,7 @@ function renderRootConcurrent(root, lanes) {
prevCacheDispatcher = pushCacheDispatcher();
if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes)
(workInProgressTransitions = getTransitionsForLanes(root, lanes)),
resetRenderTimer(),
(workInProgressRootRenderTargetTime = now() + 500),
prepareFreshStack(root, lanes);
a: do
try {
@@ -12158,7 +12156,8 @@ function attemptSynchronousHydration(fiber) {
(markRootEntangled(root$180, lanes | 2),
ensureRootIsScheduled(root$180, now()),
0 === (executionContext & 6) &&
(resetRenderTimer(), flushSyncCallbacks()));
((workInProgressRootRenderTargetTime = now() + 500),
flushSyncCallbacks()));
}
break;
case 13:
@@ -13431,14 +13430,14 @@ var isInputEventSupported = !1;
if (canUseDOM) {
var JSCompiler_inline_result$jscomp$294;
if (canUseDOM) {
var isSupported$jscomp$inline_1518 = "oninput" in document;
if (!isSupported$jscomp$inline_1518) {
var element$jscomp$inline_1519 = document.createElement("div");
element$jscomp$inline_1519.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1518 =
"function" === typeof element$jscomp$inline_1519.oninput;
var isSupported$jscomp$inline_1514 = "oninput" in document;
if (!isSupported$jscomp$inline_1514) {
var element$jscomp$inline_1515 = document.createElement("div");
element$jscomp$inline_1515.setAttribute("oninput", "return;");
isSupported$jscomp$inline_1514 =
"function" === typeof element$jscomp$inline_1515.oninput;
}
JSCompiler_inline_result$jscomp$294 = isSupported$jscomp$inline_1518;
JSCompiler_inline_result$jscomp$294 = isSupported$jscomp$inline_1514;
} else JSCompiler_inline_result$jscomp$294 = !1;
isInputEventSupported =
JSCompiler_inline_result$jscomp$294 &&
@@ -13750,20 +13749,20 @@ function registerSimpleEvent(domEventName, reactName) {
registerTwoPhaseEvent(reactName, [domEventName]);
}
for (
var i$jscomp$inline_1559 = 0;
i$jscomp$inline_1559 < simpleEventPluginEvents.length;
i$jscomp$inline_1559++
var i$jscomp$inline_1555 = 0;
i$jscomp$inline_1555 < simpleEventPluginEvents.length;
i$jscomp$inline_1555++
) {
var eventName$jscomp$inline_1560 =
simpleEventPluginEvents[i$jscomp$inline_1559],
domEventName$jscomp$inline_1561 =
eventName$jscomp$inline_1560.toLowerCase(),
capitalizedEvent$jscomp$inline_1562 =
eventName$jscomp$inline_1560[0].toUpperCase() +
eventName$jscomp$inline_1560.slice(1);
var eventName$jscomp$inline_1556 =
simpleEventPluginEvents[i$jscomp$inline_1555],
domEventName$jscomp$inline_1557 =
eventName$jscomp$inline_1556.toLowerCase(),
capitalizedEvent$jscomp$inline_1558 =
eventName$jscomp$inline_1556[0].toUpperCase() +
eventName$jscomp$inline_1556.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1561,
"on" + capitalizedEvent$jscomp$inline_1562
domEventName$jscomp$inline_1557,
"on" + capitalizedEvent$jscomp$inline_1558
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -15607,17 +15606,17 @@ Internals.Events = [
restoreStateIfNeeded,
batchedUpdates$1
];
var devToolsConfig$jscomp$inline_1738 = {
var devToolsConfig$jscomp$inline_1734 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-addde25e",
version: "18.3.0-www-modern-269fc792",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2149 = {
bundleType: devToolsConfig$jscomp$inline_1738.bundleType,
version: devToolsConfig$jscomp$inline_1738.version,
rendererPackageName: devToolsConfig$jscomp$inline_1738.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1738.rendererConfig,
bundleType: devToolsConfig$jscomp$inline_1734.bundleType,
version: devToolsConfig$jscomp$inline_1734.version,
rendererPackageName: devToolsConfig$jscomp$inline_1734.rendererPackageName,
rendererConfig: devToolsConfig$jscomp$inline_1734.rendererConfig,
overrideHookState: null,
overrideHookStateDeletePath: null,
overrideHookStateRenamePath: null,
@@ -15634,14 +15633,14 @@ var internals$jscomp$inline_2149 = {
return null === fiber ? null : fiber.stateNode;
},
findFiberByHostInstance:
devToolsConfig$jscomp$inline_1738.findFiberByHostInstance ||
devToolsConfig$jscomp$inline_1734.findFiberByHostInstance ||
emptyFindFiberByHostInstance,
findHostInstancesForRefresh: null,
scheduleRefresh: null,
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-modern-addde25e"
reconcilerVersion: "18.3.0-www-modern-269fc792"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2150 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -15960,21 +15959,5 @@ exports.unstable_createEventHandle = function (type, options) {
"boolean" === typeof options && (isCapturePhaseListener = options));
return eventHandle;
};
exports.unstable_flushControlled = function (fn) {
var prevExecutionContext = executionContext;
executionContext |= 1;
var prevTransition = ReactCurrentBatchConfig$1.transition,
previousPriority = currentUpdatePriority;
try {
(ReactCurrentBatchConfig$1.transition = null),
(currentUpdatePriority = 2),
fn();
} finally {
(currentUpdatePriority = previousPriority),
(ReactCurrentBatchConfig$1.transition = prevTransition),
(executionContext = prevExecutionContext),
0 === executionContext && (resetRenderTimer(), flushSyncCallbacks());
}
};
exports.unstable_runWithPriority = runWithPriority;
exports.version = "18.3.0-www-modern-addde25e";
exports.version = "18.3.0-www-modern-269fc792";
@@ -23947,7 +23947,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-modern-addde25e";
var ReactVersion = "18.3.0-www-modern-269fc792";
// Might add PROFILE later.