react 18.0.0-alpha-568dc3532 → 18.0.0-alpha-cae635054-20210626

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.0.0-568dc3532';
18
+ var ReactVersion = '18.0.0-cae635054-20210626';
19
19
 
20
20
  // ATTENTION
21
21
  // When adding new symbols to this file,
@@ -98,6 +98,16 @@ var ReactCurrentBatchConfig = {
98
98
  transition: 0
99
99
  };
100
100
 
101
+ var ReactCurrentActQueue = {
102
+ current: null,
103
+ // Our internal tests use a custom implementation of `act` that works by
104
+ // mocking the Scheduler package. Use this field to disable the `act` warning.
105
+ // TODO: Maybe the warning should be disabled by default, and then turned
106
+ // on at the testing frameworks layer? Instead of what we do now, which
107
+ // is check if a `jest` global is defined.
108
+ disableActWarning: false
109
+ };
110
+
101
111
  /**
102
112
  * Keeps track of the current owner.
103
113
  *
@@ -148,24 +158,17 @@ function setExtraStackFrame(stack) {
148
158
  };
149
159
  }
150
160
 
151
- /**
152
- * Used by act() to track whether you're inside an act() scope.
153
- */
154
- var IsSomeRendererActing = {
155
- current: false
156
- };
157
-
158
161
  var ReactSharedInternals = {
159
162
  ReactCurrentDispatcher: ReactCurrentDispatcher,
160
163
  ReactCurrentBatchConfig: ReactCurrentBatchConfig,
161
164
  ReactCurrentOwner: ReactCurrentOwner,
162
- IsSomeRendererActing: IsSomeRendererActing,
163
165
  // Used by renderers to avoid bundling object-assign twice in UMD bundles:
164
166
  assign: _assign
165
167
  };
166
168
 
167
169
  {
168
170
  ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
171
+ ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
169
172
  }
170
173
 
171
174
  // by calls to these methods by a Babel plugin.
@@ -2368,6 +2371,219 @@ function startTransition(scope) {
2368
2371
  }
2369
2372
  }
2370
2373
 
2374
+ var didWarnAboutMessageChannel = false;
2375
+ var enqueueTaskImpl = null;
2376
+ function enqueueTask(task) {
2377
+ if (enqueueTaskImpl === null) {
2378
+ try {
2379
+ // read require off the module object to get around the bundlers.
2380
+ // we don't want them to detect a require and bundle a Node polyfill.
2381
+ var requireString = ('require' + Math.random()).slice(0, 7);
2382
+ var nodeRequire = module && module[requireString]; // assuming we're in node, let's try to get node's
2383
+ // version of setImmediate, bypassing fake timers if any.
2384
+
2385
+ enqueueTaskImpl = nodeRequire.call(module, 'timers').setImmediate;
2386
+ } catch (_err) {
2387
+ // we're in a browser
2388
+ // we can't use regular timers because they may still be faked
2389
+ // so we try MessageChannel+postMessage instead
2390
+ enqueueTaskImpl = function (callback) {
2391
+ {
2392
+ if (didWarnAboutMessageChannel === false) {
2393
+ didWarnAboutMessageChannel = true;
2394
+
2395
+ if (typeof MessageChannel === 'undefined') {
2396
+ error('This browser does not have a MessageChannel implementation, ' + 'so enqueuing tasks via await act(async () => ...) will fail. ' + 'Please file an issue at https://github.com/facebook/react/issues ' + 'if you encounter this warning.');
2397
+ }
2398
+ }
2399
+ }
2400
+
2401
+ var channel = new MessageChannel();
2402
+ channel.port1.onmessage = callback;
2403
+ channel.port2.postMessage(undefined);
2404
+ };
2405
+ }
2406
+ }
2407
+
2408
+ return enqueueTaskImpl(task);
2409
+ }
2410
+
2411
+ var actScopeDepth = 0;
2412
+ var didWarnNoAwaitAct = false;
2413
+ function act(callback) {
2414
+ {
2415
+ // `act` calls can be nested, so we track the depth. This represents the
2416
+ // number of `act` scopes on the stack.
2417
+ var prevActScopeDepth = actScopeDepth;
2418
+ actScopeDepth++;
2419
+
2420
+ if (ReactCurrentActQueue.current === null) {
2421
+ // This is the outermost `act` scope. Initialize the queue. The reconciler
2422
+ // will detect the queue and use it instead of Scheduler.
2423
+ ReactCurrentActQueue.current = [];
2424
+ }
2425
+
2426
+ var result;
2427
+
2428
+ try {
2429
+ result = callback();
2430
+ } catch (error) {
2431
+ popActScope(prevActScopeDepth);
2432
+ throw error;
2433
+ }
2434
+
2435
+ if (result !== null && typeof result === 'object' && typeof result.then === 'function') {
2436
+ var thenableResult = result; // The callback is an async function (i.e. returned a promise). Wait
2437
+ // for it to resolve before exiting the current scope.
2438
+
2439
+ var wasAwaited = false;
2440
+ var thenable = {
2441
+ then: function (resolve, reject) {
2442
+ wasAwaited = true;
2443
+ thenableResult.then(function (returnValue) {
2444
+ popActScope(prevActScopeDepth);
2445
+
2446
+ if (actScopeDepth === 0) {
2447
+ // We've exited the outermost act scope. Recursively flush the
2448
+ // queue until there's no remaining work.
2449
+ recursivelyFlushAsyncActWork(returnValue, resolve, reject);
2450
+ } else {
2451
+ resolve(returnValue);
2452
+ }
2453
+ }, function (error) {
2454
+ // The callback threw an error.
2455
+ popActScope(prevActScopeDepth);
2456
+ reject(error);
2457
+ });
2458
+ }
2459
+ };
2460
+
2461
+ {
2462
+ if (!didWarnNoAwaitAct && typeof Promise !== 'undefined') {
2463
+ // eslint-disable-next-line no-undef
2464
+ Promise.resolve().then(function () {}).then(function () {
2465
+ if (!wasAwaited) {
2466
+ didWarnNoAwaitAct = true;
2467
+
2468
+ error('You called act(async () => ...) without await. ' + 'This could lead to unexpected testing behaviour, ' + 'interleaving multiple act calls and mixing their ' + 'scopes. ' + 'You should - await act(async () => ...);');
2469
+ }
2470
+ });
2471
+ }
2472
+ }
2473
+
2474
+ return thenable;
2475
+ } else {
2476
+ var returnValue = result; // The callback is not an async function. Exit the current scope
2477
+ // immediately, without awaiting.
2478
+
2479
+ popActScope(prevActScopeDepth);
2480
+
2481
+ if (actScopeDepth === 0) {
2482
+ // Exiting the outermost act scope. Flush the queue.
2483
+ var queue = ReactCurrentActQueue.current;
2484
+
2485
+ if (queue !== null) {
2486
+ flushActQueue(queue);
2487
+ ReactCurrentActQueue.current = null;
2488
+ } // Return a thenable. If the user awaits it, we'll flush again in
2489
+ // case additional work was scheduled by a microtask.
2490
+
2491
+
2492
+ var _thenable = {
2493
+ then: function (resolve, reject) {
2494
+ // Confirm we haven't re-entered another `act` scope, in case
2495
+ // the user does something weird like await the thenable
2496
+ // multiple times.
2497
+ if (ReactCurrentActQueue.current === null) {
2498
+ // Recursively flush the queue until there's no remaining work.
2499
+ ReactCurrentActQueue.current = [];
2500
+ recursivelyFlushAsyncActWork(returnValue, resolve, reject);
2501
+ } else {
2502
+ resolve(returnValue);
2503
+ }
2504
+ }
2505
+ };
2506
+ return _thenable;
2507
+ } else {
2508
+ // Since we're inside a nested `act` scope, the returned thenable
2509
+ // immediately resolves. The outer scope will flush the queue.
2510
+ var _thenable2 = {
2511
+ then: function (resolve, reject) {
2512
+ resolve(returnValue);
2513
+ }
2514
+ };
2515
+ return _thenable2;
2516
+ }
2517
+ }
2518
+ }
2519
+ }
2520
+
2521
+ function popActScope(prevActScopeDepth) {
2522
+ {
2523
+ if (prevActScopeDepth !== actScopeDepth - 1) {
2524
+ error('You seem to have overlapping act() calls, this is not supported. ' + 'Be sure to await previous act() calls before making a new one. ');
2525
+ }
2526
+
2527
+ actScopeDepth = prevActScopeDepth;
2528
+ }
2529
+ }
2530
+
2531
+ function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
2532
+ {
2533
+ var queue = ReactCurrentActQueue.current;
2534
+
2535
+ if (queue !== null) {
2536
+ try {
2537
+ flushActQueue(queue);
2538
+ enqueueTask(function () {
2539
+ if (queue.length === 0) {
2540
+ // No additional work was scheduled. Finish.
2541
+ ReactCurrentActQueue.current = null;
2542
+ resolve(returnValue);
2543
+ } else {
2544
+ // Keep flushing work until there's none left.
2545
+ recursivelyFlushAsyncActWork(returnValue, resolve, reject);
2546
+ }
2547
+ });
2548
+ } catch (error) {
2549
+ reject(error);
2550
+ }
2551
+ } else {
2552
+ resolve(returnValue);
2553
+ }
2554
+ }
2555
+ }
2556
+
2557
+ var isFlushing = false;
2558
+
2559
+ function flushActQueue(queue) {
2560
+ {
2561
+ if (!isFlushing) {
2562
+ // Prevent re-entrancy.
2563
+ isFlushing = true;
2564
+ var i = 0;
2565
+
2566
+ try {
2567
+ for (; i < queue.length; i++) {
2568
+ var callback = queue[i];
2569
+
2570
+ do {
2571
+ callback = callback(true);
2572
+ } while (callback !== null);
2573
+ }
2574
+
2575
+ queue.length = 0;
2576
+ } catch (error) {
2577
+ // If something throws, leave the remaining callbacks on the queue.
2578
+ queue = queue.slice(i + 1);
2579
+ throw error;
2580
+ } finally {
2581
+ isFlushing = false;
2582
+ }
2583
+ }
2584
+ }
2585
+ }
2586
+
2371
2587
  var createElement$1 = createElementWithValidation ;
