From 7dbd2d220e25ed5f3d89728e65ea2b7708fb842a Mon Sep 17 00:00:00 2001 From: Alda Vigdis Skarphedinsdottir <191583+aldavigdis@users.noreply.github.com> Date: Tue, 17 Jul 2018 09:29:58 +0200 Subject: [PATCH] Adding a label to the month navigation buttons (#1421) Improves accessibility and facilitates custom localisation by having a default value for the month navigation --- docs-site/bundle.js | 11847 ++++++++++++++---------------- src/calendar.jsx | 16 +- src/index.jsx | 10 +- src/stylesheets/datepicker.scss | 4 + 4 files changed, 5735 insertions(+), 6142 deletions(-) diff --git a/docs-site/bundle.js b/docs-site/bundle.js index 9fbb1da96..ce257181f 100644 --- a/docs-site/bundle.js +++ b/docs-site/bundle.js @@ -111,7 +111,7 @@ }, /* 3 */ /***/ function(module, exports, __webpack_require__) { - /** @license React v16.3.2 + /** @license React v16.4.0 * react.production.min.js * * Copyright (c) 2013-present, Facebook, Inc. @@ -121,29 +121,31 @@ */ "use strict"; - var m = __webpack_require__(4), + var k = __webpack_require__(4), n = __webpack_require__(5), p = __webpack_require__(6), q = __webpack_require__(7), - r = "function" === typeof Symbol && Symbol["for"], - t = r ? Symbol["for"]("react.element") : 60103, - u = r ? Symbol["for"]("react.portal") : 60106, - v = r ? Symbol["for"]("react.fragment") : 60107, - w = r ? Symbol["for"]("react.strict_mode") : 60108, - x = r ? Symbol["for"]("react.provider") : 60109, - y = r ? Symbol["for"]("react.context") : 60110, - z = r ? Symbol["for"]("react.async_mode") : 60111, - A = r ? Symbol["for"]("react.forward_ref") : 60112, - B = "function" === typeof Symbol && Symbol.iterator; - function C(a) { + r = "function" === typeof Symbol && Symbol.for, + t = r ? Symbol.for("react.element") : 60103, + u = r ? Symbol.for("react.portal") : 60106, + v = r ? Symbol.for("react.fragment") : 60107, + w = r ? Symbol.for("react.strict_mode") : 60108, + x = r ? Symbol.for("react.profiler") : 60114, + y = r ? Symbol.for("react.provider") : 60109, + z = r ? Symbol.for("react.context") : 60110, + A = r ? Symbol.for("react.async_mode") : 60111, + B = r ? Symbol.for("react.forward_ref") : 60112; + r && Symbol.for("react.timeout"); + var C = "function" === typeof Symbol && Symbol.iterator; + function D(a) { for ( var b = arguments.length - 1, - e = "http://reactjs.org/docs/error-decoder.html?invariant\x3d" + a, + e = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 0; c < b; c++ ) - e += "\x26args[]\x3d" + encodeURIComponent(arguments[c + 1]); + e += "&args[]=" + encodeURIComponent(arguments[c + 1]); n( !1, "Minified React error #" + @@ -152,7 +154,7 @@ e ); } - var D = { + var E = { isMounted: function() { return !1; }, @@ -160,38 +162,38 @@ enqueueReplaceState: function() {}, enqueueSetState: function() {} }; - function E(a, b, e) { + function F(a, b, e) { this.props = a; this.context = b; this.refs = p; - this.updater = e || D; + this.updater = e || E; } - E.prototype.isReactComponent = {}; - E.prototype.setState = function(a, b) { + F.prototype.isReactComponent = {}; + F.prototype.setState = function(a, b) { "object" !== typeof a && "function" !== typeof a && null != a - ? C("85") + ? D("85") : void 0; this.updater.enqueueSetState(this, a, b, "setState"); }; - E.prototype.forceUpdate = function(a) { + F.prototype.forceUpdate = function(a) { this.updater.enqueueForceUpdate(this, a, "forceUpdate"); }; - function F() {} - F.prototype = E.prototype; - function G(a, b, e) { + function G() {} + G.prototype = F.prototype; + function H(a, b, e) { this.props = a; this.context = b; this.refs = p; - this.updater = e || D; - } - var H = (G.prototype = new F()); - H.constructor = G; - m(H, E.prototype); - H.isPureReactComponent = !0; - var I = { current: null }, - J = Object.prototype.hasOwnProperty, - K = { key: !0, ref: !0, __self: !0, __source: !0 }; - function L(a, b, e) { + this.updater = e || E; + } + var I = (H.prototype = new G()); + I.constructor = H; + k(I, F.prototype); + I.isPureReactComponent = !0; + var J = { current: null }, + K = Object.prototype.hasOwnProperty, + L = { key: !0, ref: !0, __self: !0, __source: !0 }; + function M(a, b, e) { var c = void 0, d = {}, g = null, @@ -200,12 +202,12 @@ for (c in (void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (g = "" + b.key), b)) - J.call(b, c) && !K.hasOwnProperty(c) && (d[c] = b[c]); + K.call(b, c) && !L.hasOwnProperty(c) && (d[c] = b[c]); var f = arguments.length - 2; if (1 === f) d.children = e; else if (1 < f) { - for (var k = Array(f), l = 0; l < f; l++) k[l] = arguments[l + 2]; - d.children = k; + for (var l = Array(f), m = 0; m < f; m++) l[m] = arguments[m + 2]; + d.children = l; } if (a && a.defaultProps) for (c in ((f = a.defaultProps), f)) void 0 === d[c] && (d[c] = f[c]); @@ -215,14 +217,14 @@ key: g, ref: h, props: d, - _owner: I.current + _owner: J.current }; } - function M(a) { + function N(a) { return "object" === typeof a && null !== a && a.$$typeof === t; } function escape(a) { - var b = { "\x3d": "\x3d0", ":": "\x3d2" }; + var b = { "=": "=0", ":": "=2" }; return ( "$" + ("" + a).replace(/[=:]/g, function(a) { @@ -230,11 +232,11 @@ }) ); } - var N = /\/+/g, - O = []; - function P(a, b, e, c) { - if (O.length) { - var d = O.pop(); + var O = /\/+/g, + P = []; + function Q(a, b, e, c) { + if (P.length) { + var d = P.pop(); d.result = a; d.keyPrefix = b; d.func = e; @@ -244,15 +246,15 @@ } return { result: a, keyPrefix: b, func: e, context: c, count: 0 }; } - function Q(a) { + function R(a) { a.result = null; a.keyPrefix = null; a.func = null; a.context = null; a.count = 0; - 10 > O.length && O.push(a); + 10 > P.length && P.push(a); } - function R(a, b, e, c) { + function S(a, b, e, c) { var d = typeof a; if ("undefined" === d || "boolean" === d) a = null; var g = !1; @@ -270,28 +272,28 @@ g = !0; } } - if (g) return e(c, a, "" === b ? "." + S(a, 0) : b), 1; + if (g) return e(c, a, "" === b ? "." + T(a, 0) : b), 1; g = 0; b = "" === b ? "." : b + ":"; if (Array.isArray(a)) for (var h = 0; h < a.length; h++) { d = a[h]; - var f = b + S(d, h); - g += R(d, f, e, c); + var f = b + T(d, h); + g += S(d, f, e, c); } else if ( (null === a || "undefined" === typeof a ? (f = null) - : ((f = (B && a[B]) || a["@@iterator"]), + : ((f = (C && a[C]) || a["@@iterator"]), (f = "function" === typeof f ? f : null)), "function" === typeof f) ) for (a = f.call(a), h = 0; !(d = a.next()).done; ) - (d = d.value), (f = b + S(d, h++)), (g += R(d, f, e, c)); + (d = d.value), (f = b + T(d, h++)), (g += S(d, f, e, c)); else "object" === d && ((e = "" + a), - C( + D( "31", "[object Object]" === e ? "object with keys {" + Object.keys(a).join(", ") + "}" @@ -300,27 +302,27 @@ )); return g; } - function S(a, b) { + function T(a, b) { return "object" === typeof a && null !== a && null != a.key ? escape(a.key) : b.toString(36); } - function T(a, b) { + function U(a, b) { a.func.call(a.context, b, a.count++); } - function U(a, b, e) { + function V(a, b, e) { var c = a.result, d = a.keyPrefix; a = a.func.call(a.context, b, a.count++); Array.isArray(a) - ? V(a, c, e, q.thatReturnsArgument) + ? W(a, c, e, q.thatReturnsArgument) : null != a && - (M(a) && + (N(a) && ((b = d + (!a.key || (b && b.key === a.key) ? "" - : ("" + a.key).replace(N, "$\x26/") + "/") + + : ("" + a.key).replace(O, "$&/") + "/") + e), (a = { $$typeof: t, @@ -332,89 +334,92 @@ })), c.push(a)); } - function V(a, b, e, c, d) { + function W(a, b, e, c, d) { var g = ""; - null != e && (g = ("" + e).replace(N, "$\x26/") + "/"); - b = P(b, g, c, d); - null == a || R(a, "", U, b); - Q(b); + null != e && (g = ("" + e).replace(O, "$&/") + "/"); + b = Q(b, g, c, d); + null == a || S(a, "", V, b); + R(b); } - var W = { + var X = { Children: { map: function(a, b, e) { if (null == a) return a; var c = []; - V(a, c, null, b, e); + W(a, c, null, b, e); return c; }, forEach: function(a, b, e) { if (null == a) return a; - b = P(null, null, b, e); - null == a || R(a, "", T, b); - Q(b); + b = Q(null, null, b, e); + null == a || S(a, "", U, b); + R(b); }, count: function(a) { - return null == a ? 0 : R(a, "", q.thatReturnsNull, null); + return null == a ? 0 : S(a, "", q.thatReturnsNull, null); }, toArray: function(a) { var b = []; - V(a, b, null, q.thatReturnsArgument); + W(a, b, null, q.thatReturnsArgument); return b; }, only: function(a) { - M(a) ? void 0 : C("143"); + N(a) ? void 0 : D("143"); return a; } }, createRef: function() { return { current: null }; }, - Component: E, - PureComponent: G, + Component: F, + PureComponent: H, createContext: function(a, b) { void 0 === b && (b = null); a = { - $$typeof: y, + $$typeof: z, _calculateChangedBits: b, _defaultValue: a, _currentValue: a, + _currentValue2: a, _changedBits: 0, + _changedBits2: 0, Provider: null, Consumer: null }; - a.Provider = { $$typeof: x, _context: a }; + a.Provider = { $$typeof: y, _context: a }; return (a.Consumer = a); }, forwardRef: function(a) { - return { $$typeof: A, render: a }; + return { $$typeof: B, render: a }; }, Fragment: v, StrictMode: w, - unstable_AsyncMode: z, - createElement: L, + unstable_AsyncMode: A, + unstable_Profiler: x, + createElement: M, cloneElement: function(a, b, e) { - null === a || void 0 === a ? C("267", a) : void 0; + null === a || void 0 === a ? D("267", a) : void 0; var c = void 0, - d = m({}, a.props), + d = k({}, a.props), g = a.key, h = a.ref, f = a._owner; if (null != b) { - void 0 !== b.ref && ((h = b.ref), (f = I.current)); + void 0 !== b.ref && ((h = b.ref), (f = J.current)); void 0 !== b.key && (g = "" + b.key); - var k = void 0; - a.type && a.type.defaultProps && (k = a.type.defaultProps); + var l = void 0; + a.type && a.type.defaultProps && (l = a.type.defaultProps); for (c in b) - J.call(b, c) && - !K.hasOwnProperty(c) && - (d[c] = void 0 === b[c] && void 0 !== k ? k[c] : b[c]); + K.call(b, c) && + !L.hasOwnProperty(c) && + (d[c] = void 0 === b[c] && void 0 !== l ? l[c] : b[c]); } c = arguments.length - 2; if (1 === c) d.children = e; else if (1 < c) { - k = Array(c); - for (var l = 0; l < c; l++) k[l] = arguments[l + 2]; - d.children = k; + l = Array(c); + for (var m = 0; m < c; m++) l[m] = arguments[m + 2]; + d.children = l; } return { $$typeof: t, @@ -426,20 +431,20 @@ }; }, createFactory: function(a) { - var b = L.bind(null, a); + var b = M.bind(null, a); b.type = a; return b; }, - isValidElement: M, - version: "16.3.2", + isValidElement: N, + version: "16.4.0", __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: { - ReactCurrentOwner: I, - assign: m + ReactCurrentOwner: J, + assign: k } }, - X = Object.freeze({ default: W }), - Y = (X && W) || X; - module.exports = Y["default"] ? Y["default"] : Y; + Y = { default: X }, + Z = (Y && X) || Y; + module.exports = Z.default ? Z.default : Z; /***/ }, @@ -715,7 +720,7 @@ }, /* 9 */ /***/ function(module, exports, __webpack_require__) { - /** @license React v16.3.2 + /** @license React v16.4.0 * react-dom.production.min.js * * Copyright (c) 2013-present, Facebook, Inc. @@ -728,25 +733,25 @@ Modernizr 3.0.0pre (Custom Build) | MIT */ "use strict"; - var ba = __webpack_require__(5), - ea = __webpack_require__(2), + var aa = __webpack_require__(5), + ca = __webpack_require__(2), m = __webpack_require__(10), - A = __webpack_require__(4), - C = __webpack_require__(7), - fa = __webpack_require__(11), - ha = __webpack_require__(12), - ja = __webpack_require__(13), - ka = __webpack_require__(6); - function D(a) { + p = __webpack_require__(4), + v = __webpack_require__(7), + da = __webpack_require__(11), + ea = __webpack_require__(12), + fa = __webpack_require__(13), + ha = __webpack_require__(6); + function A(a) { for ( var b = arguments.length - 1, - c = "http://reactjs.org/docs/error-decoder.html?invariant\x3d" + a, + c = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, d = 0; d < b; d++ ) - c += "\x26args[]\x3d" + encodeURIComponent(arguments[d + 1]); - ba( + c += "&args[]=" + encodeURIComponent(arguments[d + 1]); + aa( !1, "Minified React error #" + a + @@ -754,24 +759,24 @@ c ); } - ea ? void 0 : D("227"); - function ma(a, b, c, d, e, f, h, g, k) { + ca ? void 0 : A("227"); + function ia(a, b, c, d, e, f, g, h, k) { this._hasCaughtError = !1; this._caughtError = null; - var v = Array.prototype.slice.call(arguments, 3); + var n = Array.prototype.slice.call(arguments, 3); try { - b.apply(c, v); - } catch (l) { - (this._caughtError = l), (this._hasCaughtError = !0); + b.apply(c, n); + } catch (r) { + (this._caughtError = r), (this._hasCaughtError = !0); } } - var E = { + var B = { _caughtError: null, _hasCaughtError: !1, _rethrowError: null, _hasRethrowError: !1, - invokeGuardedCallback: function(a, b, c, d, e, f, h, g, k) { - ma.apply(E, arguments); + invokeGuardedCallback: function(a, b, c, d, e, f, g, h, k) { + ia.apply(B, arguments); }, invokeGuardedCallbackAndCatchFirstError: function( a, @@ -780,118 +785,118 @@ d, e, f, - h, g, + h, k ) { - E.invokeGuardedCallback.apply(this, arguments); - if (E.hasCaughtError()) { - var v = E.clearCaughtError(); - E._hasRethrowError || - ((E._hasRethrowError = !0), (E._rethrowError = v)); + B.invokeGuardedCallback.apply(this, arguments); + if (B.hasCaughtError()) { + var n = B.clearCaughtError(); + B._hasRethrowError || + ((B._hasRethrowError = !0), (B._rethrowError = n)); } }, rethrowCaughtError: function() { - return na.apply(E, arguments); + return ka.apply(B, arguments); }, hasCaughtError: function() { - return E._hasCaughtError; + return B._hasCaughtError; }, clearCaughtError: function() { - if (E._hasCaughtError) { - var a = E._caughtError; - E._caughtError = null; - E._hasCaughtError = !1; + if (B._hasCaughtError) { + var a = B._caughtError; + B._caughtError = null; + B._hasCaughtError = !1; return a; } - D("198"); + A("198"); } }; - function na() { - if (E._hasRethrowError) { - var a = E._rethrowError; - E._rethrowError = null; - E._hasRethrowError = !1; + function ka() { + if (B._hasRethrowError) { + var a = B._rethrowError; + B._rethrowError = null; + B._hasRethrowError = !1; throw a; } } - var oa = null, - pa = {}; - function qa() { - if (oa) - for (var a in pa) { - var b = pa[a], - c = oa.indexOf(a); - -1 < c ? void 0 : D("96", a); - if (!ra[c]) { - b.extractEvents ? void 0 : D("97", a); - ra[c] = b; + var la = null, + ma = {}; + function na() { + if (la) + for (var a in ma) { + var b = ma[a], + c = la.indexOf(a); + -1 < c ? void 0 : A("96", a); + if (!oa[c]) { + b.extractEvents ? void 0 : A("97", a); + oa[c] = b; c = b.eventTypes; for (var d in c) { var e = void 0; var f = c[d], - h = b, - g = d; - sa.hasOwnProperty(g) ? D("99", g) : void 0; - sa[g] = f; + g = b, + h = d; + pa.hasOwnProperty(h) ? A("99", h) : void 0; + pa[h] = f; var k = f.phasedRegistrationNames; if (k) { - for (e in k) k.hasOwnProperty(e) && ta(k[e], h, g); + for (e in k) k.hasOwnProperty(e) && qa(k[e], g, h); e = !0; } else f.registrationName - ? (ta(f.registrationName, h, g), (e = !0)) + ? (qa(f.registrationName, g, h), (e = !0)) : (e = !1); - e ? void 0 : D("98", d, a); + e ? void 0 : A("98", d, a); } } } } - function ta(a, b, c) { - ua[a] ? D("100", a) : void 0; - ua[a] = b; - va[a] = b.eventTypes[c].dependencies; + function qa(a, b, c) { + ra[a] ? A("100", a) : void 0; + ra[a] = b; + sa[a] = b.eventTypes[c].dependencies; } - var ra = [], - sa = {}, - ua = {}, - va = {}; - function wa(a) { - oa ? D("101") : void 0; - oa = Array.prototype.slice.call(a); - qa(); + var oa = [], + pa = {}, + ra = {}, + sa = {}; + function ta(a) { + la ? A("101") : void 0; + la = Array.prototype.slice.call(a); + na(); } - function xa(a) { + function ua(a) { var b = !1, c; for (c in a) if (a.hasOwnProperty(c)) { var d = a[c]; - (pa.hasOwnProperty(c) && pa[c] === d) || - (pa[c] ? D("102", c) : void 0, (pa[c] = d), (b = !0)); + (ma.hasOwnProperty(c) && ma[c] === d) || + (ma[c] ? A("102", c) : void 0, (ma[c] = d), (b = !0)); } - b && qa(); + b && na(); } - var Ca = Object.freeze({ - plugins: ra, - eventNameDispatchConfigs: sa, - registrationNameModules: ua, - registrationNameDependencies: va, + var va = { + plugins: oa, + eventNameDispatchConfigs: pa, + registrationNameModules: ra, + registrationNameDependencies: sa, possibleRegistrationNames: null, - injectEventPluginOrder: wa, - injectEventPluginsByName: xa - }), - Da = null, - Ea = null, - Fa = null; - function Ga(a, b, c, d) { + injectEventPluginOrder: ta, + injectEventPluginsByName: ua + }, + wa = null, + xa = null, + ya = null; + function za(a, b, c, d) { b = a.type || "unknown-event"; - a.currentTarget = Fa(d); - E.invokeGuardedCallbackAndCatchFirstError(b, c, void 0, a); + a.currentTarget = ya(d); + B.invokeGuardedCallbackAndCatchFirstError(b, c, void 0, a); a.currentTarget = null; } - function Ha(a, b) { - null == b ? D("30") : void 0; + function Aa(a, b) { + null == b ? A("30") : void 0; if (null == a) return b; if (Array.isArray(a)) { if (Array.isArray(b)) return a.push.apply(a, b), a; @@ -900,34 +905,34 @@ } return Array.isArray(b) ? [a].concat(b) : [a, b]; } - function Ia(a, b, c) { + function Ba(a, b, c) { Array.isArray(a) ? a.forEach(b, c) : a && b.call(c, a); } - var Ja = null; - function Ka(a, b) { + var Ca = null; + function Da(a, b) { if (a) { var c = a._dispatchListeners, d = a._dispatchInstances; if (Array.isArray(c)) for (var e = 0; e < c.length && !a.isPropagationStopped(); e++) - Ga(a, b, c[e], d[e]); - else c && Ga(a, b, c, d); + za(a, b, c[e], d[e]); + else c && za(a, b, c, d); a._dispatchListeners = null; a._dispatchInstances = null; a.isPersistent() || a.constructor.release(a); } } - function La(a) { - return Ka(a, !0); + function Ea(a) { + return Da(a, !0); } - function Ma(a) { - return Ka(a, !1); + function Fa(a) { + return Da(a, !1); } - var Na = { injectEventPluginOrder: wa, injectEventPluginsByName: xa }; - function Oa(a, b) { + var Ga = { injectEventPluginOrder: ta, injectEventPluginsByName: ua }; + function Ha(a, b) { var c = a.stateNode; if (!c) return null; - var d = Da(c); + var d = wa(c); if (!d) return null; c = d[b]; a: switch (b) { @@ -955,185 +960,224 @@ a = !1; } if (a) return null; - c && "function" !== typeof c ? D("231", b, typeof c) : void 0; + c && "function" !== typeof c ? A("231", b, typeof c) : void 0; return c; } - function Pa(a, b) { - null !== a && (Ja = Ha(Ja, a)); - a = Ja; - Ja = null; + function Ia(a, b) { + null !== a && (Ca = Aa(Ca, a)); + a = Ca; + Ca = null; a && - (b ? Ia(a, La) : Ia(a, Ma), - Ja ? D("95") : void 0, - E.rethrowCaughtError()); - } - function Qa(a, b, c, d) { - for (var e = null, f = 0; f < ra.length; f++) { - var h = ra[f]; - h && (h = h.extractEvents(a, b, c, d)) && (e = Ha(e, h)); - } - Pa(e, !1); - } - var Ra = Object.freeze({ - injection: Na, - getListener: Oa, - runEventsInBatch: Pa, - runExtractedEventsInBatch: Qa - }), - Sa = Math.random() + (b ? Ba(a, Ea) : Ba(a, Fa), + Ca ? A("95") : void 0, + B.rethrowCaughtError()); + } + function Ja(a, b, c, d) { + for (var e = null, f = 0; f < oa.length; f++) { + var g = oa[f]; + g && (g = g.extractEvents(a, b, c, d)) && (e = Aa(e, g)); + } + Ia(e, !1); + } + var Ka = { + injection: Ga, + getListener: Ha, + runEventsInBatch: Ia, + runExtractedEventsInBatch: Ja + }, + La = Math.random() .toString(36) .slice(2), - F = "__reactInternalInstance$" + Sa, - Ta = "__reactEventHandlers$" + Sa; - function Ua(a) { - if (a[F]) return a[F]; - for (; !a[F]; ) + C = "__reactInternalInstance$" + La, + Ma = "__reactEventHandlers$" + La; + function Na(a) { + if (a[C]) return a[C]; + for (; !a[C]; ) if (a.parentNode) a = a.parentNode; else return null; - a = a[F]; + a = a[C]; return 5 === a.tag || 6 === a.tag ? a : null; } - function Va(a) { + function Oa(a) { if (5 === a.tag || 6 === a.tag) return a.stateNode; - D("33"); + A("33"); } - function Xa(a) { - return a[Ta] || null; + function Pa(a) { + return a[Ma] || null; } - var bb = Object.freeze({ + var Qa = { precacheFiberNode: function(a, b) { - b[F] = a; + b[C] = a; }, - getClosestInstanceFromNode: Ua, + getClosestInstanceFromNode: Na, getInstanceFromNode: function(a) { - a = a[F]; + a = a[C]; return !a || (5 !== a.tag && 6 !== a.tag) ? null : a; }, - getNodeFromInstance: Va, - getFiberCurrentPropsFromNode: Xa, + getNodeFromInstance: Oa, + getFiberCurrentPropsFromNode: Pa, updateFiberProps: function(a, b) { - a[Ta] = b; + a[Ma] = b; } - }); - function L(a) { - do a = a["return"]; + }; + function F(a) { + do a = a.return; while (a && 5 !== a.tag); return a ? a : null; } - function cb(a, b, c) { - for (var d = []; a; ) d.push(a), (a = L(a)); + function Ra(a, b, c) { + for (var d = []; a; ) d.push(a), (a = F(a)); for (a = d.length; 0 < a--; ) b(d[a], "captured", c); for (a = 0; a < d.length; a++) b(d[a], "bubbled", c); } - function db(a, b, c) { - if ((b = Oa(a, c.dispatchConfig.phasedRegistrationNames[b]))) - (c._dispatchListeners = Ha(c._dispatchListeners, b)), - (c._dispatchInstances = Ha(c._dispatchInstances, a)); + function Sa(a, b, c) { + if ((b = Ha(a, c.dispatchConfig.phasedRegistrationNames[b]))) + (c._dispatchListeners = Aa(c._dispatchListeners, b)), + (c._dispatchInstances = Aa(c._dispatchInstances, a)); } - function eb(a) { + function Ta(a) { a && a.dispatchConfig.phasedRegistrationNames && - cb(a._targetInst, db, a); + Ra(a._targetInst, Sa, a); } - function fb(a) { + function Ua(a) { if (a && a.dispatchConfig.phasedRegistrationNames) { var b = a._targetInst; - b = b ? L(b) : null; - cb(b, db, a); + b = b ? F(b) : null; + Ra(b, Sa, a); } } - function gb(a, b, c) { + function Va(a, b, c) { a && c && c.dispatchConfig.registrationName && - (b = Oa(a, c.dispatchConfig.registrationName)) && - ((c._dispatchListeners = Ha(c._dispatchListeners, b)), - (c._dispatchInstances = Ha(c._dispatchInstances, a))); + (b = Ha(a, c.dispatchConfig.registrationName)) && + ((c._dispatchListeners = Aa(c._dispatchListeners, b)), + (c._dispatchInstances = Aa(c._dispatchInstances, a))); } - function hb(a) { - a && a.dispatchConfig.registrationName && gb(a._targetInst, null, a); + function Xa(a) { + a && a.dispatchConfig.registrationName && Va(a._targetInst, null, a); } - function ib(a) { - Ia(a, eb); + function Ya(a) { + Ba(a, Ta); } - function jb(a, b, c, d) { + function Za(a, b, c, d) { if (c && d) a: { var e = c; - for (var f = d, h = 0, g = e; g; g = L(g)) h++; - g = 0; - for (var k = f; k; k = L(k)) g++; - for (; 0 < h - g; ) (e = L(e)), h--; - for (; 0 < g - h; ) (f = L(f)), g--; - for (; h--; ) { + for (var f = d, g = 0, h = e; h; h = F(h)) g++; + h = 0; + for (var k = f; k; k = F(k)) h++; + for (; 0 < g - h; ) (e = F(e)), g--; + for (; 0 < h - g; ) (f = F(f)), h--; + for (; g--; ) { if (e === f || e === f.alternate) break a; - e = L(e); - f = L(f); + e = F(e); + f = F(f); } e = null; } else e = null; f = e; for (e = []; c && c !== f; ) { - h = c.alternate; - if (null !== h && h === f) break; + g = c.alternate; + if (null !== g && g === f) break; e.push(c); - c = L(c); + c = F(c); } for (c = []; d && d !== f; ) { - h = d.alternate; - if (null !== h && h === f) break; + g = d.alternate; + if (null !== g && g === f) break; c.push(d); - d = L(d); + d = F(d); } - for (d = 0; d < e.length; d++) gb(e[d], "bubbled", a); - for (a = c.length; 0 < a--; ) gb(c[a], "captured", b); + for (d = 0; d < e.length; d++) Va(e[d], "bubbled", a); + for (a = c.length; 0 < a--; ) Va(c[a], "captured", b); } - var kb = Object.freeze({ - accumulateTwoPhaseDispatches: ib, - accumulateTwoPhaseDispatchesSkipTarget: function(a) { - Ia(a, fb); - }, - accumulateEnterLeaveDispatches: jb, - accumulateDirectDispatches: function(a) { - Ia(a, hb); - } - }), - lb = null; - function mb() { - !lb && + var $a = { + accumulateTwoPhaseDispatches: Ya, + accumulateTwoPhaseDispatchesSkipTarget: function(a) { + Ba(a, Ua); + }, + accumulateEnterLeaveDispatches: Za, + accumulateDirectDispatches: function(a) { + Ba(a, Xa); + } + }; + function ab(a, b) { + var c = {}; + c[a.toLowerCase()] = b.toLowerCase(); + c["Webkit" + a] = "webkit" + b; + c["Moz" + a] = "moz" + b; + c["ms" + a] = "MS" + b; + c["O" + a] = "o" + b.toLowerCase(); + return c; + } + var bb = { + animationend: ab("Animation", "AnimationEnd"), + animationiteration: ab("Animation", "AnimationIteration"), + animationstart: ab("Animation", "AnimationStart"), + transitionend: ab("Transition", "TransitionEnd") + }, + cb = {}, + db = {}; + m.canUseDOM && + ((db = document.createElement("div").style), + "AnimationEvent" in window || + (delete bb.animationend.animation, + delete bb.animationiteration.animation, + delete bb.animationstart.animation), + "TransitionEvent" in window || delete bb.transitionend.transition); + function eb(a) { + if (cb[a]) return cb[a]; + if (!bb[a]) return a; + var b = bb[a], + c; + for (c in b) if (b.hasOwnProperty(c) && c in db) return (cb[a] = b[c]); + return a; + } + var fb = eb("animationend"), + gb = eb("animationiteration"), + hb = eb("animationstart"), + ib = eb("transitionend"), + jb = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split( + " " + ), + kb = null; + function lb() { + !kb && m.canUseDOM && - (lb = + (kb = "textContent" in document.documentElement ? "textContent" : "innerText"); - return lb; + return kb; } - var M = { _root: null, _startText: null, _fallbackText: null }; - function nb() { - if (M._fallbackText) return M._fallbackText; + var G = { _root: null, _startText: null, _fallbackText: null }; + function mb() { + if (G._fallbackText) return G._fallbackText; var a, - b = M._startText, + b = G._startText, c = b.length, d, - e = ob(), + e = nb(), f = e.length; for (a = 0; a < c && b[a] === e[a]; a++); - var h = c - a; - for (d = 1; d <= h && b[c - d] === e[f - d]; d++); - M._fallbackText = e.slice(a, 1 < d ? 1 - d : void 0); - return M._fallbackText; + var g = c - a; + for (d = 1; d <= g && b[c - d] === e[f - d]; d++); + G._fallbackText = e.slice(a, 1 < d ? 1 - d : void 0); + return G._fallbackText; } - function ob() { - return "value" in M._root ? M._root.value : M._root[mb()]; + function nb() { + return "value" in G._root ? G._root.value : G._root[lb()]; } - var pb = "dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split( + var ob = "dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split( " " ), - qb = { + pb = { type: null, target: null, - currentTarget: C.thatReturnsNull, + currentTarget: v.thatReturnsNull, eventPhase: null, bubbles: null, cancelable: null, @@ -1143,7 +1187,7 @@ defaultPrevented: null, isTrusted: null }; - function N(a, b, c, d) { + function H(a, b, c, d) { this.dispatchConfig = a; this._targetInst = b; this.nativeEvent = c; @@ -1158,12 +1202,12 @@ this.isDefaultPrevented = (null != c.defaultPrevented ? c.defaultPrevented : !1 === c.returnValue) - ? C.thatReturnsTrue - : C.thatReturnsFalse; - this.isPropagationStopped = C.thatReturnsFalse; + ? v.thatReturnsTrue + : v.thatReturnsFalse; + this.isPropagationStopped = v.thatReturnsFalse; return this; } - A(N.prototype, { + p(H.prototype, { preventDefault: function() { this.defaultPrevented = !0; var a = this.nativeEvent; @@ -1171,7 +1215,7 @@ (a.preventDefault ? a.preventDefault() : "unknown" !== typeof a.returnValue && (a.returnValue = !1), - (this.isDefaultPrevented = C.thatReturnsTrue)); + (this.isDefaultPrevented = v.thatReturnsTrue)); }, stopPropagation: function() { var a = this.nativeEvent; @@ -1179,21 +1223,21 @@ (a.stopPropagation ? a.stopPropagation() : "unknown" !== typeof a.cancelBubble && (a.cancelBubble = !0), - (this.isPropagationStopped = C.thatReturnsTrue)); + (this.isPropagationStopped = v.thatReturnsTrue)); }, persist: function() { - this.isPersistent = C.thatReturnsTrue; + this.isPersistent = v.thatReturnsTrue; }, - isPersistent: C.thatReturnsFalse, + isPersistent: v.thatReturnsFalse, destructor: function() { var a = this.constructor.Interface, b; for (b in a) this[b] = null; - for (a = 0; a < pb.length; a++) this[pb[a]] = null; + for (a = 0; a < ob.length; a++) this[ob[a]] = null; } }); - N.Interface = qb; - N.extend = function(a) { + H.Interface = pb; + H.extend = function(a) { function b() {} function c() { return d.apply(this, arguments); @@ -1201,16 +1245,16 @@ var d = this; b.prototype = d.prototype; var e = new b(); - A(e, c.prototype); + p(e, c.prototype); c.prototype = e; c.prototype.constructor = c; - c.Interface = A({}, d.Interface, a); + c.Interface = p({}, d.Interface, a); c.extend = d.extend; - rb(c); + qb(c); return c; }; - rb(N); - function sb(a, b, c, d) { + qb(H); + function rb(a, b, c, d) { if (this.eventPool.length) { var e = this.eventPool.pop(); this.call(e, a, b, c, d); @@ -1218,44 +1262,39 @@ } return new this(a, b, c, d); } - function tb(a) { - a instanceof this ? void 0 : D("223"); + function sb(a) { + a instanceof this ? void 0 : A("223"); a.destructor(); 10 > this.eventPool.length && this.eventPool.push(a); } - function rb(a) { + function qb(a) { a.eventPool = []; - a.getPooled = sb; - a.release = tb; - } - var ub = N.extend({ data: null }), - vb = N.extend({ data: null }), - wb = [9, 13, 27, 32], - xb = m.canUseDOM && "CompositionEvent" in window, - yb = null; - m.canUseDOM && "documentMode" in document && (yb = document.documentMode); - var zb = m.canUseDOM && "TextEvent" in window && !yb, - Ab = m.canUseDOM && (!xb || (yb && 8 < yb && 11 >= yb)), - Bb = String.fromCharCode(32), - Kb = { + a.getPooled = rb; + a.release = sb; + } + var tb = H.extend({ data: null }), + ub = H.extend({ data: null }), + vb = [9, 13, 27, 32], + wb = m.canUseDOM && "CompositionEvent" in window, + xb = null; + m.canUseDOM && "documentMode" in document && (xb = document.documentMode); + var yb = m.canUseDOM && "TextEvent" in window && !xb, + zb = m.canUseDOM && (!wb || (xb && 8 < xb && 11 >= xb)), + Ab = String.fromCharCode(32), + Bb = { beforeInput: { phasedRegistrationNames: { bubbled: "onBeforeInput", captured: "onBeforeInputCapture" }, - dependencies: [ - "topCompositionEnd", - "topKeyPress", - "topTextInput", - "topPaste" - ] + dependencies: ["compositionend", "keypress", "textInput", "paste"] }, compositionEnd: { phasedRegistrationNames: { bubbled: "onCompositionEnd", captured: "onCompositionEndCapture" }, - dependencies: "topBlur topCompositionEnd topKeyDown topKeyPress topKeyUp topMouseDown".split( + dependencies: "blur compositionend keydown keypress keyup mousedown".split( " " ) }, @@ -1264,7 +1303,7 @@ bubbled: "onCompositionStart", captured: "onCompositionStartCapture" }, - dependencies: "topBlur topCompositionStart topKeyDown topKeyPress topKeyUp topMouseDown".split( + dependencies: "blur compositionstart keydown keypress keyup mousedown".split( " " ) }, @@ -1273,59 +1312,59 @@ bubbled: "onCompositionUpdate", captured: "onCompositionUpdateCapture" }, - dependencies: "topBlur topCompositionUpdate topKeyDown topKeyPress topKeyUp topMouseDown".split( + dependencies: "blur compositionupdate keydown keypress keyup mousedown".split( " " ) } }, - Lb = !1; - function Mb(a, b) { + Cb = !1; + function Db(a, b) { switch (a) { - case "topKeyUp": - return -1 !== wb.indexOf(b.keyCode); - case "topKeyDown": + case "keyup": + return -1 !== vb.indexOf(b.keyCode); + case "keydown": return 229 !== b.keyCode; - case "topKeyPress": - case "topMouseDown": - case "topBlur": + case "keypress": + case "mousedown": + case "blur": return !0; default: return !1; } } - function Nb(a) { + function Eb(a) { a = a.detail; return "object" === typeof a && "data" in a ? a.data : null; } - var Ob = !1; - function Pb(a, b) { + var Fb = !1; + function Gb(a, b) { switch (a) { - case "topCompositionEnd": - return Nb(b); - case "topKeyPress": + case "compositionend": + return Eb(b); + case "keypress": if (32 !== b.which) return null; - Lb = !0; - return Bb; - case "topTextInput": - return (a = b.data), a === Bb && Lb ? null : a; + Cb = !0; + return Ab; + case "textInput": + return (a = b.data), a === Ab && Cb ? null : a; default: return null; } } - function Qb(a, b) { - if (Ob) - return "topCompositionEnd" === a || (!xb && Mb(a, b)) - ? ((a = nb()), - (M._root = null), - (M._startText = null), - (M._fallbackText = null), - (Ob = !1), + function Hb(a, b) { + if (Fb) + return "compositionend" === a || (!wb && Db(a, b)) + ? ((a = mb()), + (G._root = null), + (G._startText = null), + (G._fallbackText = null), + (Fb = !1), a) : null; switch (a) { - case "topPaste": + case "paste": return null; - case "topKeyPress": + case "keypress": if ( !(b.ctrlKey || b.altKey || b.metaKey) || (b.ctrlKey && b.altKey) @@ -1334,112 +1373,112 @@ if (b.which) return String.fromCharCode(b.which); } return null; - case "topCompositionEnd": - return Ab ? null : b.data; + case "compositionend": + return zb ? null : b.data; default: return null; } } - var Rb = { - eventTypes: Kb, + var Ib = { + eventTypes: Bb, extractEvents: function(a, b, c, d) { var e = void 0; var f = void 0; - if (xb) + if (wb) b: { switch (a) { - case "topCompositionStart": - e = Kb.compositionStart; + case "compositionstart": + e = Bb.compositionStart; break b; - case "topCompositionEnd": - e = Kb.compositionEnd; + case "compositionend": + e = Bb.compositionEnd; break b; - case "topCompositionUpdate": - e = Kb.compositionUpdate; + case "compositionupdate": + e = Bb.compositionUpdate; break b; } e = void 0; } else - Ob - ? Mb(a, c) && (e = Kb.compositionEnd) - : "topKeyDown" === a && + Fb + ? Db(a, c) && (e = Bb.compositionEnd) + : "keydown" === a && 229 === c.keyCode && - (e = Kb.compositionStart); + (e = Bb.compositionStart); e - ? (Ab && - (Ob || e !== Kb.compositionStart - ? e === Kb.compositionEnd && Ob && (f = nb()) - : ((M._root = d), (M._startText = ob()), (Ob = !0))), - (e = ub.getPooled(e, b, c, d)), - f ? (e.data = f) : ((f = Nb(c)), null !== f && (e.data = f)), - ib(e), + ? (zb && + (Fb || e !== Bb.compositionStart + ? e === Bb.compositionEnd && Fb && (f = mb()) + : ((G._root = d), (G._startText = nb()), (Fb = !0))), + (e = tb.getPooled(e, b, c, d)), + f ? (e.data = f) : ((f = Eb(c)), null !== f && (e.data = f)), + Ya(e), (f = e)) : (f = null); - (a = zb ? Pb(a, c) : Qb(a, c)) - ? ((b = vb.getPooled(Kb.beforeInput, b, c, d)), + (a = yb ? Gb(a, c) : Hb(a, c)) + ? ((b = ub.getPooled(Bb.beforeInput, b, c, d)), (b.data = a), - ib(b)) + Ya(b)) : (b = null); return null === f ? b : null === b ? f : [f, b]; } }, - Sb = null, - Tb = { + Jb = null, + Kb = { injectFiberControlledHostComponent: function(a) { - Sb = a; + Jb = a; } }, - Ub = null, - Vb = null; - function Wb(a) { - if ((a = Ea(a))) { - Sb && "function" === typeof Sb.restoreControlledState + Lb = null, + Mb = null; + function Nb(a) { + if ((a = xa(a))) { + Jb && "function" === typeof Jb.restoreControlledState ? void 0 - : D("194"); - var b = Da(a.stateNode); - Sb.restoreControlledState(a.stateNode, a.type, b); + : A("194"); + var b = wa(a.stateNode); + Jb.restoreControlledState(a.stateNode, a.type, b); } } - function Xb(a) { - Ub ? (Vb ? Vb.push(a) : (Vb = [a])) : (Ub = a); + function Ob(a) { + Lb ? (Mb ? Mb.push(a) : (Mb = [a])) : (Lb = a); } - function Yb() { - return null !== Ub || null !== Vb; + function Pb() { + return null !== Lb || null !== Mb; } - function Zb() { - if (Ub) { - var a = Ub, - b = Vb; - Vb = Ub = null; - Wb(a); - if (b) for (a = 0; a < b.length; a++) Wb(b[a]); + function Qb() { + if (Lb) { + var a = Lb, + b = Mb; + Mb = Lb = null; + Nb(a); + if (b) for (a = 0; a < b.length; a++) Nb(b[a]); } } - var $b = Object.freeze({ - injection: Tb, - enqueueStateRestore: Xb, - needsStateRestore: Yb, - restoreStateIfNeeded: Zb - }); - function ac(a, b) { + var Rb = { + injection: Kb, + enqueueStateRestore: Ob, + needsStateRestore: Pb, + restoreStateIfNeeded: Qb + }; + function Sb(a, b) { return a(b); } - function bc(a, b, c) { + function Tb(a, b, c) { return a(b, c); } - function cc() {} - var dc = !1; - function ec(a, b) { - if (dc) return a(b); - dc = !0; + function Ub() {} + var Vb = !1; + function Wb(a, b) { + if (Vb) return a(b); + Vb = !0; try { - return ac(a, b); + return Sb(a, b); } finally { - (dc = !1), Yb() && (cc(), Zb()); + (Vb = !1), Pb() && (Ub(), Qb()); } } - var fc = { + var Xb = { color: !0, date: !0, datetime: !0, @@ -1456,16 +1495,16 @@ url: !0, week: !0 }; - function gc(a) { + function Yb(a) { var b = a && a.nodeName && a.nodeName.toLowerCase(); - return "input" === b ? !!fc[a.type] : "textarea" === b ? !0 : !1; + return "input" === b ? !!Xb[a.type] : "textarea" === b ? !0 : !1; } - function hc(a) { + function Zb(a) { a = a.target || window; a.correspondingUseElement && (a = a.correspondingUseElement); return 3 === a.nodeType ? a.parentNode : a; } - function ic(a, b) { + function $b(a, b) { if (!m.canUseDOM || (b && !("addEventListener" in document))) return !1; a = "on" + a; b = a in document; @@ -1475,7 +1514,7 @@ (b = "function" === typeof b[a])); return b; } - function jc(a) { + function ac(a) { var b = a.type; return ( (a = a.nodeName) && @@ -1483,99 +1522,109 @@ ("checkbox" === b || "radio" === b) ); } - function kc(a) { - var b = jc(a) ? "checked" : "value", + function bc(a) { + var b = ac(a) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), d = "" + a[b]; if ( !a.hasOwnProperty(b) && + "undefined" !== typeof c && "function" === typeof c.get && "function" === typeof c.set - ) - return ( - Object.defineProperty(a, b, { - configurable: !0, - get: function() { - return c.get.call(this); - }, - set: function(a) { - d = "" + a; - c.set.call(this, a); - } - }), - Object.defineProperty(a, b, { enumerable: c.enumerable }), - { - getValue: function() { - return d; - }, - setValue: function(a) { - d = "" + a; - }, - stopTracking: function() { - a._valueTracker = null; - delete a[b]; - } + ) { + var e = c.get, + f = c.set; + Object.defineProperty(a, b, { + configurable: !0, + get: function() { + return e.call(this); + }, + set: function(a) { + d = "" + a; + f.call(this, a); } - ); + }); + Object.defineProperty(a, b, { enumerable: c.enumerable }); + return { + getValue: function() { + return d; + }, + setValue: function(a) { + d = "" + a; + }, + stopTracking: function() { + a._valueTracker = null; + delete a[b]; + } + }; + } } - function lc(a) { - a._valueTracker || (a._valueTracker = kc(a)); + function cc(a) { + a._valueTracker || (a._valueTracker = bc(a)); } - function mc(a) { + function dc(a) { if (!a) return !1; var b = a._valueTracker; if (!b) return !0; var c = b.getValue(); var d = ""; - a && (d = jc(a) ? (a.checked ? "true" : "false") : a.value); + a && (d = ac(a) ? (a.checked ? "true" : "false") : a.value); a = d; return a !== c ? (b.setValue(a), !0) : !1; } - var nc = - ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED + var ec = + ca.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED .ReactCurrentOwner, - O = "function" === typeof Symbol && Symbol["for"], - oc = O ? Symbol["for"]("react.element") : 60103, - pc = O ? Symbol["for"]("react.call") : 60104, - qc = O ? Symbol["for"]("react.return") : 60105, - rc = O ? Symbol["for"]("react.portal") : 60106, - sc = O ? Symbol["for"]("react.fragment") : 60107, - tc = O ? Symbol["for"]("react.strict_mode") : 60108, - uc = O ? Symbol["for"]("react.provider") : 60109, - vc = O ? Symbol["for"]("react.context") : 60110, - wc = O ? Symbol["for"]("react.async_mode") : 60111, - xc = O ? Symbol["for"]("react.forward_ref") : 60112, - yc = "function" === typeof Symbol && Symbol.iterator; - function zc(a) { + I = "function" === typeof Symbol && Symbol.for, + fc = I ? Symbol.for("react.element") : 60103, + gc = I ? Symbol.for("react.portal") : 60106, + hc = I ? Symbol.for("react.fragment") : 60107, + ic = I ? Symbol.for("react.strict_mode") : 60108, + jc = I ? Symbol.for("react.profiler") : 60114, + mc = I ? Symbol.for("react.provider") : 60109, + nc = I ? Symbol.for("react.context") : 60110, + oc = I ? Symbol.for("react.async_mode") : 60111, + pc = I ? Symbol.for("react.forward_ref") : 60112, + qc = I ? Symbol.for("react.timeout") : 60113, + rc = "function" === typeof Symbol && Symbol.iterator; + function sc(a) { if (null === a || "undefined" === typeof a) return null; - a = (yc && a[yc]) || a["@@iterator"]; + a = (rc && a[rc]) || a["@@iterator"]; return "function" === typeof a ? a : null; } - function Ac(a) { - a = a.type; - if ("function" === typeof a) return a.displayName || a.name; - if ("string" === typeof a) return a; - switch (a) { - case sc: + function tc(a) { + var b = a.type; + if ("function" === typeof b) return b.displayName || b.name; + if ("string" === typeof b) return b; + switch (b) { + case oc: + return "AsyncMode"; + case nc: + return "Context.Consumer"; + case hc: return "ReactFragment"; - case rc: + case gc: return "ReactPortal"; - case pc: - return "ReactCall"; + case jc: + return "Profiler(" + a.pendingProps.id + ")"; + case mc: + return "Context.Provider"; + case ic: + return "StrictMode"; case qc: - return "ReactReturn"; + return "Timeout"; } - if ("object" === typeof a && null !== a) - switch (a.$$typeof) { - case xc: + if ("object" === typeof b && null !== b) + switch (b.$$typeof) { + case pc: return ( - (a = a.render.displayName || a.render.name || ""), + (a = b.render.displayName || b.render.name || ""), "" !== a ? "ForwardRef(" + a + ")" : "ForwardRef" ); } return null; } - function Bc(a) { + function vc(a) { var b = ""; do { a: switch (a.tag) { @@ -1585,9 +1634,9 @@ case 5: var c = a._debugOwner, d = a._debugSource; - var e = Ac(a); + var e = tc(a); var f = null; - c && (f = Ac(c)); + c && (f = tc(c)); c = d; e = "\n in " + @@ -1606,21 +1655,21 @@ e = ""; } b += e; - a = a["return"]; + a = a.return; } while (a); return b; } - var Cc = /^[: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]*$/, - Dc = {}, - Ec = {}; - function Fc(a) { - if (Ec.hasOwnProperty(a)) return !0; - if (Dc.hasOwnProperty(a)) return !1; - if (Cc.test(a)) return (Ec[a] = !0); - Dc[a] = !0; + var wc = /^[: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]*$/, + xc = {}, + yc = {}; + function zc(a) { + if (yc.hasOwnProperty(a)) return !0; + if (xc.hasOwnProperty(a)) return !1; + if (wc.test(a)) return (yc[a] = !0); + xc[a] = !0; return !1; } - function Gc(a, b, c, d) { + function Ac(a, b, c, d) { if (null !== c && 0 === c.type) return !1; switch (typeof b) { case "function": @@ -1635,8 +1684,9 @@ return !1; } } - function Hc(a, b, c, d) { - if (null === b || "undefined" === typeof b || Gc(a, b, c, d)) return !0; + function Bc(a, b, c, d) { + if (null === b || "undefined" === typeof b || Ac(a, b, c, d)) return !0; + if (d) return !1; if (null !== c) switch (c.type) { case 3: @@ -1650,7 +1700,7 @@ } return !1; } - function U(a, b, c, d, e) { + function J(a, b, c, d, e) { this.acceptsBooleans = 2 === b || 3 === b || 4 === b; this.attributeName = d; this.attributeNamespace = e; @@ -1658,11 +1708,11 @@ this.propertyName = a; this.type = b; } - var V = {}; + var K = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style" .split(" ") .forEach(function(a) { - V[a] = new U(a, 0, !1, a, null); + K[a] = new J(a, 0, !1, a, null); }); [ ["acceptCharset", "accept-charset"], @@ -1671,58 +1721,58 @@ ["httpEquiv", "http-equiv"] ].forEach(function(a) { var b = a[0]; - V[b] = new U(b, 1, !1, a[1], null); + K[b] = new J(b, 1, !1, a[1], null); }); ["contentEditable", "draggable", "spellCheck", "value"].forEach(function( a ) { - V[a] = new U(a, 2, !1, a.toLowerCase(), null); + K[a] = new J(a, 2, !1, a.toLowerCase(), null); }); ["autoReverse", "externalResourcesRequired", "preserveAlpha"].forEach( function(a) { - V[a] = new U(a, 2, !1, a, null); + K[a] = new J(a, 2, !1, a, null); } ); "allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope" .split(" ") .forEach(function(a) { - V[a] = new U(a, 3, !1, a.toLowerCase(), null); + K[a] = new J(a, 3, !1, a.toLowerCase(), null); }); ["checked", "multiple", "muted", "selected"].forEach(function(a) { - V[a] = new U(a, 3, !0, a.toLowerCase(), null); + K[a] = new J(a, 3, !0, a.toLowerCase(), null); }); ["capture", "download"].forEach(function(a) { - V[a] = new U(a, 4, !1, a.toLowerCase(), null); + K[a] = new J(a, 4, !1, a.toLowerCase(), null); }); ["cols", "rows", "size", "span"].forEach(function(a) { - V[a] = new U(a, 6, !1, a.toLowerCase(), null); + K[a] = new J(a, 6, !1, a.toLowerCase(), null); }); ["rowSpan", "start"].forEach(function(a) { - V[a] = new U(a, 5, !1, a.toLowerCase(), null); + K[a] = new J(a, 5, !1, a.toLowerCase(), null); }); - var Sc = /[\-:]([a-z])/g; - function Tc(a) { + var Cc = /[\-:]([a-z])/g; + function Dc(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(Sc, Tc); - V[b] = new U(b, 1, !1, a, null); + var b = a.replace(Cc, Dc); + K[b] = new J(b, 1, !1, a, null); }); "xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type" .split(" ") .forEach(function(a) { - var b = a.replace(Sc, Tc); - V[b] = new U(b, 1, !1, a, "http://www.w3.org/1999/xlink"); + var b = a.replace(Cc, Dc); + K[b] = new J(b, 1, !1, a, "http://www.w3.org/1999/xlink"); }); ["xml:base", "xml:lang", "xml:space"].forEach(function(a) { - var b = a.replace(Sc, Tc); - V[b] = new U(b, 1, !1, a, "http://www.w3.org/XML/1998/namespace"); + var b = a.replace(Cc, Dc); + K[b] = new J(b, 1, !1, a, "http://www.w3.org/XML/1998/namespace"); }); - V.tabIndex = new U("tabIndex", 1, !1, "tabindex", null); - function Uc(a, b, c, d) { - var e = V.hasOwnProperty(b) ? V[b] : null; + K.tabIndex = new J("tabIndex", 1, !1, "tabindex", null); + function Ec(a, b, c, d) { + var e = K.hasOwnProperty(b) ? K[b] : null; var f = null !== e ? 0 === e.type @@ -1734,9 +1784,9 @@ ? !1 : !0; f || - (Hc(b, c, e, d) && (c = null), + (Bc(b, c, e, d) && (c = null), d || null === e - ? Fc(b) && + ? zc(b) && (null === c ? a.removeAttribute(b) : a.setAttribute(b, "" + c)) : e.mustUseProperty ? (a[e.propertyName] = null === c ? (3 === e.type ? !1 : "") : c) @@ -1748,19 +1798,19 @@ (c = 3 === e || (4 === e && !0 === c) ? "" : "" + c), d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c)))); } - function Vc(a, b) { + function Fc(a, b) { var c = b.checked; - return A({}, b, { + return p({}, b, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != c ? c : a._wrapperState.initialChecked }); } - function Wc(a, b) { + function Gc(a, b) { var c = null == b.defaultValue ? "" : b.defaultValue, d = null != b.checked ? b.checked : b.defaultChecked; - c = Xc(null != b.value ? b.value : c); + c = Hc(null != b.value ? b.value : c); a._wrapperState = { initialChecked: d, initialValue: c, @@ -1770,26 +1820,26 @@ : null != b.value }; } - function Yc(a, b) { + function Ic(a, b) { b = b.checked; - null != b && Uc(a, "checked", b, !1); + null != b && Ec(a, "checked", b, !1); } - function Zc(a, b) { - Yc(a, b); - var c = Xc(b.value); + function Jc(a, b) { + Ic(a, b); + var c = Hc(b.value); if (null != c) if ("number" === b.type) { if ((0 === c && "" === a.value) || a.value != c) a.value = "" + c; } else a.value !== "" + c && (a.value = "" + c); b.hasOwnProperty("value") - ? $c(a, b.type, c) + ? Kc(a, b.type, c) : b.hasOwnProperty("defaultValue") && - $c(a, b.type, Xc(b.defaultValue)); + Kc(a, b.type, Hc(b.defaultValue)); null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked); } - function ad(a, b) { + function Lc(a, b) { if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) "" === a.value && (a.value = "" + a._wrapperState.initialValue), (a.defaultValue = "" + a._wrapperState.initialValue); @@ -1799,13 +1849,13 @@ a.defaultChecked = !a.defaultChecked; "" !== b && (a.name = b); } - function $c(a, b, c) { + function Kc(a, b, c) { if ("number" !== b || a.ownerDocument.activeElement !== a) null == c ? (a.defaultValue = "" + a._wrapperState.initialValue) : a.defaultValue !== "" + c && (a.defaultValue = "" + c); } - function Xc(a) { + function Hc(a) { switch (typeof a) { case "boolean": case "number": @@ -1817,117 +1867,113 @@ return ""; } } - var bd = { + var Mc = { change: { phasedRegistrationNames: { bubbled: "onChange", captured: "onChangeCapture" }, - dependencies: "topBlur topChange topClick topFocus topInput topKeyDown topKeyUp topSelectionChange".split( + dependencies: "blur change click focus input keydown keyup selectionchange".split( " " ) } }; - function cd(a, b, c) { - a = N.getPooled(bd.change, a, b, c); + function Nc(a, b, c) { + a = H.getPooled(Mc.change, a, b, c); a.type = "change"; - Xb(c); - ib(a); + Ob(c); + Ya(a); return a; } - var dd = null, - ed = null; - function fd(a) { - Pa(a, !1); + var Oc = null, + Pc = null; + function Qc(a) { + Ia(a, !1); } - function gd(a) { - var b = Va(a); - if (mc(b)) return a; + function Rc(a) { + var b = Oa(a); + if (dc(b)) return a; } - function hd(a, b) { - if ("topChange" === a) return b; + function Sc(a, b) { + if ("change" === a) return b; } - var id = !1; + var Tc = !1; m.canUseDOM && - (id = - ic("input") && (!document.documentMode || 9 < document.documentMode)); - function jd() { - dd && (dd.detachEvent("onpropertychange", kd), (ed = dd = null)); + (Tc = + $b("input") && (!document.documentMode || 9 < document.documentMode)); + function Uc() { + Oc && (Oc.detachEvent("onpropertychange", Vc), (Pc = Oc = null)); } - function kd(a) { + function Vc(a) { "value" === a.propertyName && - gd(ed) && - ((a = cd(ed, a, hc(a))), ec(fd, a)); + Rc(Pc) && + ((a = Nc(Pc, a, Zb(a))), Wb(Qc, a)); } - function ld(a, b, c) { - "topFocus" === a - ? (jd(), (dd = b), (ed = c), dd.attachEvent("onpropertychange", kd)) - : "topBlur" === a && jd(); + function Wc(a, b, c) { + "focus" === a + ? (Uc(), (Oc = b), (Pc = c), Oc.attachEvent("onpropertychange", Vc)) + : "blur" === a && Uc(); } - function md(a) { - if ( - "topSelectionChange" === a || - "topKeyUp" === a || - "topKeyDown" === a - ) - return gd(ed); + function Xc(a) { + if ("selectionchange" === a || "keyup" === a || "keydown" === a) + return Rc(Pc); } - function nd(a, b) { - if ("topClick" === a) return gd(b); + function Yc(a, b) { + if ("click" === a) return Rc(b); } - function od(a, b) { - if ("topInput" === a || "topChange" === a) return gd(b); + function Zc(a, b) { + if ("input" === a || "change" === a) return Rc(b); } - var pd = { - eventTypes: bd, - _isInputEventSupported: id, + var $c = { + eventTypes: Mc, + _isInputEventSupported: Tc, extractEvents: function(a, b, c, d) { - var e = b ? Va(b) : window, + var e = b ? Oa(b) : window, f = void 0, - h = void 0, - g = e.nodeName && e.nodeName.toLowerCase(); - "select" === g || ("input" === g && "file" === e.type) - ? (f = hd) - : gc(e) - ? id - ? (f = od) - : ((f = md), (h = ld)) - : (g = e.nodeName) && - "input" === g.toLowerCase() && + g = void 0, + h = e.nodeName && e.nodeName.toLowerCase(); + "select" === h || ("input" === h && "file" === e.type) + ? (f = Sc) + : Yb(e) + ? Tc + ? (f = Zc) + : ((f = Xc), (g = Wc)) + : (h = e.nodeName) && + "input" === h.toLowerCase() && ("checkbox" === e.type || "radio" === e.type) && - (f = nd); - if (f && (f = f(a, b))) return cd(f, c, d); - h && h(a, e, b); - "topBlur" === a && + (f = Yc); + if (f && (f = f(a, b))) return Nc(f, c, d); + g && g(a, e, b); + "blur" === a && null != b && (a = b._wrapperState || e._wrapperState) && a.controlled && "number" === e.type && - $c(e, "number", e.value); + Kc(e, "number", e.value); } }, - qd = N.extend({ + ad = H.extend({ view: null, detail: null }), - rd = { + bd = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; - function sd(a) { + function cd(a) { var b = this.nativeEvent; return b.getModifierState ? b.getModifierState(a) - : (a = rd[a]) + : (a = bd[a]) ? !!b[a] : !1; } - function td() { - return sd; + function dd() { + return cd; } - var ud = qd.extend({ + var ed = ad.extend({ screenX: null, screenY: null, clientX: null, @@ -1938,7 +1984,7 @@ shiftKey: null, altKey: null, metaKey: null, - getModifierState: td, + getModifierState: dd, button: null, buttons: null, relatedTarget: function(a) { @@ -1948,173 +1994,198 @@ ); } }), - vd = { + fd = ed.extend({ + pointerId: null, + width: null, + height: null, + pressure: null, + tiltX: null, + tiltY: null, + pointerType: null, + isPrimary: null + }), + gd = { mouseEnter: { registrationName: "onMouseEnter", - dependencies: ["topMouseOut", "topMouseOver"] + dependencies: ["mouseout", "mouseover"] }, mouseLeave: { registrationName: "onMouseLeave", - dependencies: ["topMouseOut", "topMouseOver"] + dependencies: ["mouseout", "mouseover"] + }, + pointerEnter: { + registrationName: "onPointerEnter", + dependencies: ["pointerout", "pointerover"] + }, + pointerLeave: { + registrationName: "onPointerLeave", + dependencies: ["pointerout", "pointerover"] } }, - wd = { - eventTypes: vd, + hd = { + eventTypes: gd, extractEvents: function(a, b, c, d) { - if ( - ("topMouseOver" === a && (c.relatedTarget || c.fromElement)) || - ("topMouseOut" !== a && "topMouseOver" !== a) - ) + var e = "mouseover" === a || "pointerover" === a, + f = "mouseout" === a || "pointerout" === a; + if ((e && (c.relatedTarget || c.fromElement)) || (!f && !e)) return null; - var e = + e = d.window === d ? d : (e = d.ownerDocument) ? e.defaultView || e.parentWindow : window; - "topMouseOut" === a - ? ((a = b), - (b = (b = c.relatedTarget || c.toElement) ? Ua(b) : null)) - : (a = null); - if (a === b) return null; - var f = null == a ? e : Va(a); - e = null == b ? e : Va(b); - var h = ud.getPooled(vd.mouseLeave, a, c, d); - h.type = "mouseleave"; - h.target = f; + f + ? ((f = b), + (b = (b = c.relatedTarget || c.toElement) ? Na(b) : null)) + : (f = null); + if (f === b) return null; + var g = void 0, + h = void 0, + k = void 0, + n = void 0; + if ("mouseout" === a || "mouseover" === a) + (g = ed), (h = gd.mouseLeave), (k = gd.mouseEnter), (n = "mouse"); + else if ("pointerout" === a || "pointerover" === a) + (g = fd), + (h = gd.pointerLeave), + (k = gd.pointerEnter), + (n = "pointer"); + a = null == f ? e : Oa(f); + e = null == b ? e : Oa(b); + h = g.getPooled(h, f, c, d); + h.type = n + "leave"; + h.target = a; h.relatedTarget = e; - c = ud.getPooled(vd.mouseEnter, b, c, d); - c.type = "mouseenter"; + c = g.getPooled(k, b, c, d); + c.type = n + "enter"; c.target = e; - c.relatedTarget = f; - jb(h, c, a, b); + c.relatedTarget = a; + Za(h, c, f, b); return [h, c]; } }; - function xd(a) { + function id(a) { var b = a; - if (a.alternate) for (; b["return"]; ) b = b["return"]; + if (a.alternate) for (; b.return; ) b = b.return; else { if (0 !== (b.effectTag & 2)) return 1; - for (; b["return"]; ) - if (((b = b["return"]), 0 !== (b.effectTag & 2))) return 1; + for (; b.return; ) + if (((b = b.return), 0 !== (b.effectTag & 2))) return 1; } return 3 === b.tag ? 2 : 3; } - function yd(a) { - return (a = a._reactInternalFiber) ? 2 === xd(a) : !1; - } - function zd(a) { - 2 !== xd(a) ? D("188") : void 0; + function jd(a) { + 2 !== id(a) ? A("188") : void 0; } - function Ad(a) { + function kd(a) { var b = a.alternate; if (!b) - return (b = xd(a)), 3 === b ? D("188") : void 0, 1 === b ? null : a; + return (b = id(a)), 3 === b ? A("188") : void 0, 1 === b ? null : a; for (var c = a, d = b; ; ) { - var e = c["return"], + var e = c.return, f = e ? e.alternate : null; if (!e || !f) break; if (e.child === f.child) { - for (var h = e.child; h; ) { - if (h === c) return zd(e), a; - if (h === d) return zd(e), b; - h = h.sibling; + for (var g = e.child; g; ) { + if (g === c) return jd(e), a; + if (g === d) return jd(e), b; + g = g.sibling; } - D("188"); + A("188"); } - if (c["return"] !== d["return"]) (c = e), (d = f); + if (c.return !== d.return) (c = e), (d = f); else { - h = !1; - for (var g = e.child; g; ) { - if (g === c) { - h = !0; + g = !1; + for (var h = e.child; h; ) { + if (h === c) { + g = !0; c = e; d = f; break; } - if (g === d) { - h = !0; + if (h === d) { + g = !0; d = e; c = f; break; } - g = g.sibling; + h = h.sibling; } - if (!h) { - for (g = f.child; g; ) { - if (g === c) { - h = !0; + if (!g) { + for (h = f.child; h; ) { + if (h === c) { + g = !0; c = f; d = e; break; } - if (g === d) { - h = !0; + if (h === d) { + g = !0; d = f; c = e; break; } - g = g.sibling; + h = h.sibling; } - h ? void 0 : D("189"); + g ? void 0 : A("189"); } } - c.alternate !== d ? D("190") : void 0; + c.alternate !== d ? A("190") : void 0; } - 3 !== c.tag ? D("188") : void 0; + 3 !== c.tag ? A("188") : void 0; return c.stateNode.current === c ? a : b; } - function Bd(a) { - a = Ad(a); + function ld(a) { + a = kd(a); if (!a) return null; for (var b = a; ; ) { if (5 === b.tag || 6 === b.tag) return b; - if (b.child) (b.child["return"] = b), (b = b.child); + 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"]; + if (!b.return || b.return === a) return null; + b = b.return; } - b.sibling["return"] = b["return"]; + b.sibling.return = b.return; b = b.sibling; } } return null; } - function Cd(a) { - a = Ad(a); + function md(a) { + a = kd(a); if (!a) return null; for (var b = a; ; ) { if (5 === b.tag || 6 === b.tag) return b; - if (b.child && 4 !== b.tag) (b.child["return"] = b), (b = b.child); + if (b.child && 4 !== b.tag) (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"]; + if (!b.return || b.return === a) return null; + b = b.return; } - b.sibling["return"] = b["return"]; + b.sibling.return = b.return; b = b.sibling; } } return null; } - var Dd = N.extend({ + var nd = H.extend({ animationName: null, elapsedTime: null, pseudoElement: null }), - Ed = N.extend({ + od = H.extend({ clipboardData: function(a) { return "clipboardData" in a ? a.clipboardData : window.clipboardData; } }), - Fd = qd.extend({ relatedTarget: null }); - function Gd(a) { + pd = ad.extend({ relatedTarget: null }); + function qd(a) { var b = a.keyCode; "charCode" in a ? ((a = a.charCode), 0 === a && 13 === b && (a = 13)) @@ -2122,7 +2193,7 @@ 10 === a && (a = 13); return 32 <= a || 13 === a ? a : 0; } - var Hd = { + var rd = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", @@ -2136,7 +2207,7 @@ Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, - Id = { + sd = { 8: "Backspace", 9: "Tab", 12: "Clear", @@ -2174,16 +2245,16 @@ 145: "ScrollLock", 224: "Meta" }, - Jd = qd.extend({ + td = ad.extend({ key: function(a) { if (a.key) { - var b = Hd[a.key] || a.key; + var b = rd[a.key] || a.key; if ("Unidentified" !== b) return b; } return "keypress" === a.type - ? ((a = Gd(a)), 13 === a ? "Enter" : String.fromCharCode(a)) + ? ((a = qd(a)), 13 === a ? "Enter" : String.fromCharCode(a)) : "keydown" === a.type || "keyup" === a.type - ? Id[a.keyCode] || "Unidentified" + ? sd[a.keyCode] || "Unidentified" : ""; }, location: null, @@ -2193,23 +2264,23 @@ metaKey: null, repeat: null, locale: null, - getModifierState: td, + getModifierState: dd, charCode: function(a) { - return "keypress" === a.type ? Gd(a) : 0; + return "keypress" === a.type ? qd(a) : 0; }, keyCode: function(a) { return "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0; }, which: function(a) { return "keypress" === a.type - ? Gd(a) + ? qd(a) : "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0; } }), - Kd = ud.extend({ dataTransfer: null }), - Ld = qd.extend({ + ud = ed.extend({ dataTransfer: null }), + vd = ad.extend({ touches: null, targetTouches: null, changedTouches: null, @@ -2217,14 +2288,14 @@ metaKey: null, ctrlKey: null, shiftKey: null, - getModifierState: td + getModifierState: dd }), - Md = N.extend({ + wd = H.extend({ propertyName: null, elapsedTime: null, pseudoElement: null }), - Nd = ud.extend({ + xd = ed.extend({ deltaX: function(a) { return "deltaX" in a ? a.deltaX @@ -2244,107 +2315,189 @@ deltaZ: null, deltaMode: null }), - Od = {}, - Pd = {}; - function Qd(a, b) { - var c = a[0].toUpperCase() + a.slice(1), - d = "on" + c; - c = "top" + c; + yd = [ + ["abort", "abort"], + [fb, "animationEnd"], + [gb, "animationIteration"], + [hb, "animationStart"], + ["canplay", "canPlay"], + ["canplaythrough", "canPlayThrough"], + ["drag", "drag"], + ["dragenter", "dragEnter"], + ["dragexit", "dragExit"], + ["dragleave", "dragLeave"], + ["dragover", "dragOver"], + ["durationchange", "durationChange"], + ["emptied", "emptied"], + ["encrypted", "encrypted"], + ["ended", "ended"], + ["error", "error"], + ["gotpointercapture", "gotPointerCapture"], + ["load", "load"], + ["loadeddata", "loadedData"], + ["loadedmetadata", "loadedMetadata"], + ["loadstart", "loadStart"], + ["lostpointercapture", "lostPointerCapture"], + ["mousemove", "mouseMove"], + ["mouseout", "mouseOut"], + ["mouseover", "mouseOver"], + ["playing", "playing"], + ["pointermove", "pointerMove"], + ["pointerout", "pointerOut"], + ["pointerover", "pointerOver"], + ["progress", "progress"], + ["scroll", "scroll"], + ["seeking", "seeking"], + ["stalled", "stalled"], + ["suspend", "suspend"], + ["timeupdate", "timeUpdate"], + ["toggle", "toggle"], + ["touchmove", "touchMove"], + [ib, "transitionEnd"], + ["waiting", "waiting"], + ["wheel", "wheel"] + ], + zd = {}, + Ad = {}; + function Bd(a, b) { + var c = a[0]; + a = a[1]; + var d = "on" + (a[0].toUpperCase() + a.slice(1)); b = { phasedRegistrationNames: { bubbled: d, captured: d + "Capture" }, dependencies: [c], isInteractive: b }; - Od[a] = b; - Pd[c] = b; + zd[a] = b; + Ad[c] = b; } - "blur cancel click close contextMenu copy cut doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play rateChange reset seeked submit touchCancel touchEnd touchStart volumeChange" - .split(" ") - .forEach(function(a) { - Qd(a, !0); - }); - "abort animationEnd animationIteration animationStart canPlay canPlayThrough drag dragEnter dragExit dragLeave dragOver durationChange emptied encrypted ended error load loadedData loadedMetadata loadStart mouseMove mouseOut mouseOver playing progress scroll seeking stalled suspend timeUpdate toggle touchMove transitionEnd waiting wheel" - .split(" ") - .forEach(function(a) { - Qd(a, !1); - }); - var Rd = { - eventTypes: Od, + [ + ["blur", "blur"], + ["cancel", "cancel"], + ["click", "click"], + ["close", "close"], + ["contextmenu", "contextMenu"], + ["copy", "copy"], + ["cut", "cut"], + ["dblclick", "doubleClick"], + ["dragend", "dragEnd"], + ["dragstart", "dragStart"], + ["drop", "drop"], + ["focus", "focus"], + ["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"] + ].forEach(function(a) { + Bd(a, !0); + }); + yd.forEach(function(a) { + Bd(a, !1); + }); + var Cd = { + eventTypes: zd, isInteractiveTopLevelEventType: function(a) { - a = Pd[a]; + a = Ad[a]; return void 0 !== a && !0 === a.isInteractive; }, extractEvents: function(a, b, c, d) { - var e = Pd[a]; + var e = Ad[a]; if (!e) return null; switch (a) { - case "topKeyPress": - if (0 === Gd(c)) return null; - case "topKeyDown": - case "topKeyUp": - a = Jd; + case "keypress": + if (0 === qd(c)) return null; + case "keydown": + case "keyup": + a = td; break; - case "topBlur": - case "topFocus": - a = Fd; + case "blur": + case "focus": + a = pd; break; - case "topClick": + case "click": if (2 === c.button) return null; - case "topDoubleClick": - case "topMouseDown": - case "topMouseMove": - case "topMouseUp": - case "topMouseOut": - case "topMouseOver": - case "topContextMenu": + case "dblclick": + case "mousedown": + case "mousemove": + case "mouseup": + case "mouseout": + case "mouseover": + case "contextmenu": + a = ed; + break; + case "drag": + case "dragend": + case "dragenter": + case "dragexit": + case "dragleave": + case "dragover": + case "dragstart": + case "drop": a = ud; break; - case "topDrag": - case "topDragEnd": - case "topDragEnter": - case "topDragExit": - case "topDragLeave": - case "topDragOver": - case "topDragStart": - case "topDrop": - a = Kd; + case "touchcancel": + case "touchend": + case "touchmove": + case "touchstart": + a = vd; break; - case "topTouchCancel": - case "topTouchEnd": - case "topTouchMove": - case "topTouchStart": - a = Ld; + case fb: + case gb: + case hb: + a = nd; break; - case "topAnimationEnd": - case "topAnimationIteration": - case "topAnimationStart": - a = Dd; + case ib: + a = wd; break; - case "topTransitionEnd": - a = Md; + case "scroll": + a = ad; break; - case "topScroll": - a = qd; + case "wheel": + a = xd; break; - case "topWheel": - a = Nd; + case "copy": + case "cut": + case "paste": + a = od; break; - case "topCopy": - case "topCut": - case "topPaste": - a = Ed; + case "gotpointercapture": + case "lostpointercapture": + case "pointercancel": + case "pointerdown": + case "pointermove": + case "pointerout": + case "pointerover": + case "pointerup": + a = fd; break; default: - a = N; + a = H; } b = a.getPooled(e, b, c, d); - ib(b); + Ya(b); return b; } }, - Sd = Rd.isInteractiveTopLevelEventType, - Td = []; - function Ud(a) { + Dd = Cd.isInteractiveTopLevelEventType, + Ed = []; + function Fd(a) { var b = a.targetInst; do { if (!b) { @@ -2352,40 +2505,40 @@ break; } var c; - for (c = b; c["return"]; ) c = c["return"]; + for (c = b; c.return; ) c = c.return; c = 3 !== c.tag ? null : c.stateNode.containerInfo; if (!c) break; a.ancestors.push(b); - b = Ua(c); + b = Na(c); } while (b); for (c = 0; c < a.ancestors.length; c++) (b = a.ancestors[c]), - Qa(a.topLevelType, b, a.nativeEvent, hc(a.nativeEvent)); - } - var Vd = !0; - function Wd(a) { - Vd = !!a; - } - function W(a, b, c) { - if (!c) return null; - a = (Sd(a) ? Xd : Yd).bind(null, a); - c.addEventListener(b, a, !1); - } - function Zd(a, b, c) { - if (!c) return null; - a = (Sd(a) ? Xd : Yd).bind(null, a); - c.addEventListener(b, a, !0); - } - function Xd(a, b) { - bc(Yd, a, b); - } - function Yd(a, b) { - if (Vd) { - var c = hc(b); - c = Ua(c); - null !== c && "number" === typeof c.tag && 2 !== xd(c) && (c = null); - if (Td.length) { - var d = Td.pop(); + Ja(a.topLevelType, b, a.nativeEvent, Zb(a.nativeEvent)); + } + var Gd = !0; + function Id(a) { + Gd = !!a; + } + function L(a, b) { + if (!b) return null; + var c = (Dd(a) ? Jd : Kd).bind(null, a); + b.addEventListener(a, c, !1); + } + function Ld(a, b) { + if (!b) return null; + var c = (Dd(a) ? Jd : Kd).bind(null, a); + b.addEventListener(a, c, !0); + } + function Jd(a, b) { + Tb(Kd, a, b); + } + function Kd(a, b) { + if (Gd) { + var c = Zb(b); + c = Na(c); + null === c || "number" !== typeof c.tag || 2 === id(c) || (c = null); + if (Ed.length) { + var d = Ed.pop(); d.topLevelType = a; d.nativeEvent = b; d.targetInst = c; @@ -2398,147 +2551,42 @@ ancestors: [] }; try { - ec(Ud, a); + Wb(Fd, a); } finally { (a.topLevelType = null), (a.nativeEvent = null), (a.targetInst = null), (a.ancestors.length = 0), - 10 > Td.length && Td.push(a); + 10 > Ed.length && Ed.push(a); } } } - var $d = Object.freeze({ - get _enabled() { - return Vd; - }, - setEnabled: Wd, - isEnabled: function() { - return Vd; - }, - trapBubbledEvent: W, - trapCapturedEvent: Zd, - dispatchEvent: Yd - }); - function ae(a, b) { - var c = {}; - c[a.toLowerCase()] = b.toLowerCase(); - c["Webkit" + a] = "webkit" + b; - c["Moz" + a] = "moz" + b; - c["ms" + a] = "MS" + b; - c["O" + a] = "o" + b.toLowerCase(); - return c; - } - var be = { - animationend: ae("Animation", "AnimationEnd"), - animationiteration: ae("Animation", "AnimationIteration"), - animationstart: ae("Animation", "AnimationStart"), - transitionend: ae("Transition", "TransitionEnd") - }, - ce = {}, - de = {}; - m.canUseDOM && - ((de = document.createElement("div").style), - "AnimationEvent" in window || - (delete be.animationend.animation, - delete be.animationiteration.animation, - delete be.animationstart.animation), - "TransitionEvent" in window || delete be.transitionend.transition); - function ee(a) { - if (ce[a]) return ce[a]; - if (!be[a]) return a; - var b = be[a], - c; - for (c in b) if (b.hasOwnProperty(c) && c in de) return (ce[a] = b[c]); - return a; - } - var fe = { - topAnimationEnd: ee("animationend"), - topAnimationIteration: ee("animationiteration"), - topAnimationStart: ee("animationstart"), - topBlur: "blur", - topCancel: "cancel", - topChange: "change", - topClick: "click", - topClose: "close", - topCompositionEnd: "compositionend", - topCompositionStart: "compositionstart", - topCompositionUpdate: "compositionupdate", - topContextMenu: "contextmenu", - topCopy: "copy", - topCut: "cut", - topDoubleClick: "dblclick", - topDrag: "drag", - topDragEnd: "dragend", - topDragEnter: "dragenter", - topDragExit: "dragexit", - topDragLeave: "dragleave", - topDragOver: "dragover", - topDragStart: "dragstart", - topDrop: "drop", - topFocus: "focus", - topInput: "input", - topKeyDown: "keydown", - topKeyPress: "keypress", - topKeyUp: "keyup", - topLoad: "load", - topLoadStart: "loadstart", - topMouseDown: "mousedown", - topMouseMove: "mousemove", - topMouseOut: "mouseout", - topMouseOver: "mouseover", - topMouseUp: "mouseup", - topPaste: "paste", - topScroll: "scroll", - topSelectionChange: "selectionchange", - topTextInput: "textInput", - topToggle: "toggle", - topTouchCancel: "touchcancel", - topTouchEnd: "touchend", - topTouchMove: "touchmove", - topTouchStart: "touchstart", - topTransitionEnd: ee("transitionend"), - topWheel: "wheel" - }, - ge = { - topAbort: "abort", - topCanPlay: "canplay", - topCanPlayThrough: "canplaythrough", - topDurationChange: "durationchange", - topEmptied: "emptied", - topEncrypted: "encrypted", - topEnded: "ended", - topError: "error", - topLoadedData: "loadeddata", - topLoadedMetadata: "loadedmetadata", - topLoadStart: "loadstart", - topPause: "pause", - topPlay: "play", - topPlaying: "playing", - topProgress: "progress", - topRateChange: "ratechange", - topSeeked: "seeked", - topSeeking: "seeking", - topStalled: "stalled", - topSuspend: "suspend", - topTimeUpdate: "timeupdate", - topVolumeChange: "volumechange", - topWaiting: "waiting" + var Md = { + get _enabled() { + return Gd; + }, + setEnabled: Id, + isEnabled: function() { + return Gd; + }, + trapBubbledEvent: L, + trapCapturedEvent: Ld, + dispatchEvent: Kd }, - he = {}, - ie = 0, - je = "_reactListenersID" + ("" + Math.random()).slice(2); - function ke(a) { - Object.prototype.hasOwnProperty.call(a, je) || - ((a[je] = ie++), (he[a[je]] = {})); - return he[a[je]]; - } - function le(a) { + Nd = {}, + Od = 0, + Pd = "_reactListenersID" + ("" + Math.random()).slice(2); + function Qd(a) { + Object.prototype.hasOwnProperty.call(a, Pd) || + ((a[Pd] = Od++), (Nd[a[Pd]] = {})); + return Nd[a[Pd]]; + } + function Rd(a) { for (; a && a.firstChild; ) a = a.firstChild; return a; } - function me(a, b) { - var c = le(a); + function Sd(a, b) { + var c = Rd(a); a = 0; for (var d; c; ) { if (3 === c.nodeType) { @@ -2556,10 +2604,10 @@ } c = void 0; } - c = le(c); + c = Rd(c); } } - function ne(a) { + function Td(a) { var b = a && a.nodeName && a.nodeName.toLowerCase(); return ( b && @@ -2568,29 +2616,29 @@ "true" === a.contentEditable) ); } - var oe = + var Ud = m.canUseDOM && "documentMode" in document && 11 >= document.documentMode, - pe = { + Vd = { select: { phasedRegistrationNames: { bubbled: "onSelect", captured: "onSelectCapture" }, - dependencies: "topBlur topContextMenu topFocus topKeyDown topKeyUp topMouseDown topMouseUp topSelectionChange".split( + dependencies: "blur contextmenu focus keydown keyup mousedown mouseup selectionchange".split( " " ) } }, - qe = null, - re = null, - se = null, - te = !1; - function ue(a, b) { - if (te || null == qe || qe !== fa()) return null; - var c = qe; - "selectionStart" in c && ne(c) + Wd = null, + Xd = null, + Yd = null, + Zd = !1; + function $d(a, b) { + if (Zd || null == Wd || Wd !== da()) return null; + var c = Wd; + "selectionStart" in c && Td(c) ? (c = { start: c.selectionStart, end: c.selectionEnd }) : window.getSelection ? ((c = window.getSelection()), @@ -2601,17 +2649,17 @@ focusOffset: c.focusOffset })) : (c = void 0); - return se && ha(se, c) + return Yd && ea(Yd, c) ? null - : ((se = c), - (a = N.getPooled(pe.select, re, a, b)), + : ((Yd = c), + (a = H.getPooled(Vd.select, Xd, a, b)), (a.type = "select"), - (a.target = qe), - ib(a), + (a.target = Wd), + Ya(a), a); } - var ve = { - eventTypes: pe, + var ae = { + eventTypes: Vd, extractEvents: function(a, b, c, d) { var e = d.window === d @@ -2622,11 +2670,11 @@ f; if (!(f = !e)) { a: { - e = ke(e); - f = va.onSelect; - for (var h = 0; h < f.length; h++) { - var g = f[h]; - if (!e.hasOwnProperty(g) || !e[g]) { + e = Qd(e); + f = sa.onSelect; + for (var g = 0; g < f.length; g++) { + var h = f[g]; + if (!e.hasOwnProperty(h) || !e[h]) { e = !1; break a; } @@ -2636,594 +2684,1442 @@ f = !e; } if (f) return null; - e = b ? Va(b) : window; + e = b ? Oa(b) : window; switch (a) { - case "topFocus": - if (gc(e) || "true" === e.contentEditable) - (qe = e), (re = b), (se = null); + case "focus": + if (Yb(e) || "true" === e.contentEditable) + (Wd = e), (Xd = b), (Yd = null); break; - case "topBlur": - se = re = qe = null; + case "blur": + Yd = Xd = Wd = null; break; - case "topMouseDown": - te = !0; + case "mousedown": + Zd = !0; break; - case "topContextMenu": - case "topMouseUp": - return (te = !1), ue(c, d); - case "topSelectionChange": - if (oe) break; - case "topKeyDown": - case "topKeyUp": - return ue(c, d); + case "contextmenu": + case "mouseup": + return (Zd = !1), $d(c, d); + case "selectionchange": + if (Ud) break; + case "keydown": + case "keyup": + return $d(c, d); } return null; } }; - Na.injectEventPluginOrder( + Ga.injectEventPluginOrder( "ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split( " " ) ); - Da = bb.getFiberCurrentPropsFromNode; - Ea = bb.getInstanceFromNode; - Fa = bb.getNodeFromInstance; - Na.injectEventPluginsByName({ - SimpleEventPlugin: Rd, - EnterLeaveEventPlugin: wd, - ChangeEventPlugin: pd, - SelectEventPlugin: ve, - BeforeInputEventPlugin: Rb + wa = Qa.getFiberCurrentPropsFromNode; + xa = Qa.getInstanceFromNode; + ya = Qa.getNodeFromInstance; + Ga.injectEventPluginsByName({ + SimpleEventPlugin: Cd, + EnterLeaveEventPlugin: hd, + ChangeEventPlugin: $c, + SelectEventPlugin: ae, + BeforeInputEventPlugin: Ib }); - function xe(a, b, c, d) { - this.tag = a; - this.key = c; - this.stateNode = this.type = null; - this.sibling = this.child = this["return"] = null; - this.index = 0; - this.ref = null; - this.pendingProps = b; - this.memoizedState = this.updateQueue = this.memoizedProps = null; - this.mode = d; - this.effectTag = 0; - this.lastEffect = this.firstEffect = this.nextEffect = null; - this.expirationTime = 0; - this.alternate = null; - } - function ze(a, b, c) { - var d = a.alternate; - null === d - ? ((d = new xe(a.tag, b, a.key, a.mode)), - (d.type = a.type), - (d.stateNode = a.stateNode), - (d.alternate = a), - (a.alternate = d)) - : ((d.pendingProps = b), - (d.effectTag = 0), - (d.nextEffect = null), - (d.firstEffect = null), - (d.lastEffect = null)); - d.expirationTime = c; - d.child = a.child; - d.memoizedProps = a.memoizedProps; - d.memoizedState = a.memoizedState; - d.updateQueue = a.updateQueue; - d.sibling = a.sibling; - d.index = a.index; - d.ref = a.ref; - return d; - } - function Ae(a, b, c) { - var d = a.type, - e = a.key; - a = a.props; - var f = void 0; - if ("function" === typeof d) - f = d.prototype && d.prototype.isReactComponent ? 2 : 0; - else if ("string" === typeof d) f = 5; - else - switch (d) { - case sc: - return Be(a.children, b, c, e); - case wc: - f = 11; - b |= 3; - break; - case tc: - f = 11; - b |= 2; - break; - case pc: - f = 7; - break; - case qc: - f = 9; - break; - default: - if ("object" === typeof d && null !== d) - switch (d.$$typeof) { - case uc: - f = 13; - break; - case vc: - f = 12; - break; - case xc: - f = 14; - break; - default: - if ("number" === typeof d.tag) - return ( - (b = d), (b.pendingProps = a), (b.expirationTime = c), b - ); - D("130", null == d ? d : typeof d, ""); + var be = void 0; + be = + "object" === typeof performance && "function" === typeof performance.now + ? function() { + return performance.now(); + } + : function() { + return Date.now(); + }; + var ce = void 0, + de = void 0; + if (m.canUseDOM) { + var ee = [], + fe = 0, + ge = {}, + he = -1, + ie = !1, + je = !1, + ke = 0, + le = 33, + me = 33, + ne = { + didTimeout: !1, + timeRemaining: function() { + var a = ke - be(); + return 0 < a ? a : 0; + } + }, + oe = function(a, b) { + if (ge[b]) + try { + a(ne); + } finally { + delete ge[b]; + } + }, + pe = + "__reactIdleCallback$" + + Math.random() + .toString(36) + .slice(2); + window.addEventListener( + "message", + function(a) { + if ( + a.source === window && + a.data === pe && + ((ie = !1), 0 !== ee.length) + ) { + if (0 !== ee.length && ((a = be()), !(-1 === he || he > a))) { + he = -1; + ne.didTimeout = !0; + for (var b = 0, c = ee.length; b < c; b++) { + var d = ee[b], + e = d.timeoutTime; + -1 !== e && e <= a + ? oe(d.scheduledCallback, d.callbackId) + : -1 !== e && (-1 === he || e < he) && (he = e); } - else D("130", null == d ? d : typeof d, ""); - } - b = new xe(f, a, e, b); - b.type = d; - b.expirationTime = c; + } + for (a = be(); 0 < ke - a && 0 < ee.length; ) + (a = ee.shift()), + (ne.didTimeout = !1), + oe(a.scheduledCallback, a.callbackId), + (a = be()); + 0 < ee.length && !je && ((je = !0), requestAnimationFrame(qe)); + } + }, + !1 + ); + var qe = function(a) { + je = !1; + var b = a - ke + me; + b < me && le < me + ? (8 > b && (b = 8), (me = b < le ? le : b)) + : (le = b); + ke = a + me; + ie || ((ie = !0), window.postMessage(pe, "*")); + }; + ce = function(a, b) { + var c = -1; + null != b && "number" === typeof b.timeout && (c = be() + b.timeout); + if (-1 === he || (-1 !== c && c < he)) he = c; + fe++; + b = fe; + ee.push({ + scheduledCallback: a, + callbackId: b, + timeoutTime: c + }); + ge[b] = !0; + je || ((je = !0), requestAnimationFrame(qe)); + return b; + }; + de = function(a) { + delete ge[a]; + }; + } else { + var re = 0, + se = {}; + ce = function(a) { + var b = re++, + c = setTimeout(function() { + a({ + timeRemaining: function() { + return Infinity; + }, + didTimeout: !1 + }); + }); + se[b] = c; + return b; + }; + de = function(a) { + var b = se[a]; + delete se[a]; + clearTimeout(b); + }; + } + function te(a) { + var b = ""; + ca.Children.forEach(a, function(a) { + null == a || + ("string" !== typeof a && "number" !== typeof a) || + (b += a); + }); return b; } - function Be(a, b, c, d) { - a = new xe(10, a, d, b); - a.expirationTime = c; + function ue(a, b) { + a = p({ children: void 0 }, b); + if ((b = te(b.children))) a.children = b; return a; } - function Ce(a, b, c) { - a = new xe(6, a, null, b); - a.expirationTime = c; - return a; + function ve(a, b, c, d) { + a = a.options; + if (b) { + b = {}; + for (var e = 0; e < c.length; e++) b["$" + c[e]] = !0; + for (c = 0; c < a.length; c++) + (e = b.hasOwnProperty("$" + a[c].value)), + a[c].selected !== e && (a[c].selected = e), + e && d && (a[c].defaultSelected = !0); + } else { + c = "" + c; + b = null; + for (e = 0; e < a.length; e++) { + if (a[e].value === c) { + a[e].selected = !0; + d && (a[e].defaultSelected = !0); + return; + } + null !== b || a[e].disabled || (b = a[e]); + } + null !== b && (b.selected = !0); + } } - function De(a, b, c) { - b = new xe(4, null !== a.children ? a.children : [], a.key, b); - b.expirationTime = c; - b.stateNode = { - containerInfo: a.containerInfo, - pendingChildren: null, - implementation: a.implementation + function we(a, b) { + var c = b.value; + a._wrapperState = { + initialValue: null != c ? c : b.defaultValue, + wasMultiple: !!b.multiple }; - return b; } - var Ee = null, - Fe = null; - function Ge(a) { - return function(b) { - try { - return a(b); - } catch (c) {} - }; + function xe(a, b) { + null != b.dangerouslySetInnerHTML ? A("91") : void 0; + return p({}, b, { + value: void 0, + defaultValue: void 0, + children: "" + a._wrapperState.initialValue + }); } - function He(a) { - if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1; - var b = __REACT_DEVTOOLS_GLOBAL_HOOK__; - if (b.isDisabled || !b.supportsFiber) return !0; - try { - var c = b.inject(a); - Ee = Ge(function(a) { - return b.onCommitFiberRoot(c, a); - }); - Fe = Ge(function(a) { - return b.onCommitFiberUnmount(c, a); - }); - } catch (d) {} - return !0; + function ye(a, b) { + var c = b.value; + null == c && + ((c = b.defaultValue), + (b = b.children), + null != b && + (null != c ? A("92") : void 0, + Array.isArray(b) && (1 >= b.length ? void 0 : A("93"), (b = b[0])), + (c = "" + b)), + null == c && (c = "")); + a._wrapperState = { initialValue: "" + c }; } - function Ie(a) { - "function" === typeof Ee && Ee(a); + function ze(a, b) { + var c = b.value; + null != c && + ((c = "" + c), + c !== a.value && (a.value = c), + null == b.defaultValue && (a.defaultValue = c)); + null != b.defaultValue && (a.defaultValue = b.defaultValue); } - function Je(a) { - "function" === typeof Fe && Fe(a); + function Ae(a) { + var b = a.textContent; + b === a._wrapperState.initialValue && (a.value = b); } - new Set(); - function Ke(a) { - return { - baseState: a, - expirationTime: 0, - first: null, - last: null, - callbackList: null, - hasForceUpdate: !1, - isInitialized: !1, - capturedValues: null - }; - } - function Le(a, b) { - null === a.last - ? (a.first = a.last = b) - : ((a.last.next = b), (a.last = b)); - if (0 === a.expirationTime || a.expirationTime > b.expirationTime) - a.expirationTime = b.expirationTime; - } - var Me = void 0, - Ne = void 0; - function Oe(a) { - Me = Ne = null; - var b = a.alternate, - c = a.updateQueue; - null === c && (c = a.updateQueue = Ke(null)); - null !== b - ? ((a = b.updateQueue), null === a && (a = b.updateQueue = Ke(null))) - : (a = null); - Me = c; - Ne = a !== c ? a : null; - } - function Pe(a, b) { - Oe(a); - a = Me; - var c = Ne; - null === c - ? Le(a, b) - : null === a.last || null === c.last - ? (Le(a, b), Le(c, b)) - : (Le(a, b), (c.last = b)); - } - function Qe(a, b, c, d) { - a = a.partialState; - return "function" === typeof a ? a.call(b, c, d) : a; - } - function Re(a, b, c, d, e, f) { - null !== a && - a.updateQueue === c && - (c = b.updateQueue = { - baseState: c.baseState, - expirationTime: c.expirationTime, - first: c.first, - last: c.last, - isInitialized: c.isInitialized, - capturedValues: c.capturedValues, - callbackList: null, - hasForceUpdate: !1 - }); - c.expirationTime = 0; - c.isInitialized - ? (a = c.baseState) - : ((a = c.baseState = b.memoizedState), (c.isInitialized = !0)); - for (var h = !0, g = c.first, k = !1; null !== g; ) { - var v = g.expirationTime; - if (v > f) { - var l = c.expirationTime; - if (0 === l || l > v) c.expirationTime = v; - k || ((k = !0), (c.baseState = a)); - } else { - k || ((c.first = g.next), null === c.first && (c.last = null)); - if (g.isReplace) (a = Qe(g, d, a, e)), (h = !0); - else if ((v = Qe(g, d, a, e))) - (a = h ? A({}, a, v) : A(a, v)), (h = !1); - g.isForced && (c.hasForceUpdate = !0); - null !== g.callback && - ((v = c.callbackList), - null === v && (v = c.callbackList = []), - v.push(g)); - null !== g.capturedValue && - ((v = c.capturedValues), - null === v - ? (c.capturedValues = [g.capturedValue]) - : v.push(g.capturedValue)); - } - g = g.next; - } - null !== c.callbackList - ? (b.effectTag |= 32) - : null !== c.first || - c.hasForceUpdate || - null !== c.capturedValues || - (b.updateQueue = null); - k || (c.baseState = a); - return a; + var Be = { + html: "http://www.w3.org/1999/xhtml", + mathml: "http://www.w3.org/1998/Math/MathML", + svg: "http://www.w3.org/2000/svg" + }; + function Ce(a) { + switch (a) { + case "svg": + return "http://www.w3.org/2000/svg"; + case "math": + return "http://www.w3.org/1998/Math/MathML"; + default: + return "http://www.w3.org/1999/xhtml"; + } } - function Se(a, b) { - var c = a.callbackList; - if (null !== c) - for (a.callbackList = null, a = 0; a < c.length; a++) { - var d = c[a], - e = d.callback; - d.callback = null; - "function" !== typeof e ? D("191", e) : void 0; - e.call(b); - } + function De(a, b) { + return null == a || "http://www.w3.org/1999/xhtml" === a + ? Ce(b) + : "http://www.w3.org/2000/svg" === a && "foreignObject" === b + ? "http://www.w3.org/1999/xhtml" + : a; } - function Te(a, b, c, d, e) { - function f(a, b, c, d, e, f) { - if ( - null === b || - (null !== a.updateQueue && a.updateQueue.hasForceUpdate) - ) - return !0; - var n = a.stateNode; - a = a.type; - return "function" === typeof n.shouldComponentUpdate - ? n.shouldComponentUpdate(c, e, f) - : a.prototype && a.prototype.isPureReactComponent - ? !ha(b, c) || !ha(d, e) - : !0; - } - function h(a, b) { - b.updater = r; - a.stateNode = b; - b._reactInternalFiber = a; - } - function g(a, b, c, d) { - a = b.state; - "function" === typeof b.componentWillReceiveProps && - b.componentWillReceiveProps(c, d); - "function" === typeof b.UNSAFE_componentWillReceiveProps && - b.UNSAFE_componentWillReceiveProps(c, d); - b.state !== a && r.enqueueReplaceState(b, b.state, null); - } - function k(a, b, c, d) { - a = a.type; - if ("function" === typeof a.getDerivedStateFromProps) - return a.getDerivedStateFromProps.call(null, c, d); - } - var v = a.cacheContext, - l = a.getMaskedContext, - p = a.getUnmaskedContext, - z = a.isContextConsumer, - B = a.hasContextChanged, - r = { - isMounted: yd, - enqueueSetState: function(a, d, e) { - a = a._reactInternalFiber; - e = void 0 === e ? null : e; - var f = c(a); - Pe(a, { - expirationTime: f, - partialState: d, - callback: e, - isReplace: !1, - isForced: !1, - capturedValue: null, - next: null - }); - b(a, f); - }, - enqueueReplaceState: function(a, d, e) { - a = a._reactInternalFiber; - e = void 0 === e ? null : e; - var f = c(a); - Pe(a, { - expirationTime: f, - partialState: d, - callback: e, - isReplace: !0, - isForced: !1, - capturedValue: null, - next: null - }); - b(a, f); - }, - enqueueForceUpdate: function(a, d) { - a = a._reactInternalFiber; - d = void 0 === d ? null : d; - var e = c(a); - Pe(a, { - expirationTime: e, - partialState: null, - callback: d, - isReplace: !1, - isForced: !0, - capturedValue: null, - next: null - }); - b(a, e); - } - }; - return { - adoptClassInstance: h, - callGetDerivedStateFromProps: k, - constructClassInstance: function(a, b) { - var c = a.type, - d = p(a), - e = z(a), - f = e ? l(a, d) : ka; - c = new c(b, f); - var n = null !== c.state && void 0 !== c.state ? c.state : null; - h(a, c); - a.memoizedState = n; - b = k(a, c, b, n); - null !== b && - void 0 !== b && - (a.memoizedState = A({}, a.memoizedState, b)); - e && v(a, d, f); - return c; - }, - mountClassInstance: function(a, b) { - var c = a.type, - d = a.alternate, - e = a.stateNode, - f = a.pendingProps, - n = p(a); - e.props = f; - e.state = a.memoizedState; - e.refs = ka; - e.context = l(a, n); - "function" === typeof c.getDerivedStateFromProps || - "function" === typeof e.getSnapshotBeforeUpdate || - ("function" !== typeof e.UNSAFE_componentWillMount && - "function" !== typeof e.componentWillMount) || - ((c = e.state), - "function" === typeof e.componentWillMount && - e.componentWillMount(), - "function" === typeof e.UNSAFE_componentWillMount && - e.UNSAFE_componentWillMount(), - c !== e.state && r.enqueueReplaceState(e, e.state, null), - (c = a.updateQueue), - null !== c && (e.state = Re(d, a, c, e, f, b))); - "function" === typeof e.componentDidMount && (a.effectTag |= 4); - }, - resumeMountClassInstance: function(a, b) { - var c = a.type, - n = a.stateNode; - n.props = a.memoizedProps; - n.state = a.memoizedState; - var h = a.memoizedProps, - r = a.pendingProps, - z = n.context, - q = p(a); - q = l(a, q); - (c = - "function" === typeof c.getDerivedStateFromProps || - "function" === typeof n.getSnapshotBeforeUpdate) || - ("function" !== typeof n.UNSAFE_componentWillReceiveProps && - "function" !== typeof n.componentWillReceiveProps) || - ((h !== r || z !== q) && g(a, n, r, q)); - z = a.memoizedState; - b = - null !== a.updateQueue ? Re(null, a, a.updateQueue, n, r, b) : z; - var u = void 0; - h !== r && (u = k(a, n, r, b)); - if (null !== u && void 0 !== u) { - b = null === b || void 0 === b ? u : A({}, b, u); - var t = a.updateQueue; - null !== t && (t.baseState = A({}, t.baseState, u)); - } - if ( - !( - h !== r || - z !== b || - B() || - (null !== a.updateQueue && a.updateQueue.hasForceUpdate) - ) - ) - return ( - "function" === typeof n.componentDidMount && (a.effectTag |= 4), - !1 - ); - (h = f(a, h, r, z, b, q)) - ? (c || - ("function" !== typeof n.UNSAFE_componentWillMount && - "function" !== typeof n.componentWillMount) || - ("function" === typeof n.componentWillMount && - n.componentWillMount(), - "function" === typeof n.UNSAFE_componentWillMount && - n.UNSAFE_componentWillMount()), - "function" === typeof n.componentDidMount && (a.effectTag |= 4)) - : ("function" === typeof n.componentDidMount && - (a.effectTag |= 4), - d(a, r), - e(a, b)); - n.props = r; - n.state = b; - n.context = q; - return h; - }, - updateClassInstance: function(a, b, c) { - var n = b.type, - x = b.stateNode; - x.props = b.memoizedProps; - x.state = b.memoizedState; - var h = b.memoizedProps, - r = b.pendingProps, - q = x.context, - u = p(b); - u = l(b, u); - (n = - "function" === typeof n.getDerivedStateFromProps || - "function" === typeof x.getSnapshotBeforeUpdate) || - ("function" !== typeof x.UNSAFE_componentWillReceiveProps && - "function" !== typeof x.componentWillReceiveProps) || - ((h !== r || q !== u) && g(b, x, r, u)); - q = b.memoizedState; - c = null !== b.updateQueue ? Re(a, b, b.updateQueue, x, r, c) : q; - var t = void 0; - h !== r && (t = k(b, x, r, c)); - if (null !== t && void 0 !== t) { - c = null === c || void 0 === c ? t : A({}, c, t); - var y = b.updateQueue; - null !== y && (y.baseState = A({}, y.baseState, t)); - } - if ( - !( - h !== r || - q !== c || - B() || - (null !== b.updateQueue && b.updateQueue.hasForceUpdate) - ) - ) - return ( - "function" !== typeof x.componentDidUpdate || - (h === a.memoizedProps && q === a.memoizedState) || - (b.effectTag |= 4), - "function" !== typeof x.getSnapshotBeforeUpdate || - (h === a.memoizedProps && q === a.memoizedState) || - (b.effectTag |= 2048), - !1 - ); - (t = f(b, h, r, q, c, u)) - ? (n || - ("function" !== typeof x.UNSAFE_componentWillUpdate && - "function" !== typeof x.componentWillUpdate) || - ("function" === typeof x.componentWillUpdate && - x.componentWillUpdate(r, c, u), - "function" === typeof x.UNSAFE_componentWillUpdate && - x.UNSAFE_componentWillUpdate(r, c, u)), - "function" === typeof x.componentDidUpdate && - (b.effectTag |= 4), - "function" === typeof x.getSnapshotBeforeUpdate && - (b.effectTag |= 2048)) - : ("function" !== typeof x.componentDidUpdate || - (h === a.memoizedProps && q === a.memoizedState) || - (b.effectTag |= 4), - "function" !== typeof x.getSnapshotBeforeUpdate || - (h === a.memoizedProps && q === a.memoizedState) || - (b.effectTag |= 2048), - d(b, r), - e(b, c)); - x.props = r; - x.state = c; - x.context = u; - return t; + var Ee = void 0, + Fe = (function(a) { + return "undefined" !== typeof MSApp && MSApp.execUnsafeLocalFunction + ? function(b, c, d, e) { + MSApp.execUnsafeLocalFunction(function() { + return a(b, c, d, e); + }); + } + : a; + })(function(a, b) { + if (a.namespaceURI !== Be.svg || "innerHTML" in a) a.innerHTML = b; + else { + Ee = Ee || document.createElement("div"); + Ee.innerHTML = "" + b + ""; + for (b = Ee.firstChild; a.firstChild; ) a.removeChild(a.firstChild); + for (; b.firstChild; ) a.appendChild(b.firstChild); } - }; - } - var Ue = Array.isArray; - function Ve(a, b, c) { - a = c.ref; - if (null !== a && "function" !== typeof a && "object" !== typeof a) { - if (c._owner) { - c = c._owner; - var d = void 0; - c && (2 !== c.tag ? D("110") : void 0, (d = c.stateNode)); - d ? void 0 : D("147", a); - var e = "" + a; - if (null !== b && null !== b.ref && b.ref._stringRef === e) - return b.ref; - b = function(a) { - var b = d.refs === ka ? (d.refs = {}) : d.refs; - null === a ? delete b[e] : (b[e] = a); - }; - b._stringRef = e; - return b; + }); + function Ge(a, b) { + if (b) { + var c = a.firstChild; + if (c && c === a.lastChild && 3 === c.nodeType) { + c.nodeValue = b; + return; } - "string" !== typeof a ? D("148") : void 0; - c._owner ? void 0 : D("254", a); } - return a; - } - function We(a, b) { - "textarea" !== a.type && - D( - "31", - "[object Object]" === Object.prototype.toString.call(b) - ? "object with keys {" + Object.keys(b).join(", ") + "}" - : b, - "" - ); + a.textContent = b; } - function Xe(a) { - function b(b, c) { - if (a) { - var d = b.lastEffect; - null !== d - ? ((d.nextEffect = c), (b.lastEffect = c)) - : (b.firstEffect = b.lastEffect = c); - c.nextEffect = null; - c.effectTag = 8; + var He = { + animationIterationCount: !0, + borderImageOutset: !0, + borderImageSlice: !0, + borderImageWidth: !0, + boxFlex: !0, + boxFlexGroup: !0, + boxOrdinalGroup: !0, + columnCount: !0, + columns: !0, + flex: !0, + flexGrow: !0, + flexPositive: !0, + flexShrink: !0, + flexNegative: !0, + flexOrder: !0, + gridRow: !0, + gridRowEnd: !0, + gridRowSpan: !0, + gridRowStart: !0, + gridColumn: !0, + gridColumnEnd: !0, + gridColumnSpan: !0, + gridColumnStart: !0, + fontWeight: !0, + lineClamp: !0, + lineHeight: !0, + opacity: !0, + order: !0, + orphans: !0, + tabSize: !0, + widows: !0, + zIndex: !0, + zoom: !0, + fillOpacity: !0, + floodOpacity: !0, + stopOpacity: !0, + strokeDasharray: !0, + strokeDashoffset: !0, + strokeMiterlimit: !0, + strokeOpacity: !0, + strokeWidth: !0 + }, + Ie = ["Webkit", "ms", "Moz", "O"]; + Object.keys(He).forEach(function(a) { + Ie.forEach(function(b) { + b = b + a.charAt(0).toUpperCase() + a.substring(1); + He[b] = He[a]; + }); + }); + function Je(a, b) { + a = a.style; + for (var c in b) + if (b.hasOwnProperty(c)) { + var d = 0 === c.indexOf("--"); + var e = c; + var f = b[c]; + e = + null == f || "boolean" === typeof f || "" === f + ? "" + : d || + "number" !== typeof f || + 0 === f || + (He.hasOwnProperty(e) && He[e]) + ? ("" + f).trim() + : f + "px"; + "float" === c && (c = "cssFloat"); + d ? a.setProperty(c, e) : (a[c] = e); } + } + var Ke = p( + { menuitem: !0 }, + { + area: !0, + base: !0, + br: !0, + col: !0, + embed: !0, + hr: !0, + img: !0, + input: !0, + keygen: !0, + link: !0, + meta: !0, + param: !0, + source: !0, + track: !0, + wbr: !0 } - function c(c, d) { - if (!a) return null; + ); + function Le(a, b, c) { + b && + (Ke[a] && + (null != b.children || null != b.dangerouslySetInnerHTML + ? A("137", a, c()) + : void 0), + null != b.dangerouslySetInnerHTML && + (null != b.children ? A("60") : void 0, + "object" === typeof b.dangerouslySetInnerHTML && + "__html" in b.dangerouslySetInnerHTML + ? void 0 + : A("61")), + null != b.style && "object" !== typeof b.style + ? A("62", c()) + : void 0); + } + function Me(a, b) { + if (-1 === a.indexOf("-")) return "string" === typeof b.is; + switch (a) { + case "annotation-xml": + case "color-profile": + case "font-face": + case "font-face-src": + case "font-face-uri": + case "font-face-format": + case "font-face-name": + case "missing-glyph": + return !1; + default: + return !0; + } + } + var Ne = v.thatReturns(""); + function Oe(a, b) { + a = 9 === a.nodeType || 11 === a.nodeType ? a : a.ownerDocument; + var c = Qd(a); + b = sa[b]; + for (var d = 0; d < b.length; d++) { + var e = b[d]; + if (!c.hasOwnProperty(e) || !c[e]) { + switch (e) { + case "scroll": + Ld("scroll", a); + break; + case "focus": + case "blur": + Ld("focus", a); + Ld("blur", a); + c.blur = !0; + c.focus = !0; + break; + case "cancel": + case "close": + $b(e, !0) && Ld(e, a); + break; + case "invalid": + case "submit": + case "reset": + break; + default: + -1 === jb.indexOf(e) && L(e, a); + } + c[e] = !0; + } + } + } + function Pe(a, b, c, d) { + c = 9 === c.nodeType ? c : c.ownerDocument; + d === Be.html && (d = Ce(a)); + d === Be.html + ? "script" === a + ? ((a = c.createElement("div")), + (a.innerHTML = "