react-dom 19.2.0-canary-8bb7241f-20250926 → 19.2.0-canary-d15d7fd7-20250929

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.
@@ -7824,6 +7824,43 @@
7824
7824
  ? mountEffectImpl(276826112, Passive, create, deps)
7825
7825
  : mountEffectImpl(8390656, Passive, create, deps);
7826
7826
  }
7827
+ function useEffectEventImpl(payload) {
7828
+ currentlyRenderingFiber.flags |= 4;
7829
+ var componentUpdateQueue = currentlyRenderingFiber.updateQueue;
7830
+ if (null === componentUpdateQueue)
7831
+ (componentUpdateQueue = createFunctionComponentUpdateQueue()),
7832
+ (currentlyRenderingFiber.updateQueue = componentUpdateQueue),
7833
+ (componentUpdateQueue.events = [payload]);
7834
+ else {
7835
+ var events = componentUpdateQueue.events;
7836
+ null === events
7837
+ ? (componentUpdateQueue.events = [payload])
7838
+ : events.push(payload);
7839
+ }
7840
+ }
7841
+ function mountEvent(callback) {
7842
+ var hook = mountWorkInProgressHook(),
7843
+ ref = { impl: callback };
7844
+ hook.memoizedState = ref;
7845
+ return function () {
7846
+ if ((executionContext & RenderContext) !== NoContext)
7847
+ throw Error(
7848
+ "A function wrapped in useEffectEvent can't be called during rendering."
7849
+ );
7850
+ return ref.impl.apply(void 0, arguments);
7851
+ };
7852
+ }
7853
+ function updateEvent(callback) {
7854
+ var ref = updateWorkInProgressHook().memoizedState;
7855
+ useEffectEventImpl({ ref: ref, nextImpl: callback });
7856
+ return function () {
7857
+ if ((executionContext & RenderContext) !== NoContext)
7858
+ throw Error(
7859
+ "A function wrapped in useEffectEvent can't be called during rendering."
7860
+ );
7861
+ return ref.impl.apply(void 0, arguments);
7862
+ };
7863
+ }
7827
7864
  function mountLayoutEffect(create, deps) {
7828
7865
  var fiberFlags = 4194308;
7829
7866
  (currentlyRenderingFiber.mode & StrictEffectsMode) !== NoMode &&
@@ -9940,24 +9977,24 @@
9940
9977
  return current;
9941
9978
  }
9942
9979
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
9943
- var JSCompiler_object_inline_digest_2523;
9944
- var JSCompiler_object_inline_stack_2524 = workInProgress.pendingProps;
9980
+ var JSCompiler_object_inline_digest_2533;
9981
+ var JSCompiler_object_inline_stack_2534 = workInProgress.pendingProps;
9945
9982
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
9946
- var JSCompiler_object_inline_message_2522 = !1;
9983
+ var JSCompiler_object_inline_message_2532 = !1;
9947
9984
  var didSuspend = 0 !== (workInProgress.flags & 128);
