react-markup 0.0.0-experimental-462d08f9-20250517 → 0.0.0-experimental-c4676e72-20250520

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.
@@ -53,8 +53,15 @@ var React = require("react"),
53
53
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
54
54
  REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
55
55
  REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
56
- MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
57
- ASYNC_ITERATOR = Symbol.asyncIterator,
56
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
57
+ function getIteratorFn(maybeIterable) {
58
+ if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
59
+ maybeIterable =
60
+ (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
61
+ maybeIterable["@@iterator"];
62
+ return "function" === typeof maybeIterable ? maybeIterable : null;
63
+ }
64
+ var ASYNC_ITERATOR = Symbol.asyncIterator,
58
65
  isArrayImpl = Array.isArray;
59
66
  function murmurhash3_32_gc(key, seed) {
60
67
  var remainder = key.length & 3;
@@ -3569,6 +3576,7 @@ function createRequest(
3569
3576
  rootFormatContext,
3570
3577
  null,
3571
3578
  emptyTreeContext,
3579
+ null,
3572
3580
  null
3573
3581
  );
3574
3582
  pushComponentStack(children);
@@ -3583,15 +3591,17 @@ function pingTask(request, task) {
3583
3591
  }
3584
3592
  function createSuspenseBoundary(
3585
3593
  request,
3594
+ row,
3586
3595
  fallbackAbortableTasks,
3587
3596
  contentPreamble,
3588
3597
  fallbackPreamble
3589
3598
  ) {
3590
- return {
3599
+ fallbackAbortableTasks = {
3591
3600
  status: 0,
3592
3601
  rootSegmentID: -1,
3593
3602
  parentFlushed: !1,
3594
3603
  pendingTasks: 0,
3604
+ row: row,
3595
3605
  completedSegments: [],
3596
3606
  byteSize: 0,
3597
3607
  fallbackAbortableTasks: fallbackAbortableTasks,
@@ -3603,6 +3613,14 @@ function createSuspenseBoundary(
3603
3613
  trackedContentKeyPath: null,
3604
3614
  trackedFallbackNode: null
3605
3615
  };
3616
+ null !== row &&
3617
+ (row.pendingTasks++,
3618
+ (row = row.boundaries),
3619
+ null !== row &&
3620
+ (request.allPendingTasks++,
3621
+ fallbackAbortableTasks.pendingTasks++,
3622
+ row.push(fallbackAbortableTasks)));
3623
+ return fallbackAbortableTasks;
3606
3624
  }
3607
3625
  function createRenderTask(
3608
3626
  request,
@@ -3618,12 +3636,14 @@ function createRenderTask(
3618
3636
  formatContext,
3619
3637
  context,
3620
3638
  treeContext,
3639
+ row,
3621
3640
  componentStack
3622
3641
  ) {
3623
3642
  request.allPendingTasks++;
3624
3643
  null === blockedBoundary
3625
3644
  ? request.pendingRootTasks++
3626
3645
  : blockedBoundary.pendingTasks++;
3646
+ null !== row && row.pendingTasks++;
3627
3647
  var task = {
3628
3648
  replay: null,
3629
3649
  node: node,
@@ -3640,6 +3660,7 @@ function createRenderTask(
3640
3660
  formatContext: formatContext,
3641
3661
  context: context,
3642
3662
  treeContext: treeContext,
3663
+ row: row,
3643
3664
  componentStack: componentStack,
3644
3665
  thenableState: thenableState
3645
3666
  };
@@ -3659,12 +3680,14 @@ function createReplayTask(
3659
3680
  formatContext,
3660
3681
  context,
3661
3682
  treeContext,
3683
+ row,
3662
3684
  componentStack
3663
3685
  ) {
3664
3686
  request.allPendingTasks++;
3665
3687
  null === blockedBoundary
3666
3688
  ? request.pendingRootTasks++
3667
3689
  : blockedBoundary.pendingTasks++;
3690
+ null !== row && row.pendingTasks++;
3668
3691
  replay.pendingTasks++;
3669
3692
  var task = {
3670
3693
  replay: replay,
@@ -3682,6 +3705,7 @@ function createReplayTask(
3682
3705
  formatContext: formatContext,
3683
3706
  context: context,
3684
3707
  treeContext: treeContext,
3708
+ row: row,
3685
3709
  componentStack: componentStack,
3686
3710
  thenableState: thenableState
3687
3711
  };
@@ -3763,6 +3787,125 @@ function fatalError(request, error) {
3763
3787
  ? ((request.status = 14), request.destination.destroy(error))
3764
3788
  : ((request.status = 13), (request.fatalError = error));
3765
3789
  }
3790
+ function finishSuspenseListRow(request, row) {
3791
+ for (row = row.next; null !== row; ) {
3792
+ var unblockedBoundaries = row.boundaries;
3793
+ if (null !== unblockedBoundaries) {
3794
+ row.boundaries = null;
3795
+ for (var i = 0; i < unblockedBoundaries.length; i++)
3796
+ finishedTask(request, unblockedBoundaries[i], null, null);
3797
+ }
3798
+ row.pendingTasks--;
3799
+ if (0 < row.pendingTasks) break;
3800
+ row = row.next;
3801
+ }
3802
+ }
3803
+ function createSuspenseListRow(previousRow) {
3804
+ var newRow = { pendingTasks: 1, boundaries: null, next: null };
3805
+ null !== previousRow &&
3806
+ 0 < previousRow.pendingTasks &&
3807
+ (newRow.pendingTasks++,
3808
+ (newRow.boundaries = []),
3809
+ (previousRow.next = newRow));
3810
+ return newRow;
3811
+ }
3812
+ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
3813
+ keyPath = task.keyPath;
3814
+ var prevTreeContext = task.treeContext,
3815
+ prevRow = task.row,
3816
+ totalChildren = rows.length,
3817
+ previousSuspenseListRow = null;
3818
+ if (null !== task.replay) {
3819
+ var resumeSlots = task.replay.slots;
3820
+ if (null !== resumeSlots && "object" === typeof resumeSlots)
3821
+ for (var n = 0; n < totalChildren; n++) {
3822
+ var i = "backwards" !== revealOrder ? n : totalChildren - 1 - n,
3823
+ node = rows[i];
3824
+ task.row = previousSuspenseListRow = createSuspenseListRow(
3825
+ previousSuspenseListRow
3826
+ );
3827
+ task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i);
3828
+ var resumeSegmentID = resumeSlots[i];
3829
+ "number" === typeof resumeSegmentID
3830
+ ? (resumeNode(request, task, resumeSegmentID, node, i),
3831
+ delete resumeSlots[i])
3832
+ : renderNode(request, task, node, i);
3833
+ 0 === --previousSuspenseListRow.pendingTasks &&
3834
+ finishSuspenseListRow(request, previousSuspenseListRow);
3835
+ }
3836
+ else
3837
+ for (resumeSlots = 0; resumeSlots < totalChildren; resumeSlots++)
3838
+ (n =
3839
+ "backwards" !== revealOrder
3840
+ ? resumeSlots
3841
+ : totalChildren - 1 - resumeSlots),
3842
+ (i = rows[n]),
3843
+ (task.row = previousSuspenseListRow =
3844
+ createSuspenseListRow(previousSuspenseListRow)),
3845
+ (task.treeContext = pushTreeContext(
3846
+ prevTreeContext,
3847
+ totalChildren,
3848
+ n
3849
+ )),
3850
+ renderNode(request, task, i, n),
3851
+ 0 === --previousSuspenseListRow.pendingTasks &&
3852
+ finishSuspenseListRow(request, previousSuspenseListRow);
3853
+ } else if ("backwards" !== revealOrder)
3854
+ for (revealOrder = 0; revealOrder < totalChildren; revealOrder++)
3855
+ (resumeSlots = rows[revealOrder]),
3856
+ (task.row = previousSuspenseListRow =
3857
+ createSuspenseListRow(previousSuspenseListRow)),
3858
+ (task.treeContext = pushTreeContext(
3859
+ prevTreeContext,
3860
+ totalChildren,
3861
+ revealOrder
3862
+ )),
3863
+ renderNode(request, task, resumeSlots, revealOrder),
3864
+ 0 === --previousSuspenseListRow.pendingTasks &&
3865
+ finishSuspenseListRow(request, previousSuspenseListRow);
3866
+ else {
3867
+ revealOrder = task.blockedSegment;
3868
+ resumeSlots = revealOrder.children.length;
3869
+ n = revealOrder.chunks.length;
3870
+ for (i = totalChildren - 1; 0 <= i; i--) {
3871
+ node = rows[i];
3872
+ task.row = previousSuspenseListRow = createSuspenseListRow(
3873
+ previousSuspenseListRow
3874
+ );
3875
+ task.treeContext = pushTreeContext(prevTreeContext, totalChildren, i);
3876
+ resumeSegmentID = createPendingSegment(
3877
+ request,
3878
+ n,
3879
+ null,
3880
+ task.formatContext,
3881
+ 0 === i ? revealOrder.lastPushedText : !0,
3882
+ !0
3883
+ );
3884
+ revealOrder.children.splice(resumeSlots, 0, resumeSegmentID);
3885
+ task.blockedSegment = resumeSegmentID;
3886
+ try {
3887
+ renderNode(request, task, node, i),
3888
+ (resumeSegmentID.status = 1),
3889
+ 0 === --previousSuspenseListRow.pendingTasks &&
3890
+ finishSuspenseListRow(request, previousSuspenseListRow);
3891
+ } catch (thrownValue) {
3892
+ throw (
3893
+ ((resumeSegmentID.status = 12 === request.status ? 3 : 4),
3894
+ thrownValue)
3895
+ );
3896
+ }
3897
+ }
3898
+ task.blockedSegment = revealOrder;
3899
+ revealOrder.lastPushedText = !1;
3900
+ }
3901
+ null !== prevRow &&
3902
+ null !== previousSuspenseListRow &&
3903
+ 0 < previousSuspenseListRow.pendingTasks &&
3904
+ (prevRow.pendingTasks++, (previousSuspenseListRow.next = prevRow));
3905
+ task.treeContext = prevTreeContext;
3906
+ task.row = prevRow;
3907
+ task.keyPath = keyPath;
3908
+ }
3766
3909
  function renderWithHooks(request, task, keyPath, Component, props, secondArg) {
3767
3910
  var prevThenableState = task.thenableState;
3768
3911
  task.thenableState = null;
@@ -3830,9 +3973,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
3830
3973
  var defaultProps = type.defaultProps;
3831
3974
  if (defaultProps) {
3832
3975
  newProps === props && (newProps = assign({}, newProps, props));
3833
- for (var propName$24 in defaultProps)
3834
- void 0 === newProps[propName$24] &&
3835
- (newProps[propName$24] = defaultProps[propName$24]);
3976
+ for (var propName$35 in defaultProps)
3977
+ void 0 === newProps[propName$35] &&
3978
+ (newProps[propName$35] = defaultProps[propName$35]);
3836
3979
  }
3837
3980
  var JSCompiler_inline_result = newProps;
3838
3981
  var context = emptyContextObject,
@@ -3999,13 +4142,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
3999
4142
  textEmbedded
4000
4143
  );
4001
4144
  segment.lastPushedText = !1;
4002
- var prevContext$22 = task.formatContext,
4003
- prevKeyPath$23 = task.keyPath;
4145
+ var prevContext$33 = task.formatContext,
4146
+ prevKeyPath$34 = task.keyPath;
4004
4147
  task.keyPath = keyPath;
4005
4148
  if (
4006
4149
  3 ===
4007
4150
  (task.formatContext = getChildFormatContext(
4008
- prevContext$22,
4151
+ prevContext$33,
4009
4152
  type,
4010
4153
  props
4011
4154
  )).insertionMode
@@ -4033,13 +4176,14 @@ function renderElement(request, task, keyPath, type, props, ref) {
4033
4176
  task.formatContext,
4034
4177
  task.context,
4035
4178
  task.treeContext,
4179
+ task.row,
4036
4180
  task.componentStack
4037
4181
  );
4038
4182
  pushComponentStack(preambleTask);
4039
4183
  request.pingedTasks.push(preambleTask);
4040
4184
  } else renderNode(request, task, JSCompiler_inline_result$jscomp$2, -1);
4041
- task.formatContext = prevContext$22;
4042
- task.keyPath = prevKeyPath$23;
4185
+ task.formatContext = prevContext$33;
4186
+ task.keyPath = prevKeyPath$34;
4043
4187
  a: {
4044
4188
  var target$jscomp$0 = segment.chunks,
4045
4189
  resumableState$jscomp$0 = request.resumableState;
@@ -4064,19 +4208,19 @@ function renderElement(request, task, keyPath, type, props, ref) {
4064
4208
  case "wbr":
4065
4209
  break a;
4066
4210
  case "body":
4067
- if (1 >= prevContext$22.insertionMode) {
4211
+ if (1 >= prevContext$33.insertionMode) {
4068
4212
  resumableState$jscomp$0.hasBody = !0;
4069
4213
  break a;
4070
4214
  }
4071
4215
  break;
4072
4216
  case "html":
4073
- if (0 === prevContext$22.insertionMode) {
4217
+ if (0 === prevContext$33.insertionMode) {
4074
4218
  resumableState$jscomp$0.hasHtml = !0;
4075
4219
  break a;
4076
4220
  }
4077
4221
  break;
4078
4222
  case "head":
4079
- if (1 >= prevContext$22.insertionMode) break a;
4223
+ if (1 >= prevContext$33.insertionMode) break a;
4080
4224
  }
4081
4225
  target$jscomp$0.push(endChunkForTag(type));
4082
4226
  }
@@ -4104,22 +4248,97 @@ function renderElement(request, task, keyPath, type, props, ref) {
4104
4248
  }
4105
4249
  } else if ("hidden" !== props.mode) {
4106
4250
  segment$jscomp$0.lastPushedText = !1;
4107
- var prevKeyPath$26 = task.keyPath;
4251
+ var prevKeyPath$37 = task.keyPath;
4108
4252
  task.keyPath = keyPath;
4109
4253
  renderNode(request, task, props.children, -1);
4110
- task.keyPath = prevKeyPath$26;
4254
+ task.keyPath = prevKeyPath$37;
4111
4255
  segment$jscomp$0.lastPushedText = !1;
4112
4256
  }
4113
4257
  return;
4114
4258
  case REACT_SUSPENSE_LIST_TYPE:
4115
- var prevKeyPath$27 = task.keyPath;
4116
- task.keyPath = keyPath;
4117
- renderNodeDestructive(request, task, props.children, -1);
4118
- task.keyPath = prevKeyPath$27;
4259
+ a: {
4260
+ var children$jscomp$0 = props.children,
4261
+ revealOrder = props.revealOrder;
4262
+ if ("forwards" === revealOrder || "backwards" === revealOrder) {
4263
+ if (isArrayImpl(children$jscomp$0)) {
4264
+ renderSuspenseListRows(
4265
+ request,
4266
+ task,
4267
+ keyPath,
4268
+ children$jscomp$0,
4269
+ revealOrder
4270
+ );
4271
+ break a;
4272
+ }
4273
+ var iteratorFn = getIteratorFn(children$jscomp$0);
4274
+ if (iteratorFn) {
4275
+ var iterator = iteratorFn.call(children$jscomp$0);
4276
+ if (iterator) {
4277
+ var step = iterator.next();
4278
+ if (!step.done) {
4279
+ do step = iterator.next();
4280
+ while (!step.done);
4281
+ renderSuspenseListRows(
4282
+ request,
4283
+ task,
4284
+ keyPath,
4285
+ children$jscomp$0,
4286
+ revealOrder
4287
+ );
4288
+ }
4289
+ break a;
4290
+ }
4291
+ }
4292
+ if ("function" === typeof children$jscomp$0[ASYNC_ITERATOR]) {
4293
+ var iterator$29 = children$jscomp$0[ASYNC_ITERATOR]();
4294
+ if (iterator$29) {
4295
+ var prevThenableState = task.thenableState;
4296
+ task.thenableState = null;
4297
+ thenableIndexCounter = 0;
4298
+ thenableState = prevThenableState;
4299
+ var rows = [],
4300
+ done = !1;
4301
+ if (iterator$29 === children$jscomp$0)
4302
+ for (
4303
+ var step$30 = readPreviousThenableFromState();
4304
+ void 0 !== step$30;
4305
+
4306
+ ) {
4307
+ if (step$30.done) {
4308
+ done = !0;
4309
+ break;
4310
+ }
4311
+ rows.push(step$30.value);
4312
+ step$30 = readPreviousThenableFromState();
4313
+ }
4314
+ if (!done)
4315
+ for (
4316
+ var step$31 = unwrapThenable(iterator$29.next());
4317
+ !step$31.done;
4318
+
4319
+ )
4320
+ rows.push(step$31.value),
4321
+ (step$31 = unwrapThenable(iterator$29.next()));
4322
+ renderSuspenseListRows(
4323
+ request,
4324
+ task,
4325
+ keyPath,
4326
+ rows,
4327
+ revealOrder
4328
+ );
4329
+ break a;
4330
+ }
4331
+ }
4332
+ }
4333
+ var prevKeyPath$jscomp$3 = task.keyPath;
4334
+ task.keyPath = keyPath;
4335
+ renderNodeDestructive(request, task, children$jscomp$0, -1);
4336
+ task.keyPath = prevKeyPath$jscomp$3;
4337
+ }
4119
4338
  return;
4120
4339
  case REACT_VIEW_TRANSITION_TYPE:
4121
4340
  var prevContext$jscomp$0 = task.formatContext,
4122
- prevKeyPath$jscomp$3 = task.keyPath;
4341
+ prevKeyPath$jscomp$4 = task.keyPath;
4123
4342
  var resumableState$jscomp$1 = request.resumableState;
4124
4343
  if (null == props.name || "auto" === props.name) {
4125
4344
  var treeId = getTreeId(task.treeContext);
@@ -4136,29 +4355,33 @@ function renderElement(request, task, keyPath, type, props, ref) {
4136
4355
  task.treeContext = prevTreeContext;
4137
4356
  }
4138
4357
  task.formatContext = prevContext$jscomp$0;
4139
- task.keyPath = prevKeyPath$jscomp$3;
4358
+ task.keyPath = prevKeyPath$jscomp$4;
4140
4359
  return;
4141
4360
  case REACT_SCOPE_TYPE:
4142
4361
  throw Error("ReactDOMServer does not yet support scope components.");
4143
4362
  case REACT_SUSPENSE_TYPE:
4144
4363
  a: if (null !== task.replay) {
4145
4364
  var prevKeyPath$16 = task.keyPath,
4146
- prevContext$17 = task.formatContext;
4365
+ prevContext$17 = task.formatContext,
4366
+ prevRow$18 = task.row;
4147
4367
  task.keyPath = keyPath;
4148
4368
  task.formatContext = getSuspenseContentFormatContext(
4149
4369
  request.resumableState,
4150
4370
  prevContext$17
4151
4371
  );
4152
- var content$18 = props.children;
4372
+ task.row = null;
4373
+ var content$19 = props.children;
4153
4374
  try {
4154
- renderNode(request, task, content$18, -1);
4375
+ renderNode(request, task, content$19, -1);
4155
4376
  } finally {
4156
4377
  (task.keyPath = prevKeyPath$16),
4157
- (task.formatContext = prevContext$17);
4378
+ (task.formatContext = prevContext$17),
4379
+ (task.row = prevRow$18);
4158
4380
  }
4159
4381
  } else {
4160
- var prevKeyPath$jscomp$4 = task.keyPath,
4382
+ var prevKeyPath$jscomp$5 = task.keyPath,
4161
4383
  prevContext$jscomp$1 = task.formatContext,
4384
+ prevRow = task.row,
4162
4385
  parentBoundary = task.blockedBoundary,
4163
4386
  parentPreamble = task.blockedPreamble,
4164
4387
  parentHoistableState = task.hoistableState,
@@ -4170,11 +4393,18 @@ function renderElement(request, task, keyPath, type, props, ref) {
4170
4393
  2 > task.formatContext.insertionMode
4171
4394
  ? createSuspenseBoundary(
4172
4395
  request,
4396
+ task.row,
4173
4397
  fallbackAbortSet,
4174
4398
  createPreambleState(),
4175
4399
  createPreambleState()
4176
4400
  )
4177
- : createSuspenseBoundary(request, fallbackAbortSet, null, null);
4401
+ : createSuspenseBoundary(
4402
+ request,
4403
+ task.row,
4404
+ fallbackAbortSet,
4405
+ null,
4406
+ null
4407
+ );
4178
4408
  null !== request.trackedPostpones &&
4179
4409
  (newBoundary.trackedContentKeyPath = keyPath);
4180
4410
  var boundarySegment = createPendingSegment(
@@ -4228,7 +4458,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4228
4458
  } finally {
4229
4459
  (task.blockedSegment = parentSegment),
4230
4460
  (task.blockedPreamble = parentPreamble),
4231
- (task.keyPath = prevKeyPath$jscomp$4),
4461
+ (task.keyPath = prevKeyPath$jscomp$5),
4232
4462
  (task.formatContext = prevContext$jscomp$1);
4233
4463
  }
4234
4464
  var suspendedPrimaryTask = createRenderTask(
@@ -4248,6 +4478,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4248
4478
  ),
4249
4479
  task.context,
4250
4480
  task.treeContext,
4481
+ null,
4251
4482
  task.componentStack
4252
4483
  );
4253
4484
  pushComponentStack(suspendedPrimaryTask);
@@ -4262,6 +4493,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4262
4493
  request.resumableState,
4263
4494
  prevContext$jscomp$1
4264
4495
  );
4496
+ task.row = null;
4265
4497
  contentRootSegment.status = 6;
4266
4498
  try {
4267
4499
  if (
@@ -4272,17 +4504,20 @@ function renderElement(request, task, keyPath, type, props, ref) {
4272
4504
  0 === newBoundary.status &&
4273
4505
  ((newBoundary.status = 1), !(500 < newBoundary.byteSize)))
4274
4506
  ) {
4507
+ null !== prevRow &&
4508
+ 0 === --prevRow.pendingTasks &&
4509
+ finishSuspenseListRow(request, prevRow);
4275
4510
  0 === request.pendingRootTasks &&
4276
4511
  task.blockedPreamble &&
4277
4512
  preparePreamble(request);
4278
4513
  break a;
4279
4514
  }
4280
- } catch (thrownValue$19) {
4515
+ } catch (thrownValue$20) {
4281
4516
  newBoundary.status = 4;
4282
4517
  if (12 === request.status) {
4283
4518
  contentRootSegment.status = 3;
4284
4519
  var error = request.fatalError;
4285
- } else (contentRootSegment.status = 4), (error = thrownValue$19);
4520
+ } else (contentRootSegment.status = 4), (error = thrownValue$20);
4286
4521
  var thrownInfo = getThrownInfo(task.componentStack);
4287
4522
  if (
4288
4523
  "object" === typeof error &&
@@ -4300,8 +4535,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
4300
4535
  (task.blockedPreamble = parentPreamble),
4301
4536
  (task.hoistableState = parentHoistableState),
4302
4537
  (task.blockedSegment = parentSegment),
4303
- (task.keyPath = prevKeyPath$jscomp$4),
4304
- (task.formatContext = prevContext$jscomp$1);
4538
+ (task.keyPath = prevKeyPath$jscomp$5),
4539
+ (task.formatContext = prevContext$jscomp$1),
4540
+ (task.row = prevRow);
4305
4541
  }
4306
4542
  var suspendedFallbackTask = createRenderTask(
4307
4543
  request,
@@ -4320,6 +4556,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4320
4556
  ),
4321
4557
  task.context,
4322
4558
  task.treeContext,
4559
+ task.row,
4323
4560
  task.componentStack
4324
4561
  );
4325
4562
  pushComponentStack(suspendedFallbackTask);
@@ -4336,7 +4573,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4336
4573
  for (var key in props)
4337
4574
  "ref" !== key && (propsWithoutRef[key] = props[key]);
4338
4575
  } else propsWithoutRef = props;
4339
- var children$jscomp$0 = renderWithHooks(
4576
+ var children$jscomp$1 = renderWithHooks(
4340
4577
  request,
4341
4578
  task,
4342
4579
  keyPath,
@@ -4348,7 +4585,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4348
4585
  request,
4349
4586
  task,
4350
4587
  keyPath,
4351
- children$jscomp$0,
4588
+ children$jscomp$1,
4352
4589
  0 !== localIdCounter,
4353
4590
  actionStateCounter,
4354
4591
  actionStateMatchingIndex
@@ -4359,8 +4596,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
4359
4596
  return;
4360
4597
  case REACT_PROVIDER_TYPE:
4361
4598
  case REACT_CONTEXT_TYPE:
4362
- var children$jscomp$1 = props.children,
4363
- prevKeyPath$jscomp$5 = task.keyPath,
4599
+ var children$jscomp$2 = props.children,
4600
+ prevKeyPath$jscomp$6 = task.keyPath,
4364
4601
  nextValue = props.value;
4365
4602
  var prevValue = type._currentValue2;
4366
4603
  type._currentValue2 = nextValue;
@@ -4375,7 +4612,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
4375
4612
  currentActiveSnapshot = newNode;
4376
4613
  task.context = newNode;
4377
4614
  task.keyPath = keyPath;
4378
- renderNodeDestructive(request, task, children$jscomp$1, -1);
4615
+ renderNodeDestructive(request, task, children$jscomp$2, -1);
4379
4616
  var prevSnapshot = currentActiveSnapshot;
4380
4617
  if (null === prevSnapshot)
4381
4618
  throw Error(
@@ -4385,15 +4622,15 @@ function renderElement(request, task, keyPath, type, props, ref) {
4385
4622
  var JSCompiler_inline_result$jscomp$3 = (currentActiveSnapshot =
4386
4623
  prevSnapshot.parent);
4387
4624
  task.context = JSCompiler_inline_result$jscomp$3;
4388
- task.keyPath = prevKeyPath$jscomp$5;
4625
+ task.keyPath = prevKeyPath$jscomp$6;
4389
4626
  return;
4390
4627
  case REACT_CONSUMER_TYPE:
4391
4628
  var render = props.children,
4392
4629
  newChildren = render(type._context._currentValue2),
4393
- prevKeyPath$jscomp$6 = task.keyPath;
4630
+ prevKeyPath$jscomp$7 = task.keyPath;
4394
4631
  task.keyPath = keyPath;
4395
4632
  renderNodeDestructive(request, task, newChildren, -1);
4396
- task.keyPath = prevKeyPath$jscomp$6;
4633
+ task.keyPath = prevKeyPath$jscomp$7;
4397
4634
  return;
4398
4635
  case REACT_LAZY_TYPE:
4399
4636
  var init = type._init;
@@ -4536,6 +4773,7 @@ function retryNode(request, task) {
4536
4773
  null === node$jscomp$0[4] ? null : node$jscomp$0[4][3];
4537
4774
  var prevKeyPath = task.keyPath,
4538
4775
  prevContext = task.formatContext,
4776
+ prevRow = task.row,
4539
4777
  previousReplaySet = task.replay,
4540
4778
  parentBoundary = task.blockedBoundary,
4541
4779
  parentHoistableState = task.hoistableState,
@@ -4546,12 +4784,14 @@ function retryNode(request, task) {
4546
4784
  2 > task.formatContext.insertionMode
4547
4785
  ? createSuspenseBoundary(
4548
4786
  request,
4787
+ task.row,
4549
4788
  fallbackAbortSet,
4550
4789
  createPreambleState(),
4551
4790
  createPreambleState()
4552
4791
  )
4553
4792
  : createSuspenseBoundary(
4554
4793
  request,
4794
+ task.row,
4555
4795
  fallbackAbortSet,
4556
4796
  null,
4557
4797
  null
@@ -4565,6 +4805,7 @@ function retryNode(request, task) {
4565
4805
  request.resumableState,
4566
4806
  prevContext
4567
4807
  );
4808
+ task.row = null;
4568
4809
  task.replay = {
4569
4810
  nodes: replay,
4570
4811
  slots: name,
@@ -4606,7 +4847,8 @@ function retryNode(request, task) {
4606
4847
  (task.hoistableState = parentHoistableState),
4607
4848
  (task.replay = previousReplaySet),
4608
4849
  (task.keyPath = prevKeyPath),
4609
- (task.formatContext = prevContext);
4850
+ (task.formatContext = prevContext),
4851
+ (task.row = prevRow);
4610
4852
  }
4611
4853
  task = createReplayTask(
4612
4854
  request,
@@ -4628,6 +4870,7 @@ function retryNode(request, task) {
4628
4870
  ),
4629
4871
  task.context,
4630
4872
  task.treeContext,
4873
+ task.row,
4631
4874
  task.componentStack
4632
4875
  );
4633
4876
  pushComponentStack(task);
@@ -4656,22 +4899,17 @@ function retryNode(request, task) {
4656
4899
  renderChildrenArray(request, task, node, childIndex);
4657
4900
  return;
4658
4901
  }
4659
- null === node || "object" !== typeof node
4660
- ? (childNodes = null)
4661
- : ((childNodes =
4662
- (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
4663
- node["@@iterator"]),
4664
- (childNodes = "function" === typeof childNodes ? childNodes : null));
4665
- if (childNodes && (childNodes = childNodes.call(node))) {
4666
- node = childNodes.next();
4667
- if (!node.done) {
4668
- props = [];
4669
- do props.push(node.value), (node = childNodes.next());
4670
- while (!node.done);
4671
- renderChildrenArray(request, task, props, childIndex);
4902
+ if ((childNodes = getIteratorFn(node)))
4903
+ if ((childNodes = childNodes.call(node))) {
4904
+ node = childNodes.next();
4905
+ if (!node.done) {
4906
+ props = [];
4907
+ do props.push(node.value), (node = childNodes.next());
4908
+ while (!node.done);
4909
+ renderChildrenArray(request, task, props, childIndex);
4910
+ }
4911
+ return;
4672
4912
  }
4673
- return;
4674
- }
4675
4913
  if (
4676
4914
  "function" === typeof node[ASYNC_ITERATOR] &&
4677
4915
  (childNodes = node[ASYNC_ITERATOR]())
@@ -4709,25 +4947,25 @@ function retryNode(request, task) {
4709
4947
  node._currentValue2,
4710
4948
  childIndex
4711
4949
  );
4712
- task = Object.prototype.toString.call(node);
4950
+ childIndex = Object.prototype.toString.call(node);
4713
4951
  throw Error(
4714
4952
  "Objects are not valid as a React child (found: " +
4715
- ("[object Object]" === task
4953
+ ("[object Object]" === childIndex
4716
4954
  ? "object with keys {" + Object.keys(node).join(", ") + "}"
4717
- : task) +
4955
+ : childIndex) +
4718
4956
  "). If you meant to render a collection of children, use an array instead."
4719
4957
  );
4720
4958
  }
4721
4959
  if ("string" === typeof node)
4722
- (task = task.blockedSegment),
4723
- null !== task &&
4724
- (task.chunks.push(escapeTextForBrowser(node)),
4725
- (task.lastPushedText = !1));
4960
+ (childIndex = task.blockedSegment),
4961
+ null !== childIndex &&
4962
+ (childIndex.chunks.push(escapeTextForBrowser(node)),
4963
+ (childIndex.lastPushedText = !1));
4726
4964
  else if ("number" === typeof node || "bigint" === typeof node)
4727
- (task = task.blockedSegment),
4728
- null !== task &&
4729
- (task.chunks.push(escapeTextForBrowser("" + node)),
4730
- (task.lastPushedText = !1));
4965
+ (childIndex = task.blockedSegment),
4966
+ null !== childIndex &&
4967
+ (childIndex.chunks.push(escapeTextForBrowser("" + node)),
4968
+ (childIndex.lastPushedText = !1));
4731
4969
  }
4732
4970
  }
4733
4971
  function renderChildrenArray(request, task, children, childIndex) {
@@ -4843,9 +5081,9 @@ function trackPostpone(request, trackedPostpones, task, segment) {
4843
5081
  addToReplayParent(segment, boundaryKeyPath[0], trackedPostpones);
4844
5082
  return;
4845
5083
  }
4846
- var boundaryNode$36 = trackedPostpones.workingMap.get(boundaryKeyPath);
4847
- void 0 === boundaryNode$36
4848
- ? ((boundaryNode$36 = [
5084
+ var boundaryNode$46 = trackedPostpones.workingMap.get(boundaryKeyPath);
5085
+ void 0 === boundaryNode$46
5086
+ ? ((boundaryNode$46 = [
4849
5087
  boundaryKeyPath[1],
4850
5088
  boundaryKeyPath[2],
4851
5089
  children,
@@ -4853,13 +5091,13 @@ function trackPostpone(request, trackedPostpones, task, segment) {
4853
5091
  fallbackReplayNode,
4854
5092
  boundary.rootSegmentID
4855
5093
  ]),
4856
- trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$36),
5094
+ trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$46),
4857
5095
  addToReplayParent(
4858
- boundaryNode$36,
5096
+ boundaryNode$46,
4859
5097
  boundaryKeyPath[0],
4860
5098
  trackedPostpones
4861
5099
  ))
4862
- : ((boundaryKeyPath = boundaryNode$36),
5100
+ : ((boundaryKeyPath = boundaryNode$46),
4863
5101
  (boundaryKeyPath[4] = fallbackReplayNode),
4864
5102
  (boundaryKeyPath[5] = boundary.rootSegmentID));
4865
5103
  }
@@ -4928,6 +5166,7 @@ function spawnNewSuspendedReplayTask(request, task, thenableState) {
4928
5166
  task.formatContext,
4929
5167
  task.context,
4930
5168
  task.treeContext,
5169
+ task.row,
4931
5170
  task.componentStack
4932
5171
  );
4933
5172
  }
@@ -4957,6 +5196,7 @@ function spawnNewSuspendedRenderTask(request, task, thenableState) {
4957
5196
  task.formatContext,
4958
5197
  task.context,
4959
5198
  task.treeContext,
5199
+ task.row,
4960
5200
  task.componentStack
4961
5201
  );
4962
5202
  }
@@ -5011,15 +5251,15 @@ function renderNode(request, task, node, childIndex) {
5011
5251
  chunkLength = segment.chunks.length;
5012
5252
  try {
5013
5253
  return renderNodeDestructive(request, task, node, childIndex);
5014
- } catch (thrownValue$48) {
5254
+ } catch (thrownValue$58) {
5015
5255
  if (
5016
5256
  (resetHooksState(),
5017
5257
  (segment.children.length = childrenLength),
5018
5258
  (segment.chunks.length = chunkLength),
5019
5259
  (childIndex =
5020
- thrownValue$48 === SuspenseException
5260
+ thrownValue$58 === SuspenseException
5021
5261
  ? getSuspendedThenable()
5022
- : thrownValue$48),
5262
+ : thrownValue$58),
5023
5263
  "object" === typeof childIndex && null !== childIndex)
5024
5264
  ) {
5025
5265
  if ("function" === typeof childIndex.then) {
@@ -5108,9 +5348,10 @@ function erroredReplay(
5108
5348
  );
5109
5349
  }
5110
5350
  function abortTaskSoft(task) {
5111
- var boundary = task.blockedBoundary;
5112
- task = task.blockedSegment;
5113
- null !== task && ((task.status = 3), finishedTask(this, boundary, task));
5351
+ var boundary = task.blockedBoundary,
5352
+ segment = task.blockedSegment;
5353
+ null !== segment &&
5354
+ ((segment.status = 3), finishedTask(this, boundary, task.row, segment));
5114
5355
  }
5115
5356
  function abortRemainingReplayNodes(
5116
5357
  request$jscomp$0,
@@ -5137,6 +5378,7 @@ function abortRemainingReplayNodes(
5137
5378
  errorDigest = errorDigest$jscomp$0,
5138
5379
  resumedBoundary = createSuspenseBoundary(
5139
5380
  request,
5381
+ null,
5140
5382
  new Set(),
5141
5383
  null,
5142
5384
  null
@@ -5170,6 +5412,10 @@ function abortTask(task, request, error) {
5170
5412
  if (6 === segment.status) return;
5171
5413
  segment.status = 3;
5172
5414
  }
5415
+ var row = task.row;
5416
+ null !== row &&
5417
+ 0 === --row.pendingTasks &&
5418
+ finishSuspenseListRow(request, row);
5173
5419
  var errorInfo = getThrownInfo(task.componentStack);
5174
5420
  if (null === boundary) {
5175
5421
  if (13 !== request.status && 14 !== request.status) {
@@ -5182,7 +5428,7 @@ function abortTask(task, request, error) {
5182
5428
  null !== boundary && null !== segment
5183
5429
  ? (logPostpone(request, error.message, errorInfo),
5184
5430
  trackPostpone(request, boundary, task, segment),
5185
- finishedTask(request, null, segment))
5431
+ finishedTask(request, null, row, segment))
5186
5432
  : ((task = Error(
5187
5433
  "The render was aborted with postpone when the shell is incomplete. Reason: " +
5188
5434
  error.message
@@ -5193,7 +5439,7 @@ function abortTask(task, request, error) {
5193
5439
  ? ((boundary = request.trackedPostpones),
5194
5440
  logRecoverableError(request, error, errorInfo),
5195
5441
  trackPostpone(request, boundary, task, segment),
5196
- finishedTask(request, null, segment))
5442
+ finishedTask(request, null, row, segment))
5197
5443
  : (logRecoverableError(request, error, errorInfo),
5198
5444
  fatalError(request, error));
5199
5445
  return;
@@ -5220,21 +5466,21 @@ function abortTask(task, request, error) {
5220
5466
  }
5221
5467
  } else {
5222
5468
  boundary.pendingTasks--;
5223
- var trackedPostpones$51 = request.trackedPostpones;
5469
+ var trackedPostpones$61 = request.trackedPostpones;
5224
5470
  if (4 !== boundary.status) {
5225
- if (null !== trackedPostpones$51 && null !== segment)
5471
+ if (null !== trackedPostpones$61 && null !== segment)
5226
5472
  return (
5227
5473
  "object" === typeof error &&
5228
5474
  null !== error &&
5229
5475
  error.$$typeof === REACT_POSTPONE_TYPE
5230
5476
  ? logPostpone(request, error.message, errorInfo)
5231
5477
  : logRecoverableError(request, error, errorInfo),
5232
- trackPostpone(request, trackedPostpones$51, task, segment),
5478
+ trackPostpone(request, trackedPostpones$61, task, segment),
5233
5479
  boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
5234
5480
  return abortTask(fallbackTask, request, error);
5235
5481
  }),
5236
5482
  boundary.fallbackAbortableTasks.clear(),
5237
- finishedTask(request, boundary, segment)
5483
+ finishedTask(request, boundary, row, segment)
5238
5484
  );
5239
5485
  boundary.status = 4;
5240
5486
  if (
@@ -5245,7 +5491,7 @@ function abortTask(task, request, error) {
5245
5491
  logPostpone(request, error.message, errorInfo);
5246
5492
  if (null !== request.trackedPostpones && null !== segment) {
5247
5493
  trackPostpone(request, request.trackedPostpones, task, segment);
5248
- finishedTask(request, task.blockedBoundary, segment);
5494
+ finishedTask(request, task.blockedBoundary, row, segment);
5249
5495
  boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
5250
5496
  return abortTask(fallbackTask, request, error);
5251
5497
  });
@@ -5360,7 +5606,10 @@ function queueCompletedSegment(boundary, segment) {
5360
5606
  1 === childSegment.status && queueCompletedSegment(boundary, childSegment);
5361
5607
  } else boundary.completedSegments.push(segment);
5362
5608
  }
5363
- function finishedTask(request, boundary, segment) {
5609
+ function finishedTask(request, boundary, row, segment) {
5610
+ null !== row &&
5611
+ 0 === --row.pendingTasks &&
5612
+ finishSuspenseListRow(request, row);
5364
5613
  request.allPendingTasks--;
5365
5614
  if (null === boundary) {
5366
5615
  if (null !== segment && segment.parentFlushed) {
@@ -5389,7 +5638,11 @@ function finishedTask(request, boundary, segment) {
5389
5638
  abortTaskSoft,
5390
5639
  request
5391
5640
  ),
5392
- boundary.fallbackAbortableTasks.clear()),
5641
+ boundary.fallbackAbortableTasks.clear(),
5642
+ (row = boundary.row),
5643
+ null !== row &&
5644
+ 0 === --row.pendingTasks &&
5645
+ finishSuspenseListRow(request, row)),
5393
5646
  0 === request.pendingRootTasks &&
5394
5647
  null === request.trackedPostpones &&
5395
5648
  null !== boundary.contentPreamble &&
@@ -5442,7 +5695,12 @@ function performWork(request$jscomp$1) {
5442
5695
  );
5443
5696
  task.replay.pendingTasks--;
5444
5697
  task.abortSet.delete(task);
5445
- finishedTask(request$jscomp$0, task.blockedBoundary, null);
5698
+ finishedTask(
5699
+ request$jscomp$0,
5700
+ task.blockedBoundary,
5701
+ task.row,
5702
+ null
5703
+ );
5446
5704
  } catch (thrownValue) {
5447
5705
  resetHooksState();
5448
5706
  var x =
@@ -5494,7 +5752,12 @@ function performWork(request$jscomp$1) {
5494
5752
  retryNode(request, task),
5495
5753
  task.abortSet.delete(task),
5496
5754
  (segment$jscomp$0.status = 1),
5497
- finishedTask(request, task.blockedBoundary, segment$jscomp$0);
5755
+ finishedTask(
5756
+ request,
5757
+ task.blockedBoundary,
5758
+ task.row,
5759
+ segment$jscomp$0
5760
+ );
5498
5761
  } catch (thrownValue) {
5499
5762
  resetHooksState();
5500
5763
  segment$jscomp$0.children.length = childrenLength;
@@ -5523,7 +5786,12 @@ function performWork(request$jscomp$1) {
5523
5786
  task,
5524
5787
  segment$jscomp$0
5525
5788
  );
5526
- finishedTask(request, task.blockedBoundary, segment$jscomp$0);
5789
+ finishedTask(
5790
+ request,
5791
+ task.blockedBoundary,
5792
+ task.row,
5793
+ segment$jscomp$0
5794
+ );
5527
5795
  } else {
5528
5796
  if ("object" === typeof x$jscomp$0 && null !== x$jscomp$0) {
5529
5797
  if ("function" === typeof x$jscomp$0.then) {
@@ -5537,19 +5805,20 @@ function performWork(request$jscomp$1) {
5537
5805
  null !== request.trackedPostpones &&
5538
5806
  x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
5539
5807
  ) {
5540
- var trackedPostpones$55 = request.trackedPostpones;
5808
+ var trackedPostpones$65 = request.trackedPostpones;
5541
5809
  task.abortSet.delete(task);
5542
5810
  var postponeInfo = getThrownInfo(task.componentStack);
5543
5811
  logPostpone(request, x$jscomp$0.message, postponeInfo);
5544
5812
  trackPostpone(
5545
5813
  request,
5546
- trackedPostpones$55,
5814
+ trackedPostpones$65,
5547
5815
  task,
5548
5816
  segment$jscomp$0
5549
5817
  );
5550
5818
  finishedTask(
5551
5819
  request,
5552
5820
  task.blockedBoundary,
5821
+ task.row,
5553
5822
  segment$jscomp$0
5554
5823
  );
5555
5824
  break a;
@@ -5558,7 +5827,12 @@ function performWork(request$jscomp$1) {
5558
5827
  var errorInfo$jscomp$0 = getThrownInfo(task.componentStack);
5559
5828
  task.abortSet.delete(task);
5560
5829
  segment$jscomp$0.status = 4;
5561
- var boundary = task.blockedBoundary;
5830
+ var boundary = task.blockedBoundary,
5831
+ row = task.row;
5832
+ null !== row &&
5833
+ 0 === --row.pendingTasks &&
5834
+ finishSuspenseListRow(request, row);
5835
+ request.allPendingTasks--;
5562
5836
  "object" === typeof x$jscomp$0 &&
5563
5837
  null !== x$jscomp$0 &&
5564
5838
  x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
@@ -5586,7 +5860,6 @@ function performWork(request$jscomp$1) {
5586
5860
  null === request.trackedPostpones &&
5587
5861
  null !== boundary.contentPreamble &&
5588
5862
  preparePreamble(request)));
5589
- request.allPendingTasks--;
5590
5863
  0 === request.allPendingTasks && completeAll(request);
5591
5864
  }
5592
5865
  } finally {
@@ -5732,7 +6005,14 @@ function flushSegment(request, destination, segment, hoistableState) {
5732
6005
  return flushSubtree(request, destination, segment, hoistableState);
5733
6006
  boundary.parentFlushed = !0;
5734
6007
  if (4 === boundary.status)
5735
- return flushSubtree(request, destination, segment, hoistableState), !0;
6008
+ return (
6009
+ (boundary = boundary.row),
6010
+ null !== boundary &&
6011
+ 0 === --boundary.pendingTasks &&
6012
+ finishSuspenseListRow(request, boundary),
6013
+ flushSubtree(request, destination, segment, hoistableState),
6014
+ !0
6015
+ );
5736
6016
  if (1 !== boundary.status)
5737
6017
  return (
5738
6018
  0 === boundary.status &&
@@ -5774,6 +6054,11 @@ function flushSegment(request, destination, segment, hoistableState) {
5774
6054
  ((segment = boundary.contentState),
5775
6055
  segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
5776
6056
  segment.stylesheets.forEach(hoistStylesheetDependency, hoistableState));
6057
+ segment = boundary.row;
6058
+ null !== segment &&
6059
+ 500 < boundary.byteSize &&
6060
+ 0 === --segment.pendingTasks &&
6061
+ finishSuspenseListRow(request, segment);
5777
6062
  segment = boundary.completedSegments;
5778
6063
  if (1 !== segment.length)
5779
6064
  throw Error(
@@ -5806,6 +6091,11 @@ function flushCompletedBoundary(request, destination, boundary) {
5806
6091
  completedSegments[i]
5807
6092
  );
5808
6093
  completedSegments.length = 0;
6094
+ completedSegments = boundary.row;
6095
+ null !== completedSegments &&
6096
+ 500 < boundary.byteSize &&
6097
+ 0 === --completedSegments.pendingTasks &&
6098
+ finishSuspenseListRow(request, completedSegments);
5809
6099
  writeHoistablesForBoundary(
5810
6100
  destination,
5811
6101
  boundary.contentState,
@@ -5877,11 +6167,12 @@ function flushCompletedBoundary(request, destination, boundary) {
5877
6167
  ? destination.push(")\x3c/script>")
5878
6168
  : destination.push('"></template>');
5879
6169
  request = request.bootstrapChunks;
5880
- for (i = 0; i < request.length - 1; i++) destination.push(request[i]);
5881
- i < request.length
5882
- ? ((i = request[i]),
6170
+ for (boundary = 0; boundary < request.length - 1; boundary++)
6171
+ destination.push(request[boundary]);
6172
+ boundary < request.length
6173
+ ? ((boundary = request[boundary]),
5883
6174
  (request.length = 0),
5884
- (destination = destination.push(i)))
6175
+ (destination = destination.push(boundary)))
5885
6176
  : (destination = !0);
5886
6177
  return destination && completedSegments;
5887
6178
  }
@@ -6109,12 +6400,12 @@ function flushCompletedQueues(request, destination) {
6109
6400
  completedBoundaries.splice(0, i);
6110
6401
  var partialBoundaries = request.partialBoundaries;
6111
6402
  for (i = 0; i < partialBoundaries.length; i++) {
6112
- var boundary$58 = partialBoundaries[i];
6403
+ var boundary$69 = partialBoundaries[i];
6113
6404
  a: {
6114
6405
  clientRenderedBoundaries = request;
6115
6406
  boundary = destination;
6116
- flushedByteSize = boundary$58.byteSize;
6117
- var completedSegments = boundary$58.completedSegments;
6407
+ flushedByteSize = boundary$69.byteSize;
6408
+ var completedSegments = boundary$69.completedSegments;
6118
6409
  for (
6119
6410
  JSCompiler_inline_result = 0;
6120
6411
  JSCompiler_inline_result < completedSegments.length;
@@ -6124,7 +6415,7 @@ function flushCompletedQueues(request, destination) {
6124
6415
  !flushPartiallyCompletedSegment(
6125
6416
  clientRenderedBoundaries,
6126
6417
  boundary,
6127
- boundary$58,
6418
+ boundary$69,
6128
6419
  completedSegments[JSCompiler_inline_result]
6129
6420
  )
6130
6421
  ) {
@@ -6136,7 +6427,7 @@ function flushCompletedQueues(request, destination) {
6136
6427
  completedSegments.splice(0, JSCompiler_inline_result);
6137
6428
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
6138
6429
  boundary,
6139
- boundary$58.contentState,
6430
+ boundary$69.contentState,
6140
6431
  clientRenderedBoundaries.renderState
6141
6432
  );
6142
6433
  }
@@ -6207,8 +6498,8 @@ function abort(request, reason) {
6207
6498
  }
6208
6499
  null !== request.destination &&
6209
6500
  flushCompletedQueues(request, request.destination);
6210
- } catch (error$60) {
6211
- logRecoverableError(request, error$60, {}), fatalError(request, error$60);
6501
+ } catch (error$71) {
6502
+ logRecoverableError(request, error$71, {}), fatalError(request, error$71);
6212
6503
  }
6213
6504
  }
6214
6505
  function addToReplayParent(node, parentKeyPath, trackedPostpones) {
@@ -6282,4 +6573,4 @@ exports.experimental_renderToHTML = function (children, options) {
6282
6573
  });
6283
6574
  });
6284
6575
  };
6285
- exports.version = "19.2.0-experimental-462d08f9-20250517";
6576
+ exports.version = "19.2.0-experimental-c4676e72-20250520";