react 16.6.3 → 16.7.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/build-info.json +8 -0
- package/cjs/react.development.js +63 -20
- package/cjs/react.production.min.js +3 -3
- package/package.json +55 -40
- package/umd/react.development.js +124 -55
- package/umd/react.production.min.js +24 -24
- package/umd/react.profiling.min.js +27 -27
package/build-info.json
ADDED
package/cjs/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.7.0
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -20,7 +20,7 @@ var checkPropTypes = require('prop-types/checkPropTypes');
|
|
|
20
20
|
|
|
21
21
|
// TODO: this is special because it gets imported during build.
|
|
22
22
|
|
|
23
|
-
var ReactVersion = '16.
|
|
23
|
+
var ReactVersion = '16.7.0';
|
|
24
24
|
|
|
25
25
|
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
26
26
|
// nor polyfill, then a plain number is used for performance.
|
|
@@ -77,6 +77,9 @@ var enableHooks = false;
|
|
|
77
77
|
// Trace which interactions trigger each commit.
|
|
78
78
|
|
|
79
79
|
|
|
80
|
+
// Only used in www builds.
|
|
81
|
+
// TODO: true? Here it might just be false.
|
|
82
|
+
|
|
80
83
|
// Only used in www builds.
|
|
81
84
|
|
|
82
85
|
|
|
@@ -1368,13 +1371,51 @@ function createContext(defaultValue, calculateChangedBits) {
|
|
|
1368
1371
|
}
|
|
1369
1372
|
|
|
1370
1373
|
function lazy(ctor) {
|
|
1371
|
-
|
|
1374
|
+
var lazyType = {
|
|
1372
1375
|
$$typeof: REACT_LAZY_TYPE,
|
|
1373
1376
|
_ctor: ctor,
|
|
1374
1377
|
// React uses these fields to store the result.
|
|
1375
1378
|
_status: -1,
|
|
1376
1379
|
_result: null
|
|
1377
1380
|
};
|
|
1381
|
+
|
|
1382
|
+
{
|
|
1383
|
+
// In production, this would just set it on the object.
|
|
1384
|
+
var defaultProps = void 0;
|
|
1385
|
+
var propTypes = void 0;
|
|
1386
|
+
Object.defineProperties(lazyType, {
|
|
1387
|
+
defaultProps: {
|
|
1388
|
+
configurable: true,
|
|
1389
|
+
get: function () {
|
|
1390
|
+
return defaultProps;
|
|
1391
|
+
},
|
|
1392
|
+
set: function (newDefaultProps) {
|
|
1393
|
+
warning$1(false, 'React.lazy(...): It is not supported to assign `defaultProps` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
|
|
1394
|
+
defaultProps = newDefaultProps;
|
|
1395
|
+
// Match production behavior more closely:
|
|
1396
|
+
Object.defineProperty(lazyType, 'defaultProps', {
|
|
1397
|
+
enumerable: true
|
|
1398
|
+
});
|
|
1399
|
+
}
|
|
1400
|
+
},
|
|
1401
|
+
propTypes: {
|
|
1402
|
+
configurable: true,
|
|
1403
|
+
get: function () {
|
|
1404
|
+
return propTypes;
|
|
1405
|
+
},
|
|
1406
|
+
set: function (newPropTypes) {
|
|
1407
|
+
warning$1(false, 'React.lazy(...): It is not supported to assign `propTypes` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
|
|
1408
|
+
propTypes = newPropTypes;
|
|
1409
|
+
// Match production behavior more closely:
|
|
1410
|
+
Object.defineProperty(lazyType, 'propTypes', {
|
|
1411
|
+
enumerable: true
|
|
1412
|
+
});
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
});
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
return lazyType;
|
|
1378
1419
|
}
|
|
1379
1420
|
|
|
1380
1421
|
function forwardRef(render) {
|
|
@@ -1463,11 +1504,6 @@ function useEffect(create, inputs) {
|
|
|
1463
1504
|
return dispatcher.useEffect(create, inputs);
|
|
1464
1505
|
}
|
|
1465
1506
|
|
|
1466
|
-
function useMutationEffect(create, inputs) {
|
|
1467
|
-
var dispatcher = resolveDispatcher();
|
|
1468
|
-
return dispatcher.useMutationEffect(create, inputs);
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
1507
|
function useLayoutEffect(create, inputs) {
|
|
1472
1508
|
var dispatcher = resolveDispatcher();
|
|
1473
1509
|
return dispatcher.useLayoutEffect(create, inputs);
|
|
@@ -1630,16 +1666,17 @@ function validateChildKeys(node, parentType) {
|
|
|
1630
1666
|
*/
|
|
1631
1667
|
function validatePropTypes(element) {
|
|
1632
1668
|
var type = element.type;
|
|
1633
|
-
|
|
1634
|
-
|
|
1669
|
+
if (type === null || type === undefined || typeof type === 'string') {
|
|
1670
|
+
return;
|
|
1671
|
+
}
|
|
1672
|
+
var name = getComponentName(type);
|
|
1673
|
+
var propTypes = void 0;
|
|
1635
1674
|
if (typeof type === 'function') {
|
|
1636
|
-
// Class or function component
|
|
1637
|
-
name = type.displayName || type.name;
|
|
1638
1675
|
propTypes = type.propTypes;
|
|
1639
|
-
} else if (typeof type === 'object' && type
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1676
|
+
} else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
1677
|
+
// Note: Memo only checks outer props here.
|
|
1678
|
+
// Inner props are checked in the reconciler.
|
|
1679
|
+
type.$$typeof === REACT_MEMO_TYPE)) {
|
|
1643
1680
|
propTypes = type.propTypes;
|
|
1644
1681
|
} else {
|
|
1645
1682
|
return;
|
|
@@ -1799,15 +1836,22 @@ var React = {
|
|
|
1799
1836
|
|
|
1800
1837
|
version: ReactVersion,
|
|
1801
1838
|
|
|
1839
|
+
unstable_ConcurrentMode: REACT_CONCURRENT_MODE_TYPE,
|
|
1840
|
+
unstable_Profiler: REACT_PROFILER_TYPE,
|
|
1841
|
+
|
|
1802
1842
|
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ReactSharedInternals
|
|
1803
1843
|
};
|
|
1804
1844
|
|
|
1845
|
+
// Note: some APIs are added with feature flags.
|
|
1846
|
+
// Make sure that stable builds for open source
|
|
1847
|
+
// don't modify the React object to avoid deopts.
|
|
1848
|
+
// Also let's not expose their names in stable builds.
|
|
1849
|
+
|
|
1805
1850
|
if (enableStableConcurrentModeAPIs) {
|
|
1806
1851
|
React.ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
1807
1852
|
React.Profiler = REACT_PROFILER_TYPE;
|
|
1808
|
-
|
|
1809
|
-
React.
|
|
1810
|
-
React.unstable_Profiler = REACT_PROFILER_TYPE;
|
|
1853
|
+
React.unstable_ConcurrentMode = undefined;
|
|
1854
|
+
React.unstable_Profiler = undefined;
|
|
1811
1855
|
}
|
|
1812
1856
|
|
|
1813
1857
|
if (enableHooks) {
|
|
@@ -1817,7 +1861,6 @@ if (enableHooks) {
|
|
|
1817
1861
|
React.useImperativeMethods = useImperativeMethods;
|
|
1818
1862
|
React.useLayoutEffect = useLayoutEffect;
|
|
1819
1863
|
React.useMemo = useMemo;
|
|
1820
|
-
React.useMutationEffect = useMutationEffect;
|
|
1821
1864
|
React.useReducer = useReducer;
|
|
1822
1865
|
React.useRef = useRef;
|
|
1823
1866
|
React.useState = useState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.7.0
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -20,5 +20,5 @@ function T(a,b,e,c){var d=typeof a;if("undefined"===d||"boolean"===d)a=null;var
|
|
|
20
20
|
function da(a,b,e){var c=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?W(a,c,e,function(a){return a}):null!=a&&(O(a)&&(a=ba(a,d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+e)),c.push(a))}function W(a,b,e,c,d){var g="";null!=e&&(g=(""+e).replace(P,"$&/")+"/");b=R(b,g,c,d);V(a,da,b);S(b)}
|
|
21
21
|
var X={Children:{map:function(a,b,e){if(null==a)return a;var c=[];W(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=R(null,null,b,e);V(a,ca,b);S(b)},count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];W(a,b,null,function(a){return a});return b},only:function(a){O(a)?void 0:D("143");return a}},createRef:function(){return{current:null}},Component:G,PureComponent:I,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,
|
|
22
22
|
_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:y,render:a}},lazy:function(a){return{$$typeof:B,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:A,type:a,compare:void 0===b?null:b}},Fragment:r,StrictMode:t,Suspense:z,createElement:N,cloneElement:function(a,b,e){null===a||void 0===a?D("267",a):void 0;var c=void 0,d=k({},a.props),g=a.key,h=a.ref,f=a._owner;
|
|
23
|
-
if(null!=b){void 0!==b.ref&&(h=b.ref,f=K.current);void 0!==b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)d.children=e;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];d.children=l}return{$$typeof:p,type:a.type,key:g,ref:h,props:d,_owner:f}},createFactory:function(a){var b=N.bind(null,a);b.type=a;return b},isValidElement:O,version:"16.
|
|
24
|
-
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:K,assign:k}}
|
|
23
|
+
if(null!=b){void 0!==b.ref&&(h=b.ref,f=K.current);void 0!==b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)d.children=e;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];d.children=l}return{$$typeof:p,type:a.type,key:g,ref:h,props:d,_owner:f}},createFactory:function(a){var b=N.bind(null,a);b.type=a;return b},isValidElement:O,version:"16.7.0",
|
|
24
|
+
unstable_ConcurrentMode:x,unstable_Profiler:u,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:K,assign:k}},Y={default:X},Z=Y&&X||Y;module.exports=Z.default||Z;
|
package/package.json
CHANGED
|
@@ -1,51 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
|
|
2
|
+
"_from": "react@0.0.0-4a1072194",
|
|
3
|
+
"_id": "react@0.0.0-4a1072194",
|
|
4
|
+
"_inBundle": false,
|
|
5
|
+
"_integrity": "sha512-ZUj2lkUDLjwJaGu4WD0dYSvsfIyhQt2l/AJDlg4ij+rCDU3fSFKgHWanNovViUoaWHAxgrpft3KGFfvWPZH5LA==",
|
|
6
|
+
"_location": "/react",
|
|
7
|
+
"_phantomChildren": {},
|
|
8
|
+
"_requested": {
|
|
9
|
+
"type": "version",
|
|
10
|
+
"registry": true,
|
|
11
|
+
"raw": "react@0.0.0-4a1072194",
|
|
12
|
+
"name": "react",
|
|
13
|
+
"escapedName": "react",
|
|
14
|
+
"rawSpec": "0.0.0-4a1072194",
|
|
15
|
+
"saveSpec": null,
|
|
16
|
+
"fetchSpec": "0.0.0-4a1072194"
|
|
17
|
+
},
|
|
18
|
+
"_requiredBy": [
|
|
19
|
+
"#USER",
|
|
20
|
+
"/"
|
|
6
21
|
],
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
22
|
+
"_resolved": "https://registry.npmjs.org/react/-/react-0.0.0-4a1072194.tgz",
|
|
23
|
+
"_shasum": "eca0e35d0d40fd15770de2e46073aeb654723443",
|
|
24
|
+
"_spec": "react@0.0.0-4a1072194",
|
|
25
|
+
"_where": "/Users/acdlite/Code/react/build/node_modules",
|
|
26
|
+
"browserify": {
|
|
27
|
+
"transform": [
|
|
28
|
+
"loose-envify"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"bugs": {
|
|
32
|
+
"url": "https://github.com/facebook/react/issues"
|
|
33
|
+
},
|
|
34
|
+
"bundleDependencies": false,
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"loose-envify": "^1.1.0",
|
|
37
|
+
"object-assign": "^4.1.1",
|
|
38
|
+
"prop-types": "^15.6.2",
|
|
39
|
+
"scheduler": "^0.12.0"
|
|
40
|
+
},
|
|
41
|
+
"deprecated": false,
|
|
42
|
+
"description": "React is a JavaScript library for building user interfaces.",
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=0.10.0"
|
|
45
|
+
},
|
|
11
46
|
"files": [
|
|
12
47
|
"LICENSE",
|
|
13
48
|
"README.md",
|
|
49
|
+
"build-info.json",
|
|
14
50
|
"index.js",
|
|
15
51
|
"cjs/",
|
|
16
52
|
"umd/"
|
|
17
53
|
],
|
|
54
|
+
"homepage": "https://reactjs.org/",
|
|
55
|
+
"keywords": [
|
|
56
|
+
"react"
|
|
57
|
+
],
|
|
58
|
+
"license": "MIT",
|
|
18
59
|
"main": "index.js",
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
"dependencies": {
|
|
24
|
-
"loose-envify": "^1.1.0",
|
|
25
|
-
"object-assign": "^4.1.1",
|
|
26
|
-
"prop-types": "^15.6.2",
|
|
27
|
-
"scheduler": "^0.11.2"
|
|
28
|
-
},
|
|
29
|
-
"browserify": {
|
|
30
|
-
"transform": [
|
|
31
|
-
"loose-envify"
|
|
32
|
-
]
|
|
60
|
+
"name": "react",
|
|
61
|
+
"repository": {
|
|
62
|
+
"type": "git",
|
|
63
|
+
"url": "git+https://github.com/facebook/react.git"
|
|
33
64
|
},
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
"checksum": "d94496cd35663b7e3250c3d4a9069d8229b72b27",
|
|
37
|
-
"unstable": false,
|
|
38
|
-
"partial": false,
|
|
39
|
-
"packages": [
|
|
40
|
-
"create-subscription",
|
|
41
|
-
"jest-react",
|
|
42
|
-
"react",
|
|
43
|
-
"react-art",
|
|
44
|
-
"react-dom",
|
|
45
|
-
"react-is",
|
|
46
|
-
"react-reconciler",
|
|
47
|
-
"react-test-renderer",
|
|
48
|
-
"scheduler"
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
}
|
|
65
|
+
"version": "16.7.0"
|
|
66
|
+
}
|
package/umd/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.7.0
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
// TODO: this is special because it gets imported during build.
|
|
19
19
|
|
|
20
|
-
var ReactVersion = '16.
|
|
20
|
+
var ReactVersion = '16.7.0';
|
|
21
21
|
|
|
22
22
|
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
23
23
|
// nor polyfill, then a plain number is used for performance.
|
|
@@ -75,7 +75,10 @@ var enableHooks = false;
|
|
|
75
75
|
var enableSchedulerTracing = true;
|
|
76
76
|
|
|
77
77
|
// Only used in www builds.
|
|
78
|
+
// TODO: true? Here it might just be false.
|
|
78
79
|
|
|
80
|
+
// Only used in www builds.
|
|
81
|
+
var enableSchedulerDebugging = true;
|
|
79
82
|
|
|
80
83
|
// Only used in www builds.
|
|
81
84
|
|
|
@@ -561,6 +564,9 @@ var IDLE_PRIORITY = maxSigned31BitInt;
|
|
|
561
564
|
var firstCallbackNode = null;
|
|
562
565
|
|
|
563
566
|
var currentDidTimeout = false;
|
|
567
|
+
// Pausing the scheduler is useful for debugging.
|
|
568
|
+
var isSchedulerPaused = false;
|
|
569
|
+
|
|
564
570
|
var currentPriorityLevel = NormalPriority;
|
|
565
571
|
var currentEventStartTime = -1;
|
|
566
572
|
var currentExpirationTime = -1;
|
|
@@ -695,13 +701,20 @@ function flushImmediateWork() {
|
|
|
695
701
|
}
|
|
696
702
|
|
|
697
703
|
function flushWork(didTimeout) {
|
|
704
|
+
// Exit right away if we're currently paused
|
|
705
|
+
|
|
706
|
+
if (enableSchedulerDebugging && isSchedulerPaused) {
|
|
707
|
+
return;
|
|
708
|
+
}
|
|
709
|
+
|
|
698
710
|
isExecutingCallback = true;
|
|
699
711
|
var previousDidTimeout = currentDidTimeout;
|
|
700
712
|
currentDidTimeout = didTimeout;
|
|
701
713
|
try {
|
|
702
714
|
if (didTimeout) {
|
|
703
715
|
// Flush all the expired callbacks without yielding.
|
|
704
|
-
while (firstCallbackNode !== null) {
|
|
716
|
+
while (firstCallbackNode !== null && !(enableSchedulerDebugging && isSchedulerPaused)) {
|
|
717
|
+
// TODO Wrap i nfeature flag
|
|
705
718
|
// Read the current time. Flush all the callbacks that expire at or
|
|
706
719
|
// earlier than that time. Then read the current time again and repeat.
|
|
707
720
|
// This optimizes for as few performance.now calls as possible.
|
|
@@ -709,7 +722,7 @@ function flushWork(didTimeout) {
|
|
|
709
722
|
if (firstCallbackNode.expirationTime <= currentTime) {
|
|
710
723
|
do {
|
|
711
724
|
flushFirstCallback();
|
|
712
|
-
} while (firstCallbackNode !== null && firstCallbackNode.expirationTime <= currentTime);
|
|
725
|
+
} while (firstCallbackNode !== null && firstCallbackNode.expirationTime <= currentTime && !(enableSchedulerDebugging && isSchedulerPaused));
|
|
713
726
|
continue;
|
|
714
727
|
}
|
|
715
728
|
break;
|
|
@@ -718,6 +731,9 @@ function flushWork(didTimeout) {
|
|
|
718
731
|
// Keep flushing callbacks until we run out of time in the frame.
|
|
719
732
|
if (firstCallbackNode !== null) {
|
|
720
733
|
do {
|
|
734
|
+
if (enableSchedulerDebugging && isSchedulerPaused) {
|
|
735
|
+
break;
|
|
736
|
+
}
|
|
721
737
|
flushFirstCallback();
|
|
722
738
|
} while (firstCallbackNode !== null && !shouldYieldToHost());
|
|
723
739
|
}
|
|
@@ -856,6 +872,21 @@ function unstable_scheduleCallback(callback, deprecated_options) {
|
|
|
856
872
|
return newNode;
|
|
857
873
|
}
|
|
858
874
|
|
|
875
|
+
function unstable_pauseExecution() {
|
|
876
|
+
isSchedulerPaused = true;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
function unstable_continueExecution() {
|
|
880
|
+
isSchedulerPaused = false;
|
|
881
|
+
if (firstCallbackNode !== null) {
|
|
882
|
+
ensureHostCallbackIsScheduled();
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
function unstable_getFirstCallbackNode() {
|
|
887
|
+
return firstCallbackNode;
|
|
888
|
+
}
|
|
889
|
+
|
|
859
890
|
function unstable_cancelCallback(callbackNode) {
|
|
860
891
|
var next = callbackNode.next;
|
|
861
892
|
if (next === null) {
|
|
@@ -951,41 +982,45 @@ var requestHostCallback;
|
|
|
951
982
|
var cancelHostCallback;
|
|
952
983
|
var shouldYieldToHost;
|
|
953
984
|
|
|
954
|
-
|
|
985
|
+
var globalValue = null;
|
|
986
|
+
if (typeof window !== 'undefined') {
|
|
987
|
+
globalValue = window;
|
|
988
|
+
} else if (typeof global !== 'undefined') {
|
|
989
|
+
globalValue = global;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
if (globalValue && globalValue._schedMock) {
|
|
955
993
|
// Dynamic injection, only for testing purposes.
|
|
956
|
-
var
|
|
957
|
-
requestHostCallback =
|
|
958
|
-
cancelHostCallback =
|
|
959
|
-
shouldYieldToHost =
|
|
994
|
+
var globalImpl = globalValue._schedMock;
|
|
995
|
+
requestHostCallback = globalImpl[0];
|
|
996
|
+
cancelHostCallback = globalImpl[1];
|
|
997
|
+
shouldYieldToHost = globalImpl[2];
|
|
998
|
+
getCurrentTime = globalImpl[3];
|
|
960
999
|
} else if (
|
|
961
1000
|
// If Scheduler runs in a non-DOM environment, it falls back to a naive
|
|
962
1001
|
// implementation using setTimeout.
|
|
963
1002
|
typeof window === 'undefined' ||
|
|
964
|
-
//
|
|
965
|
-
|
|
966
|
-
|
|
1003
|
+
// Check if MessageChannel is supported, too.
|
|
1004
|
+
typeof MessageChannel !== 'function') {
|
|
1005
|
+
// If this accidentally gets imported in a non-browser environment, e.g. JavaScriptCore,
|
|
1006
|
+
// fallback to a naive implementation.
|
|
967
1007
|
var _callback = null;
|
|
968
|
-
var
|
|
969
|
-
var _flushCallback = function (didTimeout, ms) {
|
|
1008
|
+
var _flushCallback = function (didTimeout) {
|
|
970
1009
|
if (_callback !== null) {
|
|
971
|
-
var cb = _callback;
|
|
972
|
-
_callback = null;
|
|
973
1010
|
try {
|
|
974
|
-
|
|
975
|
-
cb(didTimeout);
|
|
1011
|
+
_callback(didTimeout);
|
|
976
1012
|
} finally {
|
|
977
|
-
|
|
1013
|
+
_callback = null;
|
|
978
1014
|
}
|
|
979
1015
|
}
|
|
980
1016
|
};
|
|
981
1017
|
requestHostCallback = function (cb, ms) {
|
|
982
|
-
if (
|
|
1018
|
+
if (_callback !== null) {
|
|
983
1019
|
// Protect against re-entrancy.
|
|
984
|
-
setTimeout(requestHostCallback, 0, cb
|
|
1020
|
+
setTimeout(requestHostCallback, 0, cb);
|
|
985
1021
|
} else {
|
|
986
1022
|
_callback = cb;
|
|
987
|
-
setTimeout(_flushCallback,
|
|
988
|
-
setTimeout(_flushCallback, maxSigned31BitInt, false, maxSigned31BitInt);
|
|
1023
|
+
setTimeout(_flushCallback, 0, false);
|
|
989
1024
|
}
|
|
990
1025
|
};
|
|
991
1026
|
cancelHostCallback = function () {
|
|
@@ -994,9 +1029,6 @@ typeof window.addEventListener !== 'function') {
|
|
|
994
1029
|
shouldYieldToHost = function () {
|
|
995
1030
|
return false;
|
|
996
1031
|
};
|
|
997
|
-
getCurrentTime = function () {
|
|
998
|
-
return _currentTime === -1 ? 0 : _currentTime;
|
|
999
|
-
};
|
|
1000
1032
|
} else {
|
|
1001
1033
|
if (typeof console !== 'undefined') {
|
|
1002
1034
|
// TODO: Remove fb.me link
|
|
@@ -1028,12 +1060,9 @@ typeof window.addEventListener !== 'function') {
|
|
|
1028
1060
|
};
|
|
1029
1061
|
|
|
1030
1062
|
// We use the postMessage trick to defer idle work until after the repaint.
|
|
1031
|
-
var
|
|
1032
|
-
var
|
|
1033
|
-
|
|
1034
|
-
return;
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1063
|
+
var channel = new MessageChannel();
|
|
1064
|
+
var port = channel.port2;
|
|
1065
|
+
channel.port1.onmessage = function (event) {
|
|
1037
1066
|
isMessageEventScheduled = false;
|
|
1038
1067
|
|
|
1039
1068
|
var prevScheduledCallback = scheduledHostCallback;
|
|
@@ -1074,9 +1103,6 @@ typeof window.addEventListener !== 'function') {
|
|
|
1074
1103
|
}
|
|
1075
1104
|
}
|
|
1076
1105
|
};
|
|
1077
|
-
// Assumes that we have addEventListener in this environment. Might need
|
|
1078
|
-
// something better for old IE.
|
|
1079
|
-
window.addEventListener('message', idleTick, false);
|
|
1080
1106
|
|
|
1081
1107
|
var animationTick = function (rafTime) {
|
|
1082
1108
|
if (scheduledHostCallback !== null) {
|
|
@@ -1116,7 +1142,7 @@ typeof window.addEventListener !== 'function') {
|
|
|
1116
1142
|
frameDeadline = rafTime + activeFrameTime;
|
|
1117
1143
|
if (!isMessageEventScheduled) {
|
|
1118
1144
|
isMessageEventScheduled = true;
|
|
1119
|
-
|
|
1145
|
+
port.postMessage(undefined);
|
|
1120
1146
|
}
|
|
1121
1147
|
};
|
|
1122
1148
|
|
|
@@ -1125,7 +1151,7 @@ typeof window.addEventListener !== 'function') {
|
|
|
1125
1151
|
timeoutTime = absoluteTimeout;
|
|
1126
1152
|
if (isFlushingHostCallback || absoluteTimeout < 0) {
|
|
1127
1153
|
// Don't wait for the next frame. Continue working ASAP, in a new event.
|
|
1128
|
-
|
|
1154
|
+
port.postMessage(undefined);
|
|
1129
1155
|
} else if (!isAnimationFrameScheduled) {
|
|
1130
1156
|
// If rAF didn't already schedule one, we need to schedule a frame.
|
|
1131
1157
|
// TODO: If this rAF doesn't materialize because the browser throttles, we
|
|
@@ -1662,6 +1688,9 @@ var ReactSharedInternals = {
|
|
|
1662
1688
|
unstable_scheduleCallback: unstable_scheduleCallback,
|
|
1663
1689
|
unstable_runWithPriority: unstable_runWithPriority,
|
|
1664
1690
|
unstable_wrapCallback: unstable_wrapCallback,
|
|
1691
|
+
unstable_getFirstCallbackNode: unstable_getFirstCallbackNode,
|
|
1692
|
+
unstable_pauseExecution: unstable_pauseExecution,
|
|
1693
|
+
unstable_continueExecution: unstable_continueExecution,
|
|
1665
1694
|
unstable_getCurrentPriorityLevel: unstable_getCurrentPriorityLevel
|
|
1666
1695
|
},
|
|
1667
1696
|
SchedulerTracing: {
|
|
@@ -2452,13 +2481,51 @@ function createContext(defaultValue, calculateChangedBits) {
|
|
|
2452
2481
|
}
|
|
2453
2482
|
|
|
2454
2483
|
function lazy(ctor) {
|
|
2455
|
-
|
|
2484
|
+
var lazyType = {
|
|
2456
2485
|
$$typeof: REACT_LAZY_TYPE,
|
|
2457
2486
|
_ctor: ctor,
|
|
2458
2487
|
// React uses these fields to store the result.
|
|
2459
2488
|
_status: -1,
|
|
2460
2489
|
_result: null
|
|
2461
2490
|
};
|
|
2491
|
+
|
|
2492
|
+
{
|
|
2493
|
+
// In production, this would just set it on the object.
|
|
2494
|
+
var defaultProps = void 0;
|
|
2495
|
+
var propTypes = void 0;
|
|
2496
|
+
Object.defineProperties(lazyType, {
|
|
2497
|
+
defaultProps: {
|
|
2498
|
+
configurable: true,
|
|
2499
|
+
get: function () {
|
|
2500
|
+
return defaultProps;
|
|
2501
|
+
},
|
|
2502
|
+
set: function (newDefaultProps) {
|
|
2503
|
+
warning$1(false, 'React.lazy(...): It is not supported to assign `defaultProps` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
|
|
2504
|
+
defaultProps = newDefaultProps;
|
|
2505
|
+
// Match production behavior more closely:
|
|
2506
|
+
Object.defineProperty(lazyType, 'defaultProps', {
|
|
2507
|
+
enumerable: true
|
|
2508
|
+
});
|
|
2509
|
+
}
|
|
2510
|
+
},
|
|
2511
|
+
propTypes: {
|
|
2512
|
+
configurable: true,
|
|
2513
|
+
get: function () {
|
|
2514
|
+
return propTypes;
|
|
2515
|
+
},
|
|
2516
|
+
set: function (newPropTypes) {
|
|
2517
|
+
warning$1(false, 'React.lazy(...): It is not supported to assign `propTypes` to ' + 'a lazy component import. Either specify them where the component ' + 'is defined, or create a wrapping component around it.');
|
|
2518
|
+
propTypes = newPropTypes;
|
|
2519
|
+
// Match production behavior more closely:
|
|
2520
|
+
Object.defineProperty(lazyType, 'propTypes', {
|
|
2521
|
+
enumerable: true
|
|
2522
|
+
});
|
|
2523
|
+
}
|
|
2524
|
+
}
|
|
2525
|
+
});
|
|
2526
|
+
}
|
|
2527
|
+
|
|
2528
|
+
return lazyType;
|
|
2462
2529
|
}
|
|
2463
2530
|
|
|
2464
2531
|
function forwardRef(render) {
|
|
@@ -2547,11 +2614,6 @@ function useEffect(create, inputs) {
|
|
|
2547
2614
|
return dispatcher.useEffect(create, inputs);
|
|
2548
2615
|
}
|
|
2549
2616
|
|
|
2550
|
-
function useMutationEffect(create, inputs) {
|
|
2551
|
-
var dispatcher = resolveDispatcher();
|
|
2552
|
-
return dispatcher.useMutationEffect(create, inputs);
|
|
2553
|
-
}
|
|
2554
|
-
|
|
2555
2617
|
function useLayoutEffect(create, inputs) {
|
|
2556
2618
|
var dispatcher = resolveDispatcher();
|
|
2557
2619
|
return dispatcher.useLayoutEffect(create, inputs);
|
|
@@ -2819,16 +2881,17 @@ function validateChildKeys(node, parentType) {
|
|
|
2819
2881
|
*/
|
|
2820
2882
|
function validatePropTypes(element) {
|
|
2821
2883
|
var type = element.type;
|
|
2822
|
-
|
|
2823
|
-
|
|
2884
|
+
if (type === null || type === undefined || typeof type === 'string') {
|
|
2885
|
+
return;
|
|
2886
|
+
}
|
|
2887
|
+
var name = getComponentName(type);
|
|
2888
|
+
var propTypes = void 0;
|
|
2824
2889
|
if (typeof type === 'function') {
|
|
2825
|
-
// Class or function component
|
|
2826
|
-
name = type.displayName || type.name;
|
|
2827
2890
|
propTypes = type.propTypes;
|
|
2828
|
-
} else if (typeof type === 'object' && type
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2891
|
+
} else if (typeof type === 'object' && (type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
2892
|
+
// Note: Memo only checks outer props here.
|
|
2893
|
+
// Inner props are checked in the reconciler.
|
|
2894
|
+
type.$$typeof === REACT_MEMO_TYPE)) {
|
|
2832
2895
|
propTypes = type.propTypes;
|
|
2833
2896
|
} else {
|
|
2834
2897
|
return;
|
|
@@ -2988,15 +3051,22 @@ var React = {
|
|
|
2988
3051
|
|
|
2989
3052
|
version: ReactVersion,
|
|
2990
3053
|
|
|
3054
|
+
unstable_ConcurrentMode: REACT_CONCURRENT_MODE_TYPE,
|
|
3055
|
+
unstable_Profiler: REACT_PROFILER_TYPE,
|
|
3056
|
+
|
|
2991
3057
|
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ReactSharedInternals
|
|
2992
3058
|
};
|
|
2993
3059
|
|
|
3060
|
+
// Note: some APIs are added with feature flags.
|
|
3061
|
+
// Make sure that stable builds for open source
|
|
3062
|
+
// don't modify the React object to avoid deopts.
|
|
3063
|
+
// Also let's not expose their names in stable builds.
|
|
3064
|
+
|
|
2994
3065
|
if (enableStableConcurrentModeAPIs) {
|
|
2995
3066
|
React.ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
|
|
2996
3067
|
React.Profiler = REACT_PROFILER_TYPE;
|
|
2997
|
-
|
|
2998
|
-
React.
|
|
2999
|
-
React.unstable_Profiler = REACT_PROFILER_TYPE;
|
|
3068
|
+
React.unstable_ConcurrentMode = undefined;
|
|
3069
|
+
React.unstable_Profiler = undefined;
|
|
3000
3070
|
}
|
|
3001
3071
|
|
|
3002
3072
|
if (enableHooks) {
|
|
@@ -3006,7 +3076,6 @@ if (enableHooks) {
|
|
|
3006
3076
|
React.useImperativeMethods = useImperativeMethods;
|
|
3007
3077
|
React.useLayoutEffect = useLayoutEffect;
|
|
3008
3078
|
React.useMemo = useMemo;
|
|
3009
|
-
React.useMutationEffect = useMutationEffect;
|
|
3010
3079
|
React.useReducer = useReducer;
|
|
3011
3080
|
React.useRef = useRef;
|
|
3012
3081
|
React.useState = useState;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.7.0
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,26 +6,26 @@
|
|
|
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
|
-
1;throw a;}}function
|
|
11
|
-
d||
|
|
12
|
-
c:d===c&&(c=
|
|
13
|
-
if(null!=b)for(f in void 0!==b.ref&&(e=b.ref),void 0!==b.key&&(c=""+b.key),b)
|
|
14
|
-
typeof a&&null!==a&&a.$$typeof===x}function
|
|
15
|
-
a)
|
|
16
|
-
"[object Object]"===d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return
|
|
17
|
-
d)),f.push(a))}function
|
|
18
|
-
60112,
|
|
19
|
-
var d={};"abcdefghijklmnopqrst".split("").forEach(function(a){d[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},d)).join("")?!1:!0}catch(f){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var d=Object(a);for(var c,e=1;e<arguments.length;e++){var g=Object(arguments[e]);for(var k in g)
|
|
20
|
-
|
|
21
|
-
e.isPureReactComponent=!0;var c=null,
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
b
|
|
31
|
-
|
|
9
|
+
'use strict';(function(L,q){"object"===typeof exports&&"undefined"!==typeof module?module.exports=q():"function"===typeof define&&define.amd?define(q):L.React=q()})(this,function(){function L(a,b,d,f,p,c,e,h){if(!a){a=void 0;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 m=[d,f,p,c,e,h],ra=0;a=Error(b.replace(/%s/g,function(){return m[ra++]}));a.name="Invariant Violation"}a.framesToPop=
|
|
10
|
+
1;throw a;}}function q(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=0;f<b;f++)d+="&args[]="+encodeURIComponent(arguments[f+1]);L(!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)}function r(a,b,d){this.props=a;this.context=b;this.refs=aa;this.updater=d||ba}function ca(){}function M(a,b,d){this.props=a;this.context=b;this.refs=aa;this.updater=
|
|
11
|
+
d||ba}function t(){if(!w){var a=c.expirationTime;B?N():B=!0;C(sa,a)}}function O(){var a=c,b=c.next;if(c===b)c=null;else{var d=c.previous;c=d.next=b;b.previous=d}a.next=a.previous=null;d=a.callback;b=a.expirationTime;a=a.priorityLevel;var f=g,p=D;g=a;D=b;try{var m=d()}finally{g=f,D=p}if("function"===typeof m)if(m={callback:m,priorityLevel:a,expirationTime:b,next:null,previous:null},null===c)c=m.next=m.previous=m;else{d=null;a=c;do{if(a.expirationTime>=b){d=a;break}a=a.next}while(a!==c);null===d?d=
|
|
12
|
+
c:d===c&&(c=m,t());b=d.previous;b.next=d.previous=m;m.next=d;m.previous=b}}function P(){if(-1===l&&null!==c&&1===c.priorityLevel){w=!0;try{do O();while(null!==c&&1===c.priorityLevel)}finally{w=!1,null!==c?t():B=!1}}}function sa(a){w=!0;var b=E;E=a;try{if(a)for(;null!==c;){var d=k();if(c.expirationTime<=d){do O();while(null!==c&&c.expirationTime<=d)}else break}else if(null!==c){do O();while(null!==c&&!F())}}finally{w=!1,E=b,null!==c?t():B=!1,P()}}function da(a,b,d){var f=void 0,p={},c=null,e=null;
|
|
13
|
+
if(null!=b)for(f in void 0!==b.ref&&(e=b.ref),void 0!==b.key&&(c=""+b.key),b)ea.call(b,f)&&!fa.hasOwnProperty(f)&&(p[f]=b[f]);var h=arguments.length-2;if(1===h)p.children=d;else if(1<h){for(var g=Array(h),k=0;k<h;k++)g[k]=arguments[k+2];p.children=g}if(a&&a.defaultProps)for(f in h=a.defaultProps,h)void 0===p[f]&&(p[f]=h[f]);return{$$typeof:x,type:a,key:c,ref:e,props:p,_owner:Q.current}}function ta(a,b){return{$$typeof:x,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function R(a){return"object"===
|
|
14
|
+
typeof a&&null!==a&&a.$$typeof===x}function ua(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function ha(a,b,d,f){if(G.length){var c=G.pop();c.result=a;c.keyPrefix=b;c.func=d;c.context=f;c.count=0;return c}return{result:a,keyPrefix:b,func:d,context:f,count:0}}function ia(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>G.length&&G.push(a)}function S(a,b,d,f){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;var e=!1;if(null===
|
|
15
|
+
a)e=!0;else switch(c){case "string":case "number":e=!0;break;case "object":switch(a.$$typeof){case x:case va:e=!0}}if(e)return d(f,a,""===b?"."+T(a,0):b),1;e=0;b=""===b?".":b+":";if(Array.isArray(a))for(var g=0;g<a.length;g++){c=a[g];var h=b+T(c,g);e+=S(c,h,d,f)}else if(null===a||"object"!==typeof a?h=null:(h=ja&&a[ja]||a["@@iterator"],h="function"===typeof h?h:null),"function"===typeof h)for(a=h.call(a),g=0;!(c=a.next()).done;)c=c.value,h=b+T(c,g++),e+=S(c,h,d,f);else"object"===c&&(d=""+a,q("31",
|
|
16
|
+
"[object Object]"===d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return e}function U(a,b,d){return null==a?0:S(a,"",b,d)}function T(a,b){return"object"===typeof a&&null!==a&&null!=a.key?ua(a.key):b.toString(36)}function wa(a,b,d){a.func.call(a.context,b,a.count++)}function xa(a,b,d){var f=a.result,c=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?V(a,f,d,function(a){return a}):null!=a&&(R(a)&&(a=ta(a,c+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(ka,"$&/")+"/")+
|
|
17
|
+
d)),f.push(a))}function V(a,b,d,f,c){var e="";null!=d&&(e=(""+d).replace(ka,"$&/")+"/");b=ha(b,e,f,c);U(a,xa,b);ia(b)}var e="function"===typeof Symbol&&Symbol.for,x=e?Symbol.for("react.element"):60103,va=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,W=e?Symbol.for("react.strict_mode"):60108,ya=e?Symbol.for("react.profiler"):60114,za=e?Symbol.for("react.provider"):60109,Aa=e?Symbol.for("react.context"):60110,Ba=e?Symbol.for("react.concurrent_mode"):60111,Ca=e?Symbol.for("react.forward_ref"):
|
|
18
|
+
60112,Da=e?Symbol.for("react.suspense"):60113,Ea=e?Symbol.for("react.memo"):60115,Fa=e?Symbol.for("react.lazy"):60116,ja="function"===typeof Symbol&&Symbol.iterator,la=Object.getOwnPropertySymbols,Ga=Object.prototype.hasOwnProperty,Ha=Object.prototype.propertyIsEnumerable,H=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;
|
|
19
|
+
var d={};"abcdefghijklmnopqrst".split("").forEach(function(a){d[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},d)).join("")?!1:!0}catch(f){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var d=Object(a);for(var c,e=1;e<arguments.length;e++){var g=Object(arguments[e]);for(var k in g)Ga.call(g,k)&&(d[k]=g[k]);if(la){c=la(g);for(var h=0;h<c.length;h++)Ha.call(g,c[h])&&(d[c[h]]=g[c[h]])}}return d},
|
|
20
|
+
ba={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,d){},enqueueReplaceState:function(a,b,d,c){},enqueueSetState:function(a,b,d,c){}},aa={};r.prototype.isReactComponent={};r.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?q("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};r.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};ca.prototype=r.prototype;e=M.prototype=new ca;e.constructor=M;H(e,r.prototype);
|
|
21
|
+
e.isPureReactComponent=!0;var c=null,E=!1,g=3,l=-1,D=-1,w=!1,B=!1,Ia=Date,Ja="function"===typeof setTimeout?setTimeout:void 0,Ka="function"===typeof clearTimeout?clearTimeout:void 0,ma="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,na="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0,oa,pa,X=function(a){oa=ma(function(b){Ka(pa);a(b)});pa=Ja(function(){na(oa);a(k())},100)};if("object"===typeof performance&&"function"===typeof performance.now){var La=performance;
|
|
22
|
+
var k=function(){return La.now()}}else k=function(){return Ia.now()};e=null;"undefined"!==typeof window?e=window:"undefined"!==typeof global&&(e=global);if(e&&e._schedMock){e=e._schedMock;var C=e[0];var N=e[1];var F=e[2];k=e[3]}else if("undefined"===typeof window||"function"!==typeof MessageChannel){var u=null,Ma=function(a){if(null!==u)try{u(a)}finally{u=null}};C=function(a,b){null!==u?setTimeout(C,0,a):(u=a,setTimeout(Ma,0,!1))};N=function(){u=null};F=function(){return!1}}else{"undefined"!==typeof console&&
|
|
23
|
+
("function"!==typeof ma&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof na&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var v=null,I=!1,y=-1,z=!1,Y=!1,J=0,K=33,A=33;F=function(){return J<=k()};e=new MessageChannel;var qa=e.port2;e.port1.onmessage=function(a){I=!1;a=
|
|
24
|
+
v;var b=y;v=null;y=-1;var d=k(),c=!1;if(0>=J-d)if(-1!==b&&b<=d)c=!0;else{z||(z=!0,X(Z));v=a;y=b;return}if(null!==a){Y=!0;try{a(c)}finally{Y=!1}}};var Z=function(a){if(null!==v){X(Z);var b=a-J+A;b<A&&K<A?(8>b&&(b=8),A=b<K?K:b):K=b;J=a+A;I||(I=!0,qa.postMessage(void 0))}else z=!1};C=function(a,b){v=a;y=b;Y||0>b?qa.postMessage(void 0):z||(z=!0,X(Z))};N=function(){v=null;I=!1;y=-1}}var Na=0,Q={current:null,currentDispatcher:null};e={ReactCurrentOwner:Q,assign:H};H(e,{Scheduler:{unstable_cancelCallback:function(a){var b=
|
|
25
|
+
a.next;if(null!==b){if(b===a)c=null;else{a===c&&(c=b);var d=a.previous;d.next=b;b.previous=d}a.next=a.previous=null}},unstable_shouldYield:function(){return!E&&(null!==c&&c.expirationTime<D||F())},unstable_now:k,unstable_scheduleCallback:function(a,b){var d=-1!==l?l:k();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=d+b.timeout;else switch(g){case 1:b=d+-1;break;case 2:b=d+250;break;case 5:b=d+1073741823;break;case 4:b=d+1E4;break;default:b=d+5E3}a={callback:a,priorityLevel:g,expirationTime:b,
|
|
26
|
+
next:null,previous:null};if(null===c)c=a.next=a.previous=a,t();else{d=null;var f=c;do{if(f.expirationTime>b){d=f;break}f=f.next}while(f!==c);null===d?d=c:d===c&&(c=a,t());b=d.previous;b.next=d.previous=a;a.next=d;a.previous=b}return a},unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var d=g,c=l;g=a;l=k();try{return b()}finally{g=d,l=c,P()}},unstable_wrapCallback:function(a){var b=g;return function(){var d=g,c=l;g=b;l=k();try{return a.apply(this,
|
|
27
|
+
arguments)}finally{g=d,l=c,P()}}},unstable_getFirstCallbackNode:function(){return c},unstable_pauseExecution:function(){},unstable_continueExecution:function(){null!==c&&t()},unstable_getCurrentPriorityLevel:function(){return g}},SchedulerTracing:{__interactionsRef:null,__subscriberRef:null,unstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Na},unstable_subscribe:function(a){},unstable_trace:function(a,b,d){return d()},unstable_unsubscribe:function(a){},
|
|
28
|
+
unstable_wrap:function(a){return a}}});var ea=Object.prototype.hasOwnProperty,fa={key:!0,ref:!0,__self:!0,__source:!0},ka=/\/+/g,G=[];n={Children:{map:function(a,b,d){if(null==a)return a;var c=[];V(a,c,null,b,d);return c},forEach:function(a,b,d){if(null==a)return a;b=ha(null,null,b,d);U(a,wa,b);ia(b)},count:function(a){return U(a,function(){return null},null)},toArray:function(a){var b=[];V(a,b,null,function(a){return a});return b},only:function(a){R(a)?void 0:q("143");return a}},createRef:function(){return{current:null}},
|
|
29
|
+
Component:r,PureComponent:M,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:Aa,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:za,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Ca,render:a}},lazy:function(a){return{$$typeof:Fa,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:Ea,type:a,compare:void 0===b?null:b}},Fragment:n,StrictMode:W,Suspense:Da,createElement:da,cloneElement:function(a,
|
|
30
|
+
b,d){null===a||void 0===a?q("267",a):void 0;var c=void 0,e=H({},a.props),g=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=Q.current);void 0!==b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)ea.call(b,c)&&!fa.hasOwnProperty(c)&&(e[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)e.children=d;else if(1<c){l=Array(c);for(var n=0;n<c;n++)l[n]=arguments[n+2];e.children=l}return{$$typeof:x,type:a.type,key:g,ref:k,props:e,
|
|
31
|
+
_owner:h}},createFactory:function(a){var b=da.bind(null,a);b.type=a;return b},isValidElement:R,version:"16.7.0",unstable_ConcurrentMode:Ba,unstable_Profiler:ya,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:e};n=(W={default:n},n)||W;return n.default||n});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.7.0
|
|
2
2
|
* react.profiling.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,30 +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
|
-
1;throw a;}}function r(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=0;d<b;d++)c+="&args[]="+encodeURIComponent(arguments[d+1]);
|
|
11
|
-
c||
|
|
12
|
-
f:c===f&&(f=
|
|
13
|
-
(b=!0,c=e)}});if(b)throw c;}function
|
|
14
|
-
!0,d=
|
|
15
|
-
e[d]&&(e[d]=h[d]);return{$$typeof:A,type:a,key:
|
|
16
|
-
function
|
|
17
|
-
h=null:(h=
|
|
18
|
-
a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?
|
|
19
|
-
60108,
|
|
9
|
+
'use strict';(function(O,r){"object"===typeof exports&&"undefined"!==typeof module?module.exports=r():"function"===typeof define&&define.amd?define(r):O.React=r()})(this,function(){function O(a,b,c,d,e,k,f,h){if(!a){a=void 0;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 g=[c,d,e,k,f,h],ua=0;a=Error(b.replace(/%s/g,function(){return g[ua++]}));a.name="Invariant Violation"}a.framesToPop=
|
|
10
|
+
1;throw a;}}function r(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=0;d<b;d++)c+="&args[]="+encodeURIComponent(arguments[d+1]);O(!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. ",c)}function v(a,b,c){this.props=a;this.context=b;this.refs=da;this.updater=c||ea}function fa(){}function P(a,b,c){this.props=a;this.context=b;this.refs=da;this.updater=
|
|
11
|
+
c||ea}function w(){if(!z){var a=f.expirationTime;E?Q():E=!0;F(va,a)}}function R(){var a=f,b=f.next;if(f===b)f=null;else{var c=f.previous;f=c.next=b;b.previous=c}a.next=a.previous=null;c=a.callback;b=a.expirationTime;a=a.priorityLevel;var d=l,e=G;l=a;G=b;try{var k=c()}finally{l=d,G=e}if("function"===typeof k)if(k={callback:k,priorityLevel:a,expirationTime:b,next:null,previous:null},null===f)f=k.next=k.previous=k;else{c=null;a=f;do{if(a.expirationTime>=b){c=a;break}a=a.next}while(a!==f);null===c?c=
|
|
12
|
+
f:c===f&&(f=k,w());b=c.previous;b.next=c.previous=k;k.next=c;k.previous=b}}function S(){if(-1===q&&null!==f&&1===f.priorityLevel){z=!0;try{do R();while(null!==f&&1===f.priorityLevel)}finally{z=!1,null!==f?w():E=!1}}}function va(a){z=!0;var b=H;H=a;try{if(a)for(;null!==f;){var c=p();if(f.expirationTime<=c){do R();while(null!==f&&f.expirationTime<=c)}else break}else if(null!==f){do R();while(null!==f&&!I())}}finally{z=!1,H=b,null!==f?w():E=!1,S()}}function wa(a){var b=!1,c=null;n.forEach(function(d){try{d.onInteractionTraced(a)}catch(e){b||
|
|
13
|
+
(b=!0,c=e)}});if(b)throw c;}function xa(a){var b=!1,c=null;n.forEach(function(d){try{d.onInteractionScheduledWorkCompleted(a)}catch(e){b||(b=!0,c=e)}});if(b)throw c;}function ya(a,b){var c=!1,d=null;n.forEach(function(e){try{e.onWorkScheduled(a,b)}catch(k){c||(c=!0,d=k)}});if(c)throw d;}function za(a,b){var c=!1,d=null;n.forEach(function(e){try{e.onWorkStarted(a,b)}catch(k){c||(c=!0,d=k)}});if(c)throw d;}function Aa(a,b){var c=!1,d=null;n.forEach(function(e){try{e.onWorkStopped(a,b)}catch(k){c||(c=
|
|
14
|
+
!0,d=k)}});if(c)throw d;}function Ba(a,b){var c=!1,d=null;n.forEach(function(e){try{e.onWorkCanceled(a,b)}catch(k){c||(c=!0,d=k)}});if(c)throw d;}function ha(a,b,c){var d=void 0,e={},k=null,f=null;if(null!=b)for(d in void 0!==b.ref&&(f=b.ref),void 0!==b.key&&(k=""+b.key),b)ia.call(b,d)&&!ja.hasOwnProperty(d)&&(e[d]=b[d]);var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){for(var g=Array(h),l=0;l<h;l++)g[l]=arguments[l+2];e.children=g}if(a&&a.defaultProps)for(d in h=a.defaultProps,h)void 0===
|
|
15
|
+
e[d]&&(e[d]=h[d]);return{$$typeof:A,type:a,key:k,ref:f,props:e,_owner:T.current}}function Ca(a,b){return{$$typeof:A,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function U(a){return"object"===typeof a&&null!==a&&a.$$typeof===A}function Da(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function ka(a,b,c,d){if(J.length){var e=J.pop();e.result=a;e.keyPrefix=b;e.func=c;e.context=d;e.count=0;return e}return{result:a,keyPrefix:b,func:c,context:d,count:0}}
|
|
16
|
+
function la(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>J.length&&J.push(a)}function V(a,b,c,d){var e=typeof a;if("undefined"===e||"boolean"===e)a=null;var k=!1;if(null===a)k=!0;else switch(e){case "string":case "number":k=!0;break;case "object":switch(a.$$typeof){case A:case Ea:k=!0}}if(k)return c(d,a,""===b?"."+W(a,0):b),1;k=0;b=""===b?".":b+":";if(Array.isArray(a))for(var f=0;f<a.length;f++){e=a[f];var h=b+W(e,f);k+=V(e,h,c,d)}else if(null===a||"object"!==typeof a?
|
|
17
|
+
h=null:(h=ma&&a[ma]||a["@@iterator"],h="function"===typeof h?h:null),"function"===typeof h)for(a=h.call(a),f=0;!(e=a.next()).done;)e=e.value,h=b+W(e,f++),k+=V(e,h,c,d);else"object"===e&&(c=""+a,r("31","[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return k}function X(a,b,c){return null==a?0:V(a,"",b,c)}function W(a,b){return"object"===typeof a&&null!==a&&null!=a.key?Da(a.key):b.toString(36)}function Fa(a,b,c){a.func.call(a.context,b,a.count++)}function Ga(a,b,c){var d=
|
|
18
|
+
a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?Y(a,d,c,function(a){return a}):null!=a&&(U(a)&&(a=Ca(a,e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(na,"$&/")+"/")+c)),d.push(a))}function Y(a,b,c,d,e){var f="";null!=c&&(f=(""+c).replace(na,"$&/")+"/");b=ka(b,f,d,e);X(a,Ga,b);la(b)}var g="function"===typeof Symbol&&Symbol.for,A=g?Symbol.for("react.element"):60103,Ea=g?Symbol.for("react.portal"):60106,u=g?Symbol.for("react.fragment"):60107,Z=g?Symbol.for("react.strict_mode"):
|
|
19
|
+
60108,Ha=g?Symbol.for("react.profiler"):60114,Ia=g?Symbol.for("react.provider"):60109,Ja=g?Symbol.for("react.context"):60110,Ka=g?Symbol.for("react.concurrent_mode"):60111,La=g?Symbol.for("react.forward_ref"):60112,Ma=g?Symbol.for("react.suspense"):60113,Na=g?Symbol.for("react.memo"):60115,Oa=g?Symbol.for("react.lazy"):60116,ma="function"===typeof Symbol&&Symbol.iterator,oa=Object.getOwnPropertySymbols,Pa=Object.prototype.hasOwnProperty,Qa=Object.prototype.propertyIsEnumerable,K=function(){try{if(!Object.assign)return!1;
|
|
20
20
|
var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(d){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
21
|
-
var c=Object(a);for(var d,e=1;e<arguments.length;e++){var
|
|
22
|
-
a,b,"setState")};
|
|
23
|
-
void 0,
|
|
24
|
-
try{
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
m.current;m.current=new Set;try{return a()}finally{m.current=b}},unstable_getCurrent:function(){return m.current},unstable_getThreadID:function(){return++
|
|
30
|
-
|
|
31
|
-
e)e.onWorkStarted(d,c)}finally{try{g=a.apply(void 0,arguments)}finally{if(m.current=b,null!==e)e.onWorkStopped(d,c)}}return g}finally{f||(f=!0,d.forEach(function(a){a.__count--;if(null!==e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)}))}}var c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,d=m.current,e=t.current;if(null!==e)e.onWorkScheduled(d,c);d.forEach(function(a){a.__count++});var f=!1;b.cancel=function(){e=t.current;
|
|
32
|
-
if(e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)})}};return b}}});var
|
|
33
|
-
r("143");return a}},createRef:function(){return{current:null}},Component:
|
|
34
|
-
b}},Fragment:
|
|
35
|
-
arguments[m+2];e.children=l}return{$$typeof:A,type:a.type,key:f,ref:
|
|
21
|
+
var c=Object(a);for(var d,e=1;e<arguments.length;e++){var f=Object(arguments[e]);for(var g in f)Pa.call(f,g)&&(c[g]=f[g]);if(oa){d=oa(f);for(var h=0;h<d.length;h++)Qa.call(f,d[h])&&(c[d[h]]=f[d[h]])}}return c},ea={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},da={};v.prototype.isReactComponent={};v.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?r("85"):void 0;this.updater.enqueueSetState(this,
|
|
22
|
+
a,b,"setState")};v.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};fa.prototype=v.prototype;g=P.prototype=new fa;g.constructor=P;K(g,v.prototype);g.isPureReactComponent=!0;var f=null,H=!1,l=3,q=-1,G=-1,z=!1,E=!1,Ra=Date,Sa="function"===typeof setTimeout?setTimeout:void 0,Ta="function"===typeof clearTimeout?clearTimeout:void 0,pa="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,qa="function"===typeof cancelAnimationFrame?cancelAnimationFrame:
|
|
23
|
+
void 0,ra,sa,aa=function(a){ra=pa(function(b){Ta(sa);a(b)});sa=Sa(function(){qa(ra);a(p())},100)};if("object"===typeof performance&&"function"===typeof performance.now){var Ua=performance;var p=function(){return Ua.now()}}else p=function(){return Ra.now()};g=null;"undefined"!==typeof window?g=window:"undefined"!==typeof global&&(g=global);if(g&&g._schedMock){g=g._schedMock;var F=g[0];var Q=g[1];var I=g[2];p=g[3]}else if("undefined"===typeof window||"function"!==typeof MessageChannel){var x=null,Va=
|
|
24
|
+
function(a){if(null!==x)try{x(a)}finally{x=null}};F=function(a,b){null!==x?setTimeout(F,0,a):(x=a,setTimeout(Va,0,!1))};Q=function(){x=null};I=function(){return!1}}else{"undefined"!==typeof console&&("function"!==typeof pa&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof qa&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));
|
|
25
|
+
var y=null,L=!1,B=-1,C=!1,ba=!1,M=0,N=33,D=33;I=function(){return M<=p()};g=new MessageChannel;var ta=g.port2;g.port1.onmessage=function(a){L=!1;a=y;var b=B;y=null;B=-1;var c=p(),d=!1;if(0>=M-c)if(-1!==b&&b<=c)d=!0;else{C||(C=!0,aa(ca));y=a;B=b;return}if(null!==a){ba=!0;try{a(d)}finally{ba=!1}}};var ca=function(a){if(null!==y){aa(ca);var b=a-M+D;b<D&&N<D?(8>b&&(b=8),D=b<N?N:b):N=b;M=a+D;L||(L=!0,ta.postMessage(void 0))}else C=!1};F=function(a,b){y=a;B=b;ba||0>b?ta.postMessage(void 0):C||(C=!0,aa(ca))};
|
|
26
|
+
Q=function(){y=null;L=!1;B=-1}}var Wa=0,Xa=0,m=null,t=null;m={current:new Set};t={current:null};var n=null;n=new Set;var T={current:null,currentDispatcher:null};g={ReactCurrentOwner:T,assign:K};K(g,{Scheduler:{unstable_cancelCallback:function(a){var b=a.next;if(null!==b){if(b===a)f=null;else{a===f&&(f=b);var c=a.previous;c.next=b;b.previous=c}a.next=a.previous=null}},unstable_shouldYield:function(){return!H&&(null!==f&&f.expirationTime<G||I())},unstable_now:p,unstable_scheduleCallback:function(a,
|
|
27
|
+
b){var c=-1!==q?q:p();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=c+b.timeout;else switch(l){case 1:b=c+-1;break;case 2:b=c+250;break;case 5:b=c+1073741823;break;case 4:b=c+1E4;break;default:b=c+5E3}a={callback:a,priorityLevel:l,expirationTime:b,next:null,previous:null};if(null===f)f=a.next=a.previous=a,w();else{c=null;var d=f;do{if(d.expirationTime>b){c=d;break}d=d.next}while(d!==f);null===c?c=f:c===f&&(f=a,w());b=c.previous;b.next=c.previous=a;a.next=c;a.previous=b}return a},
|
|
28
|
+
unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=l,d=q;l=a;q=p();try{return b()}finally{l=c,q=d,S()}},unstable_wrapCallback:function(a){var b=l;return function(){var c=l,d=q;l=b;q=p();try{return a.apply(this,arguments)}finally{l=c,q=d,S()}}},unstable_getFirstCallbackNode:function(){return f},unstable_pauseExecution:function(){},unstable_continueExecution:function(){null!==f&&w()},unstable_getCurrentPriorityLevel:function(){return l}},SchedulerTracing:{__interactionsRef:m,
|
|
29
|
+
__subscriberRef:t,unstable_clear:function(a){var b=m.current;m.current=new Set;try{return a()}finally{m.current=b}},unstable_getCurrent:function(){return m.current},unstable_getThreadID:function(){return++Xa},unstable_subscribe:function(a){n.add(a);1===n.size&&(t.current={onInteractionScheduledWorkCompleted:xa,onInteractionTraced:wa,onWorkCanceled:Ba,onWorkScheduled:ya,onWorkStarted:za,onWorkStopped:Aa})},unstable_trace:function(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:
|
|
30
|
+
0,e={__count:1,id:Wa++,name:a,timestamp:b},f=m.current,g=new Set(f);g.add(e);m.current=g;var h=t.current,l=void 0;try{if(null!==h)h.onInteractionTraced(e)}finally{try{if(null!==h)h.onWorkStarted(g,d)}finally{try{l=c()}finally{m.current=f;try{if(null!==h)h.onWorkStopped(g,d)}finally{if(e.__count--,null!==h&&0===e.__count)h.onInteractionScheduledWorkCompleted(e)}}}}return l},unstable_unsubscribe:function(a){n.delete(a);0===n.size&&(t.current=null)},unstable_wrap:function(a){function b(){var b=m.current;
|
|
31
|
+
m.current=d;e=t.current;try{var g=void 0;try{if(null!==e)e.onWorkStarted(d,c)}finally{try{g=a.apply(void 0,arguments)}finally{if(m.current=b,null!==e)e.onWorkStopped(d,c)}}return g}finally{f||(f=!0,d.forEach(function(a){a.__count--;if(null!==e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)}))}}var c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,d=m.current,e=t.current;if(null!==e)e.onWorkScheduled(d,c);d.forEach(function(a){a.__count++});var f=!1;b.cancel=function(){e=t.current;
|
|
32
|
+
try{if(null!==e)e.onWorkCanceled(d,c)}finally{d.forEach(function(a){a.__count--;if(e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)})}};return b}}});var ia=Object.prototype.hasOwnProperty,ja={key:!0,ref:!0,__self:!0,__source:!0},na=/\/+/g,J=[];u={Children:{map:function(a,b,c){if(null==a)return a;var d=[];Y(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=ka(null,null,b,c);X(a,Fa,b);la(b)},count:function(a){return X(a,function(){return null},null)},toArray:function(a){var b=
|
|
33
|
+
[];Y(a,b,null,function(a){return a});return b},only:function(a){U(a)?void 0:r("143");return a}},createRef:function(){return{current:null}},Component:v,PureComponent:P,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:Ja,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:Ia,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:La,render:a}},lazy:function(a){return{$$typeof:Oa,_ctor:a,_status:-1,_result:null}},
|
|
34
|
+
memo:function(a,b){return{$$typeof:Na,type:a,compare:void 0===b?null:b}},Fragment:u,StrictMode:Z,Suspense:Ma,createElement:ha,cloneElement:function(a,b,c){null===a||void 0===a?r("267",a):void 0;var d=void 0,e=K({},a.props),f=a.key,g=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,h=T.current);void 0!==b.key&&(f=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(d in b)ia.call(b,d)&&!ja.hasOwnProperty(d)&&(e[d]=void 0===b[d]&&void 0!==l?l[d]:b[d])}d=arguments.length-
|
|
35
|
+
2;if(1===d)e.children=c;else if(1<d){l=Array(d);for(var m=0;m<d;m++)l[m]=arguments[m+2];e.children=l}return{$$typeof:A,type:a.type,key:f,ref:g,props:e,_owner:h}},createFactory:function(a){var b=ha.bind(null,a);b.type=a;return b},isValidElement:U,version:"16.7.0",unstable_ConcurrentMode:Ka,unstable_Profiler:Ha,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:g};u=(Z={default:u},u)||Z;return u.default||u});
|