2372
2588
  var cloneElement$1 = cloneElementWithValidation ;
2373
2589
  var createFactory = createFactoryWithValidation ;
@@ -2393,6 +2609,7 @@ exports.isValidElement = isValidElement;
2393
2609
  exports.lazy = lazy;
2394
2610
  exports.memo = memo;
2395
2611
  exports.startTransition = startTransition;
2612
+ exports.unstable_act = act;
2396
2613
  exports.unstable_createMutableSource = createMutableSource;
2397
2614
  exports.unstable_useMutableSource = useMutableSource;
2398
2615
  exports.unstable_useOpaqueIdentifier = useOpaqueIdentifier;
@@ -15,10 +15,10 @@ function K(a,b,c){var e,d={},k=null,h=null;if(null!=b)for(e in void 0!==b.ref&&(
15
15
  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)}
16
16
  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=
17
17
  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}
18
- 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};
18
+ 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,assign:l};
19
19
  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;
20
20
  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,
21
21
  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;
22
- 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}};
22
+ 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_act=function(){throw Error(z(406));};exports.unstable_createMutableSource=function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};
23
23
  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)};exports.useEffect=function(a,b){return S.current.useEffect(a,b)};
24
- 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()};exports.version="18.0.0-568dc3532";
24
+ 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()};exports.version="18.0.0-cae635054-20210626";
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "keywords": [
5
5
  "react"
6
6
  ],
7
- "version": "18.0.0-alpha-568dc3532",
7
+ "version": "18.0.0-alpha-cae635054-20210626",
8
8
  "homepage": "https://reactjs.org/",
9
9
  "bugs": "https://github.com/facebook/react/issues",
10
10
  "license": "MIT",
@@ -12,7 +12,7 @@
12
12
  (global = global || self, factory(global.React = {}));
