react-dom 19.2.0-canary-33661467-20250407 → 19.2.0-canary-3fbfb9ba-20250409

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.
@@ -2018,14 +2018,14 @@ var isInputEventSupported = !1;
2018
2018
  if (canUseDOM) {
2019
2019
  var JSCompiler_inline_result$jscomp$284;
2020
2020
  if (canUseDOM) {
2021
- var isSupported$jscomp$inline_420 = "oninput" in document;
2022
- if (!isSupported$jscomp$inline_420) {
2023
- var element$jscomp$inline_421 = document.createElement("div");
2024
- element$jscomp$inline_421.setAttribute("oninput", "return;");
2025
- isSupported$jscomp$inline_420 =
2026
- "function" === typeof element$jscomp$inline_421.oninput;
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;
2027
2027
  }
2028
- JSCompiler_inline_result$jscomp$284 = isSupported$jscomp$inline_420;
2028
+ JSCompiler_inline_result$jscomp$284 = isSupported$jscomp$inline_421;
2029
2029
  } else JSCompiler_inline_result$jscomp$284 = !1;
2030
2030
  isInputEventSupported =
2031
2031
  JSCompiler_inline_result$jscomp$284 &&
@@ -7688,27 +7688,38 @@ function beginWork(current, workInProgress, renderLanes) {
7688
7688
  function markUpdate(workInProgress) {
7689
7689
  workInProgress.flags |= 4;
7690
7690
  }
7691
+ function preloadInstanceAndSuspendIfNeeded(
7692
+ workInProgress,
7693
+ type,
7694
+ oldProps,
7695
+ newProps,
7696
+ renderLanes
7697
+ ) {
7698
+ if ((type = 0 !== (workInProgress.mode & 32))) type = !1;
7699
+ if (type) {
7700
+ if (
7701
+ ((workInProgress.flags |= 16777216),
7702
+ (renderLanes & 335544128) === renderLanes)
7703
+ )
7704
+ if (workInProgress.stateNode.complete) workInProgress.flags |= 8192;
7705
+ else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
7706
+ else
7707
+ throw (
7708
+ ((suspendedThenable = noopSuspenseyCommitThenable),
7709
+ SuspenseyCommitException)
7710
+ );
7711
+ } else workInProgress.flags &= -16777217;
7712
+ }
7691
7713
  function preloadResourceAndSuspendIfNeeded(workInProgress, resource) {
7692
7714
  if ("stylesheet" !== resource.type || 0 !== (resource.state.loading & 4))
7693
7715
  workInProgress.flags &= -16777217;
7694
- else if (((workInProgress.flags |= 16777216), !preloadResource(resource))) {
7695
- resource = suspenseHandlerStackCursor.current;
7696
- if (
7697
- null !== resource &&
7698
- ((workInProgressRootRenderLanes & 4194048) ===
7699
- workInProgressRootRenderLanes
7700
- ? null !== shellBoundary
7701
- : ((workInProgressRootRenderLanes & 62914560) !==
7702
- workInProgressRootRenderLanes &&
7703
- 0 === (workInProgressRootRenderLanes & 536870912)) ||
7704
- resource !== shellBoundary)
7705
- )
7716
+ else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))
7717
+ if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;
7718
+ else
7706
7719
  throw (
7707
7720
  ((suspendedThenable = noopSuspenseyCommitThenable),
7708
7721
  SuspenseyCommitException)
7709
7722
  );
7710
- workInProgress.flags |= 8192;
7711
- }
7712
7723
  }