9948
- (JSCompiler_object_inline_digest_2523 = didSuspend) ||
9949
- (JSCompiler_object_inline_digest_2523 =
9985
+ (JSCompiler_object_inline_digest_2533 = didSuspend) ||
9986
+ (JSCompiler_object_inline_digest_2533 =
9950
9987
  null !== current && null === current.memoizedState
9951
9988
  ? !1
9952
9989
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
9953
- JSCompiler_object_inline_digest_2523 &&
9954
- ((JSCompiler_object_inline_message_2522 = !0),
9990
+ JSCompiler_object_inline_digest_2533 &&
9991
+ ((JSCompiler_object_inline_message_2532 = !0),
9955
9992
  (workInProgress.flags &= -129));
9956
- JSCompiler_object_inline_digest_2523 = 0 !== (workInProgress.flags & 32);
9993
+ JSCompiler_object_inline_digest_2533 = 0 !== (workInProgress.flags & 32);
9957
9994
  workInProgress.flags &= -33;
9958
9995
  if (null === current) {
9959
9996
  if (isHydrating) {
9960
- JSCompiler_object_inline_message_2522
9997
+ JSCompiler_object_inline_message_2532
9961
9998
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9962
9999
  : reuseSuspenseHandlerOnStack(workInProgress);
9963
10000
  (current = nextHydratableInstance)
@@ -9970,18 +10007,18 @@
9970
10007
  ? renderLanes
9971
10008
  : null),
9972
10009
  null !== renderLanes &&
9973
- ((JSCompiler_object_inline_digest_2523 = {
10010
+ ((JSCompiler_object_inline_digest_2533 = {
9974
10011
  dehydrated: renderLanes,
9975
10012
  treeContext: getSuspendedTreeContext(),
9976
10013
  retryLane: 536870912,
9977
10014
  hydrationErrors: null
9978
10015
  }),
9979
10016
  (workInProgress.memoizedState =
9980
- JSCompiler_object_inline_digest_2523),
9981
- (JSCompiler_object_inline_digest_2523 =
10017
+ JSCompiler_object_inline_digest_2533),
10018
+ (JSCompiler_object_inline_digest_2533 =
9982
10019
  createFiberFromDehydratedFragment(renderLanes)),
9983
- (JSCompiler_object_inline_digest_2523.return = workInProgress),
9984
- (workInProgress.child = JSCompiler_object_inline_digest_2523),
10020
+ (JSCompiler_object_inline_digest_2533.return = workInProgress),
10021
+ (workInProgress.child = JSCompiler_object_inline_digest_2533),
9985
10022
  (hydrationParentFiber = workInProgress),
9986
10023
  (nextHydratableInstance = null)))
9987
10024
  : (renderLanes = null);
@@ -9995,39 +10032,39 @@
9995
10032
  : (workInProgress.lanes = 536870912);
9996
10033
  return null;
9997
10034
  }
9998
- var nextPrimaryChildren = JSCompiler_object_inline_stack_2524.children;
9999
- JSCompiler_object_inline_stack_2524 =
10000
- JSCompiler_object_inline_stack_2524.fallback;
10001
- if (JSCompiler_object_inline_message_2522) {
10035
+ var nextPrimaryChildren = JSCompiler_object_inline_stack_2534.children;
10036
+ JSCompiler_object_inline_stack_2534 =
10037
+ JSCompiler_object_inline_stack_2534.fallback;
10038
+ if (JSCompiler_object_inline_message_2532) {
10002
10039
  reuseSuspenseHandlerOnStack(workInProgress);
10003
10040
  var mode = workInProgress.mode;
10004
10041
  nextPrimaryChildren = mountWorkInProgressOffscreenFiber(
10005
10042
  { mode: "hidden", children: nextPrimaryChildren },
10006
10043
  mode
10007
10044
  );
10008
- JSCompiler_object_inline_stack_2524 = createFiberFromFragment(
10009
- JSCompiler_object_inline_stack_2524,
10045
+ JSCompiler_object_inline_stack_2534 = createFiberFromFragment(
10046
+ JSCompiler_object_inline_stack_2534,
10010
10047
  mode,
10011
10048
  renderLanes,
10012
10049
  null
10013
10050
  );
10014
10051
  nextPrimaryChildren.return = workInProgress;
10015
- JSCompiler_object_inline_stack_2524.return = workInProgress;
10016
- nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2524;
10052
+ JSCompiler_object_inline_stack_2534.return = workInProgress;
10053
+ nextPrimaryChildren.sibling = JSCompiler_object_inline_stack_2534;
10017
10054
  workInProgress.child = nextPrimaryChildren;
10018
- JSCompiler_object_inline_stack_2524 = workInProgress.child;
10019
- JSCompiler_object_inline_stack_2524.memoizedState =
10055
+ JSCompiler_object_inline_stack_2534 = workInProgress.child;
10056
+ JSCompiler_object_inline_stack_2534.memoizedState =
10020
10057
  mountSuspenseOffscreenState(renderLanes);
10021
- JSCompiler_object_inline_stack_2524.childLanes =
10058
+ JSCompiler_object_inline_stack_2534.childLanes =
10022
10059
  getRemainingWorkInPrimaryTree(
10023
10060
  current,
10024
- JSCompiler_object_inline_digest_2523,
10061
+ JSCompiler_object_inline_digest_2533,
10025
10062
  renderLanes
10026
10063
  );
10027
10064
  workInProgress.memoizedState = SUSPENDED_MARKER;
10028
10065
  return bailoutOffscreenComponent(
10029
10066
  null,
10030
- JSCompiler_object_inline_stack_2524
10067
+ JSCompiler_object_inline_stack_2534
10031
10068
  );
10032
10069
  }
10033
10070
  pushPrimaryTreeSuspenseHandler(workInProgress);
@@ -10038,8 +10075,8 @@
10038
10075
  }
10039
10076
  var prevState = current.memoizedState;
10040
10077
  if (null !== prevState) {
10041
- var JSCompiler_object_inline_componentStack_2525 = prevState.dehydrated;
10042
- if (null !== JSCompiler_object_inline_componentStack_2525) {
10078
+ var JSCompiler_object_inline_componentStack_2535 = prevState.dehydrated;
10079
+ if (null !== JSCompiler_object_inline_componentStack_2535) {
10043
10080
  if (didSuspend)
10044
10081
  workInProgress.flags & 256
10045
10082
  ? (pushPrimaryTreeSuspenseHandler(workInProgress),
@@ -10056,13 +10093,13 @@
10056
10093
  (workInProgress = null))
10057
10094
  : (reuseSuspenseHandlerOnStack(workInProgress),
10058
10095
  (nextPrimaryChildren =
10059
- JSCompiler_object_inline_stack_2524.fallback),
10096
+ JSCompiler_object_inline_stack_2534.fallback),
10060
10097
  (mode = workInProgress.mode),
10061
- (JSCompiler_object_inline_stack_2524 =
10098
+ (JSCompiler_object_inline_stack_2534 =
10062
10099
  mountWorkInProgressOffscreenFiber(
10063
10100
  {
10064
10101
  mode: "visible",
10065
- children: JSCompiler_object_inline_stack_2524.children
10102
+ children: JSCompiler_object_inline_stack_2534.children
10066
10103
  },
10067
10104
  mode
10068
10105
  )),
@@ -10073,74 +10110,74 @@
10073
10110
  null
10074
10111
  )),
10075
10112
  (nextPrimaryChildren.flags |= 2),
10076
- (JSCompiler_object_inline_stack_2524.return = workInProgress),
10113
+ (JSCompiler_object_inline_stack_2534.return = workInProgress),
10077
10114
  (nextPrimaryChildren.return = workInProgress),
10078
- (JSCompiler_object_inline_stack_2524.sibling =
10115
+ (JSCompiler_object_inline_stack_2534.sibling =
10079
10116
  nextPrimaryChildren),
10080
- (workInProgress.child = JSCompiler_object_inline_stack_2524),
10117
+ (workInProgress.child = JSCompiler_object_inline_stack_2534),
10081
10118
  reconcileChildFibers(
10082
10119
  workInProgress,
10083
10120
  current.child,
10084
10121
  null,
10085
10122
  renderLanes
10086
10123
  ),
10087
- (JSCompiler_object_inline_stack_2524 = workInProgress.child),
10088
- (JSCompiler_object_inline_stack_2524.memoizedState =
10124
+ (JSCompiler_object_inline_stack_2534 = workInProgress.child),
10125
+ (JSCompiler_object_inline_stack_2534.memoizedState =
10089
10126
  mountSuspenseOffscreenState(renderLanes)),
10090
- (JSCompiler_object_inline_stack_2524.childLanes =
10127
+ (JSCompiler_object_inline_stack_2534.childLanes =
10091
10128
  getRemainingWorkInPrimaryTree(
10092
10129
  current,
10093
- JSCompiler_object_inline_digest_2523,
10130
+ JSCompiler_object_inline_digest_2533,
10094
10131
  renderLanes
10095
10132
  )),
10096
10133
  (workInProgress.memoizedState = SUSPENDED_MARKER),
10097
10134
  (workInProgress = bailoutOffscreenComponent(
10098
10135
  null,
10099
- JSCompiler_object_inline_stack_2524
10136
+ JSCompiler_object_inline_stack_2534
10100
10137
  )));
10101
10138
  else if (
10102
10139
  (pushPrimaryTreeSuspenseHandler(workInProgress),
10103
10140
  warnIfHydrating(),
10104
10141
  isSuspenseInstanceFallback(
10105
- JSCompiler_object_inline_componentStack_2525
10142
+ JSCompiler_object_inline_componentStack_2535
10106
10143
  ))
10107
10144
  ) {
10108
- JSCompiler_object_inline_digest_2523 =
10109
- JSCompiler_object_inline_componentStack_2525.nextSibling &&
10110
- JSCompiler_object_inline_componentStack_2525.nextSibling.dataset;
10111
- if (JSCompiler_object_inline_digest_2523) {
10112
- nextPrimaryChildren = JSCompiler_object_inline_digest_2523.dgst;
10113
- var message = JSCompiler_object_inline_digest_2523.msg;
10114
- mode = JSCompiler_object_inline_digest_2523.stck;
10115
- var componentStack = JSCompiler_object_inline_digest_2523.cstck;
10145
+ JSCompiler_object_inline_digest_2533 =
10146
+ JSCompiler_object_inline_componentStack_2535.nextSibling &&
10147
+ JSCompiler_object_inline_componentStack_2535.nextSibling.dataset;
10148
+ if (JSCompiler_object_inline_digest_2533) {
10149
+ nextPrimaryChildren = JSCompiler_object_inline_digest_2533.dgst;
10150
+ var message = JSCompiler_object_inline_digest_2533.msg;
10151
+ mode = JSCompiler_object_inline_digest_2533.stck;
10152
+ var componentStack = JSCompiler_object_inline_digest_2533.cstck;
10116
10153
  }
10117
- JSCompiler_object_inline_message_2522 = message;
10118
- JSCompiler_object_inline_digest_2523 = nextPrimaryChildren;
10119
- JSCompiler_object_inline_stack_2524 = mode;
10120
- JSCompiler_object_inline_componentStack_2525 = componentStack;
10121
- nextPrimaryChildren = JSCompiler_object_inline_message_2522;
10122
- mode = JSCompiler_object_inline_componentStack_2525;
10154
+ JSCompiler_object_inline_message_2532 = message;
10155
+ JSCompiler_object_inline_digest_2533 = nextPrimaryChildren;
10156
+ JSCompiler_object_inline_stack_2534 = mode;
10157
+ JSCompiler_object_inline_componentStack_2535 = componentStack;
10158
+ nextPrimaryChildren = JSCompiler_object_inline_message_2532;
10159
+ mode = JSCompiler_object_inline_componentStack_2535;
10123
10160
  nextPrimaryChildren = nextPrimaryChildren
10124
10161
  ? Error(nextPrimaryChildren)
10125
10162
  : Error(
10126
10163
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
10127
10164
  );
10128
10165
  nextPrimaryChildren.stack =
10129
- JSCompiler_object_inline_stack_2524 || "";
10130
- nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2523;
10131
- JSCompiler_object_inline_digest_2523 =
10166
+ JSCompiler_object_inline_stack_2534 || "";
10167
+ nextPrimaryChildren.digest = JSCompiler_object_inline_digest_2533;
10168
+ JSCompiler_object_inline_digest_2533 =
10132
10169
  void 0 === mode ? null : mode;
10133
- JSCompiler_object_inline_stack_2524 = {
10170
+ JSCompiler_object_inline_stack_2534 = {
10134
10171
  value: nextPrimaryChildren,
10135
10172
  source: null,
10136
- stack: JSCompiler_object_inline_digest_2523
10173
+ stack: JSCompiler_object_inline_digest_2533
10137
10174
  };
10138
- "string" === typeof JSCompiler_object_inline_digest_2523 &&
10175
+ "string" === typeof JSCompiler_object_inline_digest_2533 &&
10139
10176
  CapturedStacks.set(
10140
10177
  nextPrimaryChildren,
10141
- JSCompiler_object_inline_stack_2524
10178
+ JSCompiler_object_inline_stack_2534
10142
10179
  );
10143
- queueHydrationError(JSCompiler_object_inline_stack_2524);
10180
+ queueHydrationError(JSCompiler_object_inline_stack_2534);
10144
10181
  workInProgress = retrySuspenseComponentWithoutHydrating(
10145
10182
  current,
10146
10183
  workInProgress,
@@ -10154,35 +10191,35 @@
10154
10191
  renderLanes,
10155
10192
  !1
10156
10193
  ),
10157
- (JSCompiler_object_inline_digest_2523 =
10194
+ (JSCompiler_object_inline_digest_2533 =
10158
10195
  0 !== (renderLanes & current.childLanes)),
10159
- didReceiveUpdate || JSCompiler_object_inline_digest_2523)
10196
+ didReceiveUpdate || JSCompiler_object_inline_digest_2533)
10160
10197
  ) {
10161
- JSCompiler_object_inline_digest_2523 = workInProgressRoot;
10198
+ JSCompiler_object_inline_digest_2533 = workInProgressRoot;
10162
10199
  if (
10163
- null !== JSCompiler_object_inline_digest_2523 &&
10164
- ((JSCompiler_object_inline_stack_2524 = getBumpedLaneForHydration(
10165
- JSCompiler_object_inline_digest_2523,
10200
+ null !== JSCompiler_object_inline_digest_2533 &&
10201
+ ((JSCompiler_object_inline_stack_2534 = getBumpedLaneForHydration(
10202
+ JSCompiler_object_inline_digest_2533,
10166
10203
  renderLanes
10167
10204
  )),
10168
- 0 !== JSCompiler_object_inline_stack_2524 &&
10169
- JSCompiler_object_inline_stack_2524 !== prevState.retryLane)
10205
+ 0 !== JSCompiler_object_inline_stack_2534 &&
10206
+ JSCompiler_object_inline_stack_2534 !== prevState.retryLane)
10170
10207
  )
10171
10208
  throw (
10172
- ((prevState.retryLane = JSCompiler_object_inline_stack_2524),
10209
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2534),
10173
10210
  enqueueConcurrentRenderForLane(
10174
10211
  current,
10175
- JSCompiler_object_inline_stack_2524
10212
+ JSCompiler_object_inline_stack_2534
10176
10213
  ),
10177
10214
  scheduleUpdateOnFiber(
10178
- JSCompiler_object_inline_digest_2523,
10215
+ JSCompiler_object_inline_digest_2533,
10179
10216
  current,
10180
- JSCompiler_object_inline_stack_2524
10217
+ JSCompiler_object_inline_stack_2534
10181
10218
  ),
10182
10219
  SelectiveHydrationException)
10183
10220
  );
10184
10221
  isSuspenseInstancePending(
10185
- JSCompiler_object_inline_componentStack_2525
10222
+ JSCompiler_object_inline_componentStack_2535
10186
10223
  ) || renderDidSuspendDelayIfPossible();
10187
10224
  workInProgress = retrySuspenseComponentWithoutHydrating(
10188
10225
  current,
@@ -10191,14 +10228,14 @@
10191
10228
  );
10192
10229
  } else
10193
10230
  isSuspenseInstancePending(
10194
- JSCompiler_object_inline_componentStack_2525
10231
+ JSCompiler_object_inline_componentStack_2535
10195
10232
  )
10196
10233
  ? ((workInProgress.flags |= 192),
10197
10234
  (workInProgress.child = current.child),
10198
10235
  (workInProgress = null))
10199
10236
  : ((current = prevState.treeContext),
10200
10237
  (nextHydratableInstance = getNextHydratable(
10201
- JSCompiler_object_inline_componentStack_2525.nextSibling
10238
+ JSCompiler_object_inline_componentStack_2535.nextSibling
10202
10239
  )),
10203
10240
  (hydrationParentFiber = workInProgress),
10204
10241
  (isHydrating = !0),
@@ -10210,32 +10247,32 @@
10210
10247
  restoreSuspendedTreeContext(workInProgress, current),
10211
10248
  (workInProgress = mountSuspensePrimaryChildren(
10212
10249
  workInProgress,
10213
- JSCompiler_object_inline_stack_2524.children
10250
+ JSCompiler_object_inline_stack_2534.children
10214
10251
  )),
10215
10252
  (workInProgress.flags |= 4096));
10216
10253
  return workInProgress;
10217
10254
  }
10218
10255
  }
10219
- if (JSCompiler_object_inline_message_2522)
10256
+ if (JSCompiler_object_inline_message_2532)
10220
10257
  return (
10221
10258
  reuseSuspenseHandlerOnStack(workInProgress),
10222
- (nextPrimaryChildren = JSCompiler_object_inline_stack_2524.fallback),
10259
+ (nextPrimaryChildren = JSCompiler_object_inline_stack_2534.fallback),
10223
10260
  (mode = workInProgress.mode),
10224
10261
  (componentStack = current.child),
10225
- (JSCompiler_object_inline_componentStack_2525 =
10262
+ (JSCompiler_object_inline_componentStack_2535 =
10226
10263
  componentStack.sibling),
10227
- (JSCompiler_object_inline_stack_2524 = createWorkInProgress(
10264
+ (JSCompiler_object_inline_stack_2534 = createWorkInProgress(
10228
10265
  componentStack,
10229
10266
  {
10230
10267
  mode: "hidden",
10231
- children: JSCompiler_object_inline_stack_2524.children
10268
+ children: JSCompiler_object_inline_stack_2534.children
10232
10269
  }
10233
10270
  )),
10234
- (JSCompiler_object_inline_stack_2524.subtreeFlags =
10271
+ (JSCompiler_object_inline_stack_2534.subtreeFlags =
10235
10272
  componentStack.subtreeFlags & 65011712),
10236
- null !== JSCompiler_object_inline_componentStack_2525
10273
+ null !== JSCompiler_object_inline_componentStack_2535
10237
10274
  ? (nextPrimaryChildren = createWorkInProgress(
10238
- JSCompiler_object_inline_componentStack_2525,
10275
+ JSCompiler_object_inline_componentStack_2535,
10239
10276
  nextPrimaryChildren
10240
10277
  ))
10241
10278
  : ((nextPrimaryChildren = createFiberFromFragment(
@@ -10246,11 +10283,11 @@
10246
10283
  )),
10247
10284
  (nextPrimaryChildren.flags |= 2)),
10248
10285
  (nextPrimaryChildren.return = workInProgress),
10249
- (JSCompiler_object_inline_stack_2524.return = workInProgress),
10250
- (JSCompiler_object_inline_stack_2524.sibling = nextPrimaryChildren),
10251
- (workInProgress.child = JSCompiler_object_inline_stack_2524),
10252
- bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2524),
10253
- (JSCompiler_object_inline_stack_2524 = workInProgress.child),
10286
+ (JSCompiler_object_inline_stack_2534.return = workInProgress),
10287
+ (JSCompiler_object_inline_stack_2534.sibling = nextPrimaryChildren),
10288
+ (workInProgress.child = JSCompiler_object_inline_stack_2534),
10289
+ bailoutOffscreenComponent(null, JSCompiler_object_inline_stack_2534),
10290
+ (JSCompiler_object_inline_stack_2534 = workInProgress.child),
10254
10291
  (nextPrimaryChildren = current.child.memoizedState),
10255
10292
  null === nextPrimaryChildren
10256
10293
  ? (nextPrimaryChildren = mountSuspenseOffscreenState(renderLanes))
@@ -10266,18 +10303,18 @@
10266
10303
  baseLanes: nextPrimaryChildren.baseLanes | renderLanes,
10267
10304
  cachePool: mode
10268
10305
  })),
10269
- (JSCompiler_object_inline_stack_2524.memoizedState =
10306
+ (JSCompiler_object_inline_stack_2534.memoizedState =
10270
10307
  nextPrimaryChildren),
10271
- (JSCompiler_object_inline_stack_2524.childLanes =
10308
+ (JSCompiler_object_inline_stack_2534.childLanes =
10272
10309
  getRemainingWorkInPrimaryTree(
10273
10310
  current,
10274
- JSCompiler_object_inline_digest_2523,
10311
+ JSCompiler_object_inline_digest_2533,
10275
10312
  renderLanes
10276
10313
  )),
10277
10314
  (workInProgress.memoizedState = SUSPENDED_MARKER),
10278
10315
  bailoutOffscreenComponent(
10279
10316
  current.child,
10280
- JSCompiler_object_inline_stack_2524
10317
+ JSCompiler_object_inline_stack_2534
10281
10318
  )
10282
10319
  );
10283
10320
  pushPrimaryTreeSuspenseHandler(workInProgress);
@@ -10285,16 +10322,16 @@
10285
10322
  current = renderLanes.sibling;
10286
10323
  renderLanes = createWorkInProgress(renderLanes, {
10287
10324
  mode: "visible",
10288
- children: JSCompiler_object_inline_stack_2524.children
10325
+ children: JSCompiler_object_inline_stack_2534.children
10289
10326
  });
10290
10327
  renderLanes.return = workInProgress;
10291
10328
  renderLanes.sibling = null;
10292
10329
  null !== current &&
10293
- ((JSCompiler_object_inline_digest_2523 = workInProgress.deletions),
10294
- null === JSCompiler_object_inline_digest_2523
10330
+ ((JSCompiler_object_inline_digest_2533 = workInProgress.deletions),
10331
+ null === JSCompiler_object_inline_digest_2533
10295
10332
  ? ((workInProgress.deletions = [current]),
10296
10333
  (workInProgress.flags |= 16))
10297
- : JSCompiler_object_inline_digest_2523.push(current));
10334
+ : JSCompiler_object_inline_digest_2533.push(current));
10298
10335
  workInProgress.child = renderLanes;
10299
10336
  workInProgress.memoizedState = null;
10300
10337
  return renderLanes;
@@ -13022,7 +13059,7 @@
13022
13059
  if (
13023
13060
  ((firstChild = nextEffect),
13024
13061
  (root = firstChild.child),
13025
- 0 !== (firstChild.subtreeFlags & 1024) && null !== root)
13062
+ 0 !== (firstChild.subtreeFlags & 1028) && null !== root)
13026
13063
  )
13027
13064
  (root.return = firstChild), (nextEffect = root);
13028
13065
  else
@@ -13032,6 +13069,19 @@
13032
13069
  anchorOffset = root.flags;
13033
13070
  switch (root.tag) {
13034
13071
  case 0:
13072
+ if (
13073
+ 0 !== (anchorOffset & 4) &&
13074
+ ((root = root.updateQueue),
13075
+ (root = null !== root ? root.events : null),
13076
+ null !== root)
13077
+ )
13078
+ for (
13079
+ JSCompiler_temp = 0;
13080
+ JSCompiler_temp < root.length;
13081
+ JSCompiler_temp++
13082
+ )
13083
+ (anchorOffset = root[JSCompiler_temp]),
13084
+ (anchorOffset.ref.impl = anchorOffset.nextImpl);
13035
13085
  break;
13036
13086
  case 11:
13037
13087
  case 15:
@@ -24090,8 +24140,9 @@
24090
24140
  useOptimistic: throwInvalidHookError,
24091
24141
  useMemoCache: throwInvalidHookError,
24092
24142
  useCacheRefresh: throwInvalidHookError
24093
- },
24094
- HooksDispatcherOnMountInDEV = null,
24143
+ };
24144
+ ContextOnlyDispatcher.useEffectEvent = throwInvalidHookError;
24145
+ var HooksDispatcherOnMountInDEV = null,
24095
24146
  HooksDispatcherOnMountWithHookTypesInDEV = null,
24096
24147
  HooksDispatcherOnUpdateInDEV = null,
24097
24148
  HooksDispatcherOnRerenderInDEV = null,
@@ -24231,6 +24282,11 @@
24231
24282
  currentHookNameInDev = "useCacheRefresh";
24232
24283
  mountHookTypesDev();
24233
24284
  return mountRefresh();
24285
+ },
24286
+ useEffectEvent: function (callback) {
24287
+ currentHookNameInDev = "useEffectEvent";
24288
+ mountHookTypesDev();
24289
+ return mountEvent(callback);
24234
24290
  }
24235
24291
  };
24236
24292
  HooksDispatcherOnMountWithHookTypesInDEV = {
@@ -24360,6 +24416,11 @@
24360
24416
  currentHookNameInDev = "useCacheRefresh";
24361
24417
  updateHookTypesDev();
24362
24418
  return mountRefresh();
24419
+ },
24420
+ useEffectEvent: function (callback) {
24421
+ currentHookNameInDev = "useEffectEvent";
24422
+ updateHookTypesDev();
24423
+ return mountEvent(callback);
24363
24424
  }
24364
24425
  };
24365
24426
  HooksDispatcherOnUpdateInDEV = {
@@ -24489,6 +24550,11 @@
24489
24550
  currentHookNameInDev = "useCacheRefresh";
24490
24551
  updateHookTypesDev();
24491
24552
  return updateWorkInProgressHook().memoizedState;
24553
+ },
24554
+ useEffectEvent: function (callback) {
24555
+ currentHookNameInDev = "useEffectEvent";
24556
+ updateHookTypesDev();
24557
+ return updateEvent(callback);
24492
24558
  }
24493
24559
  };
24494
24560
  HooksDispatcherOnRerenderInDEV = {
@@ -24618,6 +24684,11 @@
24618
24684
  currentHookNameInDev = "useCacheRefresh";
24619
24685
  updateHookTypesDev();
24620
24686
  return updateWorkInProgressHook().memoizedState;
24687
+ },
24688
+ useEffectEvent: function (callback) {
24689
+ currentHookNameInDev = "useEffectEvent";
24690
+ updateHookTypesDev();
24691
+ return updateEvent(callback);
24621
24692
  }
24622
24693
  };
24623
24694
  InvalidNestedHooksDispatcherOnMountInDEV = {
@@ -24771,6 +24842,12 @@
24771
24842
  currentHookNameInDev = "useCacheRefresh";
24772
24843
  mountHookTypesDev();
24773
24844
  return mountRefresh();
24845
+ },
24846
+ useEffectEvent: function (callback) {
24847
+ currentHookNameInDev = "useEffectEvent";
24848
+ warnInvalidHookAccess();
24849
+ mountHookTypesDev();
24850
+ return mountEvent(callback);
24774
24851
  }
24775
24852
  };
24776
24853
  InvalidNestedHooksDispatcherOnUpdateInDEV = {
@@ -24924,6 +25001,12 @@
24924
25001
  currentHookNameInDev = "useCacheRefresh";
24925
25002
  updateHookTypesDev();
24926
25003
  return updateWorkInProgressHook().memoizedState;
25004
+ },
25005
+ useEffectEvent: function (callback) {
25006
+ currentHookNameInDev = "useEffectEvent";
25007
+ warnInvalidHookAccess();
25008
+ updateHookTypesDev();
25009
+ return updateEvent(callback);
24927
25010
  }
24928
25011
  };
24929
25012
  InvalidNestedHooksDispatcherOnRerenderInDEV = {
@@ -25077,6 +25160,12 @@
25077
25160
  currentHookNameInDev = "useCacheRefresh";
25078
25161
  updateHookTypesDev();
25079
25162
  return updateWorkInProgressHook().memoizedState;
25163
+ },
25164
+ useEffectEvent: function (callback) {
25165
+ currentHookNameInDev = "useEffectEvent";
25166
+ warnInvalidHookAccess();
25167
+ updateHookTypesDev();
25168
+ return updateEvent(callback);
25080
25169
  }
25081
25170
  };
25082
25171
  var fakeInternalInstance = {};
@@ -25672,6 +25761,7 @@
25672
25761
  overridePropsDeletePath = null,
25673
25762
  overridePropsRenamePath = null,
25674
25763
  scheduleUpdate = null,
25764
+ scheduleRetry = null,
25675
25765
  setErrorHandler = null,
25676
25766
  setSuspenseHandler = null;
25677
25767
  overrideHookState = function (fiber, id, path, value) {
@@ -25730,6 +25820,11 @@
25730
25820
  var root = enqueueConcurrentRenderForLane(fiber, 2);
25731
25821
  null !== root && scheduleUpdateOnFiber(root, fiber, 2);
25732
25822
  };
25823
+ scheduleRetry = function (fiber) {
25824
+ var lane = claimNextRetryLane(),
25825
+ root = enqueueConcurrentRenderForLane(fiber, lane);
25826
+ null !== root && scheduleUpdateOnFiber(root, fiber, lane);
25827
+ };
25733
25828
  setErrorHandler = function (newShouldErrorImpl) {
25734
25829
  shouldErrorImpl = newShouldErrorImpl;
25735
25830
  };
@@ -25811,11 +25906,11 @@
25811
25906
  };
25812
25907
  (function () {
25813
25908
  var isomorphicReactPackageVersion = React.version;
25814
- if ("19.2.0-canary-8bb7241f-20250926" !== isomorphicReactPackageVersion)
25909
+ if ("19.2.0-canary-d15d7fd7-20250929" !== isomorphicReactPackageVersion)
25815
25910
  throw Error(
25816
25911
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
25817
25912
  (isomorphicReactPackageVersion +
25818
- "\n - react-dom: 19.2.0-canary-8bb7241f-20250926\nLearn more: https://react.dev/warnings/version-mismatch")
25913
+ "\n - react-dom: 19.2.0-canary-d15d7fd7-20250929\nLearn more: https://react.dev/warnings/version-mismatch")
25819
25914
  );
25820
25915
  })();
