react 0.0.0-experimental-44cdfd6b7 → 0.0.0-experimental-e6be2d531
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-unstable-shared-subset.development.js +34 -18
- package/cjs/react-unstable-shared-subset.production.min.js +3 -3
- package/cjs/react.development.js +34 -18
- package/cjs/react.production.min.js +2 -2
- package/package.json +1 -1
- package/umd/react.development.js +34 -18
- package/umd/react.production.min.js +6 -6
- package/umd/react.profiling.min.js +6 -6
|
@@ -15,7 +15,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
15
15
|
|
|
16
16
|
var _assign = require('object-assign');
|
|
17
17
|
|
|
18
|
-
var ReactVersion = '
|
|
18
|
+
var ReactVersion = '18.0.0-experimental-e6be2d531';
|
|
19
19
|
|
|
20
20
|
// ATTENTION
|
|
21
21
|
// When adding new symbols to this file,
|
|
@@ -1168,38 +1168,54 @@ function lazyInitializer(payload) {
|
|
|
1168
1168
|
if (payload._status === Uninitialized) {
|
|
1169
1169
|
var ctor = payload._result;
|
|
1170
1170
|
var thenable = ctor(); // Transition to the next state.
|
|
1171
|
+
// This might throw either because it's missing or throws. If so, we treat it
|
|
1172
|
+
// as still uninitialized and try again next time. Which is the same as what
|
|
1173
|
+
// happens if the ctor or any wrappers processing the ctor throws. This might
|
|
1174
|
+
// end up fixing it if the resolution was a concurrency bug.
|
|
1171
1175
|
|
|
1172
|
-
var pending = payload;
|
|
1173
|
-
pending._status = Pending;
|
|
1174
|
-
pending._result = thenable;
|
|
1175
1176
|
thenable.then(function (moduleObject) {
|
|
1176
|
-
if (payload._status === Pending) {
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
{
|
|
1180
|
-
if (defaultExport === undefined) {
|
|
1181
|
-
error('lazy: Expected the result of a dynamic import() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + // Break up imports to avoid accidentally parsing them as dependencies.
|
|
1182
|
-
'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))", moduleObject);
|
|
1183
|
-
}
|
|
1184
|
-
} // Transition to the next state.
|
|
1185
|
-
|
|
1186
|
-
|
|
1177
|
+
if (payload._status === Pending || payload._status === Uninitialized) {
|
|
1178
|
+
// Transition to the next state.
|
|
1187
1179
|
var resolved = payload;
|
|
1188
1180
|
resolved._status = Resolved;
|
|
1189
|
-
resolved._result =
|
|
1181
|
+
resolved._result = moduleObject;
|
|
1190
1182
|
}
|
|
1191
1183
|
}, function (error) {
|
|
1192
|
-
if (payload._status === Pending) {
|
|
1184
|
+
if (payload._status === Pending || payload._status === Uninitialized) {
|
|
1193
1185
|
// Transition to the next state.
|
|
1194
1186
|
var rejected = payload;
|
|
1195
1187
|
rejected._status = Rejected;
|
|
1196
1188
|
rejected._result = error;
|
|
1197
1189
|
}
|
|
1198
1190
|
});
|
|
1191
|
+
|
|
1192
|
+
if (payload._status === Uninitialized) {
|
|
1193
|
+
// In case, we're still uninitialized, then we're waiting for the thenable
|
|
1194
|
+
// to resolve. Set it as pending in the meantime.
|
|
1195
|
+
var pending = payload;
|
|
1196
|
+
pending._status = Pending;
|
|
1197
|
+
pending._result = thenable;
|
|
1198
|
+
}
|
|
1199
1199
|
}
|
|
1200
1200
|
|
|
1201
1201
|
if (payload._status === Resolved) {
|
|
1202
|
-
|
|
1202
|
+
var moduleObject = payload._result;
|
|
1203
|
+
|
|
1204
|
+
{
|
|
1205
|
+
if (moduleObject === undefined) {
|
|
1206
|
+
error('lazy: Expected the result of a dynamic import() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + // Break up imports to avoid accidentally parsing them as dependencies.
|
|
1207
|
+
'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))\n\n" + 'Did you accidentally put curly braces around the import?', moduleObject);
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
{
|
|
1212
|
+
if (!('default' in moduleObject)) {
|
|
1213
|
+
error('lazy: Expected the result of a dynamic import() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + // Break up imports to avoid accidentally parsing them as dependencies.
|
|
1214
|
+
'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))", moduleObject);
|
|
1215
|
+
}
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
return moduleObject.default;
|
|
1203
1219
|
} else {
|
|
1204
1220
|
throw payload._result;
|
|
1205
1221
|
}
|
|
@@ -14,10 +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 K=/\/+/g;function L(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
|
|
15
15
|
function M(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?"."+L(h,0):d,E(c)?(e="",null!=a&&(e=a.replace(K,"$&/")+"/"),M(c,b,e,"",function(a){return a})):null!=c&&(J(c)&&(c=I(c,e+(!c.key||h&&h.key===c.key?"":(""+c.key).replace(K,"$&/")+"/")+a)),b.push(c)),1;h=0;d=""===d?".":d+":";if(E(a))for(var g=0;g<a.length;g++){k=
|
|
16
16
|
a[g];var f=d+L(k,g);h+=M(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+L(k,g++),h+=M(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 N(a,b,e){if(null==a)return a;var d=[],c=0;M(a,d,"","",function(a){return b.call(e,a,c++)});return d}
|
|
17
|
-
function O(a){if(-1===a._status){var b=a._result;b=b();
|
|
18
|
-
exports.Children={map:N,forEach:function(a,b,e){N(a,function(){b.apply(this,arguments)},e)},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(!J(a))throw Error(x(143));return a}};exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=S;
|
|
17
|
+
function O(a){if(-1===a._status){var b=a._result;b=b();b.then(function(b){if(0===a._status||-1===a._status)a._status=1,a._result=b},function(b){if(0===a._status||-1===a._status)a._status=2,a._result=b});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}var P={current:null};function Q(a){return P.current.useDeferredValue(a)}
|
|
18
|
+
var R={transition:0},S={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:R,ReactCurrentOwner:G,IsSomeRendererActing:{current:!1},assign:l};exports.Children={map:N,forEach:function(a,b,e){N(a,function(){b.apply(this,arguments)},e)},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(!J(a))throw Error(x(143));return a}};exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=S;
|
|
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=G.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)&&!H.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)&&!H.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:G.current}};exports.createRef=function(){return{current:null}};
|
|
21
21
|
exports.forwardRef=function(a){return{$$typeof:q,render:a}};exports.isValidElement=J;exports.lazy=function(a){return{$$typeof:t,_payload:{_status:-1,_result:a},_init:O}};exports.memo=function(a,b){return{$$typeof:r,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=R.transition;R.transition=1;try{a()}finally{R.transition=b}};exports.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};
|
|
22
22
|
exports.unstable_getCacheForType=function(a){return P.current.getCacheForType(a)};exports.unstable_useDeferredValue=Q;exports.unstable_useMutableSource=function(a,b,e){return P.current.useMutableSource(a,b,e)};exports.unstable_useOpaqueIdentifier=function(){return P.current.useOpaqueIdentifier()};exports.useCallback=function(a,b){return P.current.useCallback(a,b)};exports.useContext=function(a){return P.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=Q;
|
|
23
|
-
exports.useMemo=function(a,b){return P.current.useMemo(a,b)};exports.useTransition=function(){return P.current.useTransition()};exports.version="
|
|
23
|
+
exports.useMemo=function(a,b){return P.current.useMemo(a,b)};exports.useTransition=function(){return P.current.useTransition()};exports.version="18.0.0-experimental-e6be2d531";
|
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 = '
|
|
18
|
+
var ReactVersion = '18.0.0-experimental-e6be2d531';
|
|
19
19
|
|
|
20
20
|
// ATTENTION
|
|
21
21
|
// When adding new symbols to this file,
|
|
@@ -1279,38 +1279,54 @@ function lazyInitializer(payload) {
|
|
|
1279
1279
|
if (payload._status === Uninitialized) {
|
|
1280
1280
|
var ctor = payload._result;
|
|
1281
1281
|
var thenable = ctor(); // Transition to the next state.
|
|
1282
|
+
// This might throw either because it's missing or throws. If so, we treat it
|
|
1283
|
+
// as still uninitialized and try again next time. Which is the same as what
|
|
1284
|
+
// happens if the ctor or any wrappers processing the ctor throws. This might
|
|
1285
|
+
// end up fixing it if the resolution was a concurrency bug.
|
|
1282
1286
|
|
|
1283
|
-
var pending = payload;
|
|
1284
|
-
pending._status = Pending;
|
|
1285
|
-
pending._result = thenable;
|
|
1286
1287
|
thenable.then(function (moduleObject) {
|
|
1287
|
-
if (payload._status === Pending) {
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
{
|
|
1291
|
-
if (defaultExport === undefined) {
|
|
1292
|
-
error('lazy: Expected the result of a dynamic import() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + // Break up imports to avoid accidentally parsing them as dependencies.
|
|
1293
|
-
'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))", moduleObject);
|
|
1294
|
-
}
|
|
1295
|
-
} // Transition to the next state.
|
|
1296
|
-
|
|
1297
|
-
|
|
1288
|
+
if (payload._status === Pending || payload._status === Uninitialized) {
|
|
1289
|
+
// Transition to the next state.
|
|
1298
1290
|
var resolved = payload;
|
|
1299
1291
|
resolved._status = Resolved;
|
|
1300
|
-
resolved._result =
|
|
1292
|
+
resolved._result = moduleObject;
|
|
1301
1293
|
}
|
|
1302
1294
|
}, function (error) {
|
|
1303
|
-
if (payload._status === Pending) {
|
|
1295
|
+
if (payload._status === Pending || payload._status === Uninitialized) {
|
|
1304
1296
|
// Transition to the next state.
|
|
1305
1297
|
var rejected = payload;
|
|
1306
1298
|
rejected._status = Rejected;
|
|
1307
1299
|
rejected._result = error;
|
|
1308
1300
|
}
|
|
1309
1301
|
});
|
|
1302
|
+
|
|
1303
|
+
if (payload._status === Uninitialized) {
|
|
1304
|
+
// In case, we're still uninitialized, then we're waiting for the thenable
|
|
1305
|
+
// to resolve. Set it as pending in the meantime.
|
|
1306
|
+
var pending = payload;
|
|
1307
|
+
pending._status = Pending;
|
|
1308
|
+
pending._result = thenable;
|
|
1309
|
+
}
|
|
1310
1310
|
}
|
|
1311
1311
|
|
|
1312
1312
|
if (payload._status === Resolved) {
|
|
1313
|
-
|
|
1313
|
+
var moduleObject = payload._result;
|
|
1314
|
+
|
|
1315
|
+
{
|
|
1316
|
+
if (moduleObject === undefined) {
|
|
1317
|
+
error('lazy: Expected the result of a dynamic import() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + // Break up imports to avoid accidentally parsing them as dependencies.
|
|
1318
|
+
'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))\n\n" + 'Did you accidentally put curly braces around the import?', moduleObject);
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
{
|
|
1323
|
+
if (!('default' in moduleObject)) {
|
|
1324
|
+
error('lazy: Expected the result of a dynamic import() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + // Break up imports to avoid accidentally parsing them as dependencies.
|
|
1325
|
+
'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))", moduleObject);
|
|
1326
|
+
}
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
return moduleObject.default;
|
|
1314
1330
|
} else {
|
|
1315
1331
|
throw payload._result;
|
|
1316
1332
|
}
|
|
@@ -16,11 +16,11 @@ function K(a,b,c){var e,d={},k=null,h=null;if(null!=b)for(e in void 0!==b.ref&&(
|
|
|
16
16
|
function L(a,b){return{$$typeof:m,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function M(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 N=/\/+/g;function O(a,b){return"object"===typeof a&&null!==a&&null!=a.key?escape(""+a.key):b.toString(36)}
|
|
17
17
|
function P(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?"."+O(h,0):e,G(d)?(c="",null!=a&&(c=a.replace(N,"$&/")+"/"),P(d,b,c,"",function(a){return a})):null!=d&&(M(d)&&(d=L(d,c+(!d.key||h&&h.key===d.key?"":(""+d.key).replace(N,"$&/")+"/")+a)),b.push(d)),1;h=0;e=""===e?".":e+":";if(G(a))for(var g=0;g<a.length;g++){k=
|
|
18
18
|
a[g];var f=e+O(k,g);h+=P(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+O(k,g++),h+=P(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 Q(a,b,c){if(null==a)return a;var e=[],d=0;P(a,e,"","",function(a){return b.call(c,a,d++)});return e}
|
|
19
|
-
function R(a){if(-1===a._status){var b=a._result;b=b();
|
|
19
|
+
function R(a){if(-1===a._status){var b=a._result;b=b();b.then(function(b){if(0===a._status||-1===a._status)a._status=1,a._result=b},function(b){if(0===a._status||-1===a._status)a._status=2,a._result=b});-1===a._status&&(a._status=0,a._result=b)}if(1===a._status)return a._result.default;throw a._result;}var S={current:null},T={transition:0},U={ReactCurrentDispatcher:S,ReactCurrentBatchConfig:T,ReactCurrentOwner:I,IsSomeRendererActing:{current:!1},assign:l};
|
|
20
20
|
exports.Children={map:Q,forEach:function(a,b,c){Q(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;Q(a,function(){b++});return b},toArray:function(a){return Q(a,function(a){return a})||[]},only:function(a){if(!M(a))throw Error(z(143));return a}};exports.Component=C;exports.PureComponent=E;exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=U;
|
|
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=I.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)&&!J.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){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=K;exports.createFactory=function(a){var b=K.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=M;
|
|
23
23
|
exports.lazy=function(a){return{$$typeof:v,_payload:{_status:-1,_result:a},_init:R}};exports.memo=function(a,b){return{$$typeof:u,type:a,compare:void 0===b?null:b}};exports.startTransition=function(a){var b=T.transition;T.transition=1;try{a()}finally{T.transition=b}};exports.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};exports.unstable_getCacheForType=function(a){return S.current.getCacheForType(a)};
|
|
24
24
|
exports.unstable_useCacheRefresh=function(){return S.current.useCacheRefresh()};exports.unstable_useMutableSource=function(a,b,c){return S.current.useMutableSource(a,b,c)};exports.unstable_useOpaqueIdentifier=function(){return S.current.useOpaqueIdentifier()};exports.useCallback=function(a,b){return S.current.useCallback(a,b)};exports.useContext=function(a){return S.current.useContext(a)};exports.useDebugValue=function(){};exports.useDeferredValue=function(a){return S.current.useDeferredValue(a)};
|
|
25
25
|
exports.useEffect=function(a,b){return S.current.useEffect(a,b)};exports.useImperativeHandle=function(a,b,c){return S.current.useImperativeHandle(a,b,c)};exports.useLayoutEffect=function(a,b){return S.current.useLayoutEffect(a,b)};exports.useMemo=function(a,b){return S.current.useMemo(a,b)};exports.useReducer=function(a,b,c){return S.current.useReducer(a,b,c)};exports.useRef=function(a){return S.current.useRef(a)};exports.useState=function(a){return S.current.useState(a)};exports.useTransition=function(){return S.current.useTransition()};
|
|
26
|
-
exports.version="
|
|
26
|
+
exports.version="18.0.0-experimental-e6be2d531";
|
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 = '
|
|
15
|
+
var ReactVersion = '18.0.0-experimental-e6be2d531';
|
|
16
16
|
|
|
17
17
|
// ATTENTION
|
|
18
18
|
// When adding new symbols to this file,
|
|
@@ -1304,38 +1304,54 @@
|
|
|
1304
1304
|
if (payload._status === Uninitialized) {
|
|
1305
1305
|
var ctor = payload._result;
|
|
1306
1306
|
var thenable = ctor(); // Transition to the next state.
|
|
1307
|
+
// This might throw either because it's missing or throws. If so, we treat it
|
|
1308
|
+
// as still uninitialized and try again next time. Which is the same as what
|
|
1309
|
+
// happens if the ctor or any wrappers processing the ctor throws. This might
|
|
1310
|
+
// end up fixing it if the resolution was a concurrency bug.
|
|
1307
1311
|
|
|
1308
|
-
var pending = payload;
|
|
1309
|
-
pending._status = Pending;
|
|
1310
|
-
pending._result = thenable;
|
|
1311
1312
|
thenable.then(function (moduleObject) {
|
|
1312
|
-
if (payload._status === Pending) {
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
{
|
|
1316
|
-
if (defaultExport === undefined) {
|
|
1317
|
-
error('lazy: Expected the result of a dynamic import() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + // Break up imports to avoid accidentally parsing them as dependencies.
|
|
1318
|
-
'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))", moduleObject);
|
|
1319
|
-
}
|
|
1320
|
-
} // Transition to the next state.
|
|
1321
|
-
|
|
1322
|
-
|
|
1313
|
+
if (payload._status === Pending || payload._status === Uninitialized) {
|
|
1314
|
+
// Transition to the next state.
|
|
1323
1315
|
var resolved = payload;
|
|
1324
1316
|
resolved._status = Resolved;
|
|
1325
|
-
resolved._result =
|
|
1317
|
+
resolved._result = moduleObject;
|
|
1326
1318
|
}
|
|
1327
1319
|
}, function (error) {
|
|
1328
|
-
if (payload._status === Pending) {
|
|
1320
|
+
if (payload._status === Pending || payload._status === Uninitialized) {
|
|
1329
1321
|
// Transition to the next state.
|
|
1330
1322
|
var rejected = payload;
|
|
1331
1323
|
rejected._status = Rejected;
|
|
1332
1324
|
rejected._result = error;
|
|
1333
1325
|
}
|
|
1334
1326
|
});
|
|
1327
|
+
|
|
1328
|
+
if (payload._status === Uninitialized) {
|
|
1329
|
+
// In case, we're still uninitialized, then we're waiting for the thenable
|
|
1330
|
+
// to resolve. Set it as pending in the meantime.
|
|
1331
|
+
var pending = payload;
|
|
1332
|
+
pending._status = Pending;
|
|
1333
|
+
pending._result = thenable;
|
|
1334
|
+
}
|
|
1335
1335
|
}
|
|
1336
1336
|
|
|
1337
1337
|
if (payload._status === Resolved) {
|
|
1338
|
-
|
|
1338
|
+
var moduleObject = payload._result;
|
|
1339
|
+
|
|
1340
|
+
{
|
|
1341
|
+
if (moduleObject === undefined) {
|
|
1342
|
+
error('lazy: Expected the result of a dynamic import() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + // Break up imports to avoid accidentally parsing them as dependencies.
|
|
1343
|
+
'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))\n\n" + 'Did you accidentally put curly braces around the import?', moduleObject);
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
{
|
|
1348
|
+
if (!('default' in moduleObject)) {
|
|
1349
|
+
error('lazy: Expected the result of a dynamic import() call. ' + 'Instead received: %s\n\nYour code should look like: \n ' + // Break up imports to avoid accidentally parsing them as dependencies.
|
|
1350
|
+
'const MyComponent = lazy(() => imp' + "ort('./MyComponent'))", moduleObject);
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
return moduleObject.default;
|
|
1339
1355
|
} else {
|
|
1340
1356
|
throw payload._result;
|
|
1341
1357
|
}
|
|
@@ -11,11 +11,11 @@ a+"; visit "+c+" for the full message or use the non-minified dev environment fo
|
|
|
11
11
|
k;else if(1<d){for(var h=Array(d),f=0;f<d;f++)h[f]=arguments[f+2];e.children=h}if(a&&a.defaultProps)for(b in d=a.defaultProps,d)void 0===e[b]&&(e[b]=d[b]);return{$$typeof:v,type:a,key:ba,ref:x,props:e,_owner:L.current}}function ua(a,c){return{$$typeof:v,type:a.type,key:c,ref:a.ref,props:a.props,_owner:a._owner}}function M(a){return"object"===typeof a&&null!==a&&a.$$typeof===v}function va(a){var c={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return c[a]})}function N(a,c){return"object"===
|
|
12
12
|
typeof a&&null!==a&&null!=a.key?va(""+a.key):c.toString(36)}function B(a,c,k,b,e){var n=typeof a;if("undefined"===n||"boolean"===n)a=null;var d=!1;if(null===a)d=!0;else switch(n){case "string":case "number":d=!0;break;case "object":switch(a.$$typeof){case v:case ea:d=!0}}if(d)return d=a,e=e(d),a=""===b?"."+N(d,0):b,fa(e)?(k="",null!=a&&(k=a.replace(ha,"$&/")+"/"),B(e,c,k,"",function(a){return a})):null!=e&&(M(e)&&(e=ua(e,k+(!e.key||d&&d.key===e.key?"":(""+e.key).replace(ha,"$&/")+"/")+a)),c.push(e)),
|
|
13
13
|
1;d=0;b=""===b?".":b+":";if(fa(a))for(var f=0;f<a.length;f++){n=a[f];var h=b+N(n,f);d+=B(n,c,k,h,e)}else if(h=w(a),"function"===typeof h)for(a=h.call(a),f=0;!(n=a.next()).done;)n=n.value,h=b+N(n,f++),d+=B(n,c,k,h,e);else if("object"===n)throw c=""+a,Error(A(31,"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c));return d}function C(a,c,k){if(null==a)return a;var b=[],e=0;B(a,b,"","",function(a){return c.call(k,a,e++)});return b}function wa(a){if(-1===a._status){var c=a._result;
|
|
14
|
-
c=c();
|
|
15
|
-
1)-1,m=a[g],h=g+1,l=a[h];if(0>D(m,b))h<e&&0>D(l,m)?(a[d]=l,a[h]=b,d=h):(a[d]=m,a[g]=b,d=g);else if(h<e&&0>D(l,b))a[d]=l,a[h]=b,d=h;else break a}}return c}function D(a,c){var b=a.sortIndex-c.sortIndex;return 0!==b?b:a.id-c.id}function P(a){for(var c=l(q);null!==c;){if(null===c.callback)E(q);else if(c.startTime<=a)E(q),c.sortIndex=c.expirationTime,O(p,c);else break;c=l(q)}}function Q(a){y=!1;P(a);if(!r)if(null!==l(p))r=!0,R(S);else{var c=l(q);null!==c&&T(Q,c.startTime-
|
|
16
|
-
|
|
17
|
-
60106;b.Fragment=60107;b.StrictMode=60108;b.Profiler=60114;var ma=60109,na=60110,oa=60112;b.Suspense=60113;b.SuspenseList=60120;var pa=60115,qa=60116;b.unstable_DebugTracingMode=60129;b.unstable_Offscreen=60130;b.unstable_LegacyHidden=60131;b.unstable_Cache=60132;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;v=d("react.element");ea=d("react.portal");b.Fragment=d("react.fragment");b.StrictMode=d("react.strict_mode");b.Profiler=d("react.profiler");ma=d("react.provider");
|
|
18
|
-
oa=d("react.forward_ref");b.Suspense=d("react.suspense");b.SuspenseList=d("react.suspense_list");pa=d("react.memo");qa=d("react.lazy");b.unstable_DebugTracingMode=d("react.debug_trace_mode");b.unstable_Offscreen=d("react.offscreen");b.unstable_LegacyHidden=d("react.legacy_hidden");b.unstable_Cache=d("react.cache")}var W="function"===typeof Symbol&&Symbol.iterator,xa=Object.prototype.hasOwnProperty,U=Object.assign||function(a,c){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");
|
|
14
|
+
c=c();c.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=c)}if(1===a._status)return a._result.default;throw a._result;}function O(a,c){var b=a.length;a.push(c);a:for(;0<b;){var d=b-1>>>1,e=a[d];if(0<D(e,c))a[d]=c,a[b]=e,b=d;else break a}}function l(a){return 0===a.length?null:a[0]}function E(a){if(0===a.length)return null;var c=a[0],b=a.pop();if(b!==c){a[0]=b;a:for(var d=
|
|
15
|
+
0,e=a.length,f=e>>>1;d<f;){var g=2*(d+1)-1,m=a[g],h=g+1,l=a[h];if(0>D(m,b))h<e&&0>D(l,m)?(a[d]=l,a[h]=b,d=h):(a[d]=m,a[g]=b,d=g);else if(h<e&&0>D(l,b))a[d]=l,a[h]=b,d=h;else break a}}return c}function D(a,c){var b=a.sortIndex-c.sortIndex;return 0!==b?b:a.id-c.id}function P(a){for(var c=l(q);null!==c;){if(null===c.callback)E(q);else if(c.startTime<=a)E(q),c.sortIndex=c.expirationTime,O(p,c);else break;c=l(q)}}function Q(a){y=!1;P(a);if(!r)if(null!==l(p))r=!0,R(S);else{var c=l(q);null!==c&&T(Q,c.startTime-
|
|
16
|
+
a)}}function S(a,c){r=!1;y&&(y=!1,ia(z),z=-1);F=!0;var b=f;try{P(c);for(m=l(p);null!==m&&(!(m.expirationTime>c)||a&&!ja());){var d=m.callback;if("function"===typeof d){m.callback=null;f=m.priorityLevel;var e=d(m.expirationTime<=c);c=t();"function"===typeof e?m.callback=e:m===l(p)&&E(p);P(c)}else E(p);m=l(p)}if(null!==m)var g=!0;else{var x=l(q);null!==x&&T(Q,x.startTime-c);g=!1}return g}finally{m=null,f=b,F=!1}}function ja(){return t()>=ka}function R(a){G=a;H||(H=!0,I())}function T(a,c){z=la(function(){a(t())},
|
|
17
|
+
c)}var v=60103,ea=60106;b.Fragment=60107;b.StrictMode=60108;b.Profiler=60114;var ma=60109,na=60110,oa=60112;b.Suspense=60113;b.SuspenseList=60120;var pa=60115,qa=60116;b.unstable_DebugTracingMode=60129;b.unstable_Offscreen=60130;b.unstable_LegacyHidden=60131;b.unstable_Cache=60132;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;v=d("react.element");ea=d("react.portal");b.Fragment=d("react.fragment");b.StrictMode=d("react.strict_mode");b.Profiler=d("react.profiler");ma=d("react.provider");
|
|
18
|
+
na=d("react.context");oa=d("react.forward_ref");b.Suspense=d("react.suspense");b.SuspenseList=d("react.suspense_list");pa=d("react.memo");qa=d("react.lazy");b.unstable_DebugTracingMode=d("react.debug_trace_mode");b.unstable_Offscreen=d("react.offscreen");b.unstable_LegacyHidden=d("react.legacy_hidden");b.unstable_Cache=d("react.cache")}var W="function"===typeof Symbol&&Symbol.iterator,xa=Object.prototype.hasOwnProperty,U=Object.assign||function(a,c){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");
|
|
19
19
|
for(var b=Object(a),d=1;d<arguments.length;d++){var e=arguments[d];if(null!=e){var f=void 0;e=Object(e);for(f in e)xa.call(e,f)&&(b[f]=e[f])}}return b},Y={isMounted:function(a){return!1},enqueueForceUpdate:function(a,c,b){},enqueueReplaceState:function(a,c,b,d){},enqueueSetState:function(a,c,b,d){}},X={};u.prototype.isReactComponent={};u.prototype.setState=function(a,c){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(A(85));this.updater.enqueueSetState(this,a,c,"setState")};u.prototype.forceUpdate=
|
|
20
20
|
function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};Z.prototype=u.prototype;d=K.prototype=new Z;d.constructor=K;U(d,u.prototype);d.isPureReactComponent=!0;var fa=Array.isArray,ca=Object.prototype.hasOwnProperty,L={current:null},da={key:!0,ref:!0,__self:!0,__source:!0},ha=/\/+/g,g={current:null},J={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var ya=performance;var t=function(){return ya.now()}}else{var ra=Date,za=ra.now();t=function(){return ra.now()-
|
|
21
21
|
za}}var p=[],q=[],Aa=1,m=null,f=3,F=!1,r=!1,y=!1,la="function"===typeof setTimeout?setTimeout:null,ia="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null,H=!1,G=null,z=-1,ta=5,ka=0,V=function(){if(null!==G){var a=t();ka=a+ta;var c=!0;try{c=G(!0,a)}finally{c?I():(H=!1,G=null)}}else H=!1};if("function"===typeof sa)var I=function(){sa(V)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Ba=d.port2;d.port1.onmessage=V;I=function(){Ba.postMessage(null)}}else I=
|
|
@@ -27,5 +27,5 @@ d;b.cloneElement=function(a,c,b){if(null===a||void 0===a)throw Error(A(267,a));v
|
|
|
27
27
|
key:e,ref:f,props:d,_owner:k}};b.createContext=function(a){a={$$typeof:na,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ma,_context:a};return a.Consumer=a};b.createElement=aa;b.createFactory=function(a){var c=aa.bind(null,a);c.type=a;return c};b.createRef=function(){return{current:null}};b.forwardRef=function(a){return{$$typeof:oa,render:a}};b.isValidElement=M;b.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:wa}};b.memo=
|
|
28
28
|
function(a,c){return{$$typeof:pa,type:a,compare:void 0===c?null:c}};b.startTransition=function(a){var c=J.transition;J.transition=1;try{a()}finally{J.transition=c}};b.unstable_createMutableSource=function(a,c){return{_getVersion:c,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};b.unstable_getCacheForType=function(a){return g.current.getCacheForType(a)};b.unstable_useCacheRefresh=function(){return g.current.useCacheRefresh()};b.unstable_useMutableSource=function(a,
|
|
29
29
|
c,b){return g.current.useMutableSource(a,c,b)};b.unstable_useOpaqueIdentifier=function(){return g.current.useOpaqueIdentifier()};b.useCallback=function(a,c){return g.current.useCallback(a,c)};b.useContext=function(a){return g.current.useContext(a)};b.useDebugValue=function(a,c){};b.useDeferredValue=function(a){return g.current.useDeferredValue(a)};b.useEffect=function(a,c){return g.current.useEffect(a,c)};b.useImperativeHandle=function(a,c,b){return g.current.useImperativeHandle(a,c,b)};b.useLayoutEffect=
|
|
30
|
-
function(a,
|
|
30
|
+
function(a,b){return g.current.useLayoutEffect(a,b)};b.useMemo=function(a,b){return g.current.useMemo(a,b)};b.useReducer=function(a,b,d){return g.current.useReducer(a,b,d)};b.useRef=function(a){return g.current.useRef(a)};b.useState=function(a){return g.current.useState(a)};b.useTransition=function(){return g.current.useTransition()};b.version="18.0.0-experimental-e6be2d531"});
|
|
31
31
|
})();
|
|
@@ -11,11 +11,11 @@ a+"; visit "+c+" for the full message or use the non-minified dev environment fo
|
|
|
11
11
|
k;else if(1<d){for(var h=Array(d),f=0;f<d;f++)h[f]=arguments[f+2];e.children=h}if(a&&a.defaultProps)for(b in d=a.defaultProps,d)void 0===e[b]&&(e[b]=d[b]);return{$$typeof:v,type:a,key:ba,ref:x,props:e,_owner:L.current}}function ua(a,c){return{$$typeof:v,type:a.type,key:c,ref:a.ref,props:a.props,_owner:a._owner}}function M(a){return"object"===typeof a&&null!==a&&a.$$typeof===v}function va(a){var c={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return c[a]})}function N(a,c){return"object"===
|
|
12
12
|
typeof a&&null!==a&&null!=a.key?va(""+a.key):c.toString(36)}function B(a,c,k,b,e){var n=typeof a;if("undefined"===n||"boolean"===n)a=null;var d=!1;if(null===a)d=!0;else switch(n){case "string":case "number":d=!0;break;case "object":switch(a.$$typeof){case v:case ea:d=!0}}if(d)return d=a,e=e(d),a=""===b?"."+N(d,0):b,fa(e)?(k="",null!=a&&(k=a.replace(ha,"$&/")+"/"),B(e,c,k,"",function(a){return a})):null!=e&&(M(e)&&(e=ua(e,k+(!e.key||d&&d.key===e.key?"":(""+e.key).replace(ha,"$&/")+"/")+a)),c.push(e)),
|
|
13
13
|
1;d=0;b=""===b?".":b+":";if(fa(a))for(var f=0;f<a.length;f++){n=a[f];var h=b+N(n,f);d+=B(n,c,k,h,e)}else if(h=w(a),"function"===typeof h)for(a=h.call(a),f=0;!(n=a.next()).done;)n=n.value,h=b+N(n,f++),d+=B(n,c,k,h,e);else if("object"===n)throw c=""+a,Error(A(31,"[object Object]"===c?"object with keys {"+Object.keys(a).join(", ")+"}":c));return d}function C(a,c,k){if(null==a)return a;var b=[],e=0;B(a,b,"","",function(a){return c.call(k,a,e++)});return b}function wa(a){if(-1===a._status){var c=a._result;
|
|
14
|
-
c=c();
|
|
15
|
-
1)-1,m=a[g],h=g+1,l=a[h];if(0>D(m,b))h<e&&0>D(l,m)?(a[d]=l,a[h]=b,d=h):(a[d]=m,a[g]=b,d=g);else if(h<e&&0>D(l,b))a[d]=l,a[h]=b,d=h;else break a}}return c}function D(a,c){var b=a.sortIndex-c.sortIndex;return 0!==b?b:a.id-c.id}function P(a){for(var c=l(q);null!==c;){if(null===c.callback)E(q);else if(c.startTime<=a)E(q),c.sortIndex=c.expirationTime,O(p,c);else break;c=l(q)}}function Q(a){y=!1;P(a);if(!r)if(null!==l(p))r=!0,R(S);else{var c=l(q);null!==c&&T(Q,c.startTime-
|
|
16
|
-
|
|
17
|
-
60106;b.Fragment=60107;b.StrictMode=60108;b.Profiler=60114;var ma=60109,na=60110,oa=60112;b.Suspense=60113;b.SuspenseList=60120;var pa=60115,qa=60116;b.unstable_DebugTracingMode=60129;b.unstable_Offscreen=60130;b.unstable_LegacyHidden=60131;b.unstable_Cache=60132;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;v=d("react.element");ea=d("react.portal");b.Fragment=d("react.fragment");b.StrictMode=d("react.strict_mode");b.Profiler=d("react.profiler");ma=d("react.provider");
|
|
18
|
-
oa=d("react.forward_ref");b.Suspense=d("react.suspense");b.SuspenseList=d("react.suspense_list");pa=d("react.memo");qa=d("react.lazy");b.unstable_DebugTracingMode=d("react.debug_trace_mode");b.unstable_Offscreen=d("react.offscreen");b.unstable_LegacyHidden=d("react.legacy_hidden");b.unstable_Cache=d("react.cache")}var W="function"===typeof Symbol&&Symbol.iterator,xa=Object.prototype.hasOwnProperty,U=Object.assign||function(a,c){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");
|
|
14
|
+
c=c();c.then(function(c){if(0===a._status||-1===a._status)a._status=1,a._result=c},function(c){if(0===a._status||-1===a._status)a._status=2,a._result=c});-1===a._status&&(a._status=0,a._result=c)}if(1===a._status)return a._result.default;throw a._result;}function O(a,c){var b=a.length;a.push(c);a:for(;0<b;){var d=b-1>>>1,e=a[d];if(0<D(e,c))a[d]=c,a[b]=e,b=d;else break a}}function l(a){return 0===a.length?null:a[0]}function E(a){if(0===a.length)return null;var c=a[0],b=a.pop();if(b!==c){a[0]=b;a:for(var d=
|
|
15
|
+
0,e=a.length,f=e>>>1;d<f;){var g=2*(d+1)-1,m=a[g],h=g+1,l=a[h];if(0>D(m,b))h<e&&0>D(l,m)?(a[d]=l,a[h]=b,d=h):(a[d]=m,a[g]=b,d=g);else if(h<e&&0>D(l,b))a[d]=l,a[h]=b,d=h;else break a}}return c}function D(a,c){var b=a.sortIndex-c.sortIndex;return 0!==b?b:a.id-c.id}function P(a){for(var c=l(q);null!==c;){if(null===c.callback)E(q);else if(c.startTime<=a)E(q),c.sortIndex=c.expirationTime,O(p,c);else break;c=l(q)}}function Q(a){y=!1;P(a);if(!r)if(null!==l(p))r=!0,R(S);else{var c=l(q);null!==c&&T(Q,c.startTime-
|
|
16
|
+
a)}}function S(a,c){r=!1;y&&(y=!1,ia(z),z=-1);F=!0;var b=f;try{P(c);for(m=l(p);null!==m&&(!(m.expirationTime>c)||a&&!ja());){var d=m.callback;if("function"===typeof d){m.callback=null;f=m.priorityLevel;var e=d(m.expirationTime<=c);c=t();"function"===typeof e?m.callback=e:m===l(p)&&E(p);P(c)}else E(p);m=l(p)}if(null!==m)var g=!0;else{var x=l(q);null!==x&&T(Q,x.startTime-c);g=!1}return g}finally{m=null,f=b,F=!1}}function ja(){return t()>=ka}function R(a){G=a;H||(H=!0,I())}function T(a,c){z=la(function(){a(t())},
|
|
17
|
+
c)}var v=60103,ea=60106;b.Fragment=60107;b.StrictMode=60108;b.Profiler=60114;var ma=60109,na=60110,oa=60112;b.Suspense=60113;b.SuspenseList=60120;var pa=60115,qa=60116;b.unstable_DebugTracingMode=60129;b.unstable_Offscreen=60130;b.unstable_LegacyHidden=60131;b.unstable_Cache=60132;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;v=d("react.element");ea=d("react.portal");b.Fragment=d("react.fragment");b.StrictMode=d("react.strict_mode");b.Profiler=d("react.profiler");ma=d("react.provider");
|
|
18
|
+
na=d("react.context");oa=d("react.forward_ref");b.Suspense=d("react.suspense");b.SuspenseList=d("react.suspense_list");pa=d("react.memo");qa=d("react.lazy");b.unstable_DebugTracingMode=d("react.debug_trace_mode");b.unstable_Offscreen=d("react.offscreen");b.unstable_LegacyHidden=d("react.legacy_hidden");b.unstable_Cache=d("react.cache")}var W="function"===typeof Symbol&&Symbol.iterator,xa=Object.prototype.hasOwnProperty,U=Object.assign||function(a,c){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");
|
|
19
19
|
for(var b=Object(a),d=1;d<arguments.length;d++){var e=arguments[d];if(null!=e){var f=void 0;e=Object(e);for(f in e)xa.call(e,f)&&(b[f]=e[f])}}return b},Y={isMounted:function(a){return!1},enqueueForceUpdate:function(a,c,b){},enqueueReplaceState:function(a,c,b,d){},enqueueSetState:function(a,c,b,d){}},X={};u.prototype.isReactComponent={};u.prototype.setState=function(a,c){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(A(85));this.updater.enqueueSetState(this,a,c,"setState")};u.prototype.forceUpdate=
|
|
20
20
|
function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};Z.prototype=u.prototype;d=K.prototype=new Z;d.constructor=K;U(d,u.prototype);d.isPureReactComponent=!0;var fa=Array.isArray,ca=Object.prototype.hasOwnProperty,L={current:null},da={key:!0,ref:!0,__self:!0,__source:!0},ha=/\/+/g,g={current:null},J={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var ya=performance;var t=function(){return ya.now()}}else{var ra=Date,za=ra.now();t=function(){return ra.now()-
|
|
21
21
|
za}}var p=[],q=[],Aa=1,m=null,f=3,F=!1,r=!1,y=!1,la="function"===typeof setTimeout?setTimeout:null,ia="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null,H=!1,G=null,z=-1,ta=5,ka=0,V=function(){if(null!==G){var a=t();ka=a+ta;var c=!0;try{c=G(!0,a)}finally{c?I():(H=!1,G=null)}}else H=!1};if("function"===typeof sa)var I=function(){sa(V)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Ba=d.port2;d.port1.onmessage=V;I=function(){Ba.postMessage(null)}}else I=
|
|
@@ -27,5 +27,5 @@ d;b.cloneElement=function(a,c,b){if(null===a||void 0===a)throw Error(A(267,a));v
|
|
|
27
27
|
key:e,ref:f,props:d,_owner:k}};b.createContext=function(a){a={$$typeof:na,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null};a.Provider={$$typeof:ma,_context:a};return a.Consumer=a};b.createElement=aa;b.createFactory=function(a){var c=aa.bind(null,a);c.type=a;return c};b.createRef=function(){return{current:null}};b.forwardRef=function(a){return{$$typeof:oa,render:a}};b.isValidElement=M;b.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:wa}};b.memo=
|
|
28
28
|
function(a,c){return{$$typeof:pa,type:a,compare:void 0===c?null:c}};b.startTransition=function(a){var c=J.transition;J.transition=1;try{a()}finally{J.transition=c}};b.unstable_createMutableSource=function(a,c){return{_getVersion:c,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};b.unstable_getCacheForType=function(a){return g.current.getCacheForType(a)};b.unstable_useCacheRefresh=function(){return g.current.useCacheRefresh()};b.unstable_useMutableSource=function(a,
|
|
29
29
|
c,b){return g.current.useMutableSource(a,c,b)};b.unstable_useOpaqueIdentifier=function(){return g.current.useOpaqueIdentifier()};b.useCallback=function(a,c){return g.current.useCallback(a,c)};b.useContext=function(a){return g.current.useContext(a)};b.useDebugValue=function(a,c){};b.useDeferredValue=function(a){return g.current.useDeferredValue(a)};b.useEffect=function(a,c){return g.current.useEffect(a,c)};b.useImperativeHandle=function(a,c,b){return g.current.useImperativeHandle(a,c,b)};b.useLayoutEffect=
|
|
30
|
-
function(a,
|
|
30
|
+
function(a,b){return g.current.useLayoutEffect(a,b)};b.useMemo=function(a,b){return g.current.useMemo(a,b)};b.useReducer=function(a,b,d){return g.current.useReducer(a,b,d)};b.useRef=function(a){return g.current.useRef(a)};b.useState=function(a){return g.current.useState(a)};b.useTransition=function(){return g.current.useTransition()};b.version="18.0.0-experimental-e6be2d531"});
|
|
31
31
|
})();
|