react 16.7.0-alpha.0 → 16.7.0-alpha.1
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 +28 -54
- package/cjs/react.production.min.js +16 -17
- package/package.json +2 -2
- package/umd/react.development.js +52 -94
- package/umd/react.production.min.js +24 -26
- package/umd/react.profiling.min.js +28 -30
package/cjs/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.7.0-alpha.
|
|
1
|
+
/** @license React v16.7.0-alpha.1
|
|
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.7.0-alpha.
|
|
23
|
+
var ReactVersion = '16.7.0-alpha.1';
|
|
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.
|
|
@@ -33,6 +33,7 @@ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeac
|
|
|
33
33
|
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
34
34
|
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
35
35
|
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
|
|
36
|
+
|
|
36
37
|
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
37
38
|
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
38
39
|
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
@@ -53,8 +54,7 @@ function getIteratorFn(maybeIterable) {
|
|
|
53
54
|
return null;
|
|
54
55
|
}
|
|
55
56
|
|
|
56
|
-
var enableHooks =
|
|
57
|
-
|
|
57
|
+
var enableHooks = false;
|
|
58
58
|
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
59
59
|
|
|
60
60
|
|
|
@@ -89,7 +89,7 @@ var enableHooks = 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 = false;
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* Use invariant() to assert state which your program assumes to be true.
|
|
@@ -215,63 +215,24 @@ var warningWithoutStack = function () {};
|
|
|
215
215
|
return;
|
|
216
216
|
}
|
|
217
217
|
if (typeof console !== 'undefined') {
|
|
218
|
-
var
|
|
218
|
+
var argsWithFormat = args.map(function (item) {
|
|
219
219
|
return '' + item;
|
|
220
|
-
})
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
f = _args$map[5],
|
|
227
|
-
g = _args$map[6],
|
|
228
|
-
h = _args$map[7];
|
|
229
|
-
|
|
230
|
-
var message = 'Warning: ' + format;
|
|
231
|
-
|
|
232
|
-
// We intentionally don't use spread (or .apply) because it breaks IE9:
|
|
233
|
-
// https://github.com/facebook/react/issues/13610
|
|
234
|
-
switch (args.length) {
|
|
235
|
-
case 0:
|
|
236
|
-
console.error(message);
|
|
237
|
-
break;
|
|
238
|
-
case 1:
|
|
239
|
-
console.error(message, a);
|
|
240
|
-
break;
|
|
241
|
-
case 2:
|
|
242
|
-
console.error(message, a, b);
|
|
243
|
-
break;
|
|
244
|
-
case 3:
|
|
245
|
-
console.error(message, a, b, c);
|
|
246
|
-
break;
|
|
247
|
-
case 4:
|
|
248
|
-
console.error(message, a, b, c, d);
|
|
249
|
-
break;
|
|
250
|
-
case 5:
|
|
251
|
-
console.error(message, a, b, c, d, e);
|
|
252
|
-
break;
|
|
253
|
-
case 6:
|
|
254
|
-
console.error(message, a, b, c, d, e, f);
|
|
255
|
-
break;
|
|
256
|
-
case 7:
|
|
257
|
-
console.error(message, a, b, c, d, e, f, g);
|
|
258
|
-
break;
|
|
259
|
-
case 8:
|
|
260
|
-
console.error(message, a, b, c, d, e, f, g, h);
|
|
261
|
-
break;
|
|
262
|
-
default:
|
|
263
|
-
throw new Error('warningWithoutStack() currently supports at most 8 arguments.');
|
|
264
|
-
}
|
|
220
|
+
});
|
|
221
|
+
argsWithFormat.unshift('Warning: ' + format);
|
|
222
|
+
|
|
223
|
+
// We intentionally don't use spread (or .apply) directly because it
|
|
224
|
+
// breaks IE9: https://github.com/facebook/react/issues/13610
|
|
225
|
+
Function.prototype.apply.call(console.error, console, argsWithFormat);
|
|
265
226
|
}
|
|
266
227
|
try {
|
|
267
228
|
// --- Welcome to debugging React ---
|
|
268
229
|
// This error was thrown as a convenience so that you can use this stack
|
|
269
230
|
// to find the callsite that caused this warning to fire.
|
|
270
231
|
var argIndex = 0;
|
|
271
|
-
var
|
|
232
|
+
var message = 'Warning: ' + format.replace(/%s/g, function () {
|
|
272
233
|
return args[argIndex++];
|
|
273
234
|
});
|
|
274
|
-
throw new Error(
|
|
235
|
+
throw new Error(message);
|
|
275
236
|
} catch (x) {}
|
|
276
237
|
};
|
|
277
238
|
}
|
|
@@ -1321,6 +1282,9 @@ function createContext(defaultValue, calculateChangedBits) {
|
|
|
1321
1282
|
// Secondary renderers store their context values on separate fields.
|
|
1322
1283
|
_currentValue: defaultValue,
|
|
1323
1284
|
_currentValue2: defaultValue,
|
|
1285
|
+
// Used to track how many concurrent renderers this context currently
|
|
1286
|
+
// supports within in a single renderer. Such as parallel server rendering.
|
|
1287
|
+
_threadCount: 0,
|
|
1324
1288
|
// These are circular
|
|
1325
1289
|
Provider: null,
|
|
1326
1290
|
Consumer: null
|
|
@@ -1373,6 +1337,14 @@ function createContext(defaultValue, calculateChangedBits) {
|
|
|
1373
1337
|
context._currentValue2 = _currentValue2;
|
|
1374
1338
|
}
|
|
1375
1339
|
},
|
|
1340
|
+
_threadCount: {
|
|
1341
|
+
get: function () {
|
|
1342
|
+
return context._threadCount;
|
|
1343
|
+
},
|
|
1344
|
+
set: function (_threadCount) {
|
|
1345
|
+
context._threadCount = _threadCount;
|
|
1346
|
+
}
|
|
1347
|
+
},
|
|
1376
1348
|
Consumer: {
|
|
1377
1349
|
get: function () {
|
|
1378
1350
|
if (!hasWarnedAboutUsingNestedContextConsumers) {
|
|
@@ -1407,7 +1379,9 @@ function lazy(ctor) {
|
|
|
1407
1379
|
|
|
1408
1380
|
function forwardRef(render) {
|
|
1409
1381
|
{
|
|
1410
|
-
if (
|
|
1382
|
+
if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
|
|
1383
|
+
warningWithoutStack$1(false, 'forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');
|
|
1384
|
+
} else if (typeof render !== 'function') {
|
|
1411
1385
|
warningWithoutStack$1(false, 'forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
|
|
1412
1386
|
} else {
|
|
1413
1387
|
!(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.7.0-alpha.
|
|
1
|
+
/** @license React v16.7.0-alpha.1
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -7,19 +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"),
|
|
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,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
|
-
b.ref&&(h=b.ref,f=
|
|
24
|
-
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:
|
|
25
|
-
X.useMutationEffect=function(a,b){return W().useMutationEffect(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;
|
|
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
|
+
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,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
|
+
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,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,_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: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,Suspense:z,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),g=a.key,h=a.ref,f=a._owner;
|
|
23
|
+
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},isValidElement:O,version:"16.7.0-alpha.1",
|
|
24
|
+
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:K,assign:k}};X.unstable_ConcurrentMode=x;X.unstable_Profiler=u;var 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.7.0-alpha.
|
|
7
|
+
"version": "16.7.0-alpha.1",
|
|
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.
|
|
27
|
+
"scheduler": "^0.12.0-alpha.1"
|
|
28
28
|
},
|
|
29
29
|
"browserify": {
|
|
30
30
|
"transform": [
|
package/umd/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.7.0-alpha.
|
|
1
|
+
/** @license React v16.7.0-alpha.1
|
|
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.7.0-alpha.
|
|
20
|
+
var ReactVersion = '16.7.0-alpha.1';
|
|
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.
|
|
@@ -30,6 +30,7 @@ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeac
|
|
|
30
30
|
var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
|
|
31
31
|
var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
|
|
32
32
|
var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace;
|
|
33
|
+
|
|
33
34
|
var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
|
|
34
35
|
var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
|
|
35
36
|
var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
|
|
@@ -50,8 +51,7 @@ function getIteratorFn(maybeIterable) {
|
|
|
50
51
|
return null;
|
|
51
52
|
}
|
|
52
53
|
|
|
53
|
-
var enableHooks =
|
|
54
|
-
|
|
54
|
+
var enableHooks = false;
|
|
55
55
|
// Helps identify side effects in begin-phase lifecycle hooks and setState reducers:
|
|
56
56
|
|
|
57
57
|
|
|
@@ -86,7 +86,7 @@ var enableSchedulerTracing = true;
|
|
|
86
86
|
|
|
87
87
|
// These APIs will no longer be "unstable" in the upcoming 16.7 release,
|
|
88
88
|
// Control this behavior with a flag to support 16.6 minor releases in the meanwhile.
|
|
89
|
-
var enableStableConcurrentModeAPIs =
|
|
89
|
+
var enableStableConcurrentModeAPIs = false;
|
|
90
90
|
|
|
91
91
|
/*
|
|
92
92
|
object-assign
|
|
@@ -303,63 +303,24 @@ var warningWithoutStack = function () {};
|
|
|
303
303
|
return;
|
|
304
304
|
}
|
|
305
305
|
if (typeof console !== 'undefined') {
|
|
306
|
-
var
|
|
306
|
+
var argsWithFormat = args.map(function (item) {
|
|
307
307
|
return '' + item;
|
|
308
|
-
})
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
f = _args$map[5],
|
|
315
|
-
g = _args$map[6],
|
|
316
|
-
h = _args$map[7];
|
|
317
|
-
|
|
318
|
-
var message = 'Warning: ' + format;
|
|
319
|
-
|
|
320
|
-
// We intentionally don't use spread (or .apply) because it breaks IE9:
|
|
321
|
-
// https://github.com/facebook/react/issues/13610
|
|
322
|
-
switch (args.length) {
|
|
323
|
-
case 0:
|
|
324
|
-
console.error(message);
|
|
325
|
-
break;
|
|
326
|
-
case 1:
|
|
327
|
-
console.error(message, a);
|
|
328
|
-
break;
|
|
329
|
-
case 2:
|
|
330
|
-
console.error(message, a, b);
|
|
331
|
-
break;
|
|
332
|
-
case 3:
|
|
333
|
-
console.error(message, a, b, c);
|
|
334
|
-
break;
|
|
335
|
-
case 4:
|
|
336
|
-
console.error(message, a, b, c, d);
|
|
337
|
-
break;
|
|
338
|
-
case 5:
|
|
339
|
-
console.error(message, a, b, c, d, e);
|
|
340
|
-
break;
|
|
341
|
-
case 6:
|
|
342
|
-
console.error(message, a, b, c, d, e, f);
|
|
343
|
-
break;
|
|
344
|
-
case 7:
|
|
345
|
-
console.error(message, a, b, c, d, e, f, g);
|
|
346
|
-
break;
|
|
347
|
-
case 8:
|
|
348
|
-
console.error(message, a, b, c, d, e, f, g, h);
|
|
349
|
-
break;
|
|
350
|
-
default:
|
|
351
|
-
throw new Error('warningWithoutStack() currently supports at most 8 arguments.');
|
|
352
|
-
}
|
|
308
|
+
});
|
|
309
|
+
argsWithFormat.unshift('Warning: ' + format);
|
|
310
|
+
|
|
311
|
+
// We intentionally don't use spread (or .apply) directly because it
|
|
312
|
+
// breaks IE9: https://github.com/facebook/react/issues/13610
|
|
313
|
+
Function.prototype.apply.call(console.error, console, argsWithFormat);
|
|
353
314
|
}
|
|
354
315
|
try {
|
|
355
316
|
// --- Welcome to debugging React ---
|
|
356
317
|
// This error was thrown as a convenience so that you can use this stack
|
|
357
318
|
// to find the callsite that caused this warning to fire.
|
|
358
319
|
var argIndex = 0;
|
|
359
|
-
var
|
|
320
|
+
var message = 'Warning: ' + format.replace(/%s/g, function () {
|
|
360
321
|
return args[argIndex++];
|
|
361
322
|
});
|
|
362
|
-
throw new Error(
|
|
323
|
+
throw new Error(message);
|
|
363
324
|
} catch (x) {}
|
|
364
325
|
};
|
|
365
326
|
}
|
|
@@ -579,7 +540,8 @@ function createRef() {
|
|
|
579
540
|
var ImmediatePriority = 1;
|
|
580
541
|
var UserBlockingPriority = 2;
|
|
581
542
|
var NormalPriority = 3;
|
|
582
|
-
var
|
|
543
|
+
var LowPriority = 4;
|
|
544
|
+
var IdlePriority = 5;
|
|
583
545
|
|
|
584
546
|
// Max 31 bit integer. The max integer size in V8 for 32-bit systems.
|
|
585
547
|
// Math.pow(2, 30) - 1
|
|
@@ -591,12 +553,14 @@ var IMMEDIATE_PRIORITY_TIMEOUT = -1;
|
|
|
591
553
|
// Eventually times out
|
|
592
554
|
var USER_BLOCKING_PRIORITY = 250;
|
|
593
555
|
var NORMAL_PRIORITY_TIMEOUT = 5000;
|
|
556
|
+
var LOW_PRIORITY_TIMEOUT = 10000;
|
|
594
557
|
// Never times out
|
|
595
558
|
var IDLE_PRIORITY = maxSigned31BitInt;
|
|
596
559
|
|
|
597
560
|
// Callbacks are stored as a circular, doubly linked list.
|
|
598
561
|
var firstCallbackNode = null;
|
|
599
562
|
|
|
563
|
+
var currentDidTimeout = false;
|
|
600
564
|
var currentPriorityLevel = NormalPriority;
|
|
601
565
|
var currentEventStartTime = -1;
|
|
602
566
|
var currentExpirationTime = -1;
|
|
@@ -608,35 +572,6 @@ var isHostCallbackScheduled = false;
|
|
|
608
572
|
|
|
609
573
|
var hasNativePerformanceNow = typeof performance === 'object' && typeof performance.now === 'function';
|
|
610
574
|
|
|
611
|
-
var timeRemaining;
|
|
612
|
-
if (hasNativePerformanceNow) {
|
|
613
|
-
timeRemaining = function () {
|
|
614
|
-
if (firstCallbackNode !== null && firstCallbackNode.expirationTime < currentExpirationTime) {
|
|
615
|
-
// A higher priority callback was scheduled. Yield so we can switch to
|
|
616
|
-
// working on that.
|
|
617
|
-
return 0;
|
|
618
|
-
}
|
|
619
|
-
// We assume that if we have a performance timer that the rAF callback
|
|
620
|
-
// gets a performance timer value. Not sure if this is always true.
|
|
621
|
-
var remaining = getFrameDeadline() - performance.now();
|
|
622
|
-
return remaining > 0 ? remaining : 0;
|
|
623
|
-
};
|
|
624
|
-
} else {
|
|
625
|
-
timeRemaining = function () {
|
|
626
|
-
// Fallback to Date.now()
|
|
627
|
-
if (firstCallbackNode !== null && firstCallbackNode.expirationTime < currentExpirationTime) {
|
|
628
|
-
return 0;
|
|
629
|
-
}
|
|
630
|
-
var remaining = getFrameDeadline() - Date.now();
|
|
631
|
-
return remaining > 0 ? remaining : 0;
|
|
632
|
-
};
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
var deadlineObject = {
|
|
636
|
-
timeRemaining: timeRemaining,
|
|
637
|
-
didTimeout: false
|
|
638
|
-
};
|
|
639
|
-
|
|
640
575
|
function ensureHostCallbackIsScheduled() {
|
|
641
576
|
if (isExecutingCallback) {
|
|
642
577
|
// Don't schedule work yet; wait until the next time we yield.
|
|
@@ -681,7 +616,7 @@ function flushFirstCallback() {
|
|
|
681
616
|
currentExpirationTime = expirationTime;
|
|
682
617
|
var continuationCallback;
|
|
683
618
|
try {
|
|
684
|
-
continuationCallback = callback(
|
|
619
|
+
continuationCallback = callback();
|
|
685
620
|
} finally {
|
|
686
621
|
currentPriorityLevel = previousPriorityLevel;
|
|
687
622
|
currentExpirationTime = previousExpirationTime;
|
|
@@ -741,7 +676,6 @@ function flushImmediateWork() {
|
|
|
741
676
|
// Confirm we've exited the outer most event handler
|
|
742
677
|
currentEventStartTime === -1 && firstCallbackNode !== null && firstCallbackNode.priorityLevel === ImmediatePriority) {
|
|
743
678
|
isExecutingCallback = true;
|
|
744
|
-
deadlineObject.didTimeout = true;
|
|
745
679
|
try {
|
|
746
680
|
do {
|
|
747
681
|
flushFirstCallback();
|
|
@@ -762,7 +696,8 @@ function flushImmediateWork() {
|
|
|
762
696
|
|
|
763
697
|
function flushWork(didTimeout) {
|
|
764
698
|
isExecutingCallback = true;
|
|
765
|
-
|
|
699
|
+
var previousDidTimeout = currentDidTimeout;
|
|
700
|
+
currentDidTimeout = didTimeout;
|
|
766
701
|
try {
|
|
767
702
|
if (didTimeout) {
|
|
768
703
|
// Flush all the expired callbacks without yielding.
|
|
@@ -784,11 +719,12 @@ function flushWork(didTimeout) {
|
|
|
784
719
|
if (firstCallbackNode !== null) {
|
|
785
720
|
do {
|
|
786
721
|
flushFirstCallback();
|
|
787
|
-
} while (firstCallbackNode !== null &&
|
|
722
|
+
} while (firstCallbackNode !== null && !shouldYieldToHost());
|
|
788
723
|
}
|
|
789
724
|
}
|
|
790
725
|
} finally {
|
|
791
726
|
isExecutingCallback = false;
|
|
727
|
+
currentDidTimeout = previousDidTimeout;
|
|
792
728
|
if (firstCallbackNode !== null) {
|
|
793
729
|
// There's still work remaining. Request another callback.
|
|
794
730
|
ensureHostCallbackIsScheduled();
|
|
@@ -805,6 +741,7 @@ function unstable_runWithPriority(priorityLevel, eventHandler) {
|
|
|
805
741
|
case ImmediatePriority:
|
|
806
742
|
case UserBlockingPriority:
|
|
807
743
|
case NormalPriority:
|
|
744
|
+
case LowPriority:
|
|
808
745
|
case IdlePriority:
|
|
809
746
|
break;
|
|
810
747
|
default:
|
|
@@ -864,6 +801,9 @@ function unstable_scheduleCallback(callback, deprecated_options) {
|
|
|
864
801
|
case IdlePriority:
|
|
865
802
|
expirationTime = startTime + IDLE_PRIORITY;
|
|
866
803
|
break;
|
|
804
|
+
case LowPriority:
|
|
805
|
+
expirationTime = startTime + LOW_PRIORITY_TIMEOUT;
|
|
806
|
+
break;
|
|
867
807
|
case NormalPriority:
|
|
868
808
|
default:
|
|
869
809
|
expirationTime = startTime + NORMAL_PRIORITY_TIMEOUT;
|
|
@@ -943,6 +883,10 @@ function unstable_getCurrentPriorityLevel() {
|
|
|
943
883
|
return currentPriorityLevel;
|
|
944
884
|
}
|
|
945
885
|
|
|
886
|
+
function unstable_shouldYield() {
|
|
887
|
+
return !currentDidTimeout && (firstCallbackNode !== null && firstCallbackNode.expirationTime < currentExpirationTime || shouldYieldToHost());
|
|
888
|
+
}
|
|
889
|
+
|
|
946
890
|
// The remaining code is essentially a polyfill for requestIdleCallback. It
|
|
947
891
|
// works by scheduling a requestAnimationFrame, storing the time for the start
|
|
948
892
|
// of the frame, then scheduling a postMessage which gets scheduled after paint.
|
|
@@ -1005,14 +949,14 @@ if (hasNativePerformanceNow) {
|
|
|
1005
949
|
|
|
1006
950
|
var requestHostCallback;
|
|
1007
951
|
var cancelHostCallback;
|
|
1008
|
-
var
|
|
952
|
+
var shouldYieldToHost;
|
|
1009
953
|
|
|
1010
954
|
if (typeof window !== 'undefined' && window._schedMock) {
|
|
1011
955
|
// Dynamic injection, only for testing purposes.
|
|
1012
956
|
var impl = window._schedMock;
|
|
1013
957
|
requestHostCallback = impl[0];
|
|
1014
958
|
cancelHostCallback = impl[1];
|
|
1015
|
-
|
|
959
|
+
shouldYieldToHost = impl[2];
|
|
1016
960
|
} else if (
|
|
1017
961
|
// If Scheduler runs in a non-DOM environment, it falls back to a naive
|
|
1018
962
|
// implementation using setTimeout.
|
|
@@ -1047,8 +991,8 @@ typeof window.addEventListener !== 'function') {
|
|
|
1047
991
|
cancelHostCallback = function () {
|
|
1048
992
|
_callback = null;
|
|
1049
993
|
};
|
|
1050
|
-
|
|
1051
|
-
return
|
|
994
|
+
shouldYieldToHost = function () {
|
|
995
|
+
return false;
|
|
1052
996
|
};
|
|
1053
997
|
getCurrentTime = function () {
|
|
1054
998
|
return _currentTime === -1 ? 0 : _currentTime;
|
|
@@ -1079,8 +1023,8 @@ typeof window.addEventListener !== 'function') {
|
|
|
1079
1023
|
var previousFrameTime = 33;
|
|
1080
1024
|
var activeFrameTime = 33;
|
|
1081
1025
|
|
|
1082
|
-
|
|
1083
|
-
return frameDeadline;
|
|
1026
|
+
shouldYieldToHost = function () {
|
|
1027
|
+
return frameDeadline <= getCurrentTime();
|
|
1084
1028
|
};
|
|
1085
1029
|
|
|
1086
1030
|
// We use the postMessage trick to defer idle work until after the repaint.
|
|
@@ -1713,6 +1657,7 @@ var ReactSharedInternals = {
|
|
|
1713
1657
|
objectAssign(ReactSharedInternals, {
|
|
1714
1658
|
Scheduler: {
|
|
1715
1659
|
unstable_cancelCallback: unstable_cancelCallback,
|
|
1660
|
+
unstable_shouldYield: unstable_shouldYield,
|
|
1716
1661
|
unstable_now: getCurrentTime,
|
|
1717
1662
|
unstable_scheduleCallback: unstable_scheduleCallback,
|
|
1718
1663
|
unstable_runWithPriority: unstable_runWithPriority,
|
|
@@ -2421,6 +2366,9 @@ function createContext(defaultValue, calculateChangedBits) {
|
|
|
2421
2366
|
// Secondary renderers store their context values on separate fields.
|
|
2422
2367
|
_currentValue: defaultValue,
|
|
2423
2368
|
_currentValue2: defaultValue,
|
|
2369
|
+
// Used to track how many concurrent renderers this context currently
|
|
2370
|
+
// supports within in a single renderer. Such as parallel server rendering.
|
|
2371
|
+
_threadCount: 0,
|
|
2424
2372
|
// These are circular
|
|
2425
2373
|
Provider: null,
|
|
2426
2374
|
Consumer: null
|
|
@@ -2473,6 +2421,14 @@ function createContext(defaultValue, calculateChangedBits) {
|
|
|
2473
2421
|
context._currentValue2 = _currentValue2;
|
|
2474
2422
|
}
|
|
2475
2423
|
},
|
|
2424
|
+
_threadCount: {
|
|
2425
|
+
get: function () {
|
|
2426
|
+
return context._threadCount;
|
|
2427
|
+
},
|
|
2428
|
+
set: function (_threadCount) {
|
|
2429
|
+
context._threadCount = _threadCount;
|
|
2430
|
+
}
|
|
2431
|
+
},
|
|
2476
2432
|
Consumer: {
|
|
2477
2433
|
get: function () {
|
|
2478
2434
|
if (!hasWarnedAboutUsingNestedContextConsumers) {
|
|
@@ -2507,7 +2463,9 @@ function lazy(ctor) {
|
|
|
2507
2463
|
|
|
2508
2464
|
function forwardRef(render) {
|
|
2509
2465
|
{
|
|
2510
|
-
if (
|
|
2466
|
+
if (render != null && render.$$typeof === REACT_MEMO_TYPE) {
|
|
2467
|
+
warningWithoutStack$1(false, 'forwardRef requires a render function but received a `memo` ' + 'component. Instead of forwardRef(memo(...)), use ' + 'memo(forwardRef(...)).');
|
|
2468
|
+
} else if (typeof render !== 'function') {
|
|
2511
2469
|
warningWithoutStack$1(false, 'forwardRef requires a render function but was given %s.', render === null ? 'null' : typeof render);
|
|
2512
2470
|
} else {
|
|
2513
2471
|
!(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.7.0-alpha.
|
|
1
|
+
/** @license React v16.7.0-alpha.1
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,28 +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(
|
|
10
|
-
1;throw a;}}function
|
|
11
|
-
d||
|
|
12
|
-
c:d===c&&(c=g,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
function(a,b){return p().useContext(a,b)};k.useEffect=function(a,b){return p().useEffect(a,b)};k.useImperativeMethods=function(a,b,c){return p().useImperativeMethods(a,b,c)};k.useLayoutEffect=function(a,b){return p().useLayoutEffect(a,b)};k.useMemo=function(a,b){return p().useMemo(a,b)};k.useMutationEffect=function(a,b){return p().useMutationEffect(a,b)};k.useReducer=function(a,b,c){return p().useReducer(a,b,c)};k.useRef=function(a){return p().useRef(a)};k.useState=function(a){return p().useState(a)};
|
|
33
|
-
u=(u={default:k},k)||u;return u.default||u});
|
|
9
|
+
'use strict';(function(N,p){"object"===typeof exports&&"undefined"!==typeof module?module.exports=p():"function"===typeof define&&define.amd?define(p):N.React=p()})(this,function(){function N(a,b,d,f,n,g,c,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 e=[d,f,n,g,c,h],ta=0;a=Error(b.replace(/%s/g,function(){return e[ta++]}));a.name="Invariant Violation"}a.framesToPop=
|
|
10
|
+
1;throw a;}}function p(a){for(var b=arguments.length-1,d="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=0;f<b;f++)d+="&args[]="+encodeURIComponent(arguments[f+1]);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 q(a,b,d){this.props=a;this.context=b;this.refs=ca;this.updater=d||da}function ea(){}function O(a,b,d){this.props=a;this.context=b;this.refs=ca;this.updater=
|
|
11
|
+
d||da}function v(){if(!w){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 f=k,n=F;k=a;F=b;try{var g=d()}finally{k=f,F=n}if("function"===typeof g)if(g={callback:g,priorityLevel:a,expirationTime:b,next:null,previous:null},null===c)c=g.next=g.previous=g;else{d=null;a=c;do{if(a.expirationTime>=b){d=a;break}a=a.next}while(a!==c);null===d?d=
|
|
12
|
+
c:d===c&&(c=g,v());b=d.previous;b.next=d.previous=g;g.next=d;g.previous=b}}function R(){if(-1===m&&null!==c&&1===c.priorityLevel){w=!0;try{do Q();while(null!==c&&1===c.priorityLevel)}finally{w=!1,null!==c?v():D=!1}}}function ua(a){w=!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{w=!1,G=b,null!==c?v():D=!1,R()}}function fa(a,b,d){var f=void 0,n={},c=null,e=null;
|
|
13
|
+
if(null!=b)for(f in void 0!==b.ref&&(e=b.ref),void 0!==b.key&&(c=""+b.key),b)ha.call(b,f)&&!ia.hasOwnProperty(f)&&(n[f]=b[f]);var h=arguments.length-2;if(1===h)n.children=d;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:x,type:a,key:c,ref:e,props:n,_owner:S.current}}function va(a,b){return{$$typeof:x,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===x}function wa(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function ja(a,b,d,f){if(I.length){var c=I.pop();c.result=a;c.keyPrefix=b;c.func=d;c.context=f;c.count=0;return c}return{result:a,keyPrefix:b,func:d,context:f,count:0}}function ka(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,f){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;var g=!1;if(null===
|
|
15
|
+
a)g=!0;else switch(c){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case x:case xa:g=!0}}if(g)return d(f,a,""===b?"."+V(a,0):b),1;g=0;b=""===b?".":b+":";if(Array.isArray(a))for(var e=0;e<a.length;e++){c=a[e];var h=b+V(c,e);g+=U(c,h,d,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;!(c=a.next()).done;)c=c.value,h=b+V(c,e++),g+=U(c,h,d,f);else"object"===c&&(d=""+a,p("31",
|
|
16
|
+
"[object Object]"===d?"object with keys {"+Object.keys(a).join(", ")+"}":d,""));return g}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 f=a.result,c=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?X(a,f,d,function(a){return a}):null!=a&&(T(a)&&(a=va(a,c+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(ma,"$&/")+"/")+
|
|
17
|
+
d)),f.push(a))}function X(a,b,d,f,c){var e="";null!=d&&(e=(""+d).replace(ma,"$&/")+"/");b=ja(b,e,f,c);W(a,za,b);ka(b)}var e="function"===typeof Symbol&&Symbol.for,x=e?Symbol.for("react.element"):60103,xa=e?Symbol.for("react.portal"):60106,r=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,Da=e?Symbol.for("react.concurrent_mode"):60111,Ea=e?Symbol.for("react.forward_ref"):
|
|
18
|
+
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,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=0;10>a;a++)b["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(b).map(function(a){return b[a]}).join(""))return!1;
|
|
19
|
+
var d={};"abcdefghijklmnopqrst".split("").forEach(function(a){d[a]=a});return"abcdefghijklmnopqrst"!==Object.keys(Object.assign({},d)).join("")?!1:!0}catch(f){return!1}}()?Object.assign:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");var d=Object(a);for(var c,e=1;e<arguments.length;e++){var g=Object(arguments[e]);for(var k in g)Ia.call(g,k)&&(d[k]=g[k]);if(na){c=na(g);for(var h=0;h<c.length;h++)Ja.call(g,c[h])&&(d[c[h]]=g[c[h]])}}return d},
|
|
20
|
+
da={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,d){},enqueueReplaceState:function(a,b,d,c){},enqueueSetState:function(a,b,d,c){}},ca={};q.prototype.isReactComponent={};q.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?p("85"):void 0;this.updater.enqueueSetState(this,a,b,"setState")};q.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};ea.prototype=q.prototype;e=O.prototype=new ea;e.constructor=O;J(e,q.prototype);
|
|
21
|
+
e.isPureReactComponent=!0;var c=null,G=!1,k=3,m=-1,F=-1,w=!1,D=!1,Ka=Date,La="function"===typeof setTimeout?setTimeout:void 0,Ma="function"===typeof clearTimeout?clearTimeout:void 0,oa="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,pa="function"===typeof cancelAnimationFrame?cancelAnimationFrame:void 0,qa,ra,Y=function(a){qa=oa(function(b){Ma(ra);a(b)});ra=La(function(){pa(qa);a(l())},100)};if("object"===typeof performance&&"function"===typeof performance.now){var Na=performance;
|
|
22
|
+
var l=function(){return Na.now()}}else l=function(){return Ka.now()};if("undefined"!==typeof window&&window._schedMock){e=window._schedMock;var E=e[0];var P=e[1];var H=e[2]}else if("undefined"===typeof window||"function"!==typeof window.addEventListener){var y=null,z=-1,sa=function(a,b){if(null!==y){var d=y;y=null;try{z=b,d(a)}finally{z=-1}}};E=function(a,b){-1!==z?setTimeout(E,0,a,b):(y=a,setTimeout(sa,b,!0,b),setTimeout(sa,1073741823,!1,1073741823))};P=function(){y=null};H=function(){return!1};
|
|
23
|
+
l=function(){return-1===z?0:z}}else{"undefined"!==typeof console&&("function"!==typeof oa&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!==typeof pa&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var u=null,K=!1,A=-1,B=!1,Z=!1,L=0,M=33,C=33;H=function(){return L<=l()};var aa=
|
|
24
|
+
"__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(a){if(a.source===window&&a.data===aa){K=!1;a=u;var b=A;u=null;A=-1;var d=l(),c=!1;if(0>=L-d)if(-1!==b&&b<=d)c=!0;else{B||(B=!0,Y(ba));u=a;A=b;return}if(null!==a){Z=!0;try{a(c)}finally{Z=!1}}}},!1);var ba=function(a){if(null!==u){Y(ba);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,window.postMessage(aa,"*"))}else B=!1};E=function(a,b){u=a;A=b;Z||0>b?window.postMessage(aa,"*"):B||(B=
|
|
25
|
+
!0,Y(ba))};P=function(){u=null;K=!1;A=-1}}var Oa=0,S={current:null,currentDispatcher:null};e={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=
|
|
26
|
+
d+b.timeout;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 f=c;do{if(f.expirationTime>b){d=f;break}f=f.next}while(f!==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;
|
|
27
|
+
default:a=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_getCurrentPriorityLevel:function(){return k}},SchedulerTracing:{__interactionsRef:null,__subscriberRef:null,unstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Oa},unstable_subscribe:function(a){},unstable_trace:function(a,
|
|
28
|
+
b,d){return d()},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,I=[];r={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=ja(null,null,b,d);W(a,ya,b);ka(b)},count:function(a){return W(a,function(){return null},null)},toArray:function(a){var b=[];X(a,b,null,function(a){return a});return b},only:function(a){T(a)?
|
|
29
|
+
void 0:p("143");return a}},createRef:function(){return{current:null}},Component:q,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:Ea,render:a}},lazy:function(a){return{$$typeof:Ha,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:Ga,type:a,compare:void 0===
|
|
30
|
+
b?null:b}},Fragment:r,StrictMode:Aa,Suspense:Fa,createElement:fa,cloneElement:function(a,b,d){null===a||void 0===a?p("267",a):void 0;var c=void 0,e=J({},a.props),g=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&&(g=""+b.key);var l=void 0;a.type&&a.type.defaultProps&&(l=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=
|
|
31
|
+
0;m<c;m++)l[m]=arguments[m+2];e.children=l}return{$$typeof:x,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:T,version:"16.7.0-alpha.1",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:e};r.unstable_ConcurrentMode=Da;r.unstable_Profiler=t;t=(t={default:r},r)||t;return t.default||t});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React v16.7.0-alpha.
|
|
1
|
+
/** @license React v16.7.0-alpha.1
|
|
2
2
|
* react.profiling.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,32 +6,30 @@
|
|
|
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||
|
|
12
|
-
f:c===f&&(f=
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
b
|
|
35
|
-
|
|
36
|
-
a);b.type=a;return b},isValidElement:X,version:"16.7.0-alpha.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:g};l.ConcurrentMode=Na;l.Profiler=x;l.useCallback=function(a,b){return r().useCallback(a,b)};l.useContext=function(a,b){return r().useContext(a,b)};l.useEffect=function(a,b){return r().useEffect(a,b)};l.useImperativeMethods=function(a,b,c){return r().useImperativeMethods(a,b,c)};l.useLayoutEffect=function(a,b){return r().useLayoutEffect(a,b)};l.useMemo=function(a,b){return r().useMemo(a,
|
|
37
|
-
b)};l.useMutationEffect=function(a,b){return r().useMutationEffect(a,b)};l.useReducer=function(a,b,c){return r().useReducer(a,b,c)};l.useRef=function(a){return r().useRef(a)};l.useState=function(a){return r().useState(a)};x=(x={default:l},l)||x;return x.default||x});
|
|
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,g,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,g,f,h],k=0;a=Error(b.replace(/%s/g,function(){return wa[k++]}));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 u(a,b,c){this.props=a;this.context=b;this.refs=fa;this.updater=c||ha}function ia(){}function R(a,b,c){this.props=a;this.context=b;this.refs=fa;this.updater=
|
|
11
|
+
c||ha}function y(){if(!z){var a=f.expirationTime;G?S():G=!0;H(xa,a)}}function T(){var a=f,b=f.next;if(f===b)f=null;else{var c=f.previous;f=c.next=b;b.previous=c}a.next=a.previous=null;c=a.callback;b=a.expirationTime;a=a.priorityLevel;var d=l,e=I;l=a;I=b;try{var g=c()}finally{l=d,I=e}if("function"===typeof g)if(g={callback:g,priorityLevel:a,expirationTime:b,next:null,previous:null},null===f)f=g.next=g.previous=g;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=g,y());b=c.previous;b.next=c.previous=g;g.next=c;g.previous=b}}function U(){if(-1===q&&null!==f&&1===f.priorityLevel){z=!0;try{do T();while(null!==f&&1===f.priorityLevel)}finally{z=!1,null!==f?y():G=!1}}}function xa(a){z=!0;var b=J;J=a;try{if(a)for(;null!==f;){var c=p();if(f.expirationTime<=c){do T();while(null!==f&&f.expirationTime<=c)}else break}else if(null!==f){do T();while(null!==f&&!K())}}finally{z=!1,J=b,null!==f?y():G=!1,U()}}function ya(a){var b=!1,c=null;n.forEach(function(d){try{d.onInteractionTraced(a)}catch(e){b||
|
|
13
|
+
(b=!0,c=e)}});if(b)throw c;}function za(a){var b=!1,c=null;n.forEach(function(d){try{d.onInteractionScheduledWorkCompleted(a)}catch(e){b||(b=!0,c=e)}});if(b)throw c;}function Aa(a,b){var c=!1,d=null;n.forEach(function(e){try{e.onWorkScheduled(a,b)}catch(g){c||(c=!0,d=g)}});if(c)throw d;}function Ba(a,b){var c=!1,d=null;n.forEach(function(e){try{e.onWorkStarted(a,b)}catch(g){c||(c=!0,d=g)}});if(c)throw d;}function Ca(a,b){var c=!1,d=null;n.forEach(function(e){try{e.onWorkStopped(a,b)}catch(g){c||(c=
|
|
14
|
+
!0,d=g)}});if(c)throw d;}function Da(a,b){var c=!1,d=null;n.forEach(function(e){try{e.onWorkCanceled(a,b)}catch(g){c||(c=!0,d=g)}});if(c)throw d;}function ja(a,b,c){var d=void 0,e={},g=null,f=null;if(null!=b)for(d in void 0!==b.ref&&(f=b.ref),void 0!==b.key&&(g=""+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 k=Array(h),l=0;l<h;l++)k[l]=arguments[l+2];e.children=k}if(a&&a.defaultProps)for(d in h=a.defaultProps,h)void 0===
|
|
15
|
+
e[d]&&(e[d]=h[d]);return{$$typeof:A,type:a,key:g,ref:f,props:e,_owner:V.current}}function Ea(a,b){return{$$typeof:A,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===A}function Fa(a){var b={"=":"=0",":":"=2"};return"$"+(""+a).replace(/[=:]/g,function(a){return b[a]})}function ma(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 na(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 g=!1;if(null===a)g=!0;else switch(e){case "string":case "number":g=!0;break;case "object":switch(a.$$typeof){case A:case Ga:g=!0}}if(g)return c(d,a,""===b?"."+Y(a,0):b),1;g=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);g+=X(e,h,c,d)}else if(null===a||"object"!==typeof a?
|
|
17
|
+
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+Y(e,f++),g+=X(e,h,c,d);else"object"===e&&(c=""+a,r("31","[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c,""));return g}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?Fa(a.key):b.toString(36)}function Ha(a,b,c){a.func.call(a.context,b,a.count++)}function Ia(a,b,c){var d=
|
|
18
|
+
a.result,e=a.keyPrefix;a=a.func.call(a.context,b,a.count++);Array.isArray(a)?aa(a,d,c,function(a){return a}):null!=a&&(W(a)&&(a=Ea(a,e+(!a.key||b&&b.key===a.key?"":(""+a.key).replace(pa,"$&/")+"/")+c)),d.push(a))}function aa(a,b,c,d,e){var g="";null!=c&&(g=(""+c).replace(pa,"$&/")+"/");b=ma(b,g,d,e);Z(a,Ia,b);na(b)}var k="function"===typeof Symbol&&Symbol.for,A=k?Symbol.for("react.element"):60103,Ga=k?Symbol.for("react.portal"):60106,v=k?Symbol.for("react.fragment"):60107,Ja=k?Symbol.for("react.strict_mode"):
|
|
19
|
+
60108,w=k?Symbol.for("react.profiler"):60114,Ka=k?Symbol.for("react.provider"):60109,La=k?Symbol.for("react.context"):60110,Ma=k?Symbol.for("react.concurrent_mode"):60111,Na=k?Symbol.for("react.forward_ref"):60112,Oa=k?Symbol.for("react.suspense"):60113,Pa=k?Symbol.for("react.memo"):60115,Qa=k?Symbol.for("react.lazy"):60116,oa="function"===typeof Symbol&&Symbol.iterator,qa=Object.getOwnPropertySymbols,Ra=Object.prototype.hasOwnProperty,Sa=Object.prototype.propertyIsEnumerable,M=function(){try{if(!Object.assign)return!1;
|
|
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:function(a,b){if(null===a||void 0===a)throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
21
|
+
var c=Object(a);for(var d,e=1;e<arguments.length;e++){var g=Object(arguments[e]);for(var f in g)Ra.call(g,f)&&(c[f]=g[f]);if(qa){d=qa(g);for(var h=0;h<d.length;h++)Sa.call(g,d[h])&&(c[d[h]]=g[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={};u.prototype.isReactComponent={};u.prototype.setState=function(a,b){"object"!==typeof a&&"function"!==typeof a&&null!=a?r("85"):void 0;this.updater.enqueueSetState(this,
|
|
22
|
+
a,b,"setState")};u.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};ia.prototype=u.prototype;k=R.prototype=new ia;k.constructor=R;M(k,u.prototype);k.isPureReactComponent=!0;var f=null,J=!1,l=3,q=-1,I=-1,z=!1,G=!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:
|
|
23
|
+
void 0,ta,ua,ba=function(a){ta=ra(function(b){Va(ua);a(b)});ua=Ua(function(){sa(ta);a(p())},100)};if("object"===typeof performance&&"function"===typeof performance.now){var Wa=performance;var p=function(){return Wa.now()}}else p=function(){return Ta.now()};if("undefined"!==typeof window&&window._schedMock){k=window._schedMock;var H=k[0];var S=k[1];var K=k[2]}else if("undefined"===typeof window||"function"!==typeof window.addEventListener){var B=null,C=-1,va=function(a,b){if(null!==B){var c=B;B=null;
|
|
24
|
+
try{C=b,c(a)}finally{C=-1}}};H=function(a,b){-1!==C?setTimeout(H,0,a,b):(B=a,setTimeout(va,b,!0,b),setTimeout(va,1073741823,!1,1073741823))};S=function(){B=null};K=function(){return!1};p=function(){return-1===C?0:C}}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"));
|
|
25
|
+
var x=null,N=!1,D=-1,E=!1,ca=!1,O=0,P=33,F=33;K=function(){return O<=p()};var da="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(a){if(a.source===window&&a.data===da){N=!1;a=x;var b=D;x=null;D=-1;var c=p(),d=!1;if(0>=O-c)if(-1!==b&&b<=c)d=!0;else{E||(E=!0,ba(ea));x=a;D=b;return}if(null!==a){ca=!0;try{a(d)}finally{ca=!1}}}},!1);var ea=function(a){if(null!==x){ba(ea);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,window.postMessage(da,
|
|
26
|
+
"*"))}else E=!1};H=function(a,b){x=a;D=b;ca||0>b?window.postMessage(da,"*"):E||(E=!0,ba(ea))};S=function(){x=null;N=!1;D=-1}}var Xa=0,Ya=0,m=null,t=null;m={current:new Set};t={current:null};var n=null;n=new Set;var V={current:null,currentDispatcher:null};k={ReactCurrentOwner:V,assign:M};M(k,{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_shouldYield:function(){return!J&&
|
|
27
|
+
(null!==f&&f.expirationTime<I||K())},unstable_now:p,unstable_scheduleCallback:function(a,b){var c=-1!==q?q:p();if("object"===typeof b&&null!==b&&"number"===typeof b.timeout)b=c+b.timeout;else switch(l){case 1:b=c+-1;break;case 2:b=c+250;break;case 5:b=c+1073741823;break;case 4:b=c+1E4;break;default:b=c+5E3}a={callback:a,priorityLevel:l,expirationTime:b,next:null,previous:null};if(null===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===
|
|
28
|
+
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=l,d=q;l=a;q=p();try{return b()}finally{l=c,q=d,U()}},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,U()}}},unstable_getCurrentPriorityLevel:function(){return l}},SchedulerTracing:{__interactionsRef:m,__subscriberRef:t,unstable_clear:function(a){var b=
|
|
29
|
+
m.current;m.current=new Set;try{return a()}finally{m.current=b}},unstable_getCurrent:function(){return m.current},unstable_getThreadID:function(){return++Ya},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,
|
|
30
|
+
k=new Set(f);k.add(e);m.current=k;var h=t.current,l=void 0;try{if(null!==h)h.onInteractionTraced(e)}finally{try{if(null!==h)h.onWorkStarted(k,d)}finally{try{l=c()}finally{m.current=f;try{if(null!==h)h.onWorkStopped(k,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 g=void 0;try{if(null!==
|
|
31
|
+
e)e.onWorkStarted(d,c)}finally{try{g=a.apply(void 0,arguments)}finally{if(m.current=b,null!==e)e.onWorkStopped(d,c)}}return g}finally{f||(f=!0,d.forEach(function(a){a.__count--;if(null!==e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)}))}}var c=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,d=m.current,e=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--;
|
|
32
|
+
if(e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)})}};return b}}});var ka=Object.prototype.hasOwnProperty,la={key:!0,ref:!0,__self:!0,__source:!0},pa=/\/+/g,L=[];v={Children:{map:function(a,b,c){if(null==a)return a;var d=[];aa(a,d,null,b,c);return d},forEach:function(a,b,c){if(null==a)return a;b=ma(null,null,b,c);Z(a,Ha,b);na(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:
|
|
33
|
+
r("143");return a}},createRef:function(){return{current:null}},Component:u,PureComponent:R,createContext:function(a,b){void 0===b&&(b=null);a={$$typeof:La,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:Ka,_context:a};return a.Consumer=a},forwardRef:function(a){return{$$typeof:Na,render:a}},lazy:function(a){return{$$typeof:Qa,_ctor:a,_status:-1,_result:null}},memo:function(a,b){return{$$typeof:Pa,type:a,compare:void 0===b?null:
|
|
34
|
+
b}},Fragment:v,StrictMode:Ja,Suspense:Oa,createElement:ja,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,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=V.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]=
|
|
35
|
+
arguments[m+2];e.children=l}return{$$typeof:A,type:a.type,key:f,ref:k,props:e,_owner:h}},createFactory:function(a){var b=ja.bind(null,a);b.type=a;return b},isValidElement:W,version:"16.7.0-alpha.1",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:k};v.unstable_ConcurrentMode=Ma;v.unstable_Profiler=w;w=(w={default:v},v)||w;return w.default||w});
|