react 16.8.0-alpha.1 → 16.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build-info.json +5 -5
- package/cjs/react.development.js +59 -60
- package/cjs/react.production.min.js +12 -12
- package/package.json +7 -3
- package/umd/react.development.js +102 -66
- package/umd/react.production.min.js +24 -24
- package/umd/react.profiling.min.js +29 -29
package/build-info.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"branch": "pull/
|
|
3
|
-
"buildNumber": "
|
|
4
|
-
"checksum": "
|
|
5
|
-
"commit": "
|
|
2
|
+
"branch": "pull/14902",
|
|
3
|
+
"buildNumber": "13558",
|
|
4
|
+
"checksum": "9da4ab1",
|
|
5
|
+
"commit": "29b7b775f",
|
|
6
6
|
"environment": "ci",
|
|
7
|
-
"reactVersion": "16.
|
|
7
|
+
"reactVersion": "16.8.2-canary-29b7b775f"
|
|
8
8
|
}
|
package/cjs/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.8.
|
|
1
|
+
/** @license React v16.8.3
|
|
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.8.
|
|
23
|
+
var ReactVersion = '16.8.3';
|
|
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.
|
|
@@ -54,46 +54,6 @@ function getIteratorFn(maybeIterable) {
|
|
|
54
54
|
return null;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
var enableHooks = true;
|
|
58
|
-
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
// In some cases, StrictMode should also double-render lifecycles.
|
|
62
|
-
// This can be confusing for tests though,
|
|
63
|
-
// And it can be bad for performance in production.
|
|
64
|
-
// This feature flag can be used to control the behavior:
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
// To preserve the "Pause on caught exceptions" behavior of the debugger, we
|
|
68
|
-
// replay the begin phase of a failed component inside invokeGuardedCallback.
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
// Gather advanced timing metrics for Profiler subtrees.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
// Trace which interactions trigger each commit.
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
// Only used in www builds.
|
|
81
|
-
// TODO: true? Here it might just be false.
|
|
82
|
-
|
|
83
|
-
// Only used in www builds.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
// Only used in www builds.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
// React Fire: prevent the value and checked attributes from syncing
|
|
90
|
-
// with their related DOM properties
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
|
94
|
-
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
|
95
|
-
var enableStableConcurrentModeAPIs = true;
|
|
96
|
-
|
|
97
57
|
/**
|
|
98
58
|
* Use invariant() to assert state which your program assumes to be true.
|
|
99
59
|
*
|
|
@@ -1473,13 +1433,15 @@ function memo(type, compare) {
|
|
|
1473
1433
|
|
|
1474
1434
|
function resolveDispatcher() {
|
|
1475
1435
|
var dispatcher = ReactCurrentDispatcher.current;
|
|
1476
|
-
!(dispatcher !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component.') : void 0;
|
|
1436
|
+
!(dispatcher !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call)') : void 0;
|
|
1477
1437
|
return dispatcher;
|
|
1478
1438
|
}
|
|
1479
1439
|
|
|
1480
|
-
function useContext(Context,
|
|
1440
|
+
function useContext(Context, unstable_observedBits) {
|
|
1481
1441
|
var dispatcher = resolveDispatcher();
|
|
1482
1442
|
{
|
|
1443
|
+
!(unstable_observedBits === undefined) ? warning$1(false, 'useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://fb.me/rules-of-hooks' : '') : void 0;
|
|
1444
|
+
|
|
1483
1445
|
// TODO: add a more generic warning for invalid values.
|
|
1484
1446
|
if (Context._context !== undefined) {
|
|
1485
1447
|
var realContext = Context._context;
|
|
@@ -1492,7 +1454,7 @@ function useContext(Context, observedBits) {
|
|
|
1492
1454
|
}
|
|
1493
1455
|
}
|
|
1494
1456
|
}
|
|
1495
|
-
return dispatcher.useContext(Context,
|
|
1457
|
+
return dispatcher.useContext(Context, unstable_observedBits);
|
|
1496
1458
|
}
|
|
1497
1459
|
|
|
1498
1460
|
function useState(initialState) {
|
|
@@ -1500,9 +1462,9 @@ function useState(initialState) {
|
|
|
1500
1462
|
return dispatcher.useState(initialState);
|
|
1501
1463
|
}
|
|
1502
1464
|
|
|
1503
|
-
function useReducer(reducer,
|
|
1465
|
+
function useReducer(reducer, initialArg, init) {
|
|
1504
1466
|
var dispatcher = resolveDispatcher();
|
|
1505
|
-
return dispatcher.useReducer(reducer,
|
|
1467
|
+
return dispatcher.useReducer(reducer, initialArg, init);
|
|
1506
1468
|
}
|
|
1507
1469
|
|
|
1508
1470
|
function useRef(initialValue) {
|
|
@@ -1825,6 +1787,45 @@ function cloneElementWithValidation(element, props, children) {
|
|
|
1825
1787
|
return newElement;
|
|
1826
1788
|
}
|
|
1827
1789
|
|
|
1790
|
+
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
// In some cases, StrictMode should also double-render lifecycles.
|
|
1794
|
+
// This can be confusing for tests though,
|
|
1795
|
+
// And it can be bad for performance in production.
|
|
1796
|
+
// This feature flag can be used to control the behavior:
|
|
1797
|
+
|
|
1798
|
+
|
|
1799
|
+
// To preserve the "Pause on caught exceptions" behavior of the debugger, we
|
|
1800
|
+
// replay the begin phase of a failed component inside invokeGuardedCallback.
|
|
1801
|
+
|
|
1802
|
+
|
|
1803
|
+
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
|
|
1804
|
+
|
|
1805
|
+
|
|
1806
|
+
// Gather advanced timing metrics for Profiler subtrees.
|
|
1807
|
+
|
|
1808
|
+
|
|
1809
|
+
// Trace which interactions trigger each commit.
|
|
1810
|
+
|
|
1811
|
+
|
|
1812
|
+
// Only used in www builds.
|
|
1813
|
+
// TODO: true? Here it might just be false.
|
|
1814
|
+
|
|
1815
|
+
// Only used in www builds.
|
|
1816
|
+
|
|
1817
|
+
|
|
1818
|
+
// Only used in www builds.
|
|
1819
|
+
|
|
1820
|
+
|
|
1821
|
+
// React Fire: prevent the value and checked attributes from syncing
|
|
1822
|
+
// with their related DOM properties
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
|
1826
|
+
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
|
1827
|
+
var enableStableConcurrentModeAPIs = false;
|
|
1828
|
+
|
|
1828
1829
|
var React = {
|
|
1829
1830
|
Children: {
|
|
1830
1831
|
map: mapChildren,
|
|
@@ -1843,6 +1844,17 @@ var React = {
|
|
|
1843
1844
|
lazy: lazy,
|
|
1844
1845
|
memo: memo,
|
|
1845
1846
|
|
|
1847
|
+
useCallback: useCallback,
|
|
1848
|
+
useContext: useContext,
|
|
1849
|
+
useEffect: useEffect,
|
|
1850
|
+
useImperativeHandle: useImperativeHandle,
|
|
1851
|
+
useDebugValue: useDebugValue,
|
|
1852
|
+
useLayoutEffect: useLayoutEffect,
|
|
1853
|
+
useMemo: useMemo,
|
|
1854
|
+
useReducer: useReducer,
|
|
1855
|
+
useRef: useRef,
|
|
1856
|
+
useState: useState,
|
|
1857
|
+
|
|
1846
1858
|
Fragment: REACT_FRAGMENT_TYPE,
|
|
1847
1859
|
StrictMode: REACT_STRICT_MODE_TYPE,
|
|
1848
1860
|
Suspense: REACT_SUSPENSE_TYPE,
|
|
@@ -1872,19 +1884,6 @@ if (enableStableConcurrentModeAPIs) {
|
|
|
1872
1884
|
React.unstable_Profiler = undefined;
|
|
1873
1885
|
}
|
|
1874
1886
|
|
|
1875
|
-
if (enableHooks) {
|
|
1876
|
-
React.useCallback = useCallback;
|
|
1877
|
-
React.useContext = useContext;
|
|
1878
|
-
React.useEffect = useEffect;
|
|
1879
|
-
React.useImperativeHandle = useImperativeHandle;
|
|
1880
|
-
React.useDebugValue = useDebugValue;
|
|
1881
|
-
React.useLayoutEffect = useLayoutEffect;
|
|
1882
|
-
React.useMemo = useMemo;
|
|
1883
|
-
React.useReducer = useReducer;
|
|
1884
|
-
React.useRef = useRef;
|
|
1885
|
-
React.useState = useState;
|
|
1886
|
-
}
|
|
1887
|
-
|
|
1888
1887
|
|
|
1889
1888
|
|
|
1890
1889
|
var React$2 = Object.freeze({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.8.
|
|
1
|
+
/** @license React v16.8.3
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
'use strict';var
|
|
11
|
-
60115,ba=
|
|
10
|
+
'use strict';var k=require("object-assign"),n="function"===typeof Symbol&&Symbol.for,p=n?Symbol.for("react.element"):60103,q=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,t=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,v=n?Symbol.for("react.provider"):60109,w=n?Symbol.for("react.context"):60110,x=n?Symbol.for("react.concurrent_mode"):60111,y=n?Symbol.for("react.forward_ref"):60112,z=n?Symbol.for("react.suspense"):60113,aa=n?Symbol.for("react.memo"):
|
|
11
|
+
60115,ba=n?Symbol.for("react.lazy"):60116,A="function"===typeof Symbol&&Symbol.iterator;function ca(a,b,d,c,e,g,h,f){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 l=[d,c,e,g,h,f],m=0;a=Error(b.replace(/%s/g,function(){return l[m++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}}
|
|
12
12
|
function B(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]);ca(!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)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D={};
|
|
13
13
|
function E(a,b,d){this.props=a;this.context=b;this.refs=D;this.updater=d||C}E.prototype.isReactComponent={};E.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?B("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function F(){}F.prototype=E.prototype;function G(a,b,d){this.props=a;this.context=b;this.refs=D;this.updater=d||C}var H=G.prototype=new F;
|
|
14
|
-
H.constructor=G;
|
|
15
|
-
function M(a,b,d){var c=void 0,e={},g=null,
|
|
14
|
+
H.constructor=G;k(H,E.prototype);H.isPureReactComponent=!0;var I={current:null},J={current:null},K=Object.prototype.hasOwnProperty,L={key:!0,ref:!0,__self:!0,__source:!0};
|
|
15
|
+
function M(a,b,d){var c=void 0,e={},g=null,h=null;if(null!=b)for(c in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(g=""+b.key),b)K.call(b,c)&&!L.hasOwnProperty(c)&&(e[c]=b[c]);var f=arguments.length-2;if(1===f)e.children=d;else if(1<f){for(var l=Array(f),m=0;m<f;m++)l[m]=arguments[m+2];e.children=l}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===e[c]&&(e[c]=f[c]);return{$$typeof:p,type:a,key:g,ref:h,props:e,_owner:J.current}}
|
|
16
16
|
function da(a,b){return{$$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function N(a){return"object"===typeof a&&null!==a&&a.$$typeof===p}function escape(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var O=/\/+/g,P=[];function Q(a,b,d,c){if(P.length){var e=P.pop();e.result=a;e.keyPrefix=b;e.func=d;e.context=c;e.count=0;return e}return{result:a,keyPrefix:b,func:d,context:c,count:0}}
|
|
17
17
|
function R(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>P.length&&P.push(a)}
|
|
18
|
-
function S(a,b,d,c){var e=typeof a;if("undefined"===e||"boolean"===e)a=null;var g=!1;if(null===a)g=!0;else switch(e){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case p:case q:g=!0}}if(g)return d(c,a,""===b?"."+T(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var
|
|
19
|
-
0;!(e=a.next()).done;)e=e.value,f=b+T(e,
|
|
20
|
-
function fa(a,b,d){var c=a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?V(a,c,d,function(a){return a}):null!=a&&(N(a)&&(a=da(a,e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+d)),c.push(a))}function V(a,b,d,c,e){var g="";null!=d&&(g=(""+d).replace(O,"$&/")+"/");b=Q(b,g,c,e);U(a,fa,b);R(b)}function W(){var a=I.current;null===a?B("
|
|
18
|
+
function S(a,b,d,c){var e=typeof a;if("undefined"===e||"boolean"===e)a=null;var g=!1;if(null===a)g=!0;else switch(e){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case p:case q:g=!0}}if(g)return d(c,a,""===b?"."+T(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var h=0;h<a.length;h++){e=a[h];var f=b+T(e,h);g+=S(e,f,d,c)}else if(null===a||"object"!==typeof a?f=null:(f=A&&a[A]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=f.call(a),h=
|
|
19
|
+
0;!(e=a.next()).done;)e=e.value,f=b+T(e,h++),g+=S(e,f,d,c);else"object"===e&&(d=""+a,B("31","[object Object]"===d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return g}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?escape(a.key):b.toString(36)}function ea(a,b){a.func.call(a.context,b,a.count++)}
|
|
20
|
+
function fa(a,b,d){var c=a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?V(a,c,d,function(a){return a}):null!=a&&(N(a)&&(a=da(a,e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+d)),c.push(a))}function V(a,b,d,c,e){var g="";null!=d&&(g=(""+d).replace(O,"$&/")+"/");b=Q(b,g,c,e);U(a,fa,b);R(b)}function W(){var a=I.current;null===a?B("307"):void 0;return a}
|
|
21
21
|
var X={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=Q(null,null,b,d);U(a,ea,b);R(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){N(a)?void 0:B("143");return a}},createRef:function(){return{current:null}},Component:E,PureComponent:G,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,
|
|
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:ba,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:aa,type:a,compare:void 0===b?null:b}},
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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:ba,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:aa,type:a,compare:void 0===b?null:b}},useCallback:function(a,b){return W().useCallback(a,b)},useContext:function(a,b){return W().useContext(a,b)},useEffect:function(a,b){return W().useEffect(a,b)},useImperativeHandle:function(a,
|
|
23
|
+
b,d){return W().useImperativeHandle(a,b,d)},useDebugValue:function(){},useLayoutEffect:function(a,b){return W().useLayoutEffect(a,b)},useMemo:function(a,b){return W().useMemo(a,b)},useReducer:function(a,b,d){return W().useReducer(a,b,d)},useRef:function(a){return W().useRef(a)},useState:function(a){return W().useState(a)},Fragment:r,StrictMode:t,Suspense:z,createElement:M,cloneElement:function(a,b,d){null===a||void 0===a?B("267",a):void 0;var c=void 0,e=k({},a.props),g=a.key,h=a.ref,f=a._owner;if(null!=
|
|
24
|
+
b){void 0!==b.ref&&(h=b.ref,f=J.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)K.call(b,c)&&!L.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 m=0;m<c;m++)l[m]=arguments[m+2];e.children=l}return{$$typeof:p,type:a.type,key:g,ref:h,props:e,_owner:f}},createFactory:function(a){var b=M.bind(null,a);b.type=a;return b},isValidElement:N,version:"16.8.3",
|
|
25
|
+
unstable_ConcurrentMode:x,unstable_Profiler:u,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:I,ReactCurrentOwner:J,assign:k}},Y={default:X},Z=Y&&X||Y;module.exports=Z.default||Z;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"keywords": [
|
|
5
5
|
"react"
|
|
6
6
|
],
|
|
7
|
-
"version": "16.8.
|
|
7
|
+
"version": "16.8.3",
|
|
8
8
|
"homepage": "https://reactjs.org/",
|
|
9
9
|
"bugs": "https://github.com/facebook/react/issues",
|
|
10
10
|
"license": "MIT",
|
|
@@ -17,7 +17,11 @@
|
|
|
17
17
|
"umd/"
|
|
18
18
|
],
|
|
19
19
|
"main": "index.js",
|
|
20
|
-
"repository":
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/facebook/react.git",
|
|
23
|
+
"directory": "packages/react"
|
|
24
|
+
},
|
|
21
25
|
"engines": {
|
|
22
26
|
"node": ">=0.10.0"
|
|
23
27
|
},
|
|
@@ -25,7 +29,7 @@
|
|
|
25
29
|
"loose-envify": "^1.1.0",
|
|
26
30
|
"object-assign": "^4.1.1",
|
|
27
31
|
"prop-types": "^15.6.2",
|
|
28
|
-
"scheduler": "^0.13.
|
|
32
|
+
"scheduler": "^0.13.3"
|
|
29
33
|
},
|
|
30
34
|
"browserify": {
|
|
31
35
|
"transform": [
|
package/umd/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.8.
|
|
1
|
+
/** @license React v16.8.3
|
|
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.8.
|
|
20
|
+
var ReactVersion = '16.8.3';
|
|
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.
|
|
@@ -51,46 +51,6 @@ function getIteratorFn(maybeIterable) {
|
|
|
51
51
|
return null;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
var enableHooks = true;
|
|
55
|
-
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
// In some cases, StrictMode should also double-render lifecycles.
|
|
59
|
-
// This can be confusing for tests though,
|
|
60
|
-
// And it can be bad for performance in production.
|
|
61
|
-
// This feature flag can be used to control the behavior:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
// To preserve the "Pause on caught exceptions" behavior of the debugger, we
|
|
65
|
-
// replay the begin phase of a failed component inside invokeGuardedCallback.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
// Gather advanced timing metrics for Profiler subtrees.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
// Trace which interactions trigger each commit.
|
|
75
|
-
var enableSchedulerTracing = true;
|
|
76
|
-
|
|
77
|
-
// Only used in www builds.
|
|
78
|
-
// TODO: true? Here it might just be false.
|
|
79
|
-
|
|
80
|
-
// Only used in www builds.
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
// Only used in www builds.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
// React Fire: prevent the value and checked attributes from syncing
|
|
87
|
-
// with their related DOM properties
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
|
91
|
-
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
|
92
|
-
var enableStableConcurrentModeAPIs = true;
|
|
93
|
-
|
|
94
54
|
/*
|
|
95
55
|
object-assign
|
|
96
56
|
(c) Sindre Sorhus
|
|
@@ -537,7 +497,7 @@ function createRef() {
|
|
|
537
497
|
return refObject;
|
|
538
498
|
}
|
|
539
499
|
|
|
540
|
-
var enableSchedulerDebugging
|
|
500
|
+
var enableSchedulerDebugging = false;
|
|
541
501
|
|
|
542
502
|
/* eslint-disable no-var */
|
|
543
503
|
|
|
@@ -705,7 +665,7 @@ function flushImmediateWork() {
|
|
|
705
665
|
function flushWork(didTimeout) {
|
|
706
666
|
// Exit right away if we're currently paused
|
|
707
667
|
|
|
708
|
-
if (enableSchedulerDebugging
|
|
668
|
+
if (enableSchedulerDebugging && isSchedulerPaused) {
|
|
709
669
|
return;
|
|
710
670
|
}
|
|
711
671
|
|
|
@@ -715,7 +675,7 @@ function flushWork(didTimeout) {
|
|
|
715
675
|
try {
|
|
716
676
|
if (didTimeout) {
|
|
717
677
|
// Flush all the expired callbacks without yielding.
|
|
718
|
-
while (firstCallbackNode !== null && !(enableSchedulerDebugging
|
|
678
|
+
while (firstCallbackNode !== null && !(enableSchedulerDebugging && isSchedulerPaused)) {
|
|
719
679
|
// TODO Wrap in feature flag
|
|
720
680
|
// Read the current time. Flush all the callbacks that expire at or
|
|
721
681
|
// earlier than that time. Then read the current time again and repeat.
|
|
@@ -724,7 +684,7 @@ function flushWork(didTimeout) {
|
|
|
724
684
|
if (firstCallbackNode.expirationTime <= currentTime) {
|
|
725
685
|
do {
|
|
726
686
|
flushFirstCallback();
|
|
727
|
-
} while (firstCallbackNode !== null && firstCallbackNode.expirationTime <= currentTime && !(enableSchedulerDebugging
|
|
687
|
+
} while (firstCallbackNode !== null && firstCallbackNode.expirationTime <= currentTime && !(enableSchedulerDebugging && isSchedulerPaused));
|
|
728
688
|
continue;
|
|
729
689
|
}
|
|
730
690
|
break;
|
|
@@ -733,7 +693,7 @@ function flushWork(didTimeout) {
|
|
|
733
693
|
// Keep flushing callbacks until we run out of time in the frame.
|
|
734
694
|
if (firstCallbackNode !== null) {
|
|
735
695
|
do {
|
|
736
|
-
if (enableSchedulerDebugging
|
|
696
|
+
if (enableSchedulerDebugging && isSchedulerPaused) {
|
|
737
697
|
break;
|
|
738
698
|
}
|
|
739
699
|
flushFirstCallback();
|
|
@@ -782,6 +742,37 @@ function unstable_runWithPriority(priorityLevel, eventHandler) {
|
|
|
782
742
|
}
|
|
783
743
|
}
|
|
784
744
|
|
|
745
|
+
function unstable_next(eventHandler) {
|
|
746
|
+
var priorityLevel = void 0;
|
|
747
|
+
switch (currentPriorityLevel) {
|
|
748
|
+
case ImmediatePriority:
|
|
749
|
+
case UserBlockingPriority:
|
|
750
|
+
case NormalPriority:
|
|
751
|
+
// Shift down to normal priority
|
|
752
|
+
priorityLevel = NormalPriority;
|
|
753
|
+
break;
|
|
754
|
+
default:
|
|
755
|
+
// Anything lower than normal priority should remain at the current level.
|
|
756
|
+
priorityLevel = currentPriorityLevel;
|
|
757
|
+
break;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
var previousPriorityLevel = currentPriorityLevel;
|
|
761
|
+
var previousEventStartTime = currentEventStartTime;
|
|
762
|
+
currentPriorityLevel = priorityLevel;
|
|
763
|
+
currentEventStartTime = getCurrentTime();
|
|
764
|
+
|
|
765
|
+
try {
|
|
766
|
+
return eventHandler();
|
|
767
|
+
} finally {
|
|
768
|
+
currentPriorityLevel = previousPriorityLevel;
|
|
769
|
+
currentEventStartTime = previousEventStartTime;
|
|
770
|
+
|
|
771
|
+
// Before exiting, flush all the immediate work that was scheduled.
|
|
772
|
+
flushImmediateWork();
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
|
|
785
776
|
function unstable_wrapCallback(callback) {
|
|
786
777
|
var parentPriorityLevel = currentPriorityLevel;
|
|
787
778
|
return function () {
|
|
@@ -1171,6 +1162,45 @@ typeof MessageChannel !== 'function') {
|
|
|
1171
1162
|
};
|
|
1172
1163
|
}
|
|
1173
1164
|
|
|
1165
|
+
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
1166
|
+
|
|
1167
|
+
|
|
1168
|
+
// In some cases, StrictMode should also double-render lifecycles.
|
|
1169
|
+
// This can be confusing for tests though,
|
|
1170
|
+
// And it can be bad for performance in production.
|
|
1171
|
+
// This feature flag can be used to control the behavior:
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
// To preserve the "Pause on caught exceptions" behavior of the debugger, we
|
|
1175
|
+
// replay the begin phase of a failed component inside invokeGuardedCallback.
|
|
1176
|
+
|
|
1177
|
+
|
|
1178
|
+
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
|
|
1179
|
+
|
|
1180
|
+
|
|
1181
|
+
// Gather advanced timing metrics for Profiler subtrees.
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
// Trace which interactions trigger each commit.
|
|
1185
|
+
var enableSchedulerTracing = true;
|
|
1186
|
+
|
|
1187
|
+
// Only used in www builds.
|
|
1188
|
+
// TODO: true? Here it might just be false.
|
|
1189
|
+
|
|
1190
|
+
// Only used in www builds.
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
// Only used in www builds.
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
// React Fire: prevent the value and checked attributes from syncing
|
|
1197
|
+
// with their related DOM properties
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
|
1201
|
+
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
|
1202
|
+
var enableStableConcurrentModeAPIs = false;
|
|
1203
|
+
|
|
1174
1204
|
var DEFAULT_THREAD_ID = 0;
|
|
1175
1205
|
|
|
1176
1206
|
// Counters used to generate unique IDs.
|
|
@@ -1700,11 +1730,17 @@ var ReactSharedInternals = {
|
|
|
1700
1730
|
unstable_now: getCurrentTime,
|
|
1701
1731
|
unstable_scheduleCallback: unstable_scheduleCallback,
|
|
1702
1732
|
unstable_runWithPriority: unstable_runWithPriority,
|
|
1733
|
+
unstable_next: unstable_next,
|
|
1703
1734
|
unstable_wrapCallback: unstable_wrapCallback,
|
|
1704
1735
|
unstable_getFirstCallbackNode: unstable_getFirstCallbackNode,
|
|
1705
1736
|
unstable_pauseExecution: unstable_pauseExecution,
|
|
1706
1737
|
unstable_continueExecution: unstable_continueExecution,
|
|
1707
|
-
unstable_getCurrentPriorityLevel: unstable_getCurrentPriorityLevel
|
|
1738
|
+
unstable_getCurrentPriorityLevel: unstable_getCurrentPriorityLevel,
|
|
1739
|
+
unstable_IdlePriority: IdlePriority,
|
|
1740
|
+
unstable_ImmediatePriority: ImmediatePriority,
|
|
1741
|
+
unstable_LowPriority: LowPriority,
|
|
1742
|
+
unstable_NormalPriority: NormalPriority,
|
|
1743
|
+
unstable_UserBlockingPriority: UserBlockingPriority
|
|
1708
1744
|
},
|
|
1709
1745
|
SchedulerTracing: {
|
|
1710
1746
|
__interactionsRef: interactionsRef,
|
|
@@ -2585,13 +2621,15 @@ function memo(type, compare) {
|
|
|
2585
2621
|
|
|
2586
2622
|
function resolveDispatcher() {
|
|
2587
2623
|
var dispatcher = ReactCurrentDispatcher.current;
|
|
2588
|
-
!(dispatcher !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component.') : void 0;
|
|
2624
|
+
!(dispatcher !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call)') : void 0;
|
|
2589
2625
|
return dispatcher;
|
|
2590
2626
|
}
|
|
2591
2627
|
|
|
2592
|
-
function useContext(Context,
|
|
2628
|
+
function useContext(Context, unstable_observedBits) {
|
|
2593
2629
|
var dispatcher = resolveDispatcher();
|
|
2594
2630
|
{
|
|
2631
|
+
!(unstable_observedBits === undefined) ? warning$1(false, 'useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://fb.me/rules-of-hooks' : '') : void 0;
|
|
2632
|
+
|
|
2595
2633
|
// TODO: add a more generic warning for invalid values.
|
|
2596
2634
|
if (Context._context !== undefined) {
|
|
2597
2635
|
var realContext = Context._context;
|
|
@@ -2604,7 +2642,7 @@ function useContext(Context, observedBits) {
|
|
|
2604
2642
|
}
|
|
2605
2643
|
}
|
|
2606
2644
|
}
|
|
2607
|
-
return dispatcher.useContext(Context,
|
|
2645
|
+
return dispatcher.useContext(Context, unstable_observedBits);
|
|
2608
2646
|
}
|
|
2609
2647
|
|
|
2610
2648
|
function useState(initialState) {
|
|
@@ -2612,9 +2650,9 @@ function useState(initialState) {
|
|
|
2612
2650
|
return dispatcher.useState(initialState);
|
|
2613
2651
|
}
|
|
2614
2652
|
|
|
2615
|
-
function useReducer(reducer,
|
|
2653
|
+
function useReducer(reducer, initialArg, init) {
|
|
2616
2654
|
var dispatcher = resolveDispatcher();
|
|
2617
|
-
return dispatcher.useReducer(reducer,
|
|
2655
|
+
return dispatcher.useReducer(reducer, initialArg, init);
|
|
2618
2656
|
}
|
|
2619
2657
|
|
|
2620
2658
|
function useRef(initialValue) {
|
|
@@ -3060,6 +3098,17 @@ var React = {
|
|
|
3060
3098
|
lazy: lazy,
|
|
3061
3099
|
memo: memo,
|
|
3062
3100
|
|
|
3101
|
+
useCallback: useCallback,
|
|
3102
|
+
useContext: useContext,
|
|
3103
|
+
useEffect: useEffect,
|
|
3104
|
+
useImperativeHandle: useImperativeHandle,
|
|
3105
|
+
useDebugValue: useDebugValue,
|
|
3106
|
+
useLayoutEffect: useLayoutEffect,
|
|
3107
|
+
useMemo: useMemo,
|
|
3108
|
+
useReducer: useReducer,
|
|
3109
|
+
useRef: useRef,
|
|
3110
|
+
useState: useState,
|
|
3111
|
+
|
|
3063
3112
|
Fragment: REACT_FRAGMENT_TYPE,
|
|
3064
3113
|
StrictMode: REACT_STRICT_MODE_TYPE,
|
|
3065
3114
|
Suspense: REACT_SUSPENSE_TYPE,
|
|
@@ -3089,19 +3138,6 @@ if (enableStableConcurrentModeAPIs) {
|
|
|
3089
3138
|
React.unstable_Profiler = undefined;
|
|
3090
3139
|
}
|
|
3091
3140
|
|
|
3092
|
-
if (enableHooks) {
|
|
3093
|
-
React.useCallback = useCallback;
|
|
3094
|
-
React.useContext = useContext;
|
|
3095
|
-
React.useEffect = useEffect;
|
|
3096
|
-
React.useImperativeHandle = useImperativeHandle;
|
|
3097
|
-
React.useDebugValue = useDebugValue;
|
|
3098
|
-
React.useLayoutEffect = useLayoutEffect;
|
|
3099
|
-
React.useMemo = useMemo;
|
|
3100
|
-
React.useReducer = useReducer;
|
|
3101
|
-
React.useRef = useRef;
|
|
3102
|
-
React.useState = useState;
|
|
3103
|
-
}
|
|
3104
|
-
|
|
3105
3141
|
|
|
3106
3142
|
|
|
3107
3143
|
var React$2 = Object.freeze({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.8.
|
|
1
|
+
/** @license React v16.8.3
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -7,27 +7,27 @@
|
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
'use strict';(function(N,q){"object"===typeof exports&&"undefined"!==typeof module?module.exports=q():"function"===typeof define&&define.amd?define(q):N.React=q()})(this,function(){function N(a,b,d,g,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 n=[d,g,p,c,e,h],f=0;a=Error(b.replace(/%s/g,function(){return n[f++]}));a.name="Invariant Violation"}a.framesToPop=1;
|
|
10
|
-
throw a;}}function q(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,g=0;g<b;g++)d+="&args[]="+encodeURIComponent(arguments[g+1]);N(!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
|
|
11
|
-
ca}function
|
|
12
|
-
c&&(c=n,
|
|
13
|
-
b)for(g in void 0!==b.ref&&(e=b.ref),void 0!==b.key&&(c=""+b.key),b)fa.call(b,g)&&!ha.hasOwnProperty(g)&&(p[g]=b[g]);var h=arguments.length-2;if(1===h)p.children=d;else if(1<h){for(var f=Array(h),k=0;k<h;k++)f[k]=arguments[k+2];p.children=f}if(a&&a.defaultProps)for(g in h=a.defaultProps,h)void 0===p[g]&&(p[g]=h[g]);return{$$typeof:
|
|
14
|
-
typeof a&&null!==a&&a.$$typeof===
|
|
15
|
-
a)e=!0;else switch(c){case "string":case "number":e=!0;break;case "object":switch(a.$$typeof){case
|
|
16
|
-
"[object Object]"===d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return e}function
|
|
17
|
-
d)),g.push(a))}function
|
|
18
|
-
|
|
10
|
+
throw a;}}function q(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,g=0;g<b;g++)d+="&args[]="+encodeURIComponent(arguments[g+1]);N(!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 t(a,b,d){this.props=a;this.context=b;this.refs=ba;this.updater=d||ca}function da(){}function O(a,b,d){this.props=a;this.context=b;this.refs=ba;this.updater=d||
|
|
11
|
+
ca}function u(){if(!x){var a=c.expirationTime;C?P():C=!0;D(ta,a)}}function Q(){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 g=f,p=E;f=a;E=b;try{var n=d()}finally{f=g,E=p}if("function"===typeof n)if(n={callback:n,priorityLevel:a,expirationTime:b,next:null,previous:null},null===c)c=n.next=n.previous=n;else{d=null;a=c;do{if(a.expirationTime>=b){d=a;break}a=a.next}while(a!==c);null===d?d=c:d===
|
|
12
|
+
c&&(c=n,u());b=d.previous;b.next=d.previous=n;n.next=d;n.previous=b}}function F(){if(-1===k&&null!==c&&1===c.priorityLevel){x=!0;try{do Q();while(null!==c&&1===c.priorityLevel)}finally{x=!1,null!==c?u():C=!1}}}function ta(a){x=!0;var b=G;G=a;try{if(a)for(;null!==c;){var d=l();if(c.expirationTime<=d){do Q();while(null!==c&&c.expirationTime<=d)}else break}else if(null!==c){do Q();while(null!==c&&!H())}}finally{x=!1,G=b,null!==c?u():C=!1,F()}}function ea(a,b,d){var g=void 0,p={},c=null,e=null;if(null!=
|
|
13
|
+
b)for(g in void 0!==b.ref&&(e=b.ref),void 0!==b.key&&(c=""+b.key),b)fa.call(b,g)&&!ha.hasOwnProperty(g)&&(p[g]=b[g]);var h=arguments.length-2;if(1===h)p.children=d;else if(1<h){for(var f=Array(h),k=0;k<h;k++)f[k]=arguments[k+2];p.children=f}if(a&&a.defaultProps)for(g in h=a.defaultProps,h)void 0===p[g]&&(p[g]=h[g]);return{$$typeof:y,type:a,key:c,ref:e,props:p,_owner:R.current}}function ua(a,b){return{$$typeof:y,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function S(a){return"object"===
|
|
14
|
+
typeof a&&null!==a&&a.$$typeof===y}function va(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function ia(a,b,d,g){if(I.length){var c=I.pop();c.result=a;c.keyPrefix=b;c.func=d;c.context=g;c.count=0;return c}return{result:a,keyPrefix:b,func:d,context:g,count:0}}function ja(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>I.length&&I.push(a)}function T(a,b,d,g){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 y:case wa:e=!0}}if(e)return d(g,a,""===b?"."+U(a,0):b),1;e=0;b=""===b?".":b+":";if(Array.isArray(a))for(var f=0;f<a.length;f++){c=a[f];var h=b+U(c,f);e+=T(c,h,d,g)}else if(null===a||"object"!==typeof a?h=null:(h=ka&&a[ka]||a["@@iterator"],h="function"===typeof h?h:null),"function"===typeof h)for(a=h.call(a),f=0;!(c=a.next()).done;)c=c.value,h=b+U(c,f++),e+=T(c,h,d,g);else"object"===c&&(d=""+a,q("31",
|
|
16
|
+
"[object Object]"===d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return e}function V(a,b,d){return null==a?0:T(a,"",b,d)}function U(a,b){return"object"===typeof a&&null!==a&&null!=a.key?va(a.key):b.toString(36)}function xa(a,b,d){a.func.call(a.context,b,a.count++)}function ya(a,b,d){var g=a.result,c=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?W(a,g,d,function(a){return a}):null!=a&&(S(a)&&(a=ua(a,c+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(la,"$&/")+"/")+
|
|
17
|
+
d)),g.push(a))}function W(a,b,d,g,c){var e="";null!=d&&(e=(""+d).replace(la,"$&/")+"/");b=ia(b,e,g,c);V(a,ya,b);ja(b)}function m(){var a=ma.current;null===a?q("307"):void 0;return a}var e="function"===typeof Symbol&&Symbol.for,y=e?Symbol.for("react.element"):60103,wa=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,X=e?Symbol.for("react.strict_mode"):60108,za=e?Symbol.for("react.profiler"):60114,Aa=e?Symbol.for("react.provider"):60109,Ba=e?Symbol.for("react.context"):60110,
|
|
18
|
+
Ca=e?Symbol.for("react.concurrent_mode"):60111,Da=e?Symbol.for("react.forward_ref"):60112,Ea=e?Symbol.for("react.suspense"):60113,Fa=e?Symbol.for("react.memo"):60115,Ga=e?Symbol.for("react.lazy"):60116,ka="function"===typeof Symbol&&Symbol.iterator,na=Object.getOwnPropertySymbols,Ha=Object.prototype.hasOwnProperty,Ia=Object.prototype.propertyIsEnumerable,J=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=
|
|
19
19
|
0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var d={};"abcdefghijklmnopqrst".split("").forEach(function(a){d[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},d)).join("")?!1:!0}catch(g){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 f=Object(arguments[e]);
|
|
20
|
-
for(var k in f)Ha.call(f,k)&&(d[k]=f[k]);if(
|
|
21
|
-
a,"forceUpdate")};da.prototype=
|
|
22
|
-
a(l())},100)};if("object"===typeof performance&&"function"===typeof performance.now){var Ma=performance;var l=function(){return Ma.now()}}else l=function(){return Ja.now()};e=null;"undefined"!==typeof window?e=window:"undefined"!==typeof global&&(e=global);if(e&&e._schedMock){e=e._schedMock;var
|
|
23
|
-
0,a):(
|
|
24
|
-
M=33,
|
|
25
|
-
0,ma={current:null},
|
|
26
|
-
else switch(
|
|
27
|
-
3}var d=
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:Fa,type:a,compare:void 0===b?null:b}},
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
function(a){
|
|
20
|
+
for(var k in f)Ha.call(f,k)&&(d[k]=f[k]);if(na){c=na(f);for(var h=0;h<c.length;h++)Ia.call(f,c[h])&&(d[c[h]]=f[c[h]])}}return d},ca={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,d){},enqueueReplaceState:function(a,b,d,c){},enqueueSetState:function(a,b,d,c){}},ba={};t.prototype.isReactComponent={};t.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?q("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};t.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,
|
|
21
|
+
a,"forceUpdate")};da.prototype=t.prototype;e=O.prototype=new da;e.constructor=O;J(e,t.prototype);e.isPureReactComponent=!0;var c=null,G=!1,f=3,k=-1,E=-1,x=!1,C=!1,Ja=Date,Ka="function"===typeof setTimeout?setTimeout:void 0,La="function"===typeof clearTimeout?clearTimeout:void 0,oa="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,pa="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0,qa,ra,Y=function(a){qa=oa(function(b){La(ra);a(b)});ra=Ka(function(){pa(qa);
|
|
22
|
+
a(l())},100)};if("object"===typeof performance&&"function"===typeof performance.now){var Ma=performance;var l=function(){return Ma.now()}}else l=function(){return Ja.now()};e=null;"undefined"!==typeof window?e=window:"undefined"!==typeof global&&(e=global);if(e&&e._schedMock){e=e._schedMock;var D=e[0];var P=e[1];var H=e[2];l=e[3]}else if("undefined"===typeof window||"function"!==typeof MessageChannel){var v=null,Na=function(a){if(null!==v)try{v(a)}finally{v=null}};D=function(a,b){null!==v?setTimeout(D,
|
|
23
|
+
0,a):(v=a,setTimeout(Na,0,!1))};P=function(){v=null};H=function(){return!1}}else{"undefined"!==typeof console&&("function"!==typeof oa&&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 pa&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var w=null,K=!1,z=-1,A=!1,Z=!1,L=0,
|
|
24
|
+
M=33,B=33;H=function(){return L<=l()};e=new MessageChannel;var sa=e.port2;e.port1.onmessage=function(a){K=!1;a=w;var b=z;w=null;z=-1;var d=l(),c=!1;if(0>=L-d)if(-1!==b&&b<=d)c=!0;else{A||(A=!0,Y(aa));w=a;z=b;return}if(null!==a){Z=!0;try{a(c)}finally{Z=!1}}};var aa=function(a){if(null!==w){Y(aa);var b=a-L+B;b<B&&M<B?(8>b&&(b=8),B=b<M?M:b):M=b;L=a+B;K||(K=!0,sa.postMessage(void 0))}else A=!1};D=function(a,b){w=a;z=b;Z||0>b?sa.postMessage(void 0):A||(A=!0,Y(aa))};P=function(){w=null;K=!1;z=-1}}var Oa=
|
|
25
|
+
0,ma={current:null},R={current:null};e={ReactCurrentDispatcher:ma,ReactCurrentOwner:R,assign:J};J(e,{Scheduler:{unstable_cancelCallback:function(a){var b=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!G&&(null!==c&&c.expirationTime<E||H())},unstable_now:l,unstable_scheduleCallback:function(a,b){var d=-1!==k?k:l();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=d+b.timeout;
|
|
26
|
+
else switch(f){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:f,expirationTime:b,next:null,previous:null};if(null===c)c=a.next=a.previous=a,u();else{d=null;var g=c;do{if(g.expirationTime>b){d=g;break}g=g.next}while(g!==c);null===d?d=c:d===c&&(c=a,u());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=
|
|
27
|
+
3}var d=f,c=k;f=a;k=l();try{return b()}finally{f=d,k=c,F()}},unstable_next:function(a){switch(f){case 1:case 2:case 3:var b=3;break;default:b=f}var d=f,c=k;f=b;k=l();try{return a()}finally{f=d,k=c,F()}},unstable_wrapCallback:function(a){var b=f;return function(){var d=f,c=k;f=b;k=l();try{return a.apply(this,arguments)}finally{f=d,k=c,F()}}},unstable_getFirstCallbackNode:function(){return c},unstable_pauseExecution:function(){},unstable_continueExecution:function(){null!==c&&u()},unstable_getCurrentPriorityLevel:function(){return f},
|
|
28
|
+
unstable_IdlePriority:5,unstable_ImmediatePriority:1,unstable_LowPriority:4,unstable_NormalPriority:3,unstable_UserBlockingPriority:2},SchedulerTracing:{__interactionsRef:null,__subscriberRef:null,unstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Oa},unstable_subscribe:function(a){},unstable_trace:function(a,b,d){return d()},unstable_unsubscribe:function(a){},unstable_wrap:function(a){return a}}});var fa=Object.prototype.hasOwnProperty,
|
|
29
|
+
ha={key:!0,ref:!0,__self:!0,__source:!0},la=/\/+/g,I=[];r={Children:{map:function(a,b,d){if(null==a)return a;var c=[];W(a,c,null,b,d);return c},forEach:function(a,b,d){if(null==a)return a;b=ia(null,null,b,d);V(a,xa,b);ja(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){S(a)?void 0:q("143");return a}},createRef:function(){return{current:null}},Component:t,PureComponent:O,createContext:function(a,
|
|
30
|
+
b){void 0===b&&(b=null);a={$$typeof:Ba,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:Aa,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Da,render:a}},lazy:function(a){return{$$typeof:Ga,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:Fa,type:a,compare:void 0===b?null:b}},useCallback:function(a,b){return m().useCallback(a,b)},useContext:function(a,b){return m().useContext(a,b)},
|
|
31
|
+
useEffect:function(a,b){return m().useEffect(a,b)},useImperativeHandle:function(a,b,d){return m().useImperativeHandle(a,b,d)},useDebugValue:function(a,b){},useLayoutEffect:function(a,b){return m().useLayoutEffect(a,b)},useMemo:function(a,b){return m().useMemo(a,b)},useReducer:function(a,b,d){return m().useReducer(a,b,d)},useRef:function(a){return m().useRef(a)},useState:function(a){return m().useState(a)},Fragment:r,StrictMode:X,Suspense:Ea,createElement:ea,cloneElement:function(a,b,d){null===a||
|
|
32
|
+
void 0===a?q("267",a):void 0;var c=void 0,e=J({},a.props),f=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=R.current);void 0!==b.key&&(f=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)fa.call(b,c)&&!ha.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 m=0;m<c;m++)l[m]=arguments[m+2];e.children=l}return{$$typeof:y,type:a.type,key:f,ref:k,props:e,_owner:h}},
|
|
33
|
+
createFactory:function(a){var b=ea.bind(null,a);b.type=a;return b},isValidElement:S,version:"16.8.3",unstable_ConcurrentMode:Ca,unstable_Profiler:za,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:e};r=(X={default:r},r)||X;return r.default||r});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.8.
|
|
1
|
+
/** @license React v16.8.3
|
|
2
2
|
* react.profiling.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,32 +6,32 @@
|
|
|
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(Q,r){"object"===typeof exports&&"undefined"!==typeof module?module.exports=r():"function"===typeof define&&define.amd?define(r):Q.React=r()})(this,function(){function Q(a,b,c,d,e,l,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,l,f,h],
|
|
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]);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. ",c)}function
|
|
11
|
-
c||fa}function
|
|
12
|
-
f:c===f&&(f=l,
|
|
13
|
-
(b=!0,c=e)}});if(b)throw c;}function
|
|
14
|
-
!0,d=l)}});if(c)throw d;}function
|
|
15
|
-
e[d]&&(e[d]=h[d]);return{$$typeof:
|
|
16
|
-
function ma(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>L.length&&L.push(a)}function
|
|
17
|
-
h=null:(h=na&&a[na]||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+
|
|
18
|
-
a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?
|
|
19
|
-
|
|
9
|
+
'use strict';(function(Q,r){"object"===typeof exports&&"undefined"!==typeof module?module.exports=r():"function"===typeof define&&define.amd?define(r):Q.React=r()})(this,function(){function Q(a,b,c,d,e,l,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,l,f,h],wa=0;a=Error(b.replace(/%s/g,function(){return g[wa++]}));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]);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. ",c)}function w(a,b,c){this.props=a;this.context=b;this.refs=ea;this.updater=c||fa}function ha(){}function R(a,b,c){this.props=a;this.context=b;this.refs=ea;this.updater=
|
|
11
|
+
c||fa}function x(){if(!A){var a=f.expirationTime;F?S():F=!0;G(xa,a)}}function T(){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=k,e=H;k=a;H=b;try{var l=c()}finally{k=d,H=e}if("function"===typeof l)if(l={callback:l,priorityLevel:a,expirationTime:b,next:null,previous:null},null===f)f=l.next=l.previous=l;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=l,x());b=c.previous;b.next=c.previous=l;l.next=c;l.previous=b}}function I(){if(-1===n&&null!==f&&1===f.priorityLevel){A=!0;try{do T();while(null!==f&&1===f.priorityLevel)}finally{A=!1,null!==f?x():F=!1}}}function xa(a){A=!0;var b=J;J=a;try{if(a)for(;null!==f;){var c=p();if(f.expirationTime<=c){do T();while(null!==f&&f.expirationTime<=c)}else break}else if(null!==f){do T();while(null!==f&&!K())}}finally{A=!1,J=b,null!==f?x():F=!1,I()}}function ya(a){var b=!1,c=null;q.forEach(function(d){try{d.onInteractionTraced(a)}catch(e){b||
|
|
13
|
+
(b=!0,c=e)}});if(b)throw c;}function za(a){var b=!1,c=null;q.forEach(function(d){try{d.onInteractionScheduledWorkCompleted(a)}catch(e){b||(b=!0,c=e)}});if(b)throw c;}function Aa(a,b){var c=!1,d=null;q.forEach(function(e){try{e.onWorkScheduled(a,b)}catch(l){c||(c=!0,d=l)}});if(c)throw d;}function Ba(a,b){var c=!1,d=null;q.forEach(function(e){try{e.onWorkStarted(a,b)}catch(l){c||(c=!0,d=l)}});if(c)throw d;}function Ca(a,b){var c=!1,d=null;q.forEach(function(e){try{e.onWorkStopped(a,b)}catch(l){c||(c=
|
|
14
|
+
!0,d=l)}});if(c)throw d;}function Da(a,b){var c=!1,d=null;q.forEach(function(e){try{e.onWorkCanceled(a,b)}catch(l){c||(c=!0,d=l)}});if(c)throw d;}function ia(a,b,c){var d=void 0,e={},l=null,f=null;if(null!=b)for(d in void 0!==b.ref&&(f=b.ref),void 0!==b.key&&(l=""+b.key),b)ja.call(b,d)&&!ka.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),k=0;k<h;k++)g[k]=arguments[k+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:B,type:a,key:l,ref:f,props:e,_owner:U.current}}function Ea(a,b){return{$$typeof:B,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function V(a){return"object"===typeof a&&null!==a&&a.$$typeof===B}function Fa(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function la(a,b,c,d){if(L.length){var e=L.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 ma(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>L.length&&L.push(a)}function W(a,b,c,d){var e=typeof a;if("undefined"===e||"boolean"===e)a=null;var l=!1;if(null===a)l=!0;else switch(e){case "string":case "number":l=!0;break;case "object":switch(a.$$typeof){case B:case Ga:l=!0}}if(l)return c(d,a,""===b?"."+X(a,0):b),1;l=0;b=""===b?".":b+":";if(Array.isArray(a))for(var f=0;f<a.length;f++){e=a[f];var h=b+X(e,f);l+=W(e,h,c,d)}else if(null===a||"object"!==typeof a?
|
|
17
|
+
h=null:(h=na&&a[na]||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+X(e,f++),l+=W(e,h,c,d);else"object"===e&&(c=""+a,r("31","[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return l}function Y(a,b,c){return null==a?0:W(a,"",b,c)}function X(a,b){return"object"===typeof a&&null!==a&&null!=a.key?Fa(a.key):b.toString(36)}function Ha(a,b,c){a.func.call(a.context,b,a.count++)}function Ia(a,b,c){var d=
|
|
18
|
+
a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?Z(a,d,c,function(a){return a}):null!=a&&(V(a)&&(a=Ea(a,e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(oa,"$&/")+"/")+c)),d.push(a))}function Z(a,b,c,d,e){var f="";null!=c&&(f=(""+c).replace(oa,"$&/")+"/");b=la(b,f,d,e);Y(a,Ia,b);ma(b)}function t(){var a=pa.current;null===a?r("307"):void 0;return a}var g="function"===typeof Symbol&&Symbol.for,B=g?Symbol.for("react.element"):60103,Ga=g?Symbol.for("react.portal"):60106,v=
|
|
19
|
+
g?Symbol.for("react.fragment"):60107,aa=g?Symbol.for("react.strict_mode"):60108,Ja=g?Symbol.for("react.profiler"):60114,Ka=g?Symbol.for("react.provider"):60109,La=g?Symbol.for("react.context"):60110,Ma=g?Symbol.for("react.concurrent_mode"):60111,Na=g?Symbol.for("react.forward_ref"):60112,Oa=g?Symbol.for("react.suspense"):60113,Pa=g?Symbol.for("react.memo"):60115,Qa=g?Symbol.for("react.lazy"):60116,na="function"===typeof Symbol&&Symbol.iterator,qa=Object.getOwnPropertySymbols,Ra=Object.prototype.hasOwnProperty,
|
|
20
20
|
Sa=Object.prototype.propertyIsEnumerable,M=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;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:
|
|
21
|
-
function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var d,e=1;e<arguments.length;e++){var f=Object(arguments[e]);for(var g in f)Ra.call(f,g)&&(c[g]=f[g]);if(
|
|
22
|
-
{};
|
|
23
|
-
void 0,
|
|
24
|
-
g._schedMock;var
|
|
25
|
-
"function"!==typeof
|
|
26
|
-
|
|
27
|
-
(f=b);var c=a.previous;c.next=b;b.previous=c}a.next=a.previous=null}},unstable_shouldYield:function(){return!J&&(null!==f&&f.expirationTime<
|
|
28
|
-
f)f=a.next=a.previous=a,
|
|
29
|
-
|
|
30
|
-
{onInteractionScheduledWorkCompleted:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
var d=[];
|
|
34
|
-
|
|
35
|
-
void 0
|
|
36
|
-
|
|
37
|
-
|
|
21
|
+
function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var d,e=1;e<arguments.length;e++){var f=Object(arguments[e]);for(var g in f)Ra.call(f,g)&&(c[g]=f[g]);if(qa){d=qa(f);for(var h=0;h<d.length;h++)Sa.call(f,d[h])&&(c[d[h]]=f[d[h]])}}return c},fa={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},ea={};w.prototype.isReactComponent=
|
|
22
|
+
{};w.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?r("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};w.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};ha.prototype=w.prototype;g=R.prototype=new ha;g.constructor=R;M(g,w.prototype);g.isPureReactComponent=!0;var f=null,J=!1,k=3,n=-1,H=-1,A=!1,F=!1,Ta=Date,Ua="function"===typeof setTimeout?setTimeout:void 0,Va="function"===typeof clearTimeout?clearTimeout:
|
|
23
|
+
void 0,ra="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,sa="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0,ta,ua,ba=function(a){ta=ra(function(b){Va(ua);a(b)});ua=Ua(function(){sa(ta);a(p())},100)};if("object"===typeof performance&&"function"===typeof performance.now){var Wa=performance;var p=function(){return Wa.now()}}else p=function(){return Ta.now()};g=null;"undefined"!==typeof window?g=window:"undefined"!==typeof global&&(g=global);if(g&&g._schedMock){g=
|
|
24
|
+
g._schedMock;var G=g[0];var S=g[1];var K=g[2];p=g[3]}else if("undefined"===typeof window||"function"!==typeof MessageChannel){var y=null,Xa=function(a){if(null!==y)try{y(a)}finally{y=null}};G=function(a,b){null!==y?setTimeout(G,0,a):(y=a,setTimeout(Xa,0,!1))};S=function(){y=null};K=function(){return!1}}else{"undefined"!==typeof console&&("function"!==typeof ra&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),
|
|
25
|
+
"function"!==typeof sa&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var z=null,N=!1,C=-1,D=!1,ca=!1,O=0,P=33,E=33;K=function(){return O<=p()};g=new MessageChannel;var va=g.port2;g.port1.onmessage=function(a){N=!1;a=z;var b=C;z=null;C=-1;var c=p(),d=!1;if(0>=O-c)if(-1!==b&&b<=c)d=!0;else{D||(D=!0,ba(da));z=a;C=b;return}if(null!==a){ca=!0;try{a(d)}finally{ca=!1}}};var da=function(a){if(null!==
|
|
26
|
+
z){ba(da);var b=a-O+E;b<E&&P<E?(8>b&&(b=8),E=b<P?P:b):P=b;O=a+E;N||(N=!0,va.postMessage(void 0))}else D=!1};G=function(a,b){z=a;C=b;ca||0>b?va.postMessage(void 0):D||(D=!0,ba(da))};S=function(){z=null;N=!1;C=-1}}var Ya=0,Za=0,m=null,u=null;m={current:new Set};u={current:null};var q=null;q=new Set;var pa={current:null},U={current:null};g={ReactCurrentDispatcher:pa,ReactCurrentOwner:U,assign:M};M(g,{Scheduler:{unstable_cancelCallback:function(a){var b=a.next;if(null!==b){if(b===a)f=null;else{a===f&&
|
|
27
|
+
(f=b);var c=a.previous;c.next=b;b.previous=c}a.next=a.previous=null}},unstable_shouldYield:function(){return!J&&(null!==f&&f.expirationTime<H||K())},unstable_now:p,unstable_scheduleCallback:function(a,b){var c=-1!==n?n:p();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=c+b.timeout;else switch(k){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:k,expirationTime:b,next:null,previous:null};if(null===
|
|
28
|
+
f)f=a.next=a.previous=a,x();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,x());b=c.previous;b.next=c.previous=a;a.next=c;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 c=k,d=n;k=a;n=p();try{return b()}finally{k=c,n=d,I()}},unstable_next:function(a){switch(k){case 1:case 2:case 3:var b=3;break;default:b=k}var c=k,d=n;k=b;n=p();try{return a()}finally{k=c,n=d,I()}},
|
|
29
|
+
unstable_wrapCallback:function(a){var b=k;return function(){var c=k,d=n;k=b;n=p();try{return a.apply(this,arguments)}finally{k=c,n=d,I()}}},unstable_getFirstCallbackNode:function(){return f},unstable_pauseExecution:function(){},unstable_continueExecution:function(){null!==f&&x()},unstable_getCurrentPriorityLevel:function(){return k},unstable_IdlePriority:5,unstable_ImmediatePriority:1,unstable_LowPriority:4,unstable_NormalPriority:3,unstable_UserBlockingPriority:2},SchedulerTracing:{__interactionsRef:m,
|
|
30
|
+
__subscriberRef:u,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++Za},unstable_subscribe:function(a){q.add(a);1===q.size&&(u.current={onInteractionScheduledWorkCompleted:za,onInteractionTraced:ya,onWorkCanceled:Da,onWorkScheduled:Aa,onWorkStarted:Ba,onWorkStopped:Ca})},unstable_trace:function(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:
|
|
31
|
+
0,e={__count:1,id:Ya++,name:a,timestamp:b},f=m.current,g=new Set(f);g.add(e);m.current=g;var h=u.current,k=void 0;try{if(null!==h)h.onInteractionTraced(e)}finally{try{if(null!==h)h.onWorkStarted(g,d)}finally{try{k=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 k},unstable_unsubscribe:function(a){q.delete(a);0===q.size&&(u.current=null)},unstable_wrap:function(a){function b(){var b=m.current;
|
|
32
|
+
m.current=d;e=u.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=u.current;if(null!==e)e.onWorkScheduled(d,c);d.forEach(function(a){a.__count++});var f=!1;b.cancel=function(){e=u.current;
|
|
33
|
+
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 ja=Object.prototype.hasOwnProperty,ka={key:!0,ref:!0,__self:!0,__source:!0},oa=/\/+/g,L=[];v={Children:{map:function(a,b,c){if(null==a)return a;var d=[];Z(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=la(null,null,b,c);Y(a,Ha,b);ma(b)},count:function(a){return Y(a,function(){return null},null)},toArray:function(a){var b=
|
|
34
|
+
[];Z(a,b,null,function(a){return a});return b},only:function(a){V(a)?void 0:r("143");return a}},createRef:function(){return{current:null}},Component:w,PureComponent:R,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:La,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:Ka,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Na,render:a}},lazy:function(a){return{$$typeof:Qa,_ctor:a,_status:-1,_result:null}},
|
|
35
|
+
memo:function(a,b){return{$$typeof:Pa,type:a,compare:void 0===b?null:b}},useCallback:function(a,b){return t().useCallback(a,b)},useContext:function(a,b){return t().useContext(a,b)},useEffect:function(a,b){return t().useEffect(a,b)},useImperativeHandle:function(a,b,c){return t().useImperativeHandle(a,b,c)},useDebugValue:function(a,b){},useLayoutEffect:function(a,b){return t().useLayoutEffect(a,b)},useMemo:function(a,b){return t().useMemo(a,b)},useReducer:function(a,b,c){return t().useReducer(a,b,c)},
|
|
36
|
+
useRef:function(a){return t().useRef(a)},useState:function(a){return t().useState(a)},Fragment:v,StrictMode:aa,Suspense:Oa,createElement:ia,cloneElement:function(a,b,c){null===a||void 0===a?r("267",a):void 0;var d=void 0,e=M({},a.props),f=a.key,g=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,h=U.current);void 0!==b.key&&(f=""+b.key);var k=void 0;a.type&&a.type.defaultProps&&(k=a.type.defaultProps);for(d in b)ja.call(b,d)&&!ka.hasOwnProperty(d)&&(e[d]=void 0===b[d]&&void 0!==k?k[d]:b[d])}d=
|
|
37
|
+
arguments.length-2;if(1===d)e.children=c;else if(1<d){k=Array(d);for(var m=0;m<d;m++)k[m]=arguments[m+2];e.children=k}return{$$typeof:B,type:a.type,key:f,ref:g,props:e,_owner:h}},createFactory:function(a){var b=ia.bind(null,a);b.type=a;return b},isValidElement:V,version:"16.8.3",unstable_ConcurrentMode:Ma,unstable_Profiler:Ja,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:g};v=(aa={default:v},v)||aa;return v.default||v});
|