From 5c0f29c14b7117f4362204f68fd6d7fdffc81486 Mon Sep 17 00:00:00 2001 From: Sebastian Markbage Date: Sun, 23 Feb 2020 17:43:55 -0800 Subject: [PATCH] Experimental Named Exports --- build/bundle-sizes.json | 260 +++++----- build/dist/react-cache.development.js | 2 - build/dist/react-cache.production.min.js | 2 +- build/dist/react-dom-testing.development.js | 108 ++-- .../dist/react-dom-testing.production.min.js | 452 ++++++++--------- build/dist/react-dom-testing.profiling.min.js | 468 ++++++++--------- build/dist/react-dom.development.js | 98 ++-- build/dist/react-dom.production.min.js | 466 ++++++++--------- build/dist/react-dom.profiling.min.js | 473 +++++++++--------- build/dist/react-is.development.js | 2 - build/dist/react-is.production.min.js | 2 +- build/dist/react.development.js | 106 ++-- build/dist/react.production.min.js | 50 +- build/dist/react.profiling.min.js | 62 +-- .../scheduler-unstable_mock.development.js | 2 - .../scheduler-unstable_mock.production.min.js | 12 +- build/facebook-www/React-dev.js | 133 ++--- build/facebook-www/React-prod.js | 448 ++++++++--------- build/facebook-www/React-profiling.js | 448 ++++++++--------- build/facebook-www/ReactCache-dev.js | 2 - build/facebook-www/ReactCache-prod.js | 1 - build/facebook-www/ReactDOM-dev.js | 117 ++--- build/facebook-www/ReactDOM-prod.js | 148 +++--- build/facebook-www/ReactDOM-profiling.js | 148 +++--- build/facebook-www/ReactDOMTesting-dev.js | 95 ++-- build/facebook-www/ReactDOMTesting-prod.js | 130 +++-- .../facebook-www/ReactDOMTesting-profiling.js | 130 +++-- build/facebook-www/ReactIs-dev.js | 2 - build/facebook-www/ReactIs-prod.js | 1 - build/facebook-www/Scheduler-dev.js | 2 - build/facebook-www/Scheduler-prod.js | 1 - build/facebook-www/Scheduler-profiling.js | 1 - build/facebook-www/SchedulerMock-dev.js | 2 - build/facebook-www/SchedulerMock-prod.js | 1 - build/facebook-www/SchedulerTracing-dev.js | 2 - build/facebook-www/SchedulerTracing-prod.js | 1 - .../SchedulerTracing-profiling.js | 1 - .../cjs/create-subscription.development.js | 2 - .../cjs/create-subscription.production.min.js | 3 +- .../jest-react/cjs/jest-react.development.js | 2 - .../cjs/jest-react.production.min.js | 5 +- .../cjs/react-cache.development.js | 2 - .../cjs/react-cache.production.min.js | 3 +- .../umd/react-cache.development.js | 2 - .../umd/react-cache.production.min.js | 2 +- .../cjs/react-dom-testing.development.js | 100 ++-- .../cjs/react-dom-testing.production.min.js | 40 +- .../cjs/react-dom-testing.profiling.min.js | 50 +- .../react-dom/cjs/react-dom.development.js | 101 ++-- .../react-dom/cjs/react-dom.production.min.js | 34 +- .../react-dom/cjs/react-dom.profiling.min.js | 40 +- .../umd/react-dom-testing.development.js | 108 ++-- .../umd/react-dom-testing.production.min.js | 452 ++++++++--------- .../umd/react-dom-testing.profiling.min.js | 468 ++++++++--------- .../react-dom/umd/react-dom.development.js | 98 ++-- .../react-dom/umd/react-dom.production.min.js | 466 ++++++++--------- .../react-dom/umd/react-dom.profiling.min.js | 473 +++++++++--------- .../react-is/cjs/react-is.development.js | 2 - .../react-is/cjs/react-is.production.min.js | 10 +- .../react-is/umd/react-is.development.js | 2 - .../react-is/umd/react-is.production.min.js | 2 +- ...react-reconciler-reflection.development.js | 2 - ...ct-reconciler-reflection.production.min.js | 4 +- .../react/cjs/react.development.js | 109 ++-- .../react/cjs/react.production.min.js | 33 +- .../react/umd/react.development.js | 106 ++-- .../react/umd/react.production.min.js | 50 +- .../react/umd/react.profiling.min.js | 62 +-- .../cjs/scheduler-tracing.development.js | 2 - .../cjs/scheduler-tracing.production.min.js | 2 +- .../cjs/scheduler-tracing.profiling.min.js | 6 +- .../scheduler-unstable_mock.development.js | 2 - .../scheduler-unstable_mock.production.min.js | 4 +- .../scheduler/cjs/scheduler.development.js | 2 - .../scheduler/cjs/scheduler.production.min.js | 2 +- .../scheduler-unstable_mock.development.js | 2 - .../scheduler-unstable_mock.production.min.js | 12 +- .../cjs/use-subscription.development.js | 2 - .../cjs/use-subscription.production.min.js | 2 +- .../ReactNativeRenderer-dev.fb.js | 8 +- .../ReactNativeRenderer-dev.js | 8 +- build/react-native/shims/ReactNativeTypes.js | 4 +- 82 files changed, 3468 insertions(+), 3802 deletions(-) diff --git a/build/bundle-sizes.json b/build/bundle-sizes.json index e99b932..51e615e 100644 --- a/build/bundle-sizes.json +++ b/build/bundle-sizes.json @@ -4,120 +4,120 @@ "filename": "react.development.js", "bundleType": "UMD_DEV", "packageName": "react", - "size": 107483, - "gzip": 26534 + "size": 107600, + "gzip": 26479 }, { "filename": "react.production.min.js", "bundleType": "UMD_PROD", "packageName": "react", - "size": 12880, - "gzip": 5030 + "size": 12864, + "gzip": 5002 }, { "filename": "react.profiling.min.js", "bundleType": "UMD_PROFILING", "packageName": "react", - "size": 16512, - "gzip": 6173 + "size": 16488, + "gzip": 6134 }, { "filename": "react.development.js", "bundleType": "NODE_DEV", "packageName": "react", - "size": 63107, - "gzip": 16972 + "size": 63001, + "gzip": 16835 }, { "filename": "react.production.min.js", "bundleType": "NODE_PROD", "packageName": "react", - "size": 7016, - "gzip": 2889 + "size": 7187, + "gzip": 2851 }, { "filename": "React-dev.js", "bundleType": "FB_WWW_DEV", "packageName": "react", - "size": 73098, - "gzip": 18528 + "size": 72922, + "gzip": 18375 }, { "filename": "React-prod.js", "bundleType": "FB_WWW_PROD", "packageName": "react", - "size": 18682, - "gzip": 4765 + "size": 18037, + "gzip": 4648 }, { "filename": "React-profiling.js", "bundleType": "FB_WWW_PROFILING", "packageName": "react", - "size": 18682, - "gzip": 4765 + "size": 18037, + "gzip": 4648 }, { "filename": "react-dom.development.js", "bundleType": "UMD_DEV", "packageName": "react-dom", - "size": 936034, - "gzip": 205021 + "size": 936194, + "gzip": 204954 }, { "filename": "react-dom.production.min.js", "bundleType": "UMD_PROD", "packageName": "react-dom", - "size": 122614, - "gzip": 39129 + "size": 122563, + "gzip": 39103 }, { "filename": "react-dom.profiling.min.js", "bundleType": "UMD_PROFILING", "packageName": "react-dom", - "size": 126347, - "gzip": 40341 + "size": 126295, + "gzip": 40291 }, { "filename": "react-dom.development.js", "bundleType": "NODE_DEV", "packageName": "react-dom", - "size": 887528, - "gzip": 201370 + "size": 887451, + "gzip": 201199 }, { "filename": "react-dom.production.min.js", "bundleType": "NODE_PROD", "packageName": "react-dom", - "size": 122692, - "gzip": 38375 + "size": 122715, + "gzip": 38314 }, { "filename": "react-dom.profiling.min.js", "bundleType": "NODE_PROFILING", "packageName": "react-dom", - "size": 126576, - "gzip": 39527 + "size": 126599, + "gzip": 39465 }, { "filename": "ReactDOM-dev.js", "bundleType": "FB_WWW_DEV", "packageName": "react-dom", - "size": 915889, - "gzip": 204428 + "size": 915800, + "gzip": 204383 }, { "filename": "ReactDOM-prod.js", "bundleType": "FB_WWW_PROD", "packageName": "react-dom", - "size": 379763, - "gzip": 69127 + "size": 379578, + "gzip": 69044 }, { "filename": "ReactDOM-profiling.js", "bundleType": "FB_WWW_PROFILING", "packageName": "react-dom", - "size": 391242, - "gzip": 71302 + "size": 391057, + "gzip": 71218 }, { "filename": "react-dom-test-utils.development.js", @@ -158,64 +158,64 @@ "filename": "react-dom-testing.development.js", "bundleType": "UMD_DEV", "packageName": "react-dom", - "size": 909263, - "gzip": 200561 + "size": 909174, + "gzip": 200403 }, { "filename": "react-dom-testing.production.min.js", "bundleType": "UMD_PROD", "packageName": "react-dom", - "size": 120212, - "gzip": 38610 + "size": 120160, + "gzip": 38588 }, { "filename": "react-dom-testing.profiling.min.js", "bundleType": "UMD_PROFILING", "packageName": "react-dom", - "size": 123829, - "gzip": 39825 + "size": 123777, + "gzip": 39791 }, { "filename": "react-dom-testing.development.js", "bundleType": "NODE_DEV", "packageName": "react-dom", - "size": 861596, - "gzip": 196925 + "size": 861519, + "gzip": 196753 }, { "filename": "react-dom-testing.production.min.js", "bundleType": "NODE_PROD", "packageName": "react-dom", - "size": 120299, - "gzip": 37954 + "size": 120327, + "gzip": 37900 }, { "filename": "react-dom-testing.profiling.min.js", "bundleType": "NODE_PROFILING", "packageName": "react-dom", - "size": 124071, - "gzip": 39050 + "size": 124099, + "gzip": 38990 }, { "filename": "ReactDOMTesting-dev.js", "bundleType": "FB_WWW_DEV", "packageName": "react-dom", - "size": 890734, - "gzip": 199286 + "size": 890409, + "gzip": 199147 }, { "filename": "ReactDOMTesting-prod.js", "bundleType": "FB_WWW_PROD", "packageName": "react-dom", - "size": 377739, - "gzip": 68998 + "size": 377557, + "gzip": 68939 }, { "filename": "ReactDOMTesting-profiling.js", "bundleType": "FB_WWW_PROFILING", "packageName": "react-dom", - "size": 377739, - "gzip": 68998 + "size": 377557, + "gzip": 68939 }, { "filename": "react-dom-unstable-native-dependencies.development.js", @@ -459,8 +459,8 @@ "filename": "ReactNativeRenderer-dev.js", "bundleType": "RN_FB_DEV", "packageName": "react-native-renderer", - "size": 648786, - "gzip": 140177 + "size": 648836, + "gzip": 140183 }, { "filename": "ReactNativeRenderer-prod.js", @@ -480,8 +480,8 @@ "filename": "ReactNativeRenderer-dev.js", "bundleType": "RN_OSS_DEV", "packageName": "react-native-renderer", - "size": 646015, - "gzip": 139873 + "size": 646065, + "gzip": 139879 }, { "filename": "ReactNativeRenderer-prod.js", @@ -753,57 +753,57 @@ "filename": "react-reconciler-reflection.development.js", "bundleType": "NODE_DEV", "packageName": "react-reconciler", - "size": 16438, - "gzip": 5035 + "size": 16374, + "gzip": 5002 }, { "filename": "react-reconciler-reflection.production.min.js", "bundleType": "NODE_PROD", "packageName": "react-reconciler", - "size": 2912, - "gzip": 1255 + "size": 2857, + "gzip": 1223 }, { "filename": "react-is.development.js", "bundleType": "UMD_DEV", "packageName": "react-is", - "size": 7555, - "gzip": 1944 + "size": 7489, + "gzip": 1905 }, { "filename": "react-is.production.min.js", "bundleType": "UMD_PROD", "packageName": "react-is", - "size": 2626, - "gzip": 970 + "size": 2577, + "gzip": 935 }, { "filename": "react-is.development.js", "bundleType": "NODE_DEV", "packageName": "react-is", - "size": 7046, - "gzip": 1870 + "size": 6982, + "gzip": 1829 }, { "filename": "react-is.production.min.js", "bundleType": "NODE_PROD", "packageName": "react-is", - "size": 2611, - "gzip": 903 + "size": 2556, + "gzip": 867 }, { "filename": "ReactIs-dev.js", "bundleType": "FB_WWW_DEV", "packageName": "react-is", - "size": 7213, - "gzip": 1927 + "size": 7149, + "gzip": 1884 }, { "filename": "ReactIs-prod.js", "bundleType": "FB_WWW_PROD", "packageName": "react-is", - "size": 5442, - "gzip": 1279 + "size": 5381, + "gzip": 1237 }, { "filename": "react-debug-tools.development.js", @@ -823,162 +823,162 @@ "filename": "react-cache.development.js", "bundleType": "UMD_DEV", "packageName": "react-cache", - "size": 10359, - "gzip": 3356 + "size": 10293, + "gzip": 3324 }, { "filename": "react-cache.production.min.js", "bundleType": "UMD_PROD", "packageName": "react-cache", - "size": 2445, - "gzip": 1238 + "size": 2396, + "gzip": 1206 }, { "filename": "react-cache.development.js", "bundleType": "NODE_DEV", "packageName": "react-cache", - "size": 9566, - "gzip": 3242 + "size": 9502, + "gzip": 3207 }, { "filename": "react-cache.production.min.js", "bundleType": "NODE_PROD", "packageName": "react-cache", - "size": 2235, - "gzip": 1140 + "size": 2179, + "gzip": 1105 }, { "filename": "ReactCache-dev.js", "bundleType": "FB_WWW_DEV", "packageName": "react-cache", - "size": 8635, - "gzip": 2816 + "size": 8571, + "gzip": 2777 }, { "filename": "ReactCache-prod.js", "bundleType": "FB_WWW_PROD", "packageName": "react-cache", - "size": 5265, - "gzip": 1645 + "size": 5204, + "gzip": 1606 }, { "filename": "create-subscription.development.js", "bundleType": "NODE_DEV", "packageName": "create-subscription", - "size": 6889, - "gzip": 2532 + "size": 6825, + "gzip": 2499 }, { "filename": "create-subscription.production.min.js", "bundleType": "NODE_PROD", "packageName": "create-subscription", - "size": 2022, - "gzip": 982 + "size": 1966, + "gzip": 950 }, { "filename": "use-subscription.development.js", "bundleType": "NODE_DEV", "packageName": "use-subscription", - "size": 5101, - "gzip": 1989 + "size": 5037, + "gzip": 1947 }, { "filename": "use-subscription.production.min.js", "bundleType": "NODE_PROD", "packageName": "use-subscription", - "size": 878, - "gzip": 485 + "size": 823, + "gzip": 451 }, { "filename": "scheduler.development.js", "bundleType": "NODE_DEV", "packageName": "scheduler", - "size": 23829, - "gzip": 6181 + "size": 23765, + "gzip": 6141 }, { "filename": "scheduler.production.min.js", "bundleType": "NODE_PROD", "packageName": "scheduler", - "size": 5099, - "gzip": 2040 + "size": 5044, + "gzip": 2002 }, { "filename": "Scheduler-dev.js", "bundleType": "FB_WWW_DEV", "packageName": "scheduler", - "size": 26319, - "gzip": 6713 + "size": 26255, + "gzip": 6671 }, { "filename": "Scheduler-prod.js", "bundleType": "FB_WWW_PROD", "packageName": "scheduler", - "size": 12825, - "gzip": 3133 + "size": 12764, + "gzip": 3091 }, { "filename": "Scheduler-profiling.js", "bundleType": "FB_WWW_PROFILING", "packageName": "scheduler", - "size": 17518, - "gzip": 4049 + "size": 17457, + "gzip": 4007 }, { "filename": "scheduler-unstable_mock.development.js", "bundleType": "UMD_DEV", "packageName": "scheduler", - "size": 24032, - "gzip": 5493 + "size": 23966, + "gzip": 5454 }, { "filename": "scheduler-unstable_mock.production.min.js", "bundleType": "UMD_PROD", "packageName": "scheduler", - "size": 4828, - "gzip": 2015 + "size": 4779, + "gzip": 1989 }, { "filename": "scheduler-unstable_mock.development.js", "bundleType": "NODE_DEV", "packageName": "scheduler", - "size": 22397, - "gzip": 5373 + "size": 22333, + "gzip": 5334 }, { "filename": "scheduler-unstable_mock.production.min.js", "bundleType": "NODE_PROD", "packageName": "scheduler", - "size": 4806, - "gzip": 1947 + "size": 4751, + "gzip": 1914 }, { "filename": "SchedulerMock-dev.js", "bundleType": "FB_WWW_DEV", "packageName": "scheduler", - "size": 23331, - "gzip": 5528 + "size": 23267, + "gzip": 5486 }, { "filename": "SchedulerMock-prod.js", "bundleType": "FB_WWW_PROD", "packageName": "scheduler", - "size": 12238, - "gzip": 2897 + "size": 12177, + "gzip": 2855 }, { "filename": "jest-react.development.js", "bundleType": "NODE_DEV", "packageName": "jest-react", - "size": 6134, - "gzip": 2194 + "size": 6070, + "gzip": 2163 }, { "filename": "jest-react.production.min.js", "bundleType": "NODE_PROD", "packageName": "jest-react", - "size": 2596, - "gzip": 1299 + "size": 2540, + "gzip": 1272 }, { "filename": "eslint-plugin-react-hooks.development.js", @@ -1033,43 +1033,43 @@ "filename": "scheduler-tracing.development.js", "bundleType": "NODE_DEV", "packageName": "scheduler", - "size": 9070, - "gzip": 1856 + "size": 9006, + "gzip": 1812 }, { "filename": "scheduler-tracing.production.min.js", "bundleType": "NODE_PROD", "packageName": "scheduler", - "size": 722, - "gzip": 374 + "size": 667, + "gzip": 336 }, { "filename": "scheduler-tracing.profiling.min.js", "bundleType": "NODE_PROFILING", "packageName": "scheduler", - "size": 3323, - "gzip": 982 + "size": 3268, + "gzip": 945 }, { "filename": "SchedulerTracing-dev.js", "bundleType": "FB_WWW_DEV", "packageName": "scheduler", - "size": 9919, - "gzip": 2160 + "size": 9855, + "gzip": 2120 }, { "filename": "SchedulerTracing-prod.js", "bundleType": "FB_WWW_PROD", "packageName": "scheduler", - "size": 899, - "gzip": 425 + "size": 838, + "gzip": 379 }, { "filename": "SchedulerTracing-profiling.js", "bundleType": "FB_WWW_PROFILING", "packageName": "scheduler", - "size": 6929, - "gzip": 1252 + "size": 6868, + "gzip": 1209 }, { "filename": "react-interactions-events/context-menu.development.js", diff --git a/build/dist/react-cache.development.js b/build/dist/react-cache.development.js index b5fc7a9..a43eda6 100644 --- a/build/dist/react-cache.development.js +++ b/build/dist/react-cache.development.js @@ -334,6 +334,4 @@ exports.unstable_createResource = unstable_createResource; exports.unstable_setGlobalCacheLimit = unstable_setGlobalCacheLimit; - Object.defineProperty(exports, '__esModule', { value: true }); - }))); diff --git a/build/dist/react-cache.production.min.js b/build/dist/react-cache.production.min.js index 117bf95..ec2046b 100644 --- a/build/dist/react-cache.production.min.js +++ b/build/dist/react-cache.production.min.js @@ -10,4 +10,4 @@ e)}function w(c){return c}function t(c,e,f,g){var a=n.get(c);void 0===a&&(a=new Map,n.set(c,a));var l=a.get(g);if(void 0===l){e=e(f);e.then(function(a){if(0===h.status){var b=h;b.status=1;b.value=a}},function(a){if(0===h.status){var b=h;b.status=2;b.value=a}});var h={status:0,value:e};c=p.add(h,x.bind(null,c,g));a.set(g,c);return h}return p.access(l)}function x(c,e){var f=n.get(c);void 0!==f&&(f.delete(e),0===f.size&&n.delete(c))}var y=q.unstable_scheduleCallback,z=q.unstable_IdlePriority,v=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher, p=function(c){function e(){!1===h&&l>g&&(h=!0,y(z,f))}function f(){h=!1;var b=g;if(null!==a)for(var d=a.previous;l>b&&null!==d;){var c=d.onDelete,e=d.previous;d.onDelete=null;d.previous=d.next=null;d===a?a=d=null:(a.previous=e,e.next=a,d=e);--l;c()}}var g=c,a=null,l=0,h=!1;return{add:function(b,d){b={value:b,onDelete:d,next:null,previous:null};null===a?b.previous=b.next=b:(d=a.previous,d.next=b,b.previous=d,a.previous=b,b.next=a);a=b;l+=1;return b},update:function(a,d){a.value=d},access:function(b){var d= b.next;if(null!==d){var c=a;if(a!==b){var f=b.previous;f.next=d;d.previous=f;d=c.previous;d.next=b;b.previous=d;c.previous=b;b.next=c;a=b}}e();return b.value},setLimit:function(a){g=a;e()}}}(500),n=new Map,u=m.createContext(null);k.unstable_createResource=function(c,e){var f=void 0!==e?e:w,g={read:function(a){r(u);var e=f(a);a=t(g,c,a,e);switch(a.status){case 0:throw a.value;case 1:return a.value;case 2:throw a.value;}},preload:function(a){r(u);var e=f(a);t(g,c,a,e)}};return g};k.unstable_setGlobalCacheLimit= -function(c){p.setLimit(c)};Object.defineProperty(k,"__esModule",{value:!0})}); +function(c){p.setLimit(c)}}); diff --git a/build/dist/react-dom-testing.development.js b/build/dist/react-dom-testing.development.js index beb2965..0320b5a 100644 --- a/build/dist/react-dom-testing.development.js +++ b/build/dist/react-dom-testing.development.js @@ -10,10 +10,10 @@ 'use strict'; (function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react')) : - typeof define === 'function' && define.amd ? define(['react'], factory) : - (global = global || self, global.ReactDOM = factory(global.React)); -}(this, (function (React) { 'use strict'; + typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react')) : + typeof define === 'function' && define.amd ? define(['exports', 'react'], factory) : + (global = global || self, factory(global.ReactDOM = {}, global.React)); +}(this, (function (exports, React) { 'use strict'; var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; // Prevent newer renderers from RTE when used with older react package versions. // Current owner and dispatcher used to share the same ref, @@ -25124,6 +25124,7 @@ unbatchedUpdates(function () { legacyRenderSubtreeIntoContainer(null, null, container, false, function () { + // $FlowFixMe This should probably use `delete container._reactRootContainer` container._reactRootContainer = null; unmarkContainerAsRoot(container); }); @@ -25187,64 +25188,39 @@ throw Error( "Target container is not a DOM element." ); } } // TODO: pass ReactDOM portal implementation as third argument + // $FlowFixMe The Flow type is opaque but there's no way to actually create it. return createPortal(children, container, null, key); } - var ReactDOM = { - createPortal: createPortal$1, - unstable_batchedUpdates: batchedUpdates$1, - flushSync: flushSync, - __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: { - // Keep in sync with ReactDOMUnstableNativeDependencies.js - // ReactTestUtils.js, and ReactTestUtilsAct.js. This is an array for better minification. - Events: [getInstanceFromNode$1, getNodeFromInstance$1, getFiberCurrentPropsFromNode$1, injectEventPluginsByName, eventNameDispatchConfigs, accumulateTwoPhaseDispatches, accumulateDirectDispatches, enqueueStateRestore, restoreStateIfNeeded, dispatchEvent, runEventsInBatch, flushPassiveEffects, IsThisRendererActing] - }, - version: ReactVersion - }; - - { - ReactDOM.findDOMNode = findDOMNode; - ReactDOM.hydrate = hydrate; - ReactDOM.render = render; - ReactDOM.unmountComponentAtNode = unmountComponentAtNode; + function scheduleHydration(target) { } - { - ReactDOM.createRoot = createRoot; - ReactDOM.createBlockingRoot = createBlockingRoot; - ReactDOM.unstable_discreteUpdates = discreteUpdates$1; - ReactDOM.unstable_flushDiscreteUpdates = flushDiscreteUpdates; - ReactDOM.unstable_flushControlled = flushControlled; + function renderSubtreeIntoContainer(parentComponent, element, containerNode, callback) { - ReactDOM.unstable_scheduleHydration = function (target) { - }; + return unstable_renderSubtreeIntoContainer(parentComponent, element, containerNode, callback); } - { - ReactDOM.unstable_renderSubtreeIntoContainer = function () { - - return unstable_renderSubtreeIntoContainer.apply(void 0, arguments); - }; - } + function unstable_createPortal(children, container) { + var key = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; - { - // Temporary alias since we already shipped React 16 RC with it. - // TODO: remove in React 17. - ReactDOM.unstable_createPortal = function () { - { - if (!didWarnAboutUnstableCreatePortal) { - didWarnAboutUnstableCreatePortal = true; + { + if (!didWarnAboutUnstableCreatePortal) { + didWarnAboutUnstableCreatePortal = true; - warn('The ReactDOM.unstable_createPortal() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactDOM.createPortal() instead. It has the exact same API, ' + 'but without the "unstable_" prefix.'); - } + warn('The ReactDOM.unstable_createPortal() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactDOM.createPortal() instead. It has the exact same API, ' + 'but without the "unstable_" prefix.'); } + } - return createPortal$1.apply(void 0, arguments); - }; + return createPortal$1(children, container, key); } + var Internals = { + // Keep in sync with ReactDOMUnstableNativeDependencies.js + // ReactTestUtils.js, and ReactTestUtilsAct.js. This is an array for better minification. + Events: [getInstanceFromNode$1, getNodeFromInstance$1, getFiberCurrentPropsFromNode$1, injectEventPluginsByName, eventNameDispatchConfigs, accumulateTwoPhaseDispatches, accumulateDirectDispatches, enqueueStateRestore, restoreStateIfNeeded, dispatchEvent, runEventsInBatch, flushPassiveEffects, IsThisRendererActing] + }; var foundDevTools = injectIntoDevTools({ findFiberByHostInstance: getClosestInstanceFromNode, bundleType: 1 , @@ -25266,27 +25242,23 @@ } } - { - ReactDOM.act = act; - } - - var ReactDOM$1 = /*#__PURE__*/Object.freeze({ - __proto__: null, - 'default': ReactDOM - }); - - function getCjsExportFromNamespace (n) { - return n && n['default'] || n; - } - - var ReactDOM$2 = getCjsExportFromNamespace(ReactDOM$1); - - // TODO: decide on the top-level export form. - // This is hacky but makes it work with both Rollup and Jest. - - - var testing = ReactDOM$2.default || ReactDOM$2; - - return testing; + exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals; + exports.act = act; + exports.createBlockingRoot = createBlockingRoot; + exports.createPortal = createPortal$1; + exports.createRoot = createRoot; + exports.findDOMNode = findDOMNode; + exports.flushSync = flushSync; + exports.hydrate = hydrate; + exports.render = render; + exports.unmountComponentAtNode = unmountComponentAtNode; + exports.unstable_batchedUpdates = batchedUpdates$1; + exports.unstable_createPortal = unstable_createPortal; + exports.unstable_discreteUpdates = discreteUpdates$1; + exports.unstable_flushControlled = flushControlled; + exports.unstable_flushDiscreteUpdates = flushDiscreteUpdates; + exports.unstable_renderSubtreeIntoContainer = renderSubtreeIntoContainer; + exports.unstable_scheduleHydration = scheduleHydration; + exports.version = ReactVersion; }))); diff --git a/build/dist/react-dom-testing.production.min.js b/build/dist/react-dom-testing.production.min.js index 8df380e..bc299b4 100644 --- a/build/dist/react-dom-testing.production.min.js +++ b/build/dist/react-dom-testing.production.min.js @@ -9,234 +9,234 @@ /* Modernizr 3.0.0pre (Custom Build) | MIT */ -'use strict';(function(aa,k){"object"===typeof exports&&"undefined"!==typeof module?module.exports=k(require("react")):"function"===typeof define&&define.amd?define(["react"],k):(aa=aa||self,aa.ReactDOM=k(aa.React))})(this,function(aa){function k(a){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+a,c=1;cb}return!1}function K(a,b,c,d,e,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f}function Fd(a,b,c,d){var e=G.hasOwnProperty(b)? -G[b]:null;var f=null!==e?0===e.type:d?!1:!(2=c.length))throw Error(k(93));c=c[0]}b=c}null==b&&(b="");c=b}a._wrapperState={initialValue:ua(c)}}function Tf(a,b){var c=ua(b.value),d=ua(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d)}function Uf(a,b){b=a.textContent;b===a._wrapperState.initialValue&&""!== -b&&null!==b&&(a.value=b)}function Vf(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ld(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?Vf(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}function nc(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}function oc(a){if(Md[a])return Md[a]; -if(!jb[a])return a;var b=jb[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Wf)return Md[a]=b[c];return a}function Nd(a){var b=Xf.get(a);void 0===b&&(b=new Map,Xf.set(a,b));return b}function Ma(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function Yf(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function Zf(a){if(Ma(a)!== -a)throw Error(k(188));}function Ki(a){var b=a.alternate;if(!b){b=Ma(a);if(null===b)throw Error(k(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return Zf(e),a;if(f===d)return Zf(e),b;f=f.sibling}throw Error(k(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h= -f.child;h;){if(h===c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(k(189));}}if(c.alternate!==d)throw Error(k(190));}if(3!==c.tag)throw Error(k(188));return c.stateNode.current===c?a:b}function $f(a){a=Ki(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}function kb(a,b){if(null== -b)throw Error(k(30));if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function Od(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}function pc(a){null!==a&&(Bb=kb(Bb,a));a=Bb;Bb=null;if(a){Od(a,Li);if(Bb)throw Error(k(95));if(hc)throw a=td,hc=!1,td=null,a;}}function Pd(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode: -a}function ag(a){if(!va)return!1;a="on"+a;var b=a in document;b||(b=document.createElement("div"),b.setAttribute(a,"return;"),b="function"===typeof b[a]);return b}function bg(a){a.topLevelType=null;a.nativeEvent=null;a.targetInst=null;a.ancestors.length=0;10>qc.length&&qc.push(a)}function cg(a,b,c,d){if(qc.length){var e=qc.pop();e.topLevelType=a;e.eventSystemFlags=d;e.nativeEvent=b;e.targetInst=c;return e}return{topLevelType:a,eventSystemFlags:d,nativeEvent:b,targetInst:c,ancestors:[]}}function dg(a){var b= -a.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d=c;if(3===d.tag)d=d.stateNode.containerInfo;else{for(;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo}if(!d)break;b=c.tag;5!==b&&6!==b||a.ancestors.push(c);c=Cb(d)}while(c);for(c=0;c=b)return{node:c, -offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=pg(c)}}function rg(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?rg(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function sg(){for(var a=window,b=$d();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=$d(a.document)}return b} -function ae(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}function tg(a,b){switch(a){case "button":case "input":case "select":case "textarea":return!!b.autoFocus}return!1}function be(a,b){return"textarea"===a||"option"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&& -null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}function lb(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}function ug(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(c===vg||c===ce||c===de){if(0===b)return a;b--}else c===wg&&b++}a=a.previousSibling}return null}function Cb(a){var b=a[za];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Mb]||c[za]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=ug(a);null!== -a;){if(c=a[za])return c;a=ug(a)}return b}a=c;c=a.parentNode}return null}function Ib(a){a=a[za]||a[Mb];return!a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function Oa(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(k(33));}function ee(a){return a[vc]||null}function na(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}function xg(a,b){var c=a.stateNode;if(!c)return null;var d=Bd(c);if(!d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d= -!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!==typeof c)throw Error(k(231,b,typeof c));return c}function yg(a,b,c){if(b=xg(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=kb(c._dispatchListeners,b),c._dispatchInstances=kb(c._dispatchInstances,a)}function Yi(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=na(b);for(b=c.length;0this.eventPool.length&&this.eventPool.push(a)}function Ag(a){a.eventPool=[];a.getPooled=$i;a.release=aj}function Bg(a,b){switch(a){case "keyup":return-1!==bj.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return!0;default:return!1}}function Cg(a){a=a.detail;return"object"===typeof a&&"data"in -a?a.data:null}function cj(a,b){switch(a){case "compositionend":return Cg(b);case "keypress":if(32!==b.which)return null;Dg=!0;return Eg;case "textInput":return a=b.data,a===Eg&&Dg?null:a;default:return null}}function dj(a,b){if(nb)return"compositionend"===a||!he&&Bg(a,b)?(a=zg(),wc=ge=Aa=null,nb=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1pb||(a.current=me[pb],me[pb]=null,pb--)}function A(a,b,c){pb++; -me[pb]=a.current;a.current=b}function qb(a,b){var c=a.type.contextTypes;if(!c)return Ba;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function M(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Ng(a,b,c){if(y.current!==Ba)throw Error(k(168));A(y,b);A(H,c)} -function Og(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(k(108,la(b)||"Unknown",e));return L({},c,{},d)}function Bc(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Ba;Qa=y.current;A(y,a);A(H,H.current);return!0}function Pg(a,b,c){var d=a.stateNode;if(!d)throw Error(k(169));c?(a=Og(a,b,Qa),d.__reactInternalMemoizedMergedChildContext=a,q(H),q(y),A(y,a)):q(H);A(H,c)}function Cc(){switch(pj()){case Dc:return 99; -case Qg:return 98;case Rg:return 97;case Sg:return 96;case Tg:return 95;default:throw Error(k(332));}}function Ug(a){switch(a){case 99:return Dc;case 98:return Qg;case 97:return Rg;case 96:return Sg;case 95:return Tg;default:throw Error(k(332));}}function oa(a,b){a=Ug(a);return qj(a,b)}function Vg(a,b,c){a=Ug(a);return ne(a,b,c)}function Wg(a){null===pa?(pa=[a],Ec=ne(Dc,Xg)):pa.push(a);return Yg}function ba(){if(null!==Ec){var a=Ec;Ec=null;Zg(a)}Xg()}function Xg(){if(!oe&&null!==pa){oe=!0;var a=0; -try{var b=pa;oa(99,function(){for(;a=b&&(fa=!0),a.firstContext=null)}function W(a,b){if(Gc!==a&&!1!==b&&0!==b){if("number"!==typeof b||1073741823===b)Gc=a,b=1073741823;b={context:a,observedBits:b,next:null};if(null===rb){if(null=== -Hc)throw Error(k(308));rb=b;Hc.dependencies={expirationTime:0,firstContext:b,responders:null}}else rb=rb.next=b}return a._currentValue}function re(a){a.updateQueue={baseState:a.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function se(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,baseQueue:a.baseQueue,shared:a.shared,effects:a.effects})}function Ca(a,b){a={expirationTime:a,suspenseConfig:b,tag:ah,payload:null,callback:null,next:null};return a.next= -a}function Da(a,b){a=a.updateQueue;if(null!==a){a=a.shared;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}}function bh(a,b){var c=a.alternate;null!==c&&se(c,a);a=a.updateQueue;c=a.baseQueue;null===c?(a.baseQueue=b.next=b,b.next=b):(b.next=c.next,c.next=b)}function Rb(a,b,c,d){var e=a.updateQueue;Ea=!1;var f=e.baseQueue,g=e.shared.pending;if(null!==g){if(null!==f){var h=f.next;f.next=g.next;g.next=h}f=g;e.shared.pending=null;h=a.alternate;null!==h&&(h=h.updateQueue,null!==h&& -(h.baseQueue=g))}if(null!==f){h=f.next;var m=e.baseState,p=0,k=null,x=null,l=null;if(null!==h){var n=h;do{g=n.expirationTime;if(gp&&(p=g)}else{null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:n.suspenseConfig,tag:n.tag,payload:n.payload,callback:n.callback,next:null});ch(g,n.suspenseConfig);a:{var q=a,r=n;g=b;t=c;switch(r.tag){case 1:q= -r.payload;if("function"===typeof q){m=q.call(t,m,g);break a}m=q;break a;case 3:q.effectTag=q.effectTag&-4097|64;case ah:q=r.payload;g="function"===typeof q?q.call(t,m,g):q;if(null===g||void 0===g)break a;m=L({},m,g);break a;case Jc:Ea=!0}}null!==n.callback&&(a.effectTag|=32,g=e.effects,null===g?e.effects=[n]:g.push(n))}n=n.next;if(null===n||n===h)if(g=e.shared.pending,null===g)break;else n=f.next=g.next,g.next=h,e.baseQueue=f=g,e.shared.pending=null}while(1)}null===l?k=m:l.next=x;e.baseState=k;e.baseQueue= -l;Kc(p);a.expirationTime=p;a.memoizedState=m}}function dh(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;bb}return!1}function L(a,b,c,d,e,f){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=e;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=f}function Fd(a,b,c,d){var e=H.hasOwnProperty(b)? +H[b]:null;var f=null!==e?0===e.type:d?!1:!(2=c.length))throw Error(m(93));c=c[0]}b=c}null==b&&(b="");c=b}a._wrapperState={initialValue:va(c)}}function Sf(a,b){var c=va(b.value),d=va(b.defaultValue);null!=c&&(c=""+c,c!==a.value&&(a.value=c),null==b.defaultValue&&a.defaultValue!==c&&(a.defaultValue=c));null!=d&&(a.defaultValue=""+d)}function Tf(a,b){b=a.textContent;b===a._wrapperState.initialValue&&""!== +b&&null!==b&&(a.value=b)}function Uf(a){switch(a){case "svg":return"http://www.w3.org/2000/svg";case "math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ld(a,b){return null==a||"http://www.w3.org/1999/xhtml"===a?Uf(b):"http://www.w3.org/2000/svg"===a&&"foreignObject"===b?"http://www.w3.org/1999/xhtml":a}function nc(a,b){var c={};c[a.toLowerCase()]=b.toLowerCase();c["Webkit"+a]="webkit"+b;c["Moz"+a]="moz"+b;return c}function oc(a){if(Md[a])return Md[a]; +if(!jb[a])return a;var b=jb[a],c;for(c in b)if(b.hasOwnProperty(c)&&c in Vf)return Md[a]=b[c];return a}function Nd(a){var b=Wf.get(a);void 0===b&&(b=new Map,Wf.set(a,b));return b}function Ma(a){var b=a,c=a;if(a.alternate)for(;b.return;)b=b.return;else{a=b;do b=a,0!==(b.effectTag&1026)&&(c=b.return),a=b.return;while(a)}return 3===b.tag?c:null}function Xf(a){if(13===a.tag){var b=a.memoizedState;null===b&&(a=a.alternate,null!==a&&(b=a.memoizedState));if(null!==b)return b.dehydrated}return null}function Yf(a){if(Ma(a)!== +a)throw Error(m(188));}function Ii(a){var b=a.alternate;if(!b){b=Ma(a);if(null===b)throw Error(m(188));return b!==a?null:a}for(var c=a,d=b;;){var e=c.return;if(null===e)break;var f=e.alternate;if(null===f){d=e.return;if(null!==d){c=d;continue}break}if(e.child===f.child){for(f=e.child;f;){if(f===c)return Yf(e),a;if(f===d)return Yf(e),b;f=f.sibling}throw Error(m(188));}if(c.return!==d.return)c=e,d=f;else{for(var g=!1,h=e.child;h;){if(h===c){g=!0;c=e;d=f;break}if(h===d){g=!0;d=e;c=f;break}h=h.sibling}if(!g){for(h= +f.child;h;){if(h===c){g=!0;c=f;d=e;break}if(h===d){g=!0;d=f;c=e;break}h=h.sibling}if(!g)throw Error(m(189));}}if(c.alternate!==d)throw Error(m(190));}if(3!==c.tag)throw Error(m(188));return c.stateNode.current===c?a:b}function Zf(a){a=Ii(a);if(!a)return null;for(var b=a;;){if(5===b.tag||6===b.tag)return b;if(b.child)b.child.return=b,b=b.child;else{if(b===a)break;for(;!b.sibling;){if(!b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}}return null}function kb(a,b){if(null== +b)throw Error(m(30));if(null==a)return b;if(Array.isArray(a)){if(Array.isArray(b))return a.push.apply(a,b),a;a.push(b);return a}return Array.isArray(b)?[a].concat(b):[a,b]}function Od(a,b,c){Array.isArray(a)?a.forEach(b,c):a&&b.call(c,a)}function pc(a){null!==a&&(Bb=kb(Bb,a));a=Bb;Bb=null;if(a){Od(a,Ji);if(Bb)throw Error(m(95));if(hc)throw a=td,hc=!1,td=null,a;}}function Pd(a){a=a.target||a.srcElement||window;a.correspondingUseElement&&(a=a.correspondingUseElement);return 3===a.nodeType?a.parentNode: +a}function $f(a){if(!wa)return!1;a="on"+a;var b=a in document;b||(b=document.createElement("div"),b.setAttribute(a,"return;"),b="function"===typeof b[a]);return b}function ag(a){a.topLevelType=null;a.nativeEvent=null;a.targetInst=null;a.ancestors.length=0;10>qc.length&&qc.push(a)}function bg(a,b,c,d){if(qc.length){var e=qc.pop();e.topLevelType=a;e.eventSystemFlags=d;e.nativeEvent=b;e.targetInst=c;return e}return{topLevelType:a,eventSystemFlags:d,nativeEvent:b,targetInst:c,ancestors:[]}}function cg(a){var b= +a.targetInst,c=b;do{if(!c){a.ancestors.push(c);break}var d=c;if(3===d.tag)d=d.stateNode.containerInfo;else{for(;d.return;)d=d.return;d=3!==d.tag?null:d.stateNode.containerInfo}if(!d)break;b=c.tag;5!==b&&6!==b||a.ancestors.push(c);c=Cb(d)}while(c);for(c=0;c=b)return{node:c, +offset:b-a};a=d}a:{for(;c;){if(c.nextSibling){c=c.nextSibling;break a}c=c.parentNode}c=void 0}c=og(c)}}function qg(a,b){return a&&b?a===b?!0:a&&3===a.nodeType?!1:b&&3===b.nodeType?qg(a,b.parentNode):"contains"in a?a.contains(b):a.compareDocumentPosition?!!(a.compareDocumentPosition(b)&16):!1:!1}function rg(){for(var a=window,b=$d();b instanceof a.HTMLIFrameElement;){try{var c="string"===typeof b.contentWindow.location.href}catch(d){c=!1}if(c)a=b.contentWindow;else break;b=$d(a.document)}return b} +function ae(a){var b=a&&a.nodeName&&a.nodeName.toLowerCase();return b&&("input"===b&&("text"===a.type||"search"===a.type||"tel"===a.type||"url"===a.type||"password"===a.type)||"textarea"===b||"true"===a.contentEditable)}function sg(a,b){switch(a){case "button":case "input":case "select":case "textarea":return!!b.autoFocus}return!1}function be(a,b){return"textarea"===a||"option"===a||"noscript"===a||"string"===typeof b.children||"number"===typeof b.children||"object"===typeof b.dangerouslySetInnerHTML&& +null!==b.dangerouslySetInnerHTML&&null!=b.dangerouslySetInnerHTML.__html}function lb(a){for(;null!=a;a=a.nextSibling){var b=a.nodeType;if(1===b||3===b)break}return a}function tg(a){a=a.previousSibling;for(var b=0;a;){if(8===a.nodeType){var c=a.data;if(c===ug||c===ce||c===de){if(0===b)return a;b--}else c===vg&&b++}a=a.previousSibling}return null}function Cb(a){var b=a[Aa];if(b)return b;for(var c=a.parentNode;c;){if(b=c[Mb]||c[Aa]){c=b.alternate;if(null!==b.child||null!==c&&null!==c.child)for(a=tg(a);null!== +a;){if(c=a[Aa])return c;a=tg(a)}return b}a=c;c=a.parentNode}return null}function Ib(a){a=a[Aa]||a[Mb];return!a||5!==a.tag&&6!==a.tag&&13!==a.tag&&3!==a.tag?null:a}function Oa(a){if(5===a.tag||6===a.tag)return a.stateNode;throw Error(m(33));}function ee(a){return a[vc]||null}function oa(a){do a=a.return;while(a&&5!==a.tag);return a?a:null}function wg(a,b){var c=a.stateNode;if(!c)return null;var d=Bd(c);if(!d)return null;c=d[b];a:switch(b){case "onClick":case "onClickCapture":case "onDoubleClick":case "onDoubleClickCapture":case "onMouseDown":case "onMouseDownCapture":case "onMouseMove":case "onMouseMoveCapture":case "onMouseUp":case "onMouseUpCapture":case "onMouseEnter":(d= +!d.disabled)||(a=a.type,d=!("button"===a||"input"===a||"select"===a||"textarea"===a));a=!d;break a;default:a=!1}if(a)return null;if(c&&"function"!==typeof c)throw Error(m(231,b,typeof c));return c}function xg(a,b,c){if(b=wg(a,c.dispatchConfig.phasedRegistrationNames[b]))c._dispatchListeners=kb(c._dispatchListeners,b),c._dispatchInstances=kb(c._dispatchInstances,a)}function Wi(a){if(a&&a.dispatchConfig.phasedRegistrationNames){for(var b=a._targetInst,c=[];b;)c.push(b),b=oa(b);for(b=c.length;0this.eventPool.length&&this.eventPool.push(a)}function zg(a){a.eventPool=[];a.getPooled=Yi;a.release=Zi}function Ag(a,b){switch(a){case "keyup":return-1!==$i.indexOf(b.keyCode);case "keydown":return 229!==b.keyCode;case "keypress":case "mousedown":case "blur":return!0;default:return!1}}function Bg(a){a=a.detail;return"object"===typeof a&&"data"in +a?a.data:null}function aj(a,b){switch(a){case "compositionend":return Bg(b);case "keypress":if(32!==b.which)return null;Cg=!0;return Dg;case "textInput":return a=b.data,a===Dg&&Cg?null:a;default:return null}}function bj(a,b){if(nb)return"compositionend"===a||!he&&Ag(a,b)?(a=yg(),wc=ge=Ba=null,nb=!1,a):null;switch(a){case "paste":return null;case "keypress":if(!(b.ctrlKey||b.altKey||b.metaKey)||b.ctrlKey&&b.altKey){if(b.char&&1pb||(a.current=me[pb],me[pb]=null,pb--)}function A(a,b,c){pb++; +me[pb]=a.current;a.current=b}function qb(a,b){var c=a.type.contextTypes;if(!c)return Ca;var d=a.stateNode;if(d&&d.__reactInternalMemoizedUnmaskedChildContext===b)return d.__reactInternalMemoizedMaskedChildContext;var e={},f;for(f in c)e[f]=b[f];d&&(a=a.stateNode,a.__reactInternalMemoizedUnmaskedChildContext=b,a.__reactInternalMemoizedMaskedChildContext=e);return e}function N(a){a=a.childContextTypes;return null!==a&&void 0!==a}function Mg(a,b,c){if(D.current!==Ca)throw Error(m(168));A(D,b);A(I,c)} +function Ng(a,b,c){var d=a.stateNode;a=b.childContextTypes;if("function"!==typeof d.getChildContext)return c;d=d.getChildContext();for(var e in d)if(!(e in a))throw Error(m(108,ma(b)||"Unknown",e));return M({},c,{},d)}function Bc(a){a=(a=a.stateNode)&&a.__reactInternalMemoizedMergedChildContext||Ca;Qa=D.current;A(D,a);A(I,I.current);return!0}function Og(a,b,c){var d=a.stateNode;if(!d)throw Error(m(169));c?(a=Ng(a,b,Qa),d.__reactInternalMemoizedMergedChildContext=a,q(I),q(D),A(D,a)):q(I);A(I,c)}function Cc(){switch(nj()){case Dc:return 99; +case Pg:return 98;case Qg:return 97;case Rg:return 96;case Sg:return 95;default:throw Error(m(332));}}function Tg(a){switch(a){case 99:return Dc;case 98:return Pg;case 97:return Qg;case 96:return Rg;case 95:return Sg;default:throw Error(m(332));}}function pa(a,b){a=Tg(a);return oj(a,b)}function Ug(a,b,c){a=Tg(a);return ne(a,b,c)}function Vg(a){null===qa?(qa=[a],Ec=ne(Dc,Wg)):qa.push(a);return Xg}function ba(){if(null!==Ec){var a=Ec;Ec=null;Yg(a)}Wg()}function Wg(){if(!oe&&null!==qa){oe=!0;var a=0; +try{var b=qa;pa(99,function(){for(;a=b&&(ha=!0),a.firstContext=null)}function X(a,b){if(Gc!==a&&!1!==b&&0!==b){if("number"!==typeof b||1073741823===b)Gc=a,b=1073741823;b={context:a,observedBits:b,next:null};if(null===rb){if(null=== +Hc)throw Error(m(308));rb=b;Hc.dependencies={expirationTime:0,firstContext:b,responders:null}}else rb=rb.next=b}return a._currentValue}function re(a){a.updateQueue={baseState:a.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function se(a,b){a=a.updateQueue;b.updateQueue===a&&(b.updateQueue={baseState:a.baseState,baseQueue:a.baseQueue,shared:a.shared,effects:a.effects})}function Da(a,b){a={expirationTime:a,suspenseConfig:b,tag:$g,payload:null,callback:null,next:null};return a.next= +a}function Ea(a,b){a=a.updateQueue;if(null!==a){a=a.shared;var c=a.pending;null===c?b.next=b:(b.next=c.next,c.next=b);a.pending=b}}function ah(a,b){var c=a.alternate;null!==c&&se(c,a);a=a.updateQueue;c=a.baseQueue;null===c?(a.baseQueue=b.next=b,b.next=b):(b.next=c.next,c.next=b)}function Rb(a,b,c,d){var e=a.updateQueue;Fa=!1;var f=e.baseQueue,g=e.shared.pending;if(null!==g){if(null!==f){var h=f.next;f.next=g.next;g.next=h}f=g;e.shared.pending=null;h=a.alternate;null!==h&&(h=h.updateQueue,null!==h&& +(h.baseQueue=g))}if(null!==f){h=f.next;var l=e.baseState,n=0,m=null,y=null,k=null;if(null!==h){var p=h;do{g=p.expirationTime;if(gn&&(n=g)}else{null!==k&&(k=k.next={expirationTime:1073741823,suspenseConfig:p.suspenseConfig,tag:p.tag,payload:p.payload,callback:p.callback,next:null});bh(g,p.suspenseConfig);a:{var q=a,r=p;g=b;t=c;switch(r.tag){case 1:q= +r.payload;if("function"===typeof q){l=q.call(t,l,g);break a}l=q;break a;case 3:q.effectTag=q.effectTag&-4097|64;case $g:q=r.payload;g="function"===typeof q?q.call(t,l,g):q;if(null===g||void 0===g)break a;l=M({},l,g);break a;case Jc:Fa=!0}}null!==p.callback&&(a.effectTag|=32,g=e.effects,null===g?e.effects=[p]:g.push(p))}p=p.next;if(null===p||p===h)if(g=e.shared.pending,null===g)break;else p=f.next=g.next,g.next=h,e.baseQueue=f=g,e.shared.pending=null}while(1)}null===k?m=l:k.next=y;e.baseState=m;e.baseQueue= +k;Kc(n);a.expirationTime=n;a.memoizedState=l}}function ch(a,b,c){a=b.effects;b.effects=null;if(null!==a)for(b=0;br?(x=l,l=null):x=l.sibling;var Q=t(e,l,h[r],m);if(null===Q){null===l&&(l=x);break}a&&l&&null===Q.alternate&&b(e,l);g=f(Q,g,r);null===k?p=Q:k.sibling=Q;k=Q;l=x}if(r===h.length)return c(e,l),p;if(null===l){for(;rx?(Q=r,r=null):Q=r.sibling;var tb=t(e,r,v.value,p);if(null===tb){null===r&&(r=Q);break}a&&r&&null===tb.alternate&&b(e,r);g=f(tb,g,x);null===l?m=tb:l.sibling=tb;l=tb;r=Q}if(v.done)return c(e, -r),m;if(null===r){for(;!v.done;x++,v=h.next())v=n(e,v.value,p),null!==v&&(g=f(v,g,x),null===l?m=v:l.sibling=v,l=v);return m}for(r=d(e,r);!v.done;x++,v=h.next())v=q(r,e,x,v.value,p),null!==v&&(a&&null!==v.alternate&&r.delete(null===v.key?x:v.key),g=f(v,g,x),null===l?m=v:l.sibling=v,l=v);a&&r.forEach(function(a){return b(e,a)});return m}return function(a,d,f,h){var m="object"===typeof f&&null!==f&&f.type===La&&null===f.key;m&&(f=f.props.children);var p="object"===typeof f&&null!==f;if(p)switch(f.$$typeof){case Pc:a:{p= -f.key;for(m=d;null!==m;){if(m.key===p){switch(m.tag){case 7:if(f.type===La){c(a,m.sibling);d=e(m,f.props.children);d.return=a;a=d;break a}break;default:if(m.elementType===f.type){c(a,m.sibling);d=e(m,f.props);d.ref=Sb(a,m,f);d.return=a;a=d;break a}}c(a,m);break}else b(a,m);m=m.sibling}f.type===La?(d=Fa(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Oc(f.type,f.key,f.props,null,a.mode,h),h.ref=Sb(a,d,f),h.return=a,a=h)}return g(a);case db:a:{for(m=f.key;null!==d;){if(d.key===m)if(4===d.tag&&d.stateNode.containerInfo=== -f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=ve(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=ue(f,a.mode,h),d.return=a,a=d),g(a);if(Qc(f))return w(a,d,f,h);if(Ab(f))return D(a,d,f,h);p&&Nc(a,f);if("undefined"===typeof f&&!m)switch(a.tag){case 1:case 0:throw a= -a.type,Error(k(152,a.displayName||a.name||"Component"));}return c(a,d)}}function Sa(a){if(a===Tb)throw Error(k(174));return a}function we(a,b){A(Ub,b);A(Vb,a);A(ha,Tb);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Ld(null,"");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=Ld(b,a)}q(ha);A(ha,b)}function vb(a){q(ha);q(Vb);q(Ub)}function jh(a){Sa(Ub.current);var b=Sa(ha.current);var c=Ld(b,a.type);b!==c&&(A(Vb,a),A(ha,c))}function xe(a){Vb.current=== -a&&(q(ha),q(Vb))}function Rc(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||c.data===de||c.data===ce))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.effectTag&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}function ye(a,b){return{responder:a,props:b}} -function R(){throw Error(k(321));}function ze(a,b){if(null===b)return!1;for(var c=0;cf))throw Error(k(301));f+=1;I=J=null;b.updateQueue=null;Sc.current=uj;a=c(d,e)}while(b.expirationTime===Ga)}Sc.current=Tc;b=null!==J&&null!==J.next; -Ga=0;I=J=C=null;Uc=!1;if(b)throw Error(k(300));return a}function wb(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===I?C.memoizedState=I=a:I=I.next=a;return I}function xb(){if(null===J){var a=C.alternate;a=null!==a?a.memoizedState:null}else a=J.next;var b=null===I?C.memoizedState:I.next;if(null!==b)I=b,J=a;else{if(null===a)throw Error(k(310));J=a;a={memoizedState:J.memoizedState,baseState:J.baseState,baseQueue:J.baseQueue,queue:J.queue,next:null};null===I?C.memoizedState= -I=a:I=I.next=a}return I}function Ta(a,b){return"function"===typeof b?b(a):b}function Vc(a,b,c){b=xb();c=b.queue;if(null===c)throw Error(k(311));c.lastRenderedReducer=a;var d=J,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}d.baseQueue=e=f;c.pending=null}if(null!==e){e=e.next;d=d.baseState;var h=g=f=null,m=e;do{var p=m.expirationTime;if(pC.expirationTime&&(C.expirationTime=p,Kc(p))}else null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:m.suspenseConfig,action:m.action,eagerReducer:m.eagerReducer,eagerState:m.eagerState,next:null}),ch(p,m.suspenseConfig),d=m.eagerReducer===a?m.eagerState:a(d,m.action);m=m.next}while(null!==m&&m!==e);null===h?f=d:h.next=g;Pa(d,b.memoizedState)||(fa=!0);b.memoizedState=d;b.baseState=f;b.baseQueue=h;c.lastRenderedState=d}return[b.memoizedState, -c.dispatch]}function Wc(a,b,c){b=xb();c=b.queue;if(null===c)throw Error(k(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);Pa(f,b.memoizedState)||(fa=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]}function Be(a){var b=wb();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={pending:null,dispatch:null,lastRenderedReducer:Ta, -lastRenderedState:a};a=a.dispatch=kh.bind(null,C,a);return[b.memoizedState,a]}function Ce(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=C.updateQueue;null===b?(b={lastEffect:null},C.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function lh(a){return xb().memoizedState}function De(a,b,c,d){var e=wb();C.effectTag|=a;e.memoizedState=Ce(1|b,c,void 0,void 0===d?null:d)}function Ee(a,b,c,d){var e=xb(); -d=void 0===d?null:d;var f=void 0;if(null!==J){var g=J.memoizedState;f=g.destroy;if(null!==d&&ze(d,g.deps)){Ce(b,c,f,d);return}}C.effectTag|=a;e.memoizedState=Ce(1|b,c,f,d)}function mh(a,b){return De(516,4,a,b)}function Xc(a,b){return Ee(516,4,a,b)}function nh(a,b){return Ee(4,2,a,b)}function oh(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function ph(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null; -return Ee(4,2,oh.bind(null,b,a),c)}function Fe(a,b){}function qh(a,b){wb().memoizedState=[a,void 0===b?null:b];return a}function Yc(a,b){var c=xb();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&ze(b,d[1]))return d[0];c.memoizedState=[a,b];return a}function rh(a,b){var c=xb();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&ze(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function Ge(a,b,c){var d=Cc();oa(98>d?98:d,function(){a(!0)});oa(97\x3c/script>",a=a.removeChild(a.firstChild)):"string"===typeof d.is?a=g.createElement(e,{is:d.is}):(a=g.createElement(e),"select"===e&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,e);a[za]=b;a[vc]=d;yj(a,b,!1,!1);b.stateNode=a;g=Zd(e,d);switch(e){case "iframe":case "object":case "embed":w("load",a);h=d;break;case "video":case "audio":for(h=0;hr?(y=k,k=null):y=k.sibling;var R=t(e,k,h[r],l);if(null===R){null===k&&(k=y);break}a&&k&&null===R.alternate&&b(e,k);g=f(R,g,r);null===m?n=R:m.sibling=R;m=R;k=y}if(r===h.length)return c(e,k),n;if(null===k){for(;ry?(R=r,r=null):R=r.sibling;var tb=t(e,r,v.value,n);if(null===tb){null===r&&(r=R);break}a&&r&&null===tb.alternate&&b(e,r);g=f(tb,g,y);null===k?l=tb:k.sibling=tb;k=tb;r=R}if(v.done)return c(e, +r),l;if(null===r){for(;!v.done;y++,v=h.next())v=p(e,v.value,n),null!==v&&(g=f(v,g,y),null===k?l=v:k.sibling=v,k=v);return l}for(r=d(e,r);!v.done;y++,v=h.next())v=q(r,e,y,v.value,n),null!==v&&(a&&null!==v.alternate&&r.delete(null===v.key?y:v.key),g=f(v,g,y),null===k?l=v:k.sibling=v,k=v);a&&r.forEach(function(a){return b(e,a)});return l}return function(a,d,f,h){var l="object"===typeof f&&null!==f&&f.type===La&&null===f.key;l&&(f=f.props.children);var n="object"===typeof f&&null!==f;if(n)switch(f.$$typeof){case Pc:a:{n= +f.key;for(l=d;null!==l;){if(l.key===n){switch(l.tag){case 7:if(f.type===La){c(a,l.sibling);d=e(l,f.props.children);d.return=a;a=d;break a}break;default:if(l.elementType===f.type){c(a,l.sibling);d=e(l,f.props);d.ref=Sb(a,l,f);d.return=a;a=d;break a}}c(a,l);break}else b(a,l);l=l.sibling}f.type===La?(d=Ga(f.props.children,a.mode,h,f.key),d.return=a,a=d):(h=Oc(f.type,f.key,f.props,null,a.mode,h),h.ref=Sb(a,d,f),h.return=a,a=h)}return g(a);case db:a:{for(l=f.key;null!==d;){if(d.key===l)if(4===d.tag&&d.stateNode.containerInfo=== +f.containerInfo&&d.stateNode.implementation===f.implementation){c(a,d.sibling);d=e(d,f.children||[]);d.return=a;a=d;break a}else{c(a,d);break}else b(a,d);d=d.sibling}d=ve(f,a.mode,h);d.return=a;a=d}return g(a)}if("string"===typeof f||"number"===typeof f)return f=""+f,null!==d&&6===d.tag?(c(a,d.sibling),d=e(d,f),d.return=a,a=d):(c(a,d),d=ue(f,a.mode,h),d.return=a,a=d),g(a);if(Qc(f))return w(a,d,f,h);if(Ab(f))return x(a,d,f,h);n&&Nc(a,f);if("undefined"===typeof f&&!l)switch(a.tag){case 1:case 0:throw a= +a.type,Error(m(152,a.displayName||a.name||"Component"));}return c(a,d)}}function Sa(a){if(a===Tb)throw Error(m(174));return a}function we(a,b){A(Ub,b);A(Vb,a);A(ia,Tb);a=b.nodeType;switch(a){case 9:case 11:b=(b=b.documentElement)?b.namespaceURI:Ld(null,"");break;default:a=8===a?b.parentNode:b,b=a.namespaceURI||null,a=a.tagName,b=Ld(b,a)}q(ia);A(ia,b)}function vb(a){q(ia);q(Vb);q(Ub)}function ih(a){Sa(Ub.current);var b=Sa(ia.current);var c=Ld(b,a.type);b!==c&&(A(Vb,a),A(ia,c))}function xe(a){Vb.current=== +a&&(q(ia),q(Vb))}function Rc(a){for(var b=a;null!==b;){if(13===b.tag){var c=b.memoizedState;if(null!==c&&(c=c.dehydrated,null===c||c.data===de||c.data===ce))return b}else if(19===b.tag&&void 0!==b.memoizedProps.revealOrder){if(0!==(b.effectTag&64))return b}else if(null!==b.child){b.child.return=b;b=b.child;continue}if(b===a)break;for(;null===b.sibling;){if(null===b.return||b.return===a)return null;b=b.return}b.sibling.return=b.return;b=b.sibling}return null}function ye(a,b){return{responder:a,props:b}} +function S(){throw Error(m(321));}function ze(a,b){if(null===b)return!1;for(var c=0;cf))throw Error(m(301));f+=1;J=K=null;b.updateQueue=null;Sc.current=sj;a=c(d,e)}while(b.expirationTime===Ha)}Sc.current=Tc;b=null!==K&&null!==K.next; +Ha=0;J=K=E=null;Uc=!1;if(b)throw Error(m(300));return a}function wb(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};null===J?E.memoizedState=J=a:J=J.next=a;return J}function xb(){if(null===K){var a=E.alternate;a=null!==a?a.memoizedState:null}else a=K.next;var b=null===J?E.memoizedState:J.next;if(null!==b)J=b,K=a;else{if(null===a)throw Error(m(310));K=a;a={memoizedState:K.memoizedState,baseState:K.baseState,baseQueue:K.baseQueue,queue:K.queue,next:null};null===J?E.memoizedState= +J=a:J=J.next=a}return J}function Ta(a,b){return"function"===typeof b?b(a):b}function Vc(a,b,c){b=xb();c=b.queue;if(null===c)throw Error(m(311));c.lastRenderedReducer=a;var d=K,e=d.baseQueue,f=c.pending;if(null!==f){if(null!==e){var g=e.next;e.next=f.next;f.next=g}d.baseQueue=e=f;c.pending=null}if(null!==e){e=e.next;d=d.baseState;var h=g=f=null,l=e;do{var n=l.expirationTime;if(nE.expirationTime&&(E.expirationTime=n,Kc(n))}else null!==h&&(h=h.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),bh(n,l.suspenseConfig),d=l.eagerReducer===a?l.eagerState:a(d,l.action);l=l.next}while(null!==l&&l!==e);null===h?f=d:h.next=g;Pa(d,b.memoizedState)||(ha=!0);b.memoizedState=d;b.baseState=f;b.baseQueue=h;c.lastRenderedState=d}return[b.memoizedState, +c.dispatch]}function Wc(a,b,c){b=xb();c=b.queue;if(null===c)throw Error(m(311));c.lastRenderedReducer=a;var d=c.dispatch,e=c.pending,f=b.memoizedState;if(null!==e){c.pending=null;var g=e=e.next;do f=a(f,g.action),g=g.next;while(g!==e);Pa(f,b.memoizedState)||(ha=!0);b.memoizedState=f;null===b.baseQueue&&(b.baseState=f);c.lastRenderedState=f}return[f,d]}function Be(a){var b=wb();"function"===typeof a&&(a=a());b.memoizedState=b.baseState=a;a=b.queue={pending:null,dispatch:null,lastRenderedReducer:Ta, +lastRenderedState:a};a=a.dispatch=jh.bind(null,E,a);return[b.memoizedState,a]}function Ce(a,b,c,d){a={tag:a,create:b,destroy:c,deps:d,next:null};b=E.updateQueue;null===b?(b={lastEffect:null},E.updateQueue=b,b.lastEffect=a.next=a):(c=b.lastEffect,null===c?b.lastEffect=a.next=a:(d=c.next,c.next=a,a.next=d,b.lastEffect=a));return a}function kh(a){return xb().memoizedState}function De(a,b,c,d){var e=wb();E.effectTag|=a;e.memoizedState=Ce(1|b,c,void 0,void 0===d?null:d)}function Ee(a,b,c,d){var e=xb(); +d=void 0===d?null:d;var f=void 0;if(null!==K){var g=K.memoizedState;f=g.destroy;if(null!==d&&ze(d,g.deps)){Ce(b,c,f,d);return}}E.effectTag|=a;e.memoizedState=Ce(1|b,c,f,d)}function lh(a,b){return De(516,4,a,b)}function Xc(a,b){return Ee(516,4,a,b)}function mh(a,b){return Ee(4,2,a,b)}function nh(a,b){if("function"===typeof b)return a=a(),b(a),function(){b(null)};if(null!==b&&void 0!==b)return a=a(),b.current=a,function(){b.current=null}}function oh(a,b,c){c=null!==c&&void 0!==c?c.concat([a]):null; +return Ee(4,2,nh.bind(null,b,a),c)}function Fe(a,b){}function ph(a,b){wb().memoizedState=[a,void 0===b?null:b];return a}function Yc(a,b){var c=xb();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&ze(b,d[1]))return d[0];c.memoizedState=[a,b];return a}function qh(a,b){var c=xb();b=void 0===b?null:b;var d=c.memoizedState;if(null!==d&&null!==b&&ze(b,d[1]))return d[0];a=a();c.memoizedState=[a,b];return a}function Ge(a,b,c){var d=Cc();pa(98>d?98:d,function(){a(!0)});pa(97\x3c/script>",a=a.removeChild(a.firstChild)):"string"===typeof d.is?a=g.createElement(e,{is:d.is}):(a=g.createElement(e),"select"===e&&(g=a,d.multiple?g.multiple=!0:d.size&&(g.size=d.size))):a=g.createElementNS(a,e);a[Aa]=b;a[vc]=d;wj(a,b,!1,!1);b.stateNode=a;g=Zd(e,d);switch(e){case "iframe":case "object":case "embed":x("load",a);h=d;break;case "video":case "audio":for(h=0;hd.tailExpiration&& -1d.tailExpiration&& +1a?c:a;return 2>=a&&b!==a?0:a}function U(a){if(0!==a.lastExpiredTime)a.callbackExpirationTime=1073741823,a.callbackPriority=99,a.callbackNode=Wg(Xe.bind(null,a));else{var b=fd(a),c=a.callbackNode;if(0===b)null!==c&&(a.callbackNode=null,a.callbackExpirationTime=0,a.callbackPriority=90);else{var d=ia(); -1073741823===b?d=99:1===b||2===b?d=95:(d=10*(1073741821-b)-10*(1073741821-d),d=0>=d?99:250>=d?98:5250>=d?97:95);if(null!==c){var e=a.callbackPriority;if(a.callbackExpirationTime===b&&e>=d)return;c!==Yg&&Zg(c)}a.callbackExpirationTime=b;a.callbackPriority=d;b=1073741823===b?Wg(Xe.bind(null,a)):Vg(d,Th.bind(null,a),{timeout:10*(1073741821-b)-Y()});a.callbackNode=b}}}function Th(a,b){dd=0;if(b)return b=ia(),Ye(a,b),U(a),null;var c=fd(a);if(0!==c){b=a.callbackNode;if((n&(da|ka))!==F)throw Error(k(327)); -Za();a===T&&c===N||$a(a,c);if(null!==t){var d=n;n|=da;var e=Uh();do try{Gj();break}catch(h){Vh(a,h)}while(1);pe();n=d;gd.current=e;if(E===hd)throw b=id,$a(a,c),Xa(a,c),U(a),b;if(null===t)switch(e=a.finishedWork=a.current.alternate,a.finishedExpirationTime=c,d=E,T=null,d){case Wa:case hd:throw Error(k(345));case Wh:Ye(a,2=c){a.lastPingedTime= -c;$a(a,c);break}}f=fd(a);if(0!==f&&f!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}a.timeoutHandle=$e(ab.bind(null,a),e);break}ab(a);break;case bd:Xa(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=Ze(e));if(jd&&(e=a.lastPingedTime,0===e||e>=c)){a.lastPingedTime=c;$a(a,c);break}e=fd(a);if(0!==e&&e!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}1073741823!==Zb?d=10*(1073741821-Zb)-Y():1073741823===sa?d=0:(d=10*(1073741821-sa)-5E3,e=Y(),c=10*(1073741821-c)-e,d=e-d,0>d&&(d=0),d= -(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*Hj(d/1960))-d,c=d?d=0:(e=g.busyDelayMs|0,f=Y()-(10*(1073741821-f)-(g.timeoutMs|0||5E3)),d=f<=e?0:e+d-f);if(10 component higher in the tree to provide a loading indicator or placeholder to display."+ -xd(g))}E!==af&&(E=Wh);h=Pe(h,g);k=f;do{switch(k.tag){case 3:m=h;k.effectTag|=4096;k.expirationTime=b;var B=Qh(k,m,b);bh(k,B);break a;case 1:m=h;var u=k.type,F=k.stateNode;if(0===(k.effectTag&64)&&("function"===typeof u.getDerivedStateFromError||null!==F&&"function"===typeof F.componentDidCatch&&(null===Ja||!Ja.has(F)))){k.effectTag|=4096;k.expirationTime=b;var G=Rh(k,m,b);bh(k,G);break a}}k=k.return}while(null!==k)}t=ai(t)}catch(rj){b=rj;continue}break}while(1)}function Uh(a){a=gd.current;gd.current= -Tc;return null===a?Tc:a}function ch(a,b){aYb&&(Yb=a)}function Ij(){for(;null!==t;)t=bi(t)}function Gj(){for(;null!==t&&!Nj();)t=bi(t)}function bi(a){var b=Oj(a.alternate,a,N);a.memoizedProps=a.pendingProps;null===b&&(b=ai(a));ci.current=null;return b}function ai(a){t=a;do{var b=t.alternate;a=t.return;if(0===(t.effectTag&2048)){b=wj(b,t,N);if(1===N||1!==t.childExpirationTime){for(var c=0,d=t.child;null!==d;){var e=d.expirationTime, -f=d.childExpirationTime;e>c&&(c=e);f>c&&(c=f);d=d.sibling}t.childExpirationTime=c}if(null!==b)return b;null!==a&&0===(a.effectTag&2048)&&(null===a.firstEffect&&(a.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=t.firstEffect),a.lastEffect=t.lastEffect),1a?b:a}function ab(a){var b=Cc();oa(99,Pj.bind(null,a,b));return null}function Pj(a,b){do Za();while(null!==$b);if((n&(da|ka))!==F)throw Error(k(327));var c=a.finishedWork,d=a.finishedExpirationTime;if(null===c)return null;a.finishedWork=null;a.finishedExpirationTime=0;if(c===a.current)throw Error(k(177));a.callbackNode=null;a.callbackExpirationTime= -0;a.callbackPriority=90;a.nextKnownPendingLevel=0;var e=Ze(c);a.firstPendingTime=e;d<=a.lastSuspendedTime?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:d<=a.firstSuspendedTime&&(a.firstSuspendedTime=d-1);d<=a.lastPingedTime&&(a.lastPingedTime=0);d<=a.lastExpiredTime&&(a.lastExpiredTime=0);a===T&&(t=T=null,N=0);1h&&(p=h,h=g,g=p),p=qg(z,g),q=qg(z,h),p&&q&&(1!==u.rangeCount||u.anchorNode!==p.node||u.anchorOffset!==p.offset||u.focusNode!==q.node||u.focusOffset!==q.offset)&&(B=B.createRange(), -B.setStart(p.node,p.offset),u.removeAllRanges(),g>h?(u.addRange(B),u.extend(q.node,q.offset)):(B.setEnd(q.node,q.offset),u.addRange(B))))));B=[];for(u=z;u=u.parentNode;)1===u.nodeType&&B.push({element:u,left:u.scrollLeft,top:u.scrollTop});"function"===typeof z.focus&&z.focus();for(z=0;za?c:a;return 2>=a&&b!==a?0:a}function V(a){if(0!==a.lastExpiredTime)a.callbackExpirationTime=1073741823,a.callbackPriority=99,a.callbackNode=Vg(Xe.bind(null,a));else{var b=fd(a),c=a.callbackNode;if(0===b)null!==c&&(a.callbackNode=null,a.callbackExpirationTime=0,a.callbackPriority=90);else{var d=ja(); +1073741823===b?d=99:1===b||2===b?d=95:(d=10*(1073741821-b)-10*(1073741821-d),d=0>=d?99:250>=d?98:5250>=d?97:95);if(null!==c){var e=a.callbackPriority;if(a.callbackExpirationTime===b&&e>=d)return;c!==Xg&&Yg(c)}a.callbackExpirationTime=b;a.callbackPriority=d;b=1073741823===b?Vg(Xe.bind(null,a)):Ug(d,Sh.bind(null,a),{timeout:10*(1073741821-b)-Z()});a.callbackNode=b}}}function Sh(a,b){dd=0;if(b)return b=ja(),Ye(a,b),V(a),null;var c=fd(a);if(0!==c){b=a.callbackNode;if((p&(da|la))!==G)throw Error(m(327)); +Za();a===U&&c===O||$a(a,c);if(null!==t){var d=p;p|=da;var e=Th();do try{Ej();break}catch(h){Uh(a,h)}while(1);pe();p=d;gd.current=e;if(F===hd)throw b=id,$a(a,c),Xa(a,c),V(a),b;if(null===t)switch(e=a.finishedWork=a.current.alternate,a.finishedExpirationTime=c,d=F,U=null,d){case Wa:case hd:throw Error(m(345));case Vh:Ye(a,2=c){a.lastPingedTime= +c;$a(a,c);break}}f=fd(a);if(0!==f&&f!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}a.timeoutHandle=$e(ab.bind(null,a),e);break}ab(a);break;case bd:Xa(a,c);d=a.lastSuspendedTime;c===d&&(a.nextKnownPendingLevel=Ze(e));if(jd&&(e=a.lastPingedTime,0===e||e>=c)){a.lastPingedTime=c;$a(a,c);break}e=fd(a);if(0!==e&&e!==c)break;if(0!==d&&d!==c){a.lastPingedTime=d;break}1073741823!==Zb?d=10*(1073741821-Zb)-Z():1073741823===ta?d=0:(d=10*(1073741821-ta)-5E3,e=Z(),c=10*(1073741821-c)-e,d=e-d,0>d&&(d=0),d= +(120>d?120:480>d?480:1080>d?1080:1920>d?1920:3E3>d?3E3:4320>d?4320:1960*Fj(d/1960))-d,c=d?d=0:(e=g.busyDelayMs|0,f=Z()-(10*(1073741821-f)-(g.timeoutMs|0||5E3)),d=f<=e?0:e+d-f);if(10 component higher in the tree to provide a loading indicator or placeholder to display."+ +xd(g))}F!==af&&(F=Vh);h=Pe(h,g);m=f;do{switch(m.tag){case 3:l=h;m.effectTag|=4096;m.expirationTime=b;var C=Ph(m,l,b);ah(m,C);break a;case 1:l=h;var u=m.type,D=m.stateNode;if(0===(m.effectTag&64)&&("function"===typeof u.getDerivedStateFromError||null!==D&&"function"===typeof D.componentDidCatch&&(null===Ka||!Ka.has(D)))){m.effectTag|=4096;m.expirationTime=b;var G=Qh(m,l,b);ah(m,G);break a}}m=m.return}while(null!==m)}t=$h(t)}catch(pj){b=pj;continue}break}while(1)}function Th(a){a=gd.current;gd.current= +Tc;return null===a?Tc:a}function bh(a,b){aYb&&(Yb=a)}function Gj(){for(;null!==t;)t=ai(t)}function Ej(){for(;null!==t&&!Lj();)t=ai(t)}function ai(a){var b=Mj(a.alternate,a,O);a.memoizedProps=a.pendingProps;null===b&&(b=$h(a));bi.current=null;return b}function $h(a){t=a;do{var b=t.alternate;a=t.return;if(0===(t.effectTag&2048)){b=uj(b,t,O);if(1===O||1!==t.childExpirationTime){for(var c=0,d=t.child;null!==d;){var e=d.expirationTime, +f=d.childExpirationTime;e>c&&(c=e);f>c&&(c=f);d=d.sibling}t.childExpirationTime=c}if(null!==b)return b;null!==a&&0===(a.effectTag&2048)&&(null===a.firstEffect&&(a.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==a.lastEffect&&(a.lastEffect.nextEffect=t.firstEffect),a.lastEffect=t.lastEffect),1a?b:a}function ab(a){var b=Cc();pa(99,Nj.bind(null,a,b));return null}function Nj(a,b){do Za();while(null!==$b);if((p&(da|la))!==G)throw Error(m(327));var c=a.finishedWork,d=a.finishedExpirationTime;if(null===c)return null;a.finishedWork=null;a.finishedExpirationTime=0;if(c===a.current)throw Error(m(177));a.callbackNode=null;a.callbackExpirationTime= +0;a.callbackPriority=90;a.nextKnownPendingLevel=0;var e=Ze(c);a.firstPendingTime=e;d<=a.lastSuspendedTime?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:d<=a.firstSuspendedTime&&(a.firstSuspendedTime=d-1);d<=a.lastPingedTime&&(a.lastPingedTime=0);d<=a.lastExpiredTime&&(a.lastExpiredTime=0);a===U&&(t=U=null,O=0);1h&&(n=h,h=g,g=n),n=pg(z,g),q=pg(z,h),n&&q&&(1!==u.rangeCount||u.anchorNode!==n.node||u.anchorOffset!==n.offset||u.focusNode!==q.node||u.focusOffset!==q.offset)&&(C=C.createRange(), +C.setStart(n.node,n.offset),u.removeAllRanges(),g>h?(u.addRange(C),u.extend(q.node,q.offset)):(C.setEnd(q.node,q.offset),u.addRange(C))))));C=[];for(u=z;u=u.parentNode;)1===u.nodeType&&C.push({element:u,left:u.scrollLeft,top:u.scrollTop});"function"===typeof z.focus&&z.focus();for(z=0;z=b&&a<=b}function Xa(a,b){var c=a.firstSuspendedTime,d=a.lastSuspendedTime; -cb||0===c)a.lastSuspendedTime=b;b<=a.lastPingedTime&&(a.lastPingedTime=0);b<=a.lastExpiredTime&&(a.lastExpiredTime=0)}function Gh(a,b){b>a.firstPendingTime&&(a.firstPendingTime=b);var c=a.firstSuspendedTime;0!==c&&(b>=c?a.firstSuspendedTime=a.lastSuspendedTime=a.nextKnownPendingLevel=0:b>=a.lastSuspendedTime&&(a.lastSuspendedTime=b+1),b>a.nextKnownPendingLevel&&(a.nextKnownPendingLevel=b))}function Ye(a,b){var c=a.lastExpiredTime;if(0===c||c>b)a.lastExpiredTime=b} -function Yj(a){if(null===md)try{var b=("require"+Math.random()).slice(0,7);md=(module&&module[b])("timers").setImmediate}catch(c){md=function(a){var b=new MessageChannel;b.port1.onmessage=a;b.port2.postMessage(void 0)}}return md(a)}function nd(a,b,c,d){var e=b.current,f=ia(),g=Wb.suspense;f=Ua(f,e,g);a:if(c){c=c._reactInternalFiber;b:{if(Ma(c)!==c||1!==c.tag)throw Error(k(170));var h=c;do{switch(h.tag){case 3:h=h.stateNode.context;break b;case 1:if(M(h.type)){h=h.stateNode.__reactInternalMemoizedMergedChildContext; -break b}}h=h.return}while(null!==h);throw Error(k(171));}if(1===c.tag){var m=c.type;if(M(m)){c=Og(c,m,h);break a}}c=h}else c=Ba;null===b.context?b.context=c:b.pendingContext=c;b=Ca(f,g);b.payload={element:a};d=void 0===d?null:d;null!==d&&(b.callback=d);Da(e,b);Ha(e,f);return f}function hf(a){a=a.current;if(!a.child)return null;switch(a.child.tag){case 5:return a.child.stateNode;default:return a.child.stateNode}}function ei(a,b){a=a.memoizedState;null!==a&&null!==a.dehydrated&&a.retryTime