react-dom 19.3.0-canary-c7862584-20251006 → 19.3.0-canary-3025aa39-20251007
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 +3068 -789
- package/cjs/react-dom-client.production.js +2657 -669
- package/cjs/react-dom-profiling.development.js +3067 -788
- package/cjs/react-dom-profiling.profiling.js +2879 -824
- package/cjs/react-dom-server-legacy.browser.development.js +153 -42
- package/cjs/react-dom-server-legacy.browser.production.js +476 -323
- package/cjs/react-dom-server-legacy.node.development.js +153 -42
- package/cjs/react-dom-server-legacy.node.production.js +476 -323
- package/cjs/react-dom-server.browser.development.js +230 -52
- package/cjs/react-dom-server.browser.production.js +530 -308
- package/cjs/react-dom-server.bun.development.js +225 -48
- package/cjs/react-dom-server.bun.production.js +527 -305
- package/cjs/react-dom-server.edge.development.js +230 -52
- package/cjs/react-dom-server.edge.production.js +530 -308
- package/cjs/react-dom-server.node.development.js +226 -46
- package/cjs/react-dom-server.node.production.js +524 -302
- 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
|
@@ -627,7 +627,8 @@ function getChildFormatContext(parentContext, type, props) {
|
|
|
627
627
|
}
|
|
628
628
|
return 6 <= parentContext.insertionMode || 2 > parentContext.insertionMode
|
|
629
629
|
? createFormatContext(2, null, subtreeScope, null)
|
|
630
|
-
: parentContext.
|
|
630
|
+
: null !== parentContext.viewTransition ||
|
|
631
|
+
parentContext.tagScope !== subtreeScope
|
|
631
632
|
? createFormatContext(
|
|
632
633
|
parentContext.insertionMode,
|
|
633
634
|
parentContext.selectedValue,
|
|
@@ -671,6 +672,11 @@ function getSuspenseContentFormatContext(resumableState, parentContext) {
|
|
|
671
672
|
resumableState
|
|
672
673
|
);
|
|
673
674
|
}
|
|
675
|
+
function makeId(resumableState, treeId, localId) {
|
|
676
|
+
resumableState = "_" + resumableState.idPrefix + "R_" + treeId;
|
|
677
|
+
0 < localId && (resumableState += "H" + localId.toString(32));
|
|
678
|
+
return resumableState + "_";
|
|
679
|
+
}
|
|
674
680
|
var textSeparator = stringToPrecomputedChunk("\x3c!-- --\x3e");
|
|
675
681
|
function pushTextInstance(target, text, renderState, textEmbedded) {
|
|
676
682
|
if ("" === text) return textEmbedded;
|
|
@@ -678,6 +684,26 @@ function pushTextInstance(target, text, renderState, textEmbedded) {
|
|
|
678
684
|
target.push(escapeTextForBrowser(text));
|
|
679
685
|
return !0;
|
|
680
686
|
}
|
|
687
|
+
function pushViewTransitionAttributes(target, formatContext) {
|
|
688
|
+
formatContext = formatContext.viewTransition;
|
|
689
|
+
null !== formatContext &&
|
|
690
|
+
("auto" !== formatContext.name &&
|
|
691
|
+
(pushStringAttribute(
|
|
692
|
+
target,
|
|
693
|
+
"vt-name",
|
|
694
|
+
0 === formatContext.nameIdx
|
|
695
|
+
? formatContext.name
|
|
696
|
+
: formatContext.name + "_" + formatContext.nameIdx
|
|
697
|
+
),
|
|
698
|
+
formatContext.nameIdx++),
|
|
699
|
+
pushStringAttribute(target, "vt-update", formatContext.update),
|
|
700
|
+
"none" !== formatContext.enter &&
|
|
701
|
+
pushStringAttribute(target, "vt-enter", formatContext.enter),
|
|
702
|
+
"none" !== formatContext.exit &&
|
|
703
|
+
pushStringAttribute(target, "vt-exit", formatContext.exit),
|
|
704
|
+
"none" !== formatContext.share &&
|
|
705
|
+
pushStringAttribute(target, "vt-share", formatContext.share));
|
|
706
|
+
}
|
|
681
707
|
var styleNameCache = new Map(),
|
|
682
708
|
styleAttributeStart = stringToPrecomputedChunk(' style="'),
|
|
683
709
|
styleAssign = stringToPrecomputedChunk(":"),
|
|
@@ -1109,7 +1135,7 @@ var styleRegex = /(<\/|<)(s)(tyle)/gi;
|
|
|
1109
1135
|
function styleReplacer(match, prefix, s, suffix) {
|
|
1110
1136
|
return "" + prefix + ("s" === s ? "\\73 " : "\\53 ") + suffix;
|
|
1111
1137
|
}
|
|
1112
|
-
function pushSelfClosing(target, props, tag) {
|
|
1138
|
+
function pushSelfClosing(target, props, tag, formatContext) {
|
|
1113
1139
|
target.push(startChunkForTag(tag));
|
|
1114
1140
|
for (var propKey in props)
|
|
1115
1141
|
if (hasOwnProperty.call(props, propKey)) {
|
|
@@ -1126,6 +1152,7 @@ function pushSelfClosing(target, props, tag) {
|
|
|
1126
1152
|
pushAttribute(target, propKey, propValue);
|
|
1127
1153
|
}
|
|
1128
1154
|
}
|
|
1155
|
+
pushViewTransitionAttributes(target, formatContext);
|
|
1129
1156
|
target.push(endOfStartTagSelfClosing);
|
|
1130
1157
|
return null;
|
|
1131
1158
|
}
|
|
@@ -1195,7 +1222,7 @@ function pushScriptImpl(target, props) {
|
|
|
1195
1222
|
target.push(endChunkForTag("script"));
|
|
1196
1223
|
return null;
|
|
1197
1224
|
}
|
|
1198
|
-
function pushStartSingletonElement(target, props, tag) {
|
|
1225
|
+
function pushStartSingletonElement(target, props, tag, formatContext) {
|
|
1199
1226
|
target.push(startChunkForTag(tag));
|
|
1200
1227
|
var innerHTML = (tag = null),
|
|
1201
1228
|
propKey;
|
|
@@ -1214,11 +1241,12 @@ function pushStartSingletonElement(target, props, tag) {
|
|
|
1214
1241
|
pushAttribute(target, propKey, propValue);
|
|
1215
1242
|
}
|
|
1216
1243
|
}
|
|
1244
|
+
pushViewTransitionAttributes(target, formatContext);
|
|
1217
1245
|
target.push(endOfStartTag);
|
|
1218
1246
|
pushInnerHTML(target, innerHTML, tag);
|
|
1219
1247
|
return tag;
|
|
1220
1248
|
}
|
|
1221
|
-
function pushStartGenericElement(target, props, tag) {
|
|
1249
|
+
function pushStartGenericElement(target, props, tag, formatContext) {
|
|
1222
1250
|
target.push(startChunkForTag(tag));
|
|
1223
1251
|
var innerHTML = (tag = null),
|
|
1224
1252
|
propKey;
|
|
@@ -1237,6 +1265,7 @@ function pushStartGenericElement(target, props, tag) {
|
|
|
1237
1265
|
pushAttribute(target, propKey, propValue);
|
|
1238
1266
|
}
|
|
1239
1267
|
}
|
|
1268
|
+
pushViewTransitionAttributes(target, formatContext);
|
|
1240
1269
|
target.push(endOfStartTag);
|
|
1241
1270
|
pushInnerHTML(target, innerHTML, tag);
|
|
1242
1271
|
return "string" === typeof tag
|
|
@@ -1298,6 +1327,7 @@ function pushStartInstance(
|
|
|
1298
1327
|
pushAttribute(target$jscomp$0, propKey, propValue);
|
|
1299
1328
|
}
|
|
1300
1329
|
}
|
|
1330
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1301
1331
|
target$jscomp$0.push(endOfStartTag);
|
|
1302
1332
|
pushInnerHTML(target$jscomp$0, innerHTML, children);
|
|
1303
1333
|
if ("string" === typeof children) {
|
|
@@ -1336,6 +1366,7 @@ function pushStartInstance(
|
|
|
1336
1366
|
);
|
|
1337
1367
|
}
|
|
1338
1368
|
}
|
|
1369
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1339
1370
|
target$jscomp$0.push(endOfStartTag);
|
|
1340
1371
|
pushInnerHTML(target$jscomp$0, innerHTML$jscomp$0, children$jscomp$0);
|
|
1341
1372
|
return children$jscomp$0;
|
|
@@ -1425,6 +1456,7 @@ function pushStartInstance(
|
|
|
1425
1456
|
null === value$jscomp$0 &&
|
|
1426
1457
|
null !== defaultValue &&
|
|
1427
1458
|
(value$jscomp$0 = defaultValue);
|
|
1459
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1428
1460
|
target$jscomp$0.push(endOfStartTag);
|
|
1429
1461
|
if (null != children$jscomp$2) {
|
|
1430
1462
|
if (null != value$jscomp$0)
|
|
@@ -1519,6 +1551,7 @@ function pushStartInstance(
|
|
|
1519
1551
|
? pushAttribute(target$jscomp$0, "value", value$jscomp$1)
|
|
1520
1552
|
: null !== defaultValue$jscomp$0 &&
|
|
1521
1553
|
pushAttribute(target$jscomp$0, "value", defaultValue$jscomp$0);
|
|
1554
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1522
1555
|
target$jscomp$0.push(endOfStartTagSelfClosing);
|
|
1523
1556
|
null != formData &&
|
|
1524
1557
|
formData.forEach(pushAdditionalFormField, target$jscomp$0);
|
|
@@ -1577,6 +1610,7 @@ function pushStartInstance(
|
|
|
1577
1610
|
formTarget$jscomp$0,
|
|
1578
1611
|
name$jscomp$0
|
|
1579
1612
|
);
|
|
1613
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1580
1614
|
target$jscomp$0.push(endOfStartTag);
|
|
1581
1615
|
null != formData$jscomp$0 &&
|
|
1582
1616
|
formData$jscomp$0.forEach(pushAdditionalFormField, target$jscomp$0);
|
|
@@ -1662,6 +1696,7 @@ function pushStartInstance(
|
|
|
1662
1696
|
pushAttribute(target$jscomp$0, "method", formMethod$jscomp$1);
|
|
1663
1697
|
null != formTarget$jscomp$1 &&
|
|
1664
1698
|
pushAttribute(target$jscomp$0, "target", formTarget$jscomp$1);
|
|
1699
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1665
1700
|
target$jscomp$0.push(endOfStartTag);
|
|
1666
1701
|
null !== formActionName &&
|
|
1667
1702
|
(target$jscomp$0.push(startHiddenInputChunk),
|
|
@@ -1695,6 +1730,7 @@ function pushStartInstance(
|
|
|
1695
1730
|
);
|
|
1696
1731
|
}
|
|
1697
1732
|
}
|
|
1733
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1698
1734
|
target$jscomp$0.push(endOfStartTag);
|
|
1699
1735
|
return null;
|
|
1700
1736
|
case "object":
|
|
@@ -1732,6 +1768,7 @@ function pushStartInstance(
|
|
|
1732
1768
|
);
|
|
1733
1769
|
}
|
|
1734
1770
|
}
|
|
1771
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
1735
1772
|
target$jscomp$0.push(endOfStartTag);
|
|
1736
1773
|
pushInnerHTML(target$jscomp$0, innerHTML$jscomp$4, children$jscomp$5);
|
|
1737
1774
|
if ("string" === typeof children$jscomp$5) {
|
|
@@ -2003,17 +2040,33 @@ function pushStartInstance(
|
|
|
2003
2040
|
var JSCompiler_inline_result$jscomp$7 = pushSelfClosing(
|
|
2004
2041
|
target$jscomp$0,
|
|
2005
2042
|
props,
|
|
2006
|
-
"meta"
|
|
2043
|
+
"meta",
|
|
2044
|
+
formatContext
|
|
2007
2045
|
);
|
|
2008
2046
|
else
|
|
2009
2047
|
textEmbedded && target$jscomp$0.push(textSeparator),
|
|
2010
2048
|
(JSCompiler_inline_result$jscomp$7 = isFallback$jscomp$1
|
|
2011
2049
|
? null
|
|
2012
2050
|
: "string" === typeof props.charSet
|
|
2013
|
-
? pushSelfClosing(
|
|
2051
|
+
? pushSelfClosing(
|
|
2052
|
+
renderState.charsetChunks,
|
|
2053
|
+
props,
|
|
2054
|
+
"meta",
|
|
2055
|
+
formatContext
|
|
2056
|
+
)
|
|
2014
2057
|
: "viewport" === props.name
|
|
2015
|
-
? pushSelfClosing(
|
|
2016
|
-
|
|
2058
|
+
? pushSelfClosing(
|
|
2059
|
+
renderState.viewportChunks,
|
|
2060
|
+
props,
|
|
2061
|
+
"meta",
|
|
2062
|
+
formatContext
|
|
2063
|
+
)
|
|
2064
|
+
: pushSelfClosing(
|
|
2065
|
+
renderState.hoistableChunks,
|
|
2066
|
+
props,
|
|
2067
|
+
"meta",
|
|
2068
|
+
formatContext
|
|
2069
|
+
));
|
|
2017
2070
|
return JSCompiler_inline_result$jscomp$7;
|
|
2018
2071
|
case "listing":
|
|
2019
2072
|
case "pre":
|
|
@@ -2040,6 +2093,7 @@ function pushStartInstance(
|
|
|
2040
2093
|
);
|
|
2041
2094
|
}
|
|
2042
2095
|
}
|
|
2096
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
2043
2097
|
target$jscomp$0.push(endOfStartTag);
|
|
2044
2098
|
if (null != innerHTML$jscomp$7) {
|
|
2045
2099
|
if (null != children$jscomp$8)
|
|
@@ -2156,7 +2210,7 @@ function pushStartInstance(
|
|
|
2156
2210
|
promotablePreloads.set(key$jscomp$0, resource$jscomp$1)));
|
|
2157
2211
|
}
|
|
2158
2212
|
}
|
|
2159
|
-
return pushSelfClosing(target$jscomp$0, props, "img");
|
|
2213
|
+
return pushSelfClosing(target$jscomp$0, props, "img", formatContext);
|
|
2160
2214
|
case "base":
|
|
2161
2215
|
case "area":
|
|
2162
2216
|
case "br":
|
|
@@ -2168,7 +2222,7 @@ function pushStartInstance(
|
|
|
2168
2222
|
case "source":
|
|
2169
2223
|
case "track":
|
|
2170
2224
|
case "wbr":
|
|
2171
|
-
return pushSelfClosing(target$jscomp$0, props, type);
|
|
2225
|
+
return pushSelfClosing(target$jscomp$0, props, type, formatContext);
|
|
2172
2226
|
case "annotation-xml":
|
|
2173
2227
|
case "color-profile":
|
|
2174
2228
|
case "font-face":
|
|
@@ -2189,13 +2243,15 @@ function pushStartInstance(
|
|
|
2189
2243
|
var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
|
|
2190
2244
|
preamble.headChunks,
|
|
2191
2245
|
props,
|
|
2192
|
-
"head"
|
|
2246
|
+
"head",
|
|
2247
|
+
formatContext
|
|
2193
2248
|
);
|
|
2194
2249
|
} else
|
|
2195
2250
|
JSCompiler_inline_result$jscomp$9 = pushStartGenericElement(
|
|
2196
2251
|
target$jscomp$0,
|
|
2197
2252
|
props,
|
|
2198
|
-
"head"
|
|
2253
|
+
"head",
|
|
2254
|
+
formatContext
|
|
2199
2255
|
);
|
|
2200
2256
|
return JSCompiler_inline_result$jscomp$9;
|
|
2201
2257
|
case "body":
|
|
@@ -2209,13 +2265,15 @@ function pushStartInstance(
|
|
|
2209
2265
|
var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
|
|
2210
2266
|
preamble$jscomp$0.bodyChunks,
|
|
2211
2267
|
props,
|
|
2212
|
-
"body"
|
|
2268
|
+
"body",
|
|
2269
|
+
formatContext
|
|
2213
2270
|
);
|
|
2214
2271
|
} else
|
|
2215
2272
|
JSCompiler_inline_result$jscomp$10 = pushStartGenericElement(
|
|
2216
2273
|
target$jscomp$0,
|
|
2217
2274
|
props,
|
|
2218
|
-
"body"
|
|
2275
|
+
"body",
|
|
2276
|
+
formatContext
|
|
2219
2277
|
);
|
|
2220
2278
|
return JSCompiler_inline_result$jscomp$10;
|
|
2221
2279
|
case "html":
|
|
@@ -2229,13 +2287,15 @@ function pushStartInstance(
|
|
|
2229
2287
|
var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
|
|
2230
2288
|
preamble$jscomp$1.htmlChunks,
|
|
2231
2289
|
props,
|
|
2232
|
-
"html"
|
|
2290
|
+
"html",
|
|
2291
|
+
formatContext
|
|
2233
2292
|
);
|
|
2234
2293
|
} else
|
|
2235
2294
|
JSCompiler_inline_result$jscomp$11 = pushStartGenericElement(
|
|
2236
2295
|
target$jscomp$0,
|
|
2237
2296
|
props,
|
|
2238
|
-
"html"
|
|
2297
|
+
"html",
|
|
2298
|
+
formatContext
|
|
2239
2299
|
);
|
|
2240
2300
|
return JSCompiler_inline_result$jscomp$11;
|
|
2241
2301
|
default:
|
|
@@ -2285,12 +2345,13 @@ function pushStartInstance(
|
|
|
2285
2345
|
}
|
|
2286
2346
|
}
|
|
2287
2347
|
}
|
|
2348
|
+
pushViewTransitionAttributes(target$jscomp$0, formatContext);
|
|
2288
2349
|
target$jscomp$0.push(endOfStartTag);
|
|
2289
2350
|
pushInnerHTML(target$jscomp$0, innerHTML$jscomp$8, children$jscomp$9);
|
|
2290
2351
|
return children$jscomp$9;
|
|
2291
2352
|
}
|
|
2292
2353
|
}
|
|
2293
|
-
return pushStartGenericElement(target$jscomp$0, props, type);
|
|
2354
|
+
return pushStartGenericElement(target$jscomp$0, props, type, formatContext);
|
|
2294
2355
|
}
|
|
2295
2356
|
var endTagCache = new Map();
|
|
2296
2357
|
function endChunkForTag(tag) {
|
|
@@ -3221,6 +3282,8 @@ function getComponentNameFromType(type) {
|
|
|
3221
3282
|
return "SuspenseList";
|
|
3222
3283
|
case REACT_ACTIVITY_TYPE:
|
|
3223
3284
|
return "Activity";
|
|
3285
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
3286
|
+
return "ViewTransition";
|
|
3224
3287
|
}
|
|
3225
3288
|
if ("object" === typeof type)
|
|
3226
3289
|
switch (type.$$typeof) {
|
|
@@ -3334,6 +3397,11 @@ var classComponentUpdater = {
|
|
|
3334
3397
|
enqueueForceUpdate: function () {}
|
|
3335
3398
|
},
|
|
3336
3399
|
emptyTreeContext = { id: 1, overflow: "" };
|
|
3400
|
+
function getTreeId(context) {
|
|
3401
|
+
var overflow = context.overflow;
|
|
3402
|
+
context = context.id;
|
|
3403
|
+
return (context & ~(1 << (32 - clz32(context) - 1))).toString(32) + overflow;
|
|
3404
|
+
}
|
|
3337
3405
|
function pushTreeContext(baseContext, totalChildren, index) {
|
|
3338
3406
|
var baseIdWithLeadingBit = baseContext.id;
|
|
3339
3407
|
baseContext = baseContext.overflow;
|
|
@@ -3692,24 +3760,14 @@ var HooksDispatcher = {
|
|
|
3692
3760
|
return [!1, unsupportedStartTransition];
|
|
3693
3761
|
},
|
|
3694
3762
|
useId: function () {
|
|
3695
|
-
var
|
|
3696
|
-
|
|
3697
|
-
JSCompiler_inline_result = JSCompiler_inline_result.id;
|
|
3698
|
-
JSCompiler_inline_result =
|
|
3699
|
-
(
|
|
3700
|
-
JSCompiler_inline_result &
|
|
3701
|
-
~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
|
|
3702
|
-
).toString(32) + overflow;
|
|
3703
|
-
var resumableState = currentResumableState;
|
|
3763
|
+
var treeId = getTreeId(currentlyRenderingTask.treeContext),
|
|
3764
|
+
resumableState = currentResumableState;
|
|
3704
3765
|
if (null === resumableState)
|
|
3705
3766
|
throw Error(
|
|
3706
3767
|
"Invalid hook call. Hooks can only be called inside of the body of a function component."
|
|
3707
3768
|
);
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
"_" + resumableState.idPrefix + "R_" + JSCompiler_inline_result;
|
|
3711
|
-
0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
|
|
3712
|
-
return JSCompiler_inline_result + "_";
|
|
3769
|
+
var localId = localIdCounter++;
|
|
3770
|
+
return makeId(resumableState, treeId, localId);
|
|
3713
3771
|
},
|
|
3714
3772
|
useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
|
|
3715
3773
|
if (void 0 === getServerSnapshot)
|
|
@@ -3966,9 +4024,28 @@ function describeComponentStackByType(type) {
|
|
|
3966
4024
|
return describeBuiltInComponentFrame("SuspenseList");
|
|
3967
4025
|
case REACT_SUSPENSE_TYPE:
|
|
3968
4026
|
return describeBuiltInComponentFrame("Suspense");
|
|
4027
|
+
case REACT_VIEW_TRANSITION_TYPE:
|
|
4028
|
+
return describeBuiltInComponentFrame("ViewTransition");
|
|
3969
4029
|
}
|
|
3970
4030
|
return "";
|
|
3971
4031
|
}
|
|
4032
|
+
function getViewTransitionClassName(defaultClass, eventClass) {
|
|
4033
|
+
defaultClass =
|
|
4034
|
+
null == defaultClass || "string" === typeof defaultClass
|
|
4035
|
+
? defaultClass
|
|
4036
|
+
: defaultClass.default;
|
|
4037
|
+
eventClass =
|
|
4038
|
+
null == eventClass || "string" === typeof eventClass
|
|
4039
|
+
? eventClass
|
|
4040
|
+
: eventClass.default;
|
|
4041
|
+
return null == eventClass
|
|
4042
|
+
? "auto" === defaultClass
|
|
4043
|
+
? null
|
|
4044
|
+
: defaultClass
|
|
4045
|
+
: "auto" === eventClass
|
|
4046
|
+
? null
|
|
4047
|
+
: eventClass;
|
|
4048
|
+
}
|
|
3972
4049
|
function isEligibleForOutlining(request, boundary) {
|
|
3973
4050
|
return (
|
|
3974
4051
|
(500 < boundary.byteSize || hasSuspenseyContent(boundary.contentState)) &&
|
|
@@ -4704,109 +4781,139 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4704
4781
|
void 0 === newProps[propName$44] &&
|
|
4705
4782
|
(newProps[propName$44] = defaultProps[propName$44]);
|
|
4706
4783
|
}
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
"object" === typeof
|
|
4711
|
-
null !==
|
|
4712
|
-
(
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4784
|
+
var JSCompiler_inline_result = newProps;
|
|
4785
|
+
var context = emptyContextObject,
|
|
4786
|
+
contextType = type.contextType;
|
|
4787
|
+
"object" === typeof contextType &&
|
|
4788
|
+
null !== contextType &&
|
|
4789
|
+
(context = contextType._currentValue);
|
|
4790
|
+
var JSCompiler_inline_result$jscomp$0 = new type(
|
|
4791
|
+
JSCompiler_inline_result,
|
|
4792
|
+
context
|
|
4793
|
+
);
|
|
4794
|
+
var initialState =
|
|
4795
|
+
void 0 !== JSCompiler_inline_result$jscomp$0.state
|
|
4796
|
+
? JSCompiler_inline_result$jscomp$0.state
|
|
4797
|
+
: null;
|
|
4798
|
+
JSCompiler_inline_result$jscomp$0.updater = classComponentUpdater;
|
|
4799
|
+
JSCompiler_inline_result$jscomp$0.props = JSCompiler_inline_result;
|
|
4800
|
+
JSCompiler_inline_result$jscomp$0.state = initialState;
|
|
4801
|
+
var internalInstance = { queue: [], replace: !1 };
|
|
4802
|
+
JSCompiler_inline_result$jscomp$0._reactInternals = internalInstance;
|
|
4803
|
+
var contextType$jscomp$0 = type.contextType;
|
|
4804
|
+
JSCompiler_inline_result$jscomp$0.context =
|
|
4805
|
+
"object" === typeof contextType$jscomp$0 &&
|
|
4806
|
+
null !== contextType$jscomp$0
|
|
4807
|
+
? contextType$jscomp$0._currentValue
|
|
4724
4808
|
: emptyContextObject;
|
|
4725
|
-
|
|
4726
|
-
"function" === typeof
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4809
|
+
var getDerivedStateFromProps = type.getDerivedStateFromProps;
|
|
4810
|
+
if ("function" === typeof getDerivedStateFromProps) {
|
|
4811
|
+
var partialState = getDerivedStateFromProps(
|
|
4812
|
+
JSCompiler_inline_result,
|
|
4813
|
+
initialState
|
|
4814
|
+
);
|
|
4815
|
+
var JSCompiler_inline_result$jscomp$1 =
|
|
4816
|
+
null === partialState || void 0 === partialState
|
|
4730
4817
|
? initialState
|
|
4731
|
-
: assign({}, initialState,
|
|
4732
|
-
|
|
4818
|
+
: assign({}, initialState, partialState);
|
|
4819
|
+
JSCompiler_inline_result$jscomp$0.state =
|
|
4820
|
+
JSCompiler_inline_result$jscomp$1;
|
|
4821
|
+
}
|
|
4733
4822
|
if (
|
|
4734
4823
|
"function" !== typeof type.getDerivedStateFromProps &&
|
|
4735
|
-
"function" !==
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4824
|
+
"function" !==
|
|
4825
|
+
typeof JSCompiler_inline_result$jscomp$0.getSnapshotBeforeUpdate &&
|
|
4826
|
+
("function" ===
|
|
4827
|
+
typeof JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount ||
|
|
4828
|
+
"function" ===
|
|
4829
|
+
typeof JSCompiler_inline_result$jscomp$0.componentWillMount)
|
|
4830
|
+
) {
|
|
4831
|
+
var oldState = JSCompiler_inline_result$jscomp$0.state;
|
|
4832
|
+
"function" ===
|
|
4833
|
+
typeof JSCompiler_inline_result$jscomp$0.componentWillMount &&
|
|
4834
|
+
JSCompiler_inline_result$jscomp$0.componentWillMount();
|
|
4835
|
+
"function" ===
|
|
4836
|
+
typeof JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount &&
|
|
4837
|
+
JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount();
|
|
4838
|
+
oldState !== JSCompiler_inline_result$jscomp$0.state &&
|
|
4839
|
+
classComponentUpdater.enqueueReplaceState(
|
|
4840
|
+
JSCompiler_inline_result$jscomp$0,
|
|
4841
|
+
JSCompiler_inline_result$jscomp$0.state,
|
|
4842
|
+
null
|
|
4843
|
+
);
|
|
4739
4844
|
if (
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
null
|
|
4750
|
-
),
|
|
4751
|
-
null !== defaultProps.queue && 0 < defaultProps.queue.length)
|
|
4752
|
-
)
|
|
4753
|
-
if (
|
|
4754
|
-
((type = defaultProps.queue),
|
|
4755
|
-
(ref = defaultProps.replace),
|
|
4756
|
-
(defaultProps.queue = null),
|
|
4757
|
-
(defaultProps.replace = !1),
|
|
4758
|
-
ref && 1 === type.length)
|
|
4759
|
-
)
|
|
4760
|
-
newProps.state = type[0];
|
|
4845
|
+
null !== internalInstance.queue &&
|
|
4846
|
+
0 < internalInstance.queue.length
|
|
4847
|
+
) {
|
|
4848
|
+
var oldQueue = internalInstance.queue,
|
|
4849
|
+
oldReplace = internalInstance.replace;
|
|
4850
|
+
internalInstance.queue = null;
|
|
4851
|
+
internalInstance.replace = !1;
|
|
4852
|
+
if (oldReplace && 1 === oldQueue.length)
|
|
4853
|
+
JSCompiler_inline_result$jscomp$0.state = oldQueue[0];
|
|
4761
4854
|
else {
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4855
|
+
for (
|
|
4856
|
+
var nextState = oldReplace
|
|
4857
|
+
? oldQueue[0]
|
|
4858
|
+
: JSCompiler_inline_result$jscomp$0.state,
|
|
4859
|
+
dontMutate = !0,
|
|
4860
|
+
i = oldReplace ? 1 : 0;
|
|
4861
|
+
i < oldQueue.length;
|
|
4862
|
+
i++
|
|
4863
|
+
) {
|
|
4864
|
+
var partial = oldQueue[i],
|
|
4865
|
+
partialState$jscomp$0 =
|
|
4866
|
+
"function" === typeof partial
|
|
4867
|
+
? partial.call(
|
|
4868
|
+
JSCompiler_inline_result$jscomp$0,
|
|
4869
|
+
nextState,
|
|
4870
|
+
JSCompiler_inline_result,
|
|
4871
|
+
void 0
|
|
4872
|
+
)
|
|
4873
|
+
: partial;
|
|
4874
|
+
null != partialState$jscomp$0 &&
|
|
4875
|
+
(dontMutate
|
|
4876
|
+
? ((dontMutate = !1),
|
|
4877
|
+
(nextState = assign({}, nextState, partialState$jscomp$0)))
|
|
4878
|
+
: assign(nextState, partialState$jscomp$0));
|
|
4879
|
+
}
|
|
4880
|
+
JSCompiler_inline_result$jscomp$0.state = nextState;
|
|
4776
4881
|
}
|
|
4777
|
-
else
|
|
4778
|
-
|
|
4882
|
+
} else internalInstance.queue = null;
|
|
4883
|
+
}
|
|
4884
|
+
var nextChildren = JSCompiler_inline_result$jscomp$0.render();
|
|
4779
4885
|
if (12 === request.status) throw null;
|
|
4780
|
-
|
|
4886
|
+
var prevKeyPath = task.keyPath;
|
|
4781
4887
|
task.keyPath = keyPath;
|
|
4782
|
-
renderNodeDestructive(request, task,
|
|
4783
|
-
task.keyPath =
|
|
4888
|
+
renderNodeDestructive(request, task, nextChildren, -1);
|
|
4889
|
+
task.keyPath = prevKeyPath;
|
|
4784
4890
|
} else {
|
|
4785
|
-
|
|
4891
|
+
var value = renderWithHooks(request, task, keyPath, type, props, void 0);
|
|
4786
4892
|
if (12 === request.status) throw null;
|
|
4787
4893
|
finishFunctionComponent(
|
|
4788
4894
|
request,
|
|
4789
4895
|
task,
|
|
4790
4896
|
keyPath,
|
|
4791
|
-
|
|
4897
|
+
value,
|
|
4792
4898
|
0 !== localIdCounter,
|
|
4793
4899
|
actionStateCounter,
|
|
4794
4900
|
actionStateMatchingIndex
|
|
4795
4901
|
);
|
|
4796
4902
|
}
|
|
4797
|
-
else if ("string" === typeof type)
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4903
|
+
else if ("string" === typeof type) {
|
|
4904
|
+
var segment = task.blockedSegment;
|
|
4905
|
+
if (null === segment) {
|
|
4906
|
+
var children = props.children,
|
|
4907
|
+
prevContext = task.formatContext,
|
|
4908
|
+
prevKeyPath$jscomp$0 = task.keyPath;
|
|
4909
|
+
task.formatContext = getChildFormatContext(prevContext, type, props);
|
|
4910
|
+
task.keyPath = keyPath;
|
|
4911
|
+
renderNode(request, task, children, -1);
|
|
4912
|
+
task.formatContext = prevContext;
|
|
4913
|
+
task.keyPath = prevKeyPath$jscomp$0;
|
|
4914
|
+
} else {
|
|
4915
|
+
var children$41 = pushStartInstance(
|
|
4916
|
+
segment.chunks,
|
|
4810
4917
|
type,
|
|
4811
4918
|
props,
|
|
4812
4919
|
request.resumableState,
|
|
@@ -4814,18 +4921,21 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4814
4921
|
task.blockedPreamble,
|
|
4815
4922
|
task.hoistableState,
|
|
4816
4923
|
task.formatContext,
|
|
4817
|
-
|
|
4924
|
+
segment.lastPushedText
|
|
4818
4925
|
);
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4926
|
+
segment.lastPushedText = !1;
|
|
4927
|
+
var prevContext$42 = task.formatContext,
|
|
4928
|
+
prevKeyPath$43 = task.keyPath;
|
|
4822
4929
|
task.keyPath = keyPath;
|
|
4823
4930
|
if (
|
|
4824
4931
|
3 ===
|
|
4825
|
-
(task.formatContext = getChildFormatContext(
|
|
4826
|
-
|
|
4932
|
+
(task.formatContext = getChildFormatContext(
|
|
4933
|
+
prevContext$42,
|
|
4934
|
+
type,
|
|
4935
|
+
props
|
|
4936
|
+
)).insertionMode
|
|
4827
4937
|
) {
|
|
4828
|
-
|
|
4938
|
+
var preambleSegment = createPendingSegment(
|
|
4829
4939
|
request,
|
|
4830
4940
|
0,
|
|
4831
4941
|
null,
|
|
@@ -4833,25 +4943,25 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4833
4943
|
!1,
|
|
4834
4944
|
!1
|
|
4835
4945
|
);
|
|
4836
|
-
|
|
4837
|
-
task.blockedSegment =
|
|
4946
|
+
segment.preambleChildren.push(preambleSegment);
|
|
4947
|
+
task.blockedSegment = preambleSegment;
|
|
4838
4948
|
try {
|
|
4839
|
-
(
|
|
4840
|
-
renderNode(request, task,
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
(
|
|
4845
|
-
finishedSegment(request, task.blockedBoundary,
|
|
4949
|
+
(preambleSegment.status = 6),
|
|
4950
|
+
renderNode(request, task, children$41, -1),
|
|
4951
|
+
preambleSegment.lastPushedText &&
|
|
4952
|
+
preambleSegment.textEmbedded &&
|
|
4953
|
+
preambleSegment.chunks.push(textSeparator),
|
|
4954
|
+
(preambleSegment.status = 1),
|
|
4955
|
+
finishedSegment(request, task.blockedBoundary, preambleSegment);
|
|
4846
4956
|
} finally {
|
|
4847
|
-
task.blockedSegment =
|
|
4957
|
+
task.blockedSegment = segment;
|
|
4848
4958
|
}
|
|
4849
|
-
} else renderNode(request, task,
|
|
4850
|
-
task.formatContext =
|
|
4851
|
-
task.keyPath =
|
|
4959
|
+
} else renderNode(request, task, children$41, -1);
|
|
4960
|
+
task.formatContext = prevContext$42;
|
|
4961
|
+
task.keyPath = prevKeyPath$43;
|
|
4852
4962
|
a: {
|
|
4853
|
-
|
|
4854
|
-
|
|
4963
|
+
var target = segment.chunks,
|
|
4964
|
+
resumableState = request.resumableState;
|
|
4855
4965
|
switch (type) {
|
|
4856
4966
|
case "title":
|
|
4857
4967
|
case "style":
|
|
@@ -4873,131 +4983,221 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
4873
4983
|
case "wbr":
|
|
4874
4984
|
break a;
|
|
4875
4985
|
case "body":
|
|
4876
|
-
if (1 >=
|
|
4877
|
-
|
|
4986
|
+
if (1 >= prevContext$42.insertionMode) {
|
|
4987
|
+
resumableState.hasBody = !0;
|
|
4878
4988
|
break a;
|
|
4879
4989
|
}
|
|
4880
4990
|
break;
|
|
4881
4991
|
case "html":
|
|
4882
|
-
if (0 ===
|
|
4883
|
-
|
|
4992
|
+
if (0 === prevContext$42.insertionMode) {
|
|
4993
|
+
resumableState.hasHtml = !0;
|
|
4884
4994
|
break a;
|
|
4885
4995
|
}
|
|
4886
4996
|
break;
|
|
4887
4997
|
case "head":
|
|
4888
|
-
if (1 >=
|
|
4998
|
+
if (1 >= prevContext$42.insertionMode) break a;
|
|
4889
4999
|
}
|
|
4890
|
-
|
|
5000
|
+
target.push(endChunkForTag(type));
|
|
4891
5001
|
}
|
|
4892
|
-
|
|
5002
|
+
segment.lastPushedText = !1;
|
|
4893
5003
|
}
|
|
4894
|
-
else {
|
|
5004
|
+
} else {
|
|
4895
5005
|
switch (type) {
|
|
4896
5006
|
case REACT_LEGACY_HIDDEN_TYPE:
|
|
4897
5007
|
case REACT_STRICT_MODE_TYPE:
|
|
4898
5008
|
case REACT_PROFILER_TYPE:
|
|
4899
5009
|
case REACT_FRAGMENT_TYPE:
|
|
4900
|
-
|
|
5010
|
+
var prevKeyPath$jscomp$1 = task.keyPath;
|
|
4901
5011
|
task.keyPath = keyPath;
|
|
4902
5012
|
renderNodeDestructive(request, task, props.children, -1);
|
|
4903
|
-
task.keyPath =
|
|
5013
|
+
task.keyPath = prevKeyPath$jscomp$1;
|
|
4904
5014
|
return;
|
|
4905
5015
|
case REACT_ACTIVITY_TYPE:
|
|
4906
|
-
|
|
4907
|
-
null ===
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
renderNode(request, task, props.children, -1)
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
5016
|
+
var segment$jscomp$0 = task.blockedSegment;
|
|
5017
|
+
if (null === segment$jscomp$0) {
|
|
5018
|
+
if ("hidden" !== props.mode) {
|
|
5019
|
+
var prevKeyPath$jscomp$2 = task.keyPath;
|
|
5020
|
+
task.keyPath = keyPath;
|
|
5021
|
+
renderNode(request, task, props.children, -1);
|
|
5022
|
+
task.keyPath = prevKeyPath$jscomp$2;
|
|
5023
|
+
}
|
|
5024
|
+
} else if ("hidden" !== props.mode) {
|
|
5025
|
+
segment$jscomp$0.chunks.push(startActivityBoundary);
|
|
5026
|
+
segment$jscomp$0.lastPushedText = !1;
|
|
5027
|
+
var prevKeyPath$46 = task.keyPath;
|
|
5028
|
+
task.keyPath = keyPath;
|
|
5029
|
+
renderNode(request, task, props.children, -1);
|
|
5030
|
+
task.keyPath = prevKeyPath$46;
|
|
5031
|
+
segment$jscomp$0.chunks.push(endActivityBoundary);
|
|
5032
|
+
segment$jscomp$0.lastPushedText = !1;
|
|
5033
|
+
}
|
|
4922
5034
|
return;
|
|
4923
5035
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
4924
5036
|
a: {
|
|
4925
|
-
|
|
4926
|
-
|
|
5037
|
+
var children$jscomp$0 = props.children,
|
|
5038
|
+
revealOrder = props.revealOrder;
|
|
4927
5039
|
if (
|
|
4928
|
-
"forwards" ===
|
|
4929
|
-
"backwards" ===
|
|
4930
|
-
"unstable_legacy-backwards" ===
|
|
5040
|
+
"forwards" === revealOrder ||
|
|
5041
|
+
"backwards" === revealOrder ||
|
|
5042
|
+
"unstable_legacy-backwards" === revealOrder
|
|
4931
5043
|
) {
|
|
4932
|
-
if (isArrayImpl(
|
|
4933
|
-
renderSuspenseListRows(
|
|
5044
|
+
if (isArrayImpl(children$jscomp$0)) {
|
|
5045
|
+
renderSuspenseListRows(
|
|
5046
|
+
request,
|
|
5047
|
+
task,
|
|
5048
|
+
keyPath,
|
|
5049
|
+
children$jscomp$0,
|
|
5050
|
+
revealOrder
|
|
5051
|
+
);
|
|
4934
5052
|
break a;
|
|
4935
5053
|
}
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
5054
|
+
var iteratorFn = getIteratorFn(children$jscomp$0);
|
|
5055
|
+
if (iteratorFn) {
|
|
5056
|
+
var iterator = iteratorFn.call(children$jscomp$0);
|
|
5057
|
+
if (iterator) {
|
|
5058
|
+
var step = iterator.next();
|
|
5059
|
+
if (!step.done) {
|
|
5060
|
+
do step = iterator.next();
|
|
5061
|
+
while (!step.done);
|
|
5062
|
+
renderSuspenseListRows(
|
|
5063
|
+
request,
|
|
5064
|
+
task,
|
|
5065
|
+
keyPath,
|
|
5066
|
+
children$jscomp$0,
|
|
5067
|
+
revealOrder
|
|
5068
|
+
);
|
|
4943
5069
|
}
|
|
4944
5070
|
break a;
|
|
4945
5071
|
}
|
|
5072
|
+
}
|
|
5073
|
+
}
|
|
5074
|
+
if ("together" === revealOrder) {
|
|
5075
|
+
var prevKeyPath$40 = task.keyPath,
|
|
5076
|
+
prevRow = task.row,
|
|
5077
|
+
newRow = (task.row = createSuspenseListRow(null));
|
|
5078
|
+
newRow.boundaries = [];
|
|
5079
|
+
newRow.together = !0;
|
|
5080
|
+
task.keyPath = keyPath;
|
|
5081
|
+
renderNodeDestructive(request, task, children$jscomp$0, -1);
|
|
5082
|
+
0 === --newRow.pendingTasks &&
|
|
5083
|
+
finishSuspenseListRow(request, newRow);
|
|
5084
|
+
task.keyPath = prevKeyPath$40;
|
|
5085
|
+
task.row = prevRow;
|
|
5086
|
+
null !== prevRow &&
|
|
5087
|
+
0 < newRow.pendingTasks &&
|
|
5088
|
+
(prevRow.pendingTasks++, (newRow.next = prevRow));
|
|
5089
|
+
} else {
|
|
5090
|
+
var prevKeyPath$jscomp$3 = task.keyPath;
|
|
5091
|
+
task.keyPath = keyPath;
|
|
5092
|
+
renderNodeDestructive(request, task, children$jscomp$0, -1);
|
|
5093
|
+
task.keyPath = prevKeyPath$jscomp$3;
|
|
4946
5094
|
}
|
|
4947
|
-
"together" === props
|
|
4948
|
-
? ((props = task.keyPath),
|
|
4949
|
-
(newProps = task.row),
|
|
4950
|
-
(defaultProps = task.row = createSuspenseListRow(null)),
|
|
4951
|
-
(defaultProps.boundaries = []),
|
|
4952
|
-
(defaultProps.together = !0),
|
|
4953
|
-
(task.keyPath = keyPath),
|
|
4954
|
-
renderNodeDestructive(request, task, type, -1),
|
|
4955
|
-
0 === --defaultProps.pendingTasks &&
|
|
4956
|
-
finishSuspenseListRow(request, defaultProps),
|
|
4957
|
-
(task.keyPath = props),
|
|
4958
|
-
(task.row = newProps),
|
|
4959
|
-
null !== newProps &&
|
|
4960
|
-
0 < defaultProps.pendingTasks &&
|
|
4961
|
-
(newProps.pendingTasks++, (defaultProps.next = newProps)))
|
|
4962
|
-
: ((props = task.keyPath),
|
|
4963
|
-
(task.keyPath = keyPath),
|
|
4964
|
-
renderNodeDestructive(request, task, type, -1),
|
|
4965
|
-
(task.keyPath = props));
|
|
4966
5095
|
}
|
|
4967
5096
|
return;
|
|
4968
5097
|
case REACT_VIEW_TRANSITION_TYPE:
|
|
5098
|
+
var prevContext$jscomp$0 = task.formatContext,
|
|
5099
|
+
prevKeyPath$jscomp$4 = task.keyPath;
|
|
5100
|
+
var resumableState$jscomp$0 = request.resumableState;
|
|
5101
|
+
if (null != props.name && "auto" !== props.name)
|
|
5102
|
+
var JSCompiler_inline_result$jscomp$2 = props.name;
|
|
5103
|
+
else {
|
|
5104
|
+
var treeId = getTreeId(task.treeContext);
|
|
5105
|
+
JSCompiler_inline_result$jscomp$2 = makeId(
|
|
5106
|
+
resumableState$jscomp$0,
|
|
5107
|
+
treeId,
|
|
5108
|
+
0
|
|
5109
|
+
);
|
|
5110
|
+
}
|
|
5111
|
+
var autoName = JSCompiler_inline_result$jscomp$2,
|
|
5112
|
+
resumableState$jscomp$1 = request.resumableState,
|
|
5113
|
+
update = getViewTransitionClassName(props.default, props.update),
|
|
5114
|
+
enter = getViewTransitionClassName(props.default, props.enter),
|
|
5115
|
+
exit = getViewTransitionClassName(props.default, props.exit),
|
|
5116
|
+
share = getViewTransitionClassName(props.default, props.share),
|
|
5117
|
+
name = props.name;
|
|
5118
|
+
null == update && (update = "auto");
|
|
5119
|
+
null == enter && (enter = "auto");
|
|
5120
|
+
null == exit && (exit = "auto");
|
|
5121
|
+
if (null == name) {
|
|
5122
|
+
var parentViewTransition = prevContext$jscomp$0.viewTransition;
|
|
5123
|
+
null !== parentViewTransition
|
|
5124
|
+
? ((name = parentViewTransition.name),
|
|
5125
|
+
(share = parentViewTransition.share))
|
|
5126
|
+
: ((name = "auto"), (share = "none"));
|
|
5127
|
+
} else
|
|
5128
|
+
null == share && (share = "auto"),
|
|
5129
|
+
prevContext$jscomp$0.tagScope & 4 &&
|
|
5130
|
+
(resumableState$jscomp$1.instructions |= 128);
|
|
5131
|
+
prevContext$jscomp$0.tagScope & 8
|
|
5132
|
+
? (resumableState$jscomp$1.instructions |= 128)
|
|
5133
|
+
: (exit = "none");
|
|
5134
|
+
prevContext$jscomp$0.tagScope & 16
|
|
5135
|
+
? (resumableState$jscomp$1.instructions |= 128)
|
|
5136
|
+
: (enter = "none");
|
|
5137
|
+
var viewTransition = {
|
|
5138
|
+
update: update,
|
|
5139
|
+
enter: enter,
|
|
5140
|
+
exit: exit,
|
|
5141
|
+
share: share,
|
|
5142
|
+
name: name,
|
|
5143
|
+
autoName: autoName,
|
|
5144
|
+
nameIdx: 0
|
|
5145
|
+
},
|
|
5146
|
+
subtreeScope = prevContext$jscomp$0.tagScope & -25;
|
|
5147
|
+
subtreeScope =
|
|
5148
|
+
"none" !== update ? subtreeScope | 32 : subtreeScope & -33;
|
|
5149
|
+
"none" !== enter && (subtreeScope |= 64);
|
|
5150
|
+
var JSCompiler_inline_result$jscomp$3 = createFormatContext(
|
|
5151
|
+
prevContext$jscomp$0.insertionMode,
|
|
5152
|
+
prevContext$jscomp$0.selectedValue,
|
|
5153
|
+
subtreeScope,
|
|
5154
|
+
viewTransition
|
|
5155
|
+
);
|
|
5156
|
+
task.formatContext = JSCompiler_inline_result$jscomp$3;
|
|
5157
|
+
task.keyPath = keyPath;
|
|
5158
|
+
if (null != props.name && "auto" !== props.name)
|
|
5159
|
+
renderNodeDestructive(request, task, props.children, -1);
|
|
5160
|
+
else {
|
|
5161
|
+
var prevTreeContext = task.treeContext;
|
|
5162
|
+
task.treeContext = pushTreeContext(prevTreeContext, 1, 0);
|
|
5163
|
+
renderNode(request, task, props.children, -1);
|
|
5164
|
+
task.treeContext = prevTreeContext;
|
|
5165
|
+
}
|
|
5166
|
+
task.formatContext = prevContext$jscomp$0;
|
|
5167
|
+
task.keyPath = prevKeyPath$jscomp$4;
|
|
5168
|
+
return;
|
|
4969
5169
|
case REACT_SCOPE_TYPE:
|
|
4970
5170
|
throw Error("ReactDOMServer does not yet support scope components.");
|
|
4971
5171
|
case REACT_SUSPENSE_TYPE:
|
|
4972
5172
|
a: if (null !== task.replay) {
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
5173
|
+
var prevKeyPath$27 = task.keyPath,
|
|
5174
|
+
prevContext$28 = task.formatContext,
|
|
5175
|
+
prevRow$29 = task.row;
|
|
4976
5176
|
task.keyPath = keyPath;
|
|
4977
5177
|
task.formatContext = getSuspenseContentFormatContext(
|
|
4978
5178
|
request.resumableState,
|
|
4979
|
-
|
|
5179
|
+
prevContext$28
|
|
4980
5180
|
);
|
|
4981
5181
|
task.row = null;
|
|
4982
|
-
|
|
5182
|
+
var content$30 = props.children;
|
|
4983
5183
|
try {
|
|
4984
|
-
renderNode(request, task,
|
|
5184
|
+
renderNode(request, task, content$30, -1);
|
|
4985
5185
|
} finally {
|
|
4986
|
-
(task.keyPath =
|
|
4987
|
-
(task.formatContext =
|
|
4988
|
-
(task.row =
|
|
5186
|
+
(task.keyPath = prevKeyPath$27),
|
|
5187
|
+
(task.formatContext = prevContext$28),
|
|
5188
|
+
(task.row = prevRow$29);
|
|
4989
5189
|
}
|
|
4990
5190
|
} else {
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
5191
|
+
var prevKeyPath$jscomp$5 = task.keyPath,
|
|
5192
|
+
prevContext$jscomp$1 = task.formatContext,
|
|
5193
|
+
prevRow$jscomp$0 = task.row,
|
|
5194
|
+
parentBoundary = task.blockedBoundary,
|
|
5195
|
+
parentPreamble = task.blockedPreamble,
|
|
5196
|
+
parentHoistableState = task.hoistableState,
|
|
4997
5197
|
parentSegment = task.blockedSegment,
|
|
4998
|
-
fallback = props.fallback
|
|
4999
|
-
|
|
5000
|
-
|
|
5198
|
+
fallback = props.fallback,
|
|
5199
|
+
content = props.children,
|
|
5200
|
+
fallbackAbortSet = new Set();
|
|
5001
5201
|
var newBoundary =
|
|
5002
5202
|
2 > task.formatContext.insertionMode
|
|
5003
5203
|
? createSuspenseBoundary(
|
|
@@ -5036,20 +5236,30 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5036
5236
|
);
|
|
5037
5237
|
contentRootSegment.parentFlushed = !0;
|
|
5038
5238
|
if (null !== request.trackedPostpones) {
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5239
|
+
var suspenseComponentStack = task.componentStack,
|
|
5240
|
+
fallbackKeyPath = [keyPath[0], "Suspense Fallback", keyPath[2]],
|
|
5241
|
+
fallbackReplayNode = [
|
|
5242
|
+
fallbackKeyPath[1],
|
|
5243
|
+
fallbackKeyPath[2],
|
|
5244
|
+
[],
|
|
5245
|
+
null
|
|
5246
|
+
];
|
|
5247
|
+
request.trackedPostpones.workingMap.set(
|
|
5248
|
+
fallbackKeyPath,
|
|
5249
|
+
fallbackReplayNode
|
|
5250
|
+
);
|
|
5251
|
+
newBoundary.trackedFallbackNode = fallbackReplayNode;
|
|
5044
5252
|
task.blockedSegment = boundarySegment;
|
|
5045
5253
|
task.blockedPreamble = newBoundary.fallbackPreamble;
|
|
5046
|
-
task.keyPath =
|
|
5254
|
+
task.keyPath = fallbackKeyPath;
|
|
5047
5255
|
task.formatContext = getSuspenseFallbackFormatContext(
|
|
5048
5256
|
request.resumableState,
|
|
5049
|
-
|
|
5257
|
+
prevContext$jscomp$1
|
|
5050
5258
|
);
|
|
5051
5259
|
task.componentStack =
|
|
5052
|
-
replaceSuspenseComponentStackWithSuspenseFallbackStack(
|
|
5260
|
+
replaceSuspenseComponentStackWithSuspenseFallbackStack(
|
|
5261
|
+
suspenseComponentStack
|
|
5262
|
+
);
|
|
5053
5263
|
boundarySegment.status = 6;
|
|
5054
5264
|
try {
|
|
5055
5265
|
renderNode(request, task, fallback, -1),
|
|
@@ -5057,7 +5267,7 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5057
5267
|
boundarySegment.textEmbedded &&
|
|
5058
5268
|
boundarySegment.chunks.push(textSeparator),
|
|
5059
5269
|
(boundarySegment.status = 1),
|
|
5060
|
-
finishedSegment(request,
|
|
5270
|
+
finishedSegment(request, parentBoundary, boundarySegment);
|
|
5061
5271
|
} catch (thrownValue) {
|
|
5062
5272
|
throw (
|
|
5063
5273
|
((boundarySegment.status = 12 === request.status ? 3 : 4),
|
|
@@ -5065,14 +5275,14 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5065
5275
|
);
|
|
5066
5276
|
} finally {
|
|
5067
5277
|
(task.blockedSegment = parentSegment),
|
|
5068
|
-
(task.blockedPreamble =
|
|
5069
|
-
(task.keyPath =
|
|
5070
|
-
(task.formatContext =
|
|
5278
|
+
(task.blockedPreamble = parentPreamble),
|
|
5279
|
+
(task.keyPath = prevKeyPath$jscomp$5),
|
|
5280
|
+
(task.formatContext = prevContext$jscomp$1);
|
|
5071
5281
|
}
|
|
5072
|
-
|
|
5282
|
+
var suspendedPrimaryTask = createRenderTask(
|
|
5073
5283
|
request,
|
|
5074
5284
|
null,
|
|
5075
|
-
|
|
5285
|
+
content,
|
|
5076
5286
|
-1,
|
|
5077
5287
|
newBoundary,
|
|
5078
5288
|
contentRootSegment,
|
|
@@ -5087,10 +5297,10 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5087
5297
|
task.context,
|
|
5088
5298
|
task.treeContext,
|
|
5089
5299
|
null,
|
|
5090
|
-
|
|
5300
|
+
suspenseComponentStack
|
|
5091
5301
|
);
|
|
5092
|
-
pushComponentStack(
|
|
5093
|
-
request.pingedTasks.push(
|
|
5302
|
+
pushComponentStack(suspendedPrimaryTask);
|
|
5303
|
+
request.pingedTasks.push(suspendedPrimaryTask);
|
|
5094
5304
|
} else {
|
|
5095
5305
|
task.blockedBoundary = newBoundary;
|
|
5096
5306
|
task.blockedPreamble = newBoundary.contentPreamble;
|
|
@@ -5099,13 +5309,13 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5099
5309
|
task.keyPath = keyPath;
|
|
5100
5310
|
task.formatContext = getSuspenseContentFormatContext(
|
|
5101
5311
|
request.resumableState,
|
|
5102
|
-
|
|
5312
|
+
prevContext$jscomp$1
|
|
5103
5313
|
);
|
|
5104
5314
|
task.row = null;
|
|
5105
5315
|
contentRootSegment.status = 6;
|
|
5106
5316
|
try {
|
|
5107
5317
|
if (
|
|
5108
|
-
(renderNode(request, task,
|
|
5318
|
+
(renderNode(request, task, content, -1),
|
|
5109
5319
|
contentRootSegment.lastPushedText &&
|
|
5110
5320
|
contentRootSegment.textEmbedded &&
|
|
5111
5321
|
contentRootSegment.chunks.push(textSeparator),
|
|
@@ -5118,48 +5328,43 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5118
5328
|
((newBoundary.status = 1),
|
|
5119
5329
|
!isEligibleForOutlining(request, newBoundary))
|
|
5120
5330
|
) {
|
|
5121
|
-
null !== prevRow &&
|
|
5122
|
-
0 === --prevRow.pendingTasks &&
|
|
5123
|
-
finishSuspenseListRow(request, prevRow);
|
|
5331
|
+
null !== prevRow$jscomp$0 &&
|
|
5332
|
+
0 === --prevRow$jscomp$0.pendingTasks &&
|
|
5333
|
+
finishSuspenseListRow(request, prevRow$jscomp$0);
|
|
5124
5334
|
0 === request.pendingRootTasks &&
|
|
5125
5335
|
task.blockedPreamble &&
|
|
5126
5336
|
preparePreamble(request);
|
|
5127
5337
|
break a;
|
|
5128
5338
|
}
|
|
5129
5339
|
} else
|
|
5130
|
-
null !== prevRow &&
|
|
5131
|
-
prevRow.together &&
|
|
5132
|
-
tryToResolveTogetherRow(request, prevRow);
|
|
5340
|
+
null !== prevRow$jscomp$0 &&
|
|
5341
|
+
prevRow$jscomp$0.together &&
|
|
5342
|
+
tryToResolveTogetherRow(request, prevRow$jscomp$0);
|
|
5133
5343
|
} catch (thrownValue$31) {
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
newProps,
|
|
5144
|
-
defaultProps
|
|
5145
|
-
)),
|
|
5146
|
-
(newBoundary.errorDigest = initialState),
|
|
5147
|
-
untrackBoundary(request, newBoundary);
|
|
5344
|
+
newBoundary.status = 4;
|
|
5345
|
+
if (12 === request.status) {
|
|
5346
|
+
contentRootSegment.status = 3;
|
|
5347
|
+
var error = request.fatalError;
|
|
5348
|
+
} else (contentRootSegment.status = 4), (error = thrownValue$31);
|
|
5349
|
+
var thrownInfo = getThrownInfo(task.componentStack);
|
|
5350
|
+
var errorDigest = logRecoverableError(request, error, thrownInfo);
|
|
5351
|
+
newBoundary.errorDigest = errorDigest;
|
|
5352
|
+
untrackBoundary(request, newBoundary);
|
|
5148
5353
|
} finally {
|
|
5149
|
-
(task.blockedBoundary =
|
|
5150
|
-
(task.blockedPreamble =
|
|
5354
|
+
(task.blockedBoundary = parentBoundary),
|
|
5355
|
+
(task.blockedPreamble = parentPreamble),
|
|
5151
5356
|
(task.hoistableState = parentHoistableState),
|
|
5152
5357
|
(task.blockedSegment = parentSegment),
|
|
5153
|
-
(task.keyPath =
|
|
5154
|
-
(task.formatContext =
|
|
5155
|
-
(task.row = prevRow);
|
|
5358
|
+
(task.keyPath = prevKeyPath$jscomp$5),
|
|
5359
|
+
(task.formatContext = prevContext$jscomp$1),
|
|
5360
|
+
(task.row = prevRow$jscomp$0);
|
|
5156
5361
|
}
|
|
5157
|
-
|
|
5362
|
+
var suspendedFallbackTask = createRenderTask(
|
|
5158
5363
|
request,
|
|
5159
5364
|
null,
|
|
5160
5365
|
fallback,
|
|
5161
5366
|
-1,
|
|
5162
|
-
|
|
5367
|
+
parentBoundary,
|
|
5163
5368
|
boundarySegment,
|
|
5164
5369
|
newBoundary.fallbackPreamble,
|
|
5165
5370
|
newBoundary.fallbackState,
|
|
@@ -5176,8 +5381,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5176
5381
|
task.componentStack
|
|
5177
5382
|
)
|
|
5178
5383
|
);
|
|
5179
|
-
pushComponentStack(
|
|
5180
|
-
request.pingedTasks.push(
|
|
5384
|
+
pushComponentStack(suspendedFallbackTask);
|
|
5385
|
+
request.pingedTasks.push(suspendedFallbackTask);
|
|
5181
5386
|
}
|
|
5182
5387
|
}
|
|
5183
5388
|
return;
|
|
@@ -5185,24 +5390,24 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5185
5390
|
if ("object" === typeof type && null !== type)
|
|
5186
5391
|
switch (type.$$typeof) {
|
|
5187
5392
|
case REACT_FORWARD_REF_TYPE:
|
|
5188
|
-
if ("ref" in props)
|
|
5189
|
-
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
else
|
|
5193
|
-
|
|
5393
|
+
if ("ref" in props) {
|
|
5394
|
+
var propsWithoutRef = {};
|
|
5395
|
+
for (var key in props)
|
|
5396
|
+
"ref" !== key && (propsWithoutRef[key] = props[key]);
|
|
5397
|
+
} else propsWithoutRef = props;
|
|
5398
|
+
var children$jscomp$1 = renderWithHooks(
|
|
5194
5399
|
request,
|
|
5195
5400
|
task,
|
|
5196
5401
|
keyPath,
|
|
5197
5402
|
type.render,
|
|
5198
|
-
|
|
5403
|
+
propsWithoutRef,
|
|
5199
5404
|
ref
|
|
5200
5405
|
);
|
|
5201
5406
|
finishFunctionComponent(
|
|
5202
5407
|
request,
|
|
5203
5408
|
task,
|
|
5204
5409
|
keyPath,
|
|
5205
|
-
|
|
5410
|
+
children$jscomp$1,
|
|
5206
5411
|
0 !== localIdCounter,
|
|
5207
5412
|
actionStateCounter,
|
|
5208
5413
|
actionStateMatchingIndex
|
|
@@ -5212,45 +5417,47 @@ function renderElement(request, task, keyPath, type, props, ref) {
|
|
|
5212
5417
|
renderElement(request, task, keyPath, type.type, props, ref);
|
|
5213
5418
|
return;
|
|
5214
5419
|
case REACT_CONTEXT_TYPE:
|
|
5215
|
-
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
type._currentValue =
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5228
|
-
|
|
5420
|
+
var children$jscomp$2 = props.children,
|
|
5421
|
+
prevKeyPath$jscomp$6 = task.keyPath,
|
|
5422
|
+
nextValue = props.value;
|
|
5423
|
+
var prevValue = type._currentValue;
|
|
5424
|
+
type._currentValue = nextValue;
|
|
5425
|
+
var prevNode = currentActiveSnapshot,
|
|
5426
|
+
newNode = {
|
|
5427
|
+
parent: prevNode,
|
|
5428
|
+
depth: null === prevNode ? 0 : prevNode.depth + 1,
|
|
5429
|
+
context: type,
|
|
5430
|
+
parentValue: prevValue,
|
|
5431
|
+
value: nextValue
|
|
5432
|
+
};
|
|
5433
|
+
currentActiveSnapshot = newNode;
|
|
5434
|
+
task.context = newNode;
|
|
5229
5435
|
task.keyPath = keyPath;
|
|
5230
|
-
renderNodeDestructive(request, task,
|
|
5231
|
-
|
|
5232
|
-
if (null ===
|
|
5436
|
+
renderNodeDestructive(request, task, children$jscomp$2, -1);
|
|
5437
|
+
var prevSnapshot = currentActiveSnapshot;
|
|
5438
|
+
if (null === prevSnapshot)
|
|
5233
5439
|
throw Error(
|
|
5234
5440
|
"Tried to pop a Context at the root of the app. This is a bug in React."
|
|
5235
5441
|
);
|
|
5236
|
-
|
|
5237
|
-
|
|
5238
|
-
|
|
5239
|
-
task.
|
|
5442
|
+
prevSnapshot.context._currentValue = prevSnapshot.parentValue;
|
|
5443
|
+
var JSCompiler_inline_result$jscomp$4 = (currentActiveSnapshot =
|
|
5444
|
+
prevSnapshot.parent);
|
|
5445
|
+
task.context = JSCompiler_inline_result$jscomp$4;
|
|
5446
|
+
task.keyPath = prevKeyPath$jscomp$6;
|
|
5240
5447
|
return;
|
|
5241
5448
|
case REACT_CONSUMER_TYPE:
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5449
|
+
var render = props.children,
|
|
5450
|
+
newChildren = render(type._context._currentValue),
|
|
5451
|
+
prevKeyPath$jscomp$7 = task.keyPath;
|
|
5245
5452
|
task.keyPath = keyPath;
|
|
5246
|
-
renderNodeDestructive(request, task,
|
|
5247
|
-
task.keyPath =
|
|
5453
|
+
renderNodeDestructive(request, task, newChildren, -1);
|
|
5454
|
+
task.keyPath = prevKeyPath$jscomp$7;
|
|
5248
5455
|
return;
|
|
5249
5456
|
case REACT_LAZY_TYPE:
|
|
5250
|
-
|
|
5251
|
-
|
|
5457
|
+
var init = type._init;
|
|
5458
|
+
var Component = init(type._payload);
|
|
5252
5459
|
if (12 === request.status) throw null;
|
|
5253
|
-
renderElement(request, task, keyPath,
|
|
5460
|
+
renderElement(request, task, keyPath, Component, props, ref);
|
|
5254
5461
|
return;
|
|
5255
5462
|
}
|
|
5256
5463
|
throw Error(
|
|
@@ -6668,7 +6875,8 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
6668
6875
|
request = request.renderState;
|
|
6669
6876
|
i = boundary.rootSegmentID;
|
|
6670
6877
|
boundary = boundary.contentState;
|
|
6671
|
-
var requiresStyleInsertion = request.stylesToHoist
|
|
6878
|
+
var requiresStyleInsertion = request.stylesToHoist,
|
|
6879
|
+
requiresViewTransitions = 0 !== (completedSegments.instructions & 128);
|
|
6672
6880
|
request.stylesToHoist = !1;
|
|
6673
6881
|
writeChunk(destination, request.startInlineScript);
|
|
6674
6882
|
writeChunk(destination, endOfStartTag);
|
|
@@ -6679,6 +6887,13 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
6679
6887
|
0 === (completedSegments.instructions & 2) &&
|
|
6680
6888
|
((completedSegments.instructions |= 2),
|
|
6681
6889
|
writeChunk(destination, completeBoundaryScriptFunctionOnly)),
|
|
6890
|
+
requiresViewTransitions &&
|
|
6891
|
+
0 === (completedSegments.instructions & 256) &&
|
|
6892
|
+
((completedSegments.instructions |= 256),
|
|
6893
|
+
writeChunk(
|
|
6894
|
+
destination,
|
|
6895
|
+
'$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),\nH=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(B){var z=\ndocument.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=\nperformance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}.bind(null,$RV);'
|
|
6896
|
+
)),
|
|
6682
6897
|
0 === (completedSegments.instructions & 8)
|
|
6683
6898
|
? ((completedSegments.instructions |= 8),
|
|
6684
6899
|
writeChunk(destination, completeBoundaryWithStylesScript1FullPartial))
|
|
@@ -6686,6 +6901,13 @@ function flushCompletedBoundary(request, destination, boundary) {
|
|
|
6686
6901
|
: (0 === (completedSegments.instructions & 2) &&
|
|
6687
6902
|
((completedSegments.instructions |= 2),
|
|
6688
6903
|
writeChunk(destination, completeBoundaryScriptFunctionOnly)),
|
|
6904
|
+
requiresViewTransitions &&
|
|
6905
|
+
0 === (completedSegments.instructions & 256) &&
|
|
6906
|
+
((completedSegments.instructions |= 256),
|
|
6907
|
+
writeChunk(
|
|
6908
|
+
destination,
|
|
6909
|
+
'$RV=function(A,g){function k(a,b){var e=a.getAttribute(b);e&&(b=a.style,l.push(a,b.viewTransitionName,b.viewTransitionClass),"auto"!==e&&(b.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+K++ +"_"),b.viewTransitionName=a,B=!0)}var B=!1,K=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var h=g[f].querySelectorAll("[vt-share]"),d=0;d<h.length;d++){var c=h[d];m.set(c.getAttribute("vt-name"),c)}var u=[];for(h=0;h<g.length;h+=2){var C=g[h],x=C.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){c=C;for(f=0;c;){if(8===c.nodeType){var r=c.data;if("/$"===r)if(0===f)break;else f--;else"$"!==r&&"$?"!==r&&"$~"!==r&&"$!"!==r||f++}else if(1===c.nodeType){d=c;var D=d.getAttribute("vt-name"),y=m.get(D);k(d,y?"vt-share":"vt-exit");y&&(k(y,"vt-share"),m.set(D,null));var E=d.querySelectorAll("[vt-share]");for(d=0;d<E.length;d++){var F=E[d],G=F.getAttribute("vt-name"),\nH=m.get(G);H&&(k(F,"vt-share"),k(H,"vt-share"),m.set(G,null))}}c=c.nextSibling}for(var I=g[h+1],t=I.firstElementChild;t;)null!==m.get(t.getAttribute("vt-name"))&&k(t,"vt-enter"),t=t.nextElementSibling;c=x;do for(var n=c.firstElementChild;n;){var J=n.getAttribute("vt-update");J&&"none"!==J&&!l.includes(n)&&k(n,"vt-update");n=n.nextElementSibling}while((c=c.parentNode)&&1===c.nodeType&&"none"!==c.getAttribute("vt-update"));u.push.apply(u,I.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(B){var z=\ndocument.__reactViewTransition=document.startViewTransition({update:function(){A(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],b={},e=0;e<u.length;b={g:b.g},e++)if(b.g=u[e],!b.g.complete){var p=b.g.getBoundingClientRect();0<p.bottom&&0<p.right&&p.top<window.innerHeight&&p.left<window.innerWidth&&(p=new Promise(function(w){return function(q){w.g.addEventListener("load",q);w.g.addEventListener("error",q)}}(b)),a.push(p))}return Promise.race([Promise.all(a),new Promise(function(w){var q=\nperformance.now();setTimeout(w,2300>q&&2E3<q?2300-q:500)})])},types:[]});z.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var b=l[a],e=b.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===b.getAttribute("style")&&b.removeAttribute("style")}});z.finished.finally(function(){document.__reactViewTransition===z&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}A(g)}.bind(null,$RV);'
|
|
6910
|
+
)),
|
|
6689
6911
|
writeChunk(destination, completeBoundaryScript1Partial));
|
|
6690
6912
|
completedSegments = i.toString(16);
|
|
6691
6913
|
writeChunk(destination, request.boundaryPrefix);
|
|
@@ -7143,11 +7365,11 @@ function getPostponedState(request) {
|
|
|
7143
7365
|
}
|
|
7144
7366
|
function ensureCorrectIsomorphicReactVersion() {
|
|
7145
7367
|
var isomorphicReactPackageVersion = React.version;
|
|
7146
|
-
if ("19.3.0-canary-
|
|
7368
|
+
if ("19.3.0-canary-3025aa39-20251007" !== isomorphicReactPackageVersion)
|
|
7147
7369
|
throw Error(
|
|
7148
7370
|
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
|
|
7149
7371
|
(isomorphicReactPackageVersion +
|
|
7150
|
-
"\n - react-dom: 19.3.0-canary-
|
|
7372
|
+
"\n - react-dom: 19.3.0-canary-3025aa39-20251007\nLearn more: https://react.dev/warnings/version-mismatch")
|
|
7151
7373
|
);
|
|
7152
7374
|
}
|
|
7153
7375
|
ensureCorrectIsomorphicReactVersion();
|
|
@@ -7705,4 +7927,4 @@ exports.resumeToPipeableStream = function (children, postponedState, options) {
|
|
|
7705
7927
|
}
|
|
7706
7928
|
};
|
|
7707
7929
|
};
|
|
7708
|
-
exports.version = "19.3.0-canary-
|
|
7930
|
+
exports.version = "19.3.0-canary-3025aa39-20251007";
|