react 16.8.0-alpha.1 → 16.8.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 +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 +64 -65
- package/umd/react.production.min.js +25 -26
- package/umd/react.profiling.min.js +30 -30
package/build-info.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"branch": "
|
|
3
|
-
"buildNumber": "
|
|
4
|
-
"checksum": "
|
|
5
|
-
"commit": "
|
|
2
|
+
"branch": "master",
|
|
3
|
+
"buildNumber": "13364",
|
|
4
|
+
"checksum": "ae8143f",
|
|
5
|
+
"commit": "d1326f466",
|
|
6
6
|
"environment": "ci",
|
|
7
|
-
"reactVersion": "16.7.0-canary-
|
|
7
|
+
"reactVersion": "16.7.0-canary-d1326f466"
|
|
8
8
|
}
|
package/cjs/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.8.0
|
|
1
|
+
/** @license React v16.8.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.8.0
|
|
23
|
+
var ReactVersion = '16.8.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.
|
|
@@ -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.0
|
|
1
|
+
/** @license React v16.8.0
|
|
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.0",
|
|
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.0
|
|
7
|
+
"version": "16.8.0",
|
|
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.0
|
|
32
|
+
"scheduler": "^0.13.0"
|
|
29
33
|
},
|
|
30
34
|
"browserify": {
|
|
31
35
|
"transform": [
|
package/umd/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.8.0
|
|
1
|
+
/** @license React v16.8.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.8.0
|
|
20
|
+
var ReactVersion = '16.8.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.
|
|
@@ -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();
|
|
@@ -1171,6 +1131,45 @@ typeof MessageChannel !== 'function') {
|
|
|
1171
1131
|
};
|
|
1172
1132
|
}
|
|
1173
1133
|
|
|
1134
|
+
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
// In some cases, StrictMode should also double-render lifecycles.
|
|
1138
|
+
// This can be confusing for tests though,
|
|
1139
|
+
// And it can be bad for performance in production.
|
|
1140
|
+
// This feature flag can be used to control the behavior:
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
// To preserve the "Pause on caught exceptions" behavior of the debugger, we
|
|
1144
|
+
// replay the begin phase of a failed component inside invokeGuardedCallback.
|
|
1145
|
+
|
|
1146
|
+
|
|
1147
|
+
// Warn about deprecated, async-unsafe lifecycles; relates to RFC #6:
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
// Gather advanced timing metrics for Profiler subtrees.
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
// Trace which interactions trigger each commit.
|
|
1154
|
+
var enableSchedulerTracing = true;
|
|
1155
|
+
|
|
1156
|
+
// Only used in www builds.
|
|
1157
|
+
// TODO: true? Here it might just be false.
|
|
1158
|
+
|
|
1159
|
+
// Only used in www builds.
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
// Only used in www builds.
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
// React Fire: prevent the value and checked attributes from syncing
|
|
1166
|
+
// with their related DOM properties
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
|
1170
|
+
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
|
1171
|
+
var enableStableConcurrentModeAPIs = false;
|
|
1172
|
+
|
|
1174
1173
|
var DEFAULT_THREAD_ID = 0;
|
|
1175
1174
|
|
|
1176
1175
|
// Counters used to generate unique IDs.
|
|
@@ -2585,13 +2584,15 @@ function memo(type, compare) {
|
|
|
2585
2584
|
|
|
2586
2585
|
function resolveDispatcher() {
|
|
2587
2586
|
var dispatcher = ReactCurrentDispatcher.current;
|
|
2588
|
-
!(dispatcher !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component.') : void 0;
|
|
2587
|
+
!(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
2588
|
return dispatcher;
|
|
2590
2589
|
}
|
|
2591
2590
|
|
|
2592
|
-
function useContext(Context,
|
|
2591
|
+
function useContext(Context, unstable_observedBits) {
|
|
2593
2592
|
var dispatcher = resolveDispatcher();
|
|
2594
2593
|
{
|
|
2594
|
+
!(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;
|
|
2595
|
+
|
|
2595
2596
|
// TODO: add a more generic warning for invalid values.
|
|
2596
2597
|
if (Context._context !== undefined) {
|
|
2597
2598
|
var realContext = Context._context;
|
|
@@ -2604,7 +2605,7 @@ function useContext(Context, observedBits) {
|
|
|
2604
2605
|
}
|
|
2605
2606
|
}
|
|
2606
2607
|
}
|
|
2607
|
-
return dispatcher.useContext(Context,
|
|
2608
|
+
return dispatcher.useContext(Context, unstable_observedBits);
|
|
2608
2609
|
}
|
|
2609
2610
|
|
|
2610
2611
|
function useState(initialState) {
|
|
@@ -2612,9 +2613,9 @@ function useState(initialState) {
|
|
|
2612
2613
|
return dispatcher.useState(initialState);
|
|
2613
2614
|
}
|
|
2614
2615
|
|
|
2615
|
-
function useReducer(reducer,
|
|
2616
|
+
function useReducer(reducer, initialArg, init) {
|
|
2616
2617
|
var dispatcher = resolveDispatcher();
|
|
2617
|
-
return dispatcher.useReducer(reducer,
|
|
2618
|
+
return dispatcher.useReducer(reducer, initialArg, init);
|
|
2618
2619
|
}
|
|
2619
2620
|
|
|
2620
2621
|
function useRef(initialValue) {
|
|
@@ -3060,6 +3061,17 @@ var React = {
|
|
|
3060
3061
|
lazy: lazy,
|
|
3061
3062
|
memo: memo,
|
|
3062
3063
|
|
|
3064
|
+
useCallback: useCallback,
|
|
3065
|
+
useContext: useContext,
|
|
3066
|
+
useEffect: useEffect,
|
|
3067
|
+
useImperativeHandle: useImperativeHandle,
|
|
3068
|
+
useDebugValue: useDebugValue,
|
|
3069
|
+
useLayoutEffect: useLayoutEffect,
|
|
3070
|
+
useMemo: useMemo,
|
|
3071
|
+
useReducer: useReducer,
|
|
3072
|
+
useRef: useRef,
|
|
3073
|
+
useState: useState,
|
|
3074
|
+
|
|
3063
3075
|
Fragment: REACT_FRAGMENT_TYPE,
|
|
3064
3076
|
StrictMode: REACT_STRICT_MODE_TYPE,
|
|
3065
3077
|
Suspense: REACT_SUSPENSE_TYPE,
|
|
@@ -3089,19 +3101,6 @@ if (enableStableConcurrentModeAPIs) {
|
|
|
3089
3101
|
React.unstable_Profiler = undefined;
|
|
3090
3102
|
}
|
|
3091
3103
|
|
|
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
3104
|
|
|
3106
3105
|
|
|
3107
3106
|
var React$2 = Object.freeze({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.8.0
|
|
1
|
+
/** @license React v16.8.0
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,28 +6,27 @@
|
|
|
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
|
-
throw a;}}function q(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,
|
|
11
|
-
ca}function
|
|
12
|
-
c&&(c=n,
|
|
13
|
-
b)for(
|
|
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)),
|
|
18
|
-
|
|
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(
|
|
20
|
-
for(var k in
|
|
21
|
-
a,"forceUpdate")};da.prototype=
|
|
22
|
-
a(
|
|
23
|
-
0,a):(
|
|
24
|
-
|
|
25
|
-
0,ma={current:null},
|
|
26
|
-
else switch(
|
|
27
|
-
3}var d=
|
|
28
|
-
unstable_getThreadID:function(){return++
|
|
29
|
-
null)},toArray:function(a){var b=[];
|
|
30
|
-
_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
function(a){return r().useState(a)};t=(t={default:f},f)||t;return t.default||t});
|
|
9
|
+
'use strict';(function(M,q){"object"===typeof exports&&"undefined"!==typeof module?module.exports=q():"function"===typeof define&&define.amd?define(q):M.React=q()})(this,function(){function M(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 n=[d,f,p,c,e,h],ta=0;a=Error(b.replace(/%s/g,function(){return n[ta++]}));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]);M(!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 N(a,b,d){this.props=a;this.context=b;this.refs=ba;this.updater=
|
|
11
|
+
d||ca}function u(){if(!x){var a=c.expirationTime;C?O():C=!0;D(ua,a)}}function P(){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=E;g=a;E=b;try{var n=d()}finally{g=f,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=
|
|
12
|
+
c:d===c&&(c=n,u());b=d.previous;b.next=d.previous=n;n.next=d;n.previous=b}}function Q(){if(-1===l&&null!==c&&1===c.priorityLevel){x=!0;try{do P();while(null!==c&&1===c.priorityLevel)}finally{x=!1,null!==c?u():C=!1}}}function ua(a){x=!0;var b=F;F=a;try{if(a)for(;null!==c;){var d=k();if(c.expirationTime<=d){do P();while(null!==c&&c.expirationTime<=d)}else break}else if(null!==c){do P();while(null!==c&&!G())}}finally{x=!1,F=b,null!==c?u():C=!1,Q()}}function ea(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)fa.call(b,f)&&!ha.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:y,type:a,key:c,ref:e,props:p,_owner:R.current}}function va(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 wa(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function ia(a,b,d,f){if(H.length){var c=H.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 ja(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>H.length&&H.push(a)}function T(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 y:case xa:e=!0}}if(e)return d(f,a,""===b?"."+U(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+U(c,g);e+=T(c,h,d,f)}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),g=0;!(c=a.next()).done;)c=c.value,h=b+U(c,g++),e+=T(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 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?wa(a.key):b.toString(36)}function ya(a,b,d){a.func.call(a.context,b,a.count++)}function za(a,b,d){var f=a.result,c=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?W(a,f,d,function(a){return a}):null!=a&&(S(a)&&(a=va(a,c+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(la,"$&/")+"/")+
|
|
17
|
+
d)),f.push(a))}function W(a,b,d,f,c){var e="";null!=d&&(e=(""+d).replace(la,"$&/")+"/");b=ia(b,e,f,c);V(a,za,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,xa=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,X=e?Symbol.for("react.strict_mode"):60108,Aa=e?Symbol.for("react.profiler"):60114,Ba=e?Symbol.for("react.provider"):60109,Ca=e?Symbol.for("react.context"):60110,
|
|
18
|
+
Da=e?Symbol.for("react.concurrent_mode"):60111,Ea=e?Symbol.for("react.forward_ref"):60112,Fa=e?Symbol.for("react.suspense"):60113,Ga=e?Symbol.for("react.memo"):60115,Ha=e?Symbol.for("react.lazy"):60116,ka="function"===typeof Symbol&&Symbol.iterator,na=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,I=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
|
+
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(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]);
|
|
20
|
+
for(var k in g)Ia.call(g,k)&&(d[k]=g[k]);if(na){c=na(g);for(var h=0;h<c.length;h++)Ja.call(g,c[h])&&(d[c[h]]=g[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=N.prototype=new da;e.constructor=N;I(e,t.prototype);e.isPureReactComponent=!0;var c=null,F=!1,g=3,l=-1,E=-1,x=!1,C=!1,Ka=Date,La="function"===typeof setTimeout?setTimeout:void 0,Ma="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){Ma(ra);a(b)});ra=La(function(){pa(qa);
|
|
22
|
+
a(k())},100)};if("object"===typeof performance&&"function"===typeof performance.now){var Na=performance;var k=function(){return Na.now()}}else k=function(){return Ka.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 O=e[1];var G=e[2];k=e[3]}else if("undefined"===typeof window||"function"!==typeof MessageChannel){var v=null,Oa=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(Oa,0,!1))};O=function(){v=null};G=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,J=!1,z=-1,A=!1,Z=!1,K=0,
|
|
24
|
+
L=33,B=33;G=function(){return K<=k()};e=new MessageChannel;var sa=e.port2;e.port1.onmessage=function(a){J=!1;a=w;var b=z;w=null;z=-1;var d=k(),c=!1;if(0>=K-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-K+B;b<B&&L<B?(8>b&&(b=8),B=b<L?L:b):L=b;K=a+B;J||(J=!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))};O=function(){w=null;J=!1;z=-1}}var Pa=
|
|
25
|
+
0,ma={current:null},R={current:null};e={ReactCurrentDispatcher:ma,ReactCurrentOwner:R,assign:I};I(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!F&&(null!==c&&c.expirationTime<E||G())},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;
|
|
26
|
+
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,next:null,previous:null};if(null===c)c=a.next=a.previous=a,u();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,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=g,c=l;g=a;l=k();try{return b()}finally{g=d,l=c,Q()}},unstable_wrapCallback:function(a){var b=g;return function(){var d=g,c=l;g=b;l=k();try{return a.apply(this,arguments)}finally{g=d,l=c,Q()}}},unstable_getFirstCallbackNode:function(){return c},unstable_pauseExecution:function(){},unstable_continueExecution:function(){null!==c&&u()},unstable_getCurrentPriorityLevel:function(){return g}},SchedulerTracing:{__interactionsRef:null,__subscriberRef:null,unstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},
|
|
28
|
+
unstable_getThreadID:function(){return++Pa},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,ha={key:!0,ref:!0,__self:!0,__source:!0},la=/\/+/g,H=[];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,ya,b);ja(b)},count:function(a){return V(a,function(){return null},
|
|
29
|
+
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:N,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:Ca,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:Ba,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Ea,render:a}},lazy:function(a){return{$$typeof:Ha,
|
|
30
|
+
_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:Ga,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)},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,
|
|
31
|
+
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:Fa,createElement:ea,cloneElement:function(a,b,d){null===a||void 0===a?q("267",a):void 0;var c=void 0,e=I({},a.props),g=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&&(g=""+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===
|
|
32
|
+
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:g,ref:k,props:e,_owner:h}},createFactory:function(a){var b=ea.bind(null,a);b.type=a;return b},isValidElement:S,version:"16.8.0",unstable_ConcurrentMode:Da,unstable_Profiler:Aa,__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.0
|
|
1
|
+
/** @license React v16.8.0
|
|
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(
|
|
10
|
-
1;throw a;}}function
|
|
11
|
-
c||fa}function
|
|
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:
|
|
16
|
-
function ma(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>
|
|
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
|
-
|
|
20
|
-
Sa=Object.prototype.propertyIsEnumerable,
|
|
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!
|
|
28
|
-
f)f=a.next=a.previous=a,
|
|
29
|
-
unstable_getFirstCallbackNode:function(){return f},unstable_pauseExecution:function(){},unstable_continueExecution:function(){null!==f&&
|
|
30
|
-
{onInteractionScheduledWorkCompleted:
|
|
31
|
-
d)}finally{if(e.__count--,null!==h&&0===e.__count)h.onInteractionScheduledWorkCompleted(e)}}}}return
|
|
32
|
-
var c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,d=
|
|
33
|
-
var d=[];
|
|
34
|
-
Provider:null,Consumer:null};a.Provider={$$typeof:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
9
|
+
'use strict';(function(P,q){"object"===typeof exports&&"undefined"!==typeof module?module.exports=q():"function"===typeof define&&define.amd?define(q):P.React=q()})(this,function(){function P(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],wa=0;a=Error(b.replace(/%s/g,function(){return g[wa++]}));a.name="Invariant Violation"}a.framesToPop=
|
|
10
|
+
1;throw a;}}function q(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]);P(!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 Q(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?R():F=!0;G(xa,a)}}function S(){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=H;l=a;H=b;try{var k=c()}finally{l=d,H=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,x());b=c.previous;b.next=c.previous=k;k.next=c;k.previous=b}}function T(){if(-1===r&&null!==f&&1===f.priorityLevel){A=!0;try{do S();while(null!==f&&1===f.priorityLevel)}finally{A=!1,null!==f?x():F=!1}}}function xa(a){A=!0;var b=I;I=a;try{if(a)for(;null!==f;){var c=p();if(f.expirationTime<=c){do S();while(null!==f&&f.expirationTime<=c)}else break}else if(null!==f){do S();while(null!==f&&!J())}}finally{A=!1,I=b,null!==f?x():F=!1,T()}}function ya(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 za(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 Aa(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 Ba(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 Ca(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 Da(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 ia(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)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),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:B,type:a,key:k,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(K.length){var e=K.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>K.length&&K.push(a)}function W(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 B:case Ga:k=!0}}if(k)return c(d,a,""===b?"."+X(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+X(e,f);k+=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++),k+=W(e,h,c,d);else"object"===e&&(c=""+a,q("31","[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return k}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?q("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
|
+
Sa=Object.prototype.propertyIsEnumerable,L=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(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?q("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=Q.prototype=new ha;g.constructor=Q;L(g,w.prototype);g.isPureReactComponent=!0;var f=null,I=!1,l=3,r=-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 R=g[1];var J=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))};R=function(){y=null};J=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,M=!1,C=-1,D=!1,ca=!1,N=0,O=33,E=33;J=function(){return N<=p()};g=new MessageChannel;var va=g.port2;g.port1.onmessage=function(a){M=!1;a=z;var b=C;z=null;C=-1;var c=p(),d=!1;if(0>=N-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-N+E;b<E&&O<E?(8>b&&(b=8),E=b<O?O:b):O=b;N=a+E;M||(M=!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))};R=function(){z=null;M=!1;C=-1}}var Ya=0,Za=0,m=null,u=null;m={current:new Set};u={current:null};var n=null;n=new Set;var pa={current:null},U={current:null};g={ReactCurrentDispatcher:pa,ReactCurrentOwner:U,assign:L};L(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!I&&(null!==f&&f.expirationTime<H||J())},unstable_now:p,unstable_scheduleCallback:function(a,b){var c=-1!==r?r: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===
|
|
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=l,d=r;l=a;r=p();try{return b()}finally{l=c,r=d,T()}},unstable_wrapCallback:function(a){var b=l;return function(){var c=l,d=r;l=b;r=p();try{return a.apply(this,arguments)}finally{l=c,r=d,T()}}},
|
|
29
|
+
unstable_getFirstCallbackNode:function(){return f},unstable_pauseExecution:function(){},unstable_continueExecution:function(){null!==f&&x()},unstable_getCurrentPriorityLevel:function(){return l}},SchedulerTracing:{__interactionsRef:m,__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){n.add(a);1===n.size&&(u.current=
|
|
30
|
+
{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]: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,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,
|
|
31
|
+
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&&(u.current=null)},unstable_wrap:function(a){function b(){var b=m.current;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)}))}}
|
|
32
|
+
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;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,K=[];v={Children:{map:function(a,b,c){if(null==a)return a;
|
|
33
|
+
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=[];Z(a,b,null,function(a){return a});return b},only:function(a){V(a)?void 0:q("143");return a}},createRef:function(){return{current:null}},Component:w,PureComponent:Q,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:La,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,
|
|
34
|
+
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}},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,
|
|
35
|
+
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)},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?q("267",a):void 0;var d=void 0,e=L({},a.props),f=a.key,g=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,
|
|
36
|
+
h=U.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)ja.call(b,d)&&!ka.hasOwnProperty(d)&&(e[d]=void 0===b[d]&&void 0!==l?l[d]:b[d])}d=arguments.length-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: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.0",unstable_ConcurrentMode:Ma,
|
|
37
|
+
unstable_Profiler:Ja,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:g};v=(aa={default:v},v)||aa;return v.default||v});
|