react-dom 16.3.3 → 16.4.0
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-server.browser.development.js +56 -41
- package/cjs/react-dom-server.browser.production.min.js +25 -25
- package/cjs/react-dom-server.node.development.js +56 -41
- package/cjs/react-dom-server.node.production.min.js +28 -28
- package/cjs/react-dom-test-utils.development.js +140 -128
- package/cjs/react-dom-test-utils.production.min.js +22 -23
- package/cjs/react-dom-unstable-native-dependencies.development.js +72 -48
- package/cjs/react-dom-unstable-native-dependencies.production.min.js +27 -28
- package/cjs/react-dom.development.js +11325 -10673
- package/cjs/react-dom.production.min.js +227 -235
- package/package.json +1 -1
- package/umd/react-dom-server.browser.development.js +56 -41
- package/umd/react-dom-server.browser.production.min.js +28 -30
- package/umd/react-dom-test-utils.development.js +140 -128
- package/umd/react-dom-test-utils.production.min.js +21 -22
- package/umd/react-dom-unstable-native-dependencies.development.js +72 -48
- package/umd/react-dom-unstable-native-dependencies.production.min.js +23 -23
- package/umd/react-dom.development.js +11448 -10796
- package/umd/react-dom.production.min.js +186 -198
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.4.0
|
|
2
2
|
* react-dom-server.node.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -29,7 +29,7 @@ var stream = require('stream');
|
|
|
29
29
|
|
|
30
30
|
// TODO: this is special because it gets imported during build.
|
|
31
31
|
|
|
32
|
-
var ReactVersion = '16.
|
|
32
|
+
var ReactVersion = '16.4.0';
|
|
33
33
|
|
|
34
34
|
// Relying on the `invariant()` implementation lets us
|
|
35
35
|
// have preserve the format and params in the www builds.
|
|
@@ -99,15 +99,11 @@ var ReactDebugCurrentFrame = ReactInternals.ReactDebugCurrentFrame;
|
|
|
99
99
|
// Exports ReactDOM.createRoot
|
|
100
100
|
|
|
101
101
|
|
|
102
|
-
// Mutating mode (React DOM, React ART, React Native):
|
|
103
|
-
|
|
104
|
-
// Experimental noop mode (currently unused):
|
|
105
|
-
|
|
106
|
-
// Experimental persistent mode (Fabric):
|
|
107
|
-
|
|
108
102
|
// Experimental error-boundary API that can recover from errors within a single
|
|
109
103
|
// render phase
|
|
110
104
|
|
|
105
|
+
// Suspense
|
|
106
|
+
|
|
111
107
|
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
112
108
|
|
|
113
109
|
|
|
@@ -124,24 +120,30 @@ var ReactDebugCurrentFrame = ReactInternals.ReactDebugCurrentFrame;
|
|
|
124
120
|
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
|
|
125
121
|
var warnAboutDeprecatedLifecycles = false;
|
|
126
122
|
|
|
123
|
+
// Warn about legacy context API
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
// Gather advanced timing metrics for Profiler subtrees.
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
// Fires getDerivedStateFromProps for state *or* props changes
|
|
127
130
|
|
|
128
131
|
|
|
129
132
|
// Only used in www builds.
|
|
130
133
|
|
|
131
134
|
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
132
135
|
// nor polyfill, then a plain number is used for performance.
|
|
133
|
-
var hasSymbol = typeof Symbol === 'function' && Symbol
|
|
136
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
134
137
|
|
|
135
138
|
|
|
136
|
-
var
|
|
137
|
-
var
|
|
138
|
-
var
|
|
139
|
-
var
|
|
140
|
-
var
|
|
141
|
-
var
|
|
142
|
-
var
|
|
143
|
-
var
|
|
144
|
-
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol['for']('react.forward_ref') : 0xead0;
|
|
139
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
140
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
141
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
142
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
143
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
144
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
|
|
145
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
146
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
145
147
|
|
|
146
148
|
// A reserved attribute.
|
|
147
149
|
// It is handled by React separately and shouldn't be written to the DOM.
|
|
@@ -253,6 +255,9 @@ function shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag)
|
|
|
253
255
|
if (shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag)) {
|
|
254
256
|
return true;
|
|
255
257
|
}
|
|
258
|
+
if (isCustomComponentTag) {
|
|
259
|
+
return false;
|
|
260
|
+
}
|
|
256
261
|
if (propertyInfo !== null) {
|
|
257
262
|
switch (propertyInfo.type) {
|
|
258
263
|
case BOOLEAN:
|
|
@@ -295,7 +300,8 @@ var properties = {};
|
|
|
295
300
|
properties[name] = new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty
|
|
296
301
|
name, // attributeName
|
|
297
302
|
null);
|
|
298
|
-
}
|
|
303
|
+
} // attributeNamespace
|
|
304
|
+
);
|
|
299
305
|
|
|
300
306
|
// A few React string attributes have a different name.
|
|
301
307
|
// This is a mapping from React prop names to the attribute names.
|
|
@@ -306,7 +312,8 @@ var properties = {};
|
|
|
306
312
|
properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
|
307
313
|
attributeName, // attributeName
|
|
308
314
|
null);
|
|
309
|
-
}
|
|
315
|
+
} // attributeNamespace
|
|
316
|
+
);
|
|
310
317
|
|
|
311
318
|
// These are "enumerated" HTML attributes that accept "true" and "false".
|
|
312
319
|
// In React, we let users pass `true` and `false` even though technically
|
|
@@ -315,7 +322,8 @@ var properties = {};
|
|
|
315
322
|
properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
|
|
316
323
|
name.toLowerCase(), // attributeName
|
|
317
324
|
null);
|
|
318
|
-
}
|
|
325
|
+
} // attributeNamespace
|
|
326
|
+
);
|
|
319
327
|
|
|
320
328
|
// These are "enumerated" SVG attributes that accept "true" and "false".
|
|
321
329
|
// In React, we let users pass `true` and `false` even though technically
|
|
@@ -325,7 +333,8 @@ var properties = {};
|
|
|
325
333
|
properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
|
|
326
334
|
name, // attributeName
|
|
327
335
|
null);
|
|
328
|
-
}
|
|
336
|
+
} // attributeNamespace
|
|
337
|
+
);
|
|
329
338
|
|
|
330
339
|
// These are HTML boolean attributes.
|
|
331
340
|
['allowFullScreen', 'async',
|
|
@@ -337,7 +346,8 @@ var properties = {};
|
|
|
337
346
|
properties[name] = new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty
|
|
338
347
|
name.toLowerCase(), // attributeName
|
|
339
348
|
null);
|
|
340
|
-
}
|
|
349
|
+
} // attributeNamespace
|
|
350
|
+
);
|
|
341
351
|
|
|
342
352
|
// These are the few React props that we set as DOM properties
|
|
343
353
|
// rather than attributes. These are all booleans.
|
|
@@ -348,7 +358,8 @@ var properties = {};
|
|
|
348
358
|
properties[name] = new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
|
|
349
359
|
name.toLowerCase(), // attributeName
|
|
350
360
|
null);
|
|
351
|
-
}
|
|
361
|
+
} // attributeNamespace
|
|
362
|
+
);
|
|
352
363
|
|
|
353
364
|
// These are HTML attributes that are "overloaded booleans": they behave like
|
|
354
365
|
// booleans, but can also accept a string value.
|
|
@@ -356,21 +367,24 @@ var properties = {};
|
|
|
356
367
|
properties[name] = new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
|
|
357
368
|
name.toLowerCase(), // attributeName
|
|
358
369
|
null);
|
|
359
|
-
}
|
|
370
|
+
} // attributeNamespace
|
|
371
|
+
);
|
|
360
372
|
|
|
361
373
|
// These are HTML attributes that must be positive numbers.
|
|
362
374
|
['cols', 'rows', 'size', 'span'].forEach(function (name) {
|
|
363
375
|
properties[name] = new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
|
|
364
376
|
name.toLowerCase(), // attributeName
|
|
365
377
|
null);
|
|
366
|
-
}
|
|
378
|
+
} // attributeNamespace
|
|
379
|
+
);
|
|
367
380
|
|
|
368
381
|
// These are HTML attributes that must be numbers.
|
|
369
382
|
['rowSpan', 'start'].forEach(function (name) {
|
|
370
383
|
properties[name] = new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty
|
|
371
384
|
name.toLowerCase(), // attributeName
|
|
372
385
|
null);
|
|
373
|
-
}
|
|
386
|
+
} // attributeNamespace
|
|
387
|
+
);
|
|
374
388
|
|
|
375
389
|
var CAMELIZE = /[\-\:]([a-z])/g;
|
|
376
390
|
var capitalize = function (token) {
|
|
@@ -386,7 +400,8 @@ var capitalize = function (token) {
|
|
|
386
400
|
var name = attributeName.replace(CAMELIZE, capitalize);
|
|
387
401
|
properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
|
388
402
|
attributeName, null);
|
|
389
|
-
}
|
|
403
|
+
} // attributeNamespace
|
|
404
|
+
);
|
|
390
405
|
|
|
391
406
|
// String SVG attributes with the xlink namespace.
|
|
392
407
|
['xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type'].forEach(function (attributeName) {
|
|
@@ -542,10 +557,9 @@ function createMarkupForProperty(name, value) {
|
|
|
542
557
|
} else {
|
|
543
558
|
return attributeName + '=' + quoteAttributeValueForBrowser(value);
|
|
544
559
|
}
|
|
545
|
-
} else
|
|
560
|
+
} else {
|
|
546
561
|
return name + '=' + quoteAttributeValueForBrowser(value);
|
|
547
562
|
}
|
|
548
|
-
return '';
|
|
549
563
|
}
|
|
550
564
|
|
|
551
565
|
/**
|
|
@@ -655,6 +669,7 @@ var omittedCloseTags = {
|
|
|
655
669
|
source: true,
|
|
656
670
|
track: true,
|
|
657
671
|
wbr: true
|
|
672
|
+
// NOTE: menuitem's close tag should be omitted, but that causes problems.
|
|
658
673
|
};
|
|
659
674
|
|
|
660
675
|
// For HTML, certain tags cannot have children. This has the same purpose as
|
|
@@ -1138,7 +1153,7 @@ var possibleStandardNames = {
|
|
|
1138
1153
|
checked: 'checked',
|
|
1139
1154
|
children: 'children',
|
|
1140
1155
|
cite: 'cite',
|
|
1141
|
-
|
|
1156
|
+
class: 'className',
|
|
1142
1157
|
classid: 'classID',
|
|
1143
1158
|
classname: 'className',
|
|
1144
1159
|
cols: 'cols',
|
|
@@ -1153,7 +1168,7 @@ var possibleStandardNames = {
|
|
|
1153
1168
|
dangerouslysetinnerhtml: 'dangerouslySetInnerHTML',
|
|
1154
1169
|
data: 'data',
|
|
1155
1170
|
datetime: 'dateTime',
|
|
1156
|
-
|
|
1171
|
+
default: 'default',
|
|
1157
1172
|
defaultchecked: 'defaultChecked',
|
|
1158
1173
|
defaultvalue: 'defaultValue',
|
|
1159
1174
|
defer: 'defer',
|
|
@@ -1162,7 +1177,7 @@ var possibleStandardNames = {
|
|
|
1162
1177
|
download: 'download',
|
|
1163
1178
|
draggable: 'draggable',
|
|
1164
1179
|
enctype: 'encType',
|
|
1165
|
-
|
|
1180
|
+
for: 'htmlFor',
|
|
1166
1181
|
form: 'form',
|
|
1167
1182
|
formmethod: 'formMethod',
|
|
1168
1183
|
formaction: 'formAction',
|
|
@@ -1380,7 +1395,7 @@ var possibleStandardNames = {
|
|
|
1380
1395
|
imagerendering: 'imageRendering',
|
|
1381
1396
|
'image-rendering': 'imageRendering',
|
|
1382
1397
|
in2: 'in2',
|
|
1383
|
-
|
|
1398
|
+
in: 'in',
|
|
1384
1399
|
inlist: 'inlist',
|
|
1385
1400
|
intercept: 'intercept',
|
|
1386
1401
|
k1: 'k1',
|
|
@@ -1520,7 +1535,7 @@ var possibleStandardNames = {
|
|
|
1520
1535
|
'text-rendering': 'textRendering',
|
|
1521
1536
|
to: 'to',
|
|
1522
1537
|
transform: 'transform',
|
|
1523
|
-
|
|
1538
|
+
typeof: 'typeof',
|
|
1524
1539
|
u1: 'u1',
|
|
1525
1540
|
u2: 'u2',
|
|
1526
1541
|
underlineposition: 'underlinePosition',
|
|
@@ -2372,6 +2387,7 @@ var ReactDOMServerRenderer = function () {
|
|
|
2372
2387
|
switch (elementType) {
|
|
2373
2388
|
case REACT_STRICT_MODE_TYPE:
|
|
2374
2389
|
case REACT_ASYNC_MODE_TYPE:
|
|
2390
|
+
case REACT_PROFILER_TYPE:
|
|
2375
2391
|
case REACT_FRAGMENT_TYPE:
|
|
2376
2392
|
{
|
|
2377
2393
|
var _nextChildren = toArray(nextChild.props.children);
|
|
@@ -2389,9 +2405,6 @@ var ReactDOMServerRenderer = function () {
|
|
|
2389
2405
|
this.stack.push(_frame);
|
|
2390
2406
|
return '';
|
|
2391
2407
|
}
|
|
2392
|
-
case REACT_CALL_TYPE:
|
|
2393
|
-
case REACT_RETURN_TYPE:
|
|
2394
|
-
invariant(false, 'The experimental Call and Return types are not currently supported by the server renderer.');
|
|
2395
2408
|
// eslint-disable-next-line-no-fallthrough
|
|
2396
2409
|
default:
|
|
2397
2410
|
break;
|
|
@@ -2567,9 +2580,11 @@ var ReactDOMServerRenderer = function () {
|
|
|
2567
2580
|
}
|
|
2568
2581
|
var isArray = Array.isArray(props[propName]);
|
|
2569
2582
|
if (props.multiple && !isArray) {
|
|
2570
|
-
warning(false, 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, '')
|
|
2583
|
+
warning(false, 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, '' // getDeclarationErrorAddendum(),
|
|
2584
|
+
);
|
|
2571
2585
|
} else if (!props.multiple && isArray) {
|
|
2572
|
-
warning(false, 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, '')
|
|
2586
|
+
warning(false, 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, '' // getDeclarationErrorAddendum(),
|
|
2587
|
+
);
|
|
2573
2588
|
}
|
|
2574
2589
|
}
|
|
2575
2590
|
|
|
@@ -2762,7 +2777,7 @@ var ReactDOMServer = ( ReactDOMServerNode$1 && ReactDOMServerNode ) || ReactDOMS
|
|
|
2762
2777
|
|
|
2763
2778
|
// TODO: decide on the top-level export form.
|
|
2764
2779
|
// This is hacky but makes it work with both Rollup and Jest
|
|
2765
|
-
var server_node = ReactDOMServer
|
|
2780
|
+
var server_node = ReactDOMServer.default ? ReactDOMServer.default : ReactDOMServer;
|
|
2766
2781
|
|
|
2767
2782
|
module.exports = server_node;
|
|
2768
2783
|
})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.4.0
|
|
2
2
|
* react-dom-server.node.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -7,37 +7,37 @@
|
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
'use strict';var p=require("object-assign"),r=require("fbjs/lib/invariant"),
|
|
11
|
-
function
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
function
|
|
10
|
+
'use strict';var p=require("object-assign"),r=require("fbjs/lib/invariant"),u=require("react"),w=require("fbjs/lib/emptyFunction"),x=require("fbjs/lib/emptyObject"),y=require("fbjs/lib/hyphenateStyleName"),aa=require("fbjs/lib/memoizeStringOnly"),ba=require("stream");
|
|
11
|
+
function z(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)d+="&args[]="+encodeURIComponent(arguments[c+1]);r(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",d)}
|
|
12
|
+
var A="function"===typeof Symbol&&Symbol.for,ca=A?Symbol.for("react.portal"):60106,C=A?Symbol.for("react.fragment"):60107,da=A?Symbol.for("react.strict_mode"):60108,ea=A?Symbol.for("react.profiler"):60114,E=A?Symbol.for("react.provider"):60109,fa=A?Symbol.for("react.context"):60110,ha=A?Symbol.for("react.async_mode"):60111,ia=A?Symbol.for("react.forward_ref"):60112,ja=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
|
|
13
|
+
F={},G={};function ka(a){if(G.hasOwnProperty(a))return!0;if(F.hasOwnProperty(a))return!1;if(ja.test(a))return G[a]=!0;F[a]=!0;return!1}function la(a,b,d,c){if(null!==d&&0===d.type)return!1;switch(typeof b){case "function":case "symbol":return!0;case "boolean":if(c)return!1;if(null!==d)return!d.acceptsBooleans;a=a.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}
|
|
14
|
+
function ma(a,b,d,c){if(null===b||"undefined"===typeof b||la(a,b,d,c))return!0;if(c)return!1;if(null!==d)switch(d.type){case 3:return!b;case 4:return!1===b;case 5:return isNaN(b);case 6:return isNaN(b)||1>b}return!1}function H(a,b,d,c,h){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=h;this.mustUseProperty=d;this.propertyName=a;this.type=b}var I={};
|
|
15
15
|
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){I[a]=new H(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];I[b]=new H(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){I[a]=new H(a,2,!1,a.toLowerCase(),null)});
|
|
16
16
|
["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(a){I[a]=new H(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){I[a]=new H(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){I[a]=new H(a,3,!0,a.toLowerCase(),null)});
|
|
17
17
|
["capture","download"].forEach(function(a){I[a]=new H(a,4,!1,a.toLowerCase(),null)});["cols","rows","size","span"].forEach(function(a){I[a]=new H(a,6,!1,a.toLowerCase(),null)});["rowSpan","start"].forEach(function(a){I[a]=new H(a,5,!1,a.toLowerCase(),null)});var J=/[\-:]([a-z])/g;function K(a){return a[1].toUpperCase()}
|
|
18
18
|
"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(J,
|
|
19
|
-
K);I[b]=new H(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(J,K);I[b]=new H(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(J,K);I[b]=new H(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});I.tabIndex=new H("tabIndex",1,!1,"tabindex",null);var
|
|
20
|
-
function L(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=
|
|
19
|
+
K);I[b]=new H(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(J,K);I[b]=new H(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(J,K);I[b]=new H(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});I.tabIndex=new H("tabIndex",1,!1,"tabindex",null);var na=/["'&<>]/;
|
|
20
|
+
function L(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=na.exec(a);if(b){var d="",c,h=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}h!==c&&(d+=a.substring(h,c));h=c+1;d+=b}a=h!==c?d+a.substring(h,c):d}return a}var M={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};
|
|
21
21
|
function N(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}
|
|
22
|
-
var O={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},
|
|
23
|
-
fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},
|
|
24
|
-
function S(a){return"string"===typeof a?a:"function"===typeof a?a.displayName||a.name:null}var
|
|
25
|
-
function U(a,b){void 0===a&&
|
|
26
|
-
function
|
|
27
|
-
d,g),null==e||null==e.render){a=e;U(a,h);return}e.props=c.props;e.context=d;e.updater=g;g=e.state;void 0===g&&(e.state=g=null);if("function"===typeof e.UNSAFE_componentWillMount||"function"===typeof e.componentWillMount)if("function"===typeof e.componentWillMount&&"function"!==typeof h.getDerivedStateFromProps&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&"function"!==typeof h.getDerivedStateFromProps&&e.UNSAFE_componentWillMount(),f.length){g=f;var
|
|
28
|
-
1===g.length)e.state=g[0];else{v=
|
|
22
|
+
var O={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},oa=p({menuitem:!0},O),P={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,
|
|
23
|
+
fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pa=["Webkit","ms","Moz","O"];Object.keys(P).forEach(function(a){pa.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);P[b]=P[a]})});var Q=u.Children.toArray,R=w.thatReturns("");w.thatReturns("");var qa={listing:!0,pre:!0,textarea:!0};
|
|
24
|
+
function S(a){return"string"===typeof a?a:"function"===typeof a?a.displayName||a.name:null}var ra=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,T={},sa=aa(function(a){return y(a)});function ta(a){var b="";u.Children.forEach(a,function(a){null==a||"string"!==typeof a&&"number"!==typeof a||(b+=a)});return b}function ua(a,b){if(a=a.contextTypes){var d={},c;for(c in a)d[c]=b[c];b=d}else b=x;return b}var va={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};
|
|
25
|
+
function U(a,b){void 0===a&&z("152",S(b)||"Component")}
|
|
26
|
+
function wa(a,b){function d(c,h){var d=ua(h,b),f=[],k=!1,g={isMounted:function(){return!1},enqueueForceUpdate:function(){if(null===f)return null},enqueueReplaceState:function(a,b){k=!0;f=[b]},enqueueSetState:function(b,a){if(null===f)return null;f.push(a)}},e=void 0;if(h.prototype&&h.prototype.isReactComponent){if(e=new h(c.props,d,g),"function"===typeof h.getDerivedStateFromProps){var v=h.getDerivedStateFromProps.call(null,c.props,e.state);null!=v&&(e.state=p({},e.state,v))}}else if(e=h(c.props,
|
|
27
|
+
d,g),null==e||null==e.render){a=e;U(a,h);return}e.props=c.props;e.context=d;e.updater=g;g=e.state;void 0===g&&(e.state=g=null);if("function"===typeof e.UNSAFE_componentWillMount||"function"===typeof e.componentWillMount)if("function"===typeof e.componentWillMount&&"function"!==typeof h.getDerivedStateFromProps&&e.componentWillMount(),"function"===typeof e.UNSAFE_componentWillMount&&"function"!==typeof h.getDerivedStateFromProps&&e.UNSAFE_componentWillMount(),f.length){g=f;var t=k;f=null;k=!1;if(t&&
|
|
28
|
+
1===g.length)e.state=g[0];else{v=t?g[0]:e.state;var m=!0;for(t=t?1:0;t<g.length;t++){var n=g[t];n="function"===typeof n?n.call(e,v,c.props,d):n;null!=n&&(m?(m=!1,v=p({},v,n)):p(v,n))}e.state=v}}else f=null;a=e.render();U(a,h);c=void 0;if("function"===typeof e.getChildContext&&(d=h.childContextTypes,"object"===typeof d)){c=e.getChildContext();for(var q in c)q in d?void 0:z("108",S(h)||"Unknown",q)}c&&(b=p({},b,c))}for(;u.isValidElement(a);){var c=a,h=c.type;if("function"!==typeof h)break;d(c,h)}return{child:a,
|
|
29
29
|
context:b}}
|
|
30
|
-
var V=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");
|
|
30
|
+
var V=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");u.isValidElement(b)?b.type!==C?b=[b]:(b=b.props.children,b=u.isValidElement(b)?[b]:Q(b)):b=Q(b);this.stack=[{type:null,domNamespace:M.html,children:b,childIndex:0,context:x,footer:""}];this.exhausted=!1;this.currentSelectValue=null;this.previousWasTextNode=!1;this.makeStaticMarkup=d;this.providerStack=[];this.providerIndex=-1}a.prototype.pushProvider=function(a){this.providerIndex+=1;
|
|
31
31
|
this.providerStack[this.providerIndex]=a;a.type._context._currentValue=a.props.value};a.prototype.popProvider=function(a){this.providerStack[this.providerIndex]=null;--this.providerIndex;a=a.type._context;a._currentValue=0>this.providerIndex?a._defaultValue:this.providerStack[this.providerIndex].props.value};a.prototype.read=function(a){if(this.exhausted)return null;for(var b="";b.length<a;){if(0===this.stack.length){this.exhausted=!0;break}var c=this.stack[this.stack.length-1];if(c.childIndex>=c.children.length){var h=
|
|
32
|
-
c.footer;b+=h;""!==h&&(this.previousWasTextNode=!1);this.stack.pop();"select"===c.type?this.currentSelectValue=null:null!=c.type&&null!=c.type.type&&c.type.type.$$typeof===
|
|
33
|
-
!0;return L(c)}d=
|
|
34
|
-
""
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
null!=k.dangerouslySetInnerHTML?
|
|
38
|
-
n=e[g];null!=n&&(v+=
|
|
39
|
-
g+"
|
|
40
|
-
|
|
41
|
-
function
|
|
42
|
-
var W=function(a){function b(d,c){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");var h=a.call(this,{});if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");h=!h||"object"!==typeof h&&"function"!==typeof h?this:h;h.partialRenderer=new V(d,c);return h}
|
|
43
|
-
!1)).read(Infinity)},renderToStaticMarkup:function(a){return(new V(a,!0)).read(Infinity)},renderToNodeStream:function(a){return new W(a,!1)},renderToStaticNodeStream:function(a){return new W(a,!0)},version:"16.
|
|
32
|
+
c.footer;b+=h;""!==h&&(this.previousWasTextNode=!1);this.stack.pop();"select"===c.type?this.currentSelectValue=null:null!=c.type&&null!=c.type.type&&c.type.type.$$typeof===E&&this.popProvider(c.type)}else h=c.children[c.childIndex++],b+=this.render(h,c.context,c.domNamespace)}return b};a.prototype.render=function(a,d,c){if("string"===typeof a||"number"===typeof a){c=""+a;if(""===c)return"";if(this.makeStaticMarkup)return L(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+L(c);this.previousWasTextNode=
|
|
33
|
+
!0;return L(c)}d=wa(a,d);a=d.child;d=d.context;if(null===a||!1===a)return"";if(!u.isValidElement(a)){if(null!=a&&null!=a.$$typeof){var b=a.$$typeof;b===ca?z("257"):void 0;z("258",b.toString())}a=Q(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 da:case ha:case ea:case C:return a=Q(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,
|
|
34
|
+
footer:""}),""}if("object"===typeof b&&null!==b)switch(b.$$typeof){case ia:return a=Q(b.render(a.props,a.ref)),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case E:return b=Q(a.props.children),c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),"";case fa:return b=Q(a.props.children(a.type._currentValue)),this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""}),""}z("130",
|
|
35
|
+
null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();c===M.html&&N(b);T.hasOwnProperty(b)||(ra.test(b)?void 0:z("65",b),T[b]=!0);var f=a.props;if("input"===b)f=p({type:void 0},f,{defaultChecked:void 0,defaultValue:void 0,value:null!=f.value?f.value:f.defaultValue,checked:null!=f.checked?f.checked:f.defaultChecked});else if("textarea"===b){var k=f.value;if(null==k){k=f.defaultValue;var l=f.children;null!=l&&(null!=k?z("92"):void 0,Array.isArray(l)&&(1>=l.length?
|
|
36
|
+
void 0:z("93"),l=l[0]),k=""+l);null==k&&(k="")}f=p({},f,{value:void 0,children:""+k})}else if("select"===b)this.currentSelectValue=null!=f.value?f.value:f.defaultValue,f=p({},f,{value:void 0});else if("option"===b){l=this.currentSelectValue;var D=ta(f.children);if(null!=l){var B=null!=f.value?f.value+"":D;k=!1;if(Array.isArray(l))for(var g=0;g<l.length;g++){if(""+l[g]===B){k=!0;break}}else k=""+l===B;f=p({selected:void 0,children:void 0},f,{selected:k,children:D})}}if(k=f)oa[b]&&(null!=k.children||
|
|
37
|
+
null!=k.dangerouslySetInnerHTML?z("137",b,R()):void 0),null!=k.dangerouslySetInnerHTML&&(null!=k.children?z("60"):void 0,"object"===typeof k.dangerouslySetInnerHTML&&"__html"in k.dangerouslySetInnerHTML?void 0:z("61")),null!=k.style&&"object"!==typeof k.style?z("62",R()):void 0;k=f;l=this.makeStaticMarkup;D=1===this.stack.length;B="<"+a.type;for(q in k)if(k.hasOwnProperty(q)){var e=k[q];if(null!=e){if("style"===q){g=void 0;var v="",t="";for(g in e)if(e.hasOwnProperty(g)){var m=0===g.indexOf("--"),
|
|
38
|
+
n=e[g];null!=n&&(v+=t+sa(g)+":",t=g,m=null==n||"boolean"===typeof n||""===n?"":m||"number"!==typeof n||0===n||P.hasOwnProperty(t)&&P[t]?(""+n).trim():n+"px",v+=m,t=";")}e=v||null}g=null;b:if(m=b,n=k,-1===m.indexOf("-"))m="string"===typeof n.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)va.hasOwnProperty(q)||(g=q,g=ka(g)&&null!=
|
|
39
|
+
e?g+"="+('"'+L(e)+'"'):"");else{m=q;g=e;e=I.hasOwnProperty(m)?I[m]:null;if(n="style"!==m)n=null!==e?0===e.type:!(2<m.length)||"o"!==m[0]&&"O"!==m[0]||"n"!==m[1]&&"N"!==m[1]?!1:!0;n||ma(m,g,e,!1)?g="":null!==e?(m=e.attributeName,e=e.type,g=3===e||4===e&&!0===g?m+'=""':m+"="+('"'+L(g)+'"')):g=m+"="+('"'+L(g)+'"')}g&&(B+=" "+g)}}l||D&&(B+=' data-reactroot=""');var q=B;k="";O.hasOwnProperty(b)?q+="/>":(q+=">",k="</"+a.type+">");a:{l=f.dangerouslySetInnerHTML;if(null!=l){if(null!=l.__html){l=l.__html;
|
|
40
|
+
break a}}else if(l=f.children,"string"===typeof l||"number"===typeof l){l=L(l);break a}l=null}null!=l?(f=[],qa[b]&&"\n"===l.charAt(0)&&(q+="\n"),q+=l):f=Q(f.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?N(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:f,childIndex:0,context:d,footer:k});this.previousWasTextNode=!1;return q};return a}();
|
|
41
|
+
function xa(a,b){if("function"!==typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}
|
|
42
|
+
var W=function(a){function b(d,c){if(!(this instanceof b))throw new TypeError("Cannot call a class as a function");var h=a.call(this,{});if(!this)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");h=!h||"object"!==typeof h&&"function"!==typeof h?this:h;h.partialRenderer=new V(d,c);return h}xa(b,a);b.prototype._read=function(a){try{this.push(this.partialRenderer.read(a))}catch(c){this.emit("error",c)}};return b}(ba.Readable),X={renderToString:function(a){return(new V(a,
|
|
43
|
+
!1)).read(Infinity)},renderToStaticMarkup:function(a){return(new V(a,!0)).read(Infinity)},renderToNodeStream:function(a){return new W(a,!1)},renderToStaticNodeStream:function(a){return new W(a,!0)},version:"16.4.0"},Y={default:X},Z=Y&&X||Y;module.exports=Z.default?Z.default:Z;
|