react-markup 0.0.0-experimental-c4676e72-20250520 → 0.0.0-experimental-8ce15b0f-20250522
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 +322 -198
- package/cjs/react-markup.production.js +300 -201
- package/cjs/react-markup.react-server.development.js +322 -198
- package/cjs/react-markup.react-server.production.js +300 -201
- package/package.json +2 -2
|
@@ -609,8 +609,8 @@ function getSuspenseViewTransition(parentViewTransition) {
|
|
|
609
609
|
? null
|
|
610
610
|
: {
|
|
611
611
|
update: parentViewTransition.update,
|
|
612
|
-
enter:
|
|
613
|
-
exit:
|
|
612
|
+
enter: "none",
|
|
613
|
+
exit: "none",
|
|
614
614
|
share: parentViewTransition.update,
|
|
615
615
|
name: parentViewTransition.autoName,
|
|
616
616
|
autoName: parentViewTransition.autoName,
|
|
@@ -652,11 +652,11 @@ function pushViewTransitionAttributes(target, formatContext) {
|
|
|
652
652
|
),
|
|
653
653
|
formatContext.nameIdx++),
|
|
654
654
|
pushStringAttribute(target, "vt-update", formatContext.update),
|
|
655
|
-
|
|
655
|
+
"none" !== formatContext.enter &&
|
|
656
656
|
pushStringAttribute(target, "vt-enter", formatContext.enter),
|
|
657
|
-
|
|
657
|
+
"none" !== formatContext.exit &&
|
|
658
658
|
pushStringAttribute(target, "vt-exit", formatContext.exit),
|
|
659
|
-
|
|
659
|
+
"none" !== formatContext.share &&
|
|
660
660
|
pushStringAttribute(target, "vt-share", formatContext.share));
|
|
661
661
|
}
|
|
662
662
|
var styleNameCache = new Map();
|
|
@@ -2794,6 +2794,10 @@ function hoistStyleQueueDependency(styleQueue) {
|
|
|
2794
2794
|
function hoistStylesheetDependency(stylesheet) {
|
|
2795
2795
|
this.stylesheets.add(stylesheet);
|
|
2796
2796
|
}
|
|
2797
|
+
function hoistHoistables(parentState, childState) {
|
|
2798
|
+
childState.styles.forEach(hoistStyleQueueDependency, parentState);
|
|
2799
|
+
childState.stylesheets.forEach(hoistStylesheetDependency, parentState);
|
|
2800
|
+
}
|
|
2797
2801
|
var bind = Function.prototype.bind,
|
|
2798
2802
|
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
|
|
2799
2803
|
function getComponentNameFromType(type) {
|
|
@@ -3615,11 +3619,14 @@ function createSuspenseBoundary(
|
|
|
3615
3619
|
};
|
|
3616
3620
|
null !== row &&
|
|
3617
3621
|
(row.pendingTasks++,
|
|
3618
|
-
(
|
|
3619
|
-
null !==
|
|
3622
|
+
(contentPreamble = row.boundaries),
|
|
3623
|
+
null !== contentPreamble &&
|
|
3620
3624
|
(request.allPendingTasks++,
|
|
3621
3625
|
fallbackAbortableTasks.pendingTasks++,
|
|
3622
|
-
|
|
3626
|
+
contentPreamble.push(fallbackAbortableTasks)),
|
|
3627
|
+
(request = row.inheritedHoistables),
|
|
3628
|
+
null !== request &&
|
|
3629
|
+
hoistHoistables(fallbackAbortableTasks.contentState, request));
|
|
3623
3630
|
return fallbackAbortableTasks;
|
|
3624
3631
|
}
|
|
3625
3632
|
function createRenderTask(
|
|
@@ -3788,20 +3795,56 @@ function fatalError(request, error) {
|
|
|
3788
3795
|
: ((request.status = 13), (request.fatalError = error));
|
|
3789
3796
|
}
|
|
3790
3797
|
function finishSuspenseListRow(request, row) {
|
|
3791
|
-
|
|
3792
|
-
|
|
3798
|
+
unblockSuspenseListRow(request, row.next, row.hoistables);
|
|
3799
|
+
}
|
|
3800
|
+
function unblockSuspenseListRow(request, unblockedRow, inheritedHoistables) {
|
|
3801
|
+
for (; null !== unblockedRow; ) {
|
|
3802
|
+
null !== inheritedHoistables &&
|
|
3803
|
+
(hoistHoistables(unblockedRow.hoistables, inheritedHoistables),
|
|
3804
|
+
(unblockedRow.inheritedHoistables = inheritedHoistables));
|
|
3805
|
+
var unblockedBoundaries = unblockedRow.boundaries;
|
|
3793
3806
|
if (null !== unblockedBoundaries) {
|
|
3794
|
-
|
|
3795
|
-
for (var i = 0; i < unblockedBoundaries.length; i++)
|
|
3796
|
-
|
|
3807
|
+
unblockedRow.boundaries = null;
|
|
3808
|
+
for (var i = 0; i < unblockedBoundaries.length; i++) {
|
|
3809
|
+
var unblockedBoundary = unblockedBoundaries[i];
|
|
3810
|
+
null !== inheritedHoistables &&
|
|
3811
|
+
hoistHoistables(unblockedBoundary.contentState, inheritedHoistables);
|
|
3812
|
+
finishedTask(request, unblockedBoundary, null, null);
|
|
3813
|
+
}
|
|
3797
3814
|
}
|
|
3798
|
-
|
|
3799
|
-
if (0 <
|
|
3800
|
-
|
|
3815
|
+
unblockedRow.pendingTasks--;
|
|
3816
|
+
if (0 < unblockedRow.pendingTasks) break;
|
|
3817
|
+
inheritedHoistables = unblockedRow.hoistables;
|
|
3818
|
+
unblockedRow = unblockedRow.next;
|
|
3819
|
+
}
|
|
3820
|
+
}
|
|
3821
|
+
function tryToResolveTogetherRow(request, togetherRow) {
|
|
3822
|
+
var boundaries = togetherRow.boundaries;
|
|
3823
|
+
if (null !== boundaries && togetherRow.pendingTasks === boundaries.length) {
|
|
3824
|
+
for (var allCompleteAndInlinable = !0, i = 0; i < boundaries.length; i++) {
|
|
3825
|
+
var rowBoundary = boundaries[i];
|
|
3826
|
+
if (
|
|
3827
|
+
1 !== rowBoundary.pendingTasks ||
|
|
3828
|
+
rowBoundary.parentFlushed ||
|
|
3829
|
+
500 < rowBoundary.byteSize
|
|
3830
|
+
) {
|
|
3831
|
+
allCompleteAndInlinable = !1;
|
|
3832
|
+
break;
|
|
3833
|
+
}
|
|
3834
|
+
}
|
|
3835
|
+
allCompleteAndInlinable &&
|
|
3836
|
+
unblockSuspenseListRow(request, togetherRow, togetherRow.hoistables);
|
|
3801
3837
|
}
|
|
3802
3838
|
}
|
|
3803
3839
|
function createSuspenseListRow(previousRow) {
|
|
3804
|
-
var newRow = {
|
|
3840
|
+
var newRow = {
|
|
3841
|
+
pendingTasks: 1,
|
|
3842
|
+
boundaries: null,
|
|
3843
|
+
hoistables: createHoistableState(),
|
|
3844
|
+
inheritedHoistables: null,
|
|
3845
|
+
together: !1,
|
|
3846
|
+
next: null
|
|
3847
|
+
};
|
|
3805
3848
|
null !== previousRow &&
|
|
3806
3849
|
0 < previousRow.pendingTasks &&
|
|
3807
3850
|
(newRow.pendingTasks++,
|
|
@@ -3810,21 +3853,22 @@ function createSuspenseListRow(previousRow) {
|
|
|
3810
3853
|
return newRow;
|
|
3811
3854
|
}
|
|
3812
3855
|
function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
prevRow = task.row
|
|
3816
|
-
|
|
3817
|
-
|
|
3856
|
+
var prevKeyPath = task.keyPath,
|
|
3857
|
+
prevTreeContext = task.treeContext,
|
|
3858
|
+
prevRow = task.row;
|
|
3859
|
+
task.keyPath = keyPath;
|
|
3860
|
+
keyPath = rows.length;
|
|
3861
|
+
var previousSuspenseListRow = null;
|
|
3818
3862
|
if (null !== task.replay) {
|
|
3819
3863
|
var resumeSlots = task.replay.slots;
|
|
3820
3864
|
if (null !== resumeSlots && "object" === typeof resumeSlots)
|
|
3821
|
-
for (var n = 0; n <
|
|
3822
|
-
var i = "backwards" !== revealOrder ? n :
|
|
3865
|
+
for (var n = 0; n < keyPath; n++) {
|
|
3866
|
+
var i = "backwards" !== revealOrder ? n : keyPath - 1 - n,
|
|
3823
3867
|
node = rows[i];
|
|
3824
3868
|
task.row = previousSuspenseListRow = createSuspenseListRow(
|
|
3825
3869
|
previousSuspenseListRow
|
|
3826
3870
|
);
|
|
3827
|
-
task.treeContext = pushTreeContext(prevTreeContext,
|
|
3871
|
+
task.treeContext = pushTreeContext(prevTreeContext, keyPath, i);
|
|
3828
3872
|
var resumeSegmentID = resumeSlots[i];
|
|
3829
3873
|
"number" === typeof resumeSegmentID
|
|
3830
3874
|
? (resumeNode(request, task, resumeSegmentID, node, i),
|
|
@@ -3834,30 +3878,26 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
|
|
|
3834
3878
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
3835
3879
|
}
|
|
3836
3880
|
else
|
|
3837
|
-
for (resumeSlots = 0; resumeSlots <
|
|
3881
|
+
for (resumeSlots = 0; resumeSlots < keyPath; resumeSlots++)
|
|
3838
3882
|
(n =
|
|
3839
3883
|
"backwards" !== revealOrder
|
|
3840
3884
|
? resumeSlots
|
|
3841
|
-
:
|
|
3885
|
+
: keyPath - 1 - resumeSlots),
|
|
3842
3886
|
(i = rows[n]),
|
|
3843
3887
|
(task.row = previousSuspenseListRow =
|
|
3844
3888
|
createSuspenseListRow(previousSuspenseListRow)),
|
|
3845
|
-
(task.treeContext = pushTreeContext(
|
|
3846
|
-
prevTreeContext,
|
|
3847
|
-
totalChildren,
|
|
3848
|
-
n
|
|
3849
|
-
)),
|
|
3889
|
+
(task.treeContext = pushTreeContext(prevTreeContext, keyPath, n)),
|
|
3850
3890
|
renderNode(request, task, i, n),
|
|
3851
3891
|
0 === --previousSuspenseListRow.pendingTasks &&
|
|
3852
3892
|
finishSuspenseListRow(request, previousSuspenseListRow);
|
|
3853
3893
|
} else if ("backwards" !== revealOrder)
|
|
3854
|
-
for (revealOrder = 0; revealOrder <
|
|
3894
|
+
for (revealOrder = 0; revealOrder < keyPath; revealOrder++)
|
|
3855
3895
|
(resumeSlots = rows[revealOrder]),
|
|
3856
3896
|
(task.row = previousSuspenseListRow =
|
|
3857
3897
|
createSuspenseListRow(previousSuspenseListRow)),
|
|
3858
3898
|
(task.treeContext = pushTreeContext(
|
|
3859
3899
|
prevTreeContext,
|
|
3860
|
-
|
|
3900
|
+
keyPath,
|
|
3861
3901
|
revealOrder
|
|
3862
3902
|
)),
|
|
3863
3903
|
renderNode(request, task, resumeSlots, revealOrder),
|
|
@@ -3867,12 +3907,12 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
|
|
|
3867
3907
|
revealOrder = task.blockedSegment;
|
|
3868
3908
|
resumeSlots = revealOrder.children.length;
|
|
3869
3909
|
n = revealOrder.chunks.length;
|
|
3870
|
-
for (i =
|
|
3910
|
+
for (i = keyPath - 1; 0 <= i; i--) {
|
|
3871
3911
|
node = rows[i];
|
|
3872
3912
|
task.row = previousSuspenseListRow = createSuspenseListRow(
|
|
3873
3913
|
previousSuspenseListRow
|
|
3874
3914
|
);
|
|
3875
|
-
task.treeContext = pushTreeContext(prevTreeContext,
|
|
3915
|
+
task.treeContext = pushTreeContext(prevTreeContext, keyPath, i);
|
|
3876
3916
|
resumeSegmentID = createPendingSegment(
|
|
3877
3917
|
request,
|
|
3878
3918
|
n,
|
|
@@ -3904,7 +3944,7 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
|
|
|
3904
3944
|
(prevRow.pendingTasks++, (previousSuspenseListRow.next = prevRow));
|
|
3905
3945
|
task.treeContext = prevTreeContext;
|
|
3906
3946
|
task.row = prevRow;
|
|
3907
|
-
task.keyPath =
|
|
3947
|
+
task.keyPath = prevKeyPath;
|
|
3908
3948
|
}
|
|
3909
3949
|
function renderWithHooks(request, task, keyPath, Component, props, secondArg) {
|
|
3910
3950
|
var prevThenableState = task.thenableState;
|
|
@@ -3973,9 +4013,9 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
3973
4013
|
var defaultProps = type.defaultProps;
|
|
3974
4014
|
if (defaultProps) {
|
|
3975
4015
|
newProps === props && (newProps = assign({}, newProps, props));
|
|
3976
|
-
for (var propName$
|
|
3977
|
-
void 0 === newProps[propName$
|
|
3978
|
-
(newProps[propName$
|
|
4016
|
+
for (var propName$36 in defaultProps)
|
|
4017
|
+
void 0 === newProps[propName$36] &&
|
|
4018
|
+
(newProps[propName$36] = defaultProps[propName$36]);
|
|
3979
4019
|
}
|
|
3980
4020
|
var JSCompiler_inline_result = newProps;
|
|
3981
4021
|
var context = emptyContextObject,
|
|
@@ -4142,13 +4182,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4142
4182
|
textEmbedded
|
|
4143
4183
|
);
|
|
4144
4184
|
segment.lastPushedText = !1;
|
|
4145
|
-
var prevContext$
|
|
4146
|
-
prevKeyPath$
|
|
4185
|
+
var prevContext$34 = task.formatContext,
|
|
4186
|
+
prevKeyPath$35 = task.keyPath;
|
|
4147
4187
|
task.keyPath = keyPath;
|
|
4148
4188
|
if (
|
|
4149
4189
|
3 ===
|
|
4150
4190
|
(task.formatContext = getChildFormatContext(
|
|
4151
|
-
prevContext$
|
|
4191
|
+
prevContext$34,
|
|
4152
4192
|
type,
|
|
4153
4193
|
props
|
|
4154
4194
|
)).insertionMode
|
|
@@ -4182,8 +4222,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4182
4222
|
pushComponentStack(preambleTask);
|
|
4183
4223
|
request.pingedTasks.push(preambleTask);
|
|
4184
4224
|
} else renderNode(request, task, JSCompiler_inline_result$jscomp$2, -1);
|
|
4185
|
-
task.formatContext = prevContext$
|
|
4186
|
-
task.keyPath = prevKeyPath$
|
|
4225
|
+
task.formatContext = prevContext$34;
|
|
4226
|
+
task.keyPath = prevKeyPath$35;
|
|
4187
4227
|
a: {
|
|
4188
4228
|
var target$jscomp$0 = segment.chunks,
|
|
4189
4229
|
resumableState$jscomp$0 = request.resumableState;
|
|
@@ -4208,19 +4248,19 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4208
4248
|
case "wbr":
|
|
4209
4249
|
break a;
|
|
4210
4250
|
case "body":
|
|
4211
|
-
if (1 >= prevContext$
|
|
4251
|
+
if (1 >= prevContext$34.insertionMode) {
|
|
4212
4252
|
resumableState$jscomp$0.hasBody = !0;
|
|
4213
4253
|
break a;
|
|
4214
4254
|
}
|
|
4215
4255
|
break;
|
|
4216
4256
|
case "html":
|
|
4217
|
-
if (0 === prevContext$
|
|
4257
|
+
if (0 === prevContext$34.insertionMode) {
|
|
4218
4258
|
resumableState$jscomp$0.hasHtml = !0;
|
|
4219
4259
|
break a;
|
|
4220
4260
|
}
|
|
4221
4261
|
break;
|
|
4222
4262
|
case "head":
|
|
4223
|
-
if (1 >= prevContext$
|
|
4263
|
+
if (1 >= prevContext$34.insertionMode) break a;
|
|
4224
4264
|
}
|
|
4225
4265
|
target$jscomp$0.push(endChunkForTag(type));
|
|
4226
4266
|
}
|
|
@@ -4248,10 +4288,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4248
4288
|
}
|
|
4249
4289
|
} else if ("hidden" !== props.mode) {
|
|
4250
4290
|
segment$jscomp$0.lastPushedText = !1;
|
|
4251
|
-
var prevKeyPath$
|
|
4291
|
+
var prevKeyPath$38 = task.keyPath;
|
|
4252
4292
|
task.keyPath = keyPath;
|
|
4253
4293
|
renderNode(request, task, props.children, -1);
|
|
4254
|
-
task.keyPath = prevKeyPath$
|
|
4294
|
+
task.keyPath = prevKeyPath$38;
|
|
4255
4295
|
segment$jscomp$0.lastPushedText = !1;
|
|
4256
4296
|
}
|
|
4257
4297
|
return;
|
|
@@ -4330,10 +4370,27 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4330
4370
|
}
|
|
4331
4371
|
}
|
|
4332
4372
|
}
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4373
|
+
if ("together" === revealOrder) {
|
|
4374
|
+
var prevKeyPath$32 = task.keyPath,
|
|
4375
|
+
prevRow = task.row,
|
|
4376
|
+
newRow = (task.row = createSuspenseListRow(null));
|
|
4377
|
+
newRow.boundaries = [];
|
|
4378
|
+
newRow.together = !0;
|
|
4379
|
+
task.keyPath = keyPath;
|
|
4380
|
+
renderNodeDestructive(request, task, children$jscomp$0, -1);
|
|
4381
|
+
0 === --newRow.pendingTasks &&
|
|
4382
|
+
finishSuspenseListRow(request, newRow);
|
|
4383
|
+
task.keyPath = prevKeyPath$32;
|
|
4384
|
+
task.row = prevRow;
|
|
4385
|
+
null !== prevRow &&
|
|
4386
|
+
0 < newRow.pendingTasks &&
|
|
4387
|
+
(prevRow.pendingTasks++, (newRow.next = prevRow));
|
|
4388
|
+
} else {
|
|
4389
|
+
var prevKeyPath$jscomp$3 = task.keyPath;
|
|
4390
|
+
task.keyPath = keyPath;
|
|
4391
|
+
renderNodeDestructive(request, task, children$jscomp$0, -1);
|
|
4392
|
+
task.keyPath = prevKeyPath$jscomp$3;
|
|
4393
|
+
}
|
|
4337
4394
|
}
|
|
4338
4395
|
return;
|
|
4339
4396
|
case REACT_VIEW_TRANSITION_TYPE:
|
|
@@ -4381,7 +4438,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4381
4438
|
} else {
|
|
4382
4439
|
var prevKeyPath$jscomp$5 = task.keyPath,
|
|
4383
4440
|
prevContext$jscomp$1 = task.formatContext,
|
|
4384
|
-
prevRow = task.row,
|
|
4441
|
+
prevRow$jscomp$0 = task.row,
|
|
4385
4442
|
parentBoundary = task.blockedBoundary,
|
|
4386
4443
|
parentPreamble = task.blockedPreamble,
|
|
4387
4444
|
parentHoistableState = task.hoistableState,
|
|
@@ -4500,18 +4557,21 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4500
4557
|
(renderNode(request, task, content, -1),
|
|
4501
4558
|
(contentRootSegment.status = 1),
|
|
4502
4559
|
queueCompletedSegment(newBoundary, contentRootSegment),
|
|
4503
|
-
0 === newBoundary.pendingTasks &&
|
|
4504
|
-
0 === newBoundary.status &&
|
|
4505
|
-
((newBoundary.status = 1), !(500 < newBoundary.byteSize)))
|
|
4560
|
+
0 === newBoundary.pendingTasks && 0 === newBoundary.status)
|
|
4506
4561
|
) {
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4562
|
+
if (((newBoundary.status = 1), !(500 < newBoundary.byteSize))) {
|
|
4563
|
+
null !== prevRow$jscomp$0 &&
|
|
4564
|
+
0 === --prevRow$jscomp$0.pendingTasks &&
|
|
4565
|
+
finishSuspenseListRow(request, prevRow$jscomp$0);
|
|
4566
|
+
0 === request.pendingRootTasks &&
|
|
4567
|
+
task.blockedPreamble &&
|
|
4568
|
+
preparePreamble(request);
|
|
4569
|
+
break a;
|
|
4570
|
+
}
|
|
4571
|
+
} else
|
|
4572
|
+
null !== prevRow$jscomp$0 &&
|
|
4573
|
+
prevRow$jscomp$0.together &&
|
|
4574
|
+
tryToResolveTogetherRow(request, prevRow$jscomp$0);
|
|
4515
4575
|
} catch (thrownValue$20) {
|
|
4516
4576
|
newBoundary.status = 4;
|
|
4517
4577
|
if (12 === request.status) {
|
|
@@ -4537,7 +4597,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4537
4597
|
(task.blockedSegment = parentSegment),
|
|
4538
4598
|
(task.keyPath = prevKeyPath$jscomp$5),
|
|
4539
4599
|
(task.formatContext = prevContext$jscomp$1),
|
|
4540
|
-
(task.row = prevRow);
|
|
4600
|
+
(task.row = prevRow$jscomp$0);
|
|
4541
4601
|
}
|
|
4542
4602
|
var suspendedFallbackTask = createRenderTask(
|
|
4543
4603
|
request,
|
|
@@ -5044,6 +5104,35 @@ function renderChildrenArray(request, task, children, childIndex) {
|
|
|
5044
5104
|
task.treeContext = replay;
|
|
5045
5105
|
task.keyPath = prevKeyPath;
|
|
5046
5106
|
}
|
|
5107
|
+
function trackPostponedBoundary(request, trackedPostpones, boundary) {
|
|
5108
|
+
boundary.status = 5;
|
|
5109
|
+
boundary.rootSegmentID = request.nextSegmentId++;
|
|
5110
|
+
request = boundary.trackedContentKeyPath;
|
|
5111
|
+
if (null === request)
|
|
5112
|
+
throw Error(
|
|
5113
|
+
"It should not be possible to postpone at the root. This is a bug in React."
|
|
5114
|
+
);
|
|
5115
|
+
var fallbackReplayNode = boundary.trackedFallbackNode,
|
|
5116
|
+
children = [],
|
|
5117
|
+
boundaryNode = trackedPostpones.workingMap.get(request);
|
|
5118
|
+
if (void 0 === boundaryNode)
|
|
5119
|
+
return (
|
|
5120
|
+
(boundary = [
|
|
5121
|
+
request[1],
|
|
5122
|
+
request[2],
|
|
5123
|
+
children,
|
|
5124
|
+
null,
|
|
5125
|
+
fallbackReplayNode,
|
|
5126
|
+
boundary.rootSegmentID
|
|
5127
|
+
]),
|
|
5128
|
+
trackedPostpones.workingMap.set(request, boundary),
|
|
5129
|
+
addToReplayParent(boundary, request[0], trackedPostpones),
|
|
5130
|
+
boundary
|
|
5131
|
+
);
|
|
5132
|
+
boundaryNode[4] = fallbackReplayNode;
|
|
5133
|
+
boundaryNode[5] = boundary.rootSegmentID;
|
|
5134
|
+
return boundaryNode;
|
|
5135
|
+
}
|
|
5047
5136
|
function trackPostpone(request, trackedPostpones, task, segment) {
|
|
5048
5137
|
segment.status = 5;
|
|
5049
5138
|
var keyPath = task.keyPath,
|
|
@@ -5055,51 +5144,22 @@ function trackPostpone(request, trackedPostpones, task, segment) {
|
|
|
5055
5144
|
(request.completedRootSegment.status = 5);
|
|
5056
5145
|
else {
|
|
5057
5146
|
if (null !== boundary && 0 === boundary.status) {
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
if (boundaryKeyPath === keyPath && -1 === task.childIndex) {
|
|
5147
|
+
var boundaryNode = trackPostponedBoundary(
|
|
5148
|
+
request,
|
|
5149
|
+
trackedPostpones,
|
|
5150
|
+
boundary
|
|
5151
|
+
);
|
|
5152
|
+
if (
|
|
5153
|
+
boundary.trackedContentKeyPath === keyPath &&
|
|
5154
|
+
-1 === task.childIndex
|
|
5155
|
+
) {
|
|
5068
5156
|
-1 === segment.id &&
|
|
5069
5157
|
(segment.id = segment.parentFlushed
|
|
5070
5158
|
? boundary.rootSegmentID
|
|
5071
5159
|
: request.nextSegmentId++);
|
|
5072
|
-
|
|
5073
|
-
boundaryKeyPath[1],
|
|
5074
|
-
boundaryKeyPath[2],
|
|
5075
|
-
children,
|
|
5076
|
-
segment.id,
|
|
5077
|
-
fallbackReplayNode,
|
|
5078
|
-
boundary.rootSegmentID
|
|
5079
|
-
];
|
|
5080
|
-
trackedPostpones.workingMap.set(boundaryKeyPath, segment);
|
|
5081
|
-
addToReplayParent(segment, boundaryKeyPath[0], trackedPostpones);
|
|
5160
|
+
boundaryNode[3] = segment.id;
|
|
5082
5161
|
return;
|
|
5083
5162
|
}
|
|
5084
|
-
var boundaryNode$46 = trackedPostpones.workingMap.get(boundaryKeyPath);
|
|
5085
|
-
void 0 === boundaryNode$46
|
|
5086
|
-
? ((boundaryNode$46 = [
|
|
5087
|
-
boundaryKeyPath[1],
|
|
5088
|
-
boundaryKeyPath[2],
|
|
5089
|
-
children,
|
|
5090
|
-
null,
|
|
5091
|
-
fallbackReplayNode,
|
|
5092
|
-
boundary.rootSegmentID
|
|
5093
|
-
]),
|
|
5094
|
-
trackedPostpones.workingMap.set(boundaryKeyPath, boundaryNode$46),
|
|
5095
|
-
addToReplayParent(
|
|
5096
|
-
boundaryNode$46,
|
|
5097
|
-
boundaryKeyPath[0],
|
|
5098
|
-
trackedPostpones
|
|
5099
|
-
))
|
|
5100
|
-
: ((boundaryKeyPath = boundaryNode$46),
|
|
5101
|
-
(boundaryKeyPath[4] = fallbackReplayNode),
|
|
5102
|
-
(boundaryKeyPath[5] = boundary.rootSegmentID));
|
|
5103
5163
|
}
|
|
5104
5164
|
-1 === segment.id &&
|
|
5105
5165
|
(segment.id =
|
|
@@ -5126,15 +5186,15 @@ function trackPostpone(request, trackedPostpones, task, segment) {
|
|
|
5126
5186
|
}
|
|
5127
5187
|
else if (
|
|
5128
5188
|
((boundary = trackedPostpones.workingMap),
|
|
5129
|
-
(
|
|
5130
|
-
void 0 ===
|
|
5189
|
+
(boundaryNode = boundary.get(keyPath)),
|
|
5190
|
+
void 0 === boundaryNode)
|
|
5131
5191
|
)
|
|
5132
5192
|
(request = {}),
|
|
5133
|
-
(
|
|
5134
|
-
boundary.set(keyPath,
|
|
5135
|
-
addToReplayParent(
|
|
5136
|
-
else if (((request =
|
|
5137
|
-
request =
|
|
5193
|
+
(boundaryNode = [keyPath[1], keyPath[2], [], request]),
|
|
5194
|
+
boundary.set(keyPath, boundaryNode),
|
|
5195
|
+
addToReplayParent(boundaryNode, keyPath[0], trackedPostpones);
|
|
5196
|
+
else if (((request = boundaryNode[3]), null === request))
|
|
5197
|
+
request = boundaryNode[3] = {};
|
|
5138
5198
|
else if ("number" === typeof request)
|
|
5139
5199
|
throw Error(
|
|
5140
5200
|
"It should not be possible to postpone both at the root of an element as well as a slot below. This is a bug in React."
|
|
@@ -5251,15 +5311,15 @@ function renderNode(request, task, node, childIndex) {
|
|
|
5251
5311
|
chunkLength = segment.chunks.length;
|
|
5252
5312
|
try {
|
|
5253
5313
|
return renderNodeDestructive(request, task, node, childIndex);
|
|
5254
|
-
} catch (thrownValue$
|
|
5314
|
+
} catch (thrownValue$59) {
|
|
5255
5315
|
if (
|
|
5256
5316
|
(resetHooksState(),
|
|
5257
5317
|
(segment.children.length = childrenLength),
|
|
5258
5318
|
(segment.chunks.length = chunkLength),
|
|
5259
5319
|
(childIndex =
|
|
5260
|
-
thrownValue$
|
|
5320
|
+
thrownValue$59 === SuspenseException
|
|
5261
5321
|
? getSuspendedThenable()
|
|
5262
|
-
: thrownValue$
|
|
5322
|
+
: thrownValue$59),
|
|
5263
5323
|
"object" === typeof childIndex && null !== childIndex)
|
|
5264
5324
|
) {
|
|
5265
5325
|
if ("function" === typeof childIndex.then) {
|
|
@@ -5412,10 +5472,6 @@ function abortTask(task, request, error) {
|
|
|
5412
5472
|
if (6 === segment.status) return;
|
|
5413
5473
|
segment.status = 3;
|
|
5414
5474
|
}
|
|
5415
|
-
var row = task.row;
|
|
5416
|
-
null !== row &&
|
|
5417
|
-
0 === --row.pendingTasks &&
|
|
5418
|
-
finishSuspenseListRow(request, row);
|
|
5419
5475
|
var errorInfo = getThrownInfo(task.componentStack);
|
|
5420
5476
|
if (null === boundary) {
|
|
5421
5477
|
if (13 !== request.status && 14 !== request.status) {
|
|
@@ -5428,7 +5484,7 @@ function abortTask(task, request, error) {
|
|
|
5428
5484
|
null !== boundary && null !== segment
|
|
5429
5485
|
? (logPostpone(request, error.message, errorInfo),
|
|
5430
5486
|
trackPostpone(request, boundary, task, segment),
|
|
5431
|
-
finishedTask(request, null, row, segment))
|
|
5487
|
+
finishedTask(request, null, task.row, segment))
|
|
5432
5488
|
: ((task = Error(
|
|
5433
5489
|
"The render was aborted with postpone when the shell is incomplete. Reason: " +
|
|
5434
5490
|
error.message
|
|
@@ -5439,7 +5495,7 @@ function abortTask(task, request, error) {
|
|
|
5439
5495
|
? ((boundary = request.trackedPostpones),
|
|
5440
5496
|
logRecoverableError(request, error, errorInfo),
|
|
5441
5497
|
trackPostpone(request, boundary, task, segment),
|
|
5442
|
-
finishedTask(request, null, row, segment))
|
|
5498
|
+
finishedTask(request, null, task.row, segment))
|
|
5443
5499
|
: (logRecoverableError(request, error, errorInfo),
|
|
5444
5500
|
fatalError(request, error));
|
|
5445
5501
|
return;
|
|
@@ -5465,22 +5521,21 @@ function abortTask(task, request, error) {
|
|
|
5465
5521
|
0 === request.pendingRootTasks && completeShell(request);
|
|
5466
5522
|
}
|
|
5467
5523
|
} else {
|
|
5468
|
-
|
|
5469
|
-
var trackedPostpones$61 = request.trackedPostpones;
|
|
5524
|
+
var trackedPostpones$62 = request.trackedPostpones;
|
|
5470
5525
|
if (4 !== boundary.status) {
|
|
5471
|
-
if (null !== trackedPostpones$
|
|
5526
|
+
if (null !== trackedPostpones$62 && null !== segment)
|
|
5472
5527
|
return (
|
|
5473
5528
|
"object" === typeof error &&
|
|
5474
5529
|
null !== error &&
|
|
5475
5530
|
error.$$typeof === REACT_POSTPONE_TYPE
|
|
5476
5531
|
? logPostpone(request, error.message, errorInfo)
|
|
5477
5532
|
: logRecoverableError(request, error, errorInfo),
|
|
5478
|
-
trackPostpone(request, trackedPostpones$
|
|
5533
|
+
trackPostpone(request, trackedPostpones$62, task, segment),
|
|
5479
5534
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
5480
5535
|
return abortTask(fallbackTask, request, error);
|
|
5481
5536
|
}),
|
|
5482
5537
|
boundary.fallbackAbortableTasks.clear(),
|
|
5483
|
-
finishedTask(request, boundary, row, segment)
|
|
5538
|
+
finishedTask(request, boundary, task.row, segment)
|
|
5484
5539
|
);
|
|
5485
5540
|
boundary.status = 4;
|
|
5486
5541
|
if (
|
|
@@ -5491,7 +5546,7 @@ function abortTask(task, request, error) {
|
|
|
5491
5546
|
logPostpone(request, error.message, errorInfo);
|
|
5492
5547
|
if (null !== request.trackedPostpones && null !== segment) {
|
|
5493
5548
|
trackPostpone(request, request.trackedPostpones, task, segment);
|
|
5494
|
-
finishedTask(request, task.blockedBoundary, row, segment);
|
|
5549
|
+
finishedTask(request, task.blockedBoundary, task.row, segment);
|
|
5495
5550
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
5496
5551
|
return abortTask(fallbackTask, request, error);
|
|
5497
5552
|
});
|
|
@@ -5505,11 +5560,20 @@ function abortTask(task, request, error) {
|
|
|
5505
5560
|
untrackBoundary(request, boundary);
|
|
5506
5561
|
boundary.parentFlushed && request.clientRenderedBoundaries.push(boundary);
|
|
5507
5562
|
}
|
|
5563
|
+
boundary.pendingTasks--;
|
|
5564
|
+
errorInfo = boundary.row;
|
|
5565
|
+
null !== errorInfo &&
|
|
5566
|
+
0 === --errorInfo.pendingTasks &&
|
|
5567
|
+
finishSuspenseListRow(request, errorInfo);
|
|
5508
5568
|
boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
|
|
5509
5569
|
return abortTask(fallbackTask, request, error);
|
|
5510
5570
|
});
|
|
5511
5571
|
boundary.fallbackAbortableTasks.clear();
|
|
5512
5572
|
}
|
|
5573
|
+
task = task.row;
|
|
5574
|
+
null !== task &&
|
|
5575
|
+
0 === --task.pendingTasks &&
|
|
5576
|
+
finishSuspenseListRow(request, task);
|
|
5513
5577
|
request.allPendingTasks--;
|
|
5514
5578
|
0 === request.allPendingTasks && completeAll(request);
|
|
5515
5579
|
}
|
|
@@ -5608,8 +5672,9 @@ function queueCompletedSegment(boundary, segment) {
|
|
|
5608
5672
|
}
|
|
5609
5673
|
function finishedTask(request, boundary, row, segment) {
|
|
5610
5674
|
null !== row &&
|
|
5611
|
-
0 === --row.pendingTasks
|
|
5612
|
-
|
|
5675
|
+
(0 === --row.pendingTasks
|
|
5676
|
+
? finishSuspenseListRow(request, row)
|
|
5677
|
+
: row.together && tryToResolveTogetherRow(request, row));
|
|
5613
5678
|
request.allPendingTasks--;
|
|
5614
5679
|
if (null === boundary) {
|
|
5615
5680
|
if (null !== segment && segment.parentFlushed) {
|
|
@@ -5621,39 +5686,68 @@ function finishedTask(request, boundary, row, segment) {
|
|
|
5621
5686
|
}
|
|
5622
5687
|
request.pendingRootTasks--;
|
|
5623
5688
|
0 === request.pendingRootTasks && completeShell(request);
|
|
5624
|
-
} else
|
|
5625
|
-
boundary.pendingTasks
|
|
5626
|
-
|
|
5627
|
-
(0 === boundary.
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5689
|
+
} else if ((boundary.pendingTasks--, 4 !== boundary.status))
|
|
5690
|
+
if (0 === boundary.pendingTasks)
|
|
5691
|
+
if (
|
|
5692
|
+
(0 === boundary.status && (boundary.status = 1),
|
|
5693
|
+
null !== segment &&
|
|
5694
|
+
segment.parentFlushed &&
|
|
5695
|
+
1 === segment.status &&
|
|
5696
|
+
queueCompletedSegment(boundary, segment),
|
|
5697
|
+
boundary.parentFlushed && request.completedBoundaries.push(boundary),
|
|
5698
|
+
1 === boundary.status)
|
|
5699
|
+
)
|
|
5700
|
+
(row = boundary.row),
|
|
5701
|
+
null !== row &&
|
|
5702
|
+
hoistHoistables(row.hoistables, boundary.contentState),
|
|
5703
|
+
500 < boundary.byteSize ||
|
|
5704
|
+
(boundary.fallbackAbortableTasks.forEach(abortTaskSoft, request),
|
|
5705
|
+
boundary.fallbackAbortableTasks.clear(),
|
|
5706
|
+
null !== row &&
|
|
5707
|
+
0 === --row.pendingTasks &&
|
|
5708
|
+
finishSuspenseListRow(request, row)),
|
|
5709
|
+
0 === request.pendingRootTasks &&
|
|
5710
|
+
null === request.trackedPostpones &&
|
|
5711
|
+
null !== boundary.contentPreamble &&
|
|
5712
|
+
preparePreamble(request);
|
|
5713
|
+
else {
|
|
5714
|
+
if (
|
|
5715
|
+
5 === boundary.status &&
|
|
5716
|
+
((boundary = boundary.row), null !== boundary)
|
|
5717
|
+
) {
|
|
5718
|
+
if (null !== request.trackedPostpones) {
|
|
5719
|
+
row = request.trackedPostpones;
|
|
5720
|
+
var postponedRow = boundary.next;
|
|
5721
|
+
if (
|
|
5722
|
+
null !== postponedRow &&
|
|
5723
|
+
((segment = postponedRow.boundaries), null !== segment)
|
|
5724
|
+
)
|
|
5725
|
+
for (
|
|
5726
|
+
postponedRow.boundaries = null, postponedRow = 0;
|
|
5727
|
+
postponedRow < segment.length;
|
|
5728
|
+
postponedRow++
|
|
5729
|
+
) {
|
|
5730
|
+
var postponedBoundary = segment[postponedRow];
|
|
5731
|
+
trackPostponedBoundary(request, row, postponedBoundary);
|
|
5732
|
+
finishedTask(request, postponedBoundary, null, null);
|
|
5733
|
+
}
|
|
5734
|
+
}
|
|
5735
|
+
0 === --boundary.pendingTasks &&
|
|
5736
|
+
finishSuspenseListRow(request, boundary);
|
|
5737
|
+
}
|
|
5738
|
+
}
|
|
5739
|
+
else
|
|
5740
|
+
null !== segment &&
|
|
5741
|
+
segment.parentFlushed &&
|
|
5742
|
+
1 === segment.status &&
|
|
5743
|
+
(queueCompletedSegment(boundary, segment),
|
|
5744
|
+
1 === boundary.completedSegments.length &&
|
|
5745
|
+
boundary.parentFlushed &&
|
|
5746
|
+
request.partialBoundaries.push(boundary)),
|
|
5747
|
+
(boundary = boundary.row),
|
|
5748
|
+
null !== boundary &&
|
|
5749
|
+
boundary.together &&
|
|
5750
|
+
tryToResolveTogetherRow(request, boundary);
|
|
5657
5751
|
0 === request.allPendingTasks && completeAll(request);
|
|
5658
5752
|
}
|
|
5659
5753
|
function performWork(request$jscomp$1) {
|
|
@@ -5805,13 +5899,13 @@ function performWork(request$jscomp$1) {
|
|
|
5805
5899
|
null !== request.trackedPostpones &&
|
|
5806
5900
|
x$jscomp$0.$$typeof === REACT_POSTPONE_TYPE
|
|
5807
5901
|
) {
|
|
5808
|
-
var trackedPostpones$
|
|
5902
|
+
var trackedPostpones$68 = request.trackedPostpones;
|
|
5809
5903
|
task.abortSet.delete(task);
|
|
5810
5904
|
var postponeInfo = getThrownInfo(task.componentStack);
|
|
5811
5905
|
logPostpone(request, x$jscomp$0.message, postponeInfo);
|
|
5812
5906
|
trackPostpone(
|
|
5813
5907
|
request,
|
|
5814
|
-
trackedPostpones$
|
|
5908
|
+
trackedPostpones$68,
|
|
5815
5909
|
task,
|
|
5816
5910
|
segment$jscomp$0
|
|
5817
5911
|
);
|
|
@@ -5847,19 +5941,22 @@ function performWork(request$jscomp$1) {
|
|
|
5847
5941
|
x$jscomp$0,
|
|
5848
5942
|
errorInfo$jscomp$0
|
|
5849
5943
|
));
|
|
5850
|
-
null === boundary
|
|
5851
|
-
|
|
5852
|
-
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5944
|
+
if (null === boundary) fatalError(request, x$jscomp$0);
|
|
5945
|
+
else if ((boundary.pendingTasks--, 4 !== boundary.status)) {
|
|
5946
|
+
boundary.status = 4;
|
|
5947
|
+
boundary.errorDigest = request$jscomp$0;
|
|
5948
|
+
untrackBoundary(request, boundary);
|
|
5949
|
+
var boundaryRow = boundary.row;
|
|
5950
|
+
null !== boundaryRow &&
|
|
5951
|
+
0 === --boundaryRow.pendingTasks &&
|
|
5952
|
+
finishSuspenseListRow(request, boundaryRow);
|
|
5953
|
+
boundary.parentFlushed &&
|
|
5954
|
+
request.clientRenderedBoundaries.push(boundary);
|
|
5955
|
+
0 === request.pendingRootTasks &&
|
|
5956
|
+
null === request.trackedPostpones &&
|
|
5957
|
+
null !== boundary.contentPreamble &&
|
|
5958
|
+
preparePreamble(request);
|
|
5959
|
+
}
|
|
5863
5960
|
0 === request.allPendingTasks && completeAll(request);
|
|
5864
5961
|
}
|
|
5865
5962
|
} finally {
|
|
@@ -6024,13 +6121,7 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
|
6024
6121
|
request.renderState,
|
|
6025
6122
|
boundary.rootSegmentID
|
|
6026
6123
|
),
|
|
6027
|
-
hoistableState &&
|
|
6028
|
-
((boundary = boundary.fallbackState),
|
|
6029
|
-
boundary.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
|
6030
|
-
boundary.stylesheets.forEach(
|
|
6031
|
-
hoistStylesheetDependency,
|
|
6032
|
-
hoistableState
|
|
6033
|
-
)),
|
|
6124
|
+
hoistableState && hoistHoistables(hoistableState, boundary.fallbackState),
|
|
6034
6125
|
flushSubtree(request, destination, segment, hoistableState),
|
|
6035
6126
|
destination.push("\x3c!--/$--\x3e")
|
|
6036
6127
|
);
|
|
@@ -6050,10 +6141,7 @@ function flushSegment(request, destination, segment, hoistableState) {
|
|
|
6050
6141
|
destination.push("\x3c!--/$--\x3e")
|
|
6051
6142
|
);
|
|
6052
6143
|
flushedByteSize += boundary.byteSize;
|
|
6053
|
-
hoistableState &&
|
|
6054
|
-
((segment = boundary.contentState),
|
|
6055
|
-
segment.styles.forEach(hoistStyleQueueDependency, hoistableState),
|
|
6056
|
-
segment.stylesheets.forEach(hoistStylesheetDependency, hoistableState));
|
|
6144
|
+
hoistableState && hoistHoistables(hoistableState, boundary.contentState);
|
|
6057
6145
|
segment = boundary.row;
|
|
6058
6146
|
null !== segment &&
|
|
6059
6147
|
500 < boundary.byteSize &&
|
|
@@ -6121,13 +6209,13 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
6121
6209
|
0 === (completedSegments.instructions & 2) &&
|
|
6122
6210
|
((completedSegments.instructions |= 2),
|
|
6123
6211
|
destination.push(
|
|
6124
|
-
'$RB=[];$RV=function(){$RT=performance.now();
|
|
6212
|
+
'$RB=[];$RV=function(c){$RT=performance.now();for(var a=0;a<c.length;a+=2){var b=c[a],h=c[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var d=b.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=b.nextSibling;e.removeChild(b);b=d}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}c.length=0};$RC=function(c,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),c=document.getElementById(c))c.previousSibling.data="$~",$RB.push(c,a),2===$RB.length&&setTimeout($RV.bind(null,$RB),("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
|
6125
6213
|
)),
|
|
6126
6214
|
requiresViewTransitions &&
|
|
6127
6215
|
0 === (completedSegments.instructions & 256) &&
|
|
6128
6216
|
((completedSegments.instructions |= 256),
|
|
6129
6217
|
destination.push(
|
|
6130
|
-
|
|
6218
|
+
'$RV=function(w,f){function h(b,d){var k=b.getAttribute(d);k&&(d=b.style,l.push(b,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(b=b.getAttribute("vt-name"))||(b="\\u00abT"+F++ +"\\u00bb"),d.viewTransitionName=b,x=!0)}var x=!1,F=0,l=[];try{var e=document.__reactViewTransition;if(e){e.finished.finally($RV.bind(null,f));return}var m=new Map;for(e=1;e<f.length;e+=2)for(var g=f[e].querySelectorAll("[vt-share]"),c=0;c<g.length;c++){var a=g[c];m.set(a.getAttribute("vt-name"),a)}for(g=0;g<f.length;g+=2){var y=f[g],t=y.parentNode;if(t){var r=t.getBoundingClientRect();if(r.left||r.top||r.width||r.height){a=y;for(e=0;a;){if(8===a.nodeType){var p=a.data;if("/$"===p)if(0===e)break;else e--;else"$"!==p&&"$?"!==p&&"$~"!==p&&"$!"!==p||e++}else if(1===a.nodeType){c=a;var z=c.getAttribute("vt-name"),u=m.get(z);h(c,u?"vt-share":"vt-exit");u&&(h(u,"vt-share"),m.set(z,null));var A=c.querySelectorAll("[vt-share]");for(c=0;c<A.length;c++){var B=A[c],C=B.getAttribute("vt-name"),D=m.get(C);\nD&&(h(B,"vt-share"),h(D,"vt-share"),m.set(C,null))}}a=a.nextSibling}for(var q=f[g+1].firstElementChild;q;)null!==m.get(q.getAttribute("vt-name"))&&h(q,"vt-enter"),q=q.nextElementSibling;a=t;do for(var n=a.firstElementChild;n;){var E=n.getAttribute("vt-update");E&&"none"!==E&&!l.includes(n)&&h(n,"vt-update");n=n.nextElementSibling}while((a=a.parentNode)&&1===a.nodeType&&"none"!==a.getAttribute("vt-update"))}}}if(x){var v=document.__reactViewTransition=document.startViewTransition({update:w.bind(null,\nf),types:[]});v.ready.finally(function(){for(var b=l.length-3;0<=b;b-=3){var d=l[b],k=d.style;k.viewTransitionName=l[b+1];k.viewTransitionClass=l[b+1];""===d.getAttribute("style")&&d.removeAttribute("style")}});v.finished.finally(function(){document.__reactViewTransition===v&&(document.__reactViewTransition=null)});$RB=[];return}}catch(b){}w(f)}.bind(null,$RV);'
|
|
6131
6219
|
)),
|
|
6132
6220
|
0 === (completedSegments.instructions & 8)
|
|
6133
6221
|
? ((completedSegments.instructions |= 8),
|
|
@@ -6138,13 +6226,13 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
6138
6226
|
: (0 === (completedSegments.instructions & 2) &&
|
|
6139
6227
|
((completedSegments.instructions |= 2),
|
|
6140
6228
|
destination.push(
|
|
6141
|
-
'$RB=[];$RV=function(){$RT=performance.now();
|
|
6229
|
+
'$RB=[];$RV=function(c){$RT=performance.now();for(var a=0;a<c.length;a+=2){var b=c[a],h=c[a+1],e=b.parentNode;if(e){var f=b.previousSibling,g=0;do{if(b&&8===b.nodeType){var d=b.data;if("/$"===d||"/&"===d)if(0===g)break;else g--;else"$"!==d&&"$?"!==d&&"$~"!==d&&"$!"!==d&&"&"!==d||g++}d=b.nextSibling;e.removeChild(b);b=d}while(b);for(;h.firstChild;)e.insertBefore(h.firstChild,b);f.data="$";f._reactRetry&&f._reactRetry()}}c.length=0};$RC=function(c,a){if(a=document.getElementById(a))if(a.parentNode.removeChild(a),c=document.getElementById(c))c.previousSibling.data="$~",$RB.push(c,a),2===$RB.length&&setTimeout($RV.bind(null,$RB),("number"!==typeof $RT?0:$RT)+300-performance.now())};'
|
|
6142
6230
|
)),
|
|
6143
6231
|
requiresViewTransitions &&
|
|
6144
6232
|
0 === (completedSegments.instructions & 256) &&
|
|
6145
6233
|
((completedSegments.instructions |= 256),
|
|
6146
6234
|
destination.push(
|
|
6147
|
-
|
|
6235
|
+
'$RV=function(w,f){function h(b,d){var k=b.getAttribute(d);k&&(d=b.style,l.push(b,d.viewTransitionName,d.viewTransitionClass),"auto"!==k&&(d.viewTransitionClass=k),(b=b.getAttribute("vt-name"))||(b="\\u00abT"+F++ +"\\u00bb"),d.viewTransitionName=b,x=!0)}var x=!1,F=0,l=[];try{var e=document.__reactViewTransition;if(e){e.finished.finally($RV.bind(null,f));return}var m=new Map;for(e=1;e<f.length;e+=2)for(var g=f[e].querySelectorAll("[vt-share]"),c=0;c<g.length;c++){var a=g[c];m.set(a.getAttribute("vt-name"),a)}for(g=0;g<f.length;g+=2){var y=f[g],t=y.parentNode;if(t){var r=t.getBoundingClientRect();if(r.left||r.top||r.width||r.height){a=y;for(e=0;a;){if(8===a.nodeType){var p=a.data;if("/$"===p)if(0===e)break;else e--;else"$"!==p&&"$?"!==p&&"$~"!==p&&"$!"!==p||e++}else if(1===a.nodeType){c=a;var z=c.getAttribute("vt-name"),u=m.get(z);h(c,u?"vt-share":"vt-exit");u&&(h(u,"vt-share"),m.set(z,null));var A=c.querySelectorAll("[vt-share]");for(c=0;c<A.length;c++){var B=A[c],C=B.getAttribute("vt-name"),D=m.get(C);\nD&&(h(B,"vt-share"),h(D,"vt-share"),m.set(C,null))}}a=a.nextSibling}for(var q=f[g+1].firstElementChild;q;)null!==m.get(q.getAttribute("vt-name"))&&h(q,"vt-enter"),q=q.nextElementSibling;a=t;do for(var n=a.firstElementChild;n;){var E=n.getAttribute("vt-update");E&&"none"!==E&&!l.includes(n)&&h(n,"vt-update");n=n.nextElementSibling}while((a=a.parentNode)&&1===a.nodeType&&"none"!==a.getAttribute("vt-update"))}}}if(x){var v=document.__reactViewTransition=document.startViewTransition({update:w.bind(null,\nf),types:[]});v.ready.finally(function(){for(var b=l.length-3;0<=b;b-=3){var d=l[b],k=d.style;k.viewTransitionName=l[b+1];k.viewTransitionClass=l[b+1];""===d.getAttribute("style")&&d.removeAttribute("style")}});v.finished.finally(function(){document.__reactViewTransition===v&&(document.__reactViewTransition=null)});$RB=[];return}}catch(b){}w(f)}.bind(null,$RV);'
|
|
6148
6236
|
)),
|
|
6149
6237
|
destination.push('$RC("')))
|
|
6150
6238
|
: requiresStyleInsertion
|
|
@@ -6400,12 +6488,12 @@ function flushCompletedQueues(request, destination) {
|
|
|
6400
6488
|
completedBoundaries.splice(0, i);
|
|
6401
6489
|
var partialBoundaries = request.partialBoundaries;
|
|
6402
6490
|
for (i = 0; i < partialBoundaries.length; i++) {
|
|
6403
|
-
var boundary$
|
|
6491
|
+
var boundary$72 = partialBoundaries[i];
|
|
6404
6492
|
a: {
|
|
6405
6493
|
clientRenderedBoundaries = request;
|
|
6406
6494
|
boundary = destination;
|
|
6407
|
-
flushedByteSize = boundary$
|
|
6408
|
-
var completedSegments = boundary$
|
|
6495
|
+
flushedByteSize = boundary$72.byteSize;
|
|
6496
|
+
var completedSegments = boundary$72.completedSegments;
|
|
6409
6497
|
for (
|
|
6410
6498
|
JSCompiler_inline_result = 0;
|
|
6411
6499
|
JSCompiler_inline_result < completedSegments.length;
|
|
@@ -6415,7 +6503,7 @@ function flushCompletedQueues(request, destination) {
|
|
|
6415
6503
|
!flushPartiallyCompletedSegment(
|
|
6416
6504
|
clientRenderedBoundaries,
|
|
6417
6505
|
boundary,
|
|
6418
|
-
boundary$
|
|
6506
|
+
boundary$72,
|
|
6419
6507
|
completedSegments[JSCompiler_inline_result]
|
|
6420
6508
|
)
|
|
6421
6509
|
) {
|
|
@@ -6425,9 +6513,20 @@ function flushCompletedQueues(request, destination) {
|
|
|
6425
6513
|
break a;
|
|
6426
6514
|
}
|
|
6427
6515
|
completedSegments.splice(0, JSCompiler_inline_result);
|
|
6516
|
+
var row = boundary$72.row;
|
|
6517
|
+
null !== row &&
|
|
6518
|
+
row.together &&
|
|
6519
|
+
1 === boundary$72.pendingTasks &&
|
|
6520
|
+
(1 === row.pendingTasks
|
|
6521
|
+
? unblockSuspenseListRow(
|
|
6522
|
+
clientRenderedBoundaries,
|
|
6523
|
+
row,
|
|
6524
|
+
row.hoistables
|
|
6525
|
+
)
|
|
6526
|
+
: row.pendingTasks--);
|
|
6428
6527
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
|
6429
6528
|
boundary,
|
|
6430
|
-
boundary$
|
|
6529
|
+
boundary$72.contentState,
|
|
6431
6530
|
clientRenderedBoundaries.renderState
|
|
6432
6531
|
);
|
|
6433
6532
|
}
|
|
@@ -6498,8 +6597,8 @@ function abort(request, reason) {
|
|
|
6498
6597
|
}
|
|
6499
6598
|
null !== request.destination &&
|
|
6500
6599
|
flushCompletedQueues(request, request.destination);
|
|
6501
|
-
} catch (error$
|
|
6502
|
-
logRecoverableError(request, error$
|
|
6600
|
+
} catch (error$74) {
|
|
6601
|
+
logRecoverableError(request, error$74, {}), fatalError(request, error$74);
|
|
6503
6602
|
}
|
|
6504
6603
|
}
|
|
6505
6604
|
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
|
@@ -6573,4 +6672,4 @@ exports.experimental_renderToHTML = function (children, options) {
|
|
|
6573
6672
|
});
|
|
6574
6673
|
});
|
|
6575
6674
|
};
|
|
6576
|
-
exports.version = "19.2.0-experimental-
|
|
6675
|
+
exports.version = "19.2.0-experimental-8ce15b0f-20250522";
|