25821
25916
  ("function" === typeof Map &&
@@ -25852,10 +25947,10 @@
25852
25947
  !(function () {
25853
25948
  var internals = {
25854
25949
  bundleType: 1,
25855
- version: "19.2.0-canary-8bb7241f-20250926",
25950
+ version: "19.2.0-canary-d15d7fd7-20250929",
25856
25951
  rendererPackageName: "react-dom",
25857
25952
  currentDispatcherRef: ReactSharedInternals,
25858
- reconcilerVersion: "19.2.0-canary-8bb7241f-20250926"
25953
+ reconcilerVersion: "19.2.0-canary-d15d7fd7-20250929"
25859
25954
  };
25860
25955
  internals.overrideHookState = overrideHookState;
25861
25956
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25864,6 +25959,7 @@
25864
25959
  internals.overridePropsDeletePath = overridePropsDeletePath;
25865
25960
  internals.overridePropsRenamePath = overridePropsRenamePath;
25866
25961
  internals.scheduleUpdate = scheduleUpdate;
25962
+ internals.scheduleRetry = scheduleRetry;
25867
25963
  internals.setErrorHandler = setErrorHandler;
25868
25964
  internals.setSuspenseHandler = setSuspenseHandler;
25869
25965
  internals.scheduleRefresh = scheduleRefresh;
@@ -26323,7 +26419,7 @@
26323
26419
  exports.useFormStatus = function () {
26324
26420
  return resolveDispatcher().useHostTransitionStatus();
26325
26421
  };
26326
- exports.version = "19.2.0-canary-8bb7241f-20250926";
26422
+ exports.version = "19.2.0-canary-d15d7fd7-20250929";
26327
26423
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
26328
26424
  "function" ===
26329
26425
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&