react-dom 19.1.0-canary-7130d0c6-20241212 → 19.1.0-canary-e06c72fc-20241215

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.
@@ -489,13 +489,11 @@
489
489
  return describeBuiltInComponentFrame("SuspenseList");
490
490
  case 0:
491
491
  case 15:
492
- return (fiber = describeNativeComponentFrame(fiber.type, !1)), fiber;
492
+ return describeNativeComponentFrame(fiber.type, !1);
493
493
  case 11:
494
- return (
495
- (fiber = describeNativeComponentFrame(fiber.type.render, !1)), fiber
496
- );
494
+ return describeNativeComponentFrame(fiber.type.render, !1);
497
495
  case 1:
498
- return (fiber = describeNativeComponentFrame(fiber.type, !0)), fiber;
496
+ return describeNativeComponentFrame(fiber.type, !0);
499
497
  default:
500
498
  return "";
501
499
  }
@@ -1192,6 +1190,46 @@
1192
1190
  rootEntangledLanes &= ~lane;
1193
1191
  }
1194
1192
  }
1193
+ function getBumpedLaneForHydrationByLane(lane) {
1194
+ switch (lane) {
1195
+ case 2:
1196
+ lane = 1;
1197
+ break;
1198
+ case 8:
1199
+ lane = 4;
1200
+ break;
1201
+ case 32:
1202
+ lane = 16;
1203
+ break;
1204
+ case 128:
1205
+ case 256:
1206
+ case 512:
1207
+ case 1024:
1208
+ case 2048:
1209
+ case 4096:
1210
+ case 8192:
1211
+ case 16384:
1212
+ case 32768:
1213
+ case 65536:
1214
+ case 131072:
1215
+ case 262144:
1216
+ case 524288:
1217
+ case 1048576:
1218
+ case 2097152:
1219
+ case 4194304:
1220
+ case 8388608:
1221
+ case 16777216:
1222
+ case 33554432:
1223
+ lane = 64;
1224
+ break;
1225
+ case 268435456:
1226
+ lane = 134217728;
1227
+ break;
1228
+ default:
1229
+ lane = 0;
1230
+ }
1231
+ return lane;
1232
+ }
1195
1233
  function addFiberToLanesMap(root, fiber, lanes) {
1196
1234
  if (isDevToolsPresent)
1197
1235
  for (root = root.pendingUpdatersLaneMap; 0 < lanes; ) {
@@ -4853,6 +4891,9 @@
4853
4891
  }
4854
4892
  return workInProgressHook;
4855
4893
  }
4894
+ function createFunctionComponentUpdateQueue() {
4895
+ return { lastEffect: null, events: null, stores: null, memoCache: null };
4896
+ }
4856
4897
  function useThenable(thenable) {
4857
4898
  var index = thenableIndexCounter$1;
4858
4899
  thenableIndexCounter$1 += 1;
@@ -8696,32 +8737,32 @@
8696
8737
  return current;
8697
8738
  }
8698
8739
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
8699
- var JSCompiler_object_inline_digest_2321;
8700
- var JSCompiler_object_inline_stack_2322 = workInProgress.pendingProps;
8740
+ var JSCompiler_object_inline_digest_2312;
8741
+ var JSCompiler_object_inline_stack_2313 = workInProgress.pendingProps;
8701
8742
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
8702
- var JSCompiler_object_inline_componentStack_2323 = !1;
8743
+ var JSCompiler_object_inline_componentStack_2314 = !1;
8703
8744
  var didSuspend = 0 !== (workInProgress.flags & 128);
8704
- (JSCompiler_object_inline_digest_2321 = didSuspend) ||
8705
- (JSCompiler_object_inline_digest_2321 =
8745
+ (JSCompiler_object_inline_digest_2312 = didSuspend) ||
8746
+ (JSCompiler_object_inline_digest_2312 =
8706
8747
  null !== current && null === current.memoizedState
8707
8748
  ? !1
8708
8749
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
8709
- JSCompiler_object_inline_digest_2321 &&
8710
- ((JSCompiler_object_inline_componentStack_2323 = !0),
8750
+ JSCompiler_object_inline_digest_2312 &&
8751
+ ((JSCompiler_object_inline_componentStack_2314 = !0),
8711
8752
  (workInProgress.flags &= -129));
8712
- JSCompiler_object_inline_digest_2321 = 0 !== (workInProgress.flags & 32);
8753
+ JSCompiler_object_inline_digest_2312 = 0 !== (workInProgress.flags & 32);
8713
8754
  workInProgress.flags &= -33;
8714
8755
  if (null === current) {
8715
8756
  if (isHydrating) {
8716
- JSCompiler_object_inline_componentStack_2323
8757
+ JSCompiler_object_inline_componentStack_2314
8717
8758
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
8718
8759
  : reuseSuspenseHandlerOnStack(workInProgress);
8719
8760
  if (isHydrating) {
8720
- var JSCompiler_object_inline_message_2320 = nextHydratableInstance;
8761
+ var JSCompiler_object_inline_message_2311 = nextHydratableInstance;
8721
8762
  var JSCompiler_temp;
8722
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2320)) {
8763
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2311)) {
8723
8764
  c: {
8724
- var instance = JSCompiler_object_inline_message_2320;
8765
+ var instance = JSCompiler_object_inline_message_2311;
8725
8766
  for (
8726
8767
  JSCompiler_temp = rootOrSingletonContext;
8727
8768
  8 !== instance.nodeType;
@@ -8762,77 +8803,77 @@
8762
8803
  JSCompiler_temp &&
8763
8804
  (warnNonHydratedInstance(
8764
8805
  workInProgress,
8765
- JSCompiler_object_inline_message_2320
8806
+ JSCompiler_object_inline_message_2311
8766
8807
  ),
8767
8808
  throwOnHydrationMismatch(workInProgress));
8768
8809
  }
8769
- JSCompiler_object_inline_message_2320 = workInProgress.memoizedState;
8810
+ JSCompiler_object_inline_message_2311 = workInProgress.memoizedState;
8770
8811
  if (
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)
8812
+ null !== JSCompiler_object_inline_message_2311 &&
8813
+ ((JSCompiler_object_inline_message_2311 =
8814
+ JSCompiler_object_inline_message_2311.dehydrated),
8815
+ null !== JSCompiler_object_inline_message_2311)
8775
8816
  )
8776
8817
  return (
8777
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2320)
8778
- ? (workInProgress.lanes = 16)
8818
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2311)
8819
+ ? (workInProgress.lanes = 32)
8779
8820
  : (workInProgress.lanes = 536870912),
8780
8821
  null
8781
8822
  );
8782
8823
  popSuspenseHandler(workInProgress);
8783
8824
  }
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)
8825
+ JSCompiler_object_inline_message_2311 =
8826
+ JSCompiler_object_inline_stack_2313.children;
8827
+ JSCompiler_object_inline_stack_2313 =
8828
+ JSCompiler_object_inline_stack_2313.fallback;
8829
+ if (JSCompiler_object_inline_componentStack_2314)
8789
8830
  return (
8790
8831
  reuseSuspenseHandlerOnStack(workInProgress),
8791
- (JSCompiler_object_inline_componentStack_2323 =
8832
+ (JSCompiler_object_inline_componentStack_2314 =
8792
8833
  workInProgress.mode),
8793
- (JSCompiler_object_inline_message_2320 =
8834
+ (JSCompiler_object_inline_message_2311 =
8794
8835
  mountWorkInProgressOffscreenFiber(
8795
8836
  {
8796
8837
  mode: "hidden",
8797
- children: JSCompiler_object_inline_message_2320
8838
+ children: JSCompiler_object_inline_message_2311
8798
8839
  },
8799
- JSCompiler_object_inline_componentStack_2323
8840
+ JSCompiler_object_inline_componentStack_2314
8800
8841
  )),
8801
- (JSCompiler_object_inline_stack_2322 = createFiberFromFragment(
8802
- JSCompiler_object_inline_stack_2322,
8803
- JSCompiler_object_inline_componentStack_2323,
8842
+ (JSCompiler_object_inline_stack_2313 = createFiberFromFragment(
8843
+ JSCompiler_object_inline_stack_2313,
8844
+ JSCompiler_object_inline_componentStack_2314,
8804
8845
  renderLanes,
8805
8846
  null
8806
8847
  )),
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 =
8848
+ (JSCompiler_object_inline_message_2311.return = workInProgress),
8849
+ (JSCompiler_object_inline_stack_2313.return = workInProgress),
8850
+ (JSCompiler_object_inline_message_2311.sibling =
8851
+ JSCompiler_object_inline_stack_2313),
8852
+ (workInProgress.child = JSCompiler_object_inline_message_2311),
8853
+ (JSCompiler_object_inline_componentStack_2314 =
8813
8854
  workInProgress.child),
8814
- (JSCompiler_object_inline_componentStack_2323.memoizedState =
8855
+ (JSCompiler_object_inline_componentStack_2314.memoizedState =
8815
8856
  mountSuspenseOffscreenState(renderLanes)),
8816
- (JSCompiler_object_inline_componentStack_2323.childLanes =
8857
+ (JSCompiler_object_inline_componentStack_2314.childLanes =
8817
8858
  getRemainingWorkInPrimaryTree(
8818
8859
  current,
8819
- JSCompiler_object_inline_digest_2321,
8860
+ JSCompiler_object_inline_digest_2312,
8820
8861
  renderLanes
8821
8862
  )),
8822
8863
  (workInProgress.memoizedState = SUSPENDED_MARKER),
8823
- JSCompiler_object_inline_stack_2322
8864
+ JSCompiler_object_inline_stack_2313
8824
8865
  );
8825
8866
  pushPrimaryTreeSuspenseHandler(workInProgress);
8826
8867
  return mountSuspensePrimaryChildren(
8827
8868
  workInProgress,
8828
- JSCompiler_object_inline_message_2320
8869
+ JSCompiler_object_inline_message_2311
8829
8870
  );
8830
8871
  }
8831
8872
  var prevState = current.memoizedState;
8832
8873
  if (
8833
8874
  null !== prevState &&
8834
- ((JSCompiler_object_inline_message_2320 = prevState.dehydrated),
8835
- null !== JSCompiler_object_inline_message_2320)
8875
+ ((JSCompiler_object_inline_message_2311 = prevState.dehydrated),
8876
+ null !== JSCompiler_object_inline_message_2311)
8836
8877
  ) {
8837
8878
  if (didSuspend)
8838
8879
  workInProgress.flags & 256
@@ -8849,94 +8890,94 @@
8849
8890
  (workInProgress.flags |= 128),
8850
8891
  (workInProgress = null))
8851
8892
  : (reuseSuspenseHandlerOnStack(workInProgress),
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 =
8893
+ (JSCompiler_object_inline_componentStack_2314 =
8894
+ JSCompiler_object_inline_stack_2313.fallback),
8895
+ (JSCompiler_object_inline_message_2311 = workInProgress.mode),
8896
+ (JSCompiler_object_inline_stack_2313 =
8856
8897
  mountWorkInProgressOffscreenFiber(
8857
8898
  {
8858
8899
  mode: "visible",
8859
- children: JSCompiler_object_inline_stack_2322.children
8900
+ children: JSCompiler_object_inline_stack_2313.children
8860
8901
  },
8861
- JSCompiler_object_inline_message_2320
8902
+ JSCompiler_object_inline_message_2311
8862
8903
  )),
8863
- (JSCompiler_object_inline_componentStack_2323 =
8904
+ (JSCompiler_object_inline_componentStack_2314 =
8864
8905
  createFiberFromFragment(
8865
- JSCompiler_object_inline_componentStack_2323,
8866
- JSCompiler_object_inline_message_2320,
8906
+ JSCompiler_object_inline_componentStack_2314,
8907
+ JSCompiler_object_inline_message_2311,
8867
8908
  renderLanes,
8868
8909
  null
8869
8910
  )),
8870
- (JSCompiler_object_inline_componentStack_2323.flags |= 2),
8871
- (JSCompiler_object_inline_stack_2322.return = workInProgress),
8872
- (JSCompiler_object_inline_componentStack_2323.return =
8911
+ (JSCompiler_object_inline_componentStack_2314.flags |= 2),
8912
+ (JSCompiler_object_inline_stack_2313.return = workInProgress),
8913
+ (JSCompiler_object_inline_componentStack_2314.return =
8873
8914
  workInProgress),
8874
- (JSCompiler_object_inline_stack_2322.sibling =
8875
- JSCompiler_object_inline_componentStack_2323),
8876
- (workInProgress.child = JSCompiler_object_inline_stack_2322),
8915
+ (JSCompiler_object_inline_stack_2313.sibling =
8916
+ JSCompiler_object_inline_componentStack_2314),
8917
+ (workInProgress.child = JSCompiler_object_inline_stack_2313),
8877
8918
  reconcileChildFibers(
8878
8919
  workInProgress,
8879
8920
  current.child,
8880
8921
  null,
8881
8922
  renderLanes
8882
8923
  ),
8883
- (JSCompiler_object_inline_stack_2322 = workInProgress.child),
8884
- (JSCompiler_object_inline_stack_2322.memoizedState =
8924
+ (JSCompiler_object_inline_stack_2313 = workInProgress.child),
8925
+ (JSCompiler_object_inline_stack_2313.memoizedState =
8885
8926
  mountSuspenseOffscreenState(renderLanes)),
8886
- (JSCompiler_object_inline_stack_2322.childLanes =
8927
+ (JSCompiler_object_inline_stack_2313.childLanes =
8887
8928
  getRemainingWorkInPrimaryTree(
8888
8929
  current,
8889
- JSCompiler_object_inline_digest_2321,
8930
+ JSCompiler_object_inline_digest_2312,
8890
8931
  renderLanes
8891
8932
  )),
8892
8933
  (workInProgress.memoizedState = SUSPENDED_MARKER),
8893
8934
  (workInProgress =
8894
- JSCompiler_object_inline_componentStack_2323));
8935
+ JSCompiler_object_inline_componentStack_2314));
8895
8936
  else if (
8896
8937
  (pushPrimaryTreeSuspenseHandler(workInProgress),
8897
8938
  isHydrating &&
8898
8939
  console.error(
8899
8940
  "We should not be hydrating here. This is a bug in React. Please file a bug."
8900
8941
  ),
8901
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2320))
8942
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2311))
8902
8943
  ) {
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;
8944
+ JSCompiler_object_inline_digest_2312 =
8945
+ JSCompiler_object_inline_message_2311.nextSibling &&
8946
+ JSCompiler_object_inline_message_2311.nextSibling.dataset;
8947
+ if (JSCompiler_object_inline_digest_2312) {
8948
+ JSCompiler_temp = JSCompiler_object_inline_digest_2312.dgst;
8949
+ var message = JSCompiler_object_inline_digest_2312.msg;
8950
+ instance = JSCompiler_object_inline_digest_2312.stck;
8951
+ var componentStack = JSCompiler_object_inline_digest_2312.cstck;
8911
8952
  }
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 =
8953
+ JSCompiler_object_inline_message_2311 = message;
8954
+ JSCompiler_object_inline_digest_2312 = JSCompiler_temp;
8955
+ JSCompiler_object_inline_stack_2313 = instance;
8956
+ JSCompiler_temp = JSCompiler_object_inline_componentStack_2314 =
8916
8957
  componentStack;
8917
- JSCompiler_object_inline_componentStack_2323 =
8918
- JSCompiler_object_inline_message_2320
8919
- ? Error(JSCompiler_object_inline_message_2320)
8958
+ JSCompiler_object_inline_componentStack_2314 =
8959
+ JSCompiler_object_inline_message_2311
8960
+ ? Error(JSCompiler_object_inline_message_2311)
8920
8961
  : Error(
8921
8962
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
8922
8963
  );
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 =
8964
+ JSCompiler_object_inline_componentStack_2314.stack =
8965
+ JSCompiler_object_inline_stack_2313 || "";
8966
+ JSCompiler_object_inline_componentStack_2314.digest =
8967
+ JSCompiler_object_inline_digest_2312;
8968
+ JSCompiler_object_inline_digest_2312 =
8928
8969
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
8929
- JSCompiler_object_inline_stack_2322 = {
8930
- value: JSCompiler_object_inline_componentStack_2323,
8970
+ JSCompiler_object_inline_stack_2313 = {
8971
+ value: JSCompiler_object_inline_componentStack_2314,
8931
8972
  source: null,
8932
- stack: JSCompiler_object_inline_digest_2321
8973
+ stack: JSCompiler_object_inline_digest_2312
8933
8974
  };
8934
- "string" === typeof JSCompiler_object_inline_digest_2321 &&
8975
+ "string" === typeof JSCompiler_object_inline_digest_2312 &&
8935
8976
  CapturedStacks.set(
8936
- JSCompiler_object_inline_componentStack_2323,
8937
- JSCompiler_object_inline_stack_2322
8977
+ JSCompiler_object_inline_componentStack_2314,
8978
+ JSCompiler_object_inline_stack_2313
8938
8979
  );
8939
- queueHydrationError(JSCompiler_object_inline_stack_2322);
8980
+ queueHydrationError(JSCompiler_object_inline_stack_2313);
8940
8981
  workInProgress = retrySuspenseComponentWithoutHydrating(
8941
8982
  current,
8942
8983
  workInProgress,
@@ -8950,79 +8991,44 @@
8950
8991
  renderLanes,
8951
8992
  !1
8952
8993
  ),
8953
- (JSCompiler_object_inline_digest_2321 =
8994
+ (JSCompiler_object_inline_digest_2312 =
8954
8995
  0 !== (renderLanes & current.childLanes)),
8955
- didReceiveUpdate || JSCompiler_object_inline_digest_2321)
8996
+ didReceiveUpdate || JSCompiler_object_inline_digest_2312)
8956
8997
  ) {
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;
8962
- else
8963
- switch (JSCompiler_object_inline_stack_2322) {
8964
- case 2:
8965
- JSCompiler_object_inline_stack_2322 = 1;
8966
- break;
8967
- case 8:
8968
- JSCompiler_object_inline_stack_2322 = 4;
8969
- break;
8970
- case 32:
8971
- JSCompiler_object_inline_stack_2322 = 16;
8972
- break;
8973
- case 128:
8974
- case 256:
8975
- case 512:
8976
- case 1024:
8977
- case 2048:
8978
- case 4096:
8979
- case 8192:
8980
- case 16384:
8981
- case 32768:
8982
- case 65536:
8983
- case 131072:
8984
- case 262144:
8985
- case 524288:
8986
- case 1048576:
8987
- case 2097152:
8988
- case 4194304:
8989
- case 8388608:
8990
- case 16777216:
8991
- case 33554432:
8992
- JSCompiler_object_inline_stack_2322 = 64;
8993
- break;
8994
- case 268435456:
8995
- JSCompiler_object_inline_stack_2322 = 134217728;
8996
- break;
8997
- default:
8998
- JSCompiler_object_inline_stack_2322 = 0;
8999
- }
9000
- JSCompiler_object_inline_stack_2322 =
8998
+ JSCompiler_object_inline_digest_2312 = workInProgressRoot;
8999
+ if (
9000
+ null !== JSCompiler_object_inline_digest_2312 &&
9001
+ ((JSCompiler_object_inline_stack_2313 = renderLanes & -renderLanes),
9002
+ (JSCompiler_object_inline_stack_2313 =
9003
+ 0 !== (JSCompiler_object_inline_stack_2313 & 42)
9004
+ ? 1
9005
+ : getBumpedLaneForHydrationByLane(
9006
+ JSCompiler_object_inline_stack_2313
9007
+ )),
9008
+ (JSCompiler_object_inline_stack_2313 =
9001
9009
  0 !==
9002
- (JSCompiler_object_inline_stack_2322 &
9003
- (JSCompiler_object_inline_digest_2321.suspendedLanes |
9010
+ (JSCompiler_object_inline_stack_2313 &
9011
+ (JSCompiler_object_inline_digest_2312.suspendedLanes |
9004
9012
  renderLanes))
9005
9013
  ? 0
9006
- : JSCompiler_object_inline_stack_2322;
9007
- if (
9008
- 0 !== JSCompiler_object_inline_stack_2322 &&
9009
- JSCompiler_object_inline_stack_2322 !== prevState.retryLane
9010
- )
9011
- throw (
9012
- ((prevState.retryLane = JSCompiler_object_inline_stack_2322),
9013
- enqueueConcurrentRenderForLane(
9014
- current,
9015
- JSCompiler_object_inline_stack_2322
9016
- ),
9017
- scheduleUpdateOnFiber(
9018
- JSCompiler_object_inline_digest_2321,
9019
- current,
9020
- JSCompiler_object_inline_stack_2322
9021
- ),
9022
- SelectiveHydrationException)
9023
- );
9024
- }
9025
- JSCompiler_object_inline_message_2320.data ===
9014
+ : JSCompiler_object_inline_stack_2313),
9015
+ 0 !== JSCompiler_object_inline_stack_2313 &&
9016
+ JSCompiler_object_inline_stack_2313 !== prevState.retryLane)
9017
+ )
9018
+ throw (
9019
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2313),
9020
+ enqueueConcurrentRenderForLane(
9021
+ current,
9022
+ JSCompiler_object_inline_stack_2313
9023
+ ),
9024
+ scheduleUpdateOnFiber(
9025
+ JSCompiler_object_inline_digest_2312,
9026
+ current,
9027
+ JSCompiler_object_inline_stack_2313
9028
+ ),
9029
+ SelectiveHydrationException)
9030
+ );
9031
+ JSCompiler_object_inline_message_2311.data ===
9026
9032
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9027
9033
  workInProgress = retrySuspenseComponentWithoutHydrating(
9028
9034
  current,
@@ -9030,14 +9036,14 @@
9030
9036
  renderLanes
9031
9037
  );
9032
9038
  } else
9033
- JSCompiler_object_inline_message_2320.data ===
9039
+ JSCompiler_object_inline_message_2311.data ===
9034
9040
  SUSPENSE_PENDING_START_DATA
9035
9041
  ? ((workInProgress.flags |= 192),
9036
9042
  (workInProgress.child = current.child),
9037
9043
  (workInProgress = null))
9038
9044
  : ((current = prevState.treeContext),
9039
9045
  (nextHydratableInstance = getNextHydratable(
9040
- JSCompiler_object_inline_message_2320.nextSibling
9046
+ JSCompiler_object_inline_message_2311.nextSibling
9041
9047
  )),
9042
9048
  (hydrationParentFiber = workInProgress),
9043
9049
  (isHydrating = !0),
@@ -9055,57 +9061,57 @@
9055
9061
  (treeContextProvider = workInProgress)),
9056
9062
  (workInProgress = mountSuspensePrimaryChildren(
9057
9063
  workInProgress,
9058
- JSCompiler_object_inline_stack_2322.children
9064
+ JSCompiler_object_inline_stack_2313.children
9059
9065
  )),
9060
9066
  (workInProgress.flags |= 4096));
9061
9067
  return workInProgress;
9062
9068
  }
9063
- if (JSCompiler_object_inline_componentStack_2323)
9069
+ if (JSCompiler_object_inline_componentStack_2314)
9064
9070
  return (
9065
9071
  reuseSuspenseHandlerOnStack(workInProgress),
9066
- (JSCompiler_object_inline_componentStack_2323 =
9067
- JSCompiler_object_inline_stack_2322.fallback),
9068
- (JSCompiler_object_inline_message_2320 = workInProgress.mode),
9072
+ (JSCompiler_object_inline_componentStack_2314 =
9073
+ JSCompiler_object_inline_stack_2313.fallback),
9074
+ (JSCompiler_object_inline_message_2311 = workInProgress.mode),
9069
9075
  (JSCompiler_temp = current.child),
9070
9076
  (instance = JSCompiler_temp.sibling),
9071
- (JSCompiler_object_inline_stack_2322 = createWorkInProgress(
9077
+ (JSCompiler_object_inline_stack_2313 = createWorkInProgress(
9072
9078
  JSCompiler_temp,
9073
9079
  {
9074
9080
  mode: "hidden",
9075
- children: JSCompiler_object_inline_stack_2322.children
9081
+ children: JSCompiler_object_inline_stack_2313.children
9076
9082
  }
9077
9083
  )),
9078
- (JSCompiler_object_inline_stack_2322.subtreeFlags =
9084
+ (JSCompiler_object_inline_stack_2313.subtreeFlags =
9079
9085
  JSCompiler_temp.subtreeFlags & 31457280),
9080
9086
  null !== instance
9081
- ? (JSCompiler_object_inline_componentStack_2323 =
9087
+ ? (JSCompiler_object_inline_componentStack_2314 =
9082
9088
  createWorkInProgress(
9083
9089
  instance,
9084
- JSCompiler_object_inline_componentStack_2323
9090
+ JSCompiler_object_inline_componentStack_2314
9085
9091
  ))
9086
- : ((JSCompiler_object_inline_componentStack_2323 =
9092
+ : ((JSCompiler_object_inline_componentStack_2314 =
9087
9093
  createFiberFromFragment(
9088
- JSCompiler_object_inline_componentStack_2323,
9089
- JSCompiler_object_inline_message_2320,
9094
+ JSCompiler_object_inline_componentStack_2314,
9095
+ JSCompiler_object_inline_message_2311,
9090
9096
  renderLanes,
9091
9097
  null
9092
9098
  )),
9093
- (JSCompiler_object_inline_componentStack_2323.flags |= 2)),
9094
- (JSCompiler_object_inline_componentStack_2323.return =
9099
+ (JSCompiler_object_inline_componentStack_2314.flags |= 2)),
9100
+ (JSCompiler_object_inline_componentStack_2314.return =
9095
9101
  workInProgress),
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 =
9102
+ (JSCompiler_object_inline_stack_2313.return = workInProgress),
9103
+ (JSCompiler_object_inline_stack_2313.sibling =
9104
+ JSCompiler_object_inline_componentStack_2314),
9105
+ (workInProgress.child = JSCompiler_object_inline_stack_2313),
9106
+ (JSCompiler_object_inline_stack_2313 =
9107
+ JSCompiler_object_inline_componentStack_2314),
9108
+ (JSCompiler_object_inline_componentStack_2314 = workInProgress.child),
9109
+ (JSCompiler_object_inline_message_2311 = current.child.memoizedState),
9110
+ null === JSCompiler_object_inline_message_2311
9111
+ ? (JSCompiler_object_inline_message_2311 =
9106
9112
  mountSuspenseOffscreenState(renderLanes))
9107
9113
  : ((JSCompiler_temp =
9108
- JSCompiler_object_inline_message_2320.cachePool),
9114
+ JSCompiler_object_inline_message_2311.cachePool),
9109
9115
  null !== JSCompiler_temp
9110
9116
  ? ((instance = CacheContext._currentValue),
9111
9117
  (JSCompiler_temp =
@@ -9113,37 +9119,37 @@
9113
9119
  ? { parent: instance, pool: instance }
9114
9120
  : JSCompiler_temp))
9115
9121
  : (JSCompiler_temp = getSuspendedCache()),
9116
- (JSCompiler_object_inline_message_2320 = {
9122
+ (JSCompiler_object_inline_message_2311 = {
9117
9123
  baseLanes:
9118
- JSCompiler_object_inline_message_2320.baseLanes | renderLanes,
9124
+ JSCompiler_object_inline_message_2311.baseLanes | renderLanes,
9119
9125
  cachePool: JSCompiler_temp
9120
9126
  })),
9121
- (JSCompiler_object_inline_componentStack_2323.memoizedState =
9122
- JSCompiler_object_inline_message_2320),
9123
- (JSCompiler_object_inline_componentStack_2323.childLanes =
9127
+ (JSCompiler_object_inline_componentStack_2314.memoizedState =
9128
+ JSCompiler_object_inline_message_2311),
9129
+ (JSCompiler_object_inline_componentStack_2314.childLanes =
9124
9130
  getRemainingWorkInPrimaryTree(
9125
9131
  current,
9126
- JSCompiler_object_inline_digest_2321,
9132
+ JSCompiler_object_inline_digest_2312,
9127
9133
  renderLanes
9128
9134
  )),
9129
9135
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9130
- JSCompiler_object_inline_stack_2322
9136
+ JSCompiler_object_inline_stack_2313
9131
9137
  );
9132
9138
  pushPrimaryTreeSuspenseHandler(workInProgress);
9133
9139
  renderLanes = current.child;
9134
9140
  current = renderLanes.sibling;
9135
9141
  renderLanes = createWorkInProgress(renderLanes, {
9136
9142
  mode: "visible",
9137
- children: JSCompiler_object_inline_stack_2322.children
9143
+ children: JSCompiler_object_inline_stack_2313.children
9138
9144
  });
9139
9145
  renderLanes.return = workInProgress;
9140
9146
  renderLanes.sibling = null;
9141
9147
  null !== current &&
9142
- ((JSCompiler_object_inline_digest_2321 = workInProgress.deletions),
9143
- null === JSCompiler_object_inline_digest_2321
9148
+ ((JSCompiler_object_inline_digest_2312 = workInProgress.deletions),
9149
+ null === JSCompiler_object_inline_digest_2312
9144
9150
  ? ((workInProgress.deletions = [current]),
9145
9151
  (workInProgress.flags |= 16))
9146
- : JSCompiler_object_inline_digest_2321.push(current));
9152
+ : JSCompiler_object_inline_digest_2312.push(current));
9147
9153
  workInProgress.child = renderLanes;
9148
9154
  workInProgress.memoizedState = null;
9149
9155
  return renderLanes;
@@ -18145,7 +18151,7 @@
18145
18151
  console.error(
18146
18152
  "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."
18147
18153
  );
18148
- else if (canDiffStyleForHydrationWarning) {
18154
+ else {
18149
18155
  var clientValue;
18150
18156
  var delimiter = (clientValue = ""),
18151
18157
  styleName;
@@ -18564,42 +18570,36 @@
18564
18570
  }
18565
18571
  case "src":
18566
18572
  case "href":
18567
- if (
18568
- !(
18569
- "" !== propKey ||
18570
- ("a" === tag && "href" === value) ||
18571
- ("object" === tag && "data" === value)
18572
- )
18573
- ) {
18574
- "src" === value
18575
- ? console.error(
18576
- 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
18577
- value,
18578
- value
18579
- )
18580
- : console.error(
18581
- 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
18582
- value,
18583
- value
18584
- );
18585
- hydrateSanitizedAttribute(
18586
- domElement,
18587
- value,
18588
- value,
18589
- null,
18590
- extraAttributes,
18591
- serverDifferences
18592
- );
18593
- continue;
18594
- }
18595
- hydrateSanitizedAttribute(
18596
- domElement,
18597
- value,
18598
- value,
18599
- propKey,
18600
- extraAttributes,
18601
- serverDifferences
18602
- );
18573
+ "" !== propKey ||
18574
+ ("a" === tag && "href" === value) ||
18575
+ ("object" === tag && "data" === value)
18576
+ ? hydrateSanitizedAttribute(
18577
+ domElement,
18578
+ value,
18579
+ value,
18580
+ propKey,
18581
+ extraAttributes,
18582
+ serverDifferences
18583
+ )
18584
+ : ("src" === value
18585
+ ? console.error(
18586
+ 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
18587
+ value,
18588
+ value
18589
+ )
18590
+ : console.error(
18591
+ 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
18592
+ value,
18593
+ value
18594
+ ),
18595
+ hydrateSanitizedAttribute(
18596
+ domElement,
18597
+ value,
18598
+ value,
18599
+ null,
18600
+ extraAttributes,
18601
+ serverDifferences
18602
+ ));
18603
18603
  continue;
18604
18604
  case "action":
18605
18605
  case "formAction":
@@ -20768,8 +20768,12 @@
20768
20768
  queuedTarget.blockedOn = targetInst;
20769
20769
  runWithPriority(queuedTarget.priority, function () {
20770
20770
  if (13 === nearestMounted.tag) {
20771
- var lane = requestUpdateLane(nearestMounted),
20772
- root = enqueueConcurrentRenderForLane(nearestMounted, lane);
20771
+ var lane = requestUpdateLane(nearestMounted);
20772
+ lane = getBumpedLaneForHydrationByLane(lane);
20773
+ var root = enqueueConcurrentRenderForLane(
20774
+ nearestMounted,
20775
+ lane
20776
+ );
20773
20777
  null !== root &&
20774
20778
  scheduleUpdateOnFiber(root, nearestMounted, lane);
20775
20779
  markRetryLaneIfNotHydrated(nearestMounted, lane);
@@ -21013,7 +21017,6 @@
21013
21017
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
21014
21018
  REACT_LAZY_TYPE = Symbol.for("react.lazy");
21015
21019
  Symbol.for("react.scope");
21016
- Symbol.for("react.debug_trace_mode");
21017
21020
  var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
21018
21021
  Symbol.for("react.legacy_hidden");
21019
21022
  Symbol.for("react.tracing_marker");
@@ -21096,11 +21099,6 @@
21096
21099
  allNativeEvents = new Set(),
21097
21100
  registrationNameDependencies = {},
21098
21101
  possibleRegistrationNames = {},
21099
- canUseDOM = !(
21100
- "undefined" === typeof window ||
21101
- "undefined" === typeof window.document ||
21102
- "undefined" === typeof window.document.createElement
21103
- ),
21104
21102
  hasReadOnlyValue = {
21105
21103
  button: !0,
21106
21104
  checkbox: !0,
@@ -21147,8 +21145,6 @@
21147
21145
  containerTagInScope: null
21148
21146
  },
21149
21147
  didWarn = {},
21150
- MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
21151
- SVG_NAMESPACE = "http://www.w3.org/2000/svg",
21152
21148
  shorthandToLonghand = {
21153
21149
  animation:
21154
21150
  "animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(
@@ -21299,6 +21295,8 @@
21299
21295
  " "
21300
21296
  )
21301
21297
  ),
21298
+ MATH_NAMESPACE = "http://www.w3.org/1998/Math/MathML",
21299
+ SVG_NAMESPACE = "http://www.w3.org/2000/svg",
21302
21300
  aliases = new Map([
21303
21301
  ["acceptCharset", "accept-charset"],
21304
21302
  ["htmlFor", "for"],
@@ -21947,6 +21945,11 @@
21947
21945
  restoreTarget = null,
21948
21946
  restoreQueue = null,
21949
21947
  isInsideEventHandler = !1,
21948
+ canUseDOM = !(
21949
+ "undefined" === typeof window ||
21950
+ "undefined" === typeof window.document ||
21951
+ "undefined" === typeof window.document.createElement
21952
+ ),
21950
21953
  passiveBrowserEventsSupported = !1;
21951
21954
  if (canUseDOM)
21952
21955
  try {
@@ -22597,36 +22600,33 @@
22597
22600
  currentHookNameInDev = null,
22598
22601
  hookTypesDev = null,
22599
22602
  hookTypesUpdateIndexDev = -1,
22600
- ignorePreviousDependencies = !1;
22601
- var createFunctionComponentUpdateQueue = function () {
22602
- return { lastEffect: null, events: null, stores: null, memoCache: null };
22603
- };
22604
- var ContextOnlyDispatcher = {
22605
- readContext: readContext,
22606
- use: use,
22607
- useCallback: throwInvalidHookError,
22608
- useContext: throwInvalidHookError,
22609
- useEffect: throwInvalidHookError,
22610
- useImperativeHandle: throwInvalidHookError,
22611
- useLayoutEffect: throwInvalidHookError,
22612
- useInsertionEffect: throwInvalidHookError,
22613
- useMemo: throwInvalidHookError,
22614
- useReducer: throwInvalidHookError,
22615
- useRef: throwInvalidHookError,
22616
- useState: throwInvalidHookError,
22617
- useDebugValue: throwInvalidHookError,
22618
- useDeferredValue: throwInvalidHookError,
22619
- useTransition: throwInvalidHookError,
22620
- useSyncExternalStore: throwInvalidHookError,
22621
- useId: throwInvalidHookError
22622
- };
22623
- ContextOnlyDispatcher.useCacheRefresh = throwInvalidHookError;
22624
- ContextOnlyDispatcher.useMemoCache = throwInvalidHookError;
22625
- ContextOnlyDispatcher.useHostTransitionStatus = throwInvalidHookError;
22626
- ContextOnlyDispatcher.useFormState = throwInvalidHookError;
22627
- ContextOnlyDispatcher.useActionState = throwInvalidHookError;
22628
- ContextOnlyDispatcher.useOptimistic = throwInvalidHookError;
22629
- var HooksDispatcherOnMountInDEV = null,
22603
+ ignorePreviousDependencies = !1,
22604
+ ContextOnlyDispatcher = {
22605
+ readContext: readContext,
22606
+ use: use,
22607
+ useCallback: throwInvalidHookError,
22608
+ useContext: throwInvalidHookError,
22609
+ useEffect: throwInvalidHookError,
22610
+ useImperativeHandle: throwInvalidHookError,
22611
+ useLayoutEffect: throwInvalidHookError,
22612
+ useInsertionEffect: throwInvalidHookError,
22613
+ useMemo: throwInvalidHookError,
22614
+ useReducer: throwInvalidHookError,
22615
+ useRef: throwInvalidHookError,
22616
+ useState: throwInvalidHookError,
22617
+ useDebugValue: throwInvalidHookError,
22618
+ useDeferredValue: throwInvalidHookError,
22619
+ useTransition: throwInvalidHookError,
22620
+ useSyncExternalStore: throwInvalidHookError,
22621
+ useId: throwInvalidHookError,
22622
+ useHostTransitionStatus: throwInvalidHookError,
22623
+ useFormState: throwInvalidHookError,
22624
+ useActionState: throwInvalidHookError,
22625
+ useOptimistic: throwInvalidHookError,
22626
+ useMemoCache: throwInvalidHookError,
22627
+ useCacheRefresh: throwInvalidHookError
22628
+ },
22629
+ HooksDispatcherOnMountInDEV = null,
22630
22630
  HooksDispatcherOnMountWithHookTypesInDEV = null,
22631
22631
  HooksDispatcherOnUpdateInDEV = null,
22632
22632
  HooksDispatcherOnRerenderInDEV = null,
@@ -22744,34 +22744,30 @@
22744
22744
  mountHookTypesDev();
22745
22745
  return mountId();
22746
22746
  },
22747
+ useFormState: function (action, initialState) {
22748
+ currentHookNameInDev = "useFormState";
22749
+ mountHookTypesDev();
22750
+ warnOnUseFormStateInDev();
22751
+ return mountActionState(action, initialState);
22752
+ },
22753
+ useActionState: function (action, initialState) {
22754
+ currentHookNameInDev = "useActionState";
22755
+ mountHookTypesDev();
22756
+ return mountActionState(action, initialState);
22757
+ },
22758
+ useOptimistic: function (passthrough) {
22759
+ currentHookNameInDev = "useOptimistic";
22760
+ mountHookTypesDev();
22761
+ return mountOptimistic(passthrough);
22762
+ },
22763
+ useHostTransitionStatus: useHostTransitionStatus,
22764
+ useMemoCache: useMemoCache,
22747
22765
  useCacheRefresh: function () {
22748
22766
  currentHookNameInDev = "useCacheRefresh";
22749
22767
  mountHookTypesDev();
22750
22768
  return mountRefresh();
22751
22769
  }
22752
22770
  };
22753
- HooksDispatcherOnMountInDEV.useMemoCache = useMemoCache;
22754
- HooksDispatcherOnMountInDEV.useHostTransitionStatus =
22755
- useHostTransitionStatus;
22756
- HooksDispatcherOnMountInDEV.useFormState = function (action, initialState) {
22757
- currentHookNameInDev = "useFormState";
22758
- mountHookTypesDev();
22759
- warnOnUseFormStateInDev();
22760
- return mountActionState(action, initialState);
22761
- };
22762
- HooksDispatcherOnMountInDEV.useActionState = function (
22763
- action,
22764
- initialState
22765
- ) {
22766
- currentHookNameInDev = "useActionState";
22767
- mountHookTypesDev();
22768
- return mountActionState(action, initialState);
22769
- };
22770
- HooksDispatcherOnMountInDEV.useOptimistic = function (passthrough) {
22771
- currentHookNameInDev = "useOptimistic";
22772
- mountHookTypesDev();
22773
- return mountOptimistic(passthrough);
22774
- };
22775
22771
  HooksDispatcherOnMountWithHookTypesInDEV = {
22776
22772
  readContext: function (context) {
22777
22773
  return readContext(context);
@@ -22877,39 +22873,30 @@
22877
22873
  updateHookTypesDev();
22878
22874
  return mountId();
22879
22875
  },
22876
+ useActionState: function (action, initialState) {
22877
+ currentHookNameInDev = "useActionState";
22878
+ updateHookTypesDev();
22879
+ return mountActionState(action, initialState);
22880
+ },
22881
+ useFormState: function (action, initialState) {
22882
+ currentHookNameInDev = "useFormState";
22883
+ updateHookTypesDev();
22884
+ warnOnUseFormStateInDev();
22885
+ return mountActionState(action, initialState);
22886
+ },
22887
+ useOptimistic: function (passthrough) {
22888
+ currentHookNameInDev = "useOptimistic";
22889
+ updateHookTypesDev();
22890
+ return mountOptimistic(passthrough);
22891
+ },
22892
+ useHostTransitionStatus: useHostTransitionStatus,
22893
+ useMemoCache: useMemoCache,
22880
22894
  useCacheRefresh: function () {
22881
22895
  currentHookNameInDev = "useCacheRefresh";
22882
22896
  updateHookTypesDev();
22883
22897
  return mountRefresh();
22884
22898
  }
22885
22899
  };
22886
- HooksDispatcherOnMountWithHookTypesInDEV.useMemoCache = useMemoCache;
22887
- HooksDispatcherOnMountWithHookTypesInDEV.useHostTransitionStatus =
22888
- useHostTransitionStatus;
22889
- HooksDispatcherOnMountWithHookTypesInDEV.useFormState = function (
22890
- action,
22891
- initialState
22892
- ) {
22893
- currentHookNameInDev = "useFormState";
22894
- updateHookTypesDev();
22895
- warnOnUseFormStateInDev();
22896
- return mountActionState(action, initialState);
22897
- };
22898
- HooksDispatcherOnMountWithHookTypesInDEV.useActionState = function (
22899
- action,
22900
- initialState
22901
- ) {
22902
- currentHookNameInDev = "useActionState";
22903
- updateHookTypesDev();
22904
- return mountActionState(action, initialState);
22905
- };
22906
- HooksDispatcherOnMountWithHookTypesInDEV.useOptimistic = function (
22907
- passthrough
22908
- ) {
22909
- currentHookNameInDev = "useOptimistic";
22910
- updateHookTypesDev();
22911
- return mountOptimistic(passthrough);
22912
- };
22913
22900
  HooksDispatcherOnUpdateInDEV = {
22914
22901
  readContext: function (context) {
22915
22902
  return readContext(context);
@@ -23015,34 +23002,30 @@
23015
23002
  updateHookTypesDev();
23016
23003
  return updateWorkInProgressHook().memoizedState;
23017
23004
  },
23005
+ useFormState: function (action) {
23006
+ currentHookNameInDev = "useFormState";
23007
+ updateHookTypesDev();
23008
+ warnOnUseFormStateInDev();
23009
+ return updateActionState(action);
23010
+ },
23011
+ useActionState: function (action) {
23012
+ currentHookNameInDev = "useActionState";
23013
+ updateHookTypesDev();
23014
+ return updateActionState(action);
23015
+ },
23016
+ useOptimistic: function (passthrough, reducer) {
23017
+ currentHookNameInDev = "useOptimistic";
23018
+ updateHookTypesDev();
23019
+ return updateOptimistic(passthrough, reducer);
23020
+ },
23021
+ useHostTransitionStatus: useHostTransitionStatus,
23022
+ useMemoCache: useMemoCache,
23018
23023
  useCacheRefresh: function () {
23019
23024
  currentHookNameInDev = "useCacheRefresh";
23020
23025
  updateHookTypesDev();
23021
23026
  return updateWorkInProgressHook().memoizedState;
23022
23027
  }
23023
23028
  };
23024
- HooksDispatcherOnUpdateInDEV.useMemoCache = useMemoCache;
23025
- HooksDispatcherOnUpdateInDEV.useHostTransitionStatus =
23026
- useHostTransitionStatus;
23027
- HooksDispatcherOnUpdateInDEV.useFormState = function (action) {
23028
- currentHookNameInDev = "useFormState";
23029
- updateHookTypesDev();
23030
- warnOnUseFormStateInDev();
23031
- return updateActionState(action);
23032
- };
23033
- HooksDispatcherOnUpdateInDEV.useActionState = function (action) {
23034
- currentHookNameInDev = "useActionState";
23035
- updateHookTypesDev();
23036
- return updateActionState(action);
23037
- };
23038
- HooksDispatcherOnUpdateInDEV.useOptimistic = function (
23039
- passthrough,
23040
- reducer
23041
- ) {
23042
- currentHookNameInDev = "useOptimistic";
23043
- updateHookTypesDev();
23044
- return updateOptimistic(passthrough, reducer);
23045
- };
23046
23029
  HooksDispatcherOnRerenderInDEV = {
23047
23030
  readContext: function (context) {
23048
23031
  return readContext(context);
@@ -23148,34 +23131,30 @@
23148
23131
  updateHookTypesDev();
23149
23132
  return updateWorkInProgressHook().memoizedState;
23150
23133
  },
23134
+ useFormState: function (action) {
23135
+ currentHookNameInDev = "useFormState";
23136
+ updateHookTypesDev();
23137
+ warnOnUseFormStateInDev();
23138
+ return rerenderActionState(action);
23139
+ },
23140
+ useActionState: function (action) {
23141
+ currentHookNameInDev = "useActionState";
23142
+ updateHookTypesDev();
23143
+ return rerenderActionState(action);
23144
+ },
23145
+ useOptimistic: function (passthrough, reducer) {
23146
+ currentHookNameInDev = "useOptimistic";
23147
+ updateHookTypesDev();
23148
+ return rerenderOptimistic(passthrough, reducer);
23149
+ },
23150
+ useHostTransitionStatus: useHostTransitionStatus,
23151
+ useMemoCache: useMemoCache,
23151
23152
  useCacheRefresh: function () {
23152
23153
  currentHookNameInDev = "useCacheRefresh";
23153
23154
  updateHookTypesDev();
23154
23155
  return updateWorkInProgressHook().memoizedState;
23155
23156
  }
23156
23157
  };
23157
- HooksDispatcherOnRerenderInDEV.useMemoCache = useMemoCache;
23158
- HooksDispatcherOnRerenderInDEV.useHostTransitionStatus =
23159
- useHostTransitionStatus;
23160
- HooksDispatcherOnRerenderInDEV.useFormState = function (action) {
23161
- currentHookNameInDev = "useFormState";
23162
- updateHookTypesDev();
23163
- warnOnUseFormStateInDev();
23164
- return rerenderActionState(action);
23165
- };
23166
- HooksDispatcherOnRerenderInDEV.useActionState = function (action) {
23167
- currentHookNameInDev = "useActionState";
23168
- updateHookTypesDev();
23169
- return rerenderActionState(action);
23170
- };
23171
- HooksDispatcherOnRerenderInDEV.useOptimistic = function (
23172
- passthrough,
23173
- reducer
23174
- ) {
23175
- currentHookNameInDev = "useOptimistic";
23176
- updateHookTypesDev();
23177
- return rerenderOptimistic(passthrough, reducer);
23178
- };
23179
23158
  InvalidNestedHooksDispatcherOnMountInDEV = {
23180
23159
  readContext: function (context) {
23181
23160
  warnInvalidContextAccess();
@@ -23300,44 +23279,35 @@
23300
23279
  mountHookTypesDev();
23301
23280
  return mountId();
23302
23281
  },
23303
- useCacheRefresh: function () {
23304
- currentHookNameInDev = "useCacheRefresh";
23282
+ useFormState: function (action, initialState) {
23283
+ currentHookNameInDev = "useFormState";
23284
+ warnInvalidHookAccess();
23305
23285
  mountHookTypesDev();
23306
- return mountRefresh();
23286
+ return mountActionState(action, initialState);
23287
+ },
23288
+ useActionState: function (action, initialState) {
23289
+ currentHookNameInDev = "useActionState";
23290
+ warnInvalidHookAccess();
23291
+ mountHookTypesDev();
23292
+ return mountActionState(action, initialState);
23293
+ },
23294
+ useOptimistic: function (passthrough) {
23295
+ currentHookNameInDev = "useOptimistic";
23296
+ warnInvalidHookAccess();
23297
+ mountHookTypesDev();
23298
+ return mountOptimistic(passthrough);
23307
23299
  },
23308
23300
  useMemoCache: function (size) {
23309
23301
  warnInvalidHookAccess();
23310
23302
  return useMemoCache(size);
23303
+ },
23304
+ useHostTransitionStatus: useHostTransitionStatus,
23305
+ useCacheRefresh: function () {
23306
+ currentHookNameInDev = "useCacheRefresh";
23307
+ mountHookTypesDev();
23308
+ return mountRefresh();
23311
23309
  }
23312
23310
  };
23313
- InvalidNestedHooksDispatcherOnMountInDEV.useHostTransitionStatus =
23314
- useHostTransitionStatus;
23315
- InvalidNestedHooksDispatcherOnMountInDEV.useFormState = function (
23316
- action,
23317
- initialState
23318
- ) {
23319
- currentHookNameInDev = "useFormState";
23320
- warnInvalidHookAccess();
23321
- mountHookTypesDev();
23322
- return mountActionState(action, initialState);
23323
- };
23324
- InvalidNestedHooksDispatcherOnMountInDEV.useActionState = function (
23325
- action,
23326
- initialState
23327
- ) {
23328
- currentHookNameInDev = "useActionState";
23329
- warnInvalidHookAccess();
23330
- mountHookTypesDev();
23331
- return mountActionState(action, initialState);
23332
- };
23333
- InvalidNestedHooksDispatcherOnMountInDEV.useOptimistic = function (
23334
- passthrough
23335
- ) {
23336
- currentHookNameInDev = "useOptimistic";
23337
- warnInvalidHookAccess();
23338
- mountHookTypesDev();
23339
- return mountOptimistic(passthrough);
23340
- };
23341
23311
  InvalidNestedHooksDispatcherOnUpdateInDEV = {
23342
23312
  readContext: function (context) {
23343
23313
  warnInvalidContextAccess();
@@ -23462,41 +23432,35 @@
23462
23432
  updateHookTypesDev();
23463
23433
  return updateWorkInProgressHook().memoizedState;
23464
23434
  },
23465
- useCacheRefresh: function () {
23466
- currentHookNameInDev = "useCacheRefresh";
23435
+ useFormState: function (action) {
23436
+ currentHookNameInDev = "useFormState";
23437
+ warnInvalidHookAccess();
23467
23438
  updateHookTypesDev();
23468
- return updateWorkInProgressHook().memoizedState;
23439
+ return updateActionState(action);
23440
+ },
23441
+ useActionState: function (action) {
23442
+ currentHookNameInDev = "useActionState";
23443
+ warnInvalidHookAccess();
23444
+ updateHookTypesDev();
23445
+ return updateActionState(action);
23446
+ },
23447
+ useOptimistic: function (passthrough, reducer) {
23448
+ currentHookNameInDev = "useOptimistic";
23449
+ warnInvalidHookAccess();
23450
+ updateHookTypesDev();
23451
+ return updateOptimistic(passthrough, reducer);
23469
23452
  },
23470
23453
  useMemoCache: function (size) {
23471
23454
  warnInvalidHookAccess();
23472
23455
  return useMemoCache(size);
23456
+ },
23457
+ useHostTransitionStatus: useHostTransitionStatus,
23458
+ useCacheRefresh: function () {
23459
+ currentHookNameInDev = "useCacheRefresh";
23460
+ updateHookTypesDev();
23461
+ return updateWorkInProgressHook().memoizedState;
23473
23462
  }
23474
23463
  };
23475
- InvalidNestedHooksDispatcherOnUpdateInDEV.useHostTransitionStatus =
23476
- useHostTransitionStatus;
23477
- InvalidNestedHooksDispatcherOnUpdateInDEV.useFormState = function (action) {
23478
- currentHookNameInDev = "useFormState";
23479
- warnInvalidHookAccess();
23480
- updateHookTypesDev();
23481
- return updateActionState(action);
23482
- };
23483
- InvalidNestedHooksDispatcherOnUpdateInDEV.useActionState = function (
23484
- action
23485
- ) {
23486
- currentHookNameInDev = "useActionState";
23487
- warnInvalidHookAccess();
23488
- updateHookTypesDev();
23489
- return updateActionState(action);
23490
- };
23491
- InvalidNestedHooksDispatcherOnUpdateInDEV.useOptimistic = function (
23492
- passthrough,
23493
- reducer
23494
- ) {
23495
- currentHookNameInDev = "useOptimistic";
23496
- warnInvalidHookAccess();
23497
- updateHookTypesDev();
23498
- return updateOptimistic(passthrough, reducer);
23499
- };
23500
23464
  InvalidNestedHooksDispatcherOnRerenderInDEV = {
23501
23465
  readContext: function (context) {
23502
23466
  warnInvalidContextAccess();
@@ -23621,43 +23585,35 @@
23621
23585
  updateHookTypesDev();
23622
23586
  return updateWorkInProgressHook().memoizedState;
23623
23587
  },
23624
- useCacheRefresh: function () {
23625
- currentHookNameInDev = "useCacheRefresh";
23588
+ useFormState: function (action) {
23589
+ currentHookNameInDev = "useFormState";
23590
+ warnInvalidHookAccess();
23626
23591
  updateHookTypesDev();
23627
- return updateWorkInProgressHook().memoizedState;
23592
+ return rerenderActionState(action);
23593
+ },
23594
+ useActionState: function (action) {
23595
+ currentHookNameInDev = "useActionState";
23596
+ warnInvalidHookAccess();
23597
+ updateHookTypesDev();
23598
+ return rerenderActionState(action);
23599
+ },
23600
+ useOptimistic: function (passthrough, reducer) {
23601
+ currentHookNameInDev = "useOptimistic";
23602
+ warnInvalidHookAccess();
23603
+ updateHookTypesDev();
23604
+ return rerenderOptimistic(passthrough, reducer);
23628
23605
  },
23629
23606
  useMemoCache: function (size) {
23630
23607
  warnInvalidHookAccess();
23631
23608
  return useMemoCache(size);
23609
+ },
23610
+ useHostTransitionStatus: useHostTransitionStatus,
23611
+ useCacheRefresh: function () {
23612
+ currentHookNameInDev = "useCacheRefresh";
23613
+ updateHookTypesDev();
23614
+ return updateWorkInProgressHook().memoizedState;
23632
23615
  }
23633
23616
  };
23634
- InvalidNestedHooksDispatcherOnRerenderInDEV.useHostTransitionStatus =
23635
- useHostTransitionStatus;
23636
- InvalidNestedHooksDispatcherOnRerenderInDEV.useFormState = function (
23637
- action
23638
- ) {
23639
- currentHookNameInDev = "useFormState";
23640
- warnInvalidHookAccess();
23641
- updateHookTypesDev();
23642
- return rerenderActionState(action);
23643
- };
23644
- InvalidNestedHooksDispatcherOnRerenderInDEV.useActionState = function (
23645
- action
23646
- ) {
23647
- currentHookNameInDev = "useActionState";
23648
- warnInvalidHookAccess();
23649
- updateHookTypesDev();
23650
- return rerenderActionState(action);
23651
- };
23652
- InvalidNestedHooksDispatcherOnRerenderInDEV.useOptimistic = function (
23653
- passthrough,
23654
- reducer
23655
- ) {
23656
- currentHookNameInDev = "useOptimistic";
23657
- warnInvalidHookAccess();
23658
- updateHookTypesDev();
23659
- return rerenderOptimistic(passthrough, reducer);
23660
- };
23661
23617
  var callComponent = {
23662
23618
  "react-stack-bottom-frame": function (Component, props, secondArg) {
23663
23619
  var wasRendering = isRendering;
@@ -24169,7 +24125,6 @@
24169
24125
  didWarnFormActionMethod = !1,
24170
24126
  didWarnPopoverTargetObject = !1;
24171
24127
  var didWarnForNewBooleanPropsWithEmptyValue = {};
24172
- var canDiffStyleForHydrationWarning = !0;
24173
24128
  var NORMALIZE_NEWLINES_REGEX = /\r\n?/g,
24174
24129
  NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\u0000|\uFFFD/g,
24175
24130
  xlinkNamespace = "http://www.w3.org/1999/xlink",
@@ -24632,11 +24587,11 @@
24632
24587
  };
24633
24588
  (function () {
24634
24589
  var isomorphicReactPackageVersion = React.version;
24635
- if ("19.1.0-canary-7130d0c6-20241212" !== isomorphicReactPackageVersion)
24590
+ if ("19.1.0-canary-e06c72fc-20241215" !== isomorphicReactPackageVersion)
24636
24591
  throw Error(
24637
24592
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24638
24593
  (isomorphicReactPackageVersion +
24639
- "\n - react-dom: 19.1.0-canary-7130d0c6-20241212\nLearn more: https://react.dev/warnings/version-mismatch")
24594
+ "\n - react-dom: 19.1.0-canary-e06c72fc-20241215\nLearn more: https://react.dev/warnings/version-mismatch")
24640
24595
  );
24641
24596
  })();
24642
24597
  ("function" === typeof Map &&
@@ -24673,10 +24628,10 @@
24673
24628
  !(function () {
24674
24629
  var internals = {
24675
24630
  bundleType: 1,
24676
- version: "19.1.0-canary-7130d0c6-20241212",
24631
+ version: "19.1.0-canary-e06c72fc-20241215",
24677
24632
  rendererPackageName: "react-dom",
24678
24633
  currentDispatcherRef: ReactSharedInternals,
24679
- reconcilerVersion: "19.1.0-canary-7130d0c6-20241212"
24634
+ reconcilerVersion: "19.1.0-canary-e06c72fc-20241215"
24680
24635
  };
24681
24636
  internals.overrideHookState = overrideHookState;
24682
24637
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -24867,11 +24822,13 @@
24867
24822
  initialChildren.context = getContextForSubtree(null);
24868
24823
  options = initialChildren.current;
24869
24824
  isStrictMode = requestUpdateLane(options);
24825
+ isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode);
24870
24826
  identifierPrefix = createUpdate(isStrictMode);
24871
24827
  identifierPrefix.callback = null;
24872
24828
  enqueueUpdate(options, identifierPrefix, isStrictMode);
24873
- initialChildren.current.lanes = isStrictMode;
24874
- markRootUpdated$1(initialChildren, isStrictMode);
24829
+ options = isStrictMode;
24830
+ initialChildren.current.lanes = options;
24831
+ markRootUpdated$1(initialChildren, options);
24875
24832
  ensureRootIsScheduled(initialChildren);
24876
24833
  container[internalContainerInstanceKey] = initialChildren.current;
24877
24834
  listenToAllSupportedEvents(container);
@@ -25150,7 +25107,7 @@
25150
25107
  exports.useFormStatus = function () {
25151
25108
  return resolveDispatcher().useHostTransitionStatus();
25152
25109
  };
25153
- exports.version = "19.1.0-canary-7130d0c6-20241212";
25110
+ exports.version = "19.1.0-canary-e06c72fc-20241215";
25154
25111
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25155
25112
  "function" ===
25156
25113
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&