react-dom 19.1.0-canary-37906d4d-20250127 → 19.1.0-canary-c492f975-20250128

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.
@@ -2096,19 +2096,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) {
2096
2096
  }
2097
2097
  var isInputEventSupported = !1;
2098
2098
  if (canUseDOM) {
2099
- var JSCompiler_inline_result$jscomp$295;
2099
+ var JSCompiler_inline_result$jscomp$297;
2100
2100
  if (canUseDOM) {
2101
- var isSupported$jscomp$inline_431 = "oninput" in document;
2102
- if (!isSupported$jscomp$inline_431) {
2103
- var element$jscomp$inline_432 = document.createElement("div");
2104
- element$jscomp$inline_432.setAttribute("oninput", "return;");
2105
- isSupported$jscomp$inline_431 =
2106
- "function" === typeof element$jscomp$inline_432.oninput;
2101
+ var isSupported$jscomp$inline_433 = "oninput" in document;
2102
+ if (!isSupported$jscomp$inline_433) {
2103
+ var element$jscomp$inline_434 = document.createElement("div");
2104
+ element$jscomp$inline_434.setAttribute("oninput", "return;");
2105
+ isSupported$jscomp$inline_433 =
2106
+ "function" === typeof element$jscomp$inline_434.oninput;
2107
2107
  }
2108
- JSCompiler_inline_result$jscomp$295 = isSupported$jscomp$inline_431;
2109
- } else JSCompiler_inline_result$jscomp$295 = !1;
2108
+ JSCompiler_inline_result$jscomp$297 = isSupported$jscomp$inline_433;
2109
+ } else JSCompiler_inline_result$jscomp$297 = !1;
2110
2110
  isInputEventSupported =
2111
- JSCompiler_inline_result$jscomp$295 &&
2111
+ JSCompiler_inline_result$jscomp$297 &&
2112
2112
  (!document.documentMode || 9 < document.documentMode);
2113
2113
  }
2114
2114
  function stopWatchingForValueChange() {
@@ -7164,21 +7164,14 @@ function beginWork(current, workInProgress, renderLanes) {
7164
7164
  (nextHydratableInstance = getNextHydratable(
7165
7165
  lazyComponent.firstChild
7166
7166
  ))),
7167
- (lazyComponent = workInProgress.pendingProps.children),
7168
- null !== current || isHydrating
7169
- ? reconcileChildren(
7170
- current,
7171
- workInProgress,
7172
- lazyComponent,
7173
- renderLanes
7174
- )
7175
- : (workInProgress.child = reconcileChildFibers(
7176
- workInProgress,
7177
- null,
7178
- lazyComponent,
7179
- renderLanes
7180
- )),
7167
+ reconcileChildren(
7168
+ current,
7169
+ workInProgress,
7170
+ workInProgress.pendingProps.children,
7171
+ renderLanes
7172
+ ),
7181
7173
  markRef(current, workInProgress),
7174
+ null === current && (workInProgress.flags |= 4194304),
7182
7175
  workInProgress.child
7183
7176
  );
7184
7177
  case 5:
@@ -7743,7 +7736,7 @@ function isHostParent(fiber) {
7743
7736
  5 === fiber.tag ||
7744
7737
  3 === fiber.tag ||
7745
7738
  26 === fiber.tag ||
7746
- 27 === fiber.tag ||
7739
+ (27 === fiber.tag && "head" === fiber.type) ||
7747
7740
  4 === fiber.tag
7748
7741
  );
7749
7742
  }
