react-dom 19.1.0-canary-ff628334-20250205 → 19.1.0-canary-93b58361-20250209

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.
@@ -2261,33 +2261,41 @@
2261
2261
  return null !== node ? describeDiff(node).replaceAll(/^[+-]/gm, ">") : "";
2262
2262
  }
2263
2263
  function updatedAncestorInfoDev(oldInfo, tag) {
2264
- oldInfo = assign({}, oldInfo || emptyAncestorInfoDev);
2265
- var info = { tag: tag };
2264
+ var ancestorInfo = assign({}, oldInfo || emptyAncestorInfoDev),
2265
+ info = { tag: tag };
2266
2266
  -1 !== inScopeTags.indexOf(tag) &&
2267
- ((oldInfo.aTagInScope = null),
2268
- (oldInfo.buttonTagInScope = null),
2269
- (oldInfo.nobrTagInScope = null));
2270
- -1 !== buttonScopeTags.indexOf(tag) && (oldInfo.pTagInButtonScope = null);
2267
+ ((ancestorInfo.aTagInScope = null),
2268
+ (ancestorInfo.buttonTagInScope = null),
2269
+ (ancestorInfo.nobrTagInScope = null));
2270
+ -1 !== buttonScopeTags.indexOf(tag) &&
2271
+ (ancestorInfo.pTagInButtonScope = null);
2271
2272
  -1 !== specialTags.indexOf(tag) &&
2272
2273
  "address" !== tag &&
2273
2274
  "div" !== tag &&
2274
2275
  "p" !== tag &&
2275
- ((oldInfo.listItemTagAutoclosing = null),
2276
- (oldInfo.dlItemTagAutoclosing = null));
2277
- oldInfo.current = info;
2278
- "form" === tag && (oldInfo.formTag = info);
2279
- "a" === tag && (oldInfo.aTagInScope = info);
2280
- "button" === tag && (oldInfo.buttonTagInScope = info);
2281
- "nobr" === tag && (oldInfo.nobrTagInScope = info);
2282
- "p" === tag && (oldInfo.pTagInButtonScope = info);
2283
- "li" === tag && (oldInfo.listItemTagAutoclosing = info);
2284
- if ("dd" === tag || "dt" === tag) oldInfo.dlItemTagAutoclosing = info;
2276
+ ((ancestorInfo.listItemTagAutoclosing = null),
2277
+ (ancestorInfo.dlItemTagAutoclosing = null));
2278
+ ancestorInfo.current = info;
2279
+ "form" === tag && (ancestorInfo.formTag = info);
2280
+ "a" === tag && (ancestorInfo.aTagInScope = info);
2281
+ "button" === tag && (ancestorInfo.buttonTagInScope = info);
2282
+ "nobr" === tag && (ancestorInfo.nobrTagInScope = info);
2283
+ "p" === tag && (ancestorInfo.pTagInButtonScope = info);
2284
+ "li" === tag && (ancestorInfo.listItemTagAutoclosing = info);
2285
+ if ("dd" === tag || "dt" === tag)
2286
+ ancestorInfo.dlItemTagAutoclosing = info;
2285
2287
  "#document" === tag || "html" === tag
2286
- ? (oldInfo.containerTagInScope = null)
2287
- : oldInfo.containerTagInScope || (oldInfo.containerTagInScope = info);
2288
- return oldInfo;
2289
- }
2290
- function isTagValidWithParent(tag, parentTag) {
2288
+ ? (ancestorInfo.containerTagInScope = null)
2289
+ : ancestorInfo.containerTagInScope ||
2290
+ (ancestorInfo.containerTagInScope = info);
2291
+ null !== oldInfo ||
2292
+ ("#document" !== tag && "html" !== tag && "body" !== tag)
2293
+ ? !0 === ancestorInfo.implicitRootScope &&
2294
+ (ancestorInfo.implicitRootScope = !1)
2295
+ : (ancestorInfo.implicitRootScope = !0);
2296
+ return ancestorInfo;
2297
+ }
2298
+ function isTagValidWithParent(tag, parentTag, implicitRootScope) {
2291
2299
  switch (parentTag) {
2292
2300
  case "select":
2293
2301
  return (
@@ -2347,11 +2355,12 @@
2347
2355
  "template" === tag
2348
2356
  );
2349
2357
  case "html":
2358
+ if (implicitRootScope) break;
2350
2359
  return "head" === tag || "body" === tag || "frameset" === tag;
2351
2360
  case "frameset":
2352
2361
  return "frame" === tag;
2353
2362
  case "#document":
2354
- return "html" === tag;
2363
+ if (!implicitRootScope) return "html" === tag;
2355
2364
  }
2356
2365
  switch (tag) {
2357
2366
  case "h1":
@@ -2371,14 +2380,11 @@
2371
2380
  case "rp":
2372
2381
  case "rt":
2373
2382
  return -1 === impliedEndTags.indexOf(parentTag);
2374
- case "body":
2375
2383
  case "caption":
2376
2384
  case "col":
2377
2385
  case "colgroup":
2378
2386
  case "frameset":
2379
2387
  case "frame":
2380
- case "head":
2381
- case "html":
2382
2388
  case "tbody":
2383
2389
  case "td":
2384
2390
  case "tfoot":
@@ -2386,6 +2392,19 @@
2386
2392
  case "thead":
2387
2393
  case "tr":
2388
2394
  return null == parentTag;
2395
+ case "head":
2396
+ return implicitRootScope || null === parentTag;
2397
+ case "html":
2398
+ return (
2399
+ (implicitRootScope && "#document" === parentTag) ||
2400
+ null === parentTag
2401
+ );
2402
+ case "body":
2403
+ return (
2404
+ (implicitRootScope &&
2405
+ ("#document" === parentTag || "html" === parentTag)) ||
2406
+ null === parentTag
2407
+ );
2389
2408
  }
2390
2409
  return !0;
2391
2410
  }
