react 16.7.0 → 16.8.0-alpha.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 +19 -8
- package/cjs/react.production.min.js +17 -16
- package/package.json +12 -12
- package/umd/react.development.js +26 -13
- package/umd/react.production.min.js +26 -24
- package/umd/react.profiling.min.js +30 -28
package/build-info.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"branch": "
|
|
3
|
-
"buildNumber": "
|
|
4
|
-
"checksum": "
|
|
5
|
-
"commit": "
|
|
2
|
+
"branch": "pull/14555",
|
|
3
|
+
"buildNumber": "12980",
|
|
4
|
+
"checksum": "0715bcb",
|
|
5
|
+
"commit": "f22621f88",
|
|
6
6
|
"environment": "ci",
|
|
7
|
-
"reactVersion": "16.
|
|
7
|
+
"reactVersion": "16.7.0-canary-f22621f88"
|
|
8
8
|
}
|
package/cjs/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.8.0-alpha.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.8.0-alpha.0';
|
|
24
24
|
|
|
25
25
|
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
26
26
|
// nor polyfill, then a plain number is used for performance.
|
|
@@ -54,7 +54,7 @@ function getIteratorFn(maybeIterable) {
|
|
|
54
54
|
return null;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
var enableHooks =
|
|
57
|
+
var enableHooks = true;
|
|
58
58
|
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
59
59
|
|
|
60
60
|
|
|
@@ -92,7 +92,7 @@ var enableHooks = false;
|
|
|
92
92
|
|
|
93
93
|
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
|
94
94
|
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
|
95
|
-
var enableStableConcurrentModeAPIs =
|
|
95
|
+
var enableStableConcurrentModeAPIs = true;
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
98
|
* Use invariant() to assert state which your program assumes to be true.
|
|
@@ -449,6 +449,17 @@ function createRef() {
|
|
|
449
449
|
return refObject;
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
+
/**
|
|
453
|
+
* Keeps track of the current dispatcher.
|
|
454
|
+
*/
|
|
455
|
+
var ReactCurrentDispatcher = {
|
|
456
|
+
/**
|
|
457
|
+
* @internal
|
|
458
|
+
* @type {ReactComponent}
|
|
459
|
+
*/
|
|
460
|
+
current: null
|
|
461
|
+
};
|
|
462
|
+
|
|
452
463
|
/**
|
|
453
464
|
* Keeps track of the current owner.
|
|
454
465
|
*
|
|
@@ -460,8 +471,7 @@ var ReactCurrentOwner = {
|
|
|
460
471
|
* @internal
|
|
461
472
|
* @type {ReactComponent}
|
|
462
473
|
*/
|
|
463
|
-
current: null
|
|
464
|
-
currentDispatcher: null
|
|
474
|
+
current: null
|
|
465
475
|
};
|
|
466
476
|
|
|
467
477
|
var BEFORE_SLASH_RE = /^(.*)[\\\/]/;
|
|
@@ -592,6 +602,7 @@ function setCurrentlyValidatingElement(element) {
|
|
|
592
602
|
}
|
|
593
603
|
|
|
594
604
|
var ReactSharedInternals = {
|
|
605
|
+
ReactCurrentDispatcher: ReactCurrentDispatcher,
|
|
595
606
|
ReactCurrentOwner: ReactCurrentOwner,
|
|
596
607
|
// Used by renderers to avoid bundling object-assign twice in UMD bundles:
|
|
597
608
|
assign: _assign
|
|
@@ -1461,7 +1472,7 @@ function memo(type, compare) {
|
|
|
1461
1472
|
}
|
|
1462
1473
|
|
|
1463
1474
|
function resolveDispatcher() {
|
|
1464
|
-
var dispatcher =
|
|
1475
|
+
var dispatcher = ReactCurrentDispatcher.current;
|
|
1465
1476
|
!(dispatcher !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component.') : void 0;
|
|
1466
1477
|
return dispatcher;
|
|
1467
1478
|
}
|
|
@@ -1610,7 +1621,7 @@ function validateExplicitKey(element, parentType) {
|
|
|
1610
1621
|
|
|
1611
1622
|
setCurrentlyValidatingElement(element);
|
|
1612
1623
|
{
|
|
1613
|
-
warning$1(false, 'Each child in
|
|
1624
|
+
warning$1(false, 'Each child in a list should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
|
1614
1625
|
}
|
|
1615
1626
|
setCurrentlyValidatingElement(null);
|
|
1616
1627
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.8.0-alpha.0
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -7,18 +7,19 @@
|
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
'use strict';var
|
|
11
|
-
60115,
|
|
12
|
-
function
|
|
13
|
-
function
|
|
14
|
-
|
|
15
|
-
function
|
|
16
|
-
function
|
|
17
|
-
function
|
|
18
|
-
function
|
|
19
|
-
0;!(
|
|
20
|
-
function
|
|
21
|
-
var X={Children:{map:function(a,b,
|
|
22
|
-
_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:y,render:a}},lazy:function(a){return{$$typeof:
|
|
23
|
-
if(null!=b){void 0!==b.ref&&(
|
|
24
|
-
unstable_ConcurrentMode:x,unstable_Profiler:u,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:
|
|
10
|
+
'use strict';var h=require("object-assign"),l="function"===typeof Symbol&&Symbol.for,p=l?Symbol.for("react.element"):60103,q=l?Symbol.for("react.portal"):60106,r=l?Symbol.for("react.fragment"):60107,t=l?Symbol.for("react.strict_mode"):60108,u=l?Symbol.for("react.profiler"):60114,v=l?Symbol.for("react.provider"):60109,w=l?Symbol.for("react.context"):60110,x=l?Symbol.for("react.concurrent_mode"):60111,y=l?Symbol.for("react.forward_ref"):60112,z=l?Symbol.for("react.suspense"):60113,aa=l?Symbol.for("react.memo"):
|
|
11
|
+
60115,ba=l?Symbol.for("react.lazy"):60116,A="function"===typeof Symbol&&Symbol.iterator;function ca(a,b,d,c,e,g,k,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 m=[d,c,e,g,k,f],n=0;a=Error(b.replace(/%s/g,function(){return m[n++]}));a.name="Invariant Violation"}a.framesToPop=1;throw a;}}
|
|
12
|
+
function B(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=0;c<b;c++)d+="&args[]="+encodeURIComponent(arguments[c+1]);ca(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",d)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},D={};
|
|
13
|
+
function E(a,b,d){this.props=a;this.context=b;this.refs=D;this.updater=d||C}E.prototype.isReactComponent={};E.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?B("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function F(){}F.prototype=E.prototype;function G(a,b,d){this.props=a;this.context=b;this.refs=D;this.updater=d||C}var H=G.prototype=new F;
|
|
14
|
+
H.constructor=G;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,d){var c=void 0,e={},g=null,k=null;if(null!=b)for(c in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(g=""+b.key),b)K.call(b,c)&&!L.hasOwnProperty(c)&&(e[c]=b[c]);var f=arguments.length-2;if(1===f)e.children=d;else if(1<f){for(var m=Array(f),n=0;n<f;n++)m[n]=arguments[n+2];e.children=m}if(a&&a.defaultProps)for(c in f=a.defaultProps,f)void 0===e[c]&&(e[c]=f[c]);return{$$typeof:p,type:a,key:g,ref:k,props:e,_owner:J.current}}
|
|
16
|
+
function da(a,b){return{$$typeof:p,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function N(a){return"object"===typeof a&&null!==a&&a.$$typeof===p}function escape(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}var O=/\/+/g,P=[];function Q(a,b,d,c){if(P.length){var e=P.pop();e.result=a;e.keyPrefix=b;e.func=d;e.context=c;e.count=0;return e}return{result:a,keyPrefix:b,func:d,context:c,count:0}}
|
|
17
|
+
function R(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>P.length&&P.push(a)}
|
|
18
|
+
function S(a,b,d,c){var e=typeof a;if("undefined"===e||"boolean"===e)a=null;var g=!1;if(null===a)g=!0;else switch(e){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case p:case q:g=!0}}if(g)return d(c,a,""===b?"."+T(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var k=0;k<a.length;k++){e=a[k];var f=b+T(e,k);g+=S(e,f,d,c)}else if(null===a||"object"!==typeof a?f=null:(f=A&&a[A]||a["@@iterator"],f="function"===typeof f?f:null),"function"===typeof f)for(a=f.call(a),k=
|
|
19
|
+
0;!(e=a.next()).done;)e=e.value,f=b+T(e,k++),g+=S(e,f,d,c);else"object"===e&&(d=""+a,B("31","[object Object]"===d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return g}function U(a,b,d){return null==a?0:S(a,"",b,d)}function T(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(a.key):b.toString(36)}function ea(a,b){a.func.call(a.context,b,a.count++)}
|
|
20
|
+
function fa(a,b,d){var c=a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?V(a,c,d,function(a){return a}):null!=a&&(N(a)&&(a=da(a,e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(O,"$&/")+"/")+d)),c.push(a))}function V(a,b,d,c,e){var g="";null!=d&&(g=(""+d).replace(O,"$&/")+"/");b=Q(b,g,c,e);U(a,fa,b);R(b)}function W(){var a=I.current;null===a?B("298"):void 0;return a}
|
|
21
|
+
var X={Children:{map:function(a,b,d){if(null==a)return a;var c=[];V(a,c,null,b,d);return c},forEach:function(a,b,d){if(null==a)return a;b=Q(null,null,b,d);U(a,ea,b);R(b)},count:function(a){return U(a,function(){return null},null)},toArray:function(a){var b=[];V(a,b,null,function(a){return a});return b},only:function(a){N(a)?void 0:B("143");return a}},createRef:function(){return{current:null}},Component:E,PureComponent:G,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:w,_calculateChangedBits:b,
|
|
22
|
+
_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:v,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:y,render:a}},lazy:function(a){return{$$typeof:ba,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:aa,type:a,compare:void 0===b?null:b}},Fragment:r,StrictMode:t,Suspense:z,createElement:M,cloneElement:function(a,b,d){null===a||void 0===a?B("267",a):void 0;var c=void 0,e=h({},a.props),g=a.key,k=a.ref,f=a._owner;
|
|
23
|
+
if(null!=b){void 0!==b.ref&&(k=b.ref,f=J.current);void 0!==b.key&&(g=""+b.key);var m=void 0;a.type&&a.type.defaultProps&&(m=a.type.defaultProps);for(c in b)K.call(b,c)&&!L.hasOwnProperty(c)&&(e[c]=void 0===b[c]&&void 0!==m?m[c]:b[c])}c=arguments.length-2;if(1===c)e.children=d;else if(1<c){m=Array(c);for(var n=0;n<c;n++)m[n]=arguments[n+2];e.children=m}return{$$typeof:p,type:a.type,key:g,ref:k,props:e,_owner:f}},createFactory:function(a){var b=M.bind(null,a);b.type=a;return b},isValidElement:N,version:"16.8.0-alpha.0",
|
|
24
|
+
unstable_ConcurrentMode:x,unstable_Profiler:u,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:I,ReactCurrentOwner:J,assign:h}};X.ConcurrentMode=x;X.Profiler=u;X.unstable_ConcurrentMode=void 0;X.unstable_Profiler=void 0;X.useCallback=function(a,b){return W().useCallback(a,b)};X.useContext=function(a,b){return W().useContext(a,b)};X.useEffect=function(a,b){return W().useEffect(a,b)};X.useImperativeMethods=function(a,b,d){return W().useImperativeMethods(a,b,d)};
|
|
25
|
+
X.useLayoutEffect=function(a,b){return W().useLayoutEffect(a,b)};X.useMemo=function(a,b){return W().useMemo(a,b)};X.useReducer=function(a,b,d){return W().useReducer(a,b,d)};X.useRef=function(a){return W().useRef(a)};X.useState=function(a){return W().useState(a)};var Y={default:X},Z=Y&&X||Y;module.exports=Z.default||Z;
|
package/package.json
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_from": "react@0.0.0-
|
|
3
|
-
"_id": "react@0.0.0-
|
|
2
|
+
"_from": "react@0.0.0-f22621f88",
|
|
3
|
+
"_id": "react@0.0.0-f22621f88",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-AFOkK6cNns4Vdrq5YB0cRPLslzym5Y2iLL5bPWz2s48O7cSrHIfhZJHL8n9GhkaTYil6enMt03bSJaMrlOLfzw==",
|
|
6
6
|
"_location": "/react",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
9
9
|
"type": "version",
|
|
10
10
|
"registry": true,
|
|
11
|
-
"raw": "react@0.0.0-
|
|
11
|
+
"raw": "react@0.0.0-f22621f88",
|
|
12
12
|
"name": "react",
|
|
13
13
|
"escapedName": "react",
|
|
14
|
-
"rawSpec": "0.0.0-
|
|
14
|
+
"rawSpec": "0.0.0-f22621f88",
|
|
15
15
|
"saveSpec": null,
|
|
16
|
-
"fetchSpec": "0.0.0-
|
|
16
|
+
"fetchSpec": "0.0.0-f22621f88"
|
|
17
17
|
},
|
|
18
18
|
"_requiredBy": [
|
|
19
19
|
"#USER",
|
|
20
20
|
"/"
|
|
21
21
|
],
|
|
22
|
-
"_resolved": "https://registry.npmjs.org/react/-/react-0.0.0-
|
|
23
|
-
"_shasum": "
|
|
24
|
-
"_spec": "react@0.0.0-
|
|
25
|
-
"_where": "/Users/
|
|
22
|
+
"_resolved": "https://registry.npmjs.org/react/-/react-0.0.0-f22621f88.tgz",
|
|
23
|
+
"_shasum": "f69c6e51546bb86f79c0424010e86273a70a972c",
|
|
24
|
+
"_spec": "react@0.0.0-f22621f88",
|
|
25
|
+
"_where": "/Users/gaearon/p/react/build/node_modules",
|
|
26
26
|
"browserify": {
|
|
27
27
|
"transform": [
|
|
28
28
|
"loose-envify"
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"loose-envify": "^1.1.0",
|
|
37
37
|
"object-assign": "^4.1.1",
|
|
38
38
|
"prop-types": "^15.6.2",
|
|
39
|
-
"scheduler": "^0.
|
|
39
|
+
"scheduler": "^0.13.0-alpha.0"
|
|
40
40
|
},
|
|
41
41
|
"deprecated": false,
|
|
42
42
|
"description": "React is a JavaScript library for building user interfaces.",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"type": "git",
|
|
63
63
|
"url": "git+https://github.com/facebook/react.git"
|
|
64
64
|
},
|
|
65
|
-
"version": "16.
|
|
65
|
+
"version": "16.8.0-alpha.0"
|
|
66
66
|
}
|
package/umd/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.8.0-alpha.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.8.0-alpha.0';
|
|
21
21
|
|
|
22
22
|
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
23
23
|
// nor polyfill, then a plain number is used for performance.
|
|
@@ -51,7 +51,7 @@ function getIteratorFn(maybeIterable) {
|
|
|
51
51
|
return null;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
var enableHooks =
|
|
54
|
+
var enableHooks = true;
|
|
55
55
|
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
56
56
|
|
|
57
57
|
|
|
@@ -78,7 +78,7 @@ var enableSchedulerTracing = true;
|
|
|
78
78
|
// TODO: true? Here it might just be false.
|
|
79
79
|
|
|
80
80
|
// Only used in www builds.
|
|
81
|
-
|
|
81
|
+
|
|
82
82
|
|
|
83
83
|
// Only used in www builds.
|
|
84
84
|
|
|
@@ -89,7 +89,7 @@ var enableSchedulerDebugging = true;
|
|
|
89
89
|
|
|
90
90
|
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
|
91
91
|
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
|
92
|
-
var enableStableConcurrentModeAPIs =
|
|
92
|
+
var enableStableConcurrentModeAPIs = true;
|
|
93
93
|
|
|
94
94
|
/*
|
|
95
95
|
object-assign
|
|
@@ -537,6 +537,8 @@ function createRef() {
|
|
|
537
537
|
return refObject;
|
|
538
538
|
}
|
|
539
539
|
|
|
540
|
+
var enableSchedulerDebugging$1 = false;
|
|
541
|
+
|
|
540
542
|
/* eslint-disable no-var */
|
|
541
543
|
|
|
542
544
|
// TODO: Use symbols?
|
|
@@ -703,7 +705,7 @@ function flushImmediateWork() {
|
|
|
703
705
|
function flushWork(didTimeout) {
|
|
704
706
|
// Exit right away if we're currently paused
|
|
705
707
|
|
|
706
|
-
if (enableSchedulerDebugging && isSchedulerPaused) {
|
|
708
|
+
if (enableSchedulerDebugging$1 && isSchedulerPaused) {
|
|
707
709
|
return;
|
|
708
710
|
}
|
|
709
711
|
|
|
@@ -713,7 +715,7 @@ function flushWork(didTimeout) {
|
|
|
713
715
|
try {
|
|
714
716
|
if (didTimeout) {
|
|
715
717
|
// Flush all the expired callbacks without yielding.
|
|
716
|
-
while (firstCallbackNode !== null && !(enableSchedulerDebugging && isSchedulerPaused)) {
|
|
718
|
+
while (firstCallbackNode !== null && !(enableSchedulerDebugging$1 && isSchedulerPaused)) {
|
|
717
719
|
// TODO Wrap i nfeature flag
|
|
718
720
|
// Read the current time. Flush all the callbacks that expire at or
|
|
719
721
|
// earlier than that time. Then read the current time again and repeat.
|
|
@@ -722,7 +724,7 @@ function flushWork(didTimeout) {
|
|
|
722
724
|
if (firstCallbackNode.expirationTime <= currentTime) {
|
|
723
725
|
do {
|
|
724
726
|
flushFirstCallback();
|
|
725
|
-
} while (firstCallbackNode !== null && firstCallbackNode.expirationTime <= currentTime && !(enableSchedulerDebugging && isSchedulerPaused));
|
|
727
|
+
} while (firstCallbackNode !== null && firstCallbackNode.expirationTime <= currentTime && !(enableSchedulerDebugging$1 && isSchedulerPaused));
|
|
726
728
|
continue;
|
|
727
729
|
}
|
|
728
730
|
break;
|
|
@@ -731,7 +733,7 @@ function flushWork(didTimeout) {
|
|
|
731
733
|
// Keep flushing callbacks until we run out of time in the frame.
|
|
732
734
|
if (firstCallbackNode !== null) {
|
|
733
735
|
do {
|
|
734
|
-
if (enableSchedulerDebugging && isSchedulerPaused) {
|
|
736
|
+
if (enableSchedulerDebugging$1 && isSchedulerPaused) {
|
|
735
737
|
break;
|
|
736
738
|
}
|
|
737
739
|
flushFirstCallback();
|
|
@@ -1526,6 +1528,17 @@ function onWorkCanceled(interactions, threadID) {
|
|
|
1526
1528
|
}
|
|
1527
1529
|
}
|
|
1528
1530
|
|
|
1531
|
+
/**
|
|
1532
|
+
* Keeps track of the current dispatcher.
|
|
1533
|
+
*/
|
|
1534
|
+
var ReactCurrentDispatcher = {
|
|
1535
|
+
/**
|
|
1536
|
+
* @internal
|
|
1537
|
+
* @type {ReactComponent}
|
|
1538
|
+
*/
|
|
1539
|
+
current: null
|
|
1540
|
+
};
|
|
1541
|
+
|
|
1529
1542
|
/**
|
|
1530
1543
|
* Keeps track of the current owner.
|
|
1531
1544
|
*
|
|
@@ -1537,8 +1550,7 @@ var ReactCurrentOwner = {
|
|
|
1537
1550
|
* @internal
|
|
1538
1551
|
* @type {ReactComponent}
|
|
1539
1552
|
*/
|
|
1540
|
-
current: null
|
|
1541
|
-
currentDispatcher: null
|
|
1553
|
+
current: null
|
|
1542
1554
|
};
|
|
1543
1555
|
|
|
1544
1556
|
var BEFORE_SLASH_RE = /^(.*)[\\\/]/;
|
|
@@ -1669,6 +1681,7 @@ function setCurrentlyValidatingElement(element) {
|
|
|
1669
1681
|
}
|
|
1670
1682
|
|
|
1671
1683
|
var ReactSharedInternals = {
|
|
1684
|
+
ReactCurrentDispatcher: ReactCurrentDispatcher,
|
|
1672
1685
|
ReactCurrentOwner: ReactCurrentOwner,
|
|
1673
1686
|
// Used by renderers to avoid bundling object-assign twice in UMD bundles:
|
|
1674
1687
|
assign: objectAssign
|
|
@@ -2571,7 +2584,7 @@ function memo(type, compare) {
|
|
|
2571
2584
|
}
|
|
2572
2585
|
|
|
2573
2586
|
function resolveDispatcher() {
|
|
2574
|
-
var dispatcher =
|
|
2587
|
+
var dispatcher = ReactCurrentDispatcher.current;
|
|
2575
2588
|
!(dispatcher !== null) ? invariant(false, 'Hooks can only be called inside the body of a function component.') : void 0;
|
|
2576
2589
|
return dispatcher;
|
|
2577
2590
|
}
|
|
@@ -2825,7 +2838,7 @@ function validateExplicitKey(element, parentType) {
|
|
|
2825
2838
|
|
|
2826
2839
|
setCurrentlyValidatingElement(element);
|
|
2827
2840
|
{
|
|
2828
|
-
warning$1(false, 'Each child in
|
|
2841
|
+
warning$1(false, 'Each child in a list should have a unique "key" prop.' + '%s%s See https://fb.me/react-warning-keys for more information.', currentComponentErrorInfo, childOwner);
|
|
2829
2842
|
}
|
|
2830
2843
|
setCurrentlyValidatingElement(null);
|
|
2831
2844
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.8.0-alpha.0
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,26 +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(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
c
|
|
13
|
-
|
|
14
|
-
typeof a&&null!==a&&a.$$typeof===
|
|
15
|
-
a)e=!0;else switch(c){case "string":case "number":e=!0;break;case "object":switch(a.$$typeof){case
|
|
16
|
-
"[object Object]"===d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return e}function
|
|
17
|
-
d)),
|
|
18
|
-
|
|
19
|
-
var d={};"abcdefghijklmnopqrst".split("").forEach(function(a){d[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},d)).join("")?!1:!0}catch(
|
|
20
|
-
|
|
21
|
-
e.isPureReactComponent=!0;var c=null,
|
|
22
|
-
var
|
|
23
|
-
("function"!==typeof
|
|
24
|
-
|
|
25
|
-
a.next;if(null!==b){if(b===a)c=null;else{a===c&&(c=b);var d=a.previous;d.next=b;b.previous=d}a.next=a.previous=null}},unstable_shouldYield:function(){return!
|
|
26
|
-
next:null,previous:null};if(null===c)c=a.next=a.previous=a,
|
|
27
|
-
|
|
28
|
-
unstable_wrap:function(a){return a}}});var
|
|
29
|
-
Component:
|
|
30
|
-
b,d){null===a||void 0===a?q("267",a):void 0;var c=void 0,e=
|
|
31
|
-
_owner:h}},createFactory:function(a){var b=
|
|
9
|
+
'use strict';(function(N,q){"object"===typeof exports&&"undefined"!==typeof module?module.exports=q():"function"===typeof define&&define.amd?define(q):N.React=q()})(this,function(){function N(a,b,d,g,p,c,e,h){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var n=[d,g,p,c,e,h],f=0;a=Error(b.replace(/%s/g,function(){return n[f++]}));a.name="Invariant Violation"}a.framesToPop=1;
|
|
10
|
+
throw a;}}function q(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,g=0;g<b;g++)d+="&args[]="+encodeURIComponent(arguments[g+1]);N(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",d)}function u(a,b,d){this.props=a;this.context=b;this.refs=ba;this.updater=d||ca}function da(){}function O(a,b,d){this.props=a;this.context=b;this.refs=ba;this.updater=d||
|
|
11
|
+
ca}function v(){if(!y){var a=c.expirationTime;D?P():D=!0;E(ua,a)}}function Q(){var a=c,b=c.next;if(c===b)c=null;else{var d=c.previous;c=d.next=b;b.previous=d}a.next=a.previous=null;d=a.callback;b=a.expirationTime;a=a.priorityLevel;var g=k,p=F;k=a;F=b;try{var n=d()}finally{k=g,F=p}if("function"===typeof n)if(n={callback:n,priorityLevel:a,expirationTime:b,next:null,previous:null},null===c)c=n.next=n.previous=n;else{d=null;a=c;do{if(a.expirationTime>=b){d=a;break}a=a.next}while(a!==c);null===d?d=c:d===
|
|
12
|
+
c&&(c=n,v());b=d.previous;b.next=d.previous=n;n.next=d;n.previous=b}}function R(){if(-1===m&&null!==c&&1===c.priorityLevel){y=!0;try{do Q();while(null!==c&&1===c.priorityLevel)}finally{y=!1,null!==c?v():D=!1}}}function ua(a){y=!0;var b=G;G=a;try{if(a)for(;null!==c;){var d=l();if(c.expirationTime<=d){do Q();while(null!==c&&c.expirationTime<=d)}else break}else if(null!==c){do Q();while(null!==c&&!H())}}finally{y=!1,G=b,null!==c?v():D=!1,R()}}function ea(a,b,d){var g=void 0,p={},c=null,e=null;if(null!=
|
|
13
|
+
b)for(g in void 0!==b.ref&&(e=b.ref),void 0!==b.key&&(c=""+b.key),b)fa.call(b,g)&&!ha.hasOwnProperty(g)&&(p[g]=b[g]);var h=arguments.length-2;if(1===h)p.children=d;else if(1<h){for(var f=Array(h),k=0;k<h;k++)f[k]=arguments[k+2];p.children=f}if(a&&a.defaultProps)for(g in h=a.defaultProps,h)void 0===p[g]&&(p[g]=h[g]);return{$$typeof:z,type:a,key:c,ref:e,props:p,_owner:S.current}}function va(a,b){return{$$typeof:z,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function T(a){return"object"===
|
|
14
|
+
typeof a&&null!==a&&a.$$typeof===z}function wa(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function ia(a,b,d,g){if(I.length){var c=I.pop();c.result=a;c.keyPrefix=b;c.func=d;c.context=g;c.count=0;return c}return{result:a,keyPrefix:b,func:d,context:g,count:0}}function ja(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>I.length&&I.push(a)}function U(a,b,d,g){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;var e=!1;if(null===
|
|
15
|
+
a)e=!0;else switch(c){case "string":case "number":e=!0;break;case "object":switch(a.$$typeof){case z:case xa:e=!0}}if(e)return d(g,a,""===b?"."+V(a,0):b),1;e=0;b=""===b?".":b+":";if(Array.isArray(a))for(var f=0;f<a.length;f++){c=a[f];var h=b+V(c,f);e+=U(c,h,d,g)}else if(null===a||"object"!==typeof a?h=null:(h=ka&&a[ka]||a["@@iterator"],h="function"===typeof h?h:null),"function"===typeof h)for(a=h.call(a),f=0;!(c=a.next()).done;)c=c.value,h=b+V(c,f++),e+=U(c,h,d,g);else"object"===c&&(d=""+a,q("31",
|
|
16
|
+
"[object Object]"===d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return e}function W(a,b,d){return null==a?0:U(a,"",b,d)}function V(a,b){return"object"===typeof a&&null!==a&&null!=a.key?wa(a.key):b.toString(36)}function ya(a,b,d){a.func.call(a.context,b,a.count++)}function za(a,b,d){var g=a.result,c=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?X(a,g,d,function(a){return a}):null!=a&&(T(a)&&(a=va(a,c+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(la,"$&/")+"/")+
|
|
17
|
+
d)),g.push(a))}function X(a,b,d,g,c){var e="";null!=d&&(e=(""+d).replace(la,"$&/")+"/");b=ia(b,e,g,c);W(a,za,b);ja(b)}function r(){var a=ma.current;null===a?q("298"):void 0;return a}var e="function"===typeof Symbol&&Symbol.for,z=e?Symbol.for("react.element"):60103,xa=e?Symbol.for("react.portal"):60106,f=e?Symbol.for("react.fragment"):60107,Aa=e?Symbol.for("react.strict_mode"):60108,t=e?Symbol.for("react.profiler"):60114,Ba=e?Symbol.for("react.provider"):60109,Ca=e?Symbol.for("react.context"):60110,
|
|
18
|
+
na=e?Symbol.for("react.concurrent_mode"):60111,Da=e?Symbol.for("react.forward_ref"):60112,Ea=e?Symbol.for("react.suspense"):60113,Fa=e?Symbol.for("react.memo"):60115,Ga=e?Symbol.for("react.lazy"):60116,ka="function"===typeof Symbol&&Symbol.iterator,oa=Object.getOwnPropertySymbols,Ha=Object.prototype.hasOwnProperty,Ia=Object.prototype.propertyIsEnumerable,J=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=
|
|
19
|
+
0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var d={};"abcdefghijklmnopqrst".split("").forEach(function(a){d[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},d)).join("")?!1:!0}catch(g){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var d=Object(a);for(var c,e=1;e<arguments.length;e++){var f=Object(arguments[e]);
|
|
20
|
+
for(var k in f)Ha.call(f,k)&&(d[k]=f[k]);if(oa){c=oa(f);for(var h=0;h<c.length;h++)Ia.call(f,c[h])&&(d[c[h]]=f[c[h]])}}return d},ca={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,d){},enqueueReplaceState:function(a,b,d,c){},enqueueSetState:function(a,b,d,c){}},ba={};u.prototype.isReactComponent={};u.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?q("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};u.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,
|
|
21
|
+
a,"forceUpdate")};da.prototype=u.prototype;e=O.prototype=new da;e.constructor=O;J(e,u.prototype);e.isPureReactComponent=!0;var c=null,G=!1,k=3,m=-1,F=-1,y=!1,D=!1,Ja=Date,Ka="function"===typeof setTimeout?setTimeout:void 0,La="function"===typeof clearTimeout?clearTimeout:void 0,pa="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,qa="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0,ra,sa,Y=function(a){ra=pa(function(b){La(sa);a(b)});sa=Ka(function(){qa(ra);
|
|
22
|
+
a(l())},100)};if("object"===typeof performance&&"function"===typeof performance.now){var Ma=performance;var l=function(){return Ma.now()}}else l=function(){return Ja.now()};e=null;"undefined"!==typeof window?e=window:"undefined"!==typeof global&&(e=global);if(e&&e._schedMock){e=e._schedMock;var E=e[0];var P=e[1];var H=e[2];l=e[3]}else if("undefined"===typeof window||"function"!==typeof MessageChannel){var w=null,Na=function(a){if(null!==w)try{w(a)}finally{w=null}};E=function(a,b){null!==w?setTimeout(E,
|
|
23
|
+
0,a):(w=a,setTimeout(Na,0,!1))};P=function(){w=null};H=function(){return!1}}else{"undefined"!==typeof console&&("function"!==typeof pa&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof qa&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var x=null,K=!1,A=-1,B=!1,Z=!1,L=0,
|
|
24
|
+
M=33,C=33;H=function(){return L<=l()};e=new MessageChannel;var ta=e.port2;e.port1.onmessage=function(a){K=!1;a=x;var b=A;x=null;A=-1;var d=l(),c=!1;if(0>=L-d)if(-1!==b&&b<=d)c=!0;else{B||(B=!0,Y(aa));x=a;A=b;return}if(null!==a){Z=!0;try{a(c)}finally{Z=!1}}};var aa=function(a){if(null!==x){Y(aa);var b=a-L+C;b<C&&M<C?(8>b&&(b=8),C=b<M?M:b):M=b;L=a+C;K||(K=!0,ta.postMessage(void 0))}else B=!1};E=function(a,b){x=a;A=b;Z||0>b?ta.postMessage(void 0):B||(B=!0,Y(aa))};P=function(){x=null;K=!1;A=-1}}var Oa=
|
|
25
|
+
0,ma={current:null},S={current:null};e={ReactCurrentDispatcher:ma,ReactCurrentOwner:S,assign:J};J(e,{Scheduler:{unstable_cancelCallback:function(a){var b=a.next;if(null!==b){if(b===a)c=null;else{a===c&&(c=b);var d=a.previous;d.next=b;b.previous=d}a.next=a.previous=null}},unstable_shouldYield:function(){return!G&&(null!==c&&c.expirationTime<F||H())},unstable_now:l,unstable_scheduleCallback:function(a,b){var d=-1!==m?m:l();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=d+b.timeout;
|
|
26
|
+
else switch(k){case 1:b=d+-1;break;case 2:b=d+250;break;case 5:b=d+1073741823;break;case 4:b=d+1E4;break;default:b=d+5E3}a={callback:a,priorityLevel:k,expirationTime:b,next:null,previous:null};if(null===c)c=a.next=a.previous=a,v();else{d=null;var g=c;do{if(g.expirationTime>b){d=g;break}g=g.next}while(g!==c);null===d?d=c:d===c&&(c=a,v());b=d.previous;b.next=d.previous=a;a.next=d;a.previous=b}return a},unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=
|
|
27
|
+
3}var d=k,c=m;k=a;m=l();try{return b()}finally{k=d,m=c,R()}},unstable_wrapCallback:function(a){var b=k;return function(){var d=k,c=m;k=b;m=l();try{return a.apply(this,arguments)}finally{k=d,m=c,R()}}},unstable_getFirstCallbackNode:function(){return c},unstable_pauseExecution:function(){},unstable_continueExecution:function(){null!==c&&v()},unstable_getCurrentPriorityLevel:function(){return k}},SchedulerTracing:{__interactionsRef:null,__subscriberRef:null,unstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},
|
|
28
|
+
unstable_getThreadID:function(){return++Oa},unstable_subscribe:function(a){},unstable_trace:function(a,b,d){return d()},unstable_unsubscribe:function(a){},unstable_wrap:function(a){return a}}});var fa=Object.prototype.hasOwnProperty,ha={key:!0,ref:!0,__self:!0,__source:!0},la=/\/+/g,I=[];f={Children:{map:function(a,b,d){if(null==a)return a;var c=[];X(a,c,null,b,d);return c},forEach:function(a,b,d){if(null==a)return a;b=ia(null,null,b,d);W(a,ya,b);ja(b)},count:function(a){return W(a,function(){return null},
|
|
29
|
+
null)},toArray:function(a){var b=[];X(a,b,null,function(a){return a});return b},only:function(a){T(a)?void 0:q("143");return a}},createRef:function(){return{current:null}},Component:u,PureComponent:O,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:Ca,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:Ba,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Da,render:a}},lazy:function(a){return{$$typeof:Ga,
|
|
30
|
+
_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:Fa,type:a,compare:void 0===b?null:b}},Fragment:f,StrictMode:Aa,Suspense:Ea,createElement:ea,cloneElement:function(a,b,d){null===a||void 0===a?q("267",a):void 0;var c=void 0,e=J({},a.props),f=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=S.current);void 0!==b.key&&(f=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(c in b)fa.call(b,c)&&!ha.hasOwnProperty(c)&&(e[c]=void 0===b[c]&&void 0!==
|
|
31
|
+
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:z,type:a.type,key:f,ref:k,props:e,_owner:h}},createFactory:function(a){var b=ea.bind(null,a);b.type=a;return b},isValidElement:T,version:"16.8.0-alpha.0",unstable_ConcurrentMode:na,unstable_Profiler:t,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:e};f.ConcurrentMode=na;f.Profiler=t;f.unstable_ConcurrentMode=void 0;f.unstable_Profiler=void 0;
|
|
32
|
+
f.useCallback=function(a,b){return r().useCallback(a,b)};f.useContext=function(a,b){return r().useContext(a,b)};f.useEffect=function(a,b){return r().useEffect(a,b)};f.useImperativeMethods=function(a,b,c){return r().useImperativeMethods(a,b,c)};f.useLayoutEffect=function(a,b){return r().useLayoutEffect(a,b)};f.useMemo=function(a,b){return r().useMemo(a,b)};f.useReducer=function(a,b,c){return r().useReducer(a,b,c)};f.useRef=function(a){return r().useRef(a)};f.useState=function(a){return r().useState(a)};
|
|
33
|
+
t=(t={default:f},f)||t;return t.default||t});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.
|
|
1
|
+
/** @license React v16.8.0-alpha.0
|
|
2
2
|
* react.profiling.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,30 +6,32 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
'use strict';(function(
|
|
10
|
-
1;throw a;}}function r(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=0;d<b;d++)c+="&args[]="+encodeURIComponent(arguments[d+1]);
|
|
11
|
-
c||
|
|
12
|
-
f:c===f&&(f=k,
|
|
13
|
-
(b=!0,c=e)}});if(b)throw c;}function
|
|
14
|
-
!0,d=k)}});if(c)throw d;}function
|
|
15
|
-
e[d]&&(e[d]=h[d]);return{$$typeof:
|
|
16
|
-
function
|
|
17
|
-
h=null:(h=
|
|
18
|
-
a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?
|
|
19
|
-
60108,
|
|
20
|
-
var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(d){return!1}}()?Object.assign:
|
|
21
|
-
var c=Object(a);for(var d,e=1;e<arguments.length;e++){var f=Object(arguments[e]);for(var g in f)
|
|
22
|
-
a,b,"setState")};
|
|
23
|
-
void 0,
|
|
24
|
-
function(a){if(null!==
|
|
25
|
-
var
|
|
26
|
-
|
|
27
|
-
b){var c=-1!==
|
|
28
|
-
unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=
|
|
29
|
-
__subscriberRef:
|
|
30
|
-
0,e={__count:1,id:
|
|
31
|
-
|
|
32
|
-
try{if(null!==e)e.onWorkCanceled(d,c)}finally{d.forEach(function(a){a.__count--;if(e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)})}};return b}}});var
|
|
33
|
-
[];
|
|
34
|
-
memo:function(a,b){return{$$typeof:
|
|
35
|
-
2;if(1===d)e.children=c;else if(1<d){l=Array(d);for(var m=0;m<d;m++)l[m]=arguments[m+2];e.children=l}return{$$typeof:
|
|
9
|
+
'use strict';(function(Q,r){"object"===typeof exports&&"undefined"!==typeof module?module.exports=r():"function"===typeof define&&define.amd?define(r):Q.React=r()})(this,function(){function Q(a,b,c,d,e,k,f,h){if(!a){a=void 0;if(void 0===b)a=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var g=[c,d,e,k,f,h],xa=0;a=Error(b.replace(/%s/g,function(){return g[xa++]}));a.name="Invariant Violation"}a.framesToPop=
|
|
10
|
+
1;throw a;}}function r(a){for(var b=arguments.length-1,c="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=0;d<b;d++)c+="&args[]="+encodeURIComponent(arguments[d+1]);Q(!1,"Minified React error #"+a+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",c)}function x(a,b,c){this.props=a;this.context=b;this.refs=ea;this.updater=c||fa}function ha(){}function R(a,b,c){this.props=a;this.context=b;this.refs=ea;this.updater=
|
|
11
|
+
c||fa}function y(){if(!B){var a=f.expirationTime;G?S():G=!0;H(ya,a)}}function T(){var a=f,b=f.next;if(f===b)f=null;else{var c=f.previous;f=c.next=b;b.previous=c}a.next=a.previous=null;c=a.callback;b=a.expirationTime;a=a.priorityLevel;var d=m,e=I;m=a;I=b;try{var k=c()}finally{m=d,I=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,y());b=c.previous;b.next=c.previous=k;k.next=c;k.previous=b}}function U(){if(-1===t&&null!==f&&1===f.priorityLevel){B=!0;try{do T();while(null!==f&&1===f.priorityLevel)}finally{B=!1,null!==f?y():G=!1}}}function ya(a){B=!0;var b=J;J=a;try{if(a)for(;null!==f;){var c=q();if(f.expirationTime<=c){do T();while(null!==f&&f.expirationTime<=c)}else break}else if(null!==f){do T();while(null!==f&&!K())}}finally{B=!1,J=b,null!==f?y():G=!1,U()}}function za(a){var b=!1,c=null;p.forEach(function(d){try{d.onInteractionTraced(a)}catch(e){b||
|
|
13
|
+
(b=!0,c=e)}});if(b)throw c;}function Aa(a){var b=!1,c=null;p.forEach(function(d){try{d.onInteractionScheduledWorkCompleted(a)}catch(e){b||(b=!0,c=e)}});if(b)throw c;}function Ba(a,b){var c=!1,d=null;p.forEach(function(e){try{e.onWorkScheduled(a,b)}catch(k){c||(c=!0,d=k)}});if(c)throw d;}function Ca(a,b){var c=!1,d=null;p.forEach(function(e){try{e.onWorkStarted(a,b)}catch(k){c||(c=!0,d=k)}});if(c)throw d;}function Da(a,b){var c=!1,d=null;p.forEach(function(e){try{e.onWorkStopped(a,b)}catch(k){c||(c=
|
|
14
|
+
!0,d=k)}});if(c)throw d;}function Ea(a,b){var c=!1,d=null;p.forEach(function(e){try{e.onWorkCanceled(a,b)}catch(k){c||(c=!0,d=k)}});if(c)throw d;}function ia(a,b,c){var d=void 0,e={},k=null,f=null;if(null!=b)for(d in void 0!==b.ref&&(f=b.ref),void 0!==b.key&&(k=""+b.key),b)ja.call(b,d)&&!ka.hasOwnProperty(d)&&(e[d]=b[d]);var h=arguments.length-2;if(1===h)e.children=c;else if(1<h){for(var g=Array(h),l=0;l<h;l++)g[l]=arguments[l+2];e.children=g}if(a&&a.defaultProps)for(d in h=a.defaultProps,h)void 0===
|
|
15
|
+
e[d]&&(e[d]=h[d]);return{$$typeof:C,type:a,key:k,ref:f,props:e,_owner:V.current}}function Fa(a,b){return{$$typeof:C,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function W(a){return"object"===typeof a&&null!==a&&a.$$typeof===C}function Ga(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function la(a,b,c,d){if(L.length){var e=L.pop();e.result=a;e.keyPrefix=b;e.func=c;e.context=d;e.count=0;return e}return{result:a,keyPrefix:b,func:c,context:d,count:0}}
|
|
16
|
+
function ma(a){a.result=null;a.keyPrefix=null;a.func=null;a.context=null;a.count=0;10>L.length&&L.push(a)}function X(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 C:case Ha:k=!0}}if(k)return c(d,a,""===b?"."+Y(a,0):b),1;k=0;b=""===b?".":b+":";if(Array.isArray(a))for(var f=0;f<a.length;f++){e=a[f];var h=b+Y(e,f);k+=X(e,h,c,d)}else if(null===a||"object"!==typeof a?
|
|
17
|
+
h=null:(h=na&&a[na]||a["@@iterator"],h="function"===typeof h?h:null),"function"===typeof h)for(a=h.call(a),f=0;!(e=a.next()).done;)e=e.value,h=b+Y(e,f++),k+=X(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 Z(a,b,c){return null==a?0:X(a,"",b,c)}function Y(a,b){return"object"===typeof a&&null!==a&&null!=a.key?Ga(a.key):b.toString(36)}function Ia(a,b,c){a.func.call(a.context,b,a.count++)}function Ja(a,b,c){var d=
|
|
18
|
+
a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?aa(a,d,c,function(a){return a}):null!=a&&(W(a)&&(a=Fa(a,e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(oa,"$&/")+"/")+c)),d.push(a))}function aa(a,b,c,d,e){var f="";null!=c&&(f=(""+c).replace(oa,"$&/")+"/");b=la(b,f,d,e);Z(a,Ja,b);ma(b)}function u(){var a=pa.current;null===a?r("298"):void 0;return a}var g="function"===typeof Symbol&&Symbol.for,C=g?Symbol.for("react.element"):60103,Ha=g?Symbol.for("react.portal"):60106,
|
|
19
|
+
l=g?Symbol.for("react.fragment"):60107,Ka=g?Symbol.for("react.strict_mode"):60108,w=g?Symbol.for("react.profiler"):60114,La=g?Symbol.for("react.provider"):60109,Ma=g?Symbol.for("react.context"):60110,qa=g?Symbol.for("react.concurrent_mode"):60111,Na=g?Symbol.for("react.forward_ref"):60112,Oa=g?Symbol.for("react.suspense"):60113,Pa=g?Symbol.for("react.memo"):60115,Qa=g?Symbol.for("react.lazy"):60116,na="function"===typeof Symbol&&Symbol.iterator,ra=Object.getOwnPropertySymbols,Ra=Object.prototype.hasOwnProperty,
|
|
20
|
+
Sa=Object.prototype.propertyIsEnumerable,M=function(){try{if(!Object.assign)return!1;var a=new String("abc");a[5]="de";if("5"===Object.getOwnPropertyNames(a)[0])return!1;var b={};for(a=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;var c={};"abcdefghijklmnopqrst".split("").forEach(function(a){c[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},c)).join("")?!1:!0}catch(d){return!1}}()?Object.assign:
|
|
21
|
+
function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var c=Object(a);for(var d,e=1;e<arguments.length;e++){var f=Object(arguments[e]);for(var g in f)Ra.call(f,g)&&(c[g]=f[g]);if(ra){d=ra(f);for(var h=0;h<d.length;h++)Sa.call(f,d[h])&&(c[d[h]]=f[d[h]])}}return c},fa={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},ea={};x.prototype.isReactComponent=
|
|
22
|
+
{};x.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?r("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};x.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};ha.prototype=x.prototype;g=R.prototype=new ha;g.constructor=R;M(g,x.prototype);g.isPureReactComponent=!0;var f=null,J=!1,m=3,t=-1,I=-1,B=!1,G=!1,Ta=Date,Ua="function"===typeof setTimeout?setTimeout:void 0,Va="function"===typeof clearTimeout?clearTimeout:
|
|
23
|
+
void 0,sa="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,ta="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0,ua,va,ba=function(a){ua=sa(function(b){Va(va);a(b)});va=Ua(function(){ta(ua);a(q())},100)};if("object"===typeof performance&&"function"===typeof performance.now){var Wa=performance;var q=function(){return Wa.now()}}else q=function(){return Ta.now()};g=null;"undefined"!==typeof window?g=window:"undefined"!==typeof global&&(g=global);if(g&&g._schedMock){g=
|
|
24
|
+
g._schedMock;var H=g[0];var S=g[1];var K=g[2];q=g[3]}else if("undefined"===typeof window||"function"!==typeof MessageChannel){var z=null,Xa=function(a){if(null!==z)try{z(a)}finally{z=null}};H=function(a,b){null!==z?setTimeout(H,0,a):(z=a,setTimeout(Xa,0,!1))};S=function(){z=null};K=function(){return!1}}else{"undefined"!==typeof console&&("function"!==typeof sa&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),
|
|
25
|
+
"function"!==typeof ta&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var A=null,N=!1,D=-1,E=!1,ca=!1,O=0,P=33,F=33;K=function(){return O<=q()};g=new MessageChannel;var wa=g.port2;g.port1.onmessage=function(a){N=!1;a=A;var b=D;A=null;D=-1;var c=q(),d=!1;if(0>=O-c)if(-1!==b&&b<=c)d=!0;else{E||(E=!0,ba(da));A=a;D=b;return}if(null!==a){ca=!0;try{a(d)}finally{ca=!1}}};var da=function(a){if(null!==
|
|
26
|
+
A){ba(da);var b=a-O+F;b<F&&P<F?(8>b&&(b=8),F=b<P?P:b):P=b;O=a+F;N||(N=!0,wa.postMessage(void 0))}else E=!1};H=function(a,b){A=a;D=b;ca||0>b?wa.postMessage(void 0):E||(E=!0,ba(da))};S=function(){A=null;N=!1;D=-1}}var Ya=0,Za=0,n=null,v=null;n={current:new Set};v={current:null};var p=null;p=new Set;var pa={current:null},V={current:null};g={ReactCurrentDispatcher:pa,ReactCurrentOwner:V,assign:M};M(g,{Scheduler:{unstable_cancelCallback:function(a){var b=a.next;if(null!==b){if(b===a)f=null;else{a===f&&
|
|
27
|
+
(f=b);var c=a.previous;c.next=b;b.previous=c}a.next=a.previous=null}},unstable_shouldYield:function(){return!J&&(null!==f&&f.expirationTime<I||K())},unstable_now:q,unstable_scheduleCallback:function(a,b){var c=-1!==t?t:q();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=c+b.timeout;else switch(m){case 1:b=c+-1;break;case 2:b=c+250;break;case 5:b=c+1073741823;break;case 4:b=c+1E4;break;default:b=c+5E3}a={callback:a,priorityLevel:m,expirationTime:b,next:null,previous:null};if(null===
|
|
28
|
+
f)f=a.next=a.previous=a,y();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,y());b=c.previous;b.next=c.previous=a;a.next=c;a.previous=b}return a},unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=m,d=t;m=a;t=q();try{return b()}finally{m=c,t=d,U()}},unstable_wrapCallback:function(a){var b=m;return function(){var c=m,d=t;m=b;t=q();try{return a.apply(this,arguments)}finally{m=c,t=d,U()}}},
|
|
29
|
+
unstable_getFirstCallbackNode:function(){return f},unstable_pauseExecution:function(){},unstable_continueExecution:function(){null!==f&&y()},unstable_getCurrentPriorityLevel:function(){return m}},SchedulerTracing:{__interactionsRef:n,__subscriberRef:v,unstable_clear:function(a){var b=n.current;n.current=new Set;try{return a()}finally{n.current=b}},unstable_getCurrent:function(){return n.current},unstable_getThreadID:function(){return++Za},unstable_subscribe:function(a){p.add(a);1===p.size&&(v.current=
|
|
30
|
+
{onInteractionScheduledWorkCompleted:Aa,onInteractionTraced:za,onWorkCanceled:Ea,onWorkScheduled:Ba,onWorkStarted:Ca,onWorkStopped:Da})},unstable_trace:function(a,b,c){var d=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,e={__count:1,id:Ya++,name:a,timestamp:b},f=n.current,g=new Set(f);g.add(e);n.current=g;var h=v.current,l=void 0;try{if(null!==h)h.onInteractionTraced(e)}finally{try{if(null!==h)h.onWorkStarted(g,d)}finally{try{l=c()}finally{n.current=f;try{if(null!==h)h.onWorkStopped(g,
|
|
31
|
+
d)}finally{if(e.__count--,null!==h&&0===e.__count)h.onInteractionScheduledWorkCompleted(e)}}}}return l},unstable_unsubscribe:function(a){p.delete(a);0===p.size&&(v.current=null)},unstable_wrap:function(a){function b(){var b=n.current;n.current=d;e=v.current;try{var g=void 0;try{if(null!==e)e.onWorkStarted(d,c)}finally{try{g=a.apply(void 0,arguments)}finally{if(n.current=b,null!==e)e.onWorkStopped(d,c)}}return g}finally{f||(f=!0,d.forEach(function(a){a.__count--;if(null!==e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)}))}}
|
|
32
|
+
var c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,d=n.current,e=v.current;if(null!==e)e.onWorkScheduled(d,c);d.forEach(function(a){a.__count++});var f=!1;b.cancel=function(){e=v.current;try{if(null!==e)e.onWorkCanceled(d,c)}finally{d.forEach(function(a){a.__count--;if(e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)})}};return b}}});var ja=Object.prototype.hasOwnProperty,ka={key:!0,ref:!0,__self:!0,__source:!0},oa=/\/+/g,L=[];l={Children:{map:function(a,b,c){if(null==a)return a;
|
|
33
|
+
var d=[];aa(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=la(null,null,b,c);Z(a,Ia,b);ma(b)},count:function(a){return Z(a,function(){return null},null)},toArray:function(a){var b=[];aa(a,b,null,function(a){return a});return b},only:function(a){W(a)?void 0:r("143");return a}},createRef:function(){return{current:null}},Component:x,PureComponent:R,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:Ma,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,
|
|
34
|
+
Provider:null,Consumer:null};a.Provider={$$typeof:La,_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:l,StrictMode:Ka,Suspense:Oa,createElement:ia,cloneElement:function(a,b,c){null===a||void 0===a?r("267",a):void 0;var d=void 0,e=M({},a.props),f=a.key,g=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,h=V.current);
|
|
35
|
+
void 0!==b.key&&(f=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=a.type.defaultProps);for(d in b)ja.call(b,d)&&!ka.hasOwnProperty(d)&&(e[d]=void 0===b[d]&&void 0!==l?l[d]:b[d])}d=arguments.length-2;if(1===d)e.children=c;else if(1<d){l=Array(d);for(var m=0;m<d;m++)l[m]=arguments[m+2];e.children=l}return{$$typeof:C,type:a.type,key:f,ref:g,props:e,_owner:h}},createFactory:function(a){var b=ia.bind(null,a);b.type=a;return b},isValidElement:W,version:"16.8.0-alpha.0",unstable_ConcurrentMode:qa,
|
|
36
|
+
unstable_Profiler:w,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:g};l.ConcurrentMode=qa;l.Profiler=w;l.unstable_ConcurrentMode=void 0;l.unstable_Profiler=void 0;l.useCallback=function(a,b){return u().useCallback(a,b)};l.useContext=function(a,b){return u().useContext(a,b)};l.useEffect=function(a,b){return u().useEffect(a,b)};l.useImperativeMethods=function(a,b,c){return u().useImperativeMethods(a,b,c)};l.useLayoutEffect=function(a,b){return u().useLayoutEffect(a,b)};l.useMemo=function(a,b){return u().useMemo(a,
|
|
37
|
+
b)};l.useReducer=function(a,b,c){return u().useReducer(a,b,c)};l.useRef=function(a){return u().useRef(a)};l.useState=function(a){return u().useState(a)};w=(w={default:l},l)||w;return w.default||w});
|