react-dom 19.2.0-canary-3fbfb9ba-20250409 → 19.2.0-canary-1d6c8168-20250411

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.
@@ -2016,19 +2016,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
2016
2016
  }
2017
2017
  var isInputEventSupported = !1;
2018
2018
  if (canUseDOM) {
2019
- var JSCompiler_inline_result$jscomp$284;
2019
+ var JSCompiler_inline_result$jscomp$286;
2020
2020
  if (canUseDOM) {
2021
- var isSupported$jscomp$inline_421 = "oninput" in document;
2022
- if (!isSupported$jscomp$inline_421) {
2023
- var element$jscomp$inline_422 = document.createElement("div");
2024
- element$jscomp$inline_422.setAttribute("oninput", "return;");
2025
- isSupported$jscomp$inline_421 =
2026
- "function" === typeof element$jscomp$inline_422.oninput;
2021
+ var isSupported$jscomp$inline_424 = "oninput" in document;
2022
+ if (!isSupported$jscomp$inline_424) {
2023
+ var element$jscomp$inline_425 = document.createElement("div");
2024
+ element$jscomp$inline_425.setAttribute("oninput", "return;");
2025
+ isSupported$jscomp$inline_424 =
2026
+ "function" === typeof element$jscomp$inline_425.oninput;
2027
2027
  }
2028
- JSCompiler_inline_result$jscomp$284 = isSupported$jscomp$inline_421;
2029
- } else JSCompiler_inline_result$jscomp$284 = !1;
2028
+ JSCompiler_inline_result$jscomp$286 = isSupported$jscomp$inline_424;
2029
+ } else JSCompiler_inline_result$jscomp$286 = !1;
2030
2030
  isInputEventSupported =
2031
- JSCompiler_inline_result$jscomp$284 &&
2031
+ JSCompiler_inline_result$jscomp$286 &&
2032
2032
  (!document.documentMode || 9 < document.documentMode);
2033
2033
  }
2034
2034
  function stopWatchingForValueChange() {
@@ -6154,9 +6154,13 @@ function updateSimpleMemoComponent(
6154
6154
  renderLanes
6155
6155
  );
6156
6156
  }
