react-dom 19.0.0-rc-5b0ef217-20241202 → 19.0.0-rc-de68d2f4-20241204

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.
@@ -7269,7 +7269,7 @@
7269
7269
  ((state = state.dehydrated),
7270
7270
  null === state ||
7271
7271
  state.data === SUSPENSE_PENDING_START_DATA ||
7272
- state.data === SUSPENSE_FALLBACK_START_DATA)
7272
+ isSuspenseInstanceFallback(state))
7273
7273
  )
7274
7274
  return node;
7275
7275
  } else if (
@@ -8696,32 +8696,32 @@
8696
8696
  return current;
8697
8697
  }
8698
8698
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
8699
- var JSCompiler_object_inline_digest_2328;
8700
- var JSCompiler_object_inline_stack_2329 = workInProgress.pendingProps;
8699
+ var JSCompiler_object_inline_digest_2321;
8700
+ var JSCompiler_object_inline_stack_2322 = workInProgress.pendingProps;
8701
8701
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
8702
- var JSCompiler_object_inline_componentStack_2330 = !1;
8702
+ var JSCompiler_object_inline_componentStack_2323 = !1;
8703
8703
  var didSuspend = 0 !== (workInProgress.flags & 128);
8704
- (JSCompiler_object_inline_digest_2328 = didSuspend) ||
8705
- (JSCompiler_object_inline_digest_2328 =
8704
+ (JSCompiler_object_inline_digest_2321 = didSuspend) ||
8705
+ (JSCompiler_object_inline_digest_2321 =
8706
8706
  null !== current && null === current.memoizedState
8707
8707
  ? !1
8708
8708
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
8709
- JSCompiler_object_inline_digest_2328 &&
8710
- ((JSCompiler_object_inline_componentStack_2330 = !0),
8709
+ JSCompiler_object_inline_digest_2321 &&
8710
+ ((JSCompiler_object_inline_componentStack_2323 = !0),
8711
8711
  (workInProgress.flags &= -129));
8712
- JSCompiler_object_inline_digest_2328 = 0 !== (workInProgress.flags & 32);
8712
+ JSCompiler_object_inline_digest_2321 = 0 !== (workInProgress.flags & 32);
8713
8713
  workInProgress.flags &= -33;
8714
8714
  if (null === current) {
8715
8715
  if (isHydrating) {
8716
- JSCompiler_object_inline_componentStack_2330
8716
+ JSCompiler_object_inline_componentStack_2323
8717
8717
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
8718
8718
  : reuseSuspenseHandlerOnStack(workInProgress);
8719
8719
  if (isHydrating) {
8720
- var JSCompiler_object_inline_message_2327 = nextHydratableInstance;
8720
+ var JSCompiler_object_inline_message_2320 = nextHydratableInstance;
8721
8721
  var JSCompiler_temp;
8722
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2327)) {
8722
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2320)) {
8723
8723
  c: {
8724
- var instance = JSCompiler_object_inline_message_2327;
8724
+ var instance = JSCompiler_object_inline_message_2320;
8725
8725
  for (
8726
8726
  JSCompiler_temp = rootOrSingletonContext;
8727
8727
  8 !== instance.nodeType;
@@ -8762,78 +8762,77 @@
8762
8762
  JSCompiler_temp &&
8763
8763
  (warnNonHydratedInstance(
8764
8764
  workInProgress,
8765
- JSCompiler_object_inline_message_2327
8765
+ JSCompiler_object_inline_message_2320
8766
8766
  ),
8767
8767
  throwOnHydrationMismatch(workInProgress));
8768
8768
  }
8769
- JSCompiler_object_inline_message_2327 = workInProgress.memoizedState;
8769
+ JSCompiler_object_inline_message_2320 = workInProgress.memoizedState;
8770
8770
  if (
8771
- null !== JSCompiler_object_inline_message_2327 &&
8772
- ((JSCompiler_object_inline_message_2327 =
8773
- JSCompiler_object_inline_message_2327.dehydrated),
8774
- null !== JSCompiler_object_inline_message_2327)
8771
+ null !== JSCompiler_object_inline_message_2320 &&
8772
+ ((JSCompiler_object_inline_message_2320 =
8773
+ JSCompiler_object_inline_message_2320.dehydrated),
8774
+ null !== JSCompiler_object_inline_message_2320)
8775
8775
  )
8776
8776
  return (
8777
- JSCompiler_object_inline_message_2327.data ===
8778
- SUSPENSE_FALLBACK_START_DATA
8777
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2320)
8779
8778
  ? (workInProgress.lanes = 16)
8780
8779
  : (workInProgress.lanes = 536870912),
8781
8780
  null
8782
8781
  );
8783
8782
  popSuspenseHandler(workInProgress);
8784
8783
  }
8785
- JSCompiler_object_inline_message_2327 =
8786
- JSCompiler_object_inline_stack_2329.children;
8787
- JSCompiler_object_inline_stack_2329 =
8788
- JSCompiler_object_inline_stack_2329.fallback;
8789
- if (JSCompiler_object_inline_componentStack_2330)
8784
+ JSCompiler_object_inline_message_2320 =
8785
+ JSCompiler_object_inline_stack_2322.children;
8786
+ JSCompiler_object_inline_stack_2322 =
8787
+ JSCompiler_object_inline_stack_2322.fallback;
8788
+ if (JSCompiler_object_inline_componentStack_2323)
8790
8789
  return (
8791
8790
  reuseSuspenseHandlerOnStack(workInProgress),
8792
- (JSCompiler_object_inline_componentStack_2330 =
8791
+ (JSCompiler_object_inline_componentStack_2323 =
8793
8792
  workInProgress.mode),
8794
- (JSCompiler_object_inline_message_2327 =
8793
+ (JSCompiler_object_inline_message_2320 =
8795
8794
  mountWorkInProgressOffscreenFiber(
8796
8795
  {
8797
8796
  mode: "hidden",
8798
- children: JSCompiler_object_inline_message_2327
8797
+ children: JSCompiler_object_inline_message_2320
8799
8798
  },
8800
- JSCompiler_object_inline_componentStack_2330
8799
+ JSCompiler_object_inline_componentStack_2323
8801
8800
  )),
8802
- (JSCompiler_object_inline_stack_2329 = createFiberFromFragment(
8803
- JSCompiler_object_inline_stack_2329,
8804
- JSCompiler_object_inline_componentStack_2330,
8801
+ (JSCompiler_object_inline_stack_2322 = createFiberFromFragment(
8802
+ JSCompiler_object_inline_stack_2322,
8803
+ JSCompiler_object_inline_componentStack_2323,
8805
8804
  renderLanes,
8806
8805
  null
8807
8806
  )),
8808
- (JSCompiler_object_inline_message_2327.return = workInProgress),
8809
- (JSCompiler_object_inline_stack_2329.return = workInProgress),
8810
- (JSCompiler_object_inline_message_2327.sibling =
8811
- JSCompiler_object_inline_stack_2329),
8812
- (workInProgress.child = JSCompiler_object_inline_message_2327),
8813
- (JSCompiler_object_inline_componentStack_2330 =
8807
+ (JSCompiler_object_inline_message_2320.return = workInProgress),
8808
+ (JSCompiler_object_inline_stack_2322.return = workInProgress),
8809
+ (JSCompiler_object_inline_message_2320.sibling =
8810
+ JSCompiler_object_inline_stack_2322),
8811
+ (workInProgress.child = JSCompiler_object_inline_message_2320),
8812
+ (JSCompiler_object_inline_componentStack_2323 =
8814
8813
  workInProgress.child),
8815
- (JSCompiler_object_inline_componentStack_2330.memoizedState =
8814
+ (JSCompiler_object_inline_componentStack_2323.memoizedState =
8816
8815
  mountSuspenseOffscreenState(renderLanes)),
8817
- (JSCompiler_object_inline_componentStack_2330.childLanes =
8816
+ (JSCompiler_object_inline_componentStack_2323.childLanes =
8818
8817
  getRemainingWorkInPrimaryTree(
8819
8818
  current,
8820
- JSCompiler_object_inline_digest_2328,
8819
+ JSCompiler_object_inline_digest_2321,
8821
8820
  renderLanes
8822
8821
  )),
8823
8822
  (workInProgress.memoizedState = SUSPENDED_MARKER),
8824
- JSCompiler_object_inline_stack_2329
8823
+ JSCompiler_object_inline_stack_2322
8825
8824
  );
8826
8825
  pushPrimaryTreeSuspenseHandler(workInProgress);
8827
8826
  return mountSuspensePrimaryChildren(
8828
8827
  workInProgress,
8829
- JSCompiler_object_inline_message_2327
8828
+ JSCompiler_object_inline_message_2320
8830
8829
  );
8831
8830
  }
8832
8831
  var prevState = current.memoizedState;
8833
8832
  if (
8834
8833
  null !== prevState &&
8835
- ((JSCompiler_object_inline_message_2327 = prevState.dehydrated),
8836
- null !== JSCompiler_object_inline_message_2327)
8834
+ ((JSCompiler_object_inline_message_2320 = prevState.dehydrated),
8835
+ null !== JSCompiler_object_inline_message_2320)
8837
8836
  ) {
8838
8837
  if (didSuspend)
8839
8838
  workInProgress.flags & 256
@@ -8850,95 +8849,94 @@
8850
8849
  (workInProgress.flags |= 128),
8851
8850
  (workInProgress = null))
8852
8851
  : (reuseSuspenseHandlerOnStack(workInProgress),
8853
- (JSCompiler_object_inline_componentStack_2330 =
8854
- JSCompiler_object_inline_stack_2329.fallback),
8855
- (JSCompiler_object_inline_message_2327 = workInProgress.mode),
8856
- (JSCompiler_object_inline_stack_2329 =
8852
+ (JSCompiler_object_inline_componentStack_2323 =
8853
+ JSCompiler_object_inline_stack_2322.fallback),
8854
+ (JSCompiler_object_inline_message_2320 = workInProgress.mode),
8855
+ (JSCompiler_object_inline_stack_2322 =
8857
8856
  mountWorkInProgressOffscreenFiber(
8858
8857
  {
8859
8858
  mode: "visible",
8860
- children: JSCompiler_object_inline_stack_2329.children
8859
+ children: JSCompiler_object_inline_stack_2322.children
8861
8860
  },
8862
- JSCompiler_object_inline_message_2327
8861
+ JSCompiler_object_inline_message_2320
8863
8862
  )),
8864
- (JSCompiler_object_inline_componentStack_2330 =
8863
+ (JSCompiler_object_inline_componentStack_2323 =
8865
8864
  createFiberFromFragment(
8866
- JSCompiler_object_inline_componentStack_2330,
8867
- JSCompiler_object_inline_message_2327,
8865
+ JSCompiler_object_inline_componentStack_2323,
8866
+ JSCompiler_object_inline_message_2320,
8868
8867
  renderLanes,
8869
8868
  null
8870
8869
  )),
8871
- (JSCompiler_object_inline_componentStack_2330.flags |= 2),
8872
- (JSCompiler_object_inline_stack_2329.return = workInProgress),
8873
- (JSCompiler_object_inline_componentStack_2330.return =
8870
+ (JSCompiler_object_inline_componentStack_2323.flags |= 2),
8871
+ (JSCompiler_object_inline_stack_2322.return = workInProgress),
8872
+ (JSCompiler_object_inline_componentStack_2323.return =
8874
8873
  workInProgress),
8875
- (JSCompiler_object_inline_stack_2329.sibling =
8876
- JSCompiler_object_inline_componentStack_2330),
8877
- (workInProgress.child = JSCompiler_object_inline_stack_2329),
8874
+ (JSCompiler_object_inline_stack_2322.sibling =
8875
+ JSCompiler_object_inline_componentStack_2323),
8876
+ (workInProgress.child = JSCompiler_object_inline_stack_2322),
8878
8877
  reconcileChildFibers(
8879
8878
  workInProgress,
8880
8879
  current.child,
8881
8880
  null,
8882
8881
  renderLanes
8883
8882
  ),
8884
- (JSCompiler_object_inline_stack_2329 = workInProgress.child),
8885
- (JSCompiler_object_inline_stack_2329.memoizedState =
8883
+ (JSCompiler_object_inline_stack_2322 = workInProgress.child),
8884
+ (JSCompiler_object_inline_stack_2322.memoizedState =
8886
8885
  mountSuspenseOffscreenState(renderLanes)),
8887
- (JSCompiler_object_inline_stack_2329.childLanes =
8886
+ (JSCompiler_object_inline_stack_2322.childLanes =
8888
8887
  getRemainingWorkInPrimaryTree(
8889
8888
  current,
8890
- JSCompiler_object_inline_digest_2328,
8889
+ JSCompiler_object_inline_digest_2321,
8891
8890
  renderLanes
8892
8891
  )),
8893
8892
  (workInProgress.memoizedState = SUSPENDED_MARKER),
8894
8893
  (workInProgress =
8895
- JSCompiler_object_inline_componentStack_2330));
8894
+ JSCompiler_object_inline_componentStack_2323));
8896
8895
  else if (
8897
8896
  (pushPrimaryTreeSuspenseHandler(workInProgress),
8898
8897
  isHydrating &&
8899
8898
  console.error(
8900
8899
  "We should not be hydrating here. This is a bug in React. Please file a bug."
8901
8900
  ),
8902
- JSCompiler_object_inline_message_2327.data ===
8903
- SUSPENSE_FALLBACK_START_DATA)
8901
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2320))
8904
8902
  ) {
8905
- JSCompiler_object_inline_digest_2328 =
8906
- JSCompiler_object_inline_message_2327.nextSibling &&
8907
- JSCompiler_object_inline_message_2327.nextSibling.dataset;
8908
- if (JSCompiler_object_inline_digest_2328) {
8909
- JSCompiler_temp = JSCompiler_object_inline_digest_2328.dgst;
8910
- var message = JSCompiler_object_inline_digest_2328.msg;
8911
- instance = JSCompiler_object_inline_digest_2328.stck;
8912
- var componentStack = JSCompiler_object_inline_digest_2328.cstck;
8903
+ JSCompiler_object_inline_digest_2321 =
8904
+ JSCompiler_object_inline_message_2320.nextSibling &&
8905
+ JSCompiler_object_inline_message_2320.nextSibling.dataset;
8906
+ if (JSCompiler_object_inline_digest_2321) {
8907
+ JSCompiler_temp = JSCompiler_object_inline_digest_2321.dgst;
8908
+ var message = JSCompiler_object_inline_digest_2321.msg;
8909
+ instance = JSCompiler_object_inline_digest_2321.stck;
8910
+ var componentStack = JSCompiler_object_inline_digest_2321.cstck;
8913
8911
  }
8914
- JSCompiler_object_inline_message_2327 = message;
8915
- JSCompiler_object_inline_digest_2328 = JSCompiler_temp;
8916
- JSCompiler_object_inline_stack_2329 = instance;
8917
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2330 =
8912
+ JSCompiler_object_inline_message_2320 = message;
8913
+ JSCompiler_object_inline_digest_2321 = JSCompiler_temp;
8914
+ JSCompiler_object_inline_stack_2322 = instance;
8915
+ JSCompiler_temp = JSCompiler_object_inline_componentStack_2323 =
8918
8916
  componentStack;
8919
- JSCompiler_object_inline_componentStack_2330 =
8920
- JSCompiler_object_inline_message_2327
8921
- ? Error(JSCompiler_object_inline_message_2327)
8917
+ JSCompiler_object_inline_componentStack_2323 =
8918
+ JSCompiler_object_inline_message_2320
8919
+ ? Error(JSCompiler_object_inline_message_2320)
8922
8920
  : Error(
8923
8921
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
8924
8922
  );
8925
- JSCompiler_object_inline_componentStack_2330.stack =
8926
- JSCompiler_object_inline_stack_2329 || "";
8927
- JSCompiler_object_inline_componentStack_2330.digest =
8928
- JSCompiler_object_inline_digest_2328;
8929
- JSCompiler_object_inline_digest_2328 =
8923
+ JSCompiler_object_inline_componentStack_2323.stack =
8924
+ JSCompiler_object_inline_stack_2322 || "";
8925
+ JSCompiler_object_inline_componentStack_2323.digest =
8926
+ JSCompiler_object_inline_digest_2321;
8927
+ JSCompiler_object_inline_digest_2321 =
8930
8928
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
8931
- JSCompiler_object_inline_stack_2329 = {
8932
- value: JSCompiler_object_inline_componentStack_2330,
8929
+ JSCompiler_object_inline_stack_2322 = {
8930
+ value: JSCompiler_object_inline_componentStack_2323,
8933
8931
  source: null,
8934
- stack: JSCompiler_object_inline_digest_2328
8932
+ stack: JSCompiler_object_inline_digest_2321
8935
8933
  };
8936
- "string" === typeof JSCompiler_object_inline_digest_2328 &&
8934
+ "string" === typeof JSCompiler_object_inline_digest_2321 &&
8937
8935
  CapturedStacks.set(
8938
- JSCompiler_object_inline_componentStack_2330,
8939
- JSCompiler_object_inline_stack_2329
8936
+ JSCompiler_object_inline_componentStack_2323,
8937
+ JSCompiler_object_inline_stack_2322
8940
8938
  );
8941
- queueHydrationError(JSCompiler_object_inline_stack_2329);
8939
+ queueHydrationError(JSCompiler_object_inline_stack_2322);
8942
8940
  workInProgress = retrySuspenseComponentWithoutHydrating(
8943
8941
  current,
8944
8942
  workInProgress,
@@ -8952,25 +8950,25 @@
8952
8950
  renderLanes,
8953
8951
  !1
8954
8952
  ),
8955
- (JSCompiler_object_inline_digest_2328 =
8953
+ (JSCompiler_object_inline_digest_2321 =
8956
8954
  0 !== (renderLanes & current.childLanes)),
8957
- didReceiveUpdate || JSCompiler_object_inline_digest_2328)
8955
+ didReceiveUpdate || JSCompiler_object_inline_digest_2321)
8958
8956
  ) {
8959
- JSCompiler_object_inline_digest_2328 = workInProgressRoot;
8960
- if (null !== JSCompiler_object_inline_digest_2328) {
8961
- JSCompiler_object_inline_stack_2329 = renderLanes & -renderLanes;
8962
- if (0 !== (JSCompiler_object_inline_stack_2329 & 42))
8963
- JSCompiler_object_inline_stack_2329 = 1;
8957
+ JSCompiler_object_inline_digest_2321 = workInProgressRoot;
8958
+ if (null !== JSCompiler_object_inline_digest_2321) {
8959
+ JSCompiler_object_inline_stack_2322 = renderLanes & -renderLanes;
8960
+ if (0 !== (JSCompiler_object_inline_stack_2322 & 42))
8961
+ JSCompiler_object_inline_stack_2322 = 1;
8964
8962
  else
8965
- switch (JSCompiler_object_inline_stack_2329) {
8963
+ switch (JSCompiler_object_inline_stack_2322) {
8966
8964
  case 2:
8967
- JSCompiler_object_inline_stack_2329 = 1;
8965
+ JSCompiler_object_inline_stack_2322 = 1;
8968
8966
  break;
8969
8967
  case 8:
8970
- JSCompiler_object_inline_stack_2329 = 4;
8968
+ JSCompiler_object_inline_stack_2322 = 4;
8971
8969
  break;
8972
8970
  case 32:
8973
- JSCompiler_object_inline_stack_2329 = 16;
8971
+ JSCompiler_object_inline_stack_2322 = 16;
8974
8972
  break;
8975
8973
  case 128:
8976
8974
  case 256:
@@ -8991,40 +8989,40 @@
8991
8989
  case 8388608:
8992
8990
  case 16777216:
8993
8991
  case 33554432:
8994
- JSCompiler_object_inline_stack_2329 = 64;
8992
+ JSCompiler_object_inline_stack_2322 = 64;
8995
8993
  break;
8996
8994
  case 268435456:
8997
- JSCompiler_object_inline_stack_2329 = 134217728;
8995
+ JSCompiler_object_inline_stack_2322 = 134217728;
8998
8996
  break;
8999
8997
  default:
9000
- JSCompiler_object_inline_stack_2329 = 0;
8998
+ JSCompiler_object_inline_stack_2322 = 0;
9001
8999
  }
9002
- JSCompiler_object_inline_stack_2329 =
9000
+ JSCompiler_object_inline_stack_2322 =
9003
9001
  0 !==
9004
- (JSCompiler_object_inline_stack_2329 &
9005
- (JSCompiler_object_inline_digest_2328.suspendedLanes |
9002
+ (JSCompiler_object_inline_stack_2322 &
9003
+ (JSCompiler_object_inline_digest_2321.suspendedLanes |
9006
9004
  renderLanes))
9007
9005
  ? 0
9008
- : JSCompiler_object_inline_stack_2329;
9006
+ : JSCompiler_object_inline_stack_2322;
9009
9007
  if (
9010
- 0 !== JSCompiler_object_inline_stack_2329 &&
9011
- JSCompiler_object_inline_stack_2329 !== prevState.retryLane
9008
+ 0 !== JSCompiler_object_inline_stack_2322 &&
9009
+ JSCompiler_object_inline_stack_2322 !== prevState.retryLane
9012
9010
  )
9013
9011
  throw (
9014
- ((prevState.retryLane = JSCompiler_object_inline_stack_2329),
9012
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2322),
9015
9013
  enqueueConcurrentRenderForLane(
9016
9014
  current,
9017
- JSCompiler_object_inline_stack_2329
9015
+ JSCompiler_object_inline_stack_2322
9018
9016
  ),
9019
9017
  scheduleUpdateOnFiber(
9020
- JSCompiler_object_inline_digest_2328,
9018
+ JSCompiler_object_inline_digest_2321,
9021
9019
  current,
9022
- JSCompiler_object_inline_stack_2329
9020
+ JSCompiler_object_inline_stack_2322
9023
9021
  ),
9024
9022
  SelectiveHydrationException)
9025
9023
  );
9026
9024
  }
9027
- JSCompiler_object_inline_message_2327.data ===
9025
+ JSCompiler_object_inline_message_2320.data ===
9028
9026
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9029
9027
  workInProgress = retrySuspenseComponentWithoutHydrating(
9030
9028
  current,
@@ -9032,20 +9030,14 @@
9032
9030
  renderLanes
9033
9031
  );
9034
9032
  } else
9035
- JSCompiler_object_inline_message_2327.data ===
9033
+ JSCompiler_object_inline_message_2320.data ===
9036
9034
  SUSPENSE_PENDING_START_DATA
9037
- ? ((workInProgress.flags |= 128),
9035
+ ? ((workInProgress.flags |= 192),
9038
9036
  (workInProgress.child = current.child),
9039
- (workInProgress = retryDehydratedSuspenseBoundary.bind(
9040
- null,
9041
- current
9042
- )),
9043
- (JSCompiler_object_inline_message_2327._reactRetry =
9044
- workInProgress),
9045
9037
  (workInProgress = null))
9046
9038
  : ((current = prevState.treeContext),
9047
9039
  (nextHydratableInstance = getNextHydratable(
9048
- JSCompiler_object_inline_message_2327.nextSibling
9040
+ JSCompiler_object_inline_message_2320.nextSibling
9049
9041
  )),
9050
9042
  (hydrationParentFiber = workInProgress),
9051
9043
  (isHydrating = !0),
@@ -9063,57 +9055,57 @@
9063
9055
  (treeContextProvider = workInProgress)),
9064
9056
  (workInProgress = mountSuspensePrimaryChildren(
9065
9057
  workInProgress,
9066
- JSCompiler_object_inline_stack_2329.children
9058
+ JSCompiler_object_inline_stack_2322.children
9067
9059
  )),
9068
9060
  (workInProgress.flags |= 4096));
9069
9061
  return workInProgress;
9070
9062
  }
9071
- if (JSCompiler_object_inline_componentStack_2330)
9063
+ if (JSCompiler_object_inline_componentStack_2323)
9072
9064
  return (
9073
9065
  reuseSuspenseHandlerOnStack(workInProgress),
9074
- (JSCompiler_object_inline_componentStack_2330 =
9075
- JSCompiler_object_inline_stack_2329.fallback),
9076
- (JSCompiler_object_inline_message_2327 = workInProgress.mode),
9066
+ (JSCompiler_object_inline_componentStack_2323 =
9067
+ JSCompiler_object_inline_stack_2322.fallback),
9068
+ (JSCompiler_object_inline_message_2320 = workInProgress.mode),
9077
9069
  (JSCompiler_temp = current.child),
9078
9070
  (instance = JSCompiler_temp.sibling),
9079
- (JSCompiler_object_inline_stack_2329 = createWorkInProgress(
9071
+ (JSCompiler_object_inline_stack_2322 = createWorkInProgress(
9080
9072
  JSCompiler_temp,
9081
9073
  {
9082
9074
  mode: "hidden",
9083
- children: JSCompiler_object_inline_stack_2329.children
9075
+ children: JSCompiler_object_inline_stack_2322.children
9084
9076
  }
9085
9077
  )),
9086
- (JSCompiler_object_inline_stack_2329.subtreeFlags =
9078
+ (JSCompiler_object_inline_stack_2322.subtreeFlags =
9087
9079
  JSCompiler_temp.subtreeFlags & 31457280),
9088
9080
  null !== instance
9089
- ? (JSCompiler_object_inline_componentStack_2330 =
9081
+ ? (JSCompiler_object_inline_componentStack_2323 =
9090
9082
  createWorkInProgress(
9091
9083
  instance,
9092
- JSCompiler_object_inline_componentStack_2330
9084
+ JSCompiler_object_inline_componentStack_2323
9093
9085
  ))
9094
- : ((JSCompiler_object_inline_componentStack_2330 =
9086
+ : ((JSCompiler_object_inline_componentStack_2323 =
9095
9087
  createFiberFromFragment(
9096
- JSCompiler_object_inline_componentStack_2330,
9097
- JSCompiler_object_inline_message_2327,
9088
+ JSCompiler_object_inline_componentStack_2323,
9089
+ JSCompiler_object_inline_message_2320,
9098
9090
  renderLanes,
9099
9091
  null
9100
9092
  )),
9101
- (JSCompiler_object_inline_componentStack_2330.flags |= 2)),
9102
- (JSCompiler_object_inline_componentStack_2330.return =
9093
+ (JSCompiler_object_inline_componentStack_2323.flags |= 2)),
9094
+ (JSCompiler_object_inline_componentStack_2323.return =
9103
9095
  workInProgress),
9104
- (JSCompiler_object_inline_stack_2329.return = workInProgress),
9105
- (JSCompiler_object_inline_stack_2329.sibling =
9106
- JSCompiler_object_inline_componentStack_2330),
9107
- (workInProgress.child = JSCompiler_object_inline_stack_2329),
9108
- (JSCompiler_object_inline_stack_2329 =
9109
- JSCompiler_object_inline_componentStack_2330),
9110
- (JSCompiler_object_inline_componentStack_2330 = workInProgress.child),
9111
- (JSCompiler_object_inline_message_2327 = current.child.memoizedState),
9112
- null === JSCompiler_object_inline_message_2327
9113
- ? (JSCompiler_object_inline_message_2327 =
9096
+ (JSCompiler_object_inline_stack_2322.return = workInProgress),
9097
+ (JSCompiler_object_inline_stack_2322.sibling =
9098
+ JSCompiler_object_inline_componentStack_2323),
9099
+ (workInProgress.child = JSCompiler_object_inline_stack_2322),
9100
+ (JSCompiler_object_inline_stack_2322 =
9101
+ JSCompiler_object_inline_componentStack_2323),
9102
+ (JSCompiler_object_inline_componentStack_2323 = workInProgress.child),
9103
+ (JSCompiler_object_inline_message_2320 = current.child.memoizedState),
9104
+ null === JSCompiler_object_inline_message_2320
9105
+ ? (JSCompiler_object_inline_message_2320 =
9114
9106
  mountSuspenseOffscreenState(renderLanes))
9115
9107
  : ((JSCompiler_temp =
9116
- JSCompiler_object_inline_message_2327.cachePool),
9108
+ JSCompiler_object_inline_message_2320.cachePool),
9117
9109
  null !== JSCompiler_temp
9118
9110
  ? ((instance = CacheContext._currentValue),
9119
9111
  (JSCompiler_temp =
@@ -9121,37 +9113,37 @@
9121
9113
  ? { parent: instance, pool: instance }
9122
9114
  : JSCompiler_temp))
9123
9115
  : (JSCompiler_temp = getSuspendedCache()),
9124
- (JSCompiler_object_inline_message_2327 = {
9116
+ (JSCompiler_object_inline_message_2320 = {
9125
9117
  baseLanes:
9126
- JSCompiler_object_inline_message_2327.baseLanes | renderLanes,
9118
+ JSCompiler_object_inline_message_2320.baseLanes | renderLanes,
9127
9119
  cachePool: JSCompiler_temp
9128
9120
  })),
9129
- (JSCompiler_object_inline_componentStack_2330.memoizedState =
9130
- JSCompiler_object_inline_message_2327),
9131
- (JSCompiler_object_inline_componentStack_2330.childLanes =
9121
+ (JSCompiler_object_inline_componentStack_2323.memoizedState =
9122
+ JSCompiler_object_inline_message_2320),
9123
+ (JSCompiler_object_inline_componentStack_2323.childLanes =
9132
9124
  getRemainingWorkInPrimaryTree(
9133
9125
  current,
9134
- JSCompiler_object_inline_digest_2328,
9126
+ JSCompiler_object_inline_digest_2321,
9135
9127
  renderLanes
9136
9128
  )),
9137
9129
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9138
- JSCompiler_object_inline_stack_2329
9130
+ JSCompiler_object_inline_stack_2322
9139
9131
  );
9140
9132
  pushPrimaryTreeSuspenseHandler(workInProgress);
9141
9133
  renderLanes = current.child;
9142
9134
  current = renderLanes.sibling;
9143
9135
  renderLanes = createWorkInProgress(renderLanes, {
9144
9136
  mode: "visible",
9145
- children: JSCompiler_object_inline_stack_2329.children
9137
+ children: JSCompiler_object_inline_stack_2322.children
9146
9138
  });
9147
9139
  renderLanes.return = workInProgress;
9148
9140
  renderLanes.sibling = null;
9149
9141
  null !== current &&
9150
- ((JSCompiler_object_inline_digest_2328 = workInProgress.deletions),
9151
- null === JSCompiler_object_inline_digest_2328
9142
+ ((JSCompiler_object_inline_digest_2321 = workInProgress.deletions),
9143
+ null === JSCompiler_object_inline_digest_2321
9152
9144
  ? ((workInProgress.deletions = [current]),
9153
9145
  (workInProgress.flags |= 16))
9154
- : JSCompiler_object_inline_digest_2328.push(current));
9146
+ : JSCompiler_object_inline_digest_2321.push(current));
9155
9147
  workInProgress.child = renderLanes;
9156
9148
  workInProgress.memoizedState = null;
9157
9149
  return renderLanes;
@@ -11575,6 +11567,16 @@
11575
11567
  recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);
11576
11568
  flags & 4 &&
11577
11569
  commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);
11570
+ flags & 64 &&
11571
+ ((finishedRoot = finishedWork.memoizedState),
11572
+ null !== finishedRoot &&
11573
+ ((finishedRoot = finishedRoot.dehydrated),
11574
+ null !== finishedRoot &&
11575
+ ((finishedWork = retryDehydratedSuspenseBoundary.bind(
11576
+ null,
11577
+ finishedWork
11578
+ )),
11579
+ registerSuspenseInstanceRetry(finishedRoot, finishedWork))));
11578
11580
  break;
11579
11581
  case 22:
11580
11582
  prevProps =
@@ -19259,6 +19261,29 @@
19259
19261
  }
19260
19262
  return instance;
19261
19263
  }
19264
+ function isSuspenseInstanceFallback(instance) {
19265
+ return (
19266
+ instance.data === SUSPENSE_FALLBACK_START_DATA ||
19267
+ (instance.data === SUSPENSE_PENDING_START_DATA &&
19268
+ instance.ownerDocument.readyState === DOCUMENT_READY_STATE_COMPLETE)
19269
+ );
19270
+ }
19271
+ function registerSuspenseInstanceRetry(instance, callback) {
19272
+ var ownerDocument = instance.ownerDocument;
19273
+ if (
19274
+ instance.data !== SUSPENSE_PENDING_START_DATA ||
19275
+ ownerDocument.readyState === DOCUMENT_READY_STATE_COMPLETE
19276
+ )
19277
+ callback();
19278
+ else {
19279
+ var listener = function () {
19280
+ callback();
19281
+ ownerDocument.removeEventListener("DOMContentLoaded", listener);
19282
+ };
19283
+ ownerDocument.addEventListener("DOMContentLoaded", listener);
19284
+ instance._reactRetry = listener;
19285
+ }
19286
+ }
19262
19287
  function getNextHydratable(node) {
19263
19288
  for (; null != node; node = node.nextSibling) {
19264
19289
  var nodeType = node.nodeType;
@@ -24158,6 +24183,7 @@
24158
24183
  SUSPENSE_FALLBACK_START_DATA = "$!",
24159
24184
  FORM_STATE_IS_MATCHING = "F!",
24160
24185
  FORM_STATE_IS_NOT_MATCHING = "F",
24186
+ DOCUMENT_READY_STATE_COMPLETE = "complete",
24161
24187
  STYLE = "style",
24162
24188
  HostContextNamespaceNone = 0,
24163
24189
  HostContextNamespaceSvg = 1,
@@ -24606,11 +24632,11 @@
24606
24632
  };
24607
24633
  (function () {
24608
24634
  var isomorphicReactPackageVersion = React.version;
24609
- if ("19.0.0-rc-5b0ef217-20241202" !== isomorphicReactPackageVersion)
24635
+ if ("19.0.0-rc-de68d2f4-20241204" !== isomorphicReactPackageVersion)
24610
24636
  throw Error(
24611
24637
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24612
24638
  (isomorphicReactPackageVersion +
24613
- "\n - react-dom: 19.0.0-rc-5b0ef217-20241202\nLearn more: https://react.dev/warnings/version-mismatch")
24639
+ "\n - react-dom: 19.0.0-rc-de68d2f4-20241204\nLearn more: https://react.dev/warnings/version-mismatch")
24614
24640
  );
24615
24641
  })();
24616
24642
  ("function" === typeof Map &&
@@ -24647,11 +24673,11 @@
24647
24673
  !(function () {
24648
24674
  var internals = {
24649
24675
  bundleType: 1,
24650
- version: "19.0.0-rc-5b0ef217-20241202",
24676
+ version: "19.0.0-rc-de68d2f4-20241204",
24651
24677
  rendererPackageName: "react-dom",
24652
24678
  currentDispatcherRef: ReactSharedInternals,
24653
24679
  findFiberByHostInstance: getClosestInstanceFromNode,
24654
- reconcilerVersion: "19.0.0-rc-5b0ef217-20241202"
24680
+ reconcilerVersion: "19.0.0-rc-de68d2f4-20241204"
24655
24681
  };
24656
24682
  internals.overrideHookState = overrideHookState;
24657
24683
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25125,7 +25151,7 @@
25125
25151
  exports.useFormStatus = function () {
25126
25152
  return resolveDispatcher().useHostTransitionStatus();
25127
25153
  };
25128
- exports.version = "19.0.0-rc-5b0ef217-20241202";
25154
+ exports.version = "19.0.0-rc-de68d2f4-20241204";
25129
25155
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25130
25156
  "function" ===
25131
25157
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&