react 16.6.0-alpha.8af6728 → 16.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/react.development.js +95 -56
- package/cjs/react.production.min.js +14 -14
- package/package.json +2 -2
- package/umd/react.development.js +110 -71
- package/umd/react.production.min.js +24 -25
- package/umd/react.profiling.min.js +27 -27
package/cjs/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.6.0
|
|
1
|
+
/** @license React v16.6.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.6.0
|
|
23
|
+
var ReactVersion = '16.6.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.
|
|
@@ -36,7 +36,8 @@ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
|
|
|
36
36
|
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
37
37
|
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
38
38
|
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
39
|
-
var
|
|
39
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
40
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
40
41
|
|
|
41
42
|
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
|
42
43
|
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
|
@@ -492,10 +493,13 @@ var describeComponentFrame = function (name, source, ownerName) {
|
|
|
492
493
|
var Resolved = 1;
|
|
493
494
|
|
|
494
495
|
|
|
496
|
+
function refineResolvedLazyComponent(lazyComponent) {
|
|
497
|
+
return lazyComponent._status === Resolved ? lazyComponent._result : null;
|
|
498
|
+
}
|
|
495
499
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
return
|
|
500
|
+
function getWrappedName(outerType, innerType, wrapperName) {
|
|
501
|
+
var functionName = innerType.displayName || innerType.name || '';
|
|
502
|
+
return outerType.displayName || (functionName !== '' ? wrapperName + '(' + functionName + ')' : wrapperName);
|
|
499
503
|
}
|
|
500
504
|
|
|
501
505
|
function getComponentName(type) {
|
|
@@ -535,16 +539,17 @@ function getComponentName(type) {
|
|
|
535
539
|
case REACT_PROVIDER_TYPE:
|
|
536
540
|
return 'Context.Provider';
|
|
537
541
|
case REACT_FORWARD_REF_TYPE:
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
return type.
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
542
|
+
return getWrappedName(type, type.render, 'ForwardRef');
|
|
543
|
+
case REACT_MEMO_TYPE:
|
|
544
|
+
return getComponentName(type.type);
|
|
545
|
+
case REACT_LAZY_TYPE:
|
|
546
|
+
{
|
|
547
|
+
var thenable = type;
|
|
548
|
+
var resolvedThenable = refineResolvedLazyComponent(thenable);
|
|
549
|
+
if (resolvedThenable) {
|
|
550
|
+
return getComponentName(resolvedThenable);
|
|
551
|
+
}
|
|
552
|
+
}
|
|
548
553
|
}
|
|
549
554
|
}
|
|
550
555
|
return null;
|
|
@@ -1259,12 +1264,6 @@ function onlyChild(children) {
|
|
|
1259
1264
|
return children;
|
|
1260
1265
|
}
|
|
1261
1266
|
|
|
1262
|
-
function readContext(context, observedBits) {
|
|
1263
|
-
var dispatcher = ReactCurrentOwner.currentDispatcher;
|
|
1264
|
-
!(dispatcher !== null) ? invariant(false, 'Context.unstable_read(): Context can only be read while React is rendering, e.g. inside the render method or getDerivedStateFromProps.') : void 0;
|
|
1265
|
-
return dispatcher.readContext(context, observedBits);
|
|
1266
|
-
}
|
|
1267
|
-
|
|
1268
1267
|
function createContext(defaultValue, calculateChangedBits) {
|
|
1269
1268
|
if (calculateChangedBits === undefined) {
|
|
1270
1269
|
calculateChangedBits = null;
|
|
@@ -1286,16 +1285,69 @@ function createContext(defaultValue, calculateChangedBits) {
|
|
|
1286
1285
|
_currentValue2: defaultValue,
|
|
1287
1286
|
// These are circular
|
|
1288
1287
|
Provider: null,
|
|
1289
|
-
Consumer: null
|
|
1290
|
-
unstable_read: null
|
|
1288
|
+
Consumer: null
|
|
1291
1289
|
};
|
|
1292
1290
|
|
|
1293
1291
|
context.Provider = {
|
|
1294
1292
|
$$typeof: REACT_PROVIDER_TYPE,
|
|
1295
1293
|
_context: context
|
|
1296
1294
|
};
|
|
1297
|
-
|
|
1298
|
-
|
|
1295
|
+
|
|
1296
|
+
var hasWarnedAboutUsingNestedContextConsumers = false;
|
|
1297
|
+
var hasWarnedAboutUsingConsumerProvider = false;
|
|
1298
|
+
|
|
1299
|
+
{
|
|
1300
|
+
// A separate object, but proxies back to the original context object for
|
|
1301
|
+
// backwards compatibility. It has a different $$typeof, so we can properly
|
|
1302
|
+
// warn for the incorrect usage of Context as a Consumer.
|
|
1303
|
+
var Consumer = {
|
|
1304
|
+
$$typeof: REACT_CONTEXT_TYPE,
|
|
1305
|
+
_context: context,
|
|
1306
|
+
_calculateChangedBits: context._calculateChangedBits
|
|
1307
|
+
};
|
|
1308
|
+
// $FlowFixMe: Flow complains about not setting a value, which is intentional here
|
|
1309
|
+
Object.defineProperties(Consumer, {
|
|
1310
|
+
Provider: {
|
|
1311
|
+
get: function () {
|
|
1312
|
+
if (!hasWarnedAboutUsingConsumerProvider) {
|
|
1313
|
+
hasWarnedAboutUsingConsumerProvider = true;
|
|
1314
|
+
warning$1(false, 'Rendering <Context.Consumer.Provider> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Provider> instead?');
|
|
1315
|
+
}
|
|
1316
|
+
return context.Provider;
|
|
1317
|
+
},
|
|
1318
|
+
set: function (_Provider) {
|
|
1319
|
+
context.Provider = _Provider;
|
|
1320
|
+
}
|
|
1321
|
+
},
|
|
1322
|
+
_currentValue: {
|
|
1323
|
+
get: function () {
|
|
1324
|
+
return context._currentValue;
|
|
1325
|
+
},
|
|
1326
|
+
set: function (_currentValue) {
|
|
1327
|
+
context._currentValue = _currentValue;
|
|
1328
|
+
}
|
|
1329
|
+
},
|
|
1330
|
+
_currentValue2: {
|
|
1331
|
+
get: function () {
|
|
1332
|
+
return context._currentValue2;
|
|
1333
|
+
},
|
|
1334
|
+
set: function (_currentValue2) {
|
|
1335
|
+
context._currentValue2 = _currentValue2;
|
|
1336
|
+
}
|
|
1337
|
+
},
|
|
1338
|
+
Consumer: {
|
|
1339
|
+
get: function () {
|
|
1340
|
+
if (!hasWarnedAboutUsingNestedContextConsumers) {
|
|
1341
|
+
hasWarnedAboutUsingNestedContextConsumers = true;
|
|
1342
|
+
warning$1(false, 'Rendering <Context.Consumer.Consumer> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Consumer> instead?');
|
|
1343
|
+
}
|
|
1344
|
+
return context.Consumer;
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
});
|
|
1348
|
+
// $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty
|
|
1349
|
+
context.Consumer = Consumer;
|
|
1350
|
+
}
|
|
1299
1351
|
|
|
1300
1352
|
{
|
|
1301
1353
|
context._currentRenderer = null;
|
|
@@ -1306,20 +1358,12 @@ function createContext(defaultValue, calculateChangedBits) {
|
|
|
1306
1358
|
}
|
|
1307
1359
|
|
|
1308
1360
|
function lazy(ctor) {
|
|
1309
|
-
var thenable = null;
|
|
1310
1361
|
return {
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
// Lazily create thenable by wrapping in an extra thenable.
|
|
1314
|
-
thenable = ctor();
|
|
1315
|
-
ctor = null;
|
|
1316
|
-
}
|
|
1317
|
-
return thenable.then(resolve, reject);
|
|
1318
|
-
},
|
|
1319
|
-
|
|
1362
|
+
$$typeof: REACT_LAZY_TYPE,
|
|
1363
|
+
_ctor: ctor,
|
|
1320
1364
|
// React uses these fields to store the result.
|
|
1321
|
-
|
|
1322
|
-
|
|
1365
|
+
_status: -1,
|
|
1366
|
+
_result: null
|
|
1323
1367
|
};
|
|
1324
1368
|
}
|
|
1325
1369
|
|
|
@@ -1344,30 +1388,25 @@ function forwardRef(render) {
|
|
|
1344
1388
|
};
|
|
1345
1389
|
}
|
|
1346
1390
|
|
|
1347
|
-
function
|
|
1391
|
+
function isValidElementType(type) {
|
|
1392
|
+
return typeof type === 'string' || typeof type === 'function' ||
|
|
1393
|
+
// Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1394
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE);
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
function memo(type, compare) {
|
|
1348
1398
|
{
|
|
1349
|
-
if (
|
|
1350
|
-
warningWithoutStack$1(false, '
|
|
1351
|
-
} else {
|
|
1352
|
-
var prototype = render.prototype;
|
|
1353
|
-
if (prototype && prototype.isReactComponent) {
|
|
1354
|
-
warningWithoutStack$1(false, 'pure: The first argument must be a function component. Classes ' + 'are not supported. Use React.PureComponent instead.');
|
|
1355
|
-
}
|
|
1399
|
+
if (!isValidElementType(type)) {
|
|
1400
|
+
warningWithoutStack$1(false, 'memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);
|
|
1356
1401
|
}
|
|
1357
1402
|
}
|
|
1358
1403
|
return {
|
|
1359
|
-
$$typeof:
|
|
1360
|
-
|
|
1404
|
+
$$typeof: REACT_MEMO_TYPE,
|
|
1405
|
+
type: type,
|
|
1361
1406
|
compare: compare === undefined ? null : compare
|
|
1362
1407
|
};
|
|
1363
1408
|
}
|
|
1364
1409
|
|
|
1365
|
-
function isValidElementType(type) {
|
|
1366
|
-
return typeof type === 'string' || typeof type === 'function' ||
|
|
1367
|
-
// Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1368
|
-
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || typeof type === 'object' && type !== null && (typeof type.then === 'function' || type.$$typeof === REACT_PURE_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE);
|
|
1369
|
-
}
|
|
1370
|
-
|
|
1371
1410
|
/**
|
|
1372
1411
|
* ReactElementValidator provides a wrapper around a element factory
|
|
1373
1412
|
* which validates the props passed to the element. This is intended to be
|
|
@@ -1666,12 +1705,12 @@ var React = {
|
|
|
1666
1705
|
createContext: createContext,
|
|
1667
1706
|
forwardRef: forwardRef,
|
|
1668
1707
|
lazy: lazy,
|
|
1669
|
-
|
|
1708
|
+
memo: memo,
|
|
1670
1709
|
|
|
1671
1710
|
Fragment: REACT_FRAGMENT_TYPE,
|
|
1672
1711
|
StrictMode: REACT_STRICT_MODE_TYPE,
|
|
1673
1712
|
unstable_ConcurrentMode: REACT_CONCURRENT_MODE_TYPE,
|
|
1674
|
-
|
|
1713
|
+
Suspense: REACT_SUSPENSE_TYPE,
|
|
1675
1714
|
unstable_Profiler: REACT_PROFILER_TYPE,
|
|
1676
1715
|
|
|
1677
1716
|
createElement: createElementWithValidation,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.6.0
|
|
1
|
+
/** @license React v16.6.0
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -7,18 +7,18 @@
|
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
|
|
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,A=n?Symbol.for("react.
|
|
11
|
-
60115,B="function"===typeof Symbol&&Symbol.iterator;function
|
|
12
|
-
function D(a){for(var b=arguments.length-1,
|
|
13
|
-
function G(a,b,
|
|
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,A=n?Symbol.for("react.memo"):
|
|
11
|
+
60115,B=n?Symbol.for("react.lazy"):60116,C="function"===typeof Symbol&&Symbol.iterator;function aa(a,b,e,c,d,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=[e,c,d,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
|
+
function D(a){for(var b=arguments.length-1,e="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)e+="&args[]="+encodeURIComponent(arguments[c+1]);aa(!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. ",e)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},F={};
|
|
13
|
+
function G(a,b,e){this.props=a;this.context=b;this.refs=F;this.updater=e||E}G.prototype.isReactComponent={};G.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?D("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};G.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function H(){}H.prototype=G.prototype;function I(a,b,e){this.props=a;this.context=b;this.refs=F;this.updater=e||E}var J=I.prototype=new H;
|
|
14
14
|
J.constructor=I;k(J,G.prototype);J.isPureReactComponent=!0;var K={current:null,currentDispatcher:null},L=Object.prototype.hasOwnProperty,M={key:!0,ref:!0,__self:!0,__source:!0};
|
|
15
|
-
function N(a,b,
|
|
16
|
-
function
|
|
15
|
+
function N(a,b,e){var c=void 0,d={},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)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=b[c]);var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){for(var l=Array(f),m=0;m<f;m++)l[m]=arguments[m+2];d.children=l}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===d[c]&&(d[c]=f[c]);return{$$typeof:p,type:a,key:g,ref:h,props:d,_owner:K.current}}
|
|
16
|
+
function ba(a,b){return{$$typeof:p,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===p}function escape(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var P=/\/+/g,Q=[];function R(a,b,e,c){if(Q.length){var d=Q.pop();d.result=a;d.keyPrefix=b;d.func=e;d.context=c;d.count=0;return d}return{result:a,keyPrefix:b,func:e,context:c,count:0}}
|
|
17
17
|
function S(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>Q.length&&Q.push(a)}
|
|
18
|
-
function T(a,b,
|
|
19
|
-
0;!(
|
|
20
|
-
function
|
|
21
|
-
var X={Children:{map:function(a,b,
|
|
22
|
-
_currentValue:a,_currentValue2:a,Provider:null,Consumer:null
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
function T(a,b,e,c){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 e(c,a,""===b?"."+U(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var h=0;h<a.length;h++){d=a[h];var f=b+U(d,h);g+=T(d,f,e,c)}else if(null===a||"object"!==typeof a?f=null:(f=C&&a[C]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=f.call(a),h=
|
|
19
|
+
0;!(d=a.next()).done;)d=d.value,f=b+U(d,h++),g+=T(d,f,e,c);else"object"===d&&(e=""+a,D("31","[object Object]"===e?"object with keys {"+Object.keys(a).join(", ")+"}":e,""));return g}function V(a,b,e){return null==a?0:T(a,"",b,e)}function U(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,e){var c=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?W(a,c,e,function(a){return a}):null!=a&&(O(a)&&(a=ba(a,d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(P,"$&/")+"/")+e)),c.push(a))}function W(a,b,e,c,d){var g="";null!=e&&(g=(""+e).replace(P,"$&/")+"/");b=R(b,g,c,d);V(a,da,b);S(b)}
|
|
21
|
+
var X={Children:{map:function(a,b,e){if(null==a)return a;var c=[];W(a,c,null,b,e);return c},forEach:function(a,b,e){if(null==a)return a;b=R(null,null,b,e);V(a,ca,b);S(b)},count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];W(a,b,null,function(a){return a});return b},only:function(a){O(a)?void 0:D("143");return a}},createRef:function(){return{current:null}},Component:G,PureComponent:I,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,
|
|
22
|
+
_currentValue:a,_currentValue2:a,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:y,render:a}},lazy:function(a){return{$$typeof:B,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:A,type:a,compare:void 0===b?null:b}},Fragment:r,StrictMode:t,unstable_ConcurrentMode:x,Suspense:z,unstable_Profiler:u,createElement:N,cloneElement:function(a,b,e){null===a||void 0===a?D("267",a):void 0;var c=void 0,d=k({},a.props),
|
|
23
|
+
g=a.key,h=a.ref,f=a._owner;if(null!=b){void 0!==b.ref&&(h=b.ref,f=K.current);void 0!==b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)L.call(b,c)&&!M.hasOwnProperty(c)&&(d[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)d.children=e;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];d.children=l}return{$$typeof:p,type:a.type,key:g,ref:h,props:d,_owner:f}},createFactory:function(a){var b=N.bind(null,a);b.type=a;return b},
|
|
24
|
+
isValidElement:O,version:"16.6.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:K,assign:k}},Y={default:X},Z=Y&&X||Y;module.exports=Z.default||Z;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"keywords": [
|
|
5
5
|
"react"
|
|
6
6
|
],
|
|
7
|
-
"version": "16.6.0
|
|
7
|
+
"version": "16.6.0",
|
|
8
8
|
"homepage": "https://reactjs.org/",
|
|
9
9
|
"bugs": "https://github.com/facebook/react/issues",
|
|
10
10
|
"license": "MIT",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"loose-envify": "^1.1.0",
|
|
25
25
|
"object-assign": "^4.1.1",
|
|
26
26
|
"prop-types": "^15.6.2",
|
|
27
|
-
"scheduler": "^0.10.0
|
|
27
|
+
"scheduler": "^0.10.0"
|
|
28
28
|
},
|
|
29
29
|
"browserify": {
|
|
30
30
|
"transform": [
|
package/umd/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.6.0
|
|
1
|
+
/** @license React v16.6.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.6.0
|
|
20
|
+
var ReactVersion = '16.6.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.
|
|
@@ -33,7 +33,8 @@ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
|
|
|
33
33
|
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
34
34
|
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
35
35
|
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
36
|
-
var
|
|
36
|
+
var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
|
37
|
+
var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
|
37
38
|
|
|
38
39
|
var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
|
39
40
|
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
|
@@ -538,9 +539,9 @@ function createRef() {
|
|
|
538
539
|
|
|
539
540
|
// TODO: Use symbols?
|
|
540
541
|
var ImmediatePriority = 1;
|
|
541
|
-
var
|
|
542
|
+
var UserBlockingPriority = 2;
|
|
542
543
|
var NormalPriority = 3;
|
|
543
|
-
var
|
|
544
|
+
var IdlePriority = 4;
|
|
544
545
|
|
|
545
546
|
// Max 31 bit integer. The max integer size in V8 for 32-bit systems.
|
|
546
547
|
// Math.pow(2, 30) - 1
|
|
@@ -550,10 +551,10 @@ var maxSigned31BitInt = 1073741823;
|
|
|
550
551
|
// Times out immediately
|
|
551
552
|
var IMMEDIATE_PRIORITY_TIMEOUT = -1;
|
|
552
553
|
// Eventually times out
|
|
553
|
-
var
|
|
554
|
+
var USER_BLOCKING_PRIORITY = 250;
|
|
554
555
|
var NORMAL_PRIORITY_TIMEOUT = 5000;
|
|
555
556
|
// Never times out
|
|
556
|
-
var
|
|
557
|
+
var IDLE_PRIORITY = maxSigned31BitInt;
|
|
557
558
|
|
|
558
559
|
// Callbacks are stored as a circular, doubly linked list.
|
|
559
560
|
var firstCallbackNode = null;
|
|
@@ -686,7 +687,7 @@ function flushFirstCallback() {
|
|
|
686
687
|
} else if (nextAfterContinuation === firstCallbackNode) {
|
|
687
688
|
// The new callback is the highest priority callback in the list.
|
|
688
689
|
firstCallbackNode = continuationNode;
|
|
689
|
-
ensureHostCallbackIsScheduled(
|
|
690
|
+
ensureHostCallbackIsScheduled();
|
|
690
691
|
}
|
|
691
692
|
|
|
692
693
|
var previous = nextAfterContinuation.previous;
|
|
@@ -713,7 +714,7 @@ function flushImmediateWork() {
|
|
|
713
714
|
isExecutingCallback = false;
|
|
714
715
|
if (firstCallbackNode !== null) {
|
|
715
716
|
// There's still work remaining. Request another callback.
|
|
716
|
-
ensureHostCallbackIsScheduled(
|
|
717
|
+
ensureHostCallbackIsScheduled();
|
|
717
718
|
} else {
|
|
718
719
|
isHostCallbackScheduled = false;
|
|
719
720
|
}
|
|
@@ -752,7 +753,7 @@ function flushWork(didTimeout) {
|
|
|
752
753
|
isExecutingCallback = false;
|
|
753
754
|
if (firstCallbackNode !== null) {
|
|
754
755
|
// There's still work remaining. Request another callback.
|
|
755
|
-
ensureHostCallbackIsScheduled(
|
|
756
|
+
ensureHostCallbackIsScheduled();
|
|
756
757
|
} else {
|
|
757
758
|
isHostCallbackScheduled = false;
|
|
758
759
|
}
|
|
@@ -764,9 +765,9 @@ function flushWork(didTimeout) {
|
|
|
764
765
|
function unstable_runWithPriority(priorityLevel, eventHandler) {
|
|
765
766
|
switch (priorityLevel) {
|
|
766
767
|
case ImmediatePriority:
|
|
767
|
-
case
|
|
768
|
+
case UserBlockingPriority:
|
|
768
769
|
case NormalPriority:
|
|
769
|
-
case
|
|
770
|
+
case IdlePriority:
|
|
770
771
|
break;
|
|
771
772
|
default:
|
|
772
773
|
priorityLevel = NormalPriority;
|
|
@@ -819,11 +820,11 @@ function unstable_scheduleCallback(callback, deprecated_options) {
|
|
|
819
820
|
case ImmediatePriority:
|
|
820
821
|
expirationTime = startTime + IMMEDIATE_PRIORITY_TIMEOUT;
|
|
821
822
|
break;
|
|
822
|
-
case
|
|
823
|
-
expirationTime = startTime +
|
|
823
|
+
case UserBlockingPriority:
|
|
824
|
+
expirationTime = startTime + USER_BLOCKING_PRIORITY;
|
|
824
825
|
break;
|
|
825
|
-
case
|
|
826
|
-
expirationTime = startTime +
|
|
826
|
+
case IdlePriority:
|
|
827
|
+
expirationTime = startTime + IDLE_PRIORITY;
|
|
827
828
|
break;
|
|
828
829
|
case NormalPriority:
|
|
829
830
|
default:
|
|
@@ -845,7 +846,7 @@ function unstable_scheduleCallback(callback, deprecated_options) {
|
|
|
845
846
|
if (firstCallbackNode === null) {
|
|
846
847
|
// This is the first callback in the list.
|
|
847
848
|
firstCallbackNode = newNode.next = newNode.previous = newNode;
|
|
848
|
-
ensureHostCallbackIsScheduled(
|
|
849
|
+
ensureHostCallbackIsScheduled();
|
|
849
850
|
} else {
|
|
850
851
|
var next = null;
|
|
851
852
|
var node = firstCallbackNode;
|
|
@@ -865,7 +866,7 @@ function unstable_scheduleCallback(callback, deprecated_options) {
|
|
|
865
866
|
} else if (next === firstCallbackNode) {
|
|
866
867
|
// The new callback has the earliest expiration in the entire list.
|
|
867
868
|
firstCallbackNode = newNode;
|
|
868
|
-
ensureHostCallbackIsScheduled(
|
|
869
|
+
ensureHostCallbackIsScheduled();
|
|
869
870
|
}
|
|
870
871
|
|
|
871
872
|
var previous = next.previous;
|
|
@@ -1594,10 +1595,13 @@ var describeComponentFrame = function (name, source, ownerName) {
|
|
|
1594
1595
|
var Resolved = 1;
|
|
1595
1596
|
|
|
1596
1597
|
|
|
1598
|
+
function refineResolvedLazyComponent(lazyComponent) {
|
|
1599
|
+
return lazyComponent._status === Resolved ? lazyComponent._result : null;
|
|
1600
|
+
}
|
|
1597
1601
|
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
return
|
|
1602
|
+
function getWrappedName(outerType, innerType, wrapperName) {
|
|
1603
|
+
var functionName = innerType.displayName || innerType.name || '';
|
|
1604
|
+
return outerType.displayName || (functionName !== '' ? wrapperName + '(' + functionName + ')' : wrapperName);
|
|
1601
1605
|
}
|
|
1602
1606
|
|
|
1603
1607
|
function getComponentName(type) {
|
|
@@ -1637,16 +1641,17 @@ function getComponentName(type) {
|
|
|
1637
1641
|
case REACT_PROVIDER_TYPE:
|
|
1638
1642
|
return 'Context.Provider';
|
|
1639
1643
|
case REACT_FORWARD_REF_TYPE:
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
return type.
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1644
|
+
return getWrappedName(type, type.render, 'ForwardRef');
|
|
1645
|
+
case REACT_MEMO_TYPE:
|
|
1646
|
+
return getComponentName(type.type);
|
|
1647
|
+
case REACT_LAZY_TYPE:
|
|
1648
|
+
{
|
|
1649
|
+
var thenable = type;
|
|
1650
|
+
var resolvedThenable = refineResolvedLazyComponent(thenable);
|
|
1651
|
+
if (resolvedThenable) {
|
|
1652
|
+
return getComponentName(resolvedThenable);
|
|
1653
|
+
}
|
|
1654
|
+
}
|
|
1650
1655
|
}
|
|
1651
1656
|
}
|
|
1652
1657
|
return null;
|
|
@@ -2390,12 +2395,6 @@ function onlyChild(children) {
|
|
|
2390
2395
|
return children;
|
|
2391
2396
|
}
|
|
2392
2397
|
|
|
2393
|
-
function readContext(context, observedBits) {
|
|
2394
|
-
var dispatcher = ReactCurrentOwner.currentDispatcher;
|
|
2395
|
-
!(dispatcher !== null) ? invariant(false, 'Context.unstable_read(): Context can only be read while React is rendering, e.g. inside the render method or getDerivedStateFromProps.') : void 0;
|
|
2396
|
-
return dispatcher.readContext(context, observedBits);
|
|
2397
|
-
}
|
|
2398
|
-
|
|
2399
2398
|
function createContext(defaultValue, calculateChangedBits) {
|
|
2400
2399
|
if (calculateChangedBits === undefined) {
|
|
2401
2400
|
calculateChangedBits = null;
|
|
@@ -2417,16 +2416,69 @@ function createContext(defaultValue, calculateChangedBits) {
|
|
|
2417
2416
|
_currentValue2: defaultValue,
|
|
2418
2417
|
// These are circular
|
|
2419
2418
|
Provider: null,
|
|
2420
|
-
Consumer: null
|
|
2421
|
-
unstable_read: null
|
|
2419
|
+
Consumer: null
|
|
2422
2420
|
};
|
|
2423
2421
|
|
|
2424
2422
|
context.Provider = {
|
|
2425
2423
|
$$typeof: REACT_PROVIDER_TYPE,
|
|
2426
2424
|
_context: context
|
|
2427
2425
|
};
|
|
2428
|
-
|
|
2429
|
-
|
|
2426
|
+
|
|
2427
|
+
var hasWarnedAboutUsingNestedContextConsumers = false;
|
|
2428
|
+
var hasWarnedAboutUsingConsumerProvider = false;
|
|
2429
|
+
|
|
2430
|
+
{
|
|
2431
|
+
// A separate object, but proxies back to the original context object for
|
|
2432
|
+
// backwards compatibility. It has a different $$typeof, so we can properly
|
|
2433
|
+
// warn for the incorrect usage of Context as a Consumer.
|
|
2434
|
+
var Consumer = {
|
|
2435
|
+
$$typeof: REACT_CONTEXT_TYPE,
|
|
2436
|
+
_context: context,
|
|
2437
|
+
_calculateChangedBits: context._calculateChangedBits
|
|
2438
|
+
};
|
|
2439
|
+
// $FlowFixMe: Flow complains about not setting a value, which is intentional here
|
|
2440
|
+
Object.defineProperties(Consumer, {
|
|
2441
|
+
Provider: {
|
|
2442
|
+
get: function () {
|
|
2443
|
+
if (!hasWarnedAboutUsingConsumerProvider) {
|
|
2444
|
+
hasWarnedAboutUsingConsumerProvider = true;
|
|
2445
|
+
warning$1(false, 'Rendering <Context.Consumer.Provider> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Provider> instead?');
|
|
2446
|
+
}
|
|
2447
|
+
return context.Provider;
|
|
2448
|
+
},
|
|
2449
|
+
set: function (_Provider) {
|
|
2450
|
+
context.Provider = _Provider;
|
|
2451
|
+
}
|
|
2452
|
+
},
|
|
2453
|
+
_currentValue: {
|
|
2454
|
+
get: function () {
|
|
2455
|
+
return context._currentValue;
|
|
2456
|
+
},
|
|
2457
|
+
set: function (_currentValue) {
|
|
2458
|
+
context._currentValue = _currentValue;
|
|
2459
|
+
}
|
|
2460
|
+
},
|
|
2461
|
+
_currentValue2: {
|
|
2462
|
+
get: function () {
|
|
2463
|
+
return context._currentValue2;
|
|
2464
|
+
},
|
|
2465
|
+
set: function (_currentValue2) {
|
|
2466
|
+
context._currentValue2 = _currentValue2;
|
|
2467
|
+
}
|
|
2468
|
+
},
|
|
2469
|
+
Consumer: {
|
|
2470
|
+
get: function () {
|
|
2471
|
+
if (!hasWarnedAboutUsingNestedContextConsumers) {
|
|
2472
|
+
hasWarnedAboutUsingNestedContextConsumers = true;
|
|
2473
|
+
warning$1(false, 'Rendering <Context.Consumer.Consumer> is not supported and will be removed in ' + 'a future major release. Did you mean to render <Context.Consumer> instead?');
|
|
2474
|
+
}
|
|
2475
|
+
return context.Consumer;
|
|
2476
|
+
}
|
|
2477
|
+
}
|
|
2478
|
+
});
|
|
2479
|
+
// $FlowFixMe: Flow complains about missing properties because it doesn't understand defineProperty
|
|
2480
|
+
context.Consumer = Consumer;
|
|
2481
|
+
}
|
|
2430
2482
|
|
|
2431
2483
|
{
|
|
2432
2484
|
context._currentRenderer = null;
|
|
@@ -2437,20 +2489,12 @@ function createContext(defaultValue, calculateChangedBits) {
|
|
|
2437
2489
|
}
|
|
2438
2490
|
|
|
2439
2491
|
function lazy(ctor) {
|
|
2440
|
-
var thenable = null;
|
|
2441
2492
|
return {
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
// Lazily create thenable by wrapping in an extra thenable.
|
|
2445
|
-
thenable = ctor();
|
|
2446
|
-
ctor = null;
|
|
2447
|
-
}
|
|
2448
|
-
return thenable.then(resolve, reject);
|
|
2449
|
-
},
|
|
2450
|
-
|
|
2493
|
+
$$typeof: REACT_LAZY_TYPE,
|
|
2494
|
+
_ctor: ctor,
|
|
2451
2495
|
// React uses these fields to store the result.
|
|
2452
|
-
|
|
2453
|
-
|
|
2496
|
+
_status: -1,
|
|
2497
|
+
_result: null
|
|
2454
2498
|
};
|
|
2455
2499
|
}
|
|
2456
2500
|
|
|
@@ -2475,30 +2519,25 @@ function forwardRef(render) {
|
|
|
2475
2519
|
};
|
|
2476
2520
|
}
|
|
2477
2521
|
|
|
2478
|
-
function
|
|
2522
|
+
function isValidElementType(type) {
|
|
2523
|
+
return typeof type === 'string' || typeof type === 'function' ||
|
|
2524
|
+
// Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2525
|
+
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE);
|
|
2526
|
+
}
|
|
2527
|
+
|
|
2528
|
+
function memo(type, compare) {
|
|
2479
2529
|
{
|
|
2480
|
-
if (
|
|
2481
|
-
warningWithoutStack$1(false, '
|
|
2482
|
-
} else {
|
|
2483
|
-
var prototype = render.prototype;
|
|
2484
|
-
if (prototype && prototype.isReactComponent) {
|
|
2485
|
-
warningWithoutStack$1(false, 'pure: The first argument must be a function component. Classes ' + 'are not supported. Use React.PureComponent instead.');
|
|
2486
|
-
}
|
|
2530
|
+
if (!isValidElementType(type)) {
|
|
2531
|
+
warningWithoutStack$1(false, 'memo: The first argument must be a component. Instead ' + 'received: %s', type === null ? 'null' : typeof type);
|
|
2487
2532
|
}
|
|
2488
2533
|
}
|
|
2489
2534
|
return {
|
|
2490
|
-
$$typeof:
|
|
2491
|
-
|
|
2535
|
+
$$typeof: REACT_MEMO_TYPE,
|
|
2536
|
+
type: type,
|
|
2492
2537
|
compare: compare === undefined ? null : compare
|
|
2493
2538
|
};
|
|
2494
2539
|
}
|
|
2495
2540
|
|
|
2496
|
-
function isValidElementType(type) {
|
|
2497
|
-
return typeof type === 'string' || typeof type === 'function' ||
|
|
2498
|
-
// Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2499
|
-
type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || typeof type === 'object' && type !== null && (typeof type.then === 'function' || type.$$typeof === REACT_PURE_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE);
|
|
2500
|
-
}
|
|
2501
|
-
|
|
2502
2541
|
/**
|
|
2503
2542
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
2504
2543
|
*
|
|
@@ -2902,12 +2941,12 @@ var React = {
|
|
|
2902
2941
|
createContext: createContext,
|
|
2903
2942
|
forwardRef: forwardRef,
|
|
2904
2943
|
lazy: lazy,
|
|
2905
|
-
|
|
2944
|
+
memo: memo,
|
|
2906
2945
|
|
|
2907
2946
|
Fragment: REACT_FRAGMENT_TYPE,
|
|
2908
2947
|
StrictMode: REACT_STRICT_MODE_TYPE,
|
|
2909
2948
|
unstable_ConcurrentMode: REACT_CONCURRENT_MODE_TYPE,
|
|
2910
|
-
|
|
2949
|
+
Suspense: REACT_SUSPENSE_TYPE,
|
|
2911
2950
|
unstable_Profiler: REACT_PROFILER_TYPE,
|
|
2912
2951
|
|
|
2913
2952
|
createElement: createElementWithValidation,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.6.0
|
|
1
|
+
/** @license React v16.6.0
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,27 +6,26 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
'use strict';(function(L,
|
|
10
|
-
1;throw a;}}function
|
|
11
|
-
|
|
12
|
-
c
|
|
13
|
-
|
|
14
|
-
function S(a){return"object"===typeof a&&null!==a&&a.$$typeof===
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"$&/")+"/")+
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
a,"forceUpdate")};ea.prototype=
|
|
22
|
-
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);a(l())},100)};if(e){var Na=performance;var l=function(){return Na.now()}}else l=function(){return Ka.now()};if("undefined"!==typeof window&&window._schedMock){e=window._schedMock;var
|
|
23
|
-
typeof window||"function"!==typeof window.addEventListener){var
|
|
24
|
-
"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
|
|
25
|
-
a){Z=!0;try{a(
|
|
26
|
-
b;b.previous=
|
|
27
|
-
a,
|
|
28
|
-
unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Oa},unstable_subscribe:function(a){},unstable_trace:function(a,b,c){return c()},unstable_unsubscribe:function(a){},unstable_wrap:function(a){return a}}});var ha=Object.prototype.hasOwnProperty,ia={key:!0,ref:!0,__self:!0,__source:!0},ma=/\/+/g,G=[];
|
|
29
|
-
count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];W(a,b,null,function(a){return a});return b},only:function(a){S(a)?void 0:
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
version:"16.6.0-alpha.8af6728",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:e};p=(X={default:p},p)||X;return p.default||p});
|
|
9
|
+
'use strict';(function(L,p){"object"===typeof exports&&"undefined"!==typeof module?module.exports=p():"function"===typeof define&&define.amd?define(p):L.React=p()})(this,function(){function L(a,b,c,f,n,d,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 g=[c,f,n,d,e,h],ta=0;a=Error(b.replace(/%s/g,function(){return g[ta++]}));a.name="Invariant Violation"}a.framesToPop=
|
|
10
|
+
1;throw a;}}function p(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=0;f<b;f++)c+="&args[]="+encodeURIComponent(arguments[f+1]);L(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",c)}function r(a,b,c){this.props=a;this.context=b;this.refs=ca;this.updater=c||da}function ea(){}function M(a,b,c){this.props=a;this.context=b;this.refs=ca;this.updater=
|
|
11
|
+
c||da}function u(){if(!v){var a=d.expirationTime;E?N():E=!0;F(ua,a)}}function O(){var a=d,b=d.next;if(d===b)d=null;else{var c=d.previous;d=c.next=b;b.previous=c}a.next=a.previous=null;c=a.callback;b=a.expirationTime;a=a.priorityLevel;var f=k,n=w;k=a;w=b;try{var g=c(P)}finally{k=f,w=n}if("function"===typeof g)if(g={callback:g,priorityLevel:a,expirationTime:b,next:null,previous:null},null===d)d=g.next=g.previous=g;else{c=null;a=d;do{if(a.expirationTime>=b){c=a;break}a=a.next}while(a!==d);null===c?c=
|
|
12
|
+
d:c===d&&(d=g,u());b=c.previous;b.next=c.previous=g;g.next=c;g.previous=b}}function Q(){if(-1===m&&null!==d&&1===d.priorityLevel){v=!0;P.didTimeout=!0;try{do O();while(null!==d&&1===d.priorityLevel)}finally{v=!1,null!==d?u():E=!1}}}function ua(a){v=!0;P.didTimeout=a;try{if(a)for(;null!==d;){var b=l();if(d.expirationTime<=b){do O();while(null!==d&&d.expirationTime<=b)}else break}else if(null!==d){do O();while(null!==d&&0<x()-l())}}finally{v=!1,null!==d?u():E=!1,Q()}}function fa(a,b,c){var f=void 0,
|
|
13
|
+
n={},d=null,e=null;if(null!=b)for(f in void 0!==b.ref&&(e=b.ref),void 0!==b.key&&(d=""+b.key),b)ha.call(b,f)&&!ia.hasOwnProperty(f)&&(n[f]=b[f]);var h=arguments.length-2;if(1===h)n.children=c;else if(1<h){for(var k=Array(h),l=0;l<h;l++)k[l]=arguments[l+2];n.children=k}if(a&&a.defaultProps)for(f in h=a.defaultProps,h)void 0===n[f]&&(n[f]=h[f]);return{$$typeof:y,type:a,key:d,ref:e,props:n,_owner:R.current}}function va(a,b){return{$$typeof:y,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}
|
|
14
|
+
function S(a){return"object"===typeof a&&null!==a&&a.$$typeof===y}function wa(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function ja(a,b,c,f){if(G.length){var d=G.pop();d.result=a;d.keyPrefix=b;d.func=c;d.context=f;d.count=0;return d}return{result:a,keyPrefix:b,func:c,context:f,count:0}}function ka(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>G.length&&G.push(a)}function T(a,b,c,f){var d=typeof a;if("undefined"===d||"boolean"===
|
|
15
|
+
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 y:case xa:g=!0}}if(g)return c(f,a,""===b?"."+U(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var e=0;e<a.length;e++){d=a[e];var h=b+U(d,e);g+=T(d,h,c,f)}else if(null===a||"object"!==typeof a?h=null:(h=la&&a[la]||a["@@iterator"],h="function"===typeof h?h:null),"function"===typeof h)for(a=h.call(a),e=0;!(d=a.next()).done;)d=d.value,h=b+U(d,e++),g+=T(d,h,c,f);else"object"===
|
|
16
|
+
d&&(c=""+a,p("31","[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return g}function V(a,b,c){return null==a?0:T(a,"",b,c)}function U(a,b){return"object"===typeof a&&null!==a&&null!=a.key?wa(a.key):b.toString(36)}function ya(a,b,c){a.func.call(a.context,b,a.count++)}function za(a,b,c){var f=a.result,d=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?W(a,f,c,function(a){return a}):null!=a&&(S(a)&&(a=va(a,d+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(ma,
|
|
17
|
+
"$&/")+"/")+c)),f.push(a))}function W(a,b,c,f,d){var e="";null!=c&&(e=(""+c).replace(ma,"$&/")+"/");b=ja(b,e,f,d);V(a,za,b);ka(b)}var e="function"===typeof Symbol&&Symbol.for,y=e?Symbol.for("react.element"):60103,xa=e?Symbol.for("react.portal"):60106,q=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,Da=e?Symbol.for("react.concurrent_mode"):60111,Ea=
|
|
18
|
+
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,la="function"===typeof Symbol&&Symbol.iterator,na=Object.getOwnPropertySymbols,Ia=Object.prototype.hasOwnProperty,Ja=Object.prototype.propertyIsEnumerable,H=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==
|
|
19
|
+
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(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 c=Object(a);for(var d,e=1;e<arguments.length;e++){var g=Object(arguments[e]);for(var k in g)Ia.call(g,k)&&(c[k]=g[k]);
|
|
20
|
+
if(na){d=na(g);for(var h=0;h<d.length;h++)Ja.call(g,d[h])&&(c[d[h]]=g[d[h]])}}return c},da={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},ca={};r.prototype.isReactComponent={};r.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?p("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};r.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,
|
|
21
|
+
a,"forceUpdate")};ea.prototype=r.prototype;e=M.prototype=new ea;e.constructor=M;H(e,r.prototype);e.isPureReactComponent=!0;var d=null,k=3,m=-1,w=-1,v=!1,E=!1;e="object"===typeof performance&&"function"===typeof performance.now;var P={timeRemaining:e?function(){if(null!==d&&d.expirationTime<w)return 0;var a=x()-performance.now();return 0<a?a:0}:function(){if(null!==d&&d.expirationTime<w)return 0;var a=x()-Date.now();return 0<a?a:0},didTimeout:!1},Ka=Date,La="function"===typeof setTimeout?setTimeout:
|
|
22
|
+
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);a(l())},100)};if(e){var Na=performance;var l=function(){return Na.now()}}else l=function(){return Ka.now()};if("undefined"!==typeof window&&window._schedMock){e=window._schedMock;var F=e[0];var N=e[1];var x=e[2]}else if("undefined"===
|
|
23
|
+
typeof window||"function"!==typeof window.addEventListener){var z=null,A=-1,sa=function(a,b){if(null!==z){var c=z;z=null;try{A=b,c(a)}finally{A=-1}}};F=function(a,b){-1!==A?setTimeout(F,0,a,b):(z=a,setTimeout(sa,b,!0,b),setTimeout(sa,1073741823,!1,1073741823))};N=function(){z=null};x=function(){return Infinity};l=function(){return-1===A?0:A}}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"),
|
|
24
|
+
"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 t=null,I=!1,B=-1,C=!1,Z=!1,J=0,K=33,D=33;x=function(){return J};var aa="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(a){if(a.source===window&&a.data===aa){I=!1;a=t;var b=B;t=null;B=-1;var c=l(),d=!1;if(0>=J-c)if(-1!==b&&b<=c)d=!0;else{C||(C=!0,Y(ba));t=a;B=b;return}if(null!==
|
|
25
|
+
a){Z=!0;try{a(d)}finally{Z=!1}}}},!1);var ba=function(a){if(null!==t){Y(ba);var b=a-J+D;b<D&&K<D?(8>b&&(b=8),D=b<K?K:b):K=b;J=a+D;I||(I=!0,window.postMessage(aa,"*"))}else C=!1};F=function(a,b){t=a;B=b;Z||0>b?window.postMessage(aa,"*"):C||(C=!0,Y(ba))};N=function(){t=null;I=!1;B=-1}}var Oa=0,R={current:null,currentDispatcher:null};e={ReactCurrentOwner:R,assign:H};H(e,{Scheduler:{unstable_cancelCallback:function(a){var b=a.next;if(null!==b){if(b===a)d=null;else{a===d&&(d=b);var c=a.previous;c.next=
|
|
26
|
+
b;b.previous=c}a.next=a.previous=null}},unstable_now:l,unstable_scheduleCallback:function(a,b){var c=-1!==m?m:l();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=c+b.timeout;else switch(k){case 1:b=c+-1;break;case 2:b=c+250;break;case 4:b=c+1073741823;break;default:b=c+5E3}a={callback:a,priorityLevel:k,expirationTime:b,next:null,previous:null};if(null===d)d=a.next=a.previous=a,u();else{c=null;var f=d;do{if(f.expirationTime>b){c=f;break}f=f.next}while(f!==d);null===c?c=d:c===d&&(d=
|
|
27
|
+
a,u());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:break;default:a=3}var c=k,d=m;k=a;m=l();try{return b()}finally{k=c,m=d,Q()}},unstable_wrapCallback:function(a){var b=k;return function(){var c=k,d=m;k=b;m=l();try{return a.apply(this,arguments)}finally{k=c,m=d,Q()}}},unstable_getCurrentPriorityLevel:function(){return k}},SchedulerTracing:{__interactionsRef:null,__subscriberRef:null,unstable_clear:function(a){return a()},
|
|
28
|
+
unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Oa},unstable_subscribe:function(a){},unstable_trace:function(a,b,c){return c()},unstable_unsubscribe:function(a){},unstable_wrap:function(a){return a}}});var ha=Object.prototype.hasOwnProperty,ia={key:!0,ref:!0,__self:!0,__source:!0},ma=/\/+/g,G=[];q={Children:{map:function(a,b,c){if(null==a)return a;var d=[];W(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=ja(null,null,b,c);V(a,ya,b);ka(b)},
|
|
29
|
+
count:function(a){return V(a,function(){return null},null)},toArray:function(a){var b=[];W(a,b,null,function(a){return a});return b},only:function(a){S(a)?void 0:p("143");return a}},createRef:function(){return{current:null}},Component:r,PureComponent:M,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:Ca,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,Provider:null,Consumer:null};a.Provider={$$typeof:Ba,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Ea,
|
|
30
|
+
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}},Fragment:q,StrictMode:X,unstable_ConcurrentMode:Da,Suspense:Fa,unstable_Profiler:Aa,createElement:fa,cloneElement:function(a,b,d){null===a||void 0===a?p("267",a):void 0;var c=void 0,e=H({},a.props),g=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=R.current);void 0!==b.key&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=
|
|
31
|
+
a.type.defaultProps);for(c in b)ha.call(b,c)&&!ia.hasOwnProperty(c)&&(e[c]=void 0===b[c]&&void 0!==l?l[c]:b[c])}c=arguments.length-2;if(1===c)e.children=d;else if(1<c){l=Array(c);for(var m=0;m<c;m++)l[m]=arguments[m+2];e.children=l}return{$$typeof:y,type:a.type,key:g,ref:k,props:e,_owner:h}},createFactory:function(a){var b=fa.bind(null,a);b.type=a;return b},isValidElement:S,version:"16.6.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:e};q=(X={default:q},q)||X;return q.default||q});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.6.0
|
|
1
|
+
/** @license React v16.6.0
|
|
2
2
|
* react.profiling.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,31 +6,31 @@
|
|
|
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||ha}function x(){if(!y){var a=f.expirationTime;H?
|
|
12
|
-
f:c===f&&(f=k,x(
|
|
9
|
+
'use strict';(function(O,r){"object"===typeof exports&&"undefined"!==typeof module?module.exports=r():"function"===typeof define&&define.amd?define(r):O.React=r()})(this,function(){function O(a,b,c,d,e,k,f,h){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var wa=[c,d,e,k,f,h],g=0;a=Error(b.replace(/%s/g,function(){return wa[g++]}));a.name="Invariant Violation"}a.framesToPop=
|
|
10
|
+
1;throw a;}}function r(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=0;d<b;d++)c+="&args[]="+encodeURIComponent(arguments[d+1]);O(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",c)}function v(a,b,c){this.props=a;this.context=b;this.refs=fa;this.updater=c||ha}function ia(){}function P(a,b,c){this.props=a;this.context=b;this.refs=fa;this.updater=
|
|
11
|
+
c||ha}function x(){if(!y){var a=f.expirationTime;H?Q():H=!0;I(xa,a)}}function R(){var a=f,b=f.next;if(f===b)f=null;else{var c=f.previous;f=c.next=b;b.previous=c}a.next=a.previous=null;c=a.callback;b=a.expirationTime;a=a.priorityLevel;var d=l,e=z;l=a;z=b;try{var k=c(S)}finally{l=d,z=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===q&&null!==f&&1===f.priorityLevel){y=!0;S.didTimeout=!0;try{do R();while(null!==f&&1===f.priorityLevel)}finally{y=!1,null!==f?x():H=!1}}}function xa(a){y=!0;S.didTimeout=a;try{if(a)for(;null!==f;){var b=p();if(f.expirationTime<=b){do R();while(null!==f&&f.expirationTime<=b)}else break}else if(null!==f){do R();while(null!==f&&0<A()-p())}}finally{y=!1,null!==f?x():H=!1,T()}}function ya(a){var b=!1,c=null;
|
|
13
13
|
n.forEach(function(d){try{d.onInteractionTraced(a)}catch(e){b||(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;
|
|
14
14
|
n.forEach(function(e){try{e.onWorkStopped(a,b)}catch(k){c||(c=!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 ja(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)ka.call(b,d)&&!la.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=
|
|
15
|
-
g}if(a&&a.defaultProps)for(d in h=a.defaultProps,h)void 0===e[d]&&(e[d]=h[d]);return{$$typeof:B,type:a,key:k,ref:f,props:e,_owner:
|
|
16
|
-
0;return e}return{result:a,keyPrefix:b,func:c,context:d,count:0}}function na(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>
|
|
17
|
-
b+X(e,f);k+=W(e,h,c,d)}else if(null===a||"object"!==typeof a?h=null:(h=oa&&a[oa]||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,
|
|
18
|
-
b,c){a.func.call(a.context,b,a.count++)}function Ia(a,b,c){var d=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(pa,"$&/")+"/")+c)),d.push(a))}function Z(a,b,c,d,e){var f="";null!=c&&(f=(""+c).replace(pa,"$&/")+"/");b=ma(b,f,d,e);Y(a,Ia,b);na(b)}function
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
15
|
+
g}if(a&&a.defaultProps)for(d in h=a.defaultProps,h)void 0===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 ma(a,b,c,d){if(J.length){var e=J.pop();e.result=a;e.keyPrefix=b;e.func=c;e.context=d;e.count=
|
|
16
|
+
0;return e}return{result:a,keyPrefix:b,func:c,context:d,count:0}}function na(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>J.length&&J.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=
|
|
17
|
+
b+X(e,f);k+=W(e,h,c,d)}else if(null===a||"object"!==typeof a?h=null:(h=oa&&a[oa]||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,r("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,
|
|
18
|
+
b,c){a.func.call(a.context,b,a.count++)}function Ia(a,b,c){var d=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(pa,"$&/")+"/")+c)),d.push(a))}function Z(a,b,c,d,e){var f="";null!=c&&(f=(""+c).replace(pa,"$&/")+"/");b=ma(b,f,d,e);Y(a,Ia,b);na(b)}var g="function"===typeof Symbol&&Symbol.for,B=g?Symbol.for("react.element"):60103,Ga=g?Symbol.for("react.portal"):60106,
|
|
19
|
+
u=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,oa="function"===typeof Symbol&&Symbol.iterator,qa=Object.getOwnPropertySymbols,Ra=Object.prototype.hasOwnProperty,
|
|
20
|
+
Sa=Object.prototype.propertyIsEnumerable,K=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},ha={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},fa={};v.prototype.isReactComponent=
|
|
22
|
+
{};v.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?r("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};v.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};ia.prototype=v.prototype;g=P.prototype=new ia;g.constructor=P;K(g,v.prototype);g.isPureReactComponent=!0;var f=null,l=3,q=-1,z=-1,y=!1,H=!1;g="object"===typeof performance&&"function"===typeof performance.now;var S={timeRemaining:g?function(){if(null!==f&&
|
|
23
|
+
f.expirationTime<z)return 0;var a=A()-performance.now();return 0<a?a:0}:function(){if(null!==f&&f.expirationTime<z)return 0;var a=A()-Date.now();return 0<a?a:0},didTimeout:!1},Ta=Date,Ua="function"===typeof setTimeout?setTimeout:void 0,Va="function"===typeof clearTimeout?clearTimeout: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);
|
|
24
|
+
a(p())},100)};if(g){var Wa=performance;var p=function(){return Wa.now()}}else p=function(){return Ta.now()};if("undefined"!==typeof window&&window._schedMock){g=window._schedMock;var I=g[0];var Q=g[1];var A=g[2]}else if("undefined"===typeof window||"function"!==typeof window.addEventListener){var C=null,D=-1,va=function(a,b){if(null!==C){var c=C;C=null;try{D=b,c(a)}finally{D=-1}}};I=function(a,b){-1!==D?setTimeout(I,0,a,b):(C=a,setTimeout(va,b,!0,b),setTimeout(va,1073741823,!1,1073741823))};Q=function(){C=
|
|
25
|
+
null};A=function(){return Infinity};p=function(){return-1===D?0:D}}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"),"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 w=null,L=!1,E=-1,F=!1,ca=!1,M=0,N=33,G=33;
|
|
26
|
+
A=function(){return M};var da="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(a){if(a.source===window&&a.data===da){L=!1;a=w;var b=E;w=null;E=-1;var c=p(),d=!1;if(0>=M-c)if(-1!==b&&b<=c)d=!0;else{F||(F=!0,ba(ea));w=a;E=b;return}if(null!==a){ca=!0;try{a(d)}finally{ca=!1}}}},!1);var ea=function(a){if(null!==w){ba(ea);var b=a-M+G;b<G&&N<G?(8>b&&(b=8),G=b<N?N:b):N=b;M=a+G;L||(L=!0,window.postMessage(da,"*"))}else F=!1};I=function(a,b){w=a;E=b;ca||
|
|
27
|
+
0>b?window.postMessage(da,"*"):F||(F=!0,ba(ea))};Q=function(){w=null;L=!1;E=-1}}var Xa=0,Ya=0,m=null,t=null;m={current:new Set};t={current:null};var n=null;n=new Set;var U={current:null,currentDispatcher:null};g={ReactCurrentOwner:U,assign:K};K(g,{Scheduler:{unstable_cancelCallback:function(a){var b=a.next;if(null!==b){if(b===a)f=null;else{a===f&&(f=b);var c=a.previous;c.next=b;b.previous=c}a.next=a.previous=null}},unstable_now:p,unstable_scheduleCallback:function(a,b){var c=-1!==q?q:p();if("object"===
|
|
28
|
+
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 4:b=c+1073741823;break;default:b=c+5E3}a={callback:a,priorityLevel:l,expirationTime:b,next:null,previous:null};if(null===f)f=a.next=a.previous=a,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:break;
|
|
29
|
+
default:a=3}var c=l,d=q;l=a;q=p();try{return b()}finally{l=c,q=d,T()}},unstable_wrapCallback:function(a){var b=l;return function(){var c=l,d=q;l=b;q=p();try{return a.apply(this,arguments)}finally{l=c,q=d,T()}}},unstable_getCurrentPriorityLevel:function(){return l}},SchedulerTracing:{__interactionsRef:m,__subscriberRef:t,unstable_clear:function(a){var b=m.current;m.current=new Set;try{return a()}finally{m.current=b}},unstable_getCurrent:function(){return m.current},unstable_getThreadID:function(){return++Ya},
|
|
30
|
+
unstable_subscribe:function(a){n.add(a);1===n.size&&(t.current={onInteractionScheduledWorkCompleted:za,onInteractionTraced:ya,onWorkCanceled:Da,onWorkScheduled:Aa,onWorkStarted:Ba,onWorkStopped:Ca})},unstable_trace:function(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,e={__count:1,id:Xa++,name:a,timestamp:b},f=m.current,g=new Set(f);g.add(e);m.current=g;var h=t.current,l=void 0;try{if(null!==h)h.onInteractionTraced(e)}finally{try{if(null!==h)h.onWorkStarted(g,d)}finally{try{l=
|
|
31
|
+
c()}finally{m.current=f;try{if(null!==h)h.onWorkStopped(g,d)}finally{if(e.__count--,null!==h&&0===e.__count)h.onInteractionScheduledWorkCompleted(e)}}}}return l},unstable_unsubscribe:function(a){n.delete(a);0===n.size&&(t.current=null)},unstable_wrap:function(a){function b(){var b=m.current;m.current=d;e=t.current;try{var h=void 0;try{if(null!==e)e.onWorkStarted(d,c)}finally{try{h=a.apply(void 0,arguments)}finally{if(m.current=b,null!==e)e.onWorkStopped(d,c)}}return h}finally{f||(f=!0,d.forEach(function(a){a.__count--;
|
|
32
|
+
if(null!==e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)}))}}var c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,d=m.current,e=t.current;if(null!==e)e.onWorkScheduled(d,c);d.forEach(function(a){a.__count++});var f=!1;b.cancel=function(){e=t.current;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 ka=Object.prototype.hasOwnProperty,la={key:!0,ref:!0,__self:!0,__source:!0},
|
|
33
|
+
pa=/\/+/g,J=[];u={Children:{map:function(a,b,c){if(null==a)return a;var d=[];Z(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=ma(null,null,b,c);Y(a,Ha,b);na(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:r("143");return a}},createRef:function(){return{current:null}},Component:v,PureComponent:P,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:La,
|
|
34
|
+
_calculateChangedBits:b,_currentValue:a,_currentValue2:a,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}},Fragment:u,StrictMode:aa,unstable_ConcurrentMode:Ma,Suspense:Oa,unstable_Profiler:Ja,createElement:ja,cloneElement:function(a,b,c){null===a||void 0===a?r("267",a):
|
|
35
|
+
void 0;var d=void 0,e=K({},a.props),f=a.key,g=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,h=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)ka.call(b,d)&&!la.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=
|
|
36
|
+
ja.bind(null,a);b.type=a;return b},isValidElement:V,version:"16.6.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:g};u=(aa={default:u},u)||aa;return u.default||u});
|