react-dom 19.1.0-canary-f83903bf-20250212 → 19.1.0-canary-32b0cad8-20250213

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.
@@ -1365,6 +1365,27 @@
1365
1365
  "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
1366
1366
  return sampleLines;
1367
1367
  }
1368
+ function formatOwnerStack(error) {
1369
+ var prevPrepareStackTrace = Error.prepareStackTrace;
1370
+ Error.prepareStackTrace = void 0;
1371
+ error = error.stack;
1372
+ Error.prepareStackTrace = prevPrepareStackTrace;
1373
+ error.startsWith("Error: react-stack-top-frame\n") &&
1374
+ (error = error.slice(29));
1375
+ prevPrepareStackTrace = error.indexOf("\n");
1376
+ -1 !== prevPrepareStackTrace &&
1377
+ (error = error.slice(prevPrepareStackTrace + 1));
1378
+ prevPrepareStackTrace = error.indexOf("react-stack-bottom-frame");
1379
+ -1 !== prevPrepareStackTrace &&
1380
+ (prevPrepareStackTrace = error.lastIndexOf(
1381
+ "\n",
1382
+ prevPrepareStackTrace
1383
+ ));
1384
+ if (-1 !== prevPrepareStackTrace)
1385
+ error = error.slice(0, prevPrepareStackTrace);
1386
+ else return "";
1387
+ return error;
1388
+ }
1368
1389
  function describeFiber(fiber) {
1369
1390
  switch (fiber.tag) {
1370
1391
  case 26:
@@ -1413,29 +1434,96 @@
1413
1434
  return "\nError generating stack: " + x.message + "\n" + x.stack;
1414
1435
  }
1415
1436
  }
1437
+ function describeFunctionComponentFrameWithoutLineNumber(fn) {
1438
+ return (fn = fn ? fn.displayName || fn.name : "")
1439
+ ? describeBuiltInComponentFrame(fn)
1440
+ : "";
1441
+ }
1416
1442
  function getCurrentFiberOwnerNameInDevOrNull() {
1417
1443
  if (null === current) return null;
1418
1444
  var owner = current._debugOwner;
1419
1445
  return null != owner ? getComponentNameFromOwner(owner) : null;
1420
1446
  }
1421
1447
  function getCurrentFiberStackInDev() {
1422
- return null === current ? "" : getStackByFiberInDevAndProd(current);
1448
+ if (null === current) return "";
1449
+ var workInProgress = current;
1450
+ try {
1451
+ var info = "";
1452
+ 6 === workInProgress.tag && (workInProgress = workInProgress.return);
1453
+ switch (workInProgress.tag) {
1454
+ case 26:
1455
+ case 27:
1456
+ case 5:
1457
+ info += describeBuiltInComponentFrame(workInProgress.type);
1458
+ break;
1459
+ case 13:
1460
+ info += describeBuiltInComponentFrame("Suspense");
1461
+ break;
1462
+ case 19:
1463
+ info += describeBuiltInComponentFrame("SuspenseList");
1464
+ break;
1465
+ case 30:
1466
+ case 0:
1467
+ case 15:
1468
+ case 1:
1469
+ workInProgress._debugOwner ||
1470
+ "" !== info ||
1471
+ (info += describeFunctionComponentFrameWithoutLineNumber(
1472
+ workInProgress.type
1473
+ ));
1474
+ break;
1475
+ case 11:
1476
+ workInProgress._debugOwner ||
1477
+ "" !== info ||
1478
+ (info += describeFunctionComponentFrameWithoutLineNumber(
1479
+ workInProgress.type.render
1480
+ ));
1481
+ }
1482
+ for (; workInProgress; )
1483
+ if ("number" === typeof workInProgress.tag) {
1484
+ var fiber = workInProgress;
1485
+ workInProgress = fiber._debugOwner;
1486
+ var debugStack = fiber._debugStack;
1487
+ workInProgress &&
1488
+ debugStack &&
1489
+ ("string" !== typeof debugStack &&
1490
+ (fiber._debugStack = debugStack = formatOwnerStack(debugStack)),
1491
+ "" !== debugStack && (info += "\n" + debugStack));
1492
+ } else if (null != workInProgress.debugStack) {
1493
+ var ownerStack = workInProgress.debugStack;
1494
+ (workInProgress = workInProgress.owner) &&
1495
+ ownerStack &&
1496
+ (info += "\n" + formatOwnerStack(ownerStack));
1497
+ } else break;
1498
+ var JSCompiler_inline_result = info;
1499
+ } catch (x) {
1500
+ JSCompiler_inline_result =
1501
+ "\nError generating stack: " + x.message + "\n" + x.stack;
1502
+ }
1503
+ return JSCompiler_inline_result;
1423
1504
  }
1424
1505
  function runWithFiberInDEV(fiber, callback, arg0, arg1, arg2, arg3, arg4) {
1425
1506
  var previousFiber = current;
1426
- ReactSharedInternals.getCurrentStack =
1427
- null === fiber ? null : getCurrentFiberStackInDev;
1428
- isRendering = !1;
1429
- current = fiber;
1507
+ setCurrentFiber(fiber);
1430
1508
  try {
1431
- return callback(arg0, arg1, arg2, arg3, arg4);
1509
+ return null !== fiber && fiber._debugTask
1510
+ ? fiber._debugTask.run(
1511
+ callback.bind(null, arg0, arg1, arg2, arg3, arg4)
1512
+ )
1513
+ : callback(arg0, arg1, arg2, arg3, arg4);
1432
1514
  } finally {
1433
- current = previousFiber;
1515
+ setCurrentFiber(previousFiber);
1434
1516
  }
1435
1517
  throw Error(
1436
1518
  "runWithFiberInDEV should never be called in production. This is a bug in React."
1437
1519
  );
1438
1520
  }
