react-dom 19.1.0-canary-5398b711-20250314 → 19.1.0-canary-c69a5fc5-20250318

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.
@@ -254,8 +254,6 @@
254
254
  switch (type) {
255
255
  case REACT_FRAGMENT_TYPE:
256
256
  return "Fragment";
257
- case REACT_PORTAL_TYPE:
258
- return "Portal";
259
257
  case REACT_PROFILER_TYPE:
260
258
  return "Profiler";
261
259
  case REACT_STRICT_MODE_TYPE:
@@ -264,6 +262,8 @@
264
262
  return "Suspense";
265
263
  case REACT_SUSPENSE_LIST_TYPE:
266
264
  return "SuspenseList";
265
+ case REACT_ACTIVITY_TYPE:
266
+ return "Activity";
267
267
  }
268
268
  if ("object" === typeof type)
269
269
  switch (
@@ -273,6 +273,8 @@
273
273
  ),
274
274
  type.$$typeof)
275
275
  ) {
276
+ case REACT_PORTAL_TYPE:
277
+ return "Portal";
276
278
  case REACT_CONTEXT_TYPE:
277
279
  return (type.displayName || "Context") + ".Provider";
278
280
  case REACT_CONSUMER_TYPE:
@@ -310,6 +312,8 @@
310
312
  function getComponentNameFromFiber(fiber) {
311
313
  var type = fiber.type;
312
314
  switch (fiber.tag) {
315
+ case 31:
316
+ return "Activity";
313
317
  case 24:
314
318
  return "Cache";
315
319
  case 9:
@@ -1413,6 +1417,8 @@
1413
1417
  return describeNativeComponentFrame(fiber.type.render, !1);
1414
1418
  case 1:
1415
1419
  return describeNativeComponentFrame(fiber.type, !0);
1420
+ case 31:
1421
+ return describeBuiltInComponentFrame("Activity");
1416
1422
  default:
1417
1423
  return "";
1418
1424
  }
@@ -1470,6 +1476,9 @@
1470
1476
  case 19:
1471
1477
  info += describeBuiltInComponentFrame("SuspenseList");
1472
1478
  break;
1479
+ case 31:
1480
+ info += describeBuiltInComponentFrame("Activity");
1481
+ break;
1473
1482
  case 30:
1474
1483
  case 0:
1475
1484
  case 15:
@@ -8984,32 +8993,32 @@
8984
8993
  return current;
8985
8994
  }
8986
8995
  function updateSuspenseComponent(current, workInProgress, renderLanes) {
8987
- var JSCompiler_object_inline_digest_2473;
8988
- var JSCompiler_object_inline_stack_2474 = workInProgress.pendingProps;
8996
+ var JSCompiler_object_inline_digest_2476;
8997
+ var JSCompiler_object_inline_stack_2477 = workInProgress.pendingProps;
8989
8998
  shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128);
8990
- var JSCompiler_object_inline_componentStack_2475 = !1;
8999
+ var JSCompiler_object_inline_componentStack_2478 = !1;
8991
9000
  var didSuspend = 0 !== (workInProgress.flags & 128);
8992
- (JSCompiler_object_inline_digest_2473 = didSuspend) ||
8993
- (JSCompiler_object_inline_digest_2473 =
9001
+ (JSCompiler_object_inline_digest_2476 = didSuspend) ||
9002
+ (JSCompiler_object_inline_digest_2476 =
8994
9003
  null !== current && null === current.memoizedState
8995
9004
  ? !1
8996
9005
  : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback));
8997
- JSCompiler_object_inline_digest_2473 &&
8998
- ((JSCompiler_object_inline_componentStack_2475 = !0),
9006
+ JSCompiler_object_inline_digest_2476 &&
9007
+ ((JSCompiler_object_inline_componentStack_2478 = !0),
8999
9008
  (workInProgress.flags &= -129));
9000
- JSCompiler_object_inline_digest_2473 = 0 !== (workInProgress.flags & 32);
9009
+ JSCompiler_object_inline_digest_2476 = 0 !== (workInProgress.flags & 32);
9001
9010
  workInProgress.flags &= -33;
9002
9011
  if (null === current) {
9003
9012
  if (isHydrating) {
9004
- JSCompiler_object_inline_componentStack_2475
9013
+ JSCompiler_object_inline_componentStack_2478
9005
9014
  ? pushPrimaryTreeSuspenseHandler(workInProgress)
9006
9015
  : reuseSuspenseHandlerOnStack(workInProgress);
9007
9016
  if (isHydrating) {
9008
- var JSCompiler_object_inline_message_2472 = nextHydratableInstance;
9017
+ var JSCompiler_object_inline_message_2475 = nextHydratableInstance;
9009
9018
  var JSCompiler_temp;
9010
- if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2472)) {
9019
+ if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2475)) {
9011
9020
  c: {
9012
- var instance = JSCompiler_object_inline_message_2472;
9021
+ var instance = JSCompiler_object_inline_message_2475;
9013
9022
  for (
9014
9023
  JSCompiler_temp = rootOrSingletonContext;
9015
9024
  8 !== instance.nodeType;
@@ -9051,77 +9060,77 @@
9051
9060
  JSCompiler_temp &&
9052
9061
  (warnNonHydratedInstance(
9053
9062
  workInProgress,
9054
- JSCompiler_object_inline_message_2472
9063
+ JSCompiler_object_inline_message_2475
9055
9064
  ),
9056
9065
  throwOnHydrationMismatch(workInProgress));
9057
9066
  }
9058
- JSCompiler_object_inline_message_2472 = workInProgress.memoizedState;
9067
+ JSCompiler_object_inline_message_2475 = workInProgress.memoizedState;
9059
9068
  if (
9060
- null !== JSCompiler_object_inline_message_2472 &&
9061
- ((JSCompiler_object_inline_message_2472 =
9062
- JSCompiler_object_inline_message_2472.dehydrated),
9063
- null !== JSCompiler_object_inline_message_2472)
9069
+ null !== JSCompiler_object_inline_message_2475 &&
9070
+ ((JSCompiler_object_inline_message_2475 =
9071
+ JSCompiler_object_inline_message_2475.dehydrated),
9072
+ null !== JSCompiler_object_inline_message_2475)
9064
9073
  )
9065
9074
  return (
9066
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2472)
9075
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2475)
9067
9076
  ? (workInProgress.lanes = 32)
9068
9077
  : (workInProgress.lanes = 536870912),
9069
9078
  null
9070
9079
  );
9071
9080
  popSuspenseHandler(workInProgress);
9072
9081
  }
9073
- JSCompiler_object_inline_message_2472 =
9074
- JSCompiler_object_inline_stack_2474.children;
9075
- JSCompiler_object_inline_stack_2474 =
9076
- JSCompiler_object_inline_stack_2474.fallback;
9077
- if (JSCompiler_object_inline_componentStack_2475)
9082
+ JSCompiler_object_inline_message_2475 =
9083
+ JSCompiler_object_inline_stack_2477.children;
9084
+ JSCompiler_object_inline_stack_2477 =
9085
+ JSCompiler_object_inline_stack_2477.fallback;
9086
+ if (JSCompiler_object_inline_componentStack_2478)
9078
9087
  return (
9079
9088
  reuseSuspenseHandlerOnStack(workInProgress),
9080
- (JSCompiler_object_inline_componentStack_2475 =
9089
+ (JSCompiler_object_inline_componentStack_2478 =
9081
9090
  workInProgress.mode),
9082
- (JSCompiler_object_inline_message_2472 =
9091
+ (JSCompiler_object_inline_message_2475 =
9083
9092
  mountWorkInProgressOffscreenFiber(
9084
9093
  {
9085
9094
  mode: "hidden",
9086
- children: JSCompiler_object_inline_message_2472
9095
+ children: JSCompiler_object_inline_message_2475
9087
9096
  },
9088
- JSCompiler_object_inline_componentStack_2475
9097
+ JSCompiler_object_inline_componentStack_2478
9089
9098
  )),
9090
- (JSCompiler_object_inline_stack_2474 = createFiberFromFragment(
9091
- JSCompiler_object_inline_stack_2474,
9092
- JSCompiler_object_inline_componentStack_2475,
9099
+ (JSCompiler_object_inline_stack_2477 = createFiberFromFragment(
9100
+ JSCompiler_object_inline_stack_2477,
9101
+ JSCompiler_object_inline_componentStack_2478,
9093
9102
  renderLanes,
9094
9103
  null
9095
9104
  )),
9096
- (JSCompiler_object_inline_message_2472.return = workInProgress),
9097
- (JSCompiler_object_inline_stack_2474.return = workInProgress),
9098
- (JSCompiler_object_inline_message_2472.sibling =
9099
- JSCompiler_object_inline_stack_2474),
9100
- (workInProgress.child = JSCompiler_object_inline_message_2472),
9101
- (JSCompiler_object_inline_componentStack_2475 =
9105
+ (JSCompiler_object_inline_message_2475.return = workInProgress),
9106
+ (JSCompiler_object_inline_stack_2477.return = workInProgress),
9107
+ (JSCompiler_object_inline_message_2475.sibling =
9108
+ JSCompiler_object_inline_stack_2477),
9109
+ (workInProgress.child = JSCompiler_object_inline_message_2475),
9110
+ (JSCompiler_object_inline_componentStack_2478 =
9102
9111
  workInProgress.child),
9103
- (JSCompiler_object_inline_componentStack_2475.memoizedState =
9112
+ (JSCompiler_object_inline_componentStack_2478.memoizedState =
9104
9113
  mountSuspenseOffscreenState(renderLanes)),
9105
- (JSCompiler_object_inline_componentStack_2475.childLanes =
9114
+ (JSCompiler_object_inline_componentStack_2478.childLanes =
9106
9115
  getRemainingWorkInPrimaryTree(
9107
9116
  current,
9108
- JSCompiler_object_inline_digest_2473,
9117
+ JSCompiler_object_inline_digest_2476,
9109
9118
  renderLanes
9110
9119
  )),
9111
9120
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9112
- JSCompiler_object_inline_stack_2474
9121
+ JSCompiler_object_inline_stack_2477
9113
9122
  );
9114
9123
  pushPrimaryTreeSuspenseHandler(workInProgress);
9115
9124
  return mountSuspensePrimaryChildren(
9116
9125
  workInProgress,
9117
- JSCompiler_object_inline_message_2472
9126
+ JSCompiler_object_inline_message_2475
9118
9127
  );
9119
9128
  }
9120
9129
  var prevState = current.memoizedState;
9121
9130
  if (
9122
9131
  null !== prevState &&
9123
- ((JSCompiler_object_inline_message_2472 = prevState.dehydrated),
9124
- null !== JSCompiler_object_inline_message_2472)
9132
+ ((JSCompiler_object_inline_message_2475 = prevState.dehydrated),
9133
+ null !== JSCompiler_object_inline_message_2475)
9125
9134
  ) {
9126
9135
  if (didSuspend)
9127
9136
  workInProgress.flags & 256
@@ -9138,94 +9147,94 @@
9138
9147
  (workInProgress.flags |= 128),
9139
9148
  (workInProgress = null))
9140
9149
  : (reuseSuspenseHandlerOnStack(workInProgress),
9141
- (JSCompiler_object_inline_componentStack_2475 =
9142
- JSCompiler_object_inline_stack_2474.fallback),
9143
- (JSCompiler_object_inline_message_2472 = workInProgress.mode),
9144
- (JSCompiler_object_inline_stack_2474 =
9150
+ (JSCompiler_object_inline_componentStack_2478 =
9151
+ JSCompiler_object_inline_stack_2477.fallback),
9152
+ (JSCompiler_object_inline_message_2475 = workInProgress.mode),
9153
+ (JSCompiler_object_inline_stack_2477 =
9145
9154
  mountWorkInProgressOffscreenFiber(
9146
9155
  {
9147
9156
  mode: "visible",
9148
- children: JSCompiler_object_inline_stack_2474.children
9157
+ children: JSCompiler_object_inline_stack_2477.children
9149
9158
  },
9150
- JSCompiler_object_inline_message_2472
9159
+ JSCompiler_object_inline_message_2475
9151
9160
  )),
9152
- (JSCompiler_object_inline_componentStack_2475 =
9161
+ (JSCompiler_object_inline_componentStack_2478 =
9153
9162
  createFiberFromFragment(
9154
- JSCompiler_object_inline_componentStack_2475,
9155
- JSCompiler_object_inline_message_2472,
9163
+ JSCompiler_object_inline_componentStack_2478,
9164
+ JSCompiler_object_inline_message_2475,
9156
9165
  renderLanes,
9157
9166
  null
9158
9167
  )),
9159
- (JSCompiler_object_inline_componentStack_2475.flags |= 2),
9160
- (JSCompiler_object_inline_stack_2474.return = workInProgress),
9161
- (JSCompiler_object_inline_componentStack_2475.return =
9168
+ (JSCompiler_object_inline_componentStack_2478.flags |= 2),
9169
+ (JSCompiler_object_inline_stack_2477.return = workInProgress),
9170
+ (JSCompiler_object_inline_componentStack_2478.return =
9162
9171
  workInProgress),
9163
- (JSCompiler_object_inline_stack_2474.sibling =
9164
- JSCompiler_object_inline_componentStack_2475),
9165
- (workInProgress.child = JSCompiler_object_inline_stack_2474),
9172
+ (JSCompiler_object_inline_stack_2477.sibling =
9173
+ JSCompiler_object_inline_componentStack_2478),
9174
+ (workInProgress.child = JSCompiler_object_inline_stack_2477),
9166
9175
  reconcileChildFibers(
9167
9176
  workInProgress,
9168
9177
  current.child,
9169
9178
  null,
9170
9179
  renderLanes
9171
9180
  ),
9172
- (JSCompiler_object_inline_stack_2474 = workInProgress.child),
9173
- (JSCompiler_object_inline_stack_2474.memoizedState =
9181
+ (JSCompiler_object_inline_stack_2477 = workInProgress.child),
9182
+ (JSCompiler_object_inline_stack_2477.memoizedState =
9174
9183
  mountSuspenseOffscreenState(renderLanes)),
9175
- (JSCompiler_object_inline_stack_2474.childLanes =
9184
+ (JSCompiler_object_inline_stack_2477.childLanes =
9176
9185
  getRemainingWorkInPrimaryTree(
9177
9186
  current,
9178
- JSCompiler_object_inline_digest_2473,
9187
+ JSCompiler_object_inline_digest_2476,
9179
9188
  renderLanes
9180
9189
  )),
9181
9190
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9182
9191
  (workInProgress =
9183
- JSCompiler_object_inline_componentStack_2475));
9192
+ JSCompiler_object_inline_componentStack_2478));
9184
9193
  else if (
9185
9194
  (pushPrimaryTreeSuspenseHandler(workInProgress),
9186
9195
  isHydrating &&
9187
9196
  console.error(
9188
9197
  "We should not be hydrating here. This is a bug in React. Please file a bug."
9189
9198
  ),
9190
- isSuspenseInstanceFallback(JSCompiler_object_inline_message_2472))
9199
+ isSuspenseInstanceFallback(JSCompiler_object_inline_message_2475))
9191
9200
  ) {
9192
- JSCompiler_object_inline_digest_2473 =
9193
- JSCompiler_object_inline_message_2472.nextSibling &&
9194
- JSCompiler_object_inline_message_2472.nextSibling.dataset;
9195
- if (JSCompiler_object_inline_digest_2473) {
9196
- JSCompiler_temp = JSCompiler_object_inline_digest_2473.dgst;
9197
- var message = JSCompiler_object_inline_digest_2473.msg;
9198
- instance = JSCompiler_object_inline_digest_2473.stck;
9199
- var componentStack = JSCompiler_object_inline_digest_2473.cstck;
9201
+ JSCompiler_object_inline_digest_2476 =
9202
+ JSCompiler_object_inline_message_2475.nextSibling &&
9203
+ JSCompiler_object_inline_message_2475.nextSibling.dataset;
9204
+ if (JSCompiler_object_inline_digest_2476) {
9205
+ JSCompiler_temp = JSCompiler_object_inline_digest_2476.dgst;
9206
+ var message = JSCompiler_object_inline_digest_2476.msg;
9207
+ instance = JSCompiler_object_inline_digest_2476.stck;
9208
+ var componentStack = JSCompiler_object_inline_digest_2476.cstck;
9200
9209
  }
9201
- JSCompiler_object_inline_message_2472 = message;
9202
- JSCompiler_object_inline_digest_2473 = JSCompiler_temp;
9203
- JSCompiler_object_inline_stack_2474 = instance;
9204
- JSCompiler_temp = JSCompiler_object_inline_componentStack_2475 =
9210
+ JSCompiler_object_inline_message_2475 = message;
9211
+ JSCompiler_object_inline_digest_2476 = JSCompiler_temp;
9212
+ JSCompiler_object_inline_stack_2477 = instance;
9213
+ JSCompiler_temp = JSCompiler_object_inline_componentStack_2478 =
9205
9214
  componentStack;
9206
- JSCompiler_object_inline_componentStack_2475 =
9207
- JSCompiler_object_inline_message_2472
9208
- ? Error(JSCompiler_object_inline_message_2472)
9215
+ JSCompiler_object_inline_componentStack_2478 =
9216
+ JSCompiler_object_inline_message_2475
9217
+ ? Error(JSCompiler_object_inline_message_2475)
9209
9218
  : Error(
9210
9219
  "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."
9211
9220
  );
9212
- JSCompiler_object_inline_componentStack_2475.stack =
9213
- JSCompiler_object_inline_stack_2474 || "";
9214
- JSCompiler_object_inline_componentStack_2475.digest =
9215
- JSCompiler_object_inline_digest_2473;
9216
- JSCompiler_object_inline_digest_2473 =
9221
+ JSCompiler_object_inline_componentStack_2478.stack =
9222
+ JSCompiler_object_inline_stack_2477 || "";
9223
+ JSCompiler_object_inline_componentStack_2478.digest =
9224
+ JSCompiler_object_inline_digest_2476;
9225
+ JSCompiler_object_inline_digest_2476 =
9217
9226
  void 0 === JSCompiler_temp ? null : JSCompiler_temp;
9218
- JSCompiler_object_inline_stack_2474 = {
9219
- value: JSCompiler_object_inline_componentStack_2475,
9227
+ JSCompiler_object_inline_stack_2477 = {
9228
+ value: JSCompiler_object_inline_componentStack_2478,
9220
9229
  source: null,
9221
- stack: JSCompiler_object_inline_digest_2473
9230
+ stack: JSCompiler_object_inline_digest_2476
9222
9231
  };
9223
- "string" === typeof JSCompiler_object_inline_digest_2473 &&
9232
+ "string" === typeof JSCompiler_object_inline_digest_2476 &&
9224
9233
  CapturedStacks.set(
9225
- JSCompiler_object_inline_componentStack_2475,
9226
- JSCompiler_object_inline_stack_2474
9234
+ JSCompiler_object_inline_componentStack_2478,
9235
+ JSCompiler_object_inline_stack_2477
9227
9236
  );
9228
- queueHydrationError(JSCompiler_object_inline_stack_2474);
9237
+ queueHydrationError(JSCompiler_object_inline_stack_2477);
9229
9238
  workInProgress = retrySuspenseComponentWithoutHydrating(
9230
9239
  current,
9231
9240
  workInProgress,
@@ -9239,44 +9248,44 @@
9239
9248
  renderLanes,
9240
9249
  !1
9241
9250
  ),
9242
- (JSCompiler_object_inline_digest_2473 =
9251
+ (JSCompiler_object_inline_digest_2476 =
9243
9252
  0 !== (renderLanes & current.childLanes)),
9244
- didReceiveUpdate || JSCompiler_object_inline_digest_2473)
9253
+ didReceiveUpdate || JSCompiler_object_inline_digest_2476)
9245
9254
  ) {
9246
- JSCompiler_object_inline_digest_2473 = workInProgressRoot;
9255
+ JSCompiler_object_inline_digest_2476 = workInProgressRoot;
9247
9256
  if (
9248
- null !== JSCompiler_object_inline_digest_2473 &&
9249
- ((JSCompiler_object_inline_stack_2474 = renderLanes & -renderLanes),
9250
- (JSCompiler_object_inline_stack_2474 =
9251
- 0 !== (JSCompiler_object_inline_stack_2474 & 42)
9257
+ null !== JSCompiler_object_inline_digest_2476 &&
9258
+ ((JSCompiler_object_inline_stack_2477 = renderLanes & -renderLanes),
9259
+ (JSCompiler_object_inline_stack_2477 =
9260
+ 0 !== (JSCompiler_object_inline_stack_2477 & 42)
9252
9261
  ? 1
9253
9262
  : getBumpedLaneForHydrationByLane(
9254
- JSCompiler_object_inline_stack_2474
9263
+ JSCompiler_object_inline_stack_2477
9255
9264
  )),
9256
- (JSCompiler_object_inline_stack_2474 =
9265
+ (JSCompiler_object_inline_stack_2477 =
9257
9266
  0 !==
9258
- (JSCompiler_object_inline_stack_2474 &
9259
- (JSCompiler_object_inline_digest_2473.suspendedLanes |
9267
+ (JSCompiler_object_inline_stack_2477 &
9268
+ (JSCompiler_object_inline_digest_2476.suspendedLanes |
9260
9269
  renderLanes))
9261
9270
  ? 0
9262
- : JSCompiler_object_inline_stack_2474),
9263
- 0 !== JSCompiler_object_inline_stack_2474 &&
9264
- JSCompiler_object_inline_stack_2474 !== prevState.retryLane)
9271
+ : JSCompiler_object_inline_stack_2477),
9272
+ 0 !== JSCompiler_object_inline_stack_2477 &&
9273
+ JSCompiler_object_inline_stack_2477 !== prevState.retryLane)
9265
9274
  )
9266
9275
  throw (
9267
- ((prevState.retryLane = JSCompiler_object_inline_stack_2474),
9276
+ ((prevState.retryLane = JSCompiler_object_inline_stack_2477),
9268
9277
  enqueueConcurrentRenderForLane(
9269
9278
  current,
9270
- JSCompiler_object_inline_stack_2474
9279
+ JSCompiler_object_inline_stack_2477
9271
9280
  ),
9272
9281
  scheduleUpdateOnFiber(
9273
- JSCompiler_object_inline_digest_2473,
9282
+ JSCompiler_object_inline_digest_2476,
9274
9283
  current,
9275
- JSCompiler_object_inline_stack_2474
9284
+ JSCompiler_object_inline_stack_2477
9276
9285
  ),
9277
9286
  SelectiveHydrationException)
9278
9287
  );
9279
- JSCompiler_object_inline_message_2472.data ===
9288
+ JSCompiler_object_inline_message_2475.data ===
9280
9289
  SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible();
9281
9290
  workInProgress = retrySuspenseComponentWithoutHydrating(
9282
9291
  current,
@@ -9284,14 +9293,14 @@
9284
9293
  renderLanes
9285
9294
  );
9286
9295
  } else
9287
- JSCompiler_object_inline_message_2472.data ===
9296
+ JSCompiler_object_inline_message_2475.data ===
9288
9297
  SUSPENSE_PENDING_START_DATA
9289
9298
  ? ((workInProgress.flags |= 192),
9290
9299
  (workInProgress.child = current.child),
9291
9300
  (workInProgress = null))
9292
9301
  : ((current = prevState.treeContext),
9293
9302
  (nextHydratableInstance = getNextHydratable(
9294
- JSCompiler_object_inline_message_2472.nextSibling
9303
+ JSCompiler_object_inline_message_2475.nextSibling
9295
9304
  )),
9296
9305
  (hydrationParentFiber = workInProgress),
9297
9306
  (isHydrating = !0),
@@ -9309,57 +9318,57 @@
9309
9318
  (treeContextProvider = workInProgress)),
9310
9319
  (workInProgress = mountSuspensePrimaryChildren(
9311
9320
  workInProgress,
9312
- JSCompiler_object_inline_stack_2474.children
9321
+ JSCompiler_object_inline_stack_2477.children
9313
9322
  )),
9314
9323
  (workInProgress.flags |= 4096));
9315
9324
  return workInProgress;
9316
9325
  }
9317
- if (JSCompiler_object_inline_componentStack_2475)
9326
+ if (JSCompiler_object_inline_componentStack_2478)
9318
9327
  return (
9319
9328
  reuseSuspenseHandlerOnStack(workInProgress),
9320
- (JSCompiler_object_inline_componentStack_2475 =
9321
- JSCompiler_object_inline_stack_2474.fallback),
9322
- (JSCompiler_object_inline_message_2472 = workInProgress.mode),
9329
+ (JSCompiler_object_inline_componentStack_2478 =
9330
+ JSCompiler_object_inline_stack_2477.fallback),
9331
+ (JSCompiler_object_inline_message_2475 = workInProgress.mode),
9323
9332
  (JSCompiler_temp = current.child),
9324
9333
  (instance = JSCompiler_temp.sibling),
9325
- (JSCompiler_object_inline_stack_2474 = createWorkInProgress(
9334
+ (JSCompiler_object_inline_stack_2477 = createWorkInProgress(
9326
9335
  JSCompiler_temp,
9327
9336
  {
9328
9337
  mode: "hidden",
9329
- children: JSCompiler_object_inline_stack_2474.children
9338
+ children: JSCompiler_object_inline_stack_2477.children
9330
9339
  }
9331
9340
  )),
9332
- (JSCompiler_object_inline_stack_2474.subtreeFlags =
9341
+ (JSCompiler_object_inline_stack_2477.subtreeFlags =
9333
9342
  JSCompiler_temp.subtreeFlags & 65011712),
9334
9343
  null !== instance
9335
- ? (JSCompiler_object_inline_componentStack_2475 =
9344
+ ? (JSCompiler_object_inline_componentStack_2478 =
9336
9345
  createWorkInProgress(
9337
9346
  instance,
9338
- JSCompiler_object_inline_componentStack_2475
9347
+ JSCompiler_object_inline_componentStack_2478
9339
9348
  ))
9340
- : ((JSCompiler_object_inline_componentStack_2475 =
9349
+ : ((JSCompiler_object_inline_componentStack_2478 =
9341
9350
  createFiberFromFragment(
9342
- JSCompiler_object_inline_componentStack_2475,
9343
- JSCompiler_object_inline_message_2472,
9351
+ JSCompiler_object_inline_componentStack_2478,
9352
+ JSCompiler_object_inline_message_2475,
9344
9353
  renderLanes,
9345
9354
  null
9346
9355
  )),
9347
- (JSCompiler_object_inline_componentStack_2475.flags |= 2)),
9348
- (JSCompiler_object_inline_componentStack_2475.return =
9356
+ (JSCompiler_object_inline_componentStack_2478.flags |= 2)),
9357
+ (JSCompiler_object_inline_componentStack_2478.return =
9349
9358
  workInProgress),
9350
- (JSCompiler_object_inline_stack_2474.return = workInProgress),
9351
- (JSCompiler_object_inline_stack_2474.sibling =
9352
- JSCompiler_object_inline_componentStack_2475),
9353
- (workInProgress.child = JSCompiler_object_inline_stack_2474),
9354
- (JSCompiler_object_inline_stack_2474 =
9355
- JSCompiler_object_inline_componentStack_2475),
9356
- (JSCompiler_object_inline_componentStack_2475 = workInProgress.child),
9357
- (JSCompiler_object_inline_message_2472 = current.child.memoizedState),
9358
- null === JSCompiler_object_inline_message_2472
9359
- ? (JSCompiler_object_inline_message_2472 =
9359
+ (JSCompiler_object_inline_stack_2477.return = workInProgress),
9360
+ (JSCompiler_object_inline_stack_2477.sibling =
9361
+ JSCompiler_object_inline_componentStack_2478),
9362
+ (workInProgress.child = JSCompiler_object_inline_stack_2477),
9363
+ (JSCompiler_object_inline_stack_2477 =
9364
+ JSCompiler_object_inline_componentStack_2478),
9365
+ (JSCompiler_object_inline_componentStack_2478 = workInProgress.child),
9366
+ (JSCompiler_object_inline_message_2475 = current.child.memoizedState),
9367
+ null === JSCompiler_object_inline_message_2475
9368
+ ? (JSCompiler_object_inline_message_2475 =
9360
9369
  mountSuspenseOffscreenState(renderLanes))
9361
9370
  : ((JSCompiler_temp =
9362
- JSCompiler_object_inline_message_2472.cachePool),
9371
+ JSCompiler_object_inline_message_2475.cachePool),
9363
9372
  null !== JSCompiler_temp
9364
9373
  ? ((instance = CacheContext._currentValue),
9365
9374
  (JSCompiler_temp =
@@ -9367,37 +9376,37 @@
9367
9376
  ? { parent: instance, pool: instance }
9368
9377
  : JSCompiler_temp))
9369
9378
  : (JSCompiler_temp = getSuspendedCache()),
9370
- (JSCompiler_object_inline_message_2472 = {
9379
+ (JSCompiler_object_inline_message_2475 = {
9371
9380
  baseLanes:
9372
- JSCompiler_object_inline_message_2472.baseLanes | renderLanes,
9381
+ JSCompiler_object_inline_message_2475.baseLanes | renderLanes,
9373
9382
  cachePool: JSCompiler_temp
9374
9383
  })),
9375
- (JSCompiler_object_inline_componentStack_2475.memoizedState =
9376
- JSCompiler_object_inline_message_2472),
9377
- (JSCompiler_object_inline_componentStack_2475.childLanes =
9384
+ (JSCompiler_object_inline_componentStack_2478.memoizedState =
9385
+ JSCompiler_object_inline_message_2475),
9386
+ (JSCompiler_object_inline_componentStack_2478.childLanes =
9378
9387
  getRemainingWorkInPrimaryTree(
9379
9388
  current,
9380
- JSCompiler_object_inline_digest_2473,
9389
+ JSCompiler_object_inline_digest_2476,
9381
9390
  renderLanes
9382
9391
  )),
9383
9392
  (workInProgress.memoizedState = SUSPENDED_MARKER),
9384
- JSCompiler_object_inline_stack_2474
9393
+ JSCompiler_object_inline_stack_2477
9385
9394
  );
9386
9395
  pushPrimaryTreeSuspenseHandler(workInProgress);
9387
9396
  renderLanes = current.child;
9388
9397
  current = renderLanes.sibling;
9389
9398
  renderLanes = createWorkInProgress(renderLanes, {
9390
9399
  mode: "visible",
9391
- children: JSCompiler_object_inline_stack_2474.children
9400
+ children: JSCompiler_object_inline_stack_2477.children
9392
9401
  });
9393
9402
  renderLanes.return = workInProgress;
9394
9403
  renderLanes.sibling = null;
9395
9404
  null !== current &&
9396
- ((JSCompiler_object_inline_digest_2473 = workInProgress.deletions),
9397
- null === JSCompiler_object_inline_digest_2473
9405
+ ((JSCompiler_object_inline_digest_2476 = workInProgress.deletions),
9406
+ null === JSCompiler_object_inline_digest_2476
9398
9407
  ? ((workInProgress.deletions = [current]),
9399
9408
  (workInProgress.flags |= 16))
9400
- : JSCompiler_object_inline_digest_2473.push(current));
9409
+ : JSCompiler_object_inline_digest_2476.push(current));
9401
9410
  workInProgress.child = renderLanes;
9402
9411
  workInProgress.memoizedState = null;
9403
9412
  return renderLanes;
@@ -9939,10 +9948,10 @@
9939
9948
  current.$$typeof === REACT_LAZY_TYPE &&
9940
9949
  (workInProgress =
9941
9950
  " Did you wrap a component in React.lazy() more than once?");
9942
- renderLanes = getComponentNameFromType(current) || current;
9951
+ current = getComponentNameFromType(current) || current;
9943
9952
  throw Error(
9944
9953
  "Element type is invalid. Received a promise that resolves to: " +
9945
- renderLanes +
9954
+ current +
9946
9955
  ". Lazy element type must resolve to a class or function." +
9947
9956
  workInProgress
9948
9957
  );
@@ -10050,15 +10059,15 @@
10050
10059
  didSuspendOrErrorDEV = !1;
10051
10060
  hydrationDiffRootDEV = null;
10052
10061
  rootOrSingletonContext = !0;
10053
- renderLanes = mountChildFibers(
10062
+ current = mountChildFibers(
10054
10063
  workInProgress,
10055
10064
  null,
10056
10065
  returnFiber,
10057
10066
  renderLanes
10058
10067
  );
10059
- for (workInProgress.child = renderLanes; renderLanes; )
10060
- (renderLanes.flags = (renderLanes.flags & -3) | 4096),
10061
- (renderLanes = renderLanes.sibling);
10068
+ for (workInProgress.child = current; current; )
10069
+ (current.flags = (current.flags & -3) | 4096),
10070
+ (current = current.sibling);
10062
10071
  }
10063
10072
  else {
10064
10073
  resetHydrationState();
@@ -10084,26 +10093,26 @@
10084
10093
  return (
10085
10094
  markRef(current, workInProgress),
10086
10095
  null === current
10087
- ? (renderLanes = getResource(
10096
+ ? (current = getResource(
10088
10097
  workInProgress.type,
10089
10098
  null,
10090
10099
  workInProgress.pendingProps,
10091
10100
  null
10092
10101
  ))
10093
- ? (workInProgress.memoizedState = renderLanes)
10102
+ ? (workInProgress.memoizedState = current)
10094
10103
  : isHydrating ||
10095
- ((renderLanes = workInProgress.type),
10096
- (current = workInProgress.pendingProps),
10104
+ ((current = workInProgress.type),
10105
+ (renderLanes = workInProgress.pendingProps),
10097
10106
  (returnFiber = requiredContext(
10098
10107
  rootInstanceStackCursor.current
10099
10108
  )),
10100
10109
  (returnFiber =
10101
10110
  getOwnerDocumentFromRootContainer(
10102
10111
  returnFiber
10103
- ).createElement(renderLanes)),
10112
+ ).createElement(current)),
10104
10113
  (returnFiber[internalInstanceKey] = workInProgress),
10105
- (returnFiber[internalPropsKey] = current),
10106
- setInitialProperties(returnFiber, renderLanes, current),
10114
+ (returnFiber[internalPropsKey] = renderLanes),
10115
+ setInitialProperties(returnFiber, current, renderLanes),
10107
10116
  markNodeAsHoistable(returnFiber),
10108
10117
  (workInProgress.stateNode = returnFiber))
10109
10118
  : (workInProgress.memoizedState = getResource(
@@ -10232,21 +10241,21 @@
10232
10241
  return (
10233
10242
  null === current &&
10234
10243
  isHydrating &&
10235
- ((renderLanes = workInProgress.pendingProps),
10236
- (current = getHostContext()),
10237
- (returnFiber = current.ancestorInfo.current),
10238
- (renderLanes =
10244
+ ((current = workInProgress.pendingProps),
10245
+ (renderLanes = getHostContext()),
10246
+ (returnFiber = renderLanes.ancestorInfo.current),
10247
+ (current =
10239
10248
  null != returnFiber
10240
10249
  ? validateTextNesting(
10241
- renderLanes,
10250
+ current,
10242
10251
  returnFiber.tag,
10243
- current.ancestorInfo.implicitRootScope
10252
+ renderLanes.ancestorInfo.implicitRootScope
10244
10253
  )
10245
10254
  : !0),
10246
- (current = nextHydratableInstance),
10247
- (returnFiber = !current) ||
10255
+ (renderLanes = nextHydratableInstance),
10256
+ (returnFiber = !renderLanes) ||
10248
10257
  ((returnFiber = canHydrateTextInstance(
10249
- current,
10258
+ renderLanes,
10250
10259
  workInProgress.pendingProps,
10251
10260
  rootOrSingletonContext
10252
10261
  )),
@@ -10258,8 +10267,8 @@
10258
10267
  : (returnFiber = !1),
10259
10268
  (returnFiber = !returnFiber)),
10260
10269
  returnFiber &&
10261
- (renderLanes &&
10262
- warnNonHydratedInstance(workInProgress, current),
10270
+ (current &&
10271
+ warnNonHydratedInstance(workInProgress, renderLanes),
10263
10272
  throwOnHydrationMismatch(workInProgress))),
10264
10273
  null
10265
10274
  );
@@ -10398,6 +10407,30 @@
10398
10407
  workInProgress,
10399
10408
  renderLanes
10400
10409
  );
10410
+ case 31:
10411
+ return (
10412
+ (returnFiber = workInProgress.pendingProps),
10413
+ (renderLanes = workInProgress.mode),
10414
+ (returnFiber = {
10415
+ mode: returnFiber.mode,
10416
+ children: returnFiber.children
10417
+ }),
10418
+ null === current
10419
+ ? ((current = mountWorkInProgressOffscreenFiber(
10420
+ returnFiber,
10421
+ renderLanes
10422
+ )),
10423
+ (current.ref = workInProgress.ref),
10424
+ (workInProgress.child = current),
10425
+ (current.return = workInProgress),
10426
+ (workInProgress = current))
10427
+ : ((current = createWorkInProgress(current.child, returnFiber)),
10428
+ (current.ref = workInProgress.ref),
10429
+ (workInProgress.child = current),
10430
+ (current.return = workInProgress),
10431
+ (workInProgress = current)),
10432
+ workInProgress
10433
+ );
10401
10434
  case 22:
10402
10435
  return updateOffscreenComponent(current, workInProgress, renderLanes);
10403
10436
  case 24:
@@ -13095,6 +13128,13 @@
13095
13128
  : 5);
13096
13129
  else
13097
13130
  a: switch (type) {
13131
+ case REACT_ACTIVITY_TYPE:
13132
+ return (
13133
+ (key = createFiber(31, pendingProps, key, mode)),
13134
+ (key.elementType = REACT_ACTIVITY_TYPE),
13135
+ (key.lanes = lanes),
13136
+ key
13137
+ );
13098
13138
  case REACT_FRAGMENT_TYPE:
13099
13139
  return createFiberFromFragment(
13100
13140
  pendingProps.children,
@@ -13136,8 +13176,6 @@
13136
13176
  (key.lanes = lanes),
13137
13177
  key
13138
13178
  );
13139
- case REACT_OFFSCREEN_TYPE:
13140
- return createFiberFromOffscreen(pendingProps, mode, lanes, key);
13141
13179
  default:
13142
13180
  if ("object" === typeof type && null !== type)
13143
13181
  switch (type.$$typeof) {
@@ -13219,7 +13257,6 @@
13219
13257
  }
13220
13258
  function createFiberFromOffscreen(pendingProps, mode, lanes, key) {
13221
13259
  pendingProps = createFiber(22, pendingProps, key, mode);
13222
- pendingProps.elementType = REACT_OFFSCREEN_TYPE;
13223
13260
  pendingProps.lanes = lanes;
13224
13261
  var primaryChildInstance = {
13225
13262
  _visibility: OffscreenVisible,
@@ -13663,6 +13700,7 @@
13663
13700
  var newProps = workInProgress.pendingProps;
13664
13701
  popTreeContext(workInProgress);
13665
13702
  switch (workInProgress.tag) {
13703
+ case 31:
13666
13704
  case 16:
13667
13705
  case 15:
13668
13706
  case 0:
@@ -15699,43 +15737,6 @@
15699
15737
  markCommitStopped();
15700
15738
  }
15701
15739
  }
15702
- function flushGestureMutations() {
15703
- if (pendingEffectsStatus === PENDING_GESTURE_MUTATION_PHASE) {
15704
- pendingEffectsStatus = NO_PENDING_EFFECTS;
15705
- var root = pendingEffectsRoot,
15706
- prevTransition = ReactSharedInternals.T;
15707
- ReactSharedInternals.T = null;
15708
- var previousPriority = ReactDOMSharedInternals.p;
15709
- ReactDOMSharedInternals.p = DiscreteEventPriority;
15710
- var prevExecutionContext = executionContext;
15711
- executionContext |= CommitContext;
15712
- try {
15713
- var rootClone = root.gestureClone;
15714
- if (null !== rootClone) {
15715
- root.gestureClone = null;
15716
- var rootContainer = root.containerInfo;
15717
- var containerInstance =
15718
- 9 === rootContainer.nodeType
15719
- ? rootContainer.body
15720
- : "HTML" === rootContainer.nodeName
15721
- ? rootContainer.ownerDocument.body
15722
- : rootContainer;
15723
- var containerParent = containerInstance.parentNode;
15724
- if (null === containerParent)
15725
- throw Error(
15726
- "Cannot use a useSwipeTransition() in a detached root."
15727
- );
15728
- containerParent.removeChild(rootClone);
15729
- containerInstance.style.viewTransitionName = "root";
15730
- }
15731
- } finally {
15732
- (executionContext = prevExecutionContext),
15733
- (ReactDOMSharedInternals.p = previousPriority),
15734
- (ReactSharedInternals.T = prevTransition);
15735
- }
15736
- pendingEffectsStatus = PENDING_GESTURE_ANIMATION_PHASE;
15737
- }
15738
- }
15739
15740
  function makeErrorInfo(componentStack) {
15740
15741
  componentStack = { componentStack: componentStack };
15741
15742
  Object.defineProperty(componentStack, "digest", {
@@ -15754,40 +15755,6 @@
15754
15755
  ((root.pooledCache = null), releaseCache(remainingLanes)));
15755
15756
  }
15756
15757
  function flushPendingEffects(wasDelayedCommit) {
15757
- flushGestureMutations();
15758
- flushGestureMutations();
15759
- if (pendingEffectsStatus === PENDING_GESTURE_ANIMATION_PHASE) {
15760
- pendingEffectsStatus = NO_PENDING_EFFECTS;
15761
- var root = pendingEffectsRoot;
15762
- pendingFinishedWork = pendingEffectsRoot = null;
15763
- pendingEffectsLanes = 0;
15764
- var prevTransition = ReactSharedInternals.T;
15765
- ReactSharedInternals.T = null;
15766
- var previousPriority = ReactDOMSharedInternals.p;
15767
- ReactDOMSharedInternals.p = DiscreteEventPriority;
15768
- var prevExecutionContext = executionContext;
15769
- executionContext |= CommitContext;
15770
- try {
15771
- var rootContainer = root.containerInfo;
15772
- var containerInstance =
15773
- 9 === rootContainer.nodeType
15774
- ? rootContainer.body
15775
- : "HTML" === rootContainer.nodeName
15776
- ? rootContainer.ownerDocument.body
15777
- : rootContainer;
15778
- "root" === containerInstance.style.viewTransitionName &&
15779
- (containerInstance.style.viewTransitionName = "");
15780
- var documentElement = containerInstance.ownerDocument.documentElement;
15781
- null !== documentElement &&
15782
- "none" === documentElement.style.viewTransitionName &&
15783
- (documentElement.style.viewTransitionName = "");
15784
- } finally {
15785
- (executionContext = prevExecutionContext),
15786
- (ReactDOMSharedInternals.p = previousPriority),
15787
- (ReactSharedInternals.T = prevTransition);
15788
- }
15789
- ensureRootIsScheduled(root);
15790
- }
15791
15758
  flushMutationEffects();
15792
15759
  flushLayoutEffects();
15793
15760
  flushSpawnedWork();
@@ -21357,7 +21324,7 @@
21357
21324
  REACT_MEMO_TYPE = Symbol.for("react.memo"),
21358
21325
  REACT_LAZY_TYPE = Symbol.for("react.lazy");
21359
21326
  Symbol.for("react.scope");
21360
- var REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen");
21327
+ var REACT_ACTIVITY_TYPE = Symbol.for("react.activity");
21361
21328
  Symbol.for("react.legacy_hidden");
21362
21329
  Symbol.for("react.tracing_marker");
21363
21330
  var REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel");
@@ -24362,8 +24329,6 @@
24362
24329
  PENDING_AFTER_MUTATION_PHASE = 3,
24363
24330
  PENDING_SPAWNED_WORK = 4,
24364
24331
  PENDING_PASSIVE_PHASE = 5,
24365
- PENDING_GESTURE_MUTATION_PHASE = 6,
24366
- PENDING_GESTURE_ANIMATION_PHASE = 7,
24367
24332
  pendingEffectsStatus = 0,
24368
24333
  pendingEffectsRoot = null,
24369
24334
  pendingFinishedWork = null,
@@ -24919,11 +24884,11 @@
24919
24884
  };
24920
24885
  (function () {
24921
24886
  var isomorphicReactPackageVersion = React.version;
24922
- if ("19.1.0-canary-5398b711-20250314" !== isomorphicReactPackageVersion)
24887
+ if ("19.1.0-canary-c69a5fc5-20250318" !== isomorphicReactPackageVersion)
24923
24888
  throw Error(
24924
24889
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
24925
24890
  (isomorphicReactPackageVersion +
24926
- "\n - react-dom: 19.1.0-canary-5398b711-20250314\nLearn more: https://react.dev/warnings/version-mismatch")
24891
+ "\n - react-dom: 19.1.0-canary-c69a5fc5-20250318\nLearn more: https://react.dev/warnings/version-mismatch")
24927
24892
  );
24928
24893
  })();
24929
24894
  ("function" === typeof Map &&
@@ -24960,10 +24925,10 @@
24960
24925
  !(function () {
24961
24926
  var internals = {
24962
24927
  bundleType: 1,
24963
- version: "19.1.0-canary-5398b711-20250314",
24928
+ version: "19.1.0-canary-c69a5fc5-20250318",
24964
24929
  rendererPackageName: "react-dom",
24965
24930
  currentDispatcherRef: ReactSharedInternals,
24966
- reconcilerVersion: "19.1.0-canary-5398b711-20250314"
24931
+ reconcilerVersion: "19.1.0-canary-c69a5fc5-20250318"
24967
24932
  };
24968
24933
  internals.overrideHookState = overrideHookState;
24969
24934
  internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -25437,7 +25402,7 @@
25437
25402
  exports.useFormStatus = function () {
25438
25403
  return resolveDispatcher().useHostTransitionStatus();
25439
25404
  };
25440
- exports.version = "19.1.0-canary-5398b711-20250314";
25405
+ exports.version = "19.1.0-canary-c69a5fc5-20250318";
25441
25406
  "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
25442
25407
  "function" ===
25443
25408
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&