13
13
  }(this, (function (exports) { 'use strict';
14
14
 
15
- var ReactVersion = '18.0.0-568dc3532';
15
+ var ReactVersion = '18.0.0-cae635054-20210626';
16
16
 
17
17
  // ATTENTION
18
18
  // When adding new symbols to this file,
@@ -123,6 +123,16 @@
123
123
  transition: 0
124
124
  };
125
125
 
126
+ var ReactCurrentActQueue = {
127
+ current: null,
128
+ // Our internal tests use a custom implementation of `act` that works by
129
+ // mocking the Scheduler package. Use this field to disable the `act` warning.
130
+ // TODO: Maybe the warning should be disabled by default, and then turned
131
+ // on at the testing frameworks layer? Instead of what we do now, which
132
+ // is check if a `jest` global is defined.
133
+ disableActWarning: false
134
+ };
135
+
126
136
  /**
127
137
  * Keeps track of the current owner.
128
138
  *
@@ -173,24 +183,17 @@
173
183
  };
174
184
  }
175
185
 
176
- /**
177
- * Used by act() to track whether you're inside an act() scope.
178
- */
179
- var IsSomeRendererActing = {
180
- current: false
181
- };
182
-
183
186
  var ReactSharedInternals = {
184
187
  ReactCurrentDispatcher: ReactCurrentDispatcher,
185
188
  ReactCurrentBatchConfig: ReactCurrentBatchConfig,
186
189
  ReactCurrentOwner: ReactCurrentOwner,
187
- IsSomeRendererActing: IsSomeRendererActing,
188
190
  // Used by renderers to avoid bundling object-assign twice in UMD bundles:
189
191
  assign: assign
190
192
  };
191
193
 
192
194
  {
193
195
  ReactSharedInternals.ReactDebugCurrentFrame = ReactDebugCurrentFrame;
196
+ ReactSharedInternals.ReactCurrentActQueue = ReactCurrentActQueue;
194
197
  }
195
198
 
196
199
  // by calls to these methods by a Babel plugin.
@@ -2983,7 +2986,6 @@
2983
2986
  var ReactSharedInternals$1 = {
2984
2987
  ReactCurrentDispatcher: ReactCurrentDispatcher,
2985
2988
  ReactCurrentOwner: ReactCurrentOwner,
2986
- IsSomeRendererActing: IsSomeRendererActing,
2987
2989
  ReactCurrentBatchConfig: ReactCurrentBatchConfig,
2988
2990
  // Used by renderers to avoid bundling object-assign twice in UMD bundles:
2989
2991
  assign: assign,
@@ -3010,6 +3012,219 @@
3010
3012
  }
3011
3013
  }
3012
3014
 
3015
+ var didWarnAboutMessageChannel = false;
3016
+ var enqueueTaskImpl = null;
3017
+ function enqueueTask(task) {
3018
+ if (enqueueTaskImpl === null) {
3019
+ try {
3020
+ // read require off the module object to get around the bundlers.
3021
+ // we don't want them to detect a require and bundle a Node polyfill.
3022
+ var requireString = ('require' + Math.random()).slice(0, 7);
3023
+ var nodeRequire = module && module[requireString]; // assuming we're in node, let's try to get node's
3024
+ // version of setImmediate, bypassing fake timers if any.
3025
+
3026
+ enqueueTaskImpl = nodeRequire.call(module, 'timers').setImmediate;
3027
+ } catch (_err) {
3028
+ // we're in a browser
3029
+ // we can't use regular timers because they may still be faked
3030
+ // so we try MessageChannel+postMessage instead
3031
+ enqueueTaskImpl = function (callback) {
3032
+ {
3033
+ if (didWarnAboutMessageChannel === false) {
3034
+ didWarnAboutMessageChannel = true;
3035
+
3036
+ if (typeof MessageChannel === 'undefined') {
3037
+ error('This browser does not have a MessageChannel implementation, ' + 'so enqueuing tasks via await act(async () => ...) will fail. ' + 'Please file an issue at https://github.com/facebook/react/issues ' + 'if you encounter this warning.');
3038
+ }
3039
+ }
3040
+ }
3041
+
3042
+ var channel = new MessageChannel();
3043
+ channel.port1.onmessage = callback;
3044
+ channel.port2.postMessage(undefined);
3045
+ };
3046
+ }
3047
+ }
3048
+
3049
+ return enqueueTaskImpl(task);
3050
+ }
3051
+
3052
+ var actScopeDepth = 0;
3053
+ var didWarnNoAwaitAct = false;
3054
+ function act(callback) {
3055
+ {
3056
+ // `act` calls can be nested, so we track the depth. This represents the
3057
+ // number of `act` scopes on the stack.
3058
+ var prevActScopeDepth = actScopeDepth;
3059
+ actScopeDepth++;
3060
+
3061
+ if (ReactCurrentActQueue.current === null) {
3062
+ // This is the outermost `act` scope. Initialize the queue. The reconciler
3063
+ // will detect the queue and use it instead of Scheduler.
3064
+ ReactCurrentActQueue.current = [];
3065
+ }
3066
+
3067
+ var result;
3068
+
3069
+ try {
3070
+ result = callback();
3071
+ } catch (error) {
3072
+ popActScope(prevActScopeDepth);
3073
+ throw error;
3074
+ }
3075
+
3076
+ if (result !== null && typeof result === 'object' && typeof result.then === 'function') {
3077
+ var thenableResult = result; // The callback is an async function (i.e. returned a promise). Wait
3078
+ // for it to resolve before exiting the current scope.
3079
+
3080
+ var wasAwaited = false;
3081
+ var thenable = {
3082
+ then: function (resolve, reject) {
3083
+ wasAwaited = true;
3084
+ thenableResult.then(function (returnValue) {
3085
+ popActScope(prevActScopeDepth);
3086
+
3087
+ if (actScopeDepth === 0) {
3088
+ // We've exited the outermost act scope. Recursively flush the
3089
+ // queue until there's no remaining work.
3090
+ recursivelyFlushAsyncActWork(returnValue, resolve, reject);
3091
+ } else {
3092
+ resolve(returnValue);
3093
+ }
3094
+ }, function (error) {
3095
+ // The callback threw an error.
3096
+ popActScope(prevActScopeDepth);
3097
+ reject(error);
3098
+ });
3099
+ }
3100
+ };
3101
+
3102
+ {
3103
+ if (!didWarnNoAwaitAct && typeof Promise !== 'undefined') {
3104
+ // eslint-disable-next-line no-undef
3105
+ Promise.resolve().then(function () {}).then(function () {
3106
+ if (!wasAwaited) {
3107
+ didWarnNoAwaitAct = true;
3108
+
3109
+ error('You called act(async () => ...) without await. ' + 'This could lead to unexpected testing behaviour, ' + 'interleaving multiple act calls and mixing their ' + 'scopes. ' + 'You should - await act(async () => ...);');
3110
+ }
3111
+ });
3112
+ }
3113
+ }
3114
+
3115
+ return thenable;
3116
+ } else {
3117
+ var returnValue = result; // The callback is not an async function. Exit the current scope
3118
+ // immediately, without awaiting.
3119
+
3120
+ popActScope(prevActScopeDepth);
3121
+
3122
+ if (actScopeDepth === 0) {
3123
+ // Exiting the outermost act scope. Flush the queue.
3124
+ var queue = ReactCurrentActQueue.current;
3125
+
3126
+ if (queue !== null) {
3127
+ flushActQueue(queue);
3128
+ ReactCurrentActQueue.current = null;
3129
+ } // Return a thenable. If the user awaits it, we'll flush again in
3130
+ // case additional work was scheduled by a microtask.
3131
+
3132
+
3133
+ var _thenable = {
3134
+ then: function (resolve, reject) {
3135
+ // Confirm we haven't re-entered another `act` scope, in case
3136
+ // the user does something weird like await the thenable
3137
+ // multiple times.
3138
+ if (ReactCurrentActQueue.current === null) {
3139
+ // Recursively flush the queue until there's no remaining work.
3140
+ ReactCurrentActQueue.current = [];
3141
+ recursivelyFlushAsyncActWork(returnValue, resolve, reject);
3142
+ } else {
3143
+ resolve(returnValue);
3144
+ }
3145
+ }
3146
+ };
3147
+ return _thenable;
3148
+ } else {
3149
+ // Since we're inside a nested `act` scope, the returned thenable
3150
+ // immediately resolves. The outer scope will flush the queue.
3151
+ var _thenable2 = {
3152
+ then: function (resolve, reject) {
3153
+ resolve(returnValue);
3154
+ }
3155
+ };
3156
+ return _thenable2;
3157
+ }
3158
+ }
3159
+ }
3160
+ }
3161
+
3162
+ function popActScope(prevActScopeDepth) {
3163
+ {
3164
+ if (prevActScopeDepth !== actScopeDepth - 1) {
3165
+ error('You seem to have overlapping act() calls, this is not supported. ' + 'Be sure to await previous act() calls before making a new one. ');
3166
+ }
3167
+
3168
+ actScopeDepth = prevActScopeDepth;
3169
+ }
3170
+ }
3171
+
3172
+ function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
3173
+ {
3174
+ var queue = ReactCurrentActQueue.current;
3175
+
3176
+ if (queue !== null) {
3177
+ try {
3178
+ flushActQueue(queue);
3179
+ enqueueTask(function () {
3180
+ if (queue.length === 0) {
3181
+ // No additional work was scheduled. Finish.
3182
+ ReactCurrentActQueue.current = null;
3183
+ resolve(returnValue);
3184
+ } else {
3185
+ // Keep flushing work until there's none left.
3186
+ recursivelyFlushAsyncActWork(returnValue, resolve, reject);
3187
+ }
3188
+ });
3189
+ } catch (error) {
3190
+ reject(error);
3191
+ }
3192
+ } else {
3193
+ resolve(returnValue);
3194
+ }
3195
+ }
3196
+ }
3197
+
3198
+ var isFlushing = false;
3199
+
3200
+ function flushActQueue(queue) {
3201
+ {
3202
+ if (!isFlushing) {
3203
+ // Prevent re-entrancy.
3204
+ isFlushing = true;
3205
+ var i = 0;
3206
+
3207
+ try {
3208
+ for (; i < queue.length; i++) {
3209
+ var callback = queue[i];
3210
+
3211
+ do {
3212
+ callback = callback(true);
3213
+ } while (callback !== null);
3214
+ }
3215
+
3216
+ queue.length = 0;
3217
+ } catch (error) {
3218
+ // If something throws, leave the remaining callbacks on the queue.
3219
+ queue = queue.slice(i + 1);
3220
+ throw error;
3221
+ } finally {
3222
+ isFlushing = false;
3223
+ }
3224
+ }
3225
+ }
3226
+ }
3227
+
3013
3228
  var createElement$1 = createElementWithValidation ;
