react-dom 19.2.0-canary-eaee5308-20250728 → 19.2.0-canary-9be531cd-20250729
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react-dom-client.development.js +45 -32
- package/cjs/react-dom-client.production.js +162 -183
- package/cjs/react-dom-profiling.development.js +45 -32
- package/cjs/react-dom-profiling.profiling.js +165 -186
- package/cjs/react-dom-server-legacy.browser.development.js +1 -1
- package/cjs/react-dom-server-legacy.browser.production.js +1 -1
- package/cjs/react-dom-server-legacy.node.development.js +1 -1
- package/cjs/react-dom-server-legacy.node.production.js +1 -1
- package/cjs/react-dom-server.browser.development.js +3 -3
- package/cjs/react-dom-server.browser.production.js +3 -3
- package/cjs/react-dom-server.bun.development.js +3 -3
- package/cjs/react-dom-server.bun.production.js +3 -3
- package/cjs/react-dom-server.edge.development.js +3 -3
- package/cjs/react-dom-server.edge.production.js +3 -3
- package/cjs/react-dom-server.node.development.js +3 -3
- package/cjs/react-dom-server.node.production.js +3 -3
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -3413,6 +3413,16 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
3413
3413
|
throw SuspenseException;
|
3414
3414
|
}
|
3415
3415
|
}
|
3416
|
+
function resolveLazy(lazyType) {
|
3417
|
+
try {
|
3418
|
+
var init = lazyType._init;
|
3419
|
+
return init(lazyType._payload);
|
3420
|
+
} catch (x) {
|
3421
|
+
if (null !== x && "object" === typeof x && "function" === typeof x.then)
|
3422
|
+
throw ((suspendedThenable = x), SuspenseException);
|
3423
|
+
throw x;
|
3424
|
+
}
|
3425
|
+
}
|
3416
3426
|
var suspendedThenable = null;
|
3417
3427
|
function getSuspendedThenable() {
|
3418
3428
|
if (null === suspendedThenable) throw Error(formatProdErrorMessage(459));
|
@@ -3452,10 +3462,6 @@ function throwOnInvalidObjectType(returnFiber, newChild) {
|
|
3452
3462
|
)
|
3453
3463
|
);
|
3454
3464
|
}
|
3455
|
-
function resolveLazy(lazyType) {
|
3456
|
-
var init = lazyType._init;
|
3457
|
-
return init(lazyType._payload);
|
3458
|
-
}
|
3459
3465
|
function createChildReconciler(shouldTrackSideEffects) {
|
3460
3466
|
function deleteChild(returnFiber, childToDelete) {
|
3461
3467
|
if (shouldTrackSideEffects) {
|
@@ -3628,9 +3634,10 @@ function createChildReconciler(shouldTrackSideEffects) {
|
|
3628
3634
|
newChild
|
3629
3635
|
);
|
3630
3636
|
case REACT_LAZY_TYPE:
|
3631
|
-
|
3632
|
-
|
3633
|
-
|
3637
|
+
return (
|
3638
|
+
(newChild = resolveLazy(newChild)),
|
3639
|
+
createChild(returnFiber, newChild, lanes)
|
3640
|
+
);
|
3634
3641
|
}
|
3635
3642
|
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
3636
3643
|
return (
|
@@ -3677,8 +3684,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
|
3677
3684
|
: null;
|
3678
3685
|
case REACT_LAZY_TYPE:
|
3679
3686
|
return (
|
3680
|
-
(
|
3681
|
-
(newChild = key(newChild._payload)),
|
3687
|
+
(newChild = resolveLazy(newChild)),
|
3682
3688
|
updateSlot(returnFiber, oldFiber, newChild, lanes)
|
3683
3689
|
);
|
3684
3690
|
}
|
@@ -3739,14 +3745,15 @@ function createChildReconciler(shouldTrackSideEffects) {
|
|
3739
3745
|
updatePortal(returnFiber, existingChildren, newChild, lanes)
|
3740
3746
|
);
|
3741
3747
|
case REACT_LAZY_TYPE:
|
3742
|
-
|
3743
|
-
|
3744
|
-
|
3745
|
-
|
3746
|
-
|
3747
|
-
|
3748
|
-
|
3749
|
-
|
3748
|
+
return (
|
3749
|
+
(newChild = resolveLazy(newChild)),
|
3750
|
+
updateFromMap(
|
3751
|
+
existingChildren,
|
3752
|
+
returnFiber,
|
3753
|
+
newIdx,
|
3754
|
+
newChild,
|
3755
|
+
lanes
|
3756
|
+
)
|
3750
3757
|
);
|
3751
3758
|
}
|
3752
3759
|
if (isArrayImpl(newChild) || getIteratorFn(newChild))
|
@@ -4054,8 +4061,7 @@ function createChildReconciler(shouldTrackSideEffects) {
|
|
4054
4061
|
return placeSingleChild(returnFiber);
|
4055
4062
|
case REACT_LAZY_TYPE:
|
4056
4063
|
return (
|
4057
|
-
(
|
4058
|
-
(newChild = key(newChild._payload)),
|
4064
|
+
(newChild = resolveLazy(newChild)),
|
4059
4065
|
reconcileChildFibersImpl(
|
4060
4066
|
returnFiber,
|
4061
4067
|
currentFirstChild,
|
@@ -7435,57 +7441,54 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7435
7441
|
switch (workInProgress.tag) {
|
7436
7442
|
case 16:
|
7437
7443
|
a: {
|
7438
|
-
|
7439
|
-
|
7440
|
-
|
7441
|
-
|
7442
|
-
|
7443
|
-
|
7444
|
-
shouldConstruct(lazyComponent)
|
7445
|
-
? ((current = resolveClassComponentProps(lazyComponent, current)),
|
7444
|
+
var props = workInProgress.pendingProps;
|
7445
|
+
current = resolveLazy(workInProgress.elementType);
|
7446
|
+
workInProgress.type = current;
|
7447
|
+
if ("function" === typeof current)
|
7448
|
+
shouldConstruct(current)
|
7449
|
+
? ((props = resolveClassComponentProps(current, props)),
|
7446
7450
|
(workInProgress.tag = 1),
|
7447
7451
|
(workInProgress = updateClassComponent(
|
7448
7452
|
null,
|
7449
7453
|
workInProgress,
|
7450
|
-
lazyComponent,
|
7451
7454
|
current,
|
7455
|
+
props,
|
7452
7456
|
renderLanes
|
7453
7457
|
)))
|
7454
7458
|
: ((workInProgress.tag = 0),
|
7455
7459
|
(workInProgress = updateFunctionComponent(
|
7456
7460
|
null,
|
7457
7461
|
workInProgress,
|
7458
|
-
lazyComponent,
|
7459
7462
|
current,
|
7463
|
+
props,
|
7460
7464
|
renderLanes
|
7461
7465
|
)));
|
7462
7466
|
else {
|
7463
|
-
if (void 0 !==
|
7464
|
-
|
7465
|
-
|
7466
|
-
) {
|
7467
|
+
if (void 0 !== current && null !== current) {
|
7468
|
+
var $$typeof = current.$$typeof;
|
7469
|
+
if ($$typeof === REACT_FORWARD_REF_TYPE) {
|
7467
7470
|
workInProgress.tag = 11;
|
7468
7471
|
workInProgress = updateForwardRef(
|
7469
7472
|
null,
|
7470
7473
|
workInProgress,
|
7471
|
-
lazyComponent,
|
7472
7474
|
current,
|
7475
|
+
props,
|
7473
7476
|
renderLanes
|
7474
7477
|
);
|
7475
7478
|
break a;
|
7476
|
-
} else if (
|
7479
|
+
} else if ($$typeof === REACT_MEMO_TYPE) {
|
7477
7480
|
workInProgress.tag = 14;
|
7478
7481
|
workInProgress = updateMemoComponent(
|
7479
7482
|
null,
|
7480
7483
|
workInProgress,
|
7481
|
-
lazyComponent,
|
7482
7484
|
current,
|
7485
|
+
props,
|
7483
7486
|
renderLanes
|
7484
7487
|
);
|
7485
7488
|
break a;
|
7486
7489
|
}
|
7487
|
-
|
7488
|
-
|
7490
|
+
}
|
7491
|
+
workInProgress = getComponentNameFromType(current) || current;
|
7489
7492
|
throw Error(formatProdErrorMessage(306, workInProgress, ""));
|
7490
7493
|
}
|
7491
7494
|
}
|
@@ -7500,16 +7503,16 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7500
7503
|
);
|
7501
7504
|
case 1:
|
7502
7505
|
return (
|
7503
|
-
(
|
7504
|
-
(
|
7505
|
-
|
7506
|
+
(props = workInProgress.type),
|
7507
|
+
($$typeof = resolveClassComponentProps(
|
7508
|
+
props,
|
7506
7509
|
workInProgress.pendingProps
|
7507
7510
|
)),
|
7508
7511
|
updateClassComponent(
|
7509
7512
|
current,
|
7510
7513
|
workInProgress,
|
7511
|
-
|
7512
|
-
|
7514
|
+
props,
|
7515
|
+
$$typeof,
|
7513
7516
|
renderLanes
|
7514
7517
|
)
|
7515
7518
|
);
|
@@ -7520,15 +7523,15 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7520
7523
|
workInProgress.stateNode.containerInfo
|
7521
7524
|
);
|
7522
7525
|
if (null === current) throw Error(formatProdErrorMessage(387));
|
7523
|
-
|
7526
|
+
props = workInProgress.pendingProps;
|
7524
7527
|
var prevState = workInProgress.memoizedState;
|
7525
|
-
|
7528
|
+
$$typeof = prevState.element;
|
7526
7529
|
cloneUpdateQueue(current, workInProgress);
|
7527
|
-
processUpdateQueue(workInProgress,
|
7530
|
+
processUpdateQueue(workInProgress, props, null, renderLanes);
|
7528
7531
|
var nextState = workInProgress.memoizedState;
|
7529
|
-
|
7530
|
-
pushProvider(workInProgress, CacheContext,
|
7531
|
-
|
7532
|
+
props = nextState.cache;
|
7533
|
+
pushProvider(workInProgress, CacheContext, props);
|
7534
|
+
props !== prevState.cache &&
|
7532
7535
|
propagateContextChanges(
|
7533
7536
|
workInProgress,
|
7534
7537
|
[CacheContext],
|
@@ -7536,11 +7539,11 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7536
7539
|
!0
|
7537
7540
|
);
|
7538
7541
|
suspendIfUpdateReadFromEntangledAsyncAction();
|
7539
|
-
|
7542
|
+
props = nextState.element;
|
7540
7543
|
if (prevState.isDehydrated)
|
7541
7544
|
if (
|
7542
7545
|
((prevState = {
|
7543
|
-
element:
|
7546
|
+
element: props,
|
7544
7547
|
isDehydrated: !1,
|
7545
7548
|
cache: nextState.cache
|
7546
7549
|
}),
|
@@ -7551,20 +7554,20 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7551
7554
|
workInProgress = mountHostRootWithoutHydrating(
|
7552
7555
|
current,
|
7553
7556
|
workInProgress,
|
7554
|
-
|
7557
|
+
props,
|
7555
7558
|
renderLanes
|
7556
7559
|
);
|
7557
7560
|
break a;
|
7558
|
-
} else if (
|
7559
|
-
|
7561
|
+
} else if (props !== $$typeof) {
|
7562
|
+
$$typeof = createCapturedValueAtFiber(
|
7560
7563
|
Error(formatProdErrorMessage(424)),
|
7561
7564
|
workInProgress
|
7562
7565
|
);
|
7563
|
-
queueHydrationError(
|
7566
|
+
queueHydrationError($$typeof);
|
7564
7567
|
workInProgress = mountHostRootWithoutHydrating(
|
7565
7568
|
current,
|
7566
7569
|
workInProgress,
|
7567
|
-
|
7570
|
+
props,
|
7568
7571
|
renderLanes
|
7569
7572
|
);
|
7570
7573
|
break a;
|
@@ -7588,7 +7591,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7588
7591
|
renderLanes = mountChildFibers(
|
7589
7592
|
workInProgress,
|
7590
7593
|
null,
|
7591
|
-
|
7594
|
+
props,
|
7592
7595
|
renderLanes
|
7593
7596
|
);
|
7594
7597
|
for (workInProgress.child = renderLanes; renderLanes; )
|
@@ -7597,7 +7600,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7597
7600
|
}
|
7598
7601
|
else {
|
7599
7602
|
resetHydrationState();
|
7600
|
-
if (
|
7603
|
+
if (props === $$typeof) {
|
7601
7604
|
workInProgress = bailoutOnAlreadyFinishedWork(
|
7602
7605
|
current,
|
7603
7606
|
workInProgress,
|
@@ -7605,12 +7608,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7605
7608
|
);
|
7606
7609
|
break a;
|
7607
7610
|
}
|
7608
|
-
reconcileChildren(
|
7609
|
-
current,
|
7610
|
-
workInProgress,
|
7611
|
-
lazyComponent,
|
7612
|
-
renderLanes
|
7613
|
-
);
|
7611
|
+
reconcileChildren(current, workInProgress, props, renderLanes);
|
7614
7612
|
}
|
7615
7613
|
workInProgress = workInProgress.child;
|
7616
7614
|
}
|
@@ -7629,14 +7627,14 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7629
7627
|
: isHydrating ||
|
7630
7628
|
((renderLanes = workInProgress.type),
|
7631
7629
|
(current = workInProgress.pendingProps),
|
7632
|
-
(
|
7630
|
+
(props = getOwnerDocumentFromRootContainer(
|
7633
7631
|
rootInstanceStackCursor.current
|
7634
7632
|
).createElement(renderLanes)),
|
7635
|
-
(
|
7636
|
-
(
|
7637
|
-
setInitialProperties(
|
7638
|
-
markNodeAsHoistable(
|
7639
|
-
(workInProgress.stateNode =
|
7633
|
+
(props[internalInstanceKey] = workInProgress),
|
7634
|
+
(props[internalPropsKey] = current),
|
7635
|
+
setInitialProperties(props, renderLanes, current),
|
7636
|
+
markNodeAsHoistable(props),
|
7637
|
+
(workInProgress.stateNode = props))
|
7640
7638
|
: (workInProgress.memoizedState = getResource(
|
7641
7639
|
workInProgress.type,
|
7642
7640
|
current.memoizedProps,
|
@@ -7650,7 +7648,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7650
7648
|
pushHostContext(workInProgress),
|
7651
7649
|
null === current &&
|
7652
7650
|
isHydrating &&
|
7653
|
-
((
|
7651
|
+
((props = workInProgress.stateNode =
|
7654
7652
|
resolveSingletonInstance(
|
7655
7653
|
workInProgress.type,
|
7656
7654
|
workInProgress.pendingProps,
|
@@ -7658,13 +7656,11 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7658
7656
|
)),
|
7659
7657
|
(hydrationParentFiber = workInProgress),
|
7660
7658
|
(rootOrSingletonContext = !0),
|
7661
|
-
(
|
7659
|
+
($$typeof = nextHydratableInstance),
|
7662
7660
|
isSingletonScope(workInProgress.type)
|
7663
|
-
? ((previousHydratableOnEnteringScopedSingleton =
|
7664
|
-
(nextHydratableInstance = getNextHydratable(
|
7665
|
-
|
7666
|
-
)))
|
7667
|
-
: (nextHydratableInstance = init)),
|
7661
|
+
? ((previousHydratableOnEnteringScopedSingleton = $$typeof),
|
7662
|
+
(nextHydratableInstance = getNextHydratable(props.firstChild)))
|
7663
|
+
: (nextHydratableInstance = $$typeof)),
|
7668
7664
|
reconcileChildren(
|
7669
7665
|
current,
|
7670
7666
|
workInProgress,
|
@@ -7677,36 +7673,34 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7677
7673
|
);
|
7678
7674
|
case 5:
|
7679
7675
|
if (null === current && isHydrating) {
|
7680
|
-
if ((
|
7681
|
-
(
|
7682
|
-
|
7676
|
+
if (($$typeof = props = nextHydratableInstance))
|
7677
|
+
(props = canHydrateInstance(
|
7678
|
+
props,
|
7683
7679
|
workInProgress.type,
|
7684
7680
|
workInProgress.pendingProps,
|
7685
7681
|
rootOrSingletonContext
|
7686
7682
|
)),
|
7687
|
-
null !==
|
7688
|
-
? ((workInProgress.stateNode =
|
7683
|
+
null !== props
|
7684
|
+
? ((workInProgress.stateNode = props),
|
7689
7685
|
(hydrationParentFiber = workInProgress),
|
7690
|
-
(nextHydratableInstance = getNextHydratable(
|
7691
|
-
lazyComponent.firstChild
|
7692
|
-
)),
|
7686
|
+
(nextHydratableInstance = getNextHydratable(props.firstChild)),
|
7693
7687
|
(rootOrSingletonContext = !1),
|
7694
|
-
(
|
7695
|
-
: (
|
7696
|
-
|
7688
|
+
($$typeof = !0))
|
7689
|
+
: ($$typeof = !1);
|
7690
|
+
$$typeof || throwOnHydrationMismatch(workInProgress);
|
7697
7691
|
}
|
7698
7692
|
pushHostContext(workInProgress);
|
7699
|
-
|
7693
|
+
$$typeof = workInProgress.type;
|
7700
7694
|
prevState = workInProgress.pendingProps;
|
7701
7695
|
nextState = null !== current ? current.memoizedProps : null;
|
7702
|
-
|
7703
|
-
shouldSetTextContent(
|
7704
|
-
? (
|
7696
|
+
props = prevState.children;
|
7697
|
+
shouldSetTextContent($$typeof, prevState)
|
7698
|
+
? (props = null)
|
7705
7699
|
: null !== nextState &&
|
7706
|
-
shouldSetTextContent(
|
7700
|
+
shouldSetTextContent($$typeof, nextState) &&
|
7707
7701
|
(workInProgress.flags |= 32);
|
7708
7702
|
null !== workInProgress.memoizedState &&
|
7709
|
-
((
|
7703
|
+
(($$typeof = renderWithHooks(
|
7710
7704
|
current,
|
7711
7705
|
workInProgress,
|
7712
7706
|
TransitionAwareHostComponent,
|
@@ -7714,9 +7708,9 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7714
7708
|
null,
|
7715
7709
|
renderLanes
|
7716
7710
|
)),
|
7717
|
-
(HostTransitionContext._currentValue =
|
7711
|
+
(HostTransitionContext._currentValue = $$typeof));
|
7718
7712
|
markRef(current, workInProgress);
|
7719
|
-
reconcileChildren(current, workInProgress,
|
7713
|
+
reconcileChildren(current, workInProgress, props, renderLanes);
|
7720
7714
|
return workInProgress.child;
|
7721
7715
|
case 6:
|
7722
7716
|
if (null === current && isHydrating) {
|
@@ -7743,20 +7737,15 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7743
7737
|
workInProgress,
|
7744
7738
|
workInProgress.stateNode.containerInfo
|
7745
7739
|
),
|
7746
|
-
(
|
7740
|
+
(props = workInProgress.pendingProps),
|
7747
7741
|
null === current
|
7748
7742
|
? (workInProgress.child = reconcileChildFibers(
|
7749
7743
|
workInProgress,
|
7750
7744
|
null,
|
7751
|
-
|
7745
|
+
props,
|
7752
7746
|
renderLanes
|
7753
7747
|
))
|
7754
|
-
: reconcileChildren(
|
7755
|
-
current,
|
7756
|
-
workInProgress,
|
7757
|
-
lazyComponent,
|
7758
|
-
renderLanes
|
7759
|
-
),
|
7748
|
+
: reconcileChildren(current, workInProgress, props, renderLanes),
|
7760
7749
|
workInProgress.child
|
7761
7750
|
);
|
7762
7751
|
case 11:
|
@@ -7791,9 +7780,9 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7791
7780
|
return (
|
7792
7781
|
(workInProgress.flags |= 4),
|
7793
7782
|
(workInProgress.flags |= 2048),
|
7794
|
-
(
|
7795
|
-
(
|
7796
|
-
(
|
7783
|
+
(props = workInProgress.stateNode),
|
7784
|
+
(props.effectDuration = -0),
|
7785
|
+
(props.passiveEffectDuration = -0),
|
7797
7786
|
reconcileChildren(
|
7798
7787
|
current,
|
7799
7788
|
workInProgress,
|
@@ -7804,27 +7793,22 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7804
7793
|
);
|
7805
7794
|
case 10:
|
7806
7795
|
return (
|
7807
|
-
(
|
7808
|
-
pushProvider(workInProgress, workInProgress.type,
|
7809
|
-
reconcileChildren(
|
7810
|
-
current,
|
7811
|
-
workInProgress,
|
7812
|
-
lazyComponent.children,
|
7813
|
-
renderLanes
|
7814
|
-
),
|
7796
|
+
(props = workInProgress.pendingProps),
|
7797
|
+
pushProvider(workInProgress, workInProgress.type, props.value),
|
7798
|
+
reconcileChildren(current, workInProgress, props.children, renderLanes),
|
7815
7799
|
workInProgress.child
|
7816
7800
|
);
|
7817
7801
|
case 9:
|
7818
7802
|
return (
|
7819
|
-
(
|
7820
|
-
(
|
7803
|
+
($$typeof = workInProgress.type._context),
|
7804
|
+
(props = workInProgress.pendingProps.children),
|
7821
7805
|
prepareToReadContext(workInProgress),
|
7822
|
-
(
|
7806
|
+
($$typeof = readContext($$typeof)),
|
7823
7807
|
markComponentRenderStarted(workInProgress),
|
7824
|
-
(
|
7808
|
+
(props = props($$typeof)),
|
7825
7809
|
markComponentRenderStopped(),
|
7826
7810
|
(workInProgress.flags |= 1),
|
7827
|
-
reconcileChildren(current, workInProgress,
|
7811
|
+
reconcileChildren(current, workInProgress, props, renderLanes),
|
7828
7812
|
workInProgress.child
|
7829
7813
|
);
|
7830
7814
|
case 14:
|
@@ -7846,13 +7830,13 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7846
7830
|
case 19:
|
7847
7831
|
return updateSuspenseListComponent(current, workInProgress, renderLanes);
|
7848
7832
|
case 31:
|
7849
|
-
|
7833
|
+
$$typeof = workInProgress.pendingProps;
|
7850
7834
|
nextState = 0 !== (workInProgress.flags & 128);
|
7851
7835
|
workInProgress.flags &= -129;
|
7852
7836
|
if (null === current)
|
7853
7837
|
if (isHydrating) {
|
7854
|
-
if ("hidden" ===
|
7855
|
-
mountActivityChildren(workInProgress,
|
7838
|
+
if ("hidden" === $$typeof.mode)
|
7839
|
+
mountActivityChildren(workInProgress, $$typeof);
|
7856
7840
|
else if (
|
7857
7841
|
(pushDehydratedActivitySuspenseHandler(workInProgress),
|
7858
7842
|
(renderLanes = nextHydratableInstance)
|
@@ -7885,12 +7869,10 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7885
7869
|
throw throwOnHydrationMismatch(workInProgress);
|
7886
7870
|
workInProgress.lanes = 536870912;
|
7887
7871
|
workInProgress = null;
|
7888
|
-
} else workInProgress = mountActivityChildren(workInProgress,
|
7889
|
-
else if (
|
7890
|
-
((lazyComponent = current.memoizedState), null !== lazyComponent)
|
7891
|
-
)
|
7872
|
+
} else workInProgress = mountActivityChildren(workInProgress, $$typeof);
|
7873
|
+
else if (((props = current.memoizedState), null !== props))
|
7892
7874
|
if (
|
7893
|
-
((prevState =
|
7875
|
+
((prevState = props.dehydrated),
|
7894
7876
|
pushDehydratedActivitySuspenseHandler(workInProgress),
|
7895
7877
|
nextState)
|
7896
7878
|
)
|
@@ -7917,16 +7899,16 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7917
7899
|
(nextState = 0 !== (renderLanes & current.childLanes)),
|
7918
7900
|
didReceiveUpdate || nextState)
|
7919
7901
|
) {
|
7920
|
-
|
7902
|
+
$$typeof = workInProgressRoot;
|
7921
7903
|
if (
|
7922
|
-
null !==
|
7923
|
-
((prevState = getBumpedLaneForHydration(
|
7924
|
-
0 !== prevState && prevState !==
|
7904
|
+
null !== $$typeof &&
|
7905
|
+
((prevState = getBumpedLaneForHydration($$typeof, renderLanes)),
|
7906
|
+
0 !== prevState && prevState !== props.retryLane)
|
7925
7907
|
)
|
7926
7908
|
throw (
|
7927
|
-
((
|
7909
|
+
((props.retryLane = prevState),
|
7928
7910
|
enqueueConcurrentRenderForLane(current, prevState),
|
7929
|
-
scheduleUpdateOnFiber(
|
7911
|
+
scheduleUpdateOnFiber($$typeof, current, prevState),
|
7930
7912
|
SelectiveHydrationException)
|
7931
7913
|
);
|
7932
7914
|
renderDidSuspendDelayIfPossible();
|
@@ -7936,7 +7918,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7936
7918
|
renderLanes
|
7937
7919
|
);
|
7938
7920
|
} else
|
7939
|
-
(renderLanes =
|
7921
|
+
(renderLanes = props.treeContext),
|
7940
7922
|
(nextHydratableInstance = getNextHydratable(prevState.nextSibling)),
|
7941
7923
|
(hydrationParentFiber = workInProgress),
|
7942
7924
|
(isHydrating = !0),
|
@@ -7944,12 +7926,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7944
7926
|
(rootOrSingletonContext = !1),
|
7945
7927
|
null !== renderLanes &&
|
7946
7928
|
restoreSuspendedTreeContext(workInProgress, renderLanes),
|
7947
|
-
(workInProgress = mountActivityChildren(workInProgress,
|
7929
|
+
(workInProgress = mountActivityChildren(workInProgress, $$typeof)),
|
7948
7930
|
(workInProgress.flags |= 4096);
|
7949
7931
|
else
|
7950
7932
|
(renderLanes = createWorkInProgress(current.child, {
|
7951
|
-
mode:
|
7952
|
-
children:
|
7933
|
+
mode: $$typeof.mode,
|
7934
|
+
children: $$typeof.children
|
7953
7935
|
})),
|
7954
7936
|
(renderLanes.ref = workInProgress.ref),
|
7955
7937
|
(workInProgress.child = renderLanes),
|
@@ -7966,39 +7948,36 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7966
7948
|
case 24:
|
7967
7949
|
return (
|
7968
7950
|
prepareToReadContext(workInProgress),
|
7969
|
-
(
|
7951
|
+
(props = readContext(CacheContext)),
|
7970
7952
|
null === current
|
7971
|
-
? ((
|
7972
|
-
null ===
|
7973
|
-
((
|
7953
|
+
? (($$typeof = peekCacheFromPool()),
|
7954
|
+
null === $$typeof &&
|
7955
|
+
(($$typeof = workInProgressRoot),
|
7974
7956
|
(prevState = createCache()),
|
7975
|
-
(
|
7957
|
+
($$typeof.pooledCache = prevState),
|
7976
7958
|
prevState.refCount++,
|
7977
|
-
null !== prevState && (
|
7978
|
-
(
|
7979
|
-
(workInProgress.memoizedState = {
|
7980
|
-
parent: lazyComponent,
|
7981
|
-
cache: init
|
7982
|
-
}),
|
7959
|
+
null !== prevState && ($$typeof.pooledCacheLanes |= renderLanes),
|
7960
|
+
($$typeof = prevState)),
|
7961
|
+
(workInProgress.memoizedState = { parent: props, cache: $$typeof }),
|
7983
7962
|
initializeUpdateQueue(workInProgress),
|
7984
|
-
pushProvider(workInProgress, CacheContext,
|
7963
|
+
pushProvider(workInProgress, CacheContext, $$typeof))
|
7985
7964
|
: (0 !== (current.lanes & renderLanes) &&
|
7986
7965
|
(cloneUpdateQueue(current, workInProgress),
|
7987
7966
|
processUpdateQueue(workInProgress, null, null, renderLanes),
|
7988
7967
|
suspendIfUpdateReadFromEntangledAsyncAction()),
|
7989
|
-
(
|
7968
|
+
($$typeof = current.memoizedState),
|
7990
7969
|
(prevState = workInProgress.memoizedState),
|
7991
|
-
|
7992
|
-
? ((
|
7993
|
-
(workInProgress.memoizedState =
|
7970
|
+
$$typeof.parent !== props
|
7971
|
+
? (($$typeof = { parent: props, cache: props }),
|
7972
|
+
(workInProgress.memoizedState = $$typeof),
|
7994
7973
|
0 === workInProgress.lanes &&
|
7995
7974
|
(workInProgress.memoizedState =
|
7996
7975
|
workInProgress.updateQueue.baseState =
|
7997
|
-
|
7998
|
-
pushProvider(workInProgress, CacheContext,
|
7999
|
-
: ((
|
8000
|
-
pushProvider(workInProgress, CacheContext,
|
8001
|
-
|
7976
|
+
$$typeof),
|
7977
|
+
pushProvider(workInProgress, CacheContext, props))
|
7978
|
+
: ((props = prevState.cache),
|
7979
|
+
pushProvider(workInProgress, CacheContext, props),
|
7980
|
+
props !== $$typeof.cache &&
|
8002
7981
|
propagateContextChanges(
|
8003
7982
|
workInProgress,
|
8004
7983
|
[CacheContext],
|
@@ -12767,20 +12746,20 @@ function extractEvents$1(
|
|
12767
12746
|
}
|
12768
12747
|
}
|
12769
12748
|
for (
|
12770
|
-
var i$jscomp$
|
12771
|
-
i$jscomp$
|
12772
|
-
i$jscomp$
|
12749
|
+
var i$jscomp$inline_1678 = 0;
|
12750
|
+
i$jscomp$inline_1678 < simpleEventPluginEvents.length;
|
12751
|
+
i$jscomp$inline_1678++
|
12773
12752
|
) {
|
12774
|
-
var eventName$jscomp$
|
12775
|
-
simpleEventPluginEvents[i$jscomp$
|
12776
|
-
domEventName$jscomp$
|
12777
|
-
eventName$jscomp$
|
12778
|
-
capitalizedEvent$jscomp$
|
12779
|
-
eventName$jscomp$
|
12780
|
-
eventName$jscomp$
|
12753
|
+
var eventName$jscomp$inline_1679 =
|
12754
|
+
simpleEventPluginEvents[i$jscomp$inline_1678],
|
12755
|
+
domEventName$jscomp$inline_1680 =
|
12756
|
+
eventName$jscomp$inline_1679.toLowerCase(),
|
12757
|
+
capitalizedEvent$jscomp$inline_1681 =
|
12758
|
+
eventName$jscomp$inline_1679[0].toUpperCase() +
|
12759
|
+
eventName$jscomp$inline_1679.slice(1);
|
12781
12760
|
registerSimpleEvent(
|
12782
|
-
domEventName$jscomp$
|
12783
|
-
"on" + capitalizedEvent$jscomp$
|
12761
|
+
domEventName$jscomp$inline_1680,
|
12762
|
+
"on" + capitalizedEvent$jscomp$inline_1681
|
12784
12763
|
);
|
12785
12764
|
}
|
12786
12765
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -16415,16 +16394,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
16415
16394
|
0 === i && attemptExplicitHydrationTarget(target);
|
16416
16395
|
}
|
16417
16396
|
};
|
16418
|
-
var isomorphicReactPackageVersion$jscomp$
|
16397
|
+
var isomorphicReactPackageVersion$jscomp$inline_1940 = React.version;
|
16419
16398
|
if (
|
16420
|
-
"19.2.0-canary-
|
16421
|
-
isomorphicReactPackageVersion$jscomp$
|
16399
|
+
"19.2.0-canary-9be531cd-20250729" !==
|
16400
|
+
isomorphicReactPackageVersion$jscomp$inline_1940
|
16422
16401
|
)
|
16423
16402
|
throw Error(
|
16424
16403
|
formatProdErrorMessage(
|
16425
16404
|
527,
|
16426
|
-
isomorphicReactPackageVersion$jscomp$
|
16427
|
-
"19.2.0-canary-
|
16405
|
+
isomorphicReactPackageVersion$jscomp$inline_1940,
|
16406
|
+
"19.2.0-canary-9be531cd-20250729"
|
16428
16407
|
)
|
16429
16408
|
);
|
16430
16409
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -16444,12 +16423,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
16444
16423
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
16445
16424
|
return componentOrElement;
|
16446
16425
|
};
|
16447
|
-
var internals$jscomp$
|
16426
|
+
var internals$jscomp$inline_1947 = {
|
16448
16427
|
bundleType: 0,
|
16449
|
-
version: "19.2.0-canary-
|
16428
|
+
version: "19.2.0-canary-9be531cd-20250729",
|
16450
16429
|
rendererPackageName: "react-dom",
|
16451
16430
|
currentDispatcherRef: ReactSharedInternals,
|
16452
|
-
reconcilerVersion: "19.2.0-canary-
|
16431
|
+
reconcilerVersion: "19.2.0-canary-9be531cd-20250729",
|
16453
16432
|
getLaneLabelMap: function () {
|
16454
16433
|
for (
|
16455
16434
|
var map = new Map(), lane = 1, index$281 = 0;
|
@@ -16467,16 +16446,16 @@ var internals$jscomp$inline_1949 = {
|
|
16467
16446
|
}
|
16468
16447
|
};
|
16469
16448
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
16470
|
-
var hook$jscomp$
|
16449
|
+
var hook$jscomp$inline_2401 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
16471
16450
|
if (
|
16472
|
-
!hook$jscomp$
|
16473
|
-
hook$jscomp$
|
16451
|
+
!hook$jscomp$inline_2401.isDisabled &&
|
16452
|
+
hook$jscomp$inline_2401.supportsFiber
|
16474
16453
|
)
|
16475
16454
|
try {
|
16476
|
-
(rendererID = hook$jscomp$
|
16477
|
-
internals$jscomp$
|
16455
|
+
(rendererID = hook$jscomp$inline_2401.inject(
|
16456
|
+
internals$jscomp$inline_1947
|
16478
16457
|
)),
|
16479
|
-
(injectedHook = hook$jscomp$
|
16458
|
+
(injectedHook = hook$jscomp$inline_2401);
|
16480
16459
|
} catch (err) {}
|
16481
16460
|
}
|
16482
16461
|
function getCrossOriginStringAs(as, input) {
|
@@ -16722,7 +16701,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
16722
16701
|
exports.useFormStatus = function () {
|
16723
16702
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
16724
16703
|
};
|
16725
|
-
exports.version = "19.2.0-canary-
|
16704
|
+
exports.version = "19.2.0-canary-9be531cd-20250729";
|
16726
16705
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
16727
16706
|
"function" ===
|
16728
16707
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|