react-markup 0.0.0-experimental-c4676e72-20250520 → 0.0.0-experimental-23884812-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.
- package/cjs/react-markup.development.js +216 -119
- package/cjs/react-markup.production.js +204 -128
- package/cjs/react-markup.react-server.development.js +216 -119
- package/cjs/react-markup.react-server.production.js +204 -128
- package/package.json +2 -2
|
@@ -8610,6 +8610,10 @@
|
|
|
8610
8610
|
function hoistStylesheetDependency(stylesheet) {
|
|
8611
8611
|
this.stylesheets.add(stylesheet);
|
|
8612
8612
|
}
|
|
8613
|
+
function hoistHoistables(parentState, childState) {
|
|
8614
|
+
childState.styles.forEach(hoistStyleQueueDependency, parentState);
|
|
8615
|
+
childState.stylesheets.forEach(hoistStylesheetDependency, parentState);
|
|
8616
|
+
}
|
|
8613
8617
|
function popToNearestCommonAncestor(prev, next) {
|
|
8614
8618
|
if (prev !== next) {
|
|
8615
8619
|
prev.context._currentValue2 = prev.parentValue;
|
|
@@ -9169,11 +9173,14 @@
|
|
|
9169
9173
|
};
|
|
9170
9174
|
null !== row &&
|
|
9171
9175
|
(row.pendingTasks++,
|
|
9172
|
-
(
|
|
9173
|
-
null !==
|
|
9176
|
+
(contentPreamble = row.boundaries),
|
|
9177
|
+
null !== contentPreamble &&
|
|
9174
9178
|
(request.allPendingTasks++,
|
|
9175
9179
|
fallbackAbortableTasks.pendingTasks++,
|
|
9176
|
-
|
|
9180
|
+
contentPreamble.push(fallbackAbortableTasks)),
|
|
9181
|
+
(request = row.inheritedHoistables),
|
|
9182
|
+
null !== request &&
|
|
9183
|
+
hoistHoistables(fallbackAbortableTasks.contentState, request));
|
|
9177
9184
|
return fallbackAbortableTasks;
|
|
9178
9185
|
}
|
|
9179
9186
|
function createRenderTask(
|
|
@@ -9457,20 +9464,70 @@
|
|
|
9457
9464
|
: ((request.status = 13), (request.fatalError = error));
|
|
9458
9465
|
}
|
|
9459
9466
|
function finishSuspenseListRow(request, row) {
|
|
9460
|
-
|
|
9461
|
-
|
|
9467
|
+
unblockSuspenseListRow(request, row.next, row.hoistables);
|
|
9468
|
+
}
|
|
9469
|
+
function unblockSuspenseListRow(
|
|
9470
|
+
request,
|
|
9471
|
+
unblockedRow,
|
|
9472
|
+
inheritedHoistables
|
|
9473
|
+
) {
|
|
9474
|
+
for (; null !== unblockedRow; ) {
|
|
9475
|
+
null !== inheritedHoistables &&
|
|
9476
|
+
(hoistHoistables(unblockedRow.hoistables, inheritedHoistables),
|
|
9477
|
+
(unblockedRow.inheritedHoistables = inheritedHoistables));
|
|
9478
|
+
var unblockedBoundaries = unblockedRow.boundaries;
|
|
9462
9479
|
if (null !== unblockedBoundaries) {
|
|
9463
|
-
|
|
9464
|
-
for (var i = 0; i < unblockedBoundaries.length; i++)
|
|
9465
|
-
|
|
9480
|
+
unblockedRow.boundaries = null;
|
|
9481
|
+
for (var i = 0; i < unblockedBoundaries.length; i++) {
|
|
9482
|
+
var unblockedBoundary = unblockedBoundaries[i];
|
|
9483
|
+
null !== inheritedHoistables &&
|
|
9484
|
+
hoistHoistables(
|
|
9485
|
+
unblockedBoundary.contentState,
|
|
9486
|
+
inheritedHoistables
|
|
9487
|
+
);
|
|
9488
|
+
finishedTask(request, unblockedBoundary, null, null);
|
|
9489
|
+
}
|
|
9490
|
+
}
|
|
9491
|
+
unblockedRow.pendingTasks--;
|
|
9492
|
+
if (0 < unblockedRow.pendingTasks) break;
|
|
9493
|
+
inheritedHoistables = unblockedRow.hoistables;
|
|
9494
|
+
unblockedRow = unblockedRow.next;
|
|
9495
|
+
}
|
|
9496
|
+
}
|
|
9497
|
+
function tryToResolveTogetherRow(request, togetherRow) {
|
|
9498
|
+
var boundaries = togetherRow.boundaries;
|
|
9499
|
+
if (
|
|
9500
|
+
null !== boundaries &&
|
|
9501
|
+
togetherRow.pendingTasks === boundaries.length
|
|
9502
|
+
) {
|
|
9503
|
+
for (
|
|
9504
|
+
var allCompleteAndInlinable = !0, i = 0;
|
|
9505
|
+
i < boundaries.length;
|
|
9506
|
+
i++
|
|
9507
|
+
) {
|
|
9508
|
+
var rowBoundary = boundaries[i];
|
|
9509
|
+
if (
|
|
9510
|
+
1 !== rowBoundary.pendingTasks ||
|
|
9511
|
+
rowBoundary.parentFlushed ||
|
|
9512
|
+
500 < rowBoundary.byteSize
|
|
9513
|
+
) {
|
|
9514
|
+
allCompleteAndInlinable = !1;
|
|
9515
|
+
break;
|
|
9516
|
+
}
|
|
9466
9517
|
}
|
|
9467
|
-
|
|
9468
|
-
|
|
9469
|
-
row = row.next;
|
|
9518
|
+
allCompleteAndInlinable &&
|
|
9519
|
+
unblockSuspenseListRow(request, togetherRow, togetherRow.hoistables);
|
|
9470
9520
|
}
|
|
9471
9521
|
}
|
|
9472
9522
|
function createSuspenseListRow(previousRow) {
|
|
9473
|
-
var newRow = {
|
|
9523
|
+
var newRow = {
|
|
9524
|
+
pendingTasks: 1,
|
|
9525
|
+
boundaries: null,
|
|
9526
|
+
hoistables: createHoistableState(),
|
|
9527
|
+
inheritedHoistables: null,
|
|
9528
|
+
together: !1,
|
|
9529
|
+
next: null
|
|
9530
|
+
};
|
|
9474
9531
|
null !== previousRow &&
|
|
9475
9532
|
0 < previousRow.pendingTasks &&
|
|
9476
9533
|
(newRow.pendingTasks++,
|
|
@@ -9479,28 +9536,25 @@
|
|
|
9479
9536
|
return newRow;
|
|
9480
9537
|
}
|
|
9481
9538
|
function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
|
|
9482
|
-
|
|
9483
|
-
|
|
9539
|
+
var prevKeyPath = task.keyPath,
|
|
9540
|
+
prevTreeContext = task.treeContext,
|
|
9541
|
+
prevRow = task.row,
|
|
9542
|
+
previousComponentStack = task.componentStack;
|
|
9484
9543
|
var previousDebugTask = task.debugTask;
|
|
9485
9544
|
pushServerComponentStack(task, task.node.props.children._debugInfo);
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
previousSuspenseListRow = null;
|
|
9545
|
+
task.keyPath = keyPath;
|
|
9546
|
+
keyPath = rows.length;
|
|
9547
|
+
var previousSuspenseListRow = null;
|
|
9490
9548
|
if (null !== task.replay) {
|
|
9491
9549
|
var resumeSlots = task.replay.slots;
|
|
9492
9550
|
if (null !== resumeSlots && "object" === typeof resumeSlots)
|
|
9493
|
-
for (var n = 0; n <
|
|
9494
|
-
var i = "backwards" !== revealOrder ? n :
|
|
9551
|
+
for (var n = 0; n < keyPath; n++) {
|
|
9552
|
+
var i = "backwards" !== revealOrder ? n : keyPath - 1 - n,
|
|
9495
9553
|
node = rows[i];
|
|
9496
9554
|
task.row = previousSuspenseListRow = createSuspenseListRow(
|
|
9497
9555
|
previousSuspenseListRow
|
|
9498
9556
|
);
|
|
9499
|
-
task.treeContext = pushTreeContext(
|
|
9500
|
-
prevTreeContext,
|
|
9501
|
-
totalChildren,
|
|
9502
|
-
i
|
|
9503
|
-
);
|
|
9557
|
+
task.treeContext = pushTreeContext(prevTreeContext, keyPath, i);
|
|
9504
9558
|
var resumeSegmentID = resumeSlots[i];
|
|
9505
9559
|
"number" === typeof resumeSegmentID
|
|
9506
9560
|
? (resumeNode(request, task, resumeSegmentID, node, i),
|
|
@@ -9510,32 +9564,28 @@
|
|
|
9510
9564
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
9511
9565
|
}
|
|
9512
9566
|
else
|
|
9513
|
-
for (resumeSlots = 0; resumeSlots <
|
|
9567
|
+
for (resumeSlots = 0; resumeSlots < keyPath; resumeSlots++)
|
|
9514
9568
|
(n =
|
|
9515
9569
|
"backwards" !== revealOrder
|
|
9516
9570
|
? resumeSlots
|
|
9517
|
-
:
|
|
9571
|
+
: keyPath - 1 - resumeSlots),
|
|
9518
9572
|
(i = rows[n]),
|
|
9519
9573
|
warnForMissingKey(request, task, i),
|
|
9520
9574
|
(task.row = previousSuspenseListRow =
|
|
9521
9575
|
createSuspenseListRow(previousSuspenseListRow)),
|
|
9522
|
-
(task.treeContext = pushTreeContext(
|
|
9523
|
-
prevTreeContext,
|
|
9524
|
-
totalChildren,
|
|
9525
|
-
n
|
|
9526
|
-
)),
|
|
9576
|
+
(task.treeContext = pushTreeContext(prevTreeContext, keyPath, n)),
|
|
9527
9577
|
renderNode(request, task, i, n),
|
|
9528
9578
|
0 === --previousSuspenseListRow.pendingTasks &&
|
|
9529
9579
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
9530
9580
|
} else if ("backwards" !== revealOrder)
|
|
9531
|
-
for (revealOrder = 0; revealOrder <
|
|
9581
|
+
for (revealOrder = 0; revealOrder < keyPath; revealOrder++)
|
|
9532
9582
|
(resumeSlots = rows[revealOrder]),
|
|
9533
9583
|
warnForMissingKey(request, task, resumeSlots),
|
|
9534
9584
|
(task.row = previousSuspenseListRow =
|
|
9535
9585
|
createSuspenseListRow(previousSuspenseListRow)),
|
|
9536
9586
|
(task.treeContext = pushTreeContext(
|
|
9537
9587
|
prevTreeContext,
|
|
9538
|
-
|
|
9588
|
+
keyPath,
|
|
9539
9589
|
revealOrder
|
|
9540
9590
|
)),
|
|
9541
9591
|
renderNode(request, task, resumeSlots, revealOrder),
|
|
@@ -9545,12 +9595,12 @@
|
|
|
9545
9595
|
revealOrder = task.blockedSegment;
|
|
9546
9596
|
resumeSlots = revealOrder.children.length;
|
|
9547
9597
|
n = revealOrder.chunks.length;
|
|
9548
|
-
for (i =
|
|
9598
|
+
for (i = keyPath - 1; 0 <= i; i--) {
|
|
9549
9599
|
node = rows[i];
|
|
9550
9600
|
task.row = previousSuspenseListRow = createSuspenseListRow(
|
|
9551
9601
|
previousSuspenseListRow
|
|
9552
9602
|
);
|
|
9553
|
-
task.treeContext = pushTreeContext(prevTreeContext,
|
|
9603
|
+
task.treeContext = pushTreeContext(prevTreeContext, keyPath, i);
|
|
9554
9604
|
resumeSegmentID = createPendingSegment(
|
|
9555
9605
|
request,
|
|
9556
9606
|
n,
|
|
@@ -9583,7 +9633,7 @@
|
|
|
9583
9633
|
(prevRow.pendingTasks++, (previousSuspenseListRow.next = prevRow));
|
|
9584
9634
|
task.treeContext = prevTreeContext;
|
|
9585
9635
|
task.row = prevRow;
|
|
9586
|
-
task.keyPath =
|
|
9636
|
+
task.keyPath = prevKeyPath;
|
|
9587
9637
|
task.componentStack = previousComponentStack;
|
|
9588
9638
|
task.debugTask = previousDebugTask;
|
|
9589
9639
|
}
|
|
@@ -10150,7 +10200,7 @@
|
|
|
10150
10200
|
);
|
|
10151
10201
|
segment.lastPushedText = !1;
|
|
10152
10202
|
var _prevContext2 = task.formatContext,
|
|
10153
|
-
|
|
10203
|
+
_prevKeyPath3 = task.keyPath;
|
|
10154
10204
|
task.keyPath = keyPath;
|
|
10155
10205
|
if (
|
|
10156
10206
|
3 ===
|
|
@@ -10192,7 +10242,7 @@
|
|
|
10192
10242
|
request.pingedTasks.push(preambleTask);
|
|
10193
10243
|
} else renderNode(request, task, _children, -1);
|
|
10194
10244
|
task.formatContext = _prevContext2;
|
|
10195
|
-
task.keyPath =
|
|
10245
|
+
task.keyPath = _prevKeyPath3;
|
|
10196
10246
|
a: {
|
|
10197
10247
|
var target$jscomp$0 = segment.chunks,
|
|
10198
10248
|
resumableState$jscomp$0 = request.resumableState;
|
|
@@ -10257,10 +10307,10 @@
|
|
|
10257
10307
|
}
|
|
10258
10308
|
} else if ("hidden" !== props.mode) {
|
|
10259
10309
|
segment$jscomp$0.lastPushedText = !1;
|
|
10260
|
-
var
|
|
10310
|
+
var _prevKeyPath4 = task.keyPath;
|
|
10261
10311
|
task.keyPath = keyPath;
|
|
10262
10312
|
renderNode(request, task, props.children, -1);
|
|
10263
|
-
task.keyPath =
|
|
10313
|
+
task.keyPath = _prevKeyPath4;
|
|
10264
10314
|
segment$jscomp$0.lastPushedText = !1;
|
|
10265
10315
|
}
|
|
10266
10316
|
return;
|
|
@@ -10353,10 +10403,27 @@
|
|
|
10353
10403
|
}
|
|
10354
10404
|
}
|
|
10355
10405
|
}
|
|
10356
|
-
|
|
10357
|
-
|
|
10358
|
-
|
|
10359
|
-
|
|
10406
|
+
if ("together" === revealOrder) {
|
|
10407
|
+
var _prevKeyPath2 = task.keyPath,
|
|
10408
|
+
prevRow = task.row,
|
|
10409
|
+
newRow = (task.row = createSuspenseListRow(null));
|
|
10410
|
+
newRow.boundaries = [];
|
|
10411
|
+
newRow.together = !0;
|
|
10412
|
+
task.keyPath = keyPath;
|
|
10413
|
+
renderNodeDestructive(request, task, children$jscomp$0, -1);
|
|
10414
|
+
0 === --newRow.pendingTasks &&
|
|
10415
|
+
finishSuspenseListRow(request, newRow);
|
|
10416
|
+
task.keyPath = _prevKeyPath2;
|
|
10417
|
+
task.row = prevRow;
|
|
10418
|
+
null !== prevRow &&
|
|
10419
|
+
0 < newRow.pendingTasks &&
|
|
10420
|
+
(prevRow.pendingTasks++, (newRow.next = prevRow));
|
|
10421
|
+
} else {
|
|
10422
|
+
var prevKeyPath$jscomp$3 = task.keyPath;
|
|
10423
|
+
task.keyPath = keyPath;
|
|
10424
|
+
renderNodeDestructive(request, task, children$jscomp$0, -1);
|
|
10425
|
+
task.keyPath = prevKeyPath$jscomp$3;
|
|
10426
|
+
}
|
|
10360
10427
|
}
|
|
10361
10428
|
return;
|
|
10362
10429
|
case REACT_VIEW_TRANSITION_TYPE:
|
|
@@ -10406,7 +10473,7 @@
|
|
|
10406
10473
|
} else {
|
|
10407
10474
|
var prevKeyPath$jscomp$5 = task.keyPath,
|
|
10408
10475
|
prevContext$jscomp$1 = task.formatContext,
|
|
10409
|
-
prevRow = task.row,
|
|
10476
|
+
prevRow$jscomp$0 = task.row,
|
|
10410
10477
|
parentBoundary = task.blockedBoundary,
|
|
10411
10478
|
parentPreamble = task.blockedPreamble,
|
|
10412
10479
|
parentHoistableState = task.hoistableState,
|
|
@@ -10531,18 +10598,23 @@
|
|
|
10531
10598
|
(renderNode(request, task, content, -1),
|
|
10532
10599
|
(contentRootSegment.status = 1),
|
|
10533
10600
|
queueCompletedSegment(newBoundary, contentRootSegment),
|
|
10534
|
-
0 === newBoundary.pendingTasks &&
|
|
10535
|
-
0 === newBoundary.status &&
|
|
10536
|
-
((newBoundary.status = 1), !(500 < newBoundary.byteSize)))
|
|
10601
|
+
0 === newBoundary.pendingTasks && 0 === newBoundary.status)
|
|
10537
10602
|
) {
|
|
10538
|
-
|
|
10539
|
-
|
|
10540
|
-
|
|
10541
|
-
|
|
10542
|
-
|
|
10543
|
-
|
|
10544
|
-
|
|
10545
|
-
|
|
10603
|
+
if (
|
|
10604
|
+
((newBoundary.status = 1), !(500 < newBoundary.byteSize))
|
|
10605
|
+
) {
|
|
10606
|
+
null !== prevRow$jscomp$0 &&
|
|
10607
|
+
0 === --prevRow$jscomp$0.pendingTasks &&
|
|
10608
|
+
finishSuspenseListRow(request, prevRow$jscomp$0);
|
|
10609
|
+
0 === request.pendingRootTasks &&
|
|
10610
|
+
task.blockedPreamble &&
|
|
10611
|
+
preparePreamble(request);
|
|
10612
|
+
break a;
|
|
10613
|
+
}
|
|
10614
|
+
} else
|
|
10615
|
+
null !== prevRow$jscomp$0 &&
|
|
10616
|
+
prevRow$jscomp$0.together &&
|
|
10617
|
+
tryToResolveTogetherRow(request, prevRow$jscomp$0);
|
|
10546
10618
|
} catch (thrownValue$6) {
|
|
10547
10619
|
newBoundary.status = 4;
|
|
10548
10620
|
if (12 === request.status) {
|
|
@@ -10585,7 +10657,7 @@
|
|
|
10585
10657
|
(task.blockedSegment = parentSegment),
|
|
10586
10658
|
(task.keyPath = prevKeyPath$jscomp$5),
|
|
10587
10659
|
(task.formatContext = prevContext$jscomp$1),
|
|
10588
|
-
(task.row = prevRow);
|
|
10660
|
+
(task.row = prevRow$jscomp$0);
|
|
10589
10661
|
}
|
|
10590
10662
|
var suspendedFallbackTask = createRenderTask(
|
|
10591
10663
|
request,
|
|
@@ -11728,10 +11800,6 @@
|
|
|
11728
11800
|
if (6 === segment.status) return;
|
|
11729
11801
|
segment.status = 3;
|
|
11730
11802
|
}
|
|
11731
|
-
var row = task.row;
|
|
11732
|
-
null !== row &&
|
|
11733
|
-
0 === --row.pendingTasks &&
|
|
11734
|
-
finishSuspenseListRow(request, row);
|
|
11735
11803
|
var errorInfo = getThrownInfo(task.componentStack);
|
|
11736
11804
|
if (null === boundary) {
|
|
11737
11805
|
if (13 !== request.status && 14 !== request.status) {
|
|
@@ -11744,7 +11812,7 @@
|
|
|
11744
11812
|
null !== boundary && null !== segment
|
|
11745
11813
|
? (logPostpone(request, error.message, errorInfo, null),
|
|
11746
11814
|
trackPostpone(request, boundary, task, segment),
|
|
11747
|
-
finishedTask(request, null, row, segment))
|
|
11815
|
+
finishedTask(request, null, task.row, segment))
|
|
11748
11816
|
: ((task = Error(
|
|
11749
11817
|
"The render was aborted with postpone when the shell is incomplete. Reason: " +
|
|
11750
11818
|
error.message
|
|
@@ -11755,7 +11823,7 @@
|
|
|
11755
11823
|
? ((boundary = request.trackedPostpones),
|
|
11756
11824
|
logRecoverableError(request, error, errorInfo, null),
|
|
11757
11825
|
trackPostpone(request, boundary, task, segment),
|
|
11758
|
-
finishedTask(request, null, row, segment))
|
|
11826
|
+
finishedTask(request, null, task.row, segment))
|
|
11759
11827
|
: (logRecoverableError(request, error, errorInfo, null),
|
|
11760
11828
|
fatalError(request, error, errorInfo, null));
|
|
11761
11829
|
return;
|
|
@@ -11767,15 +11835,20 @@
|
|
|
11767
11835
|
null !== error &&
|
|
11768
11836
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
11769
11837
|
? (logPostpone(request, error.message, errorInfo, null),
|
|
11770
|
-
(
|
|
11771
|
-
: (
|
|
11838
|
+
(segment = "POSTPONE"))
|
|
11839
|
+
: (segment = logRecoverableError(
|
|
11840
|
+
request,
|
|
11841
|
+
error,
|
|
11842
|
+
errorInfo,
|
|
11843
|
+
null
|
|
11844
|
+
)),
|
|
11772
11845
|
abortRemainingReplayNodes(
|
|
11773
11846
|
request,
|
|
11774
11847
|
null,
|
|
11775
11848
|
boundary.nodes,
|
|
11776
11849
|
boundary.slots,
|
|
11777
11850
|
error,
|
|
11778
|
-
|
|
11851
|
+
segment,
|
|
11779
11852
|
errorInfo,
|
|
11780
11853
|
!0
|
|
11781
11854
|
));
|
|
@@ -11783,7 +11856,6 @@
|
|
|
11783
11856
|
0 === request.pendingRootTasks && completeShell(request);
|
|
11784
11857
|
}
|
|
11785
11858
|
} else {
|
|
11786
|
-
boundary.pendingTasks--;
|
|
11787
11859
|
var _trackedPostpones2 = request.trackedPostpones;
|
|
11788
11860
|
if (4 !== boundary.status) {
|
|
11789
11861
|
if (null !== _trackedPostpones2 && null !== segment)
|
|
@@ -11798,7 +11870,7 @@
|
|
|
11798
11870
|
return abortTask(fallbackTask, request, error);
|
|
11799
11871
|
}),
|
|
11800
11872
|
boundary.fallbackAbortableTasks.clear(),
|
|
11801
|
-
finishedTask(request, boundary, row, segment)
|
|
11873
|
+
finishedTask(request, boundary, task.row, segment)
|
|
11802
11874
|
);
|
|
11803
11875
|
boundary.status = 4;
|
|
11804
11876
|
if (
|
|
@@ -11809,26 +11881,35 @@
|
|
|
11809
11881
|
logPostpone(request, error.message, errorInfo, null);
|
|
11810
11882
|
if (null !== request.trackedPostpones && null !== segment) {
|
|
11811
11883
|
trackPostpone(request, request.trackedPostpones, task, segment);
|
|
11812
|
-
finishedTask(request, task.blockedBoundary, row, segment);
|
|
11884
|
+
finishedTask(request, task.blockedBoundary, task.row, segment);
|
|
11813
11885
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
11814
11886
|
return abortTask(fallbackTask, request, error);
|
|
11815
11887
|
});
|
|
11816
11888
|
boundary.fallbackAbortableTasks.clear();
|
|
11817
11889
|
return;
|
|
11818
11890
|
}
|
|
11819
|
-
|
|
11820
|
-
} else
|
|
11891
|
+
segment = "POSTPONE";
|
|
11892
|
+
} else segment = logRecoverableError(request, error, errorInfo, null);
|
|
11821
11893
|
boundary.status = 4;
|
|
11822
|
-
encodeErrorForBoundary(boundary,
|
|
11894
|
+
encodeErrorForBoundary(boundary, segment, error, errorInfo, !0);
|
|
11823
11895
|
untrackBoundary(request, boundary);
|
|
11824
11896
|
boundary.parentFlushed &&
|
|
11825
11897
|
request.clientRenderedBoundaries.push(boundary);
|
|
11826
11898
|
}
|
|
11899
|
+
boundary.pendingTasks--;
|
|
11900
|
+
errorInfo = boundary.row;
|
|
11901
|
+
null !== errorInfo &&
|
|
11902
|
+
0 === --errorInfo.pendingTasks &&
|
|
11903
|
+
finishSuspenseListRow(request, errorInfo);
|
|
11827
11904
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
11828
11905
|
return abortTask(fallbackTask, request, error);
|
|
11829
11906
|
});
|
|
11830
11907
|
boundary.fallbackAbortableTasks.clear();
|
|
11831
11908
|
}
|
|
11909
|
+
task = task.row;
|
|
11910
|
+
null !== task &&
|
|
11911
|
+
0 === --task.pendingTasks &&
|
|
11912
|
+
finishSuspenseListRow(request, task);
|
|
11832
11913
|
request.allPendingTasks--;
|
|
11833
11914
|
0 === request.allPendingTasks && completeAll(request);
|
|
11834
11915
|
}
|
|
@@ -11932,8 +12013,9 @@
|
|
|
11932
12013
|
}
|
|
11933
12014
|
function finishedTask(request, boundary, row, segment) {
|
|
11934
12015
|
null !== row &&
|
|
11935
|
-
0 === --row.pendingTasks
|
|
11936
|
-
|
|
12016
|
+
(0 === --row.pendingTasks
|
|
12017
|
+
? finishSuspenseListRow(request, row)
|
|
12018
|
+
: row.together && tryToResolveTogetherRow(request, row));
|
|
11937
12019
|
request.allPendingTasks--;
|
|
11938
12020
|
if (null === boundary) {
|
|
11939
12021
|
if (null !== segment && segment.parentFlushed) {
|
|
@@ -11957,13 +12039,15 @@
|
|
|
11957
12039
|
boundary.parentFlushed &&
|
|
11958
12040
|
request.completedBoundaries.push(boundary),
|
|
11959
12041
|
1 === boundary.status &&
|
|
11960
|
-
(
|
|
12042
|
+
((row = boundary.row),
|
|
12043
|
+
null !== row &&
|
|
12044
|
+
hoistHoistables(row.hoistables, boundary.contentState),
|
|
12045
|
+
500 < boundary.byteSize ||
|
|
11961
12046
|
(boundary.fallbackAbortableTasks.forEach(
|
|
11962
12047
|
abortTaskSoft,
|
|
11963
12048
|
request
|
|
11964
12049
|
),
|
|
11965
12050
|
boundary.fallbackAbortableTasks.clear(),
|
|
11966
|
-
(row = boundary.row),
|
|
11967
12051
|
null !== row &&
|
|
11968
12052
|
0 === --row.pendingTasks &&
|
|
11969
12053
|
finishSuspenseListRow(request, row)),
|
|
@@ -11971,13 +12055,17 @@
|
|
|
11971
12055
|
null === request.trackedPostpones &&
|
|
11972
12056
|
null !== boundary.contentPreamble &&
|
|
11973
12057
|
preparePreamble(request)))
|
|
11974
|
-
: null !== segment &&
|
|
11975
|
-
|
|
11976
|
-
|
|
11977
|
-
|
|
11978
|
-
|
|
11979
|
-
|
|
11980
|
-
|
|
12058
|
+
: (null !== segment &&
|
|
12059
|
+
segment.parentFlushed &&
|
|
12060
|
+
1 === segment.status &&
|
|
12061
|
+
(queueCompletedSegment(boundary, segment),
|
|
12062
|
+
1 === boundary.completedSegments.length &&
|
|
12063
|
+
boundary.parentFlushed &&
|
|
12064
|
+
request.partialBoundaries.push(boundary)),
|
|
12065
|
+
(boundary = boundary.row),
|
|
12066
|
+
null !== boundary &&
|
|
12067
|
+
boundary.together &&
|
|
12068
|
+
tryToResolveTogetherRow(request, boundary)));
|
|
11981
12069
|
0 === request.allPendingTasks && completeAll(request);
|
|
11982
12070
|
}
|
|
11983
12071
|
function performWork(request$jscomp$1) {
|
|
@@ -12210,30 +12298,36 @@
|
|
|
12210
12298
|
errorInfo$jscomp$0,
|
|
12211
12299
|
debugTask
|
|
12212
12300
|
));
|
|
12213
|
-
null === boundary
|
|
12214
|
-
|
|
12215
|
-
|
|
12216
|
-
|
|
12217
|
-
|
|
12218
|
-
|
|
12219
|
-
|
|
12220
|
-
|
|
12221
|
-
|
|
12222
|
-
|
|
12223
|
-
|
|
12224
|
-
|
|
12225
|
-
|
|
12226
|
-
|
|
12227
|
-
|
|
12228
|
-
|
|
12229
|
-
|
|
12230
|
-
|
|
12231
|
-
|
|
12232
|
-
|
|
12233
|
-
|
|
12234
|
-
|
|
12235
|
-
|
|
12236
|
-
|
|
12301
|
+
if (null === boundary)
|
|
12302
|
+
fatalError(
|
|
12303
|
+
request,
|
|
12304
|
+
x$jscomp$0,
|
|
12305
|
+
errorInfo$jscomp$0,
|
|
12306
|
+
debugTask
|
|
12307
|
+
);
|
|
12308
|
+
else if (
|
|
12309
|
+
(boundary.pendingTasks--, 4 !== boundary.status)
|
|
12310
|
+
) {
|
|
12311
|
+
boundary.status = 4;
|
|
12312
|
+
encodeErrorForBoundary(
|
|
12313
|
+
boundary,
|
|
12314
|
+
prevTaskInDEV,
|
|
12315
|
+
x$jscomp$0,
|
|
12316
|
+
errorInfo$jscomp$0,
|
|
12317
|
+
!1
|
|
12318
|
+
);
|
|
12319
|
+
untrackBoundary(request, boundary);
|
|
12320
|
+
var boundaryRow = boundary.row;
|
|
12321
|
+
null !== boundaryRow &&
|
|
12322
|
+
0 === --boundaryRow.pendingTasks &&
|
|
12323
|
+
finishSuspenseListRow(request, boundaryRow);
|
|
12324
|
+
boundary.parentFlushed &&
|
|
12325
|
+
request.clientRenderedBoundaries.push(boundary);
|
|
12326
|
+
0 === request.pendingRootTasks &&
|
|
12327
|
+
null === request.trackedPostpones &&
|
|
12328
|
+
null !== boundary.contentPreamble &&
|
|
12329
|
+
preparePreamble(request);
|
|
12330
|
+
}
|
|
12237
12331
|
0 === request.allPendingTasks && completeAll(request);
|
|
12238
12332
|
}
|
|
12239
12333
|
} finally {
|
|
@@ -12404,12 +12498,7 @@
|
|
|
12404
12498
|
boundary.rootSegmentID
|
|
12405
12499
|
),
|
|
12406
12500
|
hoistableState &&
|
|
12407
|
-
(
|
|
12408
|
-
boundary.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
|
12409
|
-
boundary.stylesheets.forEach(
|
|
12410
|
-
hoistStylesheetDependency,
|
|
12411
|
-
hoistableState
|
|
12412
|
-
)),
|
|
12501
|
+
hoistHoistables(hoistableState, boundary.fallbackState),
|
|
12413
12502
|
flushSubtree(request, destination, segment, hoistableState),
|
|
12414
12503
|
destination.push("\x3c!--/$--\x3e")
|
|
12415
12504
|
);
|
|
@@ -12429,10 +12518,7 @@
|
|
|
12429
12518
|
destination.push("\x3c!--/$--\x3e")
|
|
12430
12519
|
);
|
|
12431
12520
|
flushedByteSize += boundary.byteSize;
|
|
12432
|
-
hoistableState &&
|
|
12433
|
-
((segment = boundary.contentState),
|
|
12434
|
-
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
|
12435
|
-
segment.stylesheets.forEach(hoistStylesheetDependency, hoistableState));
|
|
12521
|
+
hoistableState && hoistHoistables(hoistableState, boundary.contentState);
|
|
12436
12522
|
segment = boundary.row;
|
|
12437
12523
|
null !== segment &&
|
|
12438
12524
|
500 < boundary.byteSize &&
|
|
@@ -12890,6 +12976,17 @@
|
|
|
12890
12976
|
break a;
|
|
12891
12977
|
}
|
|
12892
12978
|
completedSegments.splice(0, JSCompiler_inline_result);
|
|
12979
|
+
var row = boundary$jscomp$0.row;
|
|
12980
|
+
null !== row &&
|
|
12981
|
+
row.together &&
|
|
12982
|
+
1 === boundary$jscomp$0.pendingTasks &&
|
|
12983
|
+
(1 === row.pendingTasks
|
|
12984
|
+
? unblockSuspenseListRow(
|
|
12985
|
+
clientRenderedBoundaries,
|
|
12986
|
+
row,
|
|
12987
|
+
row.hoistables
|
|
12988
|
+
)
|
|
12989
|
+
: row.pendingTasks--);
|
|
12893
12990
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
|
12894
12991
|
boundary,
|
|
12895
12992
|
boundary$jscomp$0.contentState,
|
|
@@ -14481,5 +14578,5 @@
|
|
|
14481
14578
|
});
|
|
14482
14579
|
});
|
|
14483
14580
|
};
|
|
14484
|
-
exports.version = "19.2.0-experimental-
|
|
14581
|
+
exports.version = "19.2.0-experimental-23884812-20250520";
|
|
14485
14582
|
})();
|