6157
- function updateOffscreenComponent(current, workInProgress, renderLanes) {
6158
- var nextProps = workInProgress.pendingProps,
6159
- nextChildren = nextProps.children,
6157
+ function updateOffscreenComponent(
6158
+ current,
6159
+ workInProgress,
6160
+ renderLanes,
6161
+ nextProps
6162
+ ) {
6163
+ var nextChildren = nextProps.children,
6160
6164
  prevState = null !== current ? current.memoizedState : null;
6161
6165
  if ("hidden" === nextProps.mode) {
6162
6166
  if (0 !== (workInProgress.flags & 128)) {
@@ -6608,108 +6612,77 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
6608
6612
  showFallback
6609
6613
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
6610
6614
  : reuseSuspenseHandlerOnStack(workInProgress);
6611
- if (isHydrating) {
6612
- var nextInstance = nextHydratableInstance,
6613
- JSCompiler_temp$jscomp$0;
6614
- if ((JSCompiler_temp$jscomp$0 = nextInstance)) {
6615
- c: {
6616
- JSCompiler_temp$jscomp$0 = nextInstance;
6617
- for (
6618
- nextInstance = rootOrSingletonContext;
6619
- 8 !== JSCompiler_temp$jscomp$0.nodeType;
6620
-
6621
- ) {
6622
- if (!nextInstance) {
6623
- nextInstance = null;
6624
- break c;
6625
- }
6626
- JSCompiler_temp$jscomp$0 = getNextHydratable(
6627
- JSCompiler_temp$jscomp$0.nextSibling
6628
- );
6629
- if (null === JSCompiler_temp$jscomp$0) {
6630
- nextInstance = null;
6631
- break c;
6632
- }
6615
+ if ((current = nextHydratableInstance)) {
6616
+ a: {
6617
+ renderLanes = current;
6618
+ for (current = rootOrSingletonContext; 8 !== renderLanes.nodeType; ) {
6619
+ if (!current) {
6620
+ current = null;
6621
+ break a;
6622
+ }
6623
+ renderLanes = getNextHydratable(renderLanes.nextSibling);
6624
+ if (null === renderLanes) {
6625
+ current = null;
6626
+ break a;
6633
6627
  }
6634
- nextInstance = JSCompiler_temp$jscomp$0;
6635
6628
  }
6636
- null !== nextInstance
6637
- ? ((workInProgress.memoizedState = {
6638
- dehydrated: nextInstance,
6639
- treeContext:
6640
- null !== treeContextProvider
6641
- ? { id: treeContextId, overflow: treeContextOverflow }
6642
- : null,
6643
- retryLane: 536870912,
6644
- hydrationErrors: null
6645
- }),
6646
- (JSCompiler_temp$jscomp$0 = createFiberImplClass(
6647
- 18,
6648
- null,
6649
- null,
6650
- 0
6651
- )),
6652
- (JSCompiler_temp$jscomp$0.stateNode = nextInstance),
6653
- (JSCompiler_temp$jscomp$0.return = workInProgress),
6654
- (workInProgress.child = JSCompiler_temp$jscomp$0),
6655
- (hydrationParentFiber = workInProgress),
6656
- (nextHydratableInstance = null),
6657
- (JSCompiler_temp$jscomp$0 = !0))
6658
- : (JSCompiler_temp$jscomp$0 = !1);
6629
+ current = renderLanes;
6659
6630
  }
6660
- JSCompiler_temp$jscomp$0 || throwOnHydrationMismatch(workInProgress);
6661
- }
6662
- nextInstance = workInProgress.memoizedState;
6663
- if (
6664
- null !== nextInstance &&
6665
- ((nextInstance = nextInstance.dehydrated), null !== nextInstance)
6666
- )
6667
- return (
6668
- isSuspenseInstanceFallback(nextInstance)
6669
- ? (workInProgress.lanes = 32)
6670
- : (workInProgress.lanes = 536870912),
6671
- null
6672
- );
6673
- popSuspenseHandler(workInProgress);
6631
+ null !== current &&
6632
+ ((workInProgress.memoizedState = {
6633
+ dehydrated: current,
6634
+ treeContext:
6635
+ null !== treeContextProvider
6636
+ ? { id: treeContextId, overflow: treeContextOverflow }
6637
+ : null,
6638
+ retryLane: 536870912,
6639
+ hydrationErrors: null
6640
+ }),
6641
+ (renderLanes = createFiberImplClass(18, null, null, 0)),
6642
+ (renderLanes.stateNode = current),
6643
+ (renderLanes.return = workInProgress),
6644
+ (workInProgress.child = renderLanes),
6645
+ (hydrationParentFiber = workInProgress),
6646
+ (nextHydratableInstance = null));
6647
+ } else current = null;
6648
+ if (null === current) throw throwOnHydrationMismatch(workInProgress);
6649
+ isSuspenseInstanceFallback(current)
6650
+ ? (workInProgress.lanes = 32)
6651
+ : (workInProgress.lanes = 536870912);
6652
+ return null;
6674
6653
  }
6675
- nextInstance = nextProps.children;
6654
+ var nextPrimaryChildren = nextProps.children;
6676
6655
  nextProps = nextProps.fallback;
6677
- if (showFallback)
6678
- return (
6679
- reuseSuspenseHandlerOnStack(workInProgress),
6680
- (showFallback = workInProgress.mode),
6681
- (nextInstance = mountWorkInProgressOffscreenFiber(
6682
- { mode: "hidden", children: nextInstance },
6683
- showFallback
6684
- )),
6685
- (nextProps = createFiberFromFragment(
6686
- nextProps,
6687
- showFallback,
6688
- renderLanes,
6689
- null
6690
- )),
6691
- (nextInstance.return = workInProgress),
6692
- (nextProps.return = workInProgress),
6693
- (nextInstance.sibling = nextProps),
6694
- (workInProgress.child = nextInstance),
6695
- (showFallback = workInProgress.child),
6696
- (showFallback.memoizedState = mountSuspenseOffscreenState(renderLanes)),
6697
- (showFallback.childLanes = getRemainingWorkInPrimaryTree(
6698
- current,
6699
- JSCompiler_temp,
6700
- renderLanes
6701
- )),
6702
- (workInProgress.memoizedState = SUSPENDED_MARKER),
6703
- nextProps
6656
+ if (showFallback) {
6657
+ reuseSuspenseHandlerOnStack(workInProgress);
6658
+ var mode = workInProgress.mode;
6659
+ nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
6660
+ { mode: "hidden", children: nextPrimaryChildren },
6661
+ mode
6704
6662
  );
6663
+ nextProps = createFiberFromFragment(nextProps, mode, renderLanes, null);
6664
+ nextPrimaryChildren.return = workInProgress;
6665
+ nextProps.return = workInProgress;
6666
+ nextPrimaryChildren.sibling = nextProps;
6667
+ workInProgress.child = nextPrimaryChildren;
6668
+ nextPrimaryChildren = workInProgress.child;
6669
+ nextPrimaryChildren.memoizedState =
6670
+ mountSuspenseOffscreenState(renderLanes);
6671
+ nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
6672
+ current,
6673
+ JSCompiler_temp,
6674
+ renderLanes
6675
+ );
6676
+ workInProgress.memoizedState = SUSPENDED_MARKER;
6677
+ return nextProps;
6678
+ }
6705
6679
  pushPrimaryTreeSuspenseHandler(workInProgress);
6706
- return mountSuspensePrimaryChildren(workInProgress, nextInstance);
6680
+ return mountSuspensePrimaryChildren(workInProgress, nextPrimaryChildren);
6707
6681
  }
6708
- JSCompiler_temp$jscomp$0 = current.memoizedState;
6682
+ mode = current.memoizedState;
6709
6683
  if (
6710
- null !== JSCompiler_temp$jscomp$0 &&
6711
- ((nextInstance = JSCompiler_temp$jscomp$0.dehydrated),
6712
- null !== nextInstance)
6684
+ null !== mode &&
6685
+ ((nextPrimaryChildren = mode.dehydrated), null !== nextPrimaryChildren)
6713
6686
  ) {
6714
6687
  if (didSuspend)
6715
6688
  workInProgress.flags & 256
@@ -6726,22 +6699,22 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
6726
6699
  (workInProgress.flags |= 128),
6727
6700
  (workInProgress = null))
6728
6701
  : (reuseSuspenseHandlerOnStack(workInProgress),
6729
- (showFallback = nextProps.fallback),
6730
- (nextInstance = workInProgress.mode),
6702
+ (nextPrimaryChildren = nextProps.fallback),
6703
+ (mode = workInProgress.mode),
6731
6704
  (nextProps = mountWorkInProgressOffscreenFiber(
6732
6705
  { mode: "visible", children: nextProps.children },
6733
- nextInstance
6706
+ mode
6734
6707
  )),
6735
- (showFallback = createFiberFromFragment(
6736
- showFallback,
6737
- nextInstance,
6708
+ (nextPrimaryChildren = createFiberFromFragment(
6709
+ nextPrimaryChildren,
6710
+ mode,
6738
6711
  renderLanes,
6739
6712
  null
6740
6713
  )),
6741
- (showFallback.flags |= 2),
6714
+ (nextPrimaryChildren.flags |= 2),
6742
6715
  (nextProps.return = workInProgress),
6743
- (showFallback.return = workInProgress),
6744
- (nextProps.sibling = showFallback),
6716
+ (nextPrimaryChildren.return = workInProgress),
6717
+ (nextProps.sibling = nextPrimaryChildren),
6745
6718
  (workInProgress.child = nextProps),
6746
6719
  reconcileChildFibers(
6747
6720
  workInProgress,
@@ -6758,13 +6731,14 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
6758
6731
  renderLanes
6759
6732
  )),
6760
6733
  (workInProgress.memoizedState = SUSPENDED_MARKER),
6761
- (workInProgress = showFallback));
6734
+ (workInProgress = nextPrimaryChildren));
6762
6735
  else if (
6763
6736
  (pushPrimaryTreeSuspenseHandler(workInProgress),
6764
- isSuspenseInstanceFallback(nextInstance))
6737
+ isSuspenseInstanceFallback(nextPrimaryChildren))
6765
6738
  ) {
6766
6739
  JSCompiler_temp =
6767
- nextInstance.nextSibling && nextInstance.nextSibling.dataset;
6740
+ nextPrimaryChildren.nextSibling &&
6741
+ nextPrimaryChildren.nextSibling.dataset;
6768
6742
  if (JSCompiler_temp) var digest = JSCompiler_temp.dgst;
6769
6743
  JSCompiler_temp = digest;
6770
6744
  nextProps = Error(formatProdErrorMessage(419));
@@ -6794,28 +6768,28 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
6794
6768
  0 !== (nextProps & (JSCompiler_temp.suspendedLanes | renderLanes))
6795
6769
  ? 0
6796
6770
  : nextProps),
6797
- 0 !== nextProps && nextProps !== JSCompiler_temp$jscomp$0.retryLane)
6771
+ 0 !== nextProps && nextProps !== mode.retryLane)
6798
6772
  )
