diff --git a/dist/code.js b/dist/code.js
index d2f630d..8309721 100644
--- a/dist/code.js
+++ b/dist/code.js
@@ -110,7 +110,7 @@ function setActiveSheet() {
return this;
}();
try {
- g = g || Function("return this")() || (0, eval)("this");
+ g = g || new Function("return this")();
} catch (e) {
"object" == typeof window && (g = window);
}
diff --git a/dist/dialog.html b/dist/dialog.html
index 32cd5c9..bfc0011 100644
--- a/dist/dialog.html
+++ b/dist/dialog.html
@@ -50,12 +50,12 @@
return __webpack_require__.d(getter, "a", getter), getter;
}, __webpack_require__.o = function(object, property) {
return Object.prototype.hasOwnProperty.call(object, property);
- }, __webpack_require__.p = "", __webpack_require__(__webpack_require__.s = 36);
+ }, __webpack_require__.p = "", __webpack_require__(__webpack_require__.s = 30);
}([ function(module, exports, __webpack_require__) {
"use strict";
- module.exports = __webpack_require__(11);
+ module.exports = __webpack_require__(8);
}, function(module, exports, __webpack_require__) {
- module.exports = __webpack_require__(20)();
+ module.exports = __webpack_require__(14)();
}, function(module, exports, __webpack_require__) {
"use strict";
!function checkDCE() {
@@ -64,7 +64,7 @@
} catch (err) {
console.error(err);
}
- }(), module.exports = __webpack_require__(12);
+ }(), module.exports = __webpack_require__(9);
}, function(module, exports, __webpack_require__) {
"use strict";
var getOwnPropertySymbols = Object.getOwnPropertySymbols, hasOwnProperty = Object.prototype.hasOwnProperty, propIsEnumerable = Object.prototype.propertyIsEnumerable;
@@ -97,39 +97,6 @@
}
return to;
};
-}, function(module, exports, __webpack_require__) {
- "use strict";
- var validateFormat = function(format) {};
- module.exports = function(condition, format, a, b, c, d, e, f) {
- if (validateFormat(format), !condition) {
- var error;
- if (format === undefined) error = new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."); else {
- var args = [ a, b, c, d, e, f ], argIndex = 0;
- (error = new Error(format.replace(/%s/g, function() {
- return args[argIndex++];
- }))).name = "Invariant Violation";
- }
- throw error.framesToPop = 1, error;
- }
- };
-}, function(module, exports, __webpack_require__) {
- "use strict";
- module.exports = {};
-}, function(module, exports, __webpack_require__) {
- "use strict";
- function makeEmptyFunction(arg) {
- return function() {
- return arg;
- };
- }
- var emptyFunction = function() {};
- emptyFunction.thatReturns = makeEmptyFunction, emptyFunction.thatReturnsFalse = makeEmptyFunction(!1),
- emptyFunction.thatReturnsTrue = makeEmptyFunction(!0), emptyFunction.thatReturnsNull = makeEmptyFunction(null),
- emptyFunction.thatReturnsThis = function() {
- return this;
- }, emptyFunction.thatReturnsArgument = function(arg) {
- return arg;
- }, module.exports = emptyFunction;
}, function(module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -168,50 +135,60 @@
appearActive: _propTypes2["default"].string
}) ]);
}, function(module, exports, __webpack_require__) {
- var content = __webpack_require__(32);
+ var content = __webpack_require__(26);
"string" == typeof content && (content = [ [ module.i, content, "" ] ]);
var options = {
hmr: !0,
transform: void 0
};
options.insertInto = undefined;
- __webpack_require__(34)(content, options);
+ __webpack_require__(28)(content, options);
content.locals && (module.exports = content.locals);
}, function(module, exports, __webpack_require__) {
"use strict";
- module.exports = __webpack_require__(19);
+ module.exports = __webpack_require__(13);
}, function(module, exports, __webpack_require__) {
"use strict";
- var k = __webpack_require__(3), n = __webpack_require__(4), p = __webpack_require__(5), q = __webpack_require__(6), 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 = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 0; c < b; c++) e += "&args[]=" + encodeURIComponent(arguments[c + 1]);
- n(!1, "Minified React error #" + a + "; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ", e);
+ var k = __webpack_require__(3), n = "function" == typeof Symbol && Symbol["for"], p = n ? Symbol["for"]("react.element") : 60103, q = n ? Symbol["for"]("react.portal") : 60106, r = n ? Symbol["for"]("react.fragment") : 60107, t = n ? Symbol["for"]("react.strict_mode") : 60108, u = n ? Symbol["for"]("react.profiler") : 60114, v = n ? Symbol["for"]("react.provider") : 60109, w = n ? Symbol["for"]("react.context") : 60110, x = n ? Symbol["for"]("react.concurrent_mode") : 60111, y = n ? Symbol["for"]("react.forward_ref") : 60112, z = n ? Symbol["for"]("react.suspense") : 60113, aa = n ? Symbol["for"]("react.memo") : 60115, ba = n ? Symbol["for"]("react.lazy") : 60116, A = "function" == typeof Symbol && Symbol.iterator;
+ function B(a) {
+ for (var b = arguments.length - 1, d = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 0; c < b; c++) d += "&args[]=" + encodeURIComponent(arguments[c + 1]);
+ !function(a, b, d, c, e, g, h, f) {
+ if (!a) {
+ if (a = void 0, void 0 === b) a = Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."); else {
+ var l = [ d, c, e, g, h, f ], m = 0;
+ (a = Error(b.replace(/%s/g, function() {
+ return l[m++];
+ }))).name = "Invariant Violation";
+ }
+ throw a.framesToPop = 1, a;
+ }
+ }(!1, "Minified React error #" + a + "; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ", d);
}
- var E = {
+ var C = {
isMounted: function() {
return !1;
},
enqueueForceUpdate: function() {},
enqueueReplaceState: function() {},
enqueueSetState: function() {}
- };
- function F(a, b, e) {
- this.props = a, this.context = b, this.refs = p, this.updater = e || E;
+ }, D = {};
+ function E(a, b, d) {
+ this.props = a, this.context = b, this.refs = D, this.updater = d || C;
}
- function G() {}
- function H(a, b, e) {
- this.props = a, this.context = b, this.refs = p, this.updater = e || E;
+ function F() {}
+ function G(a, b, d) {
+ this.props = a, this.context = b, this.refs = D, this.updater = d || C;
}
- F.prototype.isReactComponent = {}, F.prototype.setState = function(a, b) {
- "object" != typeof a && "function" != typeof a && null != a && D("85"), this.updater.enqueueSetState(this, a, b, "setState");
- }, F.prototype.forceUpdate = function(a) {
+ E.prototype.isReactComponent = {}, E.prototype.setState = function(a, b) {
+ "object" != typeof a && "function" != typeof a && null != a && B("85"), this.updater.enqueueSetState(this, a, b, "setState");
+ }, E.prototype.forceUpdate = function(a) {
this.updater.enqueueForceUpdate(this, a, "forceUpdate");
- }, G.prototype = F.prototype;
- var I = H.prototype = new G();
- I.constructor = H, k(I, F.prototype), I.isPureReactComponent = !0;
- var J = {
+ }, F.prototype = E.prototype;
+ var H = G.prototype = new F();
+ H.constructor = G, k(H, E.prototype), H.isPureReactComponent = !0;
+ var I = {
+ current: null
+ }, J = {
current: null
}, K = Object.prototype.hasOwnProperty, L = {
key: !0,
@@ -219,38 +196,38 @@
__self: !0,
__source: !0
};
- function M(a, b, e) {
- var c = void 0, d = {}, g = null, h = null;
+ function M(a, b, d) {
+ var c = void 0, e = {}, g = null, h = null;
if (null != b) for (c in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (g = "" + b.key),
- b) K.call(b, c) && !L.hasOwnProperty(c) && (d[c] = b[c]);
+ b) K.call(b, c) && !L.hasOwnProperty(c) && (e[c] = b[c]);
var f = arguments.length - 2;
- if (1 === f) d.children = e; else if (1 < f) {
+ if (1 === f) e.children = d; else if (1 < f) {
for (var l = Array(f), m = 0; m < f; m++) l[m] = arguments[m + 2];
- d.children = l;
+ e.children = l;
}
- if (a && a.defaultProps) for (c in f = a.defaultProps) void 0 === d[c] && (d[c] = f[c]);
+ if (a && a.defaultProps) for (c in f = a.defaultProps) void 0 === e[c] && (e[c] = f[c]);
return {
- $$typeof: t,
+ $$typeof: p,
type: a,
key: g,
ref: h,
- props: d,
+ props: e,
_owner: J.current
};
}
function N(a) {
- return "object" == typeof a && null !== a && a.$$typeof === t;
+ return "object" == typeof a && null !== a && a.$$typeof === p;
}
var O = /\/+/g, P = [];
- function Q(a, b, e, c) {
+ function Q(a, b, d, c) {
if (P.length) {
- var d = P.pop();
- return d.result = a, d.keyPrefix = b, d.func = e, d.context = c, d.count = 0, d;
+ var e = P.pop();
+ return e.result = a, e.keyPrefix = b, e.func = d, e.context = c, e.count = 0, e;
}
return {
result: a,
keyPrefix: b,
- func: e,
+ func: d,
context: c,
count: 0
};
@@ -259,30 +236,32 @@
a.result = null, a.keyPrefix = null, a.func = null, a.context = null, a.count = 0,
10 > P.length && P.push(a);
}
- function S(a, b, e, c) {
- var d = typeof a;
- "undefined" !== d && "boolean" !== d || (a = null);
- var g = !1;
- if (null === a) g = !0; else switch (d) {
- case "string":
- case "number":
- g = !0;
- break;
-
- case "object":
- switch (a.$$typeof) {
- case t:
- case u:
+ function U(a, b, d) {
+ return null == a ? 0 : function S(a, b, d, c) {
+ var e = typeof a;
+ "undefined" !== e && "boolean" !== e || (a = null);
+ var g = !1;
+ if (null === a) g = !0; else switch (e) {
+ case "string":
+ case "number":
g = !0;
+ break;
+
+ case "object":
+ switch (a.$$typeof) {
+ case p:
+ case q:
+ g = !0;
+ }
}
- }
- if (g) return e(c, a, "" === b ? "." + T(a, 0) : b), 1;
- if (g = 0, b = "" === b ? "." : b + ":", Array.isArray(a)) for (var h = 0; h < a.length; h++) {
- var f = b + T(d = a[h], h);
- g += S(d, f, e, c);
- } else if (null === a || void 0 === a ? f = null : f = "function" == typeof (f = C && a[C] || a["@@iterator"]) ? f : null,
- "function" == typeof f) for (a = f.call(a), h = 0; !(d = a.next()).done; ) g += S(d = d.value, f = b + T(d, h++), e, c); else "object" === d && D("31", "[object Object]" === (e = "" + a) ? "object with keys {" + Object.keys(a).join(", ") + "}" : e, "");
- return g;
+ if (g) return d(c, a, "" === b ? "." + T(a, 0) : b), 1;
+ if (g = 0, b = "" === b ? "." : b + ":", Array.isArray(a)) for (var h = 0; h < a.length; h++) {
+ var f = b + T(e = a[h], h);
+ g += S(e, f, d, c);
+ } else if (f = null === a || "object" != typeof a ? null : "function" == typeof (f = A && a[A] || a["@@iterator"]) ? f : null,
+ "function" == typeof f) for (a = f.call(a), h = 0; !(e = a.next()).done; ) g += S(e = e.value, f = b + T(e, h++), d, c); else "object" === e && B("31", "[object Object]" == (d = "" + a) ? "object with keys {" + Object.keys(a).join(", ") + "}" : d, "");
+ return g;
+ }(a, "", b, d);
}
function T(a, b) {
return "object" == typeof a && null !== a && null != a.key ? function(a) {
@@ -295,46 +274,58 @@
});
}(a.key) : b.toString(36);
}
- function U(a, b) {
+ function ea(a, b) {
a.func.call(a.context, b, a.count++);
}
- function V(a, b, e) {
- var c = a.result, d = a.keyPrefix;
- a = a.func.call(a.context, b, a.count++), Array.isArray(a) ? W(a, c, e, q.thatReturnsArgument) : null != a && (N(a) && (b = d + (!a.key || b && b.key === a.key ? "" : ("" + a.key).replace(O, "$&/") + "/") + e,
- a = {
- $$typeof: t,
- type: a.type,
- key: b,
- ref: a.ref,
- props: a.props,
- _owner: a._owner
- }), c.push(a));
+ function fa(a, b, d) {
+ var c = a.result, e = a.keyPrefix;
+ a = a.func.call(a.context, b, a.count++), Array.isArray(a) ? V(a, c, d, function(a) {
+ return a;
+ }) : null != a && (N(a) && (a = function(a, b) {
+ return {
+ $$typeof: p,
+ type: a.type,
+ key: b,
+ ref: a.ref,
+ props: a.props,
+ _owner: a._owner
+ };
+ }(a, e + (!a.key || b && b.key === a.key ? "" : ("" + a.key).replace(O, "$&/") + "/") + d)),
+ c.push(a));
}
- function W(a, b, e, c, d) {
+ function V(a, b, d, c, e) {
var g = "";
- null != e && (g = ("" + e).replace(O, "$&/") + "/"), b = Q(b, g, c, d), null == a || S(a, "", V, b),
+ null != d && (g = ("" + d).replace(O, "$&/") + "/"), U(a, fa, b = Q(b, g, c, e)),
R(b);
}
+ function W() {
+ var a = I.current;
+ return null === a && B("321"), a;
+ }
var X = {
Children: {
- map: function(a, b, e) {
+ map: function(a, b, d) {
if (null == a) return a;
var c = [];
- return W(a, c, null, b, e), c;
+ return V(a, c, null, b, d), c;
},
- forEach: function(a, b, e) {
+ forEach: function(a, b, d) {
if (null == a) return a;
- b = Q(null, null, b, e), null == a || S(a, "", U, b), R(b);
+ U(a, ea, b = Q(null, null, b, d)), R(b);
},
count: function(a) {
- return null == a ? 0 : S(a, "", q.thatReturnsNull, null);
+ return U(a, function() {
+ return null;
+ }, null);
},
toArray: function(a) {
var b = [];
- return W(a, b, null, q.thatReturnsArgument), b;
+ return V(a, b, null, function(a) {
+ return a;
+ }), b;
},
only: function(a) {
- return N(a) || D("143"), a;
+ return N(a) || B("143"), a;
}
},
createRef: function() {
@@ -342,54 +333,94 @@
current: null
};
},
- Component: F,
- PureComponent: H,
+ Component: E,
+ PureComponent: G,
createContext: function(a, b) {
return void 0 === b && (b = null), (a = {
- $$typeof: z,
+ $$typeof: w,
_calculateChangedBits: b,
- _defaultValue: a,
_currentValue: a,
_currentValue2: a,
- _changedBits: 0,
- _changedBits2: 0,
+ _threadCount: 0,
Provider: null,
Consumer: null
}).Provider = {
- $$typeof: y,
+ $$typeof: v,
_context: a
}, a.Consumer = a;
},
forwardRef: function(a) {
return {
- $$typeof: B,
+ $$typeof: y,
render: a
};
},
- Fragment: v,
- StrictMode: w,
- unstable_AsyncMode: A,
- unstable_Profiler: x,
+ lazy: function(a) {
+ return {
+ $$typeof: ba,
+ _ctor: a,
+ _status: -1,
+ _result: null
+ };
+ },
+ memo: function(a, b) {
+ return {
+ $$typeof: aa,
+ type: a,
+ compare: void 0 === b ? null : b
+ };
+ },
+ useCallback: function(a, b) {
+ return W().useCallback(a, b);
+ },
+ useContext: function(a, b) {
+ return W().useContext(a, b);
+ },
+ useEffect: function(a, b) {
+ return W().useEffect(a, b);
+ },
+ useImperativeHandle: function(a, b, d) {
+ return W().useImperativeHandle(a, b, d);
+ },
+ useDebugValue: function() {},
+ useLayoutEffect: function(a, b) {
+ return W().useLayoutEffect(a, b);
+ },
+ useMemo: function(a, b) {
+ return W().useMemo(a, b);
+ },
+ useReducer: function(a, b, d) {
+ return W().useReducer(a, b, d);
+ },
+ useRef: function(a) {
+ return W().useRef(a);
+ },
+ useState: function(a) {
+ return W().useState(a);
+ },
+ Fragment: r,
+ StrictMode: t,
+ Suspense: z,
createElement: M,
- cloneElement: function(a, b, e) {
- (null === a || void 0 === a) && D("267", a);
- var c = void 0, d = k({}, a.props), g = a.key, h = a.ref, f = a._owner;
+ cloneElement: function(a, b, d) {
+ (null === a || void 0 === a) && B("267", a);
+ var c = void 0, e = k({}, a.props), g = a.key, h = a.ref, f = a._owner;
if (null != b) {
void 0 !== b.ref && (h = b.ref, f = J.current), void 0 !== b.key && (g = "" + b.key);
var l = void 0;
- for (c in a.type && a.type.defaultProps && (l = a.type.defaultProps), b) K.call(b, c) && !L.hasOwnProperty(c) && (d[c] = void 0 === b[c] && void 0 !== l ? l[c] : b[c]);
+ for (c in a.type && a.type.defaultProps && (l = a.type.defaultProps), b) K.call(b, c) && !L.hasOwnProperty(c) && (e[c] = void 0 === b[c] && void 0 !== l ? l[c] : b[c]);
}
- if (1 === (c = arguments.length - 2)) d.children = e; else if (1 < c) {
+ if (1 === (c = arguments.length - 2)) e.children = d; else if (1 < c) {
l = Array(c);
for (var m = 0; m < c; m++) l[m] = arguments[m + 2];
- d.children = l;
+ e.children = l;
}
return {
- $$typeof: t,
+ $$typeof: p,
type: a.type,
key: g,
ref: h,
- props: d,
+ props: e,
_owner: f
};
},
@@ -398,138 +429,116 @@
return b.type = a, b;
},
isValidElement: N,
- version: "16.4.2",
+ version: "16.8.6",
+ unstable_ConcurrentMode: x,
+ unstable_Profiler: u,
__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {
+ ReactCurrentDispatcher: I,
ReactCurrentOwner: J,
assign: k
}
}, Y = {
"default": X
}, Z = Y && X || Y;
- module.exports = Z["default"] ? Z["default"] : Z;
+ module.exports = Z["default"] || Z;
}, function(module, exports, __webpack_require__) {
"use strict";
- var aa = __webpack_require__(4), ba = __webpack_require__(0), m = __webpack_require__(13), p = __webpack_require__(3), v = __webpack_require__(6), da = __webpack_require__(14), ea = __webpack_require__(15), fa = __webpack_require__(16), ha = __webpack_require__(5);
- function A(a) {
+ var aa = __webpack_require__(0), n = __webpack_require__(3), r = __webpack_require__(10);
+ function x(a) {
for (var b = arguments.length - 1, c = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, d = 0; d < b; d++) c += "&args[]=" + encodeURIComponent(arguments[d + 1]);
- aa(!1, "Minified React error #" + a + "; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ", c);
+ !function(a, b, c, d, e, f, g, h) {
+ if (!a) {
+ if (a = void 0, void 0 === b) a = Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."); else {
+ var l = [ c, d, e, f, g, h ], k = 0;
+ (a = Error(b.replace(/%s/g, function() {
+ return l[k++];
+ }))).name = "Invariant Violation";
+ }
+ throw a.framesToPop = 1, a;
+ }
+ }(!1, "Minified React error #" + a + "; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ", c);
}
- ba || A("227");
- var B = {
- _caughtError: null,
- _hasCaughtError: !1,
- _rethrowError: null,
- _hasRethrowError: !1,
- invokeGuardedCallback: function(a, b, c, d, e, f, g, h, k) {
- (function(a, b, c, d, e, f, g, h, k) {
- this._hasCaughtError = !1, this._caughtError = null;
- var n = Array.prototype.slice.call(arguments, 3);
- try {
- b.apply(c, n);
- } catch (r) {
- this._caughtError = r, this._hasCaughtError = !0;
- }
- }).apply(B, arguments);
- },
- invokeGuardedCallbackAndCatchFirstError: function(a, b, c, d, e, f, g, h, k) {
- if (B.invokeGuardedCallback.apply(this, arguments), B.hasCaughtError()) {
- var n = B.clearCaughtError();
- B._hasRethrowError || (B._hasRethrowError = !0, B._rethrowError = n);
- }
- },
- rethrowCaughtError: function() {
- return function() {
- if (B._hasRethrowError) {
- var a = B._rethrowError;
- throw B._rethrowError = null, B._hasRethrowError = !1, a;
- }
- }.apply(B, arguments);
- },
- hasCaughtError: function() {
- return B._hasCaughtError;
- },
- clearCaughtError: function() {
- if (B._hasCaughtError) {
- var a = B._caughtError;
- return B._caughtError = null, B._hasCaughtError = !1, a;
- }
- A("198");
+ aa || x("227");
+ var da = !1, ea = null, fa = !1, ha = null, ia = {
+ onError: function(a) {
+ da = !0, ea = a;
}
};
+ function ja(a, b, c, d, e, f, g, h, l) {
+ da = !1, ea = null, function(a, b, c, d, e, f, g, h, l) {
+ var k = Array.prototype.slice.call(arguments, 3);
+ try {
+ b.apply(c, k);
+ } catch (m) {
+ this.onError(m);
+ }
+ }.apply(ia, arguments);
+ }
var la = null, ma = {};
function na() {
if (la) for (var a in ma) {
var b = ma[a], c = la.indexOf(a);
- if (-1 < c || A("96", a), !oa[c]) for (var d in b.extractEvents || A("97", a), oa[c] = b,
+ if (-1 < c || x("96", a), !oa[c]) for (var d in b.extractEvents || x("97", a), oa[c] = b,
c = b.eventTypes) {
var e = void 0, f = c[d], g = b, h = d;
- pa.hasOwnProperty(h) && A("99", h), pa[h] = f;
- var k = f.phasedRegistrationNames;
- if (k) {
- for (e in k) k.hasOwnProperty(e) && qa(k[e], g, h);
+ pa.hasOwnProperty(h) && x("99", h), pa[h] = f;
+ var l = f.phasedRegistrationNames;
+ if (l) {
+ for (e in l) l.hasOwnProperty(e) && qa(l[e], g, h);
e = !0;
} else f.registrationName ? (qa(f.registrationName, g, h), e = !0) : e = !1;
- e || A("98", d, a);
+ e || x("98", d, a);
}
}
}
function qa(a, b, c) {
- ra[a] && A("100", a), ra[a] = b, sa[a] = b.eventTypes[c].dependencies;
+ ra[a] && x("100", a), ra[a] = b, sa[a] = b.eventTypes[c].dependencies;
}
- var oa = [], pa = {}, ra = {}, sa = {};
- function ta(a) {
- la && A("101"), la = Array.prototype.slice.call(a), na();
+ var oa = [], pa = {}, ra = {}, sa = {}, ta = null, ua = null, va = null;
+ function wa(a, b, c) {
+ var d = a.type || "unknown-event";
+ a.currentTarget = va(c), function(a, b, c, d, e, f, g, h, l) {
+ if (ja.apply(this, arguments), da) {
+ if (da) {
+ var k = ea;
+ da = !1, ea = null;
+ } else x("198"), k = void 0;
+ fa || (fa = !0, ha = k);
+ }
+ }(d, b, void 0, a), a.currentTarget = null;
}
- function ua(a) {
- var c, b = !1;
- for (c in a) if (a.hasOwnProperty(c)) {
- var d = a[c];
- ma.hasOwnProperty(c) && ma[c] === d || (ma[c] && A("102", c), ma[c] = d, b = !0);
- }
- b && na();
- }
- var va = {
- plugins: oa,
- eventNameDispatchConfigs: pa,
- registrationNameModules: ra,
- registrationNameDependencies: sa,
- possibleRegistrationNames: null,
- injectEventPluginOrder: ta,
- injectEventPluginsByName: ua
- }, wa = null, xa = null, ya = null;
- function za(a, b, c, d) {
- b = a.type || "unknown-event", a.currentTarget = ya(d), B.invokeGuardedCallbackAndCatchFirstError(b, c, void 0, a),
- a.currentTarget = null;
- }
- function Aa(a, b) {
- return null == b && A("30"), null == a ? b : Array.isArray(a) ? Array.isArray(b) ? (a.push.apply(a, b),
+ function xa(a, b) {
+ return null == b && x("30"), null == a ? b : Array.isArray(a) ? Array.isArray(b) ? (a.push.apply(a, b),
a) : (a.push(b), a) : Array.isArray(b) ? [ a ].concat(b) : [ a, b ];
}
- function Ba(a, b, c) {
+ function ya(a, b, c) {
Array.isArray(a) ? a.forEach(b, c) : a && b.call(c, a);
}
- var Ca = null;
- function Da(a, b) {
+ var za = null;
+ function Aa(a) {
if (a) {
- var c = a._dispatchListeners, d = a._dispatchInstances;
- if (Array.isArray(c)) for (var e = 0; e < c.length && !a.isPropagationStopped(); e++) za(a, b, c[e], d[e]); else c && za(a, b, c, d);
+ var b = a._dispatchListeners, c = a._dispatchInstances;
+ if (Array.isArray(b)) for (var d = 0; d < b.length && !a.isPropagationStopped(); d++) wa(a, b[d], c[d]); else b && wa(a, b, c);
a._dispatchListeners = null, a._dispatchInstances = null, a.isPersistent() || a.constructor.release(a);
}
}
- function Ea(a) {
- return Da(a, !0);
- }
- function Fa(a) {
- return Da(a, !1);
- }
- var Ga = {
- injectEventPluginOrder: ta,
- injectEventPluginsByName: ua
+ var Ba = {
+ injectEventPluginOrder: function(a) {
+ la && x("101"), la = Array.prototype.slice.call(a), na();
+ },
+ injectEventPluginsByName: function(a) {
+ var c, b = !1;
+ for (c in a) if (a.hasOwnProperty(c)) {
+ var d = a[c];
+ ma.hasOwnProperty(c) && ma[c] === d || (ma[c] && x("102", c), ma[c] = d, b = !0);
+ }
+ b && na();
+ }
};
- function Ha(a, b) {
+ function Ca(a, b) {
var c = a.stateNode;
if (!c) return null;
- var d = wa(c);
+ var d = ta(c);
if (!d) return null;
c = d[b];
a: switch (b) {
@@ -550,163 +559,141 @@
default:
a = !1;
}
- return a ? null : (c && "function" != typeof c && A("231", b, typeof c), c);
+ return a ? null : (c && "function" != typeof c && x("231", b, typeof c), c);
}
- function Ia(a, b) {
- null !== a && (Ca = Aa(Ca, a)), a = Ca, Ca = null, a && (Ba(a, b ? Ea : Fa), Ca && A("95"),
- B.rethrowCaughtError());
+ function Da(a) {
+ if (null !== a && (za = xa(za, a)), a = za, za = null, a && (ya(a, Aa), za && x("95"),
+ fa)) throw a = ha, fa = !1, ha = null, a;
}
- 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), C = "__reactInternalInstance$" + La, Ma = "__reactEventHandlers$" + La;
- function Na(a) {
- if (a[C]) return a[C];
- for (;!a[C]; ) {
+ var Ea = Math.random().toString(36).slice(2), Fa = "__reactInternalInstance$" + Ea, Ga = "__reactEventHandlers$" + Ea;
+ function Ha(a) {
+ if (a[Fa]) return a[Fa];
+ for (;!a[Fa]; ) {
if (!a.parentNode) return null;
a = a.parentNode;
}
- return 5 === (a = a[C]).tag || 6 === a.tag ? a : null;
+ return 5 === (a = a[Fa]).tag || 6 === a.tag ? a : null;
}
- function Oa(a) {
+ function Ia(a) {
+ return !(a = a[Fa]) || 5 !== a.tag && 6 !== a.tag ? null : a;
+ }
+ function Ja(a) {
if (5 === a.tag || 6 === a.tag) return a.stateNode;
- A("33");
+ x("33");
}
- function Pa(a) {
- return a[Ma] || null;
+ function Ka(a) {
+ return a[Ga] || null;
}
- var Qa = {
- precacheFiberNode: function(a, b) {
- b[C] = a;
- },
- getClosestInstanceFromNode: Na,
- getInstanceFromNode: function(a) {
- return !(a = a[C]) || 5 !== a.tag && 6 !== a.tag ? null : a;
- },
- getNodeFromInstance: Oa,
- getFiberCurrentPropsFromNode: Pa,
- updateFiberProps: function(a, b) {
- a[Ma] = b;
- }
- };
- function F(a) {
+ function La(a) {
do {
a = a["return"];
} while (a && 5 !== a.tag);
return a || null;
}
- 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 Ma(a, b, c) {
+ (b = Ca(a, c.dispatchConfig.phasedRegistrationNames[b])) && (c._dispatchListeners = xa(c._dispatchListeners, b),
+ c._dispatchInstances = xa(c._dispatchInstances, a));
}
- function Sa(a, b, c) {
- (b = Ha(a, c.dispatchConfig.phasedRegistrationNames[b])) && (c._dispatchListeners = Aa(c._dispatchListeners, b),
- c._dispatchInstances = Aa(c._dispatchInstances, a));
- }
- function Ta(a) {
- a && a.dispatchConfig.phasedRegistrationNames && Ra(a._targetInst, Sa, a);
- }
- function Ua(a) {
+ function Na(a) {
if (a && a.dispatchConfig.phasedRegistrationNames) {
- var b = a._targetInst;
- Ra(b = b ? F(b) : null, Sa, a);
+ for (var b = a._targetInst, c = []; b; ) c.push(b), b = La(b);
+ for (b = c.length; 0 < b--; ) Ma(c[b], "captured", a);
+ for (b = 0; b < c.length; b++) Ma(c[b], "bubbled", a);
}
}
- function Va(a, b, c) {
- a && c && c.dispatchConfig.registrationName && (b = Ha(a, c.dispatchConfig.registrationName)) && (c._dispatchListeners = Aa(c._dispatchListeners, b),
- c._dispatchInstances = Aa(c._dispatchInstances, a));
+ function Oa(a, b, c) {
+ a && c && c.dispatchConfig.registrationName && (b = Ca(a, c.dispatchConfig.registrationName)) && (c._dispatchListeners = xa(c._dispatchListeners, b),
+ c._dispatchInstances = xa(c._dispatchInstances, a));
}
- function Xa(a) {
- a && a.dispatchConfig.registrationName && Va(a._targetInst, null, a);
+ function Pa(a) {
+ a && a.dispatchConfig.registrationName && Oa(a._targetInst, null, a);
}
- function Ya(a) {
- Ba(a, Ta);
+ function Qa(a) {
+ ya(a, Na);
}
- function Za(a, b, c, d) {
- if (c && d) a: {
- for (var e = c, 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 = F(e), f = F(f);
- }
- e = null;
- } else e = null;
- for (f = e, e = []; c && c !== f && (null === (g = c.alternate) || g !== f); ) e.push(c),
- c = F(c);
- for (c = []; d && d !== f && (null === (g = d.alternate) || g !== f); ) c.push(d),
- d = F(d);
- for (d = 0; d < e.length; d++) Va(e[d], "bubbled", a);
- for (a = c.length; 0 < a--; ) Va(c[a], "captured", b);
- }
- var $a = {
- accumulateTwoPhaseDispatches: Ya,
- accumulateTwoPhaseDispatchesSkipTarget: function(a) {
- Ba(a, Ua);
- },
- accumulateEnterLeaveDispatches: Za,
- accumulateDirectDispatches: function(a) {
- Ba(a, Xa);
- }
- };
- function ab(a, b) {
+ var Ra = !("undefined" == typeof window || !window.document || !window.document.createElement);
+ function Sa(a, b) {
var c = {};
return 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(), c;
+ c;
}
- var bb = {
- animationend: ab("Animation", "AnimationEnd"),
- animationiteration: ab("Animation", "AnimationIteration"),
- animationstart: ab("Animation", "AnimationStart"),
- transitionend: ab("Transition", "TransitionEnd")
- }, cb = {}, db = {};
- function eb(a) {
- if (cb[a]) return cb[a];
- if (!bb[a]) return a;
- var c, b = bb[a];
- for (c in b) if (b.hasOwnProperty(c) && c in db) return cb[a] = b[c];
+ var Ta = {
+ animationend: Sa("Animation", "AnimationEnd"),
+ animationiteration: Sa("Animation", "AnimationIteration"),
+ animationstart: Sa("Animation", "AnimationStart"),
+ transitionend: Sa("Transition", "TransitionEnd")
+ }, Ua = {}, Va = {};
+ function Wa(a) {
+ if (Ua[a]) return Ua[a];
+ if (!Ta[a]) return a;
+ var c, b = Ta[a];
+ for (c in b) if (b.hasOwnProperty(c) && c in Va) return Ua[a] = b[c];
return a;
}
- 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);
- 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() {
- return !kb && m.canUseDOM && (kb = "textContent" in document.documentElement ? "textContent" : "innerText"),
- kb;
- }
- var G = {
- _root: null,
- _startText: null,
- _fallbackText: null
- };
- function mb() {
- if (G._fallbackText) return G._fallbackText;
- var a, d, b = G._startText, c = b.length, e = nb(), f = e.length;
+ Ra && (Va = document.createElement("div").style, "AnimationEvent" in window || (delete Ta.animationend.animation,
+ delete Ta.animationiteration.animation, delete Ta.animationstart.animation), "TransitionEvent" in window || delete Ta.transitionend.transition);
+ var Xa = Wa("animationend"), Ya = Wa("animationiteration"), Za = Wa("animationstart"), $a = Wa("transitionend"), ab = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), bb = null, cb = null, db = null;
+ function eb() {
+ if (db) return db;
+ var a, d, b = cb, c = b.length, e = "value" in bb ? bb.value : bb.textContent, f = e.length;
for (a = 0; a < c && b[a] === e[a]; a++) ;
var g = c - a;
for (d = 1; d <= g && b[c - d] === e[f - d]; d++) ;
- return G._fallbackText = e.slice(a, 1 < d ? 1 - d : void 0), G._fallbackText;
+ return db = e.slice(a, 1 < d ? 1 - d : void 0);
}
- function nb() {
- return "value" in G._root ? G._root.value : G._root[lb()];
+ function fb() {
+ return !0;
}
- var ob = "dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "), pb = {
+ function gb() {
+ return !1;
+ }
+ function y(a, b, c, d) {
+ for (var e in this.dispatchConfig = a, this._targetInst = b, this.nativeEvent = c,
+ a = this.constructor.Interface) a.hasOwnProperty(e) && ((b = a[e]) ? this[e] = b(c) : "target" === e ? this.target = d : this[e] = c[e]);
+ return this.isDefaultPrevented = (null != c.defaultPrevented ? c.defaultPrevented : !1 === c.returnValue) ? fb : gb,
+ this.isPropagationStopped = gb, this;
+ }
+ function ib(a, b, c, d) {
+ if (this.eventPool.length) {
+ var e = this.eventPool.pop();
+ return this.call(e, a, b, c, d), e;
+ }
+ return new this(a, b, c, d);
+ }
+ function jb(a) {
+ a instanceof this || x("279"), a.destructor(), 10 > this.eventPool.length && this.eventPool.push(a);
+ }
+ function hb(a) {
+ a.eventPool = [], a.getPooled = ib, a.release = jb;
+ }
+ n(y.prototype, {
+ preventDefault: function() {
+ this.defaultPrevented = !0;
+ var a = this.nativeEvent;
+ a && (a.preventDefault ? a.preventDefault() : "unknown" != typeof a.returnValue && (a.returnValue = !1),
+ this.isDefaultPrevented = fb);
+ },
+ stopPropagation: function() {
+ var a = this.nativeEvent;
+ a && (a.stopPropagation ? a.stopPropagation() : "unknown" != typeof a.cancelBubble && (a.cancelBubble = !0),
+ this.isPropagationStopped = fb);
+ },
+ persist: function() {
+ this.isPersistent = fb;
+ },
+ isPersistent: gb,
+ destructor: function() {
+ var b, a = this.constructor.Interface;
+ for (b in a) this[b] = null;
+ this.nativeEvent = this._targetInst = this.dispatchConfig = null, this.isPropagationStopped = this.isDefaultPrevented = gb,
+ this._dispatchInstances = this._dispatchListeners = null;
+ }
+ }), y.Interface = {
type: null,
target: null,
- currentTarget: v.thatReturnsNull,
+ currentTarget: function() {
+ return null;
+ },
eventPhase: null,
bubbles: null,
cancelable: null,
@@ -715,48 +702,7 @@
},
defaultPrevented: null,
isTrusted: null
- };
- function H(a, b, c, d) {
- for (var e in this.dispatchConfig = a, this._targetInst = b, this.nativeEvent = c,
- a = this.constructor.Interface) a.hasOwnProperty(e) && ((b = a[e]) ? this[e] = b(c) : "target" === e ? this.target = d : this[e] = c[e]);
- return this.isDefaultPrevented = (null != c.defaultPrevented ? c.defaultPrevented : !1 === c.returnValue) ? v.thatReturnsTrue : v.thatReturnsFalse,
- this.isPropagationStopped = v.thatReturnsFalse, this;
- }
- function rb(a, b, c, d) {
- if (this.eventPool.length) {
- var e = this.eventPool.pop();
- return this.call(e, a, b, c, d), e;
- }
- return new this(a, b, c, d);
- }
- function sb(a) {
- a instanceof this || A("223"), a.destructor(), 10 > this.eventPool.length && this.eventPool.push(a);
- }
- function qb(a) {
- a.eventPool = [], a.getPooled = rb, a.release = sb;
- }
- p(H.prototype, {
- preventDefault: function() {
- this.defaultPrevented = !0;
- var a = this.nativeEvent;
- a && (a.preventDefault ? a.preventDefault() : "unknown" != typeof a.returnValue && (a.returnValue = !1),
- this.isDefaultPrevented = v.thatReturnsTrue);
- },
- stopPropagation: function() {
- var a = this.nativeEvent;
- a && (a.stopPropagation ? a.stopPropagation() : "unknown" != typeof a.cancelBubble && (a.cancelBubble = !0),
- this.isPropagationStopped = v.thatReturnsTrue);
- },
- persist: function() {
- this.isPersistent = v.thatReturnsTrue;
- },
- isPersistent: v.thatReturnsFalse,
- destructor: function() {
- var b, a = this.constructor.Interface;
- for (b in a) this[b] = null;
- for (a = 0; a < ob.length; a++) this[ob[a]] = null;
- }
- }), H.Interface = pb, H.extend = function(a) {
+ }, y.extend = function(a) {
function b() {}
function c() {
return d.apply(this, arguments);
@@ -764,16 +710,16 @@
var d = this;
b.prototype = d.prototype;
var e = new b();
- return p(e, c.prototype), c.prototype = e, c.prototype.constructor = c, c.Interface = p({}, d.Interface, a),
- c.extend = d.extend, qb(c), c;
- }, qb(H);
- var tb = H.extend({
+ return n(e, c.prototype), c.prototype = e, c.prototype.constructor = c, c.Interface = n({}, d.Interface, a),
+ c.extend = d.extend, hb(c), c;
+ }, hb(y);
+ var kb = y.extend({
data: null
- }), ub = H.extend({
+ }), lb = y.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 = {
+ }), mb = [ 9, 13, 27, 32 ], nb = Ra && "CompositionEvent" in window, ob = null;
+ Ra && "documentMode" in document && (ob = document.documentMode);
+ var pb = Ra && "TextEvent" in window && !ob, qb = Ra && (!nb || ob && 8 < ob && 11 >= ob), rb = String.fromCharCode(32), sb = {
beforeInput: {
phasedRegistrationNames: {
bubbled: "onBeforeInput",
@@ -802,11 +748,11 @@
},
dependencies: "blur compositionupdate keydown keypress keyup mousedown".split(" ")
}
- }, Cb = !1;
- function Db(a, b) {
+ }, tb = !1;
+ function ub(a, b) {
switch (a) {
case "keyup":
- return -1 !== vb.indexOf(b.keyCode);
+ return -1 !== mb.indexOf(b.keyCode);
case "keydown":
return 229 !== b.keyCode;
@@ -820,49 +766,49 @@
return !1;
}
}
- function Eb(a) {
+ function vb(a) {
return "object" == typeof (a = a.detail) && "data" in a ? a.data : null;
}
- var Fb = !1;
- var Ib = {
- eventTypes: Bb,
+ var wb = !1;
+ var zb = {
+ eventTypes: sb,
extractEvents: function(a, b, c, d) {
var e = void 0, f = void 0;
- if (wb) b: {
+ if (nb) b: {
switch (a) {
case "compositionstart":
- e = Bb.compositionStart;
+ e = sb.compositionStart;
break b;
case "compositionend":
- e = Bb.compositionEnd;
+ e = sb.compositionEnd;
break b;
case "compositionupdate":
- e = Bb.compositionUpdate;
+ e = sb.compositionUpdate;
break b;
}
e = void 0;
- } else Fb ? Db(a, c) && (e = Bb.compositionEnd) : "keydown" === a && 229 === c.keyCode && (e = Bb.compositionStart);
- return 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 : null !== (f = Eb(c)) && (e.data = f),
- Ya(e), f = e) : f = null, (a = yb ? function(a, b) {
+ } else wb ? ub(a, c) && (e = sb.compositionEnd) : "keydown" === a && 229 === c.keyCode && (e = sb.compositionStart);
+ return e ? (qb && "ko" !== c.locale && (wb || e !== sb.compositionStart ? e === sb.compositionEnd && wb && (f = eb()) : (cb = "value" in (bb = d) ? bb.value : bb.textContent,
+ wb = !0)), e = kb.getPooled(e, b, c, d), f ? e.data = f : null !== (f = vb(c)) && (e.data = f),
+ Qa(e), f = e) : f = null, (a = pb ? function(a, b) {
switch (a) {
case "compositionend":
- return Eb(b);
+ return vb(b);
case "keypress":
- return 32 !== b.which ? null : (Cb = !0, Ab);
+ return 32 !== b.which ? null : (tb = !0, rb);
case "textInput":
- return (a = b.data) === Ab && Cb ? null : a;
+ return (a = b.data) === rb && tb ? null : a;
default:
return null;
}
}(a, c) : function(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;
+ if (wb) return "compositionend" === a || !nb && ub(a, b) ? (a = eb(), db = cb = bb = null,
+ wb = !1, a) : null;
switch (a) {
case "paste":
return null;
@@ -875,62 +821,49 @@
return null;
case "compositionend":
- return zb ? null : b.data;
+ return qb && "ko" !== b.locale ? null : b.data;
default:
return null;
}
- }(a, c)) ? ((b = ub.getPooled(Bb.beforeInput, b, c, d)).data = a, Ya(b)) : b = null,
+ }(a, c)) ? ((b = lb.getPooled(sb.beforeInput, b, c, d)).data = a, Qa(b)) : b = null,
null === f ? b : null === b ? f : [ f, b ];
}
- }, Jb = null, Kb = {
- injectFiberControlledHostComponent: function(a) {
- Jb = a;
- }
- }, Lb = null, Mb = null;
- function Nb(a) {
- if (a = xa(a)) {
- Jb && "function" == typeof Jb.restoreControlledState || A("194");
- var b = wa(a.stateNode);
- Jb.restoreControlledState(a.stateNode, a.type, b);
+ }, Ab = null, Bb = null, Cb = null;
+ function Db(a) {
+ if (a = ua(a)) {
+ "function" != typeof Ab && x("280");
+ var b = ta(a.stateNode);
+ Ab(a.stateNode, a.type, b);
}
}
- function Ob(a) {
- Lb ? Mb ? Mb.push(a) : Mb = [ a ] : Lb = a;
+ function Eb(a) {
+ Bb ? Cb ? Cb.push(a) : Cb = [ a ] : Bb = a;
}
- function Pb() {
- return null !== Lb || null !== Mb;
- }
- function Qb() {
- if (Lb) {
- var a = Lb, b = Mb;
- if (Mb = Lb = null, Nb(a), b) for (a = 0; a < b.length; a++) Nb(b[a]);
+ function Fb() {
+ if (Bb) {
+ var a = Bb, b = Cb;
+ if (Cb = Bb = null, Db(a), b) for (a = 0; a < b.length; a++) Db(b[a]);
}
}
- var Rb = {
- injection: Kb,
- enqueueStateRestore: Ob,
- needsStateRestore: Pb,
- restoreStateIfNeeded: Qb
- };
- function Sb(a, b) {
+ function Gb(a, b) {
return a(b);
}
- function Tb(a, b, c) {
+ function Hb(a, b, c) {
return a(b, c);
}
- function Ub() {}
- var Vb = !1;
- function Wb(a, b) {
- if (Vb) return a(b);
- Vb = !0;
+ function Ib() {}
+ var Jb = !1;
+ function Kb(a, b) {
+ if (Jb) return a(b);
+ Jb = !0;
try {
- return Sb(a, b);
+ return Gb(a, b);
} finally {
- Vb = !1, Pb() && (Ub(), Qb());
+ Jb = !1, (null !== Bb || null !== Cb) && (Ib(), Fb());
}
}
- var Xb = {
+ var Lb = {
color: !0,
date: !0,
datetime: !0,
@@ -947,25 +880,27 @@
url: !0,
week: !0
};
- function Yb(a) {
+ function Mb(a) {
var b = a && a.nodeName && a.nodeName.toLowerCase();
- return "input" === b ? !!Xb[a.type] : "textarea" === b;
+ return "input" === b ? !!Lb[a.type] : "textarea" === b;
}
- function Zb(a) {
+ function Nb(a) {
return (a = a.target || a.srcElement || window).correspondingUseElement && (a = a.correspondingUseElement),
3 === a.nodeType ? a.parentNode : a;
}
- function $b(a, b) {
- return !(!m.canUseDOM || b && !("addEventListener" in document)) && ((b = (a = "on" + a) in document) || ((b = document.createElement("div")).setAttribute(a, "return;"),
- b = "function" == typeof b[a]), b);
+ function Ob(a) {
+ if (!Ra) return !1;
+ var b = (a = "on" + a) in document;
+ return b || ((b = document.createElement("div")).setAttribute(a, "return;"), b = "function" == typeof b[a]),
+ b;
}
- function ac(a) {
+ function Pb(a) {
var b = a.type;
return (a = a.nodeName) && "input" === a.toLowerCase() && ("checkbox" === b || "radio" === b);
}
- function cc(a) {
+ function Rb(a) {
a._valueTracker || (a._valueTracker = function(a) {
- var b = ac(a) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), d = "" + a[b];
+ var b = Pb(a) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), d = "" + a[b];
if (!a.hasOwnProperty(b) && void 0 !== c && "function" == typeof c.get && "function" == typeof c.set) {
var e = c.get, f = c.set;
return Object.defineProperty(a, b, {
@@ -992,104 +927,118 @@
}
}(a));
}
- function dc(a) {
+ function Sb(a) {
if (!a) return !1;
var b = a._valueTracker;
if (!b) return !0;
var c = b.getValue(), d = "";
- return a && (d = ac(a) ? a.checked ? "true" : "false" : a.value), (a = d) !== c && (b.setValue(a),
+ return a && (d = Pb(a) ? a.checked ? "true" : "false" : a.value), (a = d) !== c && (b.setValue(a),
!0);
}
- var ec = ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, fc = "function" == typeof Symbol && Symbol["for"], gc = fc ? Symbol["for"]("react.element") : 60103, hc = fc ? Symbol["for"]("react.portal") : 60106, ic = fc ? Symbol["for"]("react.fragment") : 60107, jc = fc ? Symbol["for"]("react.strict_mode") : 60108, kc = fc ? Symbol["for"]("react.profiler") : 60114, lc = fc ? Symbol["for"]("react.provider") : 60109, mc = fc ? Symbol["for"]("react.context") : 60110, pc = fc ? Symbol["for"]("react.async_mode") : 60111, qc = fc ? Symbol["for"]("react.forward_ref") : 60112, rc = fc ? Symbol["for"]("react.timeout") : 60113, sc = "function" == typeof Symbol && Symbol.iterator;
- function tc(a) {
- return null === a || void 0 === a ? null : "function" == typeof (a = sc && a[sc] || a["@@iterator"]) ? a : null;
+ var Tb = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
+ Tb.hasOwnProperty("ReactCurrentDispatcher") || (Tb.ReactCurrentDispatcher = {
+ current: null
+ });
+ var Ub = /^(.*)[\\\/]/, z = "function" == typeof Symbol && Symbol["for"], Vb = z ? Symbol["for"]("react.element") : 60103, Wb = z ? Symbol["for"]("react.portal") : 60106, Xb = z ? Symbol["for"]("react.fragment") : 60107, Yb = z ? Symbol["for"]("react.strict_mode") : 60108, Zb = z ? Symbol["for"]("react.profiler") : 60114, $b = z ? Symbol["for"]("react.provider") : 60109, ac = z ? Symbol["for"]("react.context") : 60110, bc = z ? Symbol["for"]("react.concurrent_mode") : 60111, cc = z ? Symbol["for"]("react.forward_ref") : 60112, dc = z ? Symbol["for"]("react.suspense") : 60113, ec = z ? Symbol["for"]("react.memo") : 60115, fc = z ? Symbol["for"]("react.lazy") : 60116, gc = "function" == typeof Symbol && Symbol.iterator;
+ function hc(a) {
+ return null === a || "object" != typeof a ? null : "function" == typeof (a = gc && a[gc] || a["@@iterator"]) ? a : null;
}
- function uc(a) {
- var b = a.type;
- if ("function" == typeof b) return b.displayName || b.name;
- if ("string" == typeof b) return b;
- switch (b) {
- case pc:
- return "AsyncMode";
+ function ic(a) {
+ if (null == a) return null;
+ if ("function" == typeof a) return a.displayName || a.name || null;
+ if ("string" == typeof a) return a;
+ switch (a) {
+ case bc:
+ return "ConcurrentMode";
- case mc:
- return "Context.Consumer";
+ case Xb:
+ return "Fragment";
- case ic:
- return "ReactFragment";
+ case Wb:
+ return "Portal";
- case hc:
- return "ReactPortal";
+ case Zb:
+ return "Profiler";
- case kc:
- return "Profiler(" + a.pendingProps.id + ")";
-
- case lc:
- return "Context.Provider";
-
- case jc:
+ case Yb:
return "StrictMode";
- case rc:
- return "Timeout";
+ case dc:
+ return "Suspense";
}
- if ("object" == typeof b && null !== b) switch (b.$$typeof) {
- case qc:
- return "" !== (a = b.render.displayName || b.render.name || "") ? "ForwardRef(" + a + ")" : "ForwardRef";
+ if ("object" == typeof a) switch (a.$$typeof) {
+ case ac:
+ return "Context.Consumer";
+
+ case $b:
+ return "Context.Provider";
+
+ case cc:
+ var b = a.render;
+ return b = b.displayName || b.name || "", a.displayName || ("" !== b ? "ForwardRef(" + b + ")" : "ForwardRef");
+
+ case ec:
+ return ic(a.type);
+
+ case fc:
+ if (a = 1 === a._status ? a._result : null) return ic(a);
}
return null;
}
- function vc(a) {
+ function jc(a) {
var b = "";
do {
a: switch (a.tag) {
- case 0:
- case 1:
- case 2:
- case 5:
- var c = a._debugOwner, d = a._debugSource, e = uc(a), f = null;
- c && (f = uc(c)), c = d, e = "\n in " + (e || "Unknown") + (c ? " (at " + c.fileName.replace(/^.*[\\\/]/, "") + ":" + c.lineNumber + ")" : f ? " (created by " + f + ")" : "");
+ case 3:
+ case 4:
+ case 6:
+ case 7:
+ case 10:
+ case 9:
+ var c = "";
break a;
default:
- e = "";
+ var d = a._debugOwner, e = a._debugSource, f = ic(a.type);
+ c = null, d && (c = ic(d.type)), d = f, f = "", e ? f = " (at " + e.fileName.replace(Ub, "") + ":" + e.lineNumber + ")" : c && (f = " (created by " + c + ")"),
+ c = "\n in " + (d || "Unknown") + f;
}
- b += e, a = a["return"];
+ b += c, a = a["return"];
} while (a);
return b;
}
- 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 = Object.prototype.hasOwnProperty, zc = {}, Ac = {};
- function I(a, b, c, d, e) {
+ var kc = /^[: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]*$/, lc = Object.prototype.hasOwnProperty, mc = {}, nc = {};
+ function C(a, b, c, d, e) {
this.acceptsBooleans = 2 === b || 3 === b || 4 === b, this.attributeName = d, this.attributeNamespace = e,
this.mustUseProperty = c, this.propertyName = a, this.type = b;
}
- var J = {};
+ var D = {};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) {
- J[a] = new I(a, 0, !1, a, null);
+ D[a] = new C(a, 0, !1, a, null);
}), [ [ "acceptCharset", "accept-charset" ], [ "className", "class" ], [ "htmlFor", "for" ], [ "httpEquiv", "http-equiv" ] ].forEach(function(a) {
var b = a[0];
- J[b] = new I(b, 1, !1, a[1], null);
+ D[b] = new C(b, 1, !1, a[1], null);
}), [ "contentEditable", "draggable", "spellCheck", "value" ].forEach(function(a) {
- J[a] = new I(a, 2, !1, a.toLowerCase(), null);
- }), [ "autoReverse", "externalResourcesRequired", "preserveAlpha" ].forEach(function(a) {
- J[a] = new I(a, 2, !1, a, null);
+ D[a] = new C(a, 2, !1, a.toLowerCase(), null);
+ }), [ "autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha" ].forEach(function(a) {
+ D[a] = new C(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) {
- J[a] = new I(a, 3, !1, a.toLowerCase(), null);
+ D[a] = new C(a, 3, !1, a.toLowerCase(), null);
}), [ "checked", "multiple", "muted", "selected" ].forEach(function(a) {
- J[a] = new I(a, 3, !0, a.toLowerCase(), null);
+ D[a] = new C(a, 3, !0, a, null);
}), [ "capture", "download" ].forEach(function(a) {
- J[a] = new I(a, 4, !1, a.toLowerCase(), null);
+ D[a] = new C(a, 4, !1, a, null);
}), [ "cols", "rows", "size", "span" ].forEach(function(a) {
- J[a] = new I(a, 6, !1, a.toLowerCase(), null);
+ D[a] = new C(a, 6, !1, a, null);
}), [ "rowSpan", "start" ].forEach(function(a) {
- J[a] = new I(a, 5, !1, a.toLowerCase(), null);
+ D[a] = new C(a, 5, !1, a.toLowerCase(), null);
});
- var Ec = /[\-:]([a-z])/g;
- function Fc(a) {
+ var rc = /[\-:]([a-z])/g;
+ function sc(a) {
return a[1].toUpperCase();
}
- function Gc(a, b, c, d) {
- var e = J.hasOwnProperty(b) ? J[b] : null;
+ function tc(a, b, c, d) {
+ var e = D.hasOwnProperty(b) ? D[b] : null;
(null !== e ? 0 === e.type : !d && (2 < b.length && ("o" === b[0] || "O" === b[0]) && ("n" === b[1] || "N" === b[1]))) || (function(a, b, c, d) {
if (null === b || void 0 === b || function(a, b, c, d) {
if (null !== c && 0 === c.type) return !1;
@@ -1121,52 +1070,13 @@
}
return !1;
}(b, c, e, d) && (c = null), d || null === e ? function(a) {
- return !!xc.call(Ac, a) || !xc.call(zc, a) && (wc.test(a) ? Ac[a] = !0 : (zc[a] = !0,
+ return !!lc.call(nc, a) || !lc.call(mc, a) && (kc.test(a) ? nc[a] = !0 : (mc[a] = !0,
!1));
}(b) && (null === c ? a.removeAttribute(b) : a.setAttribute(b, "" + c)) : e.mustUseProperty ? a[e.propertyName] = null === c ? 3 !== e.type && "" : c : (b = e.attributeName,
d = e.attributeNamespace, null === c ? a.removeAttribute(b) : (c = 3 === (e = e.type) || 4 === e && !0 === c ? "" : "" + c,
d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c))));
}
- function Hc(a, b) {
- var c = b.checked;
- return p({}, b, {
- defaultChecked: void 0,
- defaultValue: void 0,
- value: void 0,
- checked: null != c ? c : a._wrapperState.initialChecked
- });
- }
- function Ic(a, b) {
- var c = null == b.defaultValue ? "" : b.defaultValue, d = null != b.checked ? b.checked : b.defaultChecked;
- c = Jc(null != b.value ? b.value : c), a._wrapperState = {
- initialChecked: d,
- initialValue: c,
- controlled: "checkbox" === b.type || "radio" === b.type ? null != b.checked : null != b.value
- };
- }
- function Kc(a, b) {
- null != (b = b.checked) && Gc(a, "checked", b, !1);
- }
- function Lc(a, b) {
- Kc(a, b);
- var c = Jc(b.value);
- null != c && ("number" === b.type ? (0 === c && "" === a.value || a.value != c) && (a.value = "" + c) : a.value !== "" + c && (a.value = "" + c)),
- b.hasOwnProperty("value") ? Mc(a, b.type, c) : b.hasOwnProperty("defaultValue") && Mc(a, b.type, Jc(b.defaultValue)),
- null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked);
- }
- function Nc(a, b, c) {
- if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) {
- b = "" + a._wrapperState.initialValue;
- var d = a.value;
- c || b === d || (a.value = b), a.defaultValue = b;
- }
- "" !== (c = a.name) && (a.name = ""), a.defaultChecked = !a.defaultChecked, a.defaultChecked = !a.defaultChecked,
- "" !== c && (a.name = c);
- }
- function Mc(a, b, c) {
- "number" === b && a.ownerDocument.activeElement === a || (null == c ? a.defaultValue = "" + a._wrapperState.initialValue : a.defaultValue !== "" + c && (a.defaultValue = "" + c));
- }
- function Jc(a) {
+ function uc(a) {
switch (typeof a) {
case "boolean":
case "number":
@@ -1179,17 +1089,58 @@
return "";
}
}
+ function vc(a, b) {
+ var c = b.checked;
+ return n({}, b, {
+ defaultChecked: void 0,
+ defaultValue: void 0,
+ value: void 0,
+ checked: null != c ? c : a._wrapperState.initialChecked
+ });
+ }
+ function wc(a, b) {
+ var c = null == b.defaultValue ? "" : b.defaultValue, d = null != b.checked ? b.checked : b.defaultChecked;
+ c = uc(null != b.value ? b.value : c), a._wrapperState = {
+ initialChecked: d,
+ initialValue: c,
+ controlled: "checkbox" === b.type || "radio" === b.type ? null != b.checked : null != b.value
+ };
+ }
+ function xc(a, b) {
+ null != (b = b.checked) && tc(a, "checked", b, !1);
+ }
+ function yc(a, b) {
+ xc(a, b);
+ var c = uc(b.value), d = b.type;
+ if (null != c) "number" === d ? (0 === c && "" === a.value || a.value != c) && (a.value = "" + c) : a.value !== "" + c && (a.value = "" + c); else if ("submit" === d || "reset" === d) return void a.removeAttribute("value");
+ b.hasOwnProperty("value") ? zc(a, b.type, c) : b.hasOwnProperty("defaultValue") && zc(a, b.type, uc(b.defaultValue)),
+ null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked);
+ }
+ function Ac(a, b, c) {
+ if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) {
+ var d = b.type;
+ if (!("submit" !== d && "reset" !== d || void 0 !== b.value && null !== b.value)) return;
+ b = "" + a._wrapperState.initialValue, c || b === a.value || (a.value = b), a.defaultValue = b;
+ }
+ "" !== (c = a.name) && (a.name = ""), a.defaultChecked = !a.defaultChecked, a.defaultChecked = !!a._wrapperState.initialChecked,
+ "" !== c && (a.name = c);
+ }
+ function zc(a, b, c) {
+ "number" === b && a.ownerDocument.activeElement === a || (null == c ? a.defaultValue = "" + a._wrapperState.initialValue : a.defaultValue !== "" + c && (a.defaultValue = "" + c));
+ }
"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(Ec, Fc);
- J[b] = new I(b, 1, !1, a, null);
+ var b = a.replace(rc, sc);
+ D[b] = new C(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(Ec, Fc);
- J[b] = new I(b, 1, !1, a, "http://www.w3.org/1999/xlink");
+ var b = a.replace(rc, sc);
+ D[b] = new C(b, 1, !1, a, "http://www.w3.org/1999/xlink");
}), [ "xml:base", "xml:lang", "xml:space" ].forEach(function(a) {
- var b = a.replace(Ec, Fc);
- J[b] = new I(b, 1, !1, a, "http://www.w3.org/XML/1998/namespace");
- }), J.tabIndex = new I("tabIndex", 1, !1, "tabindex", null);
- var Oc = {
+ var b = a.replace(rc, sc);
+ D[b] = new C(b, 1, !1, a, "http://www.w3.org/XML/1998/namespace");
+ }), [ "tabIndex", "crossOrigin" ].forEach(function(a) {
+ D[a] = new C(a, 1, !1, a.toLowerCase(), null);
+ });
+ var Bc = {
change: {
phasedRegistrationNames: {
bubbled: "onChange",
@@ -1198,66 +1149,66 @@
dependencies: "blur change click focus input keydown keyup selectionchange".split(" ")
}
};
- function Pc(a, b, c) {
- return (a = H.getPooled(Oc.change, a, b, c)).type = "change", Ob(c), Ya(a), a;
+ function Cc(a, b, c) {
+ return (a = y.getPooled(Bc.change, a, b, c)).type = "change", Eb(c), Qa(a), a;
}
- var Qc = null, Rc = null;
- function Sc(a) {
- Ia(a, !1);
+ var Dc = null, Ec = null;
+ function Fc(a) {
+ Da(a);
}
- function Tc(a) {
- if (dc(Oa(a))) return a;
+ function Gc(a) {
+ if (Sb(Ja(a))) return a;
}
- function Uc(a, b) {
+ function Hc(a, b) {
if ("change" === a) return b;
}
- var Vc = !1;
- function Wc() {
- Qc && (Qc.detachEvent("onpropertychange", Xc), Rc = Qc = null);
+ var Ic = !1;
+ function Jc() {
+ Dc && (Dc.detachEvent("onpropertychange", Kc), Ec = Dc = null);
}
- function Xc(a) {
- "value" === a.propertyName && Tc(Rc) && Wb(Sc, a = Pc(Rc, a, Zb(a)));
+ function Kc(a) {
+ "value" === a.propertyName && Gc(Ec) && Kb(Fc, a = Cc(Ec, a, Nb(a)));
}
- function Yc(a, b, c) {
- "focus" === a ? (Wc(), Rc = c, (Qc = b).attachEvent("onpropertychange", Xc)) : "blur" === a && Wc();
+ function Lc(a, b, c) {
+ "focus" === a ? (Jc(), Ec = c, (Dc = b).attachEvent("onpropertychange", Kc)) : "blur" === a && Jc();
}
- function Zc(a) {
- if ("selectionchange" === a || "keyup" === a || "keydown" === a) return Tc(Rc);
+ function Mc(a) {
+ if ("selectionchange" === a || "keyup" === a || "keydown" === a) return Gc(Ec);
}
- function $c(a, b) {
- if ("click" === a) return Tc(b);
+ function Nc(a, b) {
+ if ("click" === a) return Gc(b);
}
- function ad(a, b) {
- if ("input" === a || "change" === a) return Tc(b);
+ function Oc(a, b) {
+ if ("input" === a || "change" === a) return Gc(b);
}
- m.canUseDOM && (Vc = $b("input") && (!document.documentMode || 9 < document.documentMode));
- var bd = {
- eventTypes: Oc,
- _isInputEventSupported: Vc,
+ Ra && (Ic = Ob("input") && (!document.documentMode || 9 < document.documentMode));
+ var Pc = {
+ eventTypes: Bc,
+ _isInputEventSupported: Ic,
extractEvents: function(a, b, c, d) {
- var e = b ? Oa(b) : window, f = void 0, g = void 0, h = e.nodeName && e.nodeName.toLowerCase();
- if ("select" === h || "input" === h && "file" === e.type ? f = Uc : Yb(e) ? Vc ? f = ad : (f = Zc,
- g = Yc) : (h = e.nodeName) && "input" === h.toLowerCase() && ("checkbox" === e.type || "radio" === e.type) && (f = $c),
- f && (f = f(a, b))) return Pc(f, c, d);
- g && g(a, e, b), "blur" === a && (a = e._wrapperState) && a.controlled && "number" === e.type && Mc(e, "number", e.value);
+ var e = b ? Ja(b) : window, f = void 0, g = void 0, h = e.nodeName && e.nodeName.toLowerCase();
+ if ("select" === h || "input" === h && "file" === e.type ? f = Hc : Mb(e) ? Ic ? f = Oc : (f = Mc,
+ g = Lc) : (h = e.nodeName) && "input" === h.toLowerCase() && ("checkbox" === e.type || "radio" === e.type) && (f = Nc),
+ f && (f = f(a, b))) return Cc(f, c, d);
+ g && g(a, e, b), "blur" === a && (a = e._wrapperState) && a.controlled && "number" === e.type && zc(e, "number", e.value);
}
- }, cd = H.extend({
+ }, Qc = y.extend({
view: null,
detail: null
- }), dd = {
+ }), Rc = {
Alt: "altKey",
Control: "ctrlKey",
Meta: "metaKey",
Shift: "shiftKey"
};
- function ed(a) {
+ function Sc(a) {
var b = this.nativeEvent;
- return b.getModifierState ? b.getModifierState(a) : !!(a = dd[a]) && !!b[a];
+ return b.getModifierState ? b.getModifierState(a) : !!(a = Rc[a]) && !!b[a];
}
- function fd() {
- return ed;
+ function Tc() {
+ return Sc;
}
- var gd = cd.extend({
+ var Uc = 0, Vc = 0, Wc = !1, Xc = !1, Yc = Qc.extend({
screenX: null,
screenY: null,
clientX: null,
@@ -1268,22 +1219,36 @@
shiftKey: null,
altKey: null,
metaKey: null,
- getModifierState: fd,
+ getModifierState: Tc,
button: null,
buttons: null,
relatedTarget: function(a) {
return a.relatedTarget || (a.fromElement === a.srcElement ? a.toElement : a.fromElement);
+ },
+ movementX: function(a) {
+ if ("movementX" in a) return a.movementX;
+ var b = Uc;
+ return Uc = a.screenX, Wc ? "mousemove" === a.type ? a.screenX - b : 0 : (Wc = !0,
+ 0);
+ },
+ movementY: function(a) {
+ if ("movementY" in a) return a.movementY;
+ var b = Vc;
+ return Vc = a.screenY, Xc ? "mousemove" === a.type ? a.screenY - b : 0 : (Xc = !0,
+ 0);
}
- }), hd = gd.extend({
+ }), Zc = Yc.extend({
pointerId: null,
width: null,
height: null,
pressure: null,
+ tangentialPressure: null,
tiltX: null,
tiltY: null,
+ twist: null,
pointerType: null,
isPrimary: null
- }), id = {
+ }), $c = {
mouseEnter: {
registrationName: "onMouseEnter",
dependencies: [ "mouseout", "mouseover" ]
@@ -1300,24 +1265,54 @@
registrationName: "onPointerLeave",
dependencies: [ "pointerout", "pointerover" ]
}
- }, jd = {
- eventTypes: id,
+ }, ad = {
+ eventTypes: $c,
extractEvents: function(a, b, c, d) {
var e = "mouseover" === a || "pointerover" === a, f = "mouseout" === a || "pointerout" === a;
if (e && (c.relatedTarget || c.fromElement) || !f && !e) return null;
if (e = d.window === d ? d : (e = d.ownerDocument) ? e.defaultView || e.parentWindow : window,
- f ? (f = b, b = (b = c.relatedTarget || c.toElement) ? Na(b) : null) : f = null,
+ f ? (f = b, b = (b = c.relatedTarget || c.toElement) ? Ha(b) : null) : f = null,
f === b) return null;
- var g = void 0, h = void 0, k = void 0, n = void 0;
- return "mouseout" === a || "mouseover" === a ? (g = gd, h = id.mouseLeave, k = id.mouseEnter,
- n = "mouse") : "pointerout" !== a && "pointerover" !== a || (g = hd, h = id.pointerLeave,
- k = id.pointerEnter, n = "pointer"), a = null == f ? e : Oa(f), e = null == b ? e : Oa(b),
- (h = g.getPooled(h, f, c, d)).type = n + "leave", h.target = a, h.relatedTarget = e,
- (c = g.getPooled(k, b, c, d)).type = n + "enter", c.target = e, c.relatedTarget = a,
- Za(h, c, f, b), [ h, c ];
+ var g = void 0, h = void 0, l = void 0, k = void 0;
+ "mouseout" === a || "mouseover" === a ? (g = Yc, h = $c.mouseLeave, l = $c.mouseEnter,
+ k = "mouse") : "pointerout" !== a && "pointerover" !== a || (g = Zc, h = $c.pointerLeave,
+ l = $c.pointerEnter, k = "pointer");
+ var m = null == f ? e : Ja(f);
+ if (e = null == b ? e : Ja(b), (a = g.getPooled(h, f, c, d)).type = k + "leave",
+ a.target = m, a.relatedTarget = e, (c = g.getPooled(l, b, c, d)).type = k + "enter",
+ c.target = e, c.relatedTarget = m, d = b, f && d) a: {
+ for (e = d, k = 0, g = b = f; g; g = La(g)) k++;
+ for (g = 0, l = e; l; l = La(l)) g++;
+ for (;0 < k - g; ) b = La(b), k--;
+ for (;0 < g - k; ) e = La(e), g--;
+ for (;k--; ) {
+ if (b === e || b === e.alternate) break a;
+ b = La(b), e = La(e);
+ }
+ b = null;
+ } else b = null;
+ for (e = b, b = []; f && f !== e && (null === (k = f.alternate) || k !== e); ) b.push(f),
+ f = La(f);
+ for (f = []; d && d !== e && (null === (k = d.alternate) || k !== e); ) f.push(d),
+ d = La(d);
+ for (d = 0; d < b.length; d++) Oa(b[d], "bubbled", a);
+ for (d = f.length; 0 < d--; ) Oa(f[d], "captured", c);
+ return [ a, c ];
}
};
- function kd(a) {
+ function bd(a, b) {
+ return a === b && (0 !== a || 1 / a == 1 / b) || a != a && b != b;
+ }
+ var cd = Object.prototype.hasOwnProperty;
+ function dd(a, b) {
+ if (bd(a, b)) return !0;
+ if ("object" != typeof a || null === a || "object" != typeof b || null === b) return !1;
+ var c = Object.keys(a), d = Object.keys(b);
+ if (c.length !== d.length) return !1;
+ for (d = 0; d < c.length; d++) if (!cd.call(b, c[d]) || !bd(a[c[d]], b[c[d]])) return !1;
+ return !0;
+ }
+ function ed(a) {
var b = a;
if (a.alternate) for (;b["return"]; ) b = b["return"]; else {
if (0 != (2 & b.effectTag)) return 1;
@@ -1325,57 +1320,56 @@
}
return 3 === b.tag ? 2 : 3;
}
- function ld(a) {
- 2 !== kd(a) && A("188");
+ function fd(a) {
+ 2 !== ed(a) && x("188");
}
- function md(a) {
- var b = a.alternate;
- if (!b) return 3 === (b = kd(a)) && A("188"), 1 === b ? null : a;
- for (var c = a, d = b; ;) {
- var e = c["return"], f = e ? e.alternate : null;
- if (!e || !f) break;
- if (e.child === f.child) {
- for (var g = e.child; g; ) {
- if (g === c) return ld(e), a;
- if (g === d) return ld(e), b;
- g = g.sibling;
- }
- A("188");
- }
- if (c["return"] !== d["return"]) c = e, d = f; else {
- g = !1;
- for (var h = e.child; h; ) {
- if (h === c) {
- g = !0, c = e, d = f;
- break;
+ function hd(a) {
+ if (!(a = function(a) {
+ var b = a.alternate;
+ if (!b) return 3 === (b = ed(a)) && x("188"), 1 === b ? null : a;
+ for (var c = a, d = b; ;) {
+ var e = c["return"], f = e ? e.alternate : null;
+ if (!e || !f) break;
+ if (e.child === f.child) {
+ for (var g = e.child; g; ) {
+ if (g === c) return fd(e), a;
+ if (g === d) return fd(e), b;
+ g = g.sibling;
}
- if (h === d) {
- g = !0, d = e, c = f;
- break;
- }
- h = h.sibling;
+ x("188");
}
- if (!g) {
- for (h = f.child; h; ) {
+ if (c["return"] !== d["return"]) c = e, d = f; else {
+ g = !1;
+ for (var h = e.child; h; ) {
if (h === c) {
- g = !0, c = f, d = e;
+ g = !0, c = e, d = f;
break;
}
if (h === d) {
- g = !0, d = f, c = e;
+ g = !0, d = e, c = f;
break;
}
h = h.sibling;
}
- g || A("189");
+ if (!g) {
+ for (h = f.child; h; ) {
+ if (h === c) {
+ g = !0, c = f, d = e;
+ break;
+ }
+ if (h === d) {
+ g = !0, d = f, c = e;
+ break;
+ }
+ h = h.sibling;
+ }
+ g || x("189");
+ }
}
+ c.alternate !== d && x("190");
}
- c.alternate !== d && A("190");
- }
- return 3 !== c.tag && A("188"), c.stateNode.current === c ? a : b;
- }
- function nd(a) {
- if (!(a = md(a))) return null;
+ return 3 !== c.tag && x("188"), c.stateNode.current === c ? a : b;
+ }(a))) return null;
for (var b = a; ;) {
if (5 === b.tag || 6 === b.tag) return b;
if (b.child) b.child["return"] = b, b = b.child; else {
@@ -1389,23 +1383,23 @@
}
return null;
}
- var pd = H.extend({
+ var id = y.extend({
animationName: null,
elapsedTime: null,
pseudoElement: null
- }), qd = H.extend({
+ }), jd = y.extend({
clipboardData: function(a) {
return "clipboardData" in a ? a.clipboardData : window.clipboardData;
}
- }), rd = cd.extend({
+ }), kd = Qc.extend({
relatedTarget: null
});
- function sd(a) {
+ function ld(a) {
var b = a.keyCode;
return "charCode" in a ? 0 === (a = a.charCode) && 13 === b && (a = 13) : a = b,
10 === a && (a = 13), 32 <= a || 13 === a ? a : 0;
}
- var td = {
+ var md = {
Esc: "Escape",
Spacebar: " ",
Left: "ArrowLeft",
@@ -1418,7 +1412,7 @@
Apps: "ContextMenu",
Scroll: "ScrollLock",
MozPrintableKey: "Unidentified"
- }, ud = {
+ }, nd = {
8: "Backspace",
9: "Tab",
12: "Clear",
@@ -1455,13 +1449,13 @@
144: "NumLock",
145: "ScrollLock",
224: "Meta"
- }, vd = cd.extend({
+ }, od = Qc.extend({
key: function(a) {
if (a.key) {
- var b = td[a.key] || a.key;
+ var b = md[a.key] || a.key;
if ("Unidentified" !== b) return b;
}
- return "keypress" === a.type ? 13 === (a = sd(a)) ? "Enter" : String.fromCharCode(a) : "keydown" === a.type || "keyup" === a.type ? ud[a.keyCode] || "Unidentified" : "";
+ return "keypress" === a.type ? 13 === (a = ld(a)) ? "Enter" : String.fromCharCode(a) : "keydown" === a.type || "keyup" === a.type ? nd[a.keyCode] || "Unidentified" : "";
},
location: null,
ctrlKey: null,
@@ -1470,19 +1464,19 @@
metaKey: null,
repeat: null,
locale: null,
- getModifierState: fd,
+ getModifierState: Tc,
charCode: function(a) {
- return "keypress" === a.type ? sd(a) : 0;
+ return "keypress" === a.type ? ld(a) : 0;
},
keyCode: function(a) {
return "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
},
which: function(a) {
- return "keypress" === a.type ? sd(a) : "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
+ return "keypress" === a.type ? ld(a) : "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
}
- }), wd = gd.extend({
+ }), pd = Yc.extend({
dataTransfer: null
- }), xd = cd.extend({
+ }), qd = Qc.extend({
touches: null,
targetTouches: null,
changedTouches: null,
@@ -1490,12 +1484,12 @@
metaKey: null,
ctrlKey: null,
shiftKey: null,
- getModifierState: fd
- }), yd = H.extend({
+ getModifierState: Tc
+ }), rd = y.extend({
propertyName: null,
elapsedTime: null,
pseudoElement: null
- }), zd = gd.extend({
+ }), sd = Yc.extend({
deltaX: function(a) {
return "deltaX" in a ? a.deltaX : "wheelDeltaX" in a ? -a.wheelDeltaX : 0;
},
@@ -1504,8 +1498,8 @@
},
deltaZ: null,
deltaMode: null
- }), Ad = [ [ "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" ] ], Bd = {}, Cd = {};
- function Dd(a, b) {
+ }), td = [ [ "abort", "abort" ], [ Xa, "animationEnd" ], [ Ya, "animationIteration" ], [ Za, "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" ], [ $a, "transitionEnd" ], [ "waiting", "waiting" ], [ "wheel", "wheel" ] ], ud = {}, vd = {};
+ function wd(a, b) {
var c = a[0], d = "on" + ((a = a[1])[0].toUpperCase() + a.slice(1));
b = {
phasedRegistrationNames: {
@@ -1514,38 +1508,39 @@
},
dependencies: [ c ],
isInteractive: b
- }, Bd[a] = b, Cd[c] = b;
+ }, ud[a] = b, vd[c] = b;
}
- [ [ "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) {
- Dd(a, !0);
- }), Ad.forEach(function(a) {
- Dd(a, !1);
+ [ [ "blur", "blur" ], [ "cancel", "cancel" ], [ "click", "click" ], [ "close", "close" ], [ "contextmenu", "contextMenu" ], [ "copy", "copy" ], [ "cut", "cut" ], [ "auxclick", "auxClick" ], [ "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) {
+ wd(a, !0);
+ }), td.forEach(function(a) {
+ wd(a, !1);
});
- var Ed = {
- eventTypes: Bd,
+ var xd = {
+ eventTypes: ud,
isInteractiveTopLevelEventType: function(a) {
- return void 0 !== (a = Cd[a]) && !0 === a.isInteractive;
+ return void 0 !== (a = vd[a]) && !0 === a.isInteractive;
},
extractEvents: function(a, b, c, d) {
- var e = Cd[a];
+ var e = vd[a];
if (!e) return null;
switch (a) {
case "keypress":
- if (0 === sd(c)) return null;
+ if (0 === ld(c)) return null;
case "keydown":
case "keyup":
- a = vd;
+ a = od;
break;
case "blur":
case "focus":
- a = rd;
+ a = kd;
break;
case "click":
if (2 === c.button) return null;
+ case "auxclick":
case "dblclick":
case "mousedown":
case "mousemove":
@@ -1553,7 +1548,7 @@
case "mouseout":
case "mouseover":
case "contextmenu":
- a = gd;
+ a = Yc;
break;
case "drag":
@@ -1564,38 +1559,38 @@
case "dragover":
case "dragstart":
case "drop":
- a = wd;
+ a = pd;
break;
case "touchcancel":
case "touchend":
case "touchmove":
case "touchstart":
- a = xd;
+ a = qd;
break;
- case fb:
- case gb:
- case hb:
- a = pd;
+ case Xa:
+ case Ya:
+ case Za:
+ a = id;
break;
- case ib:
- a = yd;
+ case $a:
+ a = rd;
break;
case "scroll":
- a = cd;
+ a = Qc;
break;
case "wheel":
- a = zd;
+ a = sd;
break;
case "copy":
case "cut":
case "paste":
- a = qd;
+ a = jd;
break;
case "gotpointercapture":
@@ -1606,52 +1601,58 @@
case "pointerout":
case "pointerover":
case "pointerup":
- a = hd;
+ a = Zc;
break;
default:
- a = H;
+ a = y;
}
- return Ya(b = a.getPooled(e, b, c, d)), b;
+ return Qa(b = a.getPooled(e, b, c, d)), b;
}
- }, Fd = Ed.isInteractiveTopLevelEventType, Gd = [];
- function Hd(a) {
- var b = a.targetInst;
+ }, yd = xd.isInteractiveTopLevelEventType, zd = [];
+ function Ad(a) {
+ var b = a.targetInst, c = b;
do {
- if (!b) {
- a.ancestors.push(b);
+ if (!c) {
+ a.ancestors.push(c);
break;
}
- var c;
- for (c = b; c["return"]; ) c = c["return"];
- if (!(c = 3 !== c.tag ? null : c.stateNode.containerInfo)) break;
- a.ancestors.push(b), b = Na(c);
- } while (b);
- for (c = 0; c < a.ancestors.length; c++) b = a.ancestors[c], Ja(a.topLevelType, b, a.nativeEvent, Zb(a.nativeEvent));
+ var d;
+ for (d = c; d["return"]; ) d = d["return"];
+ if (!(d = 3 !== d.tag ? null : d.stateNode.containerInfo)) break;
+ a.ancestors.push(c), c = Ha(d);
+ } while (c);
+ for (c = 0; c < a.ancestors.length; c++) {
+ b = a.ancestors[c];
+ var e = Nb(a.nativeEvent);
+ d = a.topLevelType;
+ for (var f = a.nativeEvent, g = null, h = 0; h < oa.length; h++) {
+ var l = oa[h];
+ l && (l = l.extractEvents(d, b, f, e)) && (g = xa(g, l));
+ }
+ Da(g);
+ }
}
- var Id = !0;
- function Kd(a) {
- Id = !!a;
- }
- function K(a, b) {
+ var Bd = !0;
+ function E(a, b) {
if (!b) return null;
- var c = (Fd(a) ? Ld : Md).bind(null, a);
+ var c = (yd(a) ? Cd : Dd).bind(null, a);
b.addEventListener(a, c, !1);
}
- function Nd(a, b) {
+ function Ed(a, b) {
if (!b) return null;
- var c = (Fd(a) ? Ld : Md).bind(null, a);
+ var c = (yd(a) ? Cd : Dd).bind(null, a);
b.addEventListener(a, c, !0);
}
- function Ld(a, b) {
- Tb(Md, a, b);
+ function Cd(a, b) {
+ Hb(Dd, a, b);
}
- function Md(a, b) {
- if (Id) {
- var c = Zb(b);
- if (null === (c = Na(c)) || "number" != typeof c.tag || 2 === kd(c) || (c = null),
- Gd.length) {
- var d = Gd.pop();
+ function Dd(a, b) {
+ if (Bd) {
+ var c = Nb(b);
+ if (null === (c = Ha(c)) || "number" != typeof c.tag || 2 === ed(c) || (c = null),
+ zd.length) {
+ var d = zd.pop();
d.topLevelType = a, d.nativeEvent = b, d.targetInst = c, a = d;
} else a = {
topLevelType: a,
@@ -1660,35 +1661,32 @@
ancestors: []
};
try {
- Wb(Hd, a);
+ Kb(Ad, a);
} finally {
a.topLevelType = null, a.nativeEvent = null, a.targetInst = null, a.ancestors.length = 0,
- 10 > Gd.length && Gd.push(a);
+ 10 > zd.length && zd.push(a);
}
}
}
- var Od = {
- get _enabled() {
- return Id;
- },
- setEnabled: Kd,
- isEnabled: function() {
- return Id;
- },
- trapBubbledEvent: K,
- trapCapturedEvent: Nd,
- dispatchEvent: Md
- }, Pd = {}, Qd = 0, Rd = "_reactListenersID" + ("" + Math.random()).slice(2);
- function Sd(a) {
- return Object.prototype.hasOwnProperty.call(a, Rd) || (a[Rd] = Qd++, Pd[a[Rd]] = {}),
- Pd[a[Rd]];
+ var Fd = {}, Gd = 0, Hd = "_reactListenersID" + ("" + Math.random()).slice(2);
+ function Id(a) {
+ return Object.prototype.hasOwnProperty.call(a, Hd) || (a[Hd] = Gd++, Fd[a[Hd]] = {}),
+ Fd[a[Hd]];
}
- function Td(a) {
+ function Jd(a) {
+ if (void 0 === (a = a || ("undefined" != typeof document ? document : void 0))) return null;
+ try {
+ return a.activeElement || a.body;
+ } catch (b) {
+ return a.body;
+ }
+ }
+ function Kd(a) {
for (;a && a.firstChild; ) a = a.firstChild;
return a;
}
- function Ud(a, b) {
- var d, c = Td(a);
+ function Ld(a, b) {
+ var d, c = Kd(a);
for (a = 0; c; ) {
if (3 === c.nodeType) {
if (d = a + c.textContent.length, a <= b && d >= b) return {
@@ -1707,43 +1705,79 @@
}
c = void 0;
}
- c = Td(c);
+ c = Kd(c);
}
}
- function Vd(a) {
+ function Nd() {
+ for (var a = window, b = Jd(); b instanceof a.HTMLIFrameElement; ) {
+ try {
+ var c = "string" == typeof b.contentWindow.location.href;
+ } catch (d) {
+ c = !1;
+ }
+ if (!c) break;
+ b = Jd((a = b.contentWindow).document);
+ }
+ return b;
+ }
+ function Od(a) {
var b = a && a.nodeName && a.nodeName.toLowerCase();
return b && ("input" === b && ("text" === a.type || "search" === a.type || "tel" === a.type || "url" === a.type || "password" === a.type) || "textarea" === b || "true" === a.contentEditable);
}
- var Wd = m.canUseDOM && "documentMode" in document && 11 >= document.documentMode, Xd = {
+ function Qd(a) {
+ var b = Nd(), c = a.focusedElem, d = a.selectionRange;
+ if (b !== c && c && c.ownerDocument && function Md(a, b) {
+ return !(!a || !b) && (a === b || (!a || 3 !== a.nodeType) && (b && 3 === b.nodeType ? Md(a, b.parentNode) : "contains" in a ? a.contains(b) : !!a.compareDocumentPosition && !!(16 & a.compareDocumentPosition(b))));
+ }(c.ownerDocument.documentElement, c)) {
+ if (null !== d && Od(c)) if (b = d.start, void 0 === (a = d.end) && (a = b), "selectionStart" in c) c.selectionStart = b,
+ c.selectionEnd = Math.min(a, c.value.length); else if ((a = (b = c.ownerDocument || document) && b.defaultView || window).getSelection) {
+ a = a.getSelection();
+ var e = c.textContent.length, f = Math.min(d.start, e);
+ d = void 0 === d.end ? f : Math.min(d.end, e), !a.extend && f > d && (e = d, d = f,
+ f = e), e = Ld(c, f);
+ var g = Ld(c, d);
+ e && g && (1 !== a.rangeCount || a.anchorNode !== e.node || a.anchorOffset !== e.offset || a.focusNode !== g.node || a.focusOffset !== g.offset) && ((b = b.createRange()).setStart(e.node, e.offset),
+ a.removeAllRanges(), f > d ? (a.addRange(b), a.extend(g.node, g.offset)) : (b.setEnd(g.node, g.offset),
+ a.addRange(b)));
+ }
+ for (b = [], a = c; a = a.parentNode; ) 1 === a.nodeType && b.push({
+ element: a,
+ left: a.scrollLeft,
+ top: a.scrollTop
+ });
+ for ("function" == typeof c.focus && c.focus(), c = 0; c < b.length; c++) (a = b[c]).element.scrollLeft = a.left,
+ a.element.scrollTop = a.top;
+ }
+ }
+ var Rd = Ra && "documentMode" in document && 11 >= document.documentMode, Sd = {
select: {
phasedRegistrationNames: {
bubbled: "onSelect",
captured: "onSelectCapture"
},
- dependencies: "blur contextmenu focus keydown keyup mousedown mouseup selectionchange".split(" ")
+ dependencies: "blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")
}
- }, Yd = null, Zd = null, $d = null, ae = !1;
- function be(a, b) {
- if (ae || null == Yd || Yd !== da()) return null;
- var c = Yd;
- return "selectionStart" in c && Vd(c) ? c = {
+ }, Td = null, Ud = null, Vd = null, Wd = !1;
+ function Xd(a, b) {
+ var c = b.window === b ? b.document : 9 === b.nodeType ? b : b.ownerDocument;
+ return Wd || null == Td || Td !== Jd(c) ? null : ("selectionStart" in (c = Td) && Od(c) ? c = {
start: c.selectionStart,
end: c.selectionEnd
- } : window.getSelection ? c = {
- anchorNode: (c = window.getSelection()).anchorNode,
+ } : c = {
+ anchorNode: (c = (c.ownerDocument && c.ownerDocument.defaultView || window).getSelection()).anchorNode,
anchorOffset: c.anchorOffset,
focusNode: c.focusNode,
focusOffset: c.focusOffset
- } : c = void 0, $d && ea($d, c) ? null : ($d = c, (a = H.getPooled(Xd.select, Zd, a, b)).type = "select",
- a.target = Yd, Ya(a), a);
+ }, Vd && dd(Vd, c) ? null : (Vd = c, (a = y.getPooled(Sd.select, Ud, a, b)).type = "select",
+ a.target = Td, Qa(a), a));
}
- var ce = {
- eventTypes: Xd,
+ var Yd = {
+ eventTypes: Sd,
extractEvents: function(a, b, c, d) {
var f, e = d.window === d ? d.document : 9 === d.nodeType ? d : d.ownerDocument;
if (!(f = !e)) {
a: {
- e = Sd(e), f = sa.onSelect;
+ e = Id(e), f = sa.onSelect;
for (var g = 0; g < f.length; g++) {
var h = f[g];
if (!e.hasOwnProperty(h) || !e[h]) {
@@ -1756,194 +1790,96 @@
f = !e;
}
if (f) return null;
- switch (e = b ? Oa(b) : window, a) {
+ switch (e = b ? Ja(b) : window, a) {
case "focus":
- (Yb(e) || "true" === e.contentEditable) && (Yd = e, Zd = b, $d = null);
+ (Mb(e) || "true" === e.contentEditable) && (Td = e, Ud = b, Vd = null);
break;
case "blur":
- $d = Zd = Yd = null;
+ Vd = Ud = Td = null;
break;
case "mousedown":
- ae = !0;
+ Wd = !0;
break;
case "contextmenu":
case "mouseup":
- return ae = !1, be(c, d);
+ case "dragend":
+ return Wd = !1, Xd(c, d);
case "selectionchange":
- if (Wd) break;
+ if (Rd) break;
case "keydown":
case "keyup":
- return be(c, d);
+ return Xd(c, d);
}
return null;
}
};
- Ga.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),
- wa = Qa.getFiberCurrentPropsFromNode, xa = Qa.getInstanceFromNode, ya = Qa.getNodeFromInstance,
- Ga.injectEventPluginsByName({
- SimpleEventPlugin: Ed,
- EnterLeaveEventPlugin: jd,
- ChangeEventPlugin: bd,
- SelectEventPlugin: ce,
- BeforeInputEventPlugin: Ib
- });
- var de = "function" == typeof requestAnimationFrame ? requestAnimationFrame : void 0, ee = Date, fe = setTimeout, ge = clearTimeout, he = void 0;
- if ("object" == typeof performance && "function" == typeof performance.now) {
- var ie = performance;
- he = function() {
- return ie.now();
- };
- } else he = function() {
- return ee.now();
- };
- var je = void 0, ke = void 0;
- if (m.canUseDOM) {
- var le = "function" == typeof de ? de : function() {
- A("276");
- }, L = null, me = null, ne = -1, oe = !1, pe = !1, qe = 0, re = 33, se = 33, te = {
- didTimeout: !1,
- timeRemaining: function() {
- var a = qe - he();
- return 0 < a ? a : 0;
- }
- }, ve = function(a, b) {
- var c = a.scheduledCallback, d = !1;
- try {
- c(b), d = !0;
- } finally {
- ke(a), d || (oe = !0, window.postMessage(ue, "*"));
- }
- }, ue = "__reactIdleCallback$" + Math.random().toString(36).slice(2);
- window.addEventListener("message", function(a) {
- if (a.source === window && a.data === ue && (oe = !1, null !== L)) {
- if (null !== L) {
- var b = he();
- if (!(-1 === ne || ne > b)) {
- a = -1;
- for (var c = [], d = L; null !== d; ) {
- var e = d.timeoutTime;
- -1 !== e && e <= b ? c.push(d) : -1 !== e && (-1 === a || e < a) && (a = e), d = d.next;
- }
- if (0 < c.length) for (te.didTimeout = !0, b = 0, d = c.length; b < d; b++) ve(c[b], te);
- ne = a;
- }
- }
- for (a = he(); 0 < qe - a && null !== L; ) a = L, te.didTimeout = !1, ve(a, te),
- a = he();
- null === L || pe || (pe = !0, le(we));
- }
- }, !1);
- var we = function(a) {
- pe = !1;
- var b = a - qe + se;
- b < se && re < se ? (8 > b && (b = 8), se = b < re ? re : b) : re = b, qe = a + se,
- oe || (oe = !0, window.postMessage(ue, "*"));
- };
- je = function(a, b) {
- var c = -1;
- return null != b && "number" == typeof b.timeout && (c = he() + b.timeout), (-1 === ne || -1 !== c && c < ne) && (ne = c),
- a = {
- scheduledCallback: a,
- timeoutTime: c,
- prev: null,
- next: null
- }, null === L ? L = a : null !== (b = a.prev = me) && (b.next = a), me = a, pe || (pe = !0,
- le(we)), a;
- }, ke = function(a) {
- if (null !== a.prev || L === a) {
- var b = a.next, c = a.prev;
- a.next = null, a.prev = null, null !== b ? null !== c ? (c.next = b, b.prev = c) : (b.prev = null,
- L = b) : null !== c ? (c.next = null, me = c) : me = L = null;
- }
- };
- } else {
- var xe = new Map();
- je = function(a) {
- var b = {
- scheduledCallback: a,
- timeoutTime: 0,
- next: null,
- prev: null
- }, c = fe(function() {
- a({
- timeRemaining: function() {
- return Infinity;
- },
- didTimeout: !1
- });
- });
- return xe.set(a, c), b;
- }, ke = function(a) {
- var b = xe.get(a.scheduledCallback);
- xe["delete"](a), ge(b);
- };
- }
- function ze(a, b) {
- return a = p({
+ function $d(a, b) {
+ return a = n({
children: void 0
}, b), (b = function(a) {
var b = "";
- return ba.Children.forEach(a, function(a) {
- null == a || "string" != typeof a && "number" != typeof a || (b += a);
+ return aa.Children.forEach(a, function(a) {
+ null != a && (b += a);
}), b;
}(b.children)) && (a.children = b), a;
}
- function Ae(a, b, c, d) {
+ function ae(a, b, c, d) {
if (a = a.options, 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 {
- for (c = "" + c, b = null, e = 0; e < a.length; e++) {
+ for (c = "" + uc(c), b = null, e = 0; e < a.length; e++) {
if (a[e].value === c) return a[e].selected = !0, void (d && (a[e].defaultSelected = !0));
null !== b || a[e].disabled || (b = a[e]);
}
null !== b && (b.selected = !0);
}
}
- function Be(a, b) {
- var c = b.value;
- a._wrapperState = {
- initialValue: null != c ? c : b.defaultValue,
- wasMultiple: !!b.multiple
- };
- }
- function Ce(a, b) {
- return null != b.dangerouslySetInnerHTML && A("91"), p({}, b, {
+ function be(a, b) {
+ return null != b.dangerouslySetInnerHTML && x("91"), n({}, b, {
value: void 0,
defaultValue: void 0,
children: "" + a._wrapperState.initialValue
});
}
- function De(a, b) {
+ function ce(a, b) {
var c = b.value;
- null == c && (c = b.defaultValue, null != (b = b.children) && (null != c && A("92"),
- Array.isArray(b) && (1 >= b.length || A("93"), b = b[0]), c = "" + b), null == c && (c = "")),
+ null == c && (c = b.defaultValue, null != (b = b.children) && (null != c && x("92"),
+ Array.isArray(b) && (1 >= b.length || x("93"), b = b[0]), c = b), null == c && (c = "")),
a._wrapperState = {
- initialValue: "" + c
+ initialValue: uc(c)
};
}
- function Ee(a, b) {
- var c = b.value;
- null != c && ((c = "" + c) !== a.value && (a.value = c), null == b.defaultValue && (a.defaultValue = c)),
- null != b.defaultValue && (a.defaultValue = b.defaultValue);
+ function de(a, b) {
+ var c = uc(b.value), d = uc(b.defaultValue);
+ null != c && ((c = "" + c) !== a.value && (a.value = c), null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c)),
+ null != d && (a.defaultValue = "" + d);
}
- function Fe(a) {
+ function ee(a) {
var b = a.textContent;
b === a._wrapperState.initialValue && (a.value = b);
}
- var Ge = {
+ Ba.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),
+ ta = Ka, ua = Ia, va = Ja, Ba.injectEventPluginsByName({
+ SimpleEventPlugin: xd,
+ EnterLeaveEventPlugin: ad,
+ ChangeEventPlugin: Pc,
+ SelectEventPlugin: Yd,
+ BeforeInputEventPlugin: zb
+ });
+ var fe = {
html: "http://www.w3.org/1999/xhtml",
mathml: "http://www.w3.org/1998/Math/MathML",
svg: "http://www.w3.org/2000/svg"
};
- function He(a) {
+ function ge(a) {
switch (a) {
case "svg":
return "http://www.w3.org/2000/svg";
@@ -1955,13 +1891,13 @@
return "http://www.w3.org/1999/xhtml";
}
}
- function Ie(a, b) {
- return null == a || "http://www.w3.org/1999/xhtml" === a ? He(b) : "http://www.w3.org/2000/svg" === a && "foreignObject" === b ? "http://www.w3.org/1999/xhtml" : a;
+ function he(a, b) {
+ return null == a || "http://www.w3.org/1999/xhtml" === a ? ge(b) : "http://www.w3.org/2000/svg" === a && "foreignObject" === b ? "http://www.w3.org/1999/xhtml" : a;
}
- var a, Je = void 0, Ke = (a = function(a, b) {
- if (a.namespaceURI !== Ge.svg || "innerHTML" in a) a.innerHTML = b; else {
- for ((Je = Je || document.createElement("div")).innerHTML = "",
- b = Je.firstChild; a.firstChild; ) a.removeChild(a.firstChild);
+ var a, ie = void 0, je = (a = function(a, b) {
+ if (a.namespaceURI !== fe.svg || "innerHTML" in a) a.innerHTML = b; else {
+ for ((ie = ie || document.createElement("div")).innerHTML = "",
+ b = ie.firstChild; a.firstChild; ) a.removeChild(a.firstChild);
for (;b.firstChild; ) a.appendChild(b.firstChild);
}
}, "undefined" != typeof MSApp && MSApp.execUnsafeLocalFunction ? function(b, c, d, e) {
@@ -1969,14 +1905,14 @@
return a(b, c);
});
} : a);
- function Le(a, b) {
+ function ke(a, b) {
if (b) {
var c = a.firstChild;
if (c && c === a.lastChild && 3 === c.nodeType) return void (c.nodeValue = b);
}
a.textContent = b;
}
- var Me = {
+ var le = {
animationIterationCount: !0,
borderImageOutset: !0,
borderImageSlice: !0,
@@ -1992,6 +1928,7 @@
flexShrink: !0,
flexNegative: !0,
flexOrder: !0,
+ gridArea: !0,
gridRow: !0,
gridRowEnd: !0,
gridRowSpan: !0,
@@ -2018,20 +1955,22 @@
strokeMiterlimit: !0,
strokeOpacity: !0,
strokeWidth: !0
- }, Ne = [ "Webkit", "ms", "Moz", "O" ];
- function Oe(a, b) {
+ }, me = [ "Webkit", "ms", "Moz", "O" ];
+ function ne(a, b, c) {
+ return null == b || "boolean" == typeof b || "" === b ? "" : c || "number" != typeof b || 0 === b || le.hasOwnProperty(a) && le[a] ? ("" + b).trim() : b + "px";
+ }
+ function oe(a, b) {
for (var c in a = a.style, b) if (b.hasOwnProperty(c)) {
- var d = 0 === c.indexOf("--"), e = c, f = b[c];
- e = null == f || "boolean" == typeof f || "" === f ? "" : d || "number" != typeof f || 0 === f || Me.hasOwnProperty(e) && Me[e] ? ("" + f).trim() : f + "px",
+ var d = 0 === c.indexOf("--"), e = ne(c, b[c], d);
"float" === c && (c = "cssFloat"), d ? a.setProperty(c, e) : a[c] = e;
}
}
- Object.keys(Me).forEach(function(a) {
- Ne.forEach(function(b) {
- b = b + a.charAt(0).toUpperCase() + a.substring(1), Me[b] = Me[a];
+ Object.keys(le).forEach(function(a) {
+ me.forEach(function(b) {
+ b = b + a.charAt(0).toUpperCase() + a.substring(1), le[b] = le[a];
});
});
- var Pe = p({
+ var pe = n({
menuitem: !0
}, {
area: !0,
@@ -2050,12 +1989,12 @@
track: !0,
wbr: !0
});
- function Qe(a, b, c) {
- b && (Pe[a] && (null != b.children || null != b.dangerouslySetInnerHTML) && A("137", a, c()),
- null != b.dangerouslySetInnerHTML && (null != b.children && A("60"), "object" == typeof b.dangerouslySetInnerHTML && "__html" in b.dangerouslySetInnerHTML || A("61")),
- null != b.style && "object" != typeof b.style && A("62", c()));
+ function qe(a, b) {
+ b && (pe[a] && (null != b.children || null != b.dangerouslySetInnerHTML) && x("137", a, ""),
+ null != b.dangerouslySetInnerHTML && (null != b.children && x("60"), "object" == typeof b.dangerouslySetInnerHTML && "__html" in b.dangerouslySetInnerHTML || x("61")),
+ null != b.style && "object" != typeof b.style && x("62", ""));
}
- function Re(a, b) {
+ function re(a, b) {
if (-1 === a.indexOf("-")) return "string" == typeof b.is;
switch (a) {
case "annotation-xml":
@@ -2072,26 +2011,25 @@
return !0;
}
}
- var Se = v.thatReturns("");
- function Te(a, b) {
- var c = Sd(a = 9 === a.nodeType || 11 === a.nodeType ? a : a.ownerDocument);
+ function se(a, b) {
+ var c = Id(a = 9 === a.nodeType || 11 === a.nodeType ? a : a.ownerDocument);
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":
- Nd("scroll", a);
+ Ed("scroll", a);
break;
case "focus":
case "blur":
- Nd("focus", a), Nd("blur", a), c.blur = !0, c.focus = !0;
+ Ed("focus", a), Ed("blur", a), c.blur = !0, c.focus = !0;
break;
case "cancel":
case "close":
- $b(e, !0) && Nd(e, a);
+ Ob(e) && Ed(e, a);
break;
case "invalid":
@@ -2100,272 +2038,15 @@
break;
default:
- -1 === jb.indexOf(e) && K(e, a);
+ -1 === ab.indexOf(e) && E(e, a);
}
c[e] = !0;
}
}
}
- function Ue(a, b, c, d) {
- return c = 9 === c.nodeType ? c : c.ownerDocument, d === Ge.html && (d = He(a)),
- d === Ge.html ? "script" === a ? ((a = c.createElement("div")).innerHTML = "