1521
+ function setCurrentFiber(fiber) {
1522
+ ReactSharedInternals.getCurrentStack =
1523
+ null === fiber ? null : getCurrentFiberStackInDev;
1524
+ isRendering = !1;
1525
+ current = fiber;
1526
+ }
1439
1527
  function getToStringValue(value) {
1440
1528
  switch (typeof value) {
1441
1529
  case "bigint":
@@ -2488,37 +2576,50 @@
2488
2576
  : findInvalidAncestorForTag(childTag, ancestorInfo);
2489
2577
  ancestorInfo = parentInfo || ancestorInfo;
2490
2578
  if (!ancestorInfo) return !0;
2491
- ancestorInfo = ancestorInfo.tag;
2492
- var warnKey = String(!!parentInfo) + "|" + childTag + "|" + ancestorInfo;
2493
- if (didWarn[warnKey]) return !1;
2494
- didWarn[warnKey] = !0;
2495
- var ancestor = (warnKey = current)
2496
- ? findAncestor(warnKey.return, ancestorInfo)
2497
- : null;
2498
- warnKey =
2499
- null !== warnKey && null !== ancestor
2500
- ? describeAncestors(ancestor, warnKey, null)
2501
- : "";
2502
- ancestor = "<" + childTag + ">";
2579
+ var ancestorTag = ancestorInfo.tag;
2580
+ ancestorInfo = String(!!parentInfo) + "|" + childTag + "|" + ancestorTag;
2581
+ if (didWarn[ancestorInfo]) return !1;
2582
+ didWarn[ancestorInfo] = !0;
2583
+ var ancestor = (ancestorInfo = current)
2584
+ ? findAncestor(ancestorInfo.return, ancestorTag)
2585
+ : null,
2586
+ ancestorDescription =
2587
+ null !== ancestorInfo && null !== ancestor
2588
+ ? describeAncestors(ancestor, ancestorInfo, null)
2589
+ : "",
2590
+ tagDisplayName = "<" + childTag + ">";
2503
2591
  parentInfo
2504
2592
  ? ((parentInfo = ""),
2505
- "table" === ancestorInfo &&
2593
+ "table" === ancestorTag &&
2506
2594
  "tr" === childTag &&
2507
2595
  (parentInfo +=
2508
2596
  " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),
2509
2597
  console.error(
2510
2598
  "In HTML, %s cannot be a child of <%s>.%s\nThis will cause a hydration error.%s",
2511
- ancestor,
2512
- ancestorInfo,
2599
+ tagDisplayName,
2600
+ ancestorTag,
2513
2601
  parentInfo,
2514
- warnKey
2602
+ ancestorDescription
2515
2603
  ))
2516
2604
  : console.error(
2517
2605
  "In HTML, %s cannot be a descendant of <%s>.\nThis will cause a hydration error.%s",
2518
- ancestor,
2519
- ancestorInfo,
2520
- warnKey
2606
+ tagDisplayName,
2607
+ ancestorTag,
2608
+ ancestorDescription
2521
2609
  );
2610
+ ancestorInfo &&
2611
+ ((childTag = ancestorInfo.return),
2612
+ null === ancestor ||
2613
+ null === childTag ||
2614
+ (ancestor === childTag &&
2615
+ childTag._debugOwner === ancestorInfo._debugOwner) ||
2616
+ runWithFiberInDEV(ancestor, function () {
2617
+ console.error(
2618
+ "<%s> cannot contain a nested %s.\nSee this log for the ancestor stack trace.",
2619
+ ancestorTag,
2620
+ tagDisplayName
2621
+ );
2622
+ }));
2522
2623
  return !1;
2523
2624
  }
2524
2625
  function validateTextNesting(childText, parentTag, implicitRootScope) {
@@ -6631,6 +6732,7 @@
6631
6732
  )),
6632
6733
  (current.return = returnFiber),
6633
6734
  (current._debugOwner = returnFiber),
6735
+ (current._debugTask = returnFiber._debugTask),
6634
6736
  (current._debugInfo = currentDebugInfo),
6635
6737
  current
6636
6738
  );
@@ -6705,6 +6807,7 @@
6705
6807
  )),
6706
6808
  (current.return = returnFiber),
6707
6809
  (current._debugOwner = returnFiber),
6810
+ (current._debugTask = returnFiber._debugTask),
6708
6811
  (current._debugInfo = currentDebugInfo),
6709
6812
  current
6710
6813
  );
@@ -6727,6 +6830,7 @@
6727
6830
  )),
6728
6831
  (newChild.return = returnFiber),
6729
6832
  (newChild._debugOwner = returnFiber),
6833
+ (newChild._debugTask = returnFiber._debugTask),
6730
6834
  (newChild._debugInfo = currentDebugInfo),
6731
6835
  newChild
6732
6836
  );
@@ -6774,6 +6878,7 @@
6774
6878
  )),
6775
6879
  (lanes.return = returnFiber),
6776
6880
  (lanes._debugOwner = returnFiber),
6881
+ (lanes._debugTask = returnFiber._debugTask),
6777
6882
  (returnFiber = pushDebugInfo(newChild._debugInfo)),
6778
6883
  (lanes._debugInfo = currentDebugInfo),
6779
6884
  (currentDebugInfo = returnFiber),
@@ -7311,6 +7416,7 @@
7311
7416
  )),
7312
7417
  (lanes.return = returnFiber),
7313
7418
  (lanes._debugOwner = returnFiber),
7419
+ (lanes._debugTask = returnFiber._debugTask),
7314
7420
  (lanes._debugInfo = currentDebugInfo),
7315
7421
  validateFragmentProps(newChild, lanes, returnFiber),
7316
7422
  (returnFiber = lanes))
@@ -7477,6 +7583,7 @@
7477
7583
  )),
7478
7584
  (lanes.return = returnFiber),
7479
7585
  (lanes._debugOwner = returnFiber),
7586
+ (lanes._debugTask = returnFiber._debugTask),
7480
7587
  (lanes._debugInfo = currentDebugInfo),
7481
7588
  (returnFiber = lanes)),
7482
7589
  placeSingleChild(returnFiber)
@@ -7506,10 +7613,12 @@
7506
7613
  fiber.return = returnFiber;
7507
7614
  var debugInfo = (fiber._debugInfo = currentDebugInfo);
7508
7615
  fiber._debugOwner = returnFiber._debugOwner;
7616
+ fiber._debugTask = returnFiber._debugTask;
7509
7617
  if (null != debugInfo)
7510
7618
  for (var i = debugInfo.length - 1; 0 <= i; i--)
7511
7619
  if ("string" === typeof debugInfo[i].stack) {
7512
7620
  fiber._debugOwner = debugInfo[i];
7621
+ fiber._debugTask = debugInfo[i].debugTask;
7513
7622
  break;
7514
7623
  }
7515
7624
  return fiber;
@@ -7590,63 +7699,62 @@
7590
7699
  }
7591
7700
  return null;
7592
7701
  }
