react 0.0.0-experimental-3fb11eed9 → 0.0.0-experimental-7b84dbd16
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.production.min.js +1 -1
- package/cjs/react-jsx-dev-runtime.profiling.min.js +1 -1
- package/cjs/react-unstable-shared-subset.development.js +4 -8
- package/cjs/react-unstable-shared-subset.production.min.js +2 -2
- package/cjs/react.development.js +8 -22
- package/cjs/react.production.min.js +3 -3
- package/package.json +1 -1
- package/umd/react.development.js +8 -22
- package/umd/react.production.min.js +4 -4
- package/umd/react.profiling.min.js +5 -5
|
@@ -6,4 +6,4 @@
|
|
|
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';require("object-assign");
|
|
9
|
+
'use strict';require("object-assign");exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var a=Symbol.for;exports.Fragment=a("react.fragment")}exports.jsxDEV=void 0;
|
|
@@ -6,4 +6,4 @@
|
|
|
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';require("object-assign");
|
|
9
|
+
'use strict';require("object-assign");exports.Fragment=60107;if("function"===typeof Symbol&&Symbol.for){var a=Symbol.for;exports.Fragment=a("react.fragment")}exports.jsxDEV=void 0;
|
|
@@ -15,7 +15,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
15
15
|
|
|
16
16
|
var _assign = require('object-assign');
|
|
17
17
|
|
|
18
|
-
var ReactVersion = '17.0.2-experimental-
|
|
18
|
+
var ReactVersion = '17.0.2-experimental-7b84dbd16';
|
|
19
19
|
|
|
20
20
|
// ATTENTION
|
|
21
21
|
// When adding new symbols to this file,
|
|
@@ -1374,15 +1374,11 @@ function getCacheForType(resourceType) {
|
|
|
1374
1374
|
|
|
1375
1375
|
return dispatcher.getCacheForType(resourceType);
|
|
1376
1376
|
}
|
|
1377
|
-
function useContext(Context
|
|
1377
|
+
function useContext(Context) {
|
|
1378
1378
|
var dispatcher = resolveDispatcher();
|
|
1379
1379
|
|
|
1380
1380
|
{
|
|
1381
|
-
|
|
1382
|
-
error('useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://reactjs.org/link/rules-of-hooks' : '');
|
|
1383
|
-
} // TODO: add a more generic warning for invalid values.
|
|
1384
|
-
|
|
1385
|
-
|
|
1381
|
+
// TODO: add a more generic warning for invalid values.
|
|
1386
1382
|
if (Context._context !== undefined) {
|
|
1387
1383
|
var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs
|
|
1388
1384
|
// and nobody should be using this in existing code.
|
|
@@ -1395,7 +1391,7 @@ function useContext(Context, unstable_observedBits) {
|
|
|
1395
1391
|
}
|
|
1396
1392
|
}
|
|
1397
1393
|
|
|
1398
|
-
return dispatcher.useContext(Context
|
|
1394
|
+
return dispatcher.useContext(Context);
|
|
1399
1395
|
}
|
|
1400
1396
|
function useCallback(callback, deps) {
|
|
1401
1397
|
var dispatcher = resolveDispatcher();
|
|
@@ -19,5 +19,5 @@ exports.Children={map:M,forEach:function(a,b,e){M(a,function(){b.apply(this,argu
|
|
|
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
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
|
|
23
|
-
exports.version="17.0.2-experimental-
|
|
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){return O.current.useContext(a)};exports.useDebugValue=function(){};exports.useMemo=function(a,b){return O.current.useMemo(a,b)};
|
|
23
|
+
exports.version="17.0.2-experimental-7b84dbd16";
|
package/cjs/react.development.js
CHANGED
|
@@ -15,7 +15,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
15
15
|
|
|
16
16
|
var _assign = require('object-assign');
|
|
17
17
|
|
|
18
|
-
var ReactVersion = '17.0.2-experimental-
|
|
18
|
+
var ReactVersion = '17.0.2-experimental-7b84dbd16';
|
|
19
19
|
|
|
20
20
|
// ATTENTION
|
|
21
21
|
// When adding new symbols to this file,
|
|
@@ -1140,20 +1140,11 @@ function onlyChild(children) {
|
|
|
1140
1140
|
return children;
|
|
1141
1141
|
}
|
|
1142
1142
|
|
|
1143
|
-
function createContext(defaultValue
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
} else {
|
|
1147
|
-
{
|
|
1148
|
-
if (calculateChangedBits !== null && typeof calculateChangedBits !== 'function') {
|
|
1149
|
-
error('createContext: Expected the optional second argument to be a ' + 'function. Instead received: %s', calculateChangedBits);
|
|
1150
|
-
}
|
|
1151
|
-
}
|
|
1152
|
-
}
|
|
1153
|
-
|
|
1143
|
+
function createContext(defaultValue) {
|
|
1144
|
+
// TODO: Second argument used to be an optional `calculateChangedBits`
|
|
1145
|
+
// function. Warn to reserve for future use?
|
|
1154
1146
|
var context = {
|
|
1155
1147
|
$$typeof: REACT_CONTEXT_TYPE,
|
|
1156
|
-
_calculateChangedBits: calculateChangedBits,
|
|
1157
1148
|
// As a workaround to support multiple concurrent renderers, we categorize
|
|
1158
1149
|
// some renderers as primary and others as secondary. We only expect
|
|
1159
1150
|
// there to be two concurrent renderers at most: React Native (primary) and
|
|
@@ -1182,8 +1173,7 @@ function createContext(defaultValue, calculateChangedBits) {
|
|
|
1182
1173
|
// warn for the incorrect usage of Context as a Consumer.
|
|
1183
1174
|
var Consumer = {
|
|
1184
1175
|
$$typeof: REACT_CONTEXT_TYPE,
|
|
1185
|
-
_context: context
|
|
1186
|
-
_calculateChangedBits: context._calculateChangedBits
|
|
1176
|
+
_context: context
|
|
1187
1177
|
}; // $FlowFixMe: Flow complains about not setting a value, which is intentional here
|
|
1188
1178
|
|
|
1189
1179
|
Object.defineProperties(Consumer, {
|
|
@@ -1495,15 +1485,11 @@ function getCacheForType(resourceType) {
|
|
|
1495
1485
|
|
|
1496
1486
|
return dispatcher.getCacheForType(resourceType);
|
|
1497
1487
|
}
|
|
1498
|
-
function useContext(Context
|
|
1488
|
+
function useContext(Context) {
|
|
1499
1489
|
var dispatcher = resolveDispatcher();
|
|
1500
1490
|
|
|
1501
1491
|
{
|
|
1502
|
-
|
|
1503
|
-
error('useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://reactjs.org/link/rules-of-hooks' : '');
|
|
1504
|
-
} // TODO: add a more generic warning for invalid values.
|
|
1505
|
-
|
|
1506
|
-
|
|
1492
|
+
// TODO: add a more generic warning for invalid values.
|
|
1507
1493
|
if (Context._context !== undefined) {
|
|
1508
1494
|
var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs
|
|
1509
1495
|
// and nobody should be using this in existing code.
|
|
@@ -1516,7 +1502,7 @@ function useContext(Context, unstable_observedBits) {
|
|
|
1516
1502
|
}
|
|
1517
1503
|
}
|
|
1518
1504
|
|
|
1519
|
-
return dispatcher.useContext(Context
|
|
1505
|
+
return dispatcher.useContext(Context);
|
|
1520
1506
|
}
|
|
1521
1507
|
function useState(initialState) {
|
|
1522
1508
|
var dispatcher = resolveDispatcher();
|
|
@@ -19,8 +19,8 @@ function O(a,b,c,e,d){var k=typeof a;if("undefined"===k||"boolean"===k)a=null;va
|
|
|
19
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
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
|
-
key:d,ref:k,props:e,_owner:h}};exports.createContext=function(a
|
|
22
|
+
key:d,ref:k,props:e,_owner:h}};exports.createContext=function(a){a={$$typeof:r,_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
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
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
|
|
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-
|
|
25
|
+
exports.useCallback=function(a,b){return R.current.useCallback(a,b)};exports.useContext=function(a){return R.current.useContext(a)};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-7b84dbd16";
|
package/package.json
CHANGED
package/umd/react.development.js
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
(global = global || self, factory(global.React = {}));
|
|
13
13
|
}(this, (function (exports) { 'use strict';
|
|
14
14
|
|
|
15
|
-
var ReactVersion = '17.0.2-experimental-
|
|
15
|
+
var ReactVersion = '17.0.2-experimental-7b84dbd16';
|
|
16
16
|
|
|
17
17
|
// ATTENTION
|
|
18
18
|
// When adding new symbols to this file,
|
|
@@ -1165,20 +1165,11 @@
|
|
|
1165
1165
|
return children;
|
|
1166
1166
|
}
|
|
1167
1167
|
|
|
1168
|
-
function createContext(defaultValue
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
} else {
|
|
1172
|
-
{
|
|
1173
|
-
if (calculateChangedBits !== null && typeof calculateChangedBits !== 'function') {
|
|
1174
|
-
error('createContext: Expected the optional second argument to be a ' + 'function. Instead received: %s', calculateChangedBits);
|
|
1175
|
-
}
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1168
|
+
function createContext(defaultValue) {
|
|
1169
|
+
// TODO: Second argument used to be an optional `calculateChangedBits`
|
|
1170
|
+
// function. Warn to reserve for future use?
|
|
1179
1171
|
var context = {
|
|
1180
1172
|
$$typeof: REACT_CONTEXT_TYPE,
|
|
1181
|
-
_calculateChangedBits: calculateChangedBits,
|
|
1182
1173
|
// As a workaround to support multiple concurrent renderers, we categorize
|
|
1183
1174
|
// some renderers as primary and others as secondary. We only expect
|
|
1184
1175
|
// there to be two concurrent renderers at most: React Native (primary) and
|
|
@@ -1207,8 +1198,7 @@
|
|
|
1207
1198
|
// warn for the incorrect usage of Context as a Consumer.
|
|
1208
1199
|
var Consumer = {
|
|
1209
1200
|
$$typeof: REACT_CONTEXT_TYPE,
|
|
1210
|
-
_context: context
|
|
1211
|
-
_calculateChangedBits: context._calculateChangedBits
|
|
1201
|
+
_context: context
|
|
1212
1202
|
}; // $FlowFixMe: Flow complains about not setting a value, which is intentional here
|
|
1213
1203
|
|
|
1214
1204
|
Object.defineProperties(Consumer, {
|
|
@@ -1520,15 +1510,11 @@
|
|
|
1520
1510
|
|
|
1521
1511
|
return dispatcher.getCacheForType(resourceType);
|
|
1522
1512
|
}
|
|
1523
|
-
function useContext(Context
|
|
1513
|
+
function useContext(Context) {
|
|
1524
1514
|
var dispatcher = resolveDispatcher();
|
|
1525
1515
|
|
|
1526
1516
|
{
|
|
1527
|
-
|
|
1528
|
-
error('useContext() second argument is reserved for future ' + 'use in React. Passing it is not supported. ' + 'You passed: %s.%s', unstable_observedBits, typeof unstable_observedBits === 'number' && Array.isArray(arguments[2]) ? '\n\nDid you call array.map(useContext)? ' + 'Calling Hooks inside a loop is not supported. ' + 'Learn more at https://reactjs.org/link/rules-of-hooks' : '');
|
|
1529
|
-
} // TODO: add a more generic warning for invalid values.
|
|
1530
|
-
|
|
1531
|
-
|
|
1517
|
+
// TODO: add a more generic warning for invalid values.
|
|
1532
1518
|
if (Context._context !== undefined) {
|
|
1533
1519
|
var realContext = Context._context; // Don't deduplicate because this legitimately causes bugs
|
|
1534
1520
|
// and nobody should be using this in existing code.
|
|
@@ -1541,7 +1527,7 @@
|
|
|
1541
1527
|
}
|
|
1542
1528
|
}
|
|
1543
1529
|
|
|
1544
|
-
return dispatcher.useContext(Context
|
|
1530
|
+
return dispatcher.useContext(Context);
|
|
1545
1531
|
}
|
|
1546
1532
|
function useState(initialState) {
|
|
1547
1533
|
var dispatcher = resolveDispatcher();
|
|
@@ -25,8 +25,8 @@ unstable_IdlePriority:5,unstable_LowPriority:4,unstable_runWithPriority:function
|
|
|
25
25
|
unstable_requestPaint:function(){},unstable_continueExecution:function(){r||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"):qa=0<a?Math.floor(1E3/a):5},unstable_Profiling:null},SchedulerTracing:{__proto__:null,__interactionsRef:null,__subscriberRef:null,
|
|
26
26
|
unstable_clear:function(a){return a()},unstable_getCurrent:function(){return null},unstable_getThreadID:function(){return++Ba},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));
|
|
27
27
|
return a}};c.Component=u;c.PureComponent=J;c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=d;c.cloneElement=function(a,b,c){if(null===a||void 0===a)throw Error(A(267,a));var d=U({},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)ba.call(b,f)&&!ca.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<
|
|
28
|
-
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,key:e,ref:k,props:d,_owner:g}};c.createContext=function(a
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
b)
|
|
28
|
+
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,key:e,ref:k,props:d,_owner:g}};c.createContext=function(a){a={$$typeof:ka,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ja,_context:a};return a.Consumer=a};c.createElement=Z;c.createFactory=function(a){var b=Z.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=
|
|
29
|
+
L;c.lazy=function(a){return{$$typeof:na,_payload:{_status:-1,_result:a},_init:ua}};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=
|
|
30
|
+
function(){return g.current.useCacheRefresh()};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){return g.current.useContext(a)};c.useDebugValue=function(a,
|
|
31
|
+
b){};c.useEffect=function(a,b){return g.current.useEffect(a,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-7b84dbd16"});
|
|
32
32
|
})();
|
|
@@ -29,9 +29,9 @@ unstable_trace:function(a,b,d){var c=3<arguments.length&&void 0!==arguments[3]?a
|
|
|
29
29
|
p.current;p.current=c;e=w.current;try{try{if(null!==e)e.onWorkStarted(c,d)}finally{try{var f=a.apply(void 0,arguments)}finally{if(p.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=p.current,e=w.current;if(null!==e)e.onWorkScheduled(c,d);c.forEach(function(a){a.__count++});var g=!1;b.cancel=function(){e=w.current;
|
|
30
30
|
try{if(null!==e)e.onWorkCanceled(c,d)}finally{c.forEach(function(a){a.__count--;if(e&&0===a.__count)e.onInteractionScheduledWorkCompleted(a)})}};return b},unstable_subscribe:function(a){t.add(a);1===t.size&&(w.current={onInteractionScheduledWorkCompleted:Ba,onInteractionTraced:Aa,onWorkCanceled:Fa,onWorkScheduled:Ca,onWorkStarted:Da,onWorkStopped:Ea})},unstable_unsubscribe:function(a){t.delete(a);0===t.size&&(w.current=null)}}};c.Children={map:H,forEach:function(a,b,c){H(a,function(){b.apply(this,
|
|
31
31
|
arguments)},c)},count:function(a){var b=0;H(a,function(){b++});return b},toArray:function(a){return H(a,function(a){return a})||[]},only:function(a){if(!Q(a))throw Error(F(143));return a}};c.Component=A;c.PureComponent=O;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(F(267,a));var d=Z({},a.props),e=a.key,g=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(g=b.ref,k=P.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var h=
|
|
32
|
-
a.type.defaultProps;for(l in b)fa.call(b,l)&&!ha.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<l){h=Array(l);for(var m=0;m<l;m++)h[m]=arguments[m+2];d.children=h}return{$$typeof:B,type:a.type,key:e,ref:g,props:d,_owner:k}};c.createContext=function(a
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
c.
|
|
36
|
-
|
|
32
|
+
a.type.defaultProps;for(l in b)fa.call(b,l)&&!ha.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<l){h=Array(l);for(var m=0;m<l;m++)h[m]=arguments[m+2];d.children=h}return{$$typeof:B,type:a.type,key:e,ref:g,props:d,_owner:k}};c.createContext=function(a){a={$$typeof:oa,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:na,_context:a};return a.Consumer=a};c.createElement=ea;c.createFactory=
|
|
33
|
+
function(a){var b=ea.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:pa,render:a}};c.isValidElement=Q;c.lazy=function(a){return{$$typeof:ra,_payload:{_status:-1,_result:a},_init:ya}};c.memo=function(a,b){return{$$typeof:qa,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=
|
|
34
|
+
function(a){return n.current.getCacheForType(a)};c.unstable_startTransition=function(a){var b=N.transition;N.transition=1;try{a()}finally{N.transition=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()};
|
|
35
|
+
c.useCallback=function(a,b){return n.current.useCallback(a,b)};c.useContext=function(a){return n.current.useContext(a)};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)};
|
|
36
|
+
c.useState=function(a){return n.current.useState(a)};c.version="17.0.2-experimental-7b84dbd16"});
|
|
37
37
|
})();
|