7713
7724
  function scheduleRetryEffect(workInProgress, retryQueue) {
7714
7725
  null !== retryQueue && (workInProgress.flags |= 4);
@@ -7806,31 +7817,43 @@ function completeWork(current, workInProgress, renderLanes) {
7806
7817
  bubbleProperties(workInProgress);
7807
7818
  return null;
7808
7819
  case 26:
7809
- return (
7810
- (renderLanes = workInProgress.memoizedState),
7811
- null === current
7812
- ? (markUpdate(workInProgress),
7813
- null !== renderLanes
7814
- ? (bubbleProperties(workInProgress),
7815
- preloadResourceAndSuspendIfNeeded(workInProgress, renderLanes))
7816
- : (bubbleProperties(workInProgress),
7817
- (workInProgress.flags &= -16777217)))
7818
- : renderLanes
7819
- ? renderLanes !== current.memoizedState
7820
- ? (markUpdate(workInProgress),
7821
- bubbleProperties(workInProgress),
7822
- preloadResourceAndSuspendIfNeeded(workInProgress, renderLanes))
7823
- : (bubbleProperties(workInProgress),
7824
- (workInProgress.flags &= -16777217))
7825
- : (current.memoizedProps !== newProps && markUpdate(workInProgress),
7820
+ var type = workInProgress.type,
7821
+ nextResource = workInProgress.memoizedState;
7822
+ null === current
7823
+ ? (markUpdate(workInProgress),
7824
+ null !== nextResource
7825
+ ? (bubbleProperties(workInProgress),
7826
+ preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))
7827
+ : (bubbleProperties(workInProgress),
7828
+ preloadInstanceAndSuspendIfNeeded(
7829
+ workInProgress,
7830
+ type,
7831
+ null,
7832
+ newProps,
7833
+ renderLanes
7834
+ )))
7835
+ : nextResource
7836
+ ? nextResource !== current.memoizedState
7837
+ ? (markUpdate(workInProgress),
7826
7838
  bubbleProperties(workInProgress),
7827
- (workInProgress.flags &= -16777217)),
7828
- null
7829
- );
7839
+ preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))
7840
+ : (bubbleProperties(workInProgress),
7841
+ (workInProgress.flags &= -16777217))
7842
+ : ((current = current.memoizedProps),
7843
+ current !== newProps && markUpdate(workInProgress),
7844
+ bubbleProperties(workInProgress),
7845
+ preloadInstanceAndSuspendIfNeeded(
7846
+ workInProgress,
7847
+ type,
7848
+ current,
7849
+ newProps,
7850
+ renderLanes
7851
+ ));
7852
+ return null;
7830
7853
  case 27:
7831
7854
  popHostContext(workInProgress);
7832
7855
  renderLanes = rootInstanceStackCursor.current;
7833
- var type$116 = workInProgress.type;
7856
+ type = workInProgress.type;
7834
7857
  if (null !== current && null != workInProgress.stateNode)
7835
7858
  current.memoizedProps !== newProps && markUpdate(workInProgress);