@@ -7756,12 +7749,10 @@ function getHostSibling(fiber) {
7756
7749
  fiber.sibling.return = fiber.return;
7757
7750
  for (
7758
7751
  fiber = fiber.sibling;
7759
- 5 !== fiber.tag &&
7760
- 6 !== fiber.tag &&
7761
- 27 !== fiber.tag &&
7762
- 18 !== fiber.tag;
7752
+ 5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag;
7763
7753
 
7764
7754
  ) {
7755
+ if (27 === fiber.tag && "head" === fiber.type) continue a;
7765
7756
  if (fiber.flags & 2) continue a;
7766
7757
  if (null === fiber.child || 4 === fiber.tag) continue a;
7767
7758
  else (fiber.child.return = fiber), (fiber = fiber.child);
@@ -7772,19 +7763,45 @@ function getHostSibling(fiber) {
7772
7763
  function insertOrAppendPlacementNodeIntoContainer(node, before, parent) {
7773
7764
  var tag = node.tag;
7774
7765
  if (5 === tag || 6 === tag)
7775
- (node = node.stateNode),
7776
- before
7777
- ? 8 === parent.nodeType
7778
- ? parent.parentNode.insertBefore(node, before)
7779
- : parent.insertBefore(node, before)
7780
- : (8 === parent.nodeType
7781
- ? ((before = parent.parentNode), before.insertBefore(node, parent))
7782
- : ((before = parent), before.appendChild(node)),
7783
- (parent = parent._reactRootContainer),
7784
- (null !== parent && void 0 !== parent) ||
7785
- null !== before.onclick ||
7786
- (before.onclick = noop$2));
7787
- else if (4 !== tag && 27 !== tag && ((node = node.child), null !== node))
7766
+ if (((node = node.stateNode), before)) {
7767
+ switch (parent.nodeType) {
7768
+ case 8:
7769
+ parent = parent.parentNode;
7770
+ break;
7771
+ case 9:
7772
+ parent = parent.body;
7773
+ break;
7774
+ default:
7775
+ parent =
7776
+ "HTML" === parent.nodeName ? parent.ownerDocument.body : parent;
7777
+ }
7778
+ parent.insertBefore(node, before);
7779
+ } else
7780
+ a: {
7781
+ switch (parent.nodeType) {
7782
+ case 8:
7783
+ before = parent.parentNode;
7784
+ before.insertBefore(node, parent);
7785
+ break a;
7786
+ case 9:
7787
+ before = parent.body;
7788
+ break;
7789
+ default:
7790
+ before =
7791
+ "HTML" === parent.nodeName ? parent.ownerDocument.body : parent;
7792
+ }
7793
+ before.appendChild(node);
7794
+ parent = parent._reactRootContainer;
7795
+ (null !== parent && void 0 !== parent) ||
7796
+ null !== before.onclick ||
7797
+ (before.onclick = noop$2);
7798
+ }
7799
+ else if (
7800
+ 4 !== tag &&
7801
+ (27 === tag && "head" === node.type && (parent = node.stateNode),
7802
+ (node = node.child),
7803
+ null !== node)
7804
+ )
7788
7805
  for (
7789
7806
  insertOrAppendPlacementNodeIntoContainer(node, before, parent),
7790
7807
  node = node.sibling;
@@ -7799,7 +7816,12 @@ function insertOrAppendPlacementNode(node, before, parent) {
7799
7816
  if (5 === tag || 6 === tag)
7800
7817
  (node = node.stateNode),
7801
7818
  before ? parent.insertBefore(node, before) : parent.appendChild(node);
7802
- else if (4 !== tag && 27 !== tag && ((node = node.child), null !== node))
7819
+ else if (
7820
+ 4 !== tag &&
7821
+ (27 === tag && "head" === node.type && (parent = node.stateNode),
7822
+ (node = node.child),
7823
+ null !== node)
7824
+ )
7803
7825
  for (
7804
7826
  insertOrAppendPlacementNode(node, before, parent), node = node.sibling;
7805
7827
  null !== node;
@@ -7807,6 +7829,23 @@ function insertOrAppendPlacementNode(node, before, parent) {
7807
7829
  )
7808
7830
  insertOrAppendPlacementNode(node, before, parent), (node = node.sibling);
7809
7831
  }
7832
+ function commitHostSingletonAcquisition(finishedWork) {
7833
+ var singleton = finishedWork.stateNode,
7834
+ props = finishedWork.memoizedProps;
7835
+ try {
7836
+ for (
7837
+ var type = finishedWork.type, attributes = singleton.attributes;
7838
+ attributes.length;
7839
+
7840
+ )
7841
+ singleton.removeAttributeNode(attributes[0]);
7842
+ setInitialProperties(singleton, type, props);
7843
+ singleton[internalInstanceKey] = finishedWork;
7844
+ singleton[internalPropsKey] = props;
7845
+ } catch (error) {
7846
+ captureCommitPhaseError(finishedWork, finishedWork.return, error);
7847
+ }
7848
+ }
7810
7849
  var offscreenSubtreeIsHidden = !1,
7811
7850
  offscreenSubtreeWasHidden = !1,
7812
7851
  needsFormReset = !1,
@@ -8061,11 +8100,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {
8061
8100
  }
8062
8101
  finishedRoot.effectDuration += popNestedEffectDurations(current);
8063
8102
  break;
8064
- case 26:
8065
- recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
8066
- flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);
8067
- break;
8068
8103
  case 27:
8104
+ null === current &&
8105
+ flags & 4 &&
8106
+ commitHostSingletonAcquisition(finishedWork);
8107
+ case 26:
8069
8108
  case 5:
8070
8109
  recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
8071
8110
  null === current && flags & 4 && commitHostMount(finishedWork);
@@ -8187,20 +8226,14 @@ function commitDeletionEffectsOnFiber(
8187
8226
  safelyDetachRef(deletedFiber, nearestMountedAncestor);
8188
8227
  var prevHostParent = hostParent,
8189
8228
  prevHostParentIsContainer = hostParentIsContainer;
8190
- hostParent = deletedFiber.stateNode;
8229
+ "head" === deletedFiber.type &&
8230
+ ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1));
8191
8231
  recursivelyTraverseDeletionEffects(
8192
8232
  finishedRoot,
8193
8233
  nearestMountedAncestor,
8194
8234
  deletedFiber
8195
8235
  );
8196
- deletedFiber = deletedFiber.stateNode;
8197
- for (
8198
- nearestMountedAncestor = deletedFiber.attributes;
8199
- nearestMountedAncestor.length;
8200
-
8201
- )
8202
- deletedFiber.removeAttributeNode(nearestMountedAncestor[0]);
8203
- detachDeletedInstance(deletedFiber);
8236
+ releaseSingletonInstance(deletedFiber.stateNode);
8204
8237
  hostParent = prevHostParent;
8205
8238
  hostParentIsContainer = prevHostParentIsContainer;
8206
8239
  break;
@@ -8208,24 +8241,33 @@ function commitDeletionEffectsOnFiber(
8208
8241
  offscreenSubtreeWasHidden ||
8209
8242
  safelyDetachRef(deletedFiber, nearestMountedAncestor);
8210
8243
  case 6:
8211
- prevHostParentIsContainer = hostParent;
8212
- var prevHostParentIsContainer$126 = hostParentIsContainer;
8244
+ prevHostParent = hostParent;
8245
+ prevHostParentIsContainer = hostParentIsContainer;
8213
8246
  hostParent = null;
8214
8247
  recursivelyTraverseDeletionEffects(
8215
8248
  finishedRoot,
8216
8249
  nearestMountedAncestor,
8217
8250
  deletedFiber
8218
8251
  );
8219
- hostParent = prevHostParentIsContainer;
8220
- hostParentIsContainer = prevHostParentIsContainer$126;
8252
+ hostParent = prevHostParent;
8253
+ hostParentIsContainer = prevHostParentIsContainer;
8221
8254
  if (null !== hostParent)
8222
8255
  if (hostParentIsContainer)
8223
8256
  try {
8224
- (finishedRoot = hostParent),
8225
- (prevHostParent = deletedFiber.stateNode),
8226
- 8 === finishedRoot.nodeType
8227
- ? finishedRoot.parentNode.removeChild(prevHostParent)
8228
- : finishedRoot.removeChild(prevHostParent);
8257
+ switch (hostParent.nodeType) {
8258
+ case 8:
8259
+ var parentNode = hostParent.parentNode;
8260
+ break;
8261
+ case 9:
8262
+ parentNode = hostParent.body;
8263
+ break;
8264
+ default:
8265
+ parentNode =
8266
+ "HTML" === hostParent.nodeName
8267
+ ? hostParent.ownerDocument.body
8268
+ : hostParent;
8269
+ }
8270
+ parentNode.removeChild(deletedFiber.stateNode);
8229
8271
  } catch (error) {
8230
8272
  captureCommitPhaseError(
8231
8273
  deletedFiber,
@@ -8247,16 +8289,19 @@ function commitDeletionEffectsOnFiber(
8247
8289
  case 18:
8248
8290
  null !== hostParent &&
8249
8291
  (hostParentIsContainer
8250
- ? ((nearestMountedAncestor = hostParent),
8292
+ ? ((finishedRoot = hostParent),
8251
8293
  (deletedFiber = deletedFiber.stateNode),
8252
- 8 === nearestMountedAncestor.nodeType
8253
- ? clearSuspenseBoundary(
8254
- nearestMountedAncestor.parentNode,
8255
- deletedFiber
8256
- )
8257
- : 1 === nearestMountedAncestor.nodeType &&
8258
- clearSuspenseBoundary(nearestMountedAncestor, deletedFiber),
8259
- retryIfBlockedOn(nearestMountedAncestor))
8294
+ 8 === finishedRoot.nodeType
8295
+ ? clearSuspenseBoundary(finishedRoot.parentNode, deletedFiber)
8296
+ : 9 === finishedRoot.nodeType
8297
+ ? clearSuspenseBoundary(finishedRoot.body, deletedFiber)
8298
+ : "HTML" === finishedRoot.nodeName
8299
+ ? clearSuspenseBoundary(
8300
+ finishedRoot.ownerDocument.body,
8301
+ deletedFiber
8302
+ )
8303
+ : clearSuspenseBoundary(finishedRoot, deletedFiber),
8304
+ retryIfBlockedOn(finishedRoot))
8260
8305
  : clearSuspenseBoundary(hostParent, deletedFiber.stateNode));
8261
8306
  break;
8262
8307
  case 4:
@@ -8390,6 +8435,12 @@ function recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber) {
8390
8435
  a: for (; null !== parent; ) {
8391
8436
  switch (parent.tag) {
8392
8437
  case 27:
8438
+ if ("head" === parent.type) {
8439
+ hostParent = parent.stateNode;
8440
+ hostParentIsContainer = !1;
8441
+ break a;
8442
+ }
8443
+ break;
8393
8444
  case 5:
8394
8445
  hostParent = parent.stateNode;
8395
8446
  hostParentIsContainer = !1;
@@ -8606,36 +8657,20 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
8606
8657
  );
8607
8658
  break;
8608
8659
  case 27:
8609
- if (flags & 4 && null === finishedWork.alternate) {
8610
- hoistableRoot = finishedWork.stateNode;
8611
- maybeNodes = finishedWork.memoizedProps;
8612
- try {
8613
- for (var node = hoistableRoot.firstChild; node; ) {
8614
- var nextNode = node.nextSibling,
8615
- nodeName = node.nodeName;
8616
- node[internalHoistableMarker] ||
8617
- "HEAD" === nodeName ||
8618
- "BODY" === nodeName ||
8619
- "SCRIPT" === nodeName ||
8620
- "STYLE" === nodeName ||
8621
- ("LINK" === nodeName &&
8622
- "stylesheet" === node.rel.toLowerCase()) ||
8623
- hoistableRoot.removeChild(node);
8624
- node = nextNode;
8625
- }
8626
- for (
8627
- var type = finishedWork.type, attributes = hoistableRoot.attributes;
8628
- attributes.length;
8629
-
8630
- )
8631
- hoistableRoot.removeAttributeNode(attributes[0]);
8632
- setInitialProperties(hoistableRoot, type, maybeNodes);
8633
- hoistableRoot[internalInstanceKey] = finishedWork;
8634
- hoistableRoot[internalPropsKey] = maybeNodes;
8635
- } catch (error) {
8636
- captureCommitPhaseError(finishedWork, finishedWork.return, error);
8637
- }
8638
- }
8660
+ recursivelyTraverseMutationEffects(root, finishedWork);
8661
+ commitReconciliationEffects(finishedWork);
8662
+ flags & 512 &&
8663
+ (offscreenSubtreeWasHidden ||
8664
+ null === current ||
8665
+ safelyDetachRef(current, current.return));
8666
+ null !== current &&
8667
+ flags & 4 &&
8668
+ commitHostUpdate(
8669
+ finishedWork,
8670
+ finishedWork.memoizedProps,
8671
+ current.memoizedProps
8672
+ );
8673
+ break;
8639
8674
  case 5:
8640
8675
  recursivelyTraverseMutationEffects(root, finishedWork);
8641
8676
  commitReconciliationEffects(finishedWork);
@@ -8728,15 +8763,15 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
8728
8763
  (offscreenSubtreeWasHidden ||
8729
8764
  null === current ||
8730
8765
  safelyDetachRef(current, current.return));
8731
- node = null !== finishedWork.memoizedState;
8732
- nextNode = null !== current && null !== current.memoizedState;
8733
- nodeName = offscreenSubtreeIsHidden;
8734
- type = offscreenSubtreeWasHidden;
8735
- offscreenSubtreeIsHidden = nodeName || node;
8736
- offscreenSubtreeWasHidden = type || nextNode;
8766
+ hoistableRoot = null !== finishedWork.memoizedState;
8767
+ var wasHidden = null !== current && null !== current.memoizedState,
8768
+ prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden,
8769
+ prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden;
8770
+ offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden || hoistableRoot;
8771
+ offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden || wasHidden;
8737
8772
  recursivelyTraverseMutationEffects(root, finishedWork);
8738
- offscreenSubtreeWasHidden = type;
8739
- offscreenSubtreeIsHidden = nodeName;
8773
+ offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;
8774
+ offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;
8740
8775
  commitReconciliationEffects(finishedWork);
8741
8776
  root = finishedWork.stateNode;
8742
8777
  root._current = finishedWork;
@@ -8744,55 +8779,55 @@ function commitMutationEffectsOnFiber(finishedWork, root) {
8744
8779
  root._visibility |= root._pendingVisibility & 2;
8745
8780
  if (
8746
8781
  flags & 8192 &&
8747
- ((root._visibility = node
8782
+ ((root._visibility = hoistableRoot
8748
8783
  ? root._visibility & -2
8749
8784
  : root._visibility | 1),
8750
- node &&
8751
- ((root = offscreenSubtreeIsHidden || offscreenSubtreeWasHidden),
8752
- null === current ||
8753
- nextNode ||
8754
- root ||
8785
+ hoistableRoot &&
8786
+ (null === current ||
8787
+ wasHidden ||
8788
+ offscreenSubtreeIsHidden ||
8789
+ offscreenSubtreeWasHidden ||
8755
8790
  recursivelyTraverseDisappearLayoutEffects(finishedWork)),
8756
8791
  null === finishedWork.memoizedProps ||
8757
8792
  "manual" !== finishedWork.memoizedProps.mode)
8758
8793
  )
8759
8794
  a: for (current = null, root = finishedWork; ; ) {
8760
- if (5 === root.tag || 26 === root.tag || 27 === root.tag) {
8795
+ if (5 === root.tag || 26 === root.tag) {
8761
8796
  if (null === current) {
8762
- nextNode = current = root;
8797
+ wasHidden = current = root;
8763
8798
  try {
8764
- if (((hoistableRoot = nextNode.stateNode), node))
8765
- (maybeNodes = hoistableRoot.style),
8766
- "function" === typeof maybeNodes.setProperty
8767
- ? maybeNodes.setProperty("display", "none", "important")
8768
- : (maybeNodes.display = "none");
8799
+ if (((maybeNodes = wasHidden.stateNode), hoistableRoot))
8800
+ (i = maybeNodes.style),
8801
+ "function" === typeof i.setProperty
8802
+ ? i.setProperty("display", "none", "important")
8803
+ : (i.display = "none");
8769
8804
  else {
8770
- i = nextNode.stateNode;
8771
- var styleProp = nextNode.memoizedProps.style,
8805
+ var instance = wasHidden.stateNode,
8806
+ styleProp = wasHidden.memoizedProps.style,
8772
8807
  display =
8773
8808
  void 0 !== styleProp &&
8774
8809
  null !== styleProp &&
8775
8810
  styleProp.hasOwnProperty("display")
8776
8811
  ? styleProp.display
8777
8812
  : null;
8778
- i.style.display =
8813
+ instance.style.display =
8779
8814
  null == display || "boolean" === typeof display
8780
8815
  ? ""
8781
8816
  : ("" + display).trim();
8782
8817
  }
8783
8818
  } catch (error) {
8784
- captureCommitPhaseError(nextNode, nextNode.return, error);
8819
+ captureCommitPhaseError(wasHidden, wasHidden.return, error);
8785
8820
  }
8786
8821
  }
8787
8822
  } else if (6 === root.tag) {
8788
8823
  if (null === current) {
8789
- nextNode = root;
8824
+ wasHidden = root;
8790
8825
  try {
8791
- nextNode.stateNode.nodeValue = node
8826
+ wasHidden.stateNode.nodeValue = hoistableRoot
8792
8827
  ? ""
8793
- : nextNode.memoizedProps;
8828
+ : wasHidden.memoizedProps;
8794
8829
  } catch (error) {
8795
- captureCommitPhaseError(nextNode, nextNode.return, error);
8830
+ captureCommitPhaseError(wasHidden, wasHidden.return, error);
8796
8831
  }
8797
8832
  }
8798
8833
  } else if (
@@ -8844,44 +8879,42 @@ function commitReconciliationEffects(finishedWork) {
8844
8879
  var flags = finishedWork.flags;
8845
8880
  if (flags & 2) {
8846
8881
  try {
8847
- if (27 !== finishedWork.tag) {
8848
- a: {
8849
- for (var parent = finishedWork.return; null !== parent; ) {
8850
- if (isHostParent(parent)) {
8851
- var JSCompiler_inline_result = parent;
8852
- break a;
8853
- }
8854
- parent = parent.return;
8882
+ a: {
8883
+ for (var parent = finishedWork.return; null !== parent; ) {
8884
+ if (isHostParent(parent)) {
8885
+ var JSCompiler_inline_result = parent;
8886
+ break a;
8855
8887
  }
8856
- throw Error(formatProdErrorMessage(160));
8857
- }
8858
- switch (JSCompiler_inline_result.tag) {
8859
- case 27:
8860
- var parent$jscomp$0 = JSCompiler_inline_result.stateNode,
8861
- before = getHostSibling(finishedWork);
8862
- insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0);
8863
- break;
8864
- case 5:
8865
- var parent$119 = JSCompiler_inline_result.stateNode;
8866
- JSCompiler_inline_result.flags & 32 &&
8867
- (setTextContent(parent$119, ""),
8868
- (JSCompiler_inline_result.flags &= -33));
8869
- var before$120 = getHostSibling(finishedWork);
8870
- insertOrAppendPlacementNode(finishedWork, before$120, parent$119);
8871
- break;
8872
- case 3:
8873
- case 4:
8874
- var parent$121 = JSCompiler_inline_result.stateNode.containerInfo,
8875
- before$122 = getHostSibling(finishedWork);
8876
- insertOrAppendPlacementNodeIntoContainer(
8877
- finishedWork,
8878
- before$122,
8879
- parent$121
8880
- );
8881
- break;
8882
- default:
8883
- throw Error(formatProdErrorMessage(161));
8888
+ parent = parent.return;
8884
8889
  }
8890
+ throw Error(formatProdErrorMessage(160));
8891
+ }
8892
+ switch (JSCompiler_inline_result.tag) {
8893
+ case 27:
8894
+ var parent$jscomp$0 = JSCompiler_inline_result.stateNode,
8895
+ before = getHostSibling(finishedWork);
8896
+ insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0);
8897
+ break;
8898
+ case 5:
8899
+ var parent$119 = JSCompiler_inline_result.stateNode;
8900
+ JSCompiler_inline_result.flags & 32 &&
8901
+ (setTextContent(parent$119, ""),
8902
+ (JSCompiler_inline_result.flags &= -33));
8903
+ var before$120 = getHostSibling(finishedWork);
8904
+ insertOrAppendPlacementNode(finishedWork, before$120, parent$119);
8905
+ break;
8906
+ case 3:
8907
+ case 4:
8908
+ var parent$121 = JSCompiler_inline_result.stateNode.containerInfo,
8909
+ before$122 = getHostSibling(finishedWork);
8910
+ insertOrAppendPlacementNodeIntoContainer(
8911
+ finishedWork,
8912
+ before$122,
8913
+ parent$121
8914
+ );
8915
+ break;
8916
+ default:
8917
+ throw Error(formatProdErrorMessage(161));
8885
8918
  }
8886
8919
  } catch (error) {
8887
8920
  captureCommitPhaseError(finishedWork, finishedWork.return, error);
@@ -8927,8 +8960,9 @@ function recursivelyTraverseDisappearLayoutEffects(parentFiber) {
8927
8960
  );
8928
8961
  recursivelyTraverseDisappearLayoutEffects(finishedWork);
8929
8962
  break;
8930
- case 26:
8931
8963
  case 27:
8964
+ releaseSingletonInstance(finishedWork.stateNode);
8965
+ case 26:
8932
8966
  case 5:
8933
8967
  safelyDetachRef(finishedWork, finishedWork.return);
8934
8968
  recursivelyTraverseDisappearLayoutEffects(finishedWork);
@@ -9003,8 +9037,9 @@ function recursivelyTraverseReappearLayoutEffects(
9003
9037
  commitClassCallbacks(finishedWork);
9004
9038
  safelyAttachRef(finishedWork, finishedWork.return);
9005
9039
  break;
9006
- case 26:
9007
9040
  case 27:
9041
+ commitHostSingletonAcquisition(finishedWork);
9042
+ case 26:
9008
9043
  case 5:
9009
9044
  recursivelyTraverseReappearLayoutEffects(
9010
9045
  finishedRoot,
@@ -10021,14 +10056,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {
10021
10056
  break;
10022
10057
  case "collapsed":
10023
10058
  lastTailNode = renderState.tail;
10024
- for (var lastTailNode$141 = null; null !== lastTailNode; )
10025
- null !== lastTailNode.alternate && (lastTailNode$141 = lastTailNode),
10059
+ for (var lastTailNode$143 = null; null !== lastTailNode; )
10060
+ null !== lastTailNode.alternate && (lastTailNode$143 = lastTailNode),
10026
10061
  (lastTailNode = lastTailNode.sibling);
10027
- null === lastTailNode$141
10062
+ null === lastTailNode$143
10028
10063
  ? hasRenderedATailFallback || null === renderState.tail
10029
10064
  ? (renderState.tail = null)
10030
10065
  : (renderState.tail.sibling = null)
10031
- : (lastTailNode$141.sibling = null);
10066
+ : (lastTailNode$143.sibling = null);
10032
10067
  }
10033
10068
  }
10034
10069
  function bubbleProperties(completedWork) {
@@ -10040,53 +10075,53 @@ function bubbleProperties(completedWork) {
10040
10075
  if (didBailout)
10041
10076
  if (0 !== (completedWork.mode & 2)) {
10042
10077
  for (
10043
- var treeBaseDuration$143 = completedWork.selfBaseDuration,
10044
- child$144 = completedWork.child;
10045
- null !== child$144;
10078
+ var treeBaseDuration$145 = completedWork.selfBaseDuration,
10079
+ child$146 = completedWork.child;
10080
+ null !== child$146;
10046
10081
 
10047
10082
  )
10048
- (newChildLanes |= child$144.lanes | child$144.childLanes),
10049
- (subtreeFlags |= child$144.subtreeFlags & 65011712),
10050
- (subtreeFlags |= child$144.flags & 65011712),
10051
- (treeBaseDuration$143 += child$144.treeBaseDuration),
10052
- (child$144 = child$144.sibling);
10053
- completedWork.treeBaseDuration = treeBaseDuration$143;
10083
+ (newChildLanes |= child$146.lanes | child$146.childLanes),
10084
+ (subtreeFlags |= child$146.subtreeFlags & 65011712),
10085
+ (subtreeFlags |= child$146.flags & 65011712),
10086
+ (treeBaseDuration$145 += child$146.treeBaseDuration),
10087
+ (child$146 = child$146.sibling);
10088
+ completedWork.treeBaseDuration = treeBaseDuration$145;
10054
10089
  } else
10055
10090
  for (
10056
- treeBaseDuration$143 = completedWork.child;
10057
- null !== treeBaseDuration$143;
10091
+ treeBaseDuration$145 = completedWork.child;
10092
+ null !== treeBaseDuration$145;
10058
10093
 
10059
10094
  )
10060
10095
  (newChildLanes |=
10061
- treeBaseDuration$143.lanes | treeBaseDuration$143.childLanes),
10062
- (subtreeFlags |= treeBaseDuration$143.subtreeFlags & 65011712),
10063
- (subtreeFlags |= treeBaseDuration$143.flags & 65011712),
10064
- (treeBaseDuration$143.return = completedWork),
10065
- (treeBaseDuration$143 = treeBaseDuration$143.sibling);
10096
+ treeBaseDuration$145.lanes | treeBaseDuration$145.childLanes),
10097
+ (subtreeFlags |= treeBaseDuration$145.subtreeFlags & 65011712),
10098
+ (subtreeFlags |= treeBaseDuration$145.flags & 65011712),
10099
+ (treeBaseDuration$145.return = completedWork),
10100
+ (treeBaseDuration$145 = treeBaseDuration$145.sibling);
10066
10101
  else if (0 !== (completedWork.mode & 2)) {
10067
- treeBaseDuration$143 = completedWork.actualDuration;
10068
- child$144 = completedWork.selfBaseDuration;
10102
+ treeBaseDuration$145 = completedWork.actualDuration;
10103
+ child$146 = completedWork.selfBaseDuration;
10069
10104
  for (var child = completedWork.child; null !== child; )
10070
10105
  (newChildLanes |= child.lanes | child.childLanes),
10071
10106
  (subtreeFlags |= child.subtreeFlags),
10072
10107
  (subtreeFlags |= child.flags),
10073
- (treeBaseDuration$143 += child.actualDuration),
10074
- (child$144 += child.treeBaseDuration),
10108
+ (treeBaseDuration$145 += child.actualDuration),
10109
+ (child$146 += child.treeBaseDuration),
10075
10110
  (child = child.sibling);
10076
- completedWork.actualDuration = treeBaseDuration$143;
10077
- completedWork.treeBaseDuration = child$144;
10111
+ completedWork.actualDuration = treeBaseDuration$145;
10112
+ completedWork.treeBaseDuration = child$146;
10078
10113
  } else
10079
10114
  for (
10080
- treeBaseDuration$143 = completedWork.child;
10081
- null !== treeBaseDuration$143;
10115
+ treeBaseDuration$145 = completedWork.child;
10116
+ null !== treeBaseDuration$145;
10082
10117
 
10083
10118
  )
10084
10119
  (newChildLanes |=
10085
- treeBaseDuration$143.lanes | treeBaseDuration$143.childLanes),
10086
- (subtreeFlags |= treeBaseDuration$143.subtreeFlags),
10087
- (subtreeFlags |= treeBaseDuration$143.flags),
10088
- (treeBaseDuration$143.return = completedWork),
10089
- (treeBaseDuration$143 = treeBaseDuration$143.sibling);
10120
+ treeBaseDuration$145.lanes | treeBaseDuration$145.childLanes),
10121
+ (subtreeFlags |= treeBaseDuration$145.subtreeFlags),
10122
+ (subtreeFlags |= treeBaseDuration$145.flags),
10123
+ (treeBaseDuration$145.return = completedWork),
10124
+ (treeBaseDuration$145 = treeBaseDuration$145.sibling);
10090
10125
  completedWork.subtreeFlags |= subtreeFlags;
10091
10126
  completedWork.childLanes = newChildLanes;
10092
10127
  return didBailout;
@@ -10379,11 +10414,11 @@ function completeWork(current, workInProgress, renderLanes) {
10379
10414
  null !== newProps.alternate.memoizedState &&
10380
10415
  null !== newProps.alternate.memoizedState.cachePool &&
10381
10416
  (type = newProps.alternate.memoizedState.cachePool.pool);
10382
- var cache$160 = null;
10417
+ var cache$162 = null;
10383
10418
  null !== newProps.memoizedState &&
10384
10419
  null !== newProps.memoizedState.cachePool &&
10385
- (cache$160 = newProps.memoizedState.cachePool.pool);
10386
- cache$160 !== type && (newProps.flags |= 2048);
10420
+ (cache$162 = newProps.memoizedState.cachePool.pool);
10421
+ cache$162 !== type && (newProps.flags |= 2048);
10387
10422
  }
10388
10423
  renderLanes !== current &&
10389
10424
  renderLanes &&
@@ -10413,8 +10448,8 @@ function completeWork(current, workInProgress, renderLanes) {
10413
10448
  type = workInProgress.memoizedState;
10414
10449
  if (null === type) return bubbleProperties(workInProgress), null;
10415
10450
  newProps = 0 !== (workInProgress.flags & 128);
10416
- cache$160 = type.rendering;
10417
- if (null === cache$160)
10451
+ cache$162 = type.rendering;
10452
+ if (null === cache$162)
10418
10453
  if (newProps) cutOffTailIfNeeded(type, !1);
10419
10454
  else {
10420
10455
  if (
@@ -10422,11 +10457,11 @@ function completeWork(current, workInProgress, renderLanes) {
10422
10457
  (null !== current && 0 !== (current.flags & 128))
10423
10458
  )
10424
10459
  for (current = workInProgress.child; null !== current; ) {
10425
- cache$160 = findFirstSuspended(current);
10426
- if (null !== cache$160) {
10460
+ cache$162 = findFirstSuspended(current);
10461
+ if (null !== cache$162) {
10427
10462
  workInProgress.flags |= 128;
10428
10463
  cutOffTailIfNeeded(type, !1);
10429
- current = cache$160.updateQueue;
10464
+ current = cache$162.updateQueue;
10430
10465
  workInProgress.updateQueue = current;
10431
10466
  scheduleRetryEffect(workInProgress, current);
10432
10467
  workInProgress.subtreeFlags = 0;
@@ -10451,7 +10486,7 @@ function completeWork(current, workInProgress, renderLanes) {
10451
10486
  }
10452
10487
  else {
10453
10488
  if (!newProps)
10454
- if (((current = findFirstSuspended(cache$160)), null !== current)) {
10489
+ if (((current = findFirstSuspended(cache$162)), null !== current)) {
10455
10490
  if (
10456
10491
  ((workInProgress.flags |= 128),
10457
10492
  (newProps = !0),
@@ -10461,7 +10496,7 @@ function completeWork(current, workInProgress, renderLanes) {
10461
10496
  cutOffTailIfNeeded(type, !0),
10462
10497
  null === type.tail &&
10463
10498
  "hidden" === type.tailMode &&
10464
- !cache$160.alternate &&
10499
+ !cache$162.alternate &&
10465
10500
  !isHydrating)
10466
10501
  )
10467
10502
  return bubbleProperties(workInProgress), null;
@@ -10474,13 +10509,13 @@ function completeWork(current, workInProgress, renderLanes) {
10474
10509
  cutOffTailIfNeeded(type, !1),
10475
10510
  (workInProgress.lanes = 4194304));
10476
10511
  type.isBackwards
10477
- ? ((cache$160.sibling = workInProgress.child),
10478
- (workInProgress.child = cache$160))
10512
+ ? ((cache$162.sibling = workInProgress.child),
10513
+ (workInProgress.child = cache$162))
10479
10514
  : ((current = type.last),
10480
10515
  null !== current
10481
- ? (current.sibling = cache$160)
10482
- : (workInProgress.child = cache$160),
10483
- (type.last = cache$160));
10516
+ ? (current.sibling = cache$162)
10517
+ : (workInProgress.child = cache$162),
10518
+ (type.last = cache$162));
10484
10519
  }
10485
10520
  if (null !== type.tail)
10486
10521
  return (
@@ -11231,8 +11266,8 @@ function renderRootSync(root, lanes, shouldYieldForPrerendering) {
11231
11266
  workLoopSync();
11232
11267
  memoizedUpdaters = workInProgressRootExitStatus;
11233
11268
  break;
11234
- } catch (thrownValue$179) {
11235
- handleThrow(root, thrownValue$179);
11269
+ } catch (thrownValue$181) {
11270
+ handleThrow(root, thrownValue$181);
11236
11271
  }
11237
11272
  while (1);
11238
11273
  lanes && root.shellSuspendCounter++;
@@ -11355,8 +11390,8 @@ function renderRootConcurrent(root, lanes) {
11355
11390
  }
11356
11391
  workLoopConcurrentByScheduler();
11357
11392
  break;
11358
- } catch (thrownValue$181) {
11359
- handleThrow(root, thrownValue$181);
11393
+ } catch (thrownValue$183) {
11394
+ handleThrow(root, thrownValue$183);
11360
11395
  }
11361
11396
  while (1);
11362
11397
  lastContextDependency = currentlyRenderingFiber$1 = null;
@@ -12080,14 +12115,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
12080
12115
  isFlushingWork = !0;
12081
12116
  do {
12082
12117
  var didPerformSomeWork = !1;
12083
- for (var root$186 = firstScheduledRoot; null !== root$186; ) {
12118
+ for (var root$188 = firstScheduledRoot; null !== root$188; ) {
12084
12119
  if (!onlyLegacy)
12085
12120
  if (0 !== syncTransitionLanes) {
12086
- var pendingLanes = root$186.pendingLanes;
12121
+ var pendingLanes = root$188.pendingLanes;
12087
12122
  if (0 === pendingLanes) var JSCompiler_inline_result = 0;
12088
12123
  else {
12089
- var suspendedLanes = root$186.suspendedLanes,
12090
- pingedLanes = root$186.pingedLanes;
12124
+ var suspendedLanes = root$188.suspendedLanes,
12125
+ pingedLanes = root$188.pingedLanes;
12091
12126
  JSCompiler_inline_result =
12092
12127
  (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;
12093
12128
  JSCompiler_inline_result &=
@@ -12101,20 +12136,20 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {
12101
12136
  }
12102
12137
  0 !== JSCompiler_inline_result &&
12103
12138
  ((didPerformSomeWork = !0),
12104
- performSyncWorkOnRoot(root$186, JSCompiler_inline_result));
12139
+ performSyncWorkOnRoot(root$188, JSCompiler_inline_result));
12105
12140
  } else
12106
12141
  (JSCompiler_inline_result = workInProgressRootRenderLanes),
12107
12142
  (JSCompiler_inline_result = getNextLanes(
12108
- root$186,
12109
- root$186 === workInProgressRoot ? JSCompiler_inline_result : 0,
12110
- null !== root$186.cancelPendingCommit ||
12111
- -1 !== root$186.timeoutHandle
12143
+ root$188,
12144
+ root$188 === workInProgressRoot ? JSCompiler_inline_result : 0,
12145
+ null !== root$188.cancelPendingCommit ||
12146
+ -1 !== root$188.timeoutHandle
12112
12147
  )),
12113
12148
  0 === (JSCompiler_inline_result & 3) ||
12114
- checkIfRootIsPrerendering(root$186, JSCompiler_inline_result) ||
12149
+ checkIfRootIsPrerendering(root$188, JSCompiler_inline_result) ||
12115
12150
  ((didPerformSomeWork = !0),
12116
- performSyncWorkOnRoot(root$186, JSCompiler_inline_result));
12117
- root$186 = root$186.next;
12151
+ performSyncWorkOnRoot(root$188, JSCompiler_inline_result));
12152
+ root$188 = root$188.next;
12118
12153
  }
12119
12154
  } while (didPerformSomeWork);
12120
12155
  isFlushingWork = !1;
@@ -12357,20 +12392,20 @@ function extractEvents$1(
12357
12392
  }
12358
12393
  }
12359
12394
  for (
12360
- var i$jscomp$inline_1584 = 0;
12361
- i$jscomp$inline_1584 < simpleEventPluginEvents.length;
12362
- i$jscomp$inline_1584++
12395
+ var i$jscomp$inline_1586 = 0;
12396
+ i$jscomp$inline_1586 < simpleEventPluginEvents.length;
12397
+ i$jscomp$inline_1586++
12363
12398
  ) {
12364
- var eventName$jscomp$inline_1585 =
12365
- simpleEventPluginEvents[i$jscomp$inline_1584],
12366
- domEventName$jscomp$inline_1586 =
12367
- eventName$jscomp$inline_1585.toLowerCase(),
12368
- capitalizedEvent$jscomp$inline_1587 =
12369
- eventName$jscomp$inline_1585[0].toUpperCase() +
12370
- eventName$jscomp$inline_1585.slice(1);
12399
+ var eventName$jscomp$inline_1587 =
12400
+ simpleEventPluginEvents[i$jscomp$inline_1586],
12401
+ domEventName$jscomp$inline_1588 =
12402
+ eventName$jscomp$inline_1587.toLowerCase(),
12403
+ capitalizedEvent$jscomp$inline_1589 =
12404
+ eventName$jscomp$inline_1587[0].toUpperCase() +
12405
+ eventName$jscomp$inline_1587.slice(1);
12371
12406
  registerSimpleEvent(
12372
- domEventName$jscomp$inline_1586,
12373
- "on" + capitalizedEvent$jscomp$inline_1587
12407
+ domEventName$jscomp$inline_1588,
12408
+ "on" + capitalizedEvent$jscomp$inline_1589
12374
12409
  );
12375
12410
  }
12376
12411
  registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -13553,34 +13588,34 @@ function setInitialProperties(domElement, tag, props) {
13553
13588
  defaultChecked = null;
13554
13589
  for (hasSrc in props)
13555
13590
  if (props.hasOwnProperty(hasSrc)) {
13556
- var propValue$200 = props[hasSrc];
13557
- if (null != propValue$200)
13591
+ var propValue$202 = props[hasSrc];
13592
+ if (null != propValue$202)
13558
13593
  switch (hasSrc) {
13559
13594
  case "name":
13560
- hasSrcSet = propValue$200;
13595
+ hasSrcSet = propValue$202;
13561
13596
  break;
13562
13597
  case "type":
13563
- propValue = propValue$200;
13598
+ propValue = propValue$202;
13564
13599
  break;
13565
13600
  case "checked":
13566
- checked = propValue$200;
13601
+ checked = propValue$202;
13567
13602
  break;
13568
13603
  case "defaultChecked":
13569
- defaultChecked = propValue$200;
13604
+ defaultChecked = propValue$202;
13570
13605
  break;
13571
13606
  case "value":
13572
- propKey = propValue$200;
13607
+ propKey = propValue$202;
13573
13608
  break;
13574
13609
  case "defaultValue":
13575
- defaultValue = propValue$200;
13610
+ defaultValue = propValue$202;
13576
13611
  break;
13577
13612
  case "children":
13578
13613
  case "dangerouslySetInnerHTML":
13579
- if (null != propValue$200)
13614
+ if (null != propValue$202)
13580
13615
  throw Error(formatProdErrorMessage(137, tag));
13581
13616
  break;
13582
13617
  default:
13583
- setProp(domElement, tag, hasSrc, propValue$200, props, null);
13618
+ setProp(domElement, tag, hasSrc, propValue$202, props, null);
13584
13619
  }
13585
13620
  }
13586
13621
  initInput(
@@ -13717,14 +13752,14 @@ function setInitialProperties(domElement, tag, props) {
13717
13752
  return;
13718
13753
  default:
13719
13754
  if (isCustomElement(tag)) {
13720
- for (propValue$200 in props)
13721
- props.hasOwnProperty(propValue$200) &&
13722
- ((hasSrc = props[propValue$200]),
13755
+ for (propValue$202 in props)
13756
+ props.hasOwnProperty(propValue$202) &&
13757
+ ((hasSrc = props[propValue$202]),
13723
13758
  void 0 !== hasSrc &&
13724
13759
  setPropOnCustomElement(
13725
13760
  domElement,
13726
13761
  tag,
13727
- propValue$200,
13762
+ propValue$202,
13728
13763
  hasSrc,
13729
13764
  props,
13730
13765
  void 0
@@ -13772,14 +13807,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13772
13807
  setProp(domElement, tag, propKey, null, nextProps, lastProp);
13773
13808
  }
13774
13809
  }
13775
- for (var propKey$217 in nextProps) {
13776
- var propKey = nextProps[propKey$217];
13777
- lastProp = lastProps[propKey$217];
13810
+ for (var propKey$219 in nextProps) {
13811
+ var propKey = nextProps[propKey$219];
13812
+ lastProp = lastProps[propKey$219];
13778
13813
  if (
13779
- nextProps.hasOwnProperty(propKey$217) &&
13814
+ nextProps.hasOwnProperty(propKey$219) &&
13780
13815
  (null != propKey || null != lastProp)
13781
13816
  )
13782
- switch (propKey$217) {
13817
+ switch (propKey$219) {
13783
13818
  case "type":
13784
13819
  type = propKey;
13785
13820
  break;
@@ -13808,7 +13843,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13808
13843
  setProp(
13809
13844
  domElement,
13810
13845
  tag,
13811
- propKey$217,
13846
+ propKey$219,
13812
13847
  propKey,
13813
13848
  nextProps,
13814
13849
  lastProp
@@ -13827,7 +13862,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13827
13862
  );
13828
13863
  return;
13829
13864
  case "select":
13830
- propKey = value = defaultValue = propKey$217 = null;
13865
+ propKey = value = defaultValue = propKey$219 = null;
13831
13866
  for (type in lastProps)
13832
13867
  if (
13833
13868
  ((lastDefaultValue = lastProps[type]),
@@ -13858,7 +13893,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13858
13893
  )
13859
13894
  switch (name) {
13860
13895
  case "value":
13861
- propKey$217 = type;
13896
+ propKey$219 = type;
13862
13897
  break;
13863
13898
  case "defaultValue":
13864
13899
  defaultValue = type;
@@ -13879,15 +13914,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13879
13914
  tag = defaultValue;
13880
13915
  lastProps = value;
13881
13916
  nextProps = propKey;
13882
- null != propKey$217
13883
- ? updateOptions(domElement, !!lastProps, propKey$217, !1)
13917
+ null != propKey$219
13918
+ ? updateOptions(domElement, !!lastProps, propKey$219, !1)
13884
13919
  : !!nextProps !== !!lastProps &&
13885
13920
  (null != tag
13886
13921
  ? updateOptions(domElement, !!lastProps, tag, !0)
13887
13922
  : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1));
13888
13923
  return;
13889
13924
  case "textarea":
13890
- propKey = propKey$217 = null;
13925
+ propKey = propKey$219 = null;
13891
13926
  for (defaultValue in lastProps)
13892
13927
  if (
13893
13928
  ((name = lastProps[defaultValue]),
@@ -13911,7 +13946,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13911
13946
  )
13912
13947
  switch (value) {
13913
13948
  case "value":
13914
- propKey$217 = name;
13949
+ propKey$219 = name;
13915
13950
  break;
13916
13951
  case "defaultValue":
13917
13952
  propKey = name;
@@ -13925,17 +13960,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13925
13960
  name !== type &&
13926
13961
  setProp(domElement, tag, value, name, nextProps, type);
13927
13962
  }
13928
- updateTextarea(domElement, propKey$217, propKey);
13963
+ updateTextarea(domElement, propKey$219, propKey);
13929
13964
  return;
13930
13965
  case "option":
13931
- for (var propKey$233 in lastProps)
13966
+ for (var propKey$235 in lastProps)
13932
13967
  if (
13933
- ((propKey$217 = lastProps[propKey$233]),
13934
- lastProps.hasOwnProperty(propKey$233) &&
13935
- null != propKey$217 &&
13936
- !nextProps.hasOwnProperty(propKey$233))
13968
+ ((propKey$219 = lastProps[propKey$235]),
13969
+ lastProps.hasOwnProperty(propKey$235) &&
13970
+ null != propKey$219 &&
13971
+ !nextProps.hasOwnProperty(propKey$235))
13937
13972
  )
13938
- switch (propKey$233) {
13973
+ switch (propKey$235) {
13939
13974
  case "selected":
13940
13975
  domElement.selected = !1;
13941
13976
  break;
@@ -13943,33 +13978,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13943
13978
  setProp(
13944
13979
  domElement,
13945
13980
  tag,
13946
- propKey$233,
13981
+ propKey$235,
13947
13982
  null,
13948
13983
  nextProps,
13949
- propKey$217
13984
+ propKey$219
13950
13985
  );
13951
13986
  }
13952
13987
  for (lastDefaultValue in nextProps)
13953
13988
  if (
13954
- ((propKey$217 = nextProps[lastDefaultValue]),
13989
+ ((propKey$219 = nextProps[lastDefaultValue]),
13955
13990
  (propKey = lastProps[lastDefaultValue]),
13956
13991
  nextProps.hasOwnProperty(lastDefaultValue) &&
13957
- propKey$217 !== propKey &&
13958
- (null != propKey$217 || null != propKey))
13992
+ propKey$219 !== propKey &&
13993
+ (null != propKey$219 || null != propKey))
13959
13994
  )
13960
13995
  switch (lastDefaultValue) {
13961
13996
  case "selected":
13962
13997
  domElement.selected =
13963
- propKey$217 &&
13964
- "function" !== typeof propKey$217 &&
13965
- "symbol" !== typeof propKey$217;
13998
+ propKey$219 &&
13999
+ "function" !== typeof propKey$219 &&
14000
+ "symbol" !== typeof propKey$219;
13966
14001
  break;
13967
14002
  default:
13968
14003
  setProp(
13969
14004
  domElement,
13970
14005
  tag,
13971
14006
  lastDefaultValue,
13972
- propKey$217,
14007
+ propKey$219,
13973
14008
  nextProps,
13974
14009
  propKey
13975
14010
  );
@@ -13990,24 +14025,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
13990
14025
  case "track":
13991
14026
  case "wbr":
13992
14027
  case "menuitem":
13993
- for (var propKey$238 in lastProps)
13994
- (propKey$217 = lastProps[propKey$238]),
13995
- lastProps.hasOwnProperty(propKey$238) &&
13996
- null != propKey$217 &&
13997
- !nextProps.hasOwnProperty(propKey$238) &&
13998
- setProp(domElement, tag, propKey$238, null, nextProps, propKey$217);
14028
+ for (var propKey$240 in lastProps)
14029
+ (propKey$219 = lastProps[propKey$240]),
14030
+ lastProps.hasOwnProperty(propKey$240) &&
14031
+ null != propKey$219 &&
14032
+ !nextProps.hasOwnProperty(propKey$240) &&
14033
+ setProp(domElement, tag, propKey$240, null, nextProps, propKey$219);
13999
14034
  for (checked in nextProps)
14000
14035
  if (
14001
- ((propKey$217 = nextProps[checked]),
14036
+ ((propKey$219 = nextProps[checked]),
14002
14037
  (propKey = lastProps[checked]),
14003
14038
  nextProps.hasOwnProperty(checked) &&
14004
- propKey$217 !== propKey &&
14005
- (null != propKey$217 || null != propKey))
14039
+ propKey$219 !== propKey &&
14040
+ (null != propKey$219 || null != propKey))
14006
14041
  )
14007
14042
  switch (checked) {
14008
14043
  case "children":
14009
14044
  case "dangerouslySetInnerHTML":
14010
- if (null != propKey$217)
14045
+ if (null != propKey$219)
14011
14046
  throw Error(formatProdErrorMessage(137, tag));
14012
14047
  break;
14013
14048
  default:
@@ -14015,7 +14050,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
14015
14050
  domElement,
14016
14051
  tag,
14017
14052
  checked,
14018
- propKey$217,
14053
+ propKey$219,
14019
14054
  nextProps,
14020
14055
  propKey
14021
14056
  );
@@ -14023,49 +14058,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) {
14023
14058
  return;
14024
14059
  default:
14025
14060
  if (isCustomElement(tag)) {
14026
- for (var propKey$243 in lastProps)
14027
- (propKey$217 = lastProps[propKey$243]),
14028
- lastProps.hasOwnProperty(propKey$243) &&
14029
- void 0 !== propKey$217 &&
14030
- !nextProps.hasOwnProperty(propKey$243) &&
14061
+ for (var propKey$245 in lastProps)
14062
+ (propKey$219 = lastProps[propKey$245]),
14063
+ lastProps.hasOwnProperty(propKey$245) &&
14064
+ void 0 !== propKey$219 &&
14065
+ !nextProps.hasOwnProperty(propKey$245) &&
14031
14066
  setPropOnCustomElement(
14032
14067
  domElement,
14033
14068
  tag,
14034
- propKey$243,
14069
+ propKey$245,
14035
14070
  void 0,
14036
14071
  nextProps,
14037
- propKey$217
14072
+ propKey$219
14038
14073
  );
14039
14074
  for (defaultChecked in nextProps)
14040
- (propKey$217 = nextProps[defaultChecked]),
14075
+ (propKey$219 = nextProps[defaultChecked]),
14041
14076
  (propKey = lastProps[defaultChecked]),
14042
14077
  !nextProps.hasOwnProperty(defaultChecked) ||
14043
- propKey$217 === propKey ||
14044
- (void 0 === propKey$217 && void 0 === propKey) ||
14078
+ propKey$219 === propKey ||
14079
+ (void 0 === propKey$219 && void 0 === propKey) ||
14045
14080
  setPropOnCustomElement(
14046
14081
  domElement,
14047
14082
  tag,
14048
14083
  defaultChecked,
14049
- propKey$217,
14084
+ propKey$219,
14050
14085
  nextProps,
14051
14086
  propKey
14052
14087
  );
14053
14088
  return;
14054
14089
  }
14055
14090
  }
14056
- for (var propKey$248 in lastProps)
14057
- (propKey$217 = lastProps[propKey$248]),
14058
- lastProps.hasOwnProperty(propKey$248) &&
14059
- null != propKey$217 &&
14060
- !nextProps.hasOwnProperty(propKey$248) &&
14061
- setProp(domElement, tag, propKey$248, null, nextProps, propKey$217);
14091
+ for (var propKey$250 in lastProps)
14092
+ (propKey$219 = lastProps[propKey$250]),
14093
+ lastProps.hasOwnProperty(propKey$250) &&
14094
+ null != propKey$219 &&
14095
+ !nextProps.hasOwnProperty(propKey$250) &&
14096
+ setProp(domElement, tag, propKey$250, null, nextProps, propKey$219);
14062
14097
  for (lastProp in nextProps)
14063
- (propKey$217 = nextProps[lastProp]),
14098
+ (propKey$219 = nextProps[lastProp]),
14064
14099
  (propKey = lastProps[lastProp]),
14065
14100
  !nextProps.hasOwnProperty(lastProp) ||
14066
- propKey$217 === propKey ||
14067
- (null == propKey$217 && null == propKey) ||
14068
- setProp(domElement, tag, lastProp, propKey$217, nextProps, propKey);
14101
+ propKey$219 === propKey ||
14102
+ (null == propKey$219 && null == propKey) ||
14103
+ setProp(domElement, tag, lastProp, propKey$219, nextProps, propKey);
14069
14104
  }
14070
14105
  var eventsEnabled = null,
14071
14106
  selectionInformation = null;
@@ -14332,6 +14367,11 @@ function resolveSingletonInstance(type, props, rootContainerInstance) {
14332
14367
  throw Error(formatProdErrorMessage(451));
14333
14368
  }
14334
14369
  }
14370
+ function releaseSingletonInstance(instance) {
14371
+ for (var attributes = instance.attributes; attributes.length; )
14372
+ instance.removeAttributeNode(attributes[0]);
14373
+ detachDeletedInstance(instance);
14374
+ }
14335
14375
  var preloadPropsMap = new Map(),
14336
14376
  preconnectsSet = new Set();
14337
14377
  function getHoistableRoot(container) {
@@ -14631,26 +14671,26 @@ function getResource(type, currentProps, pendingProps, currentResource) {
14631
14671
  "string" === typeof pendingProps.precedence
14632
14672
  ) {
14633
14673
  type = getStyleKey(pendingProps.href);
14634
- var styles$256 = getResourcesFromRoot(
14674
+ var styles$258 = getResourcesFromRoot(
14635
14675
  JSCompiler_inline_result
14636
14676
  ).hoistableStyles,
14637
- resource$257 = styles$256.get(type);
14638
- resource$257 ||
14677
+ resource$259 = styles$258.get(type);
14678
+ resource$259 ||
14639
14679
  ((JSCompiler_inline_result =
14640
14680
  JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),
14641
- (resource$257 = {
14681
+ (resource$259 = {
14642
14682
  type: "stylesheet",
14643
14683
  instance: null,
14644
14684
  count: 0,
14645
14685
  state: { loading: 0, preload: null }
14646
14686
  }),
14647
- styles$256.set(type, resource$257),
14648
- (styles$256 = JSCompiler_inline_result.querySelector(
14687
+ styles$258.set(type, resource$259),
14688
+ (styles$258 = JSCompiler_inline_result.querySelector(
14649
14689
  getStylesheetSelectorFromKey(type)
14650
14690
  )) &&
14651
- !styles$256._p &&
14652
- ((resource$257.instance = styles$256),
14653
- (resource$257.state.loading = 5)),
14691
+ !styles$258._p &&
14692
+ ((resource$259.instance = styles$258),
14693
+ (resource$259.state.loading = 5)),
14654
14694
  preloadPropsMap.has(type) ||
14655
14695
  ((pendingProps = {
14656
14696
  rel: "preload",
@@ -14663,16 +14703,16 @@ function getResource(type, currentProps, pendingProps, currentResource) {
14663
14703
  referrerPolicy: pendingProps.referrerPolicy
14664
14704
  }),
14665
14705
  preloadPropsMap.set(type, pendingProps),
14666
- styles$256 ||
14706
+ styles$258 ||
14667
14707
  preloadStylesheet(
14668
14708
  JSCompiler_inline_result,
14669
14709
  type,
14670
14710
  pendingProps,
14671
- resource$257.state
14711
+ resource$259.state
14672
14712
  )));
14673
14713
  if (currentProps && null === currentResource)
14674
14714
  throw Error(formatProdErrorMessage(528, ""));
14675
- return resource$257;
14715
+ return resource$259;
14676
14716
  }
14677
14717
  if (currentProps && null !== currentResource)
14678
14718
  throw Error(formatProdErrorMessage(529, ""));
@@ -14769,37 +14809,37 @@ function acquireResource(hoistableRoot, resource, props) {
14769
14809
  return (resource.instance = instance);
14770
14810
  case "stylesheet":
14771
14811
  styleProps = getStyleKey(props.href);
14772
- var instance$262 = hoistableRoot.querySelector(
14812
+ var instance$264 = hoistableRoot.querySelector(
14773
14813
  getStylesheetSelectorFromKey(styleProps)
14774
14814
  );
14775
- if (instance$262)
14815
+ if (instance$264)
14776
14816
  return (
14777
14817
  (resource.state.loading |= 4),
14778
- (resource.instance = instance$262),
14779
- markNodeAsHoistable(instance$262),
14780
- instance$262
14818
+ (resource.instance = instance$264),
14819
+ markNodeAsHoistable(instance$264),
14820
+ instance$264
14781
14821
  );
14782
14822
  instance = stylesheetPropsFromRawProps(props);
14783
14823
  (styleProps = preloadPropsMap.get(styleProps)) &&
14784
14824
  adoptPreloadPropsForStylesheet(instance, styleProps);
14785
- instance$262 = (
14825
+ instance$264 = (
14786
14826
  hoistableRoot.ownerDocument || hoistableRoot
14787
14827
  ).createElement("link");
14788
- markNodeAsHoistable(instance$262);
14789
- var linkInstance = instance$262;
14828
+ markNodeAsHoistable(instance$264);
14829
+ var linkInstance = instance$264;
14790
14830
  linkInstance._p = new Promise(function (resolve, reject) {
14791
14831
  linkInstance.onload = resolve;
14792
14832
  linkInstance.onerror = reject;
14793
14833
  });
14794
- setInitialProperties(instance$262, "link", instance);
14834
+ setInitialProperties(instance$264, "link", instance);
14795
14835
  resource.state.loading |= 4;
14796
- insertStylesheet(instance$262, props.precedence, hoistableRoot);
14797
- return (resource.instance = instance$262);
14836
+ insertStylesheet(instance$264, props.precedence, hoistableRoot);
14837
+ return (resource.instance = instance$264);
14798
14838
  case "script":
14799
- instance$262 = getScriptKey(props.src);
14839
+ instance$264 = getScriptKey(props.src);
14800
14840
  if (
14801
14841
  (styleProps = hoistableRoot.querySelector(
14802
- getScriptSelectorFromKey(instance$262)
14842
+ getScriptSelectorFromKey(instance$264)
14803
14843
  ))
14804
14844
  )
14805
14845
  return (
@@ -14808,7 +14848,7 @@ function acquireResource(hoistableRoot, resource, props) {
14808
14848
  styleProps
14809
14849
  );
14810
14850
  instance = props;
14811
- if ((styleProps = preloadPropsMap.get(instance$262)))
14851
+ if ((styleProps = preloadPropsMap.get(instance$264)))
14812
14852
  (instance = assign({}, props)),
14813
14853
  adoptPreloadPropsForScript(instance, styleProps);
14814
14854
  hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;
@@ -15846,16 +15886,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
15846
15886
  0 === i && attemptExplicitHydrationTarget(target);
15847
15887
  }
15848
15888
  };
15849
- var isomorphicReactPackageVersion$jscomp$inline_1833 = React.version;
15889
+ var isomorphicReactPackageVersion$jscomp$inline_1835 = React.version;
15850
15890
  if (
15851
- "19.1.0-canary-37906d4d-20250127" !==
15852
- isomorphicReactPackageVersion$jscomp$inline_1833
15891
+ "19.1.0-canary-c492f975-20250128" !==
15892
+ isomorphicReactPackageVersion$jscomp$inline_1835
15853
15893
  )
15854
15894
  throw Error(
15855
15895
  formatProdErrorMessage(
15856
15896
  527,
15857
- isomorphicReactPackageVersion$jscomp$inline_1833,
15858
- "19.1.0-canary-37906d4d-20250127"
15897
+ isomorphicReactPackageVersion$jscomp$inline_1835,
15898
+ "19.1.0-canary-c492f975-20250128"
15859
15899
  )
15860
15900
  );
15861
15901
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15875,17 +15915,17 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
15875
15915
  null === componentOrElement ? null : componentOrElement.stateNode;
15876
15916
  return componentOrElement;
15877
15917
  };
15878
- var internals$jscomp$inline_1840 = {
15918
+ var internals$jscomp$inline_1842 = {
15879
15919
  bundleType: 0,
15880
- version: "19.1.0-canary-37906d4d-20250127",
15920
+ version: "19.1.0-canary-c492f975-20250128",
15881
15921
  rendererPackageName: "react-dom",
15882
15922
  currentDispatcherRef: ReactSharedInternals,
15883
- reconcilerVersion: "19.1.0-canary-37906d4d-20250127",
15923
+ reconcilerVersion: "19.1.0-canary-c492f975-20250128",
15884
15924
  getLaneLabelMap: function () {
15885
15925
  for (
15886
- var map = new Map(), lane = 1, index$279 = 0;
15887
- 31 > index$279;
15888
- index$279++
15926
+ var map = new Map(), lane = 1, index$281 = 0;
15927
+ 31 > index$281;
15928
+ index$281++
15889
15929
  ) {
15890
15930
  var label = getLabelForLane(lane);
15891
15931
  map.set(lane, label);
@@ -15898,16 +15938,16 @@ var internals$jscomp$inline_1840 = {
15898
15938
  }
15899
15939
  };
15900
15940
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
15901
- var hook$jscomp$inline_2278 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15941
+ var hook$jscomp$inline_2280 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15902
15942
  if (
15903
- !hook$jscomp$inline_2278.isDisabled &&
15904
- hook$jscomp$inline_2278.supportsFiber
15943
+ !hook$jscomp$inline_2280.isDisabled &&
15944
+ hook$jscomp$inline_2280.supportsFiber
15905
15945
  )
15906
15946
  try {
15907
- (rendererID = hook$jscomp$inline_2278.inject(
15908
- internals$jscomp$inline_1840
15947
+ (rendererID = hook$jscomp$inline_2280.inject(
15948
+ internals$jscomp$inline_1842
15909
15949
  )),
15910
- (injectedHook = hook$jscomp$inline_2278);
15950
+ (injectedHook = hook$jscomp$inline_2280);
15911
15951
  } catch (err) {}
15912
15952
  }
15913
15953
  function noop() {}
@@ -16162,7 +16202,7 @@ exports.useFormState = function (action, initialState, permalink) {
16162
16202
  exports.useFormStatus = function () {
16163
16203
  return ReactSharedInternals.H.useHostTransitionStatus();
16164
16204
  };
16165
- exports.version = "19.1.0-canary-37906d4d-20250127";
16205
+ exports.version = "19.1.0-canary-c492f975-20250128";
16166
16206
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
16167
16207
  "function" ===
16168
16208
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&