react 0.0.0-experimental-3310209d0 → 0.0.0-experimental-4c019585e
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-jsx-dev-runtime.development.js +1 -1
- package/cjs/react-jsx-dev-runtime.production.min.js +1 -1
- package/cjs/react-jsx-dev-runtime.profiling.min.js +1 -1
- package/cjs/react-jsx-runtime.development.js +1 -1
- package/cjs/react-jsx-runtime.production.min.js +1 -1
- package/cjs/react-jsx-runtime.profiling.min.js +1 -1
- package/cjs/react-unstable-shared-subset.development.js +14 -12
- package/cjs/react-unstable-shared-subset.production.min.js +6 -5
- package/cjs/react.development.js +14 -12
- package/cjs/react.production.min.js +7 -7
- package/package.json +2 -2
- package/umd/react.development.js +14 -12
- package/umd/react.production.min.js +24 -24
- package/umd/react.profiling.min.js +28 -28
- package/build-info.json +0 -8
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React
|
|
1
|
+
/** @license React vundefined
|
|
2
2
|
* react-unstable-shared-subset.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -15,12 +15,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
15
15
|
|
|
16
16
|
var _assign = require('object-assign');
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
//
|
|
20
|
-
// TODO: 17.0.2 has not been released to NPM;
|
|
21
|
-
// It exists as a placeholder so that DevTools can support work tag changes between releases.
|
|
22
|
-
// When we next publish a release (either 17.0.2 or 17.1.0), update the matching TODO in backend/renderer.js
|
|
23
|
-
var ReactVersion = '17.0.2-experimental-3310209d0';
|
|
18
|
+
var ReactVersion = '17.0.2-experimental-4c019585e';
|
|
24
19
|
|
|
25
20
|
// ATTENTION
|
|
26
21
|
// When adding new symbols to this file,
|
|
@@ -1362,11 +1357,14 @@ function memo(type, compare) {
|
|
|
1362
1357
|
function resolveDispatcher() {
|
|
1363
1358
|
var dispatcher = ReactCurrentDispatcher.current;
|
|
1364
1359
|
|
|
1365
|
-
|
|
1366
|
-
{
|
|
1367
|
-
|
|
1360
|
+
{
|
|
1361
|
+
if (dispatcher === null) {
|
|
1362
|
+
error('Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for' + ' one of the following reasons:\n' + '1. You might have mismatching versions of React and the renderer (such as React DOM)\n' + '2. You might be breaking the Rules of Hooks\n' + '3. You might have more than one copy of React in the same app\n' + 'See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.');
|
|
1368
1363
|
}
|
|
1369
|
-
}
|
|
1364
|
+
} // Will result in a null access error if accessed outside render phase. We
|
|
1365
|
+
// intentionally don't throw our own error because this is in a hot path.
|
|
1366
|
+
// Also helps ensure this is inlined.
|
|
1367
|
+
|
|
1370
1368
|
|
|
1371
1369
|
return dispatcher;
|
|
1372
1370
|
}
|
|
@@ -2144,7 +2142,11 @@ function createMutableSource(source, getVersion) {
|
|
|
2144
2142
|
|
|
2145
2143
|
{
|
|
2146
2144
|
mutableSource._currentPrimaryRenderer = null;
|
|
2147
|
-
mutableSource._currentSecondaryRenderer = null;
|
|
2145
|
+
mutableSource._currentSecondaryRenderer = null; // Used to detect side effects that update a mutable source during render.
|
|
2146
|
+
// See https://github.com/facebook/react/issues/19948
|
|
2147
|
+
|
|
2148
|
+
mutableSource._currentlyRenderingFiber = null;
|
|
2149
|
+
mutableSource._initialVersionAsOfFirstRender = null;
|
|
2148
2150
|
}
|
|
2149
2151
|
|
|
2150
2152
|
return mutableSource;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React
|
|
1
|
+
/** @license React vundefined
|
|
2
2
|
* react-unstable-shared-subset.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -14,9 +14,10 @@ function B(){}B.prototype=A.prototype;function C(a,b,e){this.props=a;this.contex
|
|
|
14
14
|
function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}var J=/\/+/g;function K(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
|
|
15
15
|
function L(a,b,e,d,c){var k=typeof a;if("undefined"===k||"boolean"===k)a=null;var h=!1;if(null===a)h=!0;else switch(k){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case n:case p:h=!0}}if(h)return h=a,c=c(h),a=""===d?"."+K(h,0):d,Array.isArray(c)?(e="",null!=a&&(e=a.replace(J,"$&/")+"/"),L(c,b,e,"",function(a){return a})):null!=c&&(I(c)&&(c=H(c,e+(!c.key||h&&h.key===c.key?"":(""+c.key).replace(J,"$&/")+"/")+a)),b.push(c)),1;h=0;d=""===d?".":d+":";if(Array.isArray(a))for(var g=
|
|
16
16
|
0;g<a.length;g++){k=a[g];var f=d+K(k,g);h+=L(k,b,e,f,c)}else if(f=w(a),"function"===typeof f)for(a=f.call(a),g=0;!(k=a.next()).done;)k=k.value,f=d+K(k,g++),h+=L(k,b,e,f,c);else if("object"===k)throw b=""+a,Error(x(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return h}function M(a,b,e){if(null==a)return a;var d=[],c=0;L(a,d,"","",function(a){return b.call(e,a,c++)});return d}
|
|
17
|
-
function N(a){if(-1===a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}var O={current:null}
|
|
18
|
-
exports.Children={map:M,forEach:function(a,b,e){M(a,function(){b.apply(this,arguments)},e)},count:function(a){var b=0;M(a,function(){b++});return b},toArray:function(a){return M(a,function(a){return a})||[]},only:function(a){if(!I(a))throw Error(x(143));return a}};exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=
|
|
17
|
+
function N(a){if(-1===a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}var O={current:null},P={ReactCurrentDispatcher:O,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:E,IsSomeRendererActing:{current:!1},assign:l};
|
|
18
|
+
exports.Children={map:M,forEach:function(a,b,e){M(a,function(){b.apply(this,arguments)},e)},count:function(a){var b=0;M(a,function(){b++});return b},toArray:function(a){return M(a,function(a){return a})||[]},only:function(a){if(!I(a))throw Error(x(143));return a}};exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P;
|
|
19
19
|
exports.cloneElement=function(a,b,e){if(null===a||void 0===a)throw Error(x(267,a));var d=l({},a.props),c=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=E.current);void 0!==b.key&&(c=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)F.call(b,f)&&!G.hasOwnProperty(f)&&(d[f]=void 0===b[f]&&void 0!==g?g[f]:b[f])}var f=arguments.length-2;if(1===f)d.children=e;else if(1<f){g=Array(f);for(var m=0;m<f;m++)g[m]=arguments[m+2];d.children=g}return{$$typeof:n,type:a.type,
|
|
20
20
|
key:c,ref:k,props:d,_owner:h}};exports.createElement=function(a,b,e){var d,c={},k=null,h=null;if(null!=b)for(d in void 0!==b.ref&&(h=b.ref),void 0!==b.key&&(k=""+b.key),b)F.call(b,d)&&!G.hasOwnProperty(d)&&(c[d]=b[d]);var g=arguments.length-2;if(1===g)c.children=e;else if(1<g){for(var f=Array(g),m=0;m<g;m++)f[m]=arguments[m+2];c.children=f}if(a&&a.defaultProps)for(d in g=a.defaultProps,g)void 0===c[d]&&(c[d]=g[d]);return{$$typeof:n,type:a,key:k,ref:h,props:c,_owner:E.current}};exports.createRef=function(){return{current:null}};
|
|
21
|
-
exports.forwardRef=function(a){return{$$typeof:q,render:a}};exports.isValidElement=I;exports.lazy=function(a){return{$$typeof:t,_payload:{_status:-1,_result:a},_init:N}};exports.memo=function(a,b){return{$$typeof:r,type:a,compare:void 0===b?null:b}};exports.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};exports.unstable_getCacheForType=function(a){return
|
|
22
|
-
exports.unstable_useDeferredValue=function(a){return
|
|
21
|
+
exports.forwardRef=function(a){return{$$typeof:q,render:a}};exports.isValidElement=I;exports.lazy=function(a){return{$$typeof:t,_payload:{_status:-1,_result:a},_init:N}};exports.memo=function(a,b){return{$$typeof:r,type:a,compare:void 0===b?null:b}};exports.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};exports.unstable_getCacheForType=function(a){return O.current.getCacheForType(a)};
|
|
22
|
+
exports.unstable_useDeferredValue=function(a){return O.current.useDeferredValue(a)};exports.unstable_useMutableSource=function(a,b,e){return O.current.useMutableSource(a,b,e)};exports.unstable_useOpaqueIdentifier=function(){return O.current.useOpaqueIdentifier()};exports.useCallback=function(a,b){return O.current.useCallback(a,b)};exports.useContext=function(a,b){return O.current.useContext(a,b)};exports.useDebugValue=function(){};exports.useMemo=function(a,b){return O.current.useMemo(a,b)};
|
|
23
|
+
exports.version="17.0.2-experimental-4c019585e";
|
package/cjs/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React
|
|
1
|
+
/** @license React vundefined
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -15,12 +15,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
15
15
|
|
|
16
16
|
var _assign = require('object-assign');
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
//
|
|
20
|
-
// TODO: 17.0.2 has not been released to NPM;
|
|
21
|
-
// It exists as a placeholder so that DevTools can support work tag changes between releases.
|
|
22
|
-
// When we next publish a release (either 17.0.2 or 17.1.0), update the matching TODO in backend/renderer.js
|
|
23
|
-
var ReactVersion = '17.0.2-experimental-3310209d0';
|
|
18
|
+
var ReactVersion = '17.0.2-experimental-4c019585e';
|
|
24
19
|
|
|
25
20
|
// ATTENTION
|
|
26
21
|
// When adding new symbols to this file,
|
|
@@ -1483,11 +1478,14 @@ function memo(type, compare) {
|
|
|
1483
1478
|
function resolveDispatcher() {
|
|
1484
1479
|
var dispatcher = ReactCurrentDispatcher.current;
|
|
1485
1480
|
|
|
1486
|
-
|
|
1487
|
-
{
|
|
1488
|
-
|
|
1481
|
+
{
|
|
1482
|
+
if (dispatcher === null) {
|
|
1483
|
+
error('Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for' + ' one of the following reasons:\n' + '1. You might have mismatching versions of React and the renderer (such as React DOM)\n' + '2. You might be breaking the Rules of Hooks\n' + '3. You might have more than one copy of React in the same app\n' + 'See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.');
|
|
1489
1484
|
}
|
|
1490
|
-
}
|
|
1485
|
+
} // Will result in a null access error if accessed outside render phase. We
|
|
1486
|
+
// intentionally don't throw our own error because this is in a hot path.
|
|
1487
|
+
// Also helps ensure this is inlined.
|
|
1488
|
+
|
|
1491
1489
|
|
|
1492
1490
|
return dispatcher;
|
|
1493
1491
|
}
|
|
@@ -2326,7 +2324,11 @@ function createMutableSource(source, getVersion) {
|
|
|
2326
2324
|
|
|
2327
2325
|
{
|
|
2328
2326
|
mutableSource._currentPrimaryRenderer = null;
|
|
2329
|
-
mutableSource._currentSecondaryRenderer = null;
|
|
2327
|
+
mutableSource._currentSecondaryRenderer = null; // Used to detect side effects that update a mutable source during render.
|
|
2328
|
+
// See https://github.com/facebook/react/issues/19948
|
|
2329
|
+
|
|
2330
|
+
mutableSource._currentlyRenderingFiber = null;
|
|
2331
|
+
mutableSource._initialVersionAsOfFirstRender = null;
|
|
2330
2332
|
}
|
|
2331
2333
|
|
|
2332
2334
|
return mutableSource;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React
|
|
1
|
+
/** @license React vundefined
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -16,11 +16,11 @@ function J(a,b,c){var e,d={},k=null,h=null;if(null!=b)for(e in void 0!==b.ref&&(
|
|
|
16
16
|
function K(a,b){return{$$typeof:m,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function L(a){return"object"===typeof a&&null!==a&&a.$$typeof===m}function escape(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}var M=/\/+/g;function N(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
|
|
17
17
|
function O(a,b,c,e,d){var k=typeof a;if("undefined"===k||"boolean"===k)a=null;var h=!1;if(null===a)h=!0;else switch(k){case "string":case "number":h=!0;break;case "object":switch(a.$$typeof){case m:case p:h=!0}}if(h)return h=a,d=d(h),a=""===e?"."+N(h,0):e,Array.isArray(d)?(c="",null!=a&&(c=a.replace(M,"$&/")+"/"),O(d,b,c,"",function(a){return a})):null!=d&&(L(d)&&(d=K(d,c+(!d.key||h&&h.key===d.key?"":(""+d.key).replace(M,"$&/")+"/")+a)),b.push(d)),1;h=0;e=""===e?".":e+":";if(Array.isArray(a))for(var g=
|
|
18
18
|
0;g<a.length;g++){k=a[g];var f=e+N(k,g);h+=O(k,b,c,f,d)}else if(f=y(a),"function"===typeof f)for(a=f.call(a),g=0;!(k=a.next()).done;)k=k.value,f=e+N(k,g++),h+=O(k,b,c,f,d);else if("object"===k)throw b=""+a,Error(z(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return h}function P(a,b,c){if(null==a)return a;var e=[],d=0;O(a,e,"","",function(a){return b.call(c,a,d++)});return e}
|
|
19
|
-
function Q(a){if(-1===a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}var R={current:null}
|
|
20
|
-
exports.Children={map:P,forEach:function(a,b,c){P(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;P(a,function(){b++});return b},toArray:function(a){return P(a,function(a){return a})||[]},only:function(a){if(!L(a))throw Error(z(143));return a}};exports.Component=C;exports.PureComponent=E;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=
|
|
19
|
+
function Q(a){if(-1===a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}var R={current:null},S={transition:0},T={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:S,ReactCurrentOwner:G,IsSomeRendererActing:{current:!1},assign:l};
|
|
20
|
+
exports.Children={map:P,forEach:function(a,b,c){P(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;P(a,function(){b++});return b},toArray:function(a){return P(a,function(a){return a})||[]},only:function(a){if(!L(a))throw Error(z(143));return a}};exports.Component=C;exports.PureComponent=E;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=T;
|
|
21
21
|
exports.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(z(267,a));var e=l({},a.props),d=a.key,k=a.ref,h=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,h=G.current);void 0!==b.key&&(d=""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(f in b)H.call(b,f)&&!I.hasOwnProperty(f)&&(e[f]=void 0===b[f]&&void 0!==g?g[f]:b[f])}var f=arguments.length-2;if(1===f)e.children=c;else if(1<f){g=Array(f);for(var n=0;n<f;n++)g[n]=arguments[n+2];e.children=g}return{$$typeof:m,type:a.type,
|
|
22
22
|
key:d,ref:k,props:e,_owner:h}};exports.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:r,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:q,_context:a};return a.Consumer=a};exports.createElement=J;exports.createFactory=function(a){var b=J.bind(null,a);b.type=a;return b};exports.createRef=function(){return{current:null}};exports.forwardRef=function(a){return{$$typeof:t,render:a}};exports.isValidElement=L;
|
|
23
|
-
exports.lazy=function(a){return{$$typeof:v,_payload:{_status:-1,_result:a},_init:Q}};exports.memo=function(a,b){return{$$typeof:u,type:a,compare:void 0===b?null:b}};exports.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};exports.unstable_getCacheForType=function(a){return
|
|
24
|
-
exports.unstable_startTransition=function(a){var b=
|
|
25
|
-
exports.useCallback=function(a,b){return
|
|
26
|
-
exports.
|
|
23
|
+
exports.lazy=function(a){return{$$typeof:v,_payload:{_status:-1,_result:a},_init:Q}};exports.memo=function(a,b){return{$$typeof:u,type:a,compare:void 0===b?null:b}};exports.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};exports.unstable_getCacheForType=function(a){return R.current.getCacheForType(a)};
|
|
24
|
+
exports.unstable_startTransition=function(a){var b=S.transition;S.transition=1;try{a()}finally{S.transition=b}};exports.unstable_useCacheRefresh=function(){return R.current.useCacheRefresh()};exports.unstable_useDeferredValue=function(a){return R.current.useDeferredValue(a)};exports.unstable_useMutableSource=function(a,b,c){return R.current.useMutableSource(a,b,c)};exports.unstable_useOpaqueIdentifier=function(){return R.current.useOpaqueIdentifier()};exports.unstable_useTransition=function(){return R.current.useTransition()};
|
|
25
|
+
exports.useCallback=function(a,b){return R.current.useCallback(a,b)};exports.useContext=function(a,b){return R.current.useContext(a,b)};exports.useDebugValue=function(){};exports.useEffect=function(a,b){return R.current.useEffect(a,b)};exports.useImperativeHandle=function(a,b,c){return R.current.useImperativeHandle(a,b,c)};exports.useLayoutEffect=function(a,b){return R.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return R.current.useMemo(a,b)};
|
|
26
|
+
exports.useReducer=function(a,b,c){return R.current.useReducer(a,b,c)};exports.useRef=function(a){return R.current.useRef(a)};exports.useState=function(a){return R.current.useState(a)};exports.version="17.0.2-experimental-4c019585e";
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"keywords": [
|
|
5
5
|
"react"
|
|
6
6
|
],
|
|
7
|
-
"version": "0.0.0-experimental-
|
|
7
|
+
"version": "0.0.0-experimental-4c019585e",
|
|
8
8
|
"homepage": "https://reactjs.org/",
|
|
9
9
|
"bugs": "https://github.com/facebook/react/issues",
|
|
10
10
|
"license": "MIT",
|
|
@@ -51,4 +51,4 @@
|
|
|
51
51
|
"loose-envify"
|
|
52
52
|
]
|
|
53
53
|
}
|
|
54
|
-
}
|
|
54
|
+
}
|
package/umd/react.development.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React
|
|
1
|
+
/** @license React vundefined
|
|
2
2
|
* react.development.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -12,12 +12,7 @@
|
|
|
12
12
|
(global = global || self, factory(global.React = {}));
|
|
13
13
|
}(this, (function (exports) { 'use strict';
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
//
|
|
17
|
-
// TODO: 17.0.2 has not been released to NPM;
|
|
18
|
-
// It exists as a placeholder so that DevTools can support work tag changes between releases.
|
|
19
|
-
// When we next publish a release (either 17.0.2 or 17.1.0), update the matching TODO in backend/renderer.js
|
|
20
|
-
var ReactVersion = '17.0.2-experimental-3310209d0';
|
|
15
|
+
var ReactVersion = '17.0.2-experimental-4c019585e';
|
|
21
16
|
|
|
22
17
|
// ATTENTION
|
|
23
18
|
// When adding new symbols to this file,
|
|
@@ -1508,11 +1503,14 @@
|
|
|
1508
1503
|
function resolveDispatcher() {
|
|
1509
1504
|
var dispatcher = ReactCurrentDispatcher.current;
|
|
1510
1505
|
|
|
1511
|
-
|
|
1512
|
-
{
|
|
1513
|
-
|
|
1506
|
+
{
|
|
1507
|
+
if (dispatcher === null) {
|
|
1508
|
+
error('Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for' + ' one of the following reasons:\n' + '1. You might have mismatching versions of React and the renderer (such as React DOM)\n' + '2. You might be breaking the Rules of Hooks\n' + '3. You might have more than one copy of React in the same app\n' + 'See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.');
|
|
1514
1509
|
}
|
|
1515
|
-
}
|
|
1510
|
+
} // Will result in a null access error if accessed outside render phase. We
|
|
1511
|
+
// intentionally don't throw our own error because this is in a hot path.
|
|
1512
|
+
// Also helps ensure this is inlined.
|
|
1513
|
+
|
|
1516
1514
|
|
|
1517
1515
|
return dispatcher;
|
|
1518
1516
|
}
|
|
@@ -2351,7 +2349,11 @@
|
|
|
2351
2349
|
|
|
2352
2350
|
{
|
|
2353
2351
|
mutableSource._currentPrimaryRenderer = null;
|
|
2354
|
-
mutableSource._currentSecondaryRenderer = null;
|
|
2352
|
+
mutableSource._currentSecondaryRenderer = null; // Used to detect side effects that update a mutable source during render.
|
|
2353
|
+
// See https://github.com/facebook/react/issues/19948
|
|
2354
|
+
|
|
2355
|
+
mutableSource._currentlyRenderingFiber = null;
|
|
2356
|
+
mutableSource._initialVersionAsOfFirstRender = null;
|
|
2355
2357
|
}
|
|
2356
2358
|
|
|
2357
2359
|
return mutableSource;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React
|
|
1
|
+
/** @license React vundefined
|
|
2
2
|
* react.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,27 +6,27 @@
|
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
(function(){'use strict';(function(c,w){"object"===typeof exports&&"undefined"!==typeof module?w(exports):"function"===typeof define&&define.amd?define(["exports"],w):(c=c||self,w(c.React={}))})(this,function(c){function w(a){if(null===a||"object"!==typeof a)return null;a=U&&a[U]||a["@@iterator"];return"function"===typeof a?a:null}function
|
|
10
|
-
a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(a,b,k){this.props=a;this.context=b;this.refs=V;this.updater=k||W}function X(){}function J(a,b,k){this.props=a;this.context=b;this.refs=V;this.updater=k||W}function Y(a,b,k){var m,c={},Z=null,
|
|
11
|
-
k;else if(1<d){for(var f=Array(d),e=0;e<d;e++)f[e]=arguments[e+2];c.children=f}if(a&&a.defaultProps)for(m in d=a.defaultProps,d)void 0===c[m]&&(c[m]=d[m]);return{$$typeof:v,type:a,key:Z,ref:
|
|
12
|
-
typeof a&&null!==a&&null!=a.key?
|
|
13
|
-
a)),b.push(
|
|
14
|
-
a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}function
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
var H=!1,G=null,
|
|
23
|
-
b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=e;e=a;try{return b()}finally{e=c}},unstable_next:function(a){switch(e){case 1:case 2:case 3:var b=3;break;default:b=e}var c=e;e=b;try{return a()}finally{e=c}},unstable_scheduleCallback:function(a,b,c){var d=t();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:
|
|
24
|
-
startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,N(q,a),null===n(p)&&a===n(q)&&(
|
|
25
|
-
F||(r=!0,Q(R))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return n(p)},get unstable_now(){return t},unstable_forceFrameRate:function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):
|
|
26
|
-
unstable_getThreadID:function(){return++
|
|
27
|
-
d;c.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(
|
|
28
|
-
key:e,ref:k,props:d,_owner:
|
|
29
|
-
_result:a},_init:
|
|
30
|
-
function(a){return
|
|
31
|
-
b,c)};c.useLayoutEffect=function(a,b){return
|
|
9
|
+
(function(){'use strict';(function(c,w){"object"===typeof exports&&"undefined"!==typeof module?w(exports):"function"===typeof define&&define.amd?define(["exports"],w):(c=c||self,w(c.React={}))})(this,function(c){function w(a){if(null===a||"object"!==typeof a)return null;a=U&&a[U]||a["@@iterator"];return"function"===typeof a?a:null}function A(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,k=1;k<arguments.length;k++)b+="&args[]="+encodeURIComponent(arguments[k]);return"Minified React error #"+
|
|
10
|
+
a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function u(a,b,k){this.props=a;this.context=b;this.refs=V;this.updater=k||W}function X(){}function J(a,b,k){this.props=a;this.context=b;this.refs=V;this.updater=k||W}function Y(a,b,k){var m,c={},Z=null,x=null;if(null!=b)for(m in void 0!==b.ref&&(x=b.ref),void 0!==b.key&&(Z=""+b.key),b)aa.call(b,m)&&!ba.hasOwnProperty(m)&&(c[m]=b[m]);var d=arguments.length-2;if(1===d)c.children=
|
|
11
|
+
k;else if(1<d){for(var f=Array(d),e=0;e<d;e++)f[e]=arguments[e+2];c.children=f}if(a&&a.defaultProps)for(m in d=a.defaultProps,d)void 0===c[m]&&(c[m]=d[m]);return{$$typeof:v,type:a,key:Z,ref:x,props:c,_owner:K.current}}function qa(a,b){return{$$typeof:v,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function L(a){return"object"===typeof a&&null!==a&&a.$$typeof===v}function ra(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}function M(a,b){return"object"===
|
|
12
|
+
typeof a&&null!==a&&null!=a.key?ra(""+a.key):b.toString(36)}function B(a,b,k,c,h){var m=typeof a;if("undefined"===m||"boolean"===m)a=null;var d=!1;if(null===a)d=!0;else switch(m){case "string":case "number":d=!0;break;case "object":switch(a.$$typeof){case v:case ca:d=!0}}if(d)return d=a,h=h(d),a=""===c?"."+M(d,0):c,Array.isArray(h)?(k="",null!=a&&(k=a.replace(da,"$&/")+"/"),B(h,b,k,"",function(a){return a})):null!=h&&(L(h)&&(h=qa(h,k+(!h.key||d&&d.key===h.key?"":(""+h.key).replace(da,"$&/")+"/")+
|
|
13
|
+
a)),b.push(h)),1;d=0;c=""===c?".":c+":";if(Array.isArray(a))for(var e=0;e<a.length;e++){m=a[e];var f=c+M(m,e);d+=B(m,b,k,f,h)}else if(f=w(a),"function"===typeof f)for(a=f.call(a),e=0;!(m=a.next()).done;)m=m.value,f=c+M(m,e++),d+=B(m,b,k,f,h);else if("object"===m)throw b=""+a,Error(A(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return d}function C(a,b,k){if(null==a)return a;var c=[],d=0;B(a,c,"","",function(a){return b.call(k,a,d++)});return c}function sa(a){if(-1===
|
|
14
|
+
a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}function N(a,b){var k=a.length;a.push(b);a:for(;;){var c=k-1>>>1,d=a[c];if(void 0!==d&&0<D(d,b))a[c]=b,a[k]=d,k=c;else break a}}function n(a){a=a[0];return void 0===a?null:a}function E(a){var b=a[0];if(void 0!==b){var c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,h=a.length;d<
|
|
15
|
+
h;){var e=2*(d+1)-1,g=a[e],l=e+1,f=a[l];if(void 0!==g&&0>D(g,c))void 0!==f&&0>D(f,g)?(a[d]=f,a[l]=c,d=l):(a[d]=g,a[e]=c,d=e);else if(void 0!==f&&0>D(f,c))a[d]=f,a[l]=c,d=l;else break a}}return b}return null}function D(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function O(a){for(var b=n(q);null!==b;){if(null===b.callback)E(q);else if(b.startTime<=a)E(q),b.sortIndex=b.expirationTime,N(p,b);else break;b=n(q)}}function P(a){y=!1;O(a);if(!r)if(null!==n(p))r=!0,Q(R);else{var b=n(q);null!==
|
|
16
|
+
b&&S(P,b.startTime-a)}}function R(a,b){r=!1;y&&(y=!1,ea(z),z=-1);F=!0;var c=e;try{O(b);for(l=n(p);null!==l&&(!(l.expirationTime>b)||a&&!fa());){var d=l.callback;if("function"===typeof d){l.callback=null;e=l.priorityLevel;var h=d(l.expirationTime<=b);b=t();"function"===typeof h?l.callback=h:l===n(p)&&E(p);O(b)}else E(p);l=n(p)}if(null!==l)var g=!0;else{var x=n(q);null!==x&&S(P,x.startTime-b);g=!1}return g}finally{l=null,e=c,F=!1}}function fa(){return t()>=ha}function Q(a){G=a;H||(H=!0,ia.postMessage(null))}
|
|
17
|
+
function S(a,b){z=ta(function(){a(t())},b)}var v=60103,ca=60106;c.Fragment=60107;c.StrictMode=60108;c.Profiler=60114;var ja=60109,ka=60110,la=60112;c.Suspense=60113;c.unstable_SuspenseList=60120;var ma=60115,na=60116;c.unstable_DebugTracingMode=60129;c.unstable_LegacyHidden=60131;c.unstable_Cache=60132;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;v=d("react.element");ca=d("react.portal");c.Fragment=d("react.fragment");c.StrictMode=d("react.strict_mode");c.Profiler=d("react.profiler");
|
|
18
|
+
ja=d("react.provider");ka=d("react.context");la=d("react.forward_ref");c.Suspense=d("react.suspense");c.unstable_SuspenseList=d("react.suspense_list");ma=d("react.memo");na=d("react.lazy");c.unstable_DebugTracingMode=d("react.debug_trace_mode");c.unstable_LegacyHidden=d("react.legacy_hidden");c.unstable_Cache=d("react.cache")}var U="function"===typeof Symbol&&Symbol.iterator,ua=Object.prototype.hasOwnProperty,T=Object.assign||function(a,b){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");
|
|
19
|
+
for(var c=Object(a),d=1;d<arguments.length;d++){var h=arguments[d];if(null!=h){var e=void 0;h=Object(h);for(e in h)ua.call(h,e)&&(c[e]=h[e])}}return c},W={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},enqueueSetState:function(a,b,c,d){}},V={};u.prototype.isReactComponent={};u.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(A(85));this.updater.enqueueSetState(this,a,b,"setState")};u.prototype.forceUpdate=
|
|
20
|
+
function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};X.prototype=u.prototype;d=J.prototype=new X;d.constructor=J;T(d,u.prototype);d.isPureReactComponent=!0;var K={current:null},aa=Object.prototype.hasOwnProperty,ba={key:!0,ref:!0,__self:!0,__source:!0},da=/\/+/g,g={current:null},I={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var va=performance;var t=function(){return va.now()}}else{var oa=Date,wa=oa.now();t=function(){return oa.now()-wa}}var p=
|
|
21
|
+
[],q=[],xa=1,l=null,e=3,F=!1,r=!1,y=!1,ta=window.setTimeout,ea=window.clearTimeout;"undefined"!==typeof console&&(d=window.cancelAnimationFrame,"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof d&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"));
|
|
22
|
+
var H=!1,G=null,z=-1,pa=5,ha=0;d=new MessageChannel;var ia=d.port2;d.port1.onmessage=function(){if(null!==G){var a=t();ha=a+pa;var b=!0;try{b=G(!0,a)}finally{b?ia.postMessage(null):(H=!1,G=null)}}else H=!1};var ya=0;d={ReactCurrentDispatcher:g,ReactCurrentOwner:K,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:I,assign:T,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,
|
|
23
|
+
b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var c=e;e=a;try{return b()}finally{e=c}},unstable_next:function(a){switch(e){case 1:case 2:case 3:var b=3;break;default:b=e}var c=e;e=b;try{return a()}finally{e=c}},unstable_scheduleCallback:function(a,b,c){var d=t();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:xa++,callback:b,priorityLevel:a,
|
|
24
|
+
startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,N(q,a),null===n(p)&&a===n(q)&&(y?(ea(z),z=-1):y=!0,S(P,c-d))):(a.sortIndex=e,N(p,a),r||F||(r=!0,Q(R)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=e;return function(){var c=e;e=b;try{return a.apply(this,arguments)}finally{e=c}}},unstable_getCurrentPriorityLevel:function(){return e},unstable_shouldYield:fa,unstable_requestPaint:function(){},unstable_continueExecution:function(){r||
|
|
25
|
+
F||(r=!0,Q(R))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return n(p)},get unstable_now(){return t},unstable_forceFrameRate:function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):pa=0<a?Math.floor(1E3/a):5},unstable_Profiling:null},SchedulerTracing:{__proto__:null,__interactionsRef:null,__subscriberRef:null,unstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},
|
|
26
|
+
unstable_getThreadID:function(){return++ya},unstable_trace:function(a,b,c){return c()},unstable_wrap:function(a){return a},unstable_subscribe:function(a){},unstable_unsubscribe:function(a){}}};c.Children={map:C,forEach:function(a,b,c){C(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;C(a,function(){b++});return b},toArray:function(a){return C(a,function(a){return a})||[]},only:function(a){if(!L(a))throw Error(A(143));return a}};c.Component=u;c.PureComponent=J;c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=
|
|
27
|
+
d;c.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(A(267,a));var d=T({},a.props),e=a.key,k=a.ref,g=a._owner;if(null!=b){void 0!==b.ref&&(k=b.ref,g=K.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var l=a.type.defaultProps;for(f in b)aa.call(b,f)&&!ba.hasOwnProperty(f)&&(d[f]=void 0===b[f]&&void 0!==l?l[f]:b[f])}var f=arguments.length-2;if(1===f)d.children=c;else if(1<f){l=Array(f);for(var n=0;n<f;n++)l[n]=arguments[n+2];d.children=l}return{$$typeof:v,type:a.type,
|
|
28
|
+
key:e,ref:k,props:d,_owner:g}};c.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:ka,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ja,_context:a};return a.Consumer=a};c.createElement=Y;c.createFactory=function(a){var b=Y.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:la,render:a}};c.isValidElement=L;c.lazy=function(a){return{$$typeof:na,_payload:{_status:-1,
|
|
29
|
+
_result:a},_init:sa}};c.memo=function(a,b){return{$$typeof:ma,type:a,compare:void 0===b?null:b}};c.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};c.unstable_getCacheForType=function(a){return g.current.getCacheForType(a)};c.unstable_startTransition=function(a){var b=I.transition;I.transition=1;try{a()}finally{I.transition=b}};c.unstable_useCacheRefresh=function(){return g.current.useCacheRefresh()};
|
|
30
|
+
c.unstable_useDeferredValue=function(a){return g.current.useDeferredValue(a)};c.unstable_useMutableSource=function(a,b,c){return g.current.useMutableSource(a,b,c)};c.unstable_useOpaqueIdentifier=function(){return g.current.useOpaqueIdentifier()};c.unstable_useTransition=function(){return g.current.useTransition()};c.useCallback=function(a,b){return g.current.useCallback(a,b)};c.useContext=function(a,b){return g.current.useContext(a,b)};c.useDebugValue=function(a,b){};c.useEffect=function(a,b){return g.current.useEffect(a,
|
|
31
|
+
b)};c.useImperativeHandle=function(a,b,c){return g.current.useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return g.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return g.current.useMemo(a,b)};c.useReducer=function(a,b,c){return g.current.useReducer(a,b,c)};c.useRef=function(a){return g.current.useRef(a)};c.useState=function(a){return g.current.useState(a)};c.version="17.0.2-experimental-4c019585e"});
|
|
32
32
|
})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license React
|
|
1
|
+
/** @license React vundefined
|
|
2
2
|
* react.profiling.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -6,34 +6,34 @@
|
|
|
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
|
-
(function(){'use strict';(function(c,G){"object"===typeof exports&&"undefined"!==typeof module?G(exports):"function"===typeof define&&define.amd?define(["exports"],G):(c=c||self,G(c.React={}))})(this,function(c){function G(a){if(null===a||"object"!==typeof a)return null;a=ja&&a[ja]||a["@@iterator"];return"function"===typeof a?a:null}function
|
|
9
|
+
(function(){'use strict';(function(c,G){"object"===typeof exports&&"undefined"!==typeof module?G(exports):"function"===typeof define&&define.amd?define(["exports"],G):(c=c||self,G(c.React={}))})(this,function(c){function G(a){if(null===a||"object"!==typeof a)return null;a=ja&&a[ja]||a["@@iterator"];return"function"===typeof a?a:null}function L(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,d=1;d<arguments.length;d++)b+="&args[]="+encodeURIComponent(arguments[d]);return"Minified React error #"+
|
|
10
10
|
a+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function E(a,b,d){this.props=a;this.context=b;this.refs=ka;this.updater=d||la}function ma(){}function W(a,b,d){this.props=a;this.context=b;this.refs=ka;this.updater=d||la}function na(a,b,d){var f,e={},c=null,k=null;if(null!=b)for(f in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(c=""+b.key),b)oa.call(b,f)&&!pa.hasOwnProperty(f)&&(e[f]=b[f]);var h=arguments.length-2;if(1===
|
|
11
|
-
h)e.children=d;else if(1<h){for(var l=Array(h),g=0;g<h;g++)l[g]=arguments[g+2];e.children=l}if(a&&a.defaultProps)for(f in h=a.defaultProps,h)void 0===e[f]&&(e[f]=h[f]);return{$$typeof:F,type:a,key:c,ref:k,props:e,_owner:X.current}}function
|
|
12
|
-
typeof a&&null!==a&&null!=a.key?
|
|
13
|
-
a)),b.push(e)),1;k=0;f=""===f?".":f+":";if(Array.isArray(a))for(var h=0;h<a.length;h++){c=a[h];var l=f+Z(c,h);k+=M(c,b,d,l,e)}else if(l=G(a),"function"===typeof l)for(a=l.call(a),h=0;!(c=a.next()).done;)c=c.value,l=f+Z(c,h++),k+=M(c,b,d,l,e);else if("object"===c)throw b=""+a,Error(
|
|
14
|
-
a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}function
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
get unstable_now(){return x},unstable_forceFrameRate:function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):
|
|
30
|
-
ReactCurrentOwner:X,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:U,assign:ia,Scheduler:g,SchedulerTracing:{__proto__:null,get __interactionsRef(){return t},get __subscriberRef(){return A},unstable_clear:function(a){var b=t.current;t.current=new Set;try{return a()}finally{t.current=b}},unstable_getCurrent:function(){return t.current},unstable_getThreadID:function(){return++
|
|
11
|
+
h)e.children=d;else if(1<h){for(var l=Array(h),g=0;g<h;g++)l[g]=arguments[g+2];e.children=l}if(a&&a.defaultProps)for(f in h=a.defaultProps,h)void 0===e[f]&&(e[f]=h[f]);return{$$typeof:F,type:a,key:c,ref:k,props:e,_owner:X.current}}function Fa(a,b){return{$$typeof:F,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function Y(a){return"object"===typeof a&&null!==a&&a.$$typeof===F}function Ga(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}function Z(a,b){return"object"===
|
|
12
|
+
typeof a&&null!==a&&null!=a.key?Ga(""+a.key):b.toString(36)}function M(a,b,d,f,e){var c=typeof a;if("undefined"===c||"boolean"===c)a=null;var k=!1;if(null===a)k=!0;else switch(c){case "string":case "number":k=!0;break;case "object":switch(a.$$typeof){case F:case qa:k=!0}}if(k)return k=a,e=e(k),a=""===f?"."+Z(k,0):f,Array.isArray(e)?(d="",null!=a&&(d=a.replace(ra,"$&/")+"/"),M(e,b,d,"",function(a){return a})):null!=e&&(Y(e)&&(e=Fa(e,d+(!e.key||k&&k.key===e.key?"":(""+e.key).replace(ra,"$&/")+"/")+
|
|
13
|
+
a)),b.push(e)),1;k=0;f=""===f?".":f+":";if(Array.isArray(a))for(var h=0;h<a.length;h++){c=a[h];var l=f+Z(c,h);k+=M(c,b,d,l,e)}else if(l=G(a),"function"===typeof l)for(a=l.call(a),h=0;!(c=a.next()).done;)c=c.value,l=f+Z(c,h++),k+=M(c,b,d,l,e);else if("object"===c)throw b=""+a,Error(L(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return k}function N(a,b,d){if(null==a)return a;var f=[],e=0;M(a,f,"","",function(a){return b.call(d,a,e++)});return f}function Ha(a){if(-1===
|
|
14
|
+
a._status){var b=a._result;b=b();a._status=0;a._result=b;b.then(function(b){0===a._status&&(b=b.default,a._status=1,a._result=b)},function(b){0===a._status&&(a._status=2,a._result=b)})}if(1===a._status)return a._result;throw a._result;}function aa(a,b){var d=a.length;a.push(b);a:for(;;){var f=d-1>>>1,e=a[f];if(void 0!==e&&0<O(e,b))a[f]=b,a[d]=e,d=f;else break a}}function u(a){a=a[0];return void 0===a?null:a}function P(a){var b=a[0];if(void 0!==b){var d=a.pop();if(d!==b){a[0]=d;a:for(var f=0,e=a.length;f<
|
|
15
|
+
e;){var c=2*(f+1)-1,k=a[c],h=c+1,l=a[h];if(void 0!==k&&0>O(k,d))void 0!==l&&0>O(l,k)?(a[f]=l,a[h]=d,f=h):(a[f]=k,a[c]=d,f=c);else if(void 0!==l&&0>O(l,d))a[f]=l,a[h]=d,f=h;else break a}}return b}return null}function O(a,b){var d=a.sortIndex-b.sortIndex;return 0!==d?d:a.id-b.id}function y(a){if(null!==r){var b=H;H+=a.length;if(H+1>C){C*=2;if(524288<C){console.error("Scheduler Profiling: Event log exceeded maximum size. Don't forget to call `stopLoggingProfilingEvents()`.");sa();return}var d=new Int32Array(4*
|
|
16
|
+
C);d.set(r);I=d.buffer;r=d}r.set(a,b)}}function sa(){var a=I;C=0;r=I=null;H=0;return a}function ta(a,b){p[3]++;null!==r&&y([1,1E3*b,a.id,a.priorityLevel])}function ba(a){for(var b=u(z);null!==b;){if(null===b.callback)P(z);else if(b.startTime<=a)P(z),b.sortIndex=b.expirationTime,aa(w,b),ta(b,a),b.isQueued=!0;else break;b=u(z)}}function ca(a){J=!1;ba(a);if(!D)if(null!==u(w))D=!0,da(ea);else{var b=u(z);null!==b&&fa(ca,b.startTime-a)}}function ea(a,b){null!==r&&y([8,1E3*b,ha]);D=!1;J&&(J=!1,ua(K),K=-1);
|
|
17
|
+
Q=!0;var d=q;try{try{ba(b);for(m=u(w);null!==m&&(!(m.expirationTime>b)||a&&!va());){var f=m.callback;if("function"===typeof f){m.callback=null;q=m.priorityLevel;var e=m.expirationTime<=b,c=m,k=b;R++;p[0]=c.priorityLevel;p[1]=c.id;p[2]=R;null!==r&&y([5,1E3*k,c.id,R]);var h=f(e);b=x();"function"===typeof h?(m.callback=h,c=m,k=b,p[0]=0,p[1]=0,p[2]=0,null!==r&&y([6,1E3*k,c.id,R])):(c=m,k=b,p[0]=0,p[1]=0,p[3]--,null!==r&&y([2,1E3*k,c.id]),m.isQueued=!1,m===u(w)&&P(w));ba(b)}else P(w);m=u(w)}if(null!==
|
|
18
|
+
m)var l=!0;else{var g=u(z);null!==g&&fa(ca,g.startTime-b);l=!1}return l}catch(Ia){if(null!==m){var n=x();a=m;p[0]=0;p[1]=0;p[3]--;null!==r&&y([3,1E3*n,a.id]);m.isQueued=!1}throw Ia;}}finally{m=null,q=d,Q=!1,d=x(),ha++,null!==r&&y([7,1E3*d,ha])}}function va(){return x()>=wa}function da(a){S=a;T||(T=!0,xa.postMessage(null))}function fa(a,b){K=Ja(function(){a(x())},b)}function Ka(a){var b=!1,d=null;v.forEach(function(f){try{f.onInteractionTraced(a)}catch(e){b||(b=!0,d=e)}});if(b)throw d;}function La(a){var b=
|
|
19
|
+
!1,d=null;v.forEach(function(f){try{f.onInteractionScheduledWorkCompleted(a)}catch(e){b||(b=!0,d=e)}});if(b)throw d;}function Ma(a,b){var d=!1,f=null;v.forEach(function(e){try{e.onWorkScheduled(a,b)}catch(B){d||(d=!0,f=B)}});if(d)throw f;}function Na(a,b){var d=!1,f=null;v.forEach(function(e){try{e.onWorkStarted(a,b)}catch(B){d||(d=!0,f=B)}});if(d)throw f;}function Oa(a,b){var d=!1,f=null;v.forEach(function(e){try{e.onWorkStopped(a,b)}catch(B){d||(d=!0,f=B)}});if(d)throw f;}function Pa(a,b){var d=
|
|
20
|
+
!1,f=null;v.forEach(function(e){try{e.onWorkCanceled(a,b)}catch(B){d||(d=!0,f=B)}});if(d)throw f;}var F=60103,qa=60106;c.Fragment=60107;c.StrictMode=60108;c.Profiler=60114;var ya=60109,za=60110,Aa=60112;c.Suspense=60113;c.unstable_SuspenseList=60120;var Ba=60115,Ca=60116;c.unstable_DebugTracingMode=60129;c.unstable_LegacyHidden=60131;c.unstable_Cache=60132;if("function"===typeof Symbol&&Symbol.for){var g=Symbol.for;F=g("react.element");qa=g("react.portal");c.Fragment=g("react.fragment");c.StrictMode=
|
|
21
|
+
g("react.strict_mode");c.Profiler=g("react.profiler");ya=g("react.provider");za=g("react.context");Aa=g("react.forward_ref");c.Suspense=g("react.suspense");c.unstable_SuspenseList=g("react.suspense_list");Ba=g("react.memo");Ca=g("react.lazy");c.unstable_DebugTracingMode=g("react.debug_trace_mode");c.unstable_LegacyHidden=g("react.legacy_hidden");c.unstable_Cache=g("react.cache")}var ja="function"===typeof Symbol&&Symbol.iterator,Qa=Object.prototype.hasOwnProperty,ia=Object.assign||function(a,b){if(null==
|
|
22
|
+
a)throw new TypeError("Object.assign target cannot be null or undefined");for(var d=Object(a),f=1;f<arguments.length;f++){var e=arguments[f];if(null!=e){var c=void 0;e=Object(e);for(c in e)Qa.call(e,c)&&(d[c]=e[c])}}return d},la={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,d){},enqueueReplaceState:function(a,b,d,c){},enqueueSetState:function(a,b,d,c){}},ka={};E.prototype.isReactComponent={};E.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=
|
|
23
|
+
a)throw Error(L(85));this.updater.enqueueSetState(this,a,b,"setState")};E.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};ma.prototype=E.prototype;g=W.prototype=new ma;g.constructor=W;ia(g,E.prototype);g.isPureReactComponent=!0;var X={current:null},oa=Object.prototype.hasOwnProperty,pa={key:!0,ref:!0,__self:!0,__source:!0},ra=/\/+/g,n={current:null},U={transition:0},R=0,ha=0;g="function"===typeof SharedArrayBuffer?new SharedArrayBuffer(4*Int32Array.BYTES_PER_ELEMENT):
|
|
24
|
+
"function"===typeof ArrayBuffer?new ArrayBuffer(4*Int32Array.BYTES_PER_ELEMENT):null;var p=null!==g?new Int32Array(g):[];p[0]=0;p[3]=0;var C=p[1]=0,I=null,r=null,H=0;if("object"===typeof performance&&"function"===typeof performance.now){var Ra=performance;var x=function(){return Ra.now()}}else{var Da=Date,Sa=Da.now();x=function(){return Da.now()-Sa}}var w=[],z=[],Ta=1,m=null,q=3,Q=!1,D=!1,J=!1,Ja=window.setTimeout,ua=window.clearTimeout;if("undefined"!==typeof console){var V=window.cancelAnimationFrame;
|
|
25
|
+
"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills");"function"!==typeof V&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var T=!1,S=null,K=-1,Ea=5,wa=0;V=new MessageChannel;var xa=V.port2;V.port1.onmessage=function(){if(null!==
|
|
26
|
+
S){var a=x();wa=a+Ea;var b=!0;try{b=S(!0,a)}finally{b?xa.postMessage(null):(T=!1,S=null)}}else T=!1};g={__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3}var d=q;q=a;try{return b()}finally{q=d}},unstable_next:function(a){switch(q){case 1:case 2:case 3:var b=3;break;default:b=q}var d=q;q=b;try{return a()}finally{q=
|
|
27
|
+
d}},unstable_scheduleCallback:function(a,b,d){var c=x();"object"===typeof d&&null!==d?(d=d.delay,d="number"===typeof d&&0<d?c+d:c):d=c;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=d+e;a={id:Ta++,callback:b,priorityLevel:a,startTime:d,expirationTime:e,sortIndex:-1,isQueued:!1};d>c?(a.sortIndex=d,aa(z,a),null===u(w)&&a===u(z)&&(J?(ua(K),K=-1):J=!0,fa(ca,d-c))):(a.sortIndex=e,aa(w,a),ta(a,c),a.isQueued=!0,D||Q||(D=!0,da(ea)));return a},
|
|
28
|
+
unstable_cancelCallback:function(a){if(a.isQueued){var b=x();p[3]--;null!==r&&y([4,1E3*b,a.id]);a.isQueued=!1}a.callback=null},unstable_wrapCallback:function(a){var b=q;return function(){var d=q;q=b;try{return a.apply(this,arguments)}finally{q=d}}},unstable_getCurrentPriorityLevel:function(){return q},unstable_shouldYield:va,unstable_requestPaint:function(){},unstable_continueExecution:function(){D||Q||(D=!0,da(ea))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return u(w)},
|
|
29
|
+
get unstable_now(){return x},unstable_forceFrameRate:function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ea=0<a?Math.floor(1E3/a):5},unstable_Profiling:{startLoggingProfilingEvents:function(){C=131072;I=new ArrayBuffer(4*C);r=new Int32Array(I);H=0},stopLoggingProfilingEvents:sa,sharedProfilingBuffer:g}};var Ua=0,Va=0,t=null,A=null;t={current:new Set};A={current:null};var v=null;v=new Set;g={ReactCurrentDispatcher:n,
|
|
30
|
+
ReactCurrentOwner:X,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:U,assign:ia,Scheduler:g,SchedulerTracing:{__proto__:null,get __interactionsRef(){return t},get __subscriberRef(){return A},unstable_clear:function(a){var b=t.current;t.current=new Set;try{return a()}finally{t.current=b}},unstable_getCurrent:function(){return t.current},unstable_getThreadID:function(){return++Va},unstable_trace:function(a,b,d){var c=3<arguments.length&&void 0!==arguments[3]?arguments[3]:0,e={__count:1,id:Ua++,
|
|
31
31
|
name:a,timestamp:b},g=t.current,k=new Set(g);k.add(e);t.current=k;var h=A.current;try{if(null!==h)h.onInteractionTraced(e)}finally{try{if(null!==h)h.onWorkStarted(k,c)}finally{try{var l=d()}finally{t.current=g;try{if(null!==h)h.onWorkStopped(k,c)}finally{if(e.__count--,null!==h&&0===e.__count)h.onInteractionScheduledWorkCompleted(e)}}}}return l},unstable_wrap:function(a){function b(){var b=t.current;t.current=c;e=A.current;try{try{if(null!==e)e.onWorkStarted(c,d)}finally{try{var f=a.apply(void 0,
|
|
32
32
|
arguments)}finally{if(t.current=b,null!==e)e.onWorkStopped(c,d)}}return f}finally{g||(g=!0,c.forEach(function(a){a.__count--;if(null!==e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)}))}}var d=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,c=t.current,e=A.current;if(null!==e)e.onWorkScheduled(c,d);c.forEach(function(a){a.__count++});var g=!1;b.cancel=function(){e=A.current;try{if(null!==e)e.onWorkCanceled(c,d)}finally{c.forEach(function(a){a.__count--;if(e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)})}};
|
|
33
|
-
return b},unstable_subscribe:function(a){v.add(a);1===v.size&&(A.current={onInteractionScheduledWorkCompleted:
|
|
34
|
-
return a}};c.Component=E;c.PureComponent=W;c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=g;c.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(
|
|
35
|
-
l){h=Array(l);for(var m=0;m<l;m++)h[m]=arguments[m+2];d.children=h}return{$$typeof:F,type:a.type,key:e,ref:g,props:d,_owner:k}};c.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:
|
|
36
|
-
render:a}};c.isValidElement=Y;c.lazy=function(a){return{$$typeof:
|
|
37
|
-
b}};c.unstable_useCacheRefresh=function(){return n
|
|
38
|
-
b){};c.useEffect=function(a,b){return n
|
|
33
|
+
return b},unstable_subscribe:function(a){v.add(a);1===v.size&&(A.current={onInteractionScheduledWorkCompleted:La,onInteractionTraced:Ka,onWorkCanceled:Pa,onWorkScheduled:Ma,onWorkStarted:Na,onWorkStopped:Oa})},unstable_unsubscribe:function(a){v.delete(a);0===v.size&&(A.current=null)}}};c.Children={map:N,forEach:function(a,b,c){N(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;N(a,function(){b++});return b},toArray:function(a){return N(a,function(a){return a})||[]},only:function(a){if(!Y(a))throw Error(L(143));
|
|
34
|
+
return a}};c.Component=E;c.PureComponent=W;c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=g;c.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(L(267,a));var d=ia({},a.props),e=a.key,g=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,k=X.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var h=a.type.defaultProps;for(l in b)oa.call(b,l)&&!pa.hasOwnProperty(l)&&(d[l]=void 0===b[l]&&void 0!==h?h[l]:b[l])}var l=arguments.length-2;if(1===l)d.children=c;else if(1<
|
|
35
|
+
l){h=Array(l);for(var m=0;m<l;m++)h[m]=arguments[m+2];d.children=h}return{$$typeof:F,type:a.type,key:e,ref:g,props:d,_owner:k}};c.createContext=function(a,b){void 0===b&&(b=null);a={$$typeof:za,_calculateChangedBits:b,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ya,_context:a};return a.Consumer=a};c.createElement=na;c.createFactory=function(a){var b=na.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:Aa,
|
|
36
|
+
render:a}};c.isValidElement=Y;c.lazy=function(a){return{$$typeof:Ca,_payload:{_status:-1,_result:a},_init:Ha}};c.memo=function(a,b){return{$$typeof:Ba,type:a,compare:void 0===b?null:b}};c.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};c.unstable_getCacheForType=function(a){return n.current.getCacheForType(a)};c.unstable_startTransition=function(a){var b=U.transition;U.transition=1;try{a()}finally{U.transition=
|
|
37
|
+
b}};c.unstable_useCacheRefresh=function(){return n.current.useCacheRefresh()};c.unstable_useDeferredValue=function(a){return n.current.useDeferredValue(a)};c.unstable_useMutableSource=function(a,b,c){return n.current.useMutableSource(a,b,c)};c.unstable_useOpaqueIdentifier=function(){return n.current.useOpaqueIdentifier()};c.unstable_useTransition=function(){return n.current.useTransition()};c.useCallback=function(a,b){return n.current.useCallback(a,b)};c.useContext=function(a,b){return n.current.useContext(a,
|
|
38
|
+
b)};c.useDebugValue=function(a,b){};c.useEffect=function(a,b){return n.current.useEffect(a,b)};c.useImperativeHandle=function(a,b,c){return n.current.useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return n.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return n.current.useMemo(a,b)};c.useReducer=function(a,b,c){return n.current.useReducer(a,b,c)};c.useRef=function(a){return n.current.useRef(a)};c.useState=function(a){return n.current.useState(a)};c.version="17.0.2-experimental-4c019585e"});
|
|
39
39
|
})();
|