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
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.4.0
|
|
2
2
|
* react-dom-server.browser.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -74,7 +74,7 @@ var invariant_1 = invariant;
|
|
|
74
74
|
|
|
75
75
|
// TODO: this is special because it gets imported during build.
|
|
76
76
|
|
|
77
|
-
var ReactVersion = '16.
|
|
77
|
+
var ReactVersion = '16.4.0';
|
|
78
78
|
|
|
79
79
|
var ReactInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
80
80
|
|
|
@@ -428,15 +428,11 @@ var ReactDebugCurrentFrame = ReactInternals$1.ReactDebugCurrentFrame;
|
|
|
428
428
|
// Exports ReactDOM.createRoot
|
|
429
429
|
|
|
430
430
|
|
|
431
|
-
// Mutating mode (React DOM, React ART, React Native):
|
|
432
|
-
|
|
433
|
-
// Experimental noop mode (currently unused):
|
|
434
|
-
|
|
435
|
-
// Experimental persistent mode (Fabric):
|
|
436
|
-
|
|
437
431
|
// Experimental error-boundary API that can recover from errors within a single
|
|
438
432
|
// render phase
|
|
439
433
|
|
|
434
|
+
// Suspense
|
|
435
|
+
|
|
440
436
|
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
441
437
|
|
|
442
438
|
|
|
@@ -453,24 +449,30 @@ var ReactDebugCurrentFrame = ReactInternals$1.ReactDebugCurrentFrame;
|
|
|
453
449
|
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
|
|
454
450
|
var warnAboutDeprecatedLifecycles = false;
|
|
455
451
|
|
|
452
|
+
// Warn about legacy context API
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
// Gather advanced timing metrics for Profiler subtrees.
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
// Fires getDerivedStateFromProps for state *or* props changes
|
|
456
459
|
|
|
457
460
|
|
|
458
461
|
// Only used in www builds.
|
|
459
462
|
|
|
460
463
|
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
461
464
|
// nor polyfill, then a plain number is used for performance.
|
|
462
|
-
var hasSymbol = typeof Symbol === 'function' && Symbol
|
|
465
|
+
var hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
463
466
|
|
|
464
467
|
|
|
465
|
-
var
|
|
466
|
-
var
|
|
467
|
-
var
|
|
468
|
-
var
|
|
469
|
-
var
|
|
470
|
-
var
|
|
471
|
-
var
|
|
472
|
-
var
|
|
473
|
-
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol['for']('react.forward_ref') : 0xead0;
|
|
468
|
+
var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
|
|
469
|
+
var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
|
|
470
|
+
var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
|
|
471
|
+
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
472
|
+
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
473
|
+
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
|
|
474
|
+
var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
|
|
475
|
+
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
474
476
|
|
|
475
477
|
// A reserved attribute.
|
|
476
478
|
// It is handled by React separately and shouldn't be written to the DOM.
|
|
@@ -582,6 +584,9 @@ function shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag)
|
|
|
582
584
|
if (shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag)) {
|
|
583
585
|
return true;
|
|
584
586
|
}
|
|
587
|
+
if (isCustomComponentTag) {
|
|
588
|
+
return false;
|
|
589
|
+
}
|
|
585
590
|
if (propertyInfo !== null) {
|
|
586
591
|
switch (propertyInfo.type) {
|
|
587
592
|
case BOOLEAN:
|
|
@@ -624,7 +629,8 @@ var properties = {};
|
|
|
624
629
|
properties[name] = new PropertyInfoRecord(name, RESERVED, false, // mustUseProperty
|
|
625
630
|
name, // attributeName
|
|
626
631
|
null);
|
|
627
|
-
}
|
|
632
|
+
} // attributeNamespace
|
|
633
|
+
);
|
|
628
634
|
|
|
629
635
|
// A few React string attributes have a different name.
|
|
630
636
|
// This is a mapping from React prop names to the attribute names.
|
|
@@ -635,7 +641,8 @@ var properties = {};
|
|
|
635
641
|
properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
|
636
642
|
attributeName, // attributeName
|
|
637
643
|
null);
|
|
638
|
-
}
|
|
644
|
+
} // attributeNamespace
|
|
645
|
+
);
|
|
639
646
|
|
|
640
647
|
// These are "enumerated" HTML attributes that accept "true" and "false".
|
|
641
648
|
// In React, we let users pass `true` and `false` even though technically
|
|
@@ -644,7 +651,8 @@ var properties = {};
|
|
|
644
651
|
properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
|
|
645
652
|
name.toLowerCase(), // attributeName
|
|
646
653
|
null);
|
|
647
|
-
}
|
|
654
|
+
} // attributeNamespace
|
|
655
|
+
);
|
|
648
656
|
|
|
649
657
|
// These are "enumerated" SVG attributes that accept "true" and "false".
|
|
650
658
|
// In React, we let users pass `true` and `false` even though technically
|
|
@@ -654,7 +662,8 @@ var properties = {};
|
|
|
654
662
|
properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, // mustUseProperty
|
|
655
663
|
name, // attributeName
|
|
656
664
|
null);
|
|
657
|
-
}
|
|
665
|
+
} // attributeNamespace
|
|
666
|
+
);
|
|
658
667
|
|
|
659
668
|
// These are HTML boolean attributes.
|
|
660
669
|
['allowFullScreen', 'async',
|
|
@@ -666,7 +675,8 @@ var properties = {};
|
|
|
666
675
|
properties[name] = new PropertyInfoRecord(name, BOOLEAN, false, // mustUseProperty
|
|
667
676
|
name.toLowerCase(), // attributeName
|
|
668
677
|
null);
|
|
669
|
-
}
|
|
678
|
+
} // attributeNamespace
|
|
679
|
+
);
|
|
670
680
|
|
|
671
681
|
// These are the few React props that we set as DOM properties
|
|
672
682
|
// rather than attributes. These are all booleans.
|
|
@@ -677,7 +687,8 @@ var properties = {};
|
|
|
677
687
|
properties[name] = new PropertyInfoRecord(name, BOOLEAN, true, // mustUseProperty
|
|
678
688
|
name.toLowerCase(), // attributeName
|
|
679
689
|
null);
|
|
680
|
-
}
|
|
690
|
+
} // attributeNamespace
|
|
691
|
+
);
|
|
681
692
|
|
|
682
693
|
// These are HTML attributes that are "overloaded booleans": they behave like
|
|
683
694
|
// booleans, but can also accept a string value.
|
|
@@ -685,21 +696,24 @@ var properties = {};
|
|
|
685
696
|
properties[name] = new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, // mustUseProperty
|
|
686
697
|
name.toLowerCase(), // attributeName
|
|
687
698
|
null);
|
|
688
|
-
}
|
|
699
|
+
} // attributeNamespace
|
|
700
|
+
);
|
|
689
701
|
|
|
690
702
|
// These are HTML attributes that must be positive numbers.
|
|
691
703
|
['cols', 'rows', 'size', 'span'].forEach(function (name) {
|
|
692
704
|
properties[name] = new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, // mustUseProperty
|
|
693
705
|
name.toLowerCase(), // attributeName
|
|
694
706
|
null);
|
|
695
|
-
}
|
|
707
|
+
} // attributeNamespace
|
|
708
|
+
);
|
|
696
709
|
|
|
697
710
|
// These are HTML attributes that must be numbers.
|
|
698
711
|
['rowSpan', 'start'].forEach(function (name) {
|
|
699
712
|
properties[name] = new PropertyInfoRecord(name, NUMERIC, false, // mustUseProperty
|
|
700
713
|
name.toLowerCase(), // attributeName
|
|
701
714
|
null);
|
|
702
|
-
}
|
|
715
|
+
} // attributeNamespace
|
|
716
|
+
);
|
|
703
717
|
|
|
704
718
|
var CAMELIZE = /[\-\:]([a-z])/g;
|
|
705
719
|
var capitalize = function (token) {
|
|
@@ -715,7 +729,8 @@ var capitalize = function (token) {
|
|
|
715
729
|
var name = attributeName.replace(CAMELIZE, capitalize);
|
|
716
730
|
properties[name] = new PropertyInfoRecord(name, STRING, false, // mustUseProperty
|
|
717
731
|
attributeName, null);
|
|
718
|
-
}
|
|
732
|
+
} // attributeNamespace
|
|
733
|
+
);
|
|
719
734
|
|
|
720
735
|
// String SVG attributes with the xlink namespace.
|
|
721
736
|
['xlink:actuate', 'xlink:arcrole', 'xlink:href', 'xlink:role', 'xlink:show', 'xlink:title', 'xlink:type'].forEach(function (attributeName) {
|
|
@@ -871,10 +886,9 @@ function createMarkupForProperty(name, value) {
|
|
|
871
886
|
} else {
|
|
872
887
|
return attributeName + '=' + quoteAttributeValueForBrowser(value);
|
|
873
888
|
}
|
|
874
|
-
} else
|
|
889
|
+
} else {
|
|
875
890
|
return name + '=' + quoteAttributeValueForBrowser(value);
|
|
876
891
|
}
|
|
877
|
-
return '';
|
|
878
892
|
}
|
|
879
893
|
|
|
880
894
|
/**
|
|
@@ -984,6 +998,7 @@ var omittedCloseTags = {
|
|
|
984
998
|
source: true,
|
|
985
999
|
track: true,
|
|
986
1000
|
wbr: true
|
|
1001
|
+
// NOTE: menuitem's close tag should be omitted, but that causes problems.
|
|
987
1002
|
};
|
|
988
1003
|
|
|
989
1004
|
// For HTML, certain tags cannot have children. This has the same purpose as
|
|
@@ -1533,7 +1548,7 @@ var possibleStandardNames = {
|
|
|
1533
1548
|
checked: 'checked',
|
|
1534
1549
|
children: 'children',
|
|
1535
1550
|
cite: 'cite',
|
|
1536
|
-
|
|
1551
|
+
class: 'className',
|
|
1537
1552
|
classid: 'classID',
|
|
1538
1553
|
classname: 'className',
|
|
1539
1554
|
cols: 'cols',
|
|
@@ -1548,7 +1563,7 @@ var possibleStandardNames = {
|
|
|
1548
1563
|
dangerouslysetinnerhtml: 'dangerouslySetInnerHTML',
|
|
1549
1564
|
data: 'data',
|
|
1550
1565
|
datetime: 'dateTime',
|
|
1551
|
-
|
|
1566
|
+
default: 'default',
|
|
1552
1567
|
defaultchecked: 'defaultChecked',
|
|
1553
1568
|
defaultvalue: 'defaultValue',
|
|
1554
1569
|
defer: 'defer',
|
|
@@ -1557,7 +1572,7 @@ var possibleStandardNames = {
|
|
|
1557
1572
|
download: 'download',
|
|
1558
1573
|
draggable: 'draggable',
|
|
1559
1574
|
enctype: 'encType',
|
|
1560
|
-
|
|
1575
|
+
for: 'htmlFor',
|
|
1561
1576
|
form: 'form',
|
|
1562
1577
|
formmethod: 'formMethod',
|
|
1563
1578
|
formaction: 'formAction',
|
|
@@ -1775,7 +1790,7 @@ var possibleStandardNames = {
|
|
|
1775
1790
|
imagerendering: 'imageRendering',
|
|
1776
1791
|
'image-rendering': 'imageRendering',
|
|
1777
1792
|
in2: 'in2',
|
|
1778
|
-
|
|
1793
|
+
in: 'in',
|
|
1779
1794
|
inlist: 'inlist',
|
|
1780
1795
|
intercept: 'intercept',
|
|
1781
1796
|
k1: 'k1',
|
|
@@ -1915,7 +1930,7 @@ var possibleStandardNames = {
|
|
|
1915
1930
|
'text-rendering': 'textRendering',
|
|
1916
1931
|
to: 'to',
|
|
1917
1932
|
transform: 'transform',
|
|
1918
|
-
|
|
1933
|
+
typeof: 'typeof',
|
|
1919
1934
|
u1: 'u1',
|
|
1920
1935
|
u2: 'u2',
|
|
1921
1936
|
underlineposition: 'underlinePosition',
|
|
@@ -2767,6 +2782,7 @@ var ReactDOMServerRenderer = function () {
|
|
|
2767
2782
|
switch (elementType) {
|
|
2768
2783
|
case REACT_STRICT_MODE_TYPE:
|
|
2769
2784
|
case REACT_ASYNC_MODE_TYPE:
|
|
2785
|
+
case REACT_PROFILER_TYPE:
|
|
2770
2786
|
case REACT_FRAGMENT_TYPE:
|
|
2771
2787
|
{
|
|
2772
2788
|
var _nextChildren = toArray(nextChild.props.children);
|
|
@@ -2784,9 +2800,6 @@ var ReactDOMServerRenderer = function () {
|
|
|
2784
2800
|
this.stack.push(_frame);
|
|
2785
2801
|
return '';
|
|
2786
2802
|
}
|
|
2787
|
-
case REACT_CALL_TYPE:
|
|
2788
|
-
case REACT_RETURN_TYPE:
|
|
2789
|
-
invariant_1(false, 'The experimental Call and Return types are not currently supported by the server renderer.');
|
|
2790
2803
|
// eslint-disable-next-line-no-fallthrough
|
|
2791
2804
|
default:
|
|
2792
2805
|
break;
|
|
@@ -2962,9 +2975,11 @@ var ReactDOMServerRenderer = function () {
|
|
|
2962
2975
|
}
|
|
2963
2976
|
var isArray = Array.isArray(props[propName]);
|
|
2964
2977
|
if (props.multiple && !isArray) {
|
|
2965
|
-
warning_1(false, 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, '')
|
|
2978
|
+
warning_1(false, 'The `%s` prop supplied to <select> must be an array if ' + '`multiple` is true.%s', propName, '' // getDeclarationErrorAddendum(),
|
|
2979
|
+
);
|
|
2966
2980
|
} else if (!props.multiple && isArray) {
|
|
2967
|
-
warning_1(false, 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, '')
|
|
2981
|
+
warning_1(false, 'The `%s` prop supplied to <select> must be a scalar ' + 'value if `multiple` is false.%s', propName, '' // getDeclarationErrorAddendum(),
|
|
2982
|
+
);
|
|
2968
2983
|
}
|
|
2969
2984
|
}
|
|
2970
2985
|
|
|
@@ -3112,7 +3127,7 @@ var ReactDOMServer = ( ReactDOMServerBrowser$1 && ReactDOMServerBrowser ) || Rea
|
|
|
3112
3127
|
|
|
3113
3128
|
// TODO: decide on the top-level export form.
|
|
3114
3129
|
// This is hacky but makes it work with both Rollup and Jest
|
|
3115
|
-
var server_browser = ReactDOMServer
|
|
3130
|
+
var server_browser = ReactDOMServer.default ? ReactDOMServer.default : ReactDOMServer;
|
|
3116
3131
|
|
|
3117
3132
|
return server_browser;
|
|
3118
3133
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.4.0
|
|
2
2
|
* react-dom-server.browser.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -6,32 +6,30 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
'use strict';(function(
|
|
10
|
-
d)}function B(a){return function(){return a}}function
|
|
11
|
-
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 r(a,b,d,c,n){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=n;this.mustUseProperty=d;this.propertyName=a;this.type=b}function z(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=V.exec(a);if(b){var d="",c,n=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b="
|
|
12
|
-
case 39:b="
|
|
13
|
-
|
|
14
|
-
new d(c.props,n,g),"function"===typeof d.getDerivedStateFromProps){var k=d.getDerivedStateFromProps.call(null,c.props,e.state);null!=k&&(e.state=x({},e.state,k))}}else if(e=d(c.props,n,g),null==e||null==e.render){a=e;
|
|
15
|
-
"function"===typeof e.UNSAFE_componentWillMount&&"function"!==typeof d.getDerivedStateFromProps&&e.UNSAFE_componentWillMount(),f.length){g=f;var p=h;f=null;h=!1;if(p&&1===g.length)e.state=g[0];else{k=p?g[0]:e.state;var m=!0;for(p=p?1:0;p<g.length;p++){var q=g[p];q="function"===typeof q?q.call(e,k,c.props,n):q;null!=q&&(m?(m=!1,k=x({},k,q)):x(k,q))}e.state=k}}else f=null;a=e.render();
|
|
16
|
-
for(var v in c)v in n?void 0:t("108",
|
|
17
|
-
}},x=
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
new r(
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
this.
|
|
28
|
-
|
|
29
|
-
domNamespace:c,children:
|
|
30
|
-
|
|
31
|
-
b)
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?H(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:h});this.previousWasTextNode=!1;return v};return a}();k={renderToString:function(a){return(new Q(a,!1)).read(Infinity)},renderToStaticMarkup:function(a){return(new Q(a,!0)).read(Infinity)},renderToNodeStream:function(){t("207")},renderToStaticNodeStream:function(){t("208")},version:"16.3.3"};
|
|
37
|
-
k=(w=Object.freeze({default:k}))&&k||w;return k["default"]?k["default"]:k});
|
|
9
|
+
'use strict';(function(w,t){"object"===typeof exports&&"undefined"!==typeof module?module.exports=t(require("react")):"function"===typeof define&&define.amd?define(["react"],t):w.ReactDOMServer=t(w.React)})(this,function(w){function t(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]);Q(!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. ",
|
|
10
|
+
d)}function B(a){return function(){return a}}function R(a){if(E.hasOwnProperty(a))return!0;if(F.hasOwnProperty(a))return!1;if(S.test(a))return E[a]=!0;F[a]=!0;return!1}function T(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}}function U(a,b,d,c){if(null===b||"undefined"===typeof b||T(a,b,d,c))return!0;if(c)return!1;
|
|
11
|
+
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 r(a,b,d,c,n){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=c;this.attributeNamespace=n;this.mustUseProperty=d;this.propertyName=a;this.type=b}function z(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=V.exec(a);if(b){var d="",c,n=0;for(c=b.index;c<a.length;c++){switch(a.charCodeAt(c)){case 34:b=""";break;case 38:b="&";break;
|
|
12
|
+
case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}n!==c&&(d+=a.substring(n,c));n=c+1;d+=b}a=n!==c?d+a.substring(n,c):d}return a}function G(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"}}function H(a){return"string"===typeof a?a:"function"===typeof a?a.displayName||a.name:null}function W(a){var b="";w.Children.forEach(a,function(a){null==a||"string"!==
|
|
13
|
+
typeof a&&"number"!==typeof a||(b+=a)});return b}function X(a,b){if(a=a.contextTypes){var d={},c;for(c in a)d[c]=b[c];b=d}else b=I;return b}function J(a,b){void 0===a&&t("152",H(b)||"Component")}function Y(a,b){function d(c,d){var n=X(d,b),f=[],h=!1,g={isMounted:function(a){return!1},enqueueForceUpdate:function(a){if(null===f)return null},enqueueReplaceState:function(a,b){h=!0;f=[b]},enqueueSetState:function(a,b){if(null===f)return null;f.push(b)}},e=void 0;if(d.prototype&&d.prototype.isReactComponent){if(e=
|
|
14
|
+
new d(c.props,n,g),"function"===typeof d.getDerivedStateFromProps){var k=d.getDerivedStateFromProps.call(null,c.props,e.state);null!=k&&(e.state=x({},e.state,k))}}else if(e=d(c.props,n,g),null==e||null==e.render){a=e;J(a,d);return}e.props=c.props;e.context=n;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 d.getDerivedStateFromProps&&e.componentWillMount(),
|
|
15
|
+
"function"===typeof e.UNSAFE_componentWillMount&&"function"!==typeof d.getDerivedStateFromProps&&e.UNSAFE_componentWillMount(),f.length){g=f;var p=h;f=null;h=!1;if(p&&1===g.length)e.state=g[0];else{k=p?g[0]:e.state;var m=!0;for(p=p?1:0;p<g.length;p++){var q=g[p];q="function"===typeof q?q.call(e,k,c.props,n):q;null!=q&&(m?(m=!1,k=x({},k,q)):x(k,q))}e.state=k}}else f=null;a=e.render();J(a,d);c=void 0;if("function"===typeof e.getChildContext&&(n=d.childContextTypes,"object"===typeof n)){c=e.getChildContext();
|
|
16
|
+
for(var v in c)v in n?void 0:t("108",H(d)||"Unknown",v)}c&&(b=x({},b,c))}for(;w.isValidElement(a);){var c=a,n=c.type;if("function"!==typeof n)break;d(c,n)}return{child:a,context:b}}var Q=function(a,b,d,c,n,f,h,l){if(!a){if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var k=[d,c,n,f,h,l],p=0;a=Error(b.replace(/%s/g,function(){return k[p++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;
|
|
17
|
+
}},x=w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.assign,k=function(){};k.thatReturns=B;k.thatReturnsFalse=B(!1);k.thatReturnsTrue=B(!0);k.thatReturnsNull=B(null);k.thatReturnsThis=function(){return this};k.thatReturnsArgument=function(a){return a};var I={},Z=/([A-Z])/g,aa=/^ms-/,u="function"===typeof Symbol&&Symbol.for,ba=u?Symbol.for("react.portal"):60106,K=u?Symbol.for("react.fragment"):60107,ca=u?Symbol.for("react.strict_mode"):60108,da=u?Symbol.for("react.profiler"):60114,L=u?Symbol.for("react.provider"):
|
|
18
|
+
60109,ea=u?Symbol.for("react.context"):60110,fa=u?Symbol.for("react.async_mode"):60111,ha=u?Symbol.for("react.forward_ref"):60112,S=/^[: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]*$/,F={},E={},p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){p[a]=
|
|
19
|
+
new r(a,0,!1,a,null)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];p[b]=new r(b,1,!1,a[1],null)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){p[a]=new r(a,2,!1,a.toLowerCase(),null)});["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(a){p[a]=new r(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){p[a]=
|
|
20
|
+
new r(a,3,!1,a.toLowerCase(),null)});["checked","multiple","muted","selected"].forEach(function(a){p[a]=new r(a,3,!0,a.toLowerCase(),null)});["capture","download"].forEach(function(a){p[a]=new r(a,4,!1,a.toLowerCase(),null)});["cols","rows","size","span"].forEach(function(a){p[a]=new r(a,6,!1,a.toLowerCase(),null)});["rowSpan","start"].forEach(function(a){p[a]=new r(a,5,!1,a.toLowerCase(),null)});var C=/[\-:]([a-z])/g,D=function(a){return a[1].toUpperCase()};"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=
|
|
21
|
+
a.replace(C,D);p[b]=new r(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(C,D);p[b]=new r(b,1,!1,a,"http://www.w3.org/1999/xlink")});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(C,D);p[b]=new r(b,1,!1,a,"http://www.w3.org/XML/1998/namespace")});p.tabIndex=new r("tabIndex",1,!1,"tabindex",null);var V=/["'&<>]/,M={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,
|
|
22
|
+
keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},ia=x({menuitem:!0},M),A={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,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,
|
|
23
|
+
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},ja=["Webkit","ms","Moz","O"];Object.keys(A).forEach(function(a){ja.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);A[b]=A[a]})});var y=w.Children.toArray,N=k.thatReturns("");k.thatReturns("");var ka={listing:!0,pre:!0,textarea:!0},la=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,O={},ma=function(a){var b=
|
|
24
|
+
{};return function(d){b.hasOwnProperty(d)||(b[d]=a.call(this,d));return b[d]}}(function(a){return a.replace(Z,"-$1").toLowerCase().replace(aa,"-ms-")}),na={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null},P=function(){function a(b,d){if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");w.isValidElement(b)?b.type!==K?b=[b]:(b=b.props.children,b=w.isValidElement(b)?[b]:y(b)):b=y(b);this.stack=[{type:null,domNamespace:"http://www.w3.org/1999/xhtml",
|
|
25
|
+
children:b,childIndex:0,context:I,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;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:
|
|
26
|
+
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 n=c.footer;b+=n;""!==n&&(this.previousWasTextNode=!1);this.stack.pop();"select"===c.type?this.currentSelectValue=null:null!=c.type&&null!=c.type.type&&c.type.type.$$typeof===L&&this.popProvider(c.type)}else n=c.children[c.childIndex++],
|
|
27
|
+
b+=this.render(n,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 z(c);if(this.previousWasTextNode)return"\x3c!-- --\x3e"+z(c);this.previousWasTextNode=!0;return z(c)}d=Y(a,d);a=d.child;d=d.context;if(null===a||!1===a)return"";if(!w.isValidElement(a)){if(null!=a&&null!=a.$$typeof){var b=a.$$typeof;b===ba?t("257"):void 0;t("258",b.toString())}a=y(a);this.stack.push({type:null,
|
|
28
|
+
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 K:return a=y(a.props.children),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),""}if("object"===typeof b&&null!==b)switch(b.$$typeof){case ha:return a=y(b.render(a.props,a.ref)),this.stack.push({type:null,domNamespace:c,children:a,childIndex:0,context:d,footer:""}),"";case L:return b=y(a.props.children),
|
|
29
|
+
c={type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""},this.pushProvider(a),this.stack.push(c),"";case ea:return b=y(a.props.children(a.type._currentValue)),this.stack.push({type:a,domNamespace:c,children:b,childIndex:0,context:d,footer:""}),""}t("130",null==b?b:typeof b,"")};a.prototype.renderDOM=function(a,d,c){var b=a.type.toLowerCase();"http://www.w3.org/1999/xhtml"===c&&G(b);O.hasOwnProperty(b)||(la.test(b)?void 0:t("65",b),O[b]=!0);var f=a.props;if("input"===b)f=x({type:void 0},
|
|
30
|
+
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 h=f.value;if(null==h){h=f.defaultValue;var l=f.children;null!=l&&(null!=h?t("92"):void 0,Array.isArray(l)&&(1>=l.length?void 0:t("93"),l=l[0]),h=""+l);null==h&&(h="")}f=x({},f,{value:void 0,children:""+h})}else if("select"===b)this.currentSelectValue=null!=f.value?f.value:f.defaultValue,f=x({},f,{value:void 0});else if("option"===
|
|
31
|
+
b){l=this.currentSelectValue;var k=W(f.children);if(null!=l){var r=null!=f.value?f.value+"":k;h=!1;if(Array.isArray(l))for(var g=0;g<l.length;g++){if(""+l[g]===r){h=!0;break}}else h=""+l===r;f=x({selected:void 0,children:void 0},f,{selected:h,children:k})}}if(h=f)ia[b]&&(null!=h.children||null!=h.dangerouslySetInnerHTML?t("137",b,N()):void 0),null!=h.dangerouslySetInnerHTML&&(null!=h.children?t("60"):void 0,"object"===typeof h.dangerouslySetInnerHTML&&"__html"in h.dangerouslySetInnerHTML?void 0:t("61")),
|
|
32
|
+
null!=h.style&&"object"!==typeof h.style?t("62",N()):void 0;h=f;l=this.makeStaticMarkup;k=1===this.stack.length;r="<"+a.type;for(v in h)if(h.hasOwnProperty(v)){var e=h[v];if(null!=e){if("style"===v){g=void 0;var w="",u="";for(g in e)if(e.hasOwnProperty(g)){var m=0===g.indexOf("--"),q=e[g];null!=q&&(w+=u+ma(g)+":",u=g,m=null==q||"boolean"===typeof q||""===q?"":m||"number"!==typeof q||0===q||A.hasOwnProperty(u)&&A[u]?(""+q).trim():q+"px",w+=m,u=";")}e=w||null}g=null;b:if(m=b,q=h,-1===m.indexOf("-"))m=
|
|
33
|
+
"string"===typeof q.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)na.hasOwnProperty(v)||(g=v,g=R(g)&&null!=e?g+"="+('"'+z(e)+'"'):"");else{m=v;g=e;e=p.hasOwnProperty(m)?p[m]:null;if(q="style"!==m)q=null!==e?0===e.type:!(2<m.length)||"o"!==m[0]&&"O"!==m[0]||"n"!==m[1]&&"N"!==m[1]?!1:!0;q||U(m,g,e,!1)?g="":null!==e?(m=e.attributeName,
|
|
34
|
+
e=e.type,g=3===e||4===e&&!0===g?m+'=""':m+"="+('"'+z(g)+'"')):g=m+"="+('"'+z(g)+'"')}g&&(r+=" "+g)}}l||k&&(r+=' data-reactroot=""');var v=r;h="";M.hasOwnProperty(b)?v+="/>":(v+=">",h="</"+a.type+">");a:{l=f.dangerouslySetInnerHTML;if(null!=l){if(null!=l.__html){l=l.__html;break a}}else if(l=f.children,"string"===typeof l||"number"===typeof l){l=z(l);break a}l=null}null!=l?(f=[],ka[b]&&"\n"===l.charAt(0)&&(v+="\n"),v+=l):f=y(f.children);a=a.type;c=null==c||"http://www.w3.org/1999/xhtml"===c?G(a):"http://www.w3.org/2000/svg"===
|
|
35
|
+
c&&"foreignObject"===a?"http://www.w3.org/1999/xhtml":c;this.stack.push({domNamespace:c,type:b,children:f,childIndex:0,context:d,footer:h});this.previousWasTextNode=!1;return v};return a}();k={renderToString:function(a){return(new P(a,!1)).read(Infinity)},renderToStaticMarkup:function(a){return(new P(a,!0)).read(Infinity)},renderToNodeStream:function(){t("207")},renderToStaticNodeStream:function(){t("208")},version:"16.4.0"};k=(u={default:k},k)||u;return k.default?k.default:k});
|