Skip to content

Commit

Permalink
ncc-compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
vercel-release-bot committed Oct 8, 2024
1 parent 8b79e9c commit e8055dd
Show file tree
Hide file tree
Showing 112 changed files with 5,747 additions and 4,222 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,11 @@ function createLaneMap(initial) {
for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial);
return laneMap;
}
function markRootUpdated$1(root, updateLane) {
root.pendingLanes |= updateLane;
268435456 !== updateLane &&
((root.suspendedLanes = 0), (root.pingedLanes = 0), (root.warmLanes = 0));
}
function markRootFinished(
root,
finishedLanes,
Expand Down Expand Up @@ -2398,7 +2403,12 @@ function markUpdateLaneFromFiberToRoot(sourceFiber, update, lane) {
(update.lane = lane | 536870912));
}
function getRootForUpdatedFiber(sourceFiber) {
throwIfInfiniteUpdateLoopDetected();
if (50 < nestedUpdateCount)
throw (
((nestedUpdateCount = 0),
(rootWithNestedUpdates = null),
Error(formatProdErrorMessage(185)))
);
for (var parent = sourceFiber.return; null !== parent; )
(sourceFiber = parent), (parent = sourceFiber.return);
return 3 === sourceFiber.tag ? sourceFiber.stateNode : null;
Expand Down Expand Up @@ -10334,7 +10344,6 @@ var DefaultAsyncDispatcher = {
workInProgressRootConcurrentErrors = null,
workInProgressRootRecoverableErrors = null,
workInProgressRootDidIncludeRecursiveRenderUpdate = !1,
didIncludeCommitPhaseUpdate = !1,
globalMostRecentFallbackTime = 0,
workInProgressRootRenderTargetTime = Infinity,
workInProgressTransitions = null,
Expand Down Expand Up @@ -10377,7 +10386,7 @@ function scheduleUpdateOnFiber(root, fiber, lane) {
workInProgressDeferredLane,
workInProgressRootDidSkipSuspendedSiblings
);
markRootUpdated(root, lane);
markRootUpdated$1(root, lane);
if (0 === (executionContext & 2) || root !== workInProgressRoot)
root === workInProgressRoot &&
(0 === (executionContext & 2) &&
Expand Down Expand Up @@ -10656,15 +10665,6 @@ function isRenderConsistentWithExternalStores(finishedWork) {
}
return !0;
}
function markRootUpdated(root, updatedLanes) {
root.pendingLanes |= updatedLanes;
268435456 !== updatedLanes &&
((root.suspendedLanes = 0), (root.pingedLanes = 0), (root.warmLanes = 0));
executionContext & 2
? (workInProgressRootDidIncludeRecursiveRenderUpdate = !0)
: executionContext & 4 && (didIncludeCommitPhaseUpdate = !0);
throwIfInfiniteUpdateLoopDetected();
}
function markRootSuspended(
root,
suspendedLanes,
Expand Down Expand Up @@ -11163,8 +11163,8 @@ function commitRootImpl(
do flushPassiveEffects();
while (null !== rootWithPendingPassiveEffects);
if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));
var finishedWork = root.finishedWork,
lanes = root.finishedLanes;
var finishedWork = root.finishedWork;
didIncludeRenderPhaseUpdate = root.finishedLanes;
if (null === finishedWork) return null;
root.finishedWork = null;
root.finishedLanes = 0;
Expand All @@ -11176,13 +11176,12 @@ function commitRootImpl(
remainingLanes |= concurrentlyUpdatedLanes;
markRootFinished(
root,
lanes,
didIncludeRenderPhaseUpdate,
remainingLanes,
spawnedLane,
updatedLanes,
suspendedRetryLanes
);
didIncludeCommitPhaseUpdate = !1;
root === workInProgressRoot &&
((workInProgress = workInProgressRoot = null),
(workInProgressRootRenderLanes = 0));
Expand Down Expand Up @@ -11219,7 +11218,7 @@ function commitRootImpl(
rootDoesHavePassiveEffects
? ((rootDoesHavePassiveEffects = !1),
(rootWithPendingPassiveEffects = root),
(pendingPassiveEffectsLanes = lanes))
(pendingPassiveEffectsLanes = didIncludeRenderPhaseUpdate))
: releaseRootPooledCache(root, remainingLanes);
remainingLanes = root.pendingLanes;
0 === remainingLanes && (legacyErrorBoundariesThatAlreadyFailed = null);
Expand All @@ -11237,9 +11236,7 @@ function commitRootImpl(
});
0 !== (pendingPassiveEffectsLanes & 3) && flushPassiveEffects();
remainingLanes = root.pendingLanes;
didIncludeRenderPhaseUpdate ||
didIncludeCommitPhaseUpdate ||
(0 !== (lanes & 4194218) && 0 !== (remainingLanes & 42))
0 !== (didIncludeRenderPhaseUpdate & 4194218) && 0 !== (remainingLanes & 42)
? root === rootWithNestedUpdates
? nestedUpdateCount++
: ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))
Expand Down Expand Up @@ -11304,7 +11301,7 @@ function captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {
sourceFiber = createRootErrorUpdate(rootFiber.stateNode, sourceFiber, 2);
rootFiber = enqueueUpdate(rootFiber, sourceFiber, 2);
null !== rootFiber &&
(markRootUpdated(rootFiber, 2), ensureRootIsScheduled(rootFiber));
(markRootUpdated$1(rootFiber, 2), ensureRootIsScheduled(rootFiber));
}
function captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error) {
if (3 === sourceFiber.tag)
Expand Down Expand Up @@ -11337,7 +11334,7 @@ function captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error) {
nearestMountedAncestor,
sourceFiber
),
markRootUpdated(instance, 2),
markRootUpdated$1(instance, 2),
ensureRootIsScheduled(instance));
break;
}
Expand Down Expand Up @@ -11366,10 +11363,6 @@ function pingSuspendedRoot(root, wakeable, pingedLanes) {
null !== pingCache && pingCache.delete(wakeable);
root.pingedLanes |= root.suspendedLanes & pingedLanes;
root.warmLanes &= ~pingedLanes;
executionContext & 2
? (workInProgressRootDidIncludeRecursiveRenderUpdate = !0)
: executionContext & 4 && (didIncludeCommitPhaseUpdate = !0);
throwIfInfiniteUpdateLoopDetected();
workInProgressRoot === root &&
(workInProgressRootRenderLanes & pingedLanes) === pingedLanes &&
(4 === workInProgressRootExitStatus ||
Expand All @@ -11387,7 +11380,7 @@ function retryTimedOutBoundary(boundaryFiber, retryLane) {
0 === retryLane && (retryLane = claimNextRetryLane());
boundaryFiber = enqueueConcurrentRenderForLane(boundaryFiber, retryLane);
null !== boundaryFiber &&
(markRootUpdated(boundaryFiber, retryLane),
(markRootUpdated$1(boundaryFiber, retryLane),
ensureRootIsScheduled(boundaryFiber));
}
function retryDehydratedSuspenseBoundary(boundaryFiber) {
Expand Down Expand Up @@ -11416,18 +11409,6 @@ function resolveRetryWakeable(boundaryFiber, wakeable) {
null !== retryCache && retryCache.delete(wakeable);
retryTimedOutBoundary(boundaryFiber, retryLane);
}
function throwIfInfiniteUpdateLoopDetected() {
if (100 < nestedUpdateCount)
throw (
((nestedUpdateCount = 0),
(rootWithNestedUpdates = null),
executionContext & 2 &&
null !== workInProgressRoot &&
(workInProgressRoot.errorRecoveryDisabledLanes |=
workInProgressRootRenderLanes),
Error(formatProdErrorMessage(185)))
);
}
function scheduleCallback$1(priorityLevel, callback) {
return scheduleCallback$3(priorityLevel, callback);
}
Expand Down Expand Up @@ -11714,20 +11695,20 @@ function extractEvents$1(
}
}
for (
var i$jscomp$inline_1412 = 0;
i$jscomp$inline_1412 < simpleEventPluginEvents.length;
i$jscomp$inline_1412++
var i$jscomp$inline_1425 = 0;
i$jscomp$inline_1425 < simpleEventPluginEvents.length;
i$jscomp$inline_1425++
) {
var eventName$jscomp$inline_1413 =
simpleEventPluginEvents[i$jscomp$inline_1412],
domEventName$jscomp$inline_1414 =
eventName$jscomp$inline_1413.toLowerCase(),
capitalizedEvent$jscomp$inline_1415 =
eventName$jscomp$inline_1413[0].toUpperCase() +
eventName$jscomp$inline_1413.slice(1);
var eventName$jscomp$inline_1426 =
simpleEventPluginEvents[i$jscomp$inline_1425],
domEventName$jscomp$inline_1427 =
eventName$jscomp$inline_1426.toLowerCase(),
capitalizedEvent$jscomp$inline_1428 =
eventName$jscomp$inline_1426[0].toUpperCase() +
eventName$jscomp$inline_1426.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1414,
"on" + capitalizedEvent$jscomp$inline_1415
domEventName$jscomp$inline_1427,
"on" + capitalizedEvent$jscomp$inline_1428
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
Expand Down Expand Up @@ -15168,16 +15149,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
0 === i && attemptExplicitHydrationTarget(target);
}
};
var isomorphicReactPackageVersion$jscomp$inline_1659 = React.version;
var isomorphicReactPackageVersion$jscomp$inline_1672 = React.version;
if (
"19.0.0-experimental-2d16326d-20240930" !==
isomorphicReactPackageVersion$jscomp$inline_1659
"19.0.0-experimental-ed966dac-20241007" !==
isomorphicReactPackageVersion$jscomp$inline_1672
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1659,
"19.0.0-experimental-2d16326d-20240930"
isomorphicReactPackageVersion$jscomp$inline_1672,
"19.0.0-experimental-ed966dac-20241007"
)
);
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
Expand All @@ -15197,25 +15178,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
null === componentOrElement ? null : componentOrElement.stateNode;
return componentOrElement;
};
var internals$jscomp$inline_2124 = {
var internals$jscomp$inline_2137 = {
bundleType: 0,
version: "19.0.0-experimental-2d16326d-20240930",
version: "19.0.0-experimental-ed966dac-20241007",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
findFiberByHostInstance: getClosestInstanceFromNode,
reconcilerVersion: "19.0.0-experimental-2d16326d-20240930"
reconcilerVersion: "19.0.0-experimental-ed966dac-20241007"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2125 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2138 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2125.isDisabled &&
hook$jscomp$inline_2125.supportsFiber
!hook$jscomp$inline_2138.isDisabled &&
hook$jscomp$inline_2138.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2125.inject(
internals$jscomp$inline_2124
(rendererID = hook$jscomp$inline_2138.inject(
internals$jscomp$inline_2137
)),
(injectedHook = hook$jscomp$inline_2125);
(injectedHook = hook$jscomp$inline_2138);
} catch (err) {}
}
exports.createRoot = function (container, options) {
Expand Down Expand Up @@ -15301,10 +15282,10 @@ exports.hydrateRoot = function (container, initialChildren, options) {
identifierPrefix.callback = null;
enqueueUpdate(options, identifierPrefix, isStrictMode);
initialChildren.current.lanes = isStrictMode;
markRootUpdated(initialChildren, isStrictMode);
markRootUpdated$1(initialChildren, isStrictMode);
ensureRootIsScheduled(initialChildren);
container[internalContainerInstanceKey] = initialChildren.current;
listenToAllSupportedEvents(container);
return new ReactDOMHydrationRoot(initialChildren);
};
exports.version = "19.0.0-experimental-2d16326d-20240930";
exports.version = "19.0.0-experimental-ed966dac-20241007";
Loading

0 comments on commit e8055dd

Please sign in to comment.