diff --git a/index.js b/index.js index 983ae27..1eabefb 100644 --- a/index.js +++ b/index.js @@ -6,187 +6,62 @@ var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; - var __markAsModule = target => - __defProp(target, '__esModule', { value: true }); var __commonJS = (cb, mod) => function __require() { return ( mod || - (0, cb[Object.keys(cb)[0]])( + (0, cb[__getOwnPropNames(cb)[0]])( (mod = { exports: {} }).exports, mod ), mod.exports ); }; - var __reExport = (target, module, desc) => { - if ( - (module && typeof module === 'object') || - typeof module === 'function' - ) { - for (let key of __getOwnPropNames(module)) - if (!__hasOwnProp.call(target, key) && key !== 'default') - __defProp(target, key, { - get: () => module[key], + var __copyProps = (to, from, except, desc) => { + if ((from && typeof from === 'object') || typeof from === 'function') { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { + get: () => from[key], enumerable: - !(desc = __getOwnPropDesc(module, key)) || + !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } - return target; + return to; }; - var __toModule = module => { - return __reExport( - __markAsModule( - __defProp( - module != null ? __create(__getProtoOf(module)) : {}, - 'default', - module && module.__esModule && 'default' in module - ? { get: () => module.default, enumerable: true } - : { value: module, enumerable: true } - ) - ), - module - ); - }; - - // node_modules/object-assign/index.js - var require_object_assign = __commonJS({ - 'node_modules/object-assign/index.js'(exports, module) { - 'use strict'; - var getOwnPropertySymbols = Object.getOwnPropertySymbols; - var hasOwnProperty = Object.prototype.hasOwnProperty; - var propIsEnumerable = Object.prototype.propertyIsEnumerable; - function toObject(val) { - if (val === null || val === void 0) { - throw new TypeError( - 'Object.assign cannot be called with null or undefined' - ); - } - return Object(val); - } - function shouldUseNative() { - try { - if (!Object.assign) { - return false; - } - var test1 = new String('abc'); - test1[5] = 'de'; - if (Object.getOwnPropertyNames(test1)[0] === '5') { - return false; - } - var test2 = {}; - for (var i = 0; i < 10; i++) { - test2['_' + String.fromCharCode(i)] = i; - } - var order2 = Object.getOwnPropertyNames(test2).map( - function (n) { - return test2[n]; - } - ); - if (order2.join('') !== '0123456789') { - return false; - } - var test3 = {}; - 'abcdefghijklmnopqrst'.split('').forEach(function (letter) { - test3[letter] = letter; - }); - if ( - Object.keys(Object.assign({}, test3)).join('') !== - 'abcdefghijklmnopqrst' - ) { - return false; - } - return true; - } catch (err) { - return false; - } - } - module.exports = shouldUseNative() - ? Object.assign - : function (target, source) { - var from; - var to = toObject(target); - var symbols; - for (var s = 1; s < arguments.length; s++) { - from = Object(arguments[s]); - for (var key in from) { - if (hasOwnProperty.call(from, key)) { - to[key] = from[key]; - } - } - if (getOwnPropertySymbols) { - symbols = getOwnPropertySymbols(from); - for (var i = 0; i < symbols.length; i++) { - if ( - propIsEnumerable.call(from, symbols[i]) - ) { - to[symbols[i]] = from[symbols[i]]; - } - } - } - } - return to; - }; - } - }); + var __toESM = (mod, isNodeMode, target) => ( + (target = mod != null ? __create(__getProtoOf(mod)) : {}), + __copyProps( + isNodeMode || !mod || !mod.__esModule + ? __defProp(target, 'default', { value: mod, enumerable: true }) + : target, + mod + ) + ); // node_modules/react/cjs/react.production.min.js var require_react_production_min = __commonJS({ 'node_modules/react/cjs/react.production.min.js'(exports) { 'use strict'; - var l = require_object_assign(); - var n = 60103; - var p = 60106; - exports.Fragment = 60107; - exports.StrictMode = 60108; - exports.Profiler = 60114; - var q = 60109; - var r = 60110; - var t = 60112; - exports.Suspense = 60113; - var u = 60115; - var v = 60116; - if (typeof Symbol === 'function' && Symbol.for) { - w = Symbol.for; - n = w('react.element'); - p = w('react.portal'); - exports.Fragment = w('react.fragment'); - exports.StrictMode = w('react.strict_mode'); - exports.Profiler = w('react.profiler'); - q = w('react.provider'); - r = w('react.context'); - t = w('react.forward_ref'); - exports.Suspense = w('react.suspense'); - u = w('react.memo'); - v = w('react.lazy'); - } - var w; - var x = typeof Symbol === 'function' && Symbol.iterator; - function y(a) { - if (a === null || typeof a !== 'object') return null; - a = (x && a[x]) || a['@@iterator']; - return typeof a === 'function' ? a : null; - } - function z(a) { - for ( - var b = - 'https://reactjs.org/docs/error-decoder.html?invariant=' + - a, - c = 1; - c < arguments.length; - c++ - ) - b += '&args[]=' + encodeURIComponent(arguments[c]); - return ( - 'Minified React error #' + - a + - '; visit ' + - b + - ' for the full message or use the non-minified dev environment for full errors and additional helpful warnings.' - ); - } - var A = { + var l = Symbol.for('react.element'); + var n = Symbol.for('react.portal'); + var p = Symbol.for('react.fragment'); + var q = Symbol.for('react.strict_mode'); + var r = Symbol.for('react.profiler'); + var t = Symbol.for('react.provider'); + var u = Symbol.for('react.context'); + var v = Symbol.for('react.forward_ref'); + var w = Symbol.for('react.suspense'); + var x = Symbol.for('react.memo'); + var y = Symbol.for('react.lazy'); + var z = Symbol.iterator; + function A(a) { + if (null === a || 'object' !== typeof a) return null; + a = (z && a[z]) || a['@@iterator']; + return 'function' === typeof a ? a : null; + } + var B = { isMounted: function () { return false; }, @@ -194,73 +69,77 @@ enqueueReplaceState: function () {}, enqueueSetState: function () {} }; - var B = {}; - function C(a, b, c) { + var C = Object.assign; + var D = {}; + function E(a, b, e) { this.props = a; this.context = b; - this.refs = B; - this.updater = c || A; + this.refs = D; + this.updater = e || B; } - C.prototype.isReactComponent = {}; - C.prototype.setState = function (a, b) { + E.prototype.isReactComponent = {}; + E.prototype.setState = function (a, b) { if ( - typeof a !== 'object' && - typeof a !== 'function' && - a != null + 'object' !== typeof a && + 'function' !== typeof a && + null != a ) - throw Error(z(85)); + throw Error( + 'setState(...): takes an object of state variables to update or a function which returns an object of state variables.' + ); this.updater.enqueueSetState(this, a, b, 'setState'); }; - C.prototype.forceUpdate = function (a) { + E.prototype.forceUpdate = function (a) { this.updater.enqueueForceUpdate(this, a, 'forceUpdate'); }; - function D() {} - D.prototype = C.prototype; - function E(a, b, c) { + function F() {} + F.prototype = E.prototype; + function G(a, b, e) { this.props = a; this.context = b; - this.refs = B; - this.updater = c || A; - } - var F = (E.prototype = new D()); - F.constructor = E; - l(F, C.prototype); - F.isPureReactComponent = true; - var G = { current: null }; - var H = Object.prototype.hasOwnProperty; - var I = { key: true, ref: true, __self: true, __source: true }; - function J(a, b, c) { - var e, - d = {}, + this.refs = D; + this.updater = e || B; + } + var H = (G.prototype = new F()); + H.constructor = G; + C(H, E.prototype); + H.isPureReactComponent = true; + var I = Array.isArray; + var J = Object.prototype.hasOwnProperty; + var K = { current: null }; + var L = { key: true, ref: true, __self: true, __source: true }; + function M(a, b, e) { + var d, + c = {}, k = null, h = null; - if (b != null) - for (e in (b.ref !== void 0 && (h = b.ref), - b.key !== void 0 && (k = '' + b.key), + if (null != b) + for (d in (void 0 !== b.ref && (h = b.ref), + void 0 !== b.key && (k = '' + b.key), b)) - H.call(b, e) && !I.hasOwnProperty(e) && (d[e] = b[e]); + J.call(b, d) && !L.hasOwnProperty(d) && (c[d] = b[d]); var g = arguments.length - 2; - if (g === 1) d.children = c; + if (1 === g) c.children = e; else if (1 < g) { for (var f = Array(g), m = 0; m < g; m++) f[m] = arguments[m + 2]; - d.children = f; + c.children = f; } if (a && a.defaultProps) - for (e in ((g = a.defaultProps), g)) - d[e] === void 0 && (d[e] = g[e]); + for (d in ((g = a.defaultProps), g)) + void 0 === c[d] && (c[d] = g[d]); return { - $$typeof: n, + $$typeof: l, type: a, key: k, ref: h, - props: d, - _owner: G.current + props: c, + _owner: K.current }; } - function K(a, b) { + function N(a, b) { return { - $$typeof: n, + $$typeof: l, type: a.type, key: b, ref: a.ref, @@ -268,8 +147,8 @@ _owner: a._owner }; } - function L(a) { - return typeof a === 'object' && a !== null && a.$$typeof === n; + function O(a) { + return 'object' === typeof a && null !== a && a.$$typeof === l; } function escape(a) { var b = { '=': '=0', ':': '=2' }; @@ -280,17 +159,17 @@ }) ); } - var M = /\/+/g; - function N(a, b) { - return typeof a === 'object' && a !== null && a.key != null + var P = /\/+/g; + function Q(a, b) { + return 'object' === typeof a && null !== a && null != a.key ? escape('' + a.key) : b.toString(36); } - function O(a, b, c, e, d) { + function R(a, b, e, d, c) { var k = typeof a; - if (k === 'undefined' || k === 'boolean') a = null; + if ('undefined' === k || 'boolean' === k) a = null; var h = false; - if (a === null) h = true; + if (null === a) h = true; else switch (k) { case 'string': @@ -299,194 +178,196 @@ break; case 'object': switch (a.$$typeof) { + case l: case n: - case p: h = true; } } if (h) return ( (h = a), - (d = d(h)), - (a = e === '' ? '.' + N(h, 0) : e), - Array.isArray(d) - ? ((c = ''), - a != null && (c = a.replace(M, '$&/') + '/'), - O(d, b, c, '', function (a2) { + (c = c(h)), + (a = '' === d ? '.' + Q(h, 0) : d), + I(c) + ? ((e = ''), + null != a && (e = a.replace(P, '$&/') + '/'), + R(c, b, e, '', function (a2) { return a2; })) - : d != null && - (L(d) && - (d = K( - d, - c + - (!d.key || (h && h.key === d.key) + : null != c && + (O(c) && + (c = N( + c, + e + + (!c.key || (h && h.key === c.key) ? '' - : ('' + d.key).replace( - M, + : ('' + c.key).replace( + P, '$&/' ) + '/') + a )), - b.push(d)), + b.push(c)), 1 ); h = 0; - e = e === '' ? '.' : e + ':'; - if (Array.isArray(a)) + d = '' === d ? '.' : d + ':'; + if (I(a)) for (var g = 0; g < a.length; g++) { k = a[g]; - var f = e + N(k, g); - h += O(k, b, c, f, d); + var f = d + Q(k, g); + h += R(k, b, e, f, c); } - else if (((f = y(a)), typeof f === 'function')) + else if (((f = A(a)), 'function' === typeof f)) for (a = f.call(a), g = 0; !(k = a.next()).done; ) (k = k.value), - (f = e + N(k, g++)), - (h += O(k, b, c, f, d)); - else if (k === 'object') + (f = d + Q(k, g++)), + (h += R(k, b, e, f, c)); + else if ('object' === k) throw ( - ((b = '' + a), + ((b = String(a)), Error( - z( - 31, - b === '[object Object]' + 'Objects are not valid as a React child (found: ' + + ('[object Object]' === b ? 'object with keys {' + - Object.keys(a).join(', ') + - '}' - : b - ) + Object.keys(a).join(', ') + + '}' + : b) + + '). If you meant to render a collection of children, use an array instead.' )) ); return h; } - function P(a, b, c) { - if (a == null) return a; - var e = [], - d = 0; - O(a, e, '', '', function (a2) { - return b.call(c, a2, d++); + function S(a, b, e) { + if (null == a) return a; + var d = [], + c = 0; + R(a, d, '', '', function (a2) { + return b.call(e, a2, c++); }); - return e; + return d; } - function Q(a) { - if (a._status === -1) { + function T(a) { + if (-1 === a._status) { var b = a._result; b = b(); - a._status = 0; - a._result = b; b.then( function (b2) { - a._status === 0 && - ((b2 = b2.default), - (a._status = 1), - (a._result = b2)); + if (0 === a._status || -1 === a._status) + (a._status = 1), (a._result = b2); }, function (b2) { - a._status === 0 && - ((a._status = 2), (a._result = b2)); + if (0 === a._status || -1 === a._status) + (a._status = 2), (a._result = b2); } ); + -1 === a._status && ((a._status = 0), (a._result = b)); } - if (a._status === 1) return a._result; + if (1 === a._status) return a._result.default; throw a._result; } - var R = { current: null }; - function S() { - var a = R.current; - if (a === null) throw Error(z(321)); - return a; - } - var T = { - ReactCurrentDispatcher: R, - ReactCurrentBatchConfig: { transition: 0 }, - ReactCurrentOwner: G, - IsSomeRendererActing: { current: false }, - assign: l + var U = { current: null }; + var V = { transition: null }; + var W = { + ReactCurrentDispatcher: U, + ReactCurrentBatchConfig: V, + ReactCurrentOwner: K }; exports.Children = { - map: P, - forEach: function (a, b, c) { - P( + map: S, + forEach: function (a, b, e) { + S( a, function () { b.apply(this, arguments); }, - c + e ); }, count: function (a) { var b = 0; - P(a, function () { + S(a, function () { b++; }); return b; }, toArray: function (a) { return ( - P(a, function (a2) { + S(a, function (a2) { return a2; }) || [] ); }, only: function (a) { - if (!L(a)) throw Error(z(143)); + if (!O(a)) + throw Error( + 'React.Children.only expected to receive a single React element child.' + ); return a; } }; - exports.Component = C; - exports.PureComponent = E; - exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = T; - exports.cloneElement = function (a, b, c) { - if (a === null || a === void 0) throw Error(z(267, a)); - var e = l({}, a.props), - d = a.key, + exports.Component = E; + exports.Fragment = p; + exports.Profiler = r; + exports.PureComponent = G; + exports.StrictMode = q; + exports.Suspense = w; + exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W; + exports.cloneElement = function (a, b, e) { + if (null === a || void 0 === a) + throw Error( + 'React.cloneElement(...): The argument must be a React element, but you passed ' + + a + + '.' + ); + var d = C({}, a.props), + c = a.key, k = a.ref, h = a._owner; - if (b != null) { - b.ref !== void 0 && ((k = b.ref), (h = G.current)); - b.key !== void 0 && (d = '' + b.key); + if (null != b) { + void 0 !== b.ref && ((k = b.ref), (h = K.current)); + void 0 !== b.key && (c = '' + b.key); if (a.type && a.type.defaultProps) var g = a.type.defaultProps; for (f in b) - H.call(b, f) && - !I.hasOwnProperty(f) && - (e[f] = - b[f] === void 0 && g !== void 0 ? g[f] : b[f]); + J.call(b, f) && + !L.hasOwnProperty(f) && + (d[f] = + void 0 === b[f] && void 0 !== g ? g[f] : b[f]); } var f = arguments.length - 2; - if (f === 1) e.children = c; + if (1 === f) d.children = e; else if (1 < f) { g = Array(f); for (var m = 0; m < f; m++) g[m] = arguments[m + 2]; - e.children = g; + d.children = g; } return { - $$typeof: n, + $$typeof: l, type: a.type, - key: d, + key: c, ref: k, - props: e, + props: d, _owner: h }; }; - exports.createContext = function (a, b) { - b === void 0 && (b = null); + exports.createContext = function (a) { a = { - $$typeof: r, - _calculateChangedBits: b, + $$typeof: u, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, - Consumer: null + Consumer: null, + _defaultValue: null, + _globalName: null }; - a.Provider = { $$typeof: q, _context: a }; + a.Provider = { $$typeof: t, _context: a }; return (a.Consumer = a); }; - exports.createElement = J; + exports.createElement = M; exports.createFactory = function (a) { - var b = J.bind(null, a); + var b = M.bind(null, a); b.type = a; return b; }; @@ -494,52 +375,81 @@ return { current: null }; }; exports.forwardRef = function (a) { - return { $$typeof: t, render: a }; + return { $$typeof: v, render: a }; }; - exports.isValidElement = L; + exports.isValidElement = O; exports.lazy = function (a) { return { - $$typeof: v, + $$typeof: y, _payload: { _status: -1, _result: a }, - _init: Q + _init: T }; }; exports.memo = function (a, b) { return { - $$typeof: u, + $$typeof: x, type: a, - compare: b === void 0 ? null : b + compare: void 0 === b ? null : b }; }; + exports.startTransition = function (a) { + var b = V.transition; + V.transition = {}; + try { + a(); + } finally { + V.transition = b; + } + }; + exports.unstable_act = function () { + throw Error( + 'act(...) is not supported in production builds of React.' + ); + }; exports.useCallback = function (a, b) { - return S().useCallback(a, b); + return U.current.useCallback(a, b); }; - exports.useContext = function (a, b) { - return S().useContext(a, b); + exports.useContext = function (a) { + return U.current.useContext(a); }; exports.useDebugValue = function () {}; + exports.useDeferredValue = function (a) { + return U.current.useDeferredValue(a); + }; exports.useEffect = function (a, b) { - return S().useEffect(a, b); + return U.current.useEffect(a, b); + }; + exports.useId = function () { + return U.current.useId(); }; - exports.useImperativeHandle = function (a, b, c) { - return S().useImperativeHandle(a, b, c); + exports.useImperativeHandle = function (a, b, e) { + return U.current.useImperativeHandle(a, b, e); + }; + exports.useInsertionEffect = function (a, b) { + return U.current.useInsertionEffect(a, b); }; exports.useLayoutEffect = function (a, b) { - return S().useLayoutEffect(a, b); + return U.current.useLayoutEffect(a, b); }; exports.useMemo = function (a, b) { - return S().useMemo(a, b); + return U.current.useMemo(a, b); }; - exports.useReducer = function (a, b, c) { - return S().useReducer(a, b, c); + exports.useReducer = function (a, b, e) { + return U.current.useReducer(a, b, e); }; exports.useRef = function (a) { - return S().useRef(a); + return U.current.useRef(a); }; exports.useState = function (a) { - return S().useState(a); + return U.current.useState(a); + }; + exports.useSyncExternalStore = function (a, b, e) { + return U.current.useSyncExternalStore(a, b, e); }; - exports.version = '17.0.2'; + exports.useTransition = function () { + return U.current.useTransition(); + }; + exports.version = '18.2.0'; } }); @@ -559,13 +469,48 @@ var require_scheduler_production_min = __commonJS({ 'node_modules/scheduler/cjs/scheduler.production.min.js'(exports) { 'use strict'; - var f; - var g; - var h; - var k; + function f(a, b) { + var c = a.length; + a.push(b); + a: for (; 0 < c; ) { + var d = (c - 1) >>> 1, + e = a[d]; + if (0 < g(e, b)) (a[d] = b), (a[c] = e), (c = d); + else break a; + } + } + function h(a) { + return 0 === a.length ? null : a[0]; + } + function k(a) { + if (0 === a.length) return null; + var b = a[0], + c = a.pop(); + if (c !== b) { + a[0] = c; + a: for (var d = 0, e = a.length, w = e >>> 1; d < w; ) { + var m = 2 * (d + 1) - 1, + C = a[m], + n = m + 1, + x = a[n]; + if (0 > g(C, c)) + n < e && 0 > g(x, C) + ? ((a[d] = x), (a[n] = c), (d = n)) + : ((a[d] = C), (a[m] = c), (d = m)); + else if (n < e && 0 > g(x, c)) + (a[d] = x), (a[n] = c), (d = n); + else break a; + } + } + return b; + } + function g(a, b) { + var c = a.sortIndex - b.sortIndex; + return 0 !== c ? c : a.id - b.id; + } if ( - typeof performance === 'object' && - typeof performance.now === 'function' + 'object' === typeof performance && + 'function' === typeof performance.now ) { l = performance; exports.unstable_now = function () { @@ -580,212 +525,122 @@ var l; var p; var q; - if ( - typeof window === 'undefined' || - typeof MessageChannel !== 'function' - ) { - (t = null), - (u = null), - (w = function () { - if (t !== null) - try { - var a = exports.unstable_now(); - t(true, a); - t = null; - } catch (b) { - throw (setTimeout(w, 0), b); - } - }); - f = function (a) { - t !== null - ? setTimeout(f, 0, a) - : ((t = a), setTimeout(w, 0)); - }; - g = function (a, b) { - u = setTimeout(a, b); - }; - h = function () { - clearTimeout(u); - }; - exports.unstable_shouldYield = function () { - return false; - }; - k = exports.unstable_forceFrameRate = function () {}; - } else { - (x = window.setTimeout), (y = window.clearTimeout); - if (typeof console !== 'undefined') { - z = window.cancelAnimationFrame; - typeof window.requestAnimationFrame !== 'function' && - console.error( - "This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills" - ); - typeof z !== 'function' && - console.error( - "This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills" - ); - } - (A = false), (B = null), (C = -1), (D = 5), (E = 0); - exports.unstable_shouldYield = function () { - return exports.unstable_now() >= E; - }; - k = function () {}; - exports.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' - ) - : (D = 0 < a ? Math.floor(1e3 / a) : 5); - }; - (F = new MessageChannel()), (G = F.port2); - F.port1.onmessage = function () { - if (B !== null) { - var a = exports.unstable_now(); - E = a + D; - try { - B(true, a) - ? G.postMessage(null) - : ((A = false), (B = null)); - } catch (b) { - throw (G.postMessage(null), b); - } - } else A = false; - }; - f = function (a) { - B = a; - A || ((A = true), G.postMessage(null)); - }; - g = function (a, b) { - C = x(function () { - a(exports.unstable_now()); - }, b); - }; - h = function () { - y(C); - C = -1; - }; - } - var t; - var u; - var w; - var x; - var y; - var z; - var A; - var B; - var C; - var D; - var E; - var F; - var G; - function H(a, b) { - var c = a.length; - a.push(b); - a: for (;;) { - var d = (c - 1) >>> 1, - e = a[d]; - if (e !== void 0 && 0 < I(e, b)) - (a[d] = b), (a[c] = e), (c = d); - else break a; - } - } - function J(a) { - a = a[0]; - return a === void 0 ? null : a; - } - function K(a) { - var b = a[0]; - if (b !== void 0) { - var c = a.pop(); - if (c !== b) { - a[0] = c; - a: for (var d = 0, e = a.length; d < e; ) { - var m = 2 * (d + 1) - 1, - n = a[m], - v = m + 1, - r = a[v]; - if (n !== void 0 && 0 > I(n, c)) - r !== void 0 && 0 > I(r, n) - ? ((a[d] = r), (a[v] = c), (d = v)) - : ((a[d] = n), (a[m] = c), (d = m)); - else if (r !== void 0 && 0 > I(r, c)) - (a[d] = r), (a[v] = c), (d = v); - else break a; - } - } - return b; - } - return null; - } - function I(a, b) { - var c = a.sortIndex - b.sortIndex; - return c !== 0 ? c : a.id - b.id; - } - var L = []; - var M = []; - var N = 1; - var O = null; - var P = 3; - var Q = false; - var R = false; - var S = false; - function T(a) { - for (var b = J(M); b !== null; ) { - if (b.callback === null) K(M); + var r = []; + var t = []; + var u = 1; + var v = null; + var y = 3; + var z = false; + var A = false; + var B = false; + var D = 'function' === typeof setTimeout ? setTimeout : null; + var E = 'function' === typeof clearTimeout ? clearTimeout : null; + var F = 'undefined' !== typeof setImmediate ? setImmediate : null; + 'undefined' !== typeof navigator && + void 0 !== navigator.scheduling && + void 0 !== navigator.scheduling.isInputPending && + navigator.scheduling.isInputPending.bind(navigator.scheduling); + function G(a) { + for (var b = h(t); null !== b; ) { + if (null === b.callback) k(t); else if (b.startTime <= a) - K(M), (b.sortIndex = b.expirationTime), H(L, b); + k(t), (b.sortIndex = b.expirationTime), f(r, b); else break; - b = J(M); + b = h(t); } } - function U(a) { - S = false; - T(a); - if (!R) - if (J(L) !== null) (R = true), f(V); + function H(a) { + B = false; + G(a); + if (!A) + if (null !== h(r)) (A = true), I(J); else { - var b = J(M); - b !== null && g(U, b.startTime - a); + var b = h(t); + null !== b && K(H, b.startTime - a); } } - function V(a, b) { - R = false; - S && ((S = false), h()); - Q = true; - var c = P; + function J(a, b) { + A = false; + B && ((B = false), E(L), (L = -1)); + z = true; + var c = y; try { - T(b); + G(b); for ( - O = J(L); - O !== null && - (!(O.expirationTime > b) || - (a && !exports.unstable_shouldYield())); + v = h(r); + null !== v && (!(v.expirationTime > b) || (a && !M())); ) { - var d = O.callback; - if (typeof d === 'function') { - O.callback = null; - P = O.priorityLevel; - var e = d(O.expirationTime <= b); + var d = v.callback; + if ('function' === typeof d) { + v.callback = null; + y = v.priorityLevel; + var e = d(v.expirationTime <= b); b = exports.unstable_now(); - typeof e === 'function' - ? (O.callback = e) - : O === J(L) && K(L); - T(b); - } else K(L); - O = J(L); + 'function' === typeof e + ? (v.callback = e) + : v === h(r) && k(r); + G(b); + } else k(r); + v = h(r); } - if (O !== null) var m = true; + if (null !== v) var w = true; else { - var n = J(M); - n !== null && g(U, n.startTime - b); - m = false; + var m = h(t); + null !== m && K(H, m.startTime - b); + w = false; } - return m; + return w; } finally { - (O = null), (P = c), (Q = false); + (v = null), (y = c), (z = false); } } - var W = k; + var N = false; + var O = null; + var L = -1; + var P = 5; + var Q = -1; + function M() { + return exports.unstable_now() - Q < P ? false : true; + } + function R() { + if (null !== O) { + var a = exports.unstable_now(); + Q = a; + var b = true; + try { + b = O(true, a); + } finally { + b ? S() : ((N = false), (O = null)); + } + } else N = false; + } + var S; + if ('function' === typeof F) + S = function () { + F(R); + }; + else if ('undefined' !== typeof MessageChannel) { + (T = new MessageChannel()), (U = T.port2); + T.port1.onmessage = R; + S = function () { + U.postMessage(null); + }; + } else + S = function () { + D(R, 0); + }; + var T; + var U; + function I(a) { + O = a; + N || ((N = true), S()); + } + function K(a, b) { + L = D(function () { + a(exports.unstable_now()); + }, b); + } exports.unstable_IdlePriority = 5; exports.unstable_ImmediatePriority = 1; exports.unstable_LowPriority = 4; @@ -796,34 +651,41 @@ a.callback = null; }; exports.unstable_continueExecution = function () { - R || Q || ((R = true), f(V)); + A || z || ((A = true), I(J)); + }; + exports.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' + ) + : (P = 0 < a ? Math.floor(1e3 / a) : 5); }; exports.unstable_getCurrentPriorityLevel = function () { - return P; + return y; }; exports.unstable_getFirstCallbackNode = function () { - return J(L); + return h(r); }; exports.unstable_next = function (a) { - switch (P) { + switch (y) { case 1: case 2: case 3: var b = 3; break; default: - b = P; + b = y; } - var c = P; - P = b; + var c = y; + y = b; try { return a(); } finally { - P = c; + y = c; } }; exports.unstable_pauseExecution = function () {}; - exports.unstable_requestPaint = W; + exports.unstable_requestPaint = function () {}; exports.unstable_runWithPriority = function (a, b) { switch (a) { case 1: @@ -835,19 +697,19 @@ default: a = 3; } - var c = P; - P = a; + var c = y; + y = a; try { return b(); } finally { - P = c; + y = c; } }; exports.unstable_scheduleCallback = function (a, b, c) { var d = exports.unstable_now(); - typeof c === 'object' && c !== null + 'object' === typeof c && null !== c ? ((c = c.delay), - (c = typeof c === 'number' && 0 < c ? d + c : d)) + (c = 'number' === typeof c && 0 < c ? d + c : d)) : (c = d); switch (a) { case 1: @@ -867,7 +729,7 @@ } e = c + e; a = { - id: N++, + id: u++, callback: b, priorityLevel: a, startTime: c, @@ -876,24 +738,25 @@ }; c > d ? ((a.sortIndex = c), - H(M, a), - J(L) === null && - a === J(M) && - (S ? h() : (S = true), g(U, c - d))) + f(t, a), + null === h(r) && + a === h(t) && + (B ? (E(L), (L = -1)) : (B = true), K(H, c - d))) : ((a.sortIndex = e), - H(L, a), - R || Q || ((R = true), f(V))); + f(r, a), + A || z || ((A = true), I(J))); return a; }; + exports.unstable_shouldYield = M; exports.unstable_wrapCallback = function (a) { - var b = P; + var b = y; return function () { - var c = P; - P = b; + var c = y; + y = b; try { return a.apply(this, arguments); } finally { - P = c; + y = c; } }; }; @@ -917,9 +780,8 @@ 'node_modules/react-dom/cjs/react-dom.production.min.js'(exports) { 'use strict'; var aa = require_react(); - var m = require_object_assign(); - var r = require_scheduler(); - function y(a) { + var ca = require_scheduler(); + function p(a) { for ( var b = 'https://reactjs.org/docs/error-decoder.html?invariant=' + @@ -937,59 +799,58 @@ ' for the full message or use the non-minified dev environment for full errors and additional helpful warnings.' ); } - if (!aa) throw Error(y(227)); - var ba = new Set(); - var ca = {}; - function da(a, b) { - ea(a, b); - ea(a + 'Capture', b); - } - function ea(a, b) { - ca[a] = b; - for (a = 0; a < b.length; a++) ba.add(b[a]); - } - var fa = !( - typeof window === 'undefined' || - typeof window.document === 'undefined' || - typeof window.document.createElement === 'undefined' + var da = /* @__PURE__ */ new Set(); + var ea = {}; + function fa(a, b) { + ha(a, b); + ha(a + 'Capture', b); + } + function ha(a, b) { + ea[a] = b; + for (a = 0; a < b.length; a++) da.add(b[a]); + } + var ia = !( + 'undefined' === typeof window || + 'undefined' === typeof window.document || + 'undefined' === typeof window.document.createElement ); - var ha = + var ja = Object.prototype.hasOwnProperty; + var ka = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/; - var ia = Object.prototype.hasOwnProperty; - var ja = {}; - var ka = {}; - function la(a) { - if (ia.call(ka, a)) return true; - if (ia.call(ja, a)) return false; - if (ha.test(a)) return (ka[a] = true); - ja[a] = true; + var la = {}; + var ma = {}; + function oa(a) { + if (ja.call(ma, a)) return true; + if (ja.call(la, a)) return false; + if (ka.test(a)) return (ma[a] = true); + la[a] = true; return false; } - function ma(a, b, c, d) { - if (c !== null && c.type === 0) return false; + function pa(a, b, c, d) { + if (null !== c && 0 === c.type) return false; switch (typeof b) { case 'function': case 'symbol': return true; case 'boolean': if (d) return false; - if (c !== null) return !c.acceptsBooleans; + if (null !== c) return !c.acceptsBooleans; a = a.toLowerCase().slice(0, 5); - return a !== 'data-' && a !== 'aria-'; + return 'data-' !== a && 'aria-' !== a; default: return false; } } - function na(a, b, c, d) { - if (b === null || typeof b === 'undefined' || ma(a, b, c, d)) + function qa(a, b, c, d) { + if (null === b || 'undefined' === typeof b || pa(a, b, c, d)) return true; if (d) return false; - if (c !== null) + if (null !== c) switch (c.type) { case 3: return !b; case 4: - return b === false; + return false === b; case 5: return isNaN(b); case 6: @@ -997,8 +858,8 @@ } return false; } - function B(a, b, c, d, e, f, g) { - this.acceptsBooleans = b === 2 || b === 3 || b === 4; + function v(a, b, c, d, e, f, g) { + this.acceptsBooleans = 2 === b || 3 === b || 4 === b; this.attributeName = d; this.attributeNamespace = e; this.mustUseProperty = c; @@ -1007,11 +868,11 @@ this.sanitizeURL = f; this.removeEmptyString = g; } - var D = {}; + var z = {}; 'children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style' .split(' ') .forEach(function (a) { - D[a] = new B(a, 0, false, a, null, false, false); + z[a] = new v(a, 0, false, a, null, false, false); }); [ ['acceptCharset', 'accept-charset'], @@ -1020,11 +881,11 @@ ['httpEquiv', 'http-equiv'] ].forEach(function (a) { var b = a[0]; - D[b] = new B(b, 1, false, a[1], null, false, false); + z[b] = new v(b, 1, false, a[1], null, false, false); }); ['contentEditable', 'draggable', 'spellCheck', 'value'].forEach( function (a) { - D[a] = new B( + z[a] = new v( a, 2, false, @@ -1041,12 +902,12 @@ 'focusable', 'preserveAlpha' ].forEach(function (a) { - D[a] = new B(a, 2, false, a, null, false, false); + z[a] = new v(a, 2, false, a, null, false, false); }); 'allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope' .split(' ') .forEach(function (a) { - D[a] = new B( + z[a] = new v( a, 3, false, @@ -1057,32 +918,32 @@ ); }); ['checked', 'multiple', 'muted', 'selected'].forEach(function (a) { - D[a] = new B(a, 3, true, a, null, false, false); + z[a] = new v(a, 3, true, a, null, false, false); }); ['capture', 'download'].forEach(function (a) { - D[a] = new B(a, 4, false, a, null, false, false); + z[a] = new v(a, 4, false, a, null, false, false); }); ['cols', 'rows', 'size', 'span'].forEach(function (a) { - D[a] = new B(a, 6, false, a, null, false, false); + z[a] = new v(a, 6, false, a, null, false, false); }); ['rowSpan', 'start'].forEach(function (a) { - D[a] = new B(a, 5, false, a.toLowerCase(), null, false, false); + z[a] = new v(a, 5, false, a.toLowerCase(), null, false, false); }); - var oa = /[\-:]([a-z])/g; - function pa(a) { + var ra = /[\-:]([a-z])/g; + function sa(a) { return a[1].toUpperCase(); } 'accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height' .split(' ') .forEach(function (a) { - var b = a.replace(oa, pa); - D[b] = new B(b, 1, false, a, null, false, false); + var b = a.replace(ra, sa); + z[b] = new v(b, 1, false, a, null, false, false); }); 'xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type' .split(' ') .forEach(function (a) { - var b = a.replace(oa, pa); - D[b] = new B( + var b = a.replace(ra, sa); + z[b] = new v( b, 1, false, @@ -1093,8 +954,8 @@ ); }); ['xml:base', 'xml:lang', 'xml:space'].forEach(function (a) { - var b = a.replace(oa, pa); - D[b] = new B( + var b = a.replace(ra, sa); + z[b] = new v( b, 1, false, @@ -1105,9 +966,9 @@ ); }); ['tabIndex', 'crossOrigin'].forEach(function (a) { - D[a] = new B(a, 1, false, a.toLowerCase(), null, false, false); + z[a] = new v(a, 1, false, a.toLowerCase(), null, false, false); }); - D.xlinkHref = new B( + z.xlinkHref = new v( 'xlinkHref', 1, false, @@ -1117,104 +978,85 @@ false ); ['src', 'href', 'action', 'formAction'].forEach(function (a) { - D[a] = new B(a, 1, false, a.toLowerCase(), null, true, true); + z[a] = new v(a, 1, false, a.toLowerCase(), null, true, true); }); - function qa(a, b, c, d) { - var e = D.hasOwnProperty(b) ? D[b] : null; - var f = - e !== null - ? e.type === 0 - : d - ? false - : !(2 < b.length) || - (b[0] !== 'o' && b[0] !== 'O') || - (b[1] !== 'n' && b[1] !== 'N') - ? false - : true; - f || - (na(b, c, e, d) && (c = null), - d || e === null - ? la(b) && - (c === null - ? a.removeAttribute(b) - : a.setAttribute(b, '' + c)) - : e.mustUseProperty - ? (a[e.propertyName] = - c === null ? (e.type === 3 ? false : '') : c) - : ((b = e.attributeName), - (d = e.attributeNamespace), - c === null - ? a.removeAttribute(b) - : ((e = e.type), - (c = - e === 3 || (e === 4 && c === true) - ? '' - : '' + c), - d - ? a.setAttributeNS(d, b, c) - : a.setAttribute(b, c)))); - } - var ra = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - var sa = 60103; - var ta = 60106; - var ua = 60107; - var wa = 60108; - var xa = 60114; - var ya = 60109; - var za = 60110; - var Aa = 60112; - var Ba = 60113; - var Ca = 60120; - var Da = 60115; - var Ea = 60116; - var Fa = 60121; - var Ga = 60128; - var Ha = 60129; - var Ia = 60130; - var Ja = 60131; - if (typeof Symbol === 'function' && Symbol.for) { - E = Symbol.for; - sa = E('react.element'); - ta = E('react.portal'); - ua = E('react.fragment'); - wa = E('react.strict_mode'); - xa = E('react.profiler'); - ya = E('react.provider'); - za = E('react.context'); - Aa = E('react.forward_ref'); - Ba = E('react.suspense'); - Ca = E('react.suspense_list'); - Da = E('react.memo'); - Ea = E('react.lazy'); - Fa = E('react.block'); - E('react.scope'); - Ga = E('react.opaque.id'); - Ha = E('react.debug_trace_mode'); - Ia = E('react.offscreen'); - Ja = E('react.legacy_hidden'); - } - var E; - var Ka = typeof Symbol === 'function' && Symbol.iterator; - function La(a) { - if (a === null || typeof a !== 'object') return null; - a = (Ka && a[Ka]) || a['@@iterator']; - return typeof a === 'function' ? a : null; - } - var Ma; - function Na(a) { - if (Ma === void 0) + function ta(a, b, c, d) { + var e = z.hasOwnProperty(b) ? z[b] : null; + if ( + null !== e + ? 0 !== e.type + : d || + !(2 < b.length) || + ('o' !== b[0] && 'O' !== b[0]) || + ('n' !== b[1] && 'N' !== b[1]) + ) + qa(b, c, e, d) && (c = null), + d || null === e + ? oa(b) && + (null === c + ? a.removeAttribute(b) + : a.setAttribute(b, '' + c)) + : e.mustUseProperty + ? (a[e.propertyName] = + null === c + ? 3 === e.type + ? false + : '' + : c) + : ((b = e.attributeName), + (d = e.attributeNamespace), + null === c + ? a.removeAttribute(b) + : ((e = e.type), + (c = + 3 === e || (4 === e && true === c) + ? '' + : '' + c), + d + ? a.setAttributeNS(d, b, c) + : a.setAttribute(b, c))); + } + var ua = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + var va = Symbol.for('react.element'); + var wa = Symbol.for('react.portal'); + var ya = Symbol.for('react.fragment'); + var za = Symbol.for('react.strict_mode'); + var Aa = Symbol.for('react.profiler'); + var Ba = Symbol.for('react.provider'); + var Ca = Symbol.for('react.context'); + var Da = Symbol.for('react.forward_ref'); + var Ea = Symbol.for('react.suspense'); + var Fa = Symbol.for('react.suspense_list'); + var Ga = Symbol.for('react.memo'); + var Ha = Symbol.for('react.lazy'); + Symbol.for('react.scope'); + Symbol.for('react.debug_trace_mode'); + var Ia = Symbol.for('react.offscreen'); + Symbol.for('react.legacy_hidden'); + Symbol.for('react.cache'); + Symbol.for('react.tracing_marker'); + var Ja = Symbol.iterator; + function Ka(a) { + if (null === a || 'object' !== typeof a) return null; + a = (Ja && a[Ja]) || a['@@iterator']; + return 'function' === typeof a ? a : null; + } + var A = Object.assign; + var La; + function Ma(a) { + if (void 0 === La) try { throw Error(); } catch (c) { var b = c.stack.trim().match(/\n( *(at )?)/); - Ma = (b && b[1]) || ''; + La = (b && b[1]) || ''; } - return '\n' + Ma + a; + return '\n' + La + a; } - var Oa = false; - function Pa(a, b) { - if (!a || Oa) return ''; - Oa = true; + var Na = false; + function Oa(a, b) { + if (!a || Na) return ''; + Na = true; var c = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { @@ -1228,34 +1070,34 @@ throw Error(); } }), - typeof Reflect === 'object' && Reflect.construct) + 'object' === typeof Reflect && Reflect.construct) ) { try { Reflect.construct(b, []); - } catch (k) { - var d = k; + } catch (l) { + var d = l; } Reflect.construct(a, [], b); } else { try { b.call(); - } catch (k) { - d = k; + } catch (l) { + d = l; } a.call(b.prototype); } else { try { throw Error(); - } catch (k) { - d = k; + } catch (l) { + d = l; } a(); } - } catch (k) { - if (k && d && typeof k.stack === 'string') { + } catch (l) { + if (l && d && 'string' === typeof l.stack) { for ( - var e = k.stack.split('\n'), + var e = l.stack.split('\n'), f = d.stack.split('\n'), g = e.length - 1, h = f.length - 1; @@ -1265,105 +1107,178 @@ h--; for (; 1 <= g && 0 <= h; g--, h--) if (e[g] !== f[h]) { - if (g !== 1 || h !== 1) { + if (1 !== g || 1 !== h) { do - if ((g--, h--, 0 > h || e[g] !== f[h])) - return ( + if ( + (g--, h--, 0 > h || e[g] !== f[h]) + ) { + var k = '\n' + - e[g].replace(' at new ', ' at ') - ); + e[g].replace( + ' at new ', + ' at ' + ); + a.displayName && + k.includes('') && + (k = k.replace( + '', + a.displayName + )); + return k; + } while (1 <= g && 0 <= h); } break; } } } finally { - (Oa = false), (Error.prepareStackTrace = c); + (Na = false), (Error.prepareStackTrace = c); } - return (a = a ? a.displayName || a.name : '') ? Na(a) : ''; + return (a = a ? a.displayName || a.name : '') ? Ma(a) : ''; } - function Qa(a) { + function Pa(a) { switch (a.tag) { case 5: - return Na(a.type); + return Ma(a.type); case 16: - return Na('Lazy'); + return Ma('Lazy'); case 13: - return Na('Suspense'); + return Ma('Suspense'); case 19: - return Na('SuspenseList'); + return Ma('SuspenseList'); case 0: case 2: case 15: - return (a = Pa(a.type, false)), a; + return (a = Oa(a.type, false)), a; case 11: - return (a = Pa(a.type.render, false)), a; - case 22: - return (a = Pa(a.type._render, false)), a; + return (a = Oa(a.type.render, false)), a; case 1: - return (a = Pa(a.type, true)), a; + return (a = Oa(a.type, true)), a; default: return ''; } } - function Ra(a) { - if (a == null) return null; - if (typeof a === 'function') + function Qa(a) { + if (null == a) return null; + if ('function' === typeof a) return a.displayName || a.name || null; - if (typeof a === 'string') return a; + if ('string' === typeof a) return a; switch (a) { - case ua: + case ya: return 'Fragment'; - case ta: + case wa: return 'Portal'; - case xa: + case Aa: return 'Profiler'; - case wa: + case za: return 'StrictMode'; - case Ba: + case Ea: return 'Suspense'; - case Ca: + case Fa: return 'SuspenseList'; } - if (typeof a === 'object') + if ('object' === typeof a) switch (a.$$typeof) { - case za: + case Ca: return (a.displayName || 'Context') + '.Consumer'; - case ya: + case Ba: return ( (a._context.displayName || 'Context') + '.Provider' ); - case Aa: + case Da: var b = a.render; - b = b.displayName || b.name || ''; + a = a.displayName; + a || + ((a = b.displayName || b.name || ''), + (a = + '' !== a + ? 'ForwardRef(' + a + ')' + : 'ForwardRef')); + return a; + case Ga: return ( - a.displayName || - (b !== '' - ? 'ForwardRef(' + b + ')' - : 'ForwardRef') + (b = a.displayName || null), + null !== b ? b : Qa(a.type) || 'Memo' ); - case Da: - return Ra(a.type); - case Fa: - return Ra(a._render); - case Ea: + case Ha: b = a._payload; a = a._init; try { - return Ra(a(b)); + return Qa(a(b)); } catch (c) {} } return null; } + function Ra(a) { + var b = a.type; + switch (a.tag) { + case 24: + return 'Cache'; + case 9: + return (b.displayName || 'Context') + '.Consumer'; + case 10: + return ( + (b._context.displayName || 'Context') + '.Provider' + ); + case 18: + return 'DehydratedFragment'; + case 11: + return ( + (a = b.render), + (a = a.displayName || a.name || ''), + b.displayName || + ('' !== a + ? 'ForwardRef(' + a + ')' + : 'ForwardRef') + ); + case 7: + return 'Fragment'; + case 5: + return b; + case 4: + return 'Portal'; + case 3: + return 'Root'; + case 6: + return 'Text'; + case 16: + return Qa(b); + case 8: + return b === za ? 'StrictMode' : 'Mode'; + case 22: + return 'Offscreen'; + case 12: + return 'Profiler'; + case 21: + return 'Scope'; + case 13: + return 'Suspense'; + case 19: + return 'SuspenseList'; + case 25: + return 'TracingMarker'; + case 1: + case 0: + case 17: + case 2: + case 14: + case 15: + if ('function' === typeof b) + return b.displayName || b.name || null; + if ('string' === typeof b) return b; + } + return null; + } function Sa(a) { switch (typeof a) { case 'boolean': case 'number': - case 'object': case 'string': case 'undefined': return a; + case 'object': + return a; default: return ''; } @@ -1372,8 +1287,8 @@ var b = a.type; return ( (a = a.nodeName) && - a.toLowerCase() === 'input' && - (b === 'checkbox' || b === 'radio') + 'input' === a.toLowerCase() && + ('checkbox' === b || 'radio' === b) ); } function Ua(a) { @@ -1385,9 +1300,9 @@ d = '' + a[b]; if ( !a.hasOwnProperty(b) && - typeof c !== 'undefined' && - typeof c.get === 'function' && - typeof c.set === 'function' + 'undefined' !== typeof c && + 'function' === typeof c.get && + 'function' === typeof c.set ) { var e = c.get, f = c.set; @@ -1430,8 +1345,8 @@ return a !== c ? (b.setValue(a), true) : false; } function Xa(a) { - a = a || (typeof document !== 'undefined' ? document : void 0); - if (typeof a === 'undefined') return null; + a = a || ('undefined' !== typeof document ? document : void 0); + if ('undefined' === typeof a) return null; try { return a.activeElement || a.body; } catch (b) { @@ -1440,52 +1355,52 @@ } function Ya(a, b) { var c = b.checked; - return m({}, b, { + return A({}, b, { defaultChecked: void 0, defaultValue: void 0, value: void 0, - checked: c != null ? c : a._wrapperState.initialChecked + checked: null != c ? c : a._wrapperState.initialChecked }); } function Za(a, b) { - var c = b.defaultValue == null ? '' : b.defaultValue, - d = b.checked != null ? b.checked : b.defaultChecked; - c = Sa(b.value != null ? b.value : c); + var c = null == b.defaultValue ? '' : b.defaultValue, + d = null != b.checked ? b.checked : b.defaultChecked; + c = Sa(null != b.value ? b.value : c); a._wrapperState = { initialChecked: d, initialValue: c, controlled: - b.type === 'checkbox' || b.type === 'radio' - ? b.checked != null - : b.value != null + 'checkbox' === b.type || 'radio' === b.type + ? null != b.checked + : null != b.value }; } - function $a(a, b) { + function ab(a, b) { b = b.checked; - b != null && qa(a, 'checked', b, false); + null != b && ta(a, 'checked', b, false); } - function ab(a, b) { - $a(a, b); + function bb(a, b) { + ab(a, b); var c = Sa(b.value), d = b.type; - if (c != null) - if (d === 'number') { - if ((c === 0 && a.value === '') || a.value != c) + if (null != c) + if ('number' === d) { + if ((0 === c && '' === a.value) || a.value != c) a.value = '' + c; } else a.value !== '' + c && (a.value = '' + c); - else if (d === 'submit' || d === 'reset') { + else if ('submit' === d || 'reset' === d) { a.removeAttribute('value'); return; } b.hasOwnProperty('value') - ? bb(a, b.type, c) + ? cb(a, b.type, c) : b.hasOwnProperty('defaultValue') && - bb(a, b.type, Sa(b.defaultValue)); - b.checked == null && - b.defaultChecked != null && + cb(a, b.type, Sa(b.defaultValue)); + null == b.checked && + null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked); } - function cb(a, b, c) { + function db(a, b, c) { if ( b.hasOwnProperty('value') || b.hasOwnProperty('defaultValue') @@ -1493,8 +1408,8 @@ var d = b.type; if ( !( - (d !== 'submit' && d !== 'reset') || - (b.value !== void 0 && b.value !== null) + ('submit' !== d && 'reset' !== d) || + (void 0 !== b.value && null !== b.value) ) ) return; @@ -1503,29 +1418,18 @@ a.defaultValue = b; } c = a.name; - c !== '' && (a.name = ''); + '' !== c && (a.name = ''); a.defaultChecked = !!a._wrapperState.initialChecked; - c !== '' && (a.name = c); + '' !== c && (a.name = c); } - function bb(a, b, c) { - if (b !== 'number' || Xa(a.ownerDocument) !== a) - c == null + function cb(a, b, c) { + if ('number' !== b || Xa(a.ownerDocument) !== a) + null == c ? (a.defaultValue = '' + a._wrapperState.initialValue) : a.defaultValue !== '' + c && (a.defaultValue = '' + c); } - function db(a) { - var b = ''; - aa.Children.forEach(a, function (a2) { - a2 != null && (b += a2); - }); - return b; - } - function eb(a, b) { - a = m({ children: void 0 }, b); - if ((b = db(b.children))) a.children = b; - return a; - } + var eb = Array.isArray; function fb(a, b, c, d) { a = a.options; if (b) { @@ -1544,14 +1448,14 @@ d && (a[e].defaultSelected = true); return; } - b !== null || a[e].disabled || (b = a[e]); + null !== b || a[e].disabled || (b = a[e]); } - b !== null && (b.selected = true); + null !== b && (b.selected = true); } } function gb(a, b) { - if (b.dangerouslySetInnerHTML != null) throw Error(y(91)); - return m({}, b, { + if (null != b.dangerouslySetInnerHTML) throw Error(p(91)); + return A({}, b, { value: void 0, defaultValue: void 0, children: '' + a._wrapperState.initialValue @@ -1559,18 +1463,18 @@ } function hb(a, b) { var c = b.value; - if (c == null) { + if (null == c) { c = b.children; b = b.defaultValue; - if (c != null) { - if (b != null) throw Error(y(92)); - if (Array.isArray(c)) { - if (!(1 >= c.length)) throw Error(y(93)); + if (null != c) { + if (null != b) throw Error(p(92)); + if (eb(c)) { + if (1 < c.length) throw Error(p(93)); c = c[0]; } b = c; } - b == null && (b = ''); + null == b && (b = ''); c = b; } a._wrapperState = { initialValue: Sa(c) }; @@ -1578,27 +1482,22 @@ function ib(a, b) { var c = Sa(b.value), d = Sa(b.defaultValue); - c != null && + null != c && ((c = '' + c), c !== a.value && (a.value = c), - b.defaultValue == null && + null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c)); - d != null && (a.defaultValue = '' + d); + null != d && (a.defaultValue = '' + d); } function jb(a) { var b = a.textContent; b === a._wrapperState.initialValue && - b !== '' && - b !== null && + '' !== b && + null !== b && (a.value = b); } - var kb = { - html: 'http://www.w3.org/1999/xhtml', - mathml: 'http://www.w3.org/1998/Math/MathML', - svg: 'http://www.w3.org/2000/svg' - }; - function lb(a) { + function kb(a) { switch (a) { case 'svg': return 'http://www.w3.org/2000/svg'; @@ -1608,17 +1507,17 @@ return 'http://www.w3.org/1999/xhtml'; } } - function mb(a, b) { - return a == null || a === 'http://www.w3.org/1999/xhtml' - ? lb(b) - : a === 'http://www.w3.org/2000/svg' && - b === 'foreignObject' + function lb(a, b) { + return null == a || 'http://www.w3.org/1999/xhtml' === a + ? kb(b) + : 'http://www.w3.org/2000/svg' === a && + 'foreignObject' === b ? 'http://www.w3.org/1999/xhtml' : a; } - var nb; - var ob = (function (a) { - return typeof MSApp !== 'undefined' && + var mb; + var nb = (function (a) { + return 'undefined' !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function (b, c, d, e) { MSApp.execUnsafeLocalFunction(function () { @@ -1627,28 +1526,32 @@ } : a; })(function (a, b) { - if (a.namespaceURI !== kb.svg || 'innerHTML' in a) + if ( + 'http://www.w3.org/2000/svg' !== a.namespaceURI || + 'innerHTML' in a + ) a.innerHTML = b; else { - nb = nb || document.createElement('div'); - nb.innerHTML = '' + b.valueOf().toString() + ''; - for (b = nb.firstChild; a.firstChild; ) + mb = mb || document.createElement('div'); + mb.innerHTML = '' + b.valueOf().toString() + ''; + for (b = mb.firstChild; a.firstChild; ) a.removeChild(a.firstChild); for (; b.firstChild; ) a.appendChild(b.firstChild); } }); - function pb(a, b) { + function ob(a, b) { if (b) { var c = a.firstChild; - if (c && c === a.lastChild && c.nodeType === 3) { + if (c && c === a.lastChild && 3 === c.nodeType) { c.nodeValue = b; return; } } a.textContent = b; } - var qb = { + var pb = { animationIterationCount: true, + aspectRatio: true, borderImageOutset: true, borderImageSlice: true, borderImageWidth: true, @@ -1691,34 +1594,34 @@ strokeOpacity: true, strokeWidth: true }; - var rb = ['Webkit', 'ms', 'Moz', 'O']; - Object.keys(qb).forEach(function (a) { - rb.forEach(function (b) { + var qb = ['Webkit', 'ms', 'Moz', 'O']; + Object.keys(pb).forEach(function (a) { + qb.forEach(function (b) { b = b + a.charAt(0).toUpperCase() + a.substring(1); - qb[b] = qb[a]; + pb[b] = pb[a]; }); }); - function sb(a, b, c) { - return b == null || typeof b === 'boolean' || b === '' + function rb(a, b, c) { + return null == b || 'boolean' === typeof b || '' === b ? '' : c || - typeof b !== 'number' || - b === 0 || - (qb.hasOwnProperty(a) && qb[a]) + 'number' !== typeof b || + 0 === b || + (pb.hasOwnProperty(a) && pb[a]) ? ('' + b).trim() : b + 'px'; } - function tb(a, b) { + function sb(a, b) { a = a.style; for (var c in b) if (b.hasOwnProperty(c)) { - var d = c.indexOf('--') === 0, - e = sb(c, b[c], d); - c === 'float' && (c = 'cssFloat'); + var d = 0 === c.indexOf('--'), + e = rb(c, b[c], d); + 'float' === c && (c = 'cssFloat'); d ? a.setProperty(c, e) : (a[c] = e); } } - var ub = m( + var tb = A( { menuitem: true }, { area: true, @@ -1738,30 +1641,28 @@ wbr: true } ); - function vb(a, b) { + function ub(a, b) { if (b) { if ( - ub[a] && - (b.children != null || - b.dangerouslySetInnerHTML != null) + tb[a] && + (null != b.children || + null != b.dangerouslySetInnerHTML) ) - throw Error(y(137, a)); - if (b.dangerouslySetInnerHTML != null) { - if (b.children != null) throw Error(y(60)); + throw Error(p(137, a)); + if (null != b.dangerouslySetInnerHTML) { + if (null != b.children) throw Error(p(60)); if ( - !( - typeof b.dangerouslySetInnerHTML === 'object' && - '__html' in b.dangerouslySetInnerHTML - ) + 'object' !== typeof b.dangerouslySetInnerHTML || + !('__html' in b.dangerouslySetInnerHTML) ) - throw Error(y(61)); + throw Error(p(61)); } - if (b.style != null && typeof b.style !== 'object') - throw Error(y(62)); + if (null != b.style && 'object' !== typeof b.style) + throw Error(p(62)); } } - function wb(a, b) { - if (a.indexOf('-') === -1) return typeof b.is === 'string'; + function vb(a, b) { + if (-1 === a.indexOf('-')) return 'string' === typeof b.is; switch (a) { case 'annotation-xml': case 'color-profile': @@ -1776,17 +1677,18 @@ return true; } } + var wb = null; function xb(a) { a = a.target || a.srcElement || window; a.correspondingUseElement && (a = a.correspondingUseElement); - return a.nodeType === 3 ? a.parentNode : a; + return 3 === a.nodeType ? a.parentNode : a; } var yb = null; var zb = null; var Ab = null; function Bb(a) { if ((a = Cb(a))) { - if (typeof yb !== 'function') throw Error(y(280)); + if ('function' !== typeof yb) throw Error(p(280)); var b = a.stateNode; b && ((b = Db(b)), yb(a.stateNode, a.type, b)); } @@ -1806,30 +1708,22 @@ function Gb(a, b) { return a(b); } - function Hb(a, b, c, d, e) { - return a(b, c, d, e); - } - function Ib() {} - var Jb = Gb; - var Kb = false; - var Lb = false; - function Mb() { - if (zb !== null || Ab !== null) Ib(), Fb(); - } - function Nb(a, b, c) { - if (Lb) return a(b, c); - Lb = true; + function Hb() {} + var Ib = false; + function Jb(a, b, c) { + if (Ib) return a(b, c); + Ib = true; try { - return Jb(a, b, c); + return Gb(a, b, c); } finally { - (Lb = false), Mb(); + if (((Ib = false), null !== zb || null !== Ab)) Hb(), Fb(); } } - function Ob(a, b) { + function Kb(a, b) { var c = a.stateNode; - if (c === null) return null; + if (null === c) return null; var d = Db(c); - if (d === null) return null; + if (null === d) return null; c = d[b]; a: switch (b) { case 'onClick': @@ -1846,10 +1740,10 @@ (d = !d.disabled) || ((a = a.type), (d = !( - a === 'button' || - a === 'input' || - a === 'select' || - a === 'textarea' + 'button' === a || + 'input' === a || + 'select' === a || + 'textarea' === a ))); a = !d; break a; @@ -1857,60 +1751,60 @@ a = false; } if (a) return null; - if (c && typeof c !== 'function') - throw Error(y(231, b, typeof c)); + if (c && 'function' !== typeof c) + throw Error(p(231, b, typeof c)); return c; } - var Pb = false; - if (fa) + var Lb = false; + if (ia) try { - Qb = {}; - Object.defineProperty(Qb, 'passive', { + Mb = {}; + Object.defineProperty(Mb, 'passive', { get: function () { - Pb = true; + Lb = true; } }); - window.addEventListener('test', Qb, Qb); - window.removeEventListener('test', Qb, Qb); + window.addEventListener('test', Mb, Mb); + window.removeEventListener('test', Mb, Mb); } catch (a) { - Pb = false; + Lb = false; } - var Qb; - function Rb(a, b, c, d, e, f, g, h, k) { + var Mb; + function Nb(a, b, c, d, e, f, g, h, k) { var l = Array.prototype.slice.call(arguments, 3); try { b.apply(c, l); - } catch (n) { - this.onError(n); + } catch (m) { + this.onError(m); } } - var Sb = false; - var Tb = null; - var Ub = false; - var Vb = null; - var Wb = { + var Ob = false; + var Pb = null; + var Qb = false; + var Rb = null; + var Sb = { onError: function (a) { - Sb = true; - Tb = a; + Ob = true; + Pb = a; } }; - function Xb(a, b, c, d, e, f, g, h, k) { - Sb = false; - Tb = null; - Rb.apply(Wb, arguments); - } - function Yb(a, b, c, d, e, f, g, h, k) { - Xb.apply(this, arguments); - if (Sb) { - if (Sb) { - var l = Tb; - Sb = false; - Tb = null; - } else throw Error(y(198)); - Ub || ((Ub = true), (Vb = l)); - } - } - function Zb(a) { + function Tb(a, b, c, d, e, f, g, h, k) { + Ob = false; + Pb = null; + Nb.apply(Sb, arguments); + } + function Ub(a, b, c, d, e, f, g, h, k) { + Tb.apply(this, arguments); + if (Ob) { + if (Ob) { + var l = Pb; + Ob = false; + Pb = null; + } else throw Error(p(198)); + Qb || ((Qb = true), (Rb = l)); + } + } + function Vb(a) { var b = a, c = a; if (a.alternate) for (; b.return; ) b = b.return; @@ -1918,39 +1812,39 @@ a = b; do (b = a), - (b.flags & 1026) !== 0 && (c = b.return), + 0 !== (b.flags & 4098) && (c = b.return), (a = b.return); while (a); } - return b.tag === 3 ? c : null; + return 3 === b.tag ? c : null; } - function $b(a) { - if (a.tag === 13) { + function Wb(a) { + if (13 === a.tag) { var b = a.memoizedState; - b === null && + null === b && ((a = a.alternate), - a !== null && (b = a.memoizedState)); - if (b !== null) return b.dehydrated; + null !== a && (b = a.memoizedState)); + if (null !== b) return b.dehydrated; } return null; } - function ac(a) { - if (Zb(a) !== a) throw Error(y(188)); + function Xb(a) { + if (Vb(a) !== a) throw Error(p(188)); } - function bc(a) { + function Yb(a) { var b = a.alternate; if (!b) { - b = Zb(a); - if (b === null) throw Error(y(188)); + b = Vb(a); + if (null === b) throw Error(p(188)); return b !== a ? null : a; } for (var c = a, d = b; ; ) { var e = c.return; - if (e === null) break; + if (null === e) break; var f = e.alternate; - if (f === null) { + if (null === f) { d = e.return; - if (d !== null) { + if (null !== d) { c = d; continue; } @@ -1958,11 +1852,11 @@ } if (e.child === f.child) { for (f = e.child; f; ) { - if (f === c) return ac(e), a; - if (f === d) return ac(e), b; + if (f === c) return Xb(e), a; + if (f === d) return Xb(e), b; f = f.sibling; } - throw Error(y(188)); + throw Error(p(188)); } if (c.return !== d.return) (c = e), (d = f); else { @@ -1997,160 +1891,382 @@ } h = h.sibling; } - if (!g) throw Error(y(189)); + if (!g) throw Error(p(189)); } } - if (c.alternate !== d) throw Error(y(190)); + if (c.alternate !== d) throw Error(p(190)); } - if (c.tag !== 3) throw Error(y(188)); + if (3 !== c.tag) throw Error(p(188)); return c.stateNode.current === c ? a : b; } - function cc(a) { - a = bc(a); - if (!a) return null; - for (var b = a; ; ) { - if (b.tag === 5 || b.tag === 6) 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 Zb(a) { + a = Yb(a); + return null !== a ? $b(a) : null; } - function dc(a, b) { - for (var c = a.alternate; b !== null; ) { - if (b === a || b === c) return true; - b = b.return; + function $b(a) { + if (5 === a.tag || 6 === a.tag) return a; + for (a = a.child; null !== a; ) { + var b = $b(a); + if (null !== b) return b; + a = a.sibling; } - return false; + return null; } - var ec; - var fc; - var gc; - var hc; - var ic = false; - var jc = []; + var ac = ca.unstable_scheduleCallback; + var bc = ca.unstable_cancelCallback; + var cc = ca.unstable_shouldYield; + var dc = ca.unstable_requestPaint; + var B = ca.unstable_now; + var ec = ca.unstable_getCurrentPriorityLevel; + var fc = ca.unstable_ImmediatePriority; + var gc = ca.unstable_UserBlockingPriority; + var hc = ca.unstable_NormalPriority; + var ic = ca.unstable_LowPriority; + var jc = ca.unstable_IdlePriority; var kc = null; var lc = null; - var mc = null; - var nc = new Map(); - var oc = new Map(); - var pc = []; - var qc = + function mc(a) { + if (lc && 'function' === typeof lc.onCommitFiberRoot) + try { + lc.onCommitFiberRoot( + kc, + a, + void 0, + 128 === (a.current.flags & 128) + ); + } catch (b) {} + } + var oc = Math.clz32 ? Math.clz32 : nc; + var pc = Math.log; + var qc = Math.LN2; + function nc(a) { + a >>>= 0; + return 0 === a ? 32 : (31 - ((pc(a) / qc) | 0)) | 0; + } + var rc = 64; + var sc = 4194304; + function tc(a) { + switch (a & -a) { + case 1: + return 1; + case 2: + return 2; + case 4: + return 4; + case 8: + return 8; + case 16: + return 16; + case 32: + return 32; + case 64: + case 128: + case 256: + case 512: + case 1024: + case 2048: + case 4096: + case 8192: + case 16384: + case 32768: + case 65536: + case 131072: + case 262144: + case 524288: + case 1048576: + case 2097152: + return a & 4194240; + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + return a & 130023424; + case 134217728: + return 134217728; + case 268435456: + return 268435456; + case 536870912: + return 536870912; + case 1073741824: + return 1073741824; + default: + return a; + } + } + function uc(a, b) { + var c = a.pendingLanes; + if (0 === c) return 0; + var d = 0, + e = a.suspendedLanes, + f = a.pingedLanes, + g = c & 268435455; + if (0 !== g) { + var h = g & ~e; + 0 !== h ? (d = tc(h)) : ((f &= g), 0 !== f && (d = tc(f))); + } else + (g = c & ~e), + 0 !== g ? (d = tc(g)) : 0 !== f && (d = tc(f)); + if (0 === d) return 0; + if ( + 0 !== b && + b !== d && + 0 === (b & e) && + ((e = d & -d), + (f = b & -b), + e >= f || (16 === e && 0 !== (f & 4194240))) + ) + return b; + 0 !== (d & 4) && (d |= c & 16); + b = a.entangledLanes; + if (0 !== b) + for (a = a.entanglements, b &= d; 0 < b; ) + (c = 31 - oc(b)), (e = 1 << c), (d |= a[c]), (b &= ~e); + return d; + } + function vc(a, b) { + switch (a) { + case 1: + case 2: + case 4: + return b + 250; + case 8: + case 16: + case 32: + case 64: + case 128: + case 256: + case 512: + case 1024: + case 2048: + case 4096: + case 8192: + case 16384: + case 32768: + case 65536: + case 131072: + case 262144: + case 524288: + case 1048576: + case 2097152: + return b + 5e3; + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + return -1; + case 134217728: + case 268435456: + case 536870912: + case 1073741824: + return -1; + default: + return -1; + } + } + function wc(a, b) { + for ( + var c = a.suspendedLanes, + d = a.pingedLanes, + e = a.expirationTimes, + f = a.pendingLanes; + 0 < f; + + ) { + var g = 31 - oc(f), + h = 1 << g, + k = e[g]; + if (-1 === k) { + if (0 === (h & c) || 0 !== (h & d)) e[g] = vc(h, b); + } else k <= b && (a.expiredLanes |= h); + f &= ~h; + } + } + function xc(a) { + a = a.pendingLanes & -1073741825; + return 0 !== a ? a : a & 1073741824 ? 1073741824 : 0; + } + function yc() { + var a = rc; + rc <<= 1; + 0 === (rc & 4194240) && (rc = 64); + return a; + } + function zc(a) { + for (var b = [], c = 0; 31 > c; c++) b.push(a); + return b; + } + function Ac(a, b, c) { + a.pendingLanes |= b; + 536870912 !== b && + ((a.suspendedLanes = 0), (a.pingedLanes = 0)); + a = a.eventTimes; + b = 31 - oc(b); + a[b] = c; + } + function Bc(a, b) { + var c = a.pendingLanes & ~b; + a.pendingLanes = b; + a.suspendedLanes = 0; + a.pingedLanes = 0; + a.expiredLanes &= b; + a.mutableReadLanes &= b; + a.entangledLanes &= b; + b = a.entanglements; + var d = a.eventTimes; + for (a = a.expirationTimes; 0 < c; ) { + var e = 31 - oc(c), + f = 1 << e; + b[e] = 0; + d[e] = -1; + a[e] = -1; + c &= ~f; + } + } + function Cc(a, b) { + var c = (a.entangledLanes |= b); + for (a = a.entanglements; c; ) { + var d = 31 - oc(c), + e = 1 << d; + (e & b) | (a[d] & b) && (a[d] |= b); + c &= ~e; + } + } + var C = 0; + function Dc(a) { + a &= -a; + return 1 < a + ? 4 < a + ? 0 !== (a & 268435455) + ? 16 + : 536870912 + : 4 + : 1; + } + var Ec; + var Fc; + var Gc; + var Hc; + var Ic; + var Jc = false; + var Kc = []; + var Lc = null; + var Mc = null; + var Nc = null; + var Oc = /* @__PURE__ */ new Map(); + var Pc = /* @__PURE__ */ new Map(); + var Qc = []; + var Rc = 'mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit'.split( ' ' ); - function rc(a, b, c, d, e) { - return { - blockedOn: a, - domEventName: b, - eventSystemFlags: c | 16, - nativeEvent: e, - targetContainers: [d] - }; - } - function sc(a, b) { + function Sc(a, b) { switch (a) { case 'focusin': case 'focusout': - kc = null; + Lc = null; break; case 'dragenter': case 'dragleave': - lc = null; + Mc = null; break; case 'mouseover': case 'mouseout': - mc = null; + Nc = null; break; case 'pointerover': case 'pointerout': - nc.delete(b.pointerId); + Oc.delete(b.pointerId); break; case 'gotpointercapture': case 'lostpointercapture': - oc.delete(b.pointerId); + Pc.delete(b.pointerId); } } - function tc(a, b, c, d, e, f) { - if (a === null || a.nativeEvent !== f) + function Tc(a, b, c, d, e, f) { + if (null === a || a.nativeEvent !== f) return ( - (a = rc(b, c, d, e, f)), - b !== null && ((b = Cb(b)), b !== null && fc(b)), + (a = { + blockedOn: b, + domEventName: c, + eventSystemFlags: d, + nativeEvent: f, + targetContainers: [e] + }), + null !== b && ((b = Cb(b)), null !== b && Fc(b)), a ); a.eventSystemFlags |= d; b = a.targetContainers; - e !== null && b.indexOf(e) === -1 && b.push(e); + null !== e && -1 === b.indexOf(e) && b.push(e); return a; } - function uc(a, b, c, d, e) { + function Uc(a, b, c, d, e) { switch (b) { case 'focusin': - return (kc = tc(kc, a, b, c, d, e)), true; + return (Lc = Tc(Lc, a, b, c, d, e)), true; case 'dragenter': - return (lc = tc(lc, a, b, c, d, e)), true; + return (Mc = Tc(Mc, a, b, c, d, e)), true; case 'mouseover': - return (mc = tc(mc, a, b, c, d, e)), true; + return (Nc = Tc(Nc, a, b, c, d, e)), true; case 'pointerover': var f = e.pointerId; - nc.set(f, tc(nc.get(f) || null, a, b, c, d, e)); + Oc.set(f, Tc(Oc.get(f) || null, a, b, c, d, e)); return true; case 'gotpointercapture': return ( (f = e.pointerId), - oc.set(f, tc(oc.get(f) || null, a, b, c, d, e)), + Pc.set(f, Tc(Pc.get(f) || null, a, b, c, d, e)), true ); } return false; } - function vc(a) { - var b = wc(a.target); - if (b !== null) { - var c = Zb(b); - if (c !== null) { - if (((b = c.tag), b === 13)) { - if (((b = $b(c)), b !== null)) { + function Vc(a) { + var b = Wc(a.target); + if (null !== b) { + var c = Vb(b); + if (null !== c) { + if (((b = c.tag), 13 === b)) { + if (((b = Wb(c)), null !== b)) { a.blockedOn = b; - hc(a.lanePriority, function () { - r.unstable_runWithPriority( - a.priority, - function () { - gc(c); - } - ); + Ic(a.priority, function () { + Gc(c); }); return; } - } else if (b === 3 && c.stateNode.hydrate) { + } else if ( + 3 === b && + c.stateNode.current.memoizedState.isDehydrated + ) { a.blockedOn = - c.tag === 3 ? c.stateNode.containerInfo : null; + 3 === c.tag ? c.stateNode.containerInfo : null; return; } } } a.blockedOn = null; } - function xc(a) { - if (a.blockedOn !== null) return false; + function Xc(a) { + if (null !== a.blockedOn) return false; for (var b = a.targetContainers; 0 < b.length; ) { - var c = yc( + var c = Yc( a.domEventName, a.eventSystemFlags, b[0], a.nativeEvent ); - if (c !== null) + if (null === c) { + c = a.nativeEvent; + var d = new c.constructor(c.type, c); + wb = d; + c.target.dispatchEvent(d); + wb = null; + } else return ( (b = Cb(c)), - b !== null && fc(b), + null !== b && Fc(b), (a.blockedOn = c), false ); @@ -2158,391 +2274,200 @@ } return true; } - function zc(a, b, c) { - xc(a) && c.delete(b); + function Zc(a, b, c) { + Xc(a) && c.delete(b); } - function Ac() { - for (ic = false; 0 < jc.length; ) { - var a = jc[0]; - if (a.blockedOn !== null) { - a = Cb(a.blockedOn); - a !== null && ec(a); - break; - } - for (var b = a.targetContainers; 0 < b.length; ) { - var c = yc( - a.domEventName, - a.eventSystemFlags, - b[0], - a.nativeEvent - ); - if (c !== null) { - a.blockedOn = c; - break; - } - b.shift(); - } - a.blockedOn === null && jc.shift(); - } - kc !== null && xc(kc) && (kc = null); - lc !== null && xc(lc) && (lc = null); - mc !== null && xc(mc) && (mc = null); - nc.forEach(zc); - oc.forEach(zc); + function $c() { + Jc = false; + null !== Lc && Xc(Lc) && (Lc = null); + null !== Mc && Xc(Mc) && (Mc = null); + null !== Nc && Xc(Nc) && (Nc = null); + Oc.forEach(Zc); + Pc.forEach(Zc); } - function Bc(a, b) { + function ad(a, b) { a.blockedOn === b && ((a.blockedOn = null), - ic || - ((ic = true), - r.unstable_scheduleCallback( - r.unstable_NormalPriority, - Ac + Jc || + ((Jc = true), + ca.unstable_scheduleCallback( + ca.unstable_NormalPriority, + $c ))); } - function Cc(a) { + function bd(a) { function b(b2) { - return Bc(b2, a); + return ad(b2, a); } - if (0 < jc.length) { - Bc(jc[0], a); - for (var c = 1; c < jc.length; c++) { - var d = jc[c]; + if (0 < Kc.length) { + ad(Kc[0], a); + for (var c = 1; c < Kc.length; c++) { + var d = Kc[c]; d.blockedOn === a && (d.blockedOn = null); } } - kc !== null && Bc(kc, a); - lc !== null && Bc(lc, a); - mc !== null && Bc(mc, a); - nc.forEach(b); - oc.forEach(b); - for (c = 0; c < pc.length; c++) - (d = pc[c]), d.blockedOn === a && (d.blockedOn = null); - for (; 0 < pc.length && ((c = pc[0]), c.blockedOn === null); ) - vc(c), c.blockedOn === null && pc.shift(); - } - function Dc(a, b) { - var c = {}; - c[a.toLowerCase()] = b.toLowerCase(); - c['Webkit' + a] = 'webkit' + b; - c['Moz' + a] = 'moz' + b; - return c; - } - var Ec = { - animationend: Dc('Animation', 'AnimationEnd'), - animationiteration: Dc('Animation', 'AnimationIteration'), - animationstart: Dc('Animation', 'AnimationStart'), - transitionend: Dc('Transition', 'TransitionEnd') - }; - var Fc = {}; - var Gc = {}; - fa && - ((Gc = document.createElement('div').style), - 'AnimationEvent' in window || - (delete Ec.animationend.animation, - delete Ec.animationiteration.animation, - delete Ec.animationstart.animation), - 'TransitionEvent' in window || - delete Ec.transitionend.transition); - function Hc(a) { - if (Fc[a]) return Fc[a]; - if (!Ec[a]) return a; - var b = Ec[a], - c; - for (c in b) - if (b.hasOwnProperty(c) && c in Gc) return (Fc[a] = b[c]); - return a; - } - var Ic = Hc('animationend'); - var Jc = Hc('animationiteration'); - var Kc = Hc('animationstart'); - var Lc = Hc('transitionend'); - var Mc = new Map(); - var Nc = new Map(); - var Oc = [ - 'abort', - 'abort', - Ic, - 'animationEnd', - Jc, - 'animationIteration', - Kc, - 'animationStart', - 'canplay', - 'canPlay', - 'canplaythrough', - 'canPlayThrough', - 'durationchange', - 'durationChange', - 'emptied', - 'emptied', - 'encrypted', - 'encrypted', - 'ended', - 'ended', - 'error', - 'error', - 'gotpointercapture', - 'gotPointerCapture', - 'load', - 'load', - 'loadeddata', - 'loadedData', - 'loadedmetadata', - 'loadedMetadata', - 'loadstart', - 'loadStart', - 'lostpointercapture', - 'lostPointerCapture', - 'playing', - 'playing', - 'progress', - 'progress', - 'seeking', - 'seeking', - 'stalled', - 'stalled', - 'suspend', - 'suspend', - 'timeupdate', - 'timeUpdate', - Lc, - 'transitionEnd', - 'waiting', - 'waiting' - ]; - function Pc(a, b) { - for (var c = 0; c < a.length; c += 2) { - var d = a[c], - e = a[c + 1]; - e = 'on' + (e[0].toUpperCase() + e.slice(1)); - Nc.set(d, b); - Mc.set(d, e); - da(e, [d]); - } - } - var Qc = r.unstable_now; - Qc(); - var F = 8; - function Rc(a) { - if ((1 & a) !== 0) return (F = 15), 1; - if ((2 & a) !== 0) return (F = 14), 2; - if ((4 & a) !== 0) return (F = 13), 4; - var b = 24 & a; - if (b !== 0) return (F = 12), b; - if ((a & 32) !== 0) return (F = 11), 32; - b = 192 & a; - if (b !== 0) return (F = 10), b; - if ((a & 256) !== 0) return (F = 9), 256; - b = 3584 & a; - if (b !== 0) return (F = 8), b; - if ((a & 4096) !== 0) return (F = 7), 4096; - b = 4186112 & a; - if (b !== 0) return (F = 6), b; - b = 62914560 & a; - if (b !== 0) return (F = 5), b; - if (a & 67108864) return (F = 4), 67108864; - if ((a & 134217728) !== 0) return (F = 3), 134217728; - b = 805306368 & a; - if (b !== 0) return (F = 2), b; - if ((1073741824 & a) !== 0) return (F = 1), 1073741824; - F = 8; - return a; - } - function Sc(a) { - switch (a) { - case 99: - return 15; - case 98: - return 10; - case 97: - case 96: - return 8; - case 95: - return 2; - default: - return 0; - } - } - function Tc(a) { - switch (a) { - case 15: - case 14: - return 99; - case 13: - case 12: - case 11: - case 10: - return 98; - case 9: - case 8: - case 7: - case 6: - case 4: - case 5: - return 97; - case 3: - case 2: - case 1: - return 95; - case 0: - return 90; - default: - throw Error(y(358, a)); - } - } - function Uc(a, b) { - var c = a.pendingLanes; - if (c === 0) return (F = 0); - var d = 0, - e = 0, - f = a.expiredLanes, - g = a.suspendedLanes, - h = a.pingedLanes; - if (f !== 0) (d = f), (e = F = 15); - else if (((f = c & 134217727), f !== 0)) { - var k = f & ~g; - k !== 0 - ? ((d = Rc(k)), (e = F)) - : ((h &= f), h !== 0 && ((d = Rc(h)), (e = F))); - } else - (f = c & ~g), - f !== 0 - ? ((d = Rc(f)), (e = F)) - : h !== 0 && ((d = Rc(h)), (e = F)); - if (d === 0) return 0; - d = 31 - Vc(d); - d = c & (((0 > d ? 0 : 1 << d) << 1) - 1); - if (b !== 0 && b !== d && (b & g) === 0) { - Rc(b); - if (e <= F) return b; - F = e; - } - b = a.entangledLanes; - if (b !== 0) - for (a = a.entanglements, b &= d; 0 < b; ) - (c = 31 - Vc(b)), (e = 1 << c), (d |= a[c]), (b &= ~e); - return d; - } - function Wc(a) { - a = a.pendingLanes & -1073741825; - return a !== 0 ? a : a & 1073741824 ? 1073741824 : 0; - } - function Xc(a, b) { - switch (a) { - case 15: - return 1; - case 14: - return 2; - case 12: - return (a = Yc(24 & ~b)), a === 0 ? Xc(10, b) : a; - case 10: - return (a = Yc(192 & ~b)), a === 0 ? Xc(8, b) : a; - case 8: - return ( - (a = Yc(3584 & ~b)), - a === 0 && - ((a = Yc(4186112 & ~b)), a === 0 && (a = 512)), - a - ); - case 2: - return ( - (b = Yc(805306368 & ~b)), - b === 0 && (b = 268435456), - b - ); + null !== Lc && ad(Lc, a); + null !== Mc && ad(Mc, a); + null !== Nc && ad(Nc, a); + Oc.forEach(b); + Pc.forEach(b); + for (c = 0; c < Qc.length; c++) + (d = Qc[c]), d.blockedOn === a && (d.blockedOn = null); + for (; 0 < Qc.length && ((c = Qc[0]), null === c.blockedOn); ) + Vc(c), null === c.blockedOn && Qc.shift(); + } + var cd = ua.ReactCurrentBatchConfig; + var dd = true; + function ed(a, b, c, d) { + var e = C, + f = cd.transition; + cd.transition = null; + try { + (C = 1), fd(a, b, c, d); + } finally { + (C = e), (cd.transition = f); } - throw Error(y(358, a)); - } - function Yc(a) { - return a & -a; - } - function Zc(a) { - for (var b = [], c = 0; 31 > c; c++) b.push(a); - return b; - } - function $c(a, b, c) { - a.pendingLanes |= b; - var d = b - 1; - a.suspendedLanes &= d; - a.pingedLanes &= d; - a = a.eventTimes; - b = 31 - Vc(b); - a[b] = c; } - var Vc = Math.clz32 ? Math.clz32 : ad; - var bd = Math.log; - var cd = Math.LN2; - function ad(a) { - return a === 0 ? 32 : (31 - ((bd(a) / cd) | 0)) | 0; - } - var dd = r.unstable_UserBlockingPriority; - var ed = r.unstable_runWithPriority; - var fd = true; function gd(a, b, c, d) { - Kb || Ib(); - var e = hd, - f = Kb; - Kb = true; + var e = C, + f = cd.transition; + cd.transition = null; try { - Hb(e, a, b, c, d); + (C = 4), fd(a, b, c, d); } finally { - (Kb = f) || Mb(); - } - } - function id(a, b, c, d) { - ed(dd, hd.bind(null, a, b, c, d)); - } - function hd(a, b, c, d) { - if (fd) { - var e; - if ( - (e = (b & 4) === 0) && - 0 < jc.length && - -1 < qc.indexOf(a) - ) - (a = rc(null, a, b, c, d)), jc.push(a); - else { - var f = yc(a, b, c, d); - if (f === null) e && sc(a, d); - else { - if (e) { - if (-1 < qc.indexOf(a)) { - a = rc(f, a, b, c, d); - jc.push(a); - return; - } - if (uc(f, a, b, c, d)) return; - sc(a, d); - } - jd(a, b, d, null, c); + (C = e), (cd.transition = f); + } + } + function fd(a, b, c, d) { + if (dd) { + var e = Yc(a, b, c, d); + if (null === e) hd(a, b, d, id, c), Sc(a, d); + else if (Uc(e, a, b, c, d)) d.stopPropagation(); + else if ((Sc(a, d), b & 4 && -1 < Rc.indexOf(a))) { + for (; null !== e; ) { + var f = Cb(e); + null !== f && Ec(f); + f = Yc(a, b, c, d); + null === f && hd(a, b, d, id, c); + if (f === e) break; + e = f; } - } - } + null !== e && d.stopPropagation(); + } else hd(a, b, d, null, c); + } + } + var id = null; + function Yc(a, b, c, d) { + id = null; + a = xb(d); + a = Wc(a); + if (null !== a) + if (((b = Vb(a)), null === b)) a = null; + else if (((c = b.tag), 13 === c)) { + a = Wb(b); + if (null !== a) return a; + a = null; + } else if (3 === c) { + if (b.stateNode.current.memoizedState.isDehydrated) + return 3 === b.tag + ? b.stateNode.containerInfo + : null; + a = null; + } else b !== a && (a = null); + id = a; + return null; } - function yc(a, b, c, d) { - var e = xb(d); - e = wc(e); - if (e !== null) { - var f = Zb(e); - if (f === null) e = null; - else { - var g = f.tag; - if (g === 13) { - e = $b(f); - if (e !== null) return e; - e = null; - } else if (g === 3) { - if (f.stateNode.hydrate) - return f.tag === 3 - ? f.stateNode.containerInfo - : null; - e = null; - } else f !== e && (e = null); - } + function jd(a) { + switch (a) { + case 'cancel': + case 'click': + case 'close': + case 'contextmenu': + case 'copy': + case 'cut': + case 'auxclick': + case 'dblclick': + case 'dragend': + case 'dragstart': + case 'drop': + case 'focusin': + case 'focusout': + case 'input': + case 'invalid': + case 'keydown': + case 'keypress': + case 'keyup': + case 'mousedown': + case 'mouseup': + case 'paste': + case 'pause': + case 'play': + case 'pointercancel': + case 'pointerdown': + case 'pointerup': + case 'ratechange': + case 'reset': + case 'resize': + case 'seeked': + case 'submit': + case 'touchcancel': + case 'touchend': + case 'touchstart': + case 'volumechange': + case 'change': + case 'selectionchange': + case 'textInput': + case 'compositionstart': + case 'compositionend': + case 'compositionupdate': + case 'beforeblur': + case 'afterblur': + case 'beforeinput': + case 'blur': + case 'fullscreenchange': + case 'focus': + case 'hashchange': + case 'popstate': + case 'select': + case 'selectstart': + return 1; + case 'drag': + case 'dragenter': + case 'dragexit': + case 'dragleave': + case 'dragover': + case 'mousemove': + case 'mouseout': + case 'mouseover': + case 'pointermove': + case 'pointerout': + case 'pointerover': + case 'scroll': + case 'toggle': + case 'touchmove': + case 'wheel': + case 'mouseenter': + case 'mouseleave': + case 'pointerenter': + case 'pointerleave': + return 4; + case 'message': + switch (ec()) { + case fc: + return 1; + case gc: + return 4; + case hc: + case ic: + return 16; + case jc: + return 536870912; + default: + return 16; + } + default: + return 16; } - jd(a, b, d, e, c); - return null; } var kd = null; var ld = null; @@ -2563,10 +2488,10 @@ function od(a) { var b = a.keyCode; 'charCode' in a - ? ((a = a.charCode), a === 0 && b === 13 && (a = 13)) + ? ((a = a.charCode), 0 === a && 13 === b && (a = 13)) : (a = b); - a === 10 && (a = 13); - return 32 <= a || a === 13 ? a : 0; + 10 === a && (a = 13); + return 32 <= a || 13 === a ? a : 0; } function pd() { return true; @@ -2586,23 +2511,23 @@ a.hasOwnProperty(c) && ((b2 = a[c]), (this[c] = b2 ? b2(f) : f[c])); this.isDefaultPrevented = ( - f.defaultPrevented != null + null != f.defaultPrevented ? f.defaultPrevented - : f.returnValue === false + : false === f.returnValue ) ? pd : qd; this.isPropagationStopped = qd; return this; } - m(b.prototype, { + A(b.prototype, { preventDefault: function () { this.defaultPrevented = true; var a2 = this.nativeEvent; a2 && (a2.preventDefault ? a2.preventDefault() - : typeof a2.returnValue !== 'unknown' && + : 'unknown' !== typeof a2.returnValue && (a2.returnValue = false), (this.isDefaultPrevented = pd)); }, @@ -2611,7 +2536,7 @@ a2 && (a2.stopPropagation ? a2.stopPropagation() - : typeof a2.cancelBubble !== 'unknown' && + : 'unknown' !== typeof a2.cancelBubble && (a2.cancelBubble = true), (this.isPropagationStopped = pd)); }, @@ -2631,12 +2556,12 @@ isTrusted: 0 }; var td = rd(sd); - var ud = m({}, sd, { view: 0, detail: 0 }); + var ud = A({}, sd, { view: 0, detail: 0 }); var vd = rd(ud); var wd; var xd; var yd; - var Ad = m({}, ud, { + var Ad = A({}, ud, { screenX: 0, screenY: 0, clientX: 0, @@ -2651,7 +2576,7 @@ button: 0, buttons: 0, relatedTarget: function (a) { - return a.relatedTarget === void 0 + return void 0 === a.relatedTarget ? a.fromElement === a.srcElement ? a.toElement : a.fromElement @@ -2660,7 +2585,7 @@ movementX: function (a) { if ('movementX' in a) return a.movementX; a !== yd && - (yd && a.type === 'mousemove' + (yd && 'mousemove' === a.type ? ((wd = a.screenX - yd.screenX), (xd = a.screenY - yd.screenY)) : (xd = wd = 0), @@ -2672,17 +2597,17 @@ } }); var Bd = rd(Ad); - var Cd = m({}, Ad, { dataTransfer: 0 }); + var Cd = A({}, Ad, { dataTransfer: 0 }); var Dd = rd(Cd); - var Ed = m({}, ud, { relatedTarget: 0 }); + var Ed = A({}, ud, { relatedTarget: 0 }); var Fd = rd(Ed); - var Gd = m({}, sd, { + var Gd = A({}, sd, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }); var Hd = rd(Gd); - var Id = m({}, sd, { + var Id = A({}, sd, { clipboardData: function (a) { return 'clipboardData' in a ? a.clipboardData @@ -2690,7 +2615,7 @@ } }); var Jd = rd(Id); - var Kd = m({}, sd, { data: 0 }); + var Kd = A({}, sd, { data: 0 }); var Ld = rd(Kd); var Md = { Esc: 'Escape', @@ -2761,16 +2686,16 @@ function zd() { return Pd; } - var Qd = m({}, ud, { + var Qd = A({}, ud, { key: function (a) { if (a.key) { var b = Md[a.key] || a.key; - if (b !== 'Unidentified') return b; + if ('Unidentified' !== b) return b; } - return a.type === 'keypress' + return 'keypress' === a.type ? ((a = od(a)), - a === 13 ? 'Enter' : String.fromCharCode(a)) - : a.type === 'keydown' || a.type === 'keyup' + 13 === a ? 'Enter' : String.fromCharCode(a)) + : 'keydown' === a.type || 'keyup' === a.type ? Nd[a.keyCode] || 'Unidentified' : ''; }, @@ -2784,23 +2709,23 @@ locale: 0, getModifierState: zd, charCode: function (a) { - return a.type === 'keypress' ? od(a) : 0; + return 'keypress' === a.type ? od(a) : 0; }, keyCode: function (a) { - return a.type === 'keydown' || a.type === 'keyup' + return 'keydown' === a.type || 'keyup' === a.type ? a.keyCode : 0; }, which: function (a) { - return a.type === 'keypress' + return 'keypress' === a.type ? od(a) - : a.type === 'keydown' || a.type === 'keyup' + : 'keydown' === a.type || 'keyup' === a.type ? a.keyCode : 0; } }); var Rd = rd(Qd); - var Sd = m({}, Ad, { + var Sd = A({}, Ad, { pointerId: 0, width: 0, height: 0, @@ -2813,7 +2738,7 @@ isPrimary: 0 }); var Td = rd(Sd); - var Ud = m({}, ud, { + var Ud = A({}, ud, { touches: 0, targetTouches: 0, changedTouches: 0, @@ -2824,13 +2749,13 @@ getModifierState: zd }); var Vd = rd(Ud); - var Wd = m({}, sd, { + var Wd = A({}, sd, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }); var Xd = rd(Wd); - var Yd = m({}, Ad, { + var Yd = A({}, Ad, { deltaX: function (a) { return 'deltaX' in a ? a.deltaX @@ -2852,19 +2777,19 @@ }); var Zd = rd(Yd); var $d = [9, 13, 27, 32]; - var ae = fa && 'CompositionEvent' in window; + var ae = ia && 'CompositionEvent' in window; var be = null; - fa && 'documentMode' in document && (be = document.documentMode); - var ce = fa && 'TextEvent' in window && !be; - var de = fa && (!ae || (be && 8 < be && 11 >= be)); + ia && 'documentMode' in document && (be = document.documentMode); + var ce = ia && 'TextEvent' in window && !be; + var de = ia && (!ae || (be && 8 < be && 11 >= be)); var ee = String.fromCharCode(32); var fe = false; function ge(a, b) { switch (a) { case 'keyup': - return $d.indexOf(b.keyCode) !== -1; + return -1 !== $d.indexOf(b.keyCode); case 'keydown': - return b.keyCode !== 229; + return 229 !== b.keyCode; case 'keypress': case 'mousedown': case 'focusout': @@ -2875,7 +2800,7 @@ } function he(a) { a = a.detail; - return typeof a === 'object' && 'data' in a ? a.data : null; + return 'object' === typeof a && 'data' in a ? a.data : null; } var ie = false; function je(a, b) { @@ -2883,7 +2808,7 @@ case 'compositionend': return he(b); case 'keypress': - if (b.which !== 32) return null; + if (32 !== b.which) return null; fe = true; return ee; case 'textInput': @@ -2894,7 +2819,7 @@ } function ke(a, b) { if (ie) - return a === 'compositionend' || (!ae && ge(a, b)) + return 'compositionend' === a || (!ae && ge(a, b)) ? ((a = nd()), (md = ld = kd = null), (ie = false), a) : null; switch (a) { @@ -2910,7 +2835,7 @@ } return null; case 'compositionend': - return de && b.locale !== 'ko' ? null : b.data; + return de && 'ko' !== b.locale ? null : b.data; default: return null; } @@ -2934,9 +2859,9 @@ }; function me(a) { var b = a && a.nodeName && a.nodeName.toLowerCase(); - return b === 'input' + return 'input' === b ? !!le[a.type] - : b === 'textarea' + : 'textarea' === b ? true : false; } @@ -2957,16 +2882,16 @@ if (Wa(b)) return a; } function ve(a, b) { - if (a === 'change') return b; + if ('change' === a) return b; } var we = false; - if (fa) { - if (fa) { + if (ia) { + if (ia) { ye = 'oninput' in document; if (!ye) { ze = document.createElement('div'); ze.setAttribute('oninput', 'return;'); - ye = typeof ze.oninput === 'function'; + ye = 'function' === typeof ze.oninput; } xe = ye; } else xe = false; @@ -2981,73 +2906,64 @@ (pe.detachEvent('onpropertychange', Be), (qe = pe = null)); } function Be(a) { - if (a.propertyName === 'value' && te(qe)) { + if ('value' === a.propertyName && te(qe)) { var b = []; ne(b, qe, a, xb(a)); - a = re; - if (Kb) a(b); - else { - Kb = true; - try { - Gb(a, b); - } finally { - (Kb = false), Mb(); - } - } + Jb(re, b); } } function Ce(a, b, c) { - a === 'focusin' + 'focusin' === a ? (Ae(), (pe = b), (qe = c), pe.attachEvent('onpropertychange', Be)) - : a === 'focusout' && Ae(); + : 'focusout' === a && Ae(); } function De(a) { - if (a === 'selectionchange' || a === 'keyup' || a === 'keydown') + if ('selectionchange' === a || 'keyup' === a || 'keydown' === a) return te(qe); } function Ee(a, b) { - if (a === 'click') return te(b); + if ('click' === a) return te(b); } function Fe(a, b) { - if (a === 'input' || a === 'change') return te(b); + if ('input' === a || 'change' === a) return te(b); } function Ge(a, b) { return ( - (a === b && (a !== 0 || 1 / a === 1 / b)) || + (a === b && (0 !== a || 1 / a === 1 / b)) || (a !== a && b !== b) ); } - var He = typeof Object.is === 'function' ? Object.is : Ge; - var Ie = Object.prototype.hasOwnProperty; - function Je(a, b) { + var He = 'function' === typeof Object.is ? Object.is : Ge; + function Ie(a, b) { if (He(a, b)) return true; if ( - typeof a !== 'object' || - a === null || - typeof b !== 'object' || - b === null + 'object' !== typeof a || + null === a || + 'object' !== typeof b || + null === b ) return false; var c = Object.keys(a), d = Object.keys(b); if (c.length !== d.length) return false; - for (d = 0; d < c.length; d++) - if (!Ie.call(b, c[d]) || !He(a[c[d]], b[c[d]])) - return false; + for (d = 0; d < c.length; d++) { + var e = c[d]; + if (!ja.call(b, e) || !He(a[e], b[e])) return false; + } return true; } - function Ke(a) { + function Je(a) { for (; a && a.firstChild; ) a = a.firstChild; return a; } - function Le(a, b) { - var c = Ke(a); + function Ke(a, b) { + var c = Je(a); a = 0; for (var d; c; ) { - if (c.nodeType === 3) { + if (3 === c.nodeType) { d = a + c.textContent.length; if (a <= b && d >= b) return { node: c, offset: b - a }; a = d; @@ -3062,17 +2978,17 @@ } c = void 0; } - c = Ke(c); + c = Je(c); } } - function Me(a, b) { + function Le(a, b) { return a && b ? a === b ? true - : a && a.nodeType === 3 + : a && 3 === a.nodeType ? false - : b && b.nodeType === 3 - ? Me(a, b.parentNode) + : b && 3 === b.nodeType + ? Le(a, b.parentNode) : 'contains' in a ? a.contains(b) : a.compareDocumentPosition @@ -3080,7 +2996,7 @@ : false : false; } - function Ne() { + function Me() { for ( var a = window, b = Xa(); b instanceof a.HTMLIFrameElement; @@ -3088,7 +3004,7 @@ ) { try { var c = - typeof b.contentWindow.location.href === 'string'; + 'string' === typeof b.contentWindow.location.href; } catch (d) { c = false; } @@ -3098,22 +3014,87 @@ } return b; } - function Oe(a) { + function Ne(a) { var b = a && a.nodeName && a.nodeName.toLowerCase(); return ( b && - ((b === 'input' && - (a.type === 'text' || - a.type === 'search' || - a.type === 'tel' || - a.type === 'url' || - a.type === 'password')) || - b === 'textarea' || - a.contentEditable === 'true') + (('input' === b && + ('text' === a.type || + 'search' === a.type || + 'tel' === a.type || + 'url' === a.type || + 'password' === a.type)) || + 'textarea' === b || + 'true' === a.contentEditable) ); } + function Oe(a) { + var b = Me(), + c = a.focusedElem, + d = a.selectionRange; + if ( + b !== c && + c && + c.ownerDocument && + Le(c.ownerDocument.documentElement, c) + ) { + if (null !== d && Ne(c)) { + if ( + ((b = d.start), + (a = d.end), + void 0 === a && (a = b), + 'selectionStart' in c) + ) + (c.selectionStart = b), + (c.selectionEnd = Math.min(a, c.value.length)); + else if ( + ((a = + ((b = c.ownerDocument || document) && + b.defaultView) || + window), + a.getSelection) + ) { + a = a.getSelection(); + var e = c.textContent.length, + f = Math.min(d.start, e); + d = void 0 === d.end ? f : Math.min(d.end, e); + !a.extend && f > d && ((e = d), (d = f), (f = e)); + e = Ke(c, f); + var g = Ke(c, d); + e && + g && + (1 !== a.rangeCount || + a.anchorNode !== e.node || + a.anchorOffset !== e.offset || + a.focusNode !== g.node || + a.focusOffset !== g.offset) && + ((b = b.createRange()), + b.setStart(e.node, e.offset), + a.removeAllRanges(), + f > d + ? (a.addRange(b), + a.extend(g.node, g.offset)) + : (b.setEnd(g.node, g.offset), + a.addRange(b))); + } + } + b = []; + for (a = c; (a = a.parentNode); ) + 1 === a.nodeType && + b.push({ + element: a, + left: a.scrollLeft, + top: a.scrollTop + }); + 'function' === typeof c.focus && c.focus(); + for (c = 0; c < b.length; c++) + (a = b[c]), + (a.element.scrollLeft = a.left), + (a.element.scrollTop = a.top); + } + } var Pe = - fa && 'documentMode' in document && 11 >= document.documentMode; + ia && 'documentMode' in document && 11 >= document.documentMode; var Qe = null; var Re = null; var Se = null; @@ -3122,14 +3103,14 @@ var d = c.window === c ? c.document - : c.nodeType === 9 + : 9 === c.nodeType ? c : c.ownerDocument; Te || - Qe == null || + null == Qe || Qe !== Xa(d) || ((d = Qe), - 'selectionStart' in d && Oe(d) + 'selectionStart' in d && Ne(d) ? (d = { start: d.selectionStart, end: d.selectionEnd }) : ((d = ( (d.ownerDocument && @@ -3142,7 +3123,7 @@ focusNode: d.focusNode, focusOffset: d.focusOffset })), - (Se && Je(Se, d)) || + (Se && Ie(Se, d)) || ((Se = d), (d = oe(Re, 'onSelect')), 0 < d.length && @@ -3150,86 +3131,123 @@ a.push({ event: b, listeners: d }), (b.target = Qe)))); } - Pc( - 'cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange'.split( - ' ' - ), - 0 - ); - Pc( - 'drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel'.split( + function Ve(a, b) { + var c = {}; + c[a.toLowerCase()] = b.toLowerCase(); + c['Webkit' + a] = 'webkit' + b; + c['Moz' + a] = 'moz' + b; + return c; + } + var We = { + animationend: Ve('Animation', 'AnimationEnd'), + animationiteration: Ve('Animation', 'AnimationIteration'), + animationstart: Ve('Animation', 'AnimationStart'), + transitionend: Ve('Transition', 'TransitionEnd') + }; + var Xe = {}; + var Ye = {}; + ia && + ((Ye = document.createElement('div').style), + 'AnimationEvent' in window || + (delete We.animationend.animation, + delete We.animationiteration.animation, + delete We.animationstart.animation), + 'TransitionEvent' in window || + delete We.transitionend.transition); + function Ze(a) { + if (Xe[a]) return Xe[a]; + if (!We[a]) return a; + var b = We[a], + c; + for (c in b) + if (b.hasOwnProperty(c) && c in Ye) return (Xe[a] = b[c]); + return a; + } + var $e = Ze('animationend'); + var af = Ze('animationiteration'); + var bf = Ze('animationstart'); + var cf = Ze('transitionend'); + var df = /* @__PURE__ */ new Map(); + var ef = + 'abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel'.split( ' ' - ), - 1 - ); - Pc(Oc, 2); - for ( - Ve = - 'change selectionchange textInput compositionstart compositionend compositionupdate'.split( - ' ' - ), - We = 0; - We < Ve.length; - We++ - ) - Nc.set(Ve[We], 0); - var Ve; - var We; - ea('onMouseEnter', ['mouseout', 'mouseover']); - ea('onMouseLeave', ['mouseout', 'mouseover']); - ea('onPointerEnter', ['pointerout', 'pointerover']); - ea('onPointerLeave', ['pointerout', 'pointerover']); - da( + ); + function ff(a, b) { + df.set(a, b); + fa(b, [a]); + } + for (gf = 0; gf < ef.length; gf++) { + (hf = ef[gf]), + (jf = hf.toLowerCase()), + (kf = hf[0].toUpperCase() + hf.slice(1)); + ff(jf, 'on' + kf); + } + var hf; + var jf; + var kf; + var gf; + ff($e, 'onAnimationEnd'); + ff(af, 'onAnimationIteration'); + ff(bf, 'onAnimationStart'); + ff('dblclick', 'onDoubleClick'); + ff('focusin', 'onFocus'); + ff('focusout', 'onBlur'); + ff(cf, 'onTransitionEnd'); + ha('onMouseEnter', ['mouseout', 'mouseover']); + ha('onMouseLeave', ['mouseout', 'mouseover']); + ha('onPointerEnter', ['pointerout', 'pointerover']); + ha('onPointerLeave', ['pointerout', 'pointerover']); + fa( 'onChange', 'change click focusin focusout input keydown keyup selectionchange'.split( ' ' ) ); - da( + fa( 'onSelect', 'focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange'.split( ' ' ) ); - da('onBeforeInput', [ + fa('onBeforeInput', [ 'compositionend', 'keypress', 'textInput', 'paste' ]); - da( + fa( 'onCompositionEnd', 'compositionend focusout keydown keypress keyup mousedown'.split( ' ' ) ); - da( + fa( 'onCompositionStart', 'compositionstart focusout keydown keypress keyup mousedown'.split( ' ' ) ); - da( + fa( 'onCompositionUpdate', 'compositionupdate focusout keydown keypress keyup mousedown'.split( ' ' ) ); - var Xe = - 'abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting'.split( + var lf = + 'abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting'.split( ' ' ); - var Ye = new Set( - 'cancel close invalid load scroll toggle'.split(' ').concat(Xe) + var mf = new Set( + 'cancel close invalid load scroll toggle'.split(' ').concat(lf) ); - function Ze(a, b, c) { + function nf(a, b, c) { var d = a.type || 'unknown-event'; a.currentTarget = c; - Yb(d, b, void 0, a); + Ub(d, b, void 0, a); a.currentTarget = null; } function se(a, b) { - b = (b & 4) !== 0; + b = 0 !== (b & 4); for (var c = 0; c < a.length; c++) { var d = a[c], e = d.event; @@ -3244,7 +3262,7 @@ h = h.listener; if (k !== f && e.isPropagationStopped()) break a; - Ze(e, h, l); + nf(e, h, l); f = k; } else @@ -3255,107 +3273,99 @@ h = h.listener; if (k !== f && e.isPropagationStopped()) break a; - Ze(e, h, l); + nf(e, h, l); f = k; } } } - if (Ub) throw ((a = Vb), (Ub = false), (Vb = null), a); + if (Qb) throw ((a = Rb), (Qb = false), (Rb = null), a); } - function G(a, b) { - var c = $e(b), - d = a + '__bubble'; - c.has(d) || (af(b, a, 2, false), c.add(d)); - } - var bf = '_reactListening' + Math.random().toString(36).slice(2); - function cf(a) { - a[bf] || - ((a[bf] = true), - ba.forEach(function (b) { - Ye.has(b) || df(b, false, a, null); - df(b, true, a, null); - })); + function D(a, b) { + var c = b[of]; + void 0 === c && (c = b[of] = /* @__PURE__ */ new Set()); + var d = a + '__bubble'; + c.has(d) || (pf(b, a, 2, false), c.add(d)); } - function df(a, b, c, d) { - var e = - 4 < arguments.length && arguments[4] !== void 0 - ? arguments[4] - : 0, - f = c; - a === 'selectionchange' && - c.nodeType !== 9 && - (f = c.ownerDocument); - if (d !== null && !b && Ye.has(a)) { - if (a !== 'scroll') return; - e |= 2; - f = d; - } - var g = $e(f), - h = a + '__' + (b ? 'capture' : 'bubble'); - g.has(h) || (b && (e |= 4), af(f, a, e, b), g.add(h)); - } - function af(a, b, c, d) { - var e = Nc.get(b); - switch (e === void 0 ? 2 : e) { - case 0: - e = gd; - break; + function qf(a, b, c) { + var d = 0; + b && (d |= 4); + pf(c, a, d, b); + } + var rf = '_reactListening' + Math.random().toString(36).slice(2); + function sf(a) { + if (!a[rf]) { + a[rf] = true; + da.forEach(function (b2) { + 'selectionchange' !== b2 && + (mf.has(b2) || qf(b2, false, a), qf(b2, true, a)); + }); + var b = 9 === a.nodeType ? a : a.ownerDocument; + null === b || + b[rf] || + ((b[rf] = true), qf('selectionchange', false, b)); + } + } + function pf(a, b, c, d) { + switch (jd(b)) { case 1: - e = id; + var e = ed; + break; + case 4: + e = gd; break; default: - e = hd; + e = fd; } c = e.bind(null, b, c, a); e = void 0; - !Pb || - (b !== 'touchstart' && - b !== 'touchmove' && - b !== 'wheel') || + !Lb || + ('touchstart' !== b && + 'touchmove' !== b && + 'wheel' !== b) || (e = true); d - ? e !== void 0 + ? void 0 !== e ? a.addEventListener(b, c, { capture: true, passive: e }) : a.addEventListener(b, c, true) - : e !== void 0 + : void 0 !== e ? a.addEventListener(b, c, { passive: e }) : a.addEventListener(b, c, false); } - function jd(a, b, c, d, e) { + function hd(a, b, c, d, e) { var f = d; - if ((b & 1) === 0 && (b & 2) === 0 && d !== null) + if (0 === (b & 1) && 0 === (b & 2) && null !== d) a: for (;;) { - if (d === null) return; + if (null === d) return; var g = d.tag; - if (g === 3 || g === 4) { + if (3 === g || 4 === g) { var h = d.stateNode.containerInfo; if ( h === e || - (h.nodeType === 8 && h.parentNode === e) + (8 === h.nodeType && h.parentNode === e) ) break; - if (g === 4) - for (g = d.return; g !== null; ) { + if (4 === g) + for (g = d.return; null !== g; ) { var k = g.tag; - if (k === 3 || k === 4) { + if (3 === k || 4 === k) { if ( ((k = g.stateNode.containerInfo), k === e || - (k.nodeType === 8 && + (8 === k.nodeType && k.parentNode === e)) ) return; } g = g.return; } - for (; h !== null; ) { - g = wc(h); - if (g === null) return; + for (; null !== h; ) { + g = Wc(h); + if (null === g) return; k = g.tag; - if (k === 5 || k === 6) { + if (5 === k || 6 === k) { d = f = g; continue a; } @@ -3364,28 +3374,28 @@ } d = d.return; } - Nb(function () { + Jb(function () { var d2 = f, e2 = xb(c), g2 = []; a: { - var h2 = Mc.get(a); - if (h2 !== void 0) { + var h2 = df.get(a); + if (void 0 !== h2) { var k2 = td, - x = a; + n = a; switch (a) { case 'keypress': - if (od(c) === 0) break a; + if (0 === od(c)) break a; case 'keydown': case 'keyup': k2 = Rd; break; case 'focusin': - x = 'focus'; + n = 'focus'; k2 = Fd; break; case 'focusout': - x = 'blur'; + n = 'blur'; k2 = Fd; break; case 'beforeblur': @@ -3393,7 +3403,7 @@ k2 = Fd; break; case 'click': - if (c.button === 2) break a; + if (2 === c.button) break a; case 'auxclick': case 'dblclick': case 'mousedown': @@ -3420,12 +3430,12 @@ case 'touchstart': k2 = Vd; break; - case Ic: - case Jc: - case Kc: + case $e: + case af: + case bf: k2 = Hd; break; - case Lc: + case cf: k2 = Xd; break; case 'scroll': @@ -3449,40 +3459,40 @@ case 'pointerup': k2 = Td; } - var w = (b & 4) !== 0, - z = !w && a === 'scroll', - u = w - ? h2 !== null + var t = 0 !== (b & 4), + J = !t && 'scroll' === a, + x = t + ? null !== h2 ? h2 + 'Capture' : null : h2; - w = []; - for (var t = d2, q; t !== null; ) { - q = t; - var v = q.stateNode; - q.tag === 5 && - v !== null && - ((q = v), - u !== null && - ((v = Ob(t, u)), - v != null && w.push(ef(t, v, q)))); - if (z) break; - t = t.return; + t = []; + for (var w = d2, u; null !== w; ) { + u = w; + var F = u.stateNode; + 5 === u.tag && + null !== F && + ((u = F), + null !== x && + ((F = Kb(w, x)), + null != F && t.push(tf(w, F, u)))); + if (J) break; + w = w.return; } - 0 < w.length && - ((h2 = new k2(h2, x, null, c, e2)), - g2.push({ event: h2, listeners: w })); + 0 < t.length && + ((h2 = new k2(h2, n, null, c, e2)), + g2.push({ event: h2, listeners: t })); } } - if ((b & 7) === 0) { + if (0 === (b & 7)) { a: { - h2 = a === 'mouseover' || a === 'pointerover'; - k2 = a === 'mouseout' || a === 'pointerout'; + h2 = 'mouseover' === a || 'pointerover' === a; + k2 = 'mouseout' === a || 'pointerout' === a; if ( h2 && - (b & 16) === 0 && - (x = c.relatedTarget || c.fromElement) && - (wc(x) || x[ff]) + c !== wb && + (n = c.relatedTarget || c.fromElement) && + (Wc(n) || n[uf]) ) break a; if (k2 || h2) { @@ -3494,70 +3504,70 @@ : window; if (k2) { if ( - ((x = c.relatedTarget || c.toElement), + ((n = c.relatedTarget || c.toElement), (k2 = d2), - (x = x ? wc(x) : null), - x !== null && - ((z = Zb(x)), - x !== z || - (x.tag !== 5 && x.tag !== 6))) + (n = n ? Wc(n) : null), + null !== n && + ((J = Vb(n)), + n !== J || + (5 !== n.tag && 6 !== n.tag))) ) - x = null; - } else (k2 = null), (x = d2); - if (k2 !== x) { - w = Bd; - v = 'onMouseLeave'; - u = 'onMouseEnter'; - t = 'mouse'; + n = null; + } else (k2 = null), (n = d2); + if (k2 !== n) { + t = Bd; + F = 'onMouseLeave'; + x = 'onMouseEnter'; + w = 'mouse'; if ( - a === 'pointerout' || - a === 'pointerover' + 'pointerout' === a || + 'pointerover' === a ) - (w = Td), - (v = 'onPointerLeave'), - (u = 'onPointerEnter'), - (t = 'pointer'); - z = k2 == null ? h2 : ue(k2); - q = x == null ? h2 : ue(x); - h2 = new w(v, t + 'leave', k2, c, e2); - h2.target = z; - h2.relatedTarget = q; - v = null; - wc(e2) === d2 && - ((w = new w(u, t + 'enter', x, c, e2)), - (w.target = q), - (w.relatedTarget = z), - (v = w)); - z = v; - if (k2 && x) + (t = Td), + (F = 'onPointerLeave'), + (x = 'onPointerEnter'), + (w = 'pointer'); + J = null == k2 ? h2 : ue(k2); + u = null == n ? h2 : ue(n); + h2 = new t(F, w + 'leave', k2, c, e2); + h2.target = J; + h2.relatedTarget = u; + F = null; + Wc(e2) === d2 && + ((t = new t(x, w + 'enter', n, c, e2)), + (t.target = u), + (t.relatedTarget = J), + (F = t)); + J = F; + if (k2 && n) b: { - w = k2; - u = x; - t = 0; - for (q = w; q; q = gf(q)) t++; - q = 0; - for (v = u; v; v = gf(v)) q++; - for (; 0 < t - q; ) - (w = gf(w)), t--; - for (; 0 < q - t; ) - (u = gf(u)), q--; - for (; t--; ) { + t = k2; + x = n; + w = 0; + for (u = t; u; u = vf(u)) w++; + u = 0; + for (F = x; F; F = vf(F)) u++; + for (; 0 < w - u; ) + (t = vf(t)), w--; + for (; 0 < u - w; ) + (x = vf(x)), u--; + for (; w--; ) { if ( - w === u || - (u !== null && - w === u.alternate) + t === x || + (null !== x && + t === x.alternate) ) break b; - w = gf(w); - u = gf(u); + t = vf(t); + x = vf(x); } - w = null; + t = null; } - else w = null; - k2 !== null && hf(g2, h2, k2, w, false); - x !== null && - z !== null && - hf(g2, z, x, w, true); + else t = null; + null !== k2 && wf(g2, h2, k2, t, false); + null !== n && + null !== J && + wf(g2, J, n, t, true); } } } @@ -3565,38 +3575,38 @@ h2 = d2 ? ue(d2) : window; k2 = h2.nodeName && h2.nodeName.toLowerCase(); if ( - k2 === 'select' || - (k2 === 'input' && h2.type === 'file') + 'select' === k2 || + ('input' === k2 && 'file' === h2.type) ) - var J = ve; + var na = ve; else if (me(h2)) - if (we) J = Fe; + if (we) na = Fe; else { - J = De; - var K = Ce; + na = De; + var xa = Ce; } else (k2 = h2.nodeName) && - k2.toLowerCase() === 'input' && - (h2.type === 'checkbox' || - h2.type === 'radio') && - (J = Ee); - if (J && (J = J(a, d2))) { - ne(g2, J, c, e2); + 'input' === k2.toLowerCase() && + ('checkbox' === h2.type || + 'radio' === h2.type) && + (na = Ee); + if (na && (na = na(a, d2))) { + ne(g2, na, c, e2); break a; } - K && K(a, h2, d2); - a === 'focusout' && - (K = h2._wrapperState) && - K.controlled && - h2.type === 'number' && - bb(h2, 'number', h2.value); + xa && xa(a, h2, d2); + 'focusout' === a && + (xa = h2._wrapperState) && + xa.controlled && + 'number' === h2.type && + cb(h2, 'number', h2.value); } - K = d2 ? ue(d2) : window; + xa = d2 ? ue(d2) : window; switch (a) { case 'focusin': - if (me(K) || K.contentEditable === 'true') - (Qe = K), (Re = d2), (Se = null); + if (me(xa) || 'true' === xa.contentEditable) + (Qe = xa), (Re = d2), (Se = null); break; case 'focusout': Se = Re = Qe = null; @@ -3616,50 +3626,50 @@ case 'keyup': Ue(g2, c, e2); } - var Q; + var $a; if (ae) b: { switch (a) { case 'compositionstart': - var L = 'onCompositionStart'; + var ba = 'onCompositionStart'; break b; case 'compositionend': - L = 'onCompositionEnd'; + ba = 'onCompositionEnd'; break b; case 'compositionupdate': - L = 'onCompositionUpdate'; + ba = 'onCompositionUpdate'; break b; } - L = void 0; + ba = void 0; } else ie - ? ge(a, c) && (L = 'onCompositionEnd') - : a === 'keydown' && - c.keyCode === 229 && - (L = 'onCompositionStart'); - L && + ? ge(a, c) && (ba = 'onCompositionEnd') + : 'keydown' === a && + 229 === c.keyCode && + (ba = 'onCompositionStart'); + ba && (de && - c.locale !== 'ko' && - (ie || L !== 'onCompositionStart' - ? L === 'onCompositionEnd' && + 'ko' !== c.locale && + (ie || 'onCompositionStart' !== ba + ? 'onCompositionEnd' === ba && ie && - (Q = nd()) + ($a = nd()) : ((kd = e2), (ld = 'value' in kd ? kd.value : kd.textContent), (ie = true))), - (K = oe(d2, L)), - 0 < K.length && - ((L = new Ld(L, a, null, c, e2)), - g2.push({ event: L, listeners: K }), - Q - ? (L.data = Q) - : ((Q = he(c)), - Q !== null && (L.data = Q)))); - if ((Q = ce ? je(a, c) : ke(a, c))) + (xa = oe(d2, ba)), + 0 < xa.length && + ((ba = new Ld(ba, a, null, c, e2)), + g2.push({ event: ba, listeners: xa }), + $a + ? (ba.data = $a) + : (($a = he(c)), + null !== $a && (ba.data = $a)))); + if (($a = ce ? je(a, c) : ke(a, c))) (d2 = oe(d2, 'onBeforeInput')), 0 < d2.length && ((e2 = new Ld( @@ -3670,130 +3680,160 @@ e2 )), g2.push({ event: e2, listeners: d2 }), - (e2.data = Q)); + (e2.data = $a)); } se(g2, b); }); } - function ef(a, b, c) { + function tf(a, b, c) { return { instance: a, listener: b, currentTarget: c }; } function oe(a, b) { - for (var c = b + 'Capture', d = []; a !== null; ) { + for (var c = b + 'Capture', d = []; null !== a; ) { var e = a, f = e.stateNode; - e.tag === 5 && - f !== null && + 5 === e.tag && + null !== f && ((e = f), - (f = Ob(a, c)), - f != null && d.unshift(ef(a, f, e)), - (f = Ob(a, b)), - f != null && d.push(ef(a, f, e))); + (f = Kb(a, c)), + null != f && d.unshift(tf(a, f, e)), + (f = Kb(a, b)), + null != f && d.push(tf(a, f, e))); a = a.return; } return d; } - function gf(a) { - if (a === null) return null; + function vf(a) { + if (null === a) return null; do a = a.return; - while (a && a.tag !== 5); + while (a && 5 !== a.tag); return a ? a : null; } - function hf(a, b, c, d, e) { - for (var f = b._reactName, g = []; c !== null && c !== d; ) { + function wf(a, b, c, d, e) { + for (var f = b._reactName, g = []; null !== c && c !== d; ) { var h = c, k = h.alternate, l = h.stateNode; - if (k !== null && k === d) break; - h.tag === 5 && - l !== null && + if (null !== k && k === d) break; + 5 === h.tag && + null !== l && ((h = l), e - ? ((k = Ob(c, f)), - k != null && g.unshift(ef(c, k, h))) + ? ((k = Kb(c, f)), + null != k && g.unshift(tf(c, k, h))) : e || - ((k = Ob(c, f)), - k != null && g.push(ef(c, k, h)))); + ((k = Kb(c, f)), + null != k && g.push(tf(c, k, h)))); c = c.return; } - g.length !== 0 && a.push({ event: b, listeners: g }); + 0 !== g.length && a.push({ event: b, listeners: g }); } - function jf() {} - var kf = null; - var lf = null; - function mf(a, b) { - switch (a) { - case 'button': - case 'input': - case 'select': - case 'textarea': - return !!b.autoFocus; - } - return false; + var xf = /\r\n?/g; + var yf = /\u0000|\uFFFD/g; + function zf(a) { + return ('string' === typeof a ? a : '' + a) + .replace(xf, '\n') + .replace(yf, ''); + } + function Af(a, b, c) { + b = zf(b); + if (zf(a) !== b && c) throw Error(p(425)); } - function nf(a, b) { + function Bf() {} + var Cf = null; + var Df = null; + function Ef(a, b) { return ( - a === 'textarea' || - a === 'option' || - a === 'noscript' || - typeof b.children === 'string' || - typeof b.children === 'number' || - (typeof b.dangerouslySetInnerHTML === 'object' && - b.dangerouslySetInnerHTML !== null && - b.dangerouslySetInnerHTML.__html != null) + 'textarea' === a || + 'noscript' === a || + 'string' === typeof b.children || + 'number' === typeof b.children || + ('object' === typeof b.dangerouslySetInnerHTML && + null !== b.dangerouslySetInnerHTML && + null != b.dangerouslySetInnerHTML.__html) ); } - var of = typeof setTimeout === 'function' ? setTimeout : void 0; - var pf = typeof clearTimeout === 'function' ? clearTimeout : void 0; - function qf(a) { - a.nodeType === 1 - ? (a.textContent = '') - : a.nodeType === 9 && - ((a = a.body), a != null && (a.textContent = '')); + var Ff = 'function' === typeof setTimeout ? setTimeout : void 0; + var Gf = 'function' === typeof clearTimeout ? clearTimeout : void 0; + var Hf = 'function' === typeof Promise ? Promise : void 0; + var Jf = + 'function' === typeof queueMicrotask + ? queueMicrotask + : 'undefined' !== typeof Hf + ? function (a) { + return Hf.resolve(null).then(a).catch(If); + } + : Ff; + function If(a) { + setTimeout(function () { + throw a; + }); } - function rf(a) { - for (; a != null; a = a.nextSibling) { + function Kf(a, b) { + var c = b, + d = 0; + do { + var e = c.nextSibling; + a.removeChild(c); + if (e && 8 === e.nodeType) + if (((c = e.data), '/$' === c)) { + if (0 === d) { + a.removeChild(e); + bd(b); + return; + } + d--; + } else ('$' !== c && '$?' !== c && '$!' !== c) || d++; + c = e; + } while (c); + bd(b); + } + function Lf(a) { + for (; null != a; a = a.nextSibling) { var b = a.nodeType; - if (b === 1 || b === 3) break; + if (1 === b || 3 === b) break; + if (8 === b) { + b = a.data; + if ('$' === b || '$!' === b || '$?' === b) break; + if ('/$' === b) return null; + } } return a; } - function sf(a) { + function Mf(a) { a = a.previousSibling; for (var b = 0; a; ) { - if (a.nodeType === 8) { + if (8 === a.nodeType) { var c = a.data; - if (c === '$' || c === '$!' || c === '$?') { - if (b === 0) return a; + if ('$' === c || '$!' === c || '$?' === c) { + if (0 === b) return a; b--; - } else c === '/$' && b++; + } else '/$' === c && b++; } a = a.previousSibling; } return null; } - var tf = 0; - function uf(a) { - return { $$typeof: Ga, toString: a, valueOf: a }; - } - var vf = Math.random().toString(36).slice(2); - var wf = '__reactFiber$' + vf; - var xf = '__reactProps$' + vf; - var ff = '__reactContainer$' + vf; - var yf = '__reactEvents$' + vf; - function wc(a) { - var b = a[wf]; + var Nf = Math.random().toString(36).slice(2); + var Of = '__reactFiber$' + Nf; + var Pf = '__reactProps$' + Nf; + var uf = '__reactContainer$' + Nf; + var of = '__reactEvents$' + Nf; + var Qf = '__reactListeners$' + Nf; + var Rf = '__reactHandles$' + Nf; + function Wc(a) { + var b = a[Of]; if (b) return b; for (var c = a.parentNode; c; ) { - if ((b = c[ff] || c[wf])) { + if ((b = c[uf] || c[Of])) { c = b.alternate; if ( - b.child !== null || - (c !== null && c.child !== null) + null !== b.child || + (null !== c && null !== c.child) ) - for (a = sf(a); a !== null; ) { - if ((c = a[wf])) return c; - a = sf(a); + for (a = Mf(a); null !== a; ) { + if ((c = a[Of])) return c; + a = Mf(a); } return b; } @@ -3803,44 +3843,39 @@ return null; } function Cb(a) { - a = a[wf] || a[ff]; + a = a[Of] || a[uf]; return !a || - (a.tag !== 5 && a.tag !== 6 && a.tag !== 13 && a.tag !== 3) + (5 !== a.tag && 6 !== a.tag && 13 !== a.tag && 3 !== a.tag) ? null : a; } function ue(a) { - if (a.tag === 5 || a.tag === 6) return a.stateNode; - throw Error(y(33)); + if (5 === a.tag || 6 === a.tag) return a.stateNode; + throw Error(p(33)); } function Db(a) { - return a[xf] || null; + return a[Pf] || null; } - function $e(a) { - var b = a[yf]; - b === void 0 && (b = a[yf] = new Set()); - return b; - } - var zf = []; - var Af = -1; - function Bf(a) { + var Sf = []; + var Tf = -1; + function Uf(a) { return { current: a }; } - function H(a) { - 0 > Af || ((a.current = zf[Af]), (zf[Af] = null), Af--); + function E(a) { + 0 > Tf || ((a.current = Sf[Tf]), (Sf[Tf] = null), Tf--); } - function I(a, b) { - Af++; - zf[Af] = a.current; + function G(a, b) { + Tf++; + Sf[Tf] = a.current; a.current = b; } - var Cf = {}; - var M = Bf(Cf); - var N = Bf(false); - var Df = Cf; - function Ef(a, b) { + var Vf = {}; + var H = Uf(Vf); + var Wf = Uf(false); + var Xf = Vf; + function Yf(a, b) { var c = a.type.contextTypes; - if (!c) return Cf; + if (!c) return Vf; var d = a.stateNode; if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) return d.__reactInternalMemoizedMaskedChildContext; @@ -3853,218 +3888,384 @@ (a.__reactInternalMemoizedMaskedChildContext = e)); return e; } - function Ff(a) { + function Zf(a) { a = a.childContextTypes; - return a !== null && a !== void 0; + return null !== a && void 0 !== a; } - function Gf() { - H(N); - H(M); + function $f() { + E(Wf); + E(H); } - function Hf(a, b, c) { - if (M.current !== Cf) throw Error(y(168)); - I(M, b); - I(N, c); + function ag(a, b, c) { + if (H.current !== Vf) throw Error(p(168)); + G(H, b); + G(Wf, c); } - function If(a, b, c) { + function bg(a, b, c) { var d = a.stateNode; - a = b.childContextTypes; - if (typeof d.getChildContext !== 'function') return c; + b = b.childContextTypes; + if ('function' !== typeof d.getChildContext) return c; d = d.getChildContext(); for (var e in d) - if (!(e in a)) throw Error(y(108, Ra(b) || 'Unknown', e)); - return m({}, c, d); + if (!(e in b)) throw Error(p(108, Ra(a) || 'Unknown', e)); + return A({}, c, d); } - function Jf(a) { + function cg(a) { a = ((a = a.stateNode) && a.__reactInternalMemoizedMergedChildContext) || - Cf; - Df = M.current; - I(M, a); - I(N, N.current); + Vf; + Xf = H.current; + G(H, a); + G(Wf, Wf.current); return true; } - function Kf(a, b, c) { + function dg(a, b, c) { var d = a.stateNode; - if (!d) throw Error(y(169)); + if (!d) throw Error(p(169)); c - ? ((a = If(a, b, Df)), + ? ((a = bg(a, b, Xf)), (d.__reactInternalMemoizedMergedChildContext = a), - H(N), - H(M), - I(M, a)) - : H(N); - I(N, c); - } - var Lf = null; - var Mf = null; - var Nf = r.unstable_runWithPriority; - var Of = r.unstable_scheduleCallback; - var Pf = r.unstable_cancelCallback; - var Qf = r.unstable_shouldYield; - var Rf = r.unstable_requestPaint; - var Sf = r.unstable_now; - var Tf = r.unstable_getCurrentPriorityLevel; - var Uf = r.unstable_ImmediatePriority; - var Vf = r.unstable_UserBlockingPriority; - var Wf = r.unstable_NormalPriority; - var Xf = r.unstable_LowPriority; - var Yf = r.unstable_IdlePriority; - var Zf = {}; - var $f = Rf !== void 0 ? Rf : function () {}; - var ag = null; - var bg = null; - var cg = false; - var dg = Sf(); - var O = - 1e4 > dg - ? Sf - : function () { - return Sf() - dg; - }; - function eg() { - switch (Tf()) { - case Uf: - return 99; - case Vf: - return 98; - case Wf: - return 97; - case Xf: - return 96; - case Yf: - return 95; - default: - throw Error(y(332)); + E(Wf), + E(H), + G(H, a)) + : E(Wf); + G(Wf, c); + } + var eg = null; + var fg = false; + var gg = false; + function hg(a) { + null === eg ? (eg = [a]) : eg.push(a); + } + function ig(a) { + fg = true; + hg(a); + } + function jg() { + if (!gg && null !== eg) { + gg = true; + var a = 0, + b = C; + try { + var c = eg; + for (C = 1; a < c.length; a++) { + var d = c[a]; + do d = d(true); + while (null !== d); + } + eg = null; + fg = false; + } catch (e) { + throw ( + (null !== eg && (eg = eg.slice(a + 1)), + ac(fc, jg), + e) + ); + } finally { + (C = b), (gg = false); + } } + return null; } - function fg(a) { - switch (a) { - case 99: - return Uf; - case 98: - return Vf; - case 97: - return Wf; - case 96: - return Xf; - case 95: - return Yf; + var kg = []; + var lg = 0; + var mg = null; + var ng = 0; + var og = []; + var pg = 0; + var qg = null; + var rg = 1; + var sg = ''; + function tg(a, b) { + kg[lg++] = ng; + kg[lg++] = mg; + mg = a; + ng = b; + } + function ug(a, b, c) { + og[pg++] = rg; + og[pg++] = sg; + og[pg++] = qg; + qg = a; + var d = rg; + a = sg; + var e = 32 - oc(d) - 1; + d &= ~(1 << e); + c += 1; + var f = 32 - oc(b) + e; + if (30 < f) { + var g = e - (e % 5); + f = (d & ((1 << g) - 1)).toString(32); + d >>= g; + e -= g; + rg = (1 << (32 - oc(b) + e)) | (c << e) | d; + sg = f + a; + } else (rg = (1 << f) | (c << e) | d), (sg = a); + } + function vg(a) { + null !== a.return && (tg(a, 1), ug(a, 1, 0)); + } + function wg(a) { + for (; a === mg; ) + (mg = kg[--lg]), + (kg[lg] = null), + (ng = kg[--lg]), + (kg[lg] = null); + for (; a === qg; ) + (qg = og[--pg]), + (og[pg] = null), + (sg = og[--pg]), + (og[pg] = null), + (rg = og[--pg]), + (og[pg] = null); + } + var xg = null; + var yg = null; + var I = false; + var zg = null; + function Ag(a, b) { + var c = Bg(5, null, null, 0); + c.elementType = 'DELETED'; + c.stateNode = b; + c.return = a; + b = a.deletions; + null === b ? ((a.deletions = [c]), (a.flags |= 16)) : b.push(c); + } + function Cg(a, b) { + switch (a.tag) { + case 5: + var c = a.type; + b = + 1 !== b.nodeType || + c.toLowerCase() !== b.nodeName.toLowerCase() + ? null + : b; + return null !== b + ? ((a.stateNode = b), + (xg = a), + (yg = Lf(b.firstChild)), + true) + : false; + case 6: + return ( + (b = + '' === a.pendingProps || 3 !== b.nodeType + ? null + : b), + null !== b + ? ((a.stateNode = b), + (xg = a), + (yg = null), + true) + : false + ); + case 13: + return ( + (b = 8 !== b.nodeType ? null : b), + null !== b + ? ((c = + null !== qg + ? { id: rg, overflow: sg } + : null), + (a.memoizedState = { + dehydrated: b, + treeContext: c, + retryLane: 1073741824 + }), + (c = Bg(18, null, null, 0)), + (c.stateNode = b), + (c.return = a), + (a.child = c), + (xg = a), + (yg = null), + true) + : false + ); default: - throw Error(y(332)); + return false; } } - function gg(a, b) { - a = fg(a); - return Nf(a, b); - } - function hg(a, b, c) { - a = fg(a); - return Of(a, b, c); + function Dg(a) { + return 0 !== (a.mode & 1) && 0 === (a.flags & 128); } - function ig() { - if (bg !== null) { - var a = bg; - bg = null; - Pf(a); + function Eg(a) { + if (I) { + var b = yg; + if (b) { + var c = b; + if (!Cg(a, b)) { + if (Dg(a)) throw Error(p(418)); + b = Lf(c.nextSibling); + var d = xg; + b && Cg(a, b) + ? Ag(d, c) + : ((a.flags = (a.flags & -4097) | 2), + (I = false), + (xg = a)); + } + } else { + if (Dg(a)) throw Error(p(418)); + a.flags = (a.flags & -4097) | 2; + I = false; + xg = a; + } } - jg(); } - function jg() { - if (!cg && ag !== null) { - cg = true; - var a = 0; - try { - var b = ag; - gg(99, function () { - for (; a < b.length; a++) { - var c = b[a]; - do c = c(true); - while (c !== null); + function Fg(a) { + for ( + a = a.return; + null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag; + + ) + a = a.return; + xg = a; + } + function Gg(a) { + if (a !== xg) return false; + if (!I) return Fg(a), (I = true), false; + var b; + (b = 3 !== a.tag) && + !(b = 5 !== a.tag) && + ((b = a.type), + (b = + 'head' !== b && + 'body' !== b && + !Ef(a.type, a.memoizedProps))); + if (b && (b = yg)) { + if (Dg(a)) throw (Hg(), Error(p(418))); + for (; b; ) Ag(a, b), (b = Lf(b.nextSibling)); + } + Fg(a); + if (13 === a.tag) { + a = a.memoizedState; + a = null !== a ? a.dehydrated : null; + if (!a) throw Error(p(317)); + a: { + a = a.nextSibling; + for (b = 0; a; ) { + if (8 === a.nodeType) { + var c = a.data; + if ('/$' === c) { + if (0 === b) { + yg = Lf(a.nextSibling); + break a; + } + b--; + } else + ('$' !== c && '$!' !== c && '$?' !== c) || + b++; } - }); - ag = null; - } catch (c) { - throw ( - (ag !== null && (ag = ag.slice(a + 1)), - Of(Uf, ig), - c) - ); - } finally { - cg = false; + a = a.nextSibling; + } + yg = null; } - } + } else yg = xg ? Lf(a.stateNode.nextSibling) : null; + return true; + } + function Hg() { + for (var a = yg; a; ) a = Lf(a.nextSibling); } - var kg = ra.ReactCurrentBatchConfig; - function lg(a, b) { + function Ig() { + yg = xg = null; + I = false; + } + function Jg(a) { + null === zg ? (zg = [a]) : zg.push(a); + } + var Kg = ua.ReactCurrentBatchConfig; + function Lg(a, b) { if (a && a.defaultProps) { - b = m({}, b); + b = A({}, b); a = a.defaultProps; - for (var c in a) b[c] === void 0 && (b[c] = a[c]); + for (var c in a) void 0 === b[c] && (b[c] = a[c]); return b; } return b; } - var mg = Bf(null); - var ng = null; - var og = null; - var pg = null; - function qg() { - pg = og = ng = null; - } - function rg(a) { - var b = mg.current; - H(mg); - a.type._context._currentValue = b; - } - function sg(a, b) { - for (; a !== null; ) { - var c = a.alternate; - if ((a.childLanes & b) === b) - if (c === null || (c.childLanes & b) === b) break; - else c.childLanes |= b; - else (a.childLanes |= b), c !== null && (c.childLanes |= b); + var Mg = Uf(null); + var Ng = null; + var Og = null; + var Pg = null; + function Qg() { + Pg = Og = Ng = null; + } + function Rg(a) { + var b = Mg.current; + E(Mg); + a._currentValue = b; + } + function Sg(a, b, c) { + for (; null !== a; ) { + var d = a.alternate; + (a.childLanes & b) !== b + ? ((a.childLanes |= b), + null !== d && (d.childLanes |= b)) + : null !== d && + (d.childLanes & b) !== b && + (d.childLanes |= b); + if (a === c) break; a = a.return; } } - function tg(a, b) { - ng = a; - pg = og = null; + function Tg(a, b) { + Ng = a; + Pg = Og = null; a = a.dependencies; - a !== null && - a.firstContext !== null && - ((a.lanes & b) !== 0 && (ug = true), + null !== a && + null !== a.firstContext && + (0 !== (a.lanes & b) && (Ug = true), (a.firstContext = null)); } - function vg(a, b) { - if (pg !== a && b !== false && b !== 0) { - if (typeof b !== 'number' || b === 1073741823) - (pg = a), (b = 1073741823); - b = { context: a, observedBits: b, next: null }; - if (og === null) { - if (ng === null) throw Error(y(308)); - og = b; - ng.dependencies = { - lanes: 0, - firstContext: b, - responders: null - }; - } else og = og.next = b; - } - return a._currentValue; + function Vg(a) { + var b = a._currentValue; + if (Pg !== a) + if ( + ((a = { context: a, memoizedValue: b, next: null }), + null === Og) + ) { + if (null === Ng) throw Error(p(308)); + Og = a; + Ng.dependencies = { lanes: 0, firstContext: a }; + } else Og = Og.next = a; + return b; + } + var Wg = null; + function Xg(a) { + null === Wg ? (Wg = [a]) : Wg.push(a); + } + function Yg(a, b, c, d) { + var e = b.interleaved; + null === e + ? ((c.next = c), Xg(b)) + : ((c.next = e.next), (e.next = c)); + b.interleaved = c; + return Zg(a, d); + } + function Zg(a, b) { + a.lanes |= b; + var c = a.alternate; + null !== c && (c.lanes |= b); + c = a; + for (a = a.return; null !== a; ) + (a.childLanes |= b), + (c = a.alternate), + null !== c && (c.childLanes |= b), + (c = a), + (a = a.return); + return 3 === c.tag ? c.stateNode : null; } - var wg = false; - function xg(a) { + var $g = false; + function ah(a) { a.updateQueue = { baseState: a.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, - shared: { pending: null }, + shared: { pending: null, interleaved: null, lanes: 0 }, effects: null }; } - function yg(a, b) { + function bh(a, b) { a = a.updateQueue; b.updateQueue === a && (b.updateQueue = { @@ -4075,7 +4276,7 @@ effects: a.effects }); } - function zg(a, b) { + function ch(a, b) { return { eventTime: a, lane: b, @@ -4085,25 +4286,43 @@ next: null }; } - function Ag(a, b) { - a = a.updateQueue; - if (a !== null) { - a = a.shared; - var c = a.pending; - c === null + function dh(a, b, c) { + var d = a.updateQueue; + if (null === d) return null; + d = d.shared; + if (0 !== (K & 2)) { + var e = d.pending; + null === e ? (b.next = b) - : ((b.next = c.next), (c.next = b)); - a.pending = b; - } - } - function Bg(a, b) { + : ((b.next = e.next), (e.next = b)); + d.pending = b; + return Zg(a, c); + } + e = d.interleaved; + null === e + ? ((b.next = b), Xg(d)) + : ((b.next = e.next), (e.next = b)); + d.interleaved = b; + return Zg(a, c); + } + function eh(a, b, c) { + b = b.updateQueue; + if (null !== b && ((b = b.shared), 0 !== (c & 4194240))) { + var d = b.lanes; + d &= a.pendingLanes; + c |= d; + b.lanes = c; + Cc(a, c); + } + } + function fh(a, b) { var c = a.updateQueue, d = a.alternate; - if (d !== null && ((d = d.updateQueue), c === d)) { + if (null !== d && ((d = d.updateQueue), c === d)) { var e = null, f = null; c = c.firstBaseUpdate; - if (c !== null) { + if (null !== c) { do { var g = { eventTime: c.eventTime, @@ -4113,10 +4332,10 @@ callback: c.callback, next: null }; - f === null ? (e = f = g) : (f = f.next = g); + null === f ? (e = f = g) : (f = f.next = g); c = c.next; - } while (c !== null); - f === null ? (e = f = b) : (f = f.next = b); + } while (null !== c); + null === f ? (e = f = b) : (f = f.next = b); } else e = f = b; c = { baseState: d.baseState, @@ -4129,195 +4348,203 @@ return; } a = c.lastBaseUpdate; - a === null ? (c.firstBaseUpdate = b) : (a.next = b); + null === a ? (c.firstBaseUpdate = b) : (a.next = b); c.lastBaseUpdate = b; } - function Cg(a, b, c, d) { + function gh(a, b, c, d) { var e = a.updateQueue; - wg = false; + $g = false; var f = e.firstBaseUpdate, g = e.lastBaseUpdate, h = e.shared.pending; - if (h !== null) { + if (null !== h) { e.shared.pending = null; var k = h, l = k.next; k.next = null; - g === null ? (f = l) : (g.next = l); + null === g ? (f = l) : (g.next = l); g = k; - var n = a.alternate; - if (n !== null) { - n = n.updateQueue; - var A = n.lastBaseUpdate; - A !== g && - (A === null - ? (n.firstBaseUpdate = l) - : (A.next = l), - (n.lastBaseUpdate = k)); - } - } - if (f !== null) { - A = e.baseState; + var m = a.alternate; + null !== m && + ((m = m.updateQueue), + (h = m.lastBaseUpdate), + h !== g && + (null === h + ? (m.firstBaseUpdate = l) + : (h.next = l), + (m.lastBaseUpdate = k))); + } + if (null !== f) { + var q = e.baseState; g = 0; - n = l = k = null; + m = l = k = null; + h = f; do { - h = f.lane; - var p = f.eventTime; - if ((d & h) === h) { - n !== null && - (n = n.next = + var r = h.lane, + y = h.eventTime; + if ((d & r) === r) { + null !== m && + (m = m.next = { - eventTime: p, + eventTime: y, lane: 0, - tag: f.tag, - payload: f.payload, - callback: f.callback, + tag: h.tag, + payload: h.payload, + callback: h.callback, next: null }); a: { - var C = a, - x = f; - h = b; - p = c; - switch (x.tag) { + var n = a, + t = h; + r = b; + y = c; + switch (t.tag) { case 1: - C = x.payload; - if (typeof C === 'function') { - A = C.call(p, A, h); + n = t.payload; + if ('function' === typeof n) { + q = n.call(y, q, r); break a; } - A = C; + q = n; break a; case 3: - C.flags = (C.flags & -4097) | 64; + n.flags = (n.flags & -65537) | 128; case 0: - C = x.payload; - h = - typeof C === 'function' - ? C.call(p, A, h) - : C; - if (h === null || h === void 0) break a; - A = m({}, A, h); + n = t.payload; + r = + 'function' === typeof n + ? n.call(y, q, r) + : n; + if (null === r || void 0 === r) break a; + q = A({}, q, r); break a; case 2: - wg = true; + $g = true; } } - f.callback !== null && - ((a.flags |= 32), - (h = e.effects), - h === null ? (e.effects = [f]) : h.push(f)); + null !== h.callback && + 0 !== h.lane && + ((a.flags |= 64), + (r = e.effects), + null === r ? (e.effects = [h]) : r.push(h)); } else - (p = { - eventTime: p, - lane: h, - tag: f.tag, - payload: f.payload, - callback: f.callback, + (y = { + eventTime: y, + lane: r, + tag: h.tag, + payload: h.payload, + callback: h.callback, next: null }), - n === null - ? ((l = n = p), (k = A)) - : (n = n.next = p), - (g |= h); - f = f.next; - if (f === null) - if (((h = e.shared.pending), h === null)) break; + null === m + ? ((l = m = y), (k = q)) + : (m = m.next = y), + (g |= r); + h = h.next; + if (null === h) + if (((h = e.shared.pending), null === h)) break; else - (f = h.next), - (h.next = null), - (e.lastBaseUpdate = h), + (r = h), + (h = r.next), + (r.next = null), + (e.lastBaseUpdate = r), (e.shared.pending = null); } while (1); - n === null && (k = A); + null === m && (k = q); e.baseState = k; e.firstBaseUpdate = l; - e.lastBaseUpdate = n; - Dg |= g; + e.lastBaseUpdate = m; + b = e.shared.interleaved; + if (null !== b) { + e = b; + do (g |= e.lane), (e = e.next); + while (e !== b); + } else null === f && (e.shared.lanes = 0); + hh |= g; a.lanes = g; - a.memoizedState = A; + a.memoizedState = q; } } - function Eg(a, b, c) { + function ih(a, b, c) { a = b.effects; b.effects = null; - if (a !== null) + if (null !== a) for (b = 0; b < a.length; b++) { var d = a[b], e = d.callback; - if (e !== null) { + if (null !== e) { d.callback = null; d = c; - if (typeof e !== 'function') throw Error(y(191, e)); + if ('function' !== typeof e) throw Error(p(191, e)); e.call(d); } } } - var Fg = new aa.Component().refs; - function Gg(a, b, c, d) { + var jh = new aa.Component().refs; + function kh(a, b, c, d) { b = a.memoizedState; c = c(d, b); - c = c === null || c === void 0 ? b : m({}, b, c); + c = null === c || void 0 === c ? b : A({}, b, c); a.memoizedState = c; - a.lanes === 0 && (a.updateQueue.baseState = c); + 0 === a.lanes && (a.updateQueue.baseState = c); } - var Kg = { + var nh = { isMounted: function (a) { - return (a = a._reactInternals) ? Zb(a) === a : false; + return (a = a._reactInternals) ? Vb(a) === a : false; }, enqueueSetState: function (a, b, c) { a = a._reactInternals; - var d = Hg(), - e = Ig(a), - f = zg(d, e); + var d = L(), + e = lh(a), + f = ch(d, e); f.payload = b; - c !== void 0 && c !== null && (f.callback = c); - Ag(a, f); - Jg(a, e, d); + void 0 !== c && null !== c && (f.callback = c); + b = dh(a, f, e); + null !== b && (mh(b, a, e, d), eh(b, a, e)); }, enqueueReplaceState: function (a, b, c) { a = a._reactInternals; - var d = Hg(), - e = Ig(a), - f = zg(d, e); + var d = L(), + e = lh(a), + f = ch(d, e); f.tag = 1; f.payload = b; - c !== void 0 && c !== null && (f.callback = c); - Ag(a, f); - Jg(a, e, d); + void 0 !== c && null !== c && (f.callback = c); + b = dh(a, f, e); + null !== b && (mh(b, a, e, d), eh(b, a, e)); }, enqueueForceUpdate: function (a, b) { a = a._reactInternals; - var c = Hg(), - d = Ig(a), - e = zg(c, d); + var c = L(), + d = lh(a), + e = ch(c, d); e.tag = 2; - b !== void 0 && b !== null && (e.callback = b); - Ag(a, e); - Jg(a, d, c); + void 0 !== b && null !== b && (e.callback = b); + b = dh(a, e, d); + null !== b && (mh(b, a, d, c), eh(b, a, d)); } }; - function Lg(a, b, c, d, e, f, g) { + function oh(a, b, c, d, e, f, g) { a = a.stateNode; - return typeof a.shouldComponentUpdate === 'function' + return 'function' === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent - ? !Je(c, d) || !Je(e, f) + ? !Ie(c, d) || !Ie(e, f) : true; } - function Mg(a, b, c) { + function ph(a, b, c) { var d = false, - e = Cf; + e = Vf; var f = b.contextType; - typeof f === 'object' && f !== null - ? (f = vg(f)) - : ((e = Ff(b) ? Df : M.current), + 'object' === typeof f && null !== f + ? (f = Vg(f)) + : ((e = Zf(b) ? Xf : H.current), (d = b.contextTypes), - (f = (d = d !== null && d !== void 0) ? Ef(a, e) : Cf)); + (f = (d = null !== d && void 0 !== d) ? Yf(a, e) : Vf)); b = new b(c, f); a.memoizedState = - b.state !== null && b.state !== void 0 ? b.state : null; - b.updater = Kg; + null !== b.state && void 0 !== b.state ? b.state : null; + b.updater = nh; a.stateNode = b; b._reactInternals = a; d && @@ -4326,191 +4553,206 @@ (a.__reactInternalMemoizedMaskedChildContext = f)); return b; } - function Ng(a, b, c, d) { + function qh(a, b, c, d) { a = b.state; - typeof b.componentWillReceiveProps === 'function' && + 'function' === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d); - typeof b.UNSAFE_componentWillReceiveProps === 'function' && + 'function' === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d); - b.state !== a && Kg.enqueueReplaceState(b, b.state, null); + b.state !== a && nh.enqueueReplaceState(b, b.state, null); } - function Og(a, b, c, d) { + function rh(a, b, c, d) { var e = a.stateNode; e.props = c; e.state = a.memoizedState; - e.refs = Fg; - xg(a); + e.refs = jh; + ah(a); var f = b.contextType; - typeof f === 'object' && f !== null - ? (e.context = vg(f)) - : ((f = Ff(b) ? Df : M.current), (e.context = Ef(a, f))); - Cg(a, c, e, d); + 'object' === typeof f && null !== f + ? (e.context = Vg(f)) + : ((f = Zf(b) ? Xf : H.current), (e.context = Yf(a, f))); e.state = a.memoizedState; f = b.getDerivedStateFromProps; - typeof f === 'function' && - (Gg(a, b, f, c), (e.state = a.memoizedState)); - typeof b.getDerivedStateFromProps === 'function' || - typeof e.getSnapshotBeforeUpdate === 'function' || - (typeof e.UNSAFE_componentWillMount !== 'function' && - typeof e.componentWillMount !== 'function') || + 'function' === typeof f && + (kh(a, b, f, c), (e.state = a.memoizedState)); + 'function' === typeof b.getDerivedStateFromProps || + 'function' === typeof e.getSnapshotBeforeUpdate || + ('function' !== typeof e.UNSAFE_componentWillMount && + 'function' !== typeof e.componentWillMount) || ((b = e.state), - typeof e.componentWillMount === 'function' && + 'function' === typeof e.componentWillMount && e.componentWillMount(), - typeof e.UNSAFE_componentWillMount === 'function' && + 'function' === typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), - b !== e.state && Kg.enqueueReplaceState(e, e.state, null), - Cg(a, c, e, d), + b !== e.state && nh.enqueueReplaceState(e, e.state, null), + gh(a, c, e, d), (e.state = a.memoizedState)); - typeof e.componentDidMount === 'function' && (a.flags |= 4); + 'function' === typeof e.componentDidMount && + (a.flags |= 4194308); } - var Pg = Array.isArray; - function Qg(a, b, c) { + function sh(a, b, c) { a = c.ref; if ( - a !== null && - typeof a !== 'function' && - typeof a !== 'object' + null !== a && + 'function' !== typeof a && + 'object' !== typeof a ) { if (c._owner) { c = c._owner; if (c) { - if (c.tag !== 1) throw Error(y(309)); + if (1 !== c.tag) throw Error(p(309)); var d = c.stateNode; } - if (!d) throw Error(y(147, a)); - var e = '' + a; + if (!d) throw Error(p(147, a)); + var e = d, + f = '' + a; if ( - b !== null && - b.ref !== null && - typeof b.ref === 'function' && - b.ref._stringRef === e + null !== b && + null !== b.ref && + 'function' === typeof b.ref && + b.ref._stringRef === f ) return b.ref; b = function (a2) { - var b2 = d.refs; - b2 === Fg && (b2 = d.refs = {}); - a2 === null ? delete b2[e] : (b2[e] = a2); + var b2 = e.refs; + b2 === jh && (b2 = e.refs = {}); + null === a2 ? delete b2[f] : (b2[f] = a2); }; - b._stringRef = e; + b._stringRef = f; return b; } - if (typeof a !== 'string') throw Error(y(284)); - if (!c._owner) throw Error(y(290, a)); + if ('string' !== typeof a) throw Error(p(284)); + if (!c._owner) throw Error(p(290, a)); } return a; } - function Rg(a, b) { - if (a.type !== 'textarea') - throw Error( - y( - 31, - Object.prototype.toString.call(b) === - '[object Object]' - ? 'object with keys {' + - Object.keys(b).join(', ') + - '}' - : b - ) - ); + function th(a, b) { + a = Object.prototype.toString.call(b); + throw Error( + p( + 31, + '[object Object]' === a + ? 'object with keys {' + + Object.keys(b).join(', ') + + '}' + : a + ) + ); } - function Sg(a) { + function uh(a) { + var b = a._init; + return b(a._payload); + } + function vh(a) { function b(b2, c2) { if (a) { - var d2 = b2.lastEffect; - d2 !== null - ? ((d2.nextEffect = c2), (b2.lastEffect = c2)) - : (b2.firstEffect = b2.lastEffect = c2); - c2.nextEffect = null; - c2.flags = 8; + var d2 = b2.deletions; + null === d2 + ? ((b2.deletions = [c2]), (b2.flags |= 16)) + : d2.push(c2); } } function c(c2, d2) { if (!a) return null; - for (; d2 !== null; ) b(c2, d2), (d2 = d2.sibling); + for (; null !== d2; ) b(c2, d2), (d2 = d2.sibling); return null; } function d(a2, b2) { - for (a2 = new Map(); b2 !== null; ) - b2.key !== null + for (a2 = /* @__PURE__ */ new Map(); null !== b2; ) + null !== b2.key ? a2.set(b2.key, b2) : a2.set(b2.index, b2), (b2 = b2.sibling); return a2; } function e(a2, b2) { - a2 = Tg(a2, b2); + a2 = wh(a2, b2); a2.index = 0; a2.sibling = null; return a2; } function f(b2, c2, d2) { b2.index = d2; - if (!a) return c2; + if (!a) return (b2.flags |= 1048576), c2; d2 = b2.alternate; - if (d2 !== null) + if (null !== d2) return ( - (d2 = d2.index), d2 < c2 ? ((b2.flags = 2), c2) : d2 + (d2 = d2.index), + d2 < c2 ? ((b2.flags |= 2), c2) : d2 ); - b2.flags = 2; + b2.flags |= 2; return c2; } function g(b2) { - a && b2.alternate === null && (b2.flags = 2); + a && null === b2.alternate && (b2.flags |= 2); return b2; } function h(a2, b2, c2, d2) { - if (b2 === null || b2.tag !== 6) - return (b2 = Ug(c2, a2.mode, d2)), (b2.return = a2), b2; + if (null === b2 || 6 !== b2.tag) + return (b2 = xh(c2, a2.mode, d2)), (b2.return = a2), b2; b2 = e(b2, c2); b2.return = a2; return b2; } function k(a2, b2, c2, d2) { - if (b2 !== null && b2.elementType === c2.type) + var f2 = c2.type; + if (f2 === ya) + return m(a2, b2, c2.props.children, d2, c2.key); + if ( + null !== b2 && + (b2.elementType === f2 || + ('object' === typeof f2 && + null !== f2 && + f2.$$typeof === Ha && + uh(f2) === b2.type)) + ) return ( (d2 = e(b2, c2.props)), - (d2.ref = Qg(a2, b2, c2)), + (d2.ref = sh(a2, b2, c2)), (d2.return = a2), d2 ); - d2 = Vg(c2.type, c2.key, c2.props, null, a2.mode, d2); - d2.ref = Qg(a2, b2, c2); + d2 = yh(c2.type, c2.key, c2.props, null, a2.mode, d2); + d2.ref = sh(a2, b2, c2); d2.return = a2; return d2; } function l(a2, b2, c2, d2) { if ( - b2 === null || - b2.tag !== 4 || + null === b2 || + 4 !== b2.tag || b2.stateNode.containerInfo !== c2.containerInfo || b2.stateNode.implementation !== c2.implementation ) - return (b2 = Wg(c2, a2.mode, d2)), (b2.return = a2), b2; + return (b2 = zh(c2, a2.mode, d2)), (b2.return = a2), b2; b2 = e(b2, c2.children || []); b2.return = a2; return b2; } - function n(a2, b2, c2, d2, f2) { - if (b2 === null || b2.tag !== 7) + function m(a2, b2, c2, d2, f2) { + if (null === b2 || 7 !== b2.tag) return ( - (b2 = Xg(c2, a2.mode, d2, f2)), (b2.return = a2), b2 + (b2 = Ah(c2, a2.mode, d2, f2)), (b2.return = a2), b2 ); b2 = e(b2, c2); b2.return = a2; return b2; } - function A(a2, b2, c2) { - if (typeof b2 === 'string' || typeof b2 === 'number') + function q(a2, b2, c2) { + if ( + ('string' === typeof b2 && '' !== b2) || + 'number' === typeof b2 + ) return ( - (b2 = Ug('' + b2, a2.mode, c2)), + (b2 = xh('' + b2, a2.mode, c2)), (b2.return = a2), b2 ); - if (typeof b2 === 'object' && b2 !== null) { + if ('object' === typeof b2 && null !== b2) { switch (b2.$$typeof) { - case sa: + case va: return ( - (c2 = Vg( + (c2 = yh( b2.type, b2.key, b2.props, @@ -4518,229 +4760,245 @@ a2.mode, c2 )), - (c2.ref = Qg(a2, null, b2)), + (c2.ref = sh(a2, null, b2)), (c2.return = a2), c2 ); - case ta: + case wa: return ( - (b2 = Wg(b2, a2.mode, c2)), + (b2 = zh(b2, a2.mode, c2)), (b2.return = a2), b2 ); + case Ha: + var d2 = b2._init; + return q(a2, d2(b2._payload), c2); } - if (Pg(b2) || La(b2)) + if (eb(b2) || Ka(b2)) return ( - (b2 = Xg(b2, a2.mode, c2, null)), + (b2 = Ah(b2, a2.mode, c2, null)), (b2.return = a2), b2 ); - Rg(a2, b2); + th(a2, b2); } return null; } - function p(a2, b2, c2, d2) { - var e2 = b2 !== null ? b2.key : null; - if (typeof c2 === 'string' || typeof c2 === 'number') - return e2 !== null ? null : h(a2, b2, '' + c2, d2); - if (typeof c2 === 'object' && c2 !== null) { + function r(a2, b2, c2, d2) { + var e2 = null !== b2 ? b2.key : null; + if ( + ('string' === typeof c2 && '' !== c2) || + 'number' === typeof c2 + ) + return null !== e2 ? null : h(a2, b2, '' + c2, d2); + if ('object' === typeof c2 && null !== c2) { switch (c2.$$typeof) { - case sa: - return c2.key === e2 - ? c2.type === ua - ? n(a2, b2, c2.props.children, d2, e2) - : k(a2, b2, c2, d2) - : null; - case ta: + case va: + return c2.key === e2 ? k(a2, b2, c2, d2) : null; + case wa: return c2.key === e2 ? l(a2, b2, c2, d2) : null; + case Ha: + return ( + (e2 = c2._init), + r(a2, b2, e2(c2._payload), d2) + ); } - if (Pg(c2) || La(c2)) - return e2 !== null ? null : n(a2, b2, c2, d2, null); - Rg(a2, c2); + if (eb(c2) || Ka(c2)) + return null !== e2 ? null : m(a2, b2, c2, d2, null); + th(a2, c2); } return null; } - function C(a2, b2, c2, d2, e2) { - if (typeof d2 === 'string' || typeof d2 === 'number') + function y(a2, b2, c2, d2, e2) { + if ( + ('string' === typeof d2 && '' !== d2) || + 'number' === typeof d2 + ) return ( (a2 = a2.get(c2) || null), h(b2, a2, '' + d2, e2) ); - if (typeof d2 === 'object' && d2 !== null) { + if ('object' === typeof d2 && null !== d2) { switch (d2.$$typeof) { - case sa: + case va: return ( (a2 = - a2.get(d2.key === null ? c2 : d2.key) || + a2.get(null === d2.key ? c2 : d2.key) || null), - d2.type === ua - ? n( - b2, - a2, - d2.props.children, - e2, - d2.key - ) - : k(b2, a2, d2, e2) + k(b2, a2, d2, e2) ); - case ta: + case wa: return ( (a2 = - a2.get(d2.key === null ? c2 : d2.key) || + a2.get(null === d2.key ? c2 : d2.key) || null), l(b2, a2, d2, e2) ); + case Ha: + var f2 = d2._init; + return y(a2, b2, c2, f2(d2._payload), e2); } - if (Pg(d2) || La(d2)) + if (eb(d2) || Ka(d2)) return ( (a2 = a2.get(c2) || null), - n(b2, a2, d2, e2, null) + m(b2, a2, d2, e2, null) ); - Rg(b2, d2); + th(b2, d2); } return null; } - function x(e2, g2, h2, k2) { + function n(e2, g2, h2, k2) { for ( - var l2 = null, t = null, u = g2, z = (g2 = 0), q = null; - u !== null && z < h2.length; - z++ + var l2 = null, + m2 = null, + u = g2, + w = (g2 = 0), + x = null; + null !== u && w < h2.length; + w++ ) { - u.index > z ? ((q = u), (u = null)) : (q = u.sibling); - var n2 = p(e2, u, h2[z], k2); - if (n2 === null) { - u === null && (u = q); + u.index > w ? ((x = u), (u = null)) : (x = u.sibling); + var n2 = r(e2, u, h2[w], k2); + if (null === n2) { + null === u && (u = x); break; } - a && u && n2.alternate === null && b(e2, u); - g2 = f(n2, g2, z); - t === null ? (l2 = n2) : (t.sibling = n2); - t = n2; - u = q; + a && u && null === n2.alternate && b(e2, u); + g2 = f(n2, g2, w); + null === m2 ? (l2 = n2) : (m2.sibling = n2); + m2 = n2; + u = x; } - if (z === h2.length) return c(e2, u), l2; - if (u === null) { - for (; z < h2.length; z++) - (u = A(e2, h2[z], k2)), - u !== null && - ((g2 = f(u, g2, z)), - t === null ? (l2 = u) : (t.sibling = u), - (t = u)); + if (w === h2.length) return c(e2, u), I && tg(e2, w), l2; + if (null === u) { + for (; w < h2.length; w++) + (u = q(e2, h2[w], k2)), + null !== u && + ((g2 = f(u, g2, w)), + null === m2 ? (l2 = u) : (m2.sibling = u), + (m2 = u)); + I && tg(e2, w); return l2; } - for (u = d(e2, u); z < h2.length; z++) - (q = C(u, e2, z, h2[z], k2)), - q !== null && + for (u = d(e2, u); w < h2.length; w++) + (x = y(u, e2, w, h2[w], k2)), + null !== x && (a && - q.alternate !== null && - u.delete(q.key === null ? z : q.key), - (g2 = f(q, g2, z)), - t === null ? (l2 = q) : (t.sibling = q), - (t = q)); + null !== x.alternate && + u.delete(null === x.key ? w : x.key), + (g2 = f(x, g2, w)), + null === m2 ? (l2 = x) : (m2.sibling = x), + (m2 = x)); a && u.forEach(function (a2) { return b(e2, a2); }); + I && tg(e2, w); return l2; } - function w(e2, g2, h2, k2) { - var l2 = La(h2); - if (typeof l2 !== 'function') throw Error(y(150)); + function t(e2, g2, h2, k2) { + var l2 = Ka(h2); + if ('function' !== typeof l2) throw Error(p(150)); h2 = l2.call(h2); - if (h2 == null) throw Error(y(151)); + if (null == h2) throw Error(p(151)); for ( - var t = (l2 = null), - u = g2, - z = (g2 = 0), - q = null, + var u = (l2 = null), + m2 = g2, + w = (g2 = 0), + x = null, n2 = h2.next(); - u !== null && !n2.done; - z++, n2 = h2.next() + null !== m2 && !n2.done; + w++, n2 = h2.next() ) { - u.index > z ? ((q = u), (u = null)) : (q = u.sibling); - var w2 = p(e2, u, n2.value, k2); - if (w2 === null) { - u === null && (u = q); + m2.index > w + ? ((x = m2), (m2 = null)) + : (x = m2.sibling); + var t2 = r(e2, m2, n2.value, k2); + if (null === t2) { + null === m2 && (m2 = x); break; } - a && u && w2.alternate === null && b(e2, u); - g2 = f(w2, g2, z); - t === null ? (l2 = w2) : (t.sibling = w2); - t = w2; - u = q; + a && m2 && null === t2.alternate && b(e2, m2); + g2 = f(t2, g2, w); + null === u ? (l2 = t2) : (u.sibling = t2); + u = t2; + m2 = x; } - if (n2.done) return c(e2, u), l2; - if (u === null) { - for (; !n2.done; z++, n2 = h2.next()) - (n2 = A(e2, n2.value, k2)), - n2 !== null && - ((g2 = f(n2, g2, z)), - t === null ? (l2 = n2) : (t.sibling = n2), - (t = n2)); + if (n2.done) return c(e2, m2), I && tg(e2, w), l2; + if (null === m2) { + for (; !n2.done; w++, n2 = h2.next()) + (n2 = q(e2, n2.value, k2)), + null !== n2 && + ((g2 = f(n2, g2, w)), + null === u ? (l2 = n2) : (u.sibling = n2), + (u = n2)); + I && tg(e2, w); return l2; } - for (u = d(e2, u); !n2.done; z++, n2 = h2.next()) - (n2 = C(u, e2, z, n2.value, k2)), - n2 !== null && + for (m2 = d(e2, m2); !n2.done; w++, n2 = h2.next()) + (n2 = y(m2, e2, w, n2.value, k2)), + null !== n2 && (a && - n2.alternate !== null && - u.delete(n2.key === null ? z : n2.key), - (g2 = f(n2, g2, z)), - t === null ? (l2 = n2) : (t.sibling = n2), - (t = n2)); + null !== n2.alternate && + m2.delete(null === n2.key ? w : n2.key), + (g2 = f(n2, g2, w)), + null === u ? (l2 = n2) : (u.sibling = n2), + (u = n2)); a && - u.forEach(function (a2) { + m2.forEach(function (a2) { return b(e2, a2); }); + I && tg(e2, w); return l2; } - return function (a2, d2, f2, h2) { - var k2 = - typeof f2 === 'object' && - f2 !== null && - f2.type === ua && - f2.key === null; - k2 && (f2 = f2.props.children); - var l2 = typeof f2 === 'object' && f2 !== null; - if (l2) + function J(a2, d2, f2, h2) { + 'object' === typeof f2 && + null !== f2 && + f2.type === ya && + null === f2.key && + (f2 = f2.props.children); + if ('object' === typeof f2 && null !== f2) { switch (f2.$$typeof) { - case sa: + case va: a: { - l2 = f2.key; - for (k2 = d2; k2 !== null; ) { - if (k2.key === l2) { - switch (k2.tag) { - case 7: - if (f2.type === ua) { - c(a2, k2.sibling); - d2 = e( - k2, - f2.props.children - ); - d2.return = a2; - a2 = d2; - break a; - } - break; - default: - if ( - k2.elementType === - f2.type - ) { - c(a2, k2.sibling); - d2 = e(k2, f2.props); - d2.ref = Qg(a2, k2, f2); - d2.return = a2; - a2 = d2; - break a; - } + for ( + var k2 = f2.key, l2 = d2; + null !== l2; + + ) { + if (l2.key === k2) { + k2 = f2.type; + if (k2 === ya) { + if (7 === l2.tag) { + c(a2, l2.sibling); + d2 = e( + l2, + f2.props.children + ); + d2.return = a2; + a2 = d2; + break a; + } + } else if ( + l2.elementType === k2 || + ('object' === typeof k2 && + null !== k2 && + k2.$$typeof === Ha && + uh(k2) === l2.type) + ) { + c(a2, l2.sibling); + d2 = e(l2, f2.props); + d2.ref = sh(a2, l2, f2); + d2.return = a2; + a2 = d2; + break a; } - c(a2, k2); + c(a2, l2); break; - } else b(a2, k2); - k2 = k2.sibling; + } else b(a2, l2); + l2 = l2.sibling; } - f2.type === ua - ? ((d2 = Xg( + f2.type === ya + ? ((d2 = Ah( f2.props.children, a2.mode, h2, @@ -4748,7 +5006,7 @@ )), (d2.return = a2), (a2 = d2)) - : ((h2 = Vg( + : ((h2 = yh( f2.type, f2.key, f2.props, @@ -4756,17 +5014,17 @@ a2.mode, h2 )), - (h2.ref = Qg(a2, d2, f2)), + (h2.ref = sh(a2, d2, f2)), (h2.return = a2), (a2 = h2)); } return g(a2); - case ta: + case wa: a: { - for (k2 = f2.key; d2 !== null; ) { - if (d2.key === k2) + for (l2 = f2.key; null !== d2; ) { + if (d2.key === l2) if ( - d2.tag === 4 && + 4 === d2.tag && d2.stateNode.containerInfo === f2.containerInfo && d2.stateNode.implementation === @@ -4784,110 +5042,107 @@ else b(a2, d2); d2 = d2.sibling; } - d2 = Wg(f2, a2.mode, h2); + d2 = zh(f2, a2.mode, h2); d2.return = a2; a2 = d2; } return g(a2); + case Ha: + return ( + (l2 = f2._init), + J(a2, d2, l2(f2._payload), h2) + ); } - if (typeof f2 === 'string' || typeof f2 === 'number') - return ( - (f2 = '' + f2), - d2 !== null && d2.tag === 6 + if (eb(f2)) return n(a2, d2, f2, h2); + if (Ka(f2)) return t(a2, d2, f2, h2); + th(a2, f2); + } + return ('string' === typeof f2 && '' !== f2) || + 'number' === typeof f2 + ? ((f2 = '' + f2), + null !== d2 && 6 === d2.tag ? (c(a2, d2.sibling), (d2 = e(d2, f2)), (d2.return = a2), (a2 = d2)) : (c(a2, d2), - (d2 = Ug(f2, a2.mode, h2)), + (d2 = xh(f2, a2.mode, h2)), (d2.return = a2), (a2 = d2)), - g(a2) - ); - if (Pg(f2)) return x(a2, d2, f2, h2); - if (La(f2)) return w(a2, d2, f2, h2); - l2 && Rg(a2, f2); - if (typeof f2 === 'undefined' && !k2) - switch (a2.tag) { - case 1: - case 22: - case 0: - case 11: - case 15: - throw Error(y(152, Ra(a2.type) || 'Component')); - } - return c(a2, d2); - }; - } - var Yg = Sg(true); - var Zg = Sg(false); - var $g = {}; - var ah = Bf($g); - var bh = Bf($g); - var ch = Bf($g); - function dh(a) { - if (a === $g) throw Error(y(174)); + g(a2)) + : c(a2, d2); + } + return J; + } + var Bh = vh(true); + var Ch = vh(false); + var Dh = {}; + var Eh = Uf(Dh); + var Fh = Uf(Dh); + var Gh = Uf(Dh); + function Hh(a) { + if (a === Dh) throw Error(p(174)); return a; } - function eh(a, b) { - I(ch, b); - I(bh, a); - I(ah, $g); + function Ih(a, b) { + G(Gh, b); + G(Fh, a); + G(Eh, Dh); a = b.nodeType; switch (a) { case 9: case 11: b = (b = b.documentElement) ? b.namespaceURI - : mb(null, ''); + : lb(null, ''); break; default: - (a = a === 8 ? b.parentNode : b), + (a = 8 === a ? b.parentNode : b), (b = a.namespaceURI || null), (a = a.tagName), - (b = mb(b, a)); + (b = lb(b, a)); } - H(ah); - I(ah, b); + E(Eh); + G(Eh, b); } - function fh() { - H(ah); - H(bh); - H(ch); + function Jh() { + E(Eh); + E(Fh); + E(Gh); } - function gh(a) { - dh(ch.current); - var b = dh(ah.current); - var c = mb(b, a.type); - b !== c && (I(bh, a), I(ah, c)); + function Kh(a) { + Hh(Gh.current); + var b = Hh(Eh.current); + var c = lb(b, a.type); + b !== c && (G(Fh, a), G(Eh, c)); } - function hh(a) { - bh.current === a && (H(ah), H(bh)); + function Lh(a) { + Fh.current === a && (E(Eh), E(Fh)); } - var P = Bf(0); - function ih(a) { - for (var b = a; b !== null; ) { - if (b.tag === 13) { + var M = Uf(0); + function Mh(a) { + for (var b = a; null !== b; ) { + if (13 === b.tag) { var c = b.memoizedState; if ( - c !== null && + null !== c && ((c = c.dehydrated), - c === null || c.data === '$?' || c.data === '$!') + null === c || '$?' === c.data || '$!' === c.data) ) return b; } else if ( - b.tag === 19 && - b.memoizedProps.revealOrder !== void 0 + 19 === b.tag && + void 0 !== b.memoizedProps.revealOrder ) { - if ((b.flags & 64) !== 0) return b; - } else if (b.child !== null) { + if (0 !== (b.flags & 128)) return b; + } else if (null !== b.child) { b.child.return = b; b = b.child; continue; } if (b === a) break; - for (; b.sibling === null; ) { - if (b.return === null || b.return === a) return null; + for (; null === b.sibling; ) { + if (null === b.return || b.return === a) return null; b = b.return; } b.sibling.return = b.return; @@ -4895,168 +5150,66 @@ } return null; } - var jh = null; - var kh = null; - var lh = false; - function mh(a, b) { - var c = nh(5, null, null, 0); - c.elementType = 'DELETED'; - c.type = 'DELETED'; - c.stateNode = b; - c.return = a; - c.flags = 8; - a.lastEffect !== null - ? ((a.lastEffect.nextEffect = c), (a.lastEffect = c)) - : (a.firstEffect = a.lastEffect = c); - } - function oh(a, b) { - switch (a.tag) { - case 5: - var c = a.type; - b = - b.nodeType !== 1 || - c.toLowerCase() !== b.nodeName.toLowerCase() - ? null - : b; - return b !== null ? ((a.stateNode = b), true) : false; - case 6: - return ( - (b = - a.pendingProps === '' || b.nodeType !== 3 - ? null - : b), - b !== null ? ((a.stateNode = b), true) : false - ); - case 13: - return false; - default: - return false; - } - } - function ph(a) { - if (lh) { - var b = kh; - if (b) { - var c = b; - if (!oh(a, b)) { - b = rf(c.nextSibling); - if (!b || !oh(a, b)) { - a.flags = (a.flags & -1025) | 2; - lh = false; - jh = a; - return; - } - mh(jh, c); - } - jh = a; - kh = rf(b.firstChild); - } else - (a.flags = (a.flags & -1025) | 2), - (lh = false), - (jh = a); - } - } - function qh(a) { - for ( - a = a.return; - a !== null && a.tag !== 5 && a.tag !== 3 && a.tag !== 13; - - ) - a = a.return; - jh = a; - } - function rh(a) { - if (a !== jh) return false; - if (!lh) return qh(a), (lh = true), false; - var b = a.type; - if ( - a.tag !== 5 || - (b !== 'head' && b !== 'body' && !nf(b, a.memoizedProps)) - ) - for (b = kh; b; ) mh(a, b), (b = rf(b.nextSibling)); - qh(a); - if (a.tag === 13) { - a = a.memoizedState; - a = a !== null ? a.dehydrated : null; - if (!a) throw Error(y(317)); - a: { - a = a.nextSibling; - for (b = 0; a; ) { - if (a.nodeType === 8) { - var c = a.data; - if (c === '/$') { - if (b === 0) { - kh = rf(a.nextSibling); - break a; - } - b--; - } else - (c !== '$' && c !== '$!' && c !== '$?') || - b++; - } - a = a.nextSibling; - } - kh = null; - } - } else kh = jh ? rf(a.stateNode.nextSibling) : null; - return true; - } - function sh() { - kh = jh = null; - lh = false; + var Nh = []; + function Oh() { + for (var a = 0; a < Nh.length; a++) + Nh[a]._workInProgressVersionPrimary = null; + Nh.length = 0; } - var th = []; - function uh() { - for (var a = 0; a < th.length; a++) - th[a]._workInProgressVersionPrimary = null; - th.length = 0; + var Ph = ua.ReactCurrentDispatcher; + var Qh = ua.ReactCurrentBatchConfig; + var Rh = 0; + var N = null; + var O = null; + var P = null; + var Sh = false; + var Th = false; + var Uh = 0; + var Vh = 0; + function Q() { + throw Error(p(321)); } - var vh = ra.ReactCurrentDispatcher; - var wh = ra.ReactCurrentBatchConfig; - var xh = 0; - var R = null; - var S = null; - var T = null; - var yh = false; - var zh = false; - function Ah() { - throw Error(y(321)); - } - function Bh(a, b) { - if (b === null) return false; + function Wh(a, b) { + if (null === b) return false; for (var c = 0; c < b.length && c < a.length; c++) if (!He(a[c], b[c])) return false; return true; } - function Ch(a, b, c, d, e, f) { - xh = f; - R = b; + function Xh(a, b, c, d, e, f) { + Rh = f; + N = b; b.memoizedState = null; b.updateQueue = null; b.lanes = 0; - vh.current = a === null || a.memoizedState === null ? Dh : Eh; + Ph.current = null === a || null === a.memoizedState ? Yh : Zh; a = c(d, e); - if (zh) { + if (Th) { f = 0; do { - zh = false; - if (!(25 > f)) throw Error(y(301)); + Th = false; + Uh = 0; + if (25 <= f) throw Error(p(301)); f += 1; - T = S = null; + P = O = null; b.updateQueue = null; - vh.current = Fh; + Ph.current = $h; a = c(d, e); - } while (zh); - } - vh.current = Gh; - b = S !== null && S.next !== null; - xh = 0; - T = S = R = null; - yh = false; - if (b) throw Error(y(300)); + } while (Th); + } + Ph.current = ai; + b = null !== O && null !== O.next; + Rh = 0; + P = O = N = null; + Sh = false; + if (b) throw Error(p(300)); + return a; + } + function bi() { + var a = 0 !== Uh; + Uh = 0; return a; } - function Hh() { + function ci() { var a = { memoizedState: null, baseState: null, @@ -5064,43 +5217,43 @@ queue: null, next: null }; - T === null ? (R.memoizedState = T = a) : (T = T.next = a); - return T; + null === P ? (N.memoizedState = P = a) : (P = P.next = a); + return P; } - function Ih() { - if (S === null) { - var a = R.alternate; - a = a !== null ? a.memoizedState : null; - } else a = S.next; - var b = T === null ? R.memoizedState : T.next; - if (b !== null) (T = b), (S = a); + function di() { + if (null === O) { + var a = N.alternate; + a = null !== a ? a.memoizedState : null; + } else a = O.next; + var b = null === P ? N.memoizedState : P.next; + if (null !== b) (P = b), (O = a); else { - if (a === null) throw Error(y(310)); - S = a; + if (null === a) throw Error(p(310)); + O = a; a = { - memoizedState: S.memoizedState, - baseState: S.baseState, - baseQueue: S.baseQueue, - queue: S.queue, + memoizedState: O.memoizedState, + baseState: O.baseState, + baseQueue: O.baseQueue, + queue: O.queue, next: null }; - T === null ? (R.memoizedState = T = a) : (T = T.next = a); + null === P ? (N.memoizedState = P = a) : (P = P.next = a); } - return T; + return P; } - function Jh(a, b) { - return typeof b === 'function' ? b(a) : b; + function ei(a, b) { + return 'function' === typeof b ? b(a) : b; } - function Kh(a) { - var b = Ih(), + function fi(a) { + var b = di(), c = b.queue; - if (c === null) throw Error(y(311)); + if (null === c) throw Error(p(311)); c.lastRenderedReducer = a; - var d = S, + var d = O, e = d.baseQueue, f = c.pending; - if (f !== null) { - if (e !== null) { + if (null !== f) { + if (null !== e) { var g = e.next; e.next = f.next; f.next = g; @@ -5108,183 +5261,159 @@ d.baseQueue = e = f; c.pending = null; } - if (e !== null) { - e = e.next; + if (null !== e) { + f = e.next; d = d.baseState; - var h = (g = f = null), - k = e; + var h = (g = null), + k = null, + l = f; do { - var l = k.lane; - if ((xh & l) === l) - h !== null && - (h = h.next = + var m = l.lane; + if ((Rh & m) === m) + null !== k && + (k = k.next = { lane: 0, - action: k.action, - eagerReducer: k.eagerReducer, - eagerState: k.eagerState, + action: l.action, + hasEagerState: l.hasEagerState, + eagerState: l.eagerState, next: null }), - (d = - k.eagerReducer === a - ? k.eagerState - : a(d, k.action)); + (d = l.hasEagerState + ? l.eagerState + : a(d, l.action)); else { - var n = { - lane: l, - action: k.action, - eagerReducer: k.eagerReducer, - eagerState: k.eagerState, + var q = { + lane: m, + action: l.action, + hasEagerState: l.hasEagerState, + eagerState: l.eagerState, next: null }; - h === null - ? ((g = h = n), (f = d)) - : (h = h.next = n); - R.lanes |= l; - Dg |= l; + null === k + ? ((h = k = q), (g = d)) + : (k = k.next = q); + N.lanes |= m; + hh |= m; } - k = k.next; - } while (k !== null && k !== e); - h === null ? (f = d) : (h.next = g); - He(d, b.memoizedState) || (ug = true); + l = l.next; + } while (null !== l && l !== f); + null === k ? (g = d) : (k.next = h); + He(d, b.memoizedState) || (Ug = true); b.memoizedState = d; - b.baseState = f; - b.baseQueue = h; + b.baseState = g; + b.baseQueue = k; c.lastRenderedState = d; } + a = c.interleaved; + if (null !== a) { + e = a; + do (f = e.lane), (N.lanes |= f), (hh |= f), (e = e.next); + while (e !== a); + } else null === e && (c.lanes = 0); return [b.memoizedState, c.dispatch]; } - function Lh(a) { - var b = Ih(), + function gi(a) { + var b = di(), c = b.queue; - if (c === null) throw Error(y(311)); + if (null === c) throw Error(p(311)); c.lastRenderedReducer = a; var d = c.dispatch, e = c.pending, f = b.memoizedState; - if (e !== null) { + if (null !== e) { c.pending = null; var g = (e = e.next); do (f = a(f, g.action)), (g = g.next); while (g !== e); - He(f, b.memoizedState) || (ug = true); + He(f, b.memoizedState) || (Ug = true); b.memoizedState = f; - b.baseQueue === null && (b.baseState = f); + null === b.baseQueue && (b.baseState = f); c.lastRenderedState = f; } return [f, d]; } - function Mh(a, b, c) { - var d = b._getVersion; - d = d(b._source); - var e = b._workInProgressVersionPrimary; - if (e !== null) a = e === d; - else if (((a = a.mutableReadLanes), (a = (xh & a) === a))) - (b._workInProgressVersionPrimary = d), th.push(b); - if (a) return c(b._source); - th.push(b); - throw Error(y(350)); - } - function Nh(a, b, c, d) { - var e = U; - if (e === null) throw Error(y(349)); - var f = b._getVersion, - g = f(b._source), - h = vh.current, - k = h.useState(function () { - return Mh(e, b, c); - }), - l = k[1], - n = k[0]; - k = T; - var A = a.memoizedState, - p = A.refs, - C = p.getSnapshot, - x = A.source; - A = A.subscribe; - var w = R; - a.memoizedState = { refs: p, source: b, subscribe: d }; - h.useEffect( - function () { - p.getSnapshot = c; - p.setSnapshot = l; - var a2 = f(b._source); - if (!He(g, a2)) { - a2 = c(b._source); - He(n, a2) || - (l(a2), - (a2 = Ig(w)), - (e.mutableReadLanes |= a2 & e.pendingLanes)); - a2 = e.mutableReadLanes; - e.entangledLanes |= a2; - for (var d2 = e.entanglements, h2 = a2; 0 < h2; ) { - var k2 = 31 - Vc(h2), - v = 1 << k2; - d2[k2] |= a2; - h2 &= ~v; - } - } - }, - [c, b, d] - ); - h.useEffect( - function () { - return d(b._source, function () { - var a2 = p.getSnapshot, - c2 = p.setSnapshot; - try { - c2(a2(b._source)); - var d2 = Ig(w); - e.mutableReadLanes |= d2 & e.pendingLanes; - } catch (q) { - c2(function () { - throw q; - }); - } - }); - }, - [b, d] - ); - (He(C, c) && He(x, b) && He(A, d)) || - ((a = { - pending: null, - dispatch: null, - lastRenderedReducer: Jh, - lastRenderedState: n - }), - (a.dispatch = l = Oh.bind(null, R, a)), - (k.queue = a), - (k.baseQueue = null), - (n = Mh(e, b, c)), - (k.memoizedState = k.baseState = n)); - return n; + function hi() {} + function ii(a, b) { + var c = N, + d = di(), + e = b(), + f = !He(d.memoizedState, e); + f && ((d.memoizedState = e), (Ug = true)); + d = d.queue; + ji(ki.bind(null, c, d, a), [a]); + if ( + d.getSnapshot !== b || + f || + (null !== P && P.memoizedState.tag & 1) + ) { + c.flags |= 2048; + li(9, mi.bind(null, c, d, e, b), void 0, null); + if (null === R) throw Error(p(349)); + 0 !== (Rh & 30) || ni(c, b, e); + } + return e; + } + function ni(a, b, c) { + a.flags |= 16384; + a = { getSnapshot: b, value: c }; + b = N.updateQueue; + null === b + ? ((b = { lastEffect: null, stores: null }), + (N.updateQueue = b), + (b.stores = [a])) + : ((c = b.stores), + null === c ? (b.stores = [a]) : c.push(a)); + } + function mi(a, b, c, d) { + b.value = c; + b.getSnapshot = d; + oi(b) && pi(a); + } + function ki(a, b, c) { + return c(function () { + oi(b) && pi(a); + }); + } + function oi(a) { + var b = a.getSnapshot; + a = a.value; + try { + var c = b(); + return !He(a, c); + } catch (d) { + return true; + } } - function Ph(a, b, c) { - var d = Ih(); - return Nh(d, a, b, c); + function pi(a) { + var b = Zg(a, 1); + null !== b && mh(b, a, 1, -1); } - function Qh(a) { - var b = Hh(); - typeof a === 'function' && (a = a()); + function qi(a) { + var b = ci(); + 'function' === typeof a && (a = a()); b.memoizedState = b.baseState = a; - a = b.queue = { + a = { pending: null, + interleaved: null, + lanes: 0, dispatch: null, - lastRenderedReducer: Jh, + lastRenderedReducer: ei, lastRenderedState: a }; - a = a.dispatch = Oh.bind(null, R, a); + b.queue = a; + a = a.dispatch = ri.bind(null, N, a); return [b.memoizedState, a]; } - function Rh(a, b, c, d) { + function li(a, b, c, d) { a = { tag: a, create: b, destroy: c, deps: d, next: null }; - b = R.updateQueue; - b === null - ? ((b = { lastEffect: null }), - (R.updateQueue = b), + b = N.updateQueue; + null === b + ? ((b = { lastEffect: null, stores: null }), + (N.updateQueue = b), (b.lastEffect = a.next = a)) : ((c = b.lastEffect), - c === null + null === c ? (b.lastEffect = a.next = a) : ((d = c.next), (c.next = a), @@ -5292,45 +5421,43 @@ (b.lastEffect = a))); return a; } - function Sh(a) { - var b = Hh(); - a = { current: a }; - return (b.memoizedState = a); - } - function Th() { - return Ih().memoizedState; + function si() { + return di().memoizedState; } - function Uh(a, b, c, d) { - var e = Hh(); - R.flags |= a; - e.memoizedState = Rh(1 | b, c, void 0, d === void 0 ? null : d); + function ti(a, b, c, d) { + var e = ci(); + N.flags |= a; + e.memoizedState = li(1 | b, c, void 0, void 0 === d ? null : d); } - function Vh(a, b, c, d) { - var e = Ih(); - d = d === void 0 ? null : d; + function ui(a, b, c, d) { + var e = di(); + d = void 0 === d ? null : d; var f = void 0; - if (S !== null) { - var g = S.memoizedState; + if (null !== O) { + var g = O.memoizedState; f = g.destroy; - if (d !== null && Bh(d, g.deps)) { - Rh(b, c, f, d); + if (null !== d && Wh(d, g.deps)) { + e.memoizedState = li(b, c, f, d); return; } } - R.flags |= a; - e.memoizedState = Rh(1 | b, c, f, d); + N.flags |= a; + e.memoizedState = li(1 | b, c, f, d); } - function Wh(a, b) { - return Uh(516, 4, a, b); + function vi(a, b) { + return ti(8390656, 8, a, b); } - function Xh(a, b) { - return Vh(516, 4, a, b); + function ji(a, b) { + return ui(2048, 8, a, b); } - function Yh(a, b) { - return Vh(4, 2, a, b); + function wi(a, b) { + return ui(4, 2, a, b); } - function Zh(a, b) { - if (typeof b === 'function') + function xi(a, b) { + return ui(4, 4, a, b); + } + function yi(a, b) { + if ('function' === typeof b) return ( (a = a()), b(a), @@ -5338,7 +5465,7 @@ b(null); } ); - if (b !== null && b !== void 0) + if (null !== b && void 0 !== b) return ( (a = a()), (b.current = a), @@ -5347,729 +5474,1004 @@ } ); } - function $h(a, b, c) { - c = c !== null && c !== void 0 ? c.concat([a]) : null; - return Vh(4, 2, Zh.bind(null, b, a), c); + function zi(a, b, c) { + c = null !== c && void 0 !== c ? c.concat([a]) : null; + return ui(4, 4, yi.bind(null, b, a), c); } - function ai() {} - function bi(a, b) { - var c = Ih(); - b = b === void 0 ? null : b; + function Ai() {} + function Bi(a, b) { + var c = di(); + b = void 0 === b ? null : b; var d = c.memoizedState; - if (d !== null && b !== null && Bh(b, d[1])) return d[0]; + if (null !== d && null !== b && Wh(b, d[1])) return d[0]; c.memoizedState = [a, b]; return a; } - function ci(a, b) { - var c = Ih(); - b = b === void 0 ? null : b; + function Ci(a, b) { + var c = di(); + b = void 0 === b ? null : b; var d = c.memoizedState; - if (d !== null && b !== null && Bh(b, d[1])) return d[0]; + if (null !== d && null !== b && Wh(b, d[1])) return d[0]; a = a(); c.memoizedState = [a, b]; return a; } - function di(a, b) { - var c = eg(); - gg(98 > c ? 98 : c, function () { - a(true); - }); - gg(97 < c ? 97 : c, function () { - var c2 = wh.transition; - wh.transition = 1; - try { - a(false), b(); - } finally { - wh.transition = c2; - } - }); + function Di(a, b, c) { + if (0 === (Rh & 21)) + return ( + a.baseState && ((a.baseState = false), (Ug = true)), + (a.memoizedState = c) + ); + He(c, b) || + ((c = yc()), + (N.lanes |= c), + (hh |= c), + (a.baseState = true)); + return b; + } + function Ei(a, b) { + var c = C; + C = 0 !== c && 4 > c ? c : 4; + a(true); + var d = Qh.transition; + Qh.transition = {}; + try { + a(false), b(); + } finally { + (C = c), (Qh.transition = d); + } + } + function Fi() { + return di().memoizedState; + } + function Gi(a, b, c) { + var d = lh(a); + c = { + lane: d, + action: c, + hasEagerState: false, + eagerState: null, + next: null + }; + if (Hi(a)) Ii(b, c); + else if (((c = Yg(a, b, c, d)), null !== c)) { + var e = L(); + mh(c, a, d, e); + Ji(c, b, d); + } } - function Oh(a, b, c) { - var d = Hg(), - e = Ig(a), - f = { - lane: e, + function ri(a, b, c) { + var d = lh(a), + e = { + lane: d, action: c, - eagerReducer: null, + hasEagerState: false, eagerState: null, next: null - }, - g = b.pending; - g === null ? (f.next = f) : ((f.next = g.next), (g.next = f)); - b.pending = f; - g = a.alternate; - if (a === R || (g !== null && g === R)) zh = yh = true; + }; + if (Hi(a)) Ii(b, e); else { + var f = a.alternate; if ( - a.lanes === 0 && - (g === null || g.lanes === 0) && - ((g = b.lastRenderedReducer), g !== null) + 0 === a.lanes && + (null === f || 0 === f.lanes) && + ((f = b.lastRenderedReducer), null !== f) ) try { - var h = b.lastRenderedState, - k = g(h, c); - f.eagerReducer = g; - f.eagerState = k; - if (He(k, h)) return; + var g = b.lastRenderedState, + h = f(g, c); + e.hasEagerState = true; + e.eagerState = h; + if (He(h, g)) { + var k = b.interleaved; + null === k + ? ((e.next = e), Xg(b)) + : ((e.next = k.next), (k.next = e)); + b.interleaved = e; + return; + } } catch (l) { } finally { } - Jg(a, e, d); - } - } - var Gh = { - readContext: vg, - useCallback: Ah, - useContext: Ah, - useEffect: Ah, - useImperativeHandle: Ah, - useLayoutEffect: Ah, - useMemo: Ah, - useReducer: Ah, - useRef: Ah, - useState: Ah, - useDebugValue: Ah, - useDeferredValue: Ah, - useTransition: Ah, - useMutableSource: Ah, - useOpaqueIdentifier: Ah, + c = Yg(a, b, e, d); + null !== c && ((e = L()), mh(c, a, d, e), Ji(c, b, d)); + } + } + function Hi(a) { + var b = a.alternate; + return a === N || (null !== b && b === N); + } + function Ii(a, b) { + Th = Sh = true; + var c = a.pending; + null === c ? (b.next = b) : ((b.next = c.next), (c.next = b)); + a.pending = b; + } + function Ji(a, b, c) { + if (0 !== (c & 4194240)) { + var d = b.lanes; + d &= a.pendingLanes; + c |= d; + b.lanes = c; + Cc(a, c); + } + } + var ai = { + readContext: Vg, + useCallback: Q, + useContext: Q, + useEffect: Q, + useImperativeHandle: Q, + useInsertionEffect: Q, + useLayoutEffect: Q, + useMemo: Q, + useReducer: Q, + useRef: Q, + useState: Q, + useDebugValue: Q, + useDeferredValue: Q, + useTransition: Q, + useMutableSource: Q, + useSyncExternalStore: Q, + useId: Q, unstable_isNewReconciler: false }; - var Dh = { - readContext: vg, + var Yh = { + readContext: Vg, useCallback: function (a, b) { - Hh().memoizedState = [a, b === void 0 ? null : b]; + ci().memoizedState = [a, void 0 === b ? null : b]; return a; }, - useContext: vg, - useEffect: Wh, + useContext: Vg, + useEffect: vi, useImperativeHandle: function (a, b, c) { - c = c !== null && c !== void 0 ? c.concat([a]) : null; - return Uh(4, 2, Zh.bind(null, b, a), c); + c = null !== c && void 0 !== c ? c.concat([a]) : null; + return ti(4194308, 4, yi.bind(null, b, a), c); }, useLayoutEffect: function (a, b) { - return Uh(4, 2, a, b); + return ti(4194308, 4, a, b); + }, + useInsertionEffect: function (a, b) { + return ti(4, 2, a, b); }, useMemo: function (a, b) { - var c = Hh(); - b = b === void 0 ? null : b; + var c = ci(); + b = void 0 === b ? null : b; a = a(); c.memoizedState = [a, b]; return a; }, useReducer: function (a, b, c) { - var d = Hh(); - b = c !== void 0 ? c(b) : b; + var d = ci(); + b = void 0 !== c ? c(b) : b; d.memoizedState = d.baseState = b; - a = d.queue = { + a = { pending: null, + interleaved: null, + lanes: 0, dispatch: null, lastRenderedReducer: a, lastRenderedState: b }; - a = a.dispatch = Oh.bind(null, R, a); + d.queue = a; + a = a.dispatch = Gi.bind(null, N, a); return [d.memoizedState, a]; }, - useRef: Sh, - useState: Qh, - useDebugValue: ai, + useRef: function (a) { + var b = ci(); + a = { current: a }; + return (b.memoizedState = a); + }, + useState: qi, + useDebugValue: Ai, useDeferredValue: function (a) { - var b = Qh(a), - c = b[0], - d = b[1]; - Wh( - function () { - var b2 = wh.transition; - wh.transition = 1; - try { - d(a); - } finally { - wh.transition = b2; - } - }, - [a] - ); - return c; + return (ci().memoizedState = a); }, useTransition: function () { - var a = Qh(false), + var a = qi(false), b = a[0]; - a = di.bind(null, a[1]); - Sh(a); - return [a, b]; - }, - useMutableSource: function (a, b, c) { - var d = Hh(); - d.memoizedState = { - refs: { getSnapshot: b, setSnapshot: null }, - source: a, - subscribe: c - }; - return Nh(d, a, b, c); + a = Ei.bind(null, a[1]); + ci().memoizedState = a; + return [b, a]; }, - useOpaqueIdentifier: function () { - if (lh) { - var a = false, - b = uf(function () { - a || - ((a = true), c('r:' + (tf++).toString(36))); - throw Error(y(355)); - }), - c = Qh(b)[1]; - (R.mode & 2) === 0 && - ((R.flags |= 516), - Rh( - 5, - function () { - c('r:' + (tf++).toString(36)); - }, - void 0, - null - )); - return b; + useMutableSource: function () {}, + useSyncExternalStore: function (a, b, c) { + var d = N, + e = ci(); + if (I) { + if (void 0 === c) throw Error(p(407)); + c = c(); + } else { + c = b(); + if (null === R) throw Error(p(349)); + 0 !== (Rh & 30) || ni(d, b, c); } - b = 'r:' + (tf++).toString(36); - Qh(b); - return b; + e.memoizedState = c; + var f = { value: c, getSnapshot: b }; + e.queue = f; + vi(ki.bind(null, d, f, a), [a]); + d.flags |= 2048; + li(9, mi.bind(null, d, f, c, b), void 0, null); + return c; + }, + useId: function () { + var a = ci(), + b = R.identifierPrefix; + if (I) { + var c = sg; + var d = rg; + c = (d & ~(1 << (32 - oc(d) - 1))).toString(32) + c; + b = ':' + b + 'R' + c; + c = Uh++; + 0 < c && (b += 'H' + c.toString(32)); + b += ':'; + } else + (c = Vh++), (b = ':' + b + 'r' + c.toString(32) + ':'); + return (a.memoizedState = b); }, unstable_isNewReconciler: false }; - var Eh = { - readContext: vg, - useCallback: bi, - useContext: vg, - useEffect: Xh, - useImperativeHandle: $h, - useLayoutEffect: Yh, - useMemo: ci, - useReducer: Kh, - useRef: Th, + var Zh = { + readContext: Vg, + useCallback: Bi, + useContext: Vg, + useEffect: ji, + useImperativeHandle: zi, + useInsertionEffect: wi, + useLayoutEffect: xi, + useMemo: Ci, + useReducer: fi, + useRef: si, useState: function () { - return Kh(Jh); + return fi(ei); }, - useDebugValue: ai, + useDebugValue: Ai, useDeferredValue: function (a) { - var b = Kh(Jh), - c = b[0], - d = b[1]; - Xh( - function () { - var b2 = wh.transition; - wh.transition = 1; - try { - d(a); - } finally { - wh.transition = b2; - } - }, - [a] - ); - return c; + var b = di(); + return Di(b, O.memoizedState, a); }, useTransition: function () { - var a = Kh(Jh)[0]; - return [Th().current, a]; - }, - useMutableSource: Ph, - useOpaqueIdentifier: function () { - return Kh(Jh)[0]; + var a = fi(ei)[0], + b = di().memoizedState; + return [a, b]; }, + useMutableSource: hi, + useSyncExternalStore: ii, + useId: Fi, unstable_isNewReconciler: false }; - var Fh = { - readContext: vg, - useCallback: bi, - useContext: vg, - useEffect: Xh, - useImperativeHandle: $h, - useLayoutEffect: Yh, - useMemo: ci, - useReducer: Lh, - useRef: Th, + var $h = { + readContext: Vg, + useCallback: Bi, + useContext: Vg, + useEffect: ji, + useImperativeHandle: zi, + useInsertionEffect: wi, + useLayoutEffect: xi, + useMemo: Ci, + useReducer: gi, + useRef: si, useState: function () { - return Lh(Jh); + return gi(ei); }, - useDebugValue: ai, + useDebugValue: Ai, useDeferredValue: function (a) { - var b = Lh(Jh), - c = b[0], - d = b[1]; - Xh( - function () { - var b2 = wh.transition; - wh.transition = 1; - try { - d(a); - } finally { - wh.transition = b2; - } - }, - [a] - ); - return c; + var b = di(); + return null === O + ? (b.memoizedState = a) + : Di(b, O.memoizedState, a); }, useTransition: function () { - var a = Lh(Jh)[0]; - return [Th().current, a]; - }, - useMutableSource: Ph, - useOpaqueIdentifier: function () { - return Lh(Jh)[0]; + var a = gi(ei)[0], + b = di().memoizedState; + return [a, b]; }, + useMutableSource: hi, + useSyncExternalStore: ii, + useId: Fi, unstable_isNewReconciler: false }; - var ei = ra.ReactCurrentOwner; - var ug = false; - function fi(a, b, c, d) { - b.child = a === null ? Zg(b, null, c, d) : Yg(b, a.child, c, d); + function Ki(a, b) { + try { + var c = '', + d = b; + do (c += Pa(d)), (d = d.return); + while (d); + var e = c; + } catch (f) { + e = + '\nError generating stack: ' + + f.message + + '\n' + + f.stack; + } + return { value: a, source: b, stack: e, digest: null }; + } + function Li(a, b, c) { + return { + value: a, + source: null, + stack: null != c ? c : null, + digest: null != b ? b : null + }; + } + function Mi(a, b) { + try { + console.error(b.value); + } catch (c) { + setTimeout(function () { + throw c; + }); + } + } + var Ni = 'function' === typeof WeakMap ? WeakMap : Map; + function Oi(a, b, c) { + c = ch(-1, c); + c.tag = 3; + c.payload = { element: null }; + var d = b.value; + c.callback = function () { + Pi || ((Pi = true), (Qi = d)); + Mi(a, b); + }; + return c; + } + function Ri(a, b, c) { + c = ch(-1, c); + c.tag = 3; + var d = a.type.getDerivedStateFromError; + if ('function' === typeof d) { + var e = b.value; + c.payload = function () { + return d(e); + }; + c.callback = function () { + Mi(a, b); + }; + } + var f = a.stateNode; + null !== f && + 'function' === typeof f.componentDidCatch && + (c.callback = function () { + Mi(a, b); + 'function' !== typeof d && + (null === Si + ? (Si = /* @__PURE__ */ new Set([this])) + : Si.add(this)); + var c2 = b.stack; + this.componentDidCatch(b.value, { + componentStack: null !== c2 ? c2 : '' + }); + }); + return c; + } + function Ti(a, b, c) { + var d = a.pingCache; + if (null === d) { + d = a.pingCache = new Ni(); + var e = /* @__PURE__ */ new Set(); + d.set(b, e); + } else + (e = d.get(b)), + void 0 === e && + ((e = /* @__PURE__ */ new Set()), d.set(b, e)); + e.has(c) || + (e.add(c), (a = Ui.bind(null, a, b, c)), b.then(a, a)); + } + function Vi(a) { + do { + var b; + if ((b = 13 === a.tag)) + (b = a.memoizedState), + (b = + null !== b + ? null !== b.dehydrated + ? true + : false + : true); + if (b) return a; + a = a.return; + } while (null !== a); + return null; + } + function Wi(a, b, c, d, e) { + if (0 === (a.mode & 1)) + return ( + a === b + ? (a.flags |= 65536) + : ((a.flags |= 128), + (c.flags |= 131072), + (c.flags &= -52805), + 1 === c.tag && + (null === c.alternate + ? (c.tag = 17) + : ((b = ch(-1, 1)), + (b.tag = 2), + dh(c, b, 1))), + (c.lanes |= 1)), + a + ); + a.flags |= 65536; + a.lanes = e; + return a; } - function gi(a, b, c, d, e) { + var Xi = ua.ReactCurrentOwner; + var Ug = false; + function Yi(a, b, c, d) { + b.child = null === a ? Ch(b, null, c, d) : Bh(b, a.child, c, d); + } + function Zi(a, b, c, d, e) { c = c.render; var f = b.ref; - tg(b, e); - d = Ch(a, b, c, d, f, e); - if (a !== null && !ug) + Tg(b, e); + d = Xh(a, b, c, d, f, e); + c = bi(); + if (null !== a && !Ug) return ( (b.updateQueue = a.updateQueue), - (b.flags &= -517), + (b.flags &= -2053), (a.lanes &= ~e), - hi(a, b, e) + $i(a, b, e) ); + I && c && vg(b); b.flags |= 1; - fi(a, b, d, e); + Yi(a, b, d, e); return b.child; } - function ii(a, b, c, d, e, f) { - if (a === null) { - var g = c.type; + function aj(a, b, c, d, e) { + if (null === a) { + var f = c.type; if ( - typeof g === 'function' && - !ji(g) && - g.defaultProps === void 0 && - c.compare === null && - c.defaultProps === void 0 + 'function' === typeof f && + !bj(f) && + void 0 === f.defaultProps && + null === c.compare && + void 0 === c.defaultProps ) - return (b.tag = 15), (b.type = g), ki(a, b, g, d, e, f); - a = Vg(c.type, null, d, b, b.mode, f); + return (b.tag = 15), (b.type = f), cj(a, b, f, d, e); + a = yh(c.type, null, d, b, b.mode, e); a.ref = b.ref; a.return = b; return (b.child = a); } - g = a.child; - if ( - (e & f) === 0 && - ((e = g.memoizedProps), - (c = c.compare), - (c = c !== null ? c : Je), - c(e, d) && a.ref === b.ref) - ) - return hi(a, b, f); + f = a.child; + if (0 === (a.lanes & e)) { + var g = f.memoizedProps; + c = c.compare; + c = null !== c ? c : Ie; + if (c(g, d) && a.ref === b.ref) return $i(a, b, e); + } b.flags |= 1; - a = Tg(g, d); + a = wh(f, d); a.ref = b.ref; a.return = b; return (b.child = a); } - function ki(a, b, c, d, e, f) { - if (a !== null && Je(a.memoizedProps, d) && a.ref === b.ref) - if (((ug = false), (f & e) !== 0)) - (a.flags & 16384) !== 0 && (ug = true); - else return (b.lanes = a.lanes), hi(a, b, f); - return li(a, b, c, d, f); + function cj(a, b, c, d, e) { + if (null !== a) { + var f = a.memoizedProps; + if (Ie(f, d) && a.ref === b.ref) + if ( + ((Ug = false), + (b.pendingProps = d = f), + 0 !== (a.lanes & e)) + ) + 0 !== (a.flags & 131072) && (Ug = true); + else return (b.lanes = a.lanes), $i(a, b, e); + } + return dj(a, b, c, d, e); } - function mi(a, b, c) { + function ej(a, b, c) { var d = b.pendingProps, e = d.children, - f = a !== null ? a.memoizedState : null; - if ( - d.mode === 'hidden' || - d.mode === 'unstable-defer-without-hiding' - ) - if ((b.mode & 4) === 0) - (b.memoizedState = { baseLanes: 0 }), ni(b, c); - else if ((c & 1073741824) !== 0) - (b.memoizedState = { baseLanes: 0 }), - ni(b, f !== null ? f.baseLanes : c); - else - return ( - (a = f !== null ? f.baseLanes | c : c), - (b.lanes = b.childLanes = 1073741824), - (b.memoizedState = { baseLanes: a }), - ni(b, a), - null - ); + f = null !== a ? a.memoizedState : null; + if ('hidden' === d.mode) + if (0 === (b.mode & 1)) + (b.memoizedState = { + baseLanes: 0, + cachePool: null, + transitions: null + }), + G(fj, gj), + (gj |= c); + else { + if (0 === (c & 1073741824)) + return ( + (a = null !== f ? f.baseLanes | c : c), + (b.lanes = b.childLanes = 1073741824), + (b.memoizedState = { + baseLanes: a, + cachePool: null, + transitions: null + }), + (b.updateQueue = null), + G(fj, gj), + (gj |= a), + null + ); + b.memoizedState = { + baseLanes: 0, + cachePool: null, + transitions: null + }; + d = null !== f ? f.baseLanes : c; + G(fj, gj); + gj |= d; + } else - f !== null + null !== f ? ((d = f.baseLanes | c), (b.memoizedState = null)) : (d = c), - ni(b, d); - fi(a, b, e, c); + G(fj, gj), + (gj |= d); + Yi(a, b, e, c); return b.child; } - function oi(a, b) { + function hj(a, b) { var c = b.ref; - if ((a === null && c !== null) || (a !== null && a.ref !== c)) - b.flags |= 128; - } - function li(a, b, c, d, e) { - var f = Ff(c) ? Df : M.current; - f = Ef(b, f); - tg(b, e); - c = Ch(a, b, c, d, f, e); - if (a !== null && !ug) + if ((null === a && null !== c) || (null !== a && a.ref !== c)) + (b.flags |= 512), (b.flags |= 2097152); + } + function dj(a, b, c, d, e) { + var f = Zf(c) ? Xf : H.current; + f = Yf(b, f); + Tg(b, e); + c = Xh(a, b, c, d, f, e); + d = bi(); + if (null !== a && !Ug) return ( (b.updateQueue = a.updateQueue), - (b.flags &= -517), + (b.flags &= -2053), (a.lanes &= ~e), - hi(a, b, e) + $i(a, b, e) ); + I && d && vg(b); b.flags |= 1; - fi(a, b, c, e); + Yi(a, b, c, e); return b.child; } - function pi(a, b, c, d, e) { - if (Ff(c)) { + function ij(a, b, c, d, e) { + if (Zf(c)) { var f = true; - Jf(b); + cg(b); } else f = false; - tg(b, e); - if (b.stateNode === null) - a !== null && - ((a.alternate = null), - (b.alternate = null), - (b.flags |= 2)), - Mg(b, c, d), - Og(b, c, d, e), - (d = true); - else if (a === null) { + Tg(b, e); + if (null === b.stateNode) + jj(a, b), ph(b, c, d), rh(b, c, d, e), (d = true); + else if (null === a) { var g = b.stateNode, h = b.memoizedProps; g.props = h; var k = g.context, l = c.contextType; - typeof l === 'object' && l !== null - ? (l = vg(l)) - : ((l = Ff(c) ? Df : M.current), (l = Ef(b, l))); - var n = c.getDerivedStateFromProps, - A = - typeof n === 'function' || - typeof g.getSnapshotBeforeUpdate === 'function'; - A || - (typeof g.UNSAFE_componentWillReceiveProps !== - 'function' && - typeof g.componentWillReceiveProps !== - 'function') || - ((h !== d || k !== l) && Ng(b, g, d, l)); - wg = false; - var p = b.memoizedState; - g.state = p; - Cg(b, d, g, e); + 'object' === typeof l && null !== l + ? (l = Vg(l)) + : ((l = Zf(c) ? Xf : H.current), (l = Yf(b, l))); + var m = c.getDerivedStateFromProps, + q = + 'function' === typeof m || + 'function' === typeof g.getSnapshotBeforeUpdate; + q || + ('function' !== + typeof g.UNSAFE_componentWillReceiveProps && + 'function' !== + typeof g.componentWillReceiveProps) || + ((h !== d || k !== l) && qh(b, g, d, l)); + $g = false; + var r = b.memoizedState; + g.state = r; + gh(b, d, g, e); k = b.memoizedState; - h !== d || p !== k || N.current || wg - ? (typeof n === 'function' && - (Gg(b, c, n, d), (k = b.memoizedState)), - (h = wg || Lg(b, c, h, d, p, k, l)) - ? (A || - (typeof g.UNSAFE_componentWillMount !== - 'function' && - typeof g.componentWillMount !== - 'function') || - (typeof g.componentWillMount === - 'function' && + h !== d || r !== k || Wf.current || $g + ? ('function' === typeof m && + (kh(b, c, m, d), (k = b.memoizedState)), + (h = $g || oh(b, c, h, d, r, k, l)) + ? (q || + ('function' !== + typeof g.UNSAFE_componentWillMount && + 'function' !== + typeof g.componentWillMount) || + ('function' === + typeof g.componentWillMount && g.componentWillMount(), - typeof g.UNSAFE_componentWillMount === - 'function' && + 'function' === + typeof g.UNSAFE_componentWillMount && g.UNSAFE_componentWillMount()), - typeof g.componentDidMount === 'function' && - (b.flags |= 4)) - : (typeof g.componentDidMount === 'function' && - (b.flags |= 4), + 'function' === typeof g.componentDidMount && + (b.flags |= 4194308)) + : ('function' === typeof g.componentDidMount && + (b.flags |= 4194308), (b.memoizedProps = d), (b.memoizedState = k)), (g.props = d), (g.state = k), (g.context = l), (d = h)) - : (typeof g.componentDidMount === 'function' && - (b.flags |= 4), + : ('function' === typeof g.componentDidMount && + (b.flags |= 4194308), (d = false)); } else { g = b.stateNode; - yg(a, b); + bh(a, b); h = b.memoizedProps; - l = b.type === b.elementType ? h : lg(b.type, h); + l = b.type === b.elementType ? h : Lg(b.type, h); g.props = l; - A = b.pendingProps; - p = g.context; + q = b.pendingProps; + r = g.context; k = c.contextType; - typeof k === 'object' && k !== null - ? (k = vg(k)) - : ((k = Ff(c) ? Df : M.current), (k = Ef(b, k))); - var C = c.getDerivedStateFromProps; - (n = - typeof C === 'function' || - typeof g.getSnapshotBeforeUpdate === 'function') || - (typeof g.UNSAFE_componentWillReceiveProps !== - 'function' && - typeof g.componentWillReceiveProps !== - 'function') || - ((h !== A || p !== k) && Ng(b, g, d, k)); - wg = false; - p = b.memoizedState; - g.state = p; - Cg(b, d, g, e); - var x = b.memoizedState; - h !== A || p !== x || N.current || wg - ? (typeof C === 'function' && - (Gg(b, c, C, d), (x = b.memoizedState)), - (l = wg || Lg(b, c, l, d, p, x, k)) - ? (n || - (typeof g.UNSAFE_componentWillUpdate !== - 'function' && - typeof g.componentWillUpdate !== - 'function') || - (typeof g.componentWillUpdate === - 'function' && - g.componentWillUpdate(d, x, k), - typeof g.UNSAFE_componentWillUpdate === - 'function' && + 'object' === typeof k && null !== k + ? (k = Vg(k)) + : ((k = Zf(c) ? Xf : H.current), (k = Yf(b, k))); + var y = c.getDerivedStateFromProps; + (m = + 'function' === typeof y || + 'function' === typeof g.getSnapshotBeforeUpdate) || + ('function' !== + typeof g.UNSAFE_componentWillReceiveProps && + 'function' !== + typeof g.componentWillReceiveProps) || + ((h !== q || r !== k) && qh(b, g, d, k)); + $g = false; + r = b.memoizedState; + g.state = r; + gh(b, d, g, e); + var n = b.memoizedState; + h !== q || r !== n || Wf.current || $g + ? ('function' === typeof y && + (kh(b, c, y, d), (n = b.memoizedState)), + (l = $g || oh(b, c, l, d, r, n, k) || false) + ? (m || + ('function' !== + typeof g.UNSAFE_componentWillUpdate && + 'function' !== + typeof g.componentWillUpdate) || + ('function' === + typeof g.componentWillUpdate && + g.componentWillUpdate(d, n, k), + 'function' === + typeof g.UNSAFE_componentWillUpdate && g.UNSAFE_componentWillUpdate( d, - x, + n, k )), - typeof g.componentDidUpdate === 'function' && + 'function' === typeof g.componentDidUpdate && (b.flags |= 4), - typeof g.getSnapshotBeforeUpdate === - 'function' && (b.flags |= 256)) - : (typeof g.componentDidUpdate !== 'function' || + 'function' === + typeof g.getSnapshotBeforeUpdate && + (b.flags |= 1024)) + : ('function' !== typeof g.componentDidUpdate || (h === a.memoizedProps && - p === a.memoizedState) || + r === a.memoizedState) || (b.flags |= 4), - typeof g.getSnapshotBeforeUpdate !== - 'function' || + 'function' !== + typeof g.getSnapshotBeforeUpdate || (h === a.memoizedProps && - p === a.memoizedState) || - (b.flags |= 256), + r === a.memoizedState) || + (b.flags |= 1024), (b.memoizedProps = d), - (b.memoizedState = x)), + (b.memoizedState = n)), (g.props = d), - (g.state = x), + (g.state = n), (g.context = k), (d = l)) - : (typeof g.componentDidUpdate !== 'function' || + : ('function' !== typeof g.componentDidUpdate || (h === a.memoizedProps && - p === a.memoizedState) || + r === a.memoizedState) || (b.flags |= 4), - typeof g.getSnapshotBeforeUpdate !== 'function' || + 'function' !== typeof g.getSnapshotBeforeUpdate || (h === a.memoizedProps && - p === a.memoizedState) || - (b.flags |= 256), + r === a.memoizedState) || + (b.flags |= 1024), (d = false)); } - return qi(a, b, c, d, f, e); + return kj(a, b, c, d, f, e); } - function qi(a, b, c, d, e, f) { - oi(a, b); - var g = (b.flags & 64) !== 0; - if (!d && !g) return e && Kf(b, c, false), hi(a, b, f); + function kj(a, b, c, d, e, f) { + hj(a, b); + var g = 0 !== (b.flags & 128); + if (!d && !g) return e && dg(b, c, false), $i(a, b, f); d = b.stateNode; - ei.current = b; + Xi.current = b; var h = - g && typeof c.getDerivedStateFromError !== 'function' + g && 'function' !== typeof c.getDerivedStateFromError ? null : d.render(); b.flags |= 1; - a !== null && g - ? ((b.child = Yg(b, a.child, null, f)), - (b.child = Yg(b, null, h, f))) - : fi(a, b, h, f); + null !== a && g + ? ((b.child = Bh(b, a.child, null, f)), + (b.child = Bh(b, null, h, f))) + : Yi(a, b, h, f); b.memoizedState = d.state; - e && Kf(b, c, true); + e && dg(b, c, true); return b.child; } - function ri(a) { + function lj(a) { var b = a.stateNode; b.pendingContext - ? Hf(a, b.pendingContext, b.pendingContext !== b.context) - : b.context && Hf(a, b.context, false); - eh(a, b.containerInfo); + ? ag(a, b.pendingContext, b.pendingContext !== b.context) + : b.context && ag(a, b.context, false); + Ih(a, b.containerInfo); + } + function mj(a, b, c, d, e) { + Ig(); + Jg(e); + b.flags |= 256; + Yi(a, b, c, d); + return b.child; } - var si = { dehydrated: null, retryLane: 0 }; - function ti(a, b, c) { + var nj = { dehydrated: null, treeContext: null, retryLane: 0 }; + function oj(a) { + return { baseLanes: a, cachePool: null, transitions: null }; + } + function pj(a, b, c) { var d = b.pendingProps, - e = P.current, + e = M.current, f = false, - g; - (g = (b.flags & 64) !== 0) || - (g = - a !== null && a.memoizedState === null + g = 0 !== (b.flags & 128), + h; + (h = g) || + (h = + null !== a && null === a.memoizedState ? false - : (e & 2) !== 0); - g - ? ((f = true), (b.flags &= -65)) - : (a !== null && a.memoizedState === null) || - d.fallback === void 0 || - d.unstable_avoidThisFallback === true || - (e |= 1); - I(P, e & 1); - if (a === null) { - d.fallback !== void 0 && ph(b); - a = d.children; - e = d.fallback; - if (f) - return ( - (a = ui(b, a, e, c)), - (b.child.memoizedState = { baseLanes: c }), - (b.memoizedState = si), - a - ); - if (typeof d.unstable_expectedLoadTime === 'number') + : 0 !== (e & 2)); + if (h) (f = true), (b.flags &= -129); + else if (null === a || null !== a.memoizedState) e |= 1; + G(M, e & 1); + if (null === a) { + Eg(b); + a = b.memoizedState; + if (null !== a && ((a = a.dehydrated), null !== a)) return ( - (a = ui(b, a, e, c)), - (b.child.memoizedState = { baseLanes: c }), - (b.memoizedState = si), - (b.lanes = 33554432), - a + 0 === (b.mode & 1) + ? (b.lanes = 1) + : '$!' === a.data + ? (b.lanes = 8) + : (b.lanes = 1073741824), + null ); - c = vi({ mode: 'visible', children: a }, b.mode, c, null); - c.return = b; - return (b.child = c); - } - if (a.memoizedState !== null) { - if (f) + g = d.children; + a = d.fallback; + return f + ? ((d = b.mode), + (f = b.child), + (g = { mode: 'hidden', children: g }), + 0 === (d & 1) && null !== f + ? ((f.childLanes = 0), (f.pendingProps = g)) + : (f = qj(g, d, 0, null)), + (a = Ah(a, d, c, null)), + (f.return = b), + (a.return = b), + (f.sibling = a), + (b.child = f), + (b.child.memoizedState = oj(c)), + (b.memoizedState = nj), + a) + : rj(b, g); + } + e = a.memoizedState; + if (null !== e && ((h = e.dehydrated), null !== h)) + return sj(a, b, g, d, h, e, c); + if (f) { + f = d.fallback; + g = b.mode; + e = a.child; + h = e.sibling; + var k = { mode: 'hidden', children: d.children }; + 0 === (g & 1) && b.child !== e + ? ((d = b.child), + (d.childLanes = 0), + (d.pendingProps = k), + (b.deletions = null)) + : ((d = wh(e, k)), + (d.subtreeFlags = e.subtreeFlags & 14680064)); + null !== h + ? (f = wh(h, f)) + : ((f = Ah(f, g, c, null)), (f.flags |= 2)); + f.return = b; + d.return = b; + d.sibling = f; + b.child = d; + d = f; + f = b.child; + g = a.child.memoizedState; + g = + null === g + ? oj(c) + : { + baseLanes: g.baseLanes | c, + cachePool: null, + transitions: g.transitions + }; + f.memoizedState = g; + f.childLanes = a.childLanes & ~c; + b.memoizedState = nj; + return d; + } + f = a.child; + a = f.sibling; + d = wh(f, { mode: 'visible', children: d.children }); + 0 === (b.mode & 1) && (d.lanes = c); + d.return = b; + d.sibling = null; + null !== a && + ((c = b.deletions), + null === c + ? ((b.deletions = [a]), (b.flags |= 16)) + : c.push(a)); + b.child = d; + b.memoizedState = null; + return d; + } + function rj(a, b) { + b = qj({ mode: 'visible', children: b }, a.mode, 0, null); + b.return = a; + return (a.child = b); + } + function tj(a, b, c, d) { + null !== d && Jg(d); + Bh(b, a.child, null, c); + a = rj(b, b.pendingProps.children); + a.flags |= 2; + b.memoizedState = null; + return a; + } + function sj(a, b, c, d, e, f, g) { + if (c) { + if (b.flags & 256) return ( - (d = wi(a, b, d.children, d.fallback, c)), - (f = b.child), - (e = a.child.memoizedState), - (f.memoizedState = - e === null - ? { baseLanes: c } - : { baseLanes: e.baseLanes | c }), - (f.childLanes = a.childLanes & ~c), - (b.memoizedState = si), - d + (b.flags &= -257), + (d = Li(Error(p(422)))), + tj(a, b, g, d) ); - c = xi(a, b, d.children, c); - b.memoizedState = null; - return c; + if (null !== b.memoizedState) + return (b.child = a.child), (b.flags |= 128), null; + f = d.fallback; + e = b.mode; + d = qj( + { mode: 'visible', children: d.children }, + e, + 0, + null + ); + f = Ah(f, e, g, null); + f.flags |= 2; + d.return = b; + f.return = b; + d.sibling = f; + b.child = d; + 0 !== (b.mode & 1) && Bh(b, a.child, null, g); + b.child.memoizedState = oj(g); + b.memoizedState = nj; + return f; + } + if (0 === (b.mode & 1)) return tj(a, b, g, null); + if ('$!' === e.data) { + d = e.nextSibling && e.nextSibling.dataset; + if (d) var h = d.dgst; + d = h; + f = Error(p(419)); + d = Li(f, d, void 0); + return tj(a, b, g, d); + } + h = 0 !== (g & a.childLanes); + if (Ug || h) { + d = R; + if (null !== d) { + switch (g & -g) { + case 4: + e = 2; + break; + case 16: + e = 8; + break; + case 64: + case 128: + case 256: + case 512: + case 1024: + case 2048: + case 4096: + case 8192: + case 16384: + case 32768: + case 65536: + case 131072: + case 262144: + case 524288: + case 1048576: + case 2097152: + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + e = 32; + break; + case 536870912: + e = 268435456; + break; + default: + e = 0; + } + e = 0 !== (e & (d.suspendedLanes | g)) ? 0 : e; + 0 !== e && + e !== f.retryLane && + ((f.retryLane = e), Zg(a, e), mh(d, a, e, -1)); + } + uj(); + d = Li(Error(p(421))); + return tj(a, b, g, d); } - if (f) + if ('$?' === e.data) return ( - (d = wi(a, b, d.children, d.fallback, c)), - (f = b.child), - (e = a.child.memoizedState), - (f.memoizedState = - e === null - ? { baseLanes: c } - : { baseLanes: e.baseLanes | c }), - (f.childLanes = a.childLanes & ~c), - (b.memoizedState = si), - d + (b.flags |= 128), + (b.child = a.child), + (b = vj.bind(null, a)), + (e._reactRetry = b), + null ); - c = xi(a, b, d.children, c); - b.memoizedState = null; - return c; - } - function ui(a, b, c, d) { - var e = a.mode, - f = a.child; - b = { mode: 'hidden', children: b }; - (e & 2) === 0 && f !== null - ? ((f.childLanes = 0), (f.pendingProps = b)) - : (f = vi(b, e, 0, null)); - c = Xg(c, e, d, null); - f.return = a; - c.return = a; - f.sibling = c; - a.child = f; - return c; - } - function xi(a, b, c, d) { - var e = a.child; - a = e.sibling; - c = Tg(e, { mode: 'visible', children: c }); - (b.mode & 2) === 0 && (c.lanes = d); - c.return = b; - c.sibling = null; - a !== null && - ((a.nextEffect = null), - (a.flags = 8), - (b.firstEffect = b.lastEffect = a)); - return (b.child = c); - } - function wi(a, b, c, d, e) { - var f = b.mode, - g = a.child; - a = g.sibling; - var h = { mode: 'hidden', children: c }; - (f & 2) === 0 && b.child !== g - ? ((c = b.child), - (c.childLanes = 0), - (c.pendingProps = h), - (g = c.lastEffect), - g !== null - ? ((b.firstEffect = c.firstEffect), - (b.lastEffect = g), - (g.nextEffect = null)) - : (b.firstEffect = b.lastEffect = null)) - : (c = Tg(g, h)); - a !== null - ? (d = Tg(a, d)) - : ((d = Xg(d, f, e, null)), (d.flags |= 2)); - d.return = b; - c.return = b; - c.sibling = d; - b.child = c; - return d; + a = f.treeContext; + yg = Lf(e.nextSibling); + xg = b; + I = true; + zg = null; + null !== a && + ((og[pg++] = rg), + (og[pg++] = sg), + (og[pg++] = qg), + (rg = a.id), + (sg = a.overflow), + (qg = b)); + b = rj(b, d.children); + b.flags |= 4096; + return b; } - function yi(a, b) { + function wj(a, b, c) { a.lanes |= b; - var c = a.alternate; - c !== null && (c.lanes |= b); - sg(a.return, b); + var d = a.alternate; + null !== d && (d.lanes |= b); + Sg(a.return, b, c); } - function zi(a, b, c, d, e, f) { - var g = a.memoizedState; - g === null + function xj(a, b, c, d, e) { + var f = a.memoizedState; + null === f ? (a.memoizedState = { isBackwards: b, rendering: null, renderingStartTime: 0, last: d, tail: c, - tailMode: e, - lastEffect: f + tailMode: e }) - : ((g.isBackwards = b), - (g.rendering = null), - (g.renderingStartTime = 0), - (g.last = d), - (g.tail = c), - (g.tailMode = e), - (g.lastEffect = f)); - } - function Ai(a, b, c) { + : ((f.isBackwards = b), + (f.rendering = null), + (f.renderingStartTime = 0), + (f.last = d), + (f.tail = c), + (f.tailMode = e)); + } + function yj(a, b, c) { var d = b.pendingProps, e = d.revealOrder, f = d.tail; - fi(a, b, d.children, c); - d = P.current; - if ((d & 2) !== 0) (d = (d & 1) | 2), (b.flags |= 64); + Yi(a, b, d.children, c); + d = M.current; + if (0 !== (d & 2)) (d = (d & 1) | 2), (b.flags |= 128); else { - if (a !== null && (a.flags & 64) !== 0) - a: for (a = b.child; a !== null; ) { - if (a.tag === 13) - a.memoizedState !== null && yi(a, c); - else if (a.tag === 19) yi(a, c); - else if (a.child !== null) { + if (null !== a && 0 !== (a.flags & 128)) + a: for (a = b.child; null !== a; ) { + if (13 === a.tag) + null !== a.memoizedState && wj(a, c, b); + else if (19 === a.tag) wj(a, c, b); + else if (null !== a.child) { a.child.return = a; a = a.child; continue; } if (a === b) break a; - for (; a.sibling === null; ) { - if (a.return === null || a.return === b) + for (; null === a.sibling; ) { + if (null === a.return || a.return === b) break a; a = a.return; } @@ -6078,28 +6480,28 @@ } d &= 1; } - I(P, d); - if ((b.mode & 2) === 0) b.memoizedState = null; + G(M, d); + if (0 === (b.mode & 1)) b.memoizedState = null; else switch (e) { case 'forwards': c = b.child; - for (e = null; c !== null; ) + for (e = null; null !== c; ) (a = c.alternate), - a !== null && ih(a) === null && (e = c), + null !== a && null === Mh(a) && (e = c), (c = c.sibling); c = e; - c === null + null === c ? ((e = b.child), (b.child = null)) : ((e = c.sibling), (c.sibling = null)); - zi(b, false, e, c, f, b.lastEffect); + xj(b, false, e, c, f); break; case 'backwards': c = null; e = b.child; - for (b.child = null; e !== null; ) { + for (b.child = null; null !== e; ) { a = e.alternate; - if (a !== null && ih(a) === null) { + if (null !== a && null === Mh(a)) { b.child = e; break; } @@ -6108,62 +6510,123 @@ c = e; e = a; } - zi(b, true, c, null, f, b.lastEffect); + xj(b, true, c, null, f); break; case 'together': - zi(b, false, null, null, void 0, b.lastEffect); + xj(b, false, null, null, void 0); break; default: b.memoizedState = null; } return b.child; } - function hi(a, b, c) { - a !== null && (b.dependencies = a.dependencies); - Dg |= b.lanes; - if ((c & b.childLanes) !== 0) { - if (a !== null && b.child !== a.child) throw Error(y(153)); - if (b.child !== null) { - a = b.child; - c = Tg(a, a.pendingProps); - b.child = c; - for (c.return = b; a.sibling !== null; ) - (a = a.sibling), - (c = c.sibling = Tg(a, a.pendingProps)), - (c.return = b); - c.sibling = null; - } - return b.child; + function jj(a, b) { + 0 === (b.mode & 1) && + null !== a && + ((a.alternate = null), + (b.alternate = null), + (b.flags |= 2)); + } + function $i(a, b, c) { + null !== a && (b.dependencies = a.dependencies); + hh |= b.lanes; + if (0 === (c & b.childLanes)) return null; + if (null !== a && b.child !== a.child) throw Error(p(153)); + if (null !== b.child) { + a = b.child; + c = wh(a, a.pendingProps); + b.child = c; + for (c.return = b; null !== a.sibling; ) + (a = a.sibling), + (c = c.sibling = wh(a, a.pendingProps)), + (c.return = b); + c.sibling = null; } - return null; + return b.child; } - var Bi; - var Ci; - var Di; - var Ei; - Bi = function (a, b) { - for (var c = b.child; c !== null; ) { - if (c.tag === 5 || c.tag === 6) a.appendChild(c.stateNode); - else if (c.tag !== 4 && c.child !== null) { + function zj(a, b, c) { + switch (b.tag) { + case 3: + lj(b); + Ig(); + break; + case 5: + Kh(b); + break; + case 1: + Zf(b.type) && cg(b); + break; + case 4: + Ih(b, b.stateNode.containerInfo); + break; + case 10: + var d = b.type._context, + e = b.memoizedProps.value; + G(Mg, d._currentValue); + d._currentValue = e; + break; + case 13: + d = b.memoizedState; + if (null !== d) { + if (null !== d.dehydrated) + return ( + G(M, M.current & 1), (b.flags |= 128), null + ); + if (0 !== (c & b.child.childLanes)) + return pj(a, b, c); + G(M, M.current & 1); + a = $i(a, b, c); + return null !== a ? a.sibling : null; + } + G(M, M.current & 1); + break; + case 19: + d = 0 !== (c & b.childLanes); + if (0 !== (a.flags & 128)) { + if (d) return yj(a, b, c); + b.flags |= 128; + } + e = b.memoizedState; + null !== e && + ((e.rendering = null), + (e.tail = null), + (e.lastEffect = null)); + G(M, M.current); + if (d) break; + else return null; + case 22: + case 23: + return (b.lanes = 0), ej(a, b, c); + } + return $i(a, b, c); + } + var Aj; + var Bj; + var Cj; + var Dj; + Aj = function (a, b) { + for (var c = b.child; null !== c; ) { + if (5 === c.tag || 6 === c.tag) a.appendChild(c.stateNode); + else if (4 !== c.tag && null !== c.child) { c.child.return = c; c = c.child; continue; } if (c === b) break; - for (; c.sibling === null; ) { - if (c.return === null || c.return === b) return; + for (; null === c.sibling; ) { + if (null === c.return || c.return === b) return; c = c.return; } c.sibling.return = c.return; c = c.sibling; } }; - Ci = function () {}; - Di = function (a, b, c, d) { + Bj = function () {}; + Cj = function (a, b, c, d) { var e = a.memoizedProps; if (e !== d) { a = b.stateNode; - dh(ah.current); + Hh(Eh.current); var f = null; switch (c) { case 'input': @@ -6171,14 +6634,9 @@ d = Ya(a, d); f = []; break; - case 'option': - e = eb(a, e); - d = eb(a, d); - f = []; - break; case 'select': - e = m({}, e, { value: void 0 }); - d = m({}, d, { value: void 0 }); + e = A({}, e, { value: void 0 }); + d = A({}, d, { value: void 0 }); f = []; break; case 'textarea': @@ -6187,42 +6645,42 @@ f = []; break; default: - typeof e.onClick !== 'function' && - typeof d.onClick === 'function' && - (a.onclick = jf); + 'function' !== typeof e.onClick && + 'function' === typeof d.onClick && + (a.onclick = Bf); } - vb(c, d); + ub(c, d); var g; c = null; for (l in e) if ( !d.hasOwnProperty(l) && e.hasOwnProperty(l) && - e[l] != null + null != e[l] ) - if (l === 'style') { + if ('style' === l) { var h = e[l]; for (g in h) h.hasOwnProperty(g) && (c || (c = {}), (c[g] = '')); } else - l !== 'dangerouslySetInnerHTML' && - l !== 'children' && - l !== 'suppressContentEditableWarning' && - l !== 'suppressHydrationWarning' && - l !== 'autoFocus' && - (ca.hasOwnProperty(l) + 'dangerouslySetInnerHTML' !== l && + 'children' !== l && + 'suppressContentEditableWarning' !== l && + 'suppressHydrationWarning' !== l && + 'autoFocus' !== l && + (ea.hasOwnProperty(l) ? f || (f = []) : (f = f || []).push(l, null)); for (l in d) { var k = d[l]; - h = e != null ? e[l] : void 0; + h = null != e ? e[l] : void 0; if ( d.hasOwnProperty(l) && k !== h && - (k != null || h != null) + (null != k || null != h) ) - if (l === 'style') + if ('style' === l) if (h) { for (g in h) !h.hasOwnProperty(g) || @@ -6235,27 +6693,23 @@ } else c || (f || (f = []), f.push(l, c)), (c = k); else - l === 'dangerouslySetInnerHTML' + 'dangerouslySetInnerHTML' === l ? ((k = k ? k.__html : void 0), (h = h ? h.__html : void 0), - k != null && + null != k && h !== k && (f = f || []).push(l, k)) - : l === 'children' - ? (typeof k !== 'string' && - typeof k !== 'number') || + : 'children' === l + ? ('string' !== typeof k && + 'number' !== typeof k) || (f = f || []).push(l, '' + k) - : l !== 'suppressContentEditableWarning' && - l !== 'suppressHydrationWarning' && - (ca.hasOwnProperty(l) - ? (k != null && - l === 'onScroll' && - G('scroll', a), + : 'suppressContentEditableWarning' !== l && + 'suppressHydrationWarning' !== l && + (ea.hasOwnProperty(l) + ? (null != k && + 'onScroll' === l && + D('scroll', a), f || h === k || (f = [])) - : typeof k === 'object' && - k !== null && - k.$$typeof === Ga - ? k.toString() : (f = f || []).push(l, k)); } c && (f = f || []).push('style', c); @@ -6263,33 +6717,56 @@ if ((b.updateQueue = l)) b.flags |= 4; } }; - Ei = function (a, b, c, d) { + Dj = function (a, b, c, d) { c !== d && (b.flags |= 4); }; - function Fi(a, b) { - if (!lh) + function Ej(a, b) { + if (!I) switch (a.tailMode) { case 'hidden': b = a.tail; - for (var c = null; b !== null; ) - b.alternate !== null && (c = b), + for (var c = null; null !== b; ) + null !== b.alternate && (c = b), (b = b.sibling); - c === null ? (a.tail = null) : (c.sibling = null); + null === c ? (a.tail = null) : (c.sibling = null); break; case 'collapsed': c = a.tail; - for (var d = null; c !== null; ) - c.alternate !== null && (d = c), + for (var d = null; null !== c; ) + null !== c.alternate && (d = c), (c = c.sibling); - d === null - ? b || a.tail === null + null === d + ? b || null === a.tail ? (a.tail = null) : (a.tail.sibling = null) : (d.sibling = null); } } - function Gi(a, b, c) { + function S(a) { + var b = null !== a.alternate && a.alternate.child === a.child, + c = 0, + d = 0; + if (b) + for (var e = a.child; null !== e; ) + (c |= e.lanes | e.childLanes), + (d |= e.subtreeFlags & 14680064), + (d |= e.flags & 14680064), + (e.return = a), + (e = e.sibling); + else + for (e = a.child; null !== e; ) + (c |= e.lanes | e.childLanes), + (d |= e.subtreeFlags), + (d |= e.flags), + (e.return = a), + (e = e.sibling); + a.subtreeFlags |= d; + a.childLanes = c; + return b; + } + function Fj(a, b, c) { var d = b.pendingProps; + wg(b); switch (b.tag) { case 2: case 16: @@ -6301,103 +6778,118 @@ case 12: case 9: case 14: - return null; + return S(b), null; case 1: - return Ff(b.type) && Gf(), null; + return Zf(b.type) && $f(), S(b), null; case 3: - fh(); - H(N); - H(M); - uh(); d = b.stateNode; + Jh(); + E(Wf); + E(H); + Oh(); d.pendingContext && ((d.context = d.pendingContext), (d.pendingContext = null)); - if (a === null || a.child === null) - rh(b) + if (null === a || null === a.child) + Gg(b) ? (b.flags |= 4) - : d.hydrate || (b.flags |= 256); - Ci(b); + : null === a || + (a.memoizedState.isDehydrated && + 0 === (b.flags & 256)) || + ((b.flags |= 1024), + null !== zg && (Gj(zg), (zg = null))); + Bj(a, b); + S(b); return null; case 5: - hh(b); - var e = dh(ch.current); + Lh(b); + var e = Hh(Gh.current); c = b.type; - if (a !== null && b.stateNode != null) - Di(a, b, c, d, e), - a.ref !== b.ref && (b.flags |= 128); + if (null !== a && null != b.stateNode) + Cj(a, b, c, d, e), + a.ref !== b.ref && + ((b.flags |= 512), (b.flags |= 2097152)); else { if (!d) { - if (b.stateNode === null) throw Error(y(166)); + if (null === b.stateNode) throw Error(p(166)); + S(b); return null; } - a = dh(ah.current); - if (rh(b)) { + a = Hh(Eh.current); + if (Gg(b)) { d = b.stateNode; c = b.type; var f = b.memoizedProps; - d[wf] = b; - d[xf] = f; + d[Of] = b; + d[Pf] = f; + a = 0 !== (b.mode & 1); switch (c) { case 'dialog': - G('cancel', d); - G('close', d); + D('cancel', d); + D('close', d); break; case 'iframe': case 'object': case 'embed': - G('load', d); + D('load', d); break; case 'video': case 'audio': - for (a = 0; a < Xe.length; a++) - G(Xe[a], d); + for (e = 0; e < lf.length; e++) + D(lf[e], d); break; case 'source': - G('error', d); + D('error', d); break; case 'img': case 'image': case 'link': - G('error', d); - G('load', d); + D('error', d); + D('load', d); break; case 'details': - G('toggle', d); + D('toggle', d); break; case 'input': Za(d, f); - G('invalid', d); + D('invalid', d); break; case 'select': d._wrapperState = { wasMultiple: !!f.multiple }; - G('invalid', d); + D('invalid', d); break; case 'textarea': - hb(d, f), G('invalid', d); + hb(d, f), D('invalid', d); } - vb(c, f); - a = null; + ub(c, f); + e = null; for (var g in f) - f.hasOwnProperty(g) && - ((e = f[g]), - g === 'children' - ? typeof e === 'string' - ? d.textContent !== e && - (a = ['children', e]) - : typeof e === 'number' && - d.textContent !== '' + e && - (a = ['children', '' + e]) - : ca.hasOwnProperty(g) && - e != null && - g === 'onScroll' && - G('scroll', d)); + if (f.hasOwnProperty(g)) { + var h = f[g]; + 'children' === g + ? 'string' === typeof h + ? d.textContent !== h && + (true !== + f.suppressHydrationWarning && + Af(d.textContent, h, a), + (e = ['children', h])) + : 'number' === typeof h && + d.textContent !== '' + h && + (true !== + f.suppressHydrationWarning && + Af(d.textContent, h, a), + (e = ['children', '' + h])) + : ea.hasOwnProperty(g) && + null != h && + 'onScroll' === g && + D('scroll', d); + } switch (c) { case 'input': Va(d); - cb(d, f, true); + db(d, f, true); break; case 'textarea': Va(d); @@ -6407,253 +6899,315 @@ case 'option': break; default: - typeof f.onClick === 'function' && - (d.onclick = jf); + 'function' === typeof f.onClick && + (d.onclick = Bf); } - d = a; + d = e; b.updateQueue = d; - d !== null && (b.flags |= 4); + null !== d && (b.flags |= 4); } else { - g = e.nodeType === 9 ? e : e.ownerDocument; - a === kb.html && (a = lb(c)); - a === kb.html - ? c === 'script' + g = 9 === e.nodeType ? e : e.ownerDocument; + 'http://www.w3.org/1999/xhtml' === a && + (a = kb(c)); + 'http://www.w3.org/1999/xhtml' === a + ? 'script' === c ? ((a = g.createElement('div')), (a.innerHTML = ''), (a = a.removeChild(a.firstChild))) - : typeof d.is === 'string' + : 'string' === typeof d.is ? (a = g.createElement(c, { is: d.is })) : ((a = g.createElement(c)), - c === 'select' && + 'select' === c && ((g = a), d.multiple ? (g.multiple = true) : d.size && (g.size = d.size))) : (a = g.createElementNS(a, c)); - a[wf] = b; - a[xf] = d; - Bi(a, b, false, false); + a[Of] = b; + a[Pf] = d; + Aj(a, b, false, false); b.stateNode = a; - g = wb(c, d); - switch (c) { - case 'dialog': - G('cancel', a); - G('close', a); - e = d; - break; - case 'iframe': - case 'object': - case 'embed': - G('load', a); - e = d; - break; - case 'video': - case 'audio': - for (e = 0; e < Xe.length; e++) - G(Xe[e], a); - e = d; - break; - case 'source': - G('error', a); - e = d; - break; - case 'img': - case 'image': - case 'link': - G('error', a); - G('load', a); - e = d; - break; - case 'details': - G('toggle', a); - e = d; - break; - case 'input': - Za(a, d); - e = Ya(a, d); - G('invalid', a); - break; - case 'option': - e = eb(a, d); - break; - case 'select': - a._wrapperState = { - wasMultiple: !!d.multiple - }; - e = m({}, d, { value: void 0 }); - G('invalid', a); - break; - case 'textarea': - hb(a, d); - e = gb(a, d); - G('invalid', a); - break; - default: - e = d; - } - vb(c, e); - var h = e; - for (f in h) - if (h.hasOwnProperty(f)) { - var k = h[f]; - f === 'style' - ? tb(a, k) - : f === 'dangerouslySetInnerHTML' - ? ((k = k ? k.__html : void 0), - k != null && ob(a, k)) - : f === 'children' - ? typeof k === 'string' - ? (c !== 'textarea' || - k !== '') && - pb(a, k) - : typeof k === 'number' && - pb(a, '' + k) - : f !== - 'suppressContentEditableWarning' && - f !== - 'suppressHydrationWarning' && - f !== 'autoFocus' && - (ca.hasOwnProperty(f) - ? k != null && - f === 'onScroll' && - G('scroll', a) - : k != null && - qa(a, f, k, g)); + a: { + g = vb(c, d); + switch (c) { + case 'dialog': + D('cancel', a); + D('close', a); + e = d; + break; + case 'iframe': + case 'object': + case 'embed': + D('load', a); + e = d; + break; + case 'video': + case 'audio': + for (e = 0; e < lf.length; e++) + D(lf[e], a); + e = d; + break; + case 'source': + D('error', a); + e = d; + break; + case 'img': + case 'image': + case 'link': + D('error', a); + D('load', a); + e = d; + break; + case 'details': + D('toggle', a); + e = d; + break; + case 'input': + Za(a, d); + e = Ya(a, d); + D('invalid', a); + break; + case 'option': + e = d; + break; + case 'select': + a._wrapperState = { + wasMultiple: !!d.multiple + }; + e = A({}, d, { value: void 0 }); + D('invalid', a); + break; + case 'textarea': + hb(a, d); + e = gb(a, d); + D('invalid', a); + break; + default: + e = d; + } + ub(c, e); + h = e; + for (f in h) + if (h.hasOwnProperty(f)) { + var k = h[f]; + 'style' === f + ? sb(a, k) + : 'dangerouslySetInnerHTML' === + f + ? ((k = k ? k.__html : void 0), + null != k && nb(a, k)) + : 'children' === f + ? 'string' === typeof k + ? ('textarea' !== c || + '' !== k) && + ob(a, k) + : 'number' === typeof k && + ob(a, '' + k) + : 'suppressContentEditableWarning' !== + f && + 'suppressHydrationWarning' !== + f && + 'autoFocus' !== f && + (ea.hasOwnProperty(f) + ? null != k && + 'onScroll' === f && + D('scroll', a) + : null != k && + ta(a, f, k, g)); + } + switch (c) { + case 'input': + Va(a); + db(a, d, false); + break; + case 'textarea': + Va(a); + jb(a); + break; + case 'option': + null != d.value && + a.setAttribute( + 'value', + '' + Sa(d.value) + ); + break; + case 'select': + a.multiple = !!d.multiple; + f = d.value; + null != f + ? fb(a, !!d.multiple, f, false) + : null != d.defaultValue && + fb( + a, + !!d.multiple, + d.defaultValue, + true + ); + break; + default: + 'function' === typeof e.onClick && + (a.onclick = Bf); + } + switch (c) { + case 'button': + case 'input': + case 'select': + case 'textarea': + d = !!d.autoFocus; + break a; + case 'img': + d = true; + break a; + default: + d = false; } - switch (c) { - case 'input': - Va(a); - cb(a, d, false); - break; - case 'textarea': - Va(a); - jb(a); - break; - case 'option': - d.value != null && - a.setAttribute( - 'value', - '' + Sa(d.value) - ); - break; - case 'select': - a.multiple = !!d.multiple; - f = d.value; - f != null - ? fb(a, !!d.multiple, f, false) - : d.defaultValue != null && - fb( - a, - !!d.multiple, - d.defaultValue, - true - ); - break; - default: - typeof e.onClick === 'function' && - (a.onclick = jf); } - mf(c, d) && (b.flags |= 4); + d && (b.flags |= 4); } - b.ref !== null && (b.flags |= 128); + null !== b.ref && + ((b.flags |= 512), (b.flags |= 2097152)); } + S(b); return null; case 6: - if (a && b.stateNode != null) - Ei(a, b, a.memoizedProps, d); + if (a && null != b.stateNode) + Dj(a, b, a.memoizedProps, d); else { - if (typeof d !== 'string' && b.stateNode === null) - throw Error(y(166)); - c = dh(ch.current); - dh(ah.current); - rh(b) - ? ((d = b.stateNode), - (c = b.memoizedProps), - (d[wf] = b), - d.nodeValue !== c && (b.flags |= 4)) - : ((d = ( - c.nodeType === 9 ? c : c.ownerDocument - ).createTextNode(d)), - (d[wf] = b), - (b.stateNode = d)); + if ('string' !== typeof d && null === b.stateNode) + throw Error(p(166)); + c = Hh(Gh.current); + Hh(Eh.current); + if (Gg(b)) { + d = b.stateNode; + c = b.memoizedProps; + d[Of] = b; + if ((f = d.nodeValue !== c)) { + if (((a = xg), null !== a)) + switch (a.tag) { + case 3: + Af( + d.nodeValue, + c, + 0 !== (a.mode & 1) + ); + break; + case 5: + true !== + a.memoizedProps + .suppressHydrationWarning && + Af( + d.nodeValue, + c, + 0 !== (a.mode & 1) + ); + } + } + f && (b.flags |= 4); + } else + (d = ( + 9 === c.nodeType ? c : c.ownerDocument + ).createTextNode(d)), + (d[Of] = b), + (b.stateNode = d); } + S(b); return null; case 13: - H(P); + E(M); d = b.memoizedState; - if ((b.flags & 64) !== 0) return (b.lanes = c), b; - d = d !== null; - c = false; - a === null - ? b.memoizedProps.fallback !== void 0 && rh(b) - : (c = a.memoizedState !== null); - if (d && !c && (b.mode & 2) !== 0) + if ( + null === a || + (null !== a.memoizedState && + null !== a.memoizedState.dehydrated) + ) { if ( - (a === null && - b.memoizedProps - .unstable_avoidThisFallback !== true) || - (P.current & 1) !== 0 + I && + null !== yg && + 0 !== (b.mode & 1) && + 0 === (b.flags & 128) ) - V === 0 && (V = 3); - else { - if (V === 0 || V === 3) V = 4; - U === null || - ((Dg & 134217727) === 0 && - (Hi & 134217727) === 0) || - Ii(U, W); - } - if (d || c) b.flags |= 4; + Hg(), Ig(), (b.flags |= 98560), (f = false); + else if ( + ((f = Gg(b)), + null !== d && null !== d.dehydrated) + ) { + if (null === a) { + if (!f) throw Error(p(318)); + f = b.memoizedState; + f = null !== f ? f.dehydrated : null; + if (!f) throw Error(p(317)); + f[Of] = b; + } else + Ig(), + 0 === (b.flags & 128) && + (b.memoizedState = null), + (b.flags |= 4); + S(b); + f = false; + } else + null !== zg && (Gj(zg), (zg = null)), + (f = true); + if (!f) return b.flags & 65536 ? b : null; + } + if (0 !== (b.flags & 128)) return (b.lanes = c), b; + d = null !== d; + d !== (null !== a && null !== a.memoizedState) && + d && + ((b.child.flags |= 8192), + 0 !== (b.mode & 1) && + (null === a || 0 !== (M.current & 1) + ? 0 === T && (T = 3) + : uj())); + null !== b.updateQueue && (b.flags |= 4); + S(b); return null; case 4: return ( - fh(), - Ci(b), - a === null && cf(b.stateNode.containerInfo), + Jh(), + Bj(a, b), + null === a && sf(b.stateNode.containerInfo), + S(b), null ); case 10: - return rg(b), null; + return Rg(b.type._context), S(b), null; case 17: - return Ff(b.type) && Gf(), null; + return Zf(b.type) && $f(), S(b), null; case 19: - H(P); - d = b.memoizedState; - if (d === null) return null; - f = (b.flags & 64) !== 0; - g = d.rendering; - if (g === null) - if (f) Fi(d, false); + E(M); + f = b.memoizedState; + if (null === f) return S(b), null; + d = 0 !== (b.flags & 128); + g = f.rendering; + if (null === g) + if (d) Ej(f, false); else { if ( - V !== 0 || - (a !== null && (a.flags & 64) !== 0) + 0 !== T || + (null !== a && 0 !== (a.flags & 128)) ) - for (a = b.child; a !== null; ) { - g = ih(a); - if (g !== null) { - b.flags |= 64; - Fi(d, false); - f = g.updateQueue; - f !== null && - ((b.updateQueue = f), + for (a = b.child; null !== a; ) { + g = Mh(a); + if (null !== g) { + b.flags |= 128; + Ej(f, false); + d = g.updateQueue; + null !== d && + ((b.updateQueue = d), (b.flags |= 4)); - d.lastEffect === null && - (b.firstEffect = null); - b.lastEffect = d.lastEffect; + b.subtreeFlags = 0; d = c; - for (c = b.child; c !== null; ) + for (c = b.child; null !== c; ) (f = c), (a = d), - (f.flags &= 2), - (f.nextEffect = null), - (f.firstEffect = null), - (f.lastEffect = null), + (f.flags &= 14680066), (g = f.alternate), - g === null + null === g ? ((f.childLanes = 0), (f.lanes = a), (f.child = null), + (f.subtreeFlags = 0), (f.memoizedProps = null), (f.memoizedState = @@ -6667,6 +7221,8 @@ g.childLanes), (f.lanes = g.lanes), (f.child = g.child), + (f.subtreeFlags = 0), + (f.deletions = null), (f.memoizedProps = g.memoizedProps), (f.memoizedState = @@ -6676,7 +7232,7 @@ (f.type = g.type), (a = g.dependencies), (f.dependencies = - a === null + null === a ? null : { lanes: a.lanes, @@ -6684,1092 +7240,1515 @@ a.firstContext })), (c = c.sibling); - I(P, (P.current & 1) | 2); + G(M, (M.current & 1) | 2); return b.child; } a = a.sibling; } - d.tail !== null && - O() > Ji && - ((b.flags |= 64), - (f = true), - Fi(d, false), - (b.lanes = 33554432)); + null !== f.tail && + B() > Hj && + ((b.flags |= 128), + (d = true), + Ej(f, false), + (b.lanes = 4194304)); } else { - if (!f) - if (((a = ih(g)), a !== null)) { + if (!d) + if (((a = Mh(g)), null !== a)) { if ( - ((b.flags |= 64), - (f = true), + ((b.flags |= 128), + (d = true), (c = a.updateQueue), - c !== null && + null !== c && ((b.updateQueue = c), (b.flags |= 4)), - Fi(d, true), - d.tail === null && - d.tailMode === 'hidden' && + Ej(f, true), + null === f.tail && + 'hidden' === f.tailMode && !g.alternate && - !lh) + !I) ) - return ( - (b = b.lastEffect = d.lastEffect), - b !== null && (b.nextEffect = null), - null - ); + return S(b), null; } else - 2 * O() - d.renderingStartTime > Ji && - c !== 1073741824 && - ((b.flags |= 64), - (f = true), - Fi(d, false), - (b.lanes = 33554432)); - d.isBackwards + 2 * B() - f.renderingStartTime > Hj && + 1073741824 !== c && + ((b.flags |= 128), + (d = true), + Ej(f, false), + (b.lanes = 4194304)); + f.isBackwards ? ((g.sibling = b.child), (b.child = g)) - : ((c = d.last), - c !== null ? (c.sibling = g) : (b.child = g), - (d.last = g)); + : ((c = f.last), + null !== c ? (c.sibling = g) : (b.child = g), + (f.last = g)); } - return d.tail !== null - ? ((c = d.tail), - (d.rendering = c), - (d.tail = c.sibling), - (d.lastEffect = b.lastEffect), - (d.renderingStartTime = O()), - (c.sibling = null), - (b = P.current), - I(P, f ? (b & 1) | 2 : b & 1), - c) - : null; + if (null !== f.tail) + return ( + (b = f.tail), + (f.rendering = b), + (f.tail = b.sibling), + (f.renderingStartTime = B()), + (b.sibling = null), + (c = M.current), + G(M, d ? (c & 1) | 2 : c & 1), + b + ); + S(b); + return null; + case 22: case 23: - case 24: return ( - Ki(), - a !== null && - (a.memoizedState !== null) !== - (b.memoizedState !== null) && - d.mode !== 'unstable-defer-without-hiding' && - (b.flags |= 4), + Ij(), + (d = null !== b.memoizedState), + null !== a && + (null !== a.memoizedState) !== d && + (b.flags |= 8192), + d && 0 !== (b.mode & 1) + ? 0 !== (gj & 1073741824) && + (S(b), + b.subtreeFlags & 6 && (b.flags |= 8192)) + : S(b), null ); + case 24: + return null; + case 25: + return null; } - throw Error(y(156, b.tag)); + throw Error(p(156, b.tag)); } - function Li(a) { - switch (a.tag) { + function Jj(a, b) { + wg(b); + switch (b.tag) { case 1: - Ff(a.type) && Gf(); - var b = a.flags; - return b & 4096 - ? ((a.flags = (b & -4097) | 64), a) - : null; + return ( + Zf(b.type) && $f(), + (a = b.flags), + a & 65536 + ? ((b.flags = (a & -65537) | 128), b) + : null + ); case 3: - fh(); - H(N); - H(M); - uh(); - b = a.flags; - if ((b & 64) !== 0) throw Error(y(285)); - a.flags = (b & -4097) | 64; - return a; - case 5: - return hh(a), null; - case 13: return ( - H(P), - (b = a.flags), - b & 4096 ? ((a.flags = (b & -4097) | 64), a) : null + Jh(), + E(Wf), + E(H), + Oh(), + (a = b.flags), + 0 !== (a & 65536) && 0 === (a & 128) + ? ((b.flags = (a & -65537) | 128), b) + : null ); + case 5: + return Lh(b), null; + case 13: + E(M); + a = b.memoizedState; + if (null !== a && null !== a.dehydrated) { + if (null === b.alternate) throw Error(p(340)); + Ig(); + } + a = b.flags; + return a & 65536 + ? ((b.flags = (a & -65537) | 128), b) + : null; case 19: - return H(P), null; + return E(M), null; case 4: - return fh(), null; + return Jh(), null; case 10: - return rg(a), null; + return Rg(b.type._context), null; + case 22: case 23: + return Ij(), null; case 24: - return Ki(), null; + return null; default: return null; } } - function Mi(a, b) { - try { - var c = '', - d = b; - do (c += Qa(d)), (d = d.return); - while (d); - var e = c; - } catch (f) { - e = - '\nError generating stack: ' + - f.message + - '\n' + - f.stack; - } - return { value: a, source: b, stack: e }; - } - function Ni(a, b) { - try { - console.error(b.value); - } catch (c) { - setTimeout(function () { - throw c; - }); - } - } - var Oi = typeof WeakMap === 'function' ? WeakMap : Map; - function Pi(a, b, c) { - c = zg(-1, c); - c.tag = 3; - c.payload = { element: null }; - var d = b.value; - c.callback = function () { - Qi || ((Qi = true), (Ri = d)); - Ni(a, b); - }; - return c; - } - function Si(a, b, c) { - c = zg(-1, c); - c.tag = 3; - var d = a.type.getDerivedStateFromError; - if (typeof d === 'function') { - var e = b.value; - c.payload = function () { - Ni(a, b); - return d(e); - }; - } - var f = a.stateNode; - f !== null && - typeof f.componentDidCatch === 'function' && - (c.callback = function () { - typeof d !== 'function' && - (Ti === null - ? (Ti = new Set([this])) - : Ti.add(this), - Ni(a, b)); - var c2 = b.stack; - this.componentDidCatch(b.value, { - componentStack: c2 !== null ? c2 : '' - }); - }); - return c; - } - var Ui = typeof WeakSet === 'function' ? WeakSet : Set; - function Vi(a) { - var b = a.ref; - if (b !== null) - if (typeof b === 'function') + var Kj = false; + var U = false; + var Lj = 'function' === typeof WeakSet ? WeakSet : Set; + var V = null; + function Mj(a, b) { + var c = a.ref; + if (null !== c) + if ('function' === typeof c) try { - b(null); - } catch (c) { - Wi(a, c); + c(null); + } catch (d) { + W(a, b, d); } - else b.current = null; + else c.current = null; } - function Xi(a, b) { - switch (b.tag) { - case 0: - case 11: - case 15: - case 22: - return; - case 1: - if (b.flags & 256 && a !== null) { - var c = a.memoizedProps, - d = a.memoizedState; - a = b.stateNode; - b = a.getSnapshotBeforeUpdate( - b.elementType === b.type ? c : lg(b.type, c), - d - ); - a.__reactInternalSnapshotBeforeUpdate = b; - } - return; - case 3: - b.flags & 256 && qf(b.stateNode.containerInfo); - return; - case 5: - case 6: - case 4: - case 17: - return; - } - throw Error(y(163)); - } - function Yi(a, b, c) { - switch (c.tag) { - case 0: - case 11: - case 15: - case 22: - b = c.updateQueue; - b = b !== null ? b.lastEffect : null; - if (b !== null) { - a = b = b.next; - do { - if ((a.tag & 3) === 3) { - var d = a.create; - a.destroy = d(); + function Nj(a, b, c) { + try { + c(); + } catch (d) { + W(a, b, d); + } + } + var Oj = false; + function Pj(a, b) { + Cf = dd; + a = Me(); + if (Ne(a)) { + if ('selectionStart' in a) + var c = { + start: a.selectionStart, + end: a.selectionEnd + }; + else + a: { + c = + ((c = a.ownerDocument) && c.defaultView) || + window; + var d = c.getSelection && c.getSelection(); + if (d && 0 !== d.rangeCount) { + c = d.anchorNode; + var e = d.anchorOffset, + f = d.focusNode; + d = d.focusOffset; + try { + c.nodeType, f.nodeType; + } catch (F) { + c = null; + break a; + } + var g = 0, + h = -1, + k = -1, + l = 0, + m = 0, + q = a, + r = null; + b: for (;;) { + for (var y; ; ) { + q !== c || + (0 !== e && 3 !== q.nodeType) || + (h = g + e); + q !== f || + (0 !== d && 3 !== q.nodeType) || + (k = g + d); + 3 === q.nodeType && + (g += q.nodeValue.length); + if (null === (y = q.firstChild)) break; + r = q; + q = y; + } + for (;;) { + if (q === a) break b; + r === c && ++l === e && (h = g); + r === f && ++m === d && (k = g); + if (null !== (y = q.nextSibling)) break; + q = r; + r = q.parentNode; + } + q = y; } - a = a.next; - } while (a !== b); + c = + -1 === h || -1 === k + ? null + : { start: h, end: k }; + } else c = null; } - b = c.updateQueue; - b = b !== null ? b.lastEffect : null; - if (b !== null) { - a = b = b.next; - do { - var e = a; - d = e.next; - e = e.tag; - (e & 4) !== 0 && - (e & 1) !== 0 && - (Zi(c, a), $i(c, a)); - a = d; - } while (a !== b); + c = c || { start: 0, end: 0 }; + } else c = null; + Df = { focusedElem: a, selectionRange: c }; + dd = false; + for (V = b; null !== V; ) + if ( + ((b = V), + (a = b.child), + 0 !== (b.subtreeFlags & 1028) && null !== a) + ) + (a.return = b), (V = a); + else + for (; null !== V; ) { + b = V; + try { + var n = b.alternate; + if (0 !== (b.flags & 1024)) + switch (b.tag) { + case 0: + case 11: + case 15: + break; + case 1: + if (null !== n) { + var t = n.memoizedProps, + J = n.memoizedState, + x = b.stateNode, + w = + x.getSnapshotBeforeUpdate( + b.elementType === + b.type + ? t + : Lg(b.type, t), + J + ); + x.__reactInternalSnapshotBeforeUpdate = + w; + } + break; + case 3: + var u = b.stateNode.containerInfo; + 1 === u.nodeType + ? (u.textContent = '') + : 9 === u.nodeType && + u.documentElement && + u.removeChild( + u.documentElement + ); + break; + case 5: + case 6: + case 4: + case 17: + break; + default: + throw Error(p(163)); + } + } catch (F) { + W(b, b.return, F); + } + a = b.sibling; + if (null !== a) { + a.return = b.return; + V = a; + break; + } + V = b.return; } - return; - case 1: - a = c.stateNode; - c.flags & 4 && - (b === null - ? a.componentDidMount() - : ((d = - c.elementType === c.type - ? b.memoizedProps - : lg(c.type, b.memoizedProps)), - a.componentDidUpdate( - d, - b.memoizedState, - a.__reactInternalSnapshotBeforeUpdate - ))); - b = c.updateQueue; - b !== null && Eg(c, b, a); - return; - case 3: - b = c.updateQueue; - if (b !== null) { - a = null; - if (c.child !== null) - switch (c.child.tag) { - case 5: - a = c.child.stateNode; - break; - case 1: - a = c.child.stateNode; - } - Eg(c, b, a); + n = Oj; + Oj = false; + return n; + } + function Qj(a, b, c) { + var d = b.updateQueue; + d = null !== d ? d.lastEffect : null; + if (null !== d) { + var e = (d = d.next); + do { + if ((e.tag & a) === a) { + var f = e.destroy; + e.destroy = void 0; + void 0 !== f && Nj(b, c, f); } - return; - case 5: - a = c.stateNode; - b === null && - c.flags & 4 && - mf(c.type, c.memoizedProps) && - a.focus(); - return; - case 6: - return; - case 4: - return; - case 12: - return; - case 13: - c.memoizedState === null && - ((c = c.alternate), - c !== null && - ((c = c.memoizedState), - c !== null && - ((c = c.dehydrated), c !== null && Cc(c)))); - return; - case 19: - case 17: - case 20: - case 21: - case 23: - case 24: - return; + e = e.next; + } while (e !== d); } - throw Error(y(163)); } - function aj(a, b) { - for (var c = a; ; ) { - if (c.tag === 5) { - var d = c.stateNode; - if (b) - (d = d.style), - typeof d.setProperty === 'function' - ? d.setProperty( - 'display', - 'none', - 'important' - ) - : (d.display = 'none'); - else { - d = c.stateNode; - var e = c.memoizedProps.style; - e = - e !== void 0 && - e !== null && - e.hasOwnProperty('display') - ? e.display - : null; - d.style.display = sb('display', e); + function Rj(a, b) { + b = b.updateQueue; + b = null !== b ? b.lastEffect : null; + if (null !== b) { + var c = (b = b.next); + do { + if ((c.tag & a) === a) { + var d = c.create; + c.destroy = d(); } - } else if (c.tag === 6) - c.stateNode.nodeValue = b ? '' : c.memoizedProps; - else if ( - ((c.tag !== 23 && c.tag !== 24) || - c.memoizedState === null || - c === a) && - c.child !== null - ) { - c.child.return = c; - c = c.child; - continue; - } - if (c === a) break; - for (; c.sibling === null; ) { - if (c.return === null || c.return === a) return; - c = c.return; - } - c.sibling.return = c.return; - c = c.sibling; + c = c.next; + } while (c !== b); } } - function bj(a, b) { - if (Mf && typeof Mf.onCommitFiberUnmount === 'function') - try { - Mf.onCommitFiberUnmount(Lf, b); - } catch (f) {} - switch (b.tag) { - case 0: - case 11: - case 14: - case 15: - case 22: - a = b.updateQueue; - if (a !== null && ((a = a.lastEffect), a !== null)) { - var c = (a = a.next); - do { - var d = c, - e = d.destroy; - d = d.tag; - if (e !== void 0) - if ((d & 4) !== 0) Zi(b, c); - else { - d = b; - try { - e(); - } catch (f) { - Wi(d, f); - } - } - c = c.next; - } while (c !== a); - } - break; - case 1: - Vi(b); - a = b.stateNode; - if (typeof a.componentWillUnmount === 'function') - try { - (a.props = b.memoizedProps), - (a.state = b.memoizedState), - a.componentWillUnmount(); - } catch (f) { - Wi(b, f); - } - break; - case 5: - Vi(b); - break; - case 4: - cj(a, b); + function Sj(a) { + var b = a.ref; + if (null !== b) { + var c = a.stateNode; + switch (a.tag) { + case 5: + a = c; + break; + default: + a = c; + } + 'function' === typeof b ? b(a) : (b.current = a); } } - function dj(a) { - a.alternate = null; + function Tj(a) { + var b = a.alternate; + null !== b && ((a.alternate = null), Tj(b)); a.child = null; + a.deletions = null; + a.sibling = null; + 5 === a.tag && + ((b = a.stateNode), + null !== b && + (delete b[Of], + delete b[Pf], + delete b[of], + delete b[Qf], + delete b[Rf])); + a.stateNode = null; + a.return = null; a.dependencies = null; - a.firstEffect = null; - a.lastEffect = null; a.memoizedProps = null; a.memoizedState = null; a.pendingProps = null; - a.return = null; + a.stateNode = null; a.updateQueue = null; } - function ej(a) { - return a.tag === 5 || a.tag === 3 || a.tag === 4; + function Uj(a) { + return 5 === a.tag || 3 === a.tag || 4 === a.tag; } - function fj(a) { - a: { - for (var b = a.return; b !== null; ) { - if (ej(b)) break a; - b = b.return; - } - throw Error(y(160)); - } - var c = b; - b = c.stateNode; - switch (c.tag) { - case 5: - var d = false; - break; - case 3: - b = b.containerInfo; - d = true; - break; - case 4: - b = b.containerInfo; - d = true; - break; - default: - throw Error(y(161)); - } - c.flags & 16 && (pb(b, ''), (c.flags &= -17)); - a: b: for (c = a; ; ) { - for (; c.sibling === null; ) { - if (c.return === null || ej(c.return)) { - c = null; - break a; - } - c = c.return; + function Vj(a) { + a: for (;;) { + for (; null === a.sibling; ) { + if (null === a.return || Uj(a.return)) return null; + a = a.return; } - c.sibling.return = c.return; + a.sibling.return = a.return; for ( - c = c.sibling; - c.tag !== 5 && c.tag !== 6 && c.tag !== 18; + a = a.sibling; + 5 !== a.tag && 6 !== a.tag && 18 !== a.tag; ) { - if (c.flags & 2) continue b; - if (c.child === null || c.tag === 4) continue b; - else (c.child.return = c), (c = c.child); - } - if (!(c.flags & 2)) { - c = c.stateNode; - break a; + if (a.flags & 2) continue a; + if (null === a.child || 4 === a.tag) continue a; + else (a.child.return = a), (a = a.child); } + if (!(a.flags & 2)) return a.stateNode; } - d ? gj(a, c, b) : hj(a, c, b); } - function gj(a, b, c) { - var d = a.tag, - e = d === 5 || d === 6; - if (e) - (a = e ? a.stateNode : a.stateNode.instance), + function Wj(a, b, c) { + var d = a.tag; + if (5 === d || 6 === d) + (a = a.stateNode), b - ? c.nodeType === 8 + ? 8 === c.nodeType ? c.parentNode.insertBefore(a, b) : c.insertBefore(a, b) - : (c.nodeType === 8 + : (8 === c.nodeType ? ((b = c.parentNode), b.insertBefore(a, c)) : ((b = c), b.appendChild(a)), (c = c._reactRootContainer), - (c !== null && c !== void 0) || - b.onclick !== null || - (b.onclick = jf)); - else if (d !== 4 && ((a = a.child), a !== null)) - for (gj(a, b, c), a = a.sibling; a !== null; ) - gj(a, b, c), (a = a.sibling); - } - function hj(a, b, c) { - var d = a.tag, - e = d === 5 || d === 6; - if (e) - (a = e ? a.stateNode : a.stateNode.instance), + (null !== c && void 0 !== c) || + null !== b.onclick || + (b.onclick = Bf)); + else if (4 !== d && ((a = a.child), null !== a)) + for (Wj(a, b, c), a = a.sibling; null !== a; ) + Wj(a, b, c), (a = a.sibling); + } + function Xj(a, b, c) { + var d = a.tag; + if (5 === d || 6 === d) + (a = a.stateNode), b ? c.insertBefore(a, b) : c.appendChild(a); - else if (d !== 4 && ((a = a.child), a !== null)) - for (hj(a, b, c), a = a.sibling; a !== null; ) - hj(a, b, c), (a = a.sibling); - } - function cj(a, b) { - for (var c = b, d = false, e, f; ; ) { - if (!d) { - d = c.return; - a: for (;;) { - if (d === null) throw Error(y(160)); - e = d.stateNode; - switch (d.tag) { - case 5: - f = false; - break a; - case 3: - e = e.containerInfo; - f = true; - break a; - case 4: - e = e.containerInfo; - f = true; - break a; - } - d = d.return; + else if (4 !== d && ((a = a.child), null !== a)) + for (Xj(a, b, c), a = a.sibling; null !== a; ) + Xj(a, b, c), (a = a.sibling); + } + var X = null; + var Yj = false; + function Zj(a, b, c) { + for (c = c.child; null !== c; ) ak(a, b, c), (c = c.sibling); + } + function ak(a, b, c) { + if (lc && 'function' === typeof lc.onCommitFiberUnmount) + try { + lc.onCommitFiberUnmount(kc, c); + } catch (h) {} + switch (c.tag) { + case 5: + U || Mj(c, b); + case 6: + var d = X, + e = Yj; + X = null; + Zj(a, b, c); + X = d; + Yj = e; + null !== X && + (Yj + ? ((a = X), + (c = c.stateNode), + 8 === a.nodeType + ? a.parentNode.removeChild(c) + : a.removeChild(c)) + : X.removeChild(c.stateNode)); + break; + case 18: + null !== X && + (Yj + ? ((a = X), + (c = c.stateNode), + 8 === a.nodeType + ? Kf(a.parentNode, c) + : 1 === a.nodeType && Kf(a, c), + bd(a)) + : Kf(X, c.stateNode)); + break; + case 4: + d = X; + e = Yj; + X = c.stateNode.containerInfo; + Yj = true; + Zj(a, b, c); + X = d; + Yj = e; + break; + case 0: + case 11: + case 14: + case 15: + if ( + !U && + ((d = c.updateQueue), + null !== d && ((d = d.lastEffect), null !== d)) + ) { + e = d = d.next; + do { + var f = e, + g = f.destroy; + f = f.tag; + void 0 !== g && + (0 !== (f & 2) + ? Nj(c, b, g) + : 0 !== (f & 4) && Nj(c, b, g)); + e = e.next; + } while (e !== d); } - d = true; - } - if (c.tag === 5 || c.tag === 6) { - a: for (var g = a, h = c, k = h; ; ) - if ((bj(g, k), k.child !== null && k.tag !== 4)) - (k.child.return = k), (k = k.child); - else { - if (k === h) break a; - for (; k.sibling === null; ) { - if (k.return === null || k.return === h) + Zj(a, b, c); + break; + case 1: + if ( + !U && + (Mj(c, b), + (d = c.stateNode), + 'function' === typeof d.componentWillUnmount) + ) + try { + (d.props = c.memoizedProps), + (d.state = c.memoizedState), + d.componentWillUnmount(); + } catch (h) { + W(c, b, h); + } + Zj(a, b, c); + break; + case 21: + Zj(a, b, c); + break; + case 22: + c.mode & 1 + ? ((U = (d = U) || null !== c.memoizedState), + Zj(a, b, c), + (U = d)) + : Zj(a, b, c); + break; + default: + Zj(a, b, c); + } + } + function bk(a) { + var b = a.updateQueue; + if (null !== b) { + a.updateQueue = null; + var c = a.stateNode; + null === c && (c = a.stateNode = new Lj()); + b.forEach(function (b2) { + var d = ck.bind(null, a, b2); + c.has(b2) || (c.add(b2), b2.then(d, d)); + }); + } + } + function dk(a, b) { + var c = b.deletions; + if (null !== c) + for (var d = 0; d < c.length; d++) { + var e = c[d]; + try { + var f = a, + g = b, + h = g; + a: for (; null !== h; ) { + switch (h.tag) { + case 5: + X = h.stateNode; + Yj = false; + break a; + case 3: + X = h.stateNode.containerInfo; + Yj = true; + break a; + case 4: + X = h.stateNode.containerInfo; + Yj = true; break a; - k = k.return; } - k.sibling.return = k.return; - k = k.sibling; + h = h.return; } - f - ? ((g = e), - (h = c.stateNode), - g.nodeType === 8 - ? g.parentNode.removeChild(h) - : g.removeChild(h)) - : e.removeChild(c.stateNode); - } else if (c.tag === 4) { - if (c.child !== null) { - e = c.stateNode.containerInfo; - f = true; - c.child.return = c; - c = c.child; - continue; + if (null === X) throw Error(p(160)); + ak(f, g, e); + X = null; + Yj = false; + var k = e.alternate; + null !== k && (k.return = null); + e.return = null; + } catch (l) { + W(e, b, l); } - } else if ((bj(a, c), c.child !== null)) { - c.child.return = c; - c = c.child; - continue; - } - if (c === b) break; - for (; c.sibling === null; ) { - if (c.return === null || c.return === b) return; - c = c.return; - c.tag === 4 && (d = false); } - c.sibling.return = c.return; - c = c.sibling; - } + if (b.subtreeFlags & 12854) + for (b = b.child; null !== b; ) ek(b, a), (b = b.sibling); } - function ij(a, b) { - switch (b.tag) { + function ek(a, b) { + var c = a.alternate, + d = a.flags; + switch (a.tag) { case 0: case 11: case 14: case 15: - case 22: - var c = b.updateQueue; - c = c !== null ? c.lastEffect : null; - if (c !== null) { - var d = (c = c.next); - do - (d.tag & 3) === 3 && - ((a = d.destroy), - (d.destroy = void 0), - a !== void 0 && a()), - (d = d.next); - while (d !== c); + dk(b, a); + fk(a); + if (d & 4) { + try { + Qj(3, a, a.return), Rj(3, a); + } catch (t) { + W(a, a.return, t); + } + try { + Qj(5, a, a.return); + } catch (t) { + W(a, a.return, t); + } } - return; + break; case 1: - return; + dk(b, a); + fk(a); + d & 512 && null !== c && Mj(c, c.return); + break; case 5: - c = b.stateNode; - if (c != null) { - d = b.memoizedProps; - var e = a !== null ? a.memoizedProps : d; - a = b.type; - var f = b.updateQueue; - b.updateQueue = null; - if (f !== null) { - c[xf] = d; - a === 'input' && - d.type === 'radio' && - d.name != null && - $a(c, d); - wb(a, e); - b = wb(a, d); - for (e = 0; e < f.length; e += 2) { - var g = f[e], - h = f[e + 1]; - g === 'style' - ? tb(c, h) - : g === 'dangerouslySetInnerHTML' - ? ob(c, h) - : g === 'children' - ? pb(c, h) - : qa(c, g, h, b); - } - switch (a) { - case 'input': - ab(c, d); - break; - case 'textarea': - ib(c, d); - break; - case 'select': - (a = c._wrapperState.wasMultiple), - (c._wrapperState.wasMultiple = - !!d.multiple), - (f = d.value), - f != null - ? fb(c, !!d.multiple, f, false) - : a !== !!d.multiple && - (d.defaultValue != null + dk(b, a); + fk(a); + d & 512 && null !== c && Mj(c, c.return); + if (a.flags & 32) { + var e = a.stateNode; + try { + ob(e, ''); + } catch (t) { + W(a, a.return, t); + } + } + if (d & 4 && ((e = a.stateNode), null != e)) { + var f = a.memoizedProps, + g = null !== c ? c.memoizedProps : f, + h = a.type, + k = a.updateQueue; + a.updateQueue = null; + if (null !== k) + try { + 'input' === h && + 'radio' === f.type && + null != f.name && + ab(e, f); + vb(h, g); + var l = vb(h, f); + for (g = 0; g < k.length; g += 2) { + var m = k[g], + q = k[g + 1]; + 'style' === m + ? sb(e, q) + : 'dangerouslySetInnerHTML' === m + ? nb(e, q) + : 'children' === m + ? ob(e, q) + : ta(e, m, q, l); + } + switch (h) { + case 'input': + bb(e, f); + break; + case 'textarea': + ib(e, f); + break; + case 'select': + var r = e._wrapperState.wasMultiple; + e._wrapperState.wasMultiple = + !!f.multiple; + var y = f.value; + null != y + ? fb(e, !!f.multiple, y, false) + : r !== !!f.multiple && + (null != f.defaultValue ? fb( - c, - !!d.multiple, - d.defaultValue, + e, + !!f.multiple, + f.defaultValue, true ) : fb( - c, - !!d.multiple, - d.multiple + e, + !!f.multiple, + f.multiple ? [] : '', false )); + } + e[Pf] = f; + } catch (t) { + W(a, a.return, t); + } + } + break; + case 6: + dk(b, a); + fk(a); + if (d & 4) { + if (null === a.stateNode) throw Error(p(162)); + e = a.stateNode; + f = a.memoizedProps; + try { + e.nodeValue = f; + } catch (t) { + W(a, a.return, t); + } + } + break; + case 3: + dk(b, a); + fk(a); + if (d & 4 && null !== c && c.memoizedState.isDehydrated) + try { + bd(b.containerInfo); + } catch (t) { + W(a, a.return, t); + } + break; + case 4: + dk(b, a); + fk(a); + break; + case 13: + dk(b, a); + fk(a); + e = a.child; + e.flags & 8192 && + ((f = null !== e.memoizedState), + (e.stateNode.isHidden = f), + !f || + (null !== e.alternate && + null !== e.alternate.memoizedState) || + (gk = B())); + d & 4 && bk(a); + break; + case 22: + m = null !== c && null !== c.memoizedState; + a.mode & 1 + ? ((U = (l = U) || m), dk(b, a), (U = l)) + : dk(b, a); + fk(a); + if (d & 8192) { + l = null !== a.memoizedState; + if ( + (a.stateNode.isHidden = l) && + !m && + 0 !== (a.mode & 1) + ) + for (V = a, m = a.child; null !== m; ) { + for (q = V = m; null !== V; ) { + r = V; + y = r.child; + switch (r.tag) { + case 0: + case 11: + case 14: + case 15: + Qj(4, r, r.return); + break; + case 1: + Mj(r, r.return); + var n = r.stateNode; + if ( + 'function' === + typeof n.componentWillUnmount + ) { + d = r; + c = r.return; + try { + (b = d), + (n.props = + b.memoizedProps), + (n.state = + b.memoizedState), + n.componentWillUnmount(); + } catch (t) { + W(d, c, t); + } + } + break; + case 5: + Mj(r, r.return); + break; + case 22: + if (null !== r.memoizedState) { + hk(q); + continue; + } + } + null !== y + ? ((y.return = r), (V = y)) + : hk(q); + } + m = m.sibling; + } + a: for (m = null, q = a; ; ) { + if (5 === q.tag) { + if (null === m) { + m = q; + try { + (e = q.stateNode), + l + ? ((f = e.style), + 'function' === + typeof f.setProperty + ? f.setProperty( + 'display', + 'none', + 'important' + ) + : (f.display = + 'none')) + : ((h = q.stateNode), + (k = + q.memoizedProps + .style), + (g = + void 0 !== k && + null !== k && + k.hasOwnProperty( + 'display' + ) + ? k.display + : null), + (h.style.display = rb( + 'display', + g + ))); + } catch (t) { + W(a, a.return, t); + } + } + } else if (6 === q.tag) { + if (null === m) + try { + q.stateNode.nodeValue = l + ? '' + : q.memoizedProps; + } catch (t) { + W(a, a.return, t); + } + } else if ( + ((22 !== q.tag && 23 !== q.tag) || + null === q.memoizedState || + q === a) && + null !== q.child + ) { + q.child.return = q; + q = q.child; + continue; + } + if (q === a) break a; + for (; null === q.sibling; ) { + if (null === q.return || q.return === a) + break a; + m === q && (m = null); + q = q.return; + } + m === q && (m = null); + q.sibling.return = q.return; + q = q.sibling; + } + } + break; + case 19: + dk(b, a); + fk(a); + d & 4 && bk(a); + break; + case 21: + break; + default: + dk(b, a), fk(a); + } + } + function fk(a) { + var b = a.flags; + if (b & 2) { + try { + a: { + for (var c = a.return; null !== c; ) { + if (Uj(c)) { + var d = c; + break a; + } + c = c.return; + } + throw Error(p(160)); + } + switch (d.tag) { + case 5: + var e = d.stateNode; + d.flags & 32 && (ob(e, ''), (d.flags &= -33)); + var f = Vj(a); + Xj(a, f, e); + break; + case 3: + case 4: + var g = d.stateNode.containerInfo, + h = Vj(a); + Wj(a, h, g); + break; + default: + throw Error(p(161)); + } + } catch (k) { + W(a, a.return, k); + } + a.flags &= -3; + } + b & 4096 && (a.flags &= -4097); + } + function ik(a, b, c) { + V = a; + jk(a, b, c); + } + function jk(a, b, c) { + for (var d = 0 !== (a.mode & 1); null !== V; ) { + var e = V, + f = e.child; + if (22 === e.tag && d) { + var g = null !== e.memoizedState || Kj; + if (!g) { + var h = e.alternate, + k = + (null !== h && null !== h.memoizedState) || + U; + h = Kj; + var l = U; + Kj = g; + if ((U = k) && !l) + for (V = e; null !== V; ) + (g = V), + (k = g.child), + 22 === g.tag && null !== g.memoizedState + ? kk(e) + : null !== k + ? ((k.return = g), (V = k)) + : kk(e); + for (; null !== f; ) + (V = f), jk(f, b, c), (f = f.sibling); + V = e; + Kj = h; + U = l; + } + lk(a, b, c); + } else + 0 !== (e.subtreeFlags & 8772) && null !== f + ? ((f.return = e), (V = f)) + : lk(a, b, c); + } + } + function lk(a) { + for (; null !== V; ) { + var b = V; + if (0 !== (b.flags & 8772)) { + var c = b.alternate; + try { + if (0 !== (b.flags & 8772)) + switch (b.tag) { + case 0: + case 11: + case 15: + U || Rj(5, b); + break; + case 1: + var d = b.stateNode; + if (b.flags & 4 && !U) + if (null === c) + d.componentDidMount(); + else { + var e = + b.elementType === b.type + ? c.memoizedProps + : Lg( + b.type, + c.memoizedProps + ); + d.componentDidUpdate( + e, + c.memoizedState, + d.__reactInternalSnapshotBeforeUpdate + ); + } + var f = b.updateQueue; + null !== f && ih(b, f, d); + break; + case 3: + var g = b.updateQueue; + if (null !== g) { + c = null; + if (null !== b.child) + switch (b.child.tag) { + case 5: + c = b.child.stateNode; + break; + case 1: + c = b.child.stateNode; + } + ih(b, g, c); + } + break; + case 5: + var h = b.stateNode; + if (null === c && b.flags & 4) { + c = h; + var k = b.memoizedProps; + switch (b.type) { + case 'button': + case 'input': + case 'select': + case 'textarea': + k.autoFocus && c.focus(); + break; + case 'img': + k.src && (c.src = k.src); + } + } + break; + case 6: + break; + case 4: + break; + case 12: + break; + case 13: + if (null === b.memoizedState) { + var l = b.alternate; + if (null !== l) { + var m = l.memoizedState; + if (null !== m) { + var q = m.dehydrated; + null !== q && bd(q); + } + } + } + break; + case 19: + case 17: + case 21: + case 22: + case 23: + case 25: + break; + default: + throw Error(p(163)); } - } + U || (b.flags & 512 && Sj(b)); + } catch (r) { + W(b, b.return, r); } - return; - case 6: - if (b.stateNode === null) throw Error(y(162)); - b.stateNode.nodeValue = b.memoizedProps; - return; - case 3: - c = b.stateNode; - c.hydrate && ((c.hydrate = false), Cc(c.containerInfo)); - return; - case 12: - return; - case 13: - b.memoizedState !== null && - ((jj = O()), aj(b.child, true)); - kj(b); - return; - case 19: - kj(b); - return; - case 17: - return; - case 23: - case 24: - aj(b, b.memoizedState !== null); - return; + } + if (b === a) { + V = null; + break; + } + c = b.sibling; + if (null !== c) { + c.return = b.return; + V = c; + break; + } + V = b.return; } - throw Error(y(163)); } - function kj(a) { - var b = a.updateQueue; - if (b !== null) { - a.updateQueue = null; - var c = a.stateNode; - c === null && (c = a.stateNode = new Ui()); - b.forEach(function (b2) { - var d = lj.bind(null, a, b2); - c.has(b2) || (c.add(b2), b2.then(d, d)); - }); + function hk(a) { + for (; null !== V; ) { + var b = V; + if (b === a) { + V = null; + break; + } + var c = b.sibling; + if (null !== c) { + c.return = b.return; + V = c; + break; + } + V = b.return; } } - function mj(a, b) { - return a !== null && - ((a = a.memoizedState), a === null || a.dehydrated !== null) - ? ((b = b.memoizedState), - b !== null && b.dehydrated === null) - : false; + function kk(a) { + for (; null !== V; ) { + var b = V; + try { + switch (b.tag) { + case 0: + case 11: + case 15: + var c = b.return; + try { + Rj(4, b); + } catch (k) { + W(b, c, k); + } + break; + case 1: + var d = b.stateNode; + if ('function' === typeof d.componentDidMount) { + var e = b.return; + try { + d.componentDidMount(); + } catch (k) { + W(b, e, k); + } + } + var f = b.return; + try { + Sj(b); + } catch (k) { + W(b, f, k); + } + break; + case 5: + var g = b.return; + try { + Sj(b); + } catch (k) { + W(b, g, k); + } + } + } catch (k) { + W(b, b.return, k); + } + if (b === a) { + V = null; + break; + } + var h = b.sibling; + if (null !== h) { + h.return = b.return; + V = h; + break; + } + V = b.return; + } } - var nj = Math.ceil; - var oj = ra.ReactCurrentDispatcher; - var pj = ra.ReactCurrentOwner; - var X = 0; - var U = null; + var mk = Math.ceil; + var nk = ua.ReactCurrentDispatcher; + var ok = ua.ReactCurrentOwner; + var pk = ua.ReactCurrentBatchConfig; + var K = 0; + var R = null; var Y = null; - var W = 0; - var qj = 0; - var rj = Bf(0); - var V = 0; - var sj = null; - var tj = 0; - var Dg = 0; - var Hi = 0; - var uj = 0; - var vj = null; - var jj = 0; - var Ji = Infinity; - function wj() { - Ji = O() + 500; - } - var Z = null; - var Qi = false; - var Ri = null; - var Ti = null; - var xj = false; - var yj = null; - var zj = 90; - var Aj = []; - var Bj = []; - var Cj = null; - var Dj = 0; - var Ej = null; - var Fj = -1; - var Gj = 0; - var Hj = 0; - var Ij = null; - var Jj = false; - function Hg() { - return (X & 48) !== 0 ? O() : Fj !== -1 ? Fj : (Fj = O()); - } - function Ig(a) { - a = a.mode; - if ((a & 2) === 0) return 1; - if ((a & 4) === 0) return eg() === 99 ? 1 : 2; - Gj === 0 && (Gj = tj); - if (kg.transition !== 0) { - Hj !== 0 && (Hj = vj !== null ? vj.pendingLanes : 0); - a = Gj; - var b = 4186112 & ~Hj; - b &= -b; - b === 0 && - ((a = 4186112 & ~a), - (b = a & -a), - b === 0 && (b = 8192)); - return b; - } - a = eg(); - (X & 4) !== 0 && a === 98 - ? (a = Xc(12, Gj)) - : ((a = Sc(a)), (a = Xc(a, Gj))); + var Z = 0; + var gj = 0; + var fj = Uf(0); + var T = 0; + var qk = null; + var hh = 0; + var rk = 0; + var sk = 0; + var tk = null; + var uk = null; + var gk = 0; + var Hj = Infinity; + var vk = null; + var Pi = false; + var Qi = null; + var Si = null; + var wk = false; + var xk = null; + var yk = 0; + var zk = 0; + var Ak = null; + var Bk = -1; + var Ck = 0; + function L() { + return 0 !== (K & 6) ? B() : -1 !== Bk ? Bk : (Bk = B()); + } + function lh(a) { + if (0 === (a.mode & 1)) return 1; + if (0 !== (K & 2) && 0 !== Z) return Z & -Z; + if (null !== Kg.transition) return 0 === Ck && (Ck = yc()), Ck; + a = C; + if (0 !== a) return a; + a = window.event; + a = void 0 === a ? 16 : jd(a.type); return a; } - function Jg(a, b, c) { - if (50 < Dj) throw ((Dj = 0), (Ej = null), Error(y(185))); - a = Kj(a, b); - if (a === null) return null; - $c(a, b, c); - a === U && ((Hi |= b), V === 4 && Ii(a, W)); - var d = eg(); - b === 1 - ? (X & 8) !== 0 && (X & 48) === 0 - ? Lj(a) - : (Mj(a, c), X === 0 && (wj(), ig())) - : ((X & 4) === 0 || - (d !== 98 && d !== 99) || - (Cj === null ? (Cj = new Set([a])) : Cj.add(a)), - Mj(a, c)); - vj = a; - } - function Kj(a, b) { - a.lanes |= b; - var c = a.alternate; - c !== null && (c.lanes |= b); - c = a; - for (a = a.return; a !== null; ) - (a.childLanes |= b), - (c = a.alternate), - c !== null && (c.childLanes |= b), - (c = a), - (a = a.return); - return c.tag === 3 ? c.stateNode : null; - } - function Mj(a, b) { - for ( - var c = a.callbackNode, - d = a.suspendedLanes, - e = a.pingedLanes, - f = a.expirationTimes, - g = a.pendingLanes; - 0 < g; - - ) { - var h = 31 - Vc(g), - k = 1 << h, - l = f[h]; - if (l === -1) { - if ((k & d) === 0 || (k & e) !== 0) { - l = b; - Rc(k); - var n = F; - f[h] = 10 <= n ? l + 250 : 6 <= n ? l + 5e3 : -1; - } - } else l <= b && (a.expiredLanes |= k); - g &= ~k; - } - d = Uc(a, a === U ? W : 0); - b = F; - if (d === 0) - c !== null && - (c !== Zf && Pf(c), + function mh(a, b, c, d) { + if (50 < zk) throw ((zk = 0), (Ak = null), Error(p(185))); + Ac(a, c, d); + if (0 === (K & 2) || a !== R) + a === R && + (0 === (K & 2) && (rk |= c), 4 === T && Dk(a, Z)), + Ek(a, d), + 1 === c && + 0 === K && + 0 === (b.mode & 1) && + ((Hj = B() + 500), fg && jg()); + } + function Ek(a, b) { + var c = a.callbackNode; + wc(a, b); + var d = uc(a, a === R ? Z : 0); + if (0 === d) + null !== c && bc(c), (a.callbackNode = null), - (a.callbackPriority = 0)); - else { - if (c !== null) { - if (a.callbackPriority === b) return; - c !== Zf && Pf(c); + (a.callbackPriority = 0); + else if (((b = d & -d), a.callbackPriority !== b)) { + null != c && bc(c); + if (1 === b) + 0 === a.tag + ? ig(Fk.bind(null, a)) + : hg(Fk.bind(null, a)), + Jf(function () { + 0 === (K & 6) && jg(); + }), + (c = null); + else { + switch (Dc(d)) { + case 1: + c = fc; + break; + case 4: + c = gc; + break; + case 16: + c = hc; + break; + case 536870912: + c = jc; + break; + default: + c = hc; + } + c = Gk(c, Hk.bind(null, a)); } - b === 15 - ? ((c = Lj.bind(null, a)), - ag === null - ? ((ag = [c]), (bg = Of(Uf, jg))) - : ag.push(c), - (c = Zf)) - : b === 14 - ? (c = hg(99, Lj.bind(null, a))) - : ((c = Tc(b)), (c = hg(c, Nj.bind(null, a)))); a.callbackPriority = b; a.callbackNode = c; } } - function Nj(a) { - Fj = -1; - Hj = Gj = 0; - if ((X & 48) !== 0) throw Error(y(327)); - var b = a.callbackNode; - if (Oj() && a.callbackNode !== b) return null; - var c = Uc(a, a === U ? W : 0); - if (c === 0) return null; - var d = c; - var e = X; - X |= 16; - var f = Pj(); - if (U !== a || W !== d) wj(), Qj(a, d); - do - try { - Rj(); - break; - } catch (h) { - Sj(a, h); - } - while (1); - qg(); - oj.current = f; - X = e; - Y !== null ? (d = 0) : ((U = null), (W = 0), (d = V)); - if ((tj & Hi) !== 0) Qj(a, 0); - else if (d !== 0) { - d === 2 && - ((X |= 64), - a.hydrate && ((a.hydrate = false), qf(a.containerInfo)), - (c = Wc(a)), - c !== 0 && (d = Tj(a, c))); - if (d === 1) - throw ((b = sj), Qj(a, 0), Ii(a, c), Mj(a, O()), b); - a.finishedWork = a.current.alternate; - a.finishedLanes = c; - switch (d) { - case 0: - case 1: - throw Error(y(345)); - case 2: - Uj(a); + function Hk(a, b) { + Bk = -1; + Ck = 0; + if (0 !== (K & 6)) throw Error(p(327)); + var c = a.callbackNode; + if (Ik() && a.callbackNode !== c) return null; + var d = uc(a, a === R ? Z : 0); + if (0 === d) return null; + if (0 !== (d & 30) || 0 !== (d & a.expiredLanes) || b) + b = Jk(a, d); + else { + b = d; + var e = K; + K |= 2; + var f = Kk(); + if (R !== a || Z !== b) + (vk = null), (Hj = B() + 500), Lk(a, b); + do + try { + Mk(); break; - case 3: - Ii(a, c); - if ( - (c & 62914560) === c && - ((d = jj + 500 - O()), 10 < d) - ) { - if (Uc(a, 0) !== 0) break; - e = a.suspendedLanes; - if ((e & c) !== c) { - Hg(); - a.pingedLanes |= a.suspendedLanes & e; + } catch (h) { + Nk(a, h); + } + while (1); + Qg(); + nk.current = f; + K = e; + null !== Y ? (b = 0) : ((R = null), (Z = 0), (b = T)); + } + if (0 !== b) { + 2 === b && + ((e = xc(a)), 0 !== e && ((d = e), (b = Ok(a, e)))); + if (1 === b) + throw ((c = qk), Lk(a, 0), Dk(a, d), Ek(a, B()), c); + if (6 === b) Dk(a, d); + else { + e = a.current.alternate; + if ( + 0 === (d & 30) && + !Pk(e) && + ((b = Jk(a, d)), + 2 === b && + ((f = xc(a)), + 0 !== f && ((d = f), (b = Ok(a, f)))), + 1 === b) + ) + throw ((c = qk), Lk(a, 0), Dk(a, d), Ek(a, B()), c); + a.finishedWork = e; + a.finishedLanes = d; + switch (b) { + case 0: + case 1: + throw Error(p(345)); + case 2: + Qk(a, uk, vk); + break; + case 3: + Dk(a, d); + if ( + (d & 130023424) === d && + ((b = gk + 500 - B()), 10 < b) + ) { + if (0 !== uc(a, 0)) break; + e = a.suspendedLanes; + if ((e & d) !== d) { + L(); + a.pingedLanes |= a.suspendedLanes & e; + break; + } + a.timeoutHandle = Ff( + Qk.bind(null, a, uk, vk), + b + ); break; } - a.timeoutHandle = of(Uj.bind(null, a), d); + Qk(a, uk, vk); break; - } - Uj(a); - break; - case 4: - Ii(a, c); - if ((c & 4186112) === c) break; - d = a.eventTimes; - for (e = -1; 0 < c; ) { - var g = 31 - Vc(c); - f = 1 << g; - g = d[g]; - g > e && (e = g); - c &= ~f; - } - c = e; - c = O() - c; - c = - (120 > c - ? 120 - : 480 > c - ? 480 - : 1080 > c - ? 1080 - : 1920 > c - ? 1920 - : 3e3 > c - ? 3e3 - : 4320 > c - ? 4320 - : 1960 * nj(c / 1960)) - c; - if (10 < c) { - a.timeoutHandle = of(Uj.bind(null, a), c); + case 4: + Dk(a, d); + if ((d & 4194240) === d) break; + b = a.eventTimes; + for (e = -1; 0 < d; ) { + var g = 31 - oc(d); + f = 1 << g; + g = b[g]; + g > e && (e = g); + d &= ~f; + } + d = e; + d = B() - d; + d = + (120 > d + ? 120 + : 480 > d + ? 480 + : 1080 > d + ? 1080 + : 1920 > d + ? 1920 + : 3e3 > d + ? 3e3 + : 4320 > d + ? 4320 + : 1960 * mk(d / 1960)) - d; + if (10 < d) { + a.timeoutHandle = Ff( + Qk.bind(null, a, uk, vk), + d + ); + break; + } + Qk(a, uk, vk); break; + case 5: + Qk(a, uk, vk); + break; + default: + throw Error(p(329)); + } + } + } + Ek(a, B()); + return a.callbackNode === c ? Hk.bind(null, a) : null; + } + function Ok(a, b) { + var c = tk; + a.current.memoizedState.isDehydrated && (Lk(a, b).flags |= 256); + a = Jk(a, b); + 2 !== a && ((b = uk), (uk = c), null !== b && Gj(b)); + return a; + } + function Gj(a) { + null === uk ? (uk = a) : uk.push.apply(uk, a); + } + function Pk(a) { + for (var b = a; ; ) { + if (b.flags & 16384) { + var c = b.updateQueue; + if (null !== c && ((c = c.stores), null !== c)) + for (var d = 0; d < c.length; d++) { + var e = c[d], + f = e.getSnapshot; + e = e.value; + try { + if (!He(f(), e)) return false; + } catch (g) { + return false; + } } - Uj(a); - break; - case 5: - Uj(a); - break; - default: - throw Error(y(329)); + } + c = b.child; + if (b.subtreeFlags & 16384 && null !== c) + (c.return = b), (b = c); + else { + if (b === a) break; + for (; null === b.sibling; ) { + if (null === b.return || b.return === a) + return true; + b = b.return; + } + b.sibling.return = b.return; + b = b.sibling; } } - Mj(a, O()); - return a.callbackNode === b ? Nj.bind(null, a) : null; + return true; } - function Ii(a, b) { - b &= ~uj; - b &= ~Hi; + function Dk(a, b) { + b &= ~sk; + b &= ~rk; a.suspendedLanes |= b; a.pingedLanes &= ~b; for (a = a.expirationTimes; 0 < b; ) { - var c = 31 - Vc(b), + var c = 31 - oc(b), d = 1 << c; a[c] = -1; b &= ~d; } } - function Lj(a) { - if ((X & 48) !== 0) throw Error(y(327)); - Oj(); - if (a === U && (a.expiredLanes & W) !== 0) { - var b = W; - var c = Tj(a, b); - (tj & Hi) !== 0 && ((b = Uc(a, b)), (c = Tj(a, b))); - } else (b = Uc(a, 0)), (c = Tj(a, b)); - a.tag !== 0 && - c === 2 && - ((X |= 64), - a.hydrate && ((a.hydrate = false), qf(a.containerInfo)), - (b = Wc(a)), - b !== 0 && (c = Tj(a, b))); - if (c === 1) - throw ((c = sj), Qj(a, 0), Ii(a, b), Mj(a, O()), c); + function Fk(a) { + if (0 !== (K & 6)) throw Error(p(327)); + Ik(); + var b = uc(a, 0); + if (0 === (b & 1)) return Ek(a, B()), null; + var c = Jk(a, b); + if (0 !== a.tag && 2 === c) { + var d = xc(a); + 0 !== d && ((b = d), (c = Ok(a, d))); + } + if (1 === c) + throw ((c = qk), Lk(a, 0), Dk(a, b), Ek(a, B()), c); + if (6 === c) throw Error(p(345)); a.finishedWork = a.current.alternate; a.finishedLanes = b; - Uj(a); - Mj(a, O()); + Qk(a, uk, vk); + Ek(a, B()); return null; } - function Vj() { - if (Cj !== null) { - var a = Cj; - Cj = null; - a.forEach(function (a2) { - a2.expiredLanes |= 24 & a2.pendingLanes; - Mj(a2, O()); - }); - } - ig(); - } - function Wj(a, b) { - var c = X; - X |= 1; + function Rk(a, b) { + var c = K; + K |= 1; try { return a(b); } finally { - (X = c), X === 0 && (wj(), ig()); + (K = c), 0 === K && ((Hj = B() + 500), fg && jg()); } } - function Xj(a, b) { - var c = X; - X &= -2; - X |= 8; + function Sk(a) { + null !== xk && 0 === xk.tag && 0 === (K & 6) && Ik(); + var b = K; + K |= 1; + var c = pk.transition, + d = C; try { - return a(b); + if (((pk.transition = null), (C = 1), a)) return a(); } finally { - (X = c), X === 0 && (wj(), ig()); + (C = d), + (pk.transition = c), + (K = b), + 0 === (K & 6) && jg(); } } - function ni(a, b) { - I(rj, qj); - qj |= b; - tj |= b; - } - function Ki() { - qj = rj.current; - H(rj); + function Ij() { + gj = fj.current; + E(fj); } - function Qj(a, b) { + function Lk(a, b) { a.finishedWork = null; a.finishedLanes = 0; var c = a.timeoutHandle; - c !== -1 && ((a.timeoutHandle = -1), pf(c)); - if (Y !== null) - for (c = Y.return; c !== null; ) { + -1 !== c && ((a.timeoutHandle = -1), Gf(c)); + if (null !== Y) + for (c = Y.return; null !== c; ) { var d = c; + wg(d); switch (d.tag) { case 1: d = d.type.childContextTypes; - d !== null && d !== void 0 && Gf(); + null !== d && void 0 !== d && $f(); break; case 3: - fh(); - H(N); - H(M); - uh(); + Jh(); + E(Wf); + E(H); + Oh(); break; case 5: - hh(d); + Lh(d); break; case 4: - fh(); + Jh(); break; case 13: - H(P); + E(M); break; case 19: - H(P); + E(M); break; case 10: - rg(d); + Rg(d.type._context); break; + case 22: case 23: - case 24: - Ki(); + Ij(); } c = c.return; } - U = a; - Y = Tg(a.current, null); - W = qj = tj = b; - V = 0; - sj = null; - uj = Hi = Dg = 0; - } - function Sj(a, b) { + R = a; + Y = a = wh(a.current, null); + Z = gj = b; + T = 0; + qk = null; + sk = rk = hh = 0; + uk = tk = null; + if (null !== Wg) { + for (b = 0; b < Wg.length; b++) + if (((c = Wg[b]), (d = c.interleaved), null !== d)) { + c.interleaved = null; + var e = d.next, + f = c.pending; + if (null !== f) { + var g = f.next; + f.next = e; + d.next = g; + } + c.pending = d; + } + Wg = null; + } + return a; + } + function Nk(a, b) { do { var c = Y; try { - qg(); - vh.current = Gh; - if (yh) { - for (var d = R.memoizedState; d !== null; ) { + Qg(); + Ph.current = ai; + if (Sh) { + for (var d = N.memoizedState; null !== d; ) { var e = d.queue; - e !== null && (e.pending = null); + null !== e && (e.pending = null); d = d.next; } - yh = false; + Sh = false; } - xh = 0; - T = S = R = null; - zh = false; - pj.current = null; - if (c === null || c.return === null) { - V = 1; - sj = b; + Rh = 0; + P = O = N = null; + Th = false; + Uh = 0; + ok.current = null; + if (null === c || null === c.return) { + T = 1; + qk = b; Y = null; break; } @@ -7778,1065 +8757,807 @@ g = c.return, h = c, k = b; - b = W; - h.flags |= 2048; - h.firstEffect = h.lastEffect = null; + b = Z; + h.flags |= 32768; if ( - k !== null && - typeof k === 'object' && - typeof k.then === 'function' + null !== k && + 'object' === typeof k && + 'function' === typeof k.then ) { - var l = k; - if ((h.mode & 2) === 0) { - var n = h.alternate; - n - ? ((h.updateQueue = n.updateQueue), - (h.memoizedState = n.memoizedState), - (h.lanes = n.lanes)) - : ((h.updateQueue = null), - (h.memoizedState = null)); + var l = k, + m = h, + q = m.tag; + if ( + 0 === (m.mode & 1) && + (0 === q || 11 === q || 15 === q) + ) { + var r = m.alternate; + r + ? ((m.updateQueue = r.updateQueue), + (m.memoizedState = r.memoizedState), + (m.lanes = r.lanes)) + : ((m.updateQueue = null), + (m.memoizedState = null)); } - var A = (P.current & 1) !== 0, - p = g; - do { - var C; - if ((C = p.tag === 13)) { - var x = p.memoizedState; - if (x !== null) - C = - x.dehydrated !== null - ? true - : false; - else { - var w = p.memoizedProps; - C = - w.fallback === void 0 - ? false - : w.unstable_avoidThisFallback !== - true - ? true - : A - ? false - : true; - } - } - if (C) { - var z = p.updateQueue; - if (z === null) { - var u = new Set(); - u.add(l); - p.updateQueue = u; - } else z.add(l); - if ((p.mode & 2) === 0) { - p.flags |= 64; - h.flags |= 16384; - h.flags &= -2981; - if (h.tag === 1) - if (h.alternate === null) - h.tag = 17; - else { - var t = zg(-1, 1); - t.tag = 2; - Ag(h, t); - } - h.lanes |= 1; - break a; - } - k = void 0; - h = b; - var q = f.pingCache; - q === null - ? ((q = f.pingCache = new Oi()), - (k = new Set()), - q.set(l, k)) - : ((k = q.get(l)), - k === void 0 && - ((k = new Set()), - q.set(l, k))); - if (!k.has(h)) { - k.add(h); - var v = Yj.bind(null, f, l, h); - l.then(v, v); - } - p.flags |= 4096; - p.lanes = b; + var y = Vi(g); + if (null !== y) { + y.flags &= -257; + Wi(y, g, h, f, b); + y.mode & 1 && Ti(f, l, b); + b = y; + k = l; + var n = b.updateQueue; + if (null === n) { + var t = /* @__PURE__ */ new Set(); + t.add(k); + b.updateQueue = t; + } else n.add(k); + break a; + } else { + if (0 === (b & 1)) { + Ti(f, l, b); + uj(); break a; } - p = p.return; - } while (p !== null); - k = Error( - (Ra(h.type) || 'A React component') + - ' suspended while rendering, but no fallback UI was specified.\n\nAdd a component higher in the tree to provide a loading indicator or placeholder to display.' - ); + k = Error(p(426)); + } + } else if (I && h.mode & 1) { + var J = Vi(g); + if (null !== J) { + 0 === (J.flags & 65536) && (J.flags |= 256); + Wi(J, g, h, f, b); + Jg(Ki(k, h)); + break a; + } } - V !== 5 && (V = 2); - k = Mi(k, h); - p = g; + f = k = Ki(k, h); + 4 !== T && (T = 2); + null === tk ? (tk = [f]) : tk.push(f); + f = g; do { - switch (p.tag) { + switch (f.tag) { case 3: - f = k; - p.flags |= 4096; + f.flags |= 65536; b &= -b; - p.lanes |= b; - var J = Pi(p, f, b); - Bg(p, J); + f.lanes |= b; + var x = Oi(f, k, b); + fh(f, x); break a; case 1: - f = k; - var K = p.type, - Q = p.stateNode; + h = k; + var w = f.type, + u = f.stateNode; if ( - (p.flags & 64) === 0 && - (typeof K.getDerivedStateFromError === - 'function' || - (Q !== null && - typeof Q.componentDidCatch === - 'function' && - (Ti === null || - !Ti.has(Q)))) + 0 === (f.flags & 128) && + ('function' === + typeof w.getDerivedStateFromError || + (null !== u && + 'function' === + typeof u.componentDidCatch && + (null === Si || + !Si.has(u)))) ) { - p.flags |= 4096; + f.flags |= 65536; b &= -b; - p.lanes |= b; - var L = Si(p, f, b); - Bg(p, L); + f.lanes |= b; + var F = Ri(f, h, b); + fh(f, F); break a; } } - p = p.return; - } while (p !== null); + f = f.return; + } while (null !== f); } - Zj(c); - } catch (va) { - b = va; - Y === c && c !== null && (Y = c = c.return); + Tk(c); + } catch (na) { + b = na; + Y === c && null !== c && (Y = c = c.return); continue; } break; } while (1); } - function Pj() { - var a = oj.current; - oj.current = Gh; - return a === null ? Gh : a; - } - function Tj(a, b) { - var c = X; - X |= 16; - var d = Pj(); - (U === a && W === b) || Qj(a, b); + function Kk() { + var a = nk.current; + nk.current = ai; + return null === a ? ai : a; + } + function uj() { + if (0 === T || 3 === T || 2 === T) T = 4; + null === R || + (0 === (hh & 268435455) && 0 === (rk & 268435455)) || + Dk(R, Z); + } + function Jk(a, b) { + var c = K; + K |= 2; + var d = Kk(); + if (R !== a || Z !== b) (vk = null), Lk(a, b); do try { - ak(); + Uk(); break; } catch (e) { - Sj(a, e); + Nk(a, e); } while (1); - qg(); - X = c; - oj.current = d; - if (Y !== null) throw Error(y(261)); - U = null; - W = 0; - return V; + Qg(); + K = c; + nk.current = d; + if (null !== Y) throw Error(p(261)); + R = null; + Z = 0; + return T; } - function ak() { - for (; Y !== null; ) bk(Y); + function Uk() { + for (; null !== Y; ) Vk(Y); } - function Rj() { - for (; Y !== null && !Qf(); ) bk(Y); + function Mk() { + for (; null !== Y && !cc(); ) Vk(Y); } - function bk(a) { - var b = ck(a.alternate, a, qj); + function Vk(a) { + var b = Wk(a.alternate, a, gj); a.memoizedProps = a.pendingProps; - b === null ? Zj(a) : (Y = b); - pj.current = null; + null === b ? Tk(a) : (Y = b); + ok.current = null; } - function Zj(a) { + function Tk(a) { var b = a; do { var c = b.alternate; a = b.return; - if ((b.flags & 2048) === 0) { - c = Gi(c, b, qj); - if (c !== null) { + if (0 === (b.flags & 32768)) { + if (((c = Fj(c, b, gj)), null !== c)) { Y = c; return; } - c = b; - if ( - (c.tag !== 24 && c.tag !== 23) || - c.memoizedState === null || - (qj & 1073741824) !== 0 || - (c.mode & 4) === 0 - ) { - for (var d = 0, e = c.child; e !== null; ) - (d |= e.lanes | e.childLanes), (e = e.sibling); - c.childLanes = d; - } - a !== null && - (a.flags & 2048) === 0 && - (a.firstEffect === null && - (a.firstEffect = b.firstEffect), - b.lastEffect !== null && - (a.lastEffect !== null && - (a.lastEffect.nextEffect = b.firstEffect), - (a.lastEffect = b.lastEffect)), - 1 < b.flags && - (a.lastEffect !== null - ? (a.lastEffect.nextEffect = b) - : (a.firstEffect = b), - (a.lastEffect = b))); } else { - c = Li(b); - if (c !== null) { - c.flags &= 2047; + c = Jj(c, b); + if (null !== c) { + c.flags &= 32767; Y = c; return; } - a !== null && - ((a.firstEffect = a.lastEffect = null), - (a.flags |= 2048)); + if (null !== a) + (a.flags |= 32768), + (a.subtreeFlags = 0), + (a.deletions = null); + else { + T = 6; + Y = null; + return; + } } b = b.sibling; - if (b !== null) { + if (null !== b) { Y = b; return; } Y = b = a; - } while (b !== null); - V === 0 && (V = 5); - } - function Uj(a) { - var b = eg(); - gg(99, dk.bind(null, a, b)); - return null; + } while (null !== b); + 0 === T && (T = 5); } - function dk(a, b) { - do Oj(); - while (yj !== null); - if ((X & 48) !== 0) throw Error(y(327)); - var c = a.finishedWork; - if (c === null) return null; - a.finishedWork = null; - a.finishedLanes = 0; - if (c === a.current) throw Error(y(177)); - a.callbackNode = null; - var d = c.lanes | c.childLanes, - e = d, - f = a.pendingLanes & ~e; - a.pendingLanes = e; - a.suspendedLanes = 0; - a.pingedLanes = 0; - a.expiredLanes &= e; - a.mutableReadLanes &= e; - a.entangledLanes &= e; - e = a.entanglements; - for (var g = a.eventTimes, h = a.expirationTimes; 0 < f; ) { - var k = 31 - Vc(f), - l = 1 << k; - e[k] = 0; - g[k] = -1; - h[k] = -1; - f &= ~l; - } - Cj !== null && (d & 24) === 0 && Cj.has(a) && Cj.delete(a); - a === U && ((Y = U = null), (W = 0)); - 1 < c.flags - ? c.lastEffect !== null - ? ((c.lastEffect.nextEffect = c), (d = c.firstEffect)) - : (d = c) - : (d = c.firstEffect); - if (d !== null) { - e = X; - X |= 32; - pj.current = null; - kf = fd; - g = Ne(); - if (Oe(g)) { - if ('selectionStart' in g) - h = { - start: g.selectionStart, - end: g.selectionEnd - }; - else - a: if ( - ((h = - ((h = g.ownerDocument) && h.defaultView) || - window), - (l = h.getSelection && h.getSelection()) && - l.rangeCount !== 0) - ) { - h = l.anchorNode; - f = l.anchorOffset; - k = l.focusNode; - l = l.focusOffset; - try { - h.nodeType, k.nodeType; - } catch (va) { - h = null; - break a; - } - var n = 0, - A = -1, - p = -1, - C = 0, - x = 0, - w = g, - z = null; - b: for (;;) { - for (var u; ; ) { - w !== h || - (f !== 0 && w.nodeType !== 3) || - (A = n + f); - w !== k || - (l !== 0 && w.nodeType !== 3) || - (p = n + l); - w.nodeType === 3 && - (n += w.nodeValue.length); - if ((u = w.firstChild) === null) break; - z = w; - w = u; - } - for (;;) { - if (w === g) break b; - z === h && ++C === f && (A = n); - z === k && ++x === l && (p = n); - if ((u = w.nextSibling) !== null) break; - w = z; - z = w.parentNode; - } - w = u; - } - h = - A === -1 || p === -1 - ? null - : { start: A, end: p }; - } else h = null; - h = h || { start: 0, end: 0 }; - } else h = null; - lf = { focusedElem: g, selectionRange: h }; - fd = false; - Ij = null; - Jj = false; - Z = d; - do - try { - ek(); - } catch (va) { - if (Z === null) throw Error(y(330)); - Wi(Z, va); - Z = Z.nextEffect; - } - while (Z !== null); - Ij = null; - Z = d; - do - try { - for (g = a; Z !== null; ) { - var t = Z.flags; - t & 16 && pb(Z.stateNode, ''); - if (t & 128) { - var q = Z.alternate; - if (q !== null) { - var v = q.ref; - v !== null && - (typeof v === 'function' - ? v(null) - : (v.current = null)); - } - } - switch (t & 1038) { - case 2: - fj(Z); - Z.flags &= -3; - break; - case 6: - fj(Z); - Z.flags &= -3; - ij(Z.alternate, Z); - break; - case 1024: - Z.flags &= -1025; - break; - case 1028: - Z.flags &= -1025; - ij(Z.alternate, Z); - break; - case 4: - ij(Z.alternate, Z); - break; - case 8: - h = Z; - cj(g, h); - var J = h.alternate; - dj(h); - J !== null && dj(J); - } - Z = Z.nextEffect; - } - } catch (va) { - if (Z === null) throw Error(y(330)); - Wi(Z, va); - Z = Z.nextEffect; - } - while (Z !== null); - v = lf; - q = Ne(); - t = v.focusedElem; - g = v.selectionRange; - if ( - q !== t && - t && - t.ownerDocument && - Me(t.ownerDocument.documentElement, t) - ) { - g !== null && - Oe(t) && - ((q = g.start), - (v = g.end), - v === void 0 && (v = q), - 'selectionStart' in t - ? ((t.selectionStart = q), - (t.selectionEnd = Math.min( - v, - t.value.length - ))) - : ((v = - ((q = t.ownerDocument || document) && - q.defaultView) || - window), - v.getSelection && - ((v = v.getSelection()), - (h = t.textContent.length), - (J = Math.min(g.start, h)), - (g = - g.end === void 0 - ? J - : Math.min(g.end, h)), - !v.extend && - J > g && - ((h = g), (g = J), (J = h)), - (h = Le(t, J)), - (f = Le(t, g)), - h && - f && - (v.rangeCount !== 1 || - v.anchorNode !== h.node || - v.anchorOffset !== h.offset || - v.focusNode !== f.node || - v.focusOffset !== f.offset) && - ((q = q.createRange()), - q.setStart(h.node, h.offset), - v.removeAllRanges(), - J > g - ? (v.addRange(q), - v.extend(f.node, f.offset)) - : (q.setEnd(f.node, f.offset), - v.addRange(q)))))); - q = []; - for (v = t; (v = v.parentNode); ) - v.nodeType === 1 && - q.push({ - element: v, - left: v.scrollLeft, - top: v.scrollTop - }); - typeof t.focus === 'function' && t.focus(); - for (t = 0; t < q.length; t++) - (v = q[t]), - (v.element.scrollLeft = v.left), - (v.element.scrollTop = v.top); - } - fd = !!kf; - lf = kf = null; - a.current = c; - Z = d; - do - try { - for (t = a; Z !== null; ) { - var K = Z.flags; - K & 36 && Yi(t, Z.alternate, Z); - if (K & 128) { - q = void 0; - var Q = Z.ref; - if (Q !== null) { - var L = Z.stateNode; - switch (Z.tag) { - case 5: - q = L; - break; - default: - q = L; - } - typeof Q === 'function' - ? Q(q) - : (Q.current = q); - } - } - Z = Z.nextEffect; - } - } catch (va) { - if (Z === null) throw Error(y(330)); - Wi(Z, va); - Z = Z.nextEffect; - } - while (Z !== null); - Z = null; - $f(); - X = e; - } else a.current = c; - if (xj) (xj = false), (yj = a), (zj = b); - else - for (Z = d; Z !== null; ) - (b = Z.nextEffect), - (Z.nextEffect = null), - Z.flags & 8 && - ((K = Z), - (K.sibling = null), - (K.stateNode = null)), - (Z = b); - d = a.pendingLanes; - d === 0 && (Ti = null); - d === 1 ? (a === Ej ? Dj++ : ((Dj = 0), (Ej = a))) : (Dj = 0); - c = c.stateNode; - if (Mf && typeof Mf.onCommitFiberRoot === 'function') - try { - Mf.onCommitFiberRoot( - Lf, - c, - void 0, - (c.current.flags & 64) === 64 - ); - } catch (va) {} - Mj(a, O()); - if (Qi) throw ((Qi = false), (a = Ri), (Ri = null), a); - if ((X & 8) !== 0) return null; - ig(); - return null; - } - function ek() { - for (; Z !== null; ) { - var a = Z.alternate; - Jj || - Ij === null || - ((Z.flags & 8) !== 0 - ? dc(Z, Ij) && (Jj = true) - : Z.tag === 13 && - mj(a, Z) && - dc(Z, Ij) && - (Jj = true)); - var b = Z.flags; - (b & 256) !== 0 && Xi(a, Z); - (b & 512) === 0 || - xj || - ((xj = true), - hg(97, function () { - Oj(); - return null; - })); - Z = Z.nextEffect; - } - } - function Oj() { - if (zj !== 90) { - var a = 97 < zj ? 97 : zj; - zj = 90; - return gg(a, fk); - } - return false; - } - function $i(a, b) { - Aj.push(b, a); - xj || - ((xj = true), - hg(97, function () { - Oj(); - return null; - })); + function Qk(a, b, c) { + var d = C, + e = pk.transition; + try { + (pk.transition = null), (C = 1), Xk(a, b, c, d); + } finally { + (pk.transition = e), (C = d); + } + return null; } - function Zi(a, b) { - Bj.push(b, a); - xj || - ((xj = true), - hg(97, function () { - Oj(); + function Xk(a, b, c, d) { + do Ik(); + while (null !== xk); + if (0 !== (K & 6)) throw Error(p(327)); + c = a.finishedWork; + var e = a.finishedLanes; + if (null === c) return null; + a.finishedWork = null; + a.finishedLanes = 0; + if (c === a.current) throw Error(p(177)); + a.callbackNode = null; + a.callbackPriority = 0; + var f = c.lanes | c.childLanes; + Bc(a, f); + a === R && ((Y = R = null), (Z = 0)); + (0 === (c.subtreeFlags & 2064) && 0 === (c.flags & 2064)) || + wk || + ((wk = true), + Gk(hc, function () { + Ik(); return null; })); + f = 0 !== (c.flags & 15990); + if (0 !== (c.subtreeFlags & 15990) || f) { + f = pk.transition; + pk.transition = null; + var g = C; + C = 1; + var h = K; + K |= 4; + ok.current = null; + Pj(a, c); + ek(c, a); + Oe(Df); + dd = !!Cf; + Df = Cf = null; + a.current = c; + ik(c, a, e); + dc(); + K = h; + C = g; + pk.transition = f; + } else a.current = c; + wk && ((wk = false), (xk = a), (yk = e)); + f = a.pendingLanes; + 0 === f && (Si = null); + mc(c.stateNode, d); + Ek(a, B()); + if (null !== b) + for (d = a.onRecoverableError, c = 0; c < b.length; c++) + (e = b[c]), + d(e.value, { + componentStack: e.stack, + digest: e.digest + }); + if (Pi) throw ((Pi = false), (a = Qi), (Qi = null), a); + 0 !== (yk & 1) && 0 !== a.tag && Ik(); + f = a.pendingLanes; + 0 !== (f & 1) + ? a === Ak + ? zk++ + : ((zk = 0), (Ak = a)) + : (zk = 0); + jg(); + return null; } - function fk() { - if (yj === null) return false; - var a = yj; - yj = null; - if ((X & 48) !== 0) throw Error(y(331)); - var b = X; - X |= 32; - var c = Bj; - Bj = []; - for (var d = 0; d < c.length; d += 2) { - var e = c[d], - f = c[d + 1], - g = e.destroy; - e.destroy = void 0; - if (typeof g === 'function') - try { - g(); - } catch (k) { - if (f === null) throw Error(y(330)); - Wi(f, k); - } - } - c = Aj; - Aj = []; - for (d = 0; d < c.length; d += 2) { - e = c[d]; - f = c[d + 1]; + function Ik() { + if (null !== xk) { + var a = Dc(yk), + b = pk.transition, + c = C; try { - var h = e.create; - e.destroy = h(); - } catch (k) { - if (f === null) throw Error(y(330)); - Wi(f, k); + pk.transition = null; + C = 16 > a ? 16 : a; + if (null === xk) var d = false; + else { + a = xk; + xk = null; + yk = 0; + if (0 !== (K & 6)) throw Error(p(331)); + var e = K; + K |= 4; + for (V = a.current; null !== V; ) { + var f = V, + g = f.child; + if (0 !== (V.flags & 16)) { + var h = f.deletions; + if (null !== h) { + for (var k = 0; k < h.length; k++) { + var l = h[k]; + for (V = l; null !== V; ) { + var m = V; + switch (m.tag) { + case 0: + case 11: + case 15: + Qj(8, m, f); + } + var q = m.child; + if (null !== q) + (q.return = m), (V = q); + else + for (; null !== V; ) { + m = V; + var r = m.sibling, + y = m.return; + Tj(m); + if (m === l) { + V = null; + break; + } + if (null !== r) { + r.return = y; + V = r; + break; + } + V = y; + } + } + } + var n = f.alternate; + if (null !== n) { + var t = n.child; + if (null !== t) { + n.child = null; + do { + var J = t.sibling; + t.sibling = null; + t = J; + } while (null !== t); + } + } + V = f; + } + } + if (0 !== (f.subtreeFlags & 2064) && null !== g) + (g.return = f), (V = g); + else + b: for (; null !== V; ) { + f = V; + if (0 !== (f.flags & 2048)) + switch (f.tag) { + case 0: + case 11: + case 15: + Qj(9, f, f.return); + } + var x = f.sibling; + if (null !== x) { + x.return = f.return; + V = x; + break b; + } + V = f.return; + } + } + var w = a.current; + for (V = w; null !== V; ) { + g = V; + var u = g.child; + if (0 !== (g.subtreeFlags & 2064) && null !== u) + (u.return = g), (V = u); + else + b: for (g = w; null !== V; ) { + h = V; + if (0 !== (h.flags & 2048)) + try { + switch (h.tag) { + case 0: + case 11: + case 15: + Rj(9, h); + } + } catch (na) { + W(h, h.return, na); + } + if (h === g) { + V = null; + break b; + } + var F = h.sibling; + if (null !== F) { + F.return = h.return; + V = F; + break b; + } + V = h.return; + } + } + K = e; + jg(); + if ( + lc && + 'function' === typeof lc.onPostCommitFiberRoot + ) + try { + lc.onPostCommitFiberRoot(kc, a); + } catch (na) {} + d = true; + } + return d; + } finally { + (C = c), (pk.transition = b); } } - for (h = a.current.firstEffect; h !== null; ) - (a = h.nextEffect), - (h.nextEffect = null), - h.flags & 8 && - ((h.sibling = null), (h.stateNode = null)), - (h = a); - X = b; - ig(); - return true; + return false; } - function gk(a, b, c) { - b = Mi(c, b); - b = Pi(a, b, 1); - Ag(a, b); - b = Hg(); - a = Kj(a, 1); - a !== null && ($c(a, 1, b), Mj(a, b)); + function Yk(a, b, c) { + b = Ki(c, b); + b = Oi(a, b, 1); + a = dh(a, b, 1); + b = L(); + null !== a && (Ac(a, 1, b), Ek(a, b)); } - function Wi(a, b) { - if (a.tag === 3) gk(a, a, b); + function W(a, b, c) { + if (3 === a.tag) Yk(a, a, c); else - for (var c = a.return; c !== null; ) { - if (c.tag === 3) { - gk(c, a, b); + for (; null !== b; ) { + if (3 === b.tag) { + Yk(b, a, c); break; - } else if (c.tag === 1) { - var d = c.stateNode; + } else if (1 === b.tag) { + var d = b.stateNode; if ( - typeof c.type.getDerivedStateFromError === - 'function' || - (typeof d.componentDidCatch === 'function' && - (Ti === null || !Ti.has(d))) + 'function' === + typeof b.type.getDerivedStateFromError || + ('function' === typeof d.componentDidCatch && + (null === Si || !Si.has(d))) ) { - a = Mi(b, a); - var e = Si(c, a, 1); - Ag(c, e); - e = Hg(); - c = Kj(c, 1); - if (c !== null) $c(c, 1, e), Mj(c, e); - else if ( - typeof d.componentDidCatch === 'function' && - (Ti === null || !Ti.has(d)) - ) - try { - d.componentDidCatch(b, a); - } catch (f) {} + a = Ki(c, a); + a = Ri(b, a, 1); + b = dh(b, a, 1); + a = L(); + null !== b && (Ac(b, 1, a), Ek(b, a)); break; } } - c = c.return; + b = b.return; } } - function Yj(a, b, c) { + function Ui(a, b, c) { var d = a.pingCache; - d !== null && d.delete(b); - b = Hg(); + null !== d && d.delete(b); + b = L(); a.pingedLanes |= a.suspendedLanes & c; - U === a && - (W & c) === c && - (V === 4 || - (V === 3 && (W & 62914560) === W && 500 > O() - jj) - ? Qj(a, 0) - : (uj |= c)); - Mj(a, b); - } - function lj(a, b) { - var c = a.stateNode; - c !== null && c.delete(b); - b = 0; - b === 0 && - ((b = a.mode), - (b & 2) === 0 + R === a && + (Z & c) === c && + (4 === T || + (3 === T && (Z & 130023424) === Z && 500 > B() - gk) + ? Lk(a, 0) + : (sk |= c)); + Ek(a, b); + } + function Zk(a, b) { + 0 === b && + (0 === (a.mode & 1) ? (b = 1) - : (b & 4) === 0 - ? (b = eg() === 99 ? 1 : 2) - : (Gj === 0 && (Gj = tj), - (b = Yc(62914560 & ~Gj)), - b === 0 && (b = 4194304))); - c = Hg(); - a = Kj(a, b); - a !== null && ($c(a, b, c), Mj(a, c)); - } - var ck; - ck = function (a, b, c) { - var d = b.lanes; - if (a !== null) - if (a.memoizedProps !== b.pendingProps || N.current) - ug = true; - else if ((c & d) !== 0) - ug = (a.flags & 16384) !== 0 ? true : false; + : ((b = sc), + (sc <<= 1), + 0 === (sc & 130023424) && (sc = 4194304))); + var c = L(); + a = Zg(a, b); + null !== a && (Ac(a, b, c), Ek(a, c)); + } + function vj(a) { + var b = a.memoizedState, + c = 0; + null !== b && (c = b.retryLane); + Zk(a, c); + } + function ck(a, b) { + var c = 0; + switch (a.tag) { + case 13: + var d = a.stateNode; + var e = a.memoizedState; + null !== e && (c = e.retryLane); + break; + case 19: + d = a.stateNode; + break; + default: + throw Error(p(314)); + } + null !== d && d.delete(b); + Zk(a, c); + } + var Wk; + Wk = function (a, b, c) { + if (null !== a) + if (a.memoizedProps !== b.pendingProps || Wf.current) + Ug = true; else { - ug = false; - switch (b.tag) { - case 3: - ri(b); - sh(); - break; - case 5: - gh(b); - break; - case 1: - Ff(b.type) && Jf(b); - break; - case 4: - eh(b, b.stateNode.containerInfo); - break; - case 10: - d = b.memoizedProps.value; - var e = b.type._context; - I(mg, e._currentValue); - e._currentValue = d; - break; - case 13: - if (b.memoizedState !== null) { - if ((c & b.child.childLanes) !== 0) - return ti(a, b, c); - I(P, P.current & 1); - b = hi(a, b, c); - return b !== null ? b.sibling : null; - } - I(P, P.current & 1); - break; - case 19: - d = (c & b.childLanes) !== 0; - if ((a.flags & 64) !== 0) { - if (d) return Ai(a, b, c); - b.flags |= 64; - } - e = b.memoizedState; - e !== null && - ((e.rendering = null), - (e.tail = null), - (e.lastEffect = null)); - I(P, P.current); - if (d) break; - else return null; - case 23: - case 24: - return (b.lanes = 0), mi(a, b, c); - } - return hi(a, b, c); + if (0 === (a.lanes & c) && 0 === (b.flags & 128)) + return (Ug = false), zj(a, b, c); + Ug = 0 !== (a.flags & 131072) ? true : false; } - else ug = false; + else + (Ug = false), + I && 0 !== (b.flags & 1048576) && ug(b, ng, b.index); b.lanes = 0; switch (b.tag) { case 2: - d = b.type; - a !== null && - ((a.alternate = null), - (b.alternate = null), - (b.flags |= 2)); + var d = b.type; + jj(a, b); a = b.pendingProps; - e = Ef(b, M.current); - tg(b, c); - e = Ch(null, b, d, a, e, c); + var e = Yf(b, H.current); + Tg(b, c); + e = Xh(null, b, d, a, e, c); + var f = bi(); b.flags |= 1; - if ( - typeof e === 'object' && - e !== null && - typeof e.render === 'function' && - e.$$typeof === void 0 - ) { - b.tag = 1; - b.memoizedState = null; - b.updateQueue = null; - if (Ff(d)) { - var f = true; - Jf(b); - } else f = false; - b.memoizedState = - e.state !== null && e.state !== void 0 - ? e.state - : null; - xg(b); - var g = d.getDerivedStateFromProps; - typeof g === 'function' && Gg(b, d, g, a); - e.updater = Kg; - b.stateNode = e; - e._reactInternals = b; - Og(b, d, a, c); - b = qi(null, b, d, true, f, c); - } else (b.tag = 0), fi(null, b, e, c), (b = b.child); + 'object' === typeof e && + null !== e && + 'function' === typeof e.render && + void 0 === e.$$typeof + ? ((b.tag = 1), + (b.memoizedState = null), + (b.updateQueue = null), + Zf(d) ? ((f = true), cg(b)) : (f = false), + (b.memoizedState = + null !== e.state && void 0 !== e.state + ? e.state + : null), + ah(b), + (e.updater = nh), + (b.stateNode = e), + (e._reactInternals = b), + rh(b, d, a, c), + (b = kj(null, b, d, true, f, c))) + : ((b.tag = 0), + I && f && vg(b), + Yi(null, b, e, c), + (b = b.child)); return b; case 16: - e = b.elementType; + d = b.elementType; a: { - a !== null && - ((a.alternate = null), - (b.alternate = null), - (b.flags |= 2)); + jj(a, b); a = b.pendingProps; - f = e._init; - e = f(e._payload); - b.type = e; - f = b.tag = hk(e); - a = lg(e, a); - switch (f) { + e = d._init; + d = e(d._payload); + b.type = d; + e = b.tag = $k(d); + a = Lg(d, a); + switch (e) { case 0: - b = li(null, b, e, a, c); + b = dj(null, b, d, a, c); break a; case 1: - b = pi(null, b, e, a, c); + b = ij(null, b, d, a, c); break a; case 11: - b = gi(null, b, e, a, c); + b = Zi(null, b, d, a, c); break a; case 14: - b = ii(null, b, e, lg(e.type, a), d, c); + b = aj(null, b, d, Lg(d.type, a), c); break a; } - throw Error(y(306, e, '')); + throw Error(p(306, d, '')); } return b; case 0: return ( (d = b.type), (e = b.pendingProps), - (e = b.elementType === d ? e : lg(d, e)), - li(a, b, d, e, c) + (e = b.elementType === d ? e : Lg(d, e)), + dj(a, b, d, e, c) ); case 1: return ( (d = b.type), (e = b.pendingProps), - (e = b.elementType === d ? e : lg(d, e)), - pi(a, b, d, e, c) + (e = b.elementType === d ? e : Lg(d, e)), + ij(a, b, d, e, c) ); case 3: - ri(b); - d = b.updateQueue; - if (a === null || d === null) throw Error(y(282)); - d = b.pendingProps; - e = b.memoizedState; - e = e !== null ? e.element : null; - yg(a, b); - Cg(b, d, null, c); - d = b.memoizedState.element; - if (d === e) sh(), (b = hi(a, b, c)); - else { - e = b.stateNode; - if ((f = e.hydrate)) - (kh = rf(b.stateNode.containerInfo.firstChild)), - (jh = b), - (f = lh = true); - if (f) { - a = e.mutableSourceEagerHydrationData; - if (a != null) - for (e = 0; e < a.length; e += 2) - (f = a[e]), - (f._workInProgressVersionPrimary = - a[e + 1]), - th.push(f); - c = Zg(b, null, d, c); - for (b.child = c; c; ) - (c.flags = (c.flags & -3) | 1024), - (c = c.sibling); - } else fi(a, b, d, c), sh(); + a: { + lj(b); + if (null === a) throw Error(p(387)); + d = b.pendingProps; + f = b.memoizedState; + e = f.element; + bh(a, b); + gh(b, d, null, c); + var g = b.memoizedState; + d = g.element; + if (f.isDehydrated) + if ( + ((f = { + element: d, + isDehydrated: false, + cache: g.cache, + pendingSuspenseBoundaries: + g.pendingSuspenseBoundaries, + transitions: g.transitions + }), + (b.updateQueue.baseState = f), + (b.memoizedState = f), + b.flags & 256) + ) { + e = Ki(Error(p(423)), b); + b = mj(a, b, d, c, e); + break a; + } else if (d !== e) { + e = Ki(Error(p(424)), b); + b = mj(a, b, d, c, e); + break a; + } else + for ( + yg = Lf( + b.stateNode.containerInfo.firstChild + ), + xg = b, + I = true, + zg = null, + c = Ch(b, null, d, c), + b.child = c; + c; + + ) + (c.flags = (c.flags & -3) | 4096), + (c = c.sibling); + else { + Ig(); + if (d === e) { + b = $i(a, b, c); + break a; + } + Yi(a, b, d, c); + } b = b.child; } return b; case 5: return ( - gh(b), - a === null && ph(b), + Kh(b), + null === a && Eg(b), (d = b.type), (e = b.pendingProps), - (f = a !== null ? a.memoizedProps : null), + (f = null !== a ? a.memoizedProps : null), (g = e.children), - nf(d, e) + Ef(d, e) ? (g = null) - : f !== null && nf(d, f) && (b.flags |= 16), - oi(a, b), - fi(a, b, g, c), + : null !== f && Ef(d, f) && (b.flags |= 32), + hj(a, b), + Yi(a, b, g, c), b.child ); case 6: - return a === null && ph(b), null; + return null === a && Eg(b), null; case 13: - return ti(a, b, c); + return pj(a, b, c); case 4: return ( - eh(b, b.stateNode.containerInfo), + Ih(b, b.stateNode.containerInfo), (d = b.pendingProps), - a === null - ? (b.child = Yg(b, null, d, c)) - : fi(a, b, d, c), + null === a + ? (b.child = Bh(b, null, d, c)) + : Yi(a, b, d, c), b.child ); case 11: return ( (d = b.type), (e = b.pendingProps), - (e = b.elementType === d ? e : lg(d, e)), - gi(a, b, d, e, c) + (e = b.elementType === d ? e : Lg(d, e)), + Zi(a, b, d, e, c) ); case 7: - return fi(a, b, b.pendingProps, c), b.child; + return Yi(a, b, b.pendingProps, c), b.child; case 8: - return fi(a, b, b.pendingProps.children, c), b.child; + return Yi(a, b, b.pendingProps.children, c), b.child; case 12: - return fi(a, b, b.pendingProps.children, c), b.child; + return Yi(a, b, b.pendingProps.children, c), b.child; case 10: a: { d = b.type._context; e = b.pendingProps; - g = b.memoizedProps; - f = e.value; - var h = b.type._context; - I(mg, h._currentValue); - h._currentValue = f; - if (g !== null) - if ( - ((h = g.value), - (f = He(h, f) - ? 0 - : (typeof d._calculateChangedBits === - 'function' - ? d._calculateChangedBits(h, f) - : 1073741823) | 0), - f === 0) - ) { + f = b.memoizedProps; + g = e.value; + G(Mg, d._currentValue); + d._currentValue = g; + if (null !== f) + if (He(f.value, g)) { if ( - g.children === e.children && - !N.current + f.children === e.children && + !Wf.current ) { - b = hi(a, b, c); + b = $i(a, b, c); break a; } } else for ( - h = b.child, - h !== null && (h.return = b); - h !== null; + f = b.child, + null !== f && (f.return = b); + null !== f; ) { - var k = h.dependencies; - if (k !== null) { - g = h.child; + var h = f.dependencies; + if (null !== h) { + g = f.child; for ( - var l = k.firstContext; - l !== null; + var k = h.firstContext; + null !== k; ) { - if ( - l.context === d && - (l.observedBits & f) !== 0 - ) { - h.tag === 1 && - ((l = zg(-1, c & -c)), - (l.tag = 2), - Ag(h, l)); + if (k.context === d) { + if (1 === f.tag) { + k = ch(-1, c & -c); + k.tag = 2; + var l = f.updateQueue; + if (null !== l) { + l = l.shared; + var m = l.pending; + null === m + ? (k.next = k) + : ((k.next = + m.next), + (m.next = k)); + l.pending = k; + } + } + f.lanes |= c; + k = f.alternate; + null !== k && + (k.lanes |= c); + Sg(f.return, c, b); h.lanes |= c; - l = h.alternate; - l !== null && - (l.lanes |= c); - sg(h.return, c); - k.lanes |= c; break; } - l = l.next; + k = k.next; } - } else + } else if (10 === f.tag) g = - h.tag === 10 - ? h.type === b.type - ? null - : h.child - : h.child; - if (g !== null) g.return = h; + f.type === b.type + ? null + : f.child; + else if (18 === f.tag) { + g = f.return; + if (null === g) throw Error(p(341)); + g.lanes |= c; + h = g.alternate; + null !== h && (h.lanes |= c); + Sg(g, c, b); + g = f.sibling; + } else g = f.child; + if (null !== g) g.return = f; else - for (g = h; g !== null; ) { + for (g = f; null !== g; ) { if (g === b) { g = null; break; } - h = g.sibling; - if (h !== null) { - h.return = g.return; - g = h; + f = g.sibling; + if (null !== f) { + f.return = g.return; + g = f; break; } g = g.return; } - h = g; + f = g; } - fi(a, b, e.children, c); + Yi(a, b, e.children, c); b = b.child; } return b; case 9: return ( (e = b.type), - (f = b.pendingProps), - (d = f.children), - tg(b, c), - (e = vg(e, f.unstable_observedBits)), + (d = b.pendingProps.children), + Tg(b, c), + (e = Vg(e)), (d = d(e)), (b.flags |= 1), - fi(a, b, d, c), + Yi(a, b, d, c), b.child ); case 14: return ( - (e = b.type), - (f = lg(e, b.pendingProps)), - (f = lg(e.type, f)), - ii(a, b, e, f, d, c) + (d = b.type), + (e = Lg(d, b.pendingProps)), + (e = Lg(d.type, e)), + aj(a, b, d, e, c) ); case 15: - return ki(a, b, b.type, b.pendingProps, d, c); + return cj(a, b, b.type, b.pendingProps, c); case 17: return ( (d = b.type), (e = b.pendingProps), - (e = b.elementType === d ? e : lg(d, e)), - a !== null && - ((a.alternate = null), - (b.alternate = null), - (b.flags |= 2)), + (e = b.elementType === d ? e : Lg(d, e)), + jj(a, b), (b.tag = 1), - Ff(d) ? ((a = true), Jf(b)) : (a = false), - tg(b, c), - Mg(b, d, e), - Og(b, d, e, c), - qi(null, b, d, true, a, c) + Zf(d) ? ((a = true), cg(b)) : (a = false), + Tg(b, c), + ph(b, d, e), + rh(b, d, e, c), + kj(null, b, d, true, a, c) ); case 19: - return Ai(a, b, c); - case 23: - return mi(a, b, c); - case 24: - return mi(a, b, c); + return yj(a, b, c); + case 22: + return ej(a, b, c); } - throw Error(y(156, b.tag)); + throw Error(p(156, b.tag)); }; - function ik(a, b, c, d) { + function Gk(a, b) { + return ac(a, b); + } + function al(a, b, c, d) { this.tag = a; this.key = c; this.sibling = @@ -8855,31 +9576,31 @@ this.memoizedProps = null; this.mode = d; - this.flags = 0; - this.lastEffect = this.firstEffect = this.nextEffect = null; + this.subtreeFlags = this.flags = 0; + this.deletions = null; this.childLanes = this.lanes = 0; this.alternate = null; } - function nh(a, b, c, d) { - return new ik(a, b, c, d); + function Bg(a, b, c, d) { + return new al(a, b, c, d); } - function ji(a) { + function bj(a) { a = a.prototype; return !(!a || !a.isReactComponent); } - function hk(a) { - if (typeof a === 'function') return ji(a) ? 1 : 0; - if (a !== void 0 && a !== null) { + function $k(a) { + if ('function' === typeof a) return bj(a) ? 1 : 0; + if (void 0 !== a && null !== a) { a = a.$$typeof; - if (a === Aa) return 11; - if (a === Da) return 14; + if (a === Da) return 11; + if (a === Ga) return 14; } return 2; } - function Tg(a, b) { + function wh(a, b) { var c = a.alternate; - c === null - ? ((c = nh(a.tag, b, a.key, a.mode)), + null === c + ? ((c = Bg(a.tag, b, a.key, a.mode)), (c.elementType = a.elementType), (c.type = a.type), (c.stateNode = a.stateNode), @@ -8888,9 +9609,9 @@ : ((c.pendingProps = b), (c.type = a.type), (c.flags = 0), - (c.nextEffect = null), - (c.firstEffect = null), - (c.lastEffect = null)); + (c.subtreeFlags = 0), + (c.deletions = null)); + c.flags = a.flags & 14680064; c.childLanes = a.childLanes; c.lanes = a.lanes; c.child = a.child; @@ -8899,7 +9620,7 @@ c.updateQueue = a.updateQueue; b = a.dependencies; c.dependencies = - b === null + null === b ? null : { lanes: b.lanes, firstContext: b.firstContext }; c.sibling = a.sibling; @@ -8907,104 +9628,89 @@ c.ref = a.ref; return c; } - function Vg(a, b, c, d, e, f) { + function yh(a, b, c, d, e, f) { var g = 2; d = a; - if (typeof a === 'function') ji(a) && (g = 1); - else if (typeof a === 'string') g = 5; + if ('function' === typeof a) bj(a) && (g = 1); + else if ('string' === typeof a) g = 5; else a: switch (a) { - case ua: - return Xg(c.children, e, f, b); - case Ha: - g = 8; - e |= 16; - break; - case wa: + case ya: + return Ah(c.children, e, f, b); + case za: g = 8; - e |= 1; + e |= 8; break; - case xa: + case Aa: return ( - (a = nh(12, c, b, e | 8)), - (a.elementType = xa), - (a.type = xa), + (a = Bg(12, c, b, e | 2)), + (a.elementType = Aa), (a.lanes = f), a ); - case Ba: + case Ea: return ( - (a = nh(13, c, b, e)), - (a.type = Ba), - (a.elementType = Ba), + (a = Bg(13, c, b, e)), + (a.elementType = Ea), (a.lanes = f), a ); - case Ca: + case Fa: return ( - (a = nh(19, c, b, e)), - (a.elementType = Ca), + (a = Bg(19, c, b, e)), + (a.elementType = Fa), (a.lanes = f), a ); case Ia: - return vi(c, e, f, b); - case Ja: - return ( - (a = nh(24, c, b, e)), - (a.elementType = Ja), - (a.lanes = f), - a - ); + return qj(c, e, f, b); default: - if (typeof a === 'object' && a !== null) + if ('object' === typeof a && null !== a) switch (a.$$typeof) { - case ya: + case Ba: g = 10; break a; - case za: + case Ca: g = 9; break a; - case Aa: + case Da: g = 11; break a; - case Da: + case Ga: g = 14; break a; - case Ea: + case Ha: g = 16; d = null; break a; - case Fa: - g = 22; - break a; } - throw Error(y(130, a == null ? a : typeof a, '')); + throw Error(p(130, null == a ? a : typeof a, '')); } - b = nh(g, c, b, e); + b = Bg(g, c, b, e); b.elementType = a; b.type = d; b.lanes = f; return b; } - function Xg(a, b, c, d) { - a = nh(7, a, d, b); + function Ah(a, b, c, d) { + a = Bg(7, a, d, b); a.lanes = c; return a; } - function vi(a, b, c, d) { - a = nh(23, a, d, b); + function qj(a, b, c, d) { + a = Bg(22, a, d, b); a.elementType = Ia; a.lanes = c; + a.stateNode = { isHidden: false }; return a; } - function Ug(a, b, c) { - a = nh(6, a, null, b); + function xh(a, b, c) { + a = Bg(6, a, null, b); a.lanes = c; return a; } - function Wg(a, b, c) { - b = nh(4, a.children !== null ? a.children : [], a.key, b); + function zh(a, b, c) { + b = Bg(4, null !== a.children ? a.children : [], a.key, b); b.lanes = c; b.stateNode = { containerInfo: a.containerInfo, @@ -9013,7 +9719,7 @@ }; return b; } - function jk(a, b, c) { + function bl(a, b, c, d, e) { this.tag = b; this.containerInfo = a; this.finishedWork = @@ -9022,12 +9728,10 @@ this.pendingChildren = null; this.timeoutHandle = -1; - this.pendingContext = this.context = null; - this.hydrate = c; - this.callbackNode = null; + this.callbackNode = this.pendingContext = this.context = null; this.callbackPriority = 0; - this.eventTimes = Zc(0); - this.expirationTimes = Zc(-1); + this.eventTimes = zc(0); + this.expirationTimes = zc(-1); this.entangledLanes = this.finishedLanes = this.mutableReadLanes = @@ -9036,67 +9740,98 @@ this.suspendedLanes = this.pendingLanes = 0; - this.entanglements = Zc(0); + this.entanglements = zc(0); + this.identifierPrefix = d; + this.onRecoverableError = e; this.mutableSourceEagerHydrationData = null; } - function kk(a, b, c) { + function cl(a, b, c, d, e, f, g, h, k) { + a = new bl(a, b, c, h, k); + 1 === b ? ((b = 1), true === f && (b |= 8)) : (b = 0); + f = Bg(3, null, null, b); + a.current = f; + f.stateNode = a; + f.memoizedState = { + element: d, + isDehydrated: c, + cache: null, + transitions: null, + pendingSuspenseBoundaries: null + }; + ah(f); + return a; + } + function dl(a, b, c) { var d = - 3 < arguments.length && arguments[3] !== void 0 + 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null; return { - $$typeof: ta, - key: d == null ? null : '' + d, + $$typeof: wa, + key: null == d ? null : '' + d, children: a, containerInfo: b, implementation: c }; } - function lk(a, b, c, d) { - var e = b.current, - f = Hg(), - g = Ig(e); - a: if (c) { - c = c._reactInternals; - b: { - if (Zb(c) !== c || c.tag !== 1) throw Error(y(170)); - var h = c; - do { - switch (h.tag) { - case 3: - h = h.stateNode.context; - break b; - case 1: - if (Ff(h.type)) { - h = - h.stateNode - .__reactInternalMemoizedMergedChildContext; - break b; - } - } - h = h.return; - } while (h !== null); - throw Error(y(171)); - } - if (c.tag === 1) { - var k = c.type; - if (Ff(k)) { - c = If(c, k, h); - break a; + function el(a) { + if (!a) return Vf; + a = a._reactInternals; + a: { + if (Vb(a) !== a || 1 !== a.tag) throw Error(p(170)); + var b = a; + do { + switch (b.tag) { + case 3: + b = b.stateNode.context; + break a; + case 1: + if (Zf(b.type)) { + b = + b.stateNode + .__reactInternalMemoizedMergedChildContext; + break a; + } } - } - c = h; - } else c = Cf; - b.context === null ? (b.context = c) : (b.pendingContext = c); - b = zg(f, g); + b = b.return; + } while (null !== b); + throw Error(p(171)); + } + if (1 === a.tag) { + var c = a.type; + if (Zf(c)) return bg(a, c, b); + } + return b; + } + function fl(a, b, c, d, e, f, g, h, k) { + a = cl(c, d, true, a, e, f, g, h, k); + a.context = el(null); + c = a.current; + d = L(); + e = lh(c); + f = ch(d, e); + f.callback = void 0 !== b && null !== b ? b : null; + dh(c, f, e); + a.current.lanes = e; + Ac(a, e, d); + Ek(a, d); + return a; + } + function gl(a, b, c, d) { + var e = b.current, + f = L(), + g = lh(e); + c = el(c); + null === b.context ? (b.context = c) : (b.pendingContext = c); + b = ch(f, g); b.payload = { element: a }; - d = d === void 0 ? null : d; - d !== null && (b.callback = d); - Ag(e, b); - Jg(e, g, f); + d = void 0 === d ? null : d; + null !== d && (b.callback = d); + a = dh(e, b, g); + null !== a && (mh(a, e, g, f), eh(a, e, g)); return g; } - function mk(a) { + function hl(a) { a = a.current; if (!a.child) return null; switch (a.child.tag) { @@ -9106,138 +9841,187 @@ return a.child.stateNode; } } - function nk(a, b) { + function il(a, b) { a = a.memoizedState; - if (a !== null && a.dehydrated !== null) { + if (null !== a && null !== a.dehydrated) { var c = a.retryLane; - a.retryLane = c !== 0 && c < b ? c : b; + a.retryLane = 0 !== c && c < b ? c : b; } } - function ok(a, b) { - nk(a, b); - (a = a.alternate) && nk(a, b); + function jl(a, b) { + il(a, b); + (a = a.alternate) && il(a, b); } - function pk() { + function kl() { return null; } - function qk(a, b, c) { - var d = - (c != null && - c.hydrationOptions != null && - c.hydrationOptions.mutableSources) || - null; - c = new jk(a, b, c != null && c.hydrate === true); - b = nh(3, null, null, b === 2 ? 7 : b === 1 ? 3 : 0); - c.current = b; - b.stateNode = c; - xg(b); - a[ff] = c.current; - cf(a.nodeType === 8 ? a.parentNode : a); - if (d) - for (a = 0; a < d.length; a++) { - b = d[a]; - var e = b._getVersion; - e = e(b._source); - c.mutableSourceEagerHydrationData == null - ? (c.mutableSourceEagerHydrationData = [b, e]) - : c.mutableSourceEagerHydrationData.push(b, e); - } - this._internalRoot = c; + var ll = + 'function' === typeof reportError + ? reportError + : function (a) { + console.error(a); + }; + function ml(a) { + this._internalRoot = a; } - qk.prototype.render = function (a) { - lk(a, this._internalRoot, null, null); + nl.prototype.render = ml.prototype.render = function (a) { + var b = this._internalRoot; + if (null === b) throw Error(p(409)); + gl(a, b, null, null); }; - qk.prototype.unmount = function () { - var a = this._internalRoot, - b = a.containerInfo; - lk(null, a, null, function () { - b[ff] = null; - }); + nl.prototype.unmount = ml.prototype.unmount = function () { + var a = this._internalRoot; + if (null !== a) { + this._internalRoot = null; + var b = a.containerInfo; + Sk(function () { + gl(null, a, null, null); + }); + b[uf] = null; + } + }; + function nl(a) { + this._internalRoot = a; + } + nl.prototype.unstable_scheduleHydration = function (a) { + if (a) { + var b = Hc(); + a = { blockedOn: null, target: a, priority: b }; + for ( + var c = 0; + c < Qc.length && 0 !== b && b < Qc[c].priority; + c++ + ); + Qc.splice(c, 0, a); + 0 === c && Vc(a); + } }; - function rk(a) { + function ol(a) { + return !( + !a || + (1 !== a.nodeType && 9 !== a.nodeType && 11 !== a.nodeType) + ); + } + function pl(a) { return !( !a || - (a.nodeType !== 1 && - a.nodeType !== 9 && - a.nodeType !== 11 && - (a.nodeType !== 8 || - a.nodeValue !== ' react-mount-point-unstable ')) + (1 !== a.nodeType && + 9 !== a.nodeType && + 11 !== a.nodeType && + (8 !== a.nodeType || + ' react-mount-point-unstable ' !== a.nodeValue)) ); } - function sk(a, b) { - b || - ((b = a - ? a.nodeType === 9 - ? a.documentElement - : a.firstChild - : null), - (b = !( - !b || - b.nodeType !== 1 || - !b.hasAttribute('data-reactroot') - ))); - if (!b) for (var c; (c = a.lastChild); ) a.removeChild(c); - return new qk(a, 0, b ? { hydrate: true } : void 0); - } - function tk(a, b, c, d, e) { + function ql() {} + function rl(a, b, c, d, e) { + if (e) { + if ('function' === typeof d) { + var f = d; + d = function () { + var a2 = hl(g); + f.call(a2); + }; + } + var g = fl(b, d, a, 0, null, false, false, '', ql); + a._reactRootContainer = g; + a[uf] = g.current; + sf(8 === a.nodeType ? a.parentNode : a); + Sk(); + return g; + } + for (; (e = a.lastChild); ) a.removeChild(e); + if ('function' === typeof d) { + var h = d; + d = function () { + var a2 = hl(k); + h.call(a2); + }; + } + var k = cl(a, 0, false, null, null, false, false, '', ql); + a._reactRootContainer = k; + a[uf] = k.current; + sf(8 === a.nodeType ? a.parentNode : a); + Sk(function () { + gl(b, k, c, d); + }); + return k; + } + function sl(a, b, c, d, e) { var f = c._reactRootContainer; if (f) { - var g = f._internalRoot; - if (typeof e === 'function') { + var g = f; + if ('function' === typeof e) { var h = e; e = function () { - var a2 = mk(g); + var a2 = hl(g); h.call(a2); }; } - lk(b, g, a, e); - } else { - f = c._reactRootContainer = sk(c, d); - g = f._internalRoot; - if (typeof e === 'function') { - var k = e; - e = function () { - var a2 = mk(g); - k.call(a2); - }; - } - Xj(function () { - lk(b, g, a, e); - }); - } - return mk(g); + gl(b, g, a, e); + } else g = rl(c, b, a, e, d); + return hl(g); } - ec = function (a) { - if (a.tag === 13) { - var b = Hg(); - Jg(a, 4, b); - ok(a, 4); + Ec = function (a) { + switch (a.tag) { + case 3: + var b = a.stateNode; + if (b.current.memoizedState.isDehydrated) { + var c = tc(b.pendingLanes); + 0 !== c && + (Cc(b, c | 1), + Ek(b, B()), + 0 === (K & 6) && ((Hj = B() + 500), jg())); + } + break; + case 13: + Sk(function () { + var b2 = Zg(a, 1); + if (null !== b2) { + var c2 = L(); + mh(b2, a, 1, c2); + } + }), + jl(a, 1); } }; - fc = function (a) { - if (a.tag === 13) { - var b = Hg(); - Jg(a, 67108864, b); - ok(a, 67108864); + Fc = function (a) { + if (13 === a.tag) { + var b = Zg(a, 134217728); + if (null !== b) { + var c = L(); + mh(b, a, 134217728, c); + } + jl(a, 134217728); } }; - gc = function (a) { - if (a.tag === 13) { - var b = Hg(), - c = Ig(a); - Jg(a, c, b); - ok(a, c); + Gc = function (a) { + if (13 === a.tag) { + var b = lh(a), + c = Zg(a, b); + if (null !== c) { + var d = L(); + mh(c, a, b, d); + } + jl(a, b); } }; - hc = function (a, b) { - return b(); + Hc = function () { + return C; + }; + Ic = function (a, b) { + var c = C; + try { + return (C = a), b(); + } finally { + C = c; + } }; yb = function (a, b, c) { switch (b) { case 'input': - ab(a, c); + bb(a, c); b = c.name; - if (c.type === 'radio' && b != null) { + if ('radio' === c.type && null != b) { for (c = a; c.parentNode; ) c = c.parentNode; c = c.querySelectorAll( 'input[name=' + @@ -9248,9 +10032,9 @@ var d = c[b]; if (d !== a && d.form === a.form) { var e = Db(d); - if (!e) throw Error(y(90)); + if (!e) throw Error(p(90)); Wa(d); - ab(d, e); + bb(d, e); } } } @@ -9260,145 +10044,155 @@ break; case 'select': (b = c.value), - b != null && fb(a, !!c.multiple, b, false); - } - }; - Gb = Wj; - Hb = function (a, b, c, d, e) { - var f = X; - X |= 4; - try { - return gg(98, a.bind(null, b, c, d, e)); - } finally { - (X = f), X === 0 && (wj(), ig()); + null != b && fb(a, !!c.multiple, b, false); } }; - Ib = function () { - (X & 49) === 0 && (Vj(), Oj()); - }; - Jb = function (a, b) { - var c = X; - X |= 2; - try { - return a(b); - } finally { - (X = c), X === 0 && (wj(), ig()); - } + Gb = Rk; + Hb = Sk; + var tl = { + usingClientEntryPoint: false, + Events: [Cb, ue, Db, Eb, Fb, Rk] }; - function uk(a, b) { - var c = - 2 < arguments.length && arguments[2] !== void 0 - ? arguments[2] - : null; - if (!rk(b)) throw Error(y(200)); - return kk(a, b, null, c); - } - var vk = { Events: [Cb, ue, Db, Eb, Fb, Oj, { current: false }] }; - var wk = { - findFiberByHostInstance: wc, + var ul = { + findFiberByHostInstance: Wc, bundleType: 0, - version: '17.0.2', + version: '18.2.0', rendererPackageName: 'react-dom' }; - var xk = { - bundleType: wk.bundleType, - version: wk.version, - rendererPackageName: wk.rendererPackageName, - rendererConfig: wk.rendererConfig, + var vl = { + bundleType: ul.bundleType, + version: ul.version, + rendererPackageName: ul.rendererPackageName, + rendererConfig: ul.rendererConfig, overrideHookState: null, overrideHookStateDeletePath: null, overrideHookStateRenamePath: null, overrideProps: null, overridePropsDeletePath: null, overridePropsRenamePath: null, + setErrorHandler: null, setSuspenseHandler: null, scheduleUpdate: null, - currentDispatcherRef: ra.ReactCurrentDispatcher, + currentDispatcherRef: ua.ReactCurrentDispatcher, findHostInstanceByFiber: function (a) { - a = cc(a); - return a === null ? null : a.stateNode; + a = Zb(a); + return null === a ? null : a.stateNode; }, - findFiberByHostInstance: wk.findFiberByHostInstance || pk, + findFiberByHostInstance: ul.findFiberByHostInstance || kl, findHostInstancesForRefresh: null, scheduleRefresh: null, scheduleRoot: null, setRefreshHandler: null, - getCurrentFiber: null + getCurrentFiber: null, + reconcilerVersion: '18.2.0-next-9e3b772b8-20220608' }; - if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined') { - yk = __REACT_DEVTOOLS_GLOBAL_HOOK__; - if (!yk.isDisabled && yk.supportsFiber) + if ('undefined' !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { + wl = __REACT_DEVTOOLS_GLOBAL_HOOK__; + if (!wl.isDisabled && wl.supportsFiber) try { - (Lf = yk.inject(xk)), (Mf = yk); + (kc = wl.inject(vl)), (lc = wl); } catch (a) {} } - var yk; - exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = vk; - exports.createPortal = uk; + var wl; + exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = tl; + exports.createPortal = function (a, b) { + var c = + 2 < arguments.length && void 0 !== arguments[2] + ? arguments[2] + : null; + if (!ol(b)) throw Error(p(200)); + return dl(a, b, null, c); + }; + exports.createRoot = function (a, b) { + if (!ol(a)) throw Error(p(299)); + var c = false, + d = '', + e = ll; + null !== b && + void 0 !== b && + (true === b.unstable_strictMode && (c = true), + void 0 !== b.identifierPrefix && (d = b.identifierPrefix), + void 0 !== b.onRecoverableError && + (e = b.onRecoverableError)); + b = cl(a, 1, false, null, null, c, false, d, e); + a[uf] = b.current; + sf(8 === a.nodeType ? a.parentNode : a); + return new ml(b); + }; exports.findDOMNode = function (a) { - if (a == null) return null; - if (a.nodeType === 1) return a; + if (null == a) return null; + if (1 === a.nodeType) return a; var b = a._reactInternals; - if (b === void 0) { - if (typeof a.render === 'function') throw Error(y(188)); - throw Error(y(268, Object.keys(a))); + if (void 0 === b) { + if ('function' === typeof a.render) throw Error(p(188)); + a = Object.keys(a).join(','); + throw Error(p(268, a)); } - a = cc(b); - a = a === null ? null : a.stateNode; + a = Zb(b); + a = null === a ? null : a.stateNode; return a; }; - exports.flushSync = function (a, b) { - var c = X; - if ((c & 48) !== 0) return a(b); - X |= 1; - try { - if (a) return gg(99, a.bind(null, b)); - } finally { - (X = c), ig(); - } + exports.flushSync = function (a) { + return Sk(a); }; exports.hydrate = function (a, b, c) { - if (!rk(b)) throw Error(y(200)); - return tk(null, a, b, true, c); + if (!pl(b)) throw Error(p(200)); + return sl(null, a, b, true, c); + }; + exports.hydrateRoot = function (a, b, c) { + if (!ol(a)) throw Error(p(405)); + var d = (null != c && c.hydratedSources) || null, + e = false, + f = '', + g = ll; + null !== c && + void 0 !== c && + (true === c.unstable_strictMode && (e = true), + void 0 !== c.identifierPrefix && (f = c.identifierPrefix), + void 0 !== c.onRecoverableError && + (g = c.onRecoverableError)); + b = fl(b, null, a, 1, null != c ? c : null, e, false, f, g); + a[uf] = b.current; + sf(a); + if (d) + for (a = 0; a < d.length; a++) + (c = d[a]), + (e = c._getVersion), + (e = e(c._source)), + null == b.mutableSourceEagerHydrationData + ? (b.mutableSourceEagerHydrationData = [c, e]) + : b.mutableSourceEagerHydrationData.push(c, e); + return new nl(b); }; exports.render = function (a, b, c) { - if (!rk(b)) throw Error(y(200)); - return tk(null, a, b, false, c); + if (!pl(b)) throw Error(p(200)); + return sl(null, a, b, false, c); }; exports.unmountComponentAtNode = function (a) { - if (!rk(a)) throw Error(y(40)); + if (!pl(a)) throw Error(p(40)); return a._reactRootContainer - ? (Xj(function () { - tk(null, null, a, false, function () { + ? (Sk(function () { + sl(null, null, a, false, function () { a._reactRootContainer = null; - a[ff] = null; + a[uf] = null; }); }), true) : false; }; - exports.unstable_batchedUpdates = Wj; - exports.unstable_createPortal = function (a, b) { - return uk( - a, - b, - 2 < arguments.length && arguments[2] !== void 0 - ? arguments[2] - : null - ); - }; + exports.unstable_batchedUpdates = Rk; exports.unstable_renderSubtreeIntoContainer = function ( a, b, c, d ) { - if (!rk(c)) throw Error(y(200)); - if (a == null || a._reactInternals === void 0) - throw Error(y(38)); - return tk(a, b, c, false, d); + if (!pl(c)) throw Error(p(200)); + if (null == a || void 0 === a._reactInternals) + throw Error(p(38)); + return sl(a, b, c, false, d); }; - exports.version = '17.0.2'; + exports.version = '18.2.0-next-9e3b772b8-20220608'; } }); @@ -9433,8 +10227,8 @@ }); // index.jsx - var import_react = __toModule(require_react()); - var import_react_dom = __toModule(require_react_dom()); + var import_react = __toESM(require_react()); + var import_react_dom = __toESM(require_react_dom()); var MDN_BASE = `https://developer.mozilla.org/en-US/docs/Web/API`; var MDN_URLS = { DataTransfer: { @@ -9596,14 +10390,10 @@ null, /* @__PURE__ */ import_react.default.createElement( 'a', - { - href: file.url - }, + { href: file.url }, /* @__PURE__ */ import_react.default.createElement( 'img', - { - src: file.url - } + { src: file.url } ) ) ) @@ -9620,9 +10410,7 @@ if (!data.length) { return /* @__PURE__ */ import_react.default.createElement( 'div', - { - className: 'intro-msg' - }, + { className: 'intro-msg' }, /* @__PURE__ */ import_react.default.createElement( 'h2', null, @@ -9636,10 +10424,7 @@ null, /* @__PURE__ */ import_react.default.createElement( 'button', - { - disabled: has_async_clipboard, - onClick: paste - }, + { disabled: has_async_clipboard, onClick: paste }, 'Paste using the Clipboard API' ), ' ', @@ -9667,6 +10452,17 @@ 'li', null, 'Drop something on the page' + ), + /* @__PURE__ */ import_react.default.createElement( + 'li', + null, + /* @__PURE__ */ import_react.default.createElement( + 'span', + { contentEditable: true, class: 'editable' }, + 'Paste using context menu' + ), + ' ', + 'if you are on mobile.' ) ) ); @@ -9676,20 +10472,14 @@ null, /* @__PURE__ */ import_react.default.createElement( 'button', - { - type: 'button', - onClick: e => render() - }, + { type: 'button', onClick: e => render() }, '\u2190 Go back' ), data.map((render_data, idx) => { const URLS = MDN_URLS[render_data.type]; return /* @__PURE__ */ import_react.default.createElement( 'div', - { - className: 'clipboard-summary', - key: idx - }, + { className: 'clipboard-summary', key: idx }, /* @__PURE__ */ import_react.default.createElement( 'h2', null, @@ -9707,9 +10497,7 @@ render_data.types && /* @__PURE__ */ import_react.default.createElement( 'div', - { - className: 'clipboard-section' - }, + { className: 'clipboard-section' }, /* @__PURE__ */ import_react.default.createElement( 'h3', null, @@ -9723,9 +10511,7 @@ ), /* @__PURE__ */ import_react.default.createElement( 'span', - { - className: 'anno' - }, + { className: 'anno' }, render_data.types.length, ' type(s) available' ) @@ -9764,9 +10550,7 @@ render_data.types.map((obj, idx2) => /* @__PURE__ */ import_react.default.createElement( 'tr', - { - key: idx2 - }, + { key: idx2 }, /* @__PURE__ */ import_react.default.createElement( 'td', null, @@ -9781,9 +10565,7 @@ .writeText && /* @__PURE__ */ import_react.default.createElement( 'div', - { - class: 'cb-copy' - }, + { class: 'cb-copy' }, /* @__PURE__ */ import_react.default.createElement( 'button', { @@ -9801,9 +10583,7 @@ null, /* @__PURE__ */ import_react.default.createElement( 'pre', - { - class: 'cb-entry' - }, + { class: 'cb-entry' }, /* @__PURE__ */ import_react.default.createElement( 'code', null, @@ -9829,9 +10609,7 @@ render_data.items && /* @__PURE__ */ import_react.default.createElement( 'div', - { - className: 'clipboard-section' - }, + { className: 'clipboard-section' }, /* @__PURE__ */ import_react.default.createElement( 'h3', null, @@ -9845,9 +10623,7 @@ ), /* @__PURE__ */ import_react.default.createElement( 'span', - { - className: 'anno' - }, + { className: 'anno' }, render_data.items ? `${render_data.items.length} item(s) available` : /* @__PURE__ */ import_react.default.createElement( @@ -9898,9 +10674,7 @@ (item, idx2) => /* @__PURE__ */ import_react.default.createElement( 'tr', - { - key: idx2 - }, + { key: idx2 }, /* @__PURE__ */ import_react.default.createElement( 'td', null, @@ -9935,9 +10709,7 @@ render_data.files && /* @__PURE__ */ import_react.default.createElement( 'div', - { - className: 'clipboard-section' - }, + { className: 'clipboard-section' }, /* @__PURE__ */ import_react.default.createElement( 'h3', null, @@ -9951,9 +10723,7 @@ ), /* @__PURE__ */ import_react.default.createElement( 'span', - { - className: 'anno' - }, + { className: 'anno' }, render_data.files ? `${render_data.files.length} file(s) available` : 'Undefined' @@ -9963,9 +10733,7 @@ ? render_data.files.map((file, idx2) => /* @__PURE__ */ import_react.default.createElement( 'div', - { - key: idx2 - }, + { key: idx2 }, render_file(file) ) ) @@ -9989,10 +10757,7 @@ import_react_dom.default.render( /* @__PURE__ */ import_react.default.createElement( ClipboardInspector, - { - data: extracted_data, - label - } + { data: extracted_data, label } ), app_el ); @@ -10009,32 +10774,38 @@ e.preventDefault(); }); })(); -/* -object-assign -(c) Sindre Sorhus -@license MIT +/*! Bundled license information: + +react/cjs/react.production.min.js: + (** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + *) + +scheduler/cjs/scheduler.production.min.js: + (** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + *) + +react-dom/cjs/react-dom.production.min.js: + (** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + *) */ -/** @license React v0.20.2 - * scheduler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -/** @license React v17.0.2 - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ -/** @license React v17.0.2 - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ diff --git a/index.jsx b/index.jsx index 5b25583..423acb4 100644 --- a/index.jsx +++ b/index.jsx @@ -148,6 +148,12 @@ function ClipboardInspector(props) { keyboard shortcut
  • Drop something on the page
  • +
  • + + Paste using context menu + {' '} + if you are on mobile. +
  • ); diff --git a/style.css b/style.css index d051a33..cf426e4 100644 --- a/style.css +++ b/style.css @@ -25,9 +25,11 @@ button { font-size: max(1em, 16px); } -button { +button, +.editable { appearance: none; border: 0.1em solid; + display: inline-block; padding: 0.25em 0.5em; background: #f3f3f3; color: #000; @@ -35,7 +37,8 @@ button { box-shadow: 0.1em 0.1em currentColor; } -button:active { +button:active, +.editable:active { background: #fe0; }