3014
3229
  var cloneElement$1 = cloneElementWithValidation ;
3015
3230
  var createFactory = createFactoryWithValidation ;
@@ -3035,6 +3250,7 @@
3035
3250
  exports.lazy = lazy;
3036
3251
  exports.memo = memo;
3037
3252
  exports.startTransition = startTransition;
3253
+ exports.unstable_act = act;
3038
3254
  exports.unstable_createMutableSource = createMutableSource;
3039
3255
  exports.unstable_useMutableSource = useMutableSource;
3040
3256
  exports.unstable_useOpaqueIdentifier = useOpaqueIdentifier;
@@ -6,25 +6,26 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- (function(){'use strict';(function(c,y){"object"===typeof exports&&"undefined"!==typeof module?y(exports):"function"===typeof define&&define.amd?define(["exports"],y):(c=c||self,y(c.React={}))})(this,function(c){function y(a){if(null===a||"object"!==typeof a)return null;a=X&&a[X]||a["@@iterator"];return"function"===typeof a?a:null}function B(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=1;f<arguments.length;f++)b+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+
9
+ (function(){'use strict';(function(c,y){"object"===typeof exports&&"undefined"!==typeof module?y(exports):"function"===typeof define&&define.amd?define(["exports"],y):(c=c||self,y(c.React={}))})(this,function(c){function y(a){if(null===a||"object"!==typeof a)return null;a=X&&a[X]||a["@@iterator"];return"function"===typeof a?a:null}function z(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=1;f<arguments.length;f++)b+="&args[]="+encodeURIComponent(arguments[f]);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 w(a,b,f){this.props=a;this.context=b;this.refs=Y;this.updater=f||Z}function aa(){}function L(a,b,f){this.props=a;this.context=b;this.refs=Y;this.updater=f||Z}function ba(a,b,f){var l,e={},c=null,k=null;if(null!=b)for(l in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(c=""+b.key),b)ca.call(b,l)&&!da.hasOwnProperty(l)&&(e[l]=b[l]);var p=arguments.length-2;if(1===p)e.children=
11
11
  f;else if(1<p){for(var h=Array(p),d=0;d<p;d++)h[d]=arguments[d+2];e.children=h}if(a&&a.defaultProps)for(l in p=a.defaultProps,p)void 0===e[l]&&(e[l]=p[l]);return{$$typeof:x,type:a,key:c,ref:k,props:e,_owner:M.current}}function ua(a,b){return{$$typeof:x,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function N(a){return"object"===typeof a&&null!==a&&a.$$typeof===x}function va(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}function O(a,b){return"object"===
12
12
  typeof a&&null!==a&&null!=a.key?va(""+a.key):b.toString(36)}function C(a,b,f,l,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 x:case ea:k=!0}}if(k)return k=a,e=e(k),a=""===l?"."+O(k,0):l,fa(e)?(f="",null!=a&&(f=a.replace(ha,"$&/")+"/"),C(e,b,f,"",function(a){return a})):null!=e&&(N(e)&&(e=ua(e,f+(!e.key||k&&k.key===e.key?"":(""+e.key).replace(ha,"$&/")+"/")+a)),b.push(e)),
13
- 1;k=0;l=""===l?".":l+":";if(fa(a))for(var d=0;d<a.length;d++){c=a[d];var h=l+O(c,d);k+=C(c,b,f,h,e)}else if(h=y(a),"function"===typeof h)for(a=h.call(a),d=0;!(c=a.next()).done;)c=c.value,h=l+O(c,d++),k+=C(c,b,f,h,e);else if("object"===c)throw b=""+a,Error(B(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return k}function D(a,b,f){if(null==a)return a;var c=[],e=0;C(a,c,"","",function(a){return b.call(f,a,e++)});return c}function wa(a){if(-1===a._status){var b=a._result;
13
+ 1;k=0;l=""===l?".":l+":";if(fa(a))for(var d=0;d<a.length;d++){c=a[d];var h=l+O(c,d);k+=C(c,b,f,h,e)}else if(h=y(a),"function"===typeof h)for(a=h.call(a),d=0;!(c=a.next()).done;)c=c.value,h=l+O(c,d++),k+=C(c,b,f,h,e);else if("object"===c)throw b=""+a,Error(z(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return k}function D(a,b,f){if(null==a)return a;var c=[],e=0;C(a,c,"","",function(a){return b.call(f,a,e++)});return c}function wa(a){if(-1===a._status){var b=a._result;
14
14
  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;}function P(a,b){var f=a.length;a.push(b);a:for(;0<f;){var c=f-1>>>1,e=a[c];if(0<E(e,b))a[c]=b,a[f]=e,f=c;else break a}}function q(a){return 0===a.length?null:a[0]}function F(a){if(0===a.length)return null;var b=a[0],f=a.pop();if(f!==b){a[0]=f;a:for(var c=
15
- 0,e=a.length,d=e>>>1;c<d;){var k=2*(c+1)-1,p=a[k],h=k+1,g=a[h];if(0>E(p,f))h<e&&0>E(g,p)?(a[c]=g,a[h]=f,c=h):(a[c]=p,a[k]=f,c=k);else if(h<e&&0>E(g,f))a[c]=g,a[h]=f,c=h;else break a}}return b}function E(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function Q(a){for(var b=q(t);null!==b;){if(null===b.callback)F(t);else if(b.startTime<=a)F(t),b.sortIndex=b.expirationTime,P(r,b);else break;b=q(t)}}function R(a){z=!1;Q(a);if(!u)if(null!==q(r))u=!0,S(T);else{var b=q(t);null!==b&&U(R,b.startTime-
16
- a)}}function T(a,b){u=!1;z&&(z=!1,ia(A),A=-1);G=!0;var c=g;try{Q(b);for(n=q(r);null!==n&&(!(n.expirationTime>b)||a&&!ja());){var l=n.callback;if("function"===typeof l){n.callback=null;g=n.priorityLevel;var e=l(n.expirationTime<=b);b=v();"function"===typeof e?n.callback=e:n===q(r)&&F(r);Q(b)}else F(r);n=q(r)}if(null!==n)var d=!0;else{var k=q(t);null!==k&&U(R,k.startTime-b);d=!1}return d}finally{n=null,g=c,G=!1}}function ja(){return v()>=ka}function S(a){H=a;I||(I=!0,J())}function U(a,b){A=la(function(){a(v())},
15
+ 0,e=a.length,d=e>>>1;c<d;){var k=2*(c+1)-1,p=a[k],h=k+1,g=a[h];if(0>E(p,f))h<e&&0>E(g,p)?(a[c]=g,a[h]=f,c=h):(a[c]=p,a[k]=f,c=k);else if(h<e&&0>E(g,f))a[c]=g,a[h]=f,c=h;else break a}}return b}function E(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function Q(a){for(var b=q(t);null!==b;){if(null===b.callback)F(t);else if(b.startTime<=a)F(t),b.sortIndex=b.expirationTime,P(r,b);else break;b=q(t)}}function R(a){A=!1;Q(a);if(!u)if(null!==q(r))u=!0,S(T);else{var b=q(t);null!==b&&U(R,b.startTime-
16
+ a)}}function T(a,b){u=!1;A&&(A=!1,ia(B),B=-1);G=!0;var c=g;try{Q(b);for(n=q(r);null!==n&&(!(n.expirationTime>b)||a&&!ja());){var l=n.callback;if("function"===typeof l){n.callback=null;g=n.priorityLevel;var e=l(n.expirationTime<=b);b=v();"function"===typeof e?n.callback=e:n===q(r)&&F(r);Q(b)}else F(r);n=q(r)}if(null!==n)var d=!0;else{var k=q(t);null!==k&&U(R,k.startTime-b);d=!1}return d}finally{n=null,g=c,G=!1}}function ja(){return v()>=ka}function S(a){H=a;I||(I=!0,J())}function U(a,b){B=la(function(){a(v())},
17
17
  b)}var x=60103,ea=60106;c.Fragment=60107;c.StrictMode=60108;c.Profiler=60114;var ma=60109,na=60110,oa=60112;c.Suspense=60113;c.SuspenseList=60120;var pa=60115,qa=60116;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;x=d("react.element");ea=d("react.portal");c.Fragment=d("react.fragment");c.StrictMode=d("react.strict_mode");c.Profiler=d("react.profiler");ma=d("react.provider");na=d("react.context");oa=d("react.forward_ref");c.Suspense=d("react.suspense");c.SuspenseList=d("react.suspense_list");
18
18
  pa=d("react.memo");qa=d("react.lazy")}var X="function"===typeof Symbol&&Symbol.iterator,xa=Object.prototype.hasOwnProperty,V=Object.assign||function(a,b){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");for(var c=Object(a),d=1;d<arguments.length;d++){var e=arguments[d];if(null!=e){var g=void 0;e=Object(e);for(g in e)xa.call(e,g)&&(c[g]=e[g])}}return c},Z={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},
19
- enqueueSetState:function(a,b,c,d){}},Y={};w.prototype.isReactComponent={};w.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(B(85));this.updater.enqueueSetState(this,a,b,"setState")};w.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};aa.prototype=w.prototype;d=L.prototype=new aa;d.constructor=L;V(d,w.prototype);d.isPureReactComponent=!0;var fa=Array.isArray,ca=Object.prototype.hasOwnProperty,M={current:null},
20
- da={key:!0,ref:!0,__self:!0,__source:!0},ha=/\/+/g,m={current:null},K={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var ya=performance;var v=function(){return ya.now()}}else{var ra=Date,za=ra.now();v=function(){return ra.now()-za}}var r=[],t=[],Aa=1,n=null,g=3,G=!1,u=!1,z=!1,la="function"===typeof setTimeout?setTimeout:null,ia="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null,I=!1,H=null,A=-1,ta=5,ka=0,
21
- W=function(){if(null!==H){var a=v();ka=a+ta;var b=!0;try{b=H(!0,a)}finally{b?J():(I=!1,H=null)}}else I=!1};if("function"===typeof sa)var J=function(){sa(W)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Ba=d.port2;d.port1.onmessage=W;J=function(){Ba.postMessage(null)}}else J=function(){la(W,0)};d={ReactCurrentDispatcher:m,ReactCurrentOwner:M,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:K,assign:V,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,
22
- 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 c=g;g=a;try{return b()}finally{g=c}},unstable_next:function(a){switch(g){case 1:case 2:case 3:var b=3;break;default:b=g}var c=g;g=b;try{return a()}finally{g=c}},unstable_scheduleCallback:function(a,b,c){var d=v();"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;
23
- case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:Aa++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,P(t,a),null===q(r)&&a===q(t)&&(z?(ia(A),A=-1):z=!0,U(R,c-d))):(a.sortIndex=e,P(r,a),u||G||(u=!0,S(T)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=g;return function(){var c=g;g=b;try{return a.apply(this,arguments)}finally{g=c}}},unstable_getCurrentPriorityLevel:function(){return g},
24
- unstable_shouldYield:ja,unstable_requestPaint:function(){},unstable_continueExecution:function(){u||G||(u=!0,S(T))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return q(r)},get unstable_now(){return v},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"):ta=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};c.Children={map:D,forEach:function(a,
25
- b,c){D(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;D(a,function(){b++});return b},toArray:function(a){return D(a,function(a){return a})||[]},only:function(a){if(!N(a))throw Error(B(143));return a}};c.Component=w;c.PureComponent=L;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(B(267,a));var d=V({},a.props),e=a.key,f=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,k=M.current);void 0!==b.key&&(e=
26
- ""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(h in b)ca.call(b,h)&&!da.hasOwnProperty(h)&&(d[h]=void 0===b[h]&&void 0!==g?g[h]:b[h])}var h=arguments.length-2;if(1===h)d.children=c;else if(1<h){g=Array(h);for(var m=0;m<h;m++)g[m]=arguments[m+2];d.children=g}return{$$typeof:x,type:a.type,key:e,ref:f,props:d,_owner:k}};c.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=
27
- a};c.createElement=ba;c.createFactory=function(a){var b=ba.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:oa,render:a}};c.isValidElement=N;c.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:wa}};c.memo=function(a,b){return{$$typeof:pa,type:a,compare:void 0===b?null:b}};c.startTransition=function(a){var b=K.transition;K.transition=1;try{a()}finally{K.transition=b}};c.unstable_createMutableSource=function(a,
28
- b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};c.unstable_useMutableSource=function(a,b,c){return m.current.useMutableSource(a,b,c)};c.unstable_useOpaqueIdentifier=function(){return m.current.useOpaqueIdentifier()};c.useCallback=function(a,b){return m.current.useCallback(a,b)};c.useContext=function(a){return m.current.useContext(a)};c.useDebugValue=function(a,b){};c.useDeferredValue=function(a){return m.current.useDeferredValue(a)};c.useEffect=
29
- function(a,b){return m.current.useEffect(a,b)};c.useImperativeHandle=function(a,b,c){return m.current.useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return m.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return m.current.useMemo(a,b)};c.useReducer=function(a,b,c){return m.current.useReducer(a,b,c)};c.useRef=function(a){return m.current.useRef(a)};c.useState=function(a){return m.current.useState(a)};c.useTransition=function(){return m.current.useTransition()};c.version="18.0.0-568dc3532"});
19
+ enqueueSetState:function(a,b,c,d){}},Y={};w.prototype.isReactComponent={};w.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(z(85));this.updater.enqueueSetState(this,a,b,"setState")};w.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};aa.prototype=w.prototype;d=L.prototype=new aa;d.constructor=L;V(d,w.prototype);d.isPureReactComponent=!0;var fa=Array.isArray,ca=Object.prototype.hasOwnProperty,M={current:null},
20
+ da={key:!0,ref:!0,__self:!0,__source:!0},ha=/\/+/g,m={current:null},K={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var ya=performance;var v=function(){return ya.now()}}else{var ra=Date,za=ra.now();v=function(){return ra.now()-za}}var r=[],t=[],Aa=1,n=null,g=3,G=!1,u=!1,A=!1,la="function"===typeof setTimeout?setTimeout:null,ia="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null,I=!1,H=null,B=-1,ta=5,ka=0,
21
+ W=function(){if(null!==H){var a=v();ka=a+ta;var b=!0;try{b=H(!0,a)}finally{b?J():(I=!1,H=null)}}else I=!1};if("function"===typeof sa)var J=function(){sa(W)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Ba=d.port2;d.port1.onmessage=W;J=function(){Ba.postMessage(null)}}else J=function(){la(W,0)};d={ReactCurrentDispatcher:m,ReactCurrentOwner:M,ReactCurrentBatchConfig:K,assign:V,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,
22
+ 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 c=g;g=a;try{return b()}finally{g=c}},unstable_next:function(a){switch(g){case 1:case 2:case 3:var b=3;break;default:b=g}var c=g;g=b;try{return a()}finally{g=c}},unstable_scheduleCallback:function(a,b,c){var d=v();"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=
23
+ 1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:Aa++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,P(t,a),null===q(r)&&a===q(t)&&(A?(ia(B),B=-1):A=!0,U(R,c-d))):(a.sortIndex=e,P(r,a),u||G||(u=!0,S(T)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=g;return function(){var c=g;g=b;try{return a.apply(this,arguments)}finally{g=c}}},unstable_getCurrentPriorityLevel:function(){return g},unstable_shouldYield:ja,
24
+ unstable_requestPaint:function(){},unstable_continueExecution:function(){u||G||(u=!0,S(T))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return q(r)},get unstable_now(){return v},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"):ta=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};c.Children={map:D,forEach:function(a,b,c){D(a,function(){b.apply(this,
25
+ arguments)},c)},count:function(a){var b=0;D(a,function(){b++});return b},toArray:function(a){return D(a,function(a){return a})||[]},only:function(a){if(!N(a))throw Error(z(143));return a}};c.Component=w;c.PureComponent=L;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(z(267,a));var d=V({},a.props),e=a.key,f=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,k=M.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=
26
+ a.type.defaultProps;for(h in b)ca.call(b,h)&&!da.hasOwnProperty(h)&&(d[h]=void 0===b[h]&&void 0!==g?g[h]:b[h])}var h=arguments.length-2;if(1===h)d.children=c;else if(1<h){g=Array(h);for(var m=0;m<h;m++)g[m]=arguments[m+2];d.children=g}return{$$typeof:x,type:a.type,key:e,ref:f,props:d,_owner:k}};c.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};c.createElement=ba;c.createFactory=
27
+ function(a){var b=ba.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:oa,render:a}};c.isValidElement=N;c.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:wa}};c.memo=function(a,b){return{$$typeof:pa,type:a,compare:void 0===b?null:b}};c.startTransition=function(a){var b=K.transition;K.transition=1;try{a()}finally{K.transition=b}};c.unstable_act=function(a){throw Error(z(406));};c.unstable_createMutableSource=
28
+ function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};c.unstable_useMutableSource=function(a,b,c){return m.current.useMutableSource(a,b,c)};c.unstable_useOpaqueIdentifier=function(){return m.current.useOpaqueIdentifier()};c.useCallback=function(a,b){return m.current.useCallback(a,b)};c.useContext=function(a){return m.current.useContext(a)};c.useDebugValue=function(a,b){};c.useDeferredValue=function(a){return m.current.useDeferredValue(a)};
29
+ c.useEffect=function(a,b){return m.current.useEffect(a,b)};c.useImperativeHandle=function(a,b,c){return m.current.useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return m.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return m.current.useMemo(a,b)};c.useReducer=function(a,b,c){return m.current.useReducer(a,b,c)};c.useRef=function(a){return m.current.useRef(a)};c.useState=function(a){return m.current.useState(a)};c.useTransition=function(){return m.current.useTransition()};c.version=
30
+ "18.0.0-cae635054-20210626"});
30
31
  })();