7593
- function defaultOnUncaughtError(error, errorInfo) {
7702
+ function defaultOnUncaughtError(error) {
7594
7703
  reportGlobalError(error);
7595
- error = componentName
7596
- ? "An error occurred in the <" + componentName + "> component."
7597
- : "An error occurred in one of your React components.";
7598
- var prevGetCurrentStack = ReactSharedInternals.getCurrentStack,
7599
- componentStack =
7600
- null != errorInfo.componentStack ? errorInfo.componentStack : "";
7601
- ReactSharedInternals.getCurrentStack = function () {
7602
- return componentStack;
7603
- };
7604
- try {
7605
- console.warn(
7606
- "%s\n\n%s\n",
7607
- error,
7608
- "Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://react.dev/link/error-boundaries to learn more about error boundaries."
7609
- );
7610
- } finally {
7611
- ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
7612
- }
7704
+ console.warn(
7705
+ "%s\n\n%s\n",
7706
+ componentName
7707
+ ? "An error occurred in the <" + componentName + "> component."
7708
+ : "An error occurred in one of your React components.",
7709
+ "Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://react.dev/link/error-boundaries to learn more about error boundaries."
7710
+ );
7613
7711
  }
7614
- function defaultOnCaughtError(error, errorInfo) {
7712
+ function defaultOnCaughtError(error) {
7615
7713
  var componentNameMessage = componentName
7616
7714
  ? "The above error occurred in the <" + componentName + "> component."
7617
7715
  : "The above error occurred in one of your React components.",
7618
7716
  recreateMessage =
7619
7717
  "React will try to recreate this component tree from scratch using the error boundary you provided, " +
7620
- ((errorBoundaryName || "Anonymous") + "."),
7621
- prevGetCurrentStack = ReactSharedInternals.getCurrentStack,
7622
- componentStack =
7623
- null != errorInfo.componentStack ? errorInfo.componentStack : "";
7624
- ReactSharedInternals.getCurrentStack = function () {
7625
- return componentStack;
7626
- };
7627
- try {
7718
+ ((errorBoundaryName || "Anonymous") + ".");
7719
+ if (
7628
7720
  "object" === typeof error &&
7629
7721
  null !== error &&
7630
7722
  "string" === typeof error.environmentName
7631
- ? bindToConsole(
7632
- "error",
7633
- [
7634
- "%o\n\n%s\n\n%s\n",
7635
- error,
7636
- componentNameMessage,
7637
- recreateMessage
7638
- ],
7639
- error.environmentName
7640
- )()
7641
- : console.error(
7642
- "%o\n\n%s\n\n%s\n",
7643
- error,
7644
- componentNameMessage,
7645
- recreateMessage
7723
+ ) {
7724
+ var JSCompiler_inline_result = error.environmentName;
7725
+ error = [
7726
+ "%o\n\n%s\n\n%s\n",
7727
+ error,
7728
+ componentNameMessage,
7729
+ recreateMessage
7730
+ ].slice(0);
7731
+ "string" === typeof error[0]
7732
+ ? error.splice(
7733
+ 0,
7734
+ 1,
7735
+ badgeFormat + error[0],
7736
+ badgeStyle,
7737
+ pad + JSCompiler_inline_result + pad,
7738
+ resetStyle
7739
+ )
7740
+ : error.splice(
7741
+ 0,
7742
+ 0,
7743
+ badgeFormat,
7744
+ badgeStyle,
7745
+ pad + JSCompiler_inline_result + pad,
7746
+ resetStyle
7646
7747
  );
7647
- } finally {
7648
- ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
7649
- }
7748
+ error.unshift(console);
7749
+ JSCompiler_inline_result = bind.apply(console.error, error);
7750
+ JSCompiler_inline_result();
7751
+ } else
7752
+ console.error(
7753
+ "%o\n\n%s\n\n%s\n",
7754
+ error,
7755
+ componentNameMessage,
7756
+ recreateMessage
7757
+ );
7650
7758
  }
7651
7759
  function defaultOnRecoverableError(error) {
7652
7760
  reportGlobalError(error);
@@ -8265,7 +8373,7 @@
8265
8373
  return workInProgress.child;
8266
8374
  }
8267
8375
  function updateClassComponent(
8268
- current$jscomp$0,
8376
+ current,
8269
8377
  workInProgress,
8270
8378
  Component,
8271
8379
  nextProps,
@@ -8581,7 +8689,7 @@
8581
8689
  (workInProgress.mode & StrictEffectsMode) !== NoMode &&
8582
8690
  (workInProgress.flags |= 134217728);
8583
8691
  _instance = !0;
8584
- } else if (null === current$jscomp$0) {
8692
+ } else if (null === current) {
8585
8693
  _instance = workInProgress.stateNode;
8586
8694
  var unresolvedOldProps = workInProgress.memoizedProps;
8587
8695
  lane = resolveClassComponentProps(Component, unresolvedOldProps);
@@ -8661,7 +8769,7 @@
8661
8769
  (_instance = !1));
8662
8770
  } else {
8663
8771
  _instance = workInProgress.stateNode;
8664
- cloneUpdateQueue(current$jscomp$0, workInProgress);
8772
+ cloneUpdateQueue(current, workInProgress);
8665
8773
  state = workInProgress.memoizedProps;
8666
8774
  foundWillUpdateName = resolveClassComponentProps(Component, state);
8667
8775
  _instance.props = foundWillUpdateName;
@@ -8694,9 +8802,9 @@
8694
8802
  state !== newApiName ||
8695
8803
  oldState !== newState ||
8696
8804
  hasForceUpdate ||
8697
- (null !== current$jscomp$0 &&
8698
- null !== current$jscomp$0.dependencies &&
8699
- checkIfContextChanged(current$jscomp$0.dependencies))
8805
+ (null !== current &&
8806
+ null !== current.dependencies &&
8807
+ checkIfContextChanged(current.dependencies))
8700
8808
  ? ("function" === typeof unresolvedOldProps &&
8701
8809
  (applyDerivedStateFromProps(
8702
8810
  workInProgress,
@@ -8716,9 +8824,9 @@
8716
8824
  newState,
8717
8825
  lane
8718
8826
  ) ||
8719
- (null !== current$jscomp$0 &&
8720
- null !== current$jscomp$0.dependencies &&
8721
- checkIfContextChanged(current$jscomp$0.dependencies)))
8827
+ (null !== current &&
8828
+ null !== current.dependencies &&
8829
+ checkIfContextChanged(current.dependencies)))
8722
8830
  ? (oldContext ||
8723
8831
  ("function" !== typeof _instance.UNSAFE_componentWillUpdate &&
8724
8832
  "function" !== typeof _instance.componentWillUpdate) ||
@@ -8735,12 +8843,12 @@
8735
8843
  "function" === typeof _instance.getSnapshotBeforeUpdate &&
8736
8844
  (workInProgress.flags |= 1024))
8737
8845
  : ("function" !== typeof _instance.componentDidUpdate ||
8738
- (state === current$jscomp$0.memoizedProps &&
8739
- oldState === current$jscomp$0.memoizedState) ||
8846
+ (state === current.memoizedProps &&
8847
+ oldState === current.memoizedState) ||
8740
8848
  (workInProgress.flags |= 4),
8741
8849
  "function" !== typeof _instance.getSnapshotBeforeUpdate ||
8742
- (state === current$jscomp$0.memoizedProps &&
8743
- oldState === current$jscomp$0.memoizedState) ||
8850
+ (state === current.memoizedProps &&
8851
+ oldState === current.memoizedState) ||
8744
8852
  (workInProgress.flags |= 1024),
8745
8853
  (workInProgress.memoizedProps = nextProps),
8746
8854
  (workInProgress.memoizedState = newState)),
@@ -8749,24 +8857,21 @@
8749
8857
  (_instance.context = lane),
8750
8858
  (_instance = foundWillUpdateName))
8751
8859
  : ("function" !== typeof _instance.componentDidUpdate ||
8752
- (state === current$jscomp$0.memoizedProps &&
8753
- oldState === current$jscomp$0.memoizedState) ||
8860
+ (state === current.memoizedProps &&
8861
+ oldState === current.memoizedState) ||
8754
8862
  (workInProgress.flags |= 4),
8755
8863
  "function" !== typeof _instance.getSnapshotBeforeUpdate ||
8756
- (state === current$jscomp$0.memoizedProps &&
8757
- oldState === current$jscomp$0.memoizedState) ||
8864
+ (state === current.memoizedProps &&
8865
+ oldState === current.memoizedState) ||
8758
8866
  (workInProgress.flags |= 1024),
8759
8867
  (_instance = !1));
8760
8868
  }
8761
8869
  lane = _instance;
8762
- markRef(current$jscomp$0, workInProgress);
8870
+ markRef(current, workInProgress);
8763
8871
  state = 0 !== (workInProgress.flags & 128);
8764
8872
  if (lane || state) {
8765
8873
  lane = workInProgress.stateNode;
8766
- ReactSharedInternals.getCurrentStack =
8767
- null === workInProgress ? null : getCurrentFiberStackInDev;
8768
- isRendering = !1;
8769
- current = workInProgress;
8874
+ setCurrentFiber(workInProgress);
8770
8875
  if (state && "function" !== typeof Component.getDerivedStateFromError)
8771
8876
  (Component = null), (profilerStartTime = -1);
8772
8877
  else {
@@ -8783,10 +8888,10 @@
8783
8888
  markComponentRenderStopped();
8784
8889
  }
8785
8890
  workInProgress.flags |= 1;
8786
- null !== current$jscomp$0 && state
8891
+ null !== current && state
8787
8892
  ? ((workInProgress.child = reconcileChildFibers(
8788
8893
  workInProgress,
8789
- current$jscomp$0.child,
8894
+ current.child,
8790
8895
  null,
8791
8896
  renderLanes
8792
8897
  )),
@@ -8796,17 +8901,12 @@
8796
8901
  Component,
8797
8902
  renderLanes
8798
8903
  )))
