react-dom 19.1.0-canary-0a82580b-20250203 → 19.1.0-canary-ff628334-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
@@ -259,38 +259,36 @@ function pushHostContainer(fiber, nextRootInstance) {
|
|
259
259
|
push(rootInstanceStackCursor, nextRootInstance);
|
260
260
|
push(contextFiberStackCursor, fiber);
|
261
261
|
push(contextStackCursor, null);
|
262
|
-
|
263
|
-
switch (fiber) {
|
262
|
+
switch (nextRootInstance.nodeType) {
|
264
263
|
case 9:
|
265
264
|
case 11:
|
266
|
-
|
267
|
-
? (
|
268
|
-
? getOwnHostContext(
|
265
|
+
fiber = (fiber = nextRootInstance.documentElement)
|
266
|
+
? (fiber = fiber.namespaceURI)
|
267
|
+
? getOwnHostContext(fiber)
|
269
268
|
: 0
|
270
269
|
: 0;
|
271
270
|
break;
|
272
271
|
default:
|
273
272
|
if (
|
274
|
-
((fiber =
|
275
|
-
(nextRootInstance =
|
276
|
-
(fiber = fiber.namespaceURI))
|
273
|
+
((fiber = nextRootInstance.tagName),
|
274
|
+
(nextRootInstance = nextRootInstance.namespaceURI))
|
277
275
|
)
|
278
|
-
(
|
279
|
-
(
|
276
|
+
(nextRootInstance = getOwnHostContext(nextRootInstance)),
|
277
|
+
(fiber = getChildHostContextProd(nextRootInstance, fiber));
|
280
278
|
else
|
281
|
-
switch (
|
279
|
+
switch (fiber) {
|
282
280
|
case "svg":
|
283
|
-
|
281
|
+
fiber = 1;
|
284
282
|
break;
|
285
283
|
case "math":
|
286
|
-
|
284
|
+
fiber = 2;
|
287
285
|
break;
|
288
286
|
default:
|
289
|
-
|
287
|
+
fiber = 0;
|
290
288
|
}
|
291
289
|
}
|
292
290
|
pop(contextStackCursor);
|
293
|
-
push(contextStackCursor,
|
291
|
+
push(contextStackCursor, fiber);
|
294
292
|
}
|
295
293
|
function popHostContainer() {
|
296
294
|
pop(contextStackCursor);
|
@@ -7034,15 +7032,15 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7034
7032
|
workInProgress.stateNode.containerInfo
|
7035
7033
|
);
|
7036
7034
|
if (null === current) throw Error(formatProdErrorMessage(387));
|
7037
|
-
|
7038
|
-
|
7039
|
-
|
7035
|
+
lazyComponent = workInProgress.pendingProps;
|
7036
|
+
var prevState = workInProgress.memoizedState;
|
7037
|
+
init = prevState.element;
|
7040
7038
|
cloneUpdateQueue(current, workInProgress);
|
7041
|
-
processUpdateQueue(workInProgress,
|
7039
|
+
processUpdateQueue(workInProgress, lazyComponent, null, renderLanes);
|
7042
7040
|
var nextState = workInProgress.memoizedState;
|
7043
|
-
|
7044
|
-
pushProvider(workInProgress, CacheContext,
|
7045
|
-
|
7041
|
+
lazyComponent = nextState.cache;
|
7042
|
+
pushProvider(workInProgress, CacheContext, lazyComponent);
|
7043
|
+
lazyComponent !== prevState.cache &&
|
7046
7044
|
propagateContextChanges(
|
7047
7045
|
workInProgress,
|
7048
7046
|
[CacheContext],
|
@@ -7050,62 +7048,68 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7050
7048
|
!0
|
7051
7049
|
);
|
7052
7050
|
suspendIfUpdateReadFromEntangledAsyncAction();
|
7053
|
-
|
7054
|
-
if (
|
7051
|
+
lazyComponent = nextState.element;
|
7052
|
+
if (prevState.isDehydrated)
|
7055
7053
|
if (
|
7056
|
-
((
|
7057
|
-
element:
|
7054
|
+
((prevState = {
|
7055
|
+
element: lazyComponent,
|
7058
7056
|
isDehydrated: !1,
|
7059
7057
|
cache: nextState.cache
|
7060
7058
|
}),
|
7061
|
-
(workInProgress.updateQueue.baseState =
|
7062
|
-
(workInProgress.memoizedState =
|
7059
|
+
(workInProgress.updateQueue.baseState = prevState),
|
7060
|
+
(workInProgress.memoizedState = prevState),
|
7063
7061
|
workInProgress.flags & 256)
|
7064
7062
|
) {
|
7065
7063
|
workInProgress = mountHostRootWithoutHydrating(
|
7066
7064
|
current,
|
7067
7065
|
workInProgress,
|
7068
|
-
|
7066
|
+
lazyComponent,
|
7069
7067
|
renderLanes
|
7070
7068
|
);
|
7071
7069
|
break a;
|
7072
|
-
} else if (
|
7073
|
-
|
7070
|
+
} else if (lazyComponent !== init) {
|
7071
|
+
init = createCapturedValueAtFiber(
|
7074
7072
|
Error(formatProdErrorMessage(424)),
|
7075
7073
|
workInProgress
|
7076
7074
|
);
|
7077
|
-
queueHydrationError(
|
7075
|
+
queueHydrationError(init);
|
7078
7076
|
workInProgress = mountHostRootWithoutHydrating(
|
7079
7077
|
current,
|
7080
7078
|
workInProgress,
|
7081
|
-
|
7079
|
+
lazyComponent,
|
7082
7080
|
renderLanes
|
7083
7081
|
);
|
7084
7082
|
break a;
|
7085
|
-
} else
|
7086
|
-
|
7087
|
-
|
7088
|
-
|
7089
|
-
|
7090
|
-
|
7091
|
-
|
7092
|
-
|
7093
|
-
|
7094
|
-
|
7095
|
-
|
7096
|
-
|
7097
|
-
|
7098
|
-
|
7099
|
-
|
7100
|
-
|
7101
|
-
|
7102
|
-
|
7103
|
-
|
7083
|
+
} else {
|
7084
|
+
current = workInProgress.stateNode.containerInfo;
|
7085
|
+
switch (current.nodeType) {
|
7086
|
+
case 9:
|
7087
|
+
current = current.body;
|
7088
|
+
break;
|
7089
|
+
default:
|
7090
|
+
current =
|
7091
|
+
"HTML" === current.nodeName
|
7092
|
+
? current.ownerDocument.body
|
7093
|
+
: current;
|
7094
|
+
}
|
7095
|
+
nextHydratableInstance = getNextHydratable(current.firstChild);
|
7096
|
+
hydrationParentFiber = workInProgress;
|
7097
|
+
isHydrating = !0;
|
7098
|
+
hydrationErrors = null;
|
7099
|
+
rootOrSingletonContext = !0;
|
7100
|
+
renderLanes = mountChildFibers(
|
7101
|
+
workInProgress,
|
7102
|
+
null,
|
7103
|
+
lazyComponent,
|
7104
|
+
renderLanes
|
7105
|
+
);
|
7106
|
+
for (workInProgress.child = renderLanes; renderLanes; )
|
7104
7107
|
(renderLanes.flags = (renderLanes.flags & -3) | 4096),
|
7105
7108
|
(renderLanes = renderLanes.sibling);
|
7109
|
+
}
|
7106
7110
|
else {
|
7107
7111
|
resetHydrationState();
|
7108
|
-
if (
|
7112
|
+
if (lazyComponent === init) {
|
7109
7113
|
workInProgress = bailoutOnAlreadyFinishedWork(
|
7110
7114
|
current,
|
7111
7115
|
workInProgress,
|
@@ -7113,7 +7117,12 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7113
7117
|
);
|
7114
7118
|
break a;
|
7115
7119
|
}
|
7116
|
-
reconcileChildren(
|
7120
|
+
reconcileChildren(
|
7121
|
+
current,
|
7122
|
+
workInProgress,
|
7123
|
+
lazyComponent,
|
7124
|
+
renderLanes
|
7125
|
+
);
|
7117
7126
|
}
|
7118
7127
|
workInProgress = workInProgress.child;
|
7119
7128
|
}
|
@@ -7161,9 +7170,13 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7161
7170
|
)),
|
7162
7171
|
(hydrationParentFiber = workInProgress),
|
7163
7172
|
(rootOrSingletonContext = !0),
|
7164
|
-
(
|
7165
|
-
|
7166
|
-
|
7173
|
+
(init = nextHydratableInstance),
|
7174
|
+
isSingletonScope(workInProgress.type)
|
7175
|
+
? ((previousHydratableOnEnteringScopedSingleton = init),
|
7176
|
+
(nextHydratableInstance = getNextHydratable(
|
7177
|
+
lazyComponent.firstChild
|
7178
|
+
)))
|
7179
|
+
: (nextHydratableInstance = init)),
|
7167
7180
|
reconcileChildren(
|
7168
7181
|
current,
|
7169
7182
|
workInProgress,
|
@@ -7199,10 +7212,10 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7199
7212
|
init && throwOnHydrationMismatch(workInProgress)),
|
7200
7213
|
pushHostContext(workInProgress),
|
7201
7214
|
(init = workInProgress.type),
|
7202
|
-
(
|
7215
|
+
(prevState = workInProgress.pendingProps),
|
7203
7216
|
(nextState = null !== current ? current.memoizedProps : null),
|
7204
|
-
(lazyComponent =
|
7205
|
-
shouldSetTextContent(init,
|
7217
|
+
(lazyComponent = prevState.children),
|
7218
|
+
shouldSetTextContent(init, prevState)
|
7206
7219
|
? (lazyComponent = null)
|
7207
7220
|
: null !== nextState &&
|
7208
7221
|
shouldSetTextContent(init, nextState) &&
|
@@ -7362,11 +7375,11 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7362
7375
|
? ((init = peekCacheFromPool()),
|
7363
7376
|
null === init &&
|
7364
7377
|
((init = workInProgressRoot),
|
7365
|
-
(
|
7366
|
-
(init.pooledCache =
|
7367
|
-
|
7368
|
-
null !==
|
7369
|
-
(init =
|
7378
|
+
(prevState = createCache()),
|
7379
|
+
(init.pooledCache = prevState),
|
7380
|
+
prevState.refCount++,
|
7381
|
+
null !== prevState && (init.pooledCacheLanes |= renderLanes),
|
7382
|
+
(init = prevState)),
|
7370
7383
|
(workInProgress.memoizedState = {
|
7371
7384
|
parent: lazyComponent,
|
7372
7385
|
cache: init
|
@@ -7378,7 +7391,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7378
7391
|
processUpdateQueue(workInProgress, null, null, renderLanes),
|
7379
7392
|
suspendIfUpdateReadFromEntangledAsyncAction()),
|
7380
7393
|
(init = current.memoizedState),
|
7381
|
-
(
|
7394
|
+
(prevState = workInProgress.memoizedState),
|
7382
7395
|
init.parent !== lazyComponent
|
7383
7396
|
? ((init = { parent: lazyComponent, cache: lazyComponent }),
|
7384
7397
|
(workInProgress.memoizedState = init),
|
@@ -7387,7 +7400,7 @@ function beginWork(current, workInProgress, renderLanes) {
|
|
7387
7400
|
workInProgress.updateQueue.baseState =
|
7388
7401
|
init),
|
7389
7402
|
pushProvider(workInProgress, CacheContext, lazyComponent))
|
7390
|
-
: ((lazyComponent =
|
7403
|
+
: ((lazyComponent = prevState.cache),
|
7391
7404
|
pushProvider(workInProgress, CacheContext, lazyComponent),
|
7392
7405
|
lazyComponent !== init.cache &&
|
7393
7406
|
propagateContextChanges(
|
@@ -7736,7 +7749,7 @@ function isHostParent(fiber) {
|
|
7736
7749
|
5 === fiber.tag ||
|
7737
7750
|
3 === fiber.tag ||
|
7738
7751
|
26 === fiber.tag ||
|
7739
|
-
(27 === fiber.tag &&
|
7752
|
+
(27 === fiber.tag && isSingletonScope(fiber.type)) ||
|
7740
7753
|
4 === fiber.tag
|
7741
7754
|
);
|
7742
7755
|
}
|
@@ -7752,7 +7765,7 @@ function getHostSibling(fiber) {
|
|
7752
7765
|
5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag;
|
7753
7766
|
|
7754
7767
|
) {
|
7755
|
-
if (27 === fiber.tag &&
|
7768
|
+
if (27 === fiber.tag && isSingletonScope(fiber.type)) continue a;
|
7756
7769
|
if (fiber.flags & 2) continue a;
|
7757
7770
|
if (null === fiber.child || 4 === fiber.tag) continue a;
|
7758
7771
|
else (fiber.child.return = fiber), (fiber = fiber.child);
|
@@ -7763,42 +7776,30 @@ function getHostSibling(fiber) {
|
|
7763
7776
|
function insertOrAppendPlacementNodeIntoContainer(node, before, parent) {
|
7764
7777
|
var tag = node.tag;
|
7765
7778
|
if (5 === tag || 6 === tag)
|
7766
|
-
|
7767
|
-
|
7768
|
-
|
7769
|
-
|
7770
|
-
|
7771
|
-
|
7772
|
-
|
7773
|
-
|
7774
|
-
|
7775
|
-
|
7776
|
-
|
7777
|
-
|
7778
|
-
|
7779
|
-
|
7780
|
-
|
7781
|
-
|
7782
|
-
|
7783
|
-
|
7784
|
-
before.
|
7785
|
-
break a;
|
7786
|
-
case 9:
|
7787
|
-
before = parent.body;
|
7788
|
-
break;
|
7789
|
-
default:
|
7790
|
-
before =
|
7791
|
-
"HTML" === parent.nodeName ? parent.ownerDocument.body : parent;
|
7792
|
-
}
|
7793
|
-
before.appendChild(node);
|
7794
|
-
parent = parent._reactRootContainer;
|
7795
|
-
(null !== parent && void 0 !== parent) ||
|
7796
|
-
null !== before.onclick ||
|
7797
|
-
(before.onclick = noop$2);
|
7798
|
-
}
|
7779
|
+
(node = node.stateNode),
|
7780
|
+
before
|
7781
|
+
? (9 === parent.nodeType
|
7782
|
+
? parent.body
|
7783
|
+
: "HTML" === parent.nodeName
|
7784
|
+
? parent.ownerDocument.body
|
7785
|
+
: parent
|
7786
|
+
).insertBefore(node, before)
|
7787
|
+
: ((before =
|
7788
|
+
9 === parent.nodeType
|
7789
|
+
? parent.body
|
7790
|
+
: "HTML" === parent.nodeName
|
7791
|
+
? parent.ownerDocument.body
|
7792
|
+
: parent),
|
7793
|
+
before.appendChild(node),
|
7794
|
+
(parent = parent._reactRootContainer),
|
7795
|
+
(null !== parent && void 0 !== parent) ||
|
7796
|
+
null !== before.onclick ||
|
7797
|
+
(before.onclick = noop$2));
|
7799
7798
|
else if (
|
7800
7799
|
4 !== tag &&
|
7801
|
-
(27 === tag &&
|
7800
|
+
(27 === tag &&
|
7801
|
+
isSingletonScope(node.type) &&
|
7802
|
+
((parent = node.stateNode), (before = null)),
|
7802
7803
|
(node = node.child),
|
7803
7804
|
null !== node)
|
7804
7805
|
)
|
@@ -7818,7 +7819,7 @@ function insertOrAppendPlacementNode(node, before, parent) {
|
|
7818
7819
|
before ? parent.insertBefore(node, before) : parent.appendChild(node);
|
7819
7820
|
else if (
|
7820
7821
|
4 !== tag &&
|
7821
|
-
(27 === tag &&
|
7822
|
+
(27 === tag && isSingletonScope(node.type) && (parent = node.stateNode),
|
7822
7823
|
(node = node.child),
|
7823
7824
|
null !== node)
|
7824
7825
|
)
|
@@ -8226,7 +8227,7 @@ function commitDeletionEffectsOnFiber(
|
|
8226
8227
|
safelyDetachRef(deletedFiber, nearestMountedAncestor);
|
8227
8228
|
var prevHostParent = hostParent,
|
8228
8229
|
prevHostParentIsContainer = hostParentIsContainer;
|
8229
|
-
|
8230
|
+
isSingletonScope(deletedFiber.type) &&
|
8230
8231
|
((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1));
|
8231
8232
|
recursivelyTraverseDeletionEffects(
|
8232
8233
|
finishedRoot,
|
@@ -8254,20 +8255,12 @@ function commitDeletionEffectsOnFiber(
|
|
8254
8255
|
if (null !== hostParent)
|
8255
8256
|
if (hostParentIsContainer)
|
8256
8257
|
try {
|
8257
|
-
|
8258
|
-
|
8259
|
-
|
8260
|
-
|
8261
|
-
|
8262
|
-
|
8263
|
-
break;
|
8264
|
-
default:
|
8265
|
-
parentNode =
|
8266
|
-
"HTML" === hostParent.nodeName
|
8267
|
-
? hostParent.ownerDocument.body
|
8268
|
-
: hostParent;
|
8269
|
-
}
|
8270
|
-
parentNode.removeChild(deletedFiber.stateNode);
|
8258
|
+
(9 === hostParent.nodeType
|
8259
|
+
? hostParent.body
|
8260
|
+
: "HTML" === hostParent.nodeName
|
8261
|
+
? hostParent.ownerDocument.body
|
8262
|
+
: hostParent
|
8263
|
+
).removeChild(deletedFiber.stateNode);
|
8271
8264
|
} catch (error) {
|
8272
8265
|
captureCommitPhaseError(
|
8273
8266
|
deletedFiber,
|
@@ -8290,17 +8283,14 @@ function commitDeletionEffectsOnFiber(
|
|
8290
8283
|
null !== hostParent &&
|
8291
8284
|
(hostParentIsContainer
|
8292
8285
|
? ((finishedRoot = hostParent),
|
8293
|
-
(
|
8294
|
-
|
8295
|
-
|
8296
|
-
: 9 === finishedRoot.nodeType
|
8297
|
-
? clearSuspenseBoundary(finishedRoot.body, deletedFiber)
|
8286
|
+
clearSuspenseBoundary(
|
8287
|
+
9 === finishedRoot.nodeType
|
8288
|
+
? finishedRoot.body
|
8298
8289
|
: "HTML" === finishedRoot.nodeName
|
8299
|
-
?
|
8300
|
-
|
8301
|
-
|
8302
|
-
|
8303
|
-
: clearSuspenseBoundary(finishedRoot, deletedFiber),
|
8290
|
+
? finishedRoot.ownerDocument.body
|
8291
|
+
: finishedRoot,
|
8292
|
+
deletedFiber.stateNode
|
8293
|
+
),
|
8304
8294
|
retryIfBlockedOn(finishedRoot))
|
8305
8295
|
: clearSuspenseBoundary(hostParent, deletedFiber.stateNode));
|
8306
8296
|
break;
|
@@ -8435,7 +8425,7 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
|
|
8435
8425
|
a: for (; null !== parent; ) {
|
8436
8426
|
switch (parent.tag) {
|
8437
8427
|
case 27:
|
8438
|
-
if (
|
8428
|
+
if (isSingletonScope(parent.type)) {
|
8439
8429
|
hostParent = parent.stateNode;
|
8440
8430
|
hostParentIsContainer = !1;
|
8441
8431
|
break a;
|
@@ -9927,14 +9917,14 @@ function prepareToHydrateHostInstance(fiber) {
|
|
9927
9917
|
function popToNextHostParent(fiber) {
|
9928
9918
|
for (hydrationParentFiber = fiber.return; hydrationParentFiber; )
|
9929
9919
|
switch (hydrationParentFiber.tag) {
|
9930
|
-
case 3:
|
9931
|
-
case 27:
|
9932
|
-
rootOrSingletonContext = !0;
|
9933
|
-
return;
|
9934
9920
|
case 5:
|
9935
9921
|
case 13:
|
9936
9922
|
rootOrSingletonContext = !1;
|
9937
9923
|
return;
|
9924
|
+
case 27:
|
9925
|
+
case 3:
|
9926
|
+
rootOrSingletonContext = !0;
|
9927
|
+
return;
|
9938
9928
|
default:
|
9939
9929
|
hydrationParentFiber = hydrationParentFiber.return;
|
9940
9930
|
}
|
@@ -9942,46 +9932,52 @@ function popToNextHostParent(fiber) {
|
|
9942
9932
|
function popHydrationState(fiber) {
|
9943
9933
|
if (fiber !== hydrationParentFiber) return !1;
|
9944
9934
|
if (!isHydrating) return popToNextHostParent(fiber), (isHydrating = !0), !1;
|
9945
|
-
var
|
9935
|
+
var tag = fiber.tag,
|
9946
9936
|
JSCompiler_temp;
|
9947
|
-
if ((JSCompiler_temp = 3 !==
|
9948
|
-
if ((JSCompiler_temp = 5 ===
|
9937
|
+
if ((JSCompiler_temp = 3 !== tag && 27 !== tag)) {
|
9938
|
+
if ((JSCompiler_temp = 5 === tag))
|
9949
9939
|
(JSCompiler_temp = fiber.type),
|
9950
9940
|
(JSCompiler_temp =
|
9951
9941
|
!("form" !== JSCompiler_temp && "button" !== JSCompiler_temp) ||
|
9952
9942
|
shouldSetTextContent(fiber.type, fiber.memoizedProps));
|
9953
9943
|
JSCompiler_temp = !JSCompiler_temp;
|
9954
9944
|
}
|
9955
|
-
JSCompiler_temp &&
|
9956
|
-
shouldClear && nextHydratableInstance && throwOnHydrationMismatch(fiber);
|
9945
|
+
JSCompiler_temp && nextHydratableInstance && throwOnHydrationMismatch(fiber);
|
9957
9946
|
popToNextHostParent(fiber);
|
9958
|
-
if (13 ===
|
9947
|
+
if (13 === tag) {
|
9959
9948
|
fiber = fiber.memoizedState;
|
9960
9949
|
fiber = null !== fiber ? fiber.dehydrated : null;
|
9961
9950
|
if (!fiber) throw Error(formatProdErrorMessage(317));
|
9962
9951
|
a: {
|
9963
9952
|
fiber = fiber.nextSibling;
|
9964
|
-
for (
|
9953
|
+
for (tag = 0; fiber; ) {
|
9965
9954
|
if (8 === fiber.nodeType)
|
9966
9955
|
if (((JSCompiler_temp = fiber.data), "/$" === JSCompiler_temp)) {
|
9967
|
-
if (0 ===
|
9956
|
+
if (0 === tag) {
|
9968
9957
|
nextHydratableInstance = getNextHydratable(fiber.nextSibling);
|
9969
9958
|
break a;
|
9970
9959
|
}
|
9971
|
-
|
9960
|
+
tag--;
|
9972
9961
|
} else
|
9973
9962
|
("$" !== JSCompiler_temp &&
|
9974
9963
|
"$!" !== JSCompiler_temp &&
|
9975
9964
|
"$?" !== JSCompiler_temp) ||
|
9976
|
-
|
9965
|
+
tag++;
|
9977
9966
|
fiber = fiber.nextSibling;
|
9978
9967
|
}
|
9979
9968
|
nextHydratableInstance = null;
|
9980
9969
|
}
|
9981
9970
|
} else
|
9982
|
-
|
9983
|
-
?
|
9984
|
-
|
9971
|
+
27 === tag
|
9972
|
+
? ((tag = nextHydratableInstance),
|
9973
|
+
isSingletonScope(fiber.type)
|
9974
|
+
? ((fiber = previousHydratableOnEnteringScopedSingleton),
|
9975
|
+
(previousHydratableOnEnteringScopedSingleton = null),
|
9976
|
+
(nextHydratableInstance = fiber))
|
9977
|
+
: (nextHydratableInstance = tag))
|
9978
|
+
: (nextHydratableInstance = hydrationParentFiber
|
9979
|
+
? getNextHydratable(fiber.stateNode.nextSibling)
|
9980
|
+
: null);
|
9985
9981
|
return !0;
|
9986
9982
|
}
|
9987
9983
|
function resetHydrationState() {
|
@@ -12375,20 +12371,20 @@ function extractEvents$1(
|
|
12375
12371
|
}
|
12376
12372
|
}
|
12377
12373
|
for (
|
12378
|
-
var i$jscomp$
|
12379
|
-
i$jscomp$
|
12380
|
-
i$jscomp$
|
12374
|
+
var i$jscomp$inline_1596 = 0;
|
12375
|
+
i$jscomp$inline_1596 < simpleEventPluginEvents.length;
|
12376
|
+
i$jscomp$inline_1596++
|
12381
12377
|
) {
|
12382
|
-
var eventName$jscomp$
|
12383
|
-
simpleEventPluginEvents[i$jscomp$
|
12384
|
-
domEventName$jscomp$
|
12385
|
-
eventName$jscomp$
|
12386
|
-
capitalizedEvent$jscomp$
|
12387
|
-
eventName$jscomp$
|
12388
|
-
eventName$jscomp$
|
12378
|
+
var eventName$jscomp$inline_1597 =
|
12379
|
+
simpleEventPluginEvents[i$jscomp$inline_1596],
|
12380
|
+
domEventName$jscomp$inline_1598 =
|
12381
|
+
eventName$jscomp$inline_1597.toLowerCase(),
|
12382
|
+
capitalizedEvent$jscomp$inline_1599 =
|
12383
|
+
eventName$jscomp$inline_1597[0].toUpperCase() +
|
12384
|
+
eventName$jscomp$inline_1597.slice(1);
|
12389
12385
|
registerSimpleEvent(
|
12390
|
-
domEventName$jscomp$
|
12391
|
-
"on" + capitalizedEvent$jscomp$
|
12386
|
+
domEventName$jscomp$inline_1598,
|
12387
|
+
"on" + capitalizedEvent$jscomp$inline_1599
|
12392
12388
|
);
|
12393
12389
|
}
|
12394
12390
|
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
|
@@ -12596,22 +12592,15 @@ function dispatchEventForPluginEventSystem(
|
|
12596
12592
|
var nodeTag = targetInst$jscomp$0.tag;
|
12597
12593
|
if (3 === nodeTag || 4 === nodeTag) {
|
12598
12594
|
var container = targetInst$jscomp$0.stateNode.containerInfo;
|
12599
|
-
if (
|
12600
|
-
container === targetContainer ||
|
12601
|
-
(8 === container.nodeType && container.parentNode === targetContainer)
|
12602
|
-
)
|
12603
|
-
break;
|
12595
|
+
if (container === targetContainer) break;
|
12604
12596
|
if (4 === nodeTag)
|
12605
12597
|
for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag; ) {
|
12606
12598
|
var grandTag = nodeTag.tag;
|
12607
|
-
if (
|
12608
|
-
|
12609
|
-
|
12610
|
-
|
12611
|
-
|
12612
|
-
grandTag.parentNode === targetContainer))
|
12613
|
-
)
|
12614
|
-
return;
|
12599
|
+
if (
|
12600
|
+
(3 === grandTag || 4 === grandTag) &&
|
12601
|
+
nodeTag.stateNode.containerInfo === targetContainer
|
12602
|
+
)
|
12603
|
+
return;
|
12615
12604
|
nodeTag = nodeTag.return;
|
12616
12605
|
}
|
12617
12606
|
for (; null !== container; ) {
|
@@ -14158,21 +14147,56 @@ function handleErrorInNextTick(error) {
|
|
14158
14147
|
throw error;
|
14159
14148
|
});
|
14160
14149
|
}
|
14150
|
+
function isSingletonScope(type) {
|
14151
|
+
return "head" === type;
|
14152
|
+
}
|
14161
14153
|
function clearSuspenseBoundary(parentInstance, suspenseInstance) {
|
14162
14154
|
var node = suspenseInstance,
|
14155
|
+
possiblePreambleContribution = 0,
|
14163
14156
|
depth = 0;
|
14164
14157
|
do {
|
14165
14158
|
var nextNode = node.nextSibling;
|
14166
14159
|
parentInstance.removeChild(node);
|
14167
14160
|
if (nextNode && 8 === nextNode.nodeType)
|
14168
14161
|
if (((node = nextNode.data), "/$" === node)) {
|
14162
|
+
if (
|
14163
|
+
0 < possiblePreambleContribution &&
|
14164
|
+
8 > possiblePreambleContribution
|
14165
|
+
) {
|
14166
|
+
node = possiblePreambleContribution;
|
14167
|
+
var ownerDocument = parentInstance.ownerDocument;
|
14168
|
+
node & 1 && releaseSingletonInstance(ownerDocument.documentElement);
|
14169
|
+
node & 2 && releaseSingletonInstance(ownerDocument.body);
|
14170
|
+
if (node & 4)
|
14171
|
+
for (
|
14172
|
+
node = ownerDocument.head,
|
14173
|
+
releaseSingletonInstance(node),
|
14174
|
+
ownerDocument = node.firstChild;
|
14175
|
+
ownerDocument;
|
14176
|
+
|
14177
|
+
) {
|
14178
|
+
var nextNode$jscomp$0 = ownerDocument.nextSibling,
|
14179
|
+
nodeName = ownerDocument.nodeName;
|
14180
|
+
ownerDocument[internalHoistableMarker] ||
|
14181
|
+
"SCRIPT" === nodeName ||
|
14182
|
+
"STYLE" === nodeName ||
|
14183
|
+
("LINK" === nodeName &&
|
14184
|
+
"stylesheet" === ownerDocument.rel.toLowerCase()) ||
|
14185
|
+
node.removeChild(ownerDocument);
|
14186
|
+
ownerDocument = nextNode$jscomp$0;
|
14187
|
+
}
|
14188
|
+
}
|
14169
14189
|
if (0 === depth) {
|
14170
14190
|
parentInstance.removeChild(nextNode);
|
14171
14191
|
retryIfBlockedOn(suspenseInstance);
|
14172
14192
|
return;
|
14173
14193
|
}
|
14174
14194
|
depth--;
|
14175
|
-
} else
|
14195
|
+
} else
|
14196
|
+
"$" === node || "$?" === node || "$!" === node
|
14197
|
+
? depth++
|
14198
|
+
: (possiblePreambleContribution = node.charCodeAt(0) - 48);
|
14199
|
+
else possiblePreambleContribution = 0;
|
14176
14200
|
node = nextNode;
|
14177
14201
|
} while (node);
|
14178
14202
|
retryIfBlockedOn(suspenseInstance);
|
@@ -14317,6 +14341,7 @@ function getNextHydratable(node) {
|
|
14317
14341
|
}
|
14318
14342
|
return node;
|
14319
14343
|
}
|
14344
|
+
var previousHydratableOnEnteringScopedSingleton = null;
|
14320
14345
|
function getParentSuspenseInstance(targetInstance) {
|
14321
14346
|
targetInstance = targetInstance.previousSibling;
|
14322
14347
|
for (var depth = 0; targetInstance; ) {
|
@@ -15869,16 +15894,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15869
15894
|
0 === i && attemptExplicitHydrationTarget(target);
|
15870
15895
|
}
|
15871
15896
|
};
|
15872
|
-
var isomorphicReactPackageVersion$jscomp$
|
15897
|
+
var isomorphicReactPackageVersion$jscomp$inline_1850 = React.version;
|
15873
15898
|
if (
|
15874
|
-
"19.1.0-canary-
|
15875
|
-
isomorphicReactPackageVersion$jscomp$
|
15899
|
+
"19.1.0-canary-ff628334-20250205" !==
|
15900
|
+
isomorphicReactPackageVersion$jscomp$inline_1850
|
15876
15901
|
)
|
15877
15902
|
throw Error(
|
15878
15903
|
formatProdErrorMessage(
|
15879
15904
|
527,
|
15880
|
-
isomorphicReactPackageVersion$jscomp$
|
15881
|
-
"19.1.0-canary-
|
15905
|
+
isomorphicReactPackageVersion$jscomp$inline_1850,
|
15906
|
+
"19.1.0-canary-ff628334-20250205"
|
15882
15907
|
)
|
15883
15908
|
);
|
15884
15909
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15898,12 +15923,12 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15898
15923
|
null === componentOrElement ? null : componentOrElement.stateNode;
|
15899
15924
|
return componentOrElement;
|
15900
15925
|
};
|
15901
|
-
var internals$jscomp$
|
15926
|
+
var internals$jscomp$inline_1857 = {
|
15902
15927
|
bundleType: 0,
|
15903
|
-
version: "19.1.0-canary-
|
15928
|
+
version: "19.1.0-canary-ff628334-20250205",
|
15904
15929
|
rendererPackageName: "react-dom",
|
15905
15930
|
currentDispatcherRef: ReactSharedInternals,
|
15906
|
-
reconcilerVersion: "19.1.0-canary-
|
15931
|
+
reconcilerVersion: "19.1.0-canary-ff628334-20250205",
|
15907
15932
|
getLaneLabelMap: function () {
|
15908
15933
|
for (
|
15909
15934
|
var map = new Map(), lane = 1, index$281 = 0;
|
@@ -15921,16 +15946,16 @@ var internals$jscomp$inline_1841 = {
|
|
15921
15946
|
}
|
15922
15947
|
};
|
15923
15948
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15924
|
-
var hook$jscomp$
|
15949
|
+
var hook$jscomp$inline_2299 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
15925
15950
|
if (
|
15926
|
-
!hook$jscomp$
|
15927
|
-
hook$jscomp$
|
15951
|
+
!hook$jscomp$inline_2299.isDisabled &&
|
15952
|
+
hook$jscomp$inline_2299.supportsFiber
|
15928
15953
|
)
|
15929
15954
|
try {
|
15930
|
-
(rendererID = hook$jscomp$
|
15931
|
-
internals$jscomp$
|
15955
|
+
(rendererID = hook$jscomp$inline_2299.inject(
|
15956
|
+
internals$jscomp$inline_1857
|
15932
15957
|
)),
|
15933
|
-
(injectedHook = hook$jscomp$
|
15958
|
+
(injectedHook = hook$jscomp$inline_2299);
|
15934
15959
|
} catch (err) {}
|
15935
15960
|
}
|
15936
15961
|
function noop() {}
|
@@ -15997,9 +16022,7 @@ exports.createRoot = function (container, options) {
|
|
15997
16022
|
null
|
15998
16023
|
);
|
15999
16024
|
container[internalContainerInstanceKey] = options.current;
|
16000
|
-
listenToAllSupportedEvents(
|
16001
|
-
8 === container.nodeType ? container.parentNode : container
|
16002
|
-
);
|
16025
|
+
listenToAllSupportedEvents(container);
|
16003
16026
|
return new ReactDOMRoot(options);
|
16004
16027
|
};
|
16005
16028
|
exports.flushSync = function (fn) {
|
@@ -16185,7 +16208,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
16185
16208
|
exports.useFormStatus = function () {
|
16186
16209
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
16187
16210
|
};
|
16188
|
-
exports.version = "19.1.0-canary-
|
16211
|
+
exports.version = "19.1.0-canary-ff628334-20250205";
|
16189
16212
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
16190
16213
|
"function" ===
|
16191
16214
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|