react-dom 19.2.0-canary-eaee5308-20250728 → 19.2.0-canary-9be531cd-20250729

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.
@@ -3254,6 +3254,16 @@ function trackUsedThenable(thenableState, thenable, index) {
3254
3254
  throw SuspenseException;
3255
3255
  }
3256
3256
  }
3257
+ function resolveLazy(lazyType) {
3258
+ try {
3259
+ var init = lazyType._init;
3260
+ return init(lazyType._payload);
3261
+ } catch (x) {
3262
+ if (null !== x && "object" === typeof x && "function" === typeof x.then)
3263
+ throw ((suspendedThenable = x), SuspenseException);
3264
+ throw x;
3265
+ }
3266
+ }
3257
3267
  var suspendedThenable = null;
3258
3268
  function getSuspendedThenable() {
3259
3269
  if (null === suspendedThenable) throw Error(formatProdErrorMessage(459));
@@ -3293,10 +3303,6 @@ function throwOnInvalidObjectType(returnFiber, newChild) {
3293
3303
  )
3294
3304
  );
3295
3305
  }
3296
- function resolveLazy(lazyType) {
3297
- var init = lazyType._init;
3298
- return init(lazyType._payload);
3299
- }
3300
3306
  function createChildReconciler(shouldTrackSideEffects) {
3301
3307
  function deleteChild(returnFiber, childToDelete) {
3302
3308
  if (shouldTrackSideEffects) {
@@ -3469,9 +3475,10 @@ function createChildReconciler(shouldTrackSideEffects) {
3469
3475
  newChild
3470
3476
  );
3471
3477
  case REACT_LAZY_TYPE:
3472
- var init = newChild._init;
3473
- newChild = init(newChild._payload);
3474
- return createChild(returnFiber, newChild, lanes);
3478
+ return (
3479
+ (newChild = resolveLazy(newChild)),
3480
+ createChild(returnFiber, newChild, lanes)
3481
+ );
3475
3482
  }
3476
3483
  if (isArrayImpl(newChild) || getIteratorFn(newChild))
3477
3484
  return (
@@ -3518,8 +3525,7 @@ function createChildReconciler(shouldTrackSideEffects) {
3518
3525
  : null;
3519
3526
  case REACT_LAZY_TYPE:
3520
3527
  return (
3521
- (key = newChild._init),
3522
- (newChild = key(newChild._payload)),
3528
+ (newChild = resolveLazy(newChild)),
3523
3529
  updateSlot(returnFiber, oldFiber, newChild, lanes)
3524
3530
  );
3525
3531
  }
@@ -3580,14 +3586,15 @@ function createChildReconciler(shouldTrackSideEffects) {
3580
3586
  updatePortal(returnFiber, existingChildren, newChild, lanes)
3581
3587
  );
3582
3588
  case REACT_LAZY_TYPE:
3583
- var init = newChild._init;
3584
- newChild = init(newChild._payload);
3585
- return updateFromMap(
3586
- existingChildren,
3587
- returnFiber,
3588
- newIdx,
3589
- newChild,
3590
- lanes
3589
+ return (
3590
+ (newChild = resolveLazy(newChild)),
3591
+ updateFromMap(
3592
+ existingChildren,
3593
+ returnFiber,
3594
+ newIdx,
3595
+ newChild,
3596
+ lanes
3597
+ )
3591
3598
  );
3592
3599
  }
3593
3600
  if (isArrayImpl(newChild) || getIteratorFn(newChild))
@@ -3895,8 +3902,7 @@ function createChildReconciler(shouldTrackSideEffects) {
3895
3902
  return placeSingleChild(returnFiber);
3896
3903
  case REACT_LAZY_TYPE:
3897
3904
  return (
3898
- (key = newChild._init),
3899
- (newChild = key(newChild._payload)),
3905
+ (newChild = resolveLazy(newChild)),
3900
3906
  reconcileChildFibersImpl(
3901
3907
  returnFiber,
3902
3908
  currentFirstChild,
@@ -7251,57 +7257,54 @@ function beginWork(current, workInProgress, renderLanes) {
7251
7257
  switch (workInProgress.tag) {
7252
7258
  case 16:
7253
7259
  a: {
7254
- current = workInProgress.pendingProps;
7255
- var lazyComponent = workInProgress.elementType,
7256
- init = lazyComponent._init;
7257
- lazyComponent = init(lazyComponent._payload);
7258
- workInProgress.type = lazyComponent;
7259
- if ("function" === typeof lazyComponent)
7260
- shouldConstruct(lazyComponent)
7261
- ? ((current = resolveClassComponentProps(lazyComponent, current)),
7260
+ var props = workInProgress.pendingProps;
7261
+ current = resolveLazy(workInProgress.elementType);
7262
+ workInProgress.type = current;
7263
+ if ("function" === typeof current)
7264
+ shouldConstruct(current)
7265
+ ? ((props = resolveClassComponentProps(current, props)),
7262
7266
  (workInProgress.tag = 1),
7263
7267
  (workInProgress = updateClassComponent(
7264
7268
  null,
7265
7269
  workInProgress,
7266
- lazyComponent,
7267
7270
  current,
7271
+ props,
7268
7272
  renderLanes
7269
7273
  )))
7270
7274
  : ((workInProgress.tag = 0),
7271
7275
  (workInProgress = updateFunctionComponent(
7272
7276
  null,
7273
7277
  workInProgress,
7274
- lazyComponent,
7275
7278
  current,
7279
+ props,
7276
7280
  renderLanes
7277
7281
  )));
7278
7282
  else {
7279
- if (void 0 !== lazyComponent && null !== lazyComponent)
7280
- if (
7281
- ((init = lazyComponent.$$typeof), init === REACT_FORWARD_REF_TYPE)
7282
- ) {
7283
+ if (void 0 !== current && null !== current) {
7284
+ var $$typeof = current.$$typeof;
7285
+ if ($$typeof === REACT_FORWARD_REF_TYPE) {
7283
7286
  workInProgress.tag = 11;
7284
7287
  workInProgress = updateForwardRef(
7285
7288
  null,
7286
7289
  workInProgress,
7287
- lazyComponent,
7288
7290
  current,
7291
+ props,
7289
7292
  renderLanes
7290
7293
  );
7291
7294
  break a;
7292
- } else if (init === REACT_MEMO_TYPE) {
7295
+ } else if ($$typeof === REACT_MEMO_TYPE) {
7293
7296
  workInProgress.tag = 14;
7294
7297
  workInProgress = updateMemoComponent(
7295
7298
  null,
7296
7299
  workInProgress,
7297
- lazyComponent,
7298
7300
  current,
7301
+ props,
7299
7302
  renderLanes
7300
7303
  );
7301
7304
  break a;
7302
7305
  }
7303
- workInProgress =
7304
- getComponentNameFromType(lazyComponent) || lazyComponent;
7306
+ }
7307
+ workInProgress = getComponentNameFromType(current) || current;
7305
7308
  throw Error(formatProdErrorMessage(306, workInProgress, ""));
7306
7309
  }
7307
7310
  }
@@ -7316,16 +7319,16 @@ function beginWork(current, workInProgress, renderLanes) {
7316
7319
  );
7317
7320
  case 1:
7318
7321
  return (
7319
- (lazyComponent = workInProgress.type),
7320
- (init = resolveClassComponentProps(
7321
- lazyComponent,
7322
+ (props = workInProgress.type),
7323
+ ($$typeof = resolveClassComponentProps(
7324
+ props,
7322
7325
  workInProgress.pendingProps
7323
7326
  )),
7324
7327
  updateClassComponent(
7325
7328
  current,
7326
7329
  workInProgress,
7327
- lazyComponent,
7328
- init,
7330
+ props,
7331
+ $$typeof,
7329
7332
  renderLanes
7330
7333
  )
7331
7334
  );
@@ -7336,15 +7339,15 @@ function beginWork(current, workInProgress, renderLanes) {
7336
7339
  workInProgress.stateNode.containerInfo
7337
7340
  );
7338
7341
  if (null === current) throw Error(formatProdErrorMessage(387));
7339
- lazyComponent = workInProgress.pendingProps;
7342
+ props = workInProgress.pendingProps;
7340
7343
  var prevState = workInProgress.memoizedState;
7341
- init = prevState.element;
7344
+ $$typeof = prevState.element;
7342
7345
  cloneUpdateQueue(current, workInProgress);
7343
- processUpdateQueue(workInProgress, lazyComponent, null, renderLanes);
7346
+ processUpdateQueue(workInProgress, props, null, renderLanes);
7344
7347
  var nextState = workInProgress.memoizedState;
7345
- lazyComponent = nextState.cache;
7346
- pushProvider(workInProgress, CacheContext, lazyComponent);
7347
- lazyComponent !== prevState.cache &&
7348
+ props = nextState.cache;
7349
+ pushProvider(workInProgress, CacheContext, props);
7350
+ props !== prevState.cache &&
7348
7351
  propagateContextChanges(
7349
7352
  workInProgress,
7350
7353
  [CacheContext],
@@ -7352,11 +7355,11 @@ function beginWork(current, workInProgress, renderLanes) {
7352
7355
  !0
7353
7356
  );
7354
7357
  suspendIfUpdateReadFromEntangledAsyncAction();
7355
- lazyComponent = nextState.element;
7358
+ props = nextState.element;
7356
7359
  if (prevState.isDehydrated)
7357
7360
  if (
7358
7361
  ((prevState = {
7359
- element: lazyComponent,
7362
+ element: props,
7360
7363
  isDehydrated: !1,
7361
7364
  cache: nextState.cache
7362
7365
  }),
@@ -7367,20 +7370,20 @@ function beginWork(current, workInProgress, renderLanes) {
7367
7370
  workInProgress = mountHostRootWithoutHydrating(
7368
7371
  current,
7369
7372
  workInProgress,
7370
- lazyComponent,
7373
+ props,
7371
7374
  renderLanes
7372
7375
  );
7373
7376
  break a;
7374
- } else if (lazyComponent !== init) {
7375
- init = createCapturedValueAtFiber(
7377
+ } else if (props !== $$typeof) {
7378
+ $$typeof = createCapturedValueAtFiber(
7376
7379
  Error(formatProdErrorMessage(424)),
7377
7380
  workInProgress
7378
7381
  );
7379
- queueHydrationError(init);
7382
+ queueHydrationError($$typeof);
7380
7383
  workInProgress = mountHostRootWithoutHydrating(
7381
7384
  current,
7382
7385
  workInProgress,
7383
- lazyComponent,
7386
+ props,
7384
7387
  renderLanes
7385
7388
  );
7386
7389
  break a;
@@ -7404,7 +7407,7 @@ function beginWork(current, workInProgress, renderLanes) {
7404
7407
  renderLanes = mountChildFibers(
7405
7408
  workInProgress,
7406
7409
  null,
7407
- lazyComponent,
7410
+ props,
7408
7411
  renderLanes
7409
7412
  );
7410
7413
  for (workInProgress.child = renderLanes; renderLanes; )
@@ -7413,7 +7416,7 @@ function beginWork(current, workInProgress, renderLanes) {
7413
7416
  }
7414
7417
  else {
7415
7418
  resetHydrationState();
7416
- if (lazyComponent === init) {
7419
+ if (props === $$typeof) {
7417
7420
  workInProgress = bailoutOnAlreadyFinishedWork(
7418
7421
  current,
7419
7422
  workInProgress,
@@ -7421,12 +7424,7 @@ function beginWork(current, workInProgress, renderLanes) {
7421
7424
  );
7422
7425
  break a;
7423
7426
  }
7424
- reconcileChildren(
7425
- current,
7426
- workInProgress,
7427
- lazyComponent,
7428
- renderLanes
7429
- );
7427
+ reconcileChildren(current, workInProgress, props, renderLanes);
7430
7428
  }
7431
7429
  workInProgress = workInProgress.child;
7432
7430
  }
@@ -7445,14 +7443,14 @@ function beginWork(current, workInProgress, renderLanes) {
7445
7443
  : isHydrating ||
7446
7444
  ((renderLanes = workInProgress.type),
7447
7445
  (current = workInProgress.pendingProps),
7448
- (lazyComponent = getOwnerDocumentFromRootContainer(
7446
+ (props = getOwnerDocumentFromRootContainer(
7449
7447
  rootInstanceStackCursor.current
7450
7448
  ).createElement(renderLanes)),
7451
- (lazyComponent[internalInstanceKey] = workInProgress),
7452
- (lazyComponent[internalPropsKey] = current),
7453
- setInitialProperties(lazyComponent, renderLanes, current),
7454
- markNodeAsHoistable(lazyComponent),
7455
- (workInProgress.stateNode = lazyComponent))
7449
+ (props[internalInstanceKey] = workInProgress),
7450
+ (props[internalPropsKey] = current),
7451
+ setInitialProperties(props, renderLanes, current),
7452
+ markNodeAsHoistable(props),
7453
+ (workInProgress.stateNode = props))
7456
7454
  : (workInProgress.memoizedState = getResource(
7457
7455
  workInProgress.type,
7458
7456
  current.memoizedProps,
@@ -7466,7 +7464,7 @@ function beginWork(current, workInProgress, renderLanes) {
7466
7464
  pushHostContext(workInProgress),
7467
7465
  null === current &&
7468
7466
  isHydrating &&
7469
- ((lazyComponent = workInProgress.stateNode =
7467
+ ((props = workInProgress.stateNode =
7470
7468
  resolveSingletonInstance(
7471
7469
  workInProgress.type,
7472
7470
  workInProgress.pendingProps,
@@ -7474,13 +7472,11 @@ function beginWork(current, workInProgress, renderLanes) {
7474
7472
  )),
7475
7473
  (hydrationParentFiber = workInProgress),
7476
7474
  (rootOrSingletonContext = !0),
7477
- (init = nextHydratableInstance),
7475
+ ($$typeof = nextHydratableInstance),
7478
7476
  isSingletonScope(workInProgress.type)
7479
- ? ((previousHydratableOnEnteringScopedSingleton = init),
7480
- (nextHydratableInstance = getNextHydratable(
7481
- lazyComponent.firstChild
7482
- )))
7483
- : (nextHydratableInstance = init)),
7477
+ ? ((previousHydratableOnEnteringScopedSingleton = $$typeof),
7478
+ (nextHydratableInstance = getNextHydratable(props.firstChild)))
7479
+ : (nextHydratableInstance = $$typeof)),
7484
7480
  reconcileChildren(
7485
7481
  current,
7486
7482
  workInProgress,
@@ -7493,36 +7489,34 @@ function beginWork(current, workInProgress, renderLanes) {
7493
7489
  );
7494
7490
  case 5:
7495
7491
  if (null === current && isHydrating) {
7496
- if ((init = lazyComponent = nextHydratableInstance))
7497
- (lazyComponent = canHydrateInstance(
7498
- lazyComponent,
7492
+ if (($$typeof = props = nextHydratableInstance))
7493
+ (props = canHydrateInstance(
7494
+ props,
7499
7495
  workInProgress.type,
7500
7496
  workInProgress.pendingProps,
7501
7497
  rootOrSingletonContext
7502
7498
  )),
7503
- null !== lazyComponent
7504
- ? ((workInProgress.stateNode = lazyComponent),
7499
+ null !== props
7500
+ ? ((workInProgress.stateNode = props),
7505
7501
  (hydrationParentFiber = workInProgress),
7506
- (nextHydratableInstance = getNextHydratable(
7507
- lazyComponent.firstChild
7508
- )),
7502
+ (nextHydratableInstance = getNextHydratable(props.firstChild)),
7509
7503
  (rootOrSingletonContext = !1),
7510
- (init = !0))
7511
- : (init = !1);
7512
- init || throwOnHydrationMismatch(workInProgress);
7504
+ ($$typeof = !0))
7505
+ : ($$typeof = !1);
7506
+ $$typeof || throwOnHydrationMismatch(workInProgress);
7513
7507
  }
7514
7508
  pushHostContext(workInProgress);
7515
- init = workInProgress.type;
7509
+ $$typeof = workInProgress.type;
7516
7510
  prevState = workInProgress.pendingProps;
7517
7511
  nextState = null !== current ? current.memoizedProps : null;
7518
- lazyComponent = prevState.children;
7519
- shouldSetTextContent(init, prevState)
7520
- ? (lazyComponent = null)
7512
+ props = prevState.children;
7513
+ shouldSetTextContent($$typeof, prevState)
7514
+ ? (props = null)
7521
7515
  : null !== nextState &&
7522
- shouldSetTextContent(init, nextState) &&
7516
+ shouldSetTextContent($$typeof, nextState) &&
7523
7517
  (workInProgress.flags |= 32);
7524
7518
  null !== workInProgress.memoizedState &&
7525
- ((init = renderWithHooks(
7519
+ (($$typeof = renderWithHooks(
7526
7520
  current,
7527
7521
  workInProgress,
7528
7522
  TransitionAwareHostComponent,
@@ -7530,9 +7524,9 @@ function beginWork(current, workInProgress, renderLanes) {
7530
7524
  null,
7531
7525
  renderLanes
7532
7526
  )),
7533
- (HostTransitionContext._currentValue = init));
7527
+ (HostTransitionContext._currentValue = $$typeof));
7534
7528
  markRef(current, workInProgress);
7535
- reconcileChildren(current, workInProgress, lazyComponent, renderLanes);
7529
+ reconcileChildren(current, workInProgress, props, renderLanes);
7536
7530
  return workInProgress.child;
7537
7531
  case 6:
7538
7532
  if (null === current && isHydrating) {
@@ -7559,20 +7553,15 @@ function beginWork(current, workInProgress, renderLanes) {
7559
7553
  workInProgress,
7560
7554
  workInProgress.stateNode.containerInfo
7561
7555
  ),
7562
- (lazyComponent = workInProgress.pendingProps),
7556
+ (props = workInProgress.pendingProps),
7563
7557
  null === current
7564
7558
  ? (workInProgress.child = reconcileChildFibers(
7565
7559
  workInProgress,
7566
7560
  null,
7567
- lazyComponent,
7561
+ props,
7568
7562
  renderLanes
7569
7563
  ))
7570
- : reconcileChildren(
7571
- current,
7572
- workInProgress,
7573
- lazyComponent,
7574
- renderLanes
7575
- ),
7564
+ : reconcileChildren(current, workInProgress, props, renderLanes),
7576
7565
  workInProgress.child
7577
7566
  );
7578
7567
  case 11:
@@ -7615,25 +7604,20 @@ function beginWork(current, workInProgress, renderLanes) {
7615
7604
  );
7616
7605
  case 10:
7617
7606
  return (
7618
- (lazyComponent = workInProgress.pendingProps),
7619
- pushProvider(workInProgress, workInProgress.type, lazyComponent.value),
7620
- reconcileChildren(
7621
- current,
7622
- workInProgress,
7623
- lazyComponent.children,
7624
- renderLanes
7625
- ),
7607
+ (props = workInProgress.pendingProps),
7608
+ pushProvider(workInProgress, workInProgress.type, props.value),
7609
+ reconcileChildren(current, workInProgress, props.children, renderLanes),
7626
7610
  workInProgress.child
7627
7611
  );
7628
7612
  case 9:
7629
7613
  return (
7630
- (init = workInProgress.type._context),
7631
- (lazyComponent = workInProgress.pendingProps.children),
7614
+ ($$typeof = workInProgress.type._context),
7615
+ (props = workInProgress.pendingProps.children),
7632
7616
  prepareToReadContext(workInProgress),
7633
- (init = readContext(init)),
7634
- (lazyComponent = lazyComponent(init)),
7617
+ ($$typeof = readContext($$typeof)),
7618
+ (props = props($$typeof)),
7635
7619
  (workInProgress.flags |= 1),
7636
- reconcileChildren(current, workInProgress, lazyComponent, renderLanes),
7620
+ reconcileChildren(current, workInProgress, props, renderLanes),
7637
7621
  workInProgress.child
7638
7622
  );
7639
7623
  case 14:
@@ -7655,13 +7639,13 @@ function beginWork(current, workInProgress, renderLanes) {
7655
7639
  case 19:
7656
7640
  return updateSuspenseListComponent(current, workInProgress, renderLanes);
7657
7641
  case 31:
7658
- init = workInProgress.pendingProps;
7642
+ $$typeof = workInProgress.pendingProps;
7659
7643
  nextState = 0 !== (workInProgress.flags & 128);
7660
7644
  workInProgress.flags &= -129;
7661
7645
  if (null === current)
7662
7646
  if (isHydrating) {
7663
- if ("hidden" === init.mode)
7664
- mountActivityChildren(workInProgress, init);
7647
+ if ("hidden" === $$typeof.mode)
7648
+ mountActivityChildren(workInProgress, $$typeof);
7665
7649
  else if (
7666
7650
  (pushDehydratedActivitySuspenseHandler(workInProgress),
7667
7651
  (renderLanes = nextHydratableInstance)
@@ -7694,12 +7678,10 @@ function beginWork(current, workInProgress, renderLanes) {
7694
7678
  throw throwOnHydrationMismatch(workInProgress);
7695
7679
  workInProgress.lanes = 536870912;
7696
7680
  workInProgress = null;
7697
- } else workInProgress = mountActivityChildren(workInProgress, init);
7698
- else if (
7699
- ((lazyComponent = current.memoizedState), null !== lazyComponent)
7700
- )
7681
+ } else workInProgress = mountActivityChildren(workInProgress, $$typeof);
7682
+ else if (((props = current.memoizedState), null !== props))
7701
7683
  if (
7702
- ((prevState = lazyComponent.dehydrated),
7684
+ ((prevState = props.dehydrated),
7703
7685
  pushDehydratedActivitySuspenseHandler(workInProgress),
7704
7686
  nextState)
7705
7687
  )
@@ -7726,16 +7708,16 @@ function beginWork(current, workInProgress, renderLanes) {
7726
7708
  (nextState = 0 !== (renderLanes & current.childLanes)),
7727
7709
  didReceiveUpdate || nextState)
7728
7710
  ) {
7729
- init = workInProgressRoot;
7711
+ $$typeof = workInProgressRoot;
7730
7712
  if (
7731
- null !== init &&
7732
- ((prevState = getBumpedLaneForHydration(init, renderLanes)),
7733
- 0 !== prevState && prevState !== lazyComponent.retryLane)
7713
+ null !== $$typeof &&
7714
+ ((prevState = getBumpedLaneForHydration($$typeof, renderLanes)),
7715
+ 0 !== prevState && prevState !== props.retryLane)
7734
7716
  )
7735
7717
  throw (
7736
- ((lazyComponent.retryLane = prevState),
7718
+ ((props.retryLane = prevState),
7737
7719
  enqueueConcurrentRenderForLane(current, prevState),
7738
- scheduleUpdateOnFiber(init, current, prevState),
7720
+ scheduleUpdateOnFiber($$typeof, current, prevState),
7739
7721
  SelectiveHydrationException)
7740
7722
  );
7741
7723
  renderDidSuspendDelayIfPossible();
@@ -7745,7 +7727,7 @@ function beginWork(current, workInProgress, renderLanes) {
7745
7727
  renderLanes
7746
7728
  );
7747
7729
  } else
7748
- (renderLanes = lazyComponent.treeContext),
7730
+ (renderLanes = props.treeContext),
7749
7731
  (nextHydratableInstance = getNextHydratable(prevState.nextSibling)),
7750
7732
  (hydrationParentFiber = workInProgress),
7751
7733
  (isHydrating = !0),
@@ -7753,12 +7735,12 @@ function beginWork(current, workInProgress, renderLanes) {
7753
7735
  (rootOrSingletonContext = !1),
7754
7736
  null !== renderLanes &&
7755
7737
  restoreSuspendedTreeContext(workInProgress, renderLanes),
7756
- (workInProgress = mountActivityChildren(workInProgress, init)),
7738
+ (workInProgress = mountActivityChildren(workInProgress, $$typeof)),
7757
7739
  (workInProgress.flags |= 4096);
7758
7740
  else
7759
7741
  (renderLanes = createWorkInProgress(current.child, {
7760
- mode: init.mode,
7761
- children: init.children
7742
+ mode: $$typeof.mode,
7743
+ children: $$typeof.children
7762
7744
  })),
7763
7745
  (renderLanes.ref = workInProgress.ref),
7764
7746
  (workInProgress.child = renderLanes),
@@ -7775,39 +7757,36 @@ function beginWork(current, workInProgress, renderLanes) {
7775
7757
  case 24:
7776
7758
  return (
7777
7759
  prepareToReadContext(workInProgress),
7778
- (lazyComponent = readContext(CacheContext)),
7760
+ (props = readContext(CacheContext)),
7779
7761
  null === current
7780
- ? ((init = peekCacheFromPool()),
7781
- null === init &&
7782
- ((init = workInProgressRoot),
7762
+ ? (($$typeof = peekCacheFromPool()),
7763
+ null === $$typeof &&
7764
+ (($$typeof = workInProgressRoot),
7783
7765
  (prevState = createCache()),
7784
- (init.pooledCache = prevState),
7766
+ ($$typeof.pooledCache = prevState),
7785
7767
  prevState.refCount++,
7786
- null !== prevState && (init.pooledCacheLanes |= renderLanes),
7787
- (init = prevState)),
7788
- (workInProgress.memoizedState = {
7789
- parent: lazyComponent,
7790
- cache: init
7791
- }),
7768
+ null !== prevState && ($$typeof.pooledCacheLanes |= renderLanes),
7769
+ ($$typeof = prevState)),
7770
+ (workInProgress.memoizedState = { parent: props, cache: $$typeof }),
7792
7771
  initializeUpdateQueue(workInProgress),
7793
- pushProvider(workInProgress, CacheContext, init))
7772
+ pushProvider(workInProgress, CacheContext, $$typeof))
7794
7773
  : (0 !== (current.lanes & renderLanes) &&
7795
7774
  (cloneUpdateQueue(current, workInProgress),
7796
7775
  processUpdateQueue(workInProgress, null, null, renderLanes),
7797
7776
  suspendIfUpdateReadFromEntangledAsyncAction()),
7798
- (init = current.memoizedState),
7777
+ ($$typeof = current.memoizedState),
7799
7778
  (prevState = workInProgress.memoizedState),
7800
- init.parent !== lazyComponent
7801
- ? ((init = { parent: lazyComponent, cache: lazyComponent }),
7802
- (workInProgress.memoizedState = init),
7779
+ $$typeof.parent !== props
7780
+ ? (($$typeof = { parent: props, cache: props }),
7781
+ (workInProgress.memoizedState = $$typeof),
7803
7782
  0 === workInProgress.lanes &&
7804
7783
  (workInProgress.memoizedState =
7805
7784
  workInProgress.updateQueue.baseState =
7806
- init),
7807
- pushProvider(workInProgress, CacheContext, lazyComponent))
7808
- : ((lazyComponent = prevState.cache),
7809
- pushProvider(workInProgress, CacheContext, lazyComponent),
7810
- lazyComponent !== init.cache &&
7785
+ $$typeof),
7786
+ pushProvider(workInProgress, CacheContext, props))
7787
+ : ((props = prevState.cache),
7788
+ pushProvider(workInProgress, CacheContext, props),
7789
+ props !== $$typeof.cache &&
7811
7790
  propagateContextChanges(
7812
7791
  workInProgress,
7813
7792
  [CacheContext],
@@ -12085,20 +12064,20 @@ function extractEvents$1(
12085
12064
  }
12086
12065
  }
12087
12066
  for (
12088
- var i$jscomp$inline_1578 = 0;
12089
- i$jscomp$inline_1578 < simpleEventPluginEvents.length;
12090
- i$jscomp$inline_1578++
12067
+ var i$jscomp$inline_1576 = 0;
12068
+ i$jscomp$inline_1576 < simpleEventPluginEvents.length;
12069
+ i$jscomp$inline_1576++
12091
12070
  ) {
12092
- var eventName$jscomp$inline_1579 =
12093
- simpleEventPluginEvents[i$jscomp$inline_1578],
12094
- domEventName$jscomp$inline_1580 =
12095
- eventName$jscomp$inline_1579.toLowerCase(),
12096
- capitalizedEvent$jscomp$inline_1581 =
12097
- eventName$jscomp$inline_1579[0].toUpperCase() +
12098
- eventName$jscomp$inline_1579.slice(1);
12071
+ var eventName$jscomp$inline_1577 =
12072
+ simpleEventPluginEvents[i$jscomp$inline_1576],
12073
+ domEventName$jscomp$inline_1578 =
12074
+ eventName$jscomp$inline_1577.toLowerCase(),
12075
+ capitalizedEvent$jscomp$inline_1579 =
12076
+ eventName$jscomp$inline_1577[0].toUpperCase() +
12077
+ eventName$jscomp$inline_1577.slice(1);
12099
12078
  registerSimpleEvent(
12100
- domEventName$jscomp$inline_1580,
12101
- "on" + capitalizedEvent$jscomp$inline_1581
12079
+ domEventName$jscomp$inline_1578,
12080
+ "on" + capitalizedEvent$jscomp$inline_1579
12102
12081
  );
12103
12082
  }
12104
12083
  registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -15714,16 +15693,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
15714
15693
  0 === i && attemptExplicitHydrationTarget(target);
15715
15694
  }
15716
15695
  };
15717
- var isomorphicReactPackageVersion$jscomp$inline_1838 = React.version;
15696
+ var isomorphicReactPackageVersion$jscomp$inline_1836 = React.version;
15718
15697
  if (
15719
- "19.2.0-canary-eaee5308-20250728" !==
15720
- isomorphicReactPackageVersion$jscomp$inline_1838
15698
+ "19.2.0-canary-9be531cd-20250729" !==
15699
+ isomorphicReactPackageVersion$jscomp$inline_1836
15721
15700
  )
15722
15701
  throw Error(
15723
15702
  formatProdErrorMessage(
15724
15703
  527,
15725
- isomorphicReactPackageVersion$jscomp$inline_1838,
15726
- "19.2.0-canary-eaee5308-20250728"
15704
+ isomorphicReactPackageVersion$jscomp$inline_1836,
15705
+ "19.2.0-canary-9be531cd-20250729"
15727
15706
  )
15728
15707
  );
15729
15708
  ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
@@ -15743,24 +15722,24 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
15743
15722
  null === componentOrElement ? null : componentOrElement.stateNode;
15744
15723
  return componentOrElement;
15745
15724
  };
15746
- var internals$jscomp$inline_2331 = {
15725
+ var internals$jscomp$inline_2329 = {
15747
15726
  bundleType: 0,
15748
- version: "19.2.0-canary-eaee5308-20250728",
15727
+ version: "19.2.0-canary-9be531cd-20250729",
15749
15728
  rendererPackageName: "react-dom",
15750
15729
  currentDispatcherRef: ReactSharedInternals,
15751
- reconcilerVersion: "19.2.0-canary-eaee5308-20250728"
15730
+ reconcilerVersion: "19.2.0-canary-9be531cd-20250729"
15752
15731
  };
15753
15732
  if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
15754
- var hook$jscomp$inline_2332 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15733
+ var hook$jscomp$inline_2330 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
15755
15734
  if (
15756
- !hook$jscomp$inline_2332.isDisabled &&
15757
- hook$jscomp$inline_2332.supportsFiber
15735
+ !hook$jscomp$inline_2330.isDisabled &&
15736
+ hook$jscomp$inline_2330.supportsFiber
15758
15737
  )
15759
15738
  try {
15760
- (rendererID = hook$jscomp$inline_2332.inject(
15761
- internals$jscomp$inline_2331
15739
+ (rendererID = hook$jscomp$inline_2330.inject(
15740
+ internals$jscomp$inline_2329
15762
15741
  )),
15763
- (injectedHook = hook$jscomp$inline_2332);
15742
+ (injectedHook = hook$jscomp$inline_2330);
15764
15743
  } catch (err) {}
15765
15744
  }
15766
15745
  exports.createRoot = function (container, options) {
@@ -15846,4 +15825,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
15846
15825
  listenToAllSupportedEvents(container);
15847
15826
  return new ReactDOMHydrationRoot(initialChildren);
15848
15827
  };
15849
- exports.version = "19.2.0-canary-eaee5308-20250728";
15828
+ exports.version = "19.2.0-canary-9be531cd-20250729";