react 16.10.2 → 16.11.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 +44 -58
- package/cjs/react.production.min.js +16 -16
- package/package.json +1 -1
- package/umd/react.development.js +63 -74
- package/umd/react.production.min.js +26 -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": "54423",
|
|
4
|
+
"checksum": "3b849cc",
|
|
5
|
+
"commit": "5faf377df",
|
|
6
6
|
"environment": "ci",
|
|
7
|
-
"reactVersion": "16.10.
|
|
7
|
+
"reactVersion": "16.10.2-5faf377df"
|
|
8
8
|
}
|
package/cjs/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.11.0
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -20,7 +20,7 @@ var checkPropTypes = require('prop-types/checkPropTypes');
|
|
|
20
20
|
|
|
21
21
|
// TODO: this is special because it gets imported during build.
|
|
22
22
|
|
|
23
|
-
var ReactVersion = '16.
|
|
23
|
+
var ReactVersion = '16.11.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.
|
|
@@ -61,16 +61,8 @@ function getIteratorFn(maybeIterable) {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
// Do not require this module directly! Use normal `invariant` calls with
|
|
64
|
-
// template literal strings. The messages will be
|
|
65
|
-
// build
|
|
66
|
-
|
|
67
|
-
// Do not require this module directly! Use normal `invariant` calls with
|
|
68
|
-
// template literal strings. The messages will be converted to ReactError during
|
|
69
|
-
// build, and in production they will be minified.
|
|
70
|
-
function ReactError(error) {
|
|
71
|
-
error.name = 'Invariant Violation';
|
|
72
|
-
return error;
|
|
73
|
-
}
|
|
64
|
+
// template literal strings. The messages will be replaced with error codes
|
|
65
|
+
// during build.
|
|
74
66
|
|
|
75
67
|
/**
|
|
76
68
|
* Use invariant() to assert state which your program assumes to be true.
|
|
@@ -324,13 +316,11 @@ Component.prototype.isReactComponent = {};
|
|
|
324
316
|
*/
|
|
325
317
|
|
|
326
318
|
Component.prototype.setState = function (partialState, callback) {
|
|
327
|
-
(function
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
throw ReactError(Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."));
|
|
331
|
-
}
|
|
319
|
+
if (!(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null)) {
|
|
320
|
+
{
|
|
321
|
+
throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
332
322
|
}
|
|
333
|
-
}
|
|
323
|
+
}
|
|
334
324
|
|
|
335
325
|
this.updater.enqueueSetState(this, partialState, callback, 'setState');
|
|
336
326
|
};
|
|
@@ -720,8 +710,8 @@ function defineRefPropWarningGetter(props, displayName) {
|
|
|
720
710
|
}
|
|
721
711
|
/**
|
|
722
712
|
* Factory method to create a new React element. This no longer adheres to
|
|
723
|
-
* the class pattern, so do not use new to call it. Also,
|
|
724
|
-
* will work. Instead test $$typeof field against Symbol.for('react.element') to check
|
|
713
|
+
* the class pattern, so do not use new to call it. Also, instanceof check
|
|
714
|
+
* will not work. Instead test $$typeof field against Symbol.for('react.element') to check
|
|
725
715
|
* if something is a React Element.
|
|
726
716
|
*
|
|
727
717
|
* @param {*} type
|
|
@@ -963,13 +953,11 @@ function cloneAndReplaceKey(oldElement, newKey) {
|
|
|
963
953
|
*/
|
|
964
954
|
|
|
965
955
|
function cloneElement(element, config, children) {
|
|
966
|
-
(
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
throw ReactError(Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + "."));
|
|
970
|
-
}
|
|
956
|
+
if (!!(element === null || element === undefined)) {
|
|
957
|
+
{
|
|
958
|
+
throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
|
|
971
959
|
}
|
|
972
|
-
}
|
|
960
|
+
}
|
|
973
961
|
|
|
974
962
|
var propName; // Original props are copied
|
|
975
963
|
|
|
@@ -1202,13 +1190,11 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
|
|
|
1202
1190
|
|
|
1203
1191
|
var childrenString = '' + children;
|
|
1204
1192
|
|
|
1205
|
-
|
|
1193
|
+
{
|
|
1206
1194
|
{
|
|
1207
|
-
{
|
|
1208
|
-
throw ReactError(Error("Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + ")." + addendum));
|
|
1209
|
-
}
|
|
1195
|
+
throw Error("Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + ")." + addendum);
|
|
1210
1196
|
}
|
|
1211
|
-
}
|
|
1197
|
+
}
|
|
1212
1198
|
}
|
|
1213
1199
|
}
|
|
1214
1200
|
|
|
@@ -1394,13 +1380,11 @@ function toArray(children) {
|
|
|
1394
1380
|
|
|
1395
1381
|
|
|
1396
1382
|
function onlyChild(children) {
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
throw ReactError(Error("React.Children.only expected to receive a single React element child."));
|
|
1401
|
-
}
|
|
1383
|
+
if (!isValidElement(children)) {
|
|
1384
|
+
{
|
|
1385
|
+
throw Error("React.Children.only expected to receive a single React element child.");
|
|
1402
1386
|
}
|
|
1403
|
-
}
|
|
1387
|
+
}
|
|
1404
1388
|
|
|
1405
1389
|
return children;
|
|
1406
1390
|
}
|
|
@@ -1601,13 +1585,11 @@ function memo(type, compare) {
|
|
|
1601
1585
|
function resolveDispatcher() {
|
|
1602
1586
|
var dispatcher = ReactCurrentDispatcher.current;
|
|
1603
1587
|
|
|
1604
|
-
(
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
throw ReactError(Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem."));
|
|
1608
|
-
}
|
|
1588
|
+
if (!(dispatcher !== null)) {
|
|
1589
|
+
{
|
|
1590
|
+
throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.");
|
|
1609
1591
|
}
|
|
1610
|
-
}
|
|
1592
|
+
}
|
|
1611
1593
|
|
|
1612
1594
|
return dispatcher;
|
|
1613
1595
|
}
|
|
@@ -1683,6 +1665,14 @@ function useResponder(responder, listenerProps) {
|
|
|
1683
1665
|
|
|
1684
1666
|
return dispatcher.useResponder(responder, listenerProps || emptyObject$1);
|
|
1685
1667
|
}
|
|
1668
|
+
function useTransition(config) {
|
|
1669
|
+
var dispatcher = resolveDispatcher();
|
|
1670
|
+
return dispatcher.useTransition(config);
|
|
1671
|
+
}
|
|
1672
|
+
function useDeferredValue(value, config) {
|
|
1673
|
+
var dispatcher = resolveDispatcher();
|
|
1674
|
+
return dispatcher.useDeferredValue(value, config);
|
|
1675
|
+
}
|
|
1686
1676
|
|
|
1687
1677
|
function withSuspenseConfig(scope, config) {
|
|
1688
1678
|
var previousConfig = ReactCurrentBatchConfig.suspense;
|
|
@@ -2172,10 +2162,9 @@ function createEventResponder(displayName, responderConfig) {
|
|
|
2172
2162
|
return eventResponder;
|
|
2173
2163
|
}
|
|
2174
2164
|
|
|
2175
|
-
function createScope(
|
|
2165
|
+
function createScope() {
|
|
2176
2166
|
var scopeComponent = {
|
|
2177
|
-
$$typeof: REACT_SCOPE_TYPE
|
|
2178
|
-
fn: fn
|
|
2167
|
+
$$typeof: REACT_SCOPE_TYPE
|
|
2179
2168
|
};
|
|
2180
2169
|
|
|
2181
2170
|
{
|
|
@@ -2201,9 +2190,8 @@ function createScope(fn) {
|
|
|
2201
2190
|
|
|
2202
2191
|
// Trace which interactions trigger each commit.
|
|
2203
2192
|
|
|
2204
|
-
//
|
|
2193
|
+
// SSR experiments
|
|
2205
2194
|
|
|
2206
|
-
// TODO: true? Here it might just be false.
|
|
2207
2195
|
|
|
2208
2196
|
// Only used in www builds.
|
|
2209
2197
|
|
|
@@ -2217,10 +2205,7 @@ function createScope(fn) {
|
|
|
2217
2205
|
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
|
2218
2206
|
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
|
2219
2207
|
|
|
2220
|
-
|
|
2221
|
-
// See https://github.com/react-native-community/discussions-and-proposals/issues/72 for more information
|
|
2222
|
-
// This is a flag so we can fix warnings in RN core before turning it on
|
|
2223
|
-
|
|
2208
|
+
var exposeConcurrentModeAPIs = false;
|
|
2224
2209
|
// Experimental React Flare event system and event components support.
|
|
2225
2210
|
|
|
2226
2211
|
var enableFlareAPI = false; // Experimental Host Component support.
|
|
@@ -2235,10 +2220,6 @@ var enableJSXTransformAPI = false; // We will enforce mocking scheduler with sch
|
|
|
2235
2220
|
// For tests, we flush suspense fallbacks in an act scope;
|
|
2236
2221
|
// *except* in some of our own tests, where we test incremental loading states.
|
|
2237
2222
|
|
|
2238
|
-
// Changes priority of some events like mousemove to user-blocking priority,
|
|
2239
|
-
// but without making them discrete. The flag exists in case it causes
|
|
2240
|
-
// starvation problems.
|
|
2241
|
-
|
|
2242
2223
|
// Add a callback property to suspense to notify which promises are currently
|
|
2243
2224
|
// in the update queue. This allows reporting and tracing of what is causing
|
|
2244
2225
|
// the user to see a loading state.
|
|
@@ -2278,16 +2259,21 @@ var React = {
|
|
|
2278
2259
|
Profiler: REACT_PROFILER_TYPE,
|
|
2279
2260
|
StrictMode: REACT_STRICT_MODE_TYPE,
|
|
2280
2261
|
Suspense: REACT_SUSPENSE_TYPE,
|
|
2281
|
-
unstable_SuspenseList: REACT_SUSPENSE_LIST_TYPE,
|
|
2282
2262
|
createElement: createElementWithValidation,
|
|
2283
2263
|
cloneElement: cloneElementWithValidation,
|
|
2284
2264
|
createFactory: createFactoryWithValidation,
|
|
2285
2265
|
isValidElement: isValidElement,
|
|
2286
2266
|
version: ReactVersion,
|
|
2287
|
-
unstable_withSuspenseConfig: withSuspenseConfig,
|
|
2288
2267
|
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ReactSharedInternals
|
|
2289
2268
|
};
|
|
2290
2269
|
|
|
2270
|
+
if (exposeConcurrentModeAPIs) {
|
|
2271
|
+
React.useTransition = useTransition;
|
|
2272
|
+
React.useDeferredValue = useDeferredValue;
|
|
2273
|
+
React.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
2274
|
+
React.unstable_withSuspenseConfig = withSuspenseConfig;
|
|
2275
|
+
}
|
|
2276
|
+
|
|
2291
2277
|
if (enableFlareAPI) {
|
|
2292
2278
|
React.unstable_useResponder = useResponder;
|
|
2293
2279
|
React.unstable_createResponder = createEventResponder;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.11.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 h=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.forward_ref"):60112,y=n?Symbol.for("react.suspense"):60113
|
|
11
|
-
60115,
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
|
|
15
|
-
function M(a,b,c){var d
|
|
16
|
-
function
|
|
10
|
+
'use strict';var h=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.forward_ref"):60112,y=n?Symbol.for("react.suspense"):60113;n&&Symbol.for("react.suspense_list");
|
|
11
|
+
var z=n?Symbol.for("react.memo"):60115,aa=n?Symbol.for("react.lazy"):60116;n&&Symbol.for("react.fundamental");n&&Symbol.for("react.responder");n&&Symbol.for("react.scope");var A="function"===typeof Symbol&&Symbol.iterator;
|
|
12
|
+
function B(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D={};
|
|
13
|
+
function E(a,b,c){this.props=a;this.context=b;this.refs=D;this.updater=c||C}E.prototype.isReactComponent={};E.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(B(85));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,c){this.props=a;this.context=b;this.refs=D;this.updater=c||C}var H=G.prototype=new F;
|
|
14
|
+
H.constructor=G;h(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,c){var e,d={},g=null,l=null;if(null!=b)for(e in void 0!==b.ref&&(l=b.ref),void 0!==b.key&&(g=""+b.key),b)K.call(b,e)&&!L.hasOwnProperty(e)&&(d[e]=b[e]);var f=arguments.length-2;if(1===f)d.children=c;else if(1<f){for(var k=Array(f),m=0;m<f;m++)k[m]=arguments[m+2];d.children=k}if(a&&a.defaultProps)for(e in f=a.defaultProps,f)void 0===d[e]&&(d[e]=f[e]);return{$$typeof:p,type:a,key:g,ref:l,props:d,_owner:J.current}}
|
|
16
|
+
function ba(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,c,e){if(P.length){var d=P.pop();d.result=a;d.keyPrefix=b;d.func=c;d.context=e;d.count=0;return d}return{result:a,keyPrefix:b,func:c,context:e,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,c,
|
|
19
|
-
0;!(
|
|
20
|
-
function
|
|
21
|
-
var X={Children:{map:function(a,b,c){if(null==a)return a;var
|
|
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:x,render:a}},lazy:function(a){return{$$typeof:
|
|
23
|
-
b,c){return W().useImperativeHandle(a,b,c)},useDebugValue:function(){},useLayoutEffect:function(a,b){return W().useLayoutEffect(a,b)},useMemo:function(a,b){return W().useMemo(a,b)},useReducer:function(a,b,c){return W().useReducer(a,b,c)},useRef:function(a){return W().useRef(a)},useState:function(a){return W().useState(a)},Fragment:r,Profiler:u,StrictMode:t,Suspense:y,
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
function S(a,b,c,e){var d=typeof a;if("undefined"===d||"boolean"===d)a=null;var g=!1;if(null===a)g=!0;else switch(d){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case p:case q:g=!0}}if(g)return c(e,a,""===b?"."+T(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var l=0;l<a.length;l++){d=a[l];var f=b+T(d,l);g+=S(d,f,c,e)}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),l=
|
|
19
|
+
0;!(d=a.next()).done;)d=d.value,f=b+T(d,l++),g+=S(d,f,c,e);else if("object"===d)throw c=""+a,Error(B(31,"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return g}function U(a,b,c){return null==a?0:S(a,"",b,c)}function T(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function ca(a,b){a.func.call(a.context,b,a.count++)}
|
|
20
|
+
function da(a,b,c){var e=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?V(a,e,c,function(a){return a}):null!=a&&(N(a)&&(a=ba(a,d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+c)),e.push(a))}function V(a,b,c,e,d){var g="";null!=c&&(g=(""+c).replace(O,"$&/")+"/");b=Q(b,g,e,d);U(a,da,b);R(b)}function W(){var a=I.current;if(null===a)throw Error(B(321));return a}
|
|
21
|
+
var X={Children:{map:function(a,b,c){if(null==a)return a;var e=[];V(a,e,null,b,c);return e},forEach:function(a,b,c){if(null==a)return a;b=Q(null,null,b,c);U(a,ca,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){if(!N(a))throw Error(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:x,render:a}},lazy:function(a){return{$$typeof:aa,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:z,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,c){return W().useImperativeHandle(a,b,c)},useDebugValue:function(){},useLayoutEffect:function(a,b){return W().useLayoutEffect(a,b)},useMemo:function(a,b){return W().useMemo(a,b)},useReducer:function(a,b,c){return W().useReducer(a,b,c)},useRef:function(a){return W().useRef(a)},useState:function(a){return W().useState(a)},Fragment:r,Profiler:u,StrictMode:t,Suspense:y,createElement:M,cloneElement:function(a,b,c){if(null===a||void 0===a)throw Error(B(267,a));var e=h({},a.props),d=a.key,g=a.ref,l=a._owner;
|
|
24
|
+
if(null!=b){void 0!==b.ref&&(g=b.ref,l=J.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var f=a.type.defaultProps;for(k in b)K.call(b,k)&&!L.hasOwnProperty(k)&&(e[k]=void 0===b[k]&&void 0!==f?f[k]:b[k])}var k=arguments.length-2;if(1===k)e.children=c;else if(1<k){f=Array(k);for(var m=0;m<k;m++)f[m]=arguments[m+2];e.children=f}return{$$typeof:p,type:a.type,key:d,ref:g,props:e,_owner:l}},createFactory:function(a){var b=M.bind(null,a);b.type=a;return b},isValidElement:N,version:"16.11.0",
|
|
25
|
+
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:I,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:J,IsSomeRendererActing:{current:!1},assign:h}},Y={default:X},Z=Y&&X||Y;module.exports=Z.default||Z;
|
package/package.json
CHANGED
package/umd/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.11.0
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
// TODO: this is special because it gets imported during build.
|
|
19
19
|
|
|
20
|
-
var ReactVersion = '16.
|
|
20
|
+
var ReactVersion = '16.11.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.
|
|
@@ -149,16 +149,8 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
|
|
|
149
149
|
};
|
|
150
150
|
|
|
151
151
|
// Do not require this module directly! Use normal `invariant` calls with
|
|
152
|
-
// template literal strings. The messages will be
|
|
153
|
-
// build
|
|
154
|
-
|
|
155
|
-
// Do not require this module directly! Use normal `invariant` calls with
|
|
156
|
-
// template literal strings. The messages will be converted to ReactError during
|
|
157
|
-
// build, and in production they will be minified.
|
|
158
|
-
function ReactError(error) {
|
|
159
|
-
error.name = 'Invariant Violation';
|
|
160
|
-
return error;
|
|
161
|
-
}
|
|
152
|
+
// template literal strings. The messages will be replaced with error codes
|
|
153
|
+
// during build.
|
|
162
154
|
|
|
163
155
|
/**
|
|
164
156
|
* Use invariant() to assert state which your program assumes to be true.
|
|
@@ -412,13 +404,11 @@ Component.prototype.isReactComponent = {};
|
|
|
412
404
|
*/
|
|
413
405
|
|
|
414
406
|
Component.prototype.setState = function (partialState, callback) {
|
|
415
|
-
(function
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
throw ReactError(Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."));
|
|
419
|
-
}
|
|
407
|
+
if (!(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null)) {
|
|
408
|
+
{
|
|
409
|
+
throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
420
410
|
}
|
|
421
|
-
}
|
|
411
|
+
}
|
|
422
412
|
|
|
423
413
|
this.updater.enqueueSetState(this, partialState, callback, 'setState');
|
|
424
414
|
};
|
|
@@ -808,8 +798,8 @@ function defineRefPropWarningGetter(props, displayName) {
|
|
|
808
798
|
}
|
|
809
799
|
/**
|
|
810
800
|
* Factory method to create a new React element. This no longer adheres to
|
|
811
|
-
* the class pattern, so do not use new to call it. Also,
|
|
812
|
-
* will work. Instead test $$typeof field against Symbol.for('react.element') to check
|
|
801
|
+
* the class pattern, so do not use new to call it. Also, instanceof check
|
|
802
|
+
* will not work. Instead test $$typeof field against Symbol.for('react.element') to check
|
|
813
803
|
* if something is a React Element.
|
|
814
804
|
*
|
|
815
805
|
* @param {*} type
|
|
@@ -1051,13 +1041,11 @@ function cloneAndReplaceKey(oldElement, newKey) {
|
|
|
1051
1041
|
*/
|
|
1052
1042
|
|
|
1053
1043
|
function cloneElement(element, config, children) {
|
|
1054
|
-
(
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
throw ReactError(Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + "."));
|
|
1058
|
-
}
|
|
1044
|
+
if (!!(element === null || element === undefined)) {
|
|
1045
|
+
{
|
|
1046
|
+
throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + element + ".");
|
|
1059
1047
|
}
|
|
1060
|
-
}
|
|
1048
|
+
}
|
|
1061
1049
|
|
|
1062
1050
|
var propName; // Original props are copied
|
|
1063
1051
|
|
|
@@ -1290,13 +1278,11 @@ function traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext)
|
|
|
1290
1278
|
|
|
1291
1279
|
var childrenString = '' + children;
|
|
1292
1280
|
|
|
1293
|
-
|
|
1281
|
+
{
|
|
1294
1282
|
{
|
|
1295
|
-
{
|
|
1296
|
-
throw ReactError(Error("Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + ")." + addendum));
|
|
1297
|
-
}
|
|
1283
|
+
throw Error("Objects are not valid as a React child (found: " + (childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString) + ")." + addendum);
|
|
1298
1284
|
}
|
|
1299
|
-
}
|
|
1285
|
+
}
|
|
1300
1286
|
}
|
|
1301
1287
|
}
|
|
1302
1288
|
|
|
@@ -1482,13 +1468,11 @@ function toArray(children) {
|
|
|
1482
1468
|
|
|
1483
1469
|
|
|
1484
1470
|
function onlyChild(children) {
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
throw ReactError(Error("React.Children.only expected to receive a single React element child."));
|
|
1489
|
-
}
|
|
1471
|
+
if (!isValidElement(children)) {
|
|
1472
|
+
{
|
|
1473
|
+
throw Error("React.Children.only expected to receive a single React element child.");
|
|
1490
1474
|
}
|
|
1491
|
-
}
|
|
1475
|
+
}
|
|
1492
1476
|
|
|
1493
1477
|
return children;
|
|
1494
1478
|
}
|
|
@@ -1689,13 +1673,11 @@ function memo(type, compare) {
|
|
|
1689
1673
|
function resolveDispatcher() {
|
|
1690
1674
|
var dispatcher = ReactCurrentDispatcher.current;
|
|
1691
1675
|
|
|
1692
|
-
(
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
throw ReactError(Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem."));
|
|
1696
|
-
}
|
|
1676
|
+
if (!(dispatcher !== null)) {
|
|
1677
|
+
{
|
|
1678
|
+
throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem.");
|
|
1697
1679
|
}
|
|
1698
|
-
}
|
|
1680
|
+
}
|
|
1699
1681
|
|
|
1700
1682
|
return dispatcher;
|
|
1701
1683
|
}
|
|
@@ -1771,6 +1753,14 @@ function useResponder(responder, listenerProps) {
|
|
|
1771
1753
|
|
|
1772
1754
|
return dispatcher.useResponder(responder, listenerProps || emptyObject$1);
|
|
1773
1755
|
}
|
|
1756
|
+
function useTransition(config) {
|
|
1757
|
+
var dispatcher = resolveDispatcher();
|
|
1758
|
+
return dispatcher.useTransition(config);
|
|
1759
|
+
}
|
|
1760
|
+
function useDeferredValue(value, config) {
|
|
1761
|
+
var dispatcher = resolveDispatcher();
|
|
1762
|
+
return dispatcher.useDeferredValue(value, config);
|
|
1763
|
+
}
|
|
1774
1764
|
|
|
1775
1765
|
function withSuspenseConfig(scope, config) {
|
|
1776
1766
|
var previousConfig = ReactCurrentBatchConfig.suspense;
|
|
@@ -2827,47 +2817,50 @@ function stopLoggingProfilingEvents() {
|
|
|
2827
2817
|
eventLogIndex = 0;
|
|
2828
2818
|
return buffer;
|
|
2829
2819
|
}
|
|
2830
|
-
function markTaskStart(task,
|
|
2820
|
+
function markTaskStart(task, ms) {
|
|
2831
2821
|
if (enableProfiling) {
|
|
2832
2822
|
profilingState[QUEUE_SIZE]++;
|
|
2833
2823
|
|
|
2834
2824
|
if (eventLog !== null) {
|
|
2835
|
-
|
|
2825
|
+
// performance.now returns a float, representing milliseconds. When the
|
|
2826
|
+
// event is logged, it's coerced to an int. Convert to microseconds to
|
|
2827
|
+
// maintain extra degrees of precision.
|
|
2828
|
+
logEvent([TaskStartEvent, ms * 1000, task.id, task.priorityLevel]);
|
|
2836
2829
|
}
|
|
2837
2830
|
}
|
|
2838
2831
|
}
|
|
2839
|
-
function markTaskCompleted(task,
|
|
2832
|
+
function markTaskCompleted(task, ms) {
|
|
2840
2833
|
if (enableProfiling) {
|
|
2841
2834
|
profilingState[PRIORITY] = NoPriority;
|
|
2842
2835
|
profilingState[CURRENT_TASK_ID] = 0;
|
|
2843
2836
|
profilingState[QUEUE_SIZE]--;
|
|
2844
2837
|
|
|
2845
2838
|
if (eventLog !== null) {
|
|
2846
|
-
logEvent([TaskCompleteEvent,
|
|
2839
|
+
logEvent([TaskCompleteEvent, ms * 1000, task.id]);
|
|
2847
2840
|
}
|
|
2848
2841
|
}
|
|
2849
2842
|
}
|
|
2850
|
-
function markTaskCanceled(task,
|
|
2843
|
+
function markTaskCanceled(task, ms) {
|
|
2851
2844
|
if (enableProfiling) {
|
|
2852
2845
|
profilingState[QUEUE_SIZE]--;
|
|
2853
2846
|
|
|
2854
2847
|
if (eventLog !== null) {
|
|
2855
|
-
logEvent([TaskCancelEvent,
|
|
2848
|
+
logEvent([TaskCancelEvent, ms * 1000, task.id]);
|
|
2856
2849
|
}
|
|
2857
2850
|
}
|
|
2858
2851
|
}
|
|
2859
|
-
function markTaskErrored(task,
|
|
2852
|
+
function markTaskErrored(task, ms) {
|
|
2860
2853
|
if (enableProfiling) {
|
|
2861
2854
|
profilingState[PRIORITY] = NoPriority;
|
|
2862
2855
|
profilingState[CURRENT_TASK_ID] = 0;
|
|
2863
2856
|
profilingState[QUEUE_SIZE]--;
|
|
2864
2857
|
|
|
2865
2858
|
if (eventLog !== null) {
|
|
2866
|
-
logEvent([TaskErrorEvent,
|
|
2859
|
+
logEvent([TaskErrorEvent, ms * 1000, task.id]);
|
|
2867
2860
|
}
|
|
2868
2861
|
}
|
|
2869
2862
|
}
|
|
2870
|
-
function markTaskRun(task,
|
|
2863
|
+
function markTaskRun(task, ms) {
|
|
2871
2864
|
if (enableProfiling) {
|
|
2872
2865
|
runIdCounter++;
|
|
2873
2866
|
profilingState[PRIORITY] = task.priorityLevel;
|
|
@@ -2875,34 +2868,34 @@ function markTaskRun(task, time) {
|
|
|
2875
2868
|
profilingState[CURRENT_RUN_ID] = runIdCounter;
|
|
2876
2869
|
|
|
2877
2870
|
if (eventLog !== null) {
|
|
2878
|
-
logEvent([TaskRunEvent,
|
|
2871
|
+
logEvent([TaskRunEvent, ms * 1000, task.id, runIdCounter]);
|
|
2879
2872
|
}
|
|
2880
2873
|
}
|
|
2881
2874
|
}
|
|
2882
|
-
function markTaskYield(task,
|
|
2875
|
+
function markTaskYield(task, ms) {
|
|
2883
2876
|
if (enableProfiling) {
|
|
2884
2877
|
profilingState[PRIORITY] = NoPriority;
|
|
2885
2878
|
profilingState[CURRENT_TASK_ID] = 0;
|
|
2886
2879
|
profilingState[CURRENT_RUN_ID] = 0;
|
|
2887
2880
|
|
|
2888
2881
|
if (eventLog !== null) {
|
|
2889
|
-
logEvent([TaskYieldEvent,
|
|
2882
|
+
logEvent([TaskYieldEvent, ms * 1000, task.id, runIdCounter]);
|
|
2890
2883
|
}
|
|
2891
2884
|
}
|
|
2892
2885
|
}
|
|
2893
|
-
function markSchedulerSuspended(
|
|
2886
|
+
function markSchedulerSuspended(ms) {
|
|
2894
2887
|
if (enableProfiling) {
|
|
2895
2888
|
mainThreadIdCounter++;
|
|
2896
2889
|
|
|
2897
2890
|
if (eventLog !== null) {
|
|
2898
|
-
logEvent([SchedulerSuspendEvent,
|
|
2891
|
+
logEvent([SchedulerSuspendEvent, ms * 1000, mainThreadIdCounter]);
|
|
2899
2892
|
}
|
|
2900
2893
|
}
|
|
2901
2894
|
}
|
|
2902
|
-
function markSchedulerUnsuspended(
|
|
2895
|
+
function markSchedulerUnsuspended(ms) {
|
|
2903
2896
|
if (enableProfiling) {
|
|
2904
2897
|
if (eventLog !== null) {
|
|
2905
|
-
logEvent([SchedulerResumeEvent,
|
|
2898
|
+
logEvent([SchedulerResumeEvent, ms * 1000, mainThreadIdCounter]);
|
|
2906
2899
|
}
|
|
2907
2900
|
}
|
|
2908
2901
|
}
|
|
@@ -3329,9 +3322,8 @@ var Scheduler = Object.freeze({
|
|
|
3329
3322
|
|
|
3330
3323
|
// Trace which interactions trigger each commit.
|
|
3331
3324
|
|
|
3332
|
-
var enableSchedulerTracing = true; //
|
|
3325
|
+
var enableSchedulerTracing = true; // SSR experiments
|
|
3333
3326
|
|
|
3334
|
-
// TODO: true? Here it might just be false.
|
|
3335
3327
|
|
|
3336
3328
|
// Only used in www builds.
|
|
3337
3329
|
|
|
@@ -3345,10 +3337,7 @@ var enableSchedulerTracing = true; // Only used in www builds.
|
|
|
3345
3337
|
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
|
3346
3338
|
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
|
3347
3339
|
|
|
3348
|
-
|
|
3349
|
-
// See https://github.com/react-native-community/discussions-and-proposals/issues/72 for more information
|
|
3350
|
-
// This is a flag so we can fix warnings in RN core before turning it on
|
|
3351
|
-
|
|
3340
|
+
var exposeConcurrentModeAPIs = false;
|
|
3352
3341
|
// Experimental React Flare event system and event components support.
|
|
3353
3342
|
|
|
3354
3343
|
var enableFlareAPI = false; // Experimental Host Component support.
|
|
@@ -3363,10 +3352,6 @@ var enableJSXTransformAPI = false; // We will enforce mocking scheduler with sch
|
|
|
3363
3352
|
// For tests, we flush suspense fallbacks in an act scope;
|
|
3364
3353
|
// *except* in some of our own tests, where we test incremental loading states.
|
|
3365
3354
|
|
|
3366
|
-
// Changes priority of some events like mousemove to user-blocking priority,
|
|
3367
|
-
// but without making them discrete. The flag exists in case it causes
|
|
3368
|
-
// starvation problems.
|
|
3369
|
-
|
|
3370
3355
|
// Add a callback property to suspense to notify which promises are currently
|
|
3371
3356
|
// in the update queue. This allows reporting and tracing of what is causing
|
|
3372
3357
|
// the user to see a loading state.
|
|
@@ -3827,10 +3812,9 @@ function createEventResponder(displayName, responderConfig) {
|
|
|
3827
3812
|
return eventResponder;
|
|
3828
3813
|
}
|
|
3829
3814
|
|
|
3830
|
-
function createScope(
|
|
3815
|
+
function createScope() {
|
|
3831
3816
|
var scopeComponent = {
|
|
3832
|
-
$$typeof: REACT_SCOPE_TYPE
|
|
3833
|
-
fn: fn
|
|
3817
|
+
$$typeof: REACT_SCOPE_TYPE
|
|
3834
3818
|
};
|
|
3835
3819
|
|
|
3836
3820
|
{
|
|
@@ -3869,16 +3853,21 @@ var React = {
|
|
|
3869
3853
|
Profiler: REACT_PROFILER_TYPE,
|
|
3870
3854
|
StrictMode: REACT_STRICT_MODE_TYPE,
|
|
3871
3855
|
Suspense: REACT_SUSPENSE_TYPE,
|
|
3872
|
-
unstable_SuspenseList: REACT_SUSPENSE_LIST_TYPE,
|
|
3873
3856
|
createElement: createElementWithValidation,
|
|
3874
3857
|
cloneElement: cloneElementWithValidation,
|
|
3875
3858
|
createFactory: createFactoryWithValidation,
|
|
3876
3859
|
isValidElement: isValidElement,
|
|
3877
3860
|
version: ReactVersion,
|
|
3878
|
-
unstable_withSuspenseConfig: withSuspenseConfig,
|
|
3879
3861
|
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: ReactSharedInternals$2
|
|
3880
3862
|
};
|
|
3881
3863
|
|
|
3864
|
+
if (exposeConcurrentModeAPIs) {
|
|
3865
|
+
React.useTransition = useTransition;
|
|
3866
|
+
React.useDeferredValue = useDeferredValue;
|
|
3867
|
+
React.SuspenseList = REACT_SUSPENSE_LIST_TYPE;
|
|
3868
|
+
React.unstable_withSuspenseConfig = withSuspenseConfig;
|
|
3869
|
+
}
|
|
3870
|
+
|
|
3882
3871
|
if (enableFlareAPI) {
|
|
3883
3872
|
React.unstable_useResponder = useResponder;
|
|
3884
3873
|
React.unstable_createResponder = createEventResponder;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.11.0
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,28 +6,28 @@
|
|
|
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(v,m){"object"===typeof exports&&"undefined"!==typeof module?module.exports=m():"function"===typeof define&&define.amd?define(m):v.React=m()})(this,function(){function v(a){for(var b=
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
b,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
b
|
|
32
|
-
|
|
33
|
-
|
|
9
|
+
'use strict';(function(v,m){"object"===typeof exports&&"undefined"!==typeof module?module.exports=m():"function"===typeof define&&define.amd?define(m):v.React=m()})(this,function(){function v(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function m(a,
|
|
10
|
+
b,c){this.props=a;this.context=b;this.refs=da;this.updater=c||ea}function fa(){}function M(a,b,c){this.props=a;this.context=b;this.refs=da;this.updater=c||ea}function ha(a,b,c){var d,e={},p=null,f=null;if(null!=b)for(d in void 0!==b.ref&&(f=b.ref),void 0!==b.key&&(p=""+b.key),b)ia.call(b,d)&&!ja.hasOwnProperty(d)&&(e[d]=b[d]);var g=arguments.length-2;if(1===g)e.children=c;else if(1<g){for(var k=Array(g),h=0;h<g;h++)k[h]=arguments[h+2];e.children=k}if(a&&a.defaultProps)for(d in g=a.defaultProps,g)void 0===
|
|
11
|
+
e[d]&&(e[d]=g[d]);return{$$typeof:z,type:a,key:p,ref:f,props:e,_owner:N.current}}function wa(a,b){return{$$typeof:z,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function O(a){return"object"===typeof a&&null!==a&&a.$$typeof===z}function xa(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function ka(a,b,c,d){if(D.length){var e=D.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}}
|
|
12
|
+
function la(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>D.length&&D.push(a)}function P(a,b,c,d){var e=typeof a;if("undefined"===e||"boolean"===e)a=null;var p=!1;if(null===a)p=!0;else switch(e){case "string":case "number":p=!0;break;case "object":switch(a.$$typeof){case z:case ya:p=!0}}if(p)return c(d,a,""===b?"."+Q(a,0):b),1;p=0;b=""===b?".":b+":";if(Array.isArray(a))for(var f=0;f<a.length;f++){e=a[f];var g=b+Q(e,f);p+=P(e,g,c,d)}else if(null===a||"object"!==typeof a?
|
|
13
|
+
g=null:(g=ma&&a[ma]||a["@@iterator"],g="function"===typeof g?g:null),"function"===typeof g)for(a=g.call(a),f=0;!(e=a.next()).done;)e=e.value,g=b+Q(e,f++),p+=P(e,g,c,d);else if("object"===e)throw c=""+a,Error(v(31,"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return p}function R(a,b,c){return null==a?0:P(a,"",b,c)}function Q(a,b){return"object"===typeof a&&null!==a&&null!=a.key?xa(a.key):b.toString(36)}function za(a,b,c){a.func.call(a.context,b,a.count++)}function Aa(a,
|
|
14
|
+
b,c){var d=a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?S(a,d,c,function(a){return a}):null!=a&&(O(a)&&(a=wa(a,e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(na,"$&/")+"/")+c)),d.push(a))}function S(a,b,c,d,e){var f="";null!=c&&(f=(""+c).replace(na,"$&/")+"/");b=ka(b,f,d,e);R(a,Aa,b);la(b)}function t(){var a=oa.current;if(null===a)throw Error(v(321));return a}function T(a,b){var c=a.length;a.push(b);a:for(;;){var d=Math.floor((c-1)/2),e=a[d];if(void 0!==e&&0<E(e,
|
|
15
|
+
b))a[d]=b,a[c]=e,c=d;else break a}}function n(a){a=a[0];return void 0===a?null:a}function F(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length;d<e;){var f=2*(d+1)-1,h=a[f],g=f+1,k=a[g];if(void 0!==h&&0>E(h,c))void 0!==k&&0>E(k,h)?(a[d]=k,a[g]=c,d=g):(a[d]=h,a[f]=c,d=f);else if(void 0!==k&&0>E(k,c))a[d]=k,a[g]=c,d=g;else break a}}return b}return null}function E(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function G(a){for(var b=n(u);null!==b;){if(null===
|
|
16
|
+
b.callback)F(u);else if(b.startTime<=a)F(u),b.sortIndex=b.expirationTime,T(q,b);else break;b=n(u)}}function U(a){A=!1;G(a);if(!w)if(null!==n(q))w=!0,B(V);else{var b=n(u);null!==b&&H(U,b.startTime-a)}}function V(a,b){w=!1;A&&(A=!1,W());I=!0;var c=h;try{G(b);for(l=n(q);null!==l&&(!(l.expirationTime>b)||a&&!X());){var d=l.callback;if(null!==d){l.callback=null;h=l.priorityLevel;var e=d(l.expirationTime<=b);b=r();"function"===typeof e?l.callback=e:l===n(q)&&F(q);G(b)}else F(q);l=n(q)}if(null!==l)var f=
|
|
17
|
+
!0;else{var m=n(u);null!==m&&H(U,m.startTime-b);f=!1}return f}finally{l=null,h=c,I=!1}}function pa(a){switch(a){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;default:return 5E3}}var f="function"===typeof Symbol&&Symbol.for,z=f?Symbol.for("react.element"):60103,ya=f?Symbol.for("react.portal"):60106,x=f?Symbol.for("react.fragment"):60107,Y=f?Symbol.for("react.strict_mode"):60108,Ba=f?Symbol.for("react.profiler"):60114,Ca=f?Symbol.for("react.provider"):60109,Da=f?Symbol.for("react.context"):
|
|
18
|
+
60110,Ea=f?Symbol.for("react.forward_ref"):60112,Fa=f?Symbol.for("react.suspense"):60113;f&&Symbol.for("react.suspense_list");var Ga=f?Symbol.for("react.memo"):60115,Ha=f?Symbol.for("react.lazy"):60116;f&&Symbol.for("react.fundamental");f&&Symbol.for("react.responder");f&&Symbol.for("react.scope");var ma="function"===typeof Symbol&&Symbol.iterator,qa=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,J=function(){try{if(!Object.assign)return!1;
|
|
19
|
+
var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(d){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
20
|
+
var c=Object(a);for(var d,e=1;e<arguments.length;e++){var f=Object(arguments[e]);for(var h in f)Ia.call(f,h)&&(c[h]=f[h]);if(qa){d=qa(f);for(var g=0;g<d.length;g++)Ja.call(f,d[g])&&(c[d[g]]=f[d[g]])}}return c},ea={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},da={};m.prototype.isReactComponent={};m.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(v(85));
|
|
21
|
+
this.updater.enqueueSetState(this,a,b,"setState")};m.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};fa.prototype=m.prototype;f=M.prototype=new fa;f.constructor=M;J(f,m.prototype);f.isPureReactComponent=!0;var oa={current:null},N={current:null},ia=Object.prototype.hasOwnProperty,ja={key:!0,ref:!0,__self:!0,__source:!0},na=/\/+/g,D=[],Z;if("undefined"===typeof window||"function"!==typeof MessageChannel){var C=null,ra=null,sa=function(){if(null!==C)try{var a=
|
|
22
|
+
r();C(!0,a);C=null}catch(b){throw setTimeout(sa,0),b;}},Ka=Date.now();var r=function(){return Date.now()-Ka};var B=function(a){null!==C?setTimeout(B,0,a):(C=a,setTimeout(sa,0))};var H=function(a,b){ra=setTimeout(a,b)};var W=function(){clearTimeout(ra)};var X=function(){return!1};f=Z=function(){}}else{var aa=window.performance,ta=window.Date,La=window.setTimeout,Ma=window.clearTimeout;f=window.requestAnimationFrame;var y=window.cancelAnimationFrame;"undefined"!==typeof console&&("function"!==typeof f&&
|
|
23
|
+
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 y&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));if("object"===typeof aa&&"function"===typeof aa.now)r=function(){return aa.now()};else{var Na=ta.now();r=function(){return ta.now()-Na}}var K=!1,L=null,ba=-1,ua=5,va=0;X=function(){return r()>=
|
|
24
|
+
va};f=function(){};Z=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):ua=0<a?Math.floor(1E3/a):33.33};y=new MessageChannel;var ca=y.port2;y.port1.onmessage=function(){if(null!==L){var a=r();va=a+ua;try{L(!0,a)?ca.postMessage(null):(K=!1,L=null)}catch(b){throw ca.postMessage(null),b;}}else K=!1};B=function(a){L=a;K||(K=!0,ca.postMessage(null))};H=function(a,b){ba=La(function(){a(r())},b)};W=function(){Ma(ba);
|
|
25
|
+
ba=-1}}var q=[],u=[],Oa=1,l=null,h=3,I=!1,w=!1,A=!1,Pa=0;y={ReactCurrentDispatcher:oa,ReactCurrentOwner:N,IsSomeRendererActing:{current:!1},assign:J};J(y,{Scheduler:{unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=h;h=a;try{return b()}finally{h=c}},unstable_next:function(a){switch(h){case 1:case 2:case 3:var b=
|
|
26
|
+
3;break;default:b=h}var c=h;h=b;try{return a()}finally{h=c}},unstable_scheduleCallback:function(a,b,c){var d=r();if("object"===typeof c&&null!==c){var e=c.delay;e="number"===typeof e&&0<e?d+e:d;c="number"===typeof c.timeout?c.timeout:pa(a)}else c=pa(a),e=d;c=e+c;a={id:Oa++,callback:b,priorityLevel:a,startTime:e,expirationTime:c,sortIndex:-1};e>d?(a.sortIndex=e,T(u,a),null===n(q)&&a===n(u)&&(A?W():A=!0,H(U,e-d))):(a.sortIndex=c,T(q,a),w||I||(w=!0,B(V)));return a},unstable_cancelCallback:function(a){a.callback=
|
|
27
|
+
null},unstable_wrapCallback:function(a){var b=h;return function(){var c=h;h=b;try{return a.apply(this,arguments)}finally{h=c}}},unstable_getCurrentPriorityLevel:function(){return h},unstable_shouldYield:function(){var a=r();G(a);var b=n(q);return b!==l&&null!==l&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTime<l.expirationTime||X()},unstable_requestPaint:f,unstable_continueExecution:function(){w||I||(w=!0,B(V))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return n(q)},
|
|
28
|
+
get unstable_now(){return r},get unstable_forceFrameRate(){return Z},unstable_Profiling:null},SchedulerTracing:{get __interactionsRef(){return null},get __subscriberRef(){return null},unstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Pa},unstable_trace:function(a,b,c){return c()},unstable_wrap:function(a){return a},unstable_subscribe:function(a){},unstable_unsubscribe:function(a){}}});x={Children:{map:function(a,b,c){if(null==
|
|
29
|
+
a)return a;var d=[];S(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=ka(null,null,b,c);R(a,za,b);la(b)},count:function(a){return R(a,function(){return null},null)},toArray:function(a){var b=[];S(a,b,null,function(a){return a});return b},only:function(a){if(!O(a))throw Error(v(143));return a}},createRef:function(){return{current:null}},Component:m,PureComponent:M,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:Da,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,
|
|
30
|
+
_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:Ca,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Ea,render:a}},lazy:function(a){return{$$typeof:Ha,_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 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,
|
|
31
|
+
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:x,Profiler:Ba,StrictMode:Y,Suspense:Fa,createElement:ha,cloneElement:function(a,b,c){if(null===a||void 0===a)throw Error(v(267,a));var d=J({},a.props),e=a.key,f=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&
|
|
32
|
+
(f=b.ref,h=N.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(k in b)ia.call(b,k)&&!ja.hasOwnProperty(k)&&(d[k]=void 0===b[k]&&void 0!==g?g[k]:b[k])}var k=arguments.length-2;if(1===k)d.children=c;else if(1<k){g=Array(k);for(var l=0;l<k;l++)g[l]=arguments[l+2];d.children=g}return{$$typeof:z,type:a.type,key:e,ref:f,props:d,_owner:h}},createFactory:function(a){var b=ha.bind(null,a);b.type=a;return b},isValidElement:O,version:"16.11.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:y};
|
|
33
|
+
x=(Y={default:x},x)||Y;return x.default||x});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.11.0
|
|
2
2
|
* react.profiling.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,35 +6,35 @@
|
|
|
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(C,x){"object"===typeof exports&&"undefined"!==typeof module?module.exports=x():"function"===typeof define&&define.amd?define(x):C.React=x()})(this,function(){function C(a){for(var b=
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
b,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
b=u(A)}}function da(a){I=!1;O(a);if(!E)if(null!==u(v))E=!0,J(ea);else{var b=u(A);null!==b&&P(da,b.startTime-a)}}function ea(a,b){null!==
|
|
18
|
-
null!==
|
|
19
|
-
function
|
|
20
|
-
}function
|
|
21
|
-
60109,
|
|
9
|
+
'use strict';(function(C,x){"object"===typeof exports&&"undefined"!==typeof module?module.exports=x():"function"===typeof define&&define.amd?define(x):C.React=x()})(this,function(){function C(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;c<arguments.length;c++)b+="&args[]="+encodeURIComponent(arguments[c]);return"Minified React error #"+a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function x(a,
|
|
10
|
+
b,c){this.props=a;this.context=b;this.refs=pa;this.updater=c||qa}function ra(){}function V(a,b,c){this.props=a;this.context=b;this.refs=pa;this.updater=c||qa}function sa(a,b,c){var d,e={},f=null,k=null;if(null!=b)for(d in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(f=""+b.key),b)ta.call(b,d)&&!ua.hasOwnProperty(d)&&(e[d]=b[d]);var g=arguments.length-2;if(1===g)e.children=c;else if(1<g){for(var q=Array(g),h=0;h<g;h++)q[h]=arguments[h+2];e.children=q}if(a&&a.defaultProps)for(d in g=a.defaultProps,g)void 0===
|
|
11
|
+
e[d]&&(e[d]=g[d]);return{$$typeof:F,type:a,key:f,ref:k,props:e,_owner:W.current}}function Pa(a,b){return{$$typeof:F,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function X(a){return"object"===typeof a&&null!==a&&a.$$typeof===F}function Qa(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function va(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}}
|
|
12
|
+
function wa(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>L.length&&L.push(a)}function Y(a,b,c,d){var e=typeof a;if("undefined"===e||"boolean"===e)a=null;var f=!1;if(null===a)f=!0;else switch(e){case "string":case "number":f=!0;break;case "object":switch(a.$$typeof){case F:case Ra:f=!0}}if(f)return c(d,a,""===b?"."+Z(a,0):b),1;f=0;b=""===b?".":b+":";if(Array.isArray(a))for(var k=0;k<a.length;k++){e=a[k];var g=b+Z(e,k);f+=Y(e,g,c,d)}else if(null===a||"object"!==typeof a?
|
|
13
|
+
g=null:(g=xa&&a[xa]||a["@@iterator"],g="function"===typeof g?g:null),"function"===typeof g)for(a=g.call(a),k=0;!(e=a.next()).done;)e=e.value,g=b+Z(e,k++),f+=Y(e,g,c,d);else if("object"===e)throw c=""+a,Error(C(31,"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return f}function aa(a,b,c){return null==a?0:Y(a,"",b,c)}function Z(a,b){return"object"===typeof a&&null!==a&&null!=a.key?Qa(a.key):b.toString(36)}function Sa(a,b,c){a.func.call(a.context,b,a.count++)}function Ta(a,
|
|
14
|
+
b,c){var d=a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?ba(a,d,c,function(a){return a}):null!=a&&(X(a)&&(a=Pa(a,e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(ya,"$&/")+"/")+c)),d.push(a))}function ba(a,b,c,d,e){var f="";null!=c&&(f=(""+c).replace(ya,"$&/")+"/");b=va(b,f,d,e);aa(a,Ta,b);wa(b)}function y(){var a=za.current;if(null===a)throw Error(C(321));return a}function ca(a,b){var c=a.length;a.push(b);a:for(;;){var d=Math.floor((c-1)/2),e=a[d];if(void 0!==e&&0<
|
|
15
|
+
M(e,b))a[d]=b,a[c]=e,c=d;else break a}}function u(a){a=a[0];return void 0===a?null:a}function N(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length;d<e;){var f=2*(d+1)-1,k=a[f],g=f+1,q=a[g];if(void 0!==k&&0>M(k,c))void 0!==q&&0>M(q,k)?(a[d]=q,a[g]=c,d=g):(a[d]=k,a[f]=c,d=f);else if(void 0!==q&&0>M(q,c))a[d]=q,a[g]=c,d=g;else break a}}return b}return null}function M(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function z(a){if(null!==r){var b=G;G+=a.length;
|
|
16
|
+
if(G+1>D){D*=2;if(524288<D){console.error("Scheduler Profiling: Event log exceeded maximum size. Don't forget to call `stopLoggingProfilingEvents()`.");Aa();return}var c=new Int32Array(4*D);c.set(r);H=c.buffer;r=c}r.set(a,b)}}function Aa(){var a=H;D=0;r=H=null;G=0;return a}function Ba(a,b){m[3]++;null!==r&&z([1,1E3*b,a.id,a.priorityLevel])}function O(a){for(var b=u(A);null!==b;){if(null===b.callback)N(A);else if(b.startTime<=a)N(A),b.sortIndex=b.expirationTime,ca(v,b),Ba(b,a),b.isQueued=!0;else break;
|
|
17
|
+
b=u(A)}}function da(a){I=!1;O(a);if(!E)if(null!==u(v))E=!0,J(ea);else{var b=u(A);null!==b&&P(da,b.startTime-a)}}function ea(a,b){null!==r&&z([8,1E3*b,fa]);E=!1;I&&(I=!1,ha());Q=!0;var c=n;try{try{O(b);for(h=u(v);null!==h&&(!(h.expirationTime>b)||a&&!ia());){var d=h.callback;if(null!==d){h.callback=null;n=h.priorityLevel;var e=h.expirationTime<=b,f=h,k=b;R++;m[0]=f.priorityLevel;m[1]=f.id;m[2]=R;null!==r&&z([5,1E3*k,f.id,R]);var g=d(e);b=t();"function"===typeof g?(h.callback=g,f=h,k=b,m[0]=0,m[1]=
|
|
18
|
+
0,m[2]=0,null!==r&&z([6,1E3*k,f.id,R])):(f=h,k=b,m[0]=0,m[1]=0,m[3]--,null!==r&&z([2,1E3*k,f.id]),h.isQueued=!1,h===u(v)&&N(v));O(b)}else N(v);h=u(v)}if(null!==h)var q=!0;else{var l=u(A);null!==l&&P(da,l.startTime-b);q=!1}return q}catch(Ua){if(null!==h){var p=t();a=h;m[0]=0;m[1]=0;m[3]--;null!==r&&z([3,1E3*p,a.id]);h.isQueued=!1}throw Ua;}}finally{h=null,n=c,Q=!1,c=t(),fa++,null!==r&&z([7,1E3*c,fa])}}function Ca(a){switch(a){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1E4;
|
|
19
|
+
default:return 5E3}}function Va(a){var b=!1,c=null;w.forEach(function(d){try{d.onInteractionTraced(a)}catch(e){b||(b=!0,c=e)}});if(b)throw c;}function Wa(a){var b=!1,c=null;w.forEach(function(d){try{d.onInteractionScheduledWorkCompleted(a)}catch(e){b||(b=!0,c=e)}});if(b)throw c;}function Xa(a,b){var c=!1,d=null;w.forEach(function(e){try{e.onWorkScheduled(a,b)}catch(f){c||(c=!0,d=f)}});if(c)throw d;}function Ya(a,b){var c=!1,d=null;w.forEach(function(e){try{e.onWorkStarted(a,b)}catch(f){c||(c=!0,d=
|
|
20
|
+
f)}});if(c)throw d;}function Za(a,b){var c=!1,d=null;w.forEach(function(e){try{e.onWorkStopped(a,b)}catch(f){c||(c=!0,d=f)}});if(c)throw d;}function $a(a,b){var c=!1,d=null;w.forEach(function(e){try{e.onWorkCanceled(a,b)}catch(f){c||(c=!0,d=f)}});if(c)throw d;}var l="function"===typeof Symbol&&Symbol.for,F=l?Symbol.for("react.element"):60103,Ra=l?Symbol.for("react.portal"):60106,ab=l?Symbol.for("react.fragment"):60107,bb=l?Symbol.for("react.strict_mode"):60108,cb=l?Symbol.for("react.profiler"):60114,
|
|
21
|
+
db=l?Symbol.for("react.provider"):60109,eb=l?Symbol.for("react.context"):60110,fb=l?Symbol.for("react.forward_ref"):60112,gb=l?Symbol.for("react.suspense"):60113;l&&Symbol.for("react.suspense_list");var hb=l?Symbol.for("react.memo"):60115,ib=l?Symbol.for("react.lazy"):60116;l&&Symbol.for("react.fundamental");l&&Symbol.for("react.responder");l&&Symbol.for("react.scope");var xa="function"===typeof Symbol&&Symbol.iterator,Da=Object.getOwnPropertySymbols,jb=Object.prototype.hasOwnProperty,kb=Object.prototype.propertyIsEnumerable,
|
|
22
22
|
S=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:function(a,b){if(null===a||void 0===
|
|
23
|
-
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 k in f)jb.call(f,k)&&(c[k]=f[k]);if(
|
|
24
|
-
b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw C(
|
|
25
|
-
typeof MessageChannel){var K=null,
|
|
23
|
+
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 k in f)jb.call(f,k)&&(c[k]=f[k]);if(Da){d=Da(f);for(var g=0;g<d.length;g++)kb.call(f,d[g])&&(c[d[g]]=f[d[g]])}}return c},qa={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},pa={};x.prototype.isReactComponent={};x.prototype.setState=function(a,
|
|
24
|
+
b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(C(85));this.updater.enqueueSetState(this,a,b,"setState")};x.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};ra.prototype=x.prototype;var ja=V.prototype=new ra;ja.constructor=V;S(ja,x.prototype);ja.isPureReactComponent=!0;var za={current:null},W={current:null},ta=Object.prototype.hasOwnProperty,ua={key:!0,ref:!0,__self:!0,__source:!0},ya=/\/+/g,L=[],ka;if("undefined"===typeof window||"function"!==
|
|
25
|
+
typeof MessageChannel){var K=null,Ea=null,Fa=function(){if(null!==K)try{var a=t();K(!0,a);K=null}catch(b){throw setTimeout(Fa,0),b;}},lb=Date.now();var t=function(){return Date.now()-lb};var J=function(a){null!==K?setTimeout(J,0,a):(K=a,setTimeout(Fa,0))};var P=function(a,b){Ea=setTimeout(a,b)};var ha=function(){clearTimeout(Ea)};var ia=function(){return!1};var Ga=ka=function(){}}else{var la=window.performance,Ha=window.Date,mb=window.setTimeout,nb=window.clearTimeout,ob=window.requestAnimationFrame,
|
|
26
26
|
pb=window.cancelAnimationFrame;"undefined"!==typeof console&&("function"!==typeof ob&&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 pb&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));if("object"===typeof la&&"function"===typeof la.now)t=function(){return la.now()};else{var qb=
|
|
27
|
-
|
|
28
|
-
!1};J=function(a){U=a;T||(T=!0,na.postMessage(null))};P=function(a,b){ma=mb(function(){a(t())},b)};ha=function(){nb(ma);ma=-1}}var R=0,fa=0,oa="function"===typeof SharedArrayBuffer?new SharedArrayBuffer(4*Int32Array.BYTES_PER_ELEMENT):"function"===typeof ArrayBuffer?new ArrayBuffer(4*Int32Array.BYTES_PER_ELEMENT):null,
|
|
27
|
+
Ha.now();t=function(){return Ha.now()-qb}}var T=!1,U=null,ma=-1,Ia=5,Ja=0;ia=function(){return t()>=Ja};Ga=function(){};ka=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):Ia=0<a?Math.floor(1E3/a):33.33};var Ka=new MessageChannel,na=Ka.port2;Ka.port1.onmessage=function(){if(null!==U){var a=t();Ja=a+Ia;try{U(!0,a)?na.postMessage(null):(T=!1,U=null)}catch(b){throw na.postMessage(null),b;}}else T=
|
|
28
|
+
!1};J=function(a){U=a;T||(T=!0,na.postMessage(null))};P=function(a,b){ma=mb(function(){a(t())},b)};ha=function(){nb(ma);ma=-1}}var R=0,fa=0,oa="function"===typeof SharedArrayBuffer?new SharedArrayBuffer(4*Int32Array.BYTES_PER_ELEMENT):"function"===typeof ArrayBuffer?new ArrayBuffer(4*Int32Array.BYTES_PER_ELEMENT):null,m=null!==oa?new Int32Array(oa):[];m[0]=0;m[3]=0;var D=m[1]=0,H=null,r=null,G=0,v=[],A=[],rb=1,h=null,n=3,Q=!1,E=!1,I=!1,sb={unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,
|
|
29
29
|
unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=n;n=a;try{return b()}finally{n=c}},unstable_next:function(a){switch(n){case 1:case 2:case 3:var b=3;break;default:b=n}var c=n;n=b;try{return a()}finally{n=c}},unstable_scheduleCallback:function(a,b,c){var d=t();if("object"===typeof c&&null!==c){var e=c.delay;e="number"===typeof e&&0<e?d+e:d;c="number"===typeof c.timeout?
|
|
30
|
-
c.timeout:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
b
|
|
39
|
-
|
|
40
|
-
|
|
30
|
+
c.timeout:Ca(a)}else c=Ca(a),e=d;c=e+c;a={id:rb++,callback:b,priorityLevel:a,startTime:e,expirationTime:c,sortIndex:-1,isQueued:!1};e>d?(a.sortIndex=e,ca(A,a),null===u(v)&&a===u(A)&&(I?ha():I=!0,P(da,e-d))):(a.sortIndex=c,ca(v,a),Ba(a,d),a.isQueued=!0,E||Q||(E=!0,J(ea)));return a},unstable_cancelCallback:function(a){if(a.isQueued){var b=t();m[3]--;null!==r&&z([4,1E3*b,a.id]);a.isQueued=!1}a.callback=null},unstable_wrapCallback:function(a){var b=n;return function(){var c=n;n=b;try{return a.apply(this,
|
|
31
|
+
arguments)}finally{n=c}}},unstable_getCurrentPriorityLevel:function(){return n},unstable_shouldYield:function(){var a=t();O(a);var b=u(v);return b!==h&&null!==h&&null!==b&&null!==b.callback&&b.startTime<=a&&b.expirationTime<h.expirationTime||ia()},unstable_requestPaint:Ga,unstable_continueExecution:function(){E||Q||(E=!0,J(ea))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return u(v)},get unstable_now(){return t},get unstable_forceFrameRate(){return ka},unstable_Profiling:{startLoggingProfilingEvents:function(){D=
|
|
32
|
+
131072;H=new ArrayBuffer(4*D);r=new Int32Array(H);G=0},stopLoggingProfilingEvents:Aa,sharedProfilingBuffer:oa}},tb=0,ub=0,p=null,B=null;p={current:new Set};B={current:null};var w=null;w=new Set;var La={ReactCurrentDispatcher:za,ReactCurrentOwner:W,IsSomeRendererActing:{current:!1},assign:S};S(La,{Scheduler:sb,SchedulerTracing:{get __interactionsRef(){return p},get __subscriberRef(){return B},unstable_clear:function(a){var b=p.current;p.current=new Set;try{return a()}finally{p.current=b}},unstable_getCurrent:function(){return p.current},
|
|
33
|
+
unstable_getThreadID:function(){return++ub},unstable_trace:function(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,e={__count:1,id:tb++,name:a,timestamp:b},f=p.current,k=new Set(f);k.add(e);p.current=k;var g=B.current;try{if(null!==g)g.onInteractionTraced(e)}finally{try{if(null!==g)g.onWorkStarted(k,d)}finally{try{var q=c()}finally{p.current=f;try{if(null!==g)g.onWorkStopped(k,d)}finally{if(e.__count--,null!==g&&0===e.__count)g.onInteractionScheduledWorkCompleted(e)}}}}return q},
|
|
34
|
+
unstable_wrap:function(a){function b(){var b=p.current;p.current=d;e=B.current;try{try{if(null!==e)e.onWorkStarted(d,c)}finally{try{var g=a.apply(void 0,arguments)}finally{if(p.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=p.current,e=B.current;if(null!==e)e.onWorkScheduled(d,c);d.forEach(function(a){a.__count++});
|
|
35
|
+
var f=!1;b.cancel=function(){e=B.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},unstable_subscribe:function(a){w.add(a);1===w.size&&(B.current={onInteractionScheduledWorkCompleted:Wa,onInteractionTraced:Va,onWorkCanceled:$a,onWorkScheduled:Xa,onWorkStarted:Ya,onWorkStopped:Za})},unstable_unsubscribe:function(a){w.delete(a);0===w.size&&(B.current=null)}}});var Ma={Children:{map:function(a,
|
|
36
|
+
b,c){if(null==a)return a;var d=[];ba(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=va(null,null,b,c);aa(a,Sa,b);wa(b)},count:function(a){return aa(a,function(){return null},null)},toArray:function(a){var b=[];ba(a,b,null,function(a){return a});return b},only:function(a){if(!X(a))throw Error(C(143));return a}},createRef:function(){return{current:null}},Component:x,PureComponent:V,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:eb,_calculateChangedBits:b,_currentValue:a,
|
|
37
|
+
_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:db,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:fb,render:a}},lazy:function(a){return{$$typeof:ib,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:hb,type:a,compare:void 0===b?null:b}},useCallback:function(a,b){return y().useCallback(a,b)},useContext:function(a,b){return y().useContext(a,b)},useEffect:function(a,b){return y().useEffect(a,b)},useImperativeHandle:function(a,
|
|
38
|
+
b,c){return y().useImperativeHandle(a,b,c)},useDebugValue:function(a,b){},useLayoutEffect:function(a,b){return y().useLayoutEffect(a,b)},useMemo:function(a,b){return y().useMemo(a,b)},useReducer:function(a,b,c){return y().useReducer(a,b,c)},useRef:function(a){return y().useRef(a)},useState:function(a){return y().useState(a)},Fragment:ab,Profiler:cb,StrictMode:bb,Suspense:gb,createElement:sa,cloneElement:function(a,b,c){if(null===a||void 0===a)throw Error(C(267,a));var d=S({},a.props),e=a.key,f=a.ref,
|
|
39
|
+
k=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,k=W.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(h in b)ta.call(b,h)&&!ua.hasOwnProperty(h)&&(d[h]=void 0===b[h]&&void 0!==g?g[h]:b[h])}var h=arguments.length-2;if(1===h)d.children=c;else if(1<h){g=Array(h);for(var l=0;l<h;l++)g[l]=arguments[l+2];d.children=g}return{$$typeof:F,type:a.type,key:e,ref:f,props:d,_owner:k}},createFactory:function(a){var b=sa.bind(null,a);b.type=a;return b},isValidElement:X,
|
|
40
|
+
version:"16.11.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:La},Na={default:Ma},Oa=Na&&Ma||Na;return Oa.default||Oa});
|