react-dom 19.2.0-canary-197d6a04-20250424 → 19.2.0-canary-c498bfce-20250426
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 +5 -5
- package/cjs/react-dom-client.production.js +5 -5
- package/cjs/react-dom-profiling.development.js +5 -5
- package/cjs/react-dom-profiling.profiling.js +5 -5
- package/cjs/react-dom-server-legacy.browser.development.js +154 -79
- package/cjs/react-dom-server-legacy.browser.production.js +156 -87
- package/cjs/react-dom-server-legacy.node.development.js +154 -79
- package/cjs/react-dom-server-legacy.node.production.js +156 -87
- package/cjs/react-dom-server.browser.development.js +184 -78
- package/cjs/react-dom-server.browser.production.js +174 -86
- package/cjs/react-dom-server.bun.development.js +176 -79
- package/cjs/react-dom-server.bun.production.js +178 -91
- package/cjs/react-dom-server.edge.development.js +184 -78
- package/cjs/react-dom-server.edge.production.js +174 -86
- package/cjs/react-dom-server.node.development.js +181 -78
- package/cjs/react-dom-server.node.production.js +180 -86
- 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
@@ -25325,11 +25325,11 @@
|
|
25325
25325
|
};
|
25326
25326
|
(function () {
|
25327
25327
|
var isomorphicReactPackageVersion = React.version;
|
25328
|
-
if ("19.2.0-canary-
|
25328
|
+
if ("19.2.0-canary-c498bfce-20250426" !== isomorphicReactPackageVersion)
|
25329
25329
|
throw Error(
|
25330
25330
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
25331
25331
|
(isomorphicReactPackageVersion +
|
25332
|
-
"\n - react-dom: 19.2.0-canary-
|
25332
|
+
"\n - react-dom: 19.2.0-canary-c498bfce-20250426\nLearn more: https://react.dev/warnings/version-mismatch")
|
25333
25333
|
);
|
25334
25334
|
})();
|
25335
25335
|
("function" === typeof Map &&
|
@@ -25366,10 +25366,10 @@
|
|
25366
25366
|
!(function () {
|
25367
25367
|
var internals = {
|
25368
25368
|
bundleType: 1,
|
25369
|
-
version: "19.2.0-canary-
|
25369
|
+
version: "19.2.0-canary-c498bfce-20250426",
|
25370
25370
|
rendererPackageName: "react-dom",
|
25371
25371
|
currentDispatcherRef: ReactSharedInternals,
|
25372
|
-
reconcilerVersion: "19.2.0-canary-
|
25372
|
+
reconcilerVersion: "19.2.0-canary-c498bfce-20250426"
|
25373
25373
|
};
|
25374
25374
|
internals.overrideHookState = overrideHookState;
|
25375
25375
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25513,7 +25513,7 @@
|
|
25513
25513
|
listenToAllSupportedEvents(container);
|
25514
25514
|
return new ReactDOMHydrationRoot(initialChildren);
|
25515
25515
|
};
|
25516
|
-
exports.version = "19.2.0-canary-
|
25516
|
+
exports.version = "19.2.0-canary-c498bfce-20250426";
|
25517
25517
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25518
25518
|
"function" ===
|
25519
25519
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
@@ -15606,14 +15606,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
15606
15606
|
};
|
15607
15607
|
var isomorphicReactPackageVersion$jscomp$inline_1829 = React.version;
|
15608
15608
|
if (
|
15609
|
-
"19.2.0-canary-
|
15609
|
+
"19.2.0-canary-c498bfce-20250426" !==
|
15610
15610
|
isomorphicReactPackageVersion$jscomp$inline_1829
|
15611
15611
|
)
|
15612
15612
|
throw Error(
|
15613
15613
|
formatProdErrorMessage(
|
15614
15614
|
527,
|
15615
15615
|
isomorphicReactPackageVersion$jscomp$inline_1829,
|
15616
|
-
"19.2.0-canary-
|
15616
|
+
"19.2.0-canary-c498bfce-20250426"
|
15617
15617
|
)
|
15618
15618
|
);
|
15619
15619
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -15635,10 +15635,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
15635
15635
|
};
|
15636
15636
|
var internals$jscomp$inline_2318 = {
|
15637
15637
|
bundleType: 0,
|
15638
|
-
version: "19.2.0-canary-
|
15638
|
+
version: "19.2.0-canary-c498bfce-20250426",
|
15639
15639
|
rendererPackageName: "react-dom",
|
15640
15640
|
currentDispatcherRef: ReactSharedInternals,
|
15641
|
-
reconcilerVersion: "19.2.0-canary-
|
15641
|
+
reconcilerVersion: "19.2.0-canary-c498bfce-20250426"
|
15642
15642
|
};
|
15643
15643
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
15644
15644
|
var hook$jscomp$inline_2319 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
@@ -15742,4 +15742,4 @@ exports.hydrateRoot = function (container, initialChildren, options) {
|
|
15742
15742
|
listenToAllSupportedEvents(container);
|
15743
15743
|
return new ReactDOMHydrationRoot(initialChildren);
|
15744
15744
|
};
|
15745
|
-
exports.version = "19.2.0-canary-
|
15745
|
+
exports.version = "19.2.0-canary-c498bfce-20250426";
|
@@ -25382,11 +25382,11 @@
|
|
25382
25382
|
};
|
25383
25383
|
(function () {
|
25384
25384
|
var isomorphicReactPackageVersion = React.version;
|
25385
|
-
if ("19.2.0-canary-
|
25385
|
+
if ("19.2.0-canary-c498bfce-20250426" !== isomorphicReactPackageVersion)
|
25386
25386
|
throw Error(
|
25387
25387
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
25388
25388
|
(isomorphicReactPackageVersion +
|
25389
|
-
"\n - react-dom: 19.2.0-canary-
|
25389
|
+
"\n - react-dom: 19.2.0-canary-c498bfce-20250426\nLearn more: https://react.dev/warnings/version-mismatch")
|
25390
25390
|
);
|
25391
25391
|
})();
|
25392
25392
|
("function" === typeof Map &&
|
@@ -25423,10 +25423,10 @@
|
|
25423
25423
|
!(function () {
|
25424
25424
|
var internals = {
|
25425
25425
|
bundleType: 1,
|
25426
|
-
version: "19.2.0-canary-
|
25426
|
+
version: "19.2.0-canary-c498bfce-20250426",
|
25427
25427
|
rendererPackageName: "react-dom",
|
25428
25428
|
currentDispatcherRef: ReactSharedInternals,
|
25429
|
-
reconcilerVersion: "19.2.0-canary-
|
25429
|
+
reconcilerVersion: "19.2.0-canary-c498bfce-20250426"
|
25430
25430
|
};
|
25431
25431
|
internals.overrideHookState = overrideHookState;
|
25432
25432
|
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
|
@@ -25900,7 +25900,7 @@
|
|
25900
25900
|
exports.useFormStatus = function () {
|
25901
25901
|
return resolveDispatcher().useHostTransitionStatus();
|
25902
25902
|
};
|
25903
|
-
exports.version = "19.2.0-canary-
|
25903
|
+
exports.version = "19.2.0-canary-c498bfce-20250426";
|
25904
25904
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
25905
25905
|
"function" ===
|
25906
25906
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
@@ -16307,14 +16307,14 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {
|
|
16307
16307
|
};
|
16308
16308
|
var isomorphicReactPackageVersion$jscomp$inline_1933 = React.version;
|
16309
16309
|
if (
|
16310
|
-
"19.2.0-canary-
|
16310
|
+
"19.2.0-canary-c498bfce-20250426" !==
|
16311
16311
|
isomorphicReactPackageVersion$jscomp$inline_1933
|
16312
16312
|
)
|
16313
16313
|
throw Error(
|
16314
16314
|
formatProdErrorMessage(
|
16315
16315
|
527,
|
16316
16316
|
isomorphicReactPackageVersion$jscomp$inline_1933,
|
16317
|
-
"19.2.0-canary-
|
16317
|
+
"19.2.0-canary-c498bfce-20250426"
|
16318
16318
|
)
|
16319
16319
|
);
|
16320
16320
|
ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
@@ -16336,10 +16336,10 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) {
|
|
16336
16336
|
};
|
16337
16337
|
var internals$jscomp$inline_1940 = {
|
16338
16338
|
bundleType: 0,
|
16339
|
-
version: "19.2.0-canary-
|
16339
|
+
version: "19.2.0-canary-c498bfce-20250426",
|
16340
16340
|
rendererPackageName: "react-dom",
|
16341
16341
|
currentDispatcherRef: ReactSharedInternals,
|
16342
|
-
reconcilerVersion: "19.2.0-canary-
|
16342
|
+
reconcilerVersion: "19.2.0-canary-c498bfce-20250426",
|
16343
16343
|
getLaneLabelMap: function () {
|
16344
16344
|
for (
|
16345
16345
|
var map = new Map(), lane = 1, index$293 = 0;
|
@@ -16619,7 +16619,7 @@ exports.useFormState = function (action, initialState, permalink) {
|
|
16619
16619
|
exports.useFormStatus = function () {
|
16620
16620
|
return ReactSharedInternals.H.useHostTransitionStatus();
|
16621
16621
|
};
|
16622
|
-
exports.version = "19.2.0-canary-
|
16622
|
+
exports.version = "19.2.0-canary-c498bfce-20250426";
|
16623
16623
|
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
|
16624
16624
|
"function" ===
|
16625
16625
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
|
@@ -1342,13 +1342,26 @@
|
|
1342
1342
|
return content;
|
1343
1343
|
}
|
1344
1344
|
function injectFormReplayingRuntime(resumableState, renderState) {
|
1345
|
-
(resumableState.instructions & 16) === NothingSent
|
1346
|
-
|
1347
|
-
renderState.
|
1348
|
-
renderState.
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1345
|
+
if ((resumableState.instructions & 16) === NothingSent) {
|
1346
|
+
resumableState.instructions |= 16;
|
1347
|
+
var preamble = renderState.preamble,
|
1348
|
+
bootstrapChunks = renderState.bootstrapChunks;
|
1349
|
+
(preamble.htmlChunks || preamble.headChunks) &&
|
1350
|
+
0 === bootstrapChunks.length
|
1351
|
+
? (bootstrapChunks.push(renderState.startInlineScript),
|
1352
|
+
pushCompletedShellIdAttribute(bootstrapChunks, resumableState),
|
1353
|
+
bootstrapChunks.push(
|
1354
|
+
endOfStartTag,
|
1355
|
+
formReplayingRuntimeScript,
|
1356
|
+
"\x3c/script>"
|
1357
|
+
))
|
1358
|
+
: bootstrapChunks.unshift(
|
1359
|
+
renderState.startInlineScript,
|
1360
|
+
endOfStartTag,
|
1361
|
+
formReplayingRuntimeScript,
|
1362
|
+
"\x3c/script>"
|
1363
|
+
);
|
1364
|
+
}
|
1352
1365
|
}
|
1353
1366
|
function pushLinkImpl(target, props) {
|
1354
1367
|
target.push(startChunkForTag("link"));
|
@@ -3076,6 +3089,15 @@
|
|
3076
3089
|
styleQueue.sheets.forEach(preloadLateStyle, this);
|
3077
3090
|
styleQueue.sheets.clear();
|
3078
3091
|
}
|
3092
|
+
function pushCompletedShellIdAttribute(target, resumableState) {
|
3093
|
+
(resumableState.instructions & SentCompletedShellId) === NothingSent &&
|
3094
|
+
((resumableState.instructions |= SentCompletedShellId),
|
3095
|
+
target.push(
|
3096
|
+
completedShellIdAttributeStart,
|
3097
|
+
escapeTextForBrowser("\u00ab" + resumableState.idPrefix + "R\u00bb"),
|
3098
|
+
attributeEnd
|
3099
|
+
));
|
3100
|
+
}
|
3079
3101
|
function writeStyleResourceDependenciesInJS(destination, hoistableState) {
|
3080
3102
|
destination.push(arrayFirstOpenBracket);
|
3081
3103
|
var nextArrayOpenBrackChunk = arrayFirstOpenBracket;
|
@@ -3292,16 +3314,18 @@
|
|
3292
3314
|
bootstrapScripts = resumableState.bootstrapScripts,
|
3293
3315
|
bootstrapModules = resumableState.bootstrapModules;
|
3294
3316
|
void 0 !== bootstrapScriptContent &&
|
3317
|
+
(bootstrapChunks.push("<script"),
|
3318
|
+
pushCompletedShellIdAttribute(bootstrapChunks, resumableState),
|
3295
3319
|
bootstrapChunks.push(
|
3296
|
-
|
3320
|
+
endOfStartTag,
|
3297
3321
|
escapeEntireInlineScriptContent(bootstrapScriptContent),
|
3298
3322
|
"\x3c/script>"
|
3299
|
-
);
|
3323
|
+
));
|
3300
3324
|
idPrefix = {
|
3301
3325
|
placeholderPrefix: idPrefix + "P:",
|
3302
3326
|
segmentPrefix: idPrefix + "S:",
|
3303
3327
|
boundaryPrefix: idPrefix + "B:",
|
3304
|
-
startInlineScript: "<script
|
3328
|
+
startInlineScript: "<script",
|
3305
3329
|
preamble: createPreambleState(),
|
3306
3330
|
externalRuntimeScript: null,
|
3307
3331
|
bootstrapChunks: bootstrapChunks,
|
@@ -3366,18 +3390,25 @@
|
|
3366
3390
|
? "use-credentials"
|
3367
3391
|
: ""));
|
3368
3392
|
preloadBootstrapScriptOrModule(resumableState, idPrefix, src, props);
|
3369
|
-
bootstrapChunks.push(
|
3393
|
+
bootstrapChunks.push(
|
3394
|
+
'<script src="',
|
3395
|
+
escapeTextForBrowser(src),
|
3396
|
+
attributeEnd
|
3397
|
+
);
|
3370
3398
|
"string" === typeof integrity &&
|
3371
3399
|
bootstrapChunks.push(
|
3372
|
-
'
|
3373
|
-
escapeTextForBrowser(integrity)
|
3400
|
+
' integrity="',
|
3401
|
+
escapeTextForBrowser(integrity),
|
3402
|
+
attributeEnd
|
3374
3403
|
);
|
3375
3404
|
"string" === typeof crossOrigin &&
|
3376
3405
|
bootstrapChunks.push(
|
3377
|
-
'
|
3378
|
-
escapeTextForBrowser(crossOrigin)
|
3406
|
+
' crossorigin="',
|
3407
|
+
escapeTextForBrowser(crossOrigin),
|
3408
|
+
attributeEnd
|
3379
3409
|
);
|
3380
|
-
bootstrapChunks
|
3410
|
+
pushCompletedShellIdAttribute(bootstrapChunks, resumableState);
|
3411
|
+
bootstrapChunks.push(' async="">\x3c/script>');
|
3381
3412
|
}
|
3382
3413
|
if (void 0 !== bootstrapModules)
|
3383
3414
|
for (
|
@@ -3414,19 +3445,23 @@
|
|
3414
3445
|
),
|
3415
3446
|
bootstrapChunks.push(
|
3416
3447
|
'<script type="module" src="',
|
3417
|
-
escapeTextForBrowser(scriptConfig)
|
3448
|
+
escapeTextForBrowser(scriptConfig),
|
3449
|
+
attributeEnd
|
3418
3450
|
),
|
3419
3451
|
"string" === typeof crossOrigin &&
|
3420
3452
|
bootstrapChunks.push(
|
3421
|
-
'
|
3422
|
-
escapeTextForBrowser(crossOrigin)
|
3453
|
+
' integrity="',
|
3454
|
+
escapeTextForBrowser(crossOrigin),
|
3455
|
+
attributeEnd
|
3423
3456
|
),
|
3424
3457
|
"string" === typeof src &&
|
3425
3458
|
bootstrapChunks.push(
|
3426
|
-
'
|
3427
|
-
escapeTextForBrowser(src)
|
3459
|
+
' crossorigin="',
|
3460
|
+
escapeTextForBrowser(src),
|
3461
|
+
attributeEnd
|
3428
3462
|
),
|
3429
|
-
bootstrapChunks
|
3463
|
+
pushCompletedShellIdAttribute(bootstrapChunks, resumableState),
|
3464
|
+
bootstrapChunks.push(' async="">\x3c/script>');
|
3430
3465
|
return {
|
3431
3466
|
placeholderPrefix: idPrefix.placeholderPrefix,
|
3432
3467
|
segmentPrefix: idPrefix.segmentPrefix,
|
@@ -4282,6 +4317,7 @@
|
|
4282
4317
|
this.fatalError = null;
|
4283
4318
|
this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
|
4284
4319
|
this.completedPreambleSegments = this.completedRootSegment = null;
|
4320
|
+
this.byteSize = 0;
|
4285
4321
|
this.abortableTasks = abortSet;
|
4286
4322
|
this.pingedTasks = [];
|
4287
4323
|
this.clientRenderedBoundaries = [];
|
@@ -5468,9 +5504,10 @@
|
|
5468
5504
|
(contentRootSegment.status = COMPLETED),
|
5469
5505
|
queueCompletedSegment(newBoundary, contentRootSegment),
|
5470
5506
|
0 === newBoundary.pendingTasks &&
|
5471
|
-
newBoundary.status === PENDING
|
5507
|
+
newBoundary.status === PENDING &&
|
5508
|
+
((newBoundary.status = COMPLETED),
|
5509
|
+
!(newBoundary.byteSize > request.progressiveChunkSize)))
|
5472
5510
|
) {
|
5473
|
-
newBoundary.status = COMPLETED;
|
5474
5511
|
0 === request.pendingRootTasks &&
|
5475
5512
|
task.blockedPreamble &&
|
5476
5513
|
preparePreamble(request);
|
@@ -6604,11 +6641,12 @@
|
|
6604
6641
|
boundary.parentFlushed &&
|
6605
6642
|
request.completedBoundaries.push(boundary),
|
6606
6643
|
boundary.status === COMPLETED &&
|
6607
|
-
(boundary.
|
6608
|
-
|
6609
|
-
|
6610
|
-
|
6611
|
-
|
6644
|
+
(boundary.byteSize > request.progressiveChunkSize ||
|
6645
|
+
(boundary.fallbackAbortableTasks.forEach(
|
6646
|
+
abortTaskSoft,
|
6647
|
+
request
|
6648
|
+
),
|
6649
|
+
boundary.fallbackAbortableTasks.clear()),
|
6612
6650
|
0 === request.pendingRootTasks &&
|
6613
6651
|
null === request.trackedPostpones &&
|
6614
6652
|
null !== boundary.contentPreamble &&
|
@@ -7102,6 +7140,7 @@
|
|
7102
7140
|
var requiresStyleInsertion = request.stylesToHoist;
|
7103
7141
|
request.stylesToHoist = !1;
|
7104
7142
|
destination.push(request.startInlineScript);
|
7143
|
+
destination.push(endOfStartTag);
|
7105
7144
|
requiresStyleInsertion
|
7106
7145
|
? (completedSegments.instructions & SentCompleteBoundaryFunction) ===
|
7107
7146
|
NothingSent
|
@@ -7165,6 +7204,7 @@
|
|
7165
7204
|
boundary = request.resumableState;
|
7166
7205
|
request = request.renderState;
|
7167
7206
|
destination.push(request.startInlineScript);
|
7207
|
+
destination.push(endOfStartTag);
|
7168
7208
|
(boundary.instructions & SentCompleteSegmentFunction) === NothingSent
|
7169
7209
|
? ((boundary.instructions |= SentCompleteSegmentFunction),
|
7170
7210
|
destination.push(completeSegmentScript1Full))
|
@@ -7187,7 +7227,8 @@
|
|
7187
7227
|
if (completedRootSegment.status === POSTPONED) return;
|
7188
7228
|
var completedPreambleSegments = request.completedPreambleSegments;
|
7189
7229
|
if (null === completedPreambleSegments) return;
|
7190
|
-
var
|
7230
|
+
var resumableState = request.resumableState,
|
7231
|
+
renderState = request.renderState,
|
7191
7232
|
preamble = renderState.preamble,
|
7192
7233
|
htmlChunks = preamble.htmlChunks,
|
7193
7234
|
headChunks = preamble.headChunks,
|
@@ -7246,6 +7287,13 @@
|
|
7246
7287
|
renderState.scripts.clear();
|
7247
7288
|
renderState.bulkPreloads.forEach(flushResource, destination);
|
7248
7289
|
renderState.bulkPreloads.clear();
|
7290
|
+
if (htmlChunks || headChunks) {
|
7291
|
+
var shellId = "\u00ab" + resumableState.idPrefix + "R\u00bb";
|
7292
|
+
destination.push(blockingRenderChunkStart);
|
7293
|
+
var chunk$jscomp$0 = escapeTextForBrowser(shellId);
|
7294
|
+
destination.push(chunk$jscomp$0);
|
7295
|
+
destination.push(blockingRenderChunkEnd);
|
7296
|
+
}
|
7249
7297
|
var hoistableChunks = renderState.hoistableChunks;
|
7250
7298
|
for (
|
7251
7299
|
i$jscomp$0 = 0;
|
@@ -7254,19 +7302,23 @@
|
|
7254
7302
|
)
|
7255
7303
|
destination.push(hoistableChunks[i$jscomp$0]);
|
7256
7304
|
for (
|
7257
|
-
|
7258
|
-
|
7259
|
-
|
7305
|
+
resumableState = hoistableChunks.length = 0;
|
7306
|
+
resumableState < completedPreambleSegments.length;
|
7307
|
+
resumableState++
|
7260
7308
|
) {
|
7261
|
-
var segments = completedPreambleSegments[
|
7262
|
-
for (
|
7263
|
-
|
7309
|
+
var segments = completedPreambleSegments[resumableState];
|
7310
|
+
for (
|
7311
|
+
renderState = 0;
|
7312
|
+
renderState < segments.length;
|
7313
|
+
renderState++
|
7314
|
+
)
|
7315
|
+
flushSegment(request, destination, segments[renderState], null);
|
7264
7316
|
}
|
7265
7317
|
var preamble$jscomp$0 = request.renderState.preamble,
|
7266
7318
|
headChunks$jscomp$0 = preamble$jscomp$0.headChunks;
|
7267
7319
|
if (preamble$jscomp$0.htmlChunks || headChunks$jscomp$0) {
|
7268
|
-
var chunk$jscomp$
|
7269
|
-
destination.push(chunk$jscomp$
|
7320
|
+
var chunk$jscomp$1 = endChunkForTag("head");
|
7321
|
+
destination.push(chunk$jscomp$1);
|
7270
7322
|
}
|
7271
7323
|
var bodyChunks = preamble$jscomp$0.bodyChunks;
|
7272
7324
|
if (bodyChunks)
|
@@ -7278,11 +7330,27 @@
|
|
7278
7330
|
destination.push(bodyChunks[completedPreambleSegments]);
|
7279
7331
|
flushSegment(request, destination, completedRootSegment, null);
|
7280
7332
|
request.completedRootSegment = null;
|
7281
|
-
|
7333
|
+
var resumableState$jscomp$0 = request.resumableState,
|
7334
|
+
renderState$jscomp$0 = request.renderState,
|
7335
|
+
preamble$jscomp$1 = renderState$jscomp$0.preamble;
|
7336
|
+
if (
|
7337
|
+
(preamble$jscomp$1.htmlChunks || preamble$jscomp$1.headChunks) &&
|
7338
|
+
(resumableState$jscomp$0.instructions & SentCompletedShellId) ===
|
7339
|
+
NothingSent
|
7340
|
+
) {
|
7341
|
+
var bootstrapChunks = renderState$jscomp$0.bootstrapChunks;
|
7342
|
+
bootstrapChunks.push(startChunkForTag("template"));
|
7343
|
+
pushCompletedShellIdAttribute(
|
7344
|
+
bootstrapChunks,
|
7345
|
+
resumableState$jscomp$0
|
7346
|
+
);
|
7347
|
+
bootstrapChunks.push(endOfStartTag, endChunkForTag("template"));
|
7348
|
+
}
|
7349
|
+
writeBootstrap(destination, renderState$jscomp$0);
|
7282
7350
|
}
|
7283
|
-
var renderState$jscomp$
|
7351
|
+
var renderState$jscomp$1 = request.renderState;
|
7284
7352
|
completedRootSegment = 0;
|
7285
|
-
var viewportChunks$jscomp$0 = renderState$jscomp$
|
7353
|
+
var viewportChunks$jscomp$0 = renderState$jscomp$1.viewportChunks;
|
7286
7354
|
for (
|
7287
7355
|
completedRootSegment = 0;
|
7288
7356
|
completedRootSegment < viewportChunks$jscomp$0.length;
|
@@ -7290,21 +7358,21 @@
|
|
7290
7358
|
)
|
7291
7359
|
destination.push(viewportChunks$jscomp$0[completedRootSegment]);
|
7292
7360
|
viewportChunks$jscomp$0.length = 0;
|
7293
|
-
renderState$jscomp$
|
7294
|
-
renderState$jscomp$
|
7295
|
-
renderState$jscomp$
|
7296
|
-
renderState$jscomp$
|
7297
|
-
renderState$jscomp$
|
7361
|
+
renderState$jscomp$1.preconnects.forEach(flushResource, destination);
|
7362
|
+
renderState$jscomp$1.preconnects.clear();
|
7363
|
+
renderState$jscomp$1.fontPreloads.forEach(flushResource, destination);
|
7364
|
+
renderState$jscomp$1.fontPreloads.clear();
|
7365
|
+
renderState$jscomp$1.highImagePreloads.forEach(
|
7298
7366
|
flushResource,
|
7299
7367
|
destination
|
7300
7368
|
);
|
7301
|
-
renderState$jscomp$
|
7302
|
-
renderState$jscomp$
|
7303
|
-
renderState$jscomp$
|
7304
|
-
renderState$jscomp$
|
7305
|
-
renderState$jscomp$
|
7306
|
-
renderState$jscomp$
|
7307
|
-
var hoistableChunks$jscomp$0 = renderState$jscomp$
|
7369
|
+
renderState$jscomp$1.highImagePreloads.clear();
|
7370
|
+
renderState$jscomp$1.styles.forEach(preloadLateStyles, destination);
|
7371
|
+
renderState$jscomp$1.scripts.forEach(flushResource, destination);
|
7372
|
+
renderState$jscomp$1.scripts.clear();
|
7373
|
+
renderState$jscomp$1.bulkPreloads.forEach(flushResource, destination);
|
7374
|
+
renderState$jscomp$1.bulkPreloads.clear();
|
7375
|
+
var hoistableChunks$jscomp$0 = renderState$jscomp$1.hoistableChunks;
|
7308
7376
|
for (
|
7309
7377
|
completedRootSegment = 0;
|
7310
7378
|
completedRootSegment < hoistableChunks$jscomp$0.length;
|
@@ -7315,57 +7383,60 @@
|
|
7315
7383
|
var clientRenderedBoundaries = request.clientRenderedBoundaries;
|
7316
7384
|
for (i = 0; i < clientRenderedBoundaries.length; i++) {
|
7317
7385
|
var boundary = clientRenderedBoundaries[i];
|
7318
|
-
renderState$jscomp$
|
7319
|
-
var resumableState = request.resumableState,
|
7320
|
-
renderState$jscomp$
|
7386
|
+
renderState$jscomp$1 = destination;
|
7387
|
+
var resumableState$jscomp$1 = request.resumableState,
|
7388
|
+
renderState$jscomp$2 = request.renderState,
|
7321
7389
|
id = boundary.rootSegmentID,
|
7322
7390
|
errorDigest = boundary.errorDigest,
|
7323
7391
|
errorMessage = boundary.errorMessage,
|
7324
7392
|
errorStack = boundary.errorStack,
|
7325
7393
|
errorComponentStack = boundary.errorComponentStack;
|
7326
|
-
renderState$jscomp$
|
7327
|
-
(
|
7394
|
+
renderState$jscomp$1.push(renderState$jscomp$2.startInlineScript);
|
7395
|
+
renderState$jscomp$1.push(endOfStartTag);
|
7396
|
+
(resumableState$jscomp$1.instructions &
|
7397
|
+
SentClientRenderFunction) ===
|
7328
7398
|
NothingSent
|
7329
|
-
? ((resumableState.instructions |=
|
7330
|
-
|
7331
|
-
|
7332
|
-
|
7333
|
-
|
7334
|
-
|
7335
|
-
renderState$jscomp$
|
7399
|
+
? ((resumableState$jscomp$1.instructions |=
|
7400
|
+
SentClientRenderFunction),
|
7401
|
+
renderState$jscomp$1.push(clientRenderScript1Full))
|
7402
|
+
: renderState$jscomp$1.push(clientRenderScript1Partial);
|
7403
|
+
renderState$jscomp$1.push(renderState$jscomp$2.boundaryPrefix);
|
7404
|
+
var chunk$jscomp$2 = id.toString(16);
|
7405
|
+
renderState$jscomp$1.push(chunk$jscomp$2);
|
7406
|
+
renderState$jscomp$1.push(clientRenderScript1A);
|
7336
7407
|
if (
|
7337
7408
|
errorDigest ||
|
7338
7409
|
errorMessage ||
|
7339
7410
|
errorStack ||
|
7340
7411
|
errorComponentStack
|
7341
7412
|
) {
|
7342
|
-
renderState$jscomp$
|
7343
|
-
var chunk$jscomp$
|
7413
|
+
renderState$jscomp$1.push(clientRenderErrorScriptArgInterstitial);
|
7414
|
+
var chunk$jscomp$3 = escapeJSStringsForInstructionScripts(
|
7344
7415
|
errorDigest || ""
|
7345
7416
|
);
|
7346
|
-
renderState$jscomp$
|
7417
|
+
renderState$jscomp$1.push(chunk$jscomp$3);
|
7347
7418
|
}
|
7348
7419
|
if (errorMessage || errorStack || errorComponentStack) {
|
7349
|
-
renderState$jscomp$
|
7350
|
-
var chunk$jscomp$
|
7420
|
+
renderState$jscomp$1.push(clientRenderErrorScriptArgInterstitial);
|
7421
|
+
var chunk$jscomp$4 = escapeJSStringsForInstructionScripts(
|
7351
7422
|
errorMessage || ""
|
7352
7423
|
);
|
7353
|
-
renderState$jscomp$
|
7424
|
+
renderState$jscomp$1.push(chunk$jscomp$4);
|
7354
7425
|
}
|
7355
7426
|
if (errorStack || errorComponentStack) {
|
7356
|
-
renderState$jscomp$
|
7357
|
-
var chunk$jscomp$
|
7427
|
+
renderState$jscomp$1.push(clientRenderErrorScriptArgInterstitial);
|
7428
|
+
var chunk$jscomp$5 = escapeJSStringsForInstructionScripts(
|
7358
7429
|
errorStack || ""
|
7359
7430
|
);
|
7360
|
-
renderState$jscomp$
|
7431
|
+
renderState$jscomp$1.push(chunk$jscomp$5);
|
7361
7432
|
}
|
7362
7433
|
if (errorComponentStack) {
|
7363
|
-
renderState$jscomp$
|
7364
|
-
var chunk$jscomp$
|
7434
|
+
renderState$jscomp$1.push(clientRenderErrorScriptArgInterstitial);
|
7435
|
+
var chunk$jscomp$6 =
|
7365
7436
|
escapeJSStringsForInstructionScripts(errorComponentStack);
|
7366
|
-
renderState$jscomp$
|
7437
|
+
renderState$jscomp$1.push(chunk$jscomp$6);
|
7367
7438
|
}
|
7368
|
-
var JSCompiler_inline_result = renderState$jscomp$
|
7439
|
+
var JSCompiler_inline_result = renderState$jscomp$1.push(
|
7369
7440
|
clientRenderScriptEnd
|
7370
7441
|
);
|
7371
7442
|
if (!JSCompiler_inline_result) {
|
@@ -8640,6 +8711,7 @@
|
|
8640
8711
|
SentCompleteBoundaryFunction = 2,
|
8641
8712
|
SentClientRenderFunction = 4,
|
8642
8713
|
SentStyleInsertionFunction = 8,
|
8714
|
+
SentCompletedShellId = 32,
|
8643
8715
|
EXISTS = null,
|
8644
8716
|
PRELOAD_NO_CREDS = [];
|
8645
8717
|
Object.freeze(PRELOAD_NO_CREDS);
|
@@ -8758,6 +8830,9 @@
|
|
8758
8830
|
spaceSeparator = " ",
|
8759
8831
|
styleTagResourceOpen3 = '">',
|
8760
8832
|
styleTagResourceClose = "</style>",
|
8833
|
+
blockingRenderChunkStart = '<link rel="expect" href="#',
|
8834
|
+
blockingRenderChunkEnd = '" blocking="render"/>',
|
8835
|
+
completedShellIdAttributeStart = ' id="',
|
8761
8836
|
arrayFirstOpenBracket = "[",
|
8762
8837
|
arraySubsequentOpenBracket = ",[",
|
8763
8838
|
arrayInterstitial = ",",
|
@@ -9029,5 +9104,5 @@
|
|
9029
9104
|
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
|
9030
9105
|
);
|
9031
9106
|
};
|
9032
|
-
exports.version = "19.2.0-canary-
|
9107
|
+
exports.version = "19.2.0-canary-c498bfce-20250426";
|
9033
9108
|
})();
|