8799
- : reconcileChildren(
8800
- current$jscomp$0,
8801
- workInProgress,
8802
- Component,
8803
- renderLanes
8804
- );
8904
+ : reconcileChildren(current, workInProgress, Component, renderLanes);
8805
8905
  workInProgress.memoizedState = lane.state;
8806
- current$jscomp$0 = workInProgress.child;
8906
+ current = workInProgress.child;
8807
8907
  } else
8808
- current$jscomp$0 = bailoutOnAlreadyFinishedWork(
8809
- current$jscomp$0,
8908
+ current = bailoutOnAlreadyFinishedWork(
8909
+ current,
8810
8910
  workInProgress,
8811
8911
  renderLanes
8812
8912
  );
@@ -8819,7 +8919,7 @@
8819
8919
  getComponentNameFromFiber(workInProgress) || "a component"
8820
8920
  ),
8821
8921
  (didWarnAboutReassigningProps = !0));
8822
- return current$jscomp$0;
8922
+ return current;
8823
8923
  }
8824
8924
  function mountHostRootWithoutHydrating(
8825
8925
  current,
@@ -8871,32 +8971,32 @@
8871
8971
  return current;
8872
8972
  }
8873
8973
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
8874
- var JSCompiler_object_inline_digest_2425;
8875
- var JSCompiler_object_inline_stack_2426 = workInProgress.pendingProps;
8974
+ var JSCompiler_object_inline_digest_2427;
8975
+ var JSCompiler_object_inline_stack_2428 = workInProgress.pendingProps;
8876
8976
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
8877
- var JSCompiler_object_inline_componentStack_2427 = !1;
8977
+ var JSCompiler_object_inline_componentStack_2429 = !1;
8878
8978
  var didSuspend = 0 !== (workInProgress.flags & 128);
