react-dom 19.1.0-canary-ff628334-20250205 → 19.1.0-canary-8759c5c8-20250207
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 +241 -205
- package/cjs/react-dom-client.production.js +8 -6
- package/cjs/react-dom-profiling.development.js +241 -205
- package/cjs/react-dom-profiling.profiling.js +8 -6
- 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
@@ -2269,33 +2269,41 @@
|
|
2269
2269
|
return null !== node ? describeDiff(node).replaceAll(/^[+-]/gm, ">") : "";
|
2270
2270
|
}
|
2271
2271
|
function updatedAncestorInfoDev(oldInfo, tag) {
|
2272
|
-
|
2273
|
-
|
2272
|
+
var ancestorInfo = assign({}, oldInfo || emptyAncestorInfoDev),
|
2273
|
+
info = { tag: tag };
|
2274
2274
|
-1 !== inScopeTags.indexOf(tag) &&
|
2275
|
-
((
|
2276
|
-
(
|
2277
|
-
(
|
2278
|
-
-1 !== buttonScopeTags.indexOf(tag) &&
|
2275
|
+
((ancestorInfo.aTagInScope = null),
|
2276
|
+
(ancestorInfo.buttonTagInScope = null),
|
2277
|
+
(ancestorInfo.nobrTagInScope = null));
|
2278
|
+
-1 !== buttonScopeTags.indexOf(tag) &&
|
2279
|
+
(ancestorInfo.pTagInButtonScope = null);
|
2279
2280
|
-1 !== specialTags.indexOf(tag) &&
|
2280
2281
|
"address" !== tag &&
|
2281
2282
|
"div" !== tag &&
|
2282
2283
|
"p" !== tag &&
|
2283
|
-
((
|
2284
|
-
(
|
2285
|
-
|
2286
|
-
"form" === tag && (
|
2287
|
-
"a" === tag && (
|
2288
|
-
"button" === tag && (
|
2289
|
-
"nobr" === tag && (
|
2290
|
-
"p" === tag && (
|
2291
|
-
"li" === tag && (
|
2292
|
-
if ("dd" === tag || "dt" === tag)
|
2284
|
+
((ancestorInfo.listItemTagAutoclosing = null),
|
2285
|
+
(ancestorInfo.dlItemTagAutoclosing = null));
|
2286
|
+
ancestorInfo.current = info;
|
2287
|
+
"form" === tag && (ancestorInfo.formTag = info);
|
2288
|
+
"a" === tag && (ancestorInfo.aTagInScope = info);
|
2289
|
+
"button" === tag && (ancestorInfo.buttonTagInScope = info);
|
2290
|
+
"nobr" === tag && (ancestorInfo.nobrTagInScope = info);
|
2291
|
+
"p" === tag && (ancestorInfo.pTagInButtonScope = info);
|
2292
|
+
"li" === tag && (ancestorInfo.listItemTagAutoclosing = info);
|
2293
|
+
if ("dd" === tag || "dt" === tag)
|
2294
|
+
ancestorInfo.dlItemTagAutoclosing = info;
|
2293
2295
|
"#document" === tag || "html" === tag
|
2294
|
-
? (
|
2295
|
-
:
|
2296
|
-
|
2297
|
-
|
2298
|
-
|
2296
|
+
? (ancestorInfo.containerTagInScope = null)
|
2297
|
+
: ancestorInfo.containerTagInScope ||
|
2298
|
+
(ancestorInfo.containerTagInScope = info);
|
2299
|
+
null !== oldInfo ||
|
2300
|
+
("#document" !== tag && "html" !== tag && "body" !== tag)
|
2301
|
+
? !0 === ancestorInfo.implicitRootScope &&
|
2302
|
+
(ancestorInfo.implicitRootScope = !1)
|
2303
|
+
: (ancestorInfo.implicitRootScope = !0);
|
2304
|
+
return ancestorInfo;
|
2305
|
+
}
|
2306
|
+
function isTagValidWithParent(tag, parentTag, implicitRootScope) {
|
2299
2307
|
switch (parentTag) {
|
2300
2308
|
case "select":
|
2301
2309
|
return (
|
@@ -2355,11 +2363,12 @@
|
|
2355
2363
|
"template" === tag
|
2356
2364
|
);
|
2357
2365
|
case "html":
|
2366
|
+
if (implicitRootScope) break;
|
2358
2367
|
return "head" === tag || "body" === tag || "frameset" === tag;
|
2359
2368
|
case "frameset":
|
2360
2369
|
return "frame" === tag;
|
2361
2370
|
case "#document":
|
2362
|
-
return "html" === tag;
|
2371
|
+
if (!implicitRootScope) return "html" === tag;
|
2363
2372
|
}
|
2364
2373
|
switch (tag) {
|
2365
2374
|
case "h1":
|
@@ -2379,14 +2388,11 @@
|
|
2379
2388
|
case "rp":
|
2380
2389
|
case "rt":
|
2381
2390
|
return -1 === impliedEndTags.indexOf(parentTag);
|
2382
|
-
case "body":
|
2383
2391
|
case "caption":
|
2384
2392
|
case "col":
|
2385
2393
|
case "colgroup":
|
2386
2394
|
case "frameset":
|
2387
2395
|
case "frame":
|
2388
|
-
case "head":
|
2389
|
-
case "html":
|
2390
2396
|
case "tbody":
|
2391
2397
|
case "td":
|
2392
2398
|
case "tfoot":
|
@@ -2394,6 +2400,19 @@
|
|
2394
2400
|
case "thead":
|
2395
2401
|
case "tr":
|
2396
2402
|
return null == parentTag;
|
2403
|
+
case "head":
|
2404
|
+
return implicitRootScope || null === parentTag;
|
2405
|
+
case "html":
|
2406
|
+
return (
|
2407
|
+
(implicitRootScope && "#document" === parentTag) ||
|
2408
|
+
null === parentTag
|
2409
|
+
);
|
2410
|
+
case "body":
|
2411
|
+
return (
|
2412
|
+
(implicitRootScope &&
|
2413
|
+
("#document" === parentTag || "html" === parentTag)) ||
|
2414
|
+
null === parentTag
|
2415
|
+
);
|
2397
2416
|
}
|
2398
2417
|
return !0;
|
2399
2418
|
}
|
@@ -2468,7 +2487,8 @@
|
|
2468
2487
|
var parentInfo = ancestorInfo.current;
|
2469
2488
|
ancestorInfo = (parentInfo = isTagValidWithParent(
|
2470
2489
|
childTag,
|
2471
|
-
parentInfo && parentInfo.tag
|
2490
|
+
parentInfo && parentInfo.tag,
|
2491
|
+
ancestorInfo.implicitRootScope
|
2472
2492
|
)
|
2473
2493
|
? null
|
2474
2494
|
: parentInfo)
|
@@ -2509,32 +2529,33 @@
|
|
2509
2529
|
);
|
2510
2530
|
return !1;
|
2511
2531
|
}
|
2512
|
-
function validateTextNesting(childText, parentTag) {
|
2513
|
-
if (isTagValidWithParent("#text", parentTag))
|
2514
|
-
|
2515
|
-
|
2516
|
-
didWarn[
|
2517
|
-
|
2518
|
-
|
2532
|
+
function validateTextNesting(childText, parentTag, implicitRootScope) {
|
2533
|
+
if (implicitRootScope || isTagValidWithParent("#text", parentTag, !1))
|
2534
|
+
return !0;
|
2535
|
+
implicitRootScope = "#text|" + parentTag;
|
2536
|
+
if (didWarn[implicitRootScope]) return !1;
|
2537
|
+
didWarn[implicitRootScope] = !0;
|
2538
|
+
var ancestor = (implicitRootScope = current)
|
2539
|
+
? findAncestor(implicitRootScope, parentTag)
|
2519
2540
|
: null;
|
2520
|
-
|
2521
|
-
null !==
|
2541
|
+
implicitRootScope =
|
2542
|
+
null !== implicitRootScope && null !== ancestor
|
2522
2543
|
? describeAncestors(
|
2523
2544
|
ancestor,
|
2524
|
-
|
2525
|
-
6 !==
|
2545
|
+
implicitRootScope,
|
2546
|
+
6 !== implicitRootScope.tag ? { children: null } : null
|
2526
2547
|
)
|
2527
2548
|
: "";
|
2528
2549
|
/\S/.test(childText)
|
2529
2550
|
? console.error(
|
2530
2551
|
"In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.%s",
|
2531
2552
|
parentTag,
|
2532
|
-
|
2553
|
+
implicitRootScope
|
2533
2554
|
)
|
2534
2555
|
: console.error(
|
2535
2556
|
"In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.\nThis will cause a hydration error.%s",
|
2536
2557
|
parentTag,
|
2537
|
-
|
2558
|
+
implicitRootScope
|
2538
2559
|
);
|
2539
2560
|
return !1;
|
2540
2561
|
}
|
@@ -8852,32 +8873,32 @@
|
|
8852
8873
|
return current;
|
8853
8874
|
}
|
8854
8875
|
function updateSuspenseComponent(current, workInProgress, renderLanes) {
|
8855
|
-
var
|
8856
|
-
var
|
8876
|
+
var JSCompiler_object_inline_digest_2413;
|
8877
|
+
var JSCompiler_object_inline_stack_2414 = workInProgress.pendingProps;
|
8857
8878
|
shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
|
8858
|
-
var
|
8879
|
+
var JSCompiler_object_inline_componentStack_2415 = !1;
|
8859
8880
|
var didSuspend = 0 !== (workInProgress.flags & 128);
|
8860
|
-
(
|
8861
|
-
(
|
8881
|
+
(JSCompiler_object_inline_digest_2413 = didSuspend) ||
|
8882
|
+
(JSCompiler_object_inline_digest_2413 =
|
8862
8883
|
null !== current && null === current.memoizedState
|
8863
8884
|
? !1
|
8864
8885
|
: 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
|
8865
|
-
|
8866
|
-
((
|
8886
|
+
JSCompiler_object_inline_digest_2413 &&
|
8887
|
+
((JSCompiler_object_inline_componentStack_2415 = !0),
|
8867
8888
|
(workInProgress.flags &= -129));
|
8868
|
-
|
8889
|
+
JSCompiler_object_inline_digest_2413 = 0 !== (workInProgress.flags & 32);
|
8869
8890
|
workInProgress.flags &= -33;
|
8870
8891
|
if (null === current) {
|
8871
8892
|
if (isHydrating) {
|
8872
|
-
|
8893
|
+
JSCompiler_object_inline_componentStack_2415
|
8873
8894
|
? pushPrimaryTreeSuspenseHandler(workInProgress)
|
8874
8895
|
: reuseSuspenseHandlerOnStack(workInProgress);
|
8875
8896
|
if (isHydrating) {
|
8876
|
-
var
|
8897
|
+
var JSCompiler_object_inline_message_2412 = nextHydratableInstance;
|
8877
8898
|
var JSCompiler_temp;
|
8878
|
-
if (!(JSCompiler_temp = !
|
8899
|
+
if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2412)) {
|
8879
8900
|
c: {
|
8880
|
-
var instance =
|
8901
|
+
var instance = JSCompiler_object_inline_message_2412;
|
8881
8902
|
for (
|
8882
8903
|
JSCompiler_temp = rootOrSingletonContext;
|
8883
8904
|
8 !== instance.nodeType;
|
@@ -8919,77 +8940,77 @@
|
|
8919
8940
|
JSCompiler_temp &&
|
8920
8941
|
(warnNonHydratedInstance(
|
8921
8942
|
workInProgress,
|
8922
|
-
|
8943
|
+
JSCompiler_object_inline_message_2412
|
8923
8944
|
),
|
8924
8945
|
throwOnHydrationMismatch(workInProgress));
|
8925
8946
|
}
|
8926
|
-
|
8947
|
+
JSCompiler_object_inline_message_2412 = workInProgress.memoizedState;
|
8927
8948
|
if (
|
8928
|
-
null !==
|
8929
|
-
((
|
8930
|
-
|
8931
|
-
null !==
|
8949
|
+
null !== JSCompiler_object_inline_message_2412 &&
|
8950
|
+
((JSCompiler_object_inline_message_2412 =
|
8951
|
+
JSCompiler_object_inline_message_2412.dehydrated),
|
8952
|
+
null !== JSCompiler_object_inline_message_2412)
|
8932
8953
|
)
|
8933
8954
|
return (
|
8934
|
-
isSuspenseInstanceFallback(
|
8955
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2412)
|
8935
8956
|
? (workInProgress.lanes = 32)
|
8936
8957
|
: (workInProgress.lanes = 536870912),
|
8937
8958
|
null
|
8938
8959
|
);
|
8939
8960
|
popSuspenseHandler(workInProgress);
|
8940
8961
|
}
|
8941
|
-
|
8942
|
-
|
8943
|
-
|
8944
|
-
|
8945
|
-
if (
|
8962
|
+
JSCompiler_object_inline_message_2412 =
|
8963
|
+
JSCompiler_object_inline_stack_2414.children;
|
8964
|
+
JSCompiler_object_inline_stack_2414 =
|
8965
|
+
JSCompiler_object_inline_stack_2414.fallback;
|
8966
|
+
if (JSCompiler_object_inline_componentStack_2415)
|
8946
8967
|
return (
|
8947
8968
|
reuseSuspenseHandlerOnStack(workInProgress),
|
8948
|
-
(
|
8969
|
+
(JSCompiler_object_inline_componentStack_2415 =
|
8949
8970
|
workInProgress.mode),
|
8950
|
-
(
|
8971
|
+
(JSCompiler_object_inline_message_2412 =
|
8951
8972
|
mountWorkInProgressOffscreenFiber(
|
8952
8973
|
{
|
8953
8974
|
mode: "hidden",
|
8954
|
-
children:
|
8975
|
+
children: JSCompiler_object_inline_message_2412
|
8955
8976
|
},
|
8956
|
-
|
8977
|
+
JSCompiler_object_inline_componentStack_2415
|
8957
8978
|
)),
|
8958
|
-
(
|
8959
|
-
|
8960
|
-
|
8979
|
+
(JSCompiler_object_inline_stack_2414 = createFiberFromFragment(
|
8980
|
+
JSCompiler_object_inline_stack_2414,
|
8981
|
+
JSCompiler_object_inline_componentStack_2415,
|
8961
8982
|
renderLanes,
|
8962
8983
|
null
|
8963
8984
|
)),
|
8964
|
-
(
|
8965
|
-
(
|
8966
|
-
(
|
8967
|
-
|
8968
|
-
(workInProgress.child =
|
8969
|
-
(
|
8985
|
+
(JSCompiler_object_inline_message_2412.return = workInProgress),
|
8986
|
+
(JSCompiler_object_inline_stack_2414.return = workInProgress),
|
8987
|
+
(JSCompiler_object_inline_message_2412.sibling =
|
8988
|
+
JSCompiler_object_inline_stack_2414),
|
8989
|
+
(workInProgress.child = JSCompiler_object_inline_message_2412),
|
8990
|
+
(JSCompiler_object_inline_componentStack_2415 =
|
8970
8991
|
workInProgress.child),
|
8971
|
-
(
|
8992
|
+
(JSCompiler_object_inline_componentStack_2415.memoizedState =
|
8972
8993
|
mountSuspenseOffscreenState(renderLanes)),
|
8973
|
-
(
|
8994
|
+
(JSCompiler_object_inline_componentStack_2415.childLanes =
|
8974
8995
|
getRemainingWorkInPrimaryTree(
|
8975
8996
|
current,
|
8976
|
-
|
8997
|
+
JSCompiler_object_inline_digest_2413,
|
8977
8998
|
renderLanes
|
8978
8999
|
)),
|
8979
9000
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
8980
|
-
|
9001
|
+
JSCompiler_object_inline_stack_2414
|
8981
9002
|
);
|
8982
9003
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
8983
9004
|
return mountSuspensePrimaryChildren(
|
8984
9005
|
workInProgress,
|
8985
|
-
|
9006
|
+
JSCompiler_object_inline_message_2412
|
8986
9007
|
);
|
8987
9008
|
}
|
8988
9009
|
var prevState = current.memoizedState;
|
8989
9010
|
if (
|
8990
9011
|
null !== prevState &&
|
8991
|
-
((
|
8992
|
-
null !==
|
9012
|
+
((JSCompiler_object_inline_message_2412 = prevState.dehydrated),
|
9013
|
+
null !== JSCompiler_object_inline_message_2412)
|
8993
9014
|
) {
|
8994
9015
|
if (didSuspend)
|
8995
9016
|
workInProgress.flags & 256
|
@@ -9006,94 +9027,94 @@
|
|
9006
9027
|
(workInProgress.flags |= 128),
|
9007
9028
|
(workInProgress = null))
|
9008
9029
|
: (reuseSuspenseHandlerOnStack(workInProgress),
|
9009
|
-
(
|
9010
|
-
|
9011
|
-
(
|
9012
|
-
(
|
9030
|
+
(JSCompiler_object_inline_componentStack_2415 =
|
9031
|
+
JSCompiler_object_inline_stack_2414.fallback),
|
9032
|
+
(JSCompiler_object_inline_message_2412 = workInProgress.mode),
|
9033
|
+
(JSCompiler_object_inline_stack_2414 =
|
9013
9034
|
mountWorkInProgressOffscreenFiber(
|
9014
9035
|
{
|
9015
9036
|
mode: "visible",
|
9016
|
-
children:
|
9037
|
+
children: JSCompiler_object_inline_stack_2414.children
|
9017
9038
|
},
|
9018
|
-
|
9039
|
+
JSCompiler_object_inline_message_2412
|
9019
9040
|
)),
|
9020
|
-
(
|
9041
|
+
(JSCompiler_object_inline_componentStack_2415 =
|
9021
9042
|
createFiberFromFragment(
|
9022
|
-
|
9023
|
-
|
9043
|
+
JSCompiler_object_inline_componentStack_2415,
|
9044
|
+
JSCompiler_object_inline_message_2412,
|
9024
9045
|
renderLanes,
|
9025
9046
|
null
|
9026
9047
|
)),
|
9027
|
-
(
|
9028
|
-
(
|
9029
|
-
(
|
9048
|
+
(JSCompiler_object_inline_componentStack_2415.flags |= 2),
|
9049
|
+
(JSCompiler_object_inline_stack_2414.return = workInProgress),
|
9050
|
+
(JSCompiler_object_inline_componentStack_2415.return =
|
9030
9051
|
workInProgress),
|
9031
|
-
(
|
9032
|
-
|
9033
|
-
(workInProgress.child =
|
9052
|
+
(JSCompiler_object_inline_stack_2414.sibling =
|
9053
|
+
JSCompiler_object_inline_componentStack_2415),
|
9054
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2414),
|
9034
9055
|
reconcileChildFibers(
|
9035
9056
|
workInProgress,
|
9036
9057
|
current.child,
|
9037
9058
|
null,
|
9038
9059
|
renderLanes
|
9039
9060
|
),
|
9040
|
-
(
|
9041
|
-
(
|
9061
|
+
(JSCompiler_object_inline_stack_2414 = workInProgress.child),
|
9062
|
+
(JSCompiler_object_inline_stack_2414.memoizedState =
|
9042
9063
|
mountSuspenseOffscreenState(renderLanes)),
|
9043
|
-
(
|
9064
|
+
(JSCompiler_object_inline_stack_2414.childLanes =
|
9044
9065
|
getRemainingWorkInPrimaryTree(
|
9045
9066
|
current,
|
9046
|
-
|
9067
|
+
JSCompiler_object_inline_digest_2413,
|
9047
9068
|
renderLanes
|
9048
9069
|
)),
|
9049
9070
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9050
9071
|
(workInProgress =
|
9051
|
-
|
9072
|
+
JSCompiler_object_inline_componentStack_2415));
|
9052
9073
|
else if (
|
9053
9074
|
(pushPrimaryTreeSuspenseHandler(workInProgress),
|
9054
9075
|
isHydrating &&
|
9055
9076
|
console.error(
|
9056
9077
|
"We should not be hydrating here. This is a bug in React. Please file a bug."
|
9057
9078
|
),
|
9058
|
-
isSuspenseInstanceFallback(
|
9079
|
+
isSuspenseInstanceFallback(JSCompiler_object_inline_message_2412))
|
9059
9080
|
) {
|
9060
|
-
|
9061
|
-
|
9062
|
-
|
9063
|
-
if (
|
9064
|
-
JSCompiler_temp =
|
9065
|
-
var message =
|
9066
|
-
instance =
|
9067
|
-
var componentStack =
|
9081
|
+
JSCompiler_object_inline_digest_2413 =
|
9082
|
+
JSCompiler_object_inline_message_2412.nextSibling &&
|
9083
|
+
JSCompiler_object_inline_message_2412.nextSibling.dataset;
|
9084
|
+
if (JSCompiler_object_inline_digest_2413) {
|
9085
|
+
JSCompiler_temp = JSCompiler_object_inline_digest_2413.dgst;
|
9086
|
+
var message = JSCompiler_object_inline_digest_2413.msg;
|
9087
|
+
instance = JSCompiler_object_inline_digest_2413.stck;
|
9088
|
+
var componentStack = JSCompiler_object_inline_digest_2413.cstck;
|
9068
9089
|
}
|
9069
|
-
|
9070
|
-
|
9071
|
-
|
9072
|
-
JSCompiler_temp =
|
9090
|
+
JSCompiler_object_inline_message_2412 = message;
|
9091
|
+
JSCompiler_object_inline_digest_2413 = JSCompiler_temp;
|
9092
|
+
JSCompiler_object_inline_stack_2414 = instance;
|
9093
|
+
JSCompiler_temp = JSCompiler_object_inline_componentStack_2415 =
|
9073
9094
|
componentStack;
|
9074
|
-
|
9075
|
-
|
9076
|
-
? Error(
|
9095
|
+
JSCompiler_object_inline_componentStack_2415 =
|
9096
|
+
JSCompiler_object_inline_message_2412
|
9097
|
+
? Error(JSCompiler_object_inline_message_2412)
|
9077
9098
|
: Error(
|
9078
9099
|
"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
|
9079
9100
|
);
|
9080
|
-
|
9081
|
-
|
9082
|
-
|
9083
|
-
|
9084
|
-
|
9101
|
+
JSCompiler_object_inline_componentStack_2415.stack =
|
9102
|
+
JSCompiler_object_inline_stack_2414 || "";
|
9103
|
+
JSCompiler_object_inline_componentStack_2415.digest =
|
9104
|
+
JSCompiler_object_inline_digest_2413;
|
9105
|
+
JSCompiler_object_inline_digest_2413 =
|
9085
9106
|
void 0 === JSCompiler_temp ? null : JSCompiler_temp;
|
9086
|
-
|
9087
|
-
value:
|
9107
|
+
JSCompiler_object_inline_stack_2414 = {
|
9108
|
+
value: JSCompiler_object_inline_componentStack_2415,
|
9088
9109
|
source: null,
|
9089
|
-
stack:
|
9110
|
+
stack: JSCompiler_object_inline_digest_2413
|
9090
9111
|
};
|
9091
|
-
"string" === typeof
|
9112
|
+
"string" === typeof JSCompiler_object_inline_digest_2413 &&
|
9092
9113
|
CapturedStacks.set(
|
9093
|
-
|
9094
|
-
|
9114
|
+
JSCompiler_object_inline_componentStack_2415,
|
9115
|
+
JSCompiler_object_inline_stack_2414
|
9095
9116
|
);
|
9096
|
-
queueHydrationError(
|
9117
|
+
queueHydrationError(JSCompiler_object_inline_stack_2414);
|
9097
9118
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9098
9119
|
current,
|
9099
9120
|
workInProgress,
|
@@ -9107,44 +9128,44 @@
|
|
9107
9128
|
renderLanes,
|
9108
9129
|
!1
|
9109
9130
|
),
|
9110
|
-
(
|
9131
|
+
(JSCompiler_object_inline_digest_2413 =
|
9111
9132
|
0 !== (renderLanes & current.childLanes)),
|
9112
|
-
didReceiveUpdate ||
|
9133
|
+
didReceiveUpdate || JSCompiler_object_inline_digest_2413)
|
9113
9134
|
) {
|
9114
|
-
|
9135
|
+
JSCompiler_object_inline_digest_2413 = workInProgressRoot;
|
9115
9136
|
if (
|
9116
|
-
null !==
|
9117
|
-
((
|
9118
|
-
(
|
9119
|
-
0 !== (
|
9137
|
+
null !== JSCompiler_object_inline_digest_2413 &&
|
9138
|
+
((JSCompiler_object_inline_stack_2414 = renderLanes & -renderLanes),
|
9139
|
+
(JSCompiler_object_inline_stack_2414 =
|
9140
|
+
0 !== (JSCompiler_object_inline_stack_2414 & 42)
|
9120
9141
|
? 1
|
9121
9142
|
: getBumpedLaneForHydrationByLane(
|
9122
|
-
|
9143
|
+
JSCompiler_object_inline_stack_2414
|
9123
9144
|
)),
|
9124
|
-
(
|
9145
|
+
(JSCompiler_object_inline_stack_2414 =
|
9125
9146
|
0 !==
|
9126
|
-
(
|
9127
|
-
(
|
9147
|
+
(JSCompiler_object_inline_stack_2414 &
|
9148
|
+
(JSCompiler_object_inline_digest_2413.suspendedLanes |
|
9128
9149
|
renderLanes))
|
9129
9150
|
? 0
|
9130
|
-
:
|
9131
|
-
0 !==
|
9132
|
-
|
9151
|
+
: JSCompiler_object_inline_stack_2414),
|
9152
|
+
0 !== JSCompiler_object_inline_stack_2414 &&
|
9153
|
+
JSCompiler_object_inline_stack_2414 !== prevState.retryLane)
|
9133
9154
|
)
|
9134
9155
|
throw (
|
9135
|
-
((prevState.retryLane =
|
9156
|
+
((prevState.retryLane = JSCompiler_object_inline_stack_2414),
|
9136
9157
|
enqueueConcurrentRenderForLane(
|
9137
9158
|
current,
|
9138
|
-
|
9159
|
+
JSCompiler_object_inline_stack_2414
|
9139
9160
|
),
|
9140
9161
|
scheduleUpdateOnFiber(
|
9141
|
-
|
9162
|
+
JSCompiler_object_inline_digest_2413,
|
9142
9163
|
current,
|
9143
|
-
|
9164
|
+
JSCompiler_object_inline_stack_2414
|
9144
9165
|
),
|
9145
9166
|
SelectiveHydrationException)
|
9146
9167
|
);
|
9147
|
-
|
9168
|
+
JSCompiler_object_inline_message_2412.data ===
|
9148
9169
|
SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
|
9149
9170
|
workInProgress = retrySuspenseComponentWithoutHydrating(
|
9150
9171
|
current,
|
@@ -9152,14 +9173,14 @@
|
|
9152
9173
|
renderLanes
|
9153
9174
|
);
|
9154
9175
|
} else
|
9155
|
-
|
9176
|
+
JSCompiler_object_inline_message_2412.data ===
|
9156
9177
|
SUSPENSE_PENDING_START_DATA
|
9157
9178
|
? ((workInProgress.flags |= 192),
|
9158
9179
|
(workInProgress.child = current.child),
|
9159
9180
|
(workInProgress = null))
|
9160
9181
|
: ((current = prevState.treeContext),
|
9161
9182
|
(nextHydratableInstance = getNextHydratable(
|
9162
|
-
|
9183
|
+
JSCompiler_object_inline_message_2412.nextSibling
|
9163
9184
|
)),
|
9164
9185
|
(hydrationParentFiber = workInProgress),
|
9165
9186
|
(isHydrating = !0),
|
@@ -9177,57 +9198,57 @@
|
|
9177
9198
|
(treeContextProvider = workInProgress)),
|
9178
9199
|
(workInProgress = mountSuspensePrimaryChildren(
|
9179
9200
|
workInProgress,
|
9180
|
-
|
9201
|
+
JSCompiler_object_inline_stack_2414.children
|
9181
9202
|
)),
|
9182
9203
|
(workInProgress.flags |= 4096));
|
9183
9204
|
return workInProgress;
|
9184
9205
|
}
|
9185
|
-
if (
|
9206
|
+
if (JSCompiler_object_inline_componentStack_2415)
|
9186
9207
|
return (
|
9187
9208
|
reuseSuspenseHandlerOnStack(workInProgress),
|
9188
|
-
(
|
9189
|
-
|
9190
|
-
(
|
9209
|
+
(JSCompiler_object_inline_componentStack_2415 =
|
9210
|
+
JSCompiler_object_inline_stack_2414.fallback),
|
9211
|
+
(JSCompiler_object_inline_message_2412 = workInProgress.mode),
|
9191
9212
|
(JSCompiler_temp = current.child),
|
9192
9213
|
(instance = JSCompiler_temp.sibling),
|
9193
|
-
(
|
9214
|
+
(JSCompiler_object_inline_stack_2414 = createWorkInProgress(
|
9194
9215
|
JSCompiler_temp,
|
9195
9216
|
{
|
9196
9217
|
mode: "hidden",
|
9197
|
-
children:
|
9218
|
+
children: JSCompiler_object_inline_stack_2414.children
|
9198
9219
|
}
|
9199
9220
|
)),
|
9200
|
-
(
|
9221
|
+
(JSCompiler_object_inline_stack_2414.subtreeFlags =
|
9201
9222
|
JSCompiler_temp.subtreeFlags & 65011712),
|
9202
9223
|
null !== instance
|
9203
|
-
? (
|
9224
|
+
? (JSCompiler_object_inline_componentStack_2415 =
|
9204
9225
|
createWorkInProgress(
|
9205
9226
|
instance,
|
9206
|
-
|
9227
|
+
JSCompiler_object_inline_componentStack_2415
|
9207
9228
|
))
|
9208
|
-
: ((
|
9229
|
+
: ((JSCompiler_object_inline_componentStack_2415 =
|
9209
9230
|
createFiberFromFragment(
|
9210
|
-
|
9211
|
-
|
9231
|
+
JSCompiler_object_inline_componentStack_2415,
|
9232
|
+
JSCompiler_object_inline_message_2412,
|
9212
9233
|
renderLanes,
|
9213
9234
|
null
|
9214
9235
|
)),
|
9215
|
-
(
|
9216
|
-
(
|
9236
|
+
(JSCompiler_object_inline_componentStack_2415.flags |= 2)),
|
9237
|
+
(JSCompiler_object_inline_componentStack_2415.return =
|
9217
9238
|
workInProgress),
|
9218
|
-
(
|
9219
|
-
(
|
9220
|
-
|
9221
|
-
(workInProgress.child =
|
9222
|
-
(
|
9223
|
-
|
9224
|
-
(
|
9225
|
-
(
|
9226
|
-
null ===
|
9227
|
-
? (
|
9239
|
+
(JSCompiler_object_inline_stack_2414.return = workInProgress),
|
9240
|
+
(JSCompiler_object_inline_stack_2414.sibling =
|
9241
|
+
JSCompiler_object_inline_componentStack_2415),
|
9242
|
+
(workInProgress.child = JSCompiler_object_inline_stack_2414),
|
9243
|
+
(JSCompiler_object_inline_stack_2414 =
|
9244
|
+
JSCompiler_object_inline_componentStack_2415),
|
9245
|
+
(JSCompiler_object_inline_componentStack_2415 = workInProgress.child),
|
9246
|
+
(JSCompiler_object_inline_message_2412 = current.child.memoizedState),
|
9247
|
+
null === JSCompiler_object_inline_message_2412
|
9248
|
+
? (JSCompiler_object_inline_message_2412 =
|
9228
9249
|
mountSuspenseOffscreenState(renderLanes))
|
9229
9250
|
: ((JSCompiler_temp =
|
9230
|
-
|
9251
|
+
JSCompiler_object_inline_message_2412.cachePool),
|
9231
9252
|
null !== JSCompiler_temp
|
9232
9253
|
? ((instance = CacheContext._currentValue),
|
9233
9254
|
(JSCompiler_temp =
|
@@ -9235,37 +9256,37 @@
|
|
9235
9256
|
? { parent: instance, pool: instance }
|
9236
9257
|
: JSCompiler_temp))
|
9237
9258
|
: (JSCompiler_temp = getSuspendedCache()),
|
9238
|
-
(
|
9259
|
+
(JSCompiler_object_inline_message_2412 = {
|
9239
9260
|
baseLanes:
|
9240
|
-
|
9261
|
+
JSCompiler_object_inline_message_2412.baseLanes | renderLanes,
|
9241
9262
|
cachePool: JSCompiler_temp
|
9242
9263
|
})),
|
9243
|
-
(
|
9244
|
-
|
9245
|
-
(
|
9264
|
+
(JSCompiler_object_inline_componentStack_2415.memoizedState =
|
9265
|
+
JSCompiler_object_inline_message_2412),
|
9266
|
+
(JSCompiler_object_inline_componentStack_2415.childLanes =
|
9246
9267
|
getRemainingWorkInPrimaryTree(
|
9247
9268
|
current,
|
9248
|
-
|
9269
|
+
JSCompiler_object_inline_digest_2413,
|
9249
9270
|
renderLanes
|
9250
9271
|
)),
|
9251
9272
|
(workInProgress.memoizedState = SUSPENDED_MARKER),
|
9252
|
-
|
9273
|
+
JSCompiler_object_inline_stack_2414
|
9253
9274
|
);
|
9254
9275
|
pushPrimaryTreeSuspenseHandler(workInProgress);
|
9255
9276
|
renderLanes = current.child;
|
9256
9277
|
current = renderLanes.sibling;
|
9257
9278
|
renderLanes = createWorkInProgress(renderLanes, {
|
9258
9279
|
mode: "visible",
|
9259
|
-
children:
|
9280
|
+
children: JSCompiler_object_inline_stack_2414.children
|
9260
9281
|
});
|
9261
9282
|
renderLanes.return = workInProgress;
|
9262
9283
|
renderLanes.sibling = null;
|
9263
9284
|
null !== current &&
|
9264
|
-
((
|
9265
|
-
null ===
|
9285
|
+
((JSCompiler_object_inline_digest_2413 = workInProgress.deletions),
|
9286
|
+
null === JSCompiler_object_inline_digest_2413
|
9266
9287
|
? ((workInProgress.deletions = [current]),
|
9267
9288
|
(workInProgress.flags |= 16))
|
9268
|
-
:
|
9289
|
+
: JSCompiler_object_inline_digest_2413.push(current));
|
9269
9290
|
workInProgress.child = renderLanes;
|
9270
9291
|
workInProgress.memoizedState = null;
|
9271
9292
|
return renderLanes;
|
@@ -10099,10 +10120,15 @@
|
|
10099
10120
|
null === current &&
|
10100
10121
|
isHydrating &&
|
10101
10122
|
((renderLanes = workInProgress.pendingProps),
|
10102
|
-
(current = getHostContext()
|
10123
|
+
(current = getHostContext()),
|
10124
|
+
(returnFiber = current.ancestorInfo.current),
|
10103
10125
|
(renderLanes =
|
10104
|
-
null !=
|
10105
|
-
? validateTextNesting(
|
10126
|
+
null != returnFiber
|
10127
|
+
? validateTextNesting(
|
10128
|
+
renderLanes,
|
10129
|
+
returnFiber.tag,
|
10130
|
+
current.ancestorInfo.implicitRootScope
|
10131
|
+
)
|
10106
10132
|
: !0),
|
10107
10133
|
(current = nextHydratableInstance),
|
10108
10134
|
(returnFiber = !current) ||
|
@@ -13770,9 +13796,13 @@
|
|
13770
13796
|
: !1;
|
13771
13797
|
current || throwOnHydrationMismatch(workInProgress);
|
13772
13798
|
} else
|
13773
|
-
(
|
13774
|
-
null !=
|
13775
|
-
validateTextNesting(
|
13799
|
+
(_type = renderLanes.ancestorInfo.current),
|
13800
|
+
null != _type &&
|
13801
|
+
validateTextNesting(
|
13802
|
+
newProps,
|
13803
|
+
_type.tag,
|
13804
|
+
renderLanes.ancestorInfo.implicitRootScope
|
13805
|
+
),
|
13776
13806
|
(current =
|
13777
13807
|
getOwnerDocumentFromRootContainer(current).createTextNode(
|
13778
13808
|
newProps
|
@@ -17024,12 +17054,12 @@
|
|
17024
17054
|
switch (key) {
|
17025
17055
|
case "children":
|
17026
17056
|
if ("string" === typeof value)
|
17027
|
-
validateTextNesting(value, tag),
|
17057
|
+
validateTextNesting(value, tag, !1),
|
17028
17058
|
"body" === tag ||
|
17029
17059
|
("textarea" === tag && "" === value) ||
|
17030
17060
|
setTextContent(domElement, value);
|
17031
17061
|
else if ("number" === typeof value || "bigint" === typeof value)
|
17032
|
-
validateTextNesting("" + value, tag),
|
17062
|
+
validateTextNesting("" + value, tag, !1),
|
17033
17063
|
"body" !== tag && setTextContent(domElement, "" + value);
|
17034
17064
|
break;
|
17035
17065
|
case "className":
|
@@ -19546,7 +19576,10 @@
|
|
19546
19576
|
instance,
|
19547
19577
|
internalInstanceHandle
|
19548
19578
|
) {
|
19549
|
-
if (
|
19579
|
+
if (
|
19580
|
+
!instance[internalContainerInstanceKey] &&
|
19581
|
+
getInstanceFromNode(instance)
|
19582
|
+
) {
|
19550
19583
|
var tagName = instance.tagName.toLowerCase();
|
19551
19584
|
console.error(
|
19552
19585
|
"You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",
|
@@ -19579,7 +19612,9 @@
|
|
19579
19612
|
function getHoistableRoot(container) {
|
19580
19613
|
return "function" === typeof container.getRootNode
|
19581
19614
|
? container.getRootNode()
|
19582
|
-
: container.
|
19615
|
+
: 9 === container.nodeType
|
19616
|
+
? container
|
19617
|
+
: container.ownerDocument;
|
19583
19618
|
}
|
19584
19619
|
function preconnectAs(rel, href, crossOrigin) {
|
19585
19620
|
var ownerDocument = globalDocument;
|
@@ -21246,7 +21281,8 @@
|
|
21246
21281
|
pTagInButtonScope: null,
|
21247
21282
|
listItemTagAutoclosing: null,
|
21248
21283
|
dlItemTagAutoclosing: null,
|
21249
|
-
containerTagInScope: null
|
21284
|
+
containerTagInScope: null,
|
21285
|
+
implicitRootScope: !1
|
21250
21286
|
},
|
21251
21287
|
didWarn = {},
|
21252
21288
|
shorthandToLonghand = {
|
@@ -24679,11 +24715,11 @@
|
|
24679
24715
|
};
|
24680
24716
|
(function () {
|
24681
24717
|
var isomorphicReactPackageVersion = React.version;
|
24682
|
-
if ("19.1.0-canary-
|
24718
|
+
if ("19.1.0-canary-8759c5c8-20250207" !== isomorphicReactPackageVersion)
|
24683
24719
|
throw Error(
|
24684
24720
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
24685
24721
|
(isomorphicReactPackageVersion +
|
24686
|
-
"\n - react-dom: 19.1.0-canary-
|
24722
|
+
"\n - react-dom: 19.1.0-canary-8759c5c8-20250207\nLearn more: https://react.dev/warnings/version-mismatch")
|
24687
24723
|
);
|
24688
24724
|
})();
|
24689
24725
|
("function" === typeof Map &&
|
@@ -24720,10 +24756,10 @@
|
|
24720
24756
|
!(function () {
|
24721
24757
|
var internals = {
|
24722
24758
|
bundleType: 1,
|
24723
|
-
version: "19.1.0-canary-
|
24759
|
+
version: "19.1.0-canary-8759c5c8-20250207",
|
24724
24760
|
rendererPackageName: "react-dom",
|
24725
24761
|
currentDispatcherRef: ReactSharedInternals,
|
24726
|
-
reconcilerVersion: "19.1.0-canary-
|
24762
|
+
reconcilerVersion: "19.1.0-canary-8759c5c8-20250207"
|
24727
24763
|
};
|
24728
24764
|
internals.overrideHookState = overrideHookState;
|
24729
24765
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25197,7 +25233,7 @@
|
|
25197
25233
|
exports.useFormStatus = function () {
|
25198
25234
|
return resolveDispatcher().useHostTransitionStatus();
|
25199
25235
|
};
|
25200
|
-
exports.version = "19.1.0-canary-
|
25236
|
+
exports.version = "19.1.0-canary-8759c5c8-20250207";
|
25201
25237
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25202
25238
|
"function" ===
|
25203
25239
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|