@@ -6,25 +6,26 @@
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- (function(){'use strict';(function(c,y){"object"===typeof exports&&"undefined"!==typeof module?y(exports):"function"===typeof define&&define.amd?define(["exports"],y):(c=c||self,y(c.React={}))})(this,function(c){function y(a){if(null===a||"object"!==typeof a)return null;a=X&&a[X]||a["@@iterator"];return"function"===typeof a?a:null}function B(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=1;f<arguments.length;f++)b+="&args[]="+encodeURIComponent(arguments[f]);return"Minified React error #"+
9
+ (function(){'use strict';(function(c,y){"object"===typeof exports&&"undefined"!==typeof module?y(exports):"function"===typeof define&&define.amd?define(["exports"],y):(c=c||self,y(c.React={}))})(this,function(c){function y(a){if(null===a||"object"!==typeof a)return null;a=X&&a[X]||a["@@iterator"];return"function"===typeof a?a:null}function z(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,f=1;f<arguments.length;f++)b+="&args[]="+encodeURIComponent(arguments[f]);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 w(a,b,f){this.props=a;this.context=b;this.refs=Y;this.updater=f||Z}function aa(){}function L(a,b,f){this.props=a;this.context=b;this.refs=Y;this.updater=f||Z}function ba(a,b,f){var l,e={},c=null,k=null;if(null!=b)for(l in void 0!==b.ref&&(k=b.ref),void 0!==b.key&&(c=""+b.key),b)ca.call(b,l)&&!da.hasOwnProperty(l)&&(e[l]=b[l]);var p=arguments.length-2;if(1===p)e.children=
11
11
  f;else if(1<p){for(var h=Array(p),d=0;d<p;d++)h[d]=arguments[d+2];e.children=h}if(a&&a.defaultProps)for(l in p=a.defaultProps,p)void 0===e[l]&&(e[l]=p[l]);return{$$typeof:x,type:a,key:c,ref:k,props:e,_owner:M.current}}function ua(a,b){return{$$typeof:x,type:a.type,key:b,ref:a.ref,props:a.props,_owner:a._owner}}function N(a){return"object"===typeof a&&null!==a&&a.$$typeof===x}function va(a){var b={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(a){return b[a]})}function O(a,b){return"object"===
12
12
  typeof a&&null!==a&&null!=a.key?va(""+a.key):b.toString(36)}function C(a,b,f,l,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 x:case ea:k=!0}}if(k)return k=a,e=e(k),a=""===l?"."+O(k,0):l,fa(e)?(f="",null!=a&&(f=a.replace(ha,"$&/")+"/"),C(e,b,f,"",function(a){return a})):null!=e&&(N(e)&&(e=ua(e,f+(!e.key||k&&k.key===e.key?"":(""+e.key).replace(ha,"$&/")+"/")+a)),b.push(e)),
13
- 1;k=0;l=""===l?".":l+":";if(fa(a))for(var d=0;d<a.length;d++){c=a[d];var h=l+O(c,d);k+=C(c,b,f,h,e)}else if(h=y(a),"function"===typeof h)for(a=h.call(a),d=0;!(c=a.next()).done;)c=c.value,h=l+O(c,d++),k+=C(c,b,f,h,e);else if("object"===c)throw b=""+a,Error(B(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return k}function D(a,b,f){if(null==a)return a;var c=[],e=0;C(a,c,"","",function(a){return b.call(f,a,e++)});return c}function wa(a){if(-1===a._status){var b=a._result;
13
+ 1;k=0;l=""===l?".":l+":";if(fa(a))for(var d=0;d<a.length;d++){c=a[d];var h=l+O(c,d);k+=C(c,b,f,h,e)}else if(h=y(a),"function"===typeof h)for(a=h.call(a),d=0;!(c=a.next()).done;)c=c.value,h=l+O(c,d++),k+=C(c,b,f,h,e);else if("object"===c)throw b=""+a,Error(z(31,"[object Object]"===b?"object with keys {"+Object.keys(a).join(", ")+"}":b));return k}function D(a,b,f){if(null==a)return a;var c=[],e=0;C(a,c,"","",function(a){return b.call(f,a,e++)});return c}function wa(a){if(-1===a._status){var b=a._result;
14
14
  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;}function P(a,b){var f=a.length;a.push(b);a:for(;0<f;){var c=f-1>>>1,e=a[c];if(0<E(e,b))a[c]=b,a[f]=e,f=c;else break a}}function q(a){return 0===a.length?null:a[0]}function F(a){if(0===a.length)return null;var b=a[0],f=a.pop();if(f!==b){a[0]=f;a:for(var c=
15
- 0,e=a.length,d=e>>>1;c<d;){var k=2*(c+1)-1,p=a[k],h=k+1,g=a[h];if(0>E(p,f))h<e&&0>E(g,p)?(a[c]=g,a[h]=f,c=h):(a[c]=p,a[k]=f,c=k);else if(h<e&&0>E(g,f))a[c]=g,a[h]=f,c=h;else break a}}return b}function E(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function Q(a){for(var b=q(t);null!==b;){if(null===b.callback)F(t);else if(b.startTime<=a)F(t),b.sortIndex=b.expirationTime,P(r,b);else break;b=q(t)}}function R(a){z=!1;Q(a);if(!u)if(null!==q(r))u=!0,S(T);else{var b=q(t);null!==b&&U(R,b.startTime-
16
- a)}}function T(a,b){u=!1;z&&(z=!1,ia(A),A=-1);G=!0;var c=g;try{Q(b);for(n=q(r);null!==n&&(!(n.expirationTime>b)||a&&!ja());){var l=n.callback;if("function"===typeof l){n.callback=null;g=n.priorityLevel;var e=l(n.expirationTime<=b);b=v();"function"===typeof e?n.callback=e:n===q(r)&&F(r);Q(b)}else F(r);n=q(r)}if(null!==n)var d=!0;else{var k=q(t);null!==k&&U(R,k.startTime-b);d=!1}return d}finally{n=null,g=c,G=!1}}function ja(){return v()>=ka}function S(a){H=a;I||(I=!0,J())}function U(a,b){A=la(function(){a(v())},
15
+ 0,e=a.length,d=e>>>1;c<d;){var k=2*(c+1)-1,p=a[k],h=k+1,g=a[h];if(0>E(p,f))h<e&&0>E(g,p)?(a[c]=g,a[h]=f,c=h):(a[c]=p,a[k]=f,c=k);else if(h<e&&0>E(g,f))a[c]=g,a[h]=f,c=h;else break a}}return b}function E(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}function Q(a){for(var b=q(t);null!==b;){if(null===b.callback)F(t);else if(b.startTime<=a)F(t),b.sortIndex=b.expirationTime,P(r,b);else break;b=q(t)}}function R(a){A=!1;Q(a);if(!u)if(null!==q(r))u=!0,S(T);else{var b=q(t);null!==b&&U(R,b.startTime-
16
+ a)}}function T(a,b){u=!1;A&&(A=!1,ia(B),B=-1);G=!0;var c=g;try{Q(b);for(n=q(r);null!==n&&(!(n.expirationTime>b)||a&&!ja());){var l=n.callback;if("function"===typeof l){n.callback=null;g=n.priorityLevel;var e=l(n.expirationTime<=b);b=v();"function"===typeof e?n.callback=e:n===q(r)&&F(r);Q(b)}else F(r);n=q(r)}if(null!==n)var d=!0;else{var k=q(t);null!==k&&U(R,k.startTime-b);d=!1}return d}finally{n=null,g=c,G=!1}}function ja(){return v()>=ka}function S(a){H=a;I||(I=!0,J())}function U(a,b){B=la(function(){a(v())},
17
17
  b)}var x=60103,ea=60106;c.Fragment=60107;c.StrictMode=60108;c.Profiler=60114;var ma=60109,na=60110,oa=60112;c.Suspense=60113;c.SuspenseList=60120;var pa=60115,qa=60116;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;x=d("react.element");ea=d("react.portal");c.Fragment=d("react.fragment");c.StrictMode=d("react.strict_mode");c.Profiler=d("react.profiler");ma=d("react.provider");na=d("react.context");oa=d("react.forward_ref");c.Suspense=d("react.suspense");c.SuspenseList=d("react.suspense_list");
18
18
  pa=d("react.memo");qa=d("react.lazy")}var X="function"===typeof Symbol&&Symbol.iterator,xa=Object.prototype.hasOwnProperty,V=Object.assign||function(a,b){if(null==a)throw new TypeError("Object.assign target cannot be null or undefined");for(var c=Object(a),d=1;d<arguments.length;d++){var e=arguments[d];if(null!=e){var g=void 0;e=Object(e);for(g in e)xa.call(e,g)&&(c[g]=e[g])}}return c},Z={isMounted:function(a){return!1},enqueueForceUpdate:function(a,b,c){},enqueueReplaceState:function(a,b,c,d){},
19
- enqueueSetState:function(a,b,c,d){}},Y={};w.prototype.isReactComponent={};w.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(B(85));this.updater.enqueueSetState(this,a,b,"setState")};w.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};aa.prototype=w.prototype;d=L.prototype=new aa;d.constructor=L;V(d,w.prototype);d.isPureReactComponent=!0;var fa=Array.isArray,ca=Object.prototype.hasOwnProperty,M={current:null},
20
- da={key:!0,ref:!0,__self:!0,__source:!0},ha=/\/+/g,m={current:null},K={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var ya=performance;var v=function(){return ya.now()}}else{var ra=Date,za=ra.now();v=function(){return ra.now()-za}}var r=[],t=[],Aa=1,n=null,g=3,G=!1,u=!1,z=!1,la="function"===typeof setTimeout?setTimeout:null,ia="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null,I=!1,H=null,A=-1,ta=5,ka=0,
21
- W=function(){if(null!==H){var a=v();ka=a+ta;var b=!0;try{b=H(!0,a)}finally{b?J():(I=!1,H=null)}}else I=!1};if("function"===typeof sa)var J=function(){sa(W)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Ba=d.port2;d.port1.onmessage=W;J=function(){Ba.postMessage(null)}}else J=function(){la(W,0)};d={ReactCurrentDispatcher:m,ReactCurrentOwner:M,IsSomeRendererActing:{current:!1},ReactCurrentBatchConfig:K,assign:V,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,
22
- 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 c=g;g=a;try{return b()}finally{g=c}},unstable_next:function(a){switch(g){case 1:case 2:case 3:var b=3;break;default:b=g}var c=g;g=b;try{return a()}finally{g=c}},unstable_scheduleCallback:function(a,b,c){var d=v();"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;
23
- case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:Aa++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,P(t,a),null===q(r)&&a===q(t)&&(z?(ia(A),A=-1):z=!0,U(R,c-d))):(a.sortIndex=e,P(r,a),u||G||(u=!0,S(T)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=g;return function(){var c=g;g=b;try{return a.apply(this,arguments)}finally{g=c}}},unstable_getCurrentPriorityLevel:function(){return g},
24
- unstable_shouldYield:ja,unstable_requestPaint:function(){},unstable_continueExecution:function(){u||G||(u=!0,S(T))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return q(r)},get unstable_now(){return v},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"):ta=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};c.Children={map:D,forEach:function(a,
25
- b,c){D(a,function(){b.apply(this,arguments)},c)},count:function(a){var b=0;D(a,function(){b++});return b},toArray:function(a){return D(a,function(a){return a})||[]},only:function(a){if(!N(a))throw Error(B(143));return a}};c.Component=w;c.PureComponent=L;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(B(267,a));var d=V({},a.props),e=a.key,f=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,k=M.current);void 0!==b.key&&(e=
26
- ""+b.key);if(a.type&&a.type.defaultProps)var g=a.type.defaultProps;for(h in b)ca.call(b,h)&&!da.hasOwnProperty(h)&&(d[h]=void 0===b[h]&&void 0!==g?g[h]:b[h])}var h=arguments.length-2;if(1===h)d.children=c;else if(1<h){g=Array(h);for(var m=0;m<h;m++)g[m]=arguments[m+2];d.children=g}return{$$typeof:x,type:a.type,key:e,ref:f,props:d,_owner:k}};c.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=
27
- a};c.createElement=ba;c.createFactory=function(a){var b=ba.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:oa,render:a}};c.isValidElement=N;c.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:wa}};c.memo=function(a,b){return{$$typeof:pa,type:a,compare:void 0===b?null:b}};c.startTransition=function(a){var b=K.transition;K.transition=1;try{a()}finally{K.transition=b}};c.unstable_createMutableSource=function(a,
28
- b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};c.unstable_useMutableSource=function(a,b,c){return m.current.useMutableSource(a,b,c)};c.unstable_useOpaqueIdentifier=function(){return m.current.useOpaqueIdentifier()};c.useCallback=function(a,b){return m.current.useCallback(a,b)};c.useContext=function(a){return m.current.useContext(a)};c.useDebugValue=function(a,b){};c.useDeferredValue=function(a){return m.current.useDeferredValue(a)};c.useEffect=
29
- function(a,b){return m.current.useEffect(a,b)};c.useImperativeHandle=function(a,b,c){return m.current.useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return m.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return m.current.useMemo(a,b)};c.useReducer=function(a,b,c){return m.current.useReducer(a,b,c)};c.useRef=function(a){return m.current.useRef(a)};c.useState=function(a){return m.current.useState(a)};c.useTransition=function(){return m.current.useTransition()};c.version="18.0.0-568dc3532"});
19
+ enqueueSetState:function(a,b,c,d){}},Y={};w.prototype.isReactComponent={};w.prototype.setState=function(a,b){if("object"!==typeof a&&"function"!==typeof a&&null!=a)throw Error(z(85));this.updater.enqueueSetState(this,a,b,"setState")};w.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};aa.prototype=w.prototype;d=L.prototype=new aa;d.constructor=L;V(d,w.prototype);d.isPureReactComponent=!0;var fa=Array.isArray,ca=Object.prototype.hasOwnProperty,M={current:null},
20
+ da={key:!0,ref:!0,__self:!0,__source:!0},ha=/\/+/g,m={current:null},K={transition:0};if("object"===typeof performance&&"function"===typeof performance.now){var ya=performance;var v=function(){return ya.now()}}else{var ra=Date,za=ra.now();v=function(){return ra.now()-za}}var r=[],t=[],Aa=1,n=null,g=3,G=!1,u=!1,A=!1,la="function"===typeof setTimeout?setTimeout:null,ia="function"===typeof clearTimeout?clearTimeout:null,sa="undefined"!==typeof setImmediate?setImmediate:null,I=!1,H=null,B=-1,ta=5,ka=0,
21
+ W=function(){if(null!==H){var a=v();ka=a+ta;var b=!0;try{b=H(!0,a)}finally{b?J():(I=!1,H=null)}}else I=!1};if("function"===typeof sa)var J=function(){sa(W)};else if("undefined"!==typeof MessageChannel){d=new MessageChannel;var Ba=d.port2;d.port1.onmessage=W;J=function(){Ba.postMessage(null)}}else J=function(){la(W,0)};d={ReactCurrentDispatcher:m,ReactCurrentOwner:M,ReactCurrentBatchConfig:K,assign:V,Scheduler:{__proto__:null,unstable_ImmediatePriority:1,unstable_UserBlockingPriority:2,unstable_NormalPriority:3,
22
+ 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 c=g;g=a;try{return b()}finally{g=c}},unstable_next:function(a){switch(g){case 1:case 2:case 3:var b=3;break;default:b=g}var c=g;g=b;try{return a()}finally{g=c}},unstable_scheduleCallback:function(a,b,c){var d=v();"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=
23
+ 1073741823;break;case 4:e=1E4;break;default:e=5E3}e=c+e;a={id:Aa++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,P(t,a),null===q(r)&&a===q(t)&&(A?(ia(B),B=-1):A=!0,U(R,c-d))):(a.sortIndex=e,P(r,a),u||G||(u=!0,S(T)));return a},unstable_cancelCallback:function(a){a.callback=null},unstable_wrapCallback:function(a){var b=g;return function(){var c=g;g=b;try{return a.apply(this,arguments)}finally{g=c}}},unstable_getCurrentPriorityLevel:function(){return g},unstable_shouldYield:ja,
24
+ unstable_requestPaint:function(){},unstable_continueExecution:function(){u||G||(u=!0,S(T))},unstable_pauseExecution:function(){},unstable_getFirstCallbackNode:function(){return q(r)},get unstable_now(){return v},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"):ta=0<a?Math.floor(1E3/a):5},unstable_Profiling:null}};c.Children={map:D,forEach:function(a,b,c){D(a,function(){b.apply(this,
25
+ arguments)},c)},count:function(a){var b=0;D(a,function(){b++});return b},toArray:function(a){return D(a,function(a){return a})||[]},only:function(a){if(!N(a))throw Error(z(143));return a}};c.Component=w;c.PureComponent=L;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(z(267,a));var d=V({},a.props),e=a.key,f=a.ref,k=a._owner;if(null!=b){void 0!==b.ref&&(f=b.ref,k=M.current);void 0!==b.key&&(e=""+b.key);if(a.type&&a.type.defaultProps)var g=
26
+ a.type.defaultProps;for(h in b)ca.call(b,h)&&!da.hasOwnProperty(h)&&(d[h]=void 0===b[h]&&void 0!==g?g[h]:b[h])}var h=arguments.length-2;if(1===h)d.children=c;else if(1<h){g=Array(h);for(var m=0;m<h;m++)g[m]=arguments[m+2];d.children=g}return{$$typeof:x,type:a.type,key:e,ref:f,props:d,_owner:k}};c.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};c.createElement=ba;c.createFactory=
27
+ function(a){var b=ba.bind(null,a);b.type=a;return b};c.createRef=function(){return{current:null}};c.forwardRef=function(a){return{$$typeof:oa,render:a}};c.isValidElement=N;c.lazy=function(a){return{$$typeof:qa,_payload:{_status:-1,_result:a},_init:wa}};c.memo=function(a,b){return{$$typeof:pa,type:a,compare:void 0===b?null:b}};c.startTransition=function(a){var b=K.transition;K.transition=1;try{a()}finally{K.transition=b}};c.unstable_act=function(a){throw Error(z(406));};c.unstable_createMutableSource=
28
+ function(a,b){return{_getVersion:b,_source:a,_workInProgressVersionPrimary:null,_workInProgressVersionSecondary:null}};c.unstable_useMutableSource=function(a,b,c){return m.current.useMutableSource(a,b,c)};c.unstable_useOpaqueIdentifier=function(){return m.current.useOpaqueIdentifier()};c.useCallback=function(a,b){return m.current.useCallback(a,b)};c.useContext=function(a){return m.current.useContext(a)};c.useDebugValue=function(a,b){};c.useDeferredValue=function(a){return m.current.useDeferredValue(a)};
29
+ c.useEffect=function(a,b){return m.current.useEffect(a,b)};c.useImperativeHandle=function(a,b,c){return m.current.useImperativeHandle(a,b,c)};c.useLayoutEffect=function(a,b){return m.current.useLayoutEffect(a,b)};c.useMemo=function(a,b){return m.current.useMemo(a,b)};c.useReducer=function(a,b,c){return m.current.useReducer(a,b,c)};c.useRef=function(a){return m.current.useRef(a)};c.useState=function(a){return m.current.useState(a)};c.useTransition=function(){return m.current.useTransition()};c.version=
30
+ "18.0.0-cae635054-20210626"});
30
31
  })();