@@ -2460,7 +2479,8 @@
2460
2479
  var parentInfo = ancestorInfo.current;
2461
2480
  ancestorInfo = (parentInfo = isTagValidWithParent(
2462
2481
  childTag,
2463
- parentInfo && parentInfo.tag
2482
+ parentInfo && parentInfo.tag,
2483
+ ancestorInfo.implicitRootScope
2464
2484
  )
2465
2485
  ? null
2466
2486
  : parentInfo)
@@ -2501,32 +2521,33 @@
2501
2521
  );
2502
2522
  return !1;
2503
2523
  }
2504
- function validateTextNesting(childText, parentTag) {
2505
- if (isTagValidWithParent("#text", parentTag)) return !0;
2506
- var warnKey = "#text|" + parentTag;
2507
- if (didWarn[warnKey]) return !1;
2508
- didWarn[warnKey] = !0;
2509
- var ancestor = (warnKey = current)
2510
- ? findAncestor(warnKey, parentTag)
2524
+ function validateTextNesting(childText, parentTag, implicitRootScope) {
2525
+ if (implicitRootScope || isTagValidWithParent("#text", parentTag, !1))
2526
+ return !0;
2527
+ implicitRootScope = "#text|" + parentTag;
2528
+ if (didWarn[implicitRootScope]) return !1;
2529
+ didWarn[implicitRootScope] = !0;
2530
+ var ancestor = (implicitRootScope = current)
2531
+ ? findAncestor(implicitRootScope, parentTag)
2511
2532
  : null;
2512
- warnKey =
2513
- null !== warnKey && null !== ancestor
2533
+ implicitRootScope =
2534
+ null !== implicitRootScope && null !== ancestor
2514
2535
  ? describeAncestors(
2515
2536
  ancestor,
2516
- warnKey,
2517
- 6 !== warnKey.tag ? { children: null } : null
2537
+ implicitRootScope,
2538
+ 6 !== implicitRootScope.tag ? { children: null } : null
2518
2539
  )
2519
2540
  : "";
2520
2541
  /\S/.test(childText)
2521
2542
  ? console.error(
2522
2543
  "In HTML, text nodes cannot be a child of <%s>.\nThis will cause a hydration error.%s",
2523
2544
  parentTag,
2524
- warnKey
2545
+ implicitRootScope
2525
2546
  )
2526
2547
  : console.error(
2527
2548
  "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",
2528
2549
  parentTag,
2529
- warnKey
2550
+ implicitRootScope
2530
2551
  );
2531
2552
  return !1;
2532
2553
  }
@@ -8844,32 +8865,32 @@
8844
8865
  return current;
8845
8866
  }
8846
8867
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
8847
- var JSCompiler_object_inline_digest_2407;
8848
- var JSCompiler_object_inline_stack_2408 = workInProgress.pendingProps;
8868
+ var JSCompiler_object_inline_digest_2408;
8869
+ var JSCompiler_object_inline_stack_2409 = workInProgress.pendingProps;
8849
8870
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
8850
- var JSCompiler_object_inline_componentStack_2409 = !1;
8871
+ var JSCompiler_object_inline_componentStack_2410 = !1;
8851
8872
  var didSuspend = 0 !== (workInProgress.flags & 128);