6799
6773
  throw (
6800
- ((JSCompiler_temp$jscomp$0.retryLane = nextProps),
6774
+ ((mode.retryLane = nextProps),
6801
6775
  enqueueConcurrentRenderForLane(current, nextProps),
6802
6776
  scheduleUpdateOnFiber(JSCompiler_temp, current, nextProps),
6803
6777
  SelectiveHydrationException)
6804
6778
  );
6805
- "$?" === nextInstance.data || renderDidSuspendDelayIfPossible();
6779
+ "$?" === nextPrimaryChildren.data || renderDidSuspendDelayIfPossible();
6806
6780
  workInProgress = retrySuspenseComponentWithoutHydrating(
6807
6781
  current,
6808
6782
  workInProgress,
6809
6783
  renderLanes
6810
6784
  );
6811
6785
  } else
6812
- "$?" === nextInstance.data
6786
+ "$?" === nextPrimaryChildren.data
6813
6787
  ? ((workInProgress.flags |= 192),
6814
6788
  (workInProgress.child = current.child),
6815
6789
  (workInProgress = null))
6816
- : ((current = JSCompiler_temp$jscomp$0.treeContext),
6790
+ : ((current = mode.treeContext),
6817
6791
  (nextHydratableInstance = getNextHydratable(
6818
- nextInstance.nextSibling
6792
+ nextPrimaryChildren.nextSibling
6819
6793
  )),
6820
6794
  (hydrationParentFiber = workInProgress),
6821
6795
  (isHydrating = !0),
@@ -6838,48 +6812,50 @@ function updateSuspenseComponent(current, workInProgress, renderLanes) {
6838
6812
  if (showFallback)
6839
6813
  return (
6840
6814
  reuseSuspenseHandlerOnStack(workInProgress),
6841
- (showFallback = nextProps.fallback),
6842
- (nextInstance = workInProgress.mode),
6843
- (JSCompiler_temp$jscomp$0 = current.child),
6844
- (digest = JSCompiler_temp$jscomp$0.sibling),
6845
- (nextProps = createWorkInProgress(JSCompiler_temp$jscomp$0, {
6815
+ (nextPrimaryChildren = nextProps.fallback),
6816
+ (mode = workInProgress.mode),
6817
+ (showFallback = current.child),
6818
+ (digest = showFallback.sibling),
6819
+ (nextProps = createWorkInProgress(showFallback, {
6846
6820
  mode: "hidden",
6847
6821
  children: nextProps.children
6848
6822
  })),
6849
- (nextProps.subtreeFlags =
6850
- JSCompiler_temp$jscomp$0.subtreeFlags & 65011712),
6823
+ (nextProps.subtreeFlags = showFallback.subtreeFlags & 65011712),
6851
6824
  null !== digest
6852
- ? (showFallback = createWorkInProgress(digest, showFallback))
6853
- : ((showFallback = createFiberFromFragment(
6854
- showFallback,
6855
- nextInstance,
6825
+ ? (nextPrimaryChildren = createWorkInProgress(
6826
+ digest,
6827
+ nextPrimaryChildren
6828
+ ))
6829
+ : ((nextPrimaryChildren = createFiberFromFragment(
6830
+ nextPrimaryChildren,
6831
+ mode,
6856
6832
  renderLanes,
6857
6833
  null
6858
6834
  )),
6859
- (showFallback.flags |= 2)),
6860
- (showFallback.return = workInProgress),
6835
+ (nextPrimaryChildren.flags |= 2)),
6836
+ (nextPrimaryChildren.return = workInProgress),
6861
6837
  (nextProps.return = workInProgress),
6862
- (nextProps.sibling = showFallback),
6838
+ (nextProps.sibling = nextPrimaryChildren),
6863
6839
  (workInProgress.child = nextProps),
6864
- (nextProps = showFallback),
6865
- (showFallback = workInProgress.child),
6866
- (nextInstance = current.child.memoizedState),
6867
- null === nextInstance
6868
- ? (nextInstance = mountSuspenseOffscreenState(renderLanes))
6869
- : ((JSCompiler_temp$jscomp$0 = nextInstance.cachePool),
6870
- null !== JSCompiler_temp$jscomp$0
6840
+ (nextProps = nextPrimaryChildren),
6841
+ (nextPrimaryChildren = workInProgress.child),
6842
+ (mode = current.child.memoizedState),
6843
+ null === mode
6844
+ ? (mode = mountSuspenseOffscreenState(renderLanes))
6845
+ : ((showFallback = mode.cachePool),
6846
+ null !== showFallback
6871
6847
  ? ((digest = CacheContext._currentValue),
6872
- (JSCompiler_temp$jscomp$0 =
6873
- JSCompiler_temp$jscomp$0.parent !== digest
6848
+ (showFallback =
6849
+ showFallback.parent !== digest
6874
6850
  ? { parent: digest, pool: digest }
6875
- : JSCompiler_temp$jscomp$0))
6876
- : (JSCompiler_temp$jscomp$0 = getSuspendedCache()),
6877
- (nextInstance = {
6878
- baseLanes: nextInstance.baseLanes | renderLanes,
6879
- cachePool: JSCompiler_temp$jscomp$0
6851
+ : showFallback))
6852
+ : (showFallback = getSuspendedCache()),
6853
+ (mode = {
6854
+ baseLanes: mode.baseLanes | renderLanes,
6855
+ cachePool: showFallback
6880
6856
  })),
6881
- (showFallback.memoizedState = nextInstance),
6882
- (showFallback.childLanes = getRemainingWorkInPrimaryTree(
6857
+ (nextPrimaryChildren.memoizedState = mode),
6858
+ (nextPrimaryChildren.childLanes = getRemainingWorkInPrimaryTree(
6883
6859
  current,
6884
6860
  JSCompiler_temp,
6885
6861
  renderLanes
@@ -7163,10 +7139,14 @@ function attemptEarlyBailoutIfNoScheduledUpdate(
7163
7139
  if (state) break;
7164
7140
  else return null;
7165
7141
  case 22:
7166
- case 23:
7167
7142
  return (
7168
7143
  (workInProgress.lanes = 0),
7169
- updateOffscreenComponent(current, workInProgress, renderLanes)
7144
+ updateOffscreenComponent(
7145
+ current,
7146
+ workInProgress,
7147
+ renderLanes,
7148
+ workInProgress.pendingProps
7149
+ )
7170
7150
  );
7171
7151
  case 24:
7172
7152
  pushProvider(workInProgress, CacheContext, current.memoizedState.cache);
@@ -7629,7 +7609,12 @@ function beginWork(current, workInProgress, renderLanes) {
7629
7609
  workInProgress
7630
7610
  );
7631
7611
  case 22:
7632
- return updateOffscreenComponent(current, workInProgress, renderLanes);
7612
+ return updateOffscreenComponent(
7613
+ current,
7614
+ workInProgress,
7615
+ renderLanes,
7616
+ workInProgress.pendingProps
7617
+ );
7633
7618
  case 24:
7634
7619
  return (
7635
7620
  prepareToReadContext(workInProgress),
@@ -11825,20 +11810,20 @@ function extractEvents$1(
11825
11810
  }
11826
11811
  }
11827
11812
  for (
11828
- var i$jscomp$inline_1526 = 0;
11829
- i$jscomp$inline_1526 < simpleEventPluginEvents.length;
11830
- i$jscomp$inline_1526++
11813
+ var i$jscomp$inline_1531 = 0;
11814
+ i$jscomp$inline_1531 < simpleEventPluginEvents.length;
11815
+ i$jscomp$inline_1531++
11831
11816
  ) {
11832
- var eventName$jscomp$inline_1527 =
11833
- simpleEventPluginEvents[i$jscomp$inline_1526],
11834
- domEventName$jscomp$inline_1528 =
11835
- eventName$jscomp$inline_1527.toLowerCase(),
11836
- capitalizedEvent$jscomp$inline_1529 =
11837
- eventName$jscomp$inline_1527[0].toUpperCase() +
11838
- eventName$jscomp$inline_1527.slice(1);
11817
+ var eventName$jscomp$inline_1532 =
11818
+ simpleEventPluginEvents[i$jscomp$inline_1531],
11819
+ domEventName$jscomp$inline_1533 =
11820
+ eventName$jscomp$inline_1532.toLowerCase(),
11821
+ capitalizedEvent$jscomp$inline_1534 =
11822
+ eventName$jscomp$inline_1532[0].toUpperCase() +
11823
+ eventName$jscomp$inline_1532.slice(1);
11839
11824
  registerSimpleEvent(
11840
- domEventName$jscomp$inline_1528,
11841
- "on" + capitalizedEvent$jscomp$inline_1529
11825
+ domEventName$jscomp$inline_1533,
11826
+ "on" + capitalizedEvent$jscomp$inline_1534
11842
11827
  );
11843
11828
  }
11844
11829
  registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -13609,51 +13594,38 @@ function isSingletonScope(type) {
13609
13594
  }
13610
13595
  function clearSuspenseBoundary(parentInstance, suspenseInstance) {
13611
13596
  var node = suspenseInstance,
13612
- possiblePreambleContribution = 0,
13613
13597
  depth = 0;
13614
13598
  do {
13615
13599
  var nextNode = node.nextSibling;
13616
13600
  parentInstance.removeChild(node);
13617
13601
  if (nextNode && 8 === nextNode.nodeType)
13618
13602
  if (((node = nextNode.data), "/$" === node)) {
13619
- if (
13620
- 0 < possiblePreambleContribution &&
13621
- 8 > possiblePreambleContribution
13622
- ) {
13623
- node = possiblePreambleContribution;
13624
- var ownerDocument = parentInstance.ownerDocument;
13625
- node & 1 && releaseSingletonInstance(ownerDocument.documentElement);
13626
- node & 2 && releaseSingletonInstance(ownerDocument.body);
13627
- if (node & 4)
13628
- for (
13629
- node = ownerDocument.head,
13630
- releaseSingletonInstance(node),
13631
- ownerDocument = node.firstChild;
13632
- ownerDocument;
13633
-
13634
- ) {
13635
- var nextNode$jscomp$0 = ownerDocument.nextSibling,
13636
- nodeName = ownerDocument.nodeName;
13637
- ownerDocument[internalHoistableMarker] ||
13638
- "SCRIPT" === nodeName ||
13639
- "STYLE" === nodeName ||
13640
- ("LINK" === nodeName &&
13641
- "stylesheet" === ownerDocument.rel.toLowerCase()) ||
13642
- node.removeChild(ownerDocument);
13643
- ownerDocument = nextNode$jscomp$0;
13644
- }
13645
- }
13646
13603
  if (0 === depth) {
13647
13604
  parentInstance.removeChild(nextNode);
13648
13605
  retryIfBlockedOn(suspenseInstance);
13649
13606
  return;
13650
13607
  }
13651
13608
  depth--;
13609
+ } else if ("$" === node || "$?" === node || "$!" === node) depth++;
13610
+ else if ("html" === node)
13611
+ releaseSingletonInstance(parentInstance.ownerDocument.documentElement);
13612
+ else if ("head" === node) {
13613
+ node = parentInstance.ownerDocument.head;
13614
+ releaseSingletonInstance(node);
13615
+ for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) {
13616
+ var nextNode$jscomp$0 = node$jscomp$0.nextSibling,
13617
+ nodeName = node$jscomp$0.nodeName;
13618
+ node$jscomp$0[internalHoistableMarker] ||
13619
+ "SCRIPT" === nodeName ||
13620
+ "STYLE" === nodeName ||
13621
+ ("LINK" === nodeName &&
13622
+ "stylesheet" === node$jscomp$0.rel.toLowerCase()) ||
13623
+ node.removeChild(node$jscomp$0);
13624
+ node$jscomp$0 = nextNode$jscomp$0;
13625
+ }
13652
13626
  } else
13653
- "$" === node || "$?" === node || "$!" === node
13654
- ? depth++
13655
- : (possiblePreambleContribution = node.charCodeAt(0) - 48);
13656
- else possiblePreambleContribution = 0;
13627
+ "body" === node &&
13628
+ releaseSingletonInstance(parentInstance.ownerDocument.body);
13657
13629
  node = nextNode;
13658
13630
  } while (node);
13659
13631
  retryIfBlockedOn(suspenseInstance);
@@ -14138,26 +14110,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
14138
14110
  "string" === typeof pendingProps.precedence
14139
14111
  ) {
14140
14112
  type = getStyleKey(pendingProps.href);
14141
- var styles$246 = getResourcesFromRoot(
14113
+ var styles$248 = getResourcesFromRoot(
14142
14114
  JSCompiler_inline_result
14143
14115
  ).hoistableStyles,
14144
- resource$247 = styles$246.get(type);
14145
- resource$247 ||
14116
+ resource$249 = styles$248.get(type);
14117
+ resource$249 ||
14146
14118
  ((JSCompiler_inline_result =
14147
14119
  JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
14148
- (resource$247 = {
14120
+ (resource$249 = {
14149
14121
  type: "stylesheet",
14150
14122
  instance: null,
14151
14123
  count: 0,
14152
14124
  state: { loading: 0, preload: null }
14153
14125
  }),
14154
- styles$246.set(type, resource$247),
14155
- (styles$246 = JSCompiler_inline_result.querySelector(
14126
+ styles$248.set(type, resource$249),
14127
+ (styles$248 = JSCompiler_inline_result.querySelector(
14156
14128
  getStylesheetSelectorFromKey(type)
14157
14129
  )) &&
14158
- !styles$246._p &&
14159
- ((resource$247.instance = styles$246),
14160
- (resource$247.state.loading = 5)),
14130
+ !styles$248._p &&
14131
+ ((resource$249.instance = styles$248),
14132
+ (resource$249.state.loading = 5)),
14161
14133
  preloadPropsMap.has(type) ||
14162
14134
  ((pendingProps = {
14163
14135
  rel: "preload",
@@ -14170,16 +14142,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
14170
14142
  referrerPolicy: pendingProps.referrerPolicy
14171
14143
  }),
14172
14144
  preloadPropsMap.set(type, pendingProps),
14173
- styles$246 ||
14145
+ styles$248 ||
14174
14146
  preloadStylesheet(
14175
14147
  JSCompiler_inline_result,
14176
14148
  type,
14177
14149
  pendingProps,
14178
- resource$247.state
14150
+ resource$249.state
14179
14151
  )));
14180
14152
  if (currentProps && null === currentResource)
14181
14153
  throw Error(formatProdErrorMessage(528, ""));
14182
- return resource$247;
14154
+ return resource$249;
14183
14155
  }
14184
14156
  if (currentProps && null !== currentResource)
14185
14157
  throw Error(formatProdErrorMessage(529, ""));
@@ -14276,37 +14248,37 @@ function acquireResource(hoistableRoot, resource, props) {
14276
14248
  return (resource.instance = instance);
14277
14249
  case "stylesheet":
14278
14250
  styleProps = getStyleKey(props.href);
14279
- var instance$252 = hoistableRoot.querySelector(
14251
+ var instance$254 = hoistableRoot.querySelector(
14280
14252
  getStylesheetSelectorFromKey(styleProps)
14281
14253
  );
14282
- if (instance$252)
14254
+ if (instance$254)
14283
14255
  return (
14284
14256
  (resource.state.loading |= 4),
14285
- (resource.instance = instance$252),
14286
- markNodeAsHoistable(instance$252),
14287
- instance$252
14257
+ (resource.instance = instance$254),
14258
+ markNodeAsHoistable(instance$254),
14259
+ instance$254
14288
14260
  );
14289
14261
  instance = stylesheetPropsFromRawProps(props);
14290
14262
  (styleProps = preloadPropsMap.get(styleProps)) &&
14291
14263
  adoptPreloadPropsForStylesheet(instance, styleProps);
14292
- instance$252 = (
14264
+ instance$254 = (
14293
14265
  hoistableRoot.ownerDocument || hoistableRoot
14294
14266
  ).createElement("link");
14295
- markNodeAsHoistable(instance$252);
14296
- var linkInstance = instance$252;
14267
+ markNodeAsHoistable(instance$254);
14268
+ var linkInstance = instance$254;
14297
14269
  linkInstance._p = new Promise(function (resolve, reject) {
14298
14270
  linkInstance.onload = resolve;
14299
14271
  linkInstance.onerror = reject;
14300
14272
  });
14301
- setInitialProperties(instance$252, "link", instance);
14273
+ setInitialProperties(instance$254, "link", instance);
14302
14274
  resource.state.loading |= 4;
14303
- insertStylesheet(instance$252, props.precedence, hoistableRoot);
14304
- return (resource.instance = instance$252);
14275
+ insertStylesheet(instance$254, props.precedence, hoistableRoot);
14276
+ return (resource.instance = instance$254);
14305
14277
  case "script":
14306
- instance$252 = getScriptKey(props.src);
14278
+ instance$254 = getScriptKey(props.src);
14307
14279
  if (
14308
14280
  (styleProps = hoistableRoot.querySelector(
14309
- getScriptSelectorFromKey(instance$252)
14281
+ getScriptSelectorFromKey(instance$254)
14310
14282
  ))
14311
14283
  )
14312
14284
  return (
@@ -14315,7 +14287,7 @@ function acquireResource(hoistableRoot, resource, props) {
14315
14287
  styleProps
14316
14288
  );
14317
14289
  instance = props;
14318
- if ((styleProps = preloadPropsMap.get(instance$252)))
14290
+ if ((styleProps = preloadPropsMap.get(instance$254)))
14319
14291
  (instance = assign({}, props)),
14320
14292
  adoptPreloadPropsForScript(instance, styleProps);
14321
14293
  hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
@@ -15334,16 +15306,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
15334
15306
  0 === i && attemptExplicitHydrationTarget(target);
15335
15307
  }
15336
15308
  };
15337
- var isomorphicReactPackageVersion$jscomp$inline_1783 = React.version;
15309
+ var isomorphicReactPackageVersion$jscomp$inline_1788 = React.version;
15338
15310
  if (
15339
- "19.2.0-canary-3fbfb9ba-20250409" !==
15340
- isomorphicReactPackageVersion$jscomp$inline_1783
15311
+ "19.2.0-canary-1d6c8168-20250411" !==
15312
+ isomorphicReactPackageVersion$jscomp$inline_1788
15341
15313
  )
15342
15314
  throw Error(
15343
15315
  formatProdErrorMessage(
15344
15316
  527,
15345
- isomorphicReactPackageVersion$jscomp$inline_1783,
15346
- "19.2.0-canary-3fbfb9ba-20250409"
15317
+ isomorphicReactPackageVersion$jscomp$inline_1788,
15318
+ "19.2.0-canary-1d6c8168-20250411"
15347
15319
  )
15348
15320
  );
15349
15321
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15363,24 +15335,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
15363
15335
  null === componentOrElement ? null : componentOrElement.stateNode;
15364
15336
  return componentOrElement;
15365
15337
  };
15366
- var internals$jscomp$inline_2257 = {
15338
+ var internals$jscomp$inline_2262 = {
15367
15339
  bundleType: 0,
15368
- version: "19.2.0-canary-3fbfb9ba-20250409",
15340
+ version: "19.2.0-canary-1d6c8168-20250411",
15369
15341
  rendererPackageName: "react-dom",
15370
15342
  currentDispatcherRef: ReactSharedInternals,
15371
- reconcilerVersion: "19.2.0-canary-3fbfb9ba-20250409"
15343
+ reconcilerVersion: "19.2.0-canary-1d6c8168-20250411"
15372
15344
  };
15373
15345
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
15374
- var hook$jscomp$inline_2258 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15346
+ var hook$jscomp$inline_2263 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15375
15347
  if (
15376
- !hook$jscomp$inline_2258.isDisabled &&
15377
- hook$jscomp$inline_2258.supportsFiber
15348
+ !hook$jscomp$inline_2263.isDisabled &&
15349
+ hook$jscomp$inline_2263.supportsFiber
15378
15350
  )
15379
15351
  try {
15380
- (rendererID = hook$jscomp$inline_2258.inject(
15381
- internals$jscomp$inline_2257
15352
+ (rendererID = hook$jscomp$inline_2263.inject(
15353
+ internals$jscomp$inline_2262
15382
15354
  )),
15383
- (injectedHook = hook$jscomp$inline_2258);
15355
+ (injectedHook = hook$jscomp$inline_2263);
15384
15356
  } catch (err) {}
15385
15357
  }
15386
15358
  exports.createRoot = function (container, options) {
@@ -15472,4 +15444,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
15472
15444
  listenToAllSupportedEvents(container);
15473
15445
  return new ReactDOMHydrationRoot(initialChildren);
15474
15446
  };
15475
- exports.version = "19.2.0-canary-3fbfb9ba-20250409";
15447
+ exports.version = "19.2.0-canary-1d6c8168-20250411";