react-dom 16.8.1 → 16.8.5
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/build-info.json +5 -5
- package/cjs/react-dom-server.browser.development.js +67 -36
- package/cjs/react-dom-server.browser.production.min.js +17 -16
- package/cjs/react-dom-server.node.development.js +67 -36
- package/cjs/react-dom-server.node.production.min.js +18 -17
- package/cjs/react-dom-test-utils.development.js +2 -2
- package/cjs/react-dom-test-utils.production.min.js +1 -1
- package/cjs/react-dom-unstable-fire.development.js +709 -213
- package/cjs/react-dom-unstable-fire.production.min.js +252 -251
- package/cjs/react-dom-unstable-fire.profiling.min.js +176 -173
- package/cjs/react-dom-unstable-fizz.browser.development.js +1 -1
- package/cjs/react-dom-unstable-fizz.browser.production.min.js +1 -1
- package/cjs/react-dom-unstable-fizz.node.development.js +1 -1
- package/cjs/react-dom-unstable-fizz.node.production.min.js +1 -1
- package/cjs/react-dom-unstable-native-dependencies.development.js +2 -2
- package/cjs/react-dom-unstable-native-dependencies.production.min.js +1 -1
- package/cjs/react-dom.development.js +709 -213
- package/cjs/react-dom.production.min.js +252 -251
- package/cjs/react-dom.profiling.min.js +176 -173
- package/package.json +2 -2
- package/umd/react-dom-server.browser.development.js +67 -36
- package/umd/react-dom-server.browser.production.min.js +22 -21
- package/umd/react-dom-test-utils.development.js +2 -2
- package/umd/react-dom-test-utils.production.min.js +1 -1
- package/umd/react-dom-unstable-fire.development.js +717 -213
- package/umd/react-dom-unstable-fire.production.min.js +208 -207
- package/umd/react-dom-unstable-fire.profiling.min.js +208 -208
- package/umd/react-dom-unstable-fizz.browser.development.js +1 -1
- package/umd/react-dom-unstable-fizz.browser.production.min.js +1 -1
- package/umd/react-dom-unstable-native-dependencies.development.js +2 -2
- package/umd/react-dom-unstable-native-dependencies.production.min.js +1 -1
- package/umd/react-dom.development.js +717 -213
- package/umd/react-dom.production.min.js +208 -207
- package/umd/react-dom.profiling.min.js +208 -208
package/build-info.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"branch": "pull/
|
|
3
|
-
"buildNumber": "
|
|
4
|
-
"checksum": "
|
|
5
|
-
"commit": "
|
|
2
|
+
"branch": "pull/15192",
|
|
3
|
+
"buildNumber": "14024",
|
|
4
|
+
"checksum": "24ccd39",
|
|
5
|
+
"commit": "f9e41e3a5",
|
|
6
6
|
"environment": "ci",
|
|
7
|
-
"reactVersion": "16.8.
|
|
7
|
+
"reactVersion": "16.8.4-canary-f9e41e3a5"
|
|
8
8
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.8.
|
|
1
|
+
/** @license React v16.8.5
|
|
2
2
|
* react-dom-server.browser.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -66,7 +66,7 @@ function invariant(condition, format, a, b, c, d, e, f) {
|
|
|
66
66
|
|
|
67
67
|
// TODO: this is special because it gets imported during build.
|
|
68
68
|
|
|
69
|
-
var ReactVersion = '16.8.
|
|
69
|
+
var ReactVersion = '16.8.5';
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* Similar to invariant but only logs a warning if the condition is not met.
|
|
@@ -741,12 +741,15 @@ var capitalize = function (token) {
|
|
|
741
741
|
attributeName, 'http://www.w3.org/XML/1998/namespace');
|
|
742
742
|
});
|
|
743
743
|
|
|
744
|
-
//
|
|
745
|
-
//
|
|
746
|
-
//
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
744
|
+
// These attribute exists both in HTML and SVG.
|
|
745
|
+
// The attribute name is case-sensitive in SVG so we can't just use
|
|
746
|
+
// the React name like we do for attributes that exist only in HTML.
|
|
747
|
+
['tabIndex', 'crossOrigin'].forEach(function (attributeName) {
|
|
748
|
+
properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
|
|
749
|
+
attributeName.toLowerCase(), // attributeName
|
|
750
|
+
null);
|
|
751
|
+
} // attributeNamespace
|
|
752
|
+
);
|
|
750
753
|
|
|
751
754
|
// code copied and modified from escape-html
|
|
752
755
|
/**
|
|
@@ -929,7 +932,7 @@ var isInHookUserCodeInDev = false;
|
|
|
929
932
|
var currentHookNameInDev = void 0;
|
|
930
933
|
|
|
931
934
|
function resolveCurrentlyRenderingComponent() {
|
|
932
|
-
!(currentlyRenderingComponent !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call
|
|
935
|
+
!(currentlyRenderingComponent !== null) ? invariant(false, 'Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.') : void 0;
|
|
933
936
|
{
|
|
934
937
|
!!isInHookUserCodeInDev ? warning$1(false, 'Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. ' + 'You can only call Hooks at the top level of your React function. ' + 'For more information, see ' + 'https://fb.me/rules-of-hooks') : void 0;
|
|
935
938
|
}
|
|
@@ -1192,7 +1195,7 @@ function useLayoutEffect(create, inputs) {
|
|
|
1192
1195
|
{
|
|
1193
1196
|
currentHookNameInDev = 'useLayoutEffect';
|
|
1194
1197
|
}
|
|
1195
|
-
warning$1(false, 'useLayoutEffect does nothing on the server, because its effect cannot ' + "be encoded into the server renderer's output format. This will lead " + 'to a mismatch between the initial, non-hydrated UI and the intended ' + 'UI. To avoid this, useLayoutEffect should only be used in ' + 'components that render exclusively on the client.');
|
|
1198
|
+
warning$1(false, 'useLayoutEffect does nothing on the server, because its effect cannot ' + "be encoded into the server renderer's output format. This will lead " + 'to a mismatch between the initial, non-hydrated UI and the intended ' + 'UI. To avoid this, useLayoutEffect should only be used in ' + 'components that render exclusively on the client. ' + 'See https://fb.me/react-uselayouteffect-ssr for common fixes.');
|
|
1196
1199
|
}
|
|
1197
1200
|
|
|
1198
1201
|
function dispatchAction(componentIdentity, queue, action) {
|
|
@@ -3007,6 +3010,7 @@ var ReactDOMServerRenderer = function () {
|
|
|
3007
3010
|
ReactDOMServerRenderer.prototype.destroy = function destroy() {
|
|
3008
3011
|
if (!this.exhausted) {
|
|
3009
3012
|
this.exhausted = true;
|
|
3013
|
+
this.clearProviders();
|
|
3010
3014
|
freeThreadID(this.threadID);
|
|
3011
3015
|
}
|
|
3012
3016
|
};
|
|
@@ -3065,6 +3069,15 @@ var ReactDOMServerRenderer = function () {
|
|
|
3065
3069
|
context[this.threadID] = previousValue;
|
|
3066
3070
|
};
|
|
3067
3071
|
|
|
3072
|
+
ReactDOMServerRenderer.prototype.clearProviders = function clearProviders() {
|
|
3073
|
+
// Restore any remaining providers on the stack to previous values
|
|
3074
|
+
for (var index = this.contextIndex; index >= 0; index--) {
|
|
3075
|
+
var _context = this.contextStack[index];
|
|
3076
|
+
var previousValue = this.contextValueStack[index];
|
|
3077
|
+
_context[this.threadID] = previousValue;
|
|
3078
|
+
}
|
|
3079
|
+
};
|
|
3080
|
+
|
|
3068
3081
|
ReactDOMServerRenderer.prototype.read = function read(bytes) {
|
|
3069
3082
|
if (this.exhausted) {
|
|
3070
3083
|
return null;
|
|
@@ -3230,7 +3243,25 @@ var ReactDOMServerRenderer = function () {
|
|
|
3230
3243
|
case REACT_SUSPENSE_TYPE:
|
|
3231
3244
|
{
|
|
3232
3245
|
if (enableSuspenseServerRenderer) {
|
|
3233
|
-
var
|
|
3246
|
+
var fallback = nextChild.props.fallback;
|
|
3247
|
+
if (fallback === undefined) {
|
|
3248
|
+
// If there is no fallback, then this just behaves as a fragment.
|
|
3249
|
+
var _nextChildren3 = toArray(nextChild.props.children);
|
|
3250
|
+
var _frame3 = {
|
|
3251
|
+
type: null,
|
|
3252
|
+
domNamespace: parentNamespace,
|
|
3253
|
+
children: _nextChildren3,
|
|
3254
|
+
childIndex: 0,
|
|
3255
|
+
context: context,
|
|
3256
|
+
footer: ''
|
|
3257
|
+
};
|
|
3258
|
+
{
|
|
3259
|
+
_frame3.debugElementStack = [];
|
|
3260
|
+
}
|
|
3261
|
+
this.stack.push(_frame3);
|
|
3262
|
+
return '';
|
|
3263
|
+
}
|
|
3264
|
+
var fallbackChildren = toArray(fallback);
|
|
3234
3265
|
var _nextChildren2 = toArray(nextChild.props.children);
|
|
3235
3266
|
var _fallbackFrame2 = {
|
|
3236
3267
|
type: null,
|
|
@@ -3248,7 +3279,7 @@ var ReactDOMServerRenderer = function () {
|
|
|
3248
3279
|
children: _nextChildren2,
|
|
3249
3280
|
childIndex: 0,
|
|
3250
3281
|
context: context,
|
|
3251
|
-
footer: ''
|
|
3282
|
+
footer: '<!--/$-->'
|
|
3252
3283
|
};
|
|
3253
3284
|
{
|
|
3254
3285
|
_frame2.debugElementStack = [];
|
|
@@ -3256,7 +3287,7 @@ var ReactDOMServerRenderer = function () {
|
|
|
3256
3287
|
}
|
|
3257
3288
|
this.stack.push(_frame2);
|
|
3258
3289
|
this.suspenseDepth++;
|
|
3259
|
-
return '';
|
|
3290
|
+
return '<!--$-->';
|
|
3260
3291
|
} else {
|
|
3261
3292
|
invariant(false, 'ReactDOMServer does not yet support Suspense.');
|
|
3262
3293
|
}
|
|
@@ -3270,64 +3301,64 @@ var ReactDOMServerRenderer = function () {
|
|
|
3270
3301
|
case REACT_FORWARD_REF_TYPE:
|
|
3271
3302
|
{
|
|
3272
3303
|
var element = nextChild;
|
|
3273
|
-
var
|
|
3304
|
+
var _nextChildren4 = void 0;
|
|
3274
3305
|
var componentIdentity = {};
|
|
3275
3306
|
prepareToUseHooks(componentIdentity);
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
var
|
|
3307
|
+
_nextChildren4 = elementType.render(element.props, element.ref);
|
|
3308
|
+
_nextChildren4 = finishHooks(elementType.render, element.props, _nextChildren4, element.ref);
|
|
3309
|
+
_nextChildren4 = toArray(_nextChildren4);
|
|
3310
|
+
var _frame4 = {
|
|
3280
3311
|
type: null,
|
|
3281
3312
|
domNamespace: parentNamespace,
|
|
3282
|
-
children:
|
|
3313
|
+
children: _nextChildren4,
|
|
3283
3314
|
childIndex: 0,
|
|
3284
3315
|
context: context,
|
|
3285
3316
|
footer: ''
|
|
3286
3317
|
};
|
|
3287
3318
|
{
|
|
3288
|
-
|
|
3319
|
+
_frame4.debugElementStack = [];
|
|
3289
3320
|
}
|
|
3290
|
-
this.stack.push(
|
|
3321
|
+
this.stack.push(_frame4);
|
|
3291
3322
|
return '';
|
|
3292
3323
|
}
|
|
3293
3324
|
case REACT_MEMO_TYPE:
|
|
3294
3325
|
{
|
|
3295
3326
|
var _element = nextChild;
|
|
3296
|
-
var
|
|
3297
|
-
var
|
|
3327
|
+
var _nextChildren5 = [React.createElement(elementType.type, _assign({ ref: _element.ref }, _element.props))];
|
|
3328
|
+
var _frame5 = {
|
|
3298
3329
|
type: null,
|
|
3299
3330
|
domNamespace: parentNamespace,
|
|
3300
|
-
children:
|
|
3331
|
+
children: _nextChildren5,
|
|
3301
3332
|
childIndex: 0,
|
|
3302
3333
|
context: context,
|
|
3303
3334
|
footer: ''
|
|
3304
3335
|
};
|
|
3305
3336
|
{
|
|
3306
|
-
|
|
3337
|
+
_frame5.debugElementStack = [];
|
|
3307
3338
|
}
|
|
3308
|
-
this.stack.push(
|
|
3339
|
+
this.stack.push(_frame5);
|
|
3309
3340
|
return '';
|
|
3310
3341
|
}
|
|
3311
3342
|
case REACT_PROVIDER_TYPE:
|
|
3312
3343
|
{
|
|
3313
3344
|
var provider = nextChild;
|
|
3314
3345
|
var nextProps = provider.props;
|
|
3315
|
-
var
|
|
3316
|
-
var
|
|
3346
|
+
var _nextChildren6 = toArray(nextProps.children);
|
|
3347
|
+
var _frame6 = {
|
|
3317
3348
|
type: provider,
|
|
3318
3349
|
domNamespace: parentNamespace,
|
|
3319
|
-
children:
|
|
3350
|
+
children: _nextChildren6,
|
|
3320
3351
|
childIndex: 0,
|
|
3321
3352
|
context: context,
|
|
3322
3353
|
footer: ''
|
|
3323
3354
|
};
|
|
3324
3355
|
{
|
|
3325
|
-
|
|
3356
|
+
_frame6.debugElementStack = [];
|
|
3326
3357
|
}
|
|
3327
3358
|
|
|
3328
3359
|
this.pushProvider(provider);
|
|
3329
3360
|
|
|
3330
|
-
this.stack.push(
|
|
3361
|
+
this.stack.push(_frame6);
|
|
3331
3362
|
return '';
|
|
3332
3363
|
}
|
|
3333
3364
|
case REACT_CONTEXT_TYPE:
|
|
@@ -3360,19 +3391,19 @@ var ReactDOMServerRenderer = function () {
|
|
|
3360
3391
|
validateContextBounds(reactContext, threadID);
|
|
3361
3392
|
var nextValue = reactContext[threadID];
|
|
3362
3393
|
|
|
3363
|
-
var
|
|
3364
|
-
var
|
|
3394
|
+
var _nextChildren7 = toArray(_nextProps.children(nextValue));
|
|
3395
|
+
var _frame7 = {
|
|
3365
3396
|
type: nextChild,
|
|
3366
3397
|
domNamespace: parentNamespace,
|
|
3367
|
-
children:
|
|
3398
|
+
children: _nextChildren7,
|
|
3368
3399
|
childIndex: 0,
|
|
3369
3400
|
context: context,
|
|
3370
3401
|
footer: ''
|
|
3371
3402
|
};
|
|
3372
3403
|
{
|
|
3373
|
-
|
|
3404
|
+
_frame7.debugElementStack = [];
|
|
3374
3405
|
}
|
|
3375
|
-
this.stack.push(
|
|
3406
|
+
this.stack.push(_frame7);
|
|
3376
3407
|
return '';
|
|
3377
3408
|
}
|
|
3378
3409
|
case REACT_LAZY_TYPE:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.8.
|
|
1
|
+
/** @license React v16.8.5
|
|
2
2
|
* react-dom-server.browser.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -20,8 +20,8 @@ function sa(a,b,d,c){if(null===b||"undefined"===typeof b||ra(a,b,d,c))return!0;i
|
|
|
20
20
|
["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){J[a]=new I(a,2,!1,a,null)});"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){J[a]=new I(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){J[a]=new I(a,3,!0,a,null)});
|
|
21
21
|
["capture","download"].forEach(function(a){J[a]=new I(a,4,!1,a,null)});["cols","rows","size","span"].forEach(function(a){J[a]=new I(a,6,!1,a,null)});["rowSpan","start"].forEach(function(a){J[a]=new I(a,5,!1,a.toLowerCase(),null)});var K=/[\-:]([a-z])/g;function L(a){return a[1].toUpperCase()}
|
|
22
22
|
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=a.replace(K,
|
|
23
|
-
L);J[b]=new I(b,1,!1,a,null)});"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});J
|
|
24
|
-
function M(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ta.exec(a);if(b){var d="",c,f=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}f!==c&&(d+=a.substring(f,c));f=c+1;d+=b}a=f!==c?d+a.substring(f,c):d}return a}var N=null,O=null,P=null,Q=!1,S=!1,T=null,U=0;function V(){null===N?r("
|
|
23
|
+
L);J[b]=new I(b,1,!1,a,null)});"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(K,L);J[b]=new I(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});["tabIndex","crossOrigin"].forEach(function(a){J[a]=new I(a,1,!1,a.toLowerCase(),null)});var ta=/["'&<>]/;
|
|
24
|
+
function M(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=ta.exec(a);if(b){var d="",c,f=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}f!==c&&(d+=a.substring(f,c));f=c+1;d+=b}a=f!==c?d+a.substring(f,c):d}return a}var N=null,O=null,P=null,Q=!1,S=!1,T=null,U=0;function V(){null===N?r("321"):void 0;return N}
|
|
25
25
|
function ua(){0<U&&r("312");return{memoizedState:null,queue:null,next:null}}function W(){null===P?null===O?(Q=!1,O=P=ua()):(Q=!0,P=O):null===P.next?(Q=!1,P=P.next=ua()):(Q=!0,P=P.next);return P}function va(a,b,d,c){for(;S;)S=!1,U+=1,P=null,d=a(b,c);O=N=null;U=0;P=T=null;return d}function wa(a,b){return"function"===typeof b?b(a):b}
|
|
26
26
|
function xa(a,b,d){N=V();P=W();if(Q){var c=P.queue;b=c.dispatch;if(null!==T&&(d=T.get(c),void 0!==d)){T.delete(c);c=P.memoizedState;do c=a(c,d.action),d=d.next;while(null!==d);P.memoizedState=c;return[c,b]}return[P.memoizedState,b]}a=a===wa?"function"===typeof b?b():b:void 0!==d?d(b):b;P.memoizedState=a;a=P.queue={last:null,dispatch:null};a=a.dispatch=ya.bind(null,N,a);return[P.memoizedState,a]}
|
|
27
27
|
function ya(a,b,d){25>U?void 0:r("301");if(a===N)if(S=!0,a={action:d,next:null},null===T&&(T=new Map),d=T.get(b),void 0===d)T.set(b,a);else{for(b=d;null!==b.next;)b=b.next;b.next=a}}function za(){}
|
|
@@ -35,16 +35,17 @@ e,l),k=va(f,c.props,k,e),null==k||null==k.render){a=k;Qa(a,f);return}k.props=c.p
|
|
|
35
35
|
h;g=null;h=!1;if(m&&1===l.length)k.state=l[0];else{t=m?l[0]:k.state;var u=!0;for(m=m?1:0;m<l.length;m++){var w=l[m];w="function"===typeof w?w.call(k,t,c.props,e):w;null!=w&&(u?(u=!1,t=p({},t,w)):p(t,w))}k.state=t}}else g=null;a=k.render();Qa(a,f);c=void 0;if("function"===typeof k.getChildContext&&(e=f.childContextTypes,"object"===typeof e)){c=k.getChildContext();for(var R in c)R in e?void 0:r("108",C(f)||"Unknown",R)}c&&(b=p({},b,c))}for(;q.isValidElement(a);){var f=a,e=f.type;if("function"!==typeof e)break;
|
|
36
36
|
c(f,e)}return{child:a,context:b}}
|
|
37
37
|
var Sa=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");q.isValidElement(b)?b.type!==x?b=[b]:(b=b.props.children,b=q.isValidElement(b)?[b]:Z(b)):b=Z(b);b={type:null,domNamespace:Ba.html,children:b,childIndex:0,context:ka,footer:""};var c=G[0];if(0===c){var f=G;c=f.length;var e=2*c;65536>=e?void 0:r("304");var h=new Uint16Array(e);h.set(f);G=h;G[0]=c+1;for(f=c;f<e-1;f++)G[f]=f+1;G[e-1]=0}else G[0]=G[c];this.threadID=c;this.stack=[b];this.exhausted=
|
|
38
|
-
!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0;var a=this.threadID;G[a]=G[0];G[0]=a}};a.prototype.pushProvider=function(a){var b=++this.contextIndex,c=a.type._context,f=this.threadID;F(c,f);var e=c[f];this.contextStack[b]=c;this.contextValueStack[b]=e;c[f]=a.props.value};a.prototype.popProvider=
|
|
39
|
-
this.contextIndex,d=this.contextStack[a],c=this.contextValueStack[a];this.contextStack[a]=null;this.contextValueStack[a]=null;this.contextIndex--;d[this.threadID]=c};a.prototype.read=function(a){if(this.exhausted)return null;var b=X;X=this.threadID;var c=Ia.current;Ia.current=Aa;try{for(var f=[""],e=!1;f[0].length<a;){if(0===this.stack.length){this.exhausted
|
|
40
|
-
D&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===g.type)this.currentSelectValue=null;else if(null!=g.type&&null!=g.type.type&&g.type.type.$$typeof===z)this.popProvider(g.type);else if(g.type===A){this.suspenseDepth--;var B=f.pop();if(e){e=!1;var n=g.fallbackFrame;n?void 0:r("303");this.stack.push(n);continue}else f[this.suspenseDepth]+=B}f[this.suspenseDepth]+=
|
|
41
|
-
this.suspenseDepth&&f.push("");f[this.suspenseDepth]+=k}}return f[0]}finally{Ia.current=c,X=b}};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return M(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+M(c);this.previousWasTextNode=!0;return M(c)}d=Ra(a,d,this.threadID);a=d.child;d=d.context;
|
|
42
|
-
r("258",b.toString())}a=Z(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""});return""}b=a.type;if("string"===typeof b)return this.renderDOM(a,d,c);switch(b){case ca:case fa:case da:case x:return a=Z(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case A:r("294")}if("object"===
|
|
43
|
-
domNamespace:c,children:e,childIndex:0,context:d,footer:""});return"";case ia:return a=[q.createElement(b.type,p({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case z:return b=Z(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),
|
|
44
|
-
childIndex:0,context:d,footer:""});return"";case ja:r("295")}r("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();c===Ba.html&&Ca(b);La.hasOwnProperty(b)||(Ka.test(b)?void 0:r("65",b),La[b]=!0);var e=a.props;if("input"===b)e=p({type:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=e.value?e.value:e.defaultValue,
|
|
45
|
-
null!=g&&(null!=h?r("92"):void 0,Array.isArray(g)&&(1>=g.length?void 0:r("93"),g=g[0]),h=""+g);null==h&&(h="")}e=p({},e,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=e.value?e.value:e.defaultValue,e=p({},e,{value:void 0});else if("option"===b){g=this.currentSelectValue;var D=Na(e.children);if(null!=g){var B=null!=e.value?e.value+
|
|
46
|
-
e,{selected:h,children:D})}}if(h=e)Ea[b]&&(null!=h.children||null!=h.dangerouslySetInnerHTML?r("137",b,""):void 0),null!=h.dangerouslySetInnerHTML&&(null!=h.children?r("60"):void 0,"object"===typeof h.dangerouslySetInnerHTML&&"__html"in h.dangerouslySetInnerHTML?void 0:r("61")),null!=h.style&&"object"!==typeof h.style?r("62",""):void 0;h=e;g=this.makeStaticMarkup;
|
|
47
|
-
0===n.indexOf("--"),u=l[n];if(null!=u){var w=n;if(Ma.hasOwnProperty(w))w=Ma[w];else{var R=w.replace(Ga,"-$1").toLowerCase().replace(Ha,"-ms-");w=Ma[w]=R}k+=t+w+":";t=n;m=null==u||"boolean"===typeof u||""===u?"":m||"number"!==typeof u||0===u||Y.hasOwnProperty(t)&&Y[t]?(""+u).trim():u+"px";k+=m;t=";"}}l=k||null}n=null;b:if(m=b,u=h,-1===
|
|
48
|
-
|
|
49
|
-
">");a:{g=e.dangerouslySetInnerHTML;if(null!=g){if(null!=g.__html){g=g.__html;break a}}else if(g=e.children,"string"===typeof g||"number"===typeof g){g=M(g);break a}g=null}null!=g?(e=[],Ja[b]&&"\n"===g.charAt(0)&&(y+="\n"),y+=g):e=Z(e.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===
|
|
50
|
-
|
|
38
|
+
!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.suspenseDepth=0;this.contextIndex=-1;this.contextStack=[];this.contextValueStack=[]}a.prototype.destroy=function(){if(!this.exhausted){this.exhausted=!0;this.clearProviders();var a=this.threadID;G[a]=G[0];G[0]=a}};a.prototype.pushProvider=function(a){var b=++this.contextIndex,c=a.type._context,f=this.threadID;F(c,f);var e=c[f];this.contextStack[b]=c;this.contextValueStack[b]=e;c[f]=a.props.value};a.prototype.popProvider=
|
|
39
|
+
function(){var a=this.contextIndex,d=this.contextStack[a],c=this.contextValueStack[a];this.contextStack[a]=null;this.contextValueStack[a]=null;this.contextIndex--;d[this.threadID]=c};a.prototype.clearProviders=function(){for(var a=this.contextIndex;0<=a;a--)this.contextStack[a][this.threadID]=this.contextValueStack[a]};a.prototype.read=function(a){if(this.exhausted)return null;var b=X;X=this.threadID;var c=Ia.current;Ia.current=Aa;try{for(var f=[""],e=!1;f[0].length<a;){if(0===this.stack.length){this.exhausted=
|
|
40
|
+
!0;var h=this.threadID;G[h]=G[0];G[0]=h;break}var g=this.stack[this.stack.length-1];if(e||g.childIndex>=g.children.length){var D=g.footer;""!==D&&(this.previousWasTextNode=!1);this.stack.pop();if("select"===g.type)this.currentSelectValue=null;else if(null!=g.type&&null!=g.type.type&&g.type.type.$$typeof===z)this.popProvider(g.type);else if(g.type===A){this.suspenseDepth--;var B=f.pop();if(e){e=!1;var n=g.fallbackFrame;n?void 0:r("303");this.stack.push(n);continue}else f[this.suspenseDepth]+=B}f[this.suspenseDepth]+=
|
|
41
|
+
D}else{var l=g.children[g.childIndex++],k="";try{k+=this.render(l,g.context,g.domNamespace)}catch(t){throw t;}finally{}f.length<=this.suspenseDepth&&f.push("");f[this.suspenseDepth]+=k}}return f[0]}finally{Ia.current=c,X=b}};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return M(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+M(c);this.previousWasTextNode=!0;return M(c)}d=Ra(a,d,this.threadID);a=d.child;d=d.context;
|
|
42
|
+
if(null===a||!1===a)return"";if(!q.isValidElement(a)){if(null!=a&&null!=a.$$typeof){var b=a.$$typeof;b===ba?r("257"):void 0;r("258",b.toString())}a=Z(a);this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""});return""}b=a.type;if("string"===typeof b)return this.renderDOM(a,d,c);switch(b){case ca:case fa:case da:case x:return a=Z(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case A:r("294")}if("object"===
|
|
43
|
+
typeof b&&null!==b)switch(b.$$typeof){case ha:N={};var e=b.render(a.props,a.ref);e=va(b.render,a.props,e,a.ref);e=Z(e);this.stack.push({type:null,domNamespace:c,children:e,childIndex:0,context:d,footer:""});return"";case ia:return a=[q.createElement(b.type,p({ref:a.ref},a.props))],this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case z:return b=Z(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),
|
|
44
|
+
"";case ea:b=a.type;e=a.props;var h=this.threadID;F(b,h);b=Z(e.children(b[h]));this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""});return"";case ja:r("295")}r("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();c===Ba.html&&Ca(b);La.hasOwnProperty(b)||(Ka.test(b)?void 0:r("65",b),La[b]=!0);var e=a.props;if("input"===b)e=p({type:void 0},e,{defaultChecked:void 0,defaultValue:void 0,value:null!=e.value?e.value:e.defaultValue,
|
|
45
|
+
checked:null!=e.checked?e.checked:e.defaultChecked});else if("textarea"===b){var h=e.value;if(null==h){h=e.defaultValue;var g=e.children;null!=g&&(null!=h?r("92"):void 0,Array.isArray(g)&&(1>=g.length?void 0:r("93"),g=g[0]),h=""+g);null==h&&(h="")}e=p({},e,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=e.value?e.value:e.defaultValue,e=p({},e,{value:void 0});else if("option"===b){g=this.currentSelectValue;var D=Na(e.children);if(null!=g){var B=null!=e.value?e.value+
|
|
46
|
+
"":D;h=!1;if(Array.isArray(g))for(var n=0;n<g.length;n++){if(""+g[n]===B){h=!0;break}}else h=""+g===B;e=p({selected:void 0,children:void 0},e,{selected:h,children:D})}}if(h=e)Ea[b]&&(null!=h.children||null!=h.dangerouslySetInnerHTML?r("137",b,""):void 0),null!=h.dangerouslySetInnerHTML&&(null!=h.children?r("60"):void 0,"object"===typeof h.dangerouslySetInnerHTML&&"__html"in h.dangerouslySetInnerHTML?void 0:r("61")),null!=h.style&&"object"!==typeof h.style?r("62",""):void 0;h=e;g=this.makeStaticMarkup;
|
|
47
|
+
D=1===this.stack.length;B="<"+a.type;for(y in h)if(Oa.call(h,y)){var l=h[y];if(null!=l){if("style"===y){n=void 0;var k="",t="";for(n in l)if(l.hasOwnProperty(n)){var m=0===n.indexOf("--"),u=l[n];if(null!=u){var w=n;if(Ma.hasOwnProperty(w))w=Ma[w];else{var R=w.replace(Ga,"-$1").toLowerCase().replace(Ha,"-ms-");w=Ma[w]=R}k+=t+w+":";t=n;m=null==u||"boolean"===typeof u||""===u?"":m||"number"!==typeof u||0===u||Y.hasOwnProperty(t)&&Y[t]?(""+u).trim():u+"px";k+=m;t=";"}}l=k||null}n=null;b:if(m=b,u=h,-1===
|
|
48
|
+
m.indexOf("-"))m="string"===typeof u.is;else switch(m){case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":m=!1;break b;default:m=!0}if(m)Pa.hasOwnProperty(y)||(n=y,n=qa(n)&&null!=l?n+"="+('"'+M(l)+'"'):"");else{m=y;n=l;l=J.hasOwnProperty(m)?J[m]:null;if(u="style"!==m)u=null!==l?0===l.type:!(2<m.length)||"o"!==m[0]&&"O"!==m[0]||"n"!==m[1]&&"N"!==m[1]?!1:!0;u||sa(m,n,l,!1)?n="":null!==
|
|
49
|
+
l?(m=l.attributeName,l=l.type,n=3===l||4===l&&!0===n?m+'=""':m+"="+('"'+M(n)+'"')):n=qa(m)?m+"="+('"'+M(n)+'"'):""}n&&(B+=" "+n)}}g||D&&(B+=' data-reactroot=""');var y=B;h="";Da.hasOwnProperty(b)?y+="/>":(y+=">",h="</"+a.type+">");a:{g=e.dangerouslySetInnerHTML;if(null!=g){if(null!=g.__html){g=g.__html;break a}}else if(g=e.children,"string"===typeof g||"number"===typeof g){g=M(g);break a}g=null}null!=g?(e=[],Ja[b]&&"\n"===g.charAt(0)&&(y+="\n"),y+=g):e=Z(e.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===
|
|
50
|
+
c?Ca(a):"http://www.w3.org/2000/svg"===c&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":c;this.stack.push({domNamespace:c,type:b,children:e,childIndex:0,context:d,footer:h});this.previousWasTextNode=!1;return y};return a}(),Ta={renderToString:function(a){a=new Sa(a,!1);try{return a.read(Infinity)}finally{a.destroy()}},renderToStaticMarkup:function(a){a=new Sa(a,!0);try{return a.read(Infinity)}finally{a.destroy()}},renderToNodeStream:function(){r("207")},renderToStaticNodeStream:function(){r("208")},
|
|
51
|
+
version:"16.8.5"},Ua={default:Ta},Va=Ua&&Ta||Ua;module.exports=Va.default||Va;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.8.
|
|
1
|
+
/** @license React v16.8.5
|
|
2
2
|
* react-dom-server.node.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -22,7 +22,7 @@ var stream = require('stream');
|
|
|
22
22
|
|
|
23
23
|
// TODO: this is special because it gets imported during build.
|
|
24
24
|
|
|
25
|
-
var ReactVersion = '16.8.
|
|
25
|
+
var ReactVersion = '16.8.5';
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* Use invariant() to assert state which your program assumes to be true.
|
|
@@ -742,12 +742,15 @@ var capitalize = function (token) {
|
|
|
742
742
|
attributeName, 'http://www.w3.org/XML/1998/namespace');
|
|
743
743
|
});
|
|
744
744
|
|
|
745
|
-
//
|
|
746
|
-
//
|
|
747
|
-
//
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
745
|
+
// These attribute exists both in HTML and SVG.
|
|
746
|
+
// The attribute name is case-sensitive in SVG so we can't just use
|
|
747
|
+
// the React name like we do for attributes that exist only in HTML.
|
|
748
|
+
['tabIndex', 'crossOrigin'].forEach(function (attributeName) {
|
|
749
|
+
properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, // mustUseProperty
|
|
750
|
+
attributeName.toLowerCase(), // attributeName
|
|
751
|
+
null);
|
|
752
|
+
} // attributeNamespace
|
|
753
|
+
);
|
|
751
754
|
|
|
752
755
|
// code copied and modified from escape-html
|
|
753
756
|
/**
|
|
@@ -930,7 +933,7 @@ var isInHookUserCodeInDev = false;
|
|
|
930
933
|
var currentHookNameInDev = void 0;
|
|
931
934
|
|
|
932
935
|
function resolveCurrentlyRenderingComponent() {
|
|
933
|
-
!(currentlyRenderingComponent !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call
|
|
936
|
+
!(currentlyRenderingComponent !== null) ? invariant(false, 'Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.') : void 0;
|
|
934
937
|
{
|
|
935
938
|
!!isInHookUserCodeInDev ? warning$1(false, 'Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. ' + 'You can only call Hooks at the top level of your React function. ' + 'For more information, see ' + 'https://fb.me/rules-of-hooks') : void 0;
|
|
936
939
|
}
|
|
@@ -1193,7 +1196,7 @@ function useLayoutEffect(create, inputs) {
|
|
|
1193
1196
|
{
|
|
1194
1197
|
currentHookNameInDev = 'useLayoutEffect';
|
|
1195
1198
|
}
|
|
1196
|
-
warning$1(false, 'useLayoutEffect does nothing on the server, because its effect cannot ' + "be encoded into the server renderer's output format. This will lead " + 'to a mismatch between the initial, non-hydrated UI and the intended ' + 'UI. To avoid this, useLayoutEffect should only be used in ' + 'components that render exclusively on the client.');
|
|
1199
|
+
warning$1(false, 'useLayoutEffect does nothing on the server, because its effect cannot ' + "be encoded into the server renderer's output format. This will lead " + 'to a mismatch between the initial, non-hydrated UI and the intended ' + 'UI. To avoid this, useLayoutEffect should only be used in ' + 'components that render exclusively on the client. ' + 'See https://fb.me/react-uselayouteffect-ssr for common fixes.');
|
|
1197
1200
|
}
|
|
1198
1201
|
|
|
1199
1202
|
function dispatchAction(componentIdentity, queue, action) {
|
|
@@ -3008,6 +3011,7 @@ var ReactDOMServerRenderer = function () {
|
|
|
3008
3011
|
ReactDOMServerRenderer.prototype.destroy = function destroy() {
|
|
3009
3012
|
if (!this.exhausted) {
|
|
3010
3013
|
this.exhausted = true;
|
|
3014
|
+
this.clearProviders();
|
|
3011
3015
|
freeThreadID(this.threadID);
|
|
3012
3016
|
}
|
|
3013
3017
|
};
|
|
@@ -3066,6 +3070,15 @@ var ReactDOMServerRenderer = function () {
|
|
|
3066
3070
|
context[this.threadID] = previousValue;
|
|
3067
3071
|
};
|
|
3068
3072
|
|
|
3073
|
+
ReactDOMServerRenderer.prototype.clearProviders = function clearProviders() {
|
|
3074
|
+
// Restore any remaining providers on the stack to previous values
|
|
3075
|
+
for (var index = this.contextIndex; index >= 0; index--) {
|
|
3076
|
+
var _context = this.contextStack[index];
|
|
3077
|
+
var previousValue = this.contextValueStack[index];
|
|
3078
|
+
_context[this.threadID] = previousValue;
|
|
3079
|
+
}
|
|
3080
|
+
};
|
|
3081
|
+
|
|
3069
3082
|
ReactDOMServerRenderer.prototype.read = function read(bytes) {
|
|
3070
3083
|
if (this.exhausted) {
|
|
3071
3084
|
return null;
|
|
@@ -3231,7 +3244,25 @@ var ReactDOMServerRenderer = function () {
|
|
|
3231
3244
|
case REACT_SUSPENSE_TYPE:
|
|
3232
3245
|
{
|
|
3233
3246
|
if (enableSuspenseServerRenderer) {
|
|
3234
|
-
var
|
|
3247
|
+
var fallback = nextChild.props.fallback;
|
|
3248
|
+
if (fallback === undefined) {
|
|
3249
|
+
// If there is no fallback, then this just behaves as a fragment.
|
|
3250
|
+
var _nextChildren3 = toArray(nextChild.props.children);
|
|
3251
|
+
var _frame3 = {
|
|
3252
|
+
type: null,
|
|
3253
|
+
domNamespace: parentNamespace,
|
|
3254
|
+
children: _nextChildren3,
|
|
3255
|
+
childIndex: 0,
|
|
3256
|
+
context: context,
|
|
3257
|
+
footer: ''
|
|
3258
|
+
};
|
|
3259
|
+
{
|
|
3260
|
+
_frame3.debugElementStack = [];
|
|
3261
|
+
}
|
|
3262
|
+
this.stack.push(_frame3);
|
|
3263
|
+
return '';
|
|
3264
|
+
}
|
|
3265
|
+
var fallbackChildren = toArray(fallback);
|
|
3235
3266
|
var _nextChildren2 = toArray(nextChild.props.children);
|
|
3236
3267
|
var _fallbackFrame2 = {
|
|
3237
3268
|
type: null,
|
|
@@ -3249,7 +3280,7 @@ var ReactDOMServerRenderer = function () {
|
|
|
3249
3280
|
children: _nextChildren2,
|
|
3250
3281
|
childIndex: 0,
|
|
3251
3282
|
context: context,
|
|
3252
|
-
footer: ''
|
|
3283
|
+
footer: '<!--/$-->'
|
|
3253
3284
|
};
|
|
3254
3285
|
{
|
|
3255
3286
|
_frame2.debugElementStack = [];
|
|
@@ -3257,7 +3288,7 @@ var ReactDOMServerRenderer = function () {
|
|
|
3257
3288
|
}
|
|
3258
3289
|
this.stack.push(_frame2);
|
|
3259
3290
|
this.suspenseDepth++;
|
|
3260
|
-
return '';
|
|
3291
|
+
return '<!--$-->';
|
|
3261
3292
|
} else {
|
|
3262
3293
|
invariant(false, 'ReactDOMServer does not yet support Suspense.');
|
|
3263
3294
|
}
|
|
@@ -3271,64 +3302,64 @@ var ReactDOMServerRenderer = function () {
|
|
|
3271
3302
|
case REACT_FORWARD_REF_TYPE:
|
|
3272
3303
|
{
|
|
3273
3304
|
var element = nextChild;
|
|
3274
|
-
var
|
|
3305
|
+
var _nextChildren4 = void 0;
|
|
3275
3306
|
var componentIdentity = {};
|
|
3276
3307
|
prepareToUseHooks(componentIdentity);
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
var
|
|
3308
|
+
_nextChildren4 = elementType.render(element.props, element.ref);
|
|
3309
|
+
_nextChildren4 = finishHooks(elementType.render, element.props, _nextChildren4, element.ref);
|
|
3310
|
+
_nextChildren4 = toArray(_nextChildren4);
|
|
3311
|
+
var _frame4 = {
|
|
3281
3312
|
type: null,
|
|
3282
3313
|
domNamespace: parentNamespace,
|
|
3283
|
-
children:
|
|
3314
|
+
children: _nextChildren4,
|
|
3284
3315
|
childIndex: 0,
|
|
3285
3316
|
context: context,
|
|
3286
3317
|
footer: ''
|
|
3287
3318
|
};
|
|
3288
3319
|
{
|
|
3289
|
-
|
|
3320
|
+
_frame4.debugElementStack = [];
|
|
3290
3321
|
}
|
|
3291
|
-
this.stack.push(
|
|
3322
|
+
this.stack.push(_frame4);
|
|
3292
3323
|
return '';
|
|
3293
3324
|
}
|
|
3294
3325
|
case REACT_MEMO_TYPE:
|
|
3295
3326
|
{
|
|
3296
3327
|
var _element = nextChild;
|
|
3297
|
-
var
|
|
3298
|
-
var
|
|
3328
|
+
var _nextChildren5 = [React.createElement(elementType.type, _assign({ ref: _element.ref }, _element.props))];
|
|
3329
|
+
var _frame5 = {
|
|
3299
3330
|
type: null,
|
|
3300
3331
|
domNamespace: parentNamespace,
|
|
3301
|
-
children:
|
|
3332
|
+
children: _nextChildren5,
|
|
3302
3333
|
childIndex: 0,
|
|
3303
3334
|
context: context,
|
|
3304
3335
|
footer: ''
|
|
3305
3336
|
};
|
|
3306
3337
|
{
|
|
3307
|
-
|
|
3338
|
+
_frame5.debugElementStack = [];
|
|
3308
3339
|
}
|
|
3309
|
-
this.stack.push(
|
|
3340
|
+
this.stack.push(_frame5);
|
|
3310
3341
|
return '';
|
|
3311
3342
|
}
|
|
3312
3343
|
case REACT_PROVIDER_TYPE:
|
|
3313
3344
|
{
|
|
3314
3345
|
var provider = nextChild;
|
|
3315
3346
|
var nextProps = provider.props;
|
|
3316
|
-
var
|
|
3317
|
-
var
|
|
3347
|
+
var _nextChildren6 = toArray(nextProps.children);
|
|
3348
|
+
var _frame6 = {
|
|
3318
3349
|
type: provider,
|
|
3319
3350
|
domNamespace: parentNamespace,
|
|
3320
|
-
children:
|
|
3351
|
+
children: _nextChildren6,
|
|
3321
3352
|
childIndex: 0,
|
|
3322
3353
|
context: context,
|
|
3323
3354
|
footer: ''
|
|
3324
3355
|
};
|
|
3325
3356
|
{
|
|
3326
|
-
|
|
3357
|
+
_frame6.debugElementStack = [];
|
|
3327
3358
|
}
|
|
3328
3359
|
|
|
3329
3360
|
this.pushProvider(provider);
|
|
3330
3361
|
|
|
3331
|
-
this.stack.push(
|
|
3362
|
+
this.stack.push(_frame6);
|
|
3332
3363
|
return '';
|
|
3333
3364
|
}
|
|
3334
3365
|
case REACT_CONTEXT_TYPE:
|
|
@@ -3361,19 +3392,19 @@ var ReactDOMServerRenderer = function () {
|
|
|
3361
3392
|
validateContextBounds(reactContext, threadID);
|
|
3362
3393
|
var nextValue = reactContext[threadID];
|
|
3363
3394
|
|
|
3364
|
-
var
|
|
3365
|
-
var
|
|
3395
|
+
var _nextChildren7 = toArray(_nextProps.children(nextValue));
|
|
3396
|
+
var _frame7 = {
|
|
3366
3397
|
type: nextChild,
|
|
3367
3398
|
domNamespace: parentNamespace,
|
|
3368
|
-
children:
|
|
3399
|
+
children: _nextChildren7,
|
|
3369
3400
|
childIndex: 0,
|
|
3370
3401
|
context: context,
|
|
3371
3402
|
footer: ''
|
|
3372
3403
|
};
|
|
3373
3404
|
{
|
|
3374
|
-
|
|
3405
|
+
_frame7.debugElementStack = [];
|
|
3375
3406
|
}
|
|
3376
|
-
this.stack.push(
|
|
3407
|
+
this.stack.push(_frame7);
|
|
3377
3408
|
return '';
|
|
3378
3409
|
}
|
|
3379
3410
|
case REACT_LAZY_TYPE:
|