react-dom 19.1.0-canary-a4b2d0d5-20250203 → 19.1.0-canary-d85cf3e5-20250205
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 +377 -361
- package/cjs/react-dom-client.production.js +214 -191
- package/cjs/react-dom-profiling.development.js +377 -361
- package/cjs/react-dom-profiling.profiling.js +214 -191
- package/cjs/react-dom-server-legacy.browser.development.js +73 -28
- package/cjs/react-dom-server-legacy.browser.production.js +97 -52
- package/cjs/react-dom-server-legacy.node.development.js +73 -28
- package/cjs/react-dom-server-legacy.node.production.js +97 -52
- package/cjs/react-dom-server.browser.development.js +90 -38
- package/cjs/react-dom-server.browser.production.js +94 -39
- package/cjs/react-dom-server.bun.development.js +91 -37
- package/cjs/react-dom-server.bun.production.js +94 -42
- package/cjs/react-dom-server.edge.development.js +90 -38
- package/cjs/react-dom-server.edge.production.js +97 -42
- package/cjs/react-dom-server.node.development.js +90 -38
- package/cjs/react-dom-server.node.production.js +97 -42
- 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
@@ -255,38 +255,36 @@ function pushHostContainer(fiber, nextRootInstance) {
|
|
255
255
|
push(rootInstanceStackCursor, nextRootInstance);
|
256
256
|
push(contextFiberStackCursor, fiber);
|
257
257
|
push(contextStackCursor, null);
|
258
|
-
|
259
|
-
switch (fiber) {
|
258
|
+
switch (nextRootInstance.nodeType) {
|
260
259
|
case 9:
|
261
260
|
case 11:
|
262
|
-
|
263
|
-
? (
|
264
|
-
? getOwnHostContext(
|
261
|
+
fiber = (fiber = nextRootInstance.documentElement)
|
262
|
+
? (fiber = fiber.namespaceURI)
|
263
|
+
? getOwnHostContext(fiber)
|
265
264
|
: 0
|
266
265
|
: 0;
|
267
266
|
break;
|
268
267
|
default:
|
269
268
|
if (
|
270
|
-
((fiber =
|
271
|
-
(nextRootInstance =
|
272
|
-
(fiber = fiber.namespaceURI))
|
269
|
+
((fiber = nextRootInstance.tagName),
|
270
|
+
(nextRootInstance = nextRootInstance.namespaceURI))
|
273
271
|
)
|
274
|
-
(
|
275
|
-
(
|
272
|
+
(nextRootInstance = getOwnHostContext(nextRootInstance)),
|
273
|
+
(fiber = getChildHostContextProd(nextRootInstance, fiber));
|
276
274
|
else
|
277
|
-
switch (
|
275
|
+
switch (fiber) {
|
278
276
|
case "svg":
|
279
|
-
|
277
|
+
fiber = 1;
|
280
278
|
break;
|
281
279
|
case "math":
|
282
|
-
|
280
|
+
fiber = 2;
|
283
281
|
break;
|
284
282
|
default:
|
285
|
-
|
283
|
+
fiber = 0;
|
286
284
|
}
|
287
285
|
}
|
288
286
|
pop(contextStackCursor);
|
289
|
-
push(contextStackCursor,
|
287
|
+
push(contextStackCursor, fiber);
|
290
288
|
}
|
291
289
|
function popHostContainer() {
|
292
290
|
pop(contextStackCursor);
|
@@ -6873,15 +6871,15 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
6873
6871
|
workInProgress.stateNode.containerInfo
|
6874
6872
|
);
|
6875
6873
|
if (null === current) throw Error(formatProdErrorMessage(387));
|
6876
|
-
|
6877
|
-
|
6878
|
-
|
6874
|
+
lazyComponent = workInProgress.pendingProps;
|
6875
|
+
var prevState = workInProgress.memoizedState;
|
6876
|
+
init = prevState.element;
|
6879
6877
|
cloneUpdateQueue(current, workInProgress);
|
6880
|
-
processUpdateQueue(workInProgress,
|
6878
|
+
processUpdateQueue(workInProgress, lazyComponent, null, renderLanes);
|
6881
6879
|
var nextState = workInProgress.memoizedState;
|
6882
|
-
|
6883
|
-
pushProvider(workInProgress, CacheContext,
|
6884
|
-
|
6880
|
+
lazyComponent = nextState.cache;
|
6881
|
+
pushProvider(workInProgress, CacheContext, lazyComponent);
|
6882
|
+
lazyComponent !== prevState.cache &&
|
6885
6883
|
propagateContextChanges(
|
6886
6884
|
workInProgress,
|
6887
6885
|
[CacheContext],
|
@@ -6889,62 +6887,68 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
6889
6887
|
!0
|
6890
6888
|
);
|
6891
6889
|
suspendIfUpdateReadFromEntangledAsyncAction();
|
6892
|
-
|
6893
|
-
if (
|
6890
|
+
lazyComponent = nextState.element;
|
6891
|
+
if (prevState.isDehydrated)
|
6894
6892
|
if (
|
6895
|
-
((
|
6896
|
-
element:
|
6893
|
+
((prevState = {
|
6894
|
+
element: lazyComponent,
|
6897
6895
|
isDehydrated: !1,
|
6898
6896
|
cache: nextState.cache
|
6899
6897
|
}),
|
6900
|
-
(workInProgress.updateQueue.baseState =
|
6901
|
-
(workInProgress.memoizedState =
|
6898
|
+
(workInProgress.updateQueue.baseState = prevState),
|
6899
|
+
(workInProgress.memoizedState = prevState),
|
6902
6900
|
workInProgress.flags & 256)
|
6903
6901
|
) {
|
6904
6902
|
workInProgress = mountHostRootWithoutHydrating(
|
6905
6903
|
current,
|
6906
6904
|
workInProgress,
|
6907
|
-
|
6905
|
+
lazyComponent,
|
6908
6906
|
renderLanes
|
6909
6907
|
);
|
6910
6908
|
break a;
|
6911
|
-
} else if (
|
6912
|
-
|
6909
|
+
} else if (lazyComponent !== init) {
|
6910
|
+
init = createCapturedValueAtFiber(
|
6913
6911
|
Error(formatProdErrorMessage(424)),
|
6914
6912
|
workInProgress
|
6915
6913
|
);
|
6916
|
-
queueHydrationError(
|
6914
|
+
queueHydrationError(init);
|
6917
6915
|
workInProgress = mountHostRootWithoutHydrating(
|
6918
6916
|
current,
|
6919
6917
|
workInProgress,
|
6920
|
-
|
6918
|
+
lazyComponent,
|
6921
6919
|
renderLanes
|
6922
6920
|
);
|
6923
6921
|
break a;
|
6924
|
-
} else
|
6925
|
-
|
6926
|
-
|
6927
|
-
|
6928
|
-
|
6929
|
-
|
6930
|
-
|
6931
|
-
|
6932
|
-
|
6933
|
-
|
6934
|
-
|
6935
|
-
|
6936
|
-
|
6937
|
-
|
6938
|
-
|
6939
|
-
|
6940
|
-
|
6941
|
-
|
6942
|
-
|
6922
|
+
} else {
|
6923
|
+
current = workInProgress.stateNode.containerInfo;
|
6924
|
+
switch (current.nodeType) {
|
6925
|
+
case 9:
|
6926
|
+
current = current.body;
|
6927
|
+
break;
|
6928
|
+
default:
|
6929
|
+
current =
|
6930
|
+
"HTML" === current.nodeName
|
6931
|
+
? current.ownerDocument.body
|
6932
|
+
: current;
|
6933
|
+
}
|
6934
|
+
nextHydratableInstance = getNextHydratable(current.firstChild);
|
6935
|
+
hydrationParentFiber = workInProgress;
|
6936
|
+
isHydrating = !0;
|
6937
|
+
hydrationErrors = null;
|
6938
|
+
rootOrSingletonContext = !0;
|
6939
|
+
renderLanes = mountChildFibers(
|
6940
|
+
workInProgress,
|
6941
|
+
null,
|
6942
|
+
lazyComponent,
|
6943
|
+
renderLanes
|
6944
|
+
);
|
6945
|
+
for (workInProgress.child = renderLanes; renderLanes; )
|
6943
6946
|
(renderLanes.flags = (renderLanes.flags & -3) | 4096),
|
6944
6947
|
(renderLanes = renderLanes.sibling);
|
6948
|
+
}
|
6945
6949
|
else {
|
6946
6950
|
resetHydrationState();
|
6947
|
-
if (
|
6951
|
+
if (lazyComponent === init) {
|
6948
6952
|
workInProgress = bailoutOnAlreadyFinishedWork(
|
6949
6953
|
current,
|
6950
6954
|
workInProgress,
|
@@ -6952,7 +6956,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
6952
6956
|
);
|
6953
6957
|
break a;
|
6954
6958
|
}
|
6955
|
-
reconcileChildren(
|
6959
|
+
reconcileChildren(
|
6960
|
+
current,
|
6961
|
+
workInProgress,
|
6962
|
+
lazyComponent,
|
6963
|
+
renderLanes
|
6964
|
+
);
|
6956
6965
|
}
|
6957
6966
|
workInProgress = workInProgress.child;
|
6958
6967
|
}
|
@@ -7000,9 +7009,13 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7000
7009
|
)),
|
7001
7010
|
(hydrationParentFiber = workInProgress),
|
7002
7011
|
(rootOrSingletonContext = !0),
|
7003
|
-
(
|
7004
|
-
|
7005
|
-
|
7012
|
+
(init = nextHydratableInstance),
|
7013
|
+
isSingletonScope(workInProgress.type)
|
7014
|
+
? ((previousHydratableOnEnteringScopedSingleton = init),
|
7015
|
+
(nextHydratableInstance = getNextHydratable(
|
7016
|
+
lazyComponent.firstChild
|
7017
|
+
)))
|
7018
|
+
: (nextHydratableInstance = init)),
|
7006
7019
|
reconcileChildren(
|
7007
7020
|
current,
|
7008
7021
|
workInProgress,
|
@@ -7038,10 +7051,10 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7038
7051
|
init && throwOnHydrationMismatch(workInProgress)),
|
7039
7052
|
pushHostContext(workInProgress),
|
7040
7053
|
(init = workInProgress.type),
|
7041
|
-
(
|
7054
|
+
(prevState = workInProgress.pendingProps),
|
7042
7055
|
(nextState = null !== current ? current.memoizedProps : null),
|
7043
|
-
(lazyComponent =
|
7044
|
-
shouldSetTextContent(init,
|
7056
|
+
(lazyComponent = prevState.children),
|
7057
|
+
shouldSetTextContent(init, prevState)
|
7045
7058
|
? (lazyComponent = null)
|
7046
7059
|
: null !== nextState &&
|
7047
7060
|
shouldSetTextContent(init, nextState) &&
|
@@ -7194,11 +7207,11 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7194
7207
|
? ((init = peekCacheFromPool()),
|
7195
7208
|
null === init &&
|
7196
7209
|
((init = workInProgressRoot),
|
7197
|
-
(
|
7198
|
-
(init.pooledCache =
|
7199
|
-
|
7200
|
-
null !==
|
7201
|
-
(init =
|
7210
|
+
(prevState = createCache()),
|
7211
|
+
(init.pooledCache = prevState),
|
7212
|
+
prevState.refCount++,
|
7213
|
+
null !== prevState && (init.pooledCacheLanes |= renderLanes),
|
7214
|
+
(init = prevState)),
|
7202
7215
|
(workInProgress.memoizedState = {
|
7203
7216
|
parent: lazyComponent,
|
7204
7217
|
cache: init
|
@@ -7210,7 +7223,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7210
7223
|
processUpdateQueue(workInProgress, null, null, renderLanes),
|
7211
7224
|
suspendIfUpdateReadFromEntangledAsyncAction()),
|
7212
7225
|
(init = current.memoizedState),
|
7213
|
-
(
|
7226
|
+
(prevState = workInProgress.memoizedState),
|
7214
7227
|
init.parent !== lazyComponent
|
7215
7228
|
? ((init = { parent: lazyComponent, cache: lazyComponent }),
|
7216
7229
|
(workInProgress.memoizedState = init),
|
@@ -7219,7 +7232,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7219
7232
|
workInProgress.updateQueue.baseState =
|
7220
7233
|
init),
|
7221
7234
|
pushProvider(workInProgress, CacheContext, lazyComponent))
|
7222
|
-
: ((lazyComponent =
|
7235
|
+
: ((lazyComponent = prevState.cache),
|
7223
7236
|
pushProvider(workInProgress, CacheContext, lazyComponent),
|
7224
7237
|
lazyComponent !== init.cache &&
|
7225
7238
|
propagateContextChanges(
|
@@ -7405,7 +7418,7 @@ function isHostParent(fiber) {
|
|
7405
7418
|
5 === fiber.tag ||
|
7406
7419
|
3 === fiber.tag ||
|
7407
7420
|
26 === fiber.tag ||
|
7408
|
-
(27 === fiber.tag &&
|
7421
|
+
(27 === fiber.tag && isSingletonScope(fiber.type)) ||
|
7409
7422
|
4 === fiber.tag
|
7410
7423
|
);
|
7411
7424
|
}
|
@@ -7421,7 +7434,7 @@ function getHostSibling(fiber) {
|
|
7421
7434
|
5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag;
|
7422
7435
|
|
7423
7436
|
) {
|
7424
|
-
if (27 === fiber.tag &&
|
7437
|
+
if (27 === fiber.tag && isSingletonScope(fiber.type)) continue a;
|
7425
7438
|
if (fiber.flags & 2) continue a;
|
7426
7439
|
if (null === fiber.child || 4 === fiber.tag) continue a;
|
7427
7440
|
else (fiber.child.return = fiber), (fiber = fiber.child);
|
@@ -7432,42 +7445,30 @@ function getHostSibling(fiber) {
|
|
7432
7445
|
function insertOrAppendPlacementNodeIntoContainer(node, before, parent) {
|
7433
7446
|
var tag = node.tag;
|
7434
7447
|
if (5 === tag || 6 === tag)
|
7435
|
-
|
7436
|
-
|
7437
|
-
|
7438
|
-
|
7439
|
-
|
7440
|
-
|
7441
|
-
|
7442
|
-
|
7443
|
-
|
7444
|
-
|
7445
|
-
|
7446
|
-
|
7447
|
-
|
7448
|
-
|
7449
|
-
|
7450
|
-
|
7451
|
-
|
7452
|
-
|
7453
|
-
before.
|
7454
|
-
break a;
|
7455
|
-
case 9:
|
7456
|
-
before = parent.body;
|
7457
|
-
break;
|
7458
|
-
default:
|
7459
|
-
before =
|
7460
|
-
"HTML" === parent.nodeName ? parent.ownerDocument.body : parent;
|
7461
|
-
}
|
7462
|
-
before.appendChild(node);
|
7463
|
-
parent = parent._reactRootContainer;
|
7464
|
-
(null !== parent && void 0 !== parent) ||
|
7465
|
-
null !== before.onclick ||
|
7466
|
-
(before.onclick = noop$1);
|
7467
|
-
}
|
7448
|
+
(node = node.stateNode),
|
7449
|
+
before
|
7450
|
+
? (9 === parent.nodeType
|
7451
|
+
? parent.body
|
7452
|
+
: "HTML" === parent.nodeName
|
7453
|
+
? parent.ownerDocument.body
|
7454
|
+
: parent
|
7455
|
+
).insertBefore(node, before)
|
7456
|
+
: ((before =
|
7457
|
+
9 === parent.nodeType
|
7458
|
+
? parent.body
|
7459
|
+
: "HTML" === parent.nodeName
|
7460
|
+
? parent.ownerDocument.body
|
7461
|
+
: parent),
|
7462
|
+
before.appendChild(node),
|
7463
|
+
(parent = parent._reactRootContainer),
|
7464
|
+
(null !== parent && void 0 !== parent) ||
|
7465
|
+
null !== before.onclick ||
|
7466
|
+
(before.onclick = noop$1));
|
7468
7467
|
else if (
|
7469
7468
|
4 !== tag &&
|
7470
|
-
(27 === tag &&
|
7469
|
+
(27 === tag &&
|
7470
|
+
isSingletonScope(node.type) &&
|
7471
|
+
((parent = node.stateNode), (before = null)),
|
7471
7472
|
(node = node.child),
|
7472
7473
|
null !== node)
|
7473
7474
|
)
|
@@ -7487,7 +7488,7 @@ function insertOrAppendPlacementNode(node, before, parent) {
|
|
7487
7488
|
before ? parent.insertBefore(node, before) : parent.appendChild(node);
|
7488
7489
|
else if (
|
7489
7490
|
4 !== tag &&
|
7490
|
-
(27 === tag &&
|
7491
|
+
(27 === tag && isSingletonScope(node.type) && (parent = node.stateNode),
|
7491
7492
|
(node = node.child),
|
7492
7493
|
null !== node)
|
7493
7494
|
)
|
@@ -7850,7 +7851,7 @@ function commitDeletionEffectsOnFiber(
|
|
7850
7851
|
safelyDetachRef(deletedFiber, nearestMountedAncestor);
|
7851
7852
|
var prevHostParent = hostParent,
|
7852
7853
|
prevHostParentIsContainer = hostParentIsContainer;
|
7853
|
-
|
7854
|
+
isSingletonScope(deletedFiber.type) &&
|
7854
7855
|
((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1));
|
7855
7856
|
recursivelyTraverseDeletionEffects(
|
7856
7857
|
finishedRoot,
|
@@ -7878,20 +7879,12 @@ function commitDeletionEffectsOnFiber(
|
|
7878
7879
|
if (null !== hostParent)
|
7879
7880
|
if (hostParentIsContainer)
|
7880
7881
|
try {
|
7881
|
-
|
7882
|
-
|
7883
|
-
|
7884
|
-
|
7885
|
-
|
7886
|
-
|
7887
|
-
break;
|
7888
|
-
default:
|
7889
|
-
parentNode =
|
7890
|
-
"HTML" === hostParent.nodeName
|
7891
|
-
? hostParent.ownerDocument.body
|
7892
|
-
: hostParent;
|
7893
|
-
}
|
7894
|
-
parentNode.removeChild(deletedFiber.stateNode);
|
7882
|
+
(9 === hostParent.nodeType
|
7883
|
+
? hostParent.body
|
7884
|
+
: "HTML" === hostParent.nodeName
|
7885
|
+
? hostParent.ownerDocument.body
|
7886
|
+
: hostParent
|
7887
|
+
).removeChild(deletedFiber.stateNode);
|
7895
7888
|
} catch (error) {
|
7896
7889
|
captureCommitPhaseError(
|
7897
7890
|
deletedFiber,
|
@@ -7914,17 +7907,14 @@ function commitDeletionEffectsOnFiber(
|
|
7914
7907
|
null !== hostParent &&
|
7915
7908
|
(hostParentIsContainer
|
7916
7909
|
? ((finishedRoot = hostParent),
|
7917
|
-
(
|
7918
|
-
|
7919
|
-
|
7920
|
-
: 9 === finishedRoot.nodeType
|
7921
|
-
? clearSuspenseBoundary(finishedRoot.body, deletedFiber)
|
7910
|
+
clearSuspenseBoundary(
|
7911
|
+
9 === finishedRoot.nodeType
|
7912
|
+
? finishedRoot.body
|
7922
7913
|
: "HTML" === finishedRoot.nodeName
|
7923
|
-
?
|
7924
|
-
|
7925
|
-
|
7926
|
-
|
7927
|
-
: clearSuspenseBoundary(finishedRoot, deletedFiber),
|
7914
|
+
? finishedRoot.ownerDocument.body
|
7915
|
+
: finishedRoot,
|
7916
|
+
deletedFiber.stateNode
|
7917
|
+
),
|
7928
7918
|
retryIfBlockedOn(finishedRoot))
|
7929
7919
|
: clearSuspenseBoundary(hostParent, deletedFiber.stateNode));
|
7930
7920
|
break;
|
@@ -8053,7 +8043,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
|
|
8053
8043
|
a: for (; null !== parent; ) {
|
8054
8044
|
switch (parent.tag) {
|
8055
8045
|
case 27:
|
8056
|
-
if (
|
8046
|
+
if (isSingletonScope(parent.type)) {
|
8057
8047
|
hostParent = parent.stateNode;
|
8058
8048
|
hostParentIsContainer = !1;
|
8059
8049
|
break a;
|
@@ -9499,14 +9489,14 @@ function prepareToHydrateHostInstance(fiber) {
|
|
9499
9489
|
function popToNextHostParent(fiber) {
|
9500
9490
|
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
|
9501
9491
|
switch (hydrationParentFiber.tag) {
|
9502
|
-
case 3:
|
9503
|
-
case 27:
|
9504
|
-
rootOrSingletonContext = !0;
|
9505
|
-
return;
|
9506
9492
|
case 5:
|
9507
9493
|
case 13:
|
9508
9494
|
rootOrSingletonContext = !1;
|
9509
9495
|
return;
|
9496
|
+
case 27:
|
9497
|
+
case 3:
|
9498
|
+
rootOrSingletonContext = !0;
|
9499
|
+
return;
|
9510
9500
|
default:
|
9511
9501
|
hydrationParentFiber = hydrationParentFiber.return;
|
9512
9502
|
}
|
@@ -9514,46 +9504,52 @@ function popToNextHostParent(fiber) {
|
|
9514
9504
|
function popHydrationState(fiber) {
|
9515
9505
|
if (fiber !== hydrationParentFiber) return !1;
|
9516
9506
|
if (!isHydrating) return popToNextHostParent(fiber), (isHydrating = !0), !1;
|
9517
|
-
var
|
9507
|
+
var tag = fiber.tag,
|
9518
9508
|
JSCompiler_temp;
|
9519
|
-
if ((JSCompiler_temp = 3 !==
|
9520
|
-
if ((JSCompiler_temp = 5 ===
|
9509
|
+
if ((JSCompiler_temp = 3 !== tag && 27 !== tag)) {
|
9510
|
+
if ((JSCompiler_temp = 5 === tag))
|
9521
9511
|
(JSCompiler_temp = fiber.type),
|
9522
9512
|
(JSCompiler_temp =
|
9523
9513
|
!("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) ||
|
9524
9514
|
shouldSetTextContent(fiber.type, fiber.memoizedProps));
|
9525
9515
|
JSCompiler_temp = !JSCompiler_temp;
|
9526
9516
|
}
|
9527
|
-
JSCompiler_temp &&
|
9528
|
-
shouldClear && nextHydratableInstance && throwOnHydrationMismatch(fiber);
|
9517
|
+
JSCompiler_temp && nextHydratableInstance && throwOnHydrationMismatch(fiber);
|
9529
9518
|
popToNextHostParent(fiber);
|
9530
|
-
if (13 ===
|
9519
|
+
if (13 === tag) {
|
9531
9520
|
fiber = fiber.memoizedState;
|
9532
9521
|
fiber = null !== fiber ? fiber.dehydrated : null;
|
9533
9522
|
if (!fiber) throw Error(formatProdErrorMessage(317));
|
9534
9523
|
a: {
|
9535
9524
|
fiber = fiber.nextSibling;
|
9536
|
-
for (
|
9525
|
+
for (tag = 0; fiber; ) {
|
9537
9526
|
if (8 === fiber.nodeType)
|
9538
9527
|
if (((JSCompiler_temp = fiber.data), "/$" === JSCompiler_temp)) {
|
9539
|
-
if (0 ===
|
9528
|
+
if (0 === tag) {
|
9540
9529
|
nextHydratableInstance = getNextHydratable(fiber.nextSibling);
|
9541
9530
|
break a;
|
9542
9531
|
}
|
9543
|
-
|
9532
|
+
tag--;
|
9544
9533
|
} else
|
9545
9534
|
("$" !== JSCompiler_temp &&
|
9546
9535
|
"$!" !== JSCompiler_temp &&
|
9547
9536
|
"$?" !== JSCompiler_temp) ||
|
9548
|
-
|
9537
|
+
tag++;
|
9549
9538
|
fiber = fiber.nextSibling;
|
9550
9539
|
}
|
9551
9540
|
nextHydratableInstance = null;
|
9552
9541
|
}
|
9553
9542
|
} else
|
9554
|
-
|
9555
|
-
?
|
9556
|
-
|
9543
|
+
27 === tag
|
9544
|
+
? ((tag = nextHydratableInstance),
|
9545
|
+
isSingletonScope(fiber.type)
|
9546
|
+
? ((fiber = previousHydratableOnEnteringScopedSingleton),
|
9547
|
+
(previousHydratableOnEnteringScopedSingleton = null),
|
9548
|
+
(nextHydratableInstance = fiber))
|
9549
|
+
: (nextHydratableInstance = tag))
|
9550
|
+
: (nextHydratableInstance = hydrationParentFiber
|
9551
|
+
? getNextHydratable(fiber.stateNode.nextSibling)
|
9552
|
+
: null);
|
9557
9553
|
return !0;
|
9558
9554
|
}
|
9559
9555
|
function resetHydrationState() {
|
@@ -11746,20 +11742,20 @@ function extractEvents$1(
|
|
11746
11742
|
}
|
11747
11743
|
}
|
11748
11744
|
for (
|
11749
|
-
var i$jscomp$
|
11750
|
-
i$jscomp$
|
11751
|
-
i$jscomp$
|
11745
|
+
var i$jscomp$inline_1502 = 0;
|
11746
|
+
i$jscomp$inline_1502 < simpleEventPluginEvents.length;
|
11747
|
+
i$jscomp$inline_1502++
|
11752
11748
|
) {
|
11753
|
-
var eventName$jscomp$
|
11754
|
-
simpleEventPluginEvents[i$jscomp$
|
11755
|
-
domEventName$jscomp$
|
11756
|
-
eventName$jscomp$
|
11757
|
-
capitalizedEvent$jscomp$
|
11758
|
-
eventName$jscomp$
|
11759
|
-
eventName$jscomp$
|
11749
|
+
var eventName$jscomp$inline_1503 =
|
11750
|
+
simpleEventPluginEvents[i$jscomp$inline_1502],
|
11751
|
+
domEventName$jscomp$inline_1504 =
|
11752
|
+
eventName$jscomp$inline_1503.toLowerCase(),
|
11753
|
+
capitalizedEvent$jscomp$inline_1505 =
|
11754
|
+
eventName$jscomp$inline_1503[0].toUpperCase() +
|
11755
|
+
eventName$jscomp$inline_1503.slice(1);
|
11760
11756
|
registerSimpleEvent(
|
11761
|
-
domEventName$jscomp$
|
11762
|
-
"on" + capitalizedEvent$jscomp$
|
11757
|
+
domEventName$jscomp$inline_1504,
|
11758
|
+
"on" + capitalizedEvent$jscomp$inline_1505
|
11763
11759
|
);
|
11764
11760
|
}
|
11765
11761
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -11967,22 +11963,15 @@ function dispatchEventForPluginEventSystem(
|
|
11967
11963
|
var nodeTag = targetInst$jscomp$0.tag;
|
11968
11964
|
if (3 === nodeTag || 4 === nodeTag) {
|
11969
11965
|
var container = targetInst$jscomp$0.stateNode.containerInfo;
|
11970
|
-
if (
|
11971
|
-
container === targetContainer ||
|
11972
|
-
(8 === container.nodeType && container.parentNode === targetContainer)
|
11973
|
-
)
|
11974
|
-
break;
|
11966
|
+
if (container === targetContainer) break;
|
11975
11967
|
if (4 === nodeTag)
|
11976
11968
|
for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag; ) {
|
11977
11969
|
var grandTag = nodeTag.tag;
|
11978
|
-
if (
|
11979
|
-
|
11980
|
-
|
11981
|
-
|
11982
|
-
|
11983
|
-
grandTag.parentNode === targetContainer))
|
11984
|
-
)
|
11985
|
-
return;
|
11970
|
+
if (
|
11971
|
+
(3 === grandTag || 4 === grandTag) &&
|
11972
|
+
nodeTag.stateNode.containerInfo === targetContainer
|
11973
|
+
)
|
11974
|
+
return;
|
11986
11975
|
nodeTag = nodeTag.return;
|
11987
11976
|
}
|
11988
11977
|
for (; null !== container; ) {
|
@@ -13529,21 +13518,56 @@ function handleErrorInNextTick(error) {
|
|
13529
13518
|
throw error;
|
13530
13519
|
});
|
13531
13520
|
}
|
13521
|
+
function isSingletonScope(type) {
|
13522
|
+
return "head" === type;
|
13523
|
+
}
|
13532
13524
|
function clearSuspenseBoundary(parentInstance, suspenseInstance) {
|
13533
13525
|
var node = suspenseInstance,
|
13526
|
+
possiblePreambleContribution = 0,
|
13534
13527
|
depth = 0;
|
13535
13528
|
do {
|
13536
13529
|
var nextNode = node.nextSibling;
|
13537
13530
|
parentInstance.removeChild(node);
|
13538
13531
|
if (nextNode && 8 === nextNode.nodeType)
|
13539
13532
|
if (((node = nextNode.data), "/$" === node)) {
|
13533
|
+
if (
|
13534
|
+
0 < possiblePreambleContribution &&
|
13535
|
+
8 > possiblePreambleContribution
|
13536
|
+
) {
|
13537
|
+
node = possiblePreambleContribution;
|
13538
|
+
var ownerDocument = parentInstance.ownerDocument;
|
13539
|
+
node & 1 && releaseSingletonInstance(ownerDocument.documentElement);
|
13540
|
+
node & 2 && releaseSingletonInstance(ownerDocument.body);
|
13541
|
+
if (node & 4)
|
13542
|
+
for (
|
13543
|
+
node = ownerDocument.head,
|
13544
|
+
releaseSingletonInstance(node),
|
13545
|
+
ownerDocument = node.firstChild;
|
13546
|
+
ownerDocument;
|
13547
|
+
|
13548
|
+
) {
|
13549
|
+
var nextNode$jscomp$0 = ownerDocument.nextSibling,
|
13550
|
+
nodeName = ownerDocument.nodeName;
|
13551
|
+
ownerDocument[internalHoistableMarker] ||
|
13552
|
+
"SCRIPT" === nodeName ||
|
13553
|
+
"STYLE" === nodeName ||
|
13554
|
+
("LINK" === nodeName &&
|
13555
|
+
"stylesheet" === ownerDocument.rel.toLowerCase()) ||
|
13556
|
+
node.removeChild(ownerDocument);
|
13557
|
+
ownerDocument = nextNode$jscomp$0;
|
13558
|
+
}
|
13559
|
+
}
|
13540
13560
|
if (0 === depth) {
|
13541
13561
|
parentInstance.removeChild(nextNode);
|
13542
13562
|
retryIfBlockedOn(suspenseInstance);
|
13543
13563
|
return;
|
13544
13564
|
}
|
13545
13565
|
depth--;
|
13546
|
-
} else
|
13566
|
+
} else
|
13567
|
+
"$" === node || "$?" === node || "$!" === node
|
13568
|
+
? depth++
|
13569
|
+
: (possiblePreambleContribution = node.charCodeAt(0) - 48);
|
13570
|
+
else possiblePreambleContribution = 0;
|
13547
13571
|
node = nextNode;
|
13548
13572
|
} while (node);
|
13549
13573
|
retryIfBlockedOn(suspenseInstance);
|
@@ -13688,6 +13712,7 @@ function getNextHydratable(node) {
|
|
13688
13712
|
}
|
13689
13713
|
return node;
|
13690
13714
|
}
|
13715
|
+
var previousHydratableOnEnteringScopedSingleton = null;
|
13691
13716
|
function getParentSuspenseInstance(targetInstance) {
|
13692
13717
|
targetInstance = targetInstance.previousSibling;
|
13693
13718
|
for (var depth = 0; targetInstance; ) {
|
@@ -15221,16 +15246,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15221
15246
|
0 === i && attemptExplicitHydrationTarget(target);
|
15222
15247
|
}
|
15223
15248
|
};
|
15224
|
-
var isomorphicReactPackageVersion$jscomp$
|
15249
|
+
var isomorphicReactPackageVersion$jscomp$inline_1754 = React.version;
|
15225
15250
|
if (
|
15226
|
-
"19.1.0-canary-
|
15227
|
-
isomorphicReactPackageVersion$jscomp$
|
15251
|
+
"19.1.0-canary-d85cf3e5-20250205" !==
|
15252
|
+
isomorphicReactPackageVersion$jscomp$inline_1754
|
15228
15253
|
)
|
15229
15254
|
throw Error(
|
15230
15255
|
formatProdErrorMessage(
|
15231
15256
|
527,
|
15232
|
-
isomorphicReactPackageVersion$jscomp$
|
15233
|
-
"19.1.0-canary-
|
15257
|
+
isomorphicReactPackageVersion$jscomp$inline_1754,
|
15258
|
+
"19.1.0-canary-d85cf3e5-20250205"
|
15234
15259
|
)
|
15235
15260
|
);
|
15236
15261
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15250,24 +15275,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15250
15275
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
15251
15276
|
return componentOrElement;
|
15252
15277
|
};
|
15253
|
-
var internals$jscomp$
|
15278
|
+
var internals$jscomp$inline_2235 = {
|
15254
15279
|
bundleType: 0,
|
15255
|
-
version: "19.1.0-canary-
|
15280
|
+
version: "19.1.0-canary-d85cf3e5-20250205",
|
15256
15281
|
rendererPackageName: "react-dom",
|
15257
15282
|
currentDispatcherRef: ReactSharedInternals,
|
15258
|
-
reconcilerVersion: "19.1.0-canary-
|
15283
|
+
reconcilerVersion: "19.1.0-canary-d85cf3e5-20250205"
|
15259
15284
|
};
|
15260
15285
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15261
|
-
var hook$jscomp$
|
15286
|
+
var hook$jscomp$inline_2236 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
15262
15287
|
if (
|
15263
|
-
!hook$jscomp$
|
15264
|
-
hook$jscomp$
|
15288
|
+
!hook$jscomp$inline_2236.isDisabled &&
|
15289
|
+
hook$jscomp$inline_2236.supportsFiber
|
15265
15290
|
)
|
15266
15291
|
try {
|
15267
|
-
(rendererID = hook$jscomp$
|
15268
|
-
internals$jscomp$
|
15292
|
+
(rendererID = hook$jscomp$inline_2236.inject(
|
15293
|
+
internals$jscomp$inline_2235
|
15269
15294
|
)),
|
15270
|
-
(injectedHook = hook$jscomp$
|
15295
|
+
(injectedHook = hook$jscomp$inline_2236);
|
15271
15296
|
} catch (err) {}
|
15272
15297
|
}
|
15273
15298
|
exports.createRoot = function (container, options) {
|
@@ -15305,9 +15330,7 @@ exports.createRoot = function (container, options) {
|
|
15305
15330
|
null
|
15306
15331
|
);
|
15307
15332
|
container[internalContainerInstanceKey] = options.current;
|
15308
|
-
listenToAllSupportedEvents(
|
15309
|
-
8 === container.nodeType ? container.parentNode : container
|
15310
|
-
);
|
15333
|
+
listenToAllSupportedEvents(container);
|
15311
15334
|
return new ReactDOMRoot(options);
|
15312
15335
|
};
|
15313
15336
|
exports.hydrateRoot = function (container, initialChildren, options) {
|
@@ -15361,4 +15384,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
15361
15384
|
listenToAllSupportedEvents(container);
|
15362
15385
|
return new ReactDOMHydrationRoot(initialChildren);
|
15363
15386
|
};
|
15364
|
-
exports.version = "19.1.0-canary-
|
15387
|
+
exports.version = "19.1.0-canary-d85cf3e5-20250205";
|