7836
7859
  else {
@@ -7843,11 +7866,7 @@ function completeWork(current, workInProgress, renderLanes) {
7843
7866
  current = contextStackCursor.current;
7844
7867
  popHydrationState(workInProgress)
7845
7868
  ? prepareToHydrateHostInstance(workInProgress, current)
7846
- : ((current = resolveSingletonInstance(
7847
- type$116,
7848
- newProps,
7849
- renderLanes
7850
- )),
7869
+ : ((current = resolveSingletonInstance(type, newProps, renderLanes)),
7851
7870
  (workInProgress.stateNode = current),
7852
7871
  markUpdate(workInProgress));
7853
7872
  }
@@ -7855,7 +7874,7 @@ function completeWork(current, workInProgress, renderLanes) {
7855
7874
  return null;
7856
7875
  case 5:
7857
7876
  popHostContext(workInProgress);
7858
- renderLanes = workInProgress.type;
7877
+ type = workInProgress.type;
7859
7878
  if (null !== current && null != workInProgress.stateNode)
7860
7879
  current.memoizedProps !== newProps && markUpdate(workInProgress);
7861
7880
  else {
@@ -7865,108 +7884,122 @@ function completeWork(current, workInProgress, renderLanes) {
7865
7884
  bubbleProperties(workInProgress);
7866
7885
  return null;
7867
7886
  }
7868
- current = contextStackCursor.current;
7887
+ nextResource = contextStackCursor.current;
7869
7888
  if (popHydrationState(workInProgress))
7870
- prepareToHydrateHostInstance(workInProgress, current);
7889
+ prepareToHydrateHostInstance(workInProgress, nextResource);
7871
7890
  else {
7872
- type$116 = getOwnerDocumentFromRootContainer(
7891
+ var ownerDocument = getOwnerDocumentFromRootContainer(
7873
7892
  rootInstanceStackCursor.current
7874
7893
  );
7875
- switch (current) {
7894
+ switch (nextResource) {
7876
7895
  case 1:
7877
- current = type$116.createElementNS(
7896
+ nextResource = ownerDocument.createElementNS(
7878
7897
  "http://www.w3.org/2000/svg",
7879
- renderLanes
7898
+ type
7880
7899
  );
7881
7900
  break;
7882
7901
  case 2:
7883
- current = type$116.createElementNS(
7902
+ nextResource = ownerDocument.createElementNS(
7884
7903
  "http://www.w3.org/1998/Math/MathML",
7885
- renderLanes
7904
+ type
7886
7905
  );
7887
7906
  break;
7888
7907
  default:
7889
- switch (renderLanes) {
7908
+ switch (type) {
7890
7909
  case "svg":
7891
- current = type$116.createElementNS(
7910
+ nextResource = ownerDocument.createElementNS(
7892
7911
  "http://www.w3.org/2000/svg",
7893
- renderLanes
7912
+ type
7894
7913
  );
7895
7914
  break;
7896
7915
  case "math":
7897
- current = type$116.createElementNS(
7916
+ nextResource = ownerDocument.createElementNS(
7898
7917
  "http://www.w3.org/1998/Math/MathML",
7899
- renderLanes
7918
+ type
7900
7919
  );
7901
7920
  break;
7902
7921
  case "script":
7903
- current = type$116.createElement("div");
7904
- current.innerHTML = "<script>\x3c/script>";
7905
- current = current.removeChild(current.firstChild);
7922
+ nextResource = ownerDocument.createElement("div");
7923
+ nextResource.innerHTML = "<script>\x3c/script>";
7924
+ nextResource = nextResource.removeChild(
7925
+ nextResource.firstChild
7926
+ );
7906
7927
  break;
7907
7928
  case "select":
7908
- current =
7929
+ nextResource =
7909
7930
  "string" === typeof newProps.is
7910
- ? type$116.createElement("select", { is: newProps.is })
7911
- : type$116.createElement("select");
7931
+ ? ownerDocument.createElement("select", {
7932
+ is: newProps.is
7933
+ })
7934
+ : ownerDocument.createElement("select");
7912
7935
  newProps.multiple
7913
- ? (current.multiple = !0)
7914
- : newProps.size && (current.size = newProps.size);
7936
+ ? (nextResource.multiple = !0)
7937
+ : newProps.size && (nextResource.size = newProps.size);
7915
7938
  break;
7916
7939
  default:
7917
- current =
7940
+ nextResource =
7918
7941
  "string" === typeof newProps.is
7919
- ? type$116.createElement(renderLanes, { is: newProps.is })
7920
- : type$116.createElement(renderLanes);
7942
+ ? ownerDocument.createElement(type, { is: newProps.is })
7943
+ : ownerDocument.createElement(type);
7921
7944
  }
7922
7945
  }
7923
- current[internalInstanceKey] = workInProgress;
7924
- current[internalPropsKey] = newProps;
7925
- a: for (type$116 = workInProgress.child; null !== type$116; ) {
7926
- if (5 === type$116.tag || 6 === type$116.tag)
7927
- current.appendChild(type$116.stateNode);
7946
+ nextResource[internalInstanceKey] = workInProgress;
7947
+ nextResource[internalPropsKey] = newProps;
7948
+ a: for (
7949
+ ownerDocument = workInProgress.child;
7950
+ null !== ownerDocument;
7951
+
7952
+ ) {
7953
+ if (5 === ownerDocument.tag || 6 === ownerDocument.tag)
7954
+ nextResource.appendChild(ownerDocument.stateNode);
7928
7955
  else if (
7929
- 4 !== type$116.tag &&
7930
- 27 !== type$116.tag &&
7931
- null !== type$116.child
7956
+ 4 !== ownerDocument.tag &&
7957
+ 27 !== ownerDocument.tag &&
7958
+ null !== ownerDocument.child
7932
7959
  ) {
7933
- type$116.child.return = type$116;
7934
- type$116 = type$116.child;
7960
+ ownerDocument.child.return = ownerDocument;
7961
+ ownerDocument = ownerDocument.child;
7935
7962
  continue;
7936
7963
  }
7937
- if (type$116 === workInProgress) break a;
7938
- for (; null === type$116.sibling; ) {
7964
+ if (ownerDocument === workInProgress) break a;
7965
+ for (; null === ownerDocument.sibling; ) {
7939
7966
  if (
7940
- null === type$116.return ||
7941
- type$116.return === workInProgress
7967
+ null === ownerDocument.return ||
7968
+ ownerDocument.return === workInProgress
7942
7969
  )
7943
7970
  break a;
7944
- type$116 = type$116.return;
7971
+ ownerDocument = ownerDocument.return;
7945
7972
  }
7946
- type$116.sibling.return = type$116.return;
7947
- type$116 = type$116.sibling;
7973
+ ownerDocument.sibling.return = ownerDocument.return;
7974
+ ownerDocument = ownerDocument.sibling;
7948
7975
  }
7949
- workInProgress.stateNode = current;
7976
+ workInProgress.stateNode = nextResource;
7950
7977
  a: switch (
7951
- (setInitialProperties(current, renderLanes, newProps), renderLanes)
7978
+ (setInitialProperties(nextResource, type, newProps), type)
7952
7979
  ) {
7953
7980
  case "button":
7954
7981
  case "input":
7955
7982
  case "select":
7956
7983
  case "textarea":
7957
- current = !!newProps.autoFocus;
7984
+ newProps = !!newProps.autoFocus;
7958
7985
  break a;
7959
7986
  case "img":
7960
- current = !0;
7987
+ newProps = !0;
7961
7988
  break a;
7962
7989
  default:
7963
- current = !1;
7990
+ newProps = !1;
7964
7991
  }
7965
- current && markUpdate(workInProgress);
7992
+ newProps && markUpdate(workInProgress);
7966
7993
  }
7967
7994
  }
7968
7995
  bubbleProperties(workInProgress);
7969
- workInProgress.flags &= -16777217;
7996
+ preloadInstanceAndSuspendIfNeeded(
7997
+ workInProgress,
7998
+ workInProgress.type,
7999
+ null === current ? null : current.memoizedProps,
8000
+ workInProgress.pendingProps,
8001
+ renderLanes
8002
+ );
7970
8003
  return null;
7971
8004
  case 6:
7972
8005
  if (current && null != workInProgress.stateNode)
@@ -7979,12 +8012,12 @@ function completeWork(current, workInProgress, renderLanes) {
7979
8012
  current = workInProgress.stateNode;
7980
8013
  renderLanes = workInProgress.memoizedProps;
7981
8014
  newProps = null;
7982
- type$116 = hydrationParentFiber;
7983
- if (null !== type$116)
7984
- switch (type$116.tag) {
8015
+ type = hydrationParentFiber;
8016
+ if (null !== type)
8017
+ switch (type.tag) {
7985
8018
  case 27:
7986
8019
  case 5:
7987
- newProps = type$116.memoizedProps;
8020
+ newProps = type.memoizedProps;
7988
8021
  }
7989
8022
  current[internalInstanceKey] = workInProgress;
7990
8023
  current =
@@ -8011,28 +8044,28 @@ function completeWork(current, workInProgress, renderLanes) {
8011
8044
  (null !== current.memoizedState &&
8012
8045
  null !== current.memoizedState.dehydrated)
8013
8046
  ) {
8014
- type$116 = popHydrationState(workInProgress);
8047
+ type = popHydrationState(workInProgress);
8015
8048
  if (null !== newProps && null !== newProps.dehydrated) {
8016
8049
  if (null === current) {
8017
- if (!type$116) throw Error(formatProdErrorMessage(318));
8018
- type$116 = workInProgress.memoizedState;
8019
- type$116 = null !== type$116 ? type$116.dehydrated : null;
8020
- if (!type$116) throw Error(formatProdErrorMessage(317));
8021
- type$116[internalInstanceKey] = workInProgress;
8050
+ if (!type) throw Error(formatProdErrorMessage(318));
8051
+ type = workInProgress.memoizedState;
8052
+ type = null !== type ? type.dehydrated : null;
8053
+ if (!type) throw Error(formatProdErrorMessage(317));
8054
+ type[internalInstanceKey] = workInProgress;
8022
8055
  } else
8023
8056
  resetHydrationState(),
8024
8057
  0 === (workInProgress.flags & 128) &&
8025
8058
  (workInProgress.memoizedState = null),
8026
8059
  (workInProgress.flags |= 4);
8027
8060
  bubbleProperties(workInProgress);
8028
- type$116 = !1;
8061
+ type = !1;
8029
8062
  } else
8030
- (type$116 = upgradeHydrationErrorsToRecoverable()),
8063
+ (type = upgradeHydrationErrorsToRecoverable()),
8031
8064
  null !== current &&
8032
8065
  null !== current.memoizedState &&
8033
- (current.memoizedState.hydrationErrors = type$116),
8034
- (type$116 = !0);
8035
- if (!type$116) {
8066
+ (current.memoizedState.hydrationErrors = type),
8067
+ (type = !0);
8068
+ if (!type) {
8036
8069
  if (workInProgress.flags & 256)
8037
8070
  return popSuspenseHandler(workInProgress), workInProgress;
8038
8071
  popSuspenseHandler(workInProgress);
@@ -8044,19 +8077,18 @@ function completeWork(current, workInProgress, renderLanes) {
8044
8077
  return (workInProgress.lanes = renderLanes), workInProgress;
8045
8078
  renderLanes = null !== newProps;
8046
8079
  current = null !== current && null !== current.memoizedState;
8047
- if (renderLanes) {
8048
- newProps = workInProgress.child;
8049
- type$116 = null;
8080
+ renderLanes &&
8081
+ ((newProps = workInProgress.child),
8082
+ (type = null),
8050
8083
  null !== newProps.alternate &&
8051
8084
  null !== newProps.alternate.memoizedState &&
8052
8085
  null !== newProps.alternate.memoizedState.cachePool &&
8053
- (type$116 = newProps.alternate.memoizedState.cachePool.pool);
8054
- var cache$128 = null;
8086
+ (type = newProps.alternate.memoizedState.cachePool.pool),
8087
+ (nextResource = null),
8055
8088
  null !== newProps.memoizedState &&
8056
8089
  null !== newProps.memoizedState.cachePool &&
8057
- (cache$128 = newProps.memoizedState.cachePool.pool);
8058
- cache$128 !== type$116 && (newProps.flags |= 2048);
8059
- }
8090
+ (nextResource = newProps.memoizedState.cachePool.pool),
8091
+ nextResource !== type && (newProps.flags |= 2048));
8060
8092
  renderLanes !== current &&
8061
8093
  renderLanes &&
8062
8094
  (workInProgress.child.flags |= 8192);
@@ -8077,23 +8109,23 @@ function completeWork(current, workInProgress, renderLanes) {
8077
8109
  );
8078
8110
  case 19:
8079
8111
  pop(suspenseStackCursor);
8080
- type$116 = workInProgress.memoizedState;
8081
- if (null === type$116) return bubbleProperties(workInProgress), null;
8112
+ type = workInProgress.memoizedState;
8113
+ if (null === type) return bubbleProperties(workInProgress), null;
8082
8114
  newProps = 0 !== (workInProgress.flags & 128);
8083
- cache$128 = type$116.rendering;
8084
- if (null === cache$128)
8085
- if (newProps) cutOffTailIfNeeded(type$116, !1);
8115
+ nextResource = type.rendering;
8116
+ if (null === nextResource)
8117
+ if (newProps) cutOffTailIfNeeded(type, !1);
8086
8118
  else {
8087
8119
  if (
8088
8120
  0 !== workInProgressRootExitStatus ||
8089
8121
  (null !== current && 0 !== (current.flags & 128))
8090
8122
  )
8091
8123
  for (current = workInProgress.child; null !== current; ) {
8092
- cache$128 = findFirstSuspended(current);
8093
- if (null !== cache$128) {
8124
+ nextResource = findFirstSuspended(current);
8125
+ if (null !== nextResource) {
8094
8126
  workInProgress.flags |= 128;
8095
- cutOffTailIfNeeded(type$116, !1);
8096
- current = cache$128.updateQueue;
8127
+ cutOffTailIfNeeded(type, !1);
8128
+ current = nextResource.updateQueue;
8097
8129
  workInProgress.updateQueue = current;
8098
8130
  scheduleRetryEffect(workInProgress, current);
8099
8131
  workInProgress.subtreeFlags = 0;
@@ -8109,52 +8141,54 @@ function completeWork(current, workInProgress, renderLanes) {
8109
8141
  }
8110
8142
  current = current.sibling;
8111
8143
  }
8112
- null !== type$116.tail &&
8144
+ null !== type.tail &&
8113
8145
  now() > workInProgressRootRenderTargetTime &&
8114
8146
  ((workInProgress.flags |= 128),
8115
8147
  (newProps = !0),
8116
- cutOffTailIfNeeded(type$116, !1),
8148
+ cutOffTailIfNeeded(type, !1),
8117
8149
  (workInProgress.lanes = 4194304));
8118
8150
  }
8119
8151
  else {
8120
8152
  if (!newProps)
8121
- if (((current = findFirstSuspended(cache$128)), null !== current)) {
8153
+ if (
8154
+ ((current = findFirstSuspended(nextResource)), null !== current)
8155
+ ) {
8122
8156
  if (
8123
8157
  ((workInProgress.flags |= 128),
8124
8158
  (newProps = !0),
8125
8159
  (current = current.updateQueue),
8126
8160
  (workInProgress.updateQueue = current),
8127
8161
  scheduleRetryEffect(workInProgress, current),
8128
- cutOffTailIfNeeded(type$116, !0),
8129
- null === type$116.tail &&
8130
- "hidden" === type$116.tailMode &&
8131
- !cache$128.alternate &&
8162
+ cutOffTailIfNeeded(type, !0),
8163
+ null === type.tail &&
8164
+ "hidden" === type.tailMode &&
8165
+ !nextResource.alternate &&
8132
8166
  !isHydrating)
8133
8167
  )
8134
8168
  return bubbleProperties(workInProgress), null;
8135
8169
  } else
8136
- 2 * now() - type$116.renderingStartTime >
8170
+ 2 * now() - type.renderingStartTime >
8137
8171
  workInProgressRootRenderTargetTime &&
8138
8172
  536870912 !== renderLanes &&
8139
8173
  ((workInProgress.flags |= 128),
8140
8174
  (newProps = !0),
8141
- cutOffTailIfNeeded(type$116, !1),
8175
+ cutOffTailIfNeeded(type, !1),
8142
8176
  (workInProgress.lanes = 4194304));
8143
- type$116.isBackwards
8144
- ? ((cache$128.sibling = workInProgress.child),
8145
- (workInProgress.child = cache$128))
8146
- : ((current = type$116.last),
8177
+ type.isBackwards
8178
+ ? ((nextResource.sibling = workInProgress.child),
8179
+ (workInProgress.child = nextResource))
8180
+ : ((current = type.last),
8147
8181
  null !== current
8148
- ? (current.sibling = cache$128)
8149
- : (workInProgress.child = cache$128),
8150
- (type$116.last = cache$128));
8182
+ ? (current.sibling = nextResource)
8183
+ : (workInProgress.child = nextResource),
8184
+ (type.last = nextResource));
8151
8185
  }
8152
- if (null !== type$116.tail)
8186
+ if (null !== type.tail)
8153
8187
  return (
8154
- (workInProgress = type$116.tail),
8155
- (type$116.rendering = workInProgress),
8156
- (type$116.tail = workInProgress.sibling),
8157
- (type$116.renderingStartTime = now()),
8188
+ (workInProgress = type.tail),
8189
+ (type.rendering = workInProgress),
8190
+ (type.tail = workInProgress.sibling),
8191
+ (type.renderingStartTime = now()),
8158
8192
  (workInProgress.sibling = null),
8159
8193
  (current = suspenseStackCursor.current),
8160
8194
  push(suspenseStackCursor, newProps ? (current & 1) | 2 : current & 1),
@@ -10672,6 +10706,21 @@ function handleThrow(root, thrownValue) {
10672
10706
  createCapturedValueAtFiber(thrownValue, root.current)
10673
10707
  ));
10674
10708
  }
10709
+ function shouldRemainOnPreviousScreen() {
10710
+ var handler = suspenseHandlerStackCursor.current;
10711
+ return null === handler
10712
+ ? !0
10713
+ : (workInProgressRootRenderLanes & 4194048) ===
10714
+ workInProgressRootRenderLanes
10715
+ ? null === shellBoundary
10716
+ ? !0
10717
+ : !1
10718
+ : (workInProgressRootRenderLanes & 62914560) ===
10719
+ workInProgressRootRenderLanes ||
10720
+ 0 !== (workInProgressRootRenderLanes & 536870912)
10721
+ ? handler === shellBoundary
10722
+ : !1;
10723
+ }
10675
10724
  function pushDispatcher() {
10676
10725
  var prevDispatcher = ReactSharedInternals.H;
10677
10726
  ReactSharedInternals.H = ContextOnlyDispatcher;
@@ -11776,20 +11825,20 @@ function extractEvents$1(
11776
11825
  }
11777
11826
  }
11778
11827
  for (
11779
- var i$jscomp$inline_1524 = 0;
11780
- i$jscomp$inline_1524 < simpleEventPluginEvents.length;
11781
- i$jscomp$inline_1524++
11828
+ var i$jscomp$inline_1526 = 0;
11829
+ i$jscomp$inline_1526 < simpleEventPluginEvents.length;
11830
+ i$jscomp$inline_1526++
11782
11831
  ) {
11783
- var eventName$jscomp$inline_1525 =
11784
- simpleEventPluginEvents[i$jscomp$inline_1524],
11785
- domEventName$jscomp$inline_1526 =
11786
- eventName$jscomp$inline_1525.toLowerCase(),
11787
- capitalizedEvent$jscomp$inline_1527 =
11788
- eventName$jscomp$inline_1525[0].toUpperCase() +
11789
- eventName$jscomp$inline_1525.slice(1);
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);
11790
11839
  registerSimpleEvent(
11791
- domEventName$jscomp$inline_1526,
11792
- "on" + capitalizedEvent$jscomp$inline_1527
11840
+ domEventName$jscomp$inline_1528,
11841
+ "on" + capitalizedEvent$jscomp$inline_1529
11793
11842
  );
11794
11843
  }
11795
11844
  registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -15285,16 +15334,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
15285
15334
  0 === i && attemptExplicitHydrationTarget(target);
15286
15335
  }
15287
15336
  };
15288
- var isomorphicReactPackageVersion$jscomp$inline_1781 = React.version;
15337
+ var isomorphicReactPackageVersion$jscomp$inline_1783 = React.version;
15289
15338
  if (
15290
- "19.2.0-canary-33661467-20250407" !==
15291
- isomorphicReactPackageVersion$jscomp$inline_1781
15339
+ "19.2.0-canary-3fbfb9ba-20250409" !==
15340
+ isomorphicReactPackageVersion$jscomp$inline_1783
15292
15341
  )
15293
15342
  throw Error(
15294
15343
  formatProdErrorMessage(
15295
15344
  527,
15296
- isomorphicReactPackageVersion$jscomp$inline_1781,
15297
- "19.2.0-canary-33661467-20250407"
15345
+ isomorphicReactPackageVersion$jscomp$inline_1783,
15346
+ "19.2.0-canary-3fbfb9ba-20250409"
15298
15347
  )
15299
15348
  );
15300
15349
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15314,24 +15363,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
15314
15363
  null === componentOrElement ? null : componentOrElement.stateNode;
15315
15364
  return componentOrElement;
15316
15365
  };
15317
- var internals$jscomp$inline_2255 = {
15366
+ var internals$jscomp$inline_2257 = {
15318
15367
  bundleType: 0,
15319
- version: "19.2.0-canary-33661467-20250407",
15368
+ version: "19.2.0-canary-3fbfb9ba-20250409",
15320
15369
  rendererPackageName: "react-dom",
15321
15370
  currentDispatcherRef: ReactSharedInternals,
15322
- reconcilerVersion: "19.2.0-canary-33661467-20250407"
15371
+ reconcilerVersion: "19.2.0-canary-3fbfb9ba-20250409"
15323
15372
  };
15324
15373
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
15325
- var hook$jscomp$inline_2256 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15374
+ var hook$jscomp$inline_2258 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15326
15375
  if (
15327
- !hook$jscomp$inline_2256.isDisabled &&
15328
- hook$jscomp$inline_2256.supportsFiber
15376
+ !hook$jscomp$inline_2258.isDisabled &&
15377
+ hook$jscomp$inline_2258.supportsFiber
15329
15378
  )
15330
15379
  try {
15331
- (rendererID = hook$jscomp$inline_2256.inject(
15332
- internals$jscomp$inline_2255
15380
+ (rendererID = hook$jscomp$inline_2258.inject(
15381
+ internals$jscomp$inline_2257
15333
15382
  )),
15334
- (injectedHook = hook$jscomp$inline_2256);
15383
+ (injectedHook = hook$jscomp$inline_2258);
15335
15384
  } catch (err) {}
15336
15385
  }
15337
15386
  exports.createRoot = function (container, options) {
@@ -15423,4 +15472,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
15423
15472
  listenToAllSupportedEvents(container);
15424
15473
  return new ReactDOMHydrationRoot(initialChildren);
15425
15474
  };
15426
- exports.version = "19.2.0-canary-33661467-20250407";
15475
+ exports.version = "19.2.0-canary-3fbfb9ba-20250409";