react-dom 19.2.0-canary-23884812-20250520 → 19.2.0-canary-99efc627-20250523
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-dom-client.development.js +7 -7
- package/cjs/react-dom-client.production.js +5 -5
- package/cjs/react-dom-profiling.development.js +7 -7
- package/cjs/react-dom-profiling.profiling.js +5 -5
- package/cjs/react-dom-server-legacy.browser.development.js +132 -53
- package/cjs/react-dom-server-legacy.browser.production.js +152 -85
- package/cjs/react-dom-server-legacy.node.development.js +132 -53
- package/cjs/react-dom-server-legacy.node.production.js +155 -85
- package/cjs/react-dom-server.browser.development.js +135 -56
- package/cjs/react-dom-server.browser.production.js +134 -67
- package/cjs/react-dom-server.bun.development.js +127 -58
- package/cjs/react-dom-server.bun.production.js +140 -70
- package/cjs/react-dom-server.edge.development.js +135 -56
- package/cjs/react-dom-server.edge.production.js +137 -67
- package/cjs/react-dom-server.node.development.js +135 -56
- package/cjs/react-dom-server.node.production.js +137 -67
- package/cjs/react-dom.development.js +1 -1
- package/cjs/react-dom.production.js +1 -1
- package/cjs/react-dom.react-server.development.js +1 -1
- package/cjs/react-dom.react-server.production.js +1 -1
- package/package.json +3 -3
@@ -537,8 +537,8 @@ function getSuspenseViewTransition(parentViewTransition) {
|
|
537
537
|
? null
|
538
538
|
: {
|
539
539
|
update: parentViewTransition.update,
|
540
|
-
enter:
|
541
|
-
exit:
|
540
|
+
enter: "none",
|
541
|
+
exit: "none",
|
542
542
|
share: parentViewTransition.update,
|
543
543
|
name: parentViewTransition.autoName,
|
544
544
|
autoName: parentViewTransition.autoName,
|
@@ -5225,15 +5225,15 @@ function renderNode(request, task, node, childIndex) {
|
|
5225
5225
|
chunkLength = segment.chunks.length;
|
5226
5226
|
try {
|
5227
5227
|
return renderNodeDestructive(request, task, node, childIndex);
|
5228
|
-
} catch (thrownValue$
|
5228
|
+
} catch (thrownValue$60) {
|
5229
5229
|
if (
|
5230
5230
|
(resetHooksState(),
|
5231
5231
|
(segment.children.length = childrenLength),
|
5232
5232
|
(segment.chunks.length = chunkLength),
|
5233
5233
|
(node =
|
5234
|
-
thrownValue$
|
5234
|
+
thrownValue$60 === SuspenseException
|
5235
5235
|
? getSuspendedThenable()
|
5236
|
-
: thrownValue$
|
5236
|
+
: thrownValue$60),
|
5237
5237
|
"object" === typeof node && null !== node)
|
5238
5238
|
) {
|
5239
5239
|
if ("function" === typeof node.then) {
|
@@ -5487,62 +5487,120 @@ function finishedSegment(request, boundary, segment) {
|
|
5487
5487
|
: (boundary.byteSize += segmentByteSize);
|
5488
5488
|
}
|
5489
5489
|
}
|
5490
|
-
function finishedTask(request, boundary, row, segment) {
|
5490
|
+
function finishedTask(request$jscomp$0, boundary, row, segment) {
|
5491
5491
|
null !== row &&
|
5492
5492
|
(0 === --row.pendingTasks
|
5493
|
-
? finishSuspenseListRow(request, row)
|
5494
|
-
: row.together && tryToResolveTogetherRow(request, row));
|
5495
|
-
request.allPendingTasks--;
|
5493
|
+
? finishSuspenseListRow(request$jscomp$0, row)
|
5494
|
+
: row.together && tryToResolveTogetherRow(request$jscomp$0, row));
|
5495
|
+
request$jscomp$0.allPendingTasks--;
|
5496
5496
|
if (null === boundary) {
|
5497
5497
|
if (null !== segment && segment.parentFlushed) {
|
5498
|
-
if (null !== request.completedRootSegment)
|
5498
|
+
if (null !== request$jscomp$0.completedRootSegment)
|
5499
5499
|
throw Error(
|
5500
5500
|
"There can only be one root segment. This is a bug in React."
|
5501
5501
|
);
|
5502
|
-
request.completedRootSegment = segment;
|
5502
|
+
request$jscomp$0.completedRootSegment = segment;
|
5503
5503
|
}
|
5504
|
-
request.pendingRootTasks--;
|
5505
|
-
0 === request.pendingRootTasks && completeShell(request);
|
5506
|
-
} else
|
5507
|
-
boundary.pendingTasks
|
5508
|
-
|
5509
|
-
(0 === boundary.
|
5510
|
-
|
5511
|
-
|
5512
|
-
|
5513
|
-
|
5514
|
-
|
5515
|
-
|
5516
|
-
|
5517
|
-
|
5518
|
-
|
5519
|
-
|
5520
|
-
|
5521
|
-
|
5522
|
-
|
5523
|
-
|
5524
|
-
|
5525
|
-
|
5526
|
-
|
5527
|
-
|
5528
|
-
|
5529
|
-
|
5530
|
-
|
5531
|
-
|
5532
|
-
|
5533
|
-
|
5534
|
-
|
5535
|
-
|
5536
|
-
|
5537
|
-
|
5538
|
-
|
5539
|
-
|
5540
|
-
|
5541
|
-
|
5542
|
-
|
5543
|
-
|
5544
|
-
|
5545
|
-
|
5504
|
+
request$jscomp$0.pendingRootTasks--;
|
5505
|
+
0 === request$jscomp$0.pendingRootTasks && completeShell(request$jscomp$0);
|
5506
|
+
} else if ((boundary.pendingTasks--, 4 !== boundary.status))
|
5507
|
+
if (0 === boundary.pendingTasks)
|
5508
|
+
if (
|
5509
|
+
(0 === boundary.status && (boundary.status = 1),
|
5510
|
+
null !== segment &&
|
5511
|
+
segment.parentFlushed &&
|
5512
|
+
1 === segment.status &&
|
5513
|
+
queueCompletedSegment(boundary, segment),
|
5514
|
+
boundary.parentFlushed &&
|
5515
|
+
request$jscomp$0.completedBoundaries.push(boundary),
|
5516
|
+
1 === boundary.status)
|
5517
|
+
)
|
5518
|
+
(row = boundary.row),
|
5519
|
+
null !== row &&
|
5520
|
+
hoistHoistables(row.hoistables, boundary.contentState),
|
5521
|
+
500 < boundary.byteSize ||
|
5522
|
+
(boundary.fallbackAbortableTasks.forEach(
|
5523
|
+
abortTaskSoft,
|
5524
|
+
request$jscomp$0
|
5525
|
+
),
|
5526
|
+
boundary.fallbackAbortableTasks.clear(),
|
5527
|
+
null !== row &&
|
5528
|
+
0 === --row.pendingTasks &&
|
5529
|
+
finishSuspenseListRow(request$jscomp$0, row)),
|
5530
|
+
0 === request$jscomp$0.pendingRootTasks &&
|
5531
|
+
null === request$jscomp$0.trackedPostpones &&
|
5532
|
+
null !== boundary.contentPreamble &&
|
5533
|
+
preparePreamble(request$jscomp$0);
|
5534
|
+
else {
|
5535
|
+
if (
|
5536
|
+
5 === boundary.status &&
|
5537
|
+
((boundary = boundary.row), null !== boundary)
|
5538
|
+
) {
|
5539
|
+
if (null !== request$jscomp$0.trackedPostpones) {
|
5540
|
+
row = request$jscomp$0.trackedPostpones;
|
5541
|
+
var postponedRow = boundary.next;
|
5542
|
+
if (
|
5543
|
+
null !== postponedRow &&
|
5544
|
+
((segment = postponedRow.boundaries), null !== segment)
|
5545
|
+
)
|
5546
|
+
for (
|
5547
|
+
postponedRow.boundaries = null, postponedRow = 0;
|
5548
|
+
postponedRow < segment.length;
|
5549
|
+
postponedRow++
|
5550
|
+
) {
|
5551
|
+
var postponedBoundary = segment[postponedRow];
|
5552
|
+
var request = request$jscomp$0,
|
5553
|
+
trackedPostpones = row;
|
5554
|
+
postponedBoundary.status = 5;
|
5555
|
+
postponedBoundary.rootSegmentID = request.nextSegmentId++;
|
5556
|
+
request = postponedBoundary.trackedContentKeyPath;
|
5557
|
+
if (null === request)
|
5558
|
+
throw Error(
|
5559
|
+
"It should not be possible to postpone at the root. This is a bug in React."
|
5560
|
+
);
|
5561
|
+
var fallbackReplayNode = postponedBoundary.trackedFallbackNode,
|
5562
|
+
children = [],
|
5563
|
+
boundaryNode = trackedPostpones.workingMap.get(request);
|
5564
|
+
void 0 === boundaryNode
|
5565
|
+
? ((fallbackReplayNode = [
|
5566
|
+
request[1],
|
5567
|
+
request[2],
|
5568
|
+
children,
|
5569
|
+
null,
|
5570
|
+
fallbackReplayNode,
|
5571
|
+
postponedBoundary.rootSegmentID
|
5572
|
+
]),
|
5573
|
+
trackedPostpones.workingMap.set(
|
5574
|
+
request,
|
5575
|
+
fallbackReplayNode
|
5576
|
+
),
|
5577
|
+
addToReplayParent(
|
5578
|
+
fallbackReplayNode,
|
5579
|
+
request[0],
|
5580
|
+
trackedPostpones
|
5581
|
+
))
|
5582
|
+
: ((boundaryNode[4] = fallbackReplayNode),
|
5583
|
+
(boundaryNode[5] = postponedBoundary.rootSegmentID));
|
5584
|
+
finishedTask(request$jscomp$0, postponedBoundary, null, null);
|
5585
|
+
}
|
5586
|
+
}
|
5587
|
+
0 === --boundary.pendingTasks &&
|
5588
|
+
finishSuspenseListRow(request$jscomp$0, boundary);
|
5589
|
+
}
|
5590
|
+
}
|
5591
|
+
else
|
5592
|
+
null !== segment &&
|
5593
|
+
segment.parentFlushed &&
|
5594
|
+
1 === segment.status &&
|
5595
|
+
(queueCompletedSegment(boundary, segment),
|
5596
|
+
1 === boundary.completedSegments.length &&
|
5597
|
+
boundary.parentFlushed &&
|
5598
|
+
request$jscomp$0.partialBoundaries.push(boundary)),
|
5599
|
+
(boundary = boundary.row),
|
5600
|
+
null !== boundary &&
|
5601
|
+
boundary.together &&
|
5602
|
+
tryToResolveTogetherRow(request$jscomp$0, boundary);
|
5603
|
+
0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
|
5546
5604
|
}
|
5547
5605
|
function performWork(request$jscomp$2) {
|
5548
5606
|
if (14 !== request$jscomp$2.status && 13 !== request$jscomp$2.status) {
|
@@ -5972,7 +6030,7 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
5972
6030
|
((completedSegments.instructions |= 2),
|
5973
6031
|
writeChunk(
|
5974
6032
|
destination,
|
5975
|
-
'$RB=[];$RV=function(){$RT=performance.now();
|
6033
|
+
'$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())};'
|
5976
6034
|
)),
|
5977
6035
|
0 === (completedSegments.instructions & 8)
|
5978
6036
|
? ((completedSegments.instructions |= 8),
|
@@ -5985,7 +6043,7 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
5985
6043
|
((completedSegments.instructions |= 2),
|
5986
6044
|
writeChunk(
|
5987
6045
|
destination,
|
5988
|
-
'$RB=[];$RV=function(){$RT=performance.now();
|
6046
|
+
'$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())};'
|
5989
6047
|
)),
|
5990
6048
|
writeChunk(destination, '$RC("'));
|
5991
6049
|
completedSegments = i.toString(16);
|
@@ -6231,12 +6289,12 @@ function flushCompletedQueues(request, destination) {
|
|
6231
6289
|
completedBoundaries.splice(0, i);
|
6232
6290
|
var partialBoundaries = request.partialBoundaries;
|
6233
6291
|
for (i = 0; i < partialBoundaries.length; i++) {
|
6234
|
-
var boundary$
|
6292
|
+
var boundary$66 = partialBoundaries[i];
|
6235
6293
|
a: {
|
6236
6294
|
clientRenderedBoundaries = request;
|
6237
6295
|
boundary = destination;
|
6238
|
-
flushedByteSize = boundary$
|
6239
|
-
var completedSegments = boundary$
|
6296
|
+
flushedByteSize = boundary$66.byteSize;
|
6297
|
+
var completedSegments = boundary$66.completedSegments;
|
6240
6298
|
for (
|
6241
6299
|
JSCompiler_inline_result = 0;
|
6242
6300
|
JSCompiler_inline_result < completedSegments.length;
|
@@ -6246,7 +6304,7 @@ function flushCompletedQueues(request, destination) {
|
|
6246
6304
|
!flushPartiallyCompletedSegment(
|
6247
6305
|
clientRenderedBoundaries,
|
6248
6306
|
boundary,
|
6249
|
-
boundary$
|
6307
|
+
boundary$66,
|
6250
6308
|
completedSegments[JSCompiler_inline_result]
|
6251
6309
|
)
|
6252
6310
|
) {
|
@@ -6256,10 +6314,10 @@ function flushCompletedQueues(request, destination) {
|
|
6256
6314
|
break a;
|
6257
6315
|
}
|
6258
6316
|
completedSegments.splice(0, JSCompiler_inline_result);
|
6259
|
-
var row = boundary$
|
6317
|
+
var row = boundary$66.row;
|
6260
6318
|
null !== row &&
|
6261
6319
|
row.together &&
|
6262
|
-
1 === boundary$
|
6320
|
+
1 === boundary$66.pendingTasks &&
|
6263
6321
|
(1 === row.pendingTasks
|
6264
6322
|
? unblockSuspenseListRow(
|
6265
6323
|
clientRenderedBoundaries,
|
@@ -6269,7 +6327,7 @@ function flushCompletedQueues(request, destination) {
|
|
6269
6327
|
: row.pendingTasks--);
|
6270
6328
|
JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
|
6271
6329
|
boundary,
|
6272
|
-
boundary$
|
6330
|
+
boundary$66.contentState,
|
6273
6331
|
clientRenderedBoundaries.renderState
|
6274
6332
|
);
|
6275
6333
|
}
|
@@ -6350,19 +6408,31 @@ function abort(request, reason) {
|
|
6350
6408
|
}
|
6351
6409
|
null !== request.destination &&
|
6352
6410
|
flushCompletedQueues(request, request.destination);
|
6353
|
-
} catch (error$
|
6354
|
-
logRecoverableError(request, error$
|
6411
|
+
} catch (error$68) {
|
6412
|
+
logRecoverableError(request, error$68, {}), fatalError(request, error$68);
|
6413
|
+
}
|
6414
|
+
}
|
6415
|
+
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
6416
|
+
if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
|
6417
|
+
else {
|
6418
|
+
var workingMap = trackedPostpones.workingMap,
|
6419
|
+
parentNode = workingMap.get(parentKeyPath);
|
6420
|
+
void 0 === parentNode &&
|
6421
|
+
((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
|
6422
|
+
workingMap.set(parentKeyPath, parentNode),
|
6423
|
+
addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
|
6424
|
+
parentNode[2].push(node);
|
6355
6425
|
}
|
6356
6426
|
}
|
6357
|
-
var isomorphicReactPackageVersion$jscomp$
|
6427
|
+
var isomorphicReactPackageVersion$jscomp$inline_810 = React.version;
|
6358
6428
|
if (
|
6359
|
-
"19.2.0-canary-
|
6360
|
-
isomorphicReactPackageVersion$jscomp$
|
6429
|
+
"19.2.0-canary-99efc627-20250523" !==
|
6430
|
+
isomorphicReactPackageVersion$jscomp$inline_810
|
6361
6431
|
)
|
6362
6432
|
throw Error(
|
6363
6433
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
6364
|
-
(isomorphicReactPackageVersion$jscomp$
|
6365
|
-
"\n - react-dom: 19.2.0-canary-
|
6434
|
+
(isomorphicReactPackageVersion$jscomp$inline_810 +
|
6435
|
+
"\n - react-dom: 19.2.0-canary-99efc627-20250523\nLearn more: https://react.dev/warnings/version-mismatch")
|
6366
6436
|
);
|
6367
6437
|
exports.renderToReadableStream = function (children, options) {
|
6368
6438
|
return new Promise(function (resolve, reject) {
|
@@ -6453,4 +6523,4 @@ exports.renderToReadableStream = function (children, options) {
|
|
6453
6523
|
startWork(request);
|
6454
6524
|
});
|
6455
6525
|
};
|
6456
|
-
exports.version = "19.2.0-canary-
|
6526
|
+
exports.version = "19.2.0-canary-99efc627-20250523";
|
@@ -1150,8 +1150,8 @@
|
|
1150
1150
|
? null
|
1151
1151
|
: {
|
1152
1152
|
update: parentViewTransition.update,
|
1153
|
-
enter:
|
1154
|
-
exit:
|
1153
|
+
enter: "none",
|
1154
|
+
exit: "none",
|
1155
1155
|
share: parentViewTransition.update,
|
1156
1156
|
name: parentViewTransition.autoName,
|
1157
1157
|
autoName: parentViewTransition.autoName,
|
@@ -7209,62 +7209,129 @@
|
|
7209
7209
|
: (boundary.byteSize += segmentByteSize);
|
7210
7210
|
}
|
7211
7211
|
}
|
7212
|
-
function finishedTask(request, boundary, row, segment) {
|
7212
|
+
function finishedTask(request$jscomp$0, boundary$jscomp$0, row, segment) {
|
7213
7213
|
null !== row &&
|
7214
7214
|
(0 === --row.pendingTasks
|
7215
|
-
? finishSuspenseListRow(request, row)
|
7216
|
-
: row.together && tryToResolveTogetherRow(request, row));
|
7217
|
-
request.allPendingTasks--;
|
7218
|
-
if (null === boundary) {
|
7215
|
+
? finishSuspenseListRow(request$jscomp$0, row)
|
7216
|
+
: row.together && tryToResolveTogetherRow(request$jscomp$0, row));
|
7217
|
+
request$jscomp$0.allPendingTasks--;
|
7218
|
+
if (null === boundary$jscomp$0) {
|
7219
7219
|
if (null !== segment && segment.parentFlushed) {
|
7220
|
-
if (null !== request.completedRootSegment)
|
7220
|
+
if (null !== request$jscomp$0.completedRootSegment)
|
7221
7221
|
throw Error(
|
7222
7222
|
"There can only be one root segment. This is a bug in React."
|
7223
7223
|
);
|
7224
|
-
request.completedRootSegment = segment;
|
7224
|
+
request$jscomp$0.completedRootSegment = segment;
|
7225
7225
|
}
|
7226
|
-
request.pendingRootTasks--;
|
7227
|
-
0 === request.pendingRootTasks &&
|
7228
|
-
|
7229
|
-
|
7230
|
-
|
7231
|
-
|
7232
|
-
|
7233
|
-
|
7234
|
-
|
7235
|
-
|
7236
|
-
|
7237
|
-
|
7238
|
-
|
7239
|
-
|
7240
|
-
|
7241
|
-
|
7242
|
-
|
7243
|
-
|
7244
|
-
|
7245
|
-
|
7246
|
-
|
7247
|
-
|
7248
|
-
|
7249
|
-
|
7250
|
-
|
7251
|
-
|
7252
|
-
|
7253
|
-
|
7254
|
-
|
7255
|
-
|
7256
|
-
|
7257
|
-
|
7258
|
-
|
7259
|
-
|
7260
|
-
|
7261
|
-
|
7262
|
-
|
7263
|
-
|
7264
|
-
|
7265
|
-
|
7266
|
-
|
7267
|
-
|
7226
|
+
request$jscomp$0.pendingRootTasks--;
|
7227
|
+
0 === request$jscomp$0.pendingRootTasks &&
|
7228
|
+
completeShell(request$jscomp$0);
|
7229
|
+
} else if (
|
7230
|
+
(boundary$jscomp$0.pendingTasks--,
|
7231
|
+
boundary$jscomp$0.status !== CLIENT_RENDERED)
|
7232
|
+
)
|
7233
|
+
if (0 === boundary$jscomp$0.pendingTasks)
|
7234
|
+
if (
|
7235
|
+
(boundary$jscomp$0.status === PENDING &&
|
7236
|
+
(boundary$jscomp$0.status = COMPLETED),
|
7237
|
+
null !== segment &&
|
7238
|
+
segment.parentFlushed &&
|
7239
|
+
segment.status === COMPLETED &&
|
7240
|
+
queueCompletedSegment(boundary$jscomp$0, segment),
|
7241
|
+
boundary$jscomp$0.parentFlushed &&
|
7242
|
+
request$jscomp$0.completedBoundaries.push(boundary$jscomp$0),
|
7243
|
+
boundary$jscomp$0.status === COMPLETED)
|
7244
|
+
)
|
7245
|
+
(row = boundary$jscomp$0.row),
|
7246
|
+
null !== row &&
|
7247
|
+
hoistHoistables(row.hoistables, boundary$jscomp$0.contentState),
|
7248
|
+
500 < boundary$jscomp$0.byteSize ||
|
7249
|
+
(boundary$jscomp$0.fallbackAbortableTasks.forEach(
|
7250
|
+
abortTaskSoft,
|
7251
|
+
request$jscomp$0
|
7252
|
+
),
|
7253
|
+
boundary$jscomp$0.fallbackAbortableTasks.clear(),
|
7254
|
+
null !== row &&
|
7255
|
+
0 === --row.pendingTasks &&
|
7256
|
+
finishSuspenseListRow(request$jscomp$0, row)),
|
7257
|
+
0 === request$jscomp$0.pendingRootTasks &&
|
7258
|
+
null === request$jscomp$0.trackedPostpones &&
|
7259
|
+
null !== boundary$jscomp$0.contentPreamble &&
|
7260
|
+
preparePreamble(request$jscomp$0);
|
7261
|
+
else {
|
7262
|
+
if (
|
7263
|
+
boundary$jscomp$0.status === POSTPONED &&
|
7264
|
+
((boundary$jscomp$0 = boundary$jscomp$0.row),
|
7265
|
+
null !== boundary$jscomp$0)
|
7266
|
+
) {
|
7267
|
+
if (null !== request$jscomp$0.trackedPostpones) {
|
7268
|
+
row = request$jscomp$0.trackedPostpones;
|
7269
|
+
var postponedRow = boundary$jscomp$0.next;
|
7270
|
+
if (
|
7271
|
+
null !== postponedRow &&
|
7272
|
+
((segment = postponedRow.boundaries), null !== segment)
|
7273
|
+
)
|
7274
|
+
for (
|
7275
|
+
postponedRow.boundaries = null, postponedRow = 0;
|
7276
|
+
postponedRow < segment.length;
|
7277
|
+
postponedRow++
|
7278
|
+
) {
|
7279
|
+
var postponedBoundary = segment[postponedRow];
|
7280
|
+
var request = request$jscomp$0,
|
7281
|
+
trackedPostpones = row,
|
7282
|
+
boundary = postponedBoundary;
|
7283
|
+
boundary.status = POSTPONED;
|
7284
|
+
boundary.rootSegmentID = request.nextSegmentId++;
|
7285
|
+
request = boundary.trackedContentKeyPath;
|
7286
|
+
if (null === request)
|
7287
|
+
throw Error(
|
7288
|
+
"It should not be possible to postpone at the root. This is a bug in React."
|
7289
|
+
);
|
7290
|
+
var fallbackReplayNode = boundary.trackedFallbackNode,
|
7291
|
+
children = [],
|
7292
|
+
boundaryNode = trackedPostpones.workingMap.get(request);
|
7293
|
+
void 0 === boundaryNode
|
7294
|
+
? ((boundary = [
|
7295
|
+
request[1],
|
7296
|
+
request[2],
|
7297
|
+
children,
|
7298
|
+
null,
|
7299
|
+
fallbackReplayNode,
|
7300
|
+
boundary.rootSegmentID
|
7301
|
+
]),
|
7302
|
+
trackedPostpones.workingMap.set(request, boundary),
|
7303
|
+
addToReplayParent(
|
7304
|
+
boundary,
|
7305
|
+
request[0],
|
7306
|
+
trackedPostpones
|
7307
|
+
))
|
7308
|
+
: ((boundaryNode[4] = fallbackReplayNode),
|
7309
|
+
(boundaryNode[5] = boundary.rootSegmentID));
|
7310
|
+
finishedTask(
|
7311
|
+
request$jscomp$0,
|
7312
|
+
postponedBoundary,
|
7313
|
+
null,
|
7314
|
+
null
|
7315
|
+
);
|
7316
|
+
}
|
7317
|
+
}
|
7318
|
+
0 === --boundary$jscomp$0.pendingTasks &&
|
7319
|
+
finishSuspenseListRow(request$jscomp$0, boundary$jscomp$0);
|
7320
|
+
}
|
7321
|
+
}
|
7322
|
+
else
|
7323
|
+
null !== segment &&
|
7324
|
+
segment.parentFlushed &&
|
7325
|
+
segment.status === COMPLETED &&
|
7326
|
+
(queueCompletedSegment(boundary$jscomp$0, segment),
|
7327
|
+
1 === boundary$jscomp$0.completedSegments.length &&
|
7328
|
+
boundary$jscomp$0.parentFlushed &&
|
7329
|
+
request$jscomp$0.partialBoundaries.push(boundary$jscomp$0)),
|
7330
|
+
(boundary$jscomp$0 = boundary$jscomp$0.row),
|
7331
|
+
null !== boundary$jscomp$0 &&
|
7332
|
+
boundary$jscomp$0.together &&
|
7333
|
+
tryToResolveTogetherRow(request$jscomp$0, boundary$jscomp$0);
|
7334
|
+
0 === request$jscomp$0.allPendingTasks && completeAll(request$jscomp$0);
|
7268
7335
|
}
|
7269
7336
|
function performWork(request$jscomp$2) {
|
7270
7337
|
if (
|
@@ -8290,13 +8357,25 @@
|
|
8290
8357
|
fatalError(request, error$4, reason, null);
|
8291
8358
|
}
|
8292
8359
|
}
|
8360
|
+
function addToReplayParent(node, parentKeyPath, trackedPostpones) {
|
8361
|
+
if (null === parentKeyPath) trackedPostpones.rootNodes.push(node);
|
8362
|
+
else {
|
8363
|
+
var workingMap = trackedPostpones.workingMap,
|
8364
|
+
parentNode = workingMap.get(parentKeyPath);
|
8365
|
+
void 0 === parentNode &&
|
8366
|
+
((parentNode = [parentKeyPath[1], parentKeyPath[2], [], null]),
|
8367
|
+
workingMap.set(parentKeyPath, parentNode),
|
8368
|
+
addToReplayParent(parentNode, parentKeyPath[0], trackedPostpones));
|
8369
|
+
parentNode[2].push(node);
|
8370
|
+
}
|
8371
|
+
}
|
8293
8372
|
function ensureCorrectIsomorphicReactVersion() {
|
8294
8373
|
var isomorphicReactPackageVersion = React.version;
|
8295
|
-
if ("19.2.0-canary-
|
8374
|
+
if ("19.2.0-canary-99efc627-20250523" !== isomorphicReactPackageVersion)
|
8296
8375
|
throw Error(
|
8297
8376
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
8298
8377
|
(isomorphicReactPackageVersion +
|
8299
|
-
"\n - react-dom: 19.2.0-canary-
|
8378
|
+
"\n - react-dom: 19.2.0-canary-99efc627-20250523\nLearn more: https://react.dev/warnings/version-mismatch")
|
8300
8379
|
);
|
8301
8380
|
}
|
8302
8381
|
var React = require("react"),
|
@@ -9523,10 +9602,10 @@
|
|
9523
9602
|
stringToPrecomputedChunk('<template data-rsi="" data-sid="');
|
9524
9603
|
stringToPrecomputedChunk('" data-pid="');
|
9525
9604
|
var completeBoundaryScriptFunctionOnly = stringToPrecomputedChunk(
|
9526
|
-
'$RB=[];$RV=function(){$RT=performance.now();
|
9605
|
+
'$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())};'
|
9527
9606
|
);
|
9528
9607
|
stringToPrecomputedChunk(
|
9529
|
-
|
9608
|
+
'$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);'
|
9530
9609
|
);
|
9531
9610
|
var completeBoundaryScript1Partial = stringToPrecomputedChunk('$RC("'),
|
9532
9611
|
completeBoundaryWithStylesScript1FullPartial = stringToPrecomputedChunk(
|
@@ -9979,5 +10058,5 @@
|
|
9979
10058
|
startWork(request);
|
9980
10059
|
});
|
9981
10060
|
};
|
9982
|
-
exports.version = "19.2.0-canary-
|
10061
|
+
exports.version = "19.2.0-canary-99efc627-20250523";
|
9983
10062
|
})();
|