8852
- (JSCompiler_object_inline_digest_2407 = didSuspend) ||
8853
- (JSCompiler_object_inline_digest_2407 =
8873
+ (JSCompiler_object_inline_digest_2408 = didSuspend) ||
8874
+ (JSCompiler_object_inline_digest_2408 =
8854
8875
  null !== current && null === current.memoizedState
8855
8876
  ? !1
8856
8877
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
8857
- JSCompiler_object_inline_digest_2407 &&
8858
- ((JSCompiler_object_inline_componentStack_2409 = !0),
8878
+ JSCompiler_object_inline_digest_2408 &&
8879
+ ((JSCompiler_object_inline_componentStack_2410 = !0),
8859
8880
  (workInProgress.flags &= -129));
8860
- JSCompiler_object_inline_digest_2407 = 0 !== (workInProgress.flags & 32);
8881
+ JSCompiler_object_inline_digest_2408 = 0 !== (workInProgress.flags & 32);
8861
8882
  workInProgress.flags &= -33;
8862
8883
  if (null === current) {
8863
8884
  if (isHydrating) {
8864
- JSCompiler_object_inline_componentStack_2409
8885
+ JSCompiler_object_inline_componentStack_2410
8865
8886
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
8866
8887
  : reuseSuspenseHandlerOnStack(workInProgress);
8867
8888
  if (isHydrating) {
8868
- var JSCompiler_object_inline_message_2406 = nextHydratableInstance;
8889
+ var JSCompiler_object_inline_message_2407 = nextHydratableInstance;
8869
8890
  var JSCompiler_temp;
8870
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2406)) {
8891
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2407)) {
8871
8892
  c: {
8872
- var instance = JSCompiler_object_inline_message_2406;
8893
+ var instance = JSCompiler_object_inline_message_2407;
8873
8894
  for (
8874
8895
  JSCompiler_temp = rootOrSingletonContext;
8875
8896
  8 !== instance.nodeType;
@@ -8911,77 +8932,77 @@
8911
8932
  JSCompiler_temp &&
8912
8933
  (warnNonHydratedInstance(
8913
8934
  workInProgress,
8914
- JSCompiler_object_inline_message_2406
8935
+ JSCompiler_object_inline_message_2407
8915
8936
  ),
8916
8937
  throwOnHydrationMismatch(workInProgress));
8917
8938
  }
8918
- JSCompiler_object_inline_message_2406 = workInProgress.memoizedState;
8939
+ JSCompiler_object_inline_message_2407 = workInProgress.memoizedState;
8919
8940
  if (
8920
- null !== JSCompiler_object_inline_message_2406 &&
8921
- ((JSCompiler_object_inline_message_2406 =
8922
- JSCompiler_object_inline_message_2406.dehydrated),
8923
- null !== JSCompiler_object_inline_message_2406)
8941
+ null !== JSCompiler_object_inline_message_2407 &&
8942
+ ((JSCompiler_object_inline_message_2407 =
8943
+ JSCompiler_object_inline_message_2407.dehydrated),
8944
+ null !== JSCompiler_object_inline_message_2407)
8924
8945
  )
8925
8946
  return (
8926
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2406)
8947
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2407)
8927
8948
  ? (workInProgress.lanes = 32)
8928
8949
  : (workInProgress.lanes = 536870912),
8929
8950
  null
8930
8951
  );
8931
8952
  popSuspenseHandler(workInProgress);
8932
8953
  }
8933
- JSCompiler_object_inline_message_2406 =
8934
- JSCompiler_object_inline_stack_2408.children;
8935
- JSCompiler_object_inline_stack_2408 =
8936
- JSCompiler_object_inline_stack_2408.fallback;
8937
- if (JSCompiler_object_inline_componentStack_2409)
8954
+ JSCompiler_object_inline_message_2407 =
8955
+ JSCompiler_object_inline_stack_2409.children;
8956
+ JSCompiler_object_inline_stack_2409 =
8957
+ JSCompiler_object_inline_stack_2409.fallback;
8958
+ if (JSCompiler_object_inline_componentStack_2410)
8938
8959
  return (
8939
8960
  reuseSuspenseHandlerOnStack(workInProgress),
8940
- (JSCompiler_object_inline_componentStack_2409 =
8961
+ (JSCompiler_object_inline_componentStack_2410 =
8941
8962
  workInProgress.mode),
8942
- (JSCompiler_object_inline_message_2406 =
8963
+ (JSCompiler_object_inline_message_2407 =
8943
8964
  mountWorkInProgressOffscreenFiber(
8944
8965
  {
8945
8966
  mode: "hidden",
8946
- children: JSCompiler_object_inline_message_2406
8967
+ children: JSCompiler_object_inline_message_2407
8947
8968
  },
8948
- JSCompiler_object_inline_componentStack_2409
8969
+ JSCompiler_object_inline_componentStack_2410
8949
8970
  )),
8950
- (JSCompiler_object_inline_stack_2408 = createFiberFromFragment(
8951
- JSCompiler_object_inline_stack_2408,
8952
- JSCompiler_object_inline_componentStack_2409,
8971
+ (JSCompiler_object_inline_stack_2409 = createFiberFromFragment(
8972
+ JSCompiler_object_inline_stack_2409,
8973
+ JSCompiler_object_inline_componentStack_2410,
8953
8974
  renderLanes,
8954
8975
  null
8955
8976
  )),
8956
- (JSCompiler_object_inline_message_2406.return = workInProgress),
8957
- (JSCompiler_object_inline_stack_2408.return = workInProgress),
8958
- (JSCompiler_object_inline_message_2406.sibling =
8959
- JSCompiler_object_inline_stack_2408),
8960
- (workInProgress.child = JSCompiler_object_inline_message_2406),
8961
- (JSCompiler_object_inline_componentStack_2409 =
8977
+ (JSCompiler_object_inline_message_2407.return = workInProgress),
8978
+ (JSCompiler_object_inline_stack_2409.return = workInProgress),
8979
+ (JSCompiler_object_inline_message_2407.sibling =
8980
+ JSCompiler_object_inline_stack_2409),
8981
+ (workInProgress.child = JSCompiler_object_inline_message_2407),
8982
+ (JSCompiler_object_inline_componentStack_2410 =
8962
8983
  workInProgress.child),
8963
- (JSCompiler_object_inline_componentStack_2409.memoizedState =
8984
+ (JSCompiler_object_inline_componentStack_2410.memoizedState =
8964
8985
  mountSuspenseOffscreenState(renderLanes)),
8965
- (JSCompiler_object_inline_componentStack_2409.childLanes =
8986
+ (JSCompiler_object_inline_componentStack_2410.childLanes =
8966
8987
  getRemainingWorkInPrimaryTree(
8967
8988
  current,
8968
- JSCompiler_object_inline_digest_2407,
8989
+ JSCompiler_object_inline_digest_2408,
8969
8990
  renderLanes
8970
8991
  )),
8971
8992
  (workInProgress.memoizedState = SUSPENDED_MARKER),
8972
- JSCompiler_object_inline_stack_2408
8993
+ JSCompiler_object_inline_stack_2409
8973
8994
  );
8974
8995
  pushPrimaryTreeSuspenseHandler(workInProgress);
8975
8996
  return mountSuspensePrimaryChildren(
8976
8997
  workInProgress,
8977
- JSCompiler_object_inline_message_2406
8998
+ JSCompiler_object_inline_message_2407
8978
8999
  );
8979
9000
  }
8980
9001
  var prevState = current.memoizedState;
8981
9002
  if (
8982
9003
  null !== prevState &&
8983
- ((JSCompiler_object_inline_message_2406 = prevState.dehydrated),
8984
- null !== JSCompiler_object_inline_message_2406)
9004
+ ((JSCompiler_object_inline_message_2407 = prevState.dehydrated),
9005
+ null !== JSCompiler_object_inline_message_2407)
8985
9006
  ) {
8986
9007
  if (didSuspend)
8987
9008
  workInProgress.flags & 256
@@ -8998,94 +9019,94 @@
8998
9019
  (workInProgress.flags |= 128),
8999
9020
  (workInProgress = null))
9000
9021
  : (reuseSuspenseHandlerOnStack(workInProgress),
9001
- (JSCompiler_object_inline_componentStack_2409 =
9002
- JSCompiler_object_inline_stack_2408.fallback),
9003
- (JSCompiler_object_inline_message_2406 = workInProgress.mode),
9004
- (JSCompiler_object_inline_stack_2408 =
9022
+ (JSCompiler_object_inline_componentStack_2410 =
9023
+ JSCompiler_object_inline_stack_2409.fallback),
9024
+ (JSCompiler_object_inline_message_2407 = workInProgress.mode),
9025
+ (JSCompiler_object_inline_stack_2409 =
9005
9026
  mountWorkInProgressOffscreenFiber(
9006
9027
  {
9007
9028
  mode: "visible",
9008
- children: JSCompiler_object_inline_stack_2408.children
9029
+ children: JSCompiler_object_inline_stack_2409.children
9009
9030
  },
9010
- JSCompiler_object_inline_message_2406
9031
+ JSCompiler_object_inline_message_2407
9011
9032
  )),
9012
- (JSCompiler_object_inline_componentStack_2409 =
9033
+ (JSCompiler_object_inline_componentStack_2410 =
9013
9034
  createFiberFromFragment(
9014
- JSCompiler_object_inline_componentStack_2409,
9015
- JSCompiler_object_inline_message_2406,
9035
+ JSCompiler_object_inline_componentStack_2410,
9036
+ JSCompiler_object_inline_message_2407,
9016
9037
  renderLanes,
9017
9038
  null
9018
9039
  )),
9019
- (JSCompiler_object_inline_componentStack_2409.flags |= 2),
9020
- (JSCompiler_object_inline_stack_2408.return = workInProgress),
9021
- (JSCompiler_object_inline_componentStack_2409.return =
9040
+ (JSCompiler_object_inline_componentStack_2410.flags |= 2),
9041
+ (JSCompiler_object_inline_stack_2409.return = workInProgress),
9042
+ (JSCompiler_object_inline_componentStack_2410.return =
9022
9043
  workInProgress),
9023
- (JSCompiler_object_inline_stack_2408.sibling =
9024
- JSCompiler_object_inline_componentStack_2409),
9025
- (workInProgress.child = JSCompiler_object_inline_stack_2408),
9044
+ (JSCompiler_object_inline_stack_2409.sibling =
9045
+ JSCompiler_object_inline_componentStack_2410),
9046
+ (workInProgress.child = JSCompiler_object_inline_stack_2409),
9026
9047
  reconcileChildFibers(
9027
9048
  workInProgress,
9028
9049
  current.child,
9029
9050
  null,
9030
9051
  renderLanes
9031
9052
  ),
9032
- (JSCompiler_object_inline_stack_2408 = workInProgress.child),
9033
- (JSCompiler_object_inline_stack_2408.memoizedState =
9053
+ (JSCompiler_object_inline_stack_2409 = workInProgress.child),
9054
+ (JSCompiler_object_inline_stack_2409.memoizedState =
9034
9055
  mountSuspenseOffscreenState(renderLanes)),
9035
- (JSCompiler_object_inline_stack_2408.childLanes =
9056
+ (JSCompiler_object_inline_stack_2409.childLanes =
9036
9057
  getRemainingWorkInPrimaryTree(
9037
9058
  current,
9038
- JSCompiler_object_inline_digest_2407,
9059
+ JSCompiler_object_inline_digest_2408,
9039
9060
  renderLanes
9040
9061
  )),
9041
9062
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9042
9063
  (workInProgress =
9043
- JSCompiler_object_inline_componentStack_2409));
9064
+ JSCompiler_object_inline_componentStack_2410));
9044
9065
  else if (
9045
9066
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9046
9067
  isHydrating &&
9047
9068
  console.error(
9048
9069
  "We should not be hydrating here. This is a bug in React. Please file a bug."
9049
9070
  ),
9050
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2406))
9071
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2407))
9051
9072
  ) {
9052
- JSCompiler_object_inline_digest_2407 =
9053
- JSCompiler_object_inline_message_2406.nextSibling &&
9054
- JSCompiler_object_inline_message_2406.nextSibling.dataset;
9055
- if (JSCompiler_object_inline_digest_2407) {
9056
- JSCompiler_temp = JSCompiler_object_inline_digest_2407.dgst;
9057
- var message = JSCompiler_object_inline_digest_2407.msg;
9058
- instance = JSCompiler_object_inline_digest_2407.stck;
9059
- var componentStack = JSCompiler_object_inline_digest_2407.cstck;
9073
+ JSCompiler_object_inline_digest_2408 =
9074
+ JSCompiler_object_inline_message_2407.nextSibling &&
9075
+ JSCompiler_object_inline_message_2407.nextSibling.dataset;
9076
+ if (JSCompiler_object_inline_digest_2408) {
9077
+ JSCompiler_temp = JSCompiler_object_inline_digest_2408.dgst;
9078
+ var message = JSCompiler_object_inline_digest_2408.msg;
9079
+ instance = JSCompiler_object_inline_digest_2408.stck;
9080
+ var componentStack = JSCompiler_object_inline_digest_2408.cstck;
9060
9081
  }
9061
- JSCompiler_object_inline_message_2406 = message;
9062
- JSCompiler_object_inline_digest_2407 = JSCompiler_temp;
9063
- JSCompiler_object_inline_stack_2408 = instance;
9064
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2409 =
9082
+ JSCompiler_object_inline_message_2407 = message;
9083
+ JSCompiler_object_inline_digest_2408 = JSCompiler_temp;
9084
+ JSCompiler_object_inline_stack_2409 = instance;
9085
+ JSCompiler_temp = JSCompiler_object_inline_componentStack_2410 =
9065
9086
  componentStack;
9066
- JSCompiler_object_inline_componentStack_2409 =
9067
- JSCompiler_object_inline_message_2406
9068
- ? Error(JSCompiler_object_inline_message_2406)
9087
+ JSCompiler_object_inline_componentStack_2410 =
9088
+ JSCompiler_object_inline_message_2407
9089
+ ? Error(JSCompiler_object_inline_message_2407)
9069
9090
  : Error(
9070
9091
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9071
9092
  );
9072
- JSCompiler_object_inline_componentStack_2409.stack =
9073
- JSCompiler_object_inline_stack_2408 || "";
9074
- JSCompiler_object_inline_componentStack_2409.digest =
9075
- JSCompiler_object_inline_digest_2407;
9076
- JSCompiler_object_inline_digest_2407 =
9093
+ JSCompiler_object_inline_componentStack_2410.stack =
9094
+ JSCompiler_object_inline_stack_2409 || "";
9095
+ JSCompiler_object_inline_componentStack_2410.digest =
9096
+ JSCompiler_object_inline_digest_2408;
9097
+ JSCompiler_object_inline_digest_2408 =
9077
9098
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
9078
- JSCompiler_object_inline_stack_2408 = {
9079
- value: JSCompiler_object_inline_componentStack_2409,
9099
+ JSCompiler_object_inline_stack_2409 = {
9100
+ value: JSCompiler_object_inline_componentStack_2410,
9080
9101
  source: null,
9081
- stack: JSCompiler_object_inline_digest_2407
9102
+ stack: JSCompiler_object_inline_digest_2408
9082
9103
  };
9083
- "string" === typeof JSCompiler_object_inline_digest_2407 &&
9104
+ "string" === typeof JSCompiler_object_inline_digest_2408 &&
9084
9105
  CapturedStacks.set(
9085
- JSCompiler_object_inline_componentStack_2409,
9086
- JSCompiler_object_inline_stack_2408
9106
+ JSCompiler_object_inline_componentStack_2410,
9107
+ JSCompiler_object_inline_stack_2409
9087
9108
  );
9088
- queueHydrationError(JSCompiler_object_inline_stack_2408);
9109
+ queueHydrationError(JSCompiler_object_inline_stack_2409);
9089
9110
  workInProgress = retrySuspenseComponentWithoutHydrating(
9090
9111
  current,
9091
9112
  workInProgress,
@@ -9099,44 +9120,44 @@
9099
9120
  renderLanes,
9100
9121
  !1
9101
9122
  ),
9102
- (JSCompiler_object_inline_digest_2407 =
9123
+ (JSCompiler_object_inline_digest_2408 =
9103
9124
  0 !== (renderLanes & current.childLanes)),
9104
- didReceiveUpdate || JSCompiler_object_inline_digest_2407)
9125
+ didReceiveUpdate || JSCompiler_object_inline_digest_2408)
9105
9126
  ) {
9106
- JSCompiler_object_inline_digest_2407 = workInProgressRoot;
9127
+ JSCompiler_object_inline_digest_2408 = workInProgressRoot;
9107
9128
  if (
9108
- null !== JSCompiler_object_inline_digest_2407 &&
9109
- ((JSCompiler_object_inline_stack_2408 = renderLanes & -renderLanes),
9110
- (JSCompiler_object_inline_stack_2408 =
9111
- 0 !== (JSCompiler_object_inline_stack_2408 & 42)
9129
+ null !== JSCompiler_object_inline_digest_2408 &&
9130
+ ((JSCompiler_object_inline_stack_2409 = renderLanes & -renderLanes),
9131
+ (JSCompiler_object_inline_stack_2409 =
9132
+ 0 !== (JSCompiler_object_inline_stack_2409 & 42)
9112
9133
  ? 1
9113
9134
  : getBumpedLaneForHydrationByLane(
9114
- JSCompiler_object_inline_stack_2408
9135
+ JSCompiler_object_inline_stack_2409
9115
9136
  )),
9116
- (JSCompiler_object_inline_stack_2408 =
9137
+ (JSCompiler_object_inline_stack_2409 =
9117
9138
  0 !==
9118
- (JSCompiler_object_inline_stack_2408 &
9119
- (JSCompiler_object_inline_digest_2407.suspendedLanes |
9139
+ (JSCompiler_object_inline_stack_2409 &
9140
+ (JSCompiler_object_inline_digest_2408.suspendedLanes |
9120
9141
  renderLanes))
9121
9142
  ? 0
9122
- : JSCompiler_object_inline_stack_2408),
9123
- 0 !== JSCompiler_object_inline_stack_2408 &&
9124
- JSCompiler_object_inline_stack_2408 !== prevState.retryLane)
9143
+ : JSCompiler_object_inline_stack_2409),
9144
+ 0 !== JSCompiler_object_inline_stack_2409 &&
9145
+ JSCompiler_object_inline_stack_2409 !== prevState.retryLane)
9125
9146
  )
9126
9147
  throw (
9127
- ((prevState.retryLane = JSCompiler_object_inline_stack_2408),
9148
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2409),
9128
9149
  enqueueConcurrentRenderForLane(
9129
9150
  current,
9130
- JSCompiler_object_inline_stack_2408
9151
+ JSCompiler_object_inline_stack_2409
9131
9152
  ),
9132
9153
  scheduleUpdateOnFiber(
9133
- JSCompiler_object_inline_digest_2407,
9154
+ JSCompiler_object_inline_digest_2408,
9134
9155
  current,
9135
- JSCompiler_object_inline_stack_2408
9156
+ JSCompiler_object_inline_stack_2409
9136
9157
  ),
9137
9158
  SelectiveHydrationException)
9138
9159
  );
9139
- JSCompiler_object_inline_message_2406.data ===
9160
+ JSCompiler_object_inline_message_2407.data ===
9140
9161
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9141
9162
  workInProgress = retrySuspenseComponentWithoutHydrating(
9142
9163
  current,
@@ -9144,14 +9165,14 @@
9144
9165
  renderLanes
9145
9166
  );
9146
9167
  } else
9147
- JSCompiler_object_inline_message_2406.data ===
9168
+ JSCompiler_object_inline_message_2407.data ===
9148
9169
  SUSPENSE_PENDING_START_DATA
9149
9170
  ? ((workInProgress.flags |= 192),
9150
9171
  (workInProgress.child = current.child),
9151
9172
  (workInProgress = null))
9152
9173
  : ((current = prevState.treeContext),
9153
9174
  (nextHydratableInstance = getNextHydratable(
9154
- JSCompiler_object_inline_message_2406.nextSibling
9175
+ JSCompiler_object_inline_message_2407.nextSibling
9155
9176
  )),
9156
9177
  (hydrationParentFiber = workInProgress),
9157
9178
  (isHydrating = !0),
@@ -9169,57 +9190,57 @@
9169
9190
  (treeContextProvider = workInProgress)),
9170
9191
  (workInProgress = mountSuspensePrimaryChildren(
9171
9192
  workInProgress,
9172
- JSCompiler_object_inline_stack_2408.children
9193
+ JSCompiler_object_inline_stack_2409.children
9173
9194
  )),
9174
9195
  (workInProgress.flags |= 4096));
9175
9196
  return workInProgress;
9176
9197
  }
9177
- if (JSCompiler_object_inline_componentStack_2409)
9198
+ if (JSCompiler_object_inline_componentStack_2410)
9178
9199
  return (
9179
9200
  reuseSuspenseHandlerOnStack(workInProgress),
9180
- (JSCompiler_object_inline_componentStack_2409 =
9181
- JSCompiler_object_inline_stack_2408.fallback),
9182
- (JSCompiler_object_inline_message_2406 = workInProgress.mode),
9201
+ (JSCompiler_object_inline_componentStack_2410 =
9202
+ JSCompiler_object_inline_stack_2409.fallback),
9203
+ (JSCompiler_object_inline_message_2407 = workInProgress.mode),
9183
9204
  (JSCompiler_temp = current.child),
9184
9205
  (instance = JSCompiler_temp.sibling),
9185
- (JSCompiler_object_inline_stack_2408 = createWorkInProgress(
9206
+ (JSCompiler_object_inline_stack_2409 = createWorkInProgress(
9186
9207
  JSCompiler_temp,
9187
9208
  {
9188
9209
  mode: "hidden",
9189
- children: JSCompiler_object_inline_stack_2408.children
9210
+ children: JSCompiler_object_inline_stack_2409.children
9190
9211
  }
9191
9212
  )),
9192
- (JSCompiler_object_inline_stack_2408.subtreeFlags =
9213
+ (JSCompiler_object_inline_stack_2409.subtreeFlags =
9193
9214
  JSCompiler_temp.subtreeFlags & 65011712),
9194
9215
  null !== instance
9195
- ? (JSCompiler_object_inline_componentStack_2409 =
9216
+ ? (JSCompiler_object_inline_componentStack_2410 =
9196
9217
  createWorkInProgress(
9197
9218
  instance,
9198
- JSCompiler_object_inline_componentStack_2409
9219
+ JSCompiler_object_inline_componentStack_2410
9199
9220
  ))
9200
- : ((JSCompiler_object_inline_componentStack_2409 =
9221
+ : ((JSCompiler_object_inline_componentStack_2410 =
9201
9222
  createFiberFromFragment(
9202
- JSCompiler_object_inline_componentStack_2409,
9203
- JSCompiler_object_inline_message_2406,
9223
+ JSCompiler_object_inline_componentStack_2410,
9224
+ JSCompiler_object_inline_message_2407,
9204
9225
  renderLanes,
9205
9226
  null
9206
9227
  )),
9207
- (JSCompiler_object_inline_componentStack_2409.flags |= 2)),
9208
- (JSCompiler_object_inline_componentStack_2409.return =
9228
+ (JSCompiler_object_inline_componentStack_2410.flags |= 2)),
9229
+ (JSCompiler_object_inline_componentStack_2410.return =
9209
9230
  workInProgress),
9210
- (JSCompiler_object_inline_stack_2408.return = workInProgress),
9211
- (JSCompiler_object_inline_stack_2408.sibling =
9212
- JSCompiler_object_inline_componentStack_2409),
9213
- (workInProgress.child = JSCompiler_object_inline_stack_2408),
9214
- (JSCompiler_object_inline_stack_2408 =
9215
- JSCompiler_object_inline_componentStack_2409),
9216
- (JSCompiler_object_inline_componentStack_2409 = workInProgress.child),
9217
- (JSCompiler_object_inline_message_2406 = current.child.memoizedState),
9218
- null === JSCompiler_object_inline_message_2406
9219
- ? (JSCompiler_object_inline_message_2406 =
9231
+ (JSCompiler_object_inline_stack_2409.return = workInProgress),
9232
+ (JSCompiler_object_inline_stack_2409.sibling =
9233
+ JSCompiler_object_inline_componentStack_2410),
9234
+ (workInProgress.child = JSCompiler_object_inline_stack_2409),
9235
+ (JSCompiler_object_inline_stack_2409 =
9236
+ JSCompiler_object_inline_componentStack_2410),
9237
+ (JSCompiler_object_inline_componentStack_2410 = workInProgress.child),
9238
+ (JSCompiler_object_inline_message_2407 = current.child.memoizedState),
9239
+ null === JSCompiler_object_inline_message_2407
9240
+ ? (JSCompiler_object_inline_message_2407 =
9220
9241
  mountSuspenseOffscreenState(renderLanes))
9221
9242
  : ((JSCompiler_temp =
9222
- JSCompiler_object_inline_message_2406.cachePool),
9243
+ JSCompiler_object_inline_message_2407.cachePool),
9223
9244
  null !== JSCompiler_temp
9224
9245
  ? ((instance = CacheContext._currentValue),
9225
9246
  (JSCompiler_temp =
@@ -9227,37 +9248,37 @@
9227
9248
  ? { parent: instance, pool: instance }
9228
9249
  : JSCompiler_temp))
9229
9250
  : (JSCompiler_temp = getSuspendedCache()),
9230
- (JSCompiler_object_inline_message_2406 = {
9251
+ (JSCompiler_object_inline_message_2407 = {
9231
9252
  baseLanes:
9232
- JSCompiler_object_inline_message_2406.baseLanes | renderLanes,
9253
+ JSCompiler_object_inline_message_2407.baseLanes | renderLanes,
9233
9254
  cachePool: JSCompiler_temp
9234
9255
  })),
9235
- (JSCompiler_object_inline_componentStack_2409.memoizedState =
9236
- JSCompiler_object_inline_message_2406),
9237
- (JSCompiler_object_inline_componentStack_2409.childLanes =
9256
+ (JSCompiler_object_inline_componentStack_2410.memoizedState =
9257
+ JSCompiler_object_inline_message_2407),
9258
+ (JSCompiler_object_inline_componentStack_2410.childLanes =
9238
9259
  getRemainingWorkInPrimaryTree(
9239
9260
  current,
9240
- JSCompiler_object_inline_digest_2407,
9261
+ JSCompiler_object_inline_digest_2408,
9241
9262
  renderLanes
9242
9263
  )),
9243
9264
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9244
- JSCompiler_object_inline_stack_2408
9265
+ JSCompiler_object_inline_stack_2409
9245
9266
  );
9246
9267
  pushPrimaryTreeSuspenseHandler(workInProgress);
9247
9268
  renderLanes = current.child;
9248
9269
  current = renderLanes.sibling;
9249
9270
  renderLanes = createWorkInProgress(renderLanes, {
9250
9271
  mode: "visible",
9251
- children: JSCompiler_object_inline_stack_2408.children
9272
+ children: JSCompiler_object_inline_stack_2409.children
9252
9273
  });
9253
9274
  renderLanes.return = workInProgress;
9254
9275
  renderLanes.sibling = null;
9255
9276
  null !== current &&
9256
- ((JSCompiler_object_inline_digest_2407 = workInProgress.deletions),
9257
- null === JSCompiler_object_inline_digest_2407
9277
+ ((JSCompiler_object_inline_digest_2408 = workInProgress.deletions),
9278
+ null === JSCompiler_object_inline_digest_2408
9258
9279
  ? ((workInProgress.deletions = [current]),
9259
9280
  (workInProgress.flags |= 16))
9260
- : JSCompiler_object_inline_digest_2407.push(current));
9281
+ : JSCompiler_object_inline_digest_2408.push(current));
9261
9282
  workInProgress.child = renderLanes;
9262
9283
  workInProgress.memoizedState = null;
9263
9284
  return renderLanes;
@@ -10091,10 +10112,15 @@
10091
10112
  null === current &&
10092
10113
  isHydrating &&
10093
10114
  ((renderLanes = workInProgress.pendingProps),
10094
- (current = getHostContext().ancestorInfo.current),
10115
+ (current = getHostContext()),
10116
+ (returnFiber = current.ancestorInfo.current),
10095
10117
  (renderLanes =
10096
- null != current
10097
- ? validateTextNesting(renderLanes, current.tag)
10118
+ null != returnFiber
10119
+ ? validateTextNesting(
10120
+ renderLanes,
10121
+ returnFiber.tag,
10122
+ current.ancestorInfo.implicitRootScope
10123
+ )
10098
10124
  : !0),
10099
10125
  (current = nextHydratableInstance),
10100
10126
  (returnFiber = !current) ||
@@ -13762,9 +13788,13 @@
13762
13788
  : !1;
13763
13789
  current || throwOnHydrationMismatch(workInProgress);
13764
13790
  } else
13765
- (renderLanes = renderLanes.ancestorInfo.current),
13766
- null != renderLanes &&
13767
- validateTextNesting(newProps, renderLanes.tag),
13791
+ (_type = renderLanes.ancestorInfo.current),
13792
+ null != _type &&
13793
+ validateTextNesting(
13794
+ newProps,
13795
+ _type.tag,
13796
+ renderLanes.ancestorInfo.implicitRootScope
13797
+ ),
13768
13798
  (current =
13769
13799
  getOwnerDocumentFromRootContainer(current).createTextNode(
13770
13800
  newProps
@@ -17012,12 +17042,12 @@
17012
17042
  switch (key) {
17013
17043
  case "children":
17014
17044
  if ("string" === typeof value)
17015
- validateTextNesting(value, tag),
17045
+ validateTextNesting(value, tag, !1),
17016
17046
  "body" === tag ||
17017
17047
  ("textarea" === tag && "" === value) ||
17018
17048
  setTextContent(domElement, value);
17019
17049
  else if ("number" === typeof value || "bigint" === typeof value)
17020
- validateTextNesting("" + value, tag),
17050
+ validateTextNesting("" + value, tag, !1),
17021
17051
  "body" !== tag && setTextContent(domElement, "" + value);
17022
17052
  break;
17023
17053
  case "className":
@@ -19534,7 +19564,10 @@
19534
19564
  instance,
19535
19565
  internalInstanceHandle
19536
19566
  ) {
19537
- if (getInstanceFromNode(instance)) {
19567
+ if (
19568
+ !instance[internalContainerInstanceKey] &&
19569
+ getInstanceFromNode(instance)
19570
+ ) {
19538
19571
  var tagName = instance.tagName.toLowerCase();
19539
19572
  console.error(
19540
19573
  "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.",
@@ -19567,7 +19600,9 @@
19567
19600
  function getHoistableRoot(container) {
19568
19601
  return "function" === typeof container.getRootNode
19569
19602
  ? container.getRootNode()
19570
- : container.ownerDocument;
19603
+ : 9 === container.nodeType
19604
+ ? container
19605
+ : container.ownerDocument;
19571
19606
  }
19572
19607
  function preconnectAs(rel, href, crossOrigin) {
19573
19608
  var ownerDocument = globalDocument;
@@ -21189,7 +21224,8 @@
21189
21224
  pTagInButtonScope: null,
21190
21225
  listItemTagAutoclosing: null,
21191
21226
  dlItemTagAutoclosing: null,
21192
- containerTagInScope: null
21227
+ containerTagInScope: null,
21228
+ implicitRootScope: !1
21193
21229
  },
21194
21230
  didWarn = {},
21195
21231
  shorthandToLonghand = {
@@ -24622,11 +24658,11 @@
24622
24658
  };
24623
24659
  (function () {
24624
24660
  var isomorphicReactPackageVersion = React.version;
24625
- if ("19.1.0-canary-ff628334-20250205" !== isomorphicReactPackageVersion)
24661
+ if ("19.1.0-canary-93b58361-20250209" !== isomorphicReactPackageVersion)
24626
24662
  throw Error(
24627
24663
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24628
24664
  (isomorphicReactPackageVersion +
24629
- "\n - react-dom: 19.1.0-canary-ff628334-20250205\nLearn more: https://react.dev/warnings/version-mismatch")
24665
+ "\n - react-dom: 19.1.0-canary-93b58361-20250209\nLearn more: https://react.dev/warnings/version-mismatch")
24630
24666
  );
24631
24667
  })();
24632
24668
  ("function" === typeof Map &&
@@ -24663,10 +24699,10 @@
24663
24699
  !(function () {
24664
24700
  var internals = {
24665
24701
  bundleType: 1,
24666
- version: "19.1.0-canary-ff628334-20250205",
24702
+ version: "19.1.0-canary-93b58361-20250209",
24667
24703
  rendererPackageName: "react-dom",
24668
24704
  currentDispatcherRef: ReactSharedInternals,
24669
- reconcilerVersion: "19.1.0-canary-ff628334-20250205"
24705
+ reconcilerVersion: "19.1.0-canary-93b58361-20250209"
24670
24706
  };
24671
24707
  internals.overrideHookState = overrideHookState;
24672
24708
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -24810,7 +24846,7 @@
24810
24846
  listenToAllSupportedEvents(container);
24811
24847
  return new ReactDOMHydrationRoot(initialChildren);
24812
24848
  };
24813
- exports.version = "19.1.0-canary-ff628334-20250205";
24849
+ exports.version = "19.1.0-canary-93b58361-20250209";
24814
24850
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
24815
24851
  "function" ===
24816
24852
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&