8879
- (JSCompiler_object_inline_digest_2425 = didSuspend) ||
8880
- (JSCompiler_object_inline_digest_2425 =
8979
+ (JSCompiler_object_inline_digest_2427 = didSuspend) ||
8980
+ (JSCompiler_object_inline_digest_2427 =
8881
8981
  null !== current && null === current.memoizedState
8882
8982
  ? !1
8883
8983
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
8884
- JSCompiler_object_inline_digest_2425 &&
8885
- ((JSCompiler_object_inline_componentStack_2427 = !0),
8984
+ JSCompiler_object_inline_digest_2427 &&
8985
+ ((JSCompiler_object_inline_componentStack_2429 = !0),
8886
8986
  (workInProgress.flags &= -129));
8887
- JSCompiler_object_inline_digest_2425 = 0 !== (workInProgress.flags & 32);
8987
+ JSCompiler_object_inline_digest_2427 = 0 !== (workInProgress.flags & 32);
8888
8988
  workInProgress.flags &= -33;
8889
8989
  if (null === current) {
8890
8990
  if (isHydrating) {
8891
- JSCompiler_object_inline_componentStack_2427
8991
+ JSCompiler_object_inline_componentStack_2429
8892
8992
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
8893
8993
  : reuseSuspenseHandlerOnStack(workInProgress);
8894
8994
  if (isHydrating) {
8895
- var JSCompiler_object_inline_message_2424 = nextHydratableInstance;
8995
+ var JSCompiler_object_inline_message_2426 = nextHydratableInstance;
8896
8996
  var JSCompiler_temp;
8897
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2424)) {
8997
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2426)) {
8898
8998
  c: {
8899
- var instance = JSCompiler_object_inline_message_2424;
8999
+ var instance = JSCompiler_object_inline_message_2426;
8900
9000
  for (
8901
9001
  JSCompiler_temp = rootOrSingletonContext;
8902
9002
  8 !== instance.nodeType;
@@ -8938,77 +9038,77 @@
8938
9038
  JSCompiler_temp &&
8939
9039
  (warnNonHydratedInstance(
8940
9040
  workInProgress,
8941
- JSCompiler_object_inline_message_2424
9041
+ JSCompiler_object_inline_message_2426
8942
9042
  ),
8943
9043
  throwOnHydrationMismatch(workInProgress));
8944
9044
  }
8945
- JSCompiler_object_inline_message_2424 = workInProgress.memoizedState;
9045
+ JSCompiler_object_inline_message_2426 = workInProgress.memoizedState;
8946
9046
  if (
8947
- null !== JSCompiler_object_inline_message_2424 &&
8948
- ((JSCompiler_object_inline_message_2424 =
8949
- JSCompiler_object_inline_message_2424.dehydrated),
8950
- null !== JSCompiler_object_inline_message_2424)
9047
+ null !== JSCompiler_object_inline_message_2426 &&
9048
+ ((JSCompiler_object_inline_message_2426 =
9049
+ JSCompiler_object_inline_message_2426.dehydrated),
9050
+ null !== JSCompiler_object_inline_message_2426)
8951
9051
  )
8952
9052
  return (
8953
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2424)
9053
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2426)
8954
9054
  ? (workInProgress.lanes = 32)
8955
9055
  : (workInProgress.lanes = 536870912),
8956
9056
  null
8957
9057
  );
8958
9058
  popSuspenseHandler(workInProgress);
8959
9059
  }
8960
- JSCompiler_object_inline_message_2424 =
8961
- JSCompiler_object_inline_stack_2426.children;
8962
- JSCompiler_object_inline_stack_2426 =
8963
- JSCompiler_object_inline_stack_2426.fallback;
8964
- if (JSCompiler_object_inline_componentStack_2427)
9060
+ JSCompiler_object_inline_message_2426 =
9061
+ JSCompiler_object_inline_stack_2428.children;
9062
+ JSCompiler_object_inline_stack_2428 =
9063
+ JSCompiler_object_inline_stack_2428.fallback;
9064
+ if (JSCompiler_object_inline_componentStack_2429)
8965
9065
  return (
8966
9066
  reuseSuspenseHandlerOnStack(workInProgress),
8967
- (JSCompiler_object_inline_componentStack_2427 =
9067
+ (JSCompiler_object_inline_componentStack_2429 =
8968
9068
  workInProgress.mode),
8969
- (JSCompiler_object_inline_message_2424 =
9069
+ (JSCompiler_object_inline_message_2426 =
8970
9070
  mountWorkInProgressOffscreenFiber(
8971
9071
  {
8972
9072
  mode: "hidden",
8973
- children: JSCompiler_object_inline_message_2424
9073
+ children: JSCompiler_object_inline_message_2426
8974
9074
  },
8975
- JSCompiler_object_inline_componentStack_2427
9075
+ JSCompiler_object_inline_componentStack_2429
8976
9076
  )),
8977
- (JSCompiler_object_inline_stack_2426 = createFiberFromFragment(
8978
- JSCompiler_object_inline_stack_2426,
8979
- JSCompiler_object_inline_componentStack_2427,
9077
+ (JSCompiler_object_inline_stack_2428 = createFiberFromFragment(
9078
+ JSCompiler_object_inline_stack_2428,
9079
+ JSCompiler_object_inline_componentStack_2429,
8980
9080
  renderLanes,
8981
9081
  null
8982
9082
  )),
8983
- (JSCompiler_object_inline_message_2424.return = workInProgress),
8984
- (JSCompiler_object_inline_stack_2426.return = workInProgress),
8985
- (JSCompiler_object_inline_message_2424.sibling =
8986
- JSCompiler_object_inline_stack_2426),
8987
- (workInProgress.child = JSCompiler_object_inline_message_2424),
8988
- (JSCompiler_object_inline_componentStack_2427 =
9083
+ (JSCompiler_object_inline_message_2426.return = workInProgress),
9084
+ (JSCompiler_object_inline_stack_2428.return = workInProgress),
9085
+ (JSCompiler_object_inline_message_2426.sibling =
9086
+ JSCompiler_object_inline_stack_2428),
9087
+ (workInProgress.child = JSCompiler_object_inline_message_2426),
9088
+ (JSCompiler_object_inline_componentStack_2429 =
8989
9089
  workInProgress.child),
8990
- (JSCompiler_object_inline_componentStack_2427.memoizedState =
9090
+ (JSCompiler_object_inline_componentStack_2429.memoizedState =
8991
9091
  mountSuspenseOffscreenState(renderLanes)),
8992
- (JSCompiler_object_inline_componentStack_2427.childLanes =
9092
+ (JSCompiler_object_inline_componentStack_2429.childLanes =
8993
9093
  getRemainingWorkInPrimaryTree(
8994
9094
  current,
8995
- JSCompiler_object_inline_digest_2425,
9095
+ JSCompiler_object_inline_digest_2427,
8996
9096
  renderLanes
8997
9097
  )),
8998
9098
  (workInProgress.memoizedState = SUSPENDED_MARKER),
8999
- JSCompiler_object_inline_stack_2426
9099
+ JSCompiler_object_inline_stack_2428
9000
9100
  );
9001
9101
  pushPrimaryTreeSuspenseHandler(workInProgress);
9002
9102
  return mountSuspensePrimaryChildren(
9003
9103
  workInProgress,
9004
- JSCompiler_object_inline_message_2424
9104
+ JSCompiler_object_inline_message_2426
9005
9105
  );
9006
9106
  }
9007
9107
  var prevState = current.memoizedState;
9008
9108
  if (
9009
9109
  null !== prevState &&
9010
- ((JSCompiler_object_inline_message_2424 = prevState.dehydrated),
9011
- null !== JSCompiler_object_inline_message_2424)
9110
+ ((JSCompiler_object_inline_message_2426 = prevState.dehydrated),
9111
+ null !== JSCompiler_object_inline_message_2426)
9012
9112
  ) {
9013
9113
  if (didSuspend)
9014
9114
  workInProgress.flags & 256
@@ -9025,94 +9125,94 @@
9025
9125
  (workInProgress.flags |= 128),
9026
9126
  (workInProgress = null))
9027
9127
  : (reuseSuspenseHandlerOnStack(workInProgress),
9028
- (JSCompiler_object_inline_componentStack_2427 =
9029
- JSCompiler_object_inline_stack_2426.fallback),
9030
- (JSCompiler_object_inline_message_2424 = workInProgress.mode),
9031
- (JSCompiler_object_inline_stack_2426 =
9128
+ (JSCompiler_object_inline_componentStack_2429 =
9129
+ JSCompiler_object_inline_stack_2428.fallback),
9130
+ (JSCompiler_object_inline_message_2426 = workInProgress.mode),
9131
+ (JSCompiler_object_inline_stack_2428 =
9032
9132
  mountWorkInProgressOffscreenFiber(
9033
9133
  {
9034
9134
  mode: "visible",
9035
- children: JSCompiler_object_inline_stack_2426.children
9135
+ children: JSCompiler_object_inline_stack_2428.children
9036
9136
  },
9037
- JSCompiler_object_inline_message_2424
9137
+ JSCompiler_object_inline_message_2426
9038
9138
  )),
9039
- (JSCompiler_object_inline_componentStack_2427 =
9139
+ (JSCompiler_object_inline_componentStack_2429 =
9040
9140
  createFiberFromFragment(
9041
- JSCompiler_object_inline_componentStack_2427,
9042
- JSCompiler_object_inline_message_2424,
9141
+ JSCompiler_object_inline_componentStack_2429,
9142
+ JSCompiler_object_inline_message_2426,
9043
9143
  renderLanes,
9044
9144
  null
9045
9145
  )),
9046
- (JSCompiler_object_inline_componentStack_2427.flags |= 2),
9047
- (JSCompiler_object_inline_stack_2426.return = workInProgress),
9048
- (JSCompiler_object_inline_componentStack_2427.return =
9146
+ (JSCompiler_object_inline_componentStack_2429.flags |= 2),
9147
+ (JSCompiler_object_inline_stack_2428.return = workInProgress),
9148
+ (JSCompiler_object_inline_componentStack_2429.return =
9049
9149
  workInProgress),
9050
- (JSCompiler_object_inline_stack_2426.sibling =
9051
- JSCompiler_object_inline_componentStack_2427),
9052
- (workInProgress.child = JSCompiler_object_inline_stack_2426),
9150
+ (JSCompiler_object_inline_stack_2428.sibling =
9151
+ JSCompiler_object_inline_componentStack_2429),
9152
+ (workInProgress.child = JSCompiler_object_inline_stack_2428),
9053
9153
  reconcileChildFibers(
9054
9154
  workInProgress,
9055
9155
  current.child,
9056
9156
  null,
9057
9157
  renderLanes
9058
9158
  ),
9059
- (JSCompiler_object_inline_stack_2426 = workInProgress.child),
9060
- (JSCompiler_object_inline_stack_2426.memoizedState =
9159
+ (JSCompiler_object_inline_stack_2428 = workInProgress.child),
9160
+ (JSCompiler_object_inline_stack_2428.memoizedState =
9061
9161
  mountSuspenseOffscreenState(renderLanes)),
9062
- (JSCompiler_object_inline_stack_2426.childLanes =
9162
+ (JSCompiler_object_inline_stack_2428.childLanes =
9063
9163
  getRemainingWorkInPrimaryTree(
9064
9164
  current,
9065
- JSCompiler_object_inline_digest_2425,
9165
+ JSCompiler_object_inline_digest_2427,
9066
9166
  renderLanes
9067
9167
  )),
9068
9168
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9069
9169
  (workInProgress =
9070
- JSCompiler_object_inline_componentStack_2427));
9170
+ JSCompiler_object_inline_componentStack_2429));
9071
9171
  else if (
9072
9172
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9073
9173
  isHydrating &&
9074
9174
  console.error(
9075
9175
  "We should not be hydrating here. This is a bug in React. Please file a bug."
9076
9176
  ),
9077
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2424))
9177
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2426))
9078
9178
  ) {
9079
- JSCompiler_object_inline_digest_2425 =
9080
- JSCompiler_object_inline_message_2424.nextSibling &&
9081
- JSCompiler_object_inline_message_2424.nextSibling.dataset;
9082
- if (JSCompiler_object_inline_digest_2425) {
9083
- JSCompiler_temp = JSCompiler_object_inline_digest_2425.dgst;
9084
- var message = JSCompiler_object_inline_digest_2425.msg;
9085
- instance = JSCompiler_object_inline_digest_2425.stck;
9086
- var componentStack = JSCompiler_object_inline_digest_2425.cstck;
9179
+ JSCompiler_object_inline_digest_2427 =
9180
+ JSCompiler_object_inline_message_2426.nextSibling &&
9181
+ JSCompiler_object_inline_message_2426.nextSibling.dataset;
9182
+ if (JSCompiler_object_inline_digest_2427) {
9183
+ JSCompiler_temp = JSCompiler_object_inline_digest_2427.dgst;
9184
+ var message = JSCompiler_object_inline_digest_2427.msg;
9185
+ instance = JSCompiler_object_inline_digest_2427.stck;
9186
+ var componentStack = JSCompiler_object_inline_digest_2427.cstck;
9087
9187
  }
9088
- JSCompiler_object_inline_message_2424 = message;
9089
- JSCompiler_object_inline_digest_2425 = JSCompiler_temp;
9090
- JSCompiler_object_inline_stack_2426 = instance;
9091
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2427 =
9188
+ JSCompiler_object_inline_message_2426 = message;
9189
+ JSCompiler_object_inline_digest_2427 = JSCompiler_temp;
9190
+ JSCompiler_object_inline_stack_2428 = instance;
9191
+ JSCompiler_temp = JSCompiler_object_inline_componentStack_2429 =
9092
9192
  componentStack;
9093
- JSCompiler_object_inline_componentStack_2427 =
9094
- JSCompiler_object_inline_message_2424
9095
- ? Error(JSCompiler_object_inline_message_2424)
9193
+ JSCompiler_object_inline_componentStack_2429 =
9194
+ JSCompiler_object_inline_message_2426
9195
+ ? Error(JSCompiler_object_inline_message_2426)
9096
9196
  : Error(
9097
9197
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9098
9198
  );
9099
- JSCompiler_object_inline_componentStack_2427.stack =
9100
- JSCompiler_object_inline_stack_2426 || "";
9101
- JSCompiler_object_inline_componentStack_2427.digest =
9102
- JSCompiler_object_inline_digest_2425;
9103
- JSCompiler_object_inline_digest_2425 =
9199
+ JSCompiler_object_inline_componentStack_2429.stack =
9200
+ JSCompiler_object_inline_stack_2428 || "";
9201
+ JSCompiler_object_inline_componentStack_2429.digest =
9202
+ JSCompiler_object_inline_digest_2427;
9203
+ JSCompiler_object_inline_digest_2427 =
9104
9204
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
9105
- JSCompiler_object_inline_stack_2426 = {
9106
- value: JSCompiler_object_inline_componentStack_2427,
9205
+ JSCompiler_object_inline_stack_2428 = {
9206
+ value: JSCompiler_object_inline_componentStack_2429,
9107
9207
  source: null,
9108
- stack: JSCompiler_object_inline_digest_2425
9208
+ stack: JSCompiler_object_inline_digest_2427
9109
9209
  };
9110
- "string" === typeof JSCompiler_object_inline_digest_2425 &&
9210
+ "string" === typeof JSCompiler_object_inline_digest_2427 &&
9111
9211
  CapturedStacks.set(
9112
- JSCompiler_object_inline_componentStack_2427,
9113
- JSCompiler_object_inline_stack_2426
9212
+ JSCompiler_object_inline_componentStack_2429,
9213
+ JSCompiler_object_inline_stack_2428
9114
9214
  );
9115
- queueHydrationError(JSCompiler_object_inline_stack_2426);
9215
+ queueHydrationError(JSCompiler_object_inline_stack_2428);
9116
9216
  workInProgress = retrySuspenseComponentWithoutHydrating(
9117
9217
  current,
9118
9218
  workInProgress,
@@ -9126,44 +9226,44 @@
9126
9226
  renderLanes,
9127
9227
  !1
9128
9228
  ),
9129
- (JSCompiler_object_inline_digest_2425 =
9229
+ (JSCompiler_object_inline_digest_2427 =
9130
9230
  0 !== (renderLanes & current.childLanes)),
9131
- didReceiveUpdate || JSCompiler_object_inline_digest_2425)
9231
+ didReceiveUpdate || JSCompiler_object_inline_digest_2427)
9132
9232
  ) {
9133
- JSCompiler_object_inline_digest_2425 = workInProgressRoot;
9233
+ JSCompiler_object_inline_digest_2427 = workInProgressRoot;
9134
9234
  if (
9135
- null !== JSCompiler_object_inline_digest_2425 &&
9136
- ((JSCompiler_object_inline_stack_2426 = renderLanes & -renderLanes),
9137
- (JSCompiler_object_inline_stack_2426 =
9138
- 0 !== (JSCompiler_object_inline_stack_2426 & 42)
9235
+ null !== JSCompiler_object_inline_digest_2427 &&
9236
+ ((JSCompiler_object_inline_stack_2428 = renderLanes & -renderLanes),
9237
+ (JSCompiler_object_inline_stack_2428 =
9238
+ 0 !== (JSCompiler_object_inline_stack_2428 & 42)
9139
9239
  ? 1
9140
9240
  : getBumpedLaneForHydrationByLane(
9141
- JSCompiler_object_inline_stack_2426
9241
+ JSCompiler_object_inline_stack_2428
9142
9242
  )),
9143
- (JSCompiler_object_inline_stack_2426 =
9243
+ (JSCompiler_object_inline_stack_2428 =
9144
9244
  0 !==
9145
- (JSCompiler_object_inline_stack_2426 &
9146
- (JSCompiler_object_inline_digest_2425.suspendedLanes |
9245
+ (JSCompiler_object_inline_stack_2428 &
9246
+ (JSCompiler_object_inline_digest_2427.suspendedLanes |
9147
9247
  renderLanes))
9148
9248
  ? 0
9149
- : JSCompiler_object_inline_stack_2426),
9150
- 0 !== JSCompiler_object_inline_stack_2426 &&
9151
- JSCompiler_object_inline_stack_2426 !== prevState.retryLane)
9249
+ : JSCompiler_object_inline_stack_2428),
9250
+ 0 !== JSCompiler_object_inline_stack_2428 &&
9251
+ JSCompiler_object_inline_stack_2428 !== prevState.retryLane)
9152
9252
  )
9153
9253
  throw (
9154
- ((prevState.retryLane = JSCompiler_object_inline_stack_2426),
9254
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2428),
9155
9255
  enqueueConcurrentRenderForLane(
9156
9256
  current,
9157
- JSCompiler_object_inline_stack_2426
9257
+ JSCompiler_object_inline_stack_2428
9158
9258
  ),
9159
9259
  scheduleUpdateOnFiber(
9160
- JSCompiler_object_inline_digest_2425,
9260
+ JSCompiler_object_inline_digest_2427,
9161
9261
  current,
9162
- JSCompiler_object_inline_stack_2426
9262
+ JSCompiler_object_inline_stack_2428
9163
9263
  ),
9164
9264
  SelectiveHydrationException)
9165
9265
  );
9166
- JSCompiler_object_inline_message_2424.data ===
9266
+ JSCompiler_object_inline_message_2426.data ===
9167
9267
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9168
9268
  workInProgress = retrySuspenseComponentWithoutHydrating(
9169
9269
  current,
@@ -9171,14 +9271,14 @@
9171
9271
  renderLanes
9172
9272
  );
9173
9273
  } else
9174
- JSCompiler_object_inline_message_2424.data ===
9274
+ JSCompiler_object_inline_message_2426.data ===
9175
9275
  SUSPENSE_PENDING_START_DATA
9176
9276
  ? ((workInProgress.flags |= 192),
9177
9277
  (workInProgress.child = current.child),
9178
9278
  (workInProgress = null))
9179
9279
  : ((current = prevState.treeContext),
9180
9280
  (nextHydratableInstance = getNextHydratable(
9181
- JSCompiler_object_inline_message_2424.nextSibling
9281
+ JSCompiler_object_inline_message_2426.nextSibling
9182
9282
  )),
9183
9283
  (hydrationParentFiber = workInProgress),
9184
9284
  (isHydrating = !0),
@@ -9196,57 +9296,57 @@
9196
9296
  (treeContextProvider = workInProgress)),
9197
9297
  (workInProgress = mountSuspensePrimaryChildren(
9198
9298
  workInProgress,
9199
- JSCompiler_object_inline_stack_2426.children
9299
+ JSCompiler_object_inline_stack_2428.children
9200
9300
  )),
9201
9301
  (workInProgress.flags |= 4096));
9202
9302
  return workInProgress;
9203
9303
  }
9204
- if (JSCompiler_object_inline_componentStack_2427)
9304
+ if (JSCompiler_object_inline_componentStack_2429)
9205
9305
  return (
9206
9306
  reuseSuspenseHandlerOnStack(workInProgress),
9207
- (JSCompiler_object_inline_componentStack_2427 =
9208
- JSCompiler_object_inline_stack_2426.fallback),
9209
- (JSCompiler_object_inline_message_2424 = workInProgress.mode),
9307
+ (JSCompiler_object_inline_componentStack_2429 =
9308
+ JSCompiler_object_inline_stack_2428.fallback),
9309
+ (JSCompiler_object_inline_message_2426 = workInProgress.mode),
9210
9310
  (JSCompiler_temp = current.child),
9211
9311
  (instance = JSCompiler_temp.sibling),
9212
- (JSCompiler_object_inline_stack_2426 = createWorkInProgress(
9312
+ (JSCompiler_object_inline_stack_2428 = createWorkInProgress(
9213
9313
  JSCompiler_temp,
9214
9314
  {
9215
9315
  mode: "hidden",
9216
- children: JSCompiler_object_inline_stack_2426.children
9316
+ children: JSCompiler_object_inline_stack_2428.children
9217
9317
  }
9218
9318
  )),
9219
- (JSCompiler_object_inline_stack_2426.subtreeFlags =
9319
+ (JSCompiler_object_inline_stack_2428.subtreeFlags =
9220
9320
  JSCompiler_temp.subtreeFlags & 65011712),
9221
9321
  null !== instance
9222
- ? (JSCompiler_object_inline_componentStack_2427 =
9322
+ ? (JSCompiler_object_inline_componentStack_2429 =
9223
9323
  createWorkInProgress(
9224
9324
  instance,
9225
- JSCompiler_object_inline_componentStack_2427
9325
+ JSCompiler_object_inline_componentStack_2429
9226
9326
  ))
9227
- : ((JSCompiler_object_inline_componentStack_2427 =
9327
+ : ((JSCompiler_object_inline_componentStack_2429 =
9228
9328
  createFiberFromFragment(
9229
- JSCompiler_object_inline_componentStack_2427,
9230
- JSCompiler_object_inline_message_2424,
9329
+ JSCompiler_object_inline_componentStack_2429,
9330
+ JSCompiler_object_inline_message_2426,
9231
9331
  renderLanes,
9232
9332
  null
9233
9333
  )),
9234
- (JSCompiler_object_inline_componentStack_2427.flags |= 2)),
9235
- (JSCompiler_object_inline_componentStack_2427.return =
9334
+ (JSCompiler_object_inline_componentStack_2429.flags |= 2)),
9335
+ (JSCompiler_object_inline_componentStack_2429.return =
9236
9336
  workInProgress),
9237
- (JSCompiler_object_inline_stack_2426.return = workInProgress),
9238
- (JSCompiler_object_inline_stack_2426.sibling =
9239
- JSCompiler_object_inline_componentStack_2427),
9240
- (workInProgress.child = JSCompiler_object_inline_stack_2426),
9241
- (JSCompiler_object_inline_stack_2426 =
9242
- JSCompiler_object_inline_componentStack_2427),
9243
- (JSCompiler_object_inline_componentStack_2427 = workInProgress.child),
9244
- (JSCompiler_object_inline_message_2424 = current.child.memoizedState),
9245
- null === JSCompiler_object_inline_message_2424
9246
- ? (JSCompiler_object_inline_message_2424 =
9337
+ (JSCompiler_object_inline_stack_2428.return = workInProgress),
9338
+ (JSCompiler_object_inline_stack_2428.sibling =
9339
+ JSCompiler_object_inline_componentStack_2429),
9340
+ (workInProgress.child = JSCompiler_object_inline_stack_2428),
9341
+ (JSCompiler_object_inline_stack_2428 =
9342
+ JSCompiler_object_inline_componentStack_2429),
9343
+ (JSCompiler_object_inline_componentStack_2429 = workInProgress.child),
9344
+ (JSCompiler_object_inline_message_2426 = current.child.memoizedState),
9345
+ null === JSCompiler_object_inline_message_2426
9346
+ ? (JSCompiler_object_inline_message_2426 =
9247
9347
  mountSuspenseOffscreenState(renderLanes))
9248
9348
  : ((JSCompiler_temp =
9249
- JSCompiler_object_inline_message_2424.cachePool),
9349
+ JSCompiler_object_inline_message_2426.cachePool),
9250
9350
  null !== JSCompiler_temp
9251
9351
  ? ((instance = CacheContext._currentValue),
9252
9352
  (JSCompiler_temp =
@@ -9254,37 +9354,37 @@
9254
9354
  ? { parent: instance, pool: instance }
9255
9355
  : JSCompiler_temp))
9256
9356
  : (JSCompiler_temp = getSuspendedCache()),
9257
- (JSCompiler_object_inline_message_2424 = {
9357
+ (JSCompiler_object_inline_message_2426 = {
9258
9358
  baseLanes:
9259
- JSCompiler_object_inline_message_2424.baseLanes | renderLanes,
9359
+ JSCompiler_object_inline_message_2426.baseLanes | renderLanes,
9260
9360
  cachePool: JSCompiler_temp
9261
9361
  })),
9262
- (JSCompiler_object_inline_componentStack_2427.memoizedState =
9263
- JSCompiler_object_inline_message_2424),
9264
- (JSCompiler_object_inline_componentStack_2427.childLanes =
9362
+ (JSCompiler_object_inline_componentStack_2429.memoizedState =
9363
+ JSCompiler_object_inline_message_2426),
9364
+ (JSCompiler_object_inline_componentStack_2429.childLanes =
9265
9365
  getRemainingWorkInPrimaryTree(
9266
9366
  current,
9267
- JSCompiler_object_inline_digest_2425,
9367
+ JSCompiler_object_inline_digest_2427,
9268
9368
  renderLanes
9269
9369
  )),
9270
9370
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9271
- JSCompiler_object_inline_stack_2426
9371
+ JSCompiler_object_inline_stack_2428
9272
9372
  );
9273
9373
  pushPrimaryTreeSuspenseHandler(workInProgress);
9274
9374
  renderLanes = current.child;
9275
9375
  current = renderLanes.sibling;
9276
9376
  renderLanes = createWorkInProgress(renderLanes, {
9277
9377
  mode: "visible",
9278
- children: JSCompiler_object_inline_stack_2426.children
9378
+ children: JSCompiler_object_inline_stack_2428.children
9279
9379
  });
9280
9380
  renderLanes.return = workInProgress;
9281
9381
  renderLanes.sibling = null;
9282
9382
  null !== current &&
9283
- ((JSCompiler_object_inline_digest_2425 = workInProgress.deletions),
9284
- null === JSCompiler_object_inline_digest_2425
9383
+ ((JSCompiler_object_inline_digest_2427 = workInProgress.deletions),
9384
+ null === JSCompiler_object_inline_digest_2427
9285
9385
  ? ((workInProgress.deletions = [current]),
9286
9386
  (workInProgress.flags |= 16))
9287
- : JSCompiler_object_inline_digest_2425.push(current));
9387
+ : JSCompiler_object_inline_digest_2427.push(current));
9288
9388
  workInProgress.child = renderLanes;
9289
9389
  workInProgress.memoizedState = null;
9290
9390
  return renderLanes;
@@ -9697,6 +9797,8 @@
9697
9797
  workInProgress.mode,
9698
9798
  workInProgress.lanes
9699
9799
  );
9800
+ renderLanes._debugStack = workInProgress._debugStack;
9801
+ renderLanes._debugTask = workInProgress._debugTask;
9700
9802
  var returnFiber = workInProgress.return;
9701
9803
  if (null === returnFiber) throw Error("Cannot swap the root fiber.");
9702
9804
  current.alternate = null;
@@ -12822,7 +12924,11 @@
12822
12924
  this.actualDuration = -0;
12823
12925
  this.actualStartTime = -1.1;
12824
12926
  this.treeBaseDuration = this.selfBaseDuration = -0;
12825
- this._debugOwner = this._debugInfo = null;
12927
+ this._debugTask =
12928
+ this._debugStack =
12929
+ this._debugOwner =
12930
+ this._debugInfo =
12931
+ null;
12826
12932
  this._debugNeedsRemount = !1;
12827
12933
  this._debugHookTypes = null;
12828
12934
  hasBadMapPolyfill ||
@@ -12846,6 +12952,8 @@
12846
12952
  (workInProgress.type = current.type),
12847
12953
  (workInProgress.stateNode = current.stateNode),
12848
12954
  (workInProgress._debugOwner = current._debugOwner),
12955
+ (workInProgress._debugStack = current._debugStack),
12956
+ (workInProgress._debugTask = current._debugTask),
12849
12957
  (workInProgress._debugHookTypes = current._debugHookTypes),
12850
12958
  (workInProgress.alternate = current),
12851
12959
  (current.alternate = workInProgress))
@@ -13065,6 +13173,8 @@
13065
13173
  lanes
13066
13174
  );
13067
13175
  mode._debugOwner = element._owner;
13176
+ mode._debugStack = element._debugStack;
13177
+ mode._debugTask = element._debugTask;
13068
13178
  return mode;
13069
13179
  }
13070
13180
  function createFiberFromFragment(elements, mode, lanes, key) {
@@ -16230,6 +16340,15 @@
16230
16340
  });
16231
16341
  }
16232
16342
  }
16343
+ function executeDispatch(event, listener, currentTarget) {
16344
+ event.currentTarget = currentTarget;
16345
+ try {
16346
+ listener(event);
16347
+ } catch (error) {
16348
+ reportGlobalError(error);
16349
+ }
16350
+ event.currentTarget = null;
16351
+ }
16233
16352
  function processDispatchQueue(dispatchQueue, eventSystemFlags) {
16234
16353
  eventSystemFlags = 0 !== (eventSystemFlags & 4);
16235
16354
  for (var i = 0; i < dispatchQueue.length; i++) {
@@ -16250,14 +16369,15 @@
16250
16369
  _dispatchListeners$i = _dispatchListeners$i.listener;
16251
16370
  if (instance !== previousInstance && event.isPropagationStopped())
16252
16371
  break a;
16253
- previousInstance = event;
16254
- previousInstance.currentTarget = currentTarget;
16255
- try {
16256
- _dispatchListeners$i(previousInstance);
16257
- } catch (error) {
16258
- reportGlobalError(error);
16259
- }
16260
- previousInstance.currentTarget = null;
16372
+ null !== instance
16373
+ ? runWithFiberInDEV(
16374
+ instance,
16375
+ executeDispatch,
16376
+ event,
16377
+ _dispatchListeners$i,
16378
+ currentTarget
16379
+ )
16380
+ : executeDispatch(event, _dispatchListeners$i, currentTarget);
16261
16381
  previousInstance = instance;
16262
16382
  }
16263
16383
  else
@@ -16272,14 +16392,15 @@
16272
16392
  _dispatchListeners$i = _dispatchListeners$i.listener;
16273
16393
  if (instance !== previousInstance && event.isPropagationStopped())
16274
16394
  break a;
16275
- previousInstance = event;
16276
- previousInstance.currentTarget = currentTarget;
16277
- try {
16278
- _dispatchListeners$i(previousInstance);
16279
- } catch (error) {
16280
- reportGlobalError(error);
16281
- }
16282
- previousInstance.currentTarget = null;
16395
+ null !== instance
16396
+ ? runWithFiberInDEV(
16397
+ instance,
16398
+ executeDispatch,
16399
+ event,
16400
+ _dispatchListeners$i,
16401
+ currentTarget
16402
+ )
16403
+ : executeDispatch(event, _dispatchListeners$i, currentTarget);
16283
16404
  previousInstance = instance;
16284
16405
  }
16285
16406
  }
@@ -20291,38 +20412,6 @@
20291
20412
  resource.state.loading |= Inserted;
20292
20413
  }
20293
20414
  }
20294
- function bindToConsole(methodName, args, badgeName) {
20295
- var offset = 0;
20296
- switch (methodName) {
20297
- case "dir":
20298
- case "dirxml":
20299
- case "groupEnd":
20300
- case "table":
20301
- return bind.apply(console[methodName], [console].concat(args));
20302
- case "assert":
20303
- offset = 1;
20304
- }
20305
- args = args.slice(0);
20306
- "string" === typeof args[offset]
20307
- ? args.splice(
20308
- offset,
20309
- 1,
20310
- badgeFormat + args[offset],
20311
- badgeStyle,
20312
- pad + badgeName + pad,
20313
- resetStyle
20314
- )
20315
- : args.splice(
20316
- offset,
20317
- 0,
20318
- badgeFormat,
20319
- badgeStyle,
20320
- pad + badgeName + pad,
20321
- resetStyle
20322
- );
20323
- args.unshift(console);
20324
- return bind.apply(console[methodName], args);
20325
- }
20326
20415
  function FiberRootNode(
20327
20416
  containerInfo,
20328
20417
  tag,
@@ -24665,11 +24754,11 @@
24665
24754
  };
24666
24755
  (function () {
24667
24756
  var isomorphicReactPackageVersion = React.version;
24668
- if ("19.1.0-canary-f83903bf-20250212" !== isomorphicReactPackageVersion)
24757
+ if ("19.1.0-canary-32b0cad8-20250213" !== isomorphicReactPackageVersion)
24669
24758
  throw Error(
24670
24759
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24671
24760
  (isomorphicReactPackageVersion +
24672
- "\n - react-dom: 19.1.0-canary-f83903bf-20250212\nLearn more: https://react.dev/warnings/version-mismatch")
24761
+ "\n - react-dom: 19.1.0-canary-32b0cad8-20250213\nLearn more: https://react.dev/warnings/version-mismatch")
24673
24762
  );
24674
24763
  })();
24675
24764
  ("function" === typeof Map &&
@@ -24706,10 +24795,10 @@
24706
24795
  !(function () {
24707
24796
  var internals = {
24708
24797
  bundleType: 1,
24709
- version: "19.1.0-canary-f83903bf-20250212",
24798
+ version: "19.1.0-canary-32b0cad8-20250213",
24710
24799
  rendererPackageName: "react-dom",
24711
24800
  currentDispatcherRef: ReactSharedInternals,
24712
- reconcilerVersion: "19.1.0-canary-f83903bf-20250212"
24801
+ reconcilerVersion: "19.1.0-canary-32b0cad8-20250213"
24713
24802
  };
24714
24803
  internals.overrideHookState = overrideHookState;
24715
24804
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -24853,7 +24942,7 @@
24853
24942
  listenToAllSupportedEvents(container);
24854
24943
  return new ReactDOMHydrationRoot(initialChildren);
24855
24944
  };
24856
- exports.version = "19.1.0-canary-f83903bf-20250212";
24945
+ exports.version = "19.1.0-canary-32b0cad8-20250213";
24857
24946
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
24858
24947
  "function" ===
24859
24948
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&