You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11356 lines
270 KiB
11356 lines
270 KiB
function getDefaultExportFromCjs (x) {
|
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
}
|
|
|
|
var react = {exports: {}};
|
|
|
|
var react_production_min = {};
|
|
|
|
/**
|
|
* @license React
|
|
* react.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
var l$2 = Symbol.for("react.element"),
|
|
n$2 = Symbol.for("react.portal"),
|
|
p$3 = Symbol.for("react.fragment"),
|
|
q$3 = Symbol.for("react.strict_mode"),
|
|
r$1 = Symbol.for("react.profiler"),
|
|
t$2 = Symbol.for("react.provider"),
|
|
u$1 = Symbol.for("react.context"),
|
|
v$4 = Symbol.for("react.forward_ref"),
|
|
w$2 = Symbol.for("react.suspense"),
|
|
x$2 = Symbol.for("react.memo"),
|
|
y$2 = Symbol.for("react.lazy"),
|
|
z$3 = Symbol.iterator;
|
|
|
|
function A$2(a) {
|
|
if (null === a || "object" !== typeof a) return null;
|
|
a = z$3 && a[z$3] || a["@@iterator"];
|
|
return "function" === typeof a ? a : null;
|
|
}
|
|
|
|
var B$2 = {
|
|
isMounted: function () {
|
|
return !1;
|
|
},
|
|
enqueueForceUpdate: function () {},
|
|
enqueueReplaceState: function () {},
|
|
enqueueSetState: function () {}
|
|
},
|
|
C$2 = Object.assign,
|
|
D$2 = {};
|
|
|
|
function E$2(a, b, e) {
|
|
this.props = a;
|
|
this.context = b;
|
|
this.refs = D$2;
|
|
this.updater = e || B$2;
|
|
}
|
|
|
|
E$2.prototype.isReactComponent = {};
|
|
|
|
E$2.prototype.setState = function (a, b) {
|
|
if ("object" !== typeof a && "function" !== typeof a && null != a) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
|
|
this.updater.enqueueSetState(this, a, b, "setState");
|
|
};
|
|
|
|
E$2.prototype.forceUpdate = function (a) {
|
|
this.updater.enqueueForceUpdate(this, a, "forceUpdate");
|
|
};
|
|
|
|
function F$1() {}
|
|
|
|
F$1.prototype = E$2.prototype;
|
|
|
|
function G$2(a, b, e) {
|
|
this.props = a;
|
|
this.context = b;
|
|
this.refs = D$2;
|
|
this.updater = e || B$2;
|
|
}
|
|
|
|
var H$2 = G$2.prototype = new F$1();
|
|
H$2.constructor = G$2;
|
|
C$2(H$2, E$2.prototype);
|
|
H$2.isPureReactComponent = !0;
|
|
var I$2 = Array.isArray,
|
|
J$1 = Object.prototype.hasOwnProperty,
|
|
K$2 = {
|
|
current: null
|
|
},
|
|
L$2 = {
|
|
key: !0,
|
|
ref: !0,
|
|
__self: !0,
|
|
__source: !0
|
|
};
|
|
|
|
function M$2(a, b, e) {
|
|
var d,
|
|
c = {},
|
|
k = null,
|
|
h = null;
|
|
if (null != b) for (d in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (k = "" + b.key), b) J$1.call(b, d) && !L$2.hasOwnProperty(d) && (c[d] = b[d]);
|
|
var g = arguments.length - 2;
|
|
if (1 === g) c.children = e;else if (1 < g) {
|
|
for (var f = Array(g), m = 0; m < g; m++) f[m] = arguments[m + 2];
|
|
|
|
c.children = f;
|
|
}
|
|
if (a && a.defaultProps) for (d in g = a.defaultProps, g) void 0 === c[d] && (c[d] = g[d]);
|
|
return {
|
|
$$typeof: l$2,
|
|
type: a,
|
|
key: k,
|
|
ref: h,
|
|
props: c,
|
|
_owner: K$2.current
|
|
};
|
|
}
|
|
|
|
function N$2(a, b) {
|
|
return {
|
|
$$typeof: l$2,
|
|
type: a.type,
|
|
key: b,
|
|
ref: a.ref,
|
|
props: a.props,
|
|
_owner: a._owner
|
|
};
|
|
}
|
|
|
|
function O$1(a) {
|
|
return "object" === typeof a && null !== a && a.$$typeof === l$2;
|
|
}
|
|
|
|
function escape(a) {
|
|
var b = {
|
|
"=": "=0",
|
|
":": "=2"
|
|
};
|
|
return "$" + a.replace(/[=:]/g, function (a) {
|
|
return b[a];
|
|
});
|
|
}
|
|
|
|
var P$1 = /\/+/g;
|
|
|
|
function Q$2(a, b) {
|
|
return "object" === typeof a && null !== a && null != a.key ? escape("" + a.key) : b.toString(36);
|
|
}
|
|
|
|
function R$1(a, b, e, d, c) {
|
|
var k = typeof a;
|
|
if ("undefined" === k || "boolean" === k) a = null;
|
|
var h = !1;
|
|
if (null === a) h = !0;else switch (k) {
|
|
case "string":
|
|
case "number":
|
|
h = !0;
|
|
break;
|
|
|
|
case "object":
|
|
switch (a.$$typeof) {
|
|
case l$2:
|
|
case n$2:
|
|
h = !0;
|
|
}
|
|
|
|
}
|
|
if (h) return h = a, c = c(h), a = "" === d ? "." + Q$2(h, 0) : d, I$2(c) ? (e = "", null != a && (e = a.replace(P$1, "$&/") + "/"), R$1(c, b, e, "", function (a) {
|
|
return a;
|
|
})) : null != c && (O$1(c) && (c = N$2(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P$1, "$&/") + "/") + a)), b.push(c)), 1;
|
|
h = 0;
|
|
d = "" === d ? "." : d + ":";
|
|
if (I$2(a)) for (var g = 0; g < a.length; g++) {
|
|
k = a[g];
|
|
var f = d + Q$2(k, g);
|
|
h += R$1(k, b, e, f, c);
|
|
} else if (f = A$2(a), "function" === typeof f) for (a = f.call(a), g = 0; !(k = a.next()).done;) k = k.value, f = d + Q$2(k, g++), h += R$1(k, b, e, f, c);else if ("object" === k) throw b = String(a), Error("Objects are not valid as a React child (found: " + ("[object Object]" === b ? "object with keys {" + Object.keys(a).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead.");
|
|
return h;
|
|
}
|
|
|
|
function S$2(a, b, e) {
|
|
if (null == a) return a;
|
|
var d = [],
|
|
c = 0;
|
|
R$1(a, d, "", "", function (a) {
|
|
return b.call(e, a, c++);
|
|
});
|
|
return d;
|
|
}
|
|
|
|
function T$2(a) {
|
|
if (-1 === a._status) {
|
|
var b = a._result;
|
|
b = b();
|
|
b.then(function (b) {
|
|
if (0 === a._status || -1 === a._status) a._status = 1, a._result = b;
|
|
}, function (b) {
|
|
if (0 === a._status || -1 === a._status) a._status = 2, a._result = b;
|
|
});
|
|
-1 === a._status && (a._status = 0, a._result = b);
|
|
}
|
|
|
|
if (1 === a._status) return a._result.default;
|
|
throw a._result;
|
|
}
|
|
|
|
var U$2 = {
|
|
current: null
|
|
},
|
|
V$2 = {
|
|
transition: null
|
|
},
|
|
W$2 = {
|
|
ReactCurrentDispatcher: U$2,
|
|
ReactCurrentBatchConfig: V$2,
|
|
ReactCurrentOwner: K$2
|
|
};
|
|
react_production_min.Children = {
|
|
map: S$2,
|
|
forEach: function (a, b, e) {
|
|
S$2(a, function () {
|
|
b.apply(this, arguments);
|
|
}, e);
|
|
},
|
|
count: function (a) {
|
|
var b = 0;
|
|
S$2(a, function () {
|
|
b++;
|
|
});
|
|
return b;
|
|
},
|
|
toArray: function (a) {
|
|
return S$2(a, function (a) {
|
|
return a;
|
|
}) || [];
|
|
},
|
|
only: function (a) {
|
|
if (!O$1(a)) throw Error("React.Children.only expected to receive a single React element child.");
|
|
return a;
|
|
}
|
|
};
|
|
react_production_min.Component = E$2;
|
|
react_production_min.Fragment = p$3;
|
|
react_production_min.Profiler = r$1;
|
|
react_production_min.PureComponent = G$2;
|
|
react_production_min.StrictMode = q$3;
|
|
react_production_min.Suspense = w$2;
|
|
react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W$2;
|
|
|
|
react_production_min.cloneElement = function (a, b, e) {
|
|
if (null === a || void 0 === a) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
|
|
var d = C$2({}, a.props),
|
|
c = a.key,
|
|
k = a.ref,
|
|
h = a._owner;
|
|
|
|
if (null != b) {
|
|
void 0 !== b.ref && (k = b.ref, h = K$2.current);
|
|
void 0 !== b.key && (c = "" + b.key);
|
|
if (a.type && a.type.defaultProps) var g = a.type.defaultProps;
|
|
|
|
for (f in b) J$1.call(b, f) && !L$2.hasOwnProperty(f) && (d[f] = void 0 === b[f] && void 0 !== g ? g[f] : b[f]);
|
|
}
|
|
|
|
var f = arguments.length - 2;
|
|
if (1 === f) d.children = e;else if (1 < f) {
|
|
g = Array(f);
|
|
|
|
for (var m = 0; m < f; m++) g[m] = arguments[m + 2];
|
|
|
|
d.children = g;
|
|
}
|
|
return {
|
|
$$typeof: l$2,
|
|
type: a.type,
|
|
key: c,
|
|
ref: k,
|
|
props: d,
|
|
_owner: h
|
|
};
|
|
};
|
|
|
|
react_production_min.createContext = function (a) {
|
|
a = {
|
|
$$typeof: u$1,
|
|
_currentValue: a,
|
|
_currentValue2: a,
|
|
_threadCount: 0,
|
|
Provider: null,
|
|
Consumer: null,
|
|
_defaultValue: null,
|
|
_globalName: null
|
|
};
|
|
a.Provider = {
|
|
$$typeof: t$2,
|
|
_context: a
|
|
};
|
|
return a.Consumer = a;
|
|
};
|
|
|
|
react_production_min.createElement = M$2;
|
|
|
|
react_production_min.createFactory = function (a) {
|
|
var b = M$2.bind(null, a);
|
|
b.type = a;
|
|
return b;
|
|
};
|
|
|
|
react_production_min.createRef = function () {
|
|
return {
|
|
current: null
|
|
};
|
|
};
|
|
|
|
react_production_min.forwardRef = function (a) {
|
|
return {
|
|
$$typeof: v$4,
|
|
render: a
|
|
};
|
|
};
|
|
|
|
react_production_min.isValidElement = O$1;
|
|
|
|
react_production_min.lazy = function (a) {
|
|
return {
|
|
$$typeof: y$2,
|
|
_payload: {
|
|
_status: -1,
|
|
_result: a
|
|
},
|
|
_init: T$2
|
|
};
|
|
};
|
|
|
|
react_production_min.memo = function (a, b) {
|
|
return {
|
|
$$typeof: x$2,
|
|
type: a,
|
|
compare: void 0 === b ? null : b
|
|
};
|
|
};
|
|
|
|
react_production_min.startTransition = function (a) {
|
|
var b = V$2.transition;
|
|
V$2.transition = {};
|
|
|
|
try {
|
|
a();
|
|
} finally {
|
|
V$2.transition = b;
|
|
}
|
|
};
|
|
|
|
react_production_min.unstable_act = function () {
|
|
throw Error("act(...) is not supported in production builds of React.");
|
|
};
|
|
|
|
react_production_min.useCallback = function (a, b) {
|
|
return U$2.current.useCallback(a, b);
|
|
};
|
|
|
|
react_production_min.useContext = function (a) {
|
|
return U$2.current.useContext(a);
|
|
};
|
|
|
|
react_production_min.useDebugValue = function () {};
|
|
|
|
react_production_min.useDeferredValue = function (a) {
|
|
return U$2.current.useDeferredValue(a);
|
|
};
|
|
|
|
react_production_min.useEffect = function (a, b) {
|
|
return U$2.current.useEffect(a, b);
|
|
};
|
|
|
|
react_production_min.useId = function () {
|
|
return U$2.current.useId();
|
|
};
|
|
|
|
react_production_min.useImperativeHandle = function (a, b, e) {
|
|
return U$2.current.useImperativeHandle(a, b, e);
|
|
};
|
|
|
|
react_production_min.useInsertionEffect = function (a, b) {
|
|
return U$2.current.useInsertionEffect(a, b);
|
|
};
|
|
|
|
react_production_min.useLayoutEffect = function (a, b) {
|
|
return U$2.current.useLayoutEffect(a, b);
|
|
};
|
|
|
|
react_production_min.useMemo = function (a, b) {
|
|
return U$2.current.useMemo(a, b);
|
|
};
|
|
|
|
react_production_min.useReducer = function (a, b, e) {
|
|
return U$2.current.useReducer(a, b, e);
|
|
};
|
|
|
|
react_production_min.useRef = function (a) {
|
|
return U$2.current.useRef(a);
|
|
};
|
|
|
|
react_production_min.useState = function (a) {
|
|
return U$2.current.useState(a);
|
|
};
|
|
|
|
react_production_min.useSyncExternalStore = function (a, b, e) {
|
|
return U$2.current.useSyncExternalStore(a, b, e);
|
|
};
|
|
|
|
react_production_min.useTransition = function () {
|
|
return U$2.current.useTransition();
|
|
};
|
|
|
|
react_production_min.version = "18.2.0";
|
|
|
|
(function (module) {
|
|
|
|
{
|
|
module.exports = react_production_min;
|
|
}
|
|
} (react));
|
|
|
|
var React = /*@__PURE__*/getDefaultExportFromCjs(react.exports);
|
|
|
|
var reactDom = {exports: {}};
|
|
|
|
var reactDom_production_min = {};
|
|
|
|
var scheduler = {exports: {}};
|
|
|
|
var scheduler_production_min = {};
|
|
|
|
/**
|
|
* @license React
|
|
* scheduler.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
(function (exports) {
|
|
|
|
function f(a, b) {
|
|
var c = a.length;
|
|
a.push(b);
|
|
|
|
a: for (; 0 < c;) {
|
|
var d = c - 1 >>> 1,
|
|
e = a[d];
|
|
if (0 < g(e, b)) a[d] = b, a[c] = e, c = d;else break a;
|
|
}
|
|
}
|
|
|
|
function h(a) {
|
|
return 0 === a.length ? null : a[0];
|
|
}
|
|
|
|
function k(a) {
|
|
if (0 === a.length) return null;
|
|
var b = a[0],
|
|
c = a.pop();
|
|
|
|
if (c !== b) {
|
|
a[0] = c;
|
|
|
|
a: for (var d = 0, e = a.length, w = e >>> 1; d < w;) {
|
|
var m = 2 * (d + 1) - 1,
|
|
C = a[m],
|
|
n = m + 1,
|
|
x = a[n];
|
|
if (0 > g(C, c)) n < e && 0 > g(x, C) ? (a[d] = x, a[n] = c, d = n) : (a[d] = C, a[m] = c, d = m);else if (n < e && 0 > g(x, c)) a[d] = x, a[n] = c, d = n;else break a;
|
|
}
|
|
}
|
|
|
|
return b;
|
|
}
|
|
|
|
function g(a, b) {
|
|
var c = a.sortIndex - b.sortIndex;
|
|
return 0 !== c ? c : a.id - b.id;
|
|
}
|
|
|
|
if ("object" === typeof performance && "function" === typeof performance.now) {
|
|
var l = performance;
|
|
|
|
exports.unstable_now = function () {
|
|
return l.now();
|
|
};
|
|
} else {
|
|
var p = Date,
|
|
q = p.now();
|
|
|
|
exports.unstable_now = function () {
|
|
return p.now() - q;
|
|
};
|
|
}
|
|
|
|
var r = [],
|
|
t = [],
|
|
u = 1,
|
|
v = null,
|
|
y = 3,
|
|
z = !1,
|
|
A = !1,
|
|
B = !1,
|
|
D = "function" === typeof setTimeout ? setTimeout : null,
|
|
E = "function" === typeof clearTimeout ? clearTimeout : null,
|
|
F = "undefined" !== typeof setImmediate ? setImmediate : null;
|
|
"undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling);
|
|
|
|
function G(a) {
|
|
for (var b = h(t); null !== b;) {
|
|
if (null === b.callback) k(t);else if (b.startTime <= a) k(t), b.sortIndex = b.expirationTime, f(r, b);else break;
|
|
b = h(t);
|
|
}
|
|
}
|
|
|
|
function H(a) {
|
|
B = !1;
|
|
G(a);
|
|
if (!A) if (null !== h(r)) A = !0, I(J);else {
|
|
var b = h(t);
|
|
null !== b && K(H, b.startTime - a);
|
|
}
|
|
}
|
|
|
|
function J(a, b) {
|
|
A = !1;
|
|
B && (B = !1, E(L), L = -1);
|
|
z = !0;
|
|
var c = y;
|
|
|
|
try {
|
|
G(b);
|
|
|
|
for (v = h(r); null !== v && (!(v.expirationTime > b) || a && !M());) {
|
|
var d = v.callback;
|
|
|
|
if ("function" === typeof d) {
|
|
v.callback = null;
|
|
y = v.priorityLevel;
|
|
var e = d(v.expirationTime <= b);
|
|
b = exports.unstable_now();
|
|
"function" === typeof e ? v.callback = e : v === h(r) && k(r);
|
|
G(b);
|
|
} else k(r);
|
|
|
|
v = h(r);
|
|
}
|
|
|
|
if (null !== v) var w = !0;else {
|
|
var m = h(t);
|
|
null !== m && K(H, m.startTime - b);
|
|
w = !1;
|
|
}
|
|
return w;
|
|
} finally {
|
|
v = null, y = c, z = !1;
|
|
}
|
|
}
|
|
|
|
var N = !1,
|
|
O = null,
|
|
L = -1,
|
|
P = 5,
|
|
Q = -1;
|
|
|
|
function M() {
|
|
return exports.unstable_now() - Q < P ? !1 : !0;
|
|
}
|
|
|
|
function R() {
|
|
if (null !== O) {
|
|
var a = exports.unstable_now();
|
|
Q = a;
|
|
var b = !0;
|
|
|
|
try {
|
|
b = O(!0, a);
|
|
} finally {
|
|
b ? S() : (N = !1, O = null);
|
|
}
|
|
} else N = !1;
|
|
}
|
|
|
|
var S;
|
|
if ("function" === typeof F) S = function () {
|
|
F(R);
|
|
};else if ("undefined" !== typeof MessageChannel) {
|
|
var T = new MessageChannel(),
|
|
U = T.port2;
|
|
T.port1.onmessage = R;
|
|
|
|
S = function () {
|
|
U.postMessage(null);
|
|
};
|
|
} else S = function () {
|
|
D(R, 0);
|
|
};
|
|
|
|
function I(a) {
|
|
O = a;
|
|
N || (N = !0, S());
|
|
}
|
|
|
|
function K(a, b) {
|
|
L = D(function () {
|
|
a(exports.unstable_now());
|
|
}, b);
|
|
}
|
|
|
|
exports.unstable_IdlePriority = 5;
|
|
exports.unstable_ImmediatePriority = 1;
|
|
exports.unstable_LowPriority = 4;
|
|
exports.unstable_NormalPriority = 3;
|
|
exports.unstable_Profiling = null;
|
|
exports.unstable_UserBlockingPriority = 2;
|
|
|
|
exports.unstable_cancelCallback = function (a) {
|
|
a.callback = null;
|
|
};
|
|
|
|
exports.unstable_continueExecution = function () {
|
|
A || z || (A = !0, I(J));
|
|
};
|
|
|
|
exports.unstable_forceFrameRate = function (a) {
|
|
0 > a || 125 < a ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P = 0 < a ? Math.floor(1E3 / a) : 5;
|
|
};
|
|
|
|
exports.unstable_getCurrentPriorityLevel = function () {
|
|
return y;
|
|
};
|
|
|
|
exports.unstable_getFirstCallbackNode = function () {
|
|
return h(r);
|
|
};
|
|
|
|
exports.unstable_next = function (a) {
|
|
switch (y) {
|
|
case 1:
|
|
case 2:
|
|
case 3:
|
|
var b = 3;
|
|
break;
|
|
|
|
default:
|
|
b = y;
|
|
}
|
|
|
|
var c = y;
|
|
y = b;
|
|
|
|
try {
|
|
return a();
|
|
} finally {
|
|
y = c;
|
|
}
|
|
};
|
|
|
|
exports.unstable_pauseExecution = function () {};
|
|
|
|
exports.unstable_requestPaint = function () {};
|
|
|
|
exports.unstable_runWithPriority = function (a, b) {
|
|
switch (a) {
|
|
case 1:
|
|
case 2:
|
|
case 3:
|
|
case 4:
|
|
case 5:
|
|
break;
|
|
|
|
default:
|
|
a = 3;
|
|
}
|
|
|
|
var c = y;
|
|
y = a;
|
|
|
|
try {
|
|
return b();
|
|
} finally {
|
|
y = c;
|
|
}
|
|
};
|
|
|
|
exports.unstable_scheduleCallback = function (a, b, c) {
|
|
var d = exports.unstable_now();
|
|
"object" === typeof c && null !== c ? (c = c.delay, c = "number" === typeof c && 0 < c ? d + c : d) : c = d;
|
|
|
|
switch (a) {
|
|
case 1:
|
|
var e = -1;
|
|
break;
|
|
|
|
case 2:
|
|
e = 250;
|
|
break;
|
|
|
|
case 5:
|
|
e = 1073741823;
|
|
break;
|
|
|
|
case 4:
|
|
e = 1E4;
|
|
break;
|
|
|
|
default:
|
|
e = 5E3;
|
|
}
|
|
|
|
e = c + e;
|
|
a = {
|
|
id: u++,
|
|
callback: b,
|
|
priorityLevel: a,
|
|
startTime: c,
|
|
expirationTime: e,
|
|
sortIndex: -1
|
|
};
|
|
c > d ? (a.sortIndex = c, f(t, a), null === h(r) && a === h(t) && (B ? (E(L), L = -1) : B = !0, K(H, c - d))) : (a.sortIndex = e, f(r, a), A || z || (A = !0, I(J)));
|
|
return a;
|
|
};
|
|
|
|
exports.unstable_shouldYield = M;
|
|
|
|
exports.unstable_wrapCallback = function (a) {
|
|
var b = y;
|
|
return function () {
|
|
var c = y;
|
|
y = b;
|
|
|
|
try {
|
|
return a.apply(this, arguments);
|
|
} finally {
|
|
y = c;
|
|
}
|
|
};
|
|
};
|
|
} (scheduler_production_min));
|
|
|
|
(function (module) {
|
|
|
|
{
|
|
module.exports = scheduler_production_min;
|
|
}
|
|
} (scheduler));
|
|
|
|
/**
|
|
* @license React
|
|
* react-dom.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
var aa = react.exports,
|
|
ca = scheduler.exports;
|
|
|
|
function p$2(a) {
|
|
for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++) b += "&args[]=" + encodeURIComponent(arguments[c]);
|
|
|
|
return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
}
|
|
|
|
var da = new Set(),
|
|
ea = {};
|
|
|
|
function fa(a, b) {
|
|
ha(a, b);
|
|
ha(a + "Capture", b);
|
|
}
|
|
|
|
function ha(a, b) {
|
|
ea[a] = b;
|
|
|
|
for (a = 0; a < b.length; a++) da.add(b[a]);
|
|
}
|
|
|
|
var ia = !("undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement),
|
|
ja = Object.prototype.hasOwnProperty,
|
|
ka = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
|
|
la = {},
|
|
ma = {};
|
|
|
|
function oa(a) {
|
|
if (ja.call(ma, a)) return !0;
|
|
if (ja.call(la, a)) return !1;
|
|
if (ka.test(a)) return ma[a] = !0;
|
|
la[a] = !0;
|
|
return !1;
|
|
}
|
|
|
|
function pa(a, b, c, d) {
|
|
if (null !== c && 0 === c.type) return !1;
|
|
|
|
switch (typeof b) {
|
|
case "function":
|
|
case "symbol":
|
|
return !0;
|
|
|
|
case "boolean":
|
|
if (d) return !1;
|
|
if (null !== c) return !c.acceptsBooleans;
|
|
a = a.toLowerCase().slice(0, 5);
|
|
return "data-" !== a && "aria-" !== a;
|
|
|
|
default:
|
|
return !1;
|
|
}
|
|
}
|
|
|
|
function qa(a, b, c, d) {
|
|
if (null === b || "undefined" === typeof b || pa(a, b, c, d)) return !0;
|
|
if (d) return !1;
|
|
if (null !== c) switch (c.type) {
|
|
case 3:
|
|
return !b;
|
|
|
|
case 4:
|
|
return !1 === b;
|
|
|
|
case 5:
|
|
return isNaN(b);
|
|
|
|
case 6:
|
|
return isNaN(b) || 1 > b;
|
|
}
|
|
return !1;
|
|
}
|
|
|
|
function v$3(a, b, c, d, e, f, g) {
|
|
this.acceptsBooleans = 2 === b || 3 === b || 4 === b;
|
|
this.attributeName = d;
|
|
this.attributeNamespace = e;
|
|
this.mustUseProperty = c;
|
|
this.propertyName = a;
|
|
this.type = b;
|
|
this.sanitizeURL = f;
|
|
this.removeEmptyString = g;
|
|
}
|
|
|
|
var z$2 = {};
|
|
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function (a) {
|
|
z$2[a] = new v$3(a, 0, !1, a, null, !1, !1);
|
|
});
|
|
[["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function (a) {
|
|
var b = a[0];
|
|
z$2[b] = new v$3(b, 1, !1, a[1], null, !1, !1);
|
|
});
|
|
["contentEditable", "draggable", "spellCheck", "value"].forEach(function (a) {
|
|
z$2[a] = new v$3(a, 2, !1, a.toLowerCase(), null, !1, !1);
|
|
});
|
|
["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function (a) {
|
|
z$2[a] = new v$3(a, 2, !1, a, null, !1, !1);
|
|
});
|
|
"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function (a) {
|
|
z$2[a] = new v$3(a, 3, !1, a.toLowerCase(), null, !1, !1);
|
|
});
|
|
["checked", "multiple", "muted", "selected"].forEach(function (a) {
|
|
z$2[a] = new v$3(a, 3, !0, a, null, !1, !1);
|
|
});
|
|
["capture", "download"].forEach(function (a) {
|
|
z$2[a] = new v$3(a, 4, !1, a, null, !1, !1);
|
|
});
|
|
["cols", "rows", "size", "span"].forEach(function (a) {
|
|
z$2[a] = new v$3(a, 6, !1, a, null, !1, !1);
|
|
});
|
|
["rowSpan", "start"].forEach(function (a) {
|
|
z$2[a] = new v$3(a, 5, !1, a.toLowerCase(), null, !1, !1);
|
|
});
|
|
var ra = /[\-:]([a-z])/g;
|
|
|
|
function sa(a) {
|
|
return a[1].toUpperCase();
|
|
}
|
|
|
|
"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function (a) {
|
|
var b = a.replace(ra, sa);
|
|
z$2[b] = new v$3(b, 1, !1, a, null, !1, !1);
|
|
});
|
|
"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function (a) {
|
|
var b = a.replace(ra, sa);
|
|
z$2[b] = new v$3(b, 1, !1, a, "http://www.w3.org/1999/xlink", !1, !1);
|
|
});
|
|
["xml:base", "xml:lang", "xml:space"].forEach(function (a) {
|
|
var b = a.replace(ra, sa);
|
|
z$2[b] = new v$3(b, 1, !1, a, "http://www.w3.org/XML/1998/namespace", !1, !1);
|
|
});
|
|
["tabIndex", "crossOrigin"].forEach(function (a) {
|
|
z$2[a] = new v$3(a, 1, !1, a.toLowerCase(), null, !1, !1);
|
|
});
|
|
z$2.xlinkHref = new v$3("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1);
|
|
["src", "href", "action", "formAction"].forEach(function (a) {
|
|
z$2[a] = new v$3(a, 1, !1, a.toLowerCase(), null, !0, !0);
|
|
});
|
|
|
|
function ta(a, b, c, d) {
|
|
var e = z$2.hasOwnProperty(b) ? z$2[b] : null;
|
|
if (null !== e ? 0 !== e.type : d || !(2 < b.length) || "o" !== b[0] && "O" !== b[0] || "n" !== b[1] && "N" !== b[1]) qa(b, c, e, d) && (c = null), d || null === e ? oa(b) && (null === c ? a.removeAttribute(b) : a.setAttribute(b, "" + c)) : e.mustUseProperty ? a[e.propertyName] = null === c ? 3 === e.type ? !1 : "" : c : (b = e.attributeName, d = e.attributeNamespace, null === c ? a.removeAttribute(b) : (e = e.type, c = 3 === e || 4 === e && !0 === c ? "" : "" + c, d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c)));
|
|
}
|
|
|
|
var ua = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
|
|
va = Symbol.for("react.element"),
|
|
wa = Symbol.for("react.portal"),
|
|
ya = Symbol.for("react.fragment"),
|
|
za = Symbol.for("react.strict_mode"),
|
|
Aa = Symbol.for("react.profiler"),
|
|
Ba = Symbol.for("react.provider"),
|
|
Ca = Symbol.for("react.context"),
|
|
Da = Symbol.for("react.forward_ref"),
|
|
Ea = Symbol.for("react.suspense"),
|
|
Fa = Symbol.for("react.suspense_list"),
|
|
Ga = Symbol.for("react.memo"),
|
|
Ha = Symbol.for("react.lazy");
|
|
var Ia = Symbol.for("react.offscreen");
|
|
var Ja = Symbol.iterator;
|
|
|
|
function Ka(a) {
|
|
if (null === a || "object" !== typeof a) return null;
|
|
a = Ja && a[Ja] || a["@@iterator"];
|
|
return "function" === typeof a ? a : null;
|
|
}
|
|
|
|
var A$1 = Object.assign,
|
|
La;
|
|
|
|
function Ma(a) {
|
|
if (void 0 === La) try {
|
|
throw Error();
|
|
} catch (c) {
|
|
var b = c.stack.trim().match(/\n( *(at )?)/);
|
|
La = b && b[1] || "";
|
|
}
|
|
return "\n" + La + a;
|
|
}
|
|
|
|
var Na = !1;
|
|
|
|
function Oa(a, b) {
|
|
if (!a || Na) return "";
|
|
Na = !0;
|
|
var c = Error.prepareStackTrace;
|
|
Error.prepareStackTrace = void 0;
|
|
|
|
try {
|
|
if (b) {
|
|
if (b = function () {
|
|
throw Error();
|
|
}, Object.defineProperty(b.prototype, "props", {
|
|
set: function () {
|
|
throw Error();
|
|
}
|
|
}), "object" === typeof Reflect && Reflect.construct) {
|
|
try {
|
|
Reflect.construct(b, []);
|
|
} catch (l) {
|
|
var d = l;
|
|
}
|
|
|
|
Reflect.construct(a, [], b);
|
|
} else {
|
|
try {
|
|
b.call();
|
|
} catch (l) {
|
|
d = l;
|
|
}
|
|
|
|
a.call(b.prototype);
|
|
}
|
|
} else {
|
|
try {
|
|
throw Error();
|
|
} catch (l) {
|
|
d = l;
|
|
}
|
|
|
|
a();
|
|
}
|
|
} catch (l) {
|
|
if (l && d && "string" === typeof l.stack) {
|
|
for (var e = l.stack.split("\n"), f = d.stack.split("\n"), g = e.length - 1, h = f.length - 1; 1 <= g && 0 <= h && e[g] !== f[h];) h--;
|
|
|
|
for (; 1 <= g && 0 <= h; g--, h--) if (e[g] !== f[h]) {
|
|
if (1 !== g || 1 !== h) {
|
|
do if (g--, h--, 0 > h || e[g] !== f[h]) {
|
|
var k = "\n" + e[g].replace(" at new ", " at ");
|
|
a.displayName && k.includes("<anonymous>") && (k = k.replace("<anonymous>", a.displayName));
|
|
return k;
|
|
} while (1 <= g && 0 <= h);
|
|
}
|
|
|
|
break;
|
|
}
|
|
}
|
|
} finally {
|
|
Na = !1, Error.prepareStackTrace = c;
|
|
}
|
|
|
|
return (a = a ? a.displayName || a.name : "") ? Ma(a) : "";
|
|
}
|
|
|
|
function Pa(a) {
|
|
switch (a.tag) {
|
|
case 5:
|
|
return Ma(a.type);
|
|
|
|
case 16:
|
|
return Ma("Lazy");
|
|
|
|
case 13:
|
|
return Ma("Suspense");
|
|
|
|
case 19:
|
|
return Ma("SuspenseList");
|
|
|
|
case 0:
|
|
case 2:
|
|
case 15:
|
|
return a = Oa(a.type, !1), a;
|
|
|
|
case 11:
|
|
return a = Oa(a.type.render, !1), a;
|
|
|
|
case 1:
|
|
return a = Oa(a.type, !0), a;
|
|
|
|
default:
|
|
return "";
|
|
}
|
|
}
|
|
|
|
function Qa(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 ya:
|
|
return "Fragment";
|
|
|
|
case wa:
|
|
return "Portal";
|
|
|
|
case Aa:
|
|
return "Profiler";
|
|
|
|
case za:
|
|
return "StrictMode";
|
|
|
|
case Ea:
|
|
return "Suspense";
|
|
|
|
case Fa:
|
|
return "SuspenseList";
|
|
}
|
|
|
|
if ("object" === typeof a) switch (a.$$typeof) {
|
|
case Ca:
|
|
return (a.displayName || "Context") + ".Consumer";
|
|
|
|
case Ba:
|
|
return (a._context.displayName || "Context") + ".Provider";
|
|
|
|
case Da:
|
|
var b = a.render;
|
|
a = a.displayName;
|
|
a || (a = b.displayName || b.name || "", a = "" !== a ? "ForwardRef(" + a + ")" : "ForwardRef");
|
|
return a;
|
|
|
|
case Ga:
|
|
return b = a.displayName || null, null !== b ? b : Qa(a.type) || "Memo";
|
|
|
|
case Ha:
|
|
b = a._payload;
|
|
a = a._init;
|
|
|
|
try {
|
|
return Qa(a(b));
|
|
} catch (c) {}
|
|
|
|
}
|
|
return null;
|
|
}
|
|
|
|
function Ra(a) {
|
|
var b = a.type;
|
|
|
|
switch (a.tag) {
|
|
case 24:
|
|
return "Cache";
|
|
|
|
case 9:
|
|
return (b.displayName || "Context") + ".Consumer";
|
|
|
|
case 10:
|
|
return (b._context.displayName || "Context") + ".Provider";
|
|
|
|
case 18:
|
|
return "DehydratedFragment";
|
|
|
|
case 11:
|
|
return a = b.render, a = a.displayName || a.name || "", b.displayName || ("" !== a ? "ForwardRef(" + a + ")" : "ForwardRef");
|
|
|
|
case 7:
|
|
return "Fragment";
|
|
|
|
case 5:
|
|
return b;
|
|
|
|
case 4:
|
|
return "Portal";
|
|
|
|
case 3:
|
|
return "Root";
|
|
|
|
case 6:
|
|
return "Text";
|
|
|
|
case 16:
|
|
return Qa(b);
|
|
|
|
case 8:
|
|
return b === za ? "StrictMode" : "Mode";
|
|
|
|
case 22:
|
|
return "Offscreen";
|
|
|
|
case 12:
|
|
return "Profiler";
|
|
|
|
case 21:
|
|
return "Scope";
|
|
|
|
case 13:
|
|
return "Suspense";
|
|
|
|
case 19:
|
|
return "SuspenseList";
|
|
|
|
case 25:
|
|
return "TracingMarker";
|
|
|
|
case 1:
|
|
case 0:
|
|
case 17:
|
|
case 2:
|
|
case 14:
|
|
case 15:
|
|
if ("function" === typeof b) return b.displayName || b.name || null;
|
|
if ("string" === typeof b) return b;
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
function Sa(a) {
|
|
switch (typeof a) {
|
|
case "boolean":
|
|
case "number":
|
|
case "string":
|
|
case "undefined":
|
|
return a;
|
|
|
|
case "object":
|
|
return a;
|
|
|
|
default:
|
|
return "";
|
|
}
|
|
}
|
|
|
|
function Ta(a) {
|
|
var b = a.type;
|
|
return (a = a.nodeName) && "input" === a.toLowerCase() && ("checkbox" === b || "radio" === b);
|
|
}
|
|
|
|
function Ua(a) {
|
|
var b = Ta(a) ? "checked" : "value",
|
|
c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b),
|
|
d = "" + a[b];
|
|
|
|
if (!a.hasOwnProperty(b) && "undefined" !== typeof c && "function" === typeof c.get && "function" === typeof c.set) {
|
|
var e = c.get,
|
|
f = c.set;
|
|
Object.defineProperty(a, b, {
|
|
configurable: !0,
|
|
get: function () {
|
|
return e.call(this);
|
|
},
|
|
set: function (a) {
|
|
d = "" + a;
|
|
f.call(this, a);
|
|
}
|
|
});
|
|
Object.defineProperty(a, b, {
|
|
enumerable: c.enumerable
|
|
});
|
|
return {
|
|
getValue: function () {
|
|
return d;
|
|
},
|
|
setValue: function (a) {
|
|
d = "" + a;
|
|
},
|
|
stopTracking: function () {
|
|
a._valueTracker = null;
|
|
delete a[b];
|
|
}
|
|
};
|
|
}
|
|
}
|
|
|
|
function Va(a) {
|
|
a._valueTracker || (a._valueTracker = Ua(a));
|
|
}
|
|
|
|
function Wa(a) {
|
|
if (!a) return !1;
|
|
var b = a._valueTracker;
|
|
if (!b) return !0;
|
|
var c = b.getValue();
|
|
var d = "";
|
|
a && (d = Ta(a) ? a.checked ? "true" : "false" : a.value);
|
|
a = d;
|
|
return a !== c ? (b.setValue(a), !0) : !1;
|
|
}
|
|
|
|
function Xa(a) {
|
|
a = a || ("undefined" !== typeof document ? document : void 0);
|
|
if ("undefined" === typeof a) return null;
|
|
|
|
try {
|
|
return a.activeElement || a.body;
|
|
} catch (b) {
|
|
return a.body;
|
|
}
|
|
}
|
|
|
|
function Ya(a, b) {
|
|
var c = b.checked;
|
|
return A$1({}, b, {
|
|
defaultChecked: void 0,
|
|
defaultValue: void 0,
|
|
value: void 0,
|
|
checked: null != c ? c : a._wrapperState.initialChecked
|
|
});
|
|
}
|
|
|
|
function Za(a, b) {
|
|
var c = null == b.defaultValue ? "" : b.defaultValue,
|
|
d = null != b.checked ? b.checked : b.defaultChecked;
|
|
c = Sa(null != b.value ? b.value : c);
|
|
a._wrapperState = {
|
|
initialChecked: d,
|
|
initialValue: c,
|
|
controlled: "checkbox" === b.type || "radio" === b.type ? null != b.checked : null != b.value
|
|
};
|
|
}
|
|
|
|
function ab(a, b) {
|
|
b = b.checked;
|
|
null != b && ta(a, "checked", b, !1);
|
|
}
|
|
|
|
function bb(a, b) {
|
|
ab(a, b);
|
|
var c = Sa(b.value),
|
|
d = b.type;
|
|
if (null != c) {
|
|
if ("number" === d) {
|
|
if (0 === c && "" === a.value || a.value != c) a.value = "" + c;
|
|
} else a.value !== "" + c && (a.value = "" + c);
|
|
} else if ("submit" === d || "reset" === d) {
|
|
a.removeAttribute("value");
|
|
return;
|
|
}
|
|
b.hasOwnProperty("value") ? cb(a, b.type, c) : b.hasOwnProperty("defaultValue") && cb(a, b.type, Sa(b.defaultValue));
|
|
null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked);
|
|
}
|
|
|
|
function db(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;
|
|
"" !== c && (a.name = "");
|
|
a.defaultChecked = !!a._wrapperState.initialChecked;
|
|
"" !== c && (a.name = c);
|
|
}
|
|
|
|
function cb(a, b, c) {
|
|
if ("number" !== b || Xa(a.ownerDocument) !== a) null == c ? a.defaultValue = "" + a._wrapperState.initialValue : a.defaultValue !== "" + c && (a.defaultValue = "" + c);
|
|
}
|
|
|
|
var eb = Array.isArray;
|
|
|
|
function fb(a, b, c, d) {
|
|
a = a.options;
|
|
|
|
if (b) {
|
|
b = {};
|
|
|
|
for (var e = 0; e < c.length; e++) b["$" + c[e]] = !0;
|
|
|
|
for (c = 0; c < a.length; c++) e = b.hasOwnProperty("$" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = !0);
|
|
} else {
|
|
c = "" + Sa(c);
|
|
b = null;
|
|
|
|
for (e = 0; e < a.length; e++) {
|
|
if (a[e].value === c) {
|
|
a[e].selected = !0;
|
|
d && (a[e].defaultSelected = !0);
|
|
return;
|
|
}
|
|
|
|
null !== b || a[e].disabled || (b = a[e]);
|
|
}
|
|
|
|
null !== b && (b.selected = !0);
|
|
}
|
|
}
|
|
|
|
function gb(a, b) {
|
|
if (null != b.dangerouslySetInnerHTML) throw Error(p$2(91));
|
|
return A$1({}, b, {
|
|
value: void 0,
|
|
defaultValue: void 0,
|
|
children: "" + a._wrapperState.initialValue
|
|
});
|
|
}
|
|
|
|
function hb(a, b) {
|
|
var c = b.value;
|
|
|
|
if (null == c) {
|
|
c = b.children;
|
|
b = b.defaultValue;
|
|
|
|
if (null != c) {
|
|
if (null != b) throw Error(p$2(92));
|
|
|
|
if (eb(c)) {
|
|
if (1 < c.length) throw Error(p$2(93));
|
|
c = c[0];
|
|
}
|
|
|
|
b = c;
|
|
}
|
|
|
|
null == b && (b = "");
|
|
c = b;
|
|
}
|
|
|
|
a._wrapperState = {
|
|
initialValue: Sa(c)
|
|
};
|
|
}
|
|
|
|
function ib(a, b) {
|
|
var c = Sa(b.value),
|
|
d = Sa(b.defaultValue);
|
|
null != c && (c = "" + c, c !== a.value && (a.value = c), null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c));
|
|
null != d && (a.defaultValue = "" + d);
|
|
}
|
|
|
|
function jb(a) {
|
|
var b = a.textContent;
|
|
b === a._wrapperState.initialValue && "" !== b && null !== b && (a.value = b);
|
|
}
|
|
|
|
function kb(a) {
|
|
switch (a) {
|
|
case "svg":
|
|
return "http://www.w3.org/2000/svg";
|
|
|
|
case "math":
|
|
return "http://www.w3.org/1998/Math/MathML";
|
|
|
|
default:
|
|
return "http://www.w3.org/1999/xhtml";
|
|
}
|
|
}
|
|
|
|
function lb(a, b) {
|
|
return null == a || "http://www.w3.org/1999/xhtml" === a ? kb(b) : "http://www.w3.org/2000/svg" === a && "foreignObject" === b ? "http://www.w3.org/1999/xhtml" : a;
|
|
}
|
|
|
|
var mb,
|
|
nb = function (a) {
|
|
return "undefined" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function (b, c, d, e) {
|
|
MSApp.execUnsafeLocalFunction(function () {
|
|
return a(b, c, d, e);
|
|
});
|
|
} : a;
|
|
}(function (a, b) {
|
|
if ("http://www.w3.org/2000/svg" !== a.namespaceURI || "innerHTML" in a) a.innerHTML = b;else {
|
|
mb = mb || document.createElement("div");
|
|
mb.innerHTML = "<svg>" + b.valueOf().toString() + "</svg>";
|
|
|
|
for (b = mb.firstChild; a.firstChild;) a.removeChild(a.firstChild);
|
|
|
|
for (; b.firstChild;) a.appendChild(b.firstChild);
|
|
}
|
|
});
|
|
|
|
function ob(a, b) {
|
|
if (b) {
|
|
var c = a.firstChild;
|
|
|
|
if (c && c === a.lastChild && 3 === c.nodeType) {
|
|
c.nodeValue = b;
|
|
return;
|
|
}
|
|
}
|
|
|
|
a.textContent = b;
|
|
}
|
|
|
|
var pb = {
|
|
animationIterationCount: !0,
|
|
aspectRatio: !0,
|
|
borderImageOutset: !0,
|
|
borderImageSlice: !0,
|
|
borderImageWidth: !0,
|
|
boxFlex: !0,
|
|
boxFlexGroup: !0,
|
|
boxOrdinalGroup: !0,
|
|
columnCount: !0,
|
|
columns: !0,
|
|
flex: !0,
|
|
flexGrow: !0,
|
|
flexPositive: !0,
|
|
flexShrink: !0,
|
|
flexNegative: !0,
|
|
flexOrder: !0,
|
|
gridArea: !0,
|
|
gridRow: !0,
|
|
gridRowEnd: !0,
|
|
gridRowSpan: !0,
|
|
gridRowStart: !0,
|
|
gridColumn: !0,
|
|
gridColumnEnd: !0,
|
|
gridColumnSpan: !0,
|
|
gridColumnStart: !0,
|
|
fontWeight: !0,
|
|
lineClamp: !0,
|
|
lineHeight: !0,
|
|
opacity: !0,
|
|
order: !0,
|
|
orphans: !0,
|
|
tabSize: !0,
|
|
widows: !0,
|
|
zIndex: !0,
|
|
zoom: !0,
|
|
fillOpacity: !0,
|
|
floodOpacity: !0,
|
|
stopOpacity: !0,
|
|
strokeDasharray: !0,
|
|
strokeDashoffset: !0,
|
|
strokeMiterlimit: !0,
|
|
strokeOpacity: !0,
|
|
strokeWidth: !0
|
|
},
|
|
qb = ["Webkit", "ms", "Moz", "O"];
|
|
Object.keys(pb).forEach(function (a) {
|
|
qb.forEach(function (b) {
|
|
b = b + a.charAt(0).toUpperCase() + a.substring(1);
|
|
pb[b] = pb[a];
|
|
});
|
|
});
|
|
|
|
function rb(a, b, c) {
|
|
return null == b || "boolean" === typeof b || "" === b ? "" : c || "number" !== typeof b || 0 === b || pb.hasOwnProperty(a) && pb[a] ? ("" + b).trim() : b + "px";
|
|
}
|
|
|
|
function sb(a, b) {
|
|
a = a.style;
|
|
|
|
for (var c in b) if (b.hasOwnProperty(c)) {
|
|
var d = 0 === c.indexOf("--"),
|
|
e = rb(c, b[c], d);
|
|
"float" === c && (c = "cssFloat");
|
|
d ? a.setProperty(c, e) : a[c] = e;
|
|
}
|
|
}
|
|
|
|
var tb = A$1({
|
|
menuitem: !0
|
|
}, {
|
|
area: !0,
|
|
base: !0,
|
|
br: !0,
|
|
col: !0,
|
|
embed: !0,
|
|
hr: !0,
|
|
img: !0,
|
|
input: !0,
|
|
keygen: !0,
|
|
link: !0,
|
|
meta: !0,
|
|
param: !0,
|
|
source: !0,
|
|
track: !0,
|
|
wbr: !0
|
|
});
|
|
|
|
function ub(a, b) {
|
|
if (b) {
|
|
if (tb[a] && (null != b.children || null != b.dangerouslySetInnerHTML)) throw Error(p$2(137, a));
|
|
|
|
if (null != b.dangerouslySetInnerHTML) {
|
|
if (null != b.children) throw Error(p$2(60));
|
|
if ("object" !== typeof b.dangerouslySetInnerHTML || !("__html" in b.dangerouslySetInnerHTML)) throw Error(p$2(61));
|
|
}
|
|
|
|
if (null != b.style && "object" !== typeof b.style) throw Error(p$2(62));
|
|
}
|
|
}
|
|
|
|
function vb(a, b) {
|
|
if (-1 === a.indexOf("-")) return "string" === typeof b.is;
|
|
|
|
switch (a) {
|
|
case "annotation-xml":
|
|
case "color-profile":
|
|
case "font-face":
|
|
case "font-face-src":
|
|
case "font-face-uri":
|
|
case "font-face-format":
|
|
case "font-face-name":
|
|
case "missing-glyph":
|
|
return !1;
|
|
|
|
default:
|
|
return !0;
|
|
}
|
|
}
|
|
|
|
var wb = null;
|
|
|
|
function xb(a) {
|
|
a = a.target || a.srcElement || window;
|
|
a.correspondingUseElement && (a = a.correspondingUseElement);
|
|
return 3 === a.nodeType ? a.parentNode : a;
|
|
}
|
|
|
|
var yb = null,
|
|
zb = null,
|
|
Ab = null;
|
|
|
|
function Bb(a) {
|
|
if (a = Cb(a)) {
|
|
if ("function" !== typeof yb) throw Error(p$2(280));
|
|
var b = a.stateNode;
|
|
b && (b = Db(b), yb(a.stateNode, a.type, b));
|
|
}
|
|
}
|
|
|
|
function Eb(a) {
|
|
zb ? Ab ? Ab.push(a) : Ab = [a] : zb = a;
|
|
}
|
|
|
|
function Fb() {
|
|
if (zb) {
|
|
var a = zb,
|
|
b = Ab;
|
|
Ab = zb = null;
|
|
Bb(a);
|
|
if (b) for (a = 0; a < b.length; a++) Bb(b[a]);
|
|
}
|
|
}
|
|
|
|
function Gb(a, b) {
|
|
return a(b);
|
|
}
|
|
|
|
function Hb() {}
|
|
|
|
var Ib = !1;
|
|
|
|
function Jb(a, b, c) {
|
|
if (Ib) return a(b, c);
|
|
Ib = !0;
|
|
|
|
try {
|
|
return Gb(a, b, c);
|
|
} finally {
|
|
if (Ib = !1, null !== zb || null !== Ab) Hb(), Fb();
|
|
}
|
|
}
|
|
|
|
function Kb(a, b) {
|
|
var c = a.stateNode;
|
|
if (null === c) return null;
|
|
var d = Db(c);
|
|
if (null === d) return null;
|
|
c = d[b];
|
|
|
|
a: switch (b) {
|
|
case "onClick":
|
|
case "onClickCapture":
|
|
case "onDoubleClick":
|
|
case "onDoubleClickCapture":
|
|
case "onMouseDown":
|
|
case "onMouseDownCapture":
|
|
case "onMouseMove":
|
|
case "onMouseMoveCapture":
|
|
case "onMouseUp":
|
|
case "onMouseUpCapture":
|
|
case "onMouseEnter":
|
|
(d = !d.disabled) || (a = a.type, d = !("button" === a || "input" === a || "select" === a || "textarea" === a));
|
|
a = !d;
|
|
break a;
|
|
|
|
default:
|
|
a = !1;
|
|
}
|
|
|
|
if (a) return null;
|
|
if (c && "function" !== typeof c) throw Error(p$2(231, b, typeof c));
|
|
return c;
|
|
}
|
|
|
|
var Lb = !1;
|
|
if (ia) try {
|
|
var Mb = {};
|
|
Object.defineProperty(Mb, "passive", {
|
|
get: function () {
|
|
Lb = !0;
|
|
}
|
|
});
|
|
window.addEventListener("test", Mb, Mb);
|
|
window.removeEventListener("test", Mb, Mb);
|
|
} catch (a) {
|
|
Lb = !1;
|
|
}
|
|
|
|
function Nb(a, b, c, d, e, f, g, h, k) {
|
|
var l = Array.prototype.slice.call(arguments, 3);
|
|
|
|
try {
|
|
b.apply(c, l);
|
|
} catch (m) {
|
|
this.onError(m);
|
|
}
|
|
}
|
|
|
|
var Ob = !1,
|
|
Pb = null,
|
|
Qb = !1,
|
|
Rb = null,
|
|
Sb = {
|
|
onError: function (a) {
|
|
Ob = !0;
|
|
Pb = a;
|
|
}
|
|
};
|
|
|
|
function Tb(a, b, c, d, e, f, g, h, k) {
|
|
Ob = !1;
|
|
Pb = null;
|
|
Nb.apply(Sb, arguments);
|
|
}
|
|
|
|
function Ub(a, b, c, d, e, f, g, h, k) {
|
|
Tb.apply(this, arguments);
|
|
|
|
if (Ob) {
|
|
if (Ob) {
|
|
var l = Pb;
|
|
Ob = !1;
|
|
Pb = null;
|
|
} else throw Error(p$2(198));
|
|
|
|
Qb || (Qb = !0, Rb = l);
|
|
}
|
|
}
|
|
|
|
function Vb(a) {
|
|
var b = a,
|
|
c = a;
|
|
if (a.alternate) for (; b.return;) b = b.return;else {
|
|
a = b;
|
|
|
|
do b = a, 0 !== (b.flags & 4098) && (c = b.return), a = b.return; while (a);
|
|
}
|
|
return 3 === b.tag ? c : null;
|
|
}
|
|
|
|
function Wb(a) {
|
|
if (13 === a.tag) {
|
|
var b = a.memoizedState;
|
|
null === b && (a = a.alternate, null !== a && (b = a.memoizedState));
|
|
if (null !== b) return b.dehydrated;
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
function Xb(a) {
|
|
if (Vb(a) !== a) throw Error(p$2(188));
|
|
}
|
|
|
|
function Yb(a) {
|
|
var b = a.alternate;
|
|
|
|
if (!b) {
|
|
b = Vb(a);
|
|
if (null === b) throw Error(p$2(188));
|
|
return b !== a ? null : a;
|
|
}
|
|
|
|
for (var c = a, d = b;;) {
|
|
var e = c.return;
|
|
if (null === e) break;
|
|
var f = e.alternate;
|
|
|
|
if (null === f) {
|
|
d = e.return;
|
|
|
|
if (null !== d) {
|
|
c = d;
|
|
continue;
|
|
}
|
|
|
|
break;
|
|
}
|
|
|
|
if (e.child === f.child) {
|
|
for (f = e.child; f;) {
|
|
if (f === c) return Xb(e), a;
|
|
if (f === d) return Xb(e), b;
|
|
f = f.sibling;
|
|
}
|
|
|
|
throw Error(p$2(188));
|
|
}
|
|
|
|
if (c.return !== d.return) c = e, d = f;else {
|
|
for (var g = !1, h = e.child; h;) {
|
|
if (h === c) {
|
|
g = !0;
|
|
c = e;
|
|
d = f;
|
|
break;
|
|
}
|
|
|
|
if (h === d) {
|
|
g = !0;
|
|
d = e;
|
|
c = f;
|
|
break;
|
|
}
|
|
|
|
h = h.sibling;
|
|
}
|
|
|
|
if (!g) {
|
|
for (h = f.child; h;) {
|
|
if (h === c) {
|
|
g = !0;
|
|
c = f;
|
|
d = e;
|
|
break;
|
|
}
|
|
|
|
if (h === d) {
|
|
g = !0;
|
|
d = f;
|
|
c = e;
|
|
break;
|
|
}
|
|
|
|
h = h.sibling;
|
|
}
|
|
|
|
if (!g) throw Error(p$2(189));
|
|
}
|
|
}
|
|
if (c.alternate !== d) throw Error(p$2(190));
|
|
}
|
|
|
|
if (3 !== c.tag) throw Error(p$2(188));
|
|
return c.stateNode.current === c ? a : b;
|
|
}
|
|
|
|
function Zb(a) {
|
|
a = Yb(a);
|
|
return null !== a ? $b(a) : null;
|
|
}
|
|
|
|
function $b(a) {
|
|
if (5 === a.tag || 6 === a.tag) return a;
|
|
|
|
for (a = a.child; null !== a;) {
|
|
var b = $b(a);
|
|
if (null !== b) return b;
|
|
a = a.sibling;
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
var ac = ca.unstable_scheduleCallback,
|
|
bc = ca.unstable_cancelCallback,
|
|
cc = ca.unstable_shouldYield,
|
|
dc = ca.unstable_requestPaint,
|
|
B$1 = ca.unstable_now,
|
|
ec = ca.unstable_getCurrentPriorityLevel,
|
|
fc = ca.unstable_ImmediatePriority,
|
|
gc = ca.unstable_UserBlockingPriority,
|
|
hc = ca.unstable_NormalPriority,
|
|
ic = ca.unstable_LowPriority,
|
|
jc = ca.unstable_IdlePriority,
|
|
kc = null,
|
|
lc = null;
|
|
|
|
function mc(a) {
|
|
if (lc && "function" === typeof lc.onCommitFiberRoot) try {
|
|
lc.onCommitFiberRoot(kc, a, void 0, 128 === (a.current.flags & 128));
|
|
} catch (b) {}
|
|
}
|
|
|
|
var oc = Math.clz32 ? Math.clz32 : nc,
|
|
pc = Math.log,
|
|
qc = Math.LN2;
|
|
|
|
function nc(a) {
|
|
a >>>= 0;
|
|
return 0 === a ? 32 : 31 - (pc(a) / qc | 0) | 0;
|
|
}
|
|
|
|
var rc = 64,
|
|
sc = 4194304;
|
|
|
|
function tc(a) {
|
|
switch (a & -a) {
|
|
case 1:
|
|
return 1;
|
|
|
|
case 2:
|
|
return 2;
|
|
|
|
case 4:
|
|
return 4;
|
|
|
|
case 8:
|
|
return 8;
|
|
|
|
case 16:
|
|
return 16;
|
|
|
|
case 32:
|
|
return 32;
|
|
|
|
case 64:
|
|
case 128:
|
|
case 256:
|
|
case 512:
|
|
case 1024:
|
|
case 2048:
|
|
case 4096:
|
|
case 8192:
|
|
case 16384:
|
|
case 32768:
|
|
case 65536:
|
|
case 131072:
|
|
case 262144:
|
|
case 524288:
|
|
case 1048576:
|
|
case 2097152:
|
|
return a & 4194240;
|
|
|
|
case 4194304:
|
|
case 8388608:
|
|
case 16777216:
|
|
case 33554432:
|
|
case 67108864:
|
|
return a & 130023424;
|
|
|
|
case 134217728:
|
|
return 134217728;
|
|
|
|
case 268435456:
|
|
return 268435456;
|
|
|
|
case 536870912:
|
|
return 536870912;
|
|
|
|
case 1073741824:
|
|
return 1073741824;
|
|
|
|
default:
|
|
return a;
|
|
}
|
|
}
|
|
|
|
function uc(a, b) {
|
|
var c = a.pendingLanes;
|
|
if (0 === c) return 0;
|
|
var d = 0,
|
|
e = a.suspendedLanes,
|
|
f = a.pingedLanes,
|
|
g = c & 268435455;
|
|
|
|
if (0 !== g) {
|
|
var h = g & ~e;
|
|
0 !== h ? d = tc(h) : (f &= g, 0 !== f && (d = tc(f)));
|
|
} else g = c & ~e, 0 !== g ? d = tc(g) : 0 !== f && (d = tc(f));
|
|
|
|
if (0 === d) return 0;
|
|
if (0 !== b && b !== d && 0 === (b & e) && (e = d & -d, f = b & -b, e >= f || 16 === e && 0 !== (f & 4194240))) return b;
|
|
0 !== (d & 4) && (d |= c & 16);
|
|
b = a.entangledLanes;
|
|
if (0 !== b) for (a = a.entanglements, b &= d; 0 < b;) c = 31 - oc(b), e = 1 << c, d |= a[c], b &= ~e;
|
|
return d;
|
|
}
|
|
|
|
function vc(a, b) {
|
|
switch (a) {
|
|
case 1:
|
|
case 2:
|
|
case 4:
|
|
return b + 250;
|
|
|
|
case 8:
|
|
case 16:
|
|
case 32:
|
|
case 64:
|
|
case 128:
|
|
case 256:
|
|
case 512:
|
|
case 1024:
|
|
case 2048:
|
|
case 4096:
|
|
case 8192:
|
|
case 16384:
|
|
case 32768:
|
|
case 65536:
|
|
case 131072:
|
|
case 262144:
|
|
case 524288:
|
|
case 1048576:
|
|
case 2097152:
|
|
return b + 5E3;
|
|
|
|
case 4194304:
|
|
case 8388608:
|
|
case 16777216:
|
|
case 33554432:
|
|
case 67108864:
|
|
return -1;
|
|
|
|
case 134217728:
|
|
case 268435456:
|
|
case 536870912:
|
|
case 1073741824:
|
|
return -1;
|
|
|
|
default:
|
|
return -1;
|
|
}
|
|
}
|
|
|
|
function wc(a, b) {
|
|
for (var c = a.suspendedLanes, d = a.pingedLanes, e = a.expirationTimes, f = a.pendingLanes; 0 < f;) {
|
|
var g = 31 - oc(f),
|
|
h = 1 << g,
|
|
k = e[g];
|
|
|
|
if (-1 === k) {
|
|
if (0 === (h & c) || 0 !== (h & d)) e[g] = vc(h, b);
|
|
} else k <= b && (a.expiredLanes |= h);
|
|
|
|
f &= ~h;
|
|
}
|
|
}
|
|
|
|
function xc(a) {
|
|
a = a.pendingLanes & -1073741825;
|
|
return 0 !== a ? a : a & 1073741824 ? 1073741824 : 0;
|
|
}
|
|
|
|
function yc() {
|
|
var a = rc;
|
|
rc <<= 1;
|
|
0 === (rc & 4194240) && (rc = 64);
|
|
return a;
|
|
}
|
|
|
|
function zc(a) {
|
|
for (var b = [], c = 0; 31 > c; c++) b.push(a);
|
|
|
|
return b;
|
|
}
|
|
|
|
function Ac(a, b, c) {
|
|
a.pendingLanes |= b;
|
|
536870912 !== b && (a.suspendedLanes = 0, a.pingedLanes = 0);
|
|
a = a.eventTimes;
|
|
b = 31 - oc(b);
|
|
a[b] = c;
|
|
}
|
|
|
|
function Bc(a, b) {
|
|
var c = a.pendingLanes & ~b;
|
|
a.pendingLanes = b;
|
|
a.suspendedLanes = 0;
|
|
a.pingedLanes = 0;
|
|
a.expiredLanes &= b;
|
|
a.mutableReadLanes &= b;
|
|
a.entangledLanes &= b;
|
|
b = a.entanglements;
|
|
var d = a.eventTimes;
|
|
|
|
for (a = a.expirationTimes; 0 < c;) {
|
|
var e = 31 - oc(c),
|
|
f = 1 << e;
|
|
b[e] = 0;
|
|
d[e] = -1;
|
|
a[e] = -1;
|
|
c &= ~f;
|
|
}
|
|
}
|
|
|
|
function Cc(a, b) {
|
|
var c = a.entangledLanes |= b;
|
|
|
|
for (a = a.entanglements; c;) {
|
|
var d = 31 - oc(c),
|
|
e = 1 << d;
|
|
e & b | a[d] & b && (a[d] |= b);
|
|
c &= ~e;
|
|
}
|
|
}
|
|
|
|
var C$1 = 0;
|
|
|
|
function Dc(a) {
|
|
a &= -a;
|
|
return 1 < a ? 4 < a ? 0 !== (a & 268435455) ? 16 : 536870912 : 4 : 1;
|
|
}
|
|
|
|
var Ec,
|
|
Fc,
|
|
Gc,
|
|
Hc,
|
|
Ic,
|
|
Jc = !1,
|
|
Kc = [],
|
|
Lc = null,
|
|
Mc = null,
|
|
Nc = null,
|
|
Oc = new Map(),
|
|
Pc = new Map(),
|
|
Qc = [],
|
|
Rc = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");
|
|
|
|
function Sc(a, b) {
|
|
switch (a) {
|
|
case "focusin":
|
|
case "focusout":
|
|
Lc = null;
|
|
break;
|
|
|
|
case "dragenter":
|
|
case "dragleave":
|
|
Mc = null;
|
|
break;
|
|
|
|
case "mouseover":
|
|
case "mouseout":
|
|
Nc = null;
|
|
break;
|
|
|
|
case "pointerover":
|
|
case "pointerout":
|
|
Oc.delete(b.pointerId);
|
|
break;
|
|
|
|
case "gotpointercapture":
|
|
case "lostpointercapture":
|
|
Pc.delete(b.pointerId);
|
|
}
|
|
}
|
|
|
|
function Tc(a, b, c, d, e, f) {
|
|
if (null === a || a.nativeEvent !== f) return a = {
|
|
blockedOn: b,
|
|
domEventName: c,
|
|
eventSystemFlags: d,
|
|
nativeEvent: f,
|
|
targetContainers: [e]
|
|
}, null !== b && (b = Cb(b), null !== b && Fc(b)), a;
|
|
a.eventSystemFlags |= d;
|
|
b = a.targetContainers;
|
|
null !== e && -1 === b.indexOf(e) && b.push(e);
|
|
return a;
|
|
}
|
|
|
|
function Uc(a, b, c, d, e) {
|
|
switch (b) {
|
|
case "focusin":
|
|
return Lc = Tc(Lc, a, b, c, d, e), !0;
|
|
|
|
case "dragenter":
|
|
return Mc = Tc(Mc, a, b, c, d, e), !0;
|
|
|
|
case "mouseover":
|
|
return Nc = Tc(Nc, a, b, c, d, e), !0;
|
|
|
|
case "pointerover":
|
|
var f = e.pointerId;
|
|
Oc.set(f, Tc(Oc.get(f) || null, a, b, c, d, e));
|
|
return !0;
|
|
|
|
case "gotpointercapture":
|
|
return f = e.pointerId, Pc.set(f, Tc(Pc.get(f) || null, a, b, c, d, e)), !0;
|
|
}
|
|
|
|
return !1;
|
|
}
|
|
|
|
function Vc(a) {
|
|
var b = Wc(a.target);
|
|
|
|
if (null !== b) {
|
|
var c = Vb(b);
|
|
if (null !== c) if (b = c.tag, 13 === b) {
|
|
if (b = Wb(c), null !== b) {
|
|
a.blockedOn = b;
|
|
Ic(a.priority, function () {
|
|
Gc(c);
|
|
});
|
|
return;
|
|
}
|
|
} else if (3 === b && c.stateNode.current.memoizedState.isDehydrated) {
|
|
a.blockedOn = 3 === c.tag ? c.stateNode.containerInfo : null;
|
|
return;
|
|
}
|
|
}
|
|
|
|
a.blockedOn = null;
|
|
}
|
|
|
|
function Xc(a) {
|
|
if (null !== a.blockedOn) return !1;
|
|
|
|
for (var b = a.targetContainers; 0 < b.length;) {
|
|
var c = Yc(a.domEventName, a.eventSystemFlags, b[0], a.nativeEvent);
|
|
|
|
if (null === c) {
|
|
c = a.nativeEvent;
|
|
var d = new c.constructor(c.type, c);
|
|
wb = d;
|
|
c.target.dispatchEvent(d);
|
|
wb = null;
|
|
} else return b = Cb(c), null !== b && Fc(b), a.blockedOn = c, !1;
|
|
|
|
b.shift();
|
|
}
|
|
|
|
return !0;
|
|
}
|
|
|
|
function Zc(a, b, c) {
|
|
Xc(a) && c.delete(b);
|
|
}
|
|
|
|
function $c() {
|
|
Jc = !1;
|
|
null !== Lc && Xc(Lc) && (Lc = null);
|
|
null !== Mc && Xc(Mc) && (Mc = null);
|
|
null !== Nc && Xc(Nc) && (Nc = null);
|
|
Oc.forEach(Zc);
|
|
Pc.forEach(Zc);
|
|
}
|
|
|
|
function ad(a, b) {
|
|
a.blockedOn === b && (a.blockedOn = null, Jc || (Jc = !0, ca.unstable_scheduleCallback(ca.unstable_NormalPriority, $c)));
|
|
}
|
|
|
|
function bd(a) {
|
|
function b(b) {
|
|
return ad(b, a);
|
|
}
|
|
|
|
if (0 < Kc.length) {
|
|
ad(Kc[0], a);
|
|
|
|
for (var c = 1; c < Kc.length; c++) {
|
|
var d = Kc[c];
|
|
d.blockedOn === a && (d.blockedOn = null);
|
|
}
|
|
}
|
|
|
|
null !== Lc && ad(Lc, a);
|
|
null !== Mc && ad(Mc, a);
|
|
null !== Nc && ad(Nc, a);
|
|
Oc.forEach(b);
|
|
Pc.forEach(b);
|
|
|
|
for (c = 0; c < Qc.length; c++) d = Qc[c], d.blockedOn === a && (d.blockedOn = null);
|
|
|
|
for (; 0 < Qc.length && (c = Qc[0], null === c.blockedOn);) Vc(c), null === c.blockedOn && Qc.shift();
|
|
}
|
|
|
|
var cd = ua.ReactCurrentBatchConfig,
|
|
dd = !0;
|
|
|
|
function ed(a, b, c, d) {
|
|
var e = C$1,
|
|
f = cd.transition;
|
|
cd.transition = null;
|
|
|
|
try {
|
|
C$1 = 1, fd(a, b, c, d);
|
|
} finally {
|
|
C$1 = e, cd.transition = f;
|
|
}
|
|
}
|
|
|
|
function gd(a, b, c, d) {
|
|
var e = C$1,
|
|
f = cd.transition;
|
|
cd.transition = null;
|
|
|
|
try {
|
|
C$1 = 4, fd(a, b, c, d);
|
|
} finally {
|
|
C$1 = e, cd.transition = f;
|
|
}
|
|
}
|
|
|
|
function fd(a, b, c, d) {
|
|
if (dd) {
|
|
var e = Yc(a, b, c, d);
|
|
if (null === e) hd(a, b, d, id, c), Sc(a, d);else if (Uc(e, a, b, c, d)) d.stopPropagation();else if (Sc(a, d), b & 4 && -1 < Rc.indexOf(a)) {
|
|
for (; null !== e;) {
|
|
var f = Cb(e);
|
|
null !== f && Ec(f);
|
|
f = Yc(a, b, c, d);
|
|
null === f && hd(a, b, d, id, c);
|
|
if (f === e) break;
|
|
e = f;
|
|
}
|
|
|
|
null !== e && d.stopPropagation();
|
|
} else hd(a, b, d, null, c);
|
|
}
|
|
}
|
|
|
|
var id = null;
|
|
|
|
function Yc(a, b, c, d) {
|
|
id = null;
|
|
a = xb(d);
|
|
a = Wc(a);
|
|
if (null !== a) if (b = Vb(a), null === b) a = null;else if (c = b.tag, 13 === c) {
|
|
a = Wb(b);
|
|
if (null !== a) return a;
|
|
a = null;
|
|
} else if (3 === c) {
|
|
if (b.stateNode.current.memoizedState.isDehydrated) return 3 === b.tag ? b.stateNode.containerInfo : null;
|
|
a = null;
|
|
} else b !== a && (a = null);
|
|
id = a;
|
|
return null;
|
|
}
|
|
|
|
function jd(a) {
|
|
switch (a) {
|
|
case "cancel":
|
|
case "click":
|
|
case "close":
|
|
case "contextmenu":
|
|
case "copy":
|
|
case "cut":
|
|
case "auxclick":
|
|
case "dblclick":
|
|
case "dragend":
|
|
case "dragstart":
|
|
case "drop":
|
|
case "focusin":
|
|
case "focusout":
|
|
case "input":
|
|
case "invalid":
|
|
case "keydown":
|
|
case "keypress":
|
|
case "keyup":
|
|
case "mousedown":
|
|
case "mouseup":
|
|
case "paste":
|
|
case "pause":
|
|
case "play":
|
|
case "pointercancel":
|
|
case "pointerdown":
|
|
case "pointerup":
|
|
case "ratechange":
|
|
case "reset":
|
|
case "resize":
|
|
case "seeked":
|
|
case "submit":
|
|
case "touchcancel":
|
|
case "touchend":
|
|
case "touchstart":
|
|
case "volumechange":
|
|
case "change":
|
|
case "selectionchange":
|
|
case "textInput":
|
|
case "compositionstart":
|
|
case "compositionend":
|
|
case "compositionupdate":
|
|
case "beforeblur":
|
|
case "afterblur":
|
|
case "beforeinput":
|
|
case "blur":
|
|
case "fullscreenchange":
|
|
case "focus":
|
|
case "hashchange":
|
|
case "popstate":
|
|
case "select":
|
|
case "selectstart":
|
|
return 1;
|
|
|
|
case "drag":
|
|
case "dragenter":
|
|
case "dragexit":
|
|
case "dragleave":
|
|
case "dragover":
|
|
case "mousemove":
|
|
case "mouseout":
|
|
case "mouseover":
|
|
case "pointermove":
|
|
case "pointerout":
|
|
case "pointerover":
|
|
case "scroll":
|
|
case "toggle":
|
|
case "touchmove":
|
|
case "wheel":
|
|
case "mouseenter":
|
|
case "mouseleave":
|
|
case "pointerenter":
|
|
case "pointerleave":
|
|
return 4;
|
|
|
|
case "message":
|
|
switch (ec()) {
|
|
case fc:
|
|
return 1;
|
|
|
|
case gc:
|
|
return 4;
|
|
|
|
case hc:
|
|
case ic:
|
|
return 16;
|
|
|
|
case jc:
|
|
return 536870912;
|
|
|
|
default:
|
|
return 16;
|
|
}
|
|
|
|
default:
|
|
return 16;
|
|
}
|
|
}
|
|
|
|
var kd = null,
|
|
ld = null,
|
|
md = null;
|
|
|
|
function nd() {
|
|
if (md) return md;
|
|
var a,
|
|
b = ld,
|
|
c = b.length,
|
|
d,
|
|
e = "value" in kd ? kd.value : kd.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 md = e.slice(a, 1 < d ? 1 - d : void 0);
|
|
}
|
|
|
|
function od(a) {
|
|
var b = a.keyCode;
|
|
"charCode" in a ? (a = a.charCode, 0 === a && 13 === b && (a = 13)) : a = b;
|
|
10 === a && (a = 13);
|
|
return 32 <= a || 13 === a ? a : 0;
|
|
}
|
|
|
|
function pd() {
|
|
return !0;
|
|
}
|
|
|
|
function qd() {
|
|
return !1;
|
|
}
|
|
|
|
function rd(a) {
|
|
function b(b, d, e, f, g) {
|
|
this._reactName = b;
|
|
this._targetInst = e;
|
|
this.type = d;
|
|
this.nativeEvent = f;
|
|
this.target = g;
|
|
this.currentTarget = null;
|
|
|
|
for (var c in a) a.hasOwnProperty(c) && (b = a[c], this[c] = b ? b(f) : f[c]);
|
|
|
|
this.isDefaultPrevented = (null != f.defaultPrevented ? f.defaultPrevented : !1 === f.returnValue) ? pd : qd;
|
|
this.isPropagationStopped = qd;
|
|
return this;
|
|
}
|
|
|
|
A$1(b.prototype, {
|
|
preventDefault: function () {
|
|
this.defaultPrevented = !0;
|
|
var a = this.nativeEvent;
|
|
a && (a.preventDefault ? a.preventDefault() : "unknown" !== typeof a.returnValue && (a.returnValue = !1), this.isDefaultPrevented = pd);
|
|
},
|
|
stopPropagation: function () {
|
|
var a = this.nativeEvent;
|
|
a && (a.stopPropagation ? a.stopPropagation() : "unknown" !== typeof a.cancelBubble && (a.cancelBubble = !0), this.isPropagationStopped = pd);
|
|
},
|
|
persist: function () {},
|
|
isPersistent: pd
|
|
});
|
|
return b;
|
|
}
|
|
|
|
var sd = {
|
|
eventPhase: 0,
|
|
bubbles: 0,
|
|
cancelable: 0,
|
|
timeStamp: function (a) {
|
|
return a.timeStamp || Date.now();
|
|
},
|
|
defaultPrevented: 0,
|
|
isTrusted: 0
|
|
},
|
|
td = rd(sd),
|
|
ud = A$1({}, sd, {
|
|
view: 0,
|
|
detail: 0
|
|
}),
|
|
vd = rd(ud),
|
|
wd,
|
|
xd,
|
|
yd,
|
|
Ad = A$1({}, ud, {
|
|
screenX: 0,
|
|
screenY: 0,
|
|
clientX: 0,
|
|
clientY: 0,
|
|
pageX: 0,
|
|
pageY: 0,
|
|
ctrlKey: 0,
|
|
shiftKey: 0,
|
|
altKey: 0,
|
|
metaKey: 0,
|
|
getModifierState: zd,
|
|
button: 0,
|
|
buttons: 0,
|
|
relatedTarget: function (a) {
|
|
return void 0 === a.relatedTarget ? a.fromElement === a.srcElement ? a.toElement : a.fromElement : a.relatedTarget;
|
|
},
|
|
movementX: function (a) {
|
|
if ("movementX" in a) return a.movementX;
|
|
a !== yd && (yd && "mousemove" === a.type ? (wd = a.screenX - yd.screenX, xd = a.screenY - yd.screenY) : xd = wd = 0, yd = a);
|
|
return wd;
|
|
},
|
|
movementY: function (a) {
|
|
return "movementY" in a ? a.movementY : xd;
|
|
}
|
|
}),
|
|
Bd = rd(Ad),
|
|
Cd = A$1({}, Ad, {
|
|
dataTransfer: 0
|
|
}),
|
|
Dd = rd(Cd),
|
|
Ed = A$1({}, ud, {
|
|
relatedTarget: 0
|
|
}),
|
|
Fd = rd(Ed),
|
|
Gd = A$1({}, sd, {
|
|
animationName: 0,
|
|
elapsedTime: 0,
|
|
pseudoElement: 0
|
|
}),
|
|
Hd = rd(Gd),
|
|
Id = A$1({}, sd, {
|
|
clipboardData: function (a) {
|
|
return "clipboardData" in a ? a.clipboardData : window.clipboardData;
|
|
}
|
|
}),
|
|
Jd = rd(Id),
|
|
Kd = A$1({}, sd, {
|
|
data: 0
|
|
}),
|
|
Ld = rd(Kd),
|
|
Md = {
|
|
Esc: "Escape",
|
|
Spacebar: " ",
|
|
Left: "ArrowLeft",
|
|
Up: "ArrowUp",
|
|
Right: "ArrowRight",
|
|
Down: "ArrowDown",
|
|
Del: "Delete",
|
|
Win: "OS",
|
|
Menu: "ContextMenu",
|
|
Apps: "ContextMenu",
|
|
Scroll: "ScrollLock",
|
|
MozPrintableKey: "Unidentified"
|
|
},
|
|
Nd = {
|
|
8: "Backspace",
|
|
9: "Tab",
|
|
12: "Clear",
|
|
13: "Enter",
|
|
16: "Shift",
|
|
17: "Control",
|
|
18: "Alt",
|
|
19: "Pause",
|
|
20: "CapsLock",
|
|
27: "Escape",
|
|
32: " ",
|
|
33: "PageUp",
|
|
34: "PageDown",
|
|
35: "End",
|
|
36: "Home",
|
|
37: "ArrowLeft",
|
|
38: "ArrowUp",
|
|
39: "ArrowRight",
|
|
40: "ArrowDown",
|
|
45: "Insert",
|
|
46: "Delete",
|
|
112: "F1",
|
|
113: "F2",
|
|
114: "F3",
|
|
115: "F4",
|
|
116: "F5",
|
|
117: "F6",
|
|
118: "F7",
|
|
119: "F8",
|
|
120: "F9",
|
|
121: "F10",
|
|
122: "F11",
|
|
123: "F12",
|
|
144: "NumLock",
|
|
145: "ScrollLock",
|
|
224: "Meta"
|
|
},
|
|
Od = {
|
|
Alt: "altKey",
|
|
Control: "ctrlKey",
|
|
Meta: "metaKey",
|
|
Shift: "shiftKey"
|
|
};
|
|
|
|
function Pd(a) {
|
|
var b = this.nativeEvent;
|
|
return b.getModifierState ? b.getModifierState(a) : (a = Od[a]) ? !!b[a] : !1;
|
|
}
|
|
|
|
function zd() {
|
|
return Pd;
|
|
}
|
|
|
|
var Qd = A$1({}, ud, {
|
|
key: function (a) {
|
|
if (a.key) {
|
|
var b = Md[a.key] || a.key;
|
|
if ("Unidentified" !== b) return b;
|
|
}
|
|
|
|
return "keypress" === a.type ? (a = od(a), 13 === a ? "Enter" : String.fromCharCode(a)) : "keydown" === a.type || "keyup" === a.type ? Nd[a.keyCode] || "Unidentified" : "";
|
|
},
|
|
code: 0,
|
|
location: 0,
|
|
ctrlKey: 0,
|
|
shiftKey: 0,
|
|
altKey: 0,
|
|
metaKey: 0,
|
|
repeat: 0,
|
|
locale: 0,
|
|
getModifierState: zd,
|
|
charCode: function (a) {
|
|
return "keypress" === a.type ? od(a) : 0;
|
|
},
|
|
keyCode: function (a) {
|
|
return "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
|
|
},
|
|
which: function (a) {
|
|
return "keypress" === a.type ? od(a) : "keydown" === a.type || "keyup" === a.type ? a.keyCode : 0;
|
|
}
|
|
}),
|
|
Rd = rd(Qd),
|
|
Sd = A$1({}, Ad, {
|
|
pointerId: 0,
|
|
width: 0,
|
|
height: 0,
|
|
pressure: 0,
|
|
tangentialPressure: 0,
|
|
tiltX: 0,
|
|
tiltY: 0,
|
|
twist: 0,
|
|
pointerType: 0,
|
|
isPrimary: 0
|
|
}),
|
|
Td = rd(Sd),
|
|
Ud = A$1({}, ud, {
|
|
touches: 0,
|
|
targetTouches: 0,
|
|
changedTouches: 0,
|
|
altKey: 0,
|
|
metaKey: 0,
|
|
ctrlKey: 0,
|
|
shiftKey: 0,
|
|
getModifierState: zd
|
|
}),
|
|
Vd = rd(Ud),
|
|
Wd = A$1({}, sd, {
|
|
propertyName: 0,
|
|
elapsedTime: 0,
|
|
pseudoElement: 0
|
|
}),
|
|
Xd = rd(Wd),
|
|
Yd = A$1({}, Ad, {
|
|
deltaX: function (a) {
|
|
return "deltaX" in a ? a.deltaX : "wheelDeltaX" in a ? -a.wheelDeltaX : 0;
|
|
},
|
|
deltaY: function (a) {
|
|
return "deltaY" in a ? a.deltaY : "wheelDeltaY" in a ? -a.wheelDeltaY : "wheelDelta" in a ? -a.wheelDelta : 0;
|
|
},
|
|
deltaZ: 0,
|
|
deltaMode: 0
|
|
}),
|
|
Zd = rd(Yd),
|
|
$d = [9, 13, 27, 32],
|
|
ae$1 = ia && "CompositionEvent" in window,
|
|
be$1 = null;
|
|
ia && "documentMode" in document && (be$1 = document.documentMode);
|
|
var ce$1 = ia && "TextEvent" in window && !be$1,
|
|
de$1 = ia && (!ae$1 || be$1 && 8 < be$1 && 11 >= be$1),
|
|
ee$1 = String.fromCharCode(32),
|
|
fe$1 = !1;
|
|
|
|
function ge$1(a, b) {
|
|
switch (a) {
|
|
case "keyup":
|
|
return -1 !== $d.indexOf(b.keyCode);
|
|
|
|
case "keydown":
|
|
return 229 !== b.keyCode;
|
|
|
|
case "keypress":
|
|
case "mousedown":
|
|
case "focusout":
|
|
return !0;
|
|
|
|
default:
|
|
return !1;
|
|
}
|
|
}
|
|
|
|
function he$1(a) {
|
|
a = a.detail;
|
|
return "object" === typeof a && "data" in a ? a.data : null;
|
|
}
|
|
|
|
var ie$1 = !1;
|
|
|
|
function je$1(a, b) {
|
|
switch (a) {
|
|
case "compositionend":
|
|
return he$1(b);
|
|
|
|
case "keypress":
|
|
if (32 !== b.which) return null;
|
|
fe$1 = !0;
|
|
return ee$1;
|
|
|
|
case "textInput":
|
|
return a = b.data, a === ee$1 && fe$1 ? null : a;
|
|
|
|
default:
|
|
return null;
|
|
}
|
|
}
|
|
|
|
function ke$1(a, b) {
|
|
if (ie$1) return "compositionend" === a || !ae$1 && ge$1(a, b) ? (a = nd(), md = ld = kd = null, ie$1 = !1, a) : null;
|
|
|
|
switch (a) {
|
|
case "paste":
|
|
return null;
|
|
|
|
case "keypress":
|
|
if (!(b.ctrlKey || b.altKey || b.metaKey) || b.ctrlKey && b.altKey) {
|
|
if (b.char && 1 < b.char.length) return b.char;
|
|
if (b.which) return String.fromCharCode(b.which);
|
|
}
|
|
|
|
return null;
|
|
|
|
case "compositionend":
|
|
return de$1 && "ko" !== b.locale ? null : b.data;
|
|
|
|
default:
|
|
return null;
|
|
}
|
|
}
|
|
|
|
var le$1 = {
|
|
color: !0,
|
|
date: !0,
|
|
datetime: !0,
|
|
"datetime-local": !0,
|
|
email: !0,
|
|
month: !0,
|
|
number: !0,
|
|
password: !0,
|
|
range: !0,
|
|
search: !0,
|
|
tel: !0,
|
|
text: !0,
|
|
time: !0,
|
|
url: !0,
|
|
week: !0
|
|
};
|
|
|
|
function me(a) {
|
|
var b = a && a.nodeName && a.nodeName.toLowerCase();
|
|
return "input" === b ? !!le$1[a.type] : "textarea" === b ? !0 : !1;
|
|
}
|
|
|
|
function ne$1(a, b, c, d) {
|
|
Eb(d);
|
|
b = oe$1(b, "onChange");
|
|
0 < b.length && (c = new td("onChange", "change", null, c, d), a.push({
|
|
event: c,
|
|
listeners: b
|
|
}));
|
|
}
|
|
|
|
var pe$1 = null,
|
|
qe$1 = null;
|
|
|
|
function re$1(a) {
|
|
se$1(a, 0);
|
|
}
|
|
|
|
function te$1(a) {
|
|
var b = ue(a);
|
|
if (Wa(b)) return a;
|
|
}
|
|
|
|
function ve$1(a, b) {
|
|
if ("change" === a) return b;
|
|
}
|
|
|
|
var we$1 = !1;
|
|
|
|
if (ia) {
|
|
var xe$1;
|
|
|
|
if (ia) {
|
|
var ye$1 = ("oninput" in document);
|
|
|
|
if (!ye$1) {
|
|
var ze$1 = document.createElement("div");
|
|
ze$1.setAttribute("oninput", "return;");
|
|
ye$1 = "function" === typeof ze$1.oninput;
|
|
}
|
|
|
|
xe$1 = ye$1;
|
|
} else xe$1 = !1;
|
|
|
|
we$1 = xe$1 && (!document.documentMode || 9 < document.documentMode);
|
|
}
|
|
|
|
function Ae$1() {
|
|
pe$1 && (pe$1.detachEvent("onpropertychange", Be$1), qe$1 = pe$1 = null);
|
|
}
|
|
|
|
function Be$1(a) {
|
|
if ("value" === a.propertyName && te$1(qe$1)) {
|
|
var b = [];
|
|
ne$1(b, qe$1, a, xb(a));
|
|
Jb(re$1, b);
|
|
}
|
|
}
|
|
|
|
function Ce(a, b, c) {
|
|
"focusin" === a ? (Ae$1(), pe$1 = b, qe$1 = c, pe$1.attachEvent("onpropertychange", Be$1)) : "focusout" === a && Ae$1();
|
|
}
|
|
|
|
function De$1(a) {
|
|
if ("selectionchange" === a || "keyup" === a || "keydown" === a) return te$1(qe$1);
|
|
}
|
|
|
|
function Ee$1(a, b) {
|
|
if ("click" === a) return te$1(b);
|
|
}
|
|
|
|
function Fe$1(a, b) {
|
|
if ("input" === a || "change" === a) return te$1(b);
|
|
}
|
|
|
|
function Ge(a, b) {
|
|
return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
|
|
}
|
|
|
|
var He = "function" === typeof Object.is ? Object.is : Ge;
|
|
|
|
function Ie(a, b) {
|
|
if (He(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++) {
|
|
var e = c[d];
|
|
if (!ja.call(b, e) || !He(a[e], b[e])) return !1;
|
|
}
|
|
|
|
return !0;
|
|
}
|
|
|
|
function Je(a) {
|
|
for (; a && a.firstChild;) a = a.firstChild;
|
|
|
|
return a;
|
|
}
|
|
|
|
function Ke(a, b) {
|
|
var c = Je(a);
|
|
a = 0;
|
|
|
|
for (var d; c;) {
|
|
if (3 === c.nodeType) {
|
|
d = a + c.textContent.length;
|
|
if (a <= b && d >= b) return {
|
|
node: c,
|
|
offset: b - a
|
|
};
|
|
a = d;
|
|
}
|
|
|
|
a: {
|
|
for (; c;) {
|
|
if (c.nextSibling) {
|
|
c = c.nextSibling;
|
|
break a;
|
|
}
|
|
|
|
c = c.parentNode;
|
|
}
|
|
|
|
c = void 0;
|
|
}
|
|
|
|
c = Je(c);
|
|
}
|
|
}
|
|
|
|
function Le(a, b) {
|
|
return a && b ? a === b ? !0 : a && 3 === a.nodeType ? !1 : b && 3 === b.nodeType ? Le(a, b.parentNode) : "contains" in a ? a.contains(b) : a.compareDocumentPosition ? !!(a.compareDocumentPosition(b) & 16) : !1 : !1;
|
|
}
|
|
|
|
function Me$1() {
|
|
for (var a = window, b = Xa(); b instanceof a.HTMLIFrameElement;) {
|
|
try {
|
|
var c = "string" === typeof b.contentWindow.location.href;
|
|
} catch (d) {
|
|
c = !1;
|
|
}
|
|
|
|
if (c) a = b.contentWindow;else break;
|
|
b = Xa(a.document);
|
|
}
|
|
|
|
return b;
|
|
}
|
|
|
|
function Ne$1(a) {
|
|
var b = a && a.nodeName && a.nodeName.toLowerCase();
|
|
return b && ("input" === b && ("text" === a.type || "search" === a.type || "tel" === a.type || "url" === a.type || "password" === a.type) || "textarea" === b || "true" === a.contentEditable);
|
|
}
|
|
|
|
function Oe$1(a) {
|
|
var b = Me$1(),
|
|
c = a.focusedElem,
|
|
d = a.selectionRange;
|
|
|
|
if (b !== c && c && c.ownerDocument && Le(c.ownerDocument.documentElement, c)) {
|
|
if (null !== d && Ne$1(c)) if (b = d.start, a = d.end, void 0 === a && (a = b), "selectionStart" in c) c.selectionStart = b, c.selectionEnd = Math.min(a, c.value.length);else if (a = (b = c.ownerDocument || document) && b.defaultView || window, a.getSelection) {
|
|
a = a.getSelection();
|
|
var e = c.textContent.length,
|
|
f = Math.min(d.start, e);
|
|
d = void 0 === d.end ? f : Math.min(d.end, e);
|
|
!a.extend && f > d && (e = d, d = f, f = e);
|
|
e = Ke(c, f);
|
|
var g = Ke(c, d);
|
|
e && g && (1 !== a.rangeCount || a.anchorNode !== e.node || a.anchorOffset !== e.offset || a.focusNode !== g.node || a.focusOffset !== g.offset) && (b = b.createRange(), b.setStart(e.node, e.offset), a.removeAllRanges(), f > d ? (a.addRange(b), a.extend(g.node, g.offset)) : (b.setEnd(g.node, g.offset), a.addRange(b)));
|
|
}
|
|
b = [];
|
|
|
|
for (a = c; a = a.parentNode;) 1 === a.nodeType && b.push({
|
|
element: a,
|
|
left: a.scrollLeft,
|
|
top: a.scrollTop
|
|
});
|
|
|
|
"function" === typeof c.focus && c.focus();
|
|
|
|
for (c = 0; c < b.length; c++) a = b[c], a.element.scrollLeft = a.left, a.element.scrollTop = a.top;
|
|
}
|
|
}
|
|
|
|
var Pe = ia && "documentMode" in document && 11 >= document.documentMode,
|
|
Qe = null,
|
|
Re$1 = null,
|
|
Se$1 = null,
|
|
Te$1 = !1;
|
|
|
|
function Ue(a, b, c) {
|
|
var d = c.window === c ? c.document : 9 === c.nodeType ? c : c.ownerDocument;
|
|
Te$1 || null == Qe || Qe !== Xa(d) || (d = Qe, "selectionStart" in d && Ne$1(d) ? d = {
|
|
start: d.selectionStart,
|
|
end: d.selectionEnd
|
|
} : (d = (d.ownerDocument && d.ownerDocument.defaultView || window).getSelection(), d = {
|
|
anchorNode: d.anchorNode,
|
|
anchorOffset: d.anchorOffset,
|
|
focusNode: d.focusNode,
|
|
focusOffset: d.focusOffset
|
|
}), Se$1 && Ie(Se$1, d) || (Se$1 = d, d = oe$1(Re$1, "onSelect"), 0 < d.length && (b = new td("onSelect", "select", null, b, c), a.push({
|
|
event: b,
|
|
listeners: d
|
|
}), b.target = Qe)));
|
|
}
|
|
|
|
function Ve$1(a, b) {
|
|
var c = {};
|
|
c[a.toLowerCase()] = b.toLowerCase();
|
|
c["Webkit" + a] = "webkit" + b;
|
|
c["Moz" + a] = "moz" + b;
|
|
return c;
|
|
}
|
|
|
|
var We = {
|
|
animationend: Ve$1("Animation", "AnimationEnd"),
|
|
animationiteration: Ve$1("Animation", "AnimationIteration"),
|
|
animationstart: Ve$1("Animation", "AnimationStart"),
|
|
transitionend: Ve$1("Transition", "TransitionEnd")
|
|
},
|
|
Xe = {},
|
|
Ye$1 = {};
|
|
ia && (Ye$1 = document.createElement("div").style, "AnimationEvent" in window || (delete We.animationend.animation, delete We.animationiteration.animation, delete We.animationstart.animation), "TransitionEvent" in window || delete We.transitionend.transition);
|
|
|
|
function Ze(a) {
|
|
if (Xe[a]) return Xe[a];
|
|
if (!We[a]) return a;
|
|
var b = We[a],
|
|
c;
|
|
|
|
for (c in b) if (b.hasOwnProperty(c) && c in Ye$1) return Xe[a] = b[c];
|
|
|
|
return a;
|
|
}
|
|
|
|
var $e = Ze("animationend"),
|
|
af = Ze("animationiteration"),
|
|
bf = Ze("animationstart"),
|
|
cf = Ze("transitionend"),
|
|
df = new Map(),
|
|
ef = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");
|
|
|
|
function ff(a, b) {
|
|
df.set(a, b);
|
|
fa(b, [a]);
|
|
}
|
|
|
|
for (var gf = 0; gf < ef.length; gf++) {
|
|
var hf = ef[gf],
|
|
jf = hf.toLowerCase(),
|
|
kf = hf[0].toUpperCase() + hf.slice(1);
|
|
ff(jf, "on" + kf);
|
|
}
|
|
|
|
ff($e, "onAnimationEnd");
|
|
ff(af, "onAnimationIteration");
|
|
ff(bf, "onAnimationStart");
|
|
ff("dblclick", "onDoubleClick");
|
|
ff("focusin", "onFocus");
|
|
ff("focusout", "onBlur");
|
|
ff(cf, "onTransitionEnd");
|
|
ha("onMouseEnter", ["mouseout", "mouseover"]);
|
|
ha("onMouseLeave", ["mouseout", "mouseover"]);
|
|
ha("onPointerEnter", ["pointerout", "pointerover"]);
|
|
ha("onPointerLeave", ["pointerout", "pointerover"]);
|
|
fa("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" "));
|
|
fa("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));
|
|
fa("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]);
|
|
fa("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" "));
|
|
fa("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" "));
|
|
fa("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
|
|
var lf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),
|
|
mf = new Set("cancel close invalid load scroll toggle".split(" ").concat(lf));
|
|
|
|
function nf(a, b, c) {
|
|
var d = a.type || "unknown-event";
|
|
a.currentTarget = c;
|
|
Ub(d, b, void 0, a);
|
|
a.currentTarget = null;
|
|
}
|
|
|
|
function se$1(a, b) {
|
|
b = 0 !== (b & 4);
|
|
|
|
for (var c = 0; c < a.length; c++) {
|
|
var d = a[c],
|
|
e = d.event;
|
|
d = d.listeners;
|
|
|
|
a: {
|
|
var f = void 0;
|
|
if (b) for (var g = d.length - 1; 0 <= g; g--) {
|
|
var h = d[g],
|
|
k = h.instance,
|
|
l = h.currentTarget;
|
|
h = h.listener;
|
|
if (k !== f && e.isPropagationStopped()) break a;
|
|
nf(e, h, l);
|
|
f = k;
|
|
} else for (g = 0; g < d.length; g++) {
|
|
h = d[g];
|
|
k = h.instance;
|
|
l = h.currentTarget;
|
|
h = h.listener;
|
|
if (k !== f && e.isPropagationStopped()) break a;
|
|
nf(e, h, l);
|
|
f = k;
|
|
}
|
|
}
|
|
}
|
|
|
|
if (Qb) throw a = Rb, Qb = !1, Rb = null, a;
|
|
}
|
|
|
|
function D$1(a, b) {
|
|
var c = b[of];
|
|
void 0 === c && (c = b[of] = new Set());
|
|
var d = a + "__bubble";
|
|
c.has(d) || (pf(b, a, 2, !1), c.add(d));
|
|
}
|
|
|
|
function qf(a, b, c) {
|
|
var d = 0;
|
|
b && (d |= 4);
|
|
pf(c, a, d, b);
|
|
}
|
|
|
|
var rf = "_reactListening" + Math.random().toString(36).slice(2);
|
|
|
|
function sf(a) {
|
|
if (!a[rf]) {
|
|
a[rf] = !0;
|
|
da.forEach(function (b) {
|
|
"selectionchange" !== b && (mf.has(b) || qf(b, !1, a), qf(b, !0, a));
|
|
});
|
|
var b = 9 === a.nodeType ? a : a.ownerDocument;
|
|
null === b || b[rf] || (b[rf] = !0, qf("selectionchange", !1, b));
|
|
}
|
|
}
|
|
|
|
function pf(a, b, c, d) {
|
|
switch (jd(b)) {
|
|
case 1:
|
|
var e = ed;
|
|
break;
|
|
|
|
case 4:
|
|
e = gd;
|
|
break;
|
|
|
|
default:
|
|
e = fd;
|
|
}
|
|
|
|
c = e.bind(null, b, c, a);
|
|
e = void 0;
|
|
!Lb || "touchstart" !== b && "touchmove" !== b && "wheel" !== b || (e = !0);
|
|
d ? void 0 !== e ? a.addEventListener(b, c, {
|
|
capture: !0,
|
|
passive: e
|
|
}) : a.addEventListener(b, c, !0) : void 0 !== e ? a.addEventListener(b, c, {
|
|
passive: e
|
|
}) : a.addEventListener(b, c, !1);
|
|
}
|
|
|
|
function hd(a, b, c, d, e) {
|
|
var f = d;
|
|
if (0 === (b & 1) && 0 === (b & 2) && null !== d) a: for (;;) {
|
|
if (null === d) return;
|
|
var g = d.tag;
|
|
|
|
if (3 === g || 4 === g) {
|
|
var h = d.stateNode.containerInfo;
|
|
if (h === e || 8 === h.nodeType && h.parentNode === e) break;
|
|
if (4 === g) for (g = d.return; null !== g;) {
|
|
var k = g.tag;
|
|
if (3 === k || 4 === k) if (k = g.stateNode.containerInfo, k === e || 8 === k.nodeType && k.parentNode === e) return;
|
|
g = g.return;
|
|
}
|
|
|
|
for (; null !== h;) {
|
|
g = Wc(h);
|
|
if (null === g) return;
|
|
k = g.tag;
|
|
|
|
if (5 === k || 6 === k) {
|
|
d = f = g;
|
|
continue a;
|
|
}
|
|
|
|
h = h.parentNode;
|
|
}
|
|
}
|
|
|
|
d = d.return;
|
|
}
|
|
Jb(function () {
|
|
var d = f,
|
|
e = xb(c),
|
|
g = [];
|
|
|
|
a: {
|
|
var h = df.get(a);
|
|
|
|
if (void 0 !== h) {
|
|
var k = td,
|
|
n = a;
|
|
|
|
switch (a) {
|
|
case "keypress":
|
|
if (0 === od(c)) break a;
|
|
|
|
case "keydown":
|
|
case "keyup":
|
|
k = Rd;
|
|
break;
|
|
|
|
case "focusin":
|
|
n = "focus";
|
|
k = Fd;
|
|
break;
|
|
|
|
case "focusout":
|
|
n = "blur";
|
|
k = Fd;
|
|
break;
|
|
|
|
case "beforeblur":
|
|
case "afterblur":
|
|
k = Fd;
|
|
break;
|
|
|
|
case "click":
|
|
if (2 === c.button) break a;
|
|
|
|
case "auxclick":
|
|
case "dblclick":
|
|
case "mousedown":
|
|
case "mousemove":
|
|
case "mouseup":
|
|
case "mouseout":
|
|
case "mouseover":
|
|
case "contextmenu":
|
|
k = Bd;
|
|
break;
|
|
|
|
case "drag":
|
|
case "dragend":
|
|
case "dragenter":
|
|
case "dragexit":
|
|
case "dragleave":
|
|
case "dragover":
|
|
case "dragstart":
|
|
case "drop":
|
|
k = Dd;
|
|
break;
|
|
|
|
case "touchcancel":
|
|
case "touchend":
|
|
case "touchmove":
|
|
case "touchstart":
|
|
k = Vd;
|
|
break;
|
|
|
|
case $e:
|
|
case af:
|
|
case bf:
|
|
k = Hd;
|
|
break;
|
|
|
|
case cf:
|
|
k = Xd;
|
|
break;
|
|
|
|
case "scroll":
|
|
k = vd;
|
|
break;
|
|
|
|
case "wheel":
|
|
k = Zd;
|
|
break;
|
|
|
|
case "copy":
|
|
case "cut":
|
|
case "paste":
|
|
k = Jd;
|
|
break;
|
|
|
|
case "gotpointercapture":
|
|
case "lostpointercapture":
|
|
case "pointercancel":
|
|
case "pointerdown":
|
|
case "pointermove":
|
|
case "pointerout":
|
|
case "pointerover":
|
|
case "pointerup":
|
|
k = Td;
|
|
}
|
|
|
|
var t = 0 !== (b & 4),
|
|
J = !t && "scroll" === a,
|
|
x = t ? null !== h ? h + "Capture" : null : h;
|
|
t = [];
|
|
|
|
for (var w = d, u; null !== w;) {
|
|
u = w;
|
|
var F = u.stateNode;
|
|
5 === u.tag && null !== F && (u = F, null !== x && (F = Kb(w, x), null != F && t.push(tf(w, F, u))));
|
|
if (J) break;
|
|
w = w.return;
|
|
}
|
|
|
|
0 < t.length && (h = new k(h, n, null, c, e), g.push({
|
|
event: h,
|
|
listeners: t
|
|
}));
|
|
}
|
|
}
|
|
|
|
if (0 === (b & 7)) {
|
|
a: {
|
|
h = "mouseover" === a || "pointerover" === a;
|
|
k = "mouseout" === a || "pointerout" === a;
|
|
if (h && c !== wb && (n = c.relatedTarget || c.fromElement) && (Wc(n) || n[uf])) break a;
|
|
|
|
if (k || h) {
|
|
h = e.window === e ? e : (h = e.ownerDocument) ? h.defaultView || h.parentWindow : window;
|
|
|
|
if (k) {
|
|
if (n = c.relatedTarget || c.toElement, k = d, n = n ? Wc(n) : null, null !== n && (J = Vb(n), n !== J || 5 !== n.tag && 6 !== n.tag)) n = null;
|
|
} else k = null, n = d;
|
|
|
|
if (k !== n) {
|
|
t = Bd;
|
|
F = "onMouseLeave";
|
|
x = "onMouseEnter";
|
|
w = "mouse";
|
|
if ("pointerout" === a || "pointerover" === a) t = Td, F = "onPointerLeave", x = "onPointerEnter", w = "pointer";
|
|
J = null == k ? h : ue(k);
|
|
u = null == n ? h : ue(n);
|
|
h = new t(F, w + "leave", k, c, e);
|
|
h.target = J;
|
|
h.relatedTarget = u;
|
|
F = null;
|
|
Wc(e) === d && (t = new t(x, w + "enter", n, c, e), t.target = u, t.relatedTarget = J, F = t);
|
|
J = F;
|
|
if (k && n) b: {
|
|
t = k;
|
|
x = n;
|
|
w = 0;
|
|
|
|
for (u = t; u; u = vf(u)) w++;
|
|
|
|
u = 0;
|
|
|
|
for (F = x; F; F = vf(F)) u++;
|
|
|
|
for (; 0 < w - u;) t = vf(t), w--;
|
|
|
|
for (; 0 < u - w;) x = vf(x), u--;
|
|
|
|
for (; w--;) {
|
|
if (t === x || null !== x && t === x.alternate) break b;
|
|
t = vf(t);
|
|
x = vf(x);
|
|
}
|
|
|
|
t = null;
|
|
} else t = null;
|
|
null !== k && wf(g, h, k, t, !1);
|
|
null !== n && null !== J && wf(g, J, n, t, !0);
|
|
}
|
|
}
|
|
}
|
|
|
|
a: {
|
|
h = d ? ue(d) : window;
|
|
k = h.nodeName && h.nodeName.toLowerCase();
|
|
if ("select" === k || "input" === k && "file" === h.type) var na = ve$1;else if (me(h)) {
|
|
if (we$1) na = Fe$1;else {
|
|
na = De$1;
|
|
var xa = Ce;
|
|
}
|
|
} else (k = h.nodeName) && "input" === k.toLowerCase() && ("checkbox" === h.type || "radio" === h.type) && (na = Ee$1);
|
|
|
|
if (na && (na = na(a, d))) {
|
|
ne$1(g, na, c, e);
|
|
break a;
|
|
}
|
|
|
|
xa && xa(a, h, d);
|
|
"focusout" === a && (xa = h._wrapperState) && xa.controlled && "number" === h.type && cb(h, "number", h.value);
|
|
}
|
|
|
|
xa = d ? ue(d) : window;
|
|
|
|
switch (a) {
|
|
case "focusin":
|
|
if (me(xa) || "true" === xa.contentEditable) Qe = xa, Re$1 = d, Se$1 = null;
|
|
break;
|
|
|
|
case "focusout":
|
|
Se$1 = Re$1 = Qe = null;
|
|
break;
|
|
|
|
case "mousedown":
|
|
Te$1 = !0;
|
|
break;
|
|
|
|
case "contextmenu":
|
|
case "mouseup":
|
|
case "dragend":
|
|
Te$1 = !1;
|
|
Ue(g, c, e);
|
|
break;
|
|
|
|
case "selectionchange":
|
|
if (Pe) break;
|
|
|
|
case "keydown":
|
|
case "keyup":
|
|
Ue(g, c, e);
|
|
}
|
|
|
|
var $a;
|
|
if (ae$1) b: {
|
|
switch (a) {
|
|
case "compositionstart":
|
|
var ba = "onCompositionStart";
|
|
break b;
|
|
|
|
case "compositionend":
|
|
ba = "onCompositionEnd";
|
|
break b;
|
|
|
|
case "compositionupdate":
|
|
ba = "onCompositionUpdate";
|
|
break b;
|
|
}
|
|
|
|
ba = void 0;
|
|
} else ie$1 ? ge$1(a, c) && (ba = "onCompositionEnd") : "keydown" === a && 229 === c.keyCode && (ba = "onCompositionStart");
|
|
ba && (de$1 && "ko" !== c.locale && (ie$1 || "onCompositionStart" !== ba ? "onCompositionEnd" === ba && ie$1 && ($a = nd()) : (kd = e, ld = "value" in kd ? kd.value : kd.textContent, ie$1 = !0)), xa = oe$1(d, ba), 0 < xa.length && (ba = new Ld(ba, a, null, c, e), g.push({
|
|
event: ba,
|
|
listeners: xa
|
|
}), $a ? ba.data = $a : ($a = he$1(c), null !== $a && (ba.data = $a))));
|
|
if ($a = ce$1 ? je$1(a, c) : ke$1(a, c)) d = oe$1(d, "onBeforeInput"), 0 < d.length && (e = new Ld("onBeforeInput", "beforeinput", null, c, e), g.push({
|
|
event: e,
|
|
listeners: d
|
|
}), e.data = $a);
|
|
}
|
|
|
|
se$1(g, b);
|
|
});
|
|
}
|
|
|
|
function tf(a, b, c) {
|
|
return {
|
|
instance: a,
|
|
listener: b,
|
|
currentTarget: c
|
|
};
|
|
}
|
|
|
|
function oe$1(a, b) {
|
|
for (var c = b + "Capture", d = []; null !== a;) {
|
|
var e = a,
|
|
f = e.stateNode;
|
|
5 === e.tag && null !== f && (e = f, f = Kb(a, c), null != f && d.unshift(tf(a, f, e)), f = Kb(a, b), null != f && d.push(tf(a, f, e)));
|
|
a = a.return;
|
|
}
|
|
|
|
return d;
|
|
}
|
|
|
|
function vf(a) {
|
|
if (null === a) return null;
|
|
|
|
do a = a.return; while (a && 5 !== a.tag);
|
|
|
|
return a ? a : null;
|
|
}
|
|
|
|
function wf(a, b, c, d, e) {
|
|
for (var f = b._reactName, g = []; null !== c && c !== d;) {
|
|
var h = c,
|
|
k = h.alternate,
|
|
l = h.stateNode;
|
|
if (null !== k && k === d) break;
|
|
5 === h.tag && null !== l && (h = l, e ? (k = Kb(c, f), null != k && g.unshift(tf(c, k, h))) : e || (k = Kb(c, f), null != k && g.push(tf(c, k, h))));
|
|
c = c.return;
|
|
}
|
|
|
|
0 !== g.length && a.push({
|
|
event: b,
|
|
listeners: g
|
|
});
|
|
}
|
|
|
|
var xf = /\r\n?/g,
|
|
yf = /\u0000|\uFFFD/g;
|
|
|
|
function zf(a) {
|
|
return ("string" === typeof a ? a : "" + a).replace(xf, "\n").replace(yf, "");
|
|
}
|
|
|
|
function Af(a, b, c) {
|
|
b = zf(b);
|
|
if (zf(a) !== b && c) throw Error(p$2(425));
|
|
}
|
|
|
|
function Bf() {}
|
|
|
|
var Cf = null,
|
|
Df = null;
|
|
|
|
function Ef(a, b) {
|
|
return "textarea" === a || "noscript" === a || "string" === typeof b.children || "number" === typeof b.children || "object" === typeof b.dangerouslySetInnerHTML && null !== b.dangerouslySetInnerHTML && null != b.dangerouslySetInnerHTML.__html;
|
|
}
|
|
|
|
var Ff = "function" === typeof setTimeout ? setTimeout : void 0,
|
|
Gf = "function" === typeof clearTimeout ? clearTimeout : void 0,
|
|
Hf = "function" === typeof Promise ? Promise : void 0,
|
|
Jf = "function" === typeof queueMicrotask ? queueMicrotask : "undefined" !== typeof Hf ? function (a) {
|
|
return Hf.resolve(null).then(a).catch(If);
|
|
} : Ff;
|
|
|
|
function If(a) {
|
|
setTimeout(function () {
|
|
throw a;
|
|
});
|
|
}
|
|
|
|
function Kf(a, b) {
|
|
var c = b,
|
|
d = 0;
|
|
|
|
do {
|
|
var e = c.nextSibling;
|
|
a.removeChild(c);
|
|
if (e && 8 === e.nodeType) if (c = e.data, "/$" === c) {
|
|
if (0 === d) {
|
|
a.removeChild(e);
|
|
bd(b);
|
|
return;
|
|
}
|
|
|
|
d--;
|
|
} else "$" !== c && "$?" !== c && "$!" !== c || d++;
|
|
c = e;
|
|
} while (c);
|
|
|
|
bd(b);
|
|
}
|
|
|
|
function Lf(a) {
|
|
for (; null != a; a = a.nextSibling) {
|
|
var b = a.nodeType;
|
|
if (1 === b || 3 === b) break;
|
|
|
|
if (8 === b) {
|
|
b = a.data;
|
|
if ("$" === b || "$!" === b || "$?" === b) break;
|
|
if ("/$" === b) return null;
|
|
}
|
|
}
|
|
|
|
return a;
|
|
}
|
|
|
|
function Mf(a) {
|
|
a = a.previousSibling;
|
|
|
|
for (var b = 0; a;) {
|
|
if (8 === a.nodeType) {
|
|
var c = a.data;
|
|
|
|
if ("$" === c || "$!" === c || "$?" === c) {
|
|
if (0 === b) return a;
|
|
b--;
|
|
} else "/$" === c && b++;
|
|
}
|
|
|
|
a = a.previousSibling;
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
var Nf = Math.random().toString(36).slice(2),
|
|
Of = "__reactFiber$" + Nf,
|
|
Pf = "__reactProps$" + Nf,
|
|
uf = "__reactContainer$" + Nf,
|
|
of = "__reactEvents$" + Nf,
|
|
Qf = "__reactListeners$" + Nf,
|
|
Rf = "__reactHandles$" + Nf;
|
|
|
|
function Wc(a) {
|
|
var b = a[Of];
|
|
if (b) return b;
|
|
|
|
for (var c = a.parentNode; c;) {
|
|
if (b = c[uf] || c[Of]) {
|
|
c = b.alternate;
|
|
if (null !== b.child || null !== c && null !== c.child) for (a = Mf(a); null !== a;) {
|
|
if (c = a[Of]) return c;
|
|
a = Mf(a);
|
|
}
|
|
return b;
|
|
}
|
|
|
|
a = c;
|
|
c = a.parentNode;
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
function Cb(a) {
|
|
a = a[Of] || a[uf];
|
|
return !a || 5 !== a.tag && 6 !== a.tag && 13 !== a.tag && 3 !== a.tag ? null : a;
|
|
}
|
|
|
|
function ue(a) {
|
|
if (5 === a.tag || 6 === a.tag) return a.stateNode;
|
|
throw Error(p$2(33));
|
|
}
|
|
|
|
function Db(a) {
|
|
return a[Pf] || null;
|
|
}
|
|
|
|
var Sf = [],
|
|
Tf = -1;
|
|
|
|
function Uf(a) {
|
|
return {
|
|
current: a
|
|
};
|
|
}
|
|
|
|
function E$1(a) {
|
|
0 > Tf || (a.current = Sf[Tf], Sf[Tf] = null, Tf--);
|
|
}
|
|
|
|
function G$1(a, b) {
|
|
Tf++;
|
|
Sf[Tf] = a.current;
|
|
a.current = b;
|
|
}
|
|
|
|
var Vf = {},
|
|
H$1 = Uf(Vf),
|
|
Wf = Uf(!1),
|
|
Xf = Vf;
|
|
|
|
function Yf(a, b) {
|
|
var c = a.type.contextTypes;
|
|
if (!c) return Vf;
|
|
var d = a.stateNode;
|
|
if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) return d.__reactInternalMemoizedMaskedChildContext;
|
|
var e = {},
|
|
f;
|
|
|
|
for (f in c) e[f] = b[f];
|
|
|
|
d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e);
|
|
return e;
|
|
}
|
|
|
|
function Zf(a) {
|
|
a = a.childContextTypes;
|
|
return null !== a && void 0 !== a;
|
|
}
|
|
|
|
function $f() {
|
|
E$1(Wf);
|
|
E$1(H$1);
|
|
}
|
|
|
|
function ag(a, b, c) {
|
|
if (H$1.current !== Vf) throw Error(p$2(168));
|
|
G$1(H$1, b);
|
|
G$1(Wf, c);
|
|
}
|
|
|
|
function bg(a, b, c) {
|
|
var d = a.stateNode;
|
|
b = b.childContextTypes;
|
|
if ("function" !== typeof d.getChildContext) return c;
|
|
d = d.getChildContext();
|
|
|
|
for (var e in d) if (!(e in b)) throw Error(p$2(108, Ra(a) || "Unknown", e));
|
|
|
|
return A$1({}, c, d);
|
|
}
|
|
|
|
function cg(a) {
|
|
a = (a = a.stateNode) && a.__reactInternalMemoizedMergedChildContext || Vf;
|
|
Xf = H$1.current;
|
|
G$1(H$1, a);
|
|
G$1(Wf, Wf.current);
|
|
return !0;
|
|
}
|
|
|
|
function dg(a, b, c) {
|
|
var d = a.stateNode;
|
|
if (!d) throw Error(p$2(169));
|
|
c ? (a = bg(a, b, Xf), d.__reactInternalMemoizedMergedChildContext = a, E$1(Wf), E$1(H$1), G$1(H$1, a)) : E$1(Wf);
|
|
G$1(Wf, c);
|
|
}
|
|
|
|
var eg = null,
|
|
fg = !1,
|
|
gg = !1;
|
|
|
|
function hg(a) {
|
|
null === eg ? eg = [a] : eg.push(a);
|
|
}
|
|
|
|
function ig(a) {
|
|
fg = !0;
|
|
hg(a);
|
|
}
|
|
|
|
function jg() {
|
|
if (!gg && null !== eg) {
|
|
gg = !0;
|
|
var a = 0,
|
|
b = C$1;
|
|
|
|
try {
|
|
var c = eg;
|
|
|
|
for (C$1 = 1; a < c.length; a++) {
|
|
var d = c[a];
|
|
|
|
do d = d(!0); while (null !== d);
|
|
}
|
|
|
|
eg = null;
|
|
fg = !1;
|
|
} catch (e) {
|
|
throw null !== eg && (eg = eg.slice(a + 1)), ac(fc, jg), e;
|
|
} finally {
|
|
C$1 = b, gg = !1;
|
|
}
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
var kg = [],
|
|
lg = 0,
|
|
mg = null,
|
|
ng = 0,
|
|
og = [],
|
|
pg = 0,
|
|
qg = null,
|
|
rg = 1,
|
|
sg = "";
|
|
|
|
function tg(a, b) {
|
|
kg[lg++] = ng;
|
|
kg[lg++] = mg;
|
|
mg = a;
|
|
ng = b;
|
|
}
|
|
|
|
function ug(a, b, c) {
|
|
og[pg++] = rg;
|
|
og[pg++] = sg;
|
|
og[pg++] = qg;
|
|
qg = a;
|
|
var d = rg;
|
|
a = sg;
|
|
var e = 32 - oc(d) - 1;
|
|
d &= ~(1 << e);
|
|
c += 1;
|
|
var f = 32 - oc(b) + e;
|
|
|
|
if (30 < f) {
|
|
var g = e - e % 5;
|
|
f = (d & (1 << g) - 1).toString(32);
|
|
d >>= g;
|
|
e -= g;
|
|
rg = 1 << 32 - oc(b) + e | c << e | d;
|
|
sg = f + a;
|
|
} else rg = 1 << f | c << e | d, sg = a;
|
|
}
|
|
|
|
function vg(a) {
|
|
null !== a.return && (tg(a, 1), ug(a, 1, 0));
|
|
}
|
|
|
|
function wg(a) {
|
|
for (; a === mg;) mg = kg[--lg], kg[lg] = null, ng = kg[--lg], kg[lg] = null;
|
|
|
|
for (; a === qg;) qg = og[--pg], og[pg] = null, sg = og[--pg], og[pg] = null, rg = og[--pg], og[pg] = null;
|
|
}
|
|
|
|
var xg = null,
|
|
yg = null,
|
|
I$1 = !1,
|
|
zg = null;
|
|
|
|
function Ag(a, b) {
|
|
var c = Bg(5, null, null, 0);
|
|
c.elementType = "DELETED";
|
|
c.stateNode = b;
|
|
c.return = a;
|
|
b = a.deletions;
|
|
null === b ? (a.deletions = [c], a.flags |= 16) : b.push(c);
|
|
}
|
|
|
|
function Cg(a, b) {
|
|
switch (a.tag) {
|
|
case 5:
|
|
var c = a.type;
|
|
b = 1 !== b.nodeType || c.toLowerCase() !== b.nodeName.toLowerCase() ? null : b;
|
|
return null !== b ? (a.stateNode = b, xg = a, yg = Lf(b.firstChild), !0) : !1;
|
|
|
|
case 6:
|
|
return b = "" === a.pendingProps || 3 !== b.nodeType ? null : b, null !== b ? (a.stateNode = b, xg = a, yg = null, !0) : !1;
|
|
|
|
case 13:
|
|
return b = 8 !== b.nodeType ? null : b, null !== b ? (c = null !== qg ? {
|
|
id: rg,
|
|
overflow: sg
|
|
} : null, a.memoizedState = {
|
|
dehydrated: b,
|
|
treeContext: c,
|
|
retryLane: 1073741824
|
|
}, c = Bg(18, null, null, 0), c.stateNode = b, c.return = a, a.child = c, xg = a, yg = null, !0) : !1;
|
|
|
|
default:
|
|
return !1;
|
|
}
|
|
}
|
|
|
|
function Dg(a) {
|
|
return 0 !== (a.mode & 1) && 0 === (a.flags & 128);
|
|
}
|
|
|
|
function Eg(a) {
|
|
if (I$1) {
|
|
var b = yg;
|
|
|
|
if (b) {
|
|
var c = b;
|
|
|
|
if (!Cg(a, b)) {
|
|
if (Dg(a)) throw Error(p$2(418));
|
|
b = Lf(c.nextSibling);
|
|
var d = xg;
|
|
b && Cg(a, b) ? Ag(d, c) : (a.flags = a.flags & -4097 | 2, I$1 = !1, xg = a);
|
|
}
|
|
} else {
|
|
if (Dg(a)) throw Error(p$2(418));
|
|
a.flags = a.flags & -4097 | 2;
|
|
I$1 = !1;
|
|
xg = a;
|
|
}
|
|
}
|
|
}
|
|
|
|
function Fg(a) {
|
|
for (a = a.return; null !== a && 5 !== a.tag && 3 !== a.tag && 13 !== a.tag;) a = a.return;
|
|
|
|
xg = a;
|
|
}
|
|
|
|
function Gg(a) {
|
|
if (a !== xg) return !1;
|
|
if (!I$1) return Fg(a), I$1 = !0, !1;
|
|
var b;
|
|
(b = 3 !== a.tag) && !(b = 5 !== a.tag) && (b = a.type, b = "head" !== b && "body" !== b && !Ef(a.type, a.memoizedProps));
|
|
|
|
if (b && (b = yg)) {
|
|
if (Dg(a)) throw Hg(), Error(p$2(418));
|
|
|
|
for (; b;) Ag(a, b), b = Lf(b.nextSibling);
|
|
}
|
|
|
|
Fg(a);
|
|
|
|
if (13 === a.tag) {
|
|
a = a.memoizedState;
|
|
a = null !== a ? a.dehydrated : null;
|
|
if (!a) throw Error(p$2(317));
|
|
|
|
a: {
|
|
a = a.nextSibling;
|
|
|
|
for (b = 0; a;) {
|
|
if (8 === a.nodeType) {
|
|
var c = a.data;
|
|
|
|
if ("/$" === c) {
|
|
if (0 === b) {
|
|
yg = Lf(a.nextSibling);
|
|
break a;
|
|
}
|
|
|
|
b--;
|
|
} else "$" !== c && "$!" !== c && "$?" !== c || b++;
|
|
}
|
|
|
|
a = a.nextSibling;
|
|
}
|
|
|
|
yg = null;
|
|
}
|
|
} else yg = xg ? Lf(a.stateNode.nextSibling) : null;
|
|
|
|
return !0;
|
|
}
|
|
|
|
function Hg() {
|
|
for (var a = yg; a;) a = Lf(a.nextSibling);
|
|
}
|
|
|
|
function Ig() {
|
|
yg = xg = null;
|
|
I$1 = !1;
|
|
}
|
|
|
|
function Jg(a) {
|
|
null === zg ? zg = [a] : zg.push(a);
|
|
}
|
|
|
|
var Kg = ua.ReactCurrentBatchConfig;
|
|
|
|
function Lg(a, b) {
|
|
if (a && a.defaultProps) {
|
|
b = A$1({}, b);
|
|
a = a.defaultProps;
|
|
|
|
for (var c in a) void 0 === b[c] && (b[c] = a[c]);
|
|
|
|
return b;
|
|
}
|
|
|
|
return b;
|
|
}
|
|
|
|
var Mg = Uf(null),
|
|
Ng = null,
|
|
Og = null,
|
|
Pg = null;
|
|
|
|
function Qg() {
|
|
Pg = Og = Ng = null;
|
|
}
|
|
|
|
function Rg(a) {
|
|
var b = Mg.current;
|
|
E$1(Mg);
|
|
a._currentValue = b;
|
|
}
|
|
|
|
function Sg(a, b, c) {
|
|
for (; null !== a;) {
|
|
var d = a.alternate;
|
|
(a.childLanes & b) !== b ? (a.childLanes |= b, null !== d && (d.childLanes |= b)) : null !== d && (d.childLanes & b) !== b && (d.childLanes |= b);
|
|
if (a === c) break;
|
|
a = a.return;
|
|
}
|
|
}
|
|
|
|
function Tg(a, b) {
|
|
Ng = a;
|
|
Pg = Og = null;
|
|
a = a.dependencies;
|
|
null !== a && null !== a.firstContext && (0 !== (a.lanes & b) && (Ug = !0), a.firstContext = null);
|
|
}
|
|
|
|
function Vg(a) {
|
|
var b = a._currentValue;
|
|
if (Pg !== a) if (a = {
|
|
context: a,
|
|
memoizedValue: b,
|
|
next: null
|
|
}, null === Og) {
|
|
if (null === Ng) throw Error(p$2(308));
|
|
Og = a;
|
|
Ng.dependencies = {
|
|
lanes: 0,
|
|
firstContext: a
|
|
};
|
|
} else Og = Og.next = a;
|
|
return b;
|
|
}
|
|
|
|
var Wg = null;
|
|
|
|
function Xg(a) {
|
|
null === Wg ? Wg = [a] : Wg.push(a);
|
|
}
|
|
|
|
function Yg(a, b, c, d) {
|
|
var e = b.interleaved;
|
|
null === e ? (c.next = c, Xg(b)) : (c.next = e.next, e.next = c);
|
|
b.interleaved = c;
|
|
return Zg(a, d);
|
|
}
|
|
|
|
function Zg(a, b) {
|
|
a.lanes |= b;
|
|
var c = a.alternate;
|
|
null !== c && (c.lanes |= b);
|
|
c = a;
|
|
|
|
for (a = a.return; null !== a;) a.childLanes |= b, c = a.alternate, null !== c && (c.childLanes |= b), c = a, a = a.return;
|
|
|
|
return 3 === c.tag ? c.stateNode : null;
|
|
}
|
|
|
|
var $g = !1;
|
|
|
|
function ah(a) {
|
|
a.updateQueue = {
|
|
baseState: a.memoizedState,
|
|
firstBaseUpdate: null,
|
|
lastBaseUpdate: null,
|
|
shared: {
|
|
pending: null,
|
|
interleaved: null,
|
|
lanes: 0
|
|
},
|
|
effects: null
|
|
};
|
|
}
|
|
|
|
function bh(a, b) {
|
|
a = a.updateQueue;
|
|
b.updateQueue === a && (b.updateQueue = {
|
|
baseState: a.baseState,
|
|
firstBaseUpdate: a.firstBaseUpdate,
|
|
lastBaseUpdate: a.lastBaseUpdate,
|
|
shared: a.shared,
|
|
effects: a.effects
|
|
});
|
|
}
|
|
|
|
function ch(a, b) {
|
|
return {
|
|
eventTime: a,
|
|
lane: b,
|
|
tag: 0,
|
|
payload: null,
|
|
callback: null,
|
|
next: null
|
|
};
|
|
}
|
|
|
|
function dh(a, b, c) {
|
|
var d = a.updateQueue;
|
|
if (null === d) return null;
|
|
d = d.shared;
|
|
|
|
if (0 !== (K$1 & 2)) {
|
|
var e = d.pending;
|
|
null === e ? b.next = b : (b.next = e.next, e.next = b);
|
|
d.pending = b;
|
|
return Zg(a, c);
|
|
}
|
|
|
|
e = d.interleaved;
|
|
null === e ? (b.next = b, Xg(d)) : (b.next = e.next, e.next = b);
|
|
d.interleaved = b;
|
|
return Zg(a, c);
|
|
}
|
|
|
|
function eh(a, b, c) {
|
|
b = b.updateQueue;
|
|
|
|
if (null !== b && (b = b.shared, 0 !== (c & 4194240))) {
|
|
var d = b.lanes;
|
|
d &= a.pendingLanes;
|
|
c |= d;
|
|
b.lanes = c;
|
|
Cc(a, c);
|
|
}
|
|
}
|
|
|
|
function fh(a, b) {
|
|
var c = a.updateQueue,
|
|
d = a.alternate;
|
|
|
|
if (null !== d && (d = d.updateQueue, c === d)) {
|
|
var e = null,
|
|
f = null;
|
|
c = c.firstBaseUpdate;
|
|
|
|
if (null !== c) {
|
|
do {
|
|
var g = {
|
|
eventTime: c.eventTime,
|
|
lane: c.lane,
|
|
tag: c.tag,
|
|
payload: c.payload,
|
|
callback: c.callback,
|
|
next: null
|
|
};
|
|
null === f ? e = f = g : f = f.next = g;
|
|
c = c.next;
|
|
} while (null !== c);
|
|
|
|
null === f ? e = f = b : f = f.next = b;
|
|
} else e = f = b;
|
|
|
|
c = {
|
|
baseState: d.baseState,
|
|
firstBaseUpdate: e,
|
|
lastBaseUpdate: f,
|
|
shared: d.shared,
|
|
effects: d.effects
|
|
};
|
|
a.updateQueue = c;
|
|
return;
|
|
}
|
|
|
|
a = c.lastBaseUpdate;
|
|
null === a ? c.firstBaseUpdate = b : a.next = b;
|
|
c.lastBaseUpdate = b;
|
|
}
|
|
|
|
function gh(a, b, c, d) {
|
|
var e = a.updateQueue;
|
|
$g = !1;
|
|
var f = e.firstBaseUpdate,
|
|
g = e.lastBaseUpdate,
|
|
h = e.shared.pending;
|
|
|
|
if (null !== h) {
|
|
e.shared.pending = null;
|
|
var k = h,
|
|
l = k.next;
|
|
k.next = null;
|
|
null === g ? f = l : g.next = l;
|
|
g = k;
|
|
var m = a.alternate;
|
|
null !== m && (m = m.updateQueue, h = m.lastBaseUpdate, h !== g && (null === h ? m.firstBaseUpdate = l : h.next = l, m.lastBaseUpdate = k));
|
|
}
|
|
|
|
if (null !== f) {
|
|
var q = e.baseState;
|
|
g = 0;
|
|
m = l = k = null;
|
|
h = f;
|
|
|
|
do {
|
|
var r = h.lane,
|
|
y = h.eventTime;
|
|
|
|
if ((d & r) === r) {
|
|
null !== m && (m = m.next = {
|
|
eventTime: y,
|
|
lane: 0,
|
|
tag: h.tag,
|
|
payload: h.payload,
|
|
callback: h.callback,
|
|
next: null
|
|
});
|
|
|
|
a: {
|
|
var n = a,
|
|
t = h;
|
|
r = b;
|
|
y = c;
|
|
|
|
switch (t.tag) {
|
|
case 1:
|
|
n = t.payload;
|
|
|
|
if ("function" === typeof n) {
|
|
q = n.call(y, q, r);
|
|
break a;
|
|
}
|
|
|
|
q = n;
|
|
break a;
|
|
|
|
case 3:
|
|
n.flags = n.flags & -65537 | 128;
|
|
|
|
case 0:
|
|
n = t.payload;
|
|
r = "function" === typeof n ? n.call(y, q, r) : n;
|
|
if (null === r || void 0 === r) break a;
|
|
q = A$1({}, q, r);
|
|
break a;
|
|
|
|
case 2:
|
|
$g = !0;
|
|
}
|
|
}
|
|
|
|
null !== h.callback && 0 !== h.lane && (a.flags |= 64, r = e.effects, null === r ? e.effects = [h] : r.push(h));
|
|
} else y = {
|
|
eventTime: y,
|
|
lane: r,
|
|
tag: h.tag,
|
|
payload: h.payload,
|
|
callback: h.callback,
|
|
next: null
|
|
}, null === m ? (l = m = y, k = q) : m = m.next = y, g |= r;
|
|
|
|
h = h.next;
|
|
if (null === h) if (h = e.shared.pending, null === h) break;else r = h, h = r.next, r.next = null, e.lastBaseUpdate = r, e.shared.pending = null;
|
|
} while (1);
|
|
|
|
null === m && (k = q);
|
|
e.baseState = k;
|
|
e.firstBaseUpdate = l;
|
|
e.lastBaseUpdate = m;
|
|
b = e.shared.interleaved;
|
|
|
|
if (null !== b) {
|
|
e = b;
|
|
|
|
do g |= e.lane, e = e.next; while (e !== b);
|
|
} else null === f && (e.shared.lanes = 0);
|
|
|
|
hh |= g;
|
|
a.lanes = g;
|
|
a.memoizedState = q;
|
|
}
|
|
}
|
|
|
|
function ih(a, b, c) {
|
|
a = b.effects;
|
|
b.effects = null;
|
|
if (null !== a) for (b = 0; b < a.length; b++) {
|
|
var d = a[b],
|
|
e = d.callback;
|
|
|
|
if (null !== e) {
|
|
d.callback = null;
|
|
d = c;
|
|
if ("function" !== typeof e) throw Error(p$2(191, e));
|
|
e.call(d);
|
|
}
|
|
}
|
|
}
|
|
|
|
var jh = new aa.Component().refs;
|
|
|
|
function kh(a, b, c, d) {
|
|
b = a.memoizedState;
|
|
c = c(d, b);
|
|
c = null === c || void 0 === c ? b : A$1({}, b, c);
|
|
a.memoizedState = c;
|
|
0 === a.lanes && (a.updateQueue.baseState = c);
|
|
}
|
|
|
|
var nh = {
|
|
isMounted: function (a) {
|
|
return (a = a._reactInternals) ? Vb(a) === a : !1;
|
|
},
|
|
enqueueSetState: function (a, b, c) {
|
|
a = a._reactInternals;
|
|
var d = L$1(),
|
|
e = lh(a),
|
|
f = ch(d, e);
|
|
f.payload = b;
|
|
void 0 !== c && null !== c && (f.callback = c);
|
|
b = dh(a, f, e);
|
|
null !== b && (mh(b, a, e, d), eh(b, a, e));
|
|
},
|
|
enqueueReplaceState: function (a, b, c) {
|
|
a = a._reactInternals;
|
|
var d = L$1(),
|
|
e = lh(a),
|
|
f = ch(d, e);
|
|
f.tag = 1;
|
|
f.payload = b;
|
|
void 0 !== c && null !== c && (f.callback = c);
|
|
b = dh(a, f, e);
|
|
null !== b && (mh(b, a, e, d), eh(b, a, e));
|
|
},
|
|
enqueueForceUpdate: function (a, b) {
|
|
a = a._reactInternals;
|
|
var c = L$1(),
|
|
d = lh(a),
|
|
e = ch(c, d);
|
|
e.tag = 2;
|
|
void 0 !== b && null !== b && (e.callback = b);
|
|
b = dh(a, e, d);
|
|
null !== b && (mh(b, a, d, c), eh(b, a, d));
|
|
}
|
|
};
|
|
|
|
function oh(a, b, c, d, e, f, g) {
|
|
a = a.stateNode;
|
|
return "function" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent ? !Ie(c, d) || !Ie(e, f) : !0;
|
|
}
|
|
|
|
function ph(a, b, c) {
|
|
var d = !1,
|
|
e = Vf;
|
|
var f = b.contextType;
|
|
"object" === typeof f && null !== f ? f = Vg(f) : (e = Zf(b) ? Xf : H$1.current, d = b.contextTypes, f = (d = null !== d && void 0 !== d) ? Yf(a, e) : Vf);
|
|
b = new b(c, f);
|
|
a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null;
|
|
b.updater = nh;
|
|
a.stateNode = b;
|
|
b._reactInternals = a;
|
|
d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f);
|
|
return b;
|
|
}
|
|
|
|
function qh(a, b, c, d) {
|
|
a = b.state;
|
|
"function" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d);
|
|
"function" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d);
|
|
b.state !== a && nh.enqueueReplaceState(b, b.state, null);
|
|
}
|
|
|
|
function rh(a, b, c, d) {
|
|
var e = a.stateNode;
|
|
e.props = c;
|
|
e.state = a.memoizedState;
|
|
e.refs = jh;
|
|
ah(a);
|
|
var f = b.contextType;
|
|
"object" === typeof f && null !== f ? e.context = Vg(f) : (f = Zf(b) ? Xf : H$1.current, e.context = Yf(a, f));
|
|
e.state = a.memoizedState;
|
|
f = b.getDerivedStateFromProps;
|
|
"function" === typeof f && (kh(a, b, f, c), e.state = a.memoizedState);
|
|
"function" === typeof b.getDerivedStateFromProps || "function" === typeof e.getSnapshotBeforeUpdate || "function" !== typeof e.UNSAFE_componentWillMount && "function" !== typeof e.componentWillMount || (b = e.state, "function" === typeof e.componentWillMount && e.componentWillMount(), "function" === typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), b !== e.state && nh.enqueueReplaceState(e, e.state, null), gh(a, c, e, d), e.state = a.memoizedState);
|
|
"function" === typeof e.componentDidMount && (a.flags |= 4194308);
|
|
}
|
|
|
|
function sh(a, b, c) {
|
|
a = c.ref;
|
|
|
|
if (null !== a && "function" !== typeof a && "object" !== typeof a) {
|
|
if (c._owner) {
|
|
c = c._owner;
|
|
|
|
if (c) {
|
|
if (1 !== c.tag) throw Error(p$2(309));
|
|
var d = c.stateNode;
|
|
}
|
|
|
|
if (!d) throw Error(p$2(147, a));
|
|
var e = d,
|
|
f = "" + a;
|
|
if (null !== b && null !== b.ref && "function" === typeof b.ref && b.ref._stringRef === f) return b.ref;
|
|
|
|
b = function (a) {
|
|
var b = e.refs;
|
|
b === jh && (b = e.refs = {});
|
|
null === a ? delete b[f] : b[f] = a;
|
|
};
|
|
|
|
b._stringRef = f;
|
|
return b;
|
|
}
|
|
|
|
if ("string" !== typeof a) throw Error(p$2(284));
|
|
if (!c._owner) throw Error(p$2(290, a));
|
|
}
|
|
|
|
return a;
|
|
}
|
|
|
|
function th(a, b) {
|
|
a = Object.prototype.toString.call(b);
|
|
throw Error(p$2(31, "[object Object]" === a ? "object with keys {" + Object.keys(b).join(", ") + "}" : a));
|
|
}
|
|
|
|
function uh(a) {
|
|
var b = a._init;
|
|
return b(a._payload);
|
|
}
|
|
|
|
function vh(a) {
|
|
function b(b, c) {
|
|
if (a) {
|
|
var d = b.deletions;
|
|
null === d ? (b.deletions = [c], b.flags |= 16) : d.push(c);
|
|
}
|
|
}
|
|
|
|
function c(c, d) {
|
|
if (!a) return null;
|
|
|
|
for (; null !== d;) b(c, d), d = d.sibling;
|
|
|
|
return null;
|
|
}
|
|
|
|
function d(a, b) {
|
|
for (a = new Map(); null !== b;) null !== b.key ? a.set(b.key, b) : a.set(b.index, b), b = b.sibling;
|
|
|
|
return a;
|
|
}
|
|
|
|
function e(a, b) {
|
|
a = wh(a, b);
|
|
a.index = 0;
|
|
a.sibling = null;
|
|
return a;
|
|
}
|
|
|
|
function f(b, c, d) {
|
|
b.index = d;
|
|
if (!a) return b.flags |= 1048576, c;
|
|
d = b.alternate;
|
|
if (null !== d) return d = d.index, d < c ? (b.flags |= 2, c) : d;
|
|
b.flags |= 2;
|
|
return c;
|
|
}
|
|
|
|
function g(b) {
|
|
a && null === b.alternate && (b.flags |= 2);
|
|
return b;
|
|
}
|
|
|
|
function h(a, b, c, d) {
|
|
if (null === b || 6 !== b.tag) return b = xh(c, a.mode, d), b.return = a, b;
|
|
b = e(b, c);
|
|
b.return = a;
|
|
return b;
|
|
}
|
|
|
|
function k(a, b, c, d) {
|
|
var f = c.type;
|
|
if (f === ya) return m(a, b, c.props.children, d, c.key);
|
|
if (null !== b && (b.elementType === f || "object" === typeof f && null !== f && f.$$typeof === Ha && uh(f) === b.type)) return d = e(b, c.props), d.ref = sh(a, b, c), d.return = a, d;
|
|
d = yh(c.type, c.key, c.props, null, a.mode, d);
|
|
d.ref = sh(a, b, c);
|
|
d.return = a;
|
|
return d;
|
|
}
|
|
|
|
function l(a, b, c, d) {
|
|
if (null === b || 4 !== b.tag || b.stateNode.containerInfo !== c.containerInfo || b.stateNode.implementation !== c.implementation) return b = zh(c, a.mode, d), b.return = a, b;
|
|
b = e(b, c.children || []);
|
|
b.return = a;
|
|
return b;
|
|
}
|
|
|
|
function m(a, b, c, d, f) {
|
|
if (null === b || 7 !== b.tag) return b = Ah(c, a.mode, d, f), b.return = a, b;
|
|
b = e(b, c);
|
|
b.return = a;
|
|
return b;
|
|
}
|
|
|
|
function q(a, b, c) {
|
|
if ("string" === typeof b && "" !== b || "number" === typeof b) return b = xh("" + b, a.mode, c), b.return = a, b;
|
|
|
|
if ("object" === typeof b && null !== b) {
|
|
switch (b.$$typeof) {
|
|
case va:
|
|
return c = yh(b.type, b.key, b.props, null, a.mode, c), c.ref = sh(a, null, b), c.return = a, c;
|
|
|
|
case wa:
|
|
return b = zh(b, a.mode, c), b.return = a, b;
|
|
|
|
case Ha:
|
|
var d = b._init;
|
|
return q(a, d(b._payload), c);
|
|
}
|
|
|
|
if (eb(b) || Ka(b)) return b = Ah(b, a.mode, c, null), b.return = a, b;
|
|
th(a, b);
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
function r(a, b, c, d) {
|
|
var e = null !== b ? b.key : null;
|
|
if ("string" === typeof c && "" !== c || "number" === typeof c) return null !== e ? null : h(a, b, "" + c, d);
|
|
|
|
if ("object" === typeof c && null !== c) {
|
|
switch (c.$$typeof) {
|
|
case va:
|
|
return c.key === e ? k(a, b, c, d) : null;
|
|
|
|
case wa:
|
|
return c.key === e ? l(a, b, c, d) : null;
|
|
|
|
case Ha:
|
|
return e = c._init, r(a, b, e(c._payload), d);
|
|
}
|
|
|
|
if (eb(c) || Ka(c)) return null !== e ? null : m(a, b, c, d, null);
|
|
th(a, c);
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
function y(a, b, c, d, e) {
|
|
if ("string" === typeof d && "" !== d || "number" === typeof d) return a = a.get(c) || null, h(b, a, "" + d, e);
|
|
|
|
if ("object" === typeof d && null !== d) {
|
|
switch (d.$$typeof) {
|
|
case va:
|
|
return a = a.get(null === d.key ? c : d.key) || null, k(b, a, d, e);
|
|
|
|
case wa:
|
|
return a = a.get(null === d.key ? c : d.key) || null, l(b, a, d, e);
|
|
|
|
case Ha:
|
|
var f = d._init;
|
|
return y(a, b, c, f(d._payload), e);
|
|
}
|
|
|
|
if (eb(d) || Ka(d)) return a = a.get(c) || null, m(b, a, d, e, null);
|
|
th(b, d);
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
function n(e, g, h, k) {
|
|
for (var l = null, m = null, u = g, w = g = 0, x = null; null !== u && w < h.length; w++) {
|
|
u.index > w ? (x = u, u = null) : x = u.sibling;
|
|
var n = r(e, u, h[w], k);
|
|
|
|
if (null === n) {
|
|
null === u && (u = x);
|
|
break;
|
|
}
|
|
|
|
a && u && null === n.alternate && b(e, u);
|
|
g = f(n, g, w);
|
|
null === m ? l = n : m.sibling = n;
|
|
m = n;
|
|
u = x;
|
|
}
|
|
|
|
if (w === h.length) return c(e, u), I$1 && tg(e, w), l;
|
|
|
|
if (null === u) {
|
|
for (; w < h.length; w++) u = q(e, h[w], k), null !== u && (g = f(u, g, w), null === m ? l = u : m.sibling = u, m = u);
|
|
|
|
I$1 && tg(e, w);
|
|
return l;
|
|
}
|
|
|
|
for (u = d(e, u); w < h.length; w++) x = y(u, e, w, h[w], k), null !== x && (a && null !== x.alternate && u.delete(null === x.key ? w : x.key), g = f(x, g, w), null === m ? l = x : m.sibling = x, m = x);
|
|
|
|
a && u.forEach(function (a) {
|
|
return b(e, a);
|
|
});
|
|
I$1 && tg(e, w);
|
|
return l;
|
|
}
|
|
|
|
function t(e, g, h, k) {
|
|
var l = Ka(h);
|
|
if ("function" !== typeof l) throw Error(p$2(150));
|
|
h = l.call(h);
|
|
if (null == h) throw Error(p$2(151));
|
|
|
|
for (var u = l = null, m = g, w = g = 0, x = null, n = h.next(); null !== m && !n.done; w++, n = h.next()) {
|
|
m.index > w ? (x = m, m = null) : x = m.sibling;
|
|
var t = r(e, m, n.value, k);
|
|
|
|
if (null === t) {
|
|
null === m && (m = x);
|
|
break;
|
|
}
|
|
|
|
a && m && null === t.alternate && b(e, m);
|
|
g = f(t, g, w);
|
|
null === u ? l = t : u.sibling = t;
|
|
u = t;
|
|
m = x;
|
|
}
|
|
|
|
if (n.done) return c(e, m), I$1 && tg(e, w), l;
|
|
|
|
if (null === m) {
|
|
for (; !n.done; w++, n = h.next()) n = q(e, n.value, k), null !== n && (g = f(n, g, w), null === u ? l = n : u.sibling = n, u = n);
|
|
|
|
I$1 && tg(e, w);
|
|
return l;
|
|
}
|
|
|
|
for (m = d(e, m); !n.done; w++, n = h.next()) n = y(m, e, w, n.value, k), null !== n && (a && null !== n.alternate && m.delete(null === n.key ? w : n.key), g = f(n, g, w), null === u ? l = n : u.sibling = n, u = n);
|
|
|
|
a && m.forEach(function (a) {
|
|
return b(e, a);
|
|
});
|
|
I$1 && tg(e, w);
|
|
return l;
|
|
}
|
|
|
|
function J(a, d, f, h) {
|
|
"object" === typeof f && null !== f && f.type === ya && null === f.key && (f = f.props.children);
|
|
|
|
if ("object" === typeof f && null !== f) {
|
|
switch (f.$$typeof) {
|
|
case va:
|
|
a: {
|
|
for (var k = f.key, l = d; null !== l;) {
|
|
if (l.key === k) {
|
|
k = f.type;
|
|
|
|
if (k === ya) {
|
|
if (7 === l.tag) {
|
|
c(a, l.sibling);
|
|
d = e(l, f.props.children);
|
|
d.return = a;
|
|
a = d;
|
|
break a;
|
|
}
|
|
} else if (l.elementType === k || "object" === typeof k && null !== k && k.$$typeof === Ha && uh(k) === l.type) {
|
|
c(a, l.sibling);
|
|
d = e(l, f.props);
|
|
d.ref = sh(a, l, f);
|
|
d.return = a;
|
|
a = d;
|
|
break a;
|
|
}
|
|
|
|
c(a, l);
|
|
break;
|
|
} else b(a, l);
|
|
|
|
l = l.sibling;
|
|
}
|
|
|
|
f.type === ya ? (d = Ah(f.props.children, a.mode, h, f.key), d.return = a, a = d) : (h = yh(f.type, f.key, f.props, null, a.mode, h), h.ref = sh(a, d, f), h.return = a, a = h);
|
|
}
|
|
|
|
return g(a);
|
|
|
|
case wa:
|
|
a: {
|
|
for (l = f.key; null !== d;) {
|
|
if (d.key === l) {
|
|
if (4 === d.tag && d.stateNode.containerInfo === f.containerInfo && d.stateNode.implementation === f.implementation) {
|
|
c(a, d.sibling);
|
|
d = e(d, f.children || []);
|
|
d.return = a;
|
|
a = d;
|
|
break a;
|
|
} else {
|
|
c(a, d);
|
|
break;
|
|
}
|
|
} else b(a, d);
|
|
d = d.sibling;
|
|
}
|
|
|
|
d = zh(f, a.mode, h);
|
|
d.return = a;
|
|
a = d;
|
|
}
|
|
|
|
return g(a);
|
|
|
|
case Ha:
|
|
return l = f._init, J(a, d, l(f._payload), h);
|
|
}
|
|
|
|
if (eb(f)) return n(a, d, f, h);
|
|
if (Ka(f)) return t(a, d, f, h);
|
|
th(a, f);
|
|
}
|
|
|
|
return "string" === typeof f && "" !== f || "number" === typeof f ? (f = "" + f, null !== d && 6 === d.tag ? (c(a, d.sibling), d = e(d, f), d.return = a, a = d) : (c(a, d), d = xh(f, a.mode, h), d.return = a, a = d), g(a)) : c(a, d);
|
|
}
|
|
|
|
return J;
|
|
}
|
|
|
|
var Bh = vh(!0),
|
|
Ch = vh(!1),
|
|
Dh = {},
|
|
Eh = Uf(Dh),
|
|
Fh = Uf(Dh),
|
|
Gh = Uf(Dh);
|
|
|
|
function Hh(a) {
|
|
if (a === Dh) throw Error(p$2(174));
|
|
return a;
|
|
}
|
|
|
|
function Ih(a, b) {
|
|
G$1(Gh, b);
|
|
G$1(Fh, a);
|
|
G$1(Eh, Dh);
|
|
a = b.nodeType;
|
|
|
|
switch (a) {
|
|
case 9:
|
|
case 11:
|
|
b = (b = b.documentElement) ? b.namespaceURI : lb(null, "");
|
|
break;
|
|
|
|
default:
|
|
a = 8 === a ? b.parentNode : b, b = a.namespaceURI || null, a = a.tagName, b = lb(b, a);
|
|
}
|
|
|
|
E$1(Eh);
|
|
G$1(Eh, b);
|
|
}
|
|
|
|
function Jh() {
|
|
E$1(Eh);
|
|
E$1(Fh);
|
|
E$1(Gh);
|
|
}
|
|
|
|
function Kh(a) {
|
|
Hh(Gh.current);
|
|
var b = Hh(Eh.current);
|
|
var c = lb(b, a.type);
|
|
b !== c && (G$1(Fh, a), G$1(Eh, c));
|
|
}
|
|
|
|
function Lh(a) {
|
|
Fh.current === a && (E$1(Eh), E$1(Fh));
|
|
}
|
|
|
|
var M$1 = Uf(0);
|
|
|
|
function Mh(a) {
|
|
for (var b = a; null !== b;) {
|
|
if (13 === b.tag) {
|
|
var c = b.memoizedState;
|
|
if (null !== c && (c = c.dehydrated, null === c || "$?" === c.data || "$!" === c.data)) return b;
|
|
} else if (19 === b.tag && void 0 !== b.memoizedProps.revealOrder) {
|
|
if (0 !== (b.flags & 128)) return b;
|
|
} else if (null !== b.child) {
|
|
b.child.return = b;
|
|
b = b.child;
|
|
continue;
|
|
}
|
|
|
|
if (b === a) break;
|
|
|
|
for (; null === b.sibling;) {
|
|
if (null === b.return || b.return === a) return null;
|
|
b = b.return;
|
|
}
|
|
|
|
b.sibling.return = b.return;
|
|
b = b.sibling;
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
var Nh = [];
|
|
|
|
function Oh() {
|
|
for (var a = 0; a < Nh.length; a++) Nh[a]._workInProgressVersionPrimary = null;
|
|
|
|
Nh.length = 0;
|
|
}
|
|
|
|
var Ph = ua.ReactCurrentDispatcher,
|
|
Qh = ua.ReactCurrentBatchConfig,
|
|
Rh = 0,
|
|
N$1 = null,
|
|
O = null,
|
|
P = null,
|
|
Sh = !1,
|
|
Th = !1,
|
|
Uh = 0,
|
|
Vh = 0;
|
|
|
|
function Q$1() {
|
|
throw Error(p$2(321));
|
|
}
|
|
|
|
function Wh(a, b) {
|
|
if (null === b) return !1;
|
|
|
|
for (var c = 0; c < b.length && c < a.length; c++) if (!He(a[c], b[c])) return !1;
|
|
|
|
return !0;
|
|
}
|
|
|
|
function Xh(a, b, c, d, e, f) {
|
|
Rh = f;
|
|
N$1 = b;
|
|
b.memoizedState = null;
|
|
b.updateQueue = null;
|
|
b.lanes = 0;
|
|
Ph.current = null === a || null === a.memoizedState ? Yh : Zh;
|
|
a = c(d, e);
|
|
|
|
if (Th) {
|
|
f = 0;
|
|
|
|
do {
|
|
Th = !1;
|
|
Uh = 0;
|
|
if (25 <= f) throw Error(p$2(301));
|
|
f += 1;
|
|
P = O = null;
|
|
b.updateQueue = null;
|
|
Ph.current = $h;
|
|
a = c(d, e);
|
|
} while (Th);
|
|
}
|
|
|
|
Ph.current = ai;
|
|
b = null !== O && null !== O.next;
|
|
Rh = 0;
|
|
P = O = N$1 = null;
|
|
Sh = !1;
|
|
if (b) throw Error(p$2(300));
|
|
return a;
|
|
}
|
|
|
|
function bi() {
|
|
var a = 0 !== Uh;
|
|
Uh = 0;
|
|
return a;
|
|
}
|
|
|
|
function ci() {
|
|
var a = {
|
|
memoizedState: null,
|
|
baseState: null,
|
|
baseQueue: null,
|
|
queue: null,
|
|
next: null
|
|
};
|
|
null === P ? N$1.memoizedState = P = a : P = P.next = a;
|
|
return P;
|
|
}
|
|
|
|
function di() {
|
|
if (null === O) {
|
|
var a = N$1.alternate;
|
|
a = null !== a ? a.memoizedState : null;
|
|
} else a = O.next;
|
|
|
|
var b = null === P ? N$1.memoizedState : P.next;
|
|
if (null !== b) P = b, O = a;else {
|
|
if (null === a) throw Error(p$2(310));
|
|
O = a;
|
|
a = {
|
|
memoizedState: O.memoizedState,
|
|
baseState: O.baseState,
|
|
baseQueue: O.baseQueue,
|
|
queue: O.queue,
|
|
next: null
|
|
};
|
|
null === P ? N$1.memoizedState = P = a : P = P.next = a;
|
|
}
|
|
return P;
|
|
}
|
|
|
|
function ei(a, b) {
|
|
return "function" === typeof b ? b(a) : b;
|
|
}
|
|
|
|
function fi(a) {
|
|
var b = di(),
|
|
c = b.queue;
|
|
if (null === c) throw Error(p$2(311));
|
|
c.lastRenderedReducer = a;
|
|
var d = O,
|
|
e = d.baseQueue,
|
|
f = c.pending;
|
|
|
|
if (null !== f) {
|
|
if (null !== e) {
|
|
var g = e.next;
|
|
e.next = f.next;
|
|
f.next = g;
|
|
}
|
|
|
|
d.baseQueue = e = f;
|
|
c.pending = null;
|
|
}
|
|
|
|
if (null !== e) {
|
|
f = e.next;
|
|
d = d.baseState;
|
|
var h = g = null,
|
|
k = null,
|
|
l = f;
|
|
|
|
do {
|
|
var m = l.lane;
|
|
if ((Rh & m) === m) null !== k && (k = k.next = {
|
|
lane: 0,
|
|
action: l.action,
|
|
hasEagerState: l.hasEagerState,
|
|
eagerState: l.eagerState,
|
|
next: null
|
|
}), d = l.hasEagerState ? l.eagerState : a(d, l.action);else {
|
|
var q = {
|
|
lane: m,
|
|
action: l.action,
|
|
hasEagerState: l.hasEagerState,
|
|
eagerState: l.eagerState,
|
|
next: null
|
|
};
|
|
null === k ? (h = k = q, g = d) : k = k.next = q;
|
|
N$1.lanes |= m;
|
|
hh |= m;
|
|
}
|
|
l = l.next;
|
|
} while (null !== l && l !== f);
|
|
|
|
null === k ? g = d : k.next = h;
|
|
He(d, b.memoizedState) || (Ug = !0);
|
|
b.memoizedState = d;
|
|
b.baseState = g;
|
|
b.baseQueue = k;
|
|
c.lastRenderedState = d;
|
|
}
|
|
|
|
a = c.interleaved;
|
|
|
|
if (null !== a) {
|
|
e = a;
|
|
|
|
do f = e.lane, N$1.lanes |= f, hh |= f, e = e.next; while (e !== a);
|
|
} else null === e && (c.lanes = 0);
|
|
|
|
return [b.memoizedState, c.dispatch];
|
|
}
|
|
|
|
function gi(a) {
|
|
var b = di(),
|
|
c = b.queue;
|
|
if (null === c) throw Error(p$2(311));
|
|
c.lastRenderedReducer = a;
|
|
var d = c.dispatch,
|
|
e = c.pending,
|
|
f = b.memoizedState;
|
|
|
|
if (null !== e) {
|
|
c.pending = null;
|
|
var g = e = e.next;
|
|
|
|
do f = a(f, g.action), g = g.next; while (g !== e);
|
|
|
|
He(f, b.memoizedState) || (Ug = !0);
|
|
b.memoizedState = f;
|
|
null === b.baseQueue && (b.baseState = f);
|
|
c.lastRenderedState = f;
|
|
}
|
|
|
|
return [f, d];
|
|
}
|
|
|
|
function hi() {}
|
|
|
|
function ii(a, b) {
|
|
var c = N$1,
|
|
d = di(),
|
|
e = b(),
|
|
f = !He(d.memoizedState, e);
|
|
f && (d.memoizedState = e, Ug = !0);
|
|
d = d.queue;
|
|
ji(ki.bind(null, c, d, a), [a]);
|
|
|
|
if (d.getSnapshot !== b || f || null !== P && P.memoizedState.tag & 1) {
|
|
c.flags |= 2048;
|
|
li(9, mi.bind(null, c, d, e, b), void 0, null);
|
|
if (null === R) throw Error(p$2(349));
|
|
0 !== (Rh & 30) || ni(c, b, e);
|
|
}
|
|
|
|
return e;
|
|
}
|
|
|
|
function ni(a, b, c) {
|
|
a.flags |= 16384;
|
|
a = {
|
|
getSnapshot: b,
|
|
value: c
|
|
};
|
|
b = N$1.updateQueue;
|
|
null === b ? (b = {
|
|
lastEffect: null,
|
|
stores: null
|
|
}, N$1.updateQueue = b, b.stores = [a]) : (c = b.stores, null === c ? b.stores = [a] : c.push(a));
|
|
}
|
|
|
|
function mi(a, b, c, d) {
|
|
b.value = c;
|
|
b.getSnapshot = d;
|
|
oi(b) && pi(a);
|
|
}
|
|
|
|
function ki(a, b, c) {
|
|
return c(function () {
|
|
oi(b) && pi(a);
|
|
});
|
|
}
|
|
|
|
function oi(a) {
|
|
var b = a.getSnapshot;
|
|
a = a.value;
|
|
|
|
try {
|
|
var c = b();
|
|
return !He(a, c);
|
|
} catch (d) {
|
|
return !0;
|
|
}
|
|
}
|
|
|
|
function pi(a) {
|
|
var b = Zg(a, 1);
|
|
null !== b && mh(b, a, 1, -1);
|
|
}
|
|
|
|
function qi(a) {
|
|
var b = ci();
|
|
"function" === typeof a && (a = a());
|
|
b.memoizedState = b.baseState = a;
|
|
a = {
|
|
pending: null,
|
|
interleaved: null,
|
|
lanes: 0,
|
|
dispatch: null,
|
|
lastRenderedReducer: ei,
|
|
lastRenderedState: a
|
|
};
|
|
b.queue = a;
|
|
a = a.dispatch = ri.bind(null, N$1, a);
|
|
return [b.memoizedState, a];
|
|
}
|
|
|
|
function li(a, b, c, d) {
|
|
a = {
|
|
tag: a,
|
|
create: b,
|
|
destroy: c,
|
|
deps: d,
|
|
next: null
|
|
};
|
|
b = N$1.updateQueue;
|
|
null === b ? (b = {
|
|
lastEffect: null,
|
|
stores: null
|
|
}, N$1.updateQueue = b, b.lastEffect = a.next = a) : (c = b.lastEffect, null === c ? b.lastEffect = a.next = a : (d = c.next, c.next = a, a.next = d, b.lastEffect = a));
|
|
return a;
|
|
}
|
|
|
|
function si() {
|
|
return di().memoizedState;
|
|
}
|
|
|
|
function ti(a, b, c, d) {
|
|
var e = ci();
|
|
N$1.flags |= a;
|
|
e.memoizedState = li(1 | b, c, void 0, void 0 === d ? null : d);
|
|
}
|
|
|
|
function ui(a, b, c, d) {
|
|
var e = di();
|
|
d = void 0 === d ? null : d;
|
|
var f = void 0;
|
|
|
|
if (null !== O) {
|
|
var g = O.memoizedState;
|
|
f = g.destroy;
|
|
|
|
if (null !== d && Wh(d, g.deps)) {
|
|
e.memoizedState = li(b, c, f, d);
|
|
return;
|
|
}
|
|
}
|
|
|
|
N$1.flags |= a;
|
|
e.memoizedState = li(1 | b, c, f, d);
|
|
}
|
|
|
|
function vi(a, b) {
|
|
return ti(8390656, 8, a, b);
|
|
}
|
|
|
|
function ji(a, b) {
|
|
return ui(2048, 8, a, b);
|
|
}
|
|
|
|
function wi(a, b) {
|
|
return ui(4, 2, a, b);
|
|
}
|
|
|
|
function xi(a, b) {
|
|
return ui(4, 4, a, b);
|
|
}
|
|
|
|
function yi(a, b) {
|
|
if ("function" === typeof b) return a = a(), b(a), function () {
|
|
b(null);
|
|
};
|
|
if (null !== b && void 0 !== b) return a = a(), b.current = a, function () {
|
|
b.current = null;
|
|
};
|
|
}
|
|
|
|
function zi(a, b, c) {
|
|
c = null !== c && void 0 !== c ? c.concat([a]) : null;
|
|
return ui(4, 4, yi.bind(null, b, a), c);
|
|
}
|
|
|
|
function Ai() {}
|
|
|
|
function Bi(a, b) {
|
|
var c = di();
|
|
b = void 0 === b ? null : b;
|
|
var d = c.memoizedState;
|
|
if (null !== d && null !== b && Wh(b, d[1])) return d[0];
|
|
c.memoizedState = [a, b];
|
|
return a;
|
|
}
|
|
|
|
function Ci(a, b) {
|
|
var c = di();
|
|
b = void 0 === b ? null : b;
|
|
var d = c.memoizedState;
|
|
if (null !== d && null !== b && Wh(b, d[1])) return d[0];
|
|
a = a();
|
|
c.memoizedState = [a, b];
|
|
return a;
|
|
}
|
|
|
|
function Di(a, b, c) {
|
|
if (0 === (Rh & 21)) return a.baseState && (a.baseState = !1, Ug = !0), a.memoizedState = c;
|
|
He(c, b) || (c = yc(), N$1.lanes |= c, hh |= c, a.baseState = !0);
|
|
return b;
|
|
}
|
|
|
|
function Ei(a, b) {
|
|
var c = C$1;
|
|
C$1 = 0 !== c && 4 > c ? c : 4;
|
|
a(!0);
|
|
var d = Qh.transition;
|
|
Qh.transition = {};
|
|
|
|
try {
|
|
a(!1), b();
|
|
} finally {
|
|
C$1 = c, Qh.transition = d;
|
|
}
|
|
}
|
|
|
|
function Fi() {
|
|
return di().memoizedState;
|
|
}
|
|
|
|
function Gi(a, b, c) {
|
|
var d = lh(a);
|
|
c = {
|
|
lane: d,
|
|
action: c,
|
|
hasEagerState: !1,
|
|
eagerState: null,
|
|
next: null
|
|
};
|
|
if (Hi(a)) Ii(b, c);else if (c = Yg(a, b, c, d), null !== c) {
|
|
var e = L$1();
|
|
mh(c, a, d, e);
|
|
Ji(c, b, d);
|
|
}
|
|
}
|
|
|
|
function ri(a, b, c) {
|
|
var d = lh(a),
|
|
e = {
|
|
lane: d,
|
|
action: c,
|
|
hasEagerState: !1,
|
|
eagerState: null,
|
|
next: null
|
|
};
|
|
if (Hi(a)) Ii(b, e);else {
|
|
var f = a.alternate;
|
|
if (0 === a.lanes && (null === f || 0 === f.lanes) && (f = b.lastRenderedReducer, null !== f)) try {
|
|
var g = b.lastRenderedState,
|
|
h = f(g, c);
|
|
e.hasEagerState = !0;
|
|
e.eagerState = h;
|
|
|
|
if (He(h, g)) {
|
|
var k = b.interleaved;
|
|
null === k ? (e.next = e, Xg(b)) : (e.next = k.next, k.next = e);
|
|
b.interleaved = e;
|
|
return;
|
|
}
|
|
} catch (l) {} finally {}
|
|
c = Yg(a, b, e, d);
|
|
null !== c && (e = L$1(), mh(c, a, d, e), Ji(c, b, d));
|
|
}
|
|
}
|
|
|
|
function Hi(a) {
|
|
var b = a.alternate;
|
|
return a === N$1 || null !== b && b === N$1;
|
|
}
|
|
|
|
function Ii(a, b) {
|
|
Th = Sh = !0;
|
|
var c = a.pending;
|
|
null === c ? b.next = b : (b.next = c.next, c.next = b);
|
|
a.pending = b;
|
|
}
|
|
|
|
function Ji(a, b, c) {
|
|
if (0 !== (c & 4194240)) {
|
|
var d = b.lanes;
|
|
d &= a.pendingLanes;
|
|
c |= d;
|
|
b.lanes = c;
|
|
Cc(a, c);
|
|
}
|
|
}
|
|
|
|
var ai = {
|
|
readContext: Vg,
|
|
useCallback: Q$1,
|
|
useContext: Q$1,
|
|
useEffect: Q$1,
|
|
useImperativeHandle: Q$1,
|
|
useInsertionEffect: Q$1,
|
|
useLayoutEffect: Q$1,
|
|
useMemo: Q$1,
|
|
useReducer: Q$1,
|
|
useRef: Q$1,
|
|
useState: Q$1,
|
|
useDebugValue: Q$1,
|
|
useDeferredValue: Q$1,
|
|
useTransition: Q$1,
|
|
useMutableSource: Q$1,
|
|
useSyncExternalStore: Q$1,
|
|
useId: Q$1,
|
|
unstable_isNewReconciler: !1
|
|
},
|
|
Yh = {
|
|
readContext: Vg,
|
|
useCallback: function (a, b) {
|
|
ci().memoizedState = [a, void 0 === b ? null : b];
|
|
return a;
|
|
},
|
|
useContext: Vg,
|
|
useEffect: vi,
|
|
useImperativeHandle: function (a, b, c) {
|
|
c = null !== c && void 0 !== c ? c.concat([a]) : null;
|
|
return ti(4194308, 4, yi.bind(null, b, a), c);
|
|
},
|
|
useLayoutEffect: function (a, b) {
|
|
return ti(4194308, 4, a, b);
|
|
},
|
|
useInsertionEffect: function (a, b) {
|
|
return ti(4, 2, a, b);
|
|
},
|
|
useMemo: function (a, b) {
|
|
var c = ci();
|
|
b = void 0 === b ? null : b;
|
|
a = a();
|
|
c.memoizedState = [a, b];
|
|
return a;
|
|
},
|
|
useReducer: function (a, b, c) {
|
|
var d = ci();
|
|
b = void 0 !== c ? c(b) : b;
|
|
d.memoizedState = d.baseState = b;
|
|
a = {
|
|
pending: null,
|
|
interleaved: null,
|
|
lanes: 0,
|
|
dispatch: null,
|
|
lastRenderedReducer: a,
|
|
lastRenderedState: b
|
|
};
|
|
d.queue = a;
|
|
a = a.dispatch = Gi.bind(null, N$1, a);
|
|
return [d.memoizedState, a];
|
|
},
|
|
useRef: function (a) {
|
|
var b = ci();
|
|
a = {
|
|
current: a
|
|
};
|
|
return b.memoizedState = a;
|
|
},
|
|
useState: qi,
|
|
useDebugValue: Ai,
|
|
useDeferredValue: function (a) {
|
|
return ci().memoizedState = a;
|
|
},
|
|
useTransition: function () {
|
|
var a = qi(!1),
|
|
b = a[0];
|
|
a = Ei.bind(null, a[1]);
|
|
ci().memoizedState = a;
|
|
return [b, a];
|
|
},
|
|
useMutableSource: function () {},
|
|
useSyncExternalStore: function (a, b, c) {
|
|
var d = N$1,
|
|
e = ci();
|
|
|
|
if (I$1) {
|
|
if (void 0 === c) throw Error(p$2(407));
|
|
c = c();
|
|
} else {
|
|
c = b();
|
|
if (null === R) throw Error(p$2(349));
|
|
0 !== (Rh & 30) || ni(d, b, c);
|
|
}
|
|
|
|
e.memoizedState = c;
|
|
var f = {
|
|
value: c,
|
|
getSnapshot: b
|
|
};
|
|
e.queue = f;
|
|
vi(ki.bind(null, d, f, a), [a]);
|
|
d.flags |= 2048;
|
|
li(9, mi.bind(null, d, f, c, b), void 0, null);
|
|
return c;
|
|
},
|
|
useId: function () {
|
|
var a = ci(),
|
|
b = R.identifierPrefix;
|
|
|
|
if (I$1) {
|
|
var c = sg;
|
|
var d = rg;
|
|
c = (d & ~(1 << 32 - oc(d) - 1)).toString(32) + c;
|
|
b = ":" + b + "R" + c;
|
|
c = Uh++;
|
|
0 < c && (b += "H" + c.toString(32));
|
|
b += ":";
|
|
} else c = Vh++, b = ":" + b + "r" + c.toString(32) + ":";
|
|
|
|
return a.memoizedState = b;
|
|
},
|
|
unstable_isNewReconciler: !1
|
|
},
|
|
Zh = {
|
|
readContext: Vg,
|
|
useCallback: Bi,
|
|
useContext: Vg,
|
|
useEffect: ji,
|
|
useImperativeHandle: zi,
|
|
useInsertionEffect: wi,
|
|
useLayoutEffect: xi,
|
|
useMemo: Ci,
|
|
useReducer: fi,
|
|
useRef: si,
|
|
useState: function () {
|
|
return fi(ei);
|
|
},
|
|
useDebugValue: Ai,
|
|
useDeferredValue: function (a) {
|
|
var b = di();
|
|
return Di(b, O.memoizedState, a);
|
|
},
|
|
useTransition: function () {
|
|
var a = fi(ei)[0],
|
|
b = di().memoizedState;
|
|
return [a, b];
|
|
},
|
|
useMutableSource: hi,
|
|
useSyncExternalStore: ii,
|
|
useId: Fi,
|
|
unstable_isNewReconciler: !1
|
|
},
|
|
$h = {
|
|
readContext: Vg,
|
|
useCallback: Bi,
|
|
useContext: Vg,
|
|
useEffect: ji,
|
|
useImperativeHandle: zi,
|
|
useInsertionEffect: wi,
|
|
useLayoutEffect: xi,
|
|
useMemo: Ci,
|
|
useReducer: gi,
|
|
useRef: si,
|
|
useState: function () {
|
|
return gi(ei);
|
|
},
|
|
useDebugValue: Ai,
|
|
useDeferredValue: function (a) {
|
|
var b = di();
|
|
return null === O ? b.memoizedState = a : Di(b, O.memoizedState, a);
|
|
},
|
|
useTransition: function () {
|
|
var a = gi(ei)[0],
|
|
b = di().memoizedState;
|
|
return [a, b];
|
|
},
|
|
useMutableSource: hi,
|
|
useSyncExternalStore: ii,
|
|
useId: Fi,
|
|
unstable_isNewReconciler: !1
|
|
};
|
|
|
|
function Ki(a, b) {
|
|
try {
|
|
var c = "",
|
|
d = b;
|
|
|
|
do c += Pa(d), d = d.return; while (d);
|
|
|
|
var e = c;
|
|
} catch (f) {
|
|
e = "\nError generating stack: " + f.message + "\n" + f.stack;
|
|
}
|
|
|
|
return {
|
|
value: a,
|
|
source: b,
|
|
stack: e,
|
|
digest: null
|
|
};
|
|
}
|
|
|
|
function Li(a, b, c) {
|
|
return {
|
|
value: a,
|
|
source: null,
|
|
stack: null != c ? c : null,
|
|
digest: null != b ? b : null
|
|
};
|
|
}
|
|
|
|
function Mi(a, b) {
|
|
try {
|
|
console.error(b.value);
|
|
} catch (c) {
|
|
setTimeout(function () {
|
|
throw c;
|
|
});
|
|
}
|
|
}
|
|
|
|
var Ni = "function" === typeof WeakMap ? WeakMap : Map;
|
|
|
|
function Oi(a, b, c) {
|
|
c = ch(-1, c);
|
|
c.tag = 3;
|
|
c.payload = {
|
|
element: null
|
|
};
|
|
var d = b.value;
|
|
|
|
c.callback = function () {
|
|
Pi || (Pi = !0, Qi = d);
|
|
Mi(a, b);
|
|
};
|
|
|
|
return c;
|
|
}
|
|
|
|
function Ri(a, b, c) {
|
|
c = ch(-1, c);
|
|
c.tag = 3;
|
|
var d = a.type.getDerivedStateFromError;
|
|
|
|
if ("function" === typeof d) {
|
|
var e = b.value;
|
|
|
|
c.payload = function () {
|
|
return d(e);
|
|
};
|
|
|
|
c.callback = function () {
|
|
Mi(a, b);
|
|
};
|
|
}
|
|
|
|
var f = a.stateNode;
|
|
null !== f && "function" === typeof f.componentDidCatch && (c.callback = function () {
|
|
Mi(a, b);
|
|
"function" !== typeof d && (null === Si ? Si = new Set([this]) : Si.add(this));
|
|
var c = b.stack;
|
|
this.componentDidCatch(b.value, {
|
|
componentStack: null !== c ? c : ""
|
|
});
|
|
});
|
|
return c;
|
|
}
|
|
|
|
function Ti(a, b, c) {
|
|
var d = a.pingCache;
|
|
|
|
if (null === d) {
|
|
d = a.pingCache = new Ni();
|
|
var e = new Set();
|
|
d.set(b, e);
|
|
} else e = d.get(b), void 0 === e && (e = new Set(), d.set(b, e));
|
|
|
|
e.has(c) || (e.add(c), a = Ui.bind(null, a, b, c), b.then(a, a));
|
|
}
|
|
|
|
function Vi(a) {
|
|
do {
|
|
var b;
|
|
if (b = 13 === a.tag) b = a.memoizedState, b = null !== b ? null !== b.dehydrated ? !0 : !1 : !0;
|
|
if (b) return a;
|
|
a = a.return;
|
|
} while (null !== a);
|
|
|
|
return null;
|
|
}
|
|
|
|
function Wi(a, b, c, d, e) {
|
|
if (0 === (a.mode & 1)) return a === b ? a.flags |= 65536 : (a.flags |= 128, c.flags |= 131072, c.flags &= -52805, 1 === c.tag && (null === c.alternate ? c.tag = 17 : (b = ch(-1, 1), b.tag = 2, dh(c, b, 1))), c.lanes |= 1), a;
|
|
a.flags |= 65536;
|
|
a.lanes = e;
|
|
return a;
|
|
}
|
|
|
|
var Xi = ua.ReactCurrentOwner,
|
|
Ug = !1;
|
|
|
|
function Yi(a, b, c, d) {
|
|
b.child = null === a ? Ch(b, null, c, d) : Bh(b, a.child, c, d);
|
|
}
|
|
|
|
function Zi(a, b, c, d, e) {
|
|
c = c.render;
|
|
var f = b.ref;
|
|
Tg(b, e);
|
|
d = Xh(a, b, c, d, f, e);
|
|
c = bi();
|
|
if (null !== a && !Ug) return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, $i(a, b, e);
|
|
I$1 && c && vg(b);
|
|
b.flags |= 1;
|
|
Yi(a, b, d, e);
|
|
return b.child;
|
|
}
|
|
|
|
function aj(a, b, c, d, e) {
|
|
if (null === a) {
|
|
var f = c.type;
|
|
if ("function" === typeof f && !bj(f) && void 0 === f.defaultProps && null === c.compare && void 0 === c.defaultProps) return b.tag = 15, b.type = f, cj(a, b, f, d, e);
|
|
a = yh(c.type, null, d, b, b.mode, e);
|
|
a.ref = b.ref;
|
|
a.return = b;
|
|
return b.child = a;
|
|
}
|
|
|
|
f = a.child;
|
|
|
|
if (0 === (a.lanes & e)) {
|
|
var g = f.memoizedProps;
|
|
c = c.compare;
|
|
c = null !== c ? c : Ie;
|
|
if (c(g, d) && a.ref === b.ref) return $i(a, b, e);
|
|
}
|
|
|
|
b.flags |= 1;
|
|
a = wh(f, d);
|
|
a.ref = b.ref;
|
|
a.return = b;
|
|
return b.child = a;
|
|
}
|
|
|
|
function cj(a, b, c, d, e) {
|
|
if (null !== a) {
|
|
var f = a.memoizedProps;
|
|
if (Ie(f, d) && a.ref === b.ref) if (Ug = !1, b.pendingProps = d = f, 0 !== (a.lanes & e)) 0 !== (a.flags & 131072) && (Ug = !0);else return b.lanes = a.lanes, $i(a, b, e);
|
|
}
|
|
|
|
return dj(a, b, c, d, e);
|
|
}
|
|
|
|
function ej(a, b, c) {
|
|
var d = b.pendingProps,
|
|
e = d.children,
|
|
f = null !== a ? a.memoizedState : null;
|
|
if ("hidden" === d.mode) {
|
|
if (0 === (b.mode & 1)) b.memoizedState = {
|
|
baseLanes: 0,
|
|
cachePool: null,
|
|
transitions: null
|
|
}, G$1(fj, gj), gj |= c;else {
|
|
if (0 === (c & 1073741824)) return a = null !== f ? f.baseLanes | c : c, b.lanes = b.childLanes = 1073741824, b.memoizedState = {
|
|
baseLanes: a,
|
|
cachePool: null,
|
|
transitions: null
|
|
}, b.updateQueue = null, G$1(fj, gj), gj |= a, null;
|
|
b.memoizedState = {
|
|
baseLanes: 0,
|
|
cachePool: null,
|
|
transitions: null
|
|
};
|
|
d = null !== f ? f.baseLanes : c;
|
|
G$1(fj, gj);
|
|
gj |= d;
|
|
}
|
|
} else null !== f ? (d = f.baseLanes | c, b.memoizedState = null) : d = c, G$1(fj, gj), gj |= d;
|
|
Yi(a, b, e, c);
|
|
return b.child;
|
|
}
|
|
|
|
function hj(a, b) {
|
|
var c = b.ref;
|
|
if (null === a && null !== c || null !== a && a.ref !== c) b.flags |= 512, b.flags |= 2097152;
|
|
}
|
|
|
|
function dj(a, b, c, d, e) {
|
|
var f = Zf(c) ? Xf : H$1.current;
|
|
f = Yf(b, f);
|
|
Tg(b, e);
|
|
c = Xh(a, b, c, d, f, e);
|
|
d = bi();
|
|
if (null !== a && !Ug) return b.updateQueue = a.updateQueue, b.flags &= -2053, a.lanes &= ~e, $i(a, b, e);
|
|
I$1 && d && vg(b);
|
|
b.flags |= 1;
|
|
Yi(a, b, c, e);
|
|
return b.child;
|
|
}
|
|
|
|
function ij(a, b, c, d, e) {
|
|
if (Zf(c)) {
|
|
var f = !0;
|
|
cg(b);
|
|
} else f = !1;
|
|
|
|
Tg(b, e);
|
|
if (null === b.stateNode) jj(a, b), ph(b, c, d), rh(b, c, d, e), d = !0;else if (null === a) {
|
|
var g = b.stateNode,
|
|
h = b.memoizedProps;
|
|
g.props = h;
|
|
var k = g.context,
|
|
l = c.contextType;
|
|
"object" === typeof l && null !== l ? l = Vg(l) : (l = Zf(c) ? Xf : H$1.current, l = Yf(b, l));
|
|
var m = c.getDerivedStateFromProps,
|
|
q = "function" === typeof m || "function" === typeof g.getSnapshotBeforeUpdate;
|
|
q || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== d || k !== l) && qh(b, g, d, l);
|
|
$g = !1;
|
|
var r = b.memoizedState;
|
|
g.state = r;
|
|
gh(b, d, g, e);
|
|
k = b.memoizedState;
|
|
h !== d || r !== k || Wf.current || $g ? ("function" === typeof m && (kh(b, c, m, d), k = b.memoizedState), (h = $g || oh(b, c, h, d, r, k, l)) ? (q || "function" !== typeof g.UNSAFE_componentWillMount && "function" !== typeof g.componentWillMount || ("function" === typeof g.componentWillMount && g.componentWillMount(), "function" === typeof g.UNSAFE_componentWillMount && g.UNSAFE_componentWillMount()), "function" === typeof g.componentDidMount && (b.flags |= 4194308)) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), b.memoizedProps = d, b.memoizedState = k), g.props = d, g.state = k, g.context = l, d = h) : ("function" === typeof g.componentDidMount && (b.flags |= 4194308), d = !1);
|
|
} else {
|
|
g = b.stateNode;
|
|
bh(a, b);
|
|
h = b.memoizedProps;
|
|
l = b.type === b.elementType ? h : Lg(b.type, h);
|
|
g.props = l;
|
|
q = b.pendingProps;
|
|
r = g.context;
|
|
k = c.contextType;
|
|
"object" === typeof k && null !== k ? k = Vg(k) : (k = Zf(c) ? Xf : H$1.current, k = Yf(b, k));
|
|
var y = c.getDerivedStateFromProps;
|
|
(m = "function" === typeof y || "function" === typeof g.getSnapshotBeforeUpdate) || "function" !== typeof g.UNSAFE_componentWillReceiveProps && "function" !== typeof g.componentWillReceiveProps || (h !== q || r !== k) && qh(b, g, d, k);
|
|
$g = !1;
|
|
r = b.memoizedState;
|
|
g.state = r;
|
|
gh(b, d, g, e);
|
|
var n = b.memoizedState;
|
|
h !== q || r !== n || Wf.current || $g ? ("function" === typeof y && (kh(b, c, y, d), n = b.memoizedState), (l = $g || oh(b, c, l, d, r, n, k) || !1) ? (m || "function" !== typeof g.UNSAFE_componentWillUpdate && "function" !== typeof g.componentWillUpdate || ("function" === typeof g.componentWillUpdate && g.componentWillUpdate(d, n, k), "function" === typeof g.UNSAFE_componentWillUpdate && g.UNSAFE_componentWillUpdate(d, n, k)), "function" === typeof g.componentDidUpdate && (b.flags |= 4), "function" === typeof g.getSnapshotBeforeUpdate && (b.flags |= 1024)) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 1024), b.memoizedProps = d, b.memoizedState = n), g.props = d, g.state = n, g.context = k, d = l) : ("function" !== typeof g.componentDidUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 4), "function" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && r === a.memoizedState || (b.flags |= 1024), d = !1);
|
|
}
|
|
return kj(a, b, c, d, f, e);
|
|
}
|
|
|
|
function kj(a, b, c, d, e, f) {
|
|
hj(a, b);
|
|
var g = 0 !== (b.flags & 128);
|
|
if (!d && !g) return e && dg(b, c, !1), $i(a, b, f);
|
|
d = b.stateNode;
|
|
Xi.current = b;
|
|
var h = g && "function" !== typeof c.getDerivedStateFromError ? null : d.render();
|
|
b.flags |= 1;
|
|
null !== a && g ? (b.child = Bh(b, a.child, null, f), b.child = Bh(b, null, h, f)) : Yi(a, b, h, f);
|
|
b.memoizedState = d.state;
|
|
e && dg(b, c, !0);
|
|
return b.child;
|
|
}
|
|
|
|
function lj(a) {
|
|
var b = a.stateNode;
|
|
b.pendingContext ? ag(a, b.pendingContext, b.pendingContext !== b.context) : b.context && ag(a, b.context, !1);
|
|
Ih(a, b.containerInfo);
|
|
}
|
|
|
|
function mj(a, b, c, d, e) {
|
|
Ig();
|
|
Jg(e);
|
|
b.flags |= 256;
|
|
Yi(a, b, c, d);
|
|
return b.child;
|
|
}
|
|
|
|
var nj = {
|
|
dehydrated: null,
|
|
treeContext: null,
|
|
retryLane: 0
|
|
};
|
|
|
|
function oj(a) {
|
|
return {
|
|
baseLanes: a,
|
|
cachePool: null,
|
|
transitions: null
|
|
};
|
|
}
|
|
|
|
function pj(a, b, c) {
|
|
var d = b.pendingProps,
|
|
e = M$1.current,
|
|
f = !1,
|
|
g = 0 !== (b.flags & 128),
|
|
h;
|
|
(h = g) || (h = null !== a && null === a.memoizedState ? !1 : 0 !== (e & 2));
|
|
if (h) f = !0, b.flags &= -129;else if (null === a || null !== a.memoizedState) e |= 1;
|
|
G$1(M$1, e & 1);
|
|
|
|
if (null === a) {
|
|
Eg(b);
|
|
a = b.memoizedState;
|
|
if (null !== a && (a = a.dehydrated, null !== a)) return 0 === (b.mode & 1) ? b.lanes = 1 : "$!" === a.data ? b.lanes = 8 : b.lanes = 1073741824, null;
|
|
g = d.children;
|
|
a = d.fallback;
|
|
return f ? (d = b.mode, f = b.child, g = {
|
|
mode: "hidden",
|
|
children: g
|
|
}, 0 === (d & 1) && null !== f ? (f.childLanes = 0, f.pendingProps = g) : f = qj(g, d, 0, null), a = Ah(a, d, c, null), f.return = b, a.return = b, f.sibling = a, b.child = f, b.child.memoizedState = oj(c), b.memoizedState = nj, a) : rj(b, g);
|
|
}
|
|
|
|
e = a.memoizedState;
|
|
if (null !== e && (h = e.dehydrated, null !== h)) return sj(a, b, g, d, h, e, c);
|
|
|
|
if (f) {
|
|
f = d.fallback;
|
|
g = b.mode;
|
|
e = a.child;
|
|
h = e.sibling;
|
|
var k = {
|
|
mode: "hidden",
|
|
children: d.children
|
|
};
|
|
0 === (g & 1) && b.child !== e ? (d = b.child, d.childLanes = 0, d.pendingProps = k, b.deletions = null) : (d = wh(e, k), d.subtreeFlags = e.subtreeFlags & 14680064);
|
|
null !== h ? f = wh(h, f) : (f = Ah(f, g, c, null), f.flags |= 2);
|
|
f.return = b;
|
|
d.return = b;
|
|
d.sibling = f;
|
|
b.child = d;
|
|
d = f;
|
|
f = b.child;
|
|
g = a.child.memoizedState;
|
|
g = null === g ? oj(c) : {
|
|
baseLanes: g.baseLanes | c,
|
|
cachePool: null,
|
|
transitions: g.transitions
|
|
};
|
|
f.memoizedState = g;
|
|
f.childLanes = a.childLanes & ~c;
|
|
b.memoizedState = nj;
|
|
return d;
|
|
}
|
|
|
|
f = a.child;
|
|
a = f.sibling;
|
|
d = wh(f, {
|
|
mode: "visible",
|
|
children: d.children
|
|
});
|
|
0 === (b.mode & 1) && (d.lanes = c);
|
|
d.return = b;
|
|
d.sibling = null;
|
|
null !== a && (c = b.deletions, null === c ? (b.deletions = [a], b.flags |= 16) : c.push(a));
|
|
b.child = d;
|
|
b.memoizedState = null;
|
|
return d;
|
|
}
|
|
|
|
function rj(a, b) {
|
|
b = qj({
|
|
mode: "visible",
|
|
children: b
|
|
}, a.mode, 0, null);
|
|
b.return = a;
|
|
return a.child = b;
|
|
}
|
|
|
|
function tj(a, b, c, d) {
|
|
null !== d && Jg(d);
|
|
Bh(b, a.child, null, c);
|
|
a = rj(b, b.pendingProps.children);
|
|
a.flags |= 2;
|
|
b.memoizedState = null;
|
|
return a;
|
|
}
|
|
|
|
function sj(a, b, c, d, e, f, g) {
|
|
if (c) {
|
|
if (b.flags & 256) return b.flags &= -257, d = Li(Error(p$2(422))), tj(a, b, g, d);
|
|
if (null !== b.memoizedState) return b.child = a.child, b.flags |= 128, null;
|
|
f = d.fallback;
|
|
e = b.mode;
|
|
d = qj({
|
|
mode: "visible",
|
|
children: d.children
|
|
}, e, 0, null);
|
|
f = Ah(f, e, g, null);
|
|
f.flags |= 2;
|
|
d.return = b;
|
|
f.return = b;
|
|
d.sibling = f;
|
|
b.child = d;
|
|
0 !== (b.mode & 1) && Bh(b, a.child, null, g);
|
|
b.child.memoizedState = oj(g);
|
|
b.memoizedState = nj;
|
|
return f;
|
|
}
|
|
|
|
if (0 === (b.mode & 1)) return tj(a, b, g, null);
|
|
|
|
if ("$!" === e.data) {
|
|
d = e.nextSibling && e.nextSibling.dataset;
|
|
if (d) var h = d.dgst;
|
|
d = h;
|
|
f = Error(p$2(419));
|
|
d = Li(f, d, void 0);
|
|
return tj(a, b, g, d);
|
|
}
|
|
|
|
h = 0 !== (g & a.childLanes);
|
|
|
|
if (Ug || h) {
|
|
d = R;
|
|
|
|
if (null !== d) {
|
|
switch (g & -g) {
|
|
case 4:
|
|
e = 2;
|
|
break;
|
|
|
|
case 16:
|
|
e = 8;
|
|
break;
|
|
|
|
case 64:
|
|
case 128:
|
|
case 256:
|
|
case 512:
|
|
case 1024:
|
|
case 2048:
|
|
case 4096:
|
|
case 8192:
|
|
case 16384:
|
|
case 32768:
|
|
case 65536:
|
|
case 131072:
|
|
case 262144:
|
|
case 524288:
|
|
case 1048576:
|
|
case 2097152:
|
|
case 4194304:
|
|
case 8388608:
|
|
case 16777216:
|
|
case 33554432:
|
|
case 67108864:
|
|
e = 32;
|
|
break;
|
|
|
|
case 536870912:
|
|
e = 268435456;
|
|
break;
|
|
|
|
default:
|
|
e = 0;
|
|
}
|
|
|
|
e = 0 !== (e & (d.suspendedLanes | g)) ? 0 : e;
|
|
0 !== e && e !== f.retryLane && (f.retryLane = e, Zg(a, e), mh(d, a, e, -1));
|
|
}
|
|
|
|
uj();
|
|
d = Li(Error(p$2(421)));
|
|
return tj(a, b, g, d);
|
|
}
|
|
|
|
if ("$?" === e.data) return b.flags |= 128, b.child = a.child, b = vj.bind(null, a), e._reactRetry = b, null;
|
|
a = f.treeContext;
|
|
yg = Lf(e.nextSibling);
|
|
xg = b;
|
|
I$1 = !0;
|
|
zg = null;
|
|
null !== a && (og[pg++] = rg, og[pg++] = sg, og[pg++] = qg, rg = a.id, sg = a.overflow, qg = b);
|
|
b = rj(b, d.children);
|
|
b.flags |= 4096;
|
|
return b;
|
|
}
|
|
|
|
function wj(a, b, c) {
|
|
a.lanes |= b;
|
|
var d = a.alternate;
|
|
null !== d && (d.lanes |= b);
|
|
Sg(a.return, b, c);
|
|
}
|
|
|
|
function xj(a, b, c, d, e) {
|
|
var f = a.memoizedState;
|
|
null === f ? a.memoizedState = {
|
|
isBackwards: b,
|
|
rendering: null,
|
|
renderingStartTime: 0,
|
|
last: d,
|
|
tail: c,
|
|
tailMode: e
|
|
} : (f.isBackwards = b, f.rendering = null, f.renderingStartTime = 0, f.last = d, f.tail = c, f.tailMode = e);
|
|
}
|
|
|
|
function yj(a, b, c) {
|
|
var d = b.pendingProps,
|
|
e = d.revealOrder,
|
|
f = d.tail;
|
|
Yi(a, b, d.children, c);
|
|
d = M$1.current;
|
|
if (0 !== (d & 2)) d = d & 1 | 2, b.flags |= 128;else {
|
|
if (null !== a && 0 !== (a.flags & 128)) a: for (a = b.child; null !== a;) {
|
|
if (13 === a.tag) null !== a.memoizedState && wj(a, c, b);else if (19 === a.tag) wj(a, c, b);else if (null !== a.child) {
|
|
a.child.return = a;
|
|
a = a.child;
|
|
continue;
|
|
}
|
|
if (a === b) break a;
|
|
|
|
for (; null === a.sibling;) {
|
|
if (null === a.return || a.return === b) break a;
|
|
a = a.return;
|
|
}
|
|
|
|
a.sibling.return = a.return;
|
|
a = a.sibling;
|
|
}
|
|
d &= 1;
|
|
}
|
|
G$1(M$1, d);
|
|
if (0 === (b.mode & 1)) b.memoizedState = null;else switch (e) {
|
|
case "forwards":
|
|
c = b.child;
|
|
|
|
for (e = null; null !== c;) a = c.alternate, null !== a && null === Mh(a) && (e = c), c = c.sibling;
|
|
|
|
c = e;
|
|
null === c ? (e = b.child, b.child = null) : (e = c.sibling, c.sibling = null);
|
|
xj(b, !1, e, c, f);
|
|
break;
|
|
|
|
case "backwards":
|
|
c = null;
|
|
e = b.child;
|
|
|
|
for (b.child = null; null !== e;) {
|
|
a = e.alternate;
|
|
|
|
if (null !== a && null === Mh(a)) {
|
|
b.child = e;
|
|
break;
|
|
}
|
|
|
|
a = e.sibling;
|
|
e.sibling = c;
|
|
c = e;
|
|
e = a;
|
|
}
|
|
|
|
xj(b, !0, c, null, f);
|
|
break;
|
|
|
|
case "together":
|
|
xj(b, !1, null, null, void 0);
|
|
break;
|
|
|
|
default:
|
|
b.memoizedState = null;
|
|
}
|
|
return b.child;
|
|
}
|
|
|
|
function jj(a, b) {
|
|
0 === (b.mode & 1) && null !== a && (a.alternate = null, b.alternate = null, b.flags |= 2);
|
|
}
|
|
|
|
function $i(a, b, c) {
|
|
null !== a && (b.dependencies = a.dependencies);
|
|
hh |= b.lanes;
|
|
if (0 === (c & b.childLanes)) return null;
|
|
if (null !== a && b.child !== a.child) throw Error(p$2(153));
|
|
|
|
if (null !== b.child) {
|
|
a = b.child;
|
|
c = wh(a, a.pendingProps);
|
|
b.child = c;
|
|
|
|
for (c.return = b; null !== a.sibling;) a = a.sibling, c = c.sibling = wh(a, a.pendingProps), c.return = b;
|
|
|
|
c.sibling = null;
|
|
}
|
|
|
|
return b.child;
|
|
}
|
|
|
|
function zj(a, b, c) {
|
|
switch (b.tag) {
|
|
case 3:
|
|
lj(b);
|
|
Ig();
|
|
break;
|
|
|
|
case 5:
|
|
Kh(b);
|
|
break;
|
|
|
|
case 1:
|
|
Zf(b.type) && cg(b);
|
|
break;
|
|
|
|
case 4:
|
|
Ih(b, b.stateNode.containerInfo);
|
|
break;
|
|
|
|
case 10:
|
|
var d = b.type._context,
|
|
e = b.memoizedProps.value;
|
|
G$1(Mg, d._currentValue);
|
|
d._currentValue = e;
|
|
break;
|
|
|
|
case 13:
|
|
d = b.memoizedState;
|
|
|
|
if (null !== d) {
|
|
if (null !== d.dehydrated) return G$1(M$1, M$1.current & 1), b.flags |= 128, null;
|
|
if (0 !== (c & b.child.childLanes)) return pj(a, b, c);
|
|
G$1(M$1, M$1.current & 1);
|
|
a = $i(a, b, c);
|
|
return null !== a ? a.sibling : null;
|
|
}
|
|
|
|
G$1(M$1, M$1.current & 1);
|
|
break;
|
|
|
|
case 19:
|
|
d = 0 !== (c & b.childLanes);
|
|
|
|
if (0 !== (a.flags & 128)) {
|
|
if (d) return yj(a, b, c);
|
|
b.flags |= 128;
|
|
}
|
|
|
|
e = b.memoizedState;
|
|
null !== e && (e.rendering = null, e.tail = null, e.lastEffect = null);
|
|
G$1(M$1, M$1.current);
|
|
if (d) break;else return null;
|
|
|
|
case 22:
|
|
case 23:
|
|
return b.lanes = 0, ej(a, b, c);
|
|
}
|
|
|
|
return $i(a, b, c);
|
|
}
|
|
|
|
var Aj, Bj, Cj, Dj;
|
|
|
|
Aj = function (a, b) {
|
|
for (var c = b.child; null !== c;) {
|
|
if (5 === c.tag || 6 === c.tag) a.appendChild(c.stateNode);else if (4 !== c.tag && null !== c.child) {
|
|
c.child.return = c;
|
|
c = c.child;
|
|
continue;
|
|
}
|
|
if (c === b) break;
|
|
|
|
for (; null === c.sibling;) {
|
|
if (null === c.return || c.return === b) return;
|
|
c = c.return;
|
|
}
|
|
|
|
c.sibling.return = c.return;
|
|
c = c.sibling;
|
|
}
|
|
};
|
|
|
|
Bj = function () {};
|
|
|
|
Cj = function (a, b, c, d) {
|
|
var e = a.memoizedProps;
|
|
|
|
if (e !== d) {
|
|
a = b.stateNode;
|
|
Hh(Eh.current);
|
|
var f = null;
|
|
|
|
switch (c) {
|
|
case "input":
|
|
e = Ya(a, e);
|
|
d = Ya(a, d);
|
|
f = [];
|
|
break;
|
|
|
|
case "select":
|
|
e = A$1({}, e, {
|
|
value: void 0
|
|
});
|
|
d = A$1({}, d, {
|
|
value: void 0
|
|
});
|
|
f = [];
|
|
break;
|
|
|
|
case "textarea":
|
|
e = gb(a, e);
|
|
d = gb(a, d);
|
|
f = [];
|
|
break;
|
|
|
|
default:
|
|
"function" !== typeof e.onClick && "function" === typeof d.onClick && (a.onclick = Bf);
|
|
}
|
|
|
|
ub(c, d);
|
|
var g;
|
|
c = null;
|
|
|
|
for (l in e) if (!d.hasOwnProperty(l) && e.hasOwnProperty(l) && null != e[l]) if ("style" === l) {
|
|
var h = e[l];
|
|
|
|
for (g in h) h.hasOwnProperty(g) && (c || (c = {}), c[g] = "");
|
|
} else "dangerouslySetInnerHTML" !== l && "children" !== l && "suppressContentEditableWarning" !== l && "suppressHydrationWarning" !== l && "autoFocus" !== l && (ea.hasOwnProperty(l) ? f || (f = []) : (f = f || []).push(l, null));
|
|
|
|
for (l in d) {
|
|
var k = d[l];
|
|
h = null != e ? e[l] : void 0;
|
|
if (d.hasOwnProperty(l) && k !== h && (null != k || null != h)) if ("style" === l) {
|
|
if (h) {
|
|
for (g in h) !h.hasOwnProperty(g) || k && k.hasOwnProperty(g) || (c || (c = {}), c[g] = "");
|
|
|
|
for (g in k) k.hasOwnProperty(g) && h[g] !== k[g] && (c || (c = {}), c[g] = k[g]);
|
|
} else c || (f || (f = []), f.push(l, c)), c = k;
|
|
} else "dangerouslySetInnerHTML" === l ? (k = k ? k.__html : void 0, h = h ? h.__html : void 0, null != k && h !== k && (f = f || []).push(l, k)) : "children" === l ? "string" !== typeof k && "number" !== typeof k || (f = f || []).push(l, "" + k) : "suppressContentEditableWarning" !== l && "suppressHydrationWarning" !== l && (ea.hasOwnProperty(l) ? (null != k && "onScroll" === l && D$1("scroll", a), f || h === k || (f = [])) : (f = f || []).push(l, k));
|
|
}
|
|
|
|
c && (f = f || []).push("style", c);
|
|
var l = f;
|
|
if (b.updateQueue = l) b.flags |= 4;
|
|
}
|
|
};
|
|
|
|
Dj = function (a, b, c, d) {
|
|
c !== d && (b.flags |= 4);
|
|
};
|
|
|
|
function Ej(a, b) {
|
|
if (!I$1) switch (a.tailMode) {
|
|
case "hidden":
|
|
b = a.tail;
|
|
|
|
for (var c = null; null !== b;) null !== b.alternate && (c = b), b = b.sibling;
|
|
|
|
null === c ? a.tail = null : c.sibling = null;
|
|
break;
|
|
|
|
case "collapsed":
|
|
c = a.tail;
|
|
|
|
for (var d = null; null !== c;) null !== c.alternate && (d = c), c = c.sibling;
|
|
|
|
null === d ? b || null === a.tail ? a.tail = null : a.tail.sibling = null : d.sibling = null;
|
|
}
|
|
}
|
|
|
|
function S$1(a) {
|
|
var b = null !== a.alternate && a.alternate.child === a.child,
|
|
c = 0,
|
|
d = 0;
|
|
if (b) for (var e = a.child; null !== e;) c |= e.lanes | e.childLanes, d |= e.subtreeFlags & 14680064, d |= e.flags & 14680064, e.return = a, e = e.sibling;else for (e = a.child; null !== e;) c |= e.lanes | e.childLanes, d |= e.subtreeFlags, d |= e.flags, e.return = a, e = e.sibling;
|
|
a.subtreeFlags |= d;
|
|
a.childLanes = c;
|
|
return b;
|
|
}
|
|
|
|
function Fj(a, b, c) {
|
|
var d = b.pendingProps;
|
|
wg(b);
|
|
|
|
switch (b.tag) {
|
|
case 2:
|
|
case 16:
|
|
case 15:
|
|
case 0:
|
|
case 11:
|
|
case 7:
|
|
case 8:
|
|
case 12:
|
|
case 9:
|
|
case 14:
|
|
return S$1(b), null;
|
|
|
|
case 1:
|
|
return Zf(b.type) && $f(), S$1(b), null;
|
|
|
|
case 3:
|
|
d = b.stateNode;
|
|
Jh();
|
|
E$1(Wf);
|
|
E$1(H$1);
|
|
Oh();
|
|
d.pendingContext && (d.context = d.pendingContext, d.pendingContext = null);
|
|
if (null === a || null === a.child) Gg(b) ? b.flags |= 4 : null === a || a.memoizedState.isDehydrated && 0 === (b.flags & 256) || (b.flags |= 1024, null !== zg && (Gj(zg), zg = null));
|
|
Bj(a, b);
|
|
S$1(b);
|
|
return null;
|
|
|
|
case 5:
|
|
Lh(b);
|
|
var e = Hh(Gh.current);
|
|
c = b.type;
|
|
if (null !== a && null != b.stateNode) Cj(a, b, c, d, e), a.ref !== b.ref && (b.flags |= 512, b.flags |= 2097152);else {
|
|
if (!d) {
|
|
if (null === b.stateNode) throw Error(p$2(166));
|
|
S$1(b);
|
|
return null;
|
|
}
|
|
|
|
a = Hh(Eh.current);
|
|
|
|
if (Gg(b)) {
|
|
d = b.stateNode;
|
|
c = b.type;
|
|
var f = b.memoizedProps;
|
|
d[Of] = b;
|
|
d[Pf] = f;
|
|
a = 0 !== (b.mode & 1);
|
|
|
|
switch (c) {
|
|
case "dialog":
|
|
D$1("cancel", d);
|
|
D$1("close", d);
|
|
break;
|
|
|
|
case "iframe":
|
|
case "object":
|
|
case "embed":
|
|
D$1("load", d);
|
|
break;
|
|
|
|
case "video":
|
|
case "audio":
|
|
for (e = 0; e < lf.length; e++) D$1(lf[e], d);
|
|
|
|
break;
|
|
|
|
case "source":
|
|
D$1("error", d);
|
|
break;
|
|
|
|
case "img":
|
|
case "image":
|
|
case "link":
|
|
D$1("error", d);
|
|
D$1("load", d);
|
|
break;
|
|
|
|
case "details":
|
|
D$1("toggle", d);
|
|
break;
|
|
|
|
case "input":
|
|
Za(d, f);
|
|
D$1("invalid", d);
|
|
break;
|
|
|
|
case "select":
|
|
d._wrapperState = {
|
|
wasMultiple: !!f.multiple
|
|
};
|
|
D$1("invalid", d);
|
|
break;
|
|
|
|
case "textarea":
|
|
hb(d, f), D$1("invalid", d);
|
|
}
|
|
|
|
ub(c, f);
|
|
e = null;
|
|
|
|
for (var g in f) if (f.hasOwnProperty(g)) {
|
|
var h = f[g];
|
|
"children" === g ? "string" === typeof h ? d.textContent !== h && (!0 !== f.suppressHydrationWarning && Af(d.textContent, h, a), e = ["children", h]) : "number" === typeof h && d.textContent !== "" + h && (!0 !== f.suppressHydrationWarning && Af(d.textContent, h, a), e = ["children", "" + h]) : ea.hasOwnProperty(g) && null != h && "onScroll" === g && D$1("scroll", d);
|
|
}
|
|
|
|
switch (c) {
|
|
case "input":
|
|
Va(d);
|
|
db(d, f, !0);
|
|
break;
|
|
|
|
case "textarea":
|
|
Va(d);
|
|
jb(d);
|
|
break;
|
|
|
|
case "select":
|
|
case "option":
|
|
break;
|
|
|
|
default:
|
|
"function" === typeof f.onClick && (d.onclick = Bf);
|
|
}
|
|
|
|
d = e;
|
|
b.updateQueue = d;
|
|
null !== d && (b.flags |= 4);
|
|
} else {
|
|
g = 9 === e.nodeType ? e : e.ownerDocument;
|
|
"http://www.w3.org/1999/xhtml" === a && (a = kb(c));
|
|
"http://www.w3.org/1999/xhtml" === a ? "script" === c ? (a = g.createElement("div"), a.innerHTML = "<script>\x3c/script>", a = a.removeChild(a.firstChild)) : "string" === typeof d.is ? a = g.createElement(c, {
|
|
is: d.is
|
|
}) : (a = g.createElement(c), "select" === c && (g = a, d.multiple ? g.multiple = !0 : d.size && (g.size = d.size))) : a = g.createElementNS(a, c);
|
|
a[Of] = b;
|
|
a[Pf] = d;
|
|
Aj(a, b, !1, !1);
|
|
b.stateNode = a;
|
|
|
|
a: {
|
|
g = vb(c, d);
|
|
|
|
switch (c) {
|
|
case "dialog":
|
|
D$1("cancel", a);
|
|
D$1("close", a);
|
|
e = d;
|
|
break;
|
|
|
|
case "iframe":
|
|
case "object":
|
|
case "embed":
|
|
D$1("load", a);
|
|
e = d;
|
|
break;
|
|
|
|
case "video":
|
|
case "audio":
|
|
for (e = 0; e < lf.length; e++) D$1(lf[e], a);
|
|
|
|
e = d;
|
|
break;
|
|
|
|
case "source":
|
|
D$1("error", a);
|
|
e = d;
|
|
break;
|
|
|
|
case "img":
|
|
case "image":
|
|
case "link":
|
|
D$1("error", a);
|
|
D$1("load", a);
|
|
e = d;
|
|
break;
|
|
|
|
case "details":
|
|
D$1("toggle", a);
|
|
e = d;
|
|
break;
|
|
|
|
case "input":
|
|
Za(a, d);
|
|
e = Ya(a, d);
|
|
D$1("invalid", a);
|
|
break;
|
|
|
|
case "option":
|
|
e = d;
|
|
break;
|
|
|
|
case "select":
|
|
a._wrapperState = {
|
|
wasMultiple: !!d.multiple
|
|
};
|
|
e = A$1({}, d, {
|
|
value: void 0
|
|
});
|
|
D$1("invalid", a);
|
|
break;
|
|
|
|
case "textarea":
|
|
hb(a, d);
|
|
e = gb(a, d);
|
|
D$1("invalid", a);
|
|
break;
|
|
|
|
default:
|
|
e = d;
|
|
}
|
|
|
|
ub(c, e);
|
|
h = e;
|
|
|
|
for (f in h) if (h.hasOwnProperty(f)) {
|
|
var k = h[f];
|
|
"style" === f ? sb(a, k) : "dangerouslySetInnerHTML" === f ? (k = k ? k.__html : void 0, null != k && nb(a, k)) : "children" === f ? "string" === typeof k ? ("textarea" !== c || "" !== k) && ob(a, k) : "number" === typeof k && ob(a, "" + k) : "suppressContentEditableWarning" !== f && "suppressHydrationWarning" !== f && "autoFocus" !== f && (ea.hasOwnProperty(f) ? null != k && "onScroll" === f && D$1("scroll", a) : null != k && ta(a, f, k, g));
|
|
}
|
|
|
|
switch (c) {
|
|
case "input":
|
|
Va(a);
|
|
db(a, d, !1);
|
|
break;
|
|
|
|
case "textarea":
|
|
Va(a);
|
|
jb(a);
|
|
break;
|
|
|
|
case "option":
|
|
null != d.value && a.setAttribute("value", "" + Sa(d.value));
|
|
break;
|
|
|
|
case "select":
|
|
a.multiple = !!d.multiple;
|
|
f = d.value;
|
|
null != f ? fb(a, !!d.multiple, f, !1) : null != d.defaultValue && fb(a, !!d.multiple, d.defaultValue, !0);
|
|
break;
|
|
|
|
default:
|
|
"function" === typeof e.onClick && (a.onclick = Bf);
|
|
}
|
|
|
|
switch (c) {
|
|
case "button":
|
|
case "input":
|
|
case "select":
|
|
case "textarea":
|
|
d = !!d.autoFocus;
|
|
break a;
|
|
|
|
case "img":
|
|
d = !0;
|
|
break a;
|
|
|
|
default:
|
|
d = !1;
|
|
}
|
|
}
|
|
|
|
d && (b.flags |= 4);
|
|
}
|
|
|
|
null !== b.ref && (b.flags |= 512, b.flags |= 2097152);
|
|
}
|
|
S$1(b);
|
|
return null;
|
|
|
|
case 6:
|
|
if (a && null != b.stateNode) Dj(a, b, a.memoizedProps, d);else {
|
|
if ("string" !== typeof d && null === b.stateNode) throw Error(p$2(166));
|
|
c = Hh(Gh.current);
|
|
Hh(Eh.current);
|
|
|
|
if (Gg(b)) {
|
|
d = b.stateNode;
|
|
c = b.memoizedProps;
|
|
d[Of] = b;
|
|
if (f = d.nodeValue !== c) if (a = xg, null !== a) switch (a.tag) {
|
|
case 3:
|
|
Af(d.nodeValue, c, 0 !== (a.mode & 1));
|
|
break;
|
|
|
|
case 5:
|
|
!0 !== a.memoizedProps.suppressHydrationWarning && Af(d.nodeValue, c, 0 !== (a.mode & 1));
|
|
}
|
|
f && (b.flags |= 4);
|
|
} else d = (9 === c.nodeType ? c : c.ownerDocument).createTextNode(d), d[Of] = b, b.stateNode = d;
|
|
}
|
|
S$1(b);
|
|
return null;
|
|
|
|
case 13:
|
|
E$1(M$1);
|
|
d = b.memoizedState;
|
|
|
|
if (null === a || null !== a.memoizedState && null !== a.memoizedState.dehydrated) {
|
|
if (I$1 && null !== yg && 0 !== (b.mode & 1) && 0 === (b.flags & 128)) Hg(), Ig(), b.flags |= 98560, f = !1;else if (f = Gg(b), null !== d && null !== d.dehydrated) {
|
|
if (null === a) {
|
|
if (!f) throw Error(p$2(318));
|
|
f = b.memoizedState;
|
|
f = null !== f ? f.dehydrated : null;
|
|
if (!f) throw Error(p$2(317));
|
|
f[Of] = b;
|
|
} else Ig(), 0 === (b.flags & 128) && (b.memoizedState = null), b.flags |= 4;
|
|
|
|
S$1(b);
|
|
f = !1;
|
|
} else null !== zg && (Gj(zg), zg = null), f = !0;
|
|
if (!f) return b.flags & 65536 ? b : null;
|
|
}
|
|
|
|
if (0 !== (b.flags & 128)) return b.lanes = c, b;
|
|
d = null !== d;
|
|
d !== (null !== a && null !== a.memoizedState) && d && (b.child.flags |= 8192, 0 !== (b.mode & 1) && (null === a || 0 !== (M$1.current & 1) ? 0 === T$1 && (T$1 = 3) : uj()));
|
|
null !== b.updateQueue && (b.flags |= 4);
|
|
S$1(b);
|
|
return null;
|
|
|
|
case 4:
|
|
return Jh(), Bj(a, b), null === a && sf(b.stateNode.containerInfo), S$1(b), null;
|
|
|
|
case 10:
|
|
return Rg(b.type._context), S$1(b), null;
|
|
|
|
case 17:
|
|
return Zf(b.type) && $f(), S$1(b), null;
|
|
|
|
case 19:
|
|
E$1(M$1);
|
|
f = b.memoizedState;
|
|
if (null === f) return S$1(b), null;
|
|
d = 0 !== (b.flags & 128);
|
|
g = f.rendering;
|
|
if (null === g) {
|
|
if (d) Ej(f, !1);else {
|
|
if (0 !== T$1 || null !== a && 0 !== (a.flags & 128)) for (a = b.child; null !== a;) {
|
|
g = Mh(a);
|
|
|
|
if (null !== g) {
|
|
b.flags |= 128;
|
|
Ej(f, !1);
|
|
d = g.updateQueue;
|
|
null !== d && (b.updateQueue = d, b.flags |= 4);
|
|
b.subtreeFlags = 0;
|
|
d = c;
|
|
|
|
for (c = b.child; null !== c;) f = c, a = d, f.flags &= 14680066, g = f.alternate, null === g ? (f.childLanes = 0, f.lanes = a, f.child = null, f.subtreeFlags = 0, f.memoizedProps = null, f.memoizedState = null, f.updateQueue = null, f.dependencies = null, f.stateNode = null) : (f.childLanes = g.childLanes, f.lanes = g.lanes, f.child = g.child, f.subtreeFlags = 0, f.deletions = null, f.memoizedProps = g.memoizedProps, f.memoizedState = g.memoizedState, f.updateQueue = g.updateQueue, f.type = g.type, a = g.dependencies, f.dependencies = null === a ? null : {
|
|
lanes: a.lanes,
|
|
firstContext: a.firstContext
|
|
}), c = c.sibling;
|
|
|
|
G$1(M$1, M$1.current & 1 | 2);
|
|
return b.child;
|
|
}
|
|
|
|
a = a.sibling;
|
|
}
|
|
null !== f.tail && B$1() > Hj && (b.flags |= 128, d = !0, Ej(f, !1), b.lanes = 4194304);
|
|
}
|
|
} else {
|
|
if (!d) if (a = Mh(g), null !== a) {
|
|
if (b.flags |= 128, d = !0, c = a.updateQueue, null !== c && (b.updateQueue = c, b.flags |= 4), Ej(f, !0), null === f.tail && "hidden" === f.tailMode && !g.alternate && !I$1) return S$1(b), null;
|
|
} else 2 * B$1() - f.renderingStartTime > Hj && 1073741824 !== c && (b.flags |= 128, d = !0, Ej(f, !1), b.lanes = 4194304);
|
|
f.isBackwards ? (g.sibling = b.child, b.child = g) : (c = f.last, null !== c ? c.sibling = g : b.child = g, f.last = g);
|
|
}
|
|
if (null !== f.tail) return b = f.tail, f.rendering = b, f.tail = b.sibling, f.renderingStartTime = B$1(), b.sibling = null, c = M$1.current, G$1(M$1, d ? c & 1 | 2 : c & 1), b;
|
|
S$1(b);
|
|
return null;
|
|
|
|
case 22:
|
|
case 23:
|
|
return Ij(), d = null !== b.memoizedState, null !== a && null !== a.memoizedState !== d && (b.flags |= 8192), d && 0 !== (b.mode & 1) ? 0 !== (gj & 1073741824) && (S$1(b), b.subtreeFlags & 6 && (b.flags |= 8192)) : S$1(b), null;
|
|
|
|
case 24:
|
|
return null;
|
|
|
|
case 25:
|
|
return null;
|
|
}
|
|
|
|
throw Error(p$2(156, b.tag));
|
|
}
|
|
|
|
function Jj(a, b) {
|
|
wg(b);
|
|
|
|
switch (b.tag) {
|
|
case 1:
|
|
return Zf(b.type) && $f(), a = b.flags, a & 65536 ? (b.flags = a & -65537 | 128, b) : null;
|
|
|
|
case 3:
|
|
return Jh(), E$1(Wf), E$1(H$1), Oh(), a = b.flags, 0 !== (a & 65536) && 0 === (a & 128) ? (b.flags = a & -65537 | 128, b) : null;
|
|
|
|
case 5:
|
|
return Lh(b), null;
|
|
|
|
case 13:
|
|
E$1(M$1);
|
|
a = b.memoizedState;
|
|
|
|
if (null !== a && null !== a.dehydrated) {
|
|
if (null === b.alternate) throw Error(p$2(340));
|
|
Ig();
|
|
}
|
|
|
|
a = b.flags;
|
|
return a & 65536 ? (b.flags = a & -65537 | 128, b) : null;
|
|
|
|
case 19:
|
|
return E$1(M$1), null;
|
|
|
|
case 4:
|
|
return Jh(), null;
|
|
|
|
case 10:
|
|
return Rg(b.type._context), null;
|
|
|
|
case 22:
|
|
case 23:
|
|
return Ij(), null;
|
|
|
|
case 24:
|
|
return null;
|
|
|
|
default:
|
|
return null;
|
|
}
|
|
}
|
|
|
|
var Kj = !1,
|
|
U$1 = !1,
|
|
Lj = "function" === typeof WeakSet ? WeakSet : Set,
|
|
V$1 = null;
|
|
|
|
function Mj(a, b) {
|
|
var c = a.ref;
|
|
if (null !== c) if ("function" === typeof c) try {
|
|
c(null);
|
|
} catch (d) {
|
|
W$1(a, b, d);
|
|
} else c.current = null;
|
|
}
|
|
|
|
function Nj(a, b, c) {
|
|
try {
|
|
c();
|
|
} catch (d) {
|
|
W$1(a, b, d);
|
|
}
|
|
}
|
|
|
|
var Oj = !1;
|
|
|
|
function Pj(a, b) {
|
|
Cf = dd;
|
|
a = Me$1();
|
|
|
|
if (Ne$1(a)) {
|
|
if ("selectionStart" in a) var c = {
|
|
start: a.selectionStart,
|
|
end: a.selectionEnd
|
|
};else a: {
|
|
c = (c = a.ownerDocument) && c.defaultView || window;
|
|
var d = c.getSelection && c.getSelection();
|
|
|
|
if (d && 0 !== d.rangeCount) {
|
|
c = d.anchorNode;
|
|
var e = d.anchorOffset,
|
|
f = d.focusNode;
|
|
d = d.focusOffset;
|
|
|
|
try {
|
|
c.nodeType, f.nodeType;
|
|
} catch (F) {
|
|
c = null;
|
|
break a;
|
|
}
|
|
|
|
var g = 0,
|
|
h = -1,
|
|
k = -1,
|
|
l = 0,
|
|
m = 0,
|
|
q = a,
|
|
r = null;
|
|
|
|
b: for (;;) {
|
|
for (var y;;) {
|
|
q !== c || 0 !== e && 3 !== q.nodeType || (h = g + e);
|
|
q !== f || 0 !== d && 3 !== q.nodeType || (k = g + d);
|
|
3 === q.nodeType && (g += q.nodeValue.length);
|
|
if (null === (y = q.firstChild)) break;
|
|
r = q;
|
|
q = y;
|
|
}
|
|
|
|
for (;;) {
|
|
if (q === a) break b;
|
|
r === c && ++l === e && (h = g);
|
|
r === f && ++m === d && (k = g);
|
|
if (null !== (y = q.nextSibling)) break;
|
|
q = r;
|
|
r = q.parentNode;
|
|
}
|
|
|
|
q = y;
|
|
}
|
|
|
|
c = -1 === h || -1 === k ? null : {
|
|
start: h,
|
|
end: k
|
|
};
|
|
} else c = null;
|
|
}
|
|
c = c || {
|
|
start: 0,
|
|
end: 0
|
|
};
|
|
} else c = null;
|
|
|
|
Df = {
|
|
focusedElem: a,
|
|
selectionRange: c
|
|
};
|
|
dd = !1;
|
|
|
|
for (V$1 = b; null !== V$1;) if (b = V$1, a = b.child, 0 !== (b.subtreeFlags & 1028) && null !== a) a.return = b, V$1 = a;else for (; null !== V$1;) {
|
|
b = V$1;
|
|
|
|
try {
|
|
var n = b.alternate;
|
|
if (0 !== (b.flags & 1024)) switch (b.tag) {
|
|
case 0:
|
|
case 11:
|
|
case 15:
|
|
break;
|
|
|
|
case 1:
|
|
if (null !== n) {
|
|
var t = n.memoizedProps,
|
|
J = n.memoizedState,
|
|
x = b.stateNode,
|
|
w = x.getSnapshotBeforeUpdate(b.elementType === b.type ? t : Lg(b.type, t), J);
|
|
x.__reactInternalSnapshotBeforeUpdate = w;
|
|
}
|
|
|
|
break;
|
|
|
|
case 3:
|
|
var u = b.stateNode.containerInfo;
|
|
1 === u.nodeType ? u.textContent = "" : 9 === u.nodeType && u.documentElement && u.removeChild(u.documentElement);
|
|
break;
|
|
|
|
case 5:
|
|
case 6:
|
|
case 4:
|
|
case 17:
|
|
break;
|
|
|
|
default:
|
|
throw Error(p$2(163));
|
|
}
|
|
} catch (F) {
|
|
W$1(b, b.return, F);
|
|
}
|
|
|
|
a = b.sibling;
|
|
|
|
if (null !== a) {
|
|
a.return = b.return;
|
|
V$1 = a;
|
|
break;
|
|
}
|
|
|
|
V$1 = b.return;
|
|
}
|
|
|
|
n = Oj;
|
|
Oj = !1;
|
|
return n;
|
|
}
|
|
|
|
function Qj(a, b, c) {
|
|
var d = b.updateQueue;
|
|
d = null !== d ? d.lastEffect : null;
|
|
|
|
if (null !== d) {
|
|
var e = d = d.next;
|
|
|
|
do {
|
|
if ((e.tag & a) === a) {
|
|
var f = e.destroy;
|
|
e.destroy = void 0;
|
|
void 0 !== f && Nj(b, c, f);
|
|
}
|
|
|
|
e = e.next;
|
|
} while (e !== d);
|
|
}
|
|
}
|
|
|
|
function Rj(a, b) {
|
|
b = b.updateQueue;
|
|
b = null !== b ? b.lastEffect : null;
|
|
|
|
if (null !== b) {
|
|
var c = b = b.next;
|
|
|
|
do {
|
|
if ((c.tag & a) === a) {
|
|
var d = c.create;
|
|
c.destroy = d();
|
|
}
|
|
|
|
c = c.next;
|
|
} while (c !== b);
|
|
}
|
|
}
|
|
|
|
function Sj(a) {
|
|
var b = a.ref;
|
|
|
|
if (null !== b) {
|
|
var c = a.stateNode;
|
|
|
|
switch (a.tag) {
|
|
case 5:
|
|
a = c;
|
|
break;
|
|
|
|
default:
|
|
a = c;
|
|
}
|
|
|
|
"function" === typeof b ? b(a) : b.current = a;
|
|
}
|
|
}
|
|
|
|
function Tj(a) {
|
|
var b = a.alternate;
|
|
null !== b && (a.alternate = null, Tj(b));
|
|
a.child = null;
|
|
a.deletions = null;
|
|
a.sibling = null;
|
|
5 === a.tag && (b = a.stateNode, null !== b && (delete b[Of], delete b[Pf], delete b[of], delete b[Qf], delete b[Rf]));
|
|
a.stateNode = null;
|
|
a.return = null;
|
|
a.dependencies = null;
|
|
a.memoizedProps = null;
|
|
a.memoizedState = null;
|
|
a.pendingProps = null;
|
|
a.stateNode = null;
|
|
a.updateQueue = null;
|
|
}
|
|
|
|
function Uj(a) {
|
|
return 5 === a.tag || 3 === a.tag || 4 === a.tag;
|
|
}
|
|
|
|
function Vj(a) {
|
|
a: for (;;) {
|
|
for (; null === a.sibling;) {
|
|
if (null === a.return || Uj(a.return)) return null;
|
|
a = a.return;
|
|
}
|
|
|
|
a.sibling.return = a.return;
|
|
|
|
for (a = a.sibling; 5 !== a.tag && 6 !== a.tag && 18 !== a.tag;) {
|
|
if (a.flags & 2) continue a;
|
|
if (null === a.child || 4 === a.tag) continue a;else a.child.return = a, a = a.child;
|
|
}
|
|
|
|
if (!(a.flags & 2)) return a.stateNode;
|
|
}
|
|
}
|
|
|
|
function Wj(a, b, c) {
|
|
var d = a.tag;
|
|
if (5 === d || 6 === d) a = a.stateNode, b ? 8 === c.nodeType ? c.parentNode.insertBefore(a, b) : c.insertBefore(a, b) : (8 === c.nodeType ? (b = c.parentNode, b.insertBefore(a, c)) : (b = c, b.appendChild(a)), c = c._reactRootContainer, null !== c && void 0 !== c || null !== b.onclick || (b.onclick = Bf));else if (4 !== d && (a = a.child, null !== a)) for (Wj(a, b, c), a = a.sibling; null !== a;) Wj(a, b, c), a = a.sibling;
|
|
}
|
|
|
|
function Xj(a, b, c) {
|
|
var d = a.tag;
|
|
if (5 === d || 6 === d) a = a.stateNode, b ? c.insertBefore(a, b) : c.appendChild(a);else if (4 !== d && (a = a.child, null !== a)) for (Xj(a, b, c), a = a.sibling; null !== a;) Xj(a, b, c), a = a.sibling;
|
|
}
|
|
|
|
var X$1 = null,
|
|
Yj = !1;
|
|
|
|
function Zj(a, b, c) {
|
|
for (c = c.child; null !== c;) ak(a, b, c), c = c.sibling;
|
|
}
|
|
|
|
function ak(a, b, c) {
|
|
if (lc && "function" === typeof lc.onCommitFiberUnmount) try {
|
|
lc.onCommitFiberUnmount(kc, c);
|
|
} catch (h) {}
|
|
|
|
switch (c.tag) {
|
|
case 5:
|
|
U$1 || Mj(c, b);
|
|
|
|
case 6:
|
|
var d = X$1,
|
|
e = Yj;
|
|
X$1 = null;
|
|
Zj(a, b, c);
|
|
X$1 = d;
|
|
Yj = e;
|
|
null !== X$1 && (Yj ? (a = X$1, c = c.stateNode, 8 === a.nodeType ? a.parentNode.removeChild(c) : a.removeChild(c)) : X$1.removeChild(c.stateNode));
|
|
break;
|
|
|
|
case 18:
|
|
null !== X$1 && (Yj ? (a = X$1, c = c.stateNode, 8 === a.nodeType ? Kf(a.parentNode, c) : 1 === a.nodeType && Kf(a, c), bd(a)) : Kf(X$1, c.stateNode));
|
|
break;
|
|
|
|
case 4:
|
|
d = X$1;
|
|
e = Yj;
|
|
X$1 = c.stateNode.containerInfo;
|
|
Yj = !0;
|
|
Zj(a, b, c);
|
|
X$1 = d;
|
|
Yj = e;
|
|
break;
|
|
|
|
case 0:
|
|
case 11:
|
|
case 14:
|
|
case 15:
|
|
if (!U$1 && (d = c.updateQueue, null !== d && (d = d.lastEffect, null !== d))) {
|
|
e = d = d.next;
|
|
|
|
do {
|
|
var f = e,
|
|
g = f.destroy;
|
|
f = f.tag;
|
|
void 0 !== g && (0 !== (f & 2) ? Nj(c, b, g) : 0 !== (f & 4) && Nj(c, b, g));
|
|
e = e.next;
|
|
} while (e !== d);
|
|
}
|
|
|
|
Zj(a, b, c);
|
|
break;
|
|
|
|
case 1:
|
|
if (!U$1 && (Mj(c, b), d = c.stateNode, "function" === typeof d.componentWillUnmount)) try {
|
|
d.props = c.memoizedProps, d.state = c.memoizedState, d.componentWillUnmount();
|
|
} catch (h) {
|
|
W$1(c, b, h);
|
|
}
|
|
Zj(a, b, c);
|
|
break;
|
|
|
|
case 21:
|
|
Zj(a, b, c);
|
|
break;
|
|
|
|
case 22:
|
|
c.mode & 1 ? (U$1 = (d = U$1) || null !== c.memoizedState, Zj(a, b, c), U$1 = d) : Zj(a, b, c);
|
|
break;
|
|
|
|
default:
|
|
Zj(a, b, c);
|
|
}
|
|
}
|
|
|
|
function bk(a) {
|
|
var b = a.updateQueue;
|
|
|
|
if (null !== b) {
|
|
a.updateQueue = null;
|
|
var c = a.stateNode;
|
|
null === c && (c = a.stateNode = new Lj());
|
|
b.forEach(function (b) {
|
|
var d = ck.bind(null, a, b);
|
|
c.has(b) || (c.add(b), b.then(d, d));
|
|
});
|
|
}
|
|
}
|
|
|
|
function dk(a, b) {
|
|
var c = b.deletions;
|
|
if (null !== c) for (var d = 0; d < c.length; d++) {
|
|
var e = c[d];
|
|
|
|
try {
|
|
var f = a,
|
|
g = b,
|
|
h = g;
|
|
|
|
a: for (; null !== h;) {
|
|
switch (h.tag) {
|
|
case 5:
|
|
X$1 = h.stateNode;
|
|
Yj = !1;
|
|
break a;
|
|
|
|
case 3:
|
|
X$1 = h.stateNode.containerInfo;
|
|
Yj = !0;
|
|
break a;
|
|
|
|
case 4:
|
|
X$1 = h.stateNode.containerInfo;
|
|
Yj = !0;
|
|
break a;
|
|
}
|
|
|
|
h = h.return;
|
|
}
|
|
|
|
if (null === X$1) throw Error(p$2(160));
|
|
ak(f, g, e);
|
|
X$1 = null;
|
|
Yj = !1;
|
|
var k = e.alternate;
|
|
null !== k && (k.return = null);
|
|
e.return = null;
|
|
} catch (l) {
|
|
W$1(e, b, l);
|
|
}
|
|
}
|
|
if (b.subtreeFlags & 12854) for (b = b.child; null !== b;) ek(b, a), b = b.sibling;
|
|
}
|
|
|
|
function ek(a, b) {
|
|
var c = a.alternate,
|
|
d = a.flags;
|
|
|
|
switch (a.tag) {
|
|
case 0:
|
|
case 11:
|
|
case 14:
|
|
case 15:
|
|
dk(b, a);
|
|
fk(a);
|
|
|
|
if (d & 4) {
|
|
try {
|
|
Qj(3, a, a.return), Rj(3, a);
|
|
} catch (t) {
|
|
W$1(a, a.return, t);
|
|
}
|
|
|
|
try {
|
|
Qj(5, a, a.return);
|
|
} catch (t) {
|
|
W$1(a, a.return, t);
|
|
}
|
|
}
|
|
|
|
break;
|
|
|
|
case 1:
|
|
dk(b, a);
|
|
fk(a);
|
|
d & 512 && null !== c && Mj(c, c.return);
|
|
break;
|
|
|
|
case 5:
|
|
dk(b, a);
|
|
fk(a);
|
|
d & 512 && null !== c && Mj(c, c.return);
|
|
|
|
if (a.flags & 32) {
|
|
var e = a.stateNode;
|
|
|
|
try {
|
|
ob(e, "");
|
|
} catch (t) {
|
|
W$1(a, a.return, t);
|
|
}
|
|
}
|
|
|
|
if (d & 4 && (e = a.stateNode, null != e)) {
|
|
var f = a.memoizedProps,
|
|
g = null !== c ? c.memoizedProps : f,
|
|
h = a.type,
|
|
k = a.updateQueue;
|
|
a.updateQueue = null;
|
|
if (null !== k) try {
|
|
"input" === h && "radio" === f.type && null != f.name && ab(e, f);
|
|
vb(h, g);
|
|
var l = vb(h, f);
|
|
|
|
for (g = 0; g < k.length; g += 2) {
|
|
var m = k[g],
|
|
q = k[g + 1];
|
|
"style" === m ? sb(e, q) : "dangerouslySetInnerHTML" === m ? nb(e, q) : "children" === m ? ob(e, q) : ta(e, m, q, l);
|
|
}
|
|
|
|
switch (h) {
|
|
case "input":
|
|
bb(e, f);
|
|
break;
|
|
|
|
case "textarea":
|
|
ib(e, f);
|
|
break;
|
|
|
|
case "select":
|
|
var r = e._wrapperState.wasMultiple;
|
|
e._wrapperState.wasMultiple = !!f.multiple;
|
|
var y = f.value;
|
|
null != y ? fb(e, !!f.multiple, y, !1) : r !== !!f.multiple && (null != f.defaultValue ? fb(e, !!f.multiple, f.defaultValue, !0) : fb(e, !!f.multiple, f.multiple ? [] : "", !1));
|
|
}
|
|
|
|
e[Pf] = f;
|
|
} catch (t) {
|
|
W$1(a, a.return, t);
|
|
}
|
|
}
|
|
|
|
break;
|
|
|
|
case 6:
|
|
dk(b, a);
|
|
fk(a);
|
|
|
|
if (d & 4) {
|
|
if (null === a.stateNode) throw Error(p$2(162));
|
|
e = a.stateNode;
|
|
f = a.memoizedProps;
|
|
|
|
try {
|
|
e.nodeValue = f;
|
|
} catch (t) {
|
|
W$1(a, a.return, t);
|
|
}
|
|
}
|
|
|
|
break;
|
|
|
|
case 3:
|
|
dk(b, a);
|
|
fk(a);
|
|
if (d & 4 && null !== c && c.memoizedState.isDehydrated) try {
|
|
bd(b.containerInfo);
|
|
} catch (t) {
|
|
W$1(a, a.return, t);
|
|
}
|
|
break;
|
|
|
|
case 4:
|
|
dk(b, a);
|
|
fk(a);
|
|
break;
|
|
|
|
case 13:
|
|
dk(b, a);
|
|
fk(a);
|
|
e = a.child;
|
|
e.flags & 8192 && (f = null !== e.memoizedState, e.stateNode.isHidden = f, !f || null !== e.alternate && null !== e.alternate.memoizedState || (gk = B$1()));
|
|
d & 4 && bk(a);
|
|
break;
|
|
|
|
case 22:
|
|
m = null !== c && null !== c.memoizedState;
|
|
a.mode & 1 ? (U$1 = (l = U$1) || m, dk(b, a), U$1 = l) : dk(b, a);
|
|
fk(a);
|
|
|
|
if (d & 8192) {
|
|
l = null !== a.memoizedState;
|
|
if ((a.stateNode.isHidden = l) && !m && 0 !== (a.mode & 1)) for (V$1 = a, m = a.child; null !== m;) {
|
|
for (q = V$1 = m; null !== V$1;) {
|
|
r = V$1;
|
|
y = r.child;
|
|
|
|
switch (r.tag) {
|
|
case 0:
|
|
case 11:
|
|
case 14:
|
|
case 15:
|
|
Qj(4, r, r.return);
|
|
break;
|
|
|
|
case 1:
|
|
Mj(r, r.return);
|
|
var n = r.stateNode;
|
|
|
|
if ("function" === typeof n.componentWillUnmount) {
|
|
d = r;
|
|
c = r.return;
|
|
|
|
try {
|
|
b = d, n.props = b.memoizedProps, n.state = b.memoizedState, n.componentWillUnmount();
|
|
} catch (t) {
|
|
W$1(d, c, t);
|
|
}
|
|
}
|
|
|
|
break;
|
|
|
|
case 5:
|
|
Mj(r, r.return);
|
|
break;
|
|
|
|
case 22:
|
|
if (null !== r.memoizedState) {
|
|
hk(q);
|
|
continue;
|
|
}
|
|
|
|
}
|
|
|
|
null !== y ? (y.return = r, V$1 = y) : hk(q);
|
|
}
|
|
|
|
m = m.sibling;
|
|
}
|
|
|
|
a: for (m = null, q = a;;) {
|
|
if (5 === q.tag) {
|
|
if (null === m) {
|
|
m = q;
|
|
|
|
try {
|
|
e = q.stateNode, l ? (f = e.style, "function" === typeof f.setProperty ? f.setProperty("display", "none", "important") : f.display = "none") : (h = q.stateNode, k = q.memoizedProps.style, g = void 0 !== k && null !== k && k.hasOwnProperty("display") ? k.display : null, h.style.display = rb("display", g));
|
|
} catch (t) {
|
|
W$1(a, a.return, t);
|
|
}
|
|
}
|
|
} else if (6 === q.tag) {
|
|
if (null === m) try {
|
|
q.stateNode.nodeValue = l ? "" : q.memoizedProps;
|
|
} catch (t) {
|
|
W$1(a, a.return, t);
|
|
}
|
|
} else if ((22 !== q.tag && 23 !== q.tag || null === q.memoizedState || q === a) && null !== q.child) {
|
|
q.child.return = q;
|
|
q = q.child;
|
|
continue;
|
|
}
|
|
|
|
if (q === a) break a;
|
|
|
|
for (; null === q.sibling;) {
|
|
if (null === q.return || q.return === a) break a;
|
|
m === q && (m = null);
|
|
q = q.return;
|
|
}
|
|
|
|
m === q && (m = null);
|
|
q.sibling.return = q.return;
|
|
q = q.sibling;
|
|
}
|
|
}
|
|
|
|
break;
|
|
|
|
case 19:
|
|
dk(b, a);
|
|
fk(a);
|
|
d & 4 && bk(a);
|
|
break;
|
|
|
|
case 21:
|
|
break;
|
|
|
|
default:
|
|
dk(b, a), fk(a);
|
|
}
|
|
}
|
|
|
|
function fk(a) {
|
|
var b = a.flags;
|
|
|
|
if (b & 2) {
|
|
try {
|
|
a: {
|
|
for (var c = a.return; null !== c;) {
|
|
if (Uj(c)) {
|
|
var d = c;
|
|
break a;
|
|
}
|
|
|
|
c = c.return;
|
|
}
|
|
|
|
throw Error(p$2(160));
|
|
}
|
|
|
|
switch (d.tag) {
|
|
case 5:
|
|
var e = d.stateNode;
|
|
d.flags & 32 && (ob(e, ""), d.flags &= -33);
|
|
var f = Vj(a);
|
|
Xj(a, f, e);
|
|
break;
|
|
|
|
case 3:
|
|
case 4:
|
|
var g = d.stateNode.containerInfo,
|
|
h = Vj(a);
|
|
Wj(a, h, g);
|
|
break;
|
|
|
|
default:
|
|
throw Error(p$2(161));
|
|
}
|
|
} catch (k) {
|
|
W$1(a, a.return, k);
|
|
}
|
|
|
|
a.flags &= -3;
|
|
}
|
|
|
|
b & 4096 && (a.flags &= -4097);
|
|
}
|
|
|
|
function ik(a, b, c) {
|
|
V$1 = a;
|
|
jk(a);
|
|
}
|
|
|
|
function jk(a, b, c) {
|
|
for (var d = 0 !== (a.mode & 1); null !== V$1;) {
|
|
var e = V$1,
|
|
f = e.child;
|
|
|
|
if (22 === e.tag && d) {
|
|
var g = null !== e.memoizedState || Kj;
|
|
|
|
if (!g) {
|
|
var h = e.alternate,
|
|
k = null !== h && null !== h.memoizedState || U$1;
|
|
h = Kj;
|
|
var l = U$1;
|
|
Kj = g;
|
|
if ((U$1 = k) && !l) for (V$1 = e; null !== V$1;) g = V$1, k = g.child, 22 === g.tag && null !== g.memoizedState ? kk(e) : null !== k ? (k.return = g, V$1 = k) : kk(e);
|
|
|
|
for (; null !== f;) V$1 = f, jk(f), f = f.sibling;
|
|
|
|
V$1 = e;
|
|
Kj = h;
|
|
U$1 = l;
|
|
}
|
|
|
|
lk(a);
|
|
} else 0 !== (e.subtreeFlags & 8772) && null !== f ? (f.return = e, V$1 = f) : lk(a);
|
|
}
|
|
}
|
|
|
|
function lk(a) {
|
|
for (; null !== V$1;) {
|
|
var b = V$1;
|
|
|
|
if (0 !== (b.flags & 8772)) {
|
|
var c = b.alternate;
|
|
|
|
try {
|
|
if (0 !== (b.flags & 8772)) switch (b.tag) {
|
|
case 0:
|
|
case 11:
|
|
case 15:
|
|
U$1 || Rj(5, b);
|
|
break;
|
|
|
|
case 1:
|
|
var d = b.stateNode;
|
|
if (b.flags & 4 && !U$1) if (null === c) d.componentDidMount();else {
|
|
var e = b.elementType === b.type ? c.memoizedProps : Lg(b.type, c.memoizedProps);
|
|
d.componentDidUpdate(e, c.memoizedState, d.__reactInternalSnapshotBeforeUpdate);
|
|
}
|
|
var f = b.updateQueue;
|
|
null !== f && ih(b, f, d);
|
|
break;
|
|
|
|
case 3:
|
|
var g = b.updateQueue;
|
|
|
|
if (null !== g) {
|
|
c = null;
|
|
if (null !== b.child) switch (b.child.tag) {
|
|
case 5:
|
|
c = b.child.stateNode;
|
|
break;
|
|
|
|
case 1:
|
|
c = b.child.stateNode;
|
|
}
|
|
ih(b, g, c);
|
|
}
|
|
|
|
break;
|
|
|
|
case 5:
|
|
var h = b.stateNode;
|
|
|
|
if (null === c && b.flags & 4) {
|
|
c = h;
|
|
var k = b.memoizedProps;
|
|
|
|
switch (b.type) {
|
|
case "button":
|
|
case "input":
|
|
case "select":
|
|
case "textarea":
|
|
k.autoFocus && c.focus();
|
|
break;
|
|
|
|
case "img":
|
|
k.src && (c.src = k.src);
|
|
}
|
|
}
|
|
|
|
break;
|
|
|
|
case 6:
|
|
break;
|
|
|
|
case 4:
|
|
break;
|
|
|
|
case 12:
|
|
break;
|
|
|
|
case 13:
|
|
if (null === b.memoizedState) {
|
|
var l = b.alternate;
|
|
|
|
if (null !== l) {
|
|
var m = l.memoizedState;
|
|
|
|
if (null !== m) {
|
|
var q = m.dehydrated;
|
|
null !== q && bd(q);
|
|
}
|
|
}
|
|
}
|
|
|
|
break;
|
|
|
|
case 19:
|
|
case 17:
|
|
case 21:
|
|
case 22:
|
|
case 23:
|
|
case 25:
|
|
break;
|
|
|
|
default:
|
|
throw Error(p$2(163));
|
|
}
|
|
U$1 || b.flags & 512 && Sj(b);
|
|
} catch (r) {
|
|
W$1(b, b.return, r);
|
|
}
|
|
}
|
|
|
|
if (b === a) {
|
|
V$1 = null;
|
|
break;
|
|
}
|
|
|
|
c = b.sibling;
|
|
|
|
if (null !== c) {
|
|
c.return = b.return;
|
|
V$1 = c;
|
|
break;
|
|
}
|
|
|
|
V$1 = b.return;
|
|
}
|
|
}
|
|
|
|
function hk(a) {
|
|
for (; null !== V$1;) {
|
|
var b = V$1;
|
|
|
|
if (b === a) {
|
|
V$1 = null;
|
|
break;
|
|
}
|
|
|
|
var c = b.sibling;
|
|
|
|
if (null !== c) {
|
|
c.return = b.return;
|
|
V$1 = c;
|
|
break;
|
|
}
|
|
|
|
V$1 = b.return;
|
|
}
|
|
}
|
|
|
|
function kk(a) {
|
|
for (; null !== V$1;) {
|
|
var b = V$1;
|
|
|
|
try {
|
|
switch (b.tag) {
|
|
case 0:
|
|
case 11:
|
|
case 15:
|
|
var c = b.return;
|
|
|
|
try {
|
|
Rj(4, b);
|
|
} catch (k) {
|
|
W$1(b, c, k);
|
|
}
|
|
|
|
break;
|
|
|
|
case 1:
|
|
var d = b.stateNode;
|
|
|
|
if ("function" === typeof d.componentDidMount) {
|
|
var e = b.return;
|
|
|
|
try {
|
|
d.componentDidMount();
|
|
} catch (k) {
|
|
W$1(b, e, k);
|
|
}
|
|
}
|
|
|
|
var f = b.return;
|
|
|
|
try {
|
|
Sj(b);
|
|
} catch (k) {
|
|
W$1(b, f, k);
|
|
}
|
|
|
|
break;
|
|
|
|
case 5:
|
|
var g = b.return;
|
|
|
|
try {
|
|
Sj(b);
|
|
} catch (k) {
|
|
W$1(b, g, k);
|
|
}
|
|
|
|
}
|
|
} catch (k) {
|
|
W$1(b, b.return, k);
|
|
}
|
|
|
|
if (b === a) {
|
|
V$1 = null;
|
|
break;
|
|
}
|
|
|
|
var h = b.sibling;
|
|
|
|
if (null !== h) {
|
|
h.return = b.return;
|
|
V$1 = h;
|
|
break;
|
|
}
|
|
|
|
V$1 = b.return;
|
|
}
|
|
}
|
|
|
|
var mk = Math.ceil,
|
|
nk = ua.ReactCurrentDispatcher,
|
|
ok = ua.ReactCurrentOwner,
|
|
pk = ua.ReactCurrentBatchConfig,
|
|
K$1 = 0,
|
|
R = null,
|
|
Y$1 = null,
|
|
Z$1 = 0,
|
|
gj = 0,
|
|
fj = Uf(0),
|
|
T$1 = 0,
|
|
qk = null,
|
|
hh = 0,
|
|
rk = 0,
|
|
sk = 0,
|
|
tk = null,
|
|
uk = null,
|
|
gk = 0,
|
|
Hj = Infinity,
|
|
vk = null,
|
|
Pi = !1,
|
|
Qi = null,
|
|
Si = null,
|
|
wk = !1,
|
|
xk = null,
|
|
yk = 0,
|
|
zk = 0,
|
|
Ak = null,
|
|
Bk = -1,
|
|
Ck = 0;
|
|
|
|
function L$1() {
|
|
return 0 !== (K$1 & 6) ? B$1() : -1 !== Bk ? Bk : Bk = B$1();
|
|
}
|
|
|
|
function lh(a) {
|
|
if (0 === (a.mode & 1)) return 1;
|
|
if (0 !== (K$1 & 2) && 0 !== Z$1) return Z$1 & -Z$1;
|
|
if (null !== Kg.transition) return 0 === Ck && (Ck = yc()), Ck;
|
|
a = C$1;
|
|
if (0 !== a) return a;
|
|
a = window.event;
|
|
a = void 0 === a ? 16 : jd(a.type);
|
|
return a;
|
|
}
|
|
|
|
function mh(a, b, c, d) {
|
|
if (50 < zk) throw zk = 0, Ak = null, Error(p$2(185));
|
|
Ac(a, c, d);
|
|
if (0 === (K$1 & 2) || a !== R) a === R && (0 === (K$1 & 2) && (rk |= c), 4 === T$1 && Dk(a, Z$1)), Ek(a, d), 1 === c && 0 === K$1 && 0 === (b.mode & 1) && (Hj = B$1() + 500, fg && jg());
|
|
}
|
|
|
|
function Ek(a, b) {
|
|
var c = a.callbackNode;
|
|
wc(a, b);
|
|
var d = uc(a, a === R ? Z$1 : 0);
|
|
if (0 === d) null !== c && bc(c), a.callbackNode = null, a.callbackPriority = 0;else if (b = d & -d, a.callbackPriority !== b) {
|
|
null != c && bc(c);
|
|
if (1 === b) 0 === a.tag ? ig(Fk.bind(null, a)) : hg(Fk.bind(null, a)), Jf(function () {
|
|
0 === (K$1 & 6) && jg();
|
|
}), c = null;else {
|
|
switch (Dc(d)) {
|
|
case 1:
|
|
c = fc;
|
|
break;
|
|
|
|
case 4:
|
|
c = gc;
|
|
break;
|
|
|
|
case 16:
|
|
c = hc;
|
|
break;
|
|
|
|
case 536870912:
|
|
c = jc;
|
|
break;
|
|
|
|
default:
|
|
c = hc;
|
|
}
|
|
|
|
c = Gk(c, Hk.bind(null, a));
|
|
}
|
|
a.callbackPriority = b;
|
|
a.callbackNode = c;
|
|
}
|
|
}
|
|
|
|
function Hk(a, b) {
|
|
Bk = -1;
|
|
Ck = 0;
|
|
if (0 !== (K$1 & 6)) throw Error(p$2(327));
|
|
var c = a.callbackNode;
|
|
if (Ik() && a.callbackNode !== c) return null;
|
|
var d = uc(a, a === R ? Z$1 : 0);
|
|
if (0 === d) return null;
|
|
if (0 !== (d & 30) || 0 !== (d & a.expiredLanes) || b) b = Jk(a, d);else {
|
|
b = d;
|
|
var e = K$1;
|
|
K$1 |= 2;
|
|
var f = Kk();
|
|
if (R !== a || Z$1 !== b) vk = null, Hj = B$1() + 500, Lk(a, b);
|
|
|
|
do try {
|
|
Mk();
|
|
break;
|
|
} catch (h) {
|
|
Nk(a, h);
|
|
} while (1);
|
|
|
|
Qg();
|
|
nk.current = f;
|
|
K$1 = e;
|
|
null !== Y$1 ? b = 0 : (R = null, Z$1 = 0, b = T$1);
|
|
}
|
|
|
|
if (0 !== b) {
|
|
2 === b && (e = xc(a), 0 !== e && (d = e, b = Ok(a, e)));
|
|
if (1 === b) throw c = qk, Lk(a, 0), Dk(a, d), Ek(a, B$1()), c;
|
|
if (6 === b) Dk(a, d);else {
|
|
e = a.current.alternate;
|
|
if (0 === (d & 30) && !Pk(e) && (b = Jk(a, d), 2 === b && (f = xc(a), 0 !== f && (d = f, b = Ok(a, f))), 1 === b)) throw c = qk, Lk(a, 0), Dk(a, d), Ek(a, B$1()), c;
|
|
a.finishedWork = e;
|
|
a.finishedLanes = d;
|
|
|
|
switch (b) {
|
|
case 0:
|
|
case 1:
|
|
throw Error(p$2(345));
|
|
|
|
case 2:
|
|
Qk(a, uk, vk);
|
|
break;
|
|
|
|
case 3:
|
|
Dk(a, d);
|
|
|
|
if ((d & 130023424) === d && (b = gk + 500 - B$1(), 10 < b)) {
|
|
if (0 !== uc(a, 0)) break;
|
|
e = a.suspendedLanes;
|
|
|
|
if ((e & d) !== d) {
|
|
L$1();
|
|
a.pingedLanes |= a.suspendedLanes & e;
|
|
break;
|
|
}
|
|
|
|
a.timeoutHandle = Ff(Qk.bind(null, a, uk, vk), b);
|
|
break;
|
|
}
|
|
|
|
Qk(a, uk, vk);
|
|
break;
|
|
|
|
case 4:
|
|
Dk(a, d);
|
|
if ((d & 4194240) === d) break;
|
|
b = a.eventTimes;
|
|
|
|
for (e = -1; 0 < d;) {
|
|
var g = 31 - oc(d);
|
|
f = 1 << g;
|
|
g = b[g];
|
|
g > e && (e = g);
|
|
d &= ~f;
|
|
}
|
|
|
|
d = e;
|
|
d = B$1() - d;
|
|
d = (120 > d ? 120 : 480 > d ? 480 : 1080 > d ? 1080 : 1920 > d ? 1920 : 3E3 > d ? 3E3 : 4320 > d ? 4320 : 1960 * mk(d / 1960)) - d;
|
|
|
|
if (10 < d) {
|
|
a.timeoutHandle = Ff(Qk.bind(null, a, uk, vk), d);
|
|
break;
|
|
}
|
|
|
|
Qk(a, uk, vk);
|
|
break;
|
|
|
|
case 5:
|
|
Qk(a, uk, vk);
|
|
break;
|
|
|
|
default:
|
|
throw Error(p$2(329));
|
|
}
|
|
}
|
|
}
|
|
|
|
Ek(a, B$1());
|
|
return a.callbackNode === c ? Hk.bind(null, a) : null;
|
|
}
|
|
|
|
function Ok(a, b) {
|
|
var c = tk;
|
|
a.current.memoizedState.isDehydrated && (Lk(a, b).flags |= 256);
|
|
a = Jk(a, b);
|
|
2 !== a && (b = uk, uk = c, null !== b && Gj(b));
|
|
return a;
|
|
}
|
|
|
|
function Gj(a) {
|
|
null === uk ? uk = a : uk.push.apply(uk, a);
|
|
}
|
|
|
|
function Pk(a) {
|
|
for (var b = a;;) {
|
|
if (b.flags & 16384) {
|
|
var c = b.updateQueue;
|
|
if (null !== c && (c = c.stores, null !== c)) for (var d = 0; d < c.length; d++) {
|
|
var e = c[d],
|
|
f = e.getSnapshot;
|
|
e = e.value;
|
|
|
|
try {
|
|
if (!He(f(), e)) return !1;
|
|
} catch (g) {
|
|
return !1;
|
|
}
|
|
}
|
|
}
|
|
|
|
c = b.child;
|
|
if (b.subtreeFlags & 16384 && null !== c) c.return = b, b = c;else {
|
|
if (b === a) break;
|
|
|
|
for (; null === b.sibling;) {
|
|
if (null === b.return || b.return === a) return !0;
|
|
b = b.return;
|
|
}
|
|
|
|
b.sibling.return = b.return;
|
|
b = b.sibling;
|
|
}
|
|
}
|
|
|
|
return !0;
|
|
}
|
|
|
|
function Dk(a, b) {
|
|
b &= ~sk;
|
|
b &= ~rk;
|
|
a.suspendedLanes |= b;
|
|
a.pingedLanes &= ~b;
|
|
|
|
for (a = a.expirationTimes; 0 < b;) {
|
|
var c = 31 - oc(b),
|
|
d = 1 << c;
|
|
a[c] = -1;
|
|
b &= ~d;
|
|
}
|
|
}
|
|
|
|
function Fk(a) {
|
|
if (0 !== (K$1 & 6)) throw Error(p$2(327));
|
|
Ik();
|
|
var b = uc(a, 0);
|
|
if (0 === (b & 1)) return Ek(a, B$1()), null;
|
|
var c = Jk(a, b);
|
|
|
|
if (0 !== a.tag && 2 === c) {
|
|
var d = xc(a);
|
|
0 !== d && (b = d, c = Ok(a, d));
|
|
}
|
|
|
|
if (1 === c) throw c = qk, Lk(a, 0), Dk(a, b), Ek(a, B$1()), c;
|
|
if (6 === c) throw Error(p$2(345));
|
|
a.finishedWork = a.current.alternate;
|
|
a.finishedLanes = b;
|
|
Qk(a, uk, vk);
|
|
Ek(a, B$1());
|
|
return null;
|
|
}
|
|
|
|
function Rk(a, b) {
|
|
var c = K$1;
|
|
K$1 |= 1;
|
|
|
|
try {
|
|
return a(b);
|
|
} finally {
|
|
K$1 = c, 0 === K$1 && (Hj = B$1() + 500, fg && jg());
|
|
}
|
|
}
|
|
|
|
function Sk(a) {
|
|
null !== xk && 0 === xk.tag && 0 === (K$1 & 6) && Ik();
|
|
var b = K$1;
|
|
K$1 |= 1;
|
|
var c = pk.transition,
|
|
d = C$1;
|
|
|
|
try {
|
|
if (pk.transition = null, C$1 = 1, a) return a();
|
|
} finally {
|
|
C$1 = d, pk.transition = c, K$1 = b, 0 === (K$1 & 6) && jg();
|
|
}
|
|
}
|
|
|
|
function Ij() {
|
|
gj = fj.current;
|
|
E$1(fj);
|
|
}
|
|
|
|
function Lk(a, b) {
|
|
a.finishedWork = null;
|
|
a.finishedLanes = 0;
|
|
var c = a.timeoutHandle;
|
|
-1 !== c && (a.timeoutHandle = -1, Gf(c));
|
|
if (null !== Y$1) for (c = Y$1.return; null !== c;) {
|
|
var d = c;
|
|
wg(d);
|
|
|
|
switch (d.tag) {
|
|
case 1:
|
|
d = d.type.childContextTypes;
|
|
null !== d && void 0 !== d && $f();
|
|
break;
|
|
|
|
case 3:
|
|
Jh();
|
|
E$1(Wf);
|
|
E$1(H$1);
|
|
Oh();
|
|
break;
|
|
|
|
case 5:
|
|
Lh(d);
|
|
break;
|
|
|
|
case 4:
|
|
Jh();
|
|
break;
|
|
|
|
case 13:
|
|
E$1(M$1);
|
|
break;
|
|
|
|
case 19:
|
|
E$1(M$1);
|
|
break;
|
|
|
|
case 10:
|
|
Rg(d.type._context);
|
|
break;
|
|
|
|
case 22:
|
|
case 23:
|
|
Ij();
|
|
}
|
|
|
|
c = c.return;
|
|
}
|
|
R = a;
|
|
Y$1 = a = wh(a.current, null);
|
|
Z$1 = gj = b;
|
|
T$1 = 0;
|
|
qk = null;
|
|
sk = rk = hh = 0;
|
|
uk = tk = null;
|
|
|
|
if (null !== Wg) {
|
|
for (b = 0; b < Wg.length; b++) if (c = Wg[b], d = c.interleaved, null !== d) {
|
|
c.interleaved = null;
|
|
var e = d.next,
|
|
f = c.pending;
|
|
|
|
if (null !== f) {
|
|
var g = f.next;
|
|
f.next = e;
|
|
d.next = g;
|
|
}
|
|
|
|
c.pending = d;
|
|
}
|
|
|
|
Wg = null;
|
|
}
|
|
|
|
return a;
|
|
}
|
|
|
|
function Nk(a, b) {
|
|
do {
|
|
var c = Y$1;
|
|
|
|
try {
|
|
Qg();
|
|
Ph.current = ai;
|
|
|
|
if (Sh) {
|
|
for (var d = N$1.memoizedState; null !== d;) {
|
|
var e = d.queue;
|
|
null !== e && (e.pending = null);
|
|
d = d.next;
|
|
}
|
|
|
|
Sh = !1;
|
|
}
|
|
|
|
Rh = 0;
|
|
P = O = N$1 = null;
|
|
Th = !1;
|
|
Uh = 0;
|
|
ok.current = null;
|
|
|
|
if (null === c || null === c.return) {
|
|
T$1 = 1;
|
|
qk = b;
|
|
Y$1 = null;
|
|
break;
|
|
}
|
|
|
|
a: {
|
|
var f = a,
|
|
g = c.return,
|
|
h = c,
|
|
k = b;
|
|
b = Z$1;
|
|
h.flags |= 32768;
|
|
|
|
if (null !== k && "object" === typeof k && "function" === typeof k.then) {
|
|
var l = k,
|
|
m = h,
|
|
q = m.tag;
|
|
|
|
if (0 === (m.mode & 1) && (0 === q || 11 === q || 15 === q)) {
|
|
var r = m.alternate;
|
|
r ? (m.updateQueue = r.updateQueue, m.memoizedState = r.memoizedState, m.lanes = r.lanes) : (m.updateQueue = null, m.memoizedState = null);
|
|
}
|
|
|
|
var y = Vi(g);
|
|
|
|
if (null !== y) {
|
|
y.flags &= -257;
|
|
Wi(y, g, h, f, b);
|
|
y.mode & 1 && Ti(f, l, b);
|
|
b = y;
|
|
k = l;
|
|
var n = b.updateQueue;
|
|
|
|
if (null === n) {
|
|
var t = new Set();
|
|
t.add(k);
|
|
b.updateQueue = t;
|
|
} else n.add(k);
|
|
|
|
break a;
|
|
} else {
|
|
if (0 === (b & 1)) {
|
|
Ti(f, l, b);
|
|
uj();
|
|
break a;
|
|
}
|
|
|
|
k = Error(p$2(426));
|
|
}
|
|
} else if (I$1 && h.mode & 1) {
|
|
var J = Vi(g);
|
|
|
|
if (null !== J) {
|
|
0 === (J.flags & 65536) && (J.flags |= 256);
|
|
Wi(J, g, h, f, b);
|
|
Jg(Ki(k, h));
|
|
break a;
|
|
}
|
|
}
|
|
|
|
f = k = Ki(k, h);
|
|
4 !== T$1 && (T$1 = 2);
|
|
null === tk ? tk = [f] : tk.push(f);
|
|
f = g;
|
|
|
|
do {
|
|
switch (f.tag) {
|
|
case 3:
|
|
f.flags |= 65536;
|
|
b &= -b;
|
|
f.lanes |= b;
|
|
var x = Oi(f, k, b);
|
|
fh(f, x);
|
|
break a;
|
|
|
|
case 1:
|
|
h = k;
|
|
var w = f.type,
|
|
u = f.stateNode;
|
|
|
|
if (0 === (f.flags & 128) && ("function" === typeof w.getDerivedStateFromError || null !== u && "function" === typeof u.componentDidCatch && (null === Si || !Si.has(u)))) {
|
|
f.flags |= 65536;
|
|
b &= -b;
|
|
f.lanes |= b;
|
|
var F = Ri(f, h, b);
|
|
fh(f, F);
|
|
break a;
|
|
}
|
|
|
|
}
|
|
|
|
f = f.return;
|
|
} while (null !== f);
|
|
}
|
|
|
|
Tk(c);
|
|
} catch (na) {
|
|
b = na;
|
|
Y$1 === c && null !== c && (Y$1 = c = c.return);
|
|
continue;
|
|
}
|
|
|
|
break;
|
|
} while (1);
|
|
}
|
|
|
|
function Kk() {
|
|
var a = nk.current;
|
|
nk.current = ai;
|
|
return null === a ? ai : a;
|
|
}
|
|
|
|
function uj() {
|
|
if (0 === T$1 || 3 === T$1 || 2 === T$1) T$1 = 4;
|
|
null === R || 0 === (hh & 268435455) && 0 === (rk & 268435455) || Dk(R, Z$1);
|
|
}
|
|
|
|
function Jk(a, b) {
|
|
var c = K$1;
|
|
K$1 |= 2;
|
|
var d = Kk();
|
|
if (R !== a || Z$1 !== b) vk = null, Lk(a, b);
|
|
|
|
do try {
|
|
Uk();
|
|
break;
|
|
} catch (e) {
|
|
Nk(a, e);
|
|
} while (1);
|
|
|
|
Qg();
|
|
K$1 = c;
|
|
nk.current = d;
|
|
if (null !== Y$1) throw Error(p$2(261));
|
|
R = null;
|
|
Z$1 = 0;
|
|
return T$1;
|
|
}
|
|
|
|
function Uk() {
|
|
for (; null !== Y$1;) Vk(Y$1);
|
|
}
|
|
|
|
function Mk() {
|
|
for (; null !== Y$1 && !cc();) Vk(Y$1);
|
|
}
|
|
|
|
function Vk(a) {
|
|
var b = Wk(a.alternate, a, gj);
|
|
a.memoizedProps = a.pendingProps;
|
|
null === b ? Tk(a) : Y$1 = b;
|
|
ok.current = null;
|
|
}
|
|
|
|
function Tk(a) {
|
|
var b = a;
|
|
|
|
do {
|
|
var c = b.alternate;
|
|
a = b.return;
|
|
|
|
if (0 === (b.flags & 32768)) {
|
|
if (c = Fj(c, b, gj), null !== c) {
|
|
Y$1 = c;
|
|
return;
|
|
}
|
|
} else {
|
|
c = Jj(c, b);
|
|
|
|
if (null !== c) {
|
|
c.flags &= 32767;
|
|
Y$1 = c;
|
|
return;
|
|
}
|
|
|
|
if (null !== a) a.flags |= 32768, a.subtreeFlags = 0, a.deletions = null;else {
|
|
T$1 = 6;
|
|
Y$1 = null;
|
|
return;
|
|
}
|
|
}
|
|
|
|
b = b.sibling;
|
|
|
|
if (null !== b) {
|
|
Y$1 = b;
|
|
return;
|
|
}
|
|
|
|
Y$1 = b = a;
|
|
} while (null !== b);
|
|
|
|
0 === T$1 && (T$1 = 5);
|
|
}
|
|
|
|
function Qk(a, b, c) {
|
|
var d = C$1,
|
|
e = pk.transition;
|
|
|
|
try {
|
|
pk.transition = null, C$1 = 1, Xk(a, b, c, d);
|
|
} finally {
|
|
pk.transition = e, C$1 = d;
|
|
}
|
|
|
|
return null;
|
|
}
|
|
|
|
function Xk(a, b, c, d) {
|
|
do Ik(); while (null !== xk);
|
|
|
|
if (0 !== (K$1 & 6)) throw Error(p$2(327));
|
|
c = a.finishedWork;
|
|
var e = a.finishedLanes;
|
|
if (null === c) return null;
|
|
a.finishedWork = null;
|
|
a.finishedLanes = 0;
|
|
if (c === a.current) throw Error(p$2(177));
|
|
a.callbackNode = null;
|
|
a.callbackPriority = 0;
|
|
var f = c.lanes | c.childLanes;
|
|
Bc(a, f);
|
|
a === R && (Y$1 = R = null, Z$1 = 0);
|
|
0 === (c.subtreeFlags & 2064) && 0 === (c.flags & 2064) || wk || (wk = !0, Gk(hc, function () {
|
|
Ik();
|
|
return null;
|
|
}));
|
|
f = 0 !== (c.flags & 15990);
|
|
|
|
if (0 !== (c.subtreeFlags & 15990) || f) {
|
|
f = pk.transition;
|
|
pk.transition = null;
|
|
var g = C$1;
|
|
C$1 = 1;
|
|
var h = K$1;
|
|
K$1 |= 4;
|
|
ok.current = null;
|
|
Pj(a, c);
|
|
ek(c, a);
|
|
Oe$1(Df);
|
|
dd = !!Cf;
|
|
Df = Cf = null;
|
|
a.current = c;
|
|
ik(c);
|
|
dc();
|
|
K$1 = h;
|
|
C$1 = g;
|
|
pk.transition = f;
|
|
} else a.current = c;
|
|
|
|
wk && (wk = !1, xk = a, yk = e);
|
|
f = a.pendingLanes;
|
|
0 === f && (Si = null);
|
|
mc(c.stateNode);
|
|
Ek(a, B$1());
|
|
if (null !== b) for (d = a.onRecoverableError, c = 0; c < b.length; c++) e = b[c], d(e.value, {
|
|
componentStack: e.stack,
|
|
digest: e.digest
|
|
});
|
|
if (Pi) throw Pi = !1, a = Qi, Qi = null, a;
|
|
0 !== (yk & 1) && 0 !== a.tag && Ik();
|
|
f = a.pendingLanes;
|
|
0 !== (f & 1) ? a === Ak ? zk++ : (zk = 0, Ak = a) : zk = 0;
|
|
jg();
|
|
return null;
|
|
}
|
|
|
|
function Ik() {
|
|
if (null !== xk) {
|
|
var a = Dc(yk),
|
|
b = pk.transition,
|
|
c = C$1;
|
|
|
|
try {
|
|
pk.transition = null;
|
|
C$1 = 16 > a ? 16 : a;
|
|
if (null === xk) var d = !1;else {
|
|
a = xk;
|
|
xk = null;
|
|
yk = 0;
|
|
if (0 !== (K$1 & 6)) throw Error(p$2(331));
|
|
var e = K$1;
|
|
K$1 |= 4;
|
|
|
|
for (V$1 = a.current; null !== V$1;) {
|
|
var f = V$1,
|
|
g = f.child;
|
|
|
|
if (0 !== (V$1.flags & 16)) {
|
|
var h = f.deletions;
|
|
|
|
if (null !== h) {
|
|
for (var k = 0; k < h.length; k++) {
|
|
var l = h[k];
|
|
|
|
for (V$1 = l; null !== V$1;) {
|
|
var m = V$1;
|
|
|
|
switch (m.tag) {
|
|
case 0:
|
|
case 11:
|
|
case 15:
|
|
Qj(8, m, f);
|
|
}
|
|
|
|
var q = m.child;
|
|
if (null !== q) q.return = m, V$1 = q;else for (; null !== V$1;) {
|
|
m = V$1;
|
|
var r = m.sibling,
|
|
y = m.return;
|
|
Tj(m);
|
|
|
|
if (m === l) {
|
|
V$1 = null;
|
|
break;
|
|
}
|
|
|
|
if (null !== r) {
|
|
r.return = y;
|
|
V$1 = r;
|
|
break;
|
|
}
|
|
|
|
V$1 = y;
|
|
}
|
|
}
|
|
}
|
|
|
|
var n = f.alternate;
|
|
|
|
if (null !== n) {
|
|
var t = n.child;
|
|
|
|
if (null !== t) {
|
|
n.child = null;
|
|
|
|
do {
|
|
var J = t.sibling;
|
|
t.sibling = null;
|
|
t = J;
|
|
} while (null !== t);
|
|
}
|
|
}
|
|
|
|
V$1 = f;
|
|
}
|
|
}
|
|
|
|
if (0 !== (f.subtreeFlags & 2064) && null !== g) g.return = f, V$1 = g;else b: for (; null !== V$1;) {
|
|
f = V$1;
|
|
if (0 !== (f.flags & 2048)) switch (f.tag) {
|
|
case 0:
|
|
case 11:
|
|
case 15:
|
|
Qj(9, f, f.return);
|
|
}
|
|
var x = f.sibling;
|
|
|
|
if (null !== x) {
|
|
x.return = f.return;
|
|
V$1 = x;
|
|
break b;
|
|
}
|
|
|
|
V$1 = f.return;
|
|
}
|
|
}
|
|
|
|
var w = a.current;
|
|
|
|
for (V$1 = w; null !== V$1;) {
|
|
g = V$1;
|
|
var u = g.child;
|
|
if (0 !== (g.subtreeFlags & 2064) && null !== u) u.return = g, V$1 = u;else b: for (g = w; null !== V$1;) {
|
|
h = V$1;
|
|
if (0 !== (h.flags & 2048)) try {
|
|
switch (h.tag) {
|
|
case 0:
|
|
case 11:
|
|
case 15:
|
|
Rj(9, h);
|
|
}
|
|
} catch (na) {
|
|
W$1(h, h.return, na);
|
|
}
|
|
|
|
if (h === g) {
|
|
V$1 = null;
|
|
break b;
|
|
}
|
|
|
|
var F = h.sibling;
|
|
|
|
if (null !== F) {
|
|
F.return = h.return;
|
|
V$1 = F;
|
|
break b;
|
|
}
|
|
|
|
V$1 = h.return;
|
|
}
|
|
}
|
|
|
|
K$1 = e;
|
|
jg();
|
|
if (lc && "function" === typeof lc.onPostCommitFiberRoot) try {
|
|
lc.onPostCommitFiberRoot(kc, a);
|
|
} catch (na) {}
|
|
d = !0;
|
|
}
|
|
return d;
|
|
} finally {
|
|
C$1 = c, pk.transition = b;
|
|
}
|
|
}
|
|
|
|
return !1;
|
|
}
|
|
|
|
function Yk(a, b, c) {
|
|
b = Ki(c, b);
|
|
b = Oi(a, b, 1);
|
|
a = dh(a, b, 1);
|
|
b = L$1();
|
|
null !== a && (Ac(a, 1, b), Ek(a, b));
|
|
}
|
|
|
|
function W$1(a, b, c) {
|
|
if (3 === a.tag) Yk(a, a, c);else for (; null !== b;) {
|
|
if (3 === b.tag) {
|
|
Yk(b, a, c);
|
|
break;
|
|
} else if (1 === b.tag) {
|
|
var d = b.stateNode;
|
|
|
|
if ("function" === typeof b.type.getDerivedStateFromError || "function" === typeof d.componentDidCatch && (null === Si || !Si.has(d))) {
|
|
a = Ki(c, a);
|
|
a = Ri(b, a, 1);
|
|
b = dh(b, a, 1);
|
|
a = L$1();
|
|
null !== b && (Ac(b, 1, a), Ek(b, a));
|
|
break;
|
|
}
|
|
}
|
|
|
|
b = b.return;
|
|
}
|
|
}
|
|
|
|
function Ui(a, b, c) {
|
|
var d = a.pingCache;
|
|
null !== d && d.delete(b);
|
|
b = L$1();
|
|
a.pingedLanes |= a.suspendedLanes & c;
|
|
R === a && (Z$1 & c) === c && (4 === T$1 || 3 === T$1 && (Z$1 & 130023424) === Z$1 && 500 > B$1() - gk ? Lk(a, 0) : sk |= c);
|
|
Ek(a, b);
|
|
}
|
|
|
|
function Zk(a, b) {
|
|
0 === b && (0 === (a.mode & 1) ? b = 1 : (b = sc, sc <<= 1, 0 === (sc & 130023424) && (sc = 4194304)));
|
|
var c = L$1();
|
|
a = Zg(a, b);
|
|
null !== a && (Ac(a, b, c), Ek(a, c));
|
|
}
|
|
|
|
function vj(a) {
|
|
var b = a.memoizedState,
|
|
c = 0;
|
|
null !== b && (c = b.retryLane);
|
|
Zk(a, c);
|
|
}
|
|
|
|
function ck(a, b) {
|
|
var c = 0;
|
|
|
|
switch (a.tag) {
|
|
case 13:
|
|
var d = a.stateNode;
|
|
var e = a.memoizedState;
|
|
null !== e && (c = e.retryLane);
|
|
break;
|
|
|
|
case 19:
|
|
d = a.stateNode;
|
|
break;
|
|
|
|
default:
|
|
throw Error(p$2(314));
|
|
}
|
|
|
|
null !== d && d.delete(b);
|
|
Zk(a, c);
|
|
}
|
|
|
|
var Wk;
|
|
|
|
Wk = function (a, b, c) {
|
|
if (null !== a) {
|
|
if (a.memoizedProps !== b.pendingProps || Wf.current) Ug = !0;else {
|
|
if (0 === (a.lanes & c) && 0 === (b.flags & 128)) return Ug = !1, zj(a, b, c);
|
|
Ug = 0 !== (a.flags & 131072) ? !0 : !1;
|
|
}
|
|
} else Ug = !1, I$1 && 0 !== (b.flags & 1048576) && ug(b, ng, b.index);
|
|
b.lanes = 0;
|
|
|
|
switch (b.tag) {
|
|
case 2:
|
|
var d = b.type;
|
|
jj(a, b);
|
|
a = b.pendingProps;
|
|
var e = Yf(b, H$1.current);
|
|
Tg(b, c);
|
|
e = Xh(null, b, d, a, e, c);
|
|
var f = bi();
|
|
b.flags |= 1;
|
|
"object" === typeof e && null !== e && "function" === typeof e.render && void 0 === e.$$typeof ? (b.tag = 1, b.memoizedState = null, b.updateQueue = null, Zf(d) ? (f = !0, cg(b)) : f = !1, b.memoizedState = null !== e.state && void 0 !== e.state ? e.state : null, ah(b), e.updater = nh, b.stateNode = e, e._reactInternals = b, rh(b, d, a, c), b = kj(null, b, d, !0, f, c)) : (b.tag = 0, I$1 && f && vg(b), Yi(null, b, e, c), b = b.child);
|
|
return b;
|
|
|
|
case 16:
|
|
d = b.elementType;
|
|
|
|
a: {
|
|
jj(a, b);
|
|
a = b.pendingProps;
|
|
e = d._init;
|
|
d = e(d._payload);
|
|
b.type = d;
|
|
e = b.tag = $k(d);
|
|
a = Lg(d, a);
|
|
|
|
switch (e) {
|
|
case 0:
|
|
b = dj(null, b, d, a, c);
|
|
break a;
|
|
|
|
case 1:
|
|
b = ij(null, b, d, a, c);
|
|
break a;
|
|
|
|
case 11:
|
|
b = Zi(null, b, d, a, c);
|
|
break a;
|
|
|
|
case 14:
|
|
b = aj(null, b, d, Lg(d.type, a), c);
|
|
break a;
|
|
}
|
|
|
|
throw Error(p$2(306, d, ""));
|
|
}
|
|
|
|
return b;
|
|
|
|
case 0:
|
|
return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), dj(a, b, d, e, c);
|
|
|
|
case 1:
|
|
return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), ij(a, b, d, e, c);
|
|
|
|
case 3:
|
|
a: {
|
|
lj(b);
|
|
if (null === a) throw Error(p$2(387));
|
|
d = b.pendingProps;
|
|
f = b.memoizedState;
|
|
e = f.element;
|
|
bh(a, b);
|
|
gh(b, d, null, c);
|
|
var g = b.memoizedState;
|
|
d = g.element;
|
|
if (f.isDehydrated) {
|
|
if (f = {
|
|
element: d,
|
|
isDehydrated: !1,
|
|
cache: g.cache,
|
|
pendingSuspenseBoundaries: g.pendingSuspenseBoundaries,
|
|
transitions: g.transitions
|
|
}, b.updateQueue.baseState = f, b.memoizedState = f, b.flags & 256) {
|
|
e = Ki(Error(p$2(423)), b);
|
|
b = mj(a, b, d, c, e);
|
|
break a;
|
|
} else if (d !== e) {
|
|
e = Ki(Error(p$2(424)), b);
|
|
b = mj(a, b, d, c, e);
|
|
break a;
|
|
} else for (yg = Lf(b.stateNode.containerInfo.firstChild), xg = b, I$1 = !0, zg = null, c = Ch(b, null, d, c), b.child = c; c;) c.flags = c.flags & -3 | 4096, c = c.sibling;
|
|
} else {
|
|
Ig();
|
|
|
|
if (d === e) {
|
|
b = $i(a, b, c);
|
|
break a;
|
|
}
|
|
|
|
Yi(a, b, d, c);
|
|
}
|
|
b = b.child;
|
|
}
|
|
|
|
return b;
|
|
|
|
case 5:
|
|
return Kh(b), null === a && Eg(b), d = b.type, e = b.pendingProps, f = null !== a ? a.memoizedProps : null, g = e.children, Ef(d, e) ? g = null : null !== f && Ef(d, f) && (b.flags |= 32), hj(a, b), Yi(a, b, g, c), b.child;
|
|
|
|
case 6:
|
|
return null === a && Eg(b), null;
|
|
|
|
case 13:
|
|
return pj(a, b, c);
|
|
|
|
case 4:
|
|
return Ih(b, b.stateNode.containerInfo), d = b.pendingProps, null === a ? b.child = Bh(b, null, d, c) : Yi(a, b, d, c), b.child;
|
|
|
|
case 11:
|
|
return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), Zi(a, b, d, e, c);
|
|
|
|
case 7:
|
|
return Yi(a, b, b.pendingProps, c), b.child;
|
|
|
|
case 8:
|
|
return Yi(a, b, b.pendingProps.children, c), b.child;
|
|
|
|
case 12:
|
|
return Yi(a, b, b.pendingProps.children, c), b.child;
|
|
|
|
case 10:
|
|
a: {
|
|
d = b.type._context;
|
|
e = b.pendingProps;
|
|
f = b.memoizedProps;
|
|
g = e.value;
|
|
G$1(Mg, d._currentValue);
|
|
d._currentValue = g;
|
|
if (null !== f) if (He(f.value, g)) {
|
|
if (f.children === e.children && !Wf.current) {
|
|
b = $i(a, b, c);
|
|
break a;
|
|
}
|
|
} else for (f = b.child, null !== f && (f.return = b); null !== f;) {
|
|
var h = f.dependencies;
|
|
|
|
if (null !== h) {
|
|
g = f.child;
|
|
|
|
for (var k = h.firstContext; null !== k;) {
|
|
if (k.context === d) {
|
|
if (1 === f.tag) {
|
|
k = ch(-1, c & -c);
|
|
k.tag = 2;
|
|
var l = f.updateQueue;
|
|
|
|
if (null !== l) {
|
|
l = l.shared;
|
|
var m = l.pending;
|
|
null === m ? k.next = k : (k.next = m.next, m.next = k);
|
|
l.pending = k;
|
|
}
|
|
}
|
|
|
|
f.lanes |= c;
|
|
k = f.alternate;
|
|
null !== k && (k.lanes |= c);
|
|
Sg(f.return, c, b);
|
|
h.lanes |= c;
|
|
break;
|
|
}
|
|
|
|
k = k.next;
|
|
}
|
|
} else if (10 === f.tag) g = f.type === b.type ? null : f.child;else if (18 === f.tag) {
|
|
g = f.return;
|
|
if (null === g) throw Error(p$2(341));
|
|
g.lanes |= c;
|
|
h = g.alternate;
|
|
null !== h && (h.lanes |= c);
|
|
Sg(g, c, b);
|
|
g = f.sibling;
|
|
} else g = f.child;
|
|
|
|
if (null !== g) g.return = f;else for (g = f; null !== g;) {
|
|
if (g === b) {
|
|
g = null;
|
|
break;
|
|
}
|
|
|
|
f = g.sibling;
|
|
|
|
if (null !== f) {
|
|
f.return = g.return;
|
|
g = f;
|
|
break;
|
|
}
|
|
|
|
g = g.return;
|
|
}
|
|
f = g;
|
|
}
|
|
Yi(a, b, e.children, c);
|
|
b = b.child;
|
|
}
|
|
|
|
return b;
|
|
|
|
case 9:
|
|
return e = b.type, d = b.pendingProps.children, Tg(b, c), e = Vg(e), d = d(e), b.flags |= 1, Yi(a, b, d, c), b.child;
|
|
|
|
case 14:
|
|
return d = b.type, e = Lg(d, b.pendingProps), e = Lg(d.type, e), aj(a, b, d, e, c);
|
|
|
|
case 15:
|
|
return cj(a, b, b.type, b.pendingProps, c);
|
|
|
|
case 17:
|
|
return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : Lg(d, e), jj(a, b), b.tag = 1, Zf(d) ? (a = !0, cg(b)) : a = !1, Tg(b, c), ph(b, d, e), rh(b, d, e, c), kj(null, b, d, !0, a, c);
|
|
|
|
case 19:
|
|
return yj(a, b, c);
|
|
|
|
case 22:
|
|
return ej(a, b, c);
|
|
}
|
|
|
|
throw Error(p$2(156, b.tag));
|
|
};
|
|
|
|
function Gk(a, b) {
|
|
return ac(a, b);
|
|
}
|
|
|
|
function al(a, b, c, d) {
|
|
this.tag = a;
|
|
this.key = c;
|
|
this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;
|
|
this.index = 0;
|
|
this.ref = null;
|
|
this.pendingProps = b;
|
|
this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;
|
|
this.mode = d;
|
|
this.subtreeFlags = this.flags = 0;
|
|
this.deletions = null;
|
|
this.childLanes = this.lanes = 0;
|
|
this.alternate = null;
|
|
}
|
|
|
|
function Bg(a, b, c, d) {
|
|
return new al(a, b, c, d);
|
|
}
|
|
|
|
function bj(a) {
|
|
a = a.prototype;
|
|
return !(!a || !a.isReactComponent);
|
|
}
|
|
|
|
function $k(a) {
|
|
if ("function" === typeof a) return bj(a) ? 1 : 0;
|
|
|
|
if (void 0 !== a && null !== a) {
|
|
a = a.$$typeof;
|
|
if (a === Da) return 11;
|
|
if (a === Ga) return 14;
|
|
}
|
|
|
|
return 2;
|
|
}
|
|
|
|
function wh(a, b) {
|
|
var c = a.alternate;
|
|
null === c ? (c = Bg(a.tag, b, a.key, a.mode), c.elementType = a.elementType, c.type = a.type, c.stateNode = a.stateNode, c.alternate = a, a.alternate = c) : (c.pendingProps = b, c.type = a.type, c.flags = 0, c.subtreeFlags = 0, c.deletions = null);
|
|
c.flags = a.flags & 14680064;
|
|
c.childLanes = a.childLanes;
|
|
c.lanes = a.lanes;
|
|
c.child = a.child;
|
|
c.memoizedProps = a.memoizedProps;
|
|
c.memoizedState = a.memoizedState;
|
|
c.updateQueue = a.updateQueue;
|
|
b = a.dependencies;
|
|
c.dependencies = null === b ? null : {
|
|
lanes: b.lanes,
|
|
firstContext: b.firstContext
|
|
};
|
|
c.sibling = a.sibling;
|
|
c.index = a.index;
|
|
c.ref = a.ref;
|
|
return c;
|
|
}
|
|
|
|
function yh(a, b, c, d, e, f) {
|
|
var g = 2;
|
|
d = a;
|
|
if ("function" === typeof a) bj(a) && (g = 1);else if ("string" === typeof a) g = 5;else a: switch (a) {
|
|
case ya:
|
|
return Ah(c.children, e, f, b);
|
|
|
|
case za:
|
|
g = 8;
|
|
e |= 8;
|
|
break;
|
|
|
|
case Aa:
|
|
return a = Bg(12, c, b, e | 2), a.elementType = Aa, a.lanes = f, a;
|
|
|
|
case Ea:
|
|
return a = Bg(13, c, b, e), a.elementType = Ea, a.lanes = f, a;
|
|
|
|
case Fa:
|
|
return a = Bg(19, c, b, e), a.elementType = Fa, a.lanes = f, a;
|
|
|
|
case Ia:
|
|
return qj(c, e, f, b);
|
|
|
|
default:
|
|
if ("object" === typeof a && null !== a) switch (a.$$typeof) {
|
|
case Ba:
|
|
g = 10;
|
|
break a;
|
|
|
|
case Ca:
|
|
g = 9;
|
|
break a;
|
|
|
|
case Da:
|
|
g = 11;
|
|
break a;
|
|
|
|
case Ga:
|
|
g = 14;
|
|
break a;
|
|
|
|
case Ha:
|
|
g = 16;
|
|
d = null;
|
|
break a;
|
|
}
|
|
throw Error(p$2(130, null == a ? a : typeof a, ""));
|
|
}
|
|
b = Bg(g, c, b, e);
|
|
b.elementType = a;
|
|
b.type = d;
|
|
b.lanes = f;
|
|
return b;
|
|
}
|
|
|
|
function Ah(a, b, c, d) {
|
|
a = Bg(7, a, d, b);
|
|
a.lanes = c;
|
|
return a;
|
|
}
|
|
|
|
function qj(a, b, c, d) {
|
|
a = Bg(22, a, d, b);
|
|
a.elementType = Ia;
|
|
a.lanes = c;
|
|
a.stateNode = {
|
|
isHidden: !1
|
|
};
|
|
return a;
|
|
}
|
|
|
|
function xh(a, b, c) {
|
|
a = Bg(6, a, null, b);
|
|
a.lanes = c;
|
|
return a;
|
|
}
|
|
|
|
function zh(a, b, c) {
|
|
b = Bg(4, null !== a.children ? a.children : [], a.key, b);
|
|
b.lanes = c;
|
|
b.stateNode = {
|
|
containerInfo: a.containerInfo,
|
|
pendingChildren: null,
|
|
implementation: a.implementation
|
|
};
|
|
return b;
|
|
}
|
|
|
|
function bl(a, b, c, d, e) {
|
|
this.tag = b;
|
|
this.containerInfo = a;
|
|
this.finishedWork = this.pingCache = this.current = this.pendingChildren = null;
|
|
this.timeoutHandle = -1;
|
|
this.callbackNode = this.pendingContext = this.context = null;
|
|
this.callbackPriority = 0;
|
|
this.eventTimes = zc(0);
|
|
this.expirationTimes = zc(-1);
|
|
this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0;
|
|
this.entanglements = zc(0);
|
|
this.identifierPrefix = d;
|
|
this.onRecoverableError = e;
|
|
this.mutableSourceEagerHydrationData = null;
|
|
}
|
|
|
|
function cl(a, b, c, d, e, f, g, h, k) {
|
|
a = new bl(a, b, c, h, k);
|
|
1 === b ? (b = 1, !0 === f && (b |= 8)) : b = 0;
|
|
f = Bg(3, null, null, b);
|
|
a.current = f;
|
|
f.stateNode = a;
|
|
f.memoizedState = {
|
|
element: d,
|
|
isDehydrated: c,
|
|
cache: null,
|
|
transitions: null,
|
|
pendingSuspenseBoundaries: null
|
|
};
|
|
ah(f);
|
|
return a;
|
|
}
|
|
|
|
function dl(a, b, c) {
|
|
var d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
|
|
return {
|
|
$$typeof: wa,
|
|
key: null == d ? null : "" + d,
|
|
children: a,
|
|
containerInfo: b,
|
|
implementation: c
|
|
};
|
|
}
|
|
|
|
function el(a) {
|
|
if (!a) return Vf;
|
|
a = a._reactInternals;
|
|
|
|
a: {
|
|
if (Vb(a) !== a || 1 !== a.tag) throw Error(p$2(170));
|
|
var b = a;
|
|
|
|
do {
|
|
switch (b.tag) {
|
|
case 3:
|
|
b = b.stateNode.context;
|
|
break a;
|
|
|
|
case 1:
|
|
if (Zf(b.type)) {
|
|
b = b.stateNode.__reactInternalMemoizedMergedChildContext;
|
|
break a;
|
|
}
|
|
|
|
}
|
|
|
|
b = b.return;
|
|
} while (null !== b);
|
|
|
|
throw Error(p$2(171));
|
|
}
|
|
|
|
if (1 === a.tag) {
|
|
var c = a.type;
|
|
if (Zf(c)) return bg(a, c, b);
|
|
}
|
|
|
|
return b;
|
|
}
|
|
|
|
function fl(a, b, c, d, e, f, g, h, k) {
|
|
a = cl(c, d, !0, a, e, f, g, h, k);
|
|
a.context = el(null);
|
|
c = a.current;
|
|
d = L$1();
|
|
e = lh(c);
|
|
f = ch(d, e);
|
|
f.callback = void 0 !== b && null !== b ? b : null;
|
|
dh(c, f, e);
|
|
a.current.lanes = e;
|
|
Ac(a, e, d);
|
|
Ek(a, d);
|
|
return a;
|
|
}
|
|
|
|
function gl(a, b, c, d) {
|
|
var e = b.current,
|
|
f = L$1(),
|
|
g = lh(e);
|
|
c = el(c);
|
|
null === b.context ? b.context = c : b.pendingContext = c;
|
|
b = ch(f, g);
|
|
b.payload = {
|
|
element: a
|
|
};
|
|
d = void 0 === d ? null : d;
|
|
null !== d && (b.callback = d);
|
|
a = dh(e, b, g);
|
|
null !== a && (mh(a, e, g, f), eh(a, e, g));
|
|
return g;
|
|
}
|
|
|
|
function hl(a) {
|
|
a = a.current;
|
|
if (!a.child) return null;
|
|
|
|
switch (a.child.tag) {
|
|
case 5:
|
|
return a.child.stateNode;
|
|
|
|
default:
|
|
return a.child.stateNode;
|
|
}
|
|
}
|
|
|
|
function il(a, b) {
|
|
a = a.memoizedState;
|
|
|
|
if (null !== a && null !== a.dehydrated) {
|
|
var c = a.retryLane;
|
|
a.retryLane = 0 !== c && c < b ? c : b;
|
|
}
|
|
}
|
|
|
|
function jl(a, b) {
|
|
il(a, b);
|
|
(a = a.alternate) && il(a, b);
|
|
}
|
|
|
|
function kl() {
|
|
return null;
|
|
}
|
|
|
|
var ll = "function" === typeof reportError ? reportError : function (a) {
|
|
console.error(a);
|
|
};
|
|
|
|
function ml(a) {
|
|
this._internalRoot = a;
|
|
}
|
|
|
|
nl.prototype.render = ml.prototype.render = function (a) {
|
|
var b = this._internalRoot;
|
|
if (null === b) throw Error(p$2(409));
|
|
gl(a, b, null, null);
|
|
};
|
|
|
|
nl.prototype.unmount = ml.prototype.unmount = function () {
|
|
var a = this._internalRoot;
|
|
|
|
if (null !== a) {
|
|
this._internalRoot = null;
|
|
var b = a.containerInfo;
|
|
Sk(function () {
|
|
gl(null, a, null, null);
|
|
});
|
|
b[uf] = null;
|
|
}
|
|
};
|
|
|
|
function nl(a) {
|
|
this._internalRoot = a;
|
|
}
|
|
|
|
nl.prototype.unstable_scheduleHydration = function (a) {
|
|
if (a) {
|
|
var b = Hc();
|
|
a = {
|
|
blockedOn: null,
|
|
target: a,
|
|
priority: b
|
|
};
|
|
|
|
for (var c = 0; c < Qc.length && 0 !== b && b < Qc[c].priority; c++);
|
|
|
|
Qc.splice(c, 0, a);
|
|
0 === c && Vc(a);
|
|
}
|
|
};
|
|
|
|
function ol(a) {
|
|
return !(!a || 1 !== a.nodeType && 9 !== a.nodeType && 11 !== a.nodeType);
|
|
}
|
|
|
|
function pl(a) {
|
|
return !(!a || 1 !== a.nodeType && 9 !== a.nodeType && 11 !== a.nodeType && (8 !== a.nodeType || " react-mount-point-unstable " !== a.nodeValue));
|
|
}
|
|
|
|
function ql() {}
|
|
|
|
function rl(a, b, c, d, e) {
|
|
if (e) {
|
|
if ("function" === typeof d) {
|
|
var f = d;
|
|
|
|
d = function () {
|
|
var a = hl(g);
|
|
f.call(a);
|
|
};
|
|
}
|
|
|
|
var g = fl(b, d, a, 0, null, !1, !1, "", ql);
|
|
a._reactRootContainer = g;
|
|
a[uf] = g.current;
|
|
sf(8 === a.nodeType ? a.parentNode : a);
|
|
Sk();
|
|
return g;
|
|
}
|
|
|
|
for (; e = a.lastChild;) a.removeChild(e);
|
|
|
|
if ("function" === typeof d) {
|
|
var h = d;
|
|
|
|
d = function () {
|
|
var a = hl(k);
|
|
h.call(a);
|
|
};
|
|
}
|
|
|
|
var k = cl(a, 0, !1, null, null, !1, !1, "", ql);
|
|
a._reactRootContainer = k;
|
|
a[uf] = k.current;
|
|
sf(8 === a.nodeType ? a.parentNode : a);
|
|
Sk(function () {
|
|
gl(b, k, c, d);
|
|
});
|
|
return k;
|
|
}
|
|
|
|
function sl(a, b, c, d, e) {
|
|
var f = c._reactRootContainer;
|
|
|
|
if (f) {
|
|
var g = f;
|
|
|
|
if ("function" === typeof e) {
|
|
var h = e;
|
|
|
|
e = function () {
|
|
var a = hl(g);
|
|
h.call(a);
|
|
};
|
|
}
|
|
|
|
gl(b, g, a, e);
|
|
} else g = rl(c, b, a, e, d);
|
|
|
|
return hl(g);
|
|
}
|
|
|
|
Ec = function (a) {
|
|
switch (a.tag) {
|
|
case 3:
|
|
var b = a.stateNode;
|
|
|
|
if (b.current.memoizedState.isDehydrated) {
|
|
var c = tc(b.pendingLanes);
|
|
0 !== c && (Cc(b, c | 1), Ek(b, B$1()), 0 === (K$1 & 6) && (Hj = B$1() + 500, jg()));
|
|
}
|
|
|
|
break;
|
|
|
|
case 13:
|
|
Sk(function () {
|
|
var b = Zg(a, 1);
|
|
|
|
if (null !== b) {
|
|
var c = L$1();
|
|
mh(b, a, 1, c);
|
|
}
|
|
}), jl(a, 1);
|
|
}
|
|
};
|
|
|
|
Fc = function (a) {
|
|
if (13 === a.tag) {
|
|
var b = Zg(a, 134217728);
|
|
|
|
if (null !== b) {
|
|
var c = L$1();
|
|
mh(b, a, 134217728, c);
|
|
}
|
|
|
|
jl(a, 134217728);
|
|
}
|
|
};
|
|
|
|
Gc = function (a) {
|
|
if (13 === a.tag) {
|
|
var b = lh(a),
|
|
c = Zg(a, b);
|
|
|
|
if (null !== c) {
|
|
var d = L$1();
|
|
mh(c, a, b, d);
|
|
}
|
|
|
|
jl(a, b);
|
|
}
|
|
};
|
|
|
|
Hc = function () {
|
|
return C$1;
|
|
};
|
|
|
|
Ic = function (a, b) {
|
|
var c = C$1;
|
|
|
|
try {
|
|
return C$1 = a, b();
|
|
} finally {
|
|
C$1 = c;
|
|
}
|
|
};
|
|
|
|
yb = function (a, b, c) {
|
|
switch (b) {
|
|
case "input":
|
|
bb(a, c);
|
|
b = c.name;
|
|
|
|
if ("radio" === c.type && null != b) {
|
|
for (c = a; c.parentNode;) c = c.parentNode;
|
|
|
|
c = c.querySelectorAll("input[name=" + JSON.stringify("" + b) + '][type="radio"]');
|
|
|
|
for (b = 0; b < c.length; b++) {
|
|
var d = c[b];
|
|
|
|
if (d !== a && d.form === a.form) {
|
|
var e = Db(d);
|
|
if (!e) throw Error(p$2(90));
|
|
Wa(d);
|
|
bb(d, e);
|
|
}
|
|
}
|
|
}
|
|
|
|
break;
|
|
|
|
case "textarea":
|
|
ib(a, c);
|
|
break;
|
|
|
|
case "select":
|
|
b = c.value, null != b && fb(a, !!c.multiple, b, !1);
|
|
}
|
|
};
|
|
|
|
Gb = Rk;
|
|
Hb = Sk;
|
|
var tl = {
|
|
usingClientEntryPoint: !1,
|
|
Events: [Cb, ue, Db, Eb, Fb, Rk]
|
|
},
|
|
ul = {
|
|
findFiberByHostInstance: Wc,
|
|
bundleType: 0,
|
|
version: "18.2.0",
|
|
rendererPackageName: "react-dom"
|
|
};
|
|
var vl = {
|
|
bundleType: ul.bundleType,
|
|
version: ul.version,
|
|
rendererPackageName: ul.rendererPackageName,
|
|
rendererConfig: ul.rendererConfig,
|
|
overrideHookState: null,
|
|
overrideHookStateDeletePath: null,
|
|
overrideHookStateRenamePath: null,
|
|
overrideProps: null,
|
|
overridePropsDeletePath: null,
|
|
overridePropsRenamePath: null,
|
|
setErrorHandler: null,
|
|
setSuspenseHandler: null,
|
|
scheduleUpdate: null,
|
|
currentDispatcherRef: ua.ReactCurrentDispatcher,
|
|
findHostInstanceByFiber: function (a) {
|
|
a = Zb(a);
|
|
return null === a ? null : a.stateNode;
|
|
},
|
|
findFiberByHostInstance: ul.findFiberByHostInstance || kl,
|
|
findHostInstancesForRefresh: null,
|
|
scheduleRefresh: null,
|
|
scheduleRoot: null,
|
|
setRefreshHandler: null,
|
|
getCurrentFiber: null,
|
|
reconcilerVersion: "18.2.0-next-9e3b772b8-20220608"
|
|
};
|
|
|
|
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
|
|
var wl = __REACT_DEVTOOLS_GLOBAL_HOOK__;
|
|
if (!wl.isDisabled && wl.supportsFiber) try {
|
|
kc = wl.inject(vl), lc = wl;
|
|
} catch (a) {}
|
|
}
|
|
|
|
reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = tl;
|
|
|
|
reactDom_production_min.createPortal = function (a, b) {
|
|
var c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
|
|
if (!ol(b)) throw Error(p$2(200));
|
|
return dl(a, b, null, c);
|
|
};
|
|
|
|
reactDom_production_min.createRoot = function (a, b) {
|
|
if (!ol(a)) throw Error(p$2(299));
|
|
var c = !1,
|
|
d = "",
|
|
e = ll;
|
|
null !== b && void 0 !== b && (!0 === b.unstable_strictMode && (c = !0), void 0 !== b.identifierPrefix && (d = b.identifierPrefix), void 0 !== b.onRecoverableError && (e = b.onRecoverableError));
|
|
b = cl(a, 1, !1, null, null, c, !1, d, e);
|
|
a[uf] = b.current;
|
|
sf(8 === a.nodeType ? a.parentNode : a);
|
|
return new ml(b);
|
|
};
|
|
|
|
reactDom_production_min.findDOMNode = function (a) {
|
|
if (null == a) return null;
|
|
if (1 === a.nodeType) return a;
|
|
var b = a._reactInternals;
|
|
|
|
if (void 0 === b) {
|
|
if ("function" === typeof a.render) throw Error(p$2(188));
|
|
a = Object.keys(a).join(",");
|
|
throw Error(p$2(268, a));
|
|
}
|
|
|
|
a = Zb(b);
|
|
a = null === a ? null : a.stateNode;
|
|
return a;
|
|
};
|
|
|
|
reactDom_production_min.flushSync = function (a) {
|
|
return Sk(a);
|
|
};
|
|
|
|
reactDom_production_min.hydrate = function (a, b, c) {
|
|
if (!pl(b)) throw Error(p$2(200));
|
|
return sl(null, a, b, !0, c);
|
|
};
|
|
|
|
reactDom_production_min.hydrateRoot = function (a, b, c) {
|
|
if (!ol(a)) throw Error(p$2(405));
|
|
var d = null != c && c.hydratedSources || null,
|
|
e = !1,
|
|
f = "",
|
|
g = ll;
|
|
null !== c && void 0 !== c && (!0 === c.unstable_strictMode && (e = !0), void 0 !== c.identifierPrefix && (f = c.identifierPrefix), void 0 !== c.onRecoverableError && (g = c.onRecoverableError));
|
|
b = fl(b, null, a, 1, null != c ? c : null, e, !1, f, g);
|
|
a[uf] = b.current;
|
|
sf(a);
|
|
if (d) for (a = 0; a < d.length; a++) c = d[a], e = c._getVersion, e = e(c._source), null == b.mutableSourceEagerHydrationData ? b.mutableSourceEagerHydrationData = [c, e] : b.mutableSourceEagerHydrationData.push(c, e);
|
|
return new nl(b);
|
|
};
|
|
|
|
reactDom_production_min.render = function (a, b, c) {
|
|
if (!pl(b)) throw Error(p$2(200));
|
|
return sl(null, a, b, !1, c);
|
|
};
|
|
|
|
reactDom_production_min.unmountComponentAtNode = function (a) {
|
|
if (!pl(a)) throw Error(p$2(40));
|
|
return a._reactRootContainer ? (Sk(function () {
|
|
sl(null, null, a, !1, function () {
|
|
a._reactRootContainer = null;
|
|
a[uf] = null;
|
|
});
|
|
}), !0) : !1;
|
|
};
|
|
|
|
reactDom_production_min.unstable_batchedUpdates = Rk;
|
|
|
|
reactDom_production_min.unstable_renderSubtreeIntoContainer = function (a, b, c, d) {
|
|
if (!pl(c)) throw Error(p$2(200));
|
|
if (null == a || void 0 === a._reactInternals) throw Error(p$2(38));
|
|
return sl(a, b, c, !1, d);
|
|
};
|
|
|
|
reactDom_production_min.version = "18.2.0-next-9e3b772b8-20220608";
|
|
|
|
(function (module) {
|
|
|
|
function checkDCE() {
|
|
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
|
|
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function') {
|
|
return;
|
|
}
|
|
|
|
try {
|
|
// Verify that the code above has been dead code eliminated (DCE'd).
|
|
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
|
|
} catch (err) {
|
|
// DevTools shouldn't crash React, no matter what.
|
|
// We should still report in case we break this code.
|
|
console.error(err);
|
|
}
|
|
}
|
|
|
|
{
|
|
// DCE check should happen before ReactDOM bundle executes so that
|
|
// DevTools can report bad minification during injection.
|
|
checkDCE();
|
|
module.exports = reactDom_production_min;
|
|
}
|
|
} (reactDom));
|
|
|
|
var createRoot;
|
|
|
|
var m$2 = reactDom.exports;
|
|
|
|
{
|
|
createRoot = m$2.createRoot;
|
|
m$2.hydrateRoot;
|
|
}
|
|
|
|
var reactIs$2 = {exports: {}};
|
|
|
|
var reactIs_production_min$1 = {};
|
|
|
|
/**
|
|
* @license React
|
|
* react-is.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
var b$2 = Symbol.for("react.element"),
|
|
c$1 = Symbol.for("react.portal"),
|
|
d$1 = Symbol.for("react.fragment"),
|
|
e$1 = Symbol.for("react.strict_mode"),
|
|
f$1 = Symbol.for("react.profiler"),
|
|
g$2 = Symbol.for("react.provider"),
|
|
h$1 = Symbol.for("react.context"),
|
|
k$2 = Symbol.for("react.server_context"),
|
|
l$1 = Symbol.for("react.forward_ref"),
|
|
m$1 = Symbol.for("react.suspense"),
|
|
n$1 = Symbol.for("react.suspense_list"),
|
|
p$1 = Symbol.for("react.memo"),
|
|
q$2 = Symbol.for("react.lazy"),
|
|
t$1 = Symbol.for("react.offscreen"),
|
|
u;
|
|
u = Symbol.for("react.module.reference");
|
|
|
|
function v$2(a) {
|
|
if ("object" === typeof a && null !== a) {
|
|
var r = a.$$typeof;
|
|
|
|
switch (r) {
|
|
case b$2:
|
|
switch (a = a.type, a) {
|
|
case d$1:
|
|
case f$1:
|
|
case e$1:
|
|
case m$1:
|
|
case n$1:
|
|
return a;
|
|
|
|
default:
|
|
switch (a = a && a.$$typeof, a) {
|
|
case k$2:
|
|
case h$1:
|
|
case l$1:
|
|
case q$2:
|
|
case p$1:
|
|
case g$2:
|
|
return a;
|
|
|
|
default:
|
|
return r;
|
|
}
|
|
|
|
}
|
|
|
|
case c$1:
|
|
return r;
|
|
}
|
|
}
|
|
}
|
|
|
|
reactIs_production_min$1.ContextConsumer = h$1;
|
|
reactIs_production_min$1.ContextProvider = g$2;
|
|
reactIs_production_min$1.Element = b$2;
|
|
reactIs_production_min$1.ForwardRef = l$1;
|
|
reactIs_production_min$1.Fragment = d$1;
|
|
reactIs_production_min$1.Lazy = q$2;
|
|
reactIs_production_min$1.Memo = p$1;
|
|
reactIs_production_min$1.Portal = c$1;
|
|
reactIs_production_min$1.Profiler = f$1;
|
|
reactIs_production_min$1.StrictMode = e$1;
|
|
reactIs_production_min$1.Suspense = m$1;
|
|
reactIs_production_min$1.SuspenseList = n$1;
|
|
|
|
reactIs_production_min$1.isAsyncMode = function () {
|
|
return !1;
|
|
};
|
|
|
|
reactIs_production_min$1.isConcurrentMode = function () {
|
|
return !1;
|
|
};
|
|
|
|
reactIs_production_min$1.isContextConsumer = function (a) {
|
|
return v$2(a) === h$1;
|
|
};
|
|
|
|
reactIs_production_min$1.isContextProvider = function (a) {
|
|
return v$2(a) === g$2;
|
|
};
|
|
|
|
reactIs_production_min$1.isElement = function (a) {
|
|
return "object" === typeof a && null !== a && a.$$typeof === b$2;
|
|
};
|
|
|
|
reactIs_production_min$1.isForwardRef = function (a) {
|
|
return v$2(a) === l$1;
|
|
};
|
|
|
|
reactIs_production_min$1.isFragment = function (a) {
|
|
return v$2(a) === d$1;
|
|
};
|
|
|
|
reactIs_production_min$1.isLazy = function (a) {
|
|
return v$2(a) === q$2;
|
|
};
|
|
|
|
reactIs_production_min$1.isMemo = function (a) {
|
|
return v$2(a) === p$1;
|
|
};
|
|
|
|
reactIs_production_min$1.isPortal = function (a) {
|
|
return v$2(a) === c$1;
|
|
};
|
|
|
|
reactIs_production_min$1.isProfiler = function (a) {
|
|
return v$2(a) === f$1;
|
|
};
|
|
|
|
reactIs_production_min$1.isStrictMode = function (a) {
|
|
return v$2(a) === e$1;
|
|
};
|
|
|
|
reactIs_production_min$1.isSuspense = function (a) {
|
|
return v$2(a) === m$1;
|
|
};
|
|
|
|
reactIs_production_min$1.isSuspenseList = function (a) {
|
|
return v$2(a) === n$1;
|
|
};
|
|
|
|
reactIs_production_min$1.isValidElementType = function (a) {
|
|
return "string" === typeof a || "function" === typeof a || a === d$1 || a === f$1 || a === e$1 || a === m$1 || a === n$1 || a === t$1 || "object" === typeof a && null !== a && (a.$$typeof === q$2 || a.$$typeof === p$1 || a.$$typeof === g$2 || a.$$typeof === h$1 || a.$$typeof === l$1 || a.$$typeof === u || void 0 !== a.getModuleId) ? !0 : !1;
|
|
};
|
|
|
|
reactIs_production_min$1.typeOf = v$2;
|
|
|
|
(function (module) {
|
|
|
|
{
|
|
module.exports = reactIs_production_min$1;
|
|
}
|
|
} (reactIs$2));
|
|
|
|
function stylis_min(W) {
|
|
function M(d, c, e, h, a) {
|
|
for (var m = 0, b = 0, v = 0, n = 0, q, g, x = 0, K = 0, k, u = k = q = 0, l = 0, r = 0, I = 0, t = 0, B = e.length, J = B - 1, y, f = '', p = '', F = '', G = '', C; l < B;) {
|
|
g = e.charCodeAt(l);
|
|
l === J && 0 !== b + n + v + m && (0 !== b && (g = 47 === b ? 10 : 47), n = v = m = 0, B++, J++);
|
|
|
|
if (0 === b + n + v + m) {
|
|
if (l === J && (0 < r && (f = f.replace(N, '')), 0 < f.trim().length)) {
|
|
switch (g) {
|
|
case 32:
|
|
case 9:
|
|
case 59:
|
|
case 13:
|
|
case 10:
|
|
break;
|
|
|
|
default:
|
|
f += e.charAt(l);
|
|
}
|
|
|
|
g = 59;
|
|
}
|
|
|
|
switch (g) {
|
|
case 123:
|
|
f = f.trim();
|
|
q = f.charCodeAt(0);
|
|
k = 1;
|
|
|
|
for (t = ++l; l < B;) {
|
|
switch (g = e.charCodeAt(l)) {
|
|
case 123:
|
|
k++;
|
|
break;
|
|
|
|
case 125:
|
|
k--;
|
|
break;
|
|
|
|
case 47:
|
|
switch (g = e.charCodeAt(l + 1)) {
|
|
case 42:
|
|
case 47:
|
|
a: {
|
|
for (u = l + 1; u < J; ++u) {
|
|
switch (e.charCodeAt(u)) {
|
|
case 47:
|
|
if (42 === g && 42 === e.charCodeAt(u - 1) && l + 2 !== u) {
|
|
l = u + 1;
|
|
break a;
|
|
}
|
|
|
|
break;
|
|
|
|
case 10:
|
|
if (47 === g) {
|
|
l = u + 1;
|
|
break a;
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
l = u;
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 91:
|
|
g++;
|
|
|
|
case 40:
|
|
g++;
|
|
|
|
case 34:
|
|
case 39:
|
|
for (; l++ < J && e.charCodeAt(l) !== g;) {}
|
|
|
|
}
|
|
|
|
if (0 === k) break;
|
|
l++;
|
|
}
|
|
|
|
k = e.substring(t, l);
|
|
0 === q && (q = (f = f.replace(ca, '').trim()).charCodeAt(0));
|
|
|
|
switch (q) {
|
|
case 64:
|
|
0 < r && (f = f.replace(N, ''));
|
|
g = f.charCodeAt(1);
|
|
|
|
switch (g) {
|
|
case 100:
|
|
case 109:
|
|
case 115:
|
|
case 45:
|
|
r = c;
|
|
break;
|
|
|
|
default:
|
|
r = O;
|
|
}
|
|
|
|
k = M(c, r, k, g, a + 1);
|
|
t = k.length;
|
|
0 < A && (r = X(O, f, I), C = H(3, k, r, c, D, z, t, g, a, h), f = r.join(''), void 0 !== C && 0 === (t = (k = C.trim()).length) && (g = 0, k = ''));
|
|
if (0 < t) switch (g) {
|
|
case 115:
|
|
f = f.replace(da, ea);
|
|
|
|
case 100:
|
|
case 109:
|
|
case 45:
|
|
k = f + '{' + k + '}';
|
|
break;
|
|
|
|
case 107:
|
|
f = f.replace(fa, '$1 $2');
|
|
k = f + '{' + k + '}';
|
|
k = 1 === w || 2 === w && L('@' + k, 3) ? '@-webkit-' + k + '@' + k : '@' + k;
|
|
break;
|
|
|
|
default:
|
|
k = f + k, 112 === h && (k = (p += k, ''));
|
|
} else k = '';
|
|
break;
|
|
|
|
default:
|
|
k = M(c, X(c, f, I), k, h, a + 1);
|
|
}
|
|
|
|
F += k;
|
|
k = I = r = u = q = 0;
|
|
f = '';
|
|
g = e.charCodeAt(++l);
|
|
break;
|
|
|
|
case 125:
|
|
case 59:
|
|
f = (0 < r ? f.replace(N, '') : f).trim();
|
|
if (1 < (t = f.length)) switch (0 === u && (q = f.charCodeAt(0), 45 === q || 96 < q && 123 > q) && (t = (f = f.replace(' ', ':')).length), 0 < A && void 0 !== (C = H(1, f, c, d, D, z, p.length, h, a, h)) && 0 === (t = (f = C.trim()).length) && (f = '\x00\x00'), q = f.charCodeAt(0), g = f.charCodeAt(1), q) {
|
|
case 0:
|
|
break;
|
|
|
|
case 64:
|
|
if (105 === g || 99 === g) {
|
|
G += f + e.charAt(l);
|
|
break;
|
|
}
|
|
|
|
default:
|
|
58 !== f.charCodeAt(t - 1) && (p += P(f, q, g, f.charCodeAt(2)));
|
|
}
|
|
I = r = u = q = 0;
|
|
f = '';
|
|
g = e.charCodeAt(++l);
|
|
}
|
|
}
|
|
|
|
switch (g) {
|
|
case 13:
|
|
case 10:
|
|
47 === b ? b = 0 : 0 === 1 + q && 107 !== h && 0 < f.length && (r = 1, f += '\x00');
|
|
0 < A * Y && H(0, f, c, d, D, z, p.length, h, a, h);
|
|
z = 1;
|
|
D++;
|
|
break;
|
|
|
|
case 59:
|
|
case 125:
|
|
if (0 === b + n + v + m) {
|
|
z++;
|
|
break;
|
|
}
|
|
|
|
default:
|
|
z++;
|
|
y = e.charAt(l);
|
|
|
|
switch (g) {
|
|
case 9:
|
|
case 32:
|
|
if (0 === n + m + b) switch (x) {
|
|
case 44:
|
|
case 58:
|
|
case 9:
|
|
case 32:
|
|
y = '';
|
|
break;
|
|
|
|
default:
|
|
32 !== g && (y = ' ');
|
|
}
|
|
break;
|
|
|
|
case 0:
|
|
y = '\\0';
|
|
break;
|
|
|
|
case 12:
|
|
y = '\\f';
|
|
break;
|
|
|
|
case 11:
|
|
y = '\\v';
|
|
break;
|
|
|
|
case 38:
|
|
0 === n + b + m && (r = I = 1, y = '\f' + y);
|
|
break;
|
|
|
|
case 108:
|
|
if (0 === n + b + m + E && 0 < u) switch (l - u) {
|
|
case 2:
|
|
112 === x && 58 === e.charCodeAt(l - 3) && (E = x);
|
|
|
|
case 8:
|
|
111 === K && (E = K);
|
|
}
|
|
break;
|
|
|
|
case 58:
|
|
0 === n + b + m && (u = l);
|
|
break;
|
|
|
|
case 44:
|
|
0 === b + v + n + m && (r = 1, y += '\r');
|
|
break;
|
|
|
|
case 34:
|
|
case 39:
|
|
0 === b && (n = n === g ? 0 : 0 === n ? g : n);
|
|
break;
|
|
|
|
case 91:
|
|
0 === n + b + v && m++;
|
|
break;
|
|
|
|
case 93:
|
|
0 === n + b + v && m--;
|
|
break;
|
|
|
|
case 41:
|
|
0 === n + b + m && v--;
|
|
break;
|
|
|
|
case 40:
|
|
if (0 === n + b + m) {
|
|
if (0 === q) switch (2 * x + 3 * K) {
|
|
case 533:
|
|
break;
|
|
|
|
default:
|
|
q = 1;
|
|
}
|
|
v++;
|
|
}
|
|
|
|
break;
|
|
|
|
case 64:
|
|
0 === b + v + n + m + u + k && (k = 1);
|
|
break;
|
|
|
|
case 42:
|
|
case 47:
|
|
if (!(0 < n + m + v)) switch (b) {
|
|
case 0:
|
|
switch (2 * g + 3 * e.charCodeAt(l + 1)) {
|
|
case 235:
|
|
b = 47;
|
|
break;
|
|
|
|
case 220:
|
|
t = l, b = 42;
|
|
}
|
|
|
|
break;
|
|
|
|
case 42:
|
|
47 === g && 42 === x && t + 2 !== l && (33 === e.charCodeAt(t + 2) && (p += e.substring(t, l + 1)), y = '', b = 0);
|
|
}
|
|
}
|
|
|
|
0 === b && (f += y);
|
|
}
|
|
|
|
K = x;
|
|
x = g;
|
|
l++;
|
|
}
|
|
|
|
t = p.length;
|
|
|
|
if (0 < t) {
|
|
r = c;
|
|
if (0 < A && (C = H(2, p, r, d, D, z, t, h, a, h), void 0 !== C && 0 === (p = C).length)) return G + p + F;
|
|
p = r.join(',') + '{' + p + '}';
|
|
|
|
if (0 !== w * E) {
|
|
2 !== w || L(p, 2) || (E = 0);
|
|
|
|
switch (E) {
|
|
case 111:
|
|
p = p.replace(ha, ':-moz-$1') + p;
|
|
break;
|
|
|
|
case 112:
|
|
p = p.replace(Q, '::-webkit-input-$1') + p.replace(Q, '::-moz-$1') + p.replace(Q, ':-ms-input-$1') + p;
|
|
}
|
|
|
|
E = 0;
|
|
}
|
|
}
|
|
|
|
return G + p + F;
|
|
}
|
|
|
|
function X(d, c, e) {
|
|
var h = c.trim().split(ia);
|
|
c = h;
|
|
var a = h.length,
|
|
m = d.length;
|
|
|
|
switch (m) {
|
|
case 0:
|
|
case 1:
|
|
var b = 0;
|
|
|
|
for (d = 0 === m ? '' : d[0] + ' '; b < a; ++b) {
|
|
c[b] = Z(d, c[b], e).trim();
|
|
}
|
|
|
|
break;
|
|
|
|
default:
|
|
var v = b = 0;
|
|
|
|
for (c = []; b < a; ++b) {
|
|
for (var n = 0; n < m; ++n) {
|
|
c[v++] = Z(d[n] + ' ', h[b], e).trim();
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
return c;
|
|
}
|
|
|
|
function Z(d, c, e) {
|
|
var h = c.charCodeAt(0);
|
|
33 > h && (h = (c = c.trim()).charCodeAt(0));
|
|
|
|
switch (h) {
|
|
case 38:
|
|
return c.replace(F, '$1' + d.trim());
|
|
|
|
case 58:
|
|
return d.trim() + c.replace(F, '$1' + d.trim());
|
|
|
|
default:
|
|
if (0 < 1 * e && 0 < c.indexOf('\f')) return c.replace(F, (58 === d.charCodeAt(0) ? '' : '$1') + d.trim());
|
|
}
|
|
|
|
return d + c;
|
|
}
|
|
|
|
function P(d, c, e, h) {
|
|
var a = d + ';',
|
|
m = 2 * c + 3 * e + 4 * h;
|
|
|
|
if (944 === m) {
|
|
d = a.indexOf(':', 9) + 1;
|
|
var b = a.substring(d, a.length - 1).trim();
|
|
b = a.substring(0, d).trim() + b + ';';
|
|
return 1 === w || 2 === w && L(b, 1) ? '-webkit-' + b + b : b;
|
|
}
|
|
|
|
if (0 === w || 2 === w && !L(a, 1)) return a;
|
|
|
|
switch (m) {
|
|
case 1015:
|
|
return 97 === a.charCodeAt(10) ? '-webkit-' + a + a : a;
|
|
|
|
case 951:
|
|
return 116 === a.charCodeAt(3) ? '-webkit-' + a + a : a;
|
|
|
|
case 963:
|
|
return 110 === a.charCodeAt(5) ? '-webkit-' + a + a : a;
|
|
|
|
case 1009:
|
|
if (100 !== a.charCodeAt(4)) break;
|
|
|
|
case 969:
|
|
case 942:
|
|
return '-webkit-' + a + a;
|
|
|
|
case 978:
|
|
return '-webkit-' + a + '-moz-' + a + a;
|
|
|
|
case 1019:
|
|
case 983:
|
|
return '-webkit-' + a + '-moz-' + a + '-ms-' + a + a;
|
|
|
|
case 883:
|
|
if (45 === a.charCodeAt(8)) return '-webkit-' + a + a;
|
|
if (0 < a.indexOf('image-set(', 11)) return a.replace(ja, '$1-webkit-$2') + a;
|
|
break;
|
|
|
|
case 932:
|
|
if (45 === a.charCodeAt(4)) switch (a.charCodeAt(5)) {
|
|
case 103:
|
|
return '-webkit-box-' + a.replace('-grow', '') + '-webkit-' + a + '-ms-' + a.replace('grow', 'positive') + a;
|
|
|
|
case 115:
|
|
return '-webkit-' + a + '-ms-' + a.replace('shrink', 'negative') + a;
|
|
|
|
case 98:
|
|
return '-webkit-' + a + '-ms-' + a.replace('basis', 'preferred-size') + a;
|
|
}
|
|
return '-webkit-' + a + '-ms-' + a + a;
|
|
|
|
case 964:
|
|
return '-webkit-' + a + '-ms-flex-' + a + a;
|
|
|
|
case 1023:
|
|
if (99 !== a.charCodeAt(8)) break;
|
|
b = a.substring(a.indexOf(':', 15)).replace('flex-', '').replace('space-between', 'justify');
|
|
return '-webkit-box-pack' + b + '-webkit-' + a + '-ms-flex-pack' + b + a;
|
|
|
|
case 1005:
|
|
return ka.test(a) ? a.replace(aa, ':-webkit-') + a.replace(aa, ':-moz-') + a : a;
|
|
|
|
case 1e3:
|
|
b = a.substring(13).trim();
|
|
c = b.indexOf('-') + 1;
|
|
|
|
switch (b.charCodeAt(0) + b.charCodeAt(c)) {
|
|
case 226:
|
|
b = a.replace(G, 'tb');
|
|
break;
|
|
|
|
case 232:
|
|
b = a.replace(G, 'tb-rl');
|
|
break;
|
|
|
|
case 220:
|
|
b = a.replace(G, 'lr');
|
|
break;
|
|
|
|
default:
|
|
return a;
|
|
}
|
|
|
|
return '-webkit-' + a + '-ms-' + b + a;
|
|
|
|
case 1017:
|
|
if (-1 === a.indexOf('sticky', 9)) break;
|
|
|
|
case 975:
|
|
c = (a = d).length - 10;
|
|
b = (33 === a.charCodeAt(c) ? a.substring(0, c) : a).substring(d.indexOf(':', 7) + 1).trim();
|
|
|
|
switch (m = b.charCodeAt(0) + (b.charCodeAt(7) | 0)) {
|
|
case 203:
|
|
if (111 > b.charCodeAt(8)) break;
|
|
|
|
case 115:
|
|
a = a.replace(b, '-webkit-' + b) + ';' + a;
|
|
break;
|
|
|
|
case 207:
|
|
case 102:
|
|
a = a.replace(b, '-webkit-' + (102 < m ? 'inline-' : '') + 'box') + ';' + a.replace(b, '-webkit-' + b) + ';' + a.replace(b, '-ms-' + b + 'box') + ';' + a;
|
|
}
|
|
|
|
return a + ';';
|
|
|
|
case 938:
|
|
if (45 === a.charCodeAt(5)) switch (a.charCodeAt(6)) {
|
|
case 105:
|
|
return b = a.replace('-items', ''), '-webkit-' + a + '-webkit-box-' + b + '-ms-flex-' + b + a;
|
|
|
|
case 115:
|
|
return '-webkit-' + a + '-ms-flex-item-' + a.replace(ba, '') + a;
|
|
|
|
default:
|
|
return '-webkit-' + a + '-ms-flex-line-pack' + a.replace('align-content', '').replace(ba, '') + a;
|
|
}
|
|
break;
|
|
|
|
case 973:
|
|
case 989:
|
|
if (45 !== a.charCodeAt(3) || 122 === a.charCodeAt(4)) break;
|
|
|
|
case 931:
|
|
case 953:
|
|
if (!0 === la.test(d)) return 115 === (b = d.substring(d.indexOf(':') + 1)).charCodeAt(0) ? P(d.replace('stretch', 'fill-available'), c, e, h).replace(':fill-available', ':stretch') : a.replace(b, '-webkit-' + b) + a.replace(b, '-moz-' + b.replace('fill-', '')) + a;
|
|
break;
|
|
|
|
case 962:
|
|
if (a = '-webkit-' + a + (102 === a.charCodeAt(5) ? '-ms-' + a : '') + a, 211 === e + h && 105 === a.charCodeAt(13) && 0 < a.indexOf('transform', 10)) return a.substring(0, a.indexOf(';', 27) + 1).replace(ma, '$1-webkit-$2') + a;
|
|
}
|
|
|
|
return a;
|
|
}
|
|
|
|
function L(d, c) {
|
|
var e = d.indexOf(1 === c ? ':' : '{'),
|
|
h = d.substring(0, 3 !== c ? e : 10);
|
|
e = d.substring(e + 1, d.length - 1);
|
|
return R(2 !== c ? h : h.replace(na, '$1'), e, c);
|
|
}
|
|
|
|
function ea(d, c) {
|
|
var e = P(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2));
|
|
return e !== c + ';' ? e.replace(oa, ' or ($1)').substring(4) : '(' + c + ')';
|
|
}
|
|
|
|
function H(d, c, e, h, a, m, b, v, n, q) {
|
|
for (var g = 0, x = c, w; g < A; ++g) {
|
|
switch (w = S[g].call(B, d, x, e, h, a, m, b, v, n, q)) {
|
|
case void 0:
|
|
case !1:
|
|
case !0:
|
|
case null:
|
|
break;
|
|
|
|
default:
|
|
x = w;
|
|
}
|
|
}
|
|
|
|
if (x !== c) return x;
|
|
}
|
|
|
|
function T(d) {
|
|
switch (d) {
|
|
case void 0:
|
|
case null:
|
|
A = S.length = 0;
|
|
break;
|
|
|
|
default:
|
|
if ('function' === typeof d) S[A++] = d;else if ('object' === typeof d) for (var c = 0, e = d.length; c < e; ++c) {
|
|
T(d[c]);
|
|
} else Y = !!d | 0;
|
|
}
|
|
|
|
return T;
|
|
}
|
|
|
|
function U(d) {
|
|
d = d.prefix;
|
|
void 0 !== d && (R = null, d ? 'function' !== typeof d ? w = 1 : (w = 2, R = d) : w = 0);
|
|
return U;
|
|
}
|
|
|
|
function B(d, c) {
|
|
var e = d;
|
|
33 > e.charCodeAt(0) && (e = e.trim());
|
|
V = e;
|
|
e = [V];
|
|
|
|
if (0 < A) {
|
|
var h = H(-1, c, e, e, D, z, 0, 0, 0, 0);
|
|
void 0 !== h && 'string' === typeof h && (c = h);
|
|
}
|
|
|
|
var a = M(O, e, c, 0, 0);
|
|
0 < A && (h = H(-2, a, e, e, D, z, a.length, 0, 0, 0), void 0 !== h && (a = h));
|
|
V = '';
|
|
E = 0;
|
|
z = D = 1;
|
|
return a;
|
|
}
|
|
|
|
var ca = /^\0+/g,
|
|
N = /[\0\r\f]/g,
|
|
aa = /: */g,
|
|
ka = /zoo|gra/,
|
|
ma = /([,: ])(transform)/g,
|
|
ia = /,\r+?/g,
|
|
F = /([\t\r\n ])*\f?&/g,
|
|
fa = /@(k\w+)\s*(\S*)\s*/,
|
|
Q = /::(place)/g,
|
|
ha = /:(read-only)/g,
|
|
G = /[svh]\w+-[tblr]{2}/,
|
|
da = /\(\s*(.*)\s*\)/g,
|
|
oa = /([\s\S]*?);/g,
|
|
ba = /-self|flex-/g,
|
|
na = /[^]*?(:[rp][el]a[\w-]+)[^]*/,
|
|
la = /stretch|:\s*\w+\-(?:conte|avail)/,
|
|
ja = /([^-])(image-set\()/,
|
|
z = 1,
|
|
D = 1,
|
|
E = 0,
|
|
w = 1,
|
|
O = [],
|
|
S = [],
|
|
A = 0,
|
|
R = null,
|
|
Y = 0,
|
|
V = '';
|
|
B.use = T;
|
|
B.set = U;
|
|
void 0 !== W && U(W);
|
|
return B;
|
|
}
|
|
|
|
var unitlessKeys = {
|
|
animationIterationCount: 1,
|
|
borderImageOutset: 1,
|
|
borderImageSlice: 1,
|
|
borderImageWidth: 1,
|
|
boxFlex: 1,
|
|
boxFlexGroup: 1,
|
|
boxOrdinalGroup: 1,
|
|
columnCount: 1,
|
|
columns: 1,
|
|
flex: 1,
|
|
flexGrow: 1,
|
|
flexPositive: 1,
|
|
flexShrink: 1,
|
|
flexNegative: 1,
|
|
flexOrder: 1,
|
|
gridRow: 1,
|
|
gridRowEnd: 1,
|
|
gridRowSpan: 1,
|
|
gridRowStart: 1,
|
|
gridColumn: 1,
|
|
gridColumnEnd: 1,
|
|
gridColumnSpan: 1,
|
|
gridColumnStart: 1,
|
|
msGridRow: 1,
|
|
msGridRowSpan: 1,
|
|
msGridColumn: 1,
|
|
msGridColumnSpan: 1,
|
|
fontWeight: 1,
|
|
lineHeight: 1,
|
|
opacity: 1,
|
|
order: 1,
|
|
orphans: 1,
|
|
tabSize: 1,
|
|
widows: 1,
|
|
zIndex: 1,
|
|
zoom: 1,
|
|
WebkitLineClamp: 1,
|
|
// SVG-related properties
|
|
fillOpacity: 1,
|
|
floodOpacity: 1,
|
|
stopOpacity: 1,
|
|
strokeDasharray: 1,
|
|
strokeDashoffset: 1,
|
|
strokeMiterlimit: 1,
|
|
strokeOpacity: 1,
|
|
strokeWidth: 1
|
|
};
|
|
|
|
function memoize(fn) {
|
|
var cache = Object.create(null);
|
|
return function (arg) {
|
|
if (cache[arg] === undefined) cache[arg] = fn(arg);
|
|
return cache[arg];
|
|
};
|
|
}
|
|
|
|
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
|
|
|
|
var isPropValid = /* #__PURE__ */memoize(function (prop) {
|
|
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
|
|
/* o */
|
|
&& prop.charCodeAt(1) === 110
|
|
/* n */
|
|
&& prop.charCodeAt(2) < 91;
|
|
}
|
|
/* Z+1 */
|
|
);
|
|
|
|
var reactIs$1 = {exports: {}};
|
|
|
|
var reactIs_production_min = {};
|
|
|
|
/** @license React v16.13.1
|
|
* react-is.production.min.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
var b$1 = "function" === typeof Symbol && Symbol.for,
|
|
c = b$1 ? Symbol.for("react.element") : 60103,
|
|
d = b$1 ? Symbol.for("react.portal") : 60106,
|
|
e = b$1 ? Symbol.for("react.fragment") : 60107,
|
|
f = b$1 ? Symbol.for("react.strict_mode") : 60108,
|
|
g$1 = b$1 ? Symbol.for("react.profiler") : 60114,
|
|
h = b$1 ? Symbol.for("react.provider") : 60109,
|
|
k$1 = b$1 ? Symbol.for("react.context") : 60110,
|
|
l = b$1 ? Symbol.for("react.async_mode") : 60111,
|
|
m = b$1 ? Symbol.for("react.concurrent_mode") : 60111,
|
|
n = b$1 ? Symbol.for("react.forward_ref") : 60112,
|
|
p = b$1 ? Symbol.for("react.suspense") : 60113,
|
|
q$1 = b$1 ? Symbol.for("react.suspense_list") : 60120,
|
|
r = b$1 ? Symbol.for("react.memo") : 60115,
|
|
t = b$1 ? Symbol.for("react.lazy") : 60116,
|
|
v$1 = b$1 ? Symbol.for("react.block") : 60121,
|
|
w$1 = b$1 ? Symbol.for("react.fundamental") : 60117,
|
|
x$1 = b$1 ? Symbol.for("react.responder") : 60118,
|
|
y$1 = b$1 ? Symbol.for("react.scope") : 60119;
|
|
|
|
function z$1(a) {
|
|
if ("object" === typeof a && null !== a) {
|
|
var u = a.$$typeof;
|
|
|
|
switch (u) {
|
|
case c:
|
|
switch (a = a.type, a) {
|
|
case l:
|
|
case m:
|
|
case e:
|
|
case g$1:
|
|
case f:
|
|
case p:
|
|
return a;
|
|
|
|
default:
|
|
switch (a = a && a.$$typeof, a) {
|
|
case k$1:
|
|
case n:
|
|
case t:
|
|
case r:
|
|
case h:
|
|
return a;
|
|
|
|
default:
|
|
return u;
|
|
}
|
|
|
|
}
|
|
|
|
case d:
|
|
return u;
|
|
}
|
|
}
|
|
}
|
|
|
|
function A(a) {
|
|
return z$1(a) === m;
|
|
}
|
|
|
|
reactIs_production_min.AsyncMode = l;
|
|
reactIs_production_min.ConcurrentMode = m;
|
|
reactIs_production_min.ContextConsumer = k$1;
|
|
reactIs_production_min.ContextProvider = h;
|
|
reactIs_production_min.Element = c;
|
|
reactIs_production_min.ForwardRef = n;
|
|
reactIs_production_min.Fragment = e;
|
|
reactIs_production_min.Lazy = t;
|
|
reactIs_production_min.Memo = r;
|
|
reactIs_production_min.Portal = d;
|
|
reactIs_production_min.Profiler = g$1;
|
|
reactIs_production_min.StrictMode = f;
|
|
reactIs_production_min.Suspense = p;
|
|
|
|
reactIs_production_min.isAsyncMode = function (a) {
|
|
return A(a) || z$1(a) === l;
|
|
};
|
|
|
|
reactIs_production_min.isConcurrentMode = A;
|
|
|
|
reactIs_production_min.isContextConsumer = function (a) {
|
|
return z$1(a) === k$1;
|
|
};
|
|
|
|
reactIs_production_min.isContextProvider = function (a) {
|
|
return z$1(a) === h;
|
|
};
|
|
|
|
reactIs_production_min.isElement = function (a) {
|
|
return "object" === typeof a && null !== a && a.$$typeof === c;
|
|
};
|
|
|
|
reactIs_production_min.isForwardRef = function (a) {
|
|
return z$1(a) === n;
|
|
};
|
|
|
|
reactIs_production_min.isFragment = function (a) {
|
|
return z$1(a) === e;
|
|
};
|
|
|
|
reactIs_production_min.isLazy = function (a) {
|
|
return z$1(a) === t;
|
|
};
|
|
|
|
reactIs_production_min.isMemo = function (a) {
|
|
return z$1(a) === r;
|
|
};
|
|
|
|
reactIs_production_min.isPortal = function (a) {
|
|
return z$1(a) === d;
|
|
};
|
|
|
|
reactIs_production_min.isProfiler = function (a) {
|
|
return z$1(a) === g$1;
|
|
};
|
|
|
|
reactIs_production_min.isStrictMode = function (a) {
|
|
return z$1(a) === f;
|
|
};
|
|
|
|
reactIs_production_min.isSuspense = function (a) {
|
|
return z$1(a) === p;
|
|
};
|
|
|
|
reactIs_production_min.isValidElementType = function (a) {
|
|
return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g$1 || a === f || a === p || a === q$1 || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k$1 || a.$$typeof === n || a.$$typeof === w$1 || a.$$typeof === x$1 || a.$$typeof === y$1 || a.$$typeof === v$1);
|
|
};
|
|
|
|
reactIs_production_min.typeOf = z$1;
|
|
|
|
(function (module) {
|
|
|
|
{
|
|
module.exports = reactIs_production_min;
|
|
}
|
|
} (reactIs$1));
|
|
|
|
var reactIs = reactIs$1.exports;
|
|
/**
|
|
* Copyright 2015, Yahoo! Inc.
|
|
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
|
|
*/
|
|
|
|
|
|
var REACT_STATICS = {
|
|
childContextTypes: true,
|
|
contextType: true,
|
|
contextTypes: true,
|
|
defaultProps: true,
|
|
displayName: true,
|
|
getDefaultProps: true,
|
|
getDerivedStateFromError: true,
|
|
getDerivedStateFromProps: true,
|
|
mixins: true,
|
|
propTypes: true,
|
|
type: true
|
|
};
|
|
var KNOWN_STATICS = {
|
|
name: true,
|
|
length: true,
|
|
prototype: true,
|
|
caller: true,
|
|
callee: true,
|
|
arguments: true,
|
|
arity: true
|
|
};
|
|
var FORWARD_REF_STATICS = {
|
|
'$$typeof': true,
|
|
render: true,
|
|
defaultProps: true,
|
|
displayName: true,
|
|
propTypes: true
|
|
};
|
|
var MEMO_STATICS = {
|
|
'$$typeof': true,
|
|
compare: true,
|
|
defaultProps: true,
|
|
displayName: true,
|
|
propTypes: true,
|
|
type: true
|
|
};
|
|
var TYPE_STATICS = {};
|
|
TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
|
|
TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
|
|
|
|
function getStatics(component) {
|
|
// React v16.11 and below
|
|
if (reactIs.isMemo(component)) {
|
|
return MEMO_STATICS;
|
|
} // React v16.12 and above
|
|
|
|
|
|
return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
|
|
}
|
|
|
|
var defineProperty = Object.defineProperty;
|
|
var getOwnPropertyNames = Object.getOwnPropertyNames;
|
|
var getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
var getPrototypeOf = Object.getPrototypeOf;
|
|
var objectPrototype = Object.prototype;
|
|
|
|
function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
|
if (typeof sourceComponent !== 'string') {
|
|
// don't hoist over string (html) components
|
|
if (objectPrototype) {
|
|
var inheritedComponent = getPrototypeOf(sourceComponent);
|
|
|
|
if (inheritedComponent && inheritedComponent !== objectPrototype) {
|
|
hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
|
|
}
|
|
}
|
|
|
|
var keys = getOwnPropertyNames(sourceComponent);
|
|
|
|
if (getOwnPropertySymbols) {
|
|
keys = keys.concat(getOwnPropertySymbols(sourceComponent));
|
|
}
|
|
|
|
var targetStatics = getStatics(targetComponent);
|
|
var sourceStatics = getStatics(sourceComponent);
|
|
|
|
for (var i = 0; i < keys.length; ++i) {
|
|
var key = keys[i];
|
|
|
|
if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
|
|
var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
|
|
|
|
try {
|
|
// Avoid failures from read-only properties
|
|
defineProperty(targetComponent, key, descriptor);
|
|
} catch (e) {}
|
|
}
|
|
}
|
|
}
|
|
|
|
return targetComponent;
|
|
}
|
|
|
|
var hoistNonReactStatics_cjs = hoistNonReactStatics;
|
|
|
|
function y() {
|
|
return (y = Object.assign || function (e) {
|
|
for (var t = 1; t < arguments.length; t++) {
|
|
var n = arguments[t];
|
|
|
|
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
}
|
|
|
|
return e;
|
|
}).apply(this, arguments);
|
|
}
|
|
|
|
var v = function (e, t) {
|
|
for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e[r + 1]);
|
|
|
|
return n;
|
|
},
|
|
g = function (t) {
|
|
return null !== t && "object" == typeof t && "[object Object]" === (t.toString ? t.toString() : Object.prototype.toString.call(t)) && !reactIs$2.exports.typeOf(t);
|
|
},
|
|
S = Object.freeze([]),
|
|
w = Object.freeze({});
|
|
|
|
function E(e) {
|
|
return "function" == typeof e;
|
|
}
|
|
|
|
function b(e) {
|
|
return e.displayName || e.name || "Component";
|
|
}
|
|
|
|
function _(e) {
|
|
return e && "string" == typeof e.styledComponentId;
|
|
}
|
|
|
|
var N = "undefined" != typeof process && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled",
|
|
C = "undefined" != typeof window && "HTMLElement" in window,
|
|
I = Boolean("boolean" == typeof SC_DISABLE_SPEEDY ? SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env.REACT_APP_SC_DISABLE_SPEEDY && "" !== process.env.REACT_APP_SC_DISABLE_SPEEDY ? "false" !== process.env.REACT_APP_SC_DISABLE_SPEEDY && process.env.REACT_APP_SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env.SC_DISABLE_SPEEDY && "" !== process.env.SC_DISABLE_SPEEDY ? "false" !== process.env.SC_DISABLE_SPEEDY && process.env.SC_DISABLE_SPEEDY : "production" !== "production");
|
|
|
|
function D(e) {
|
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
|
|
|
|
throw new Error("An error occurred. See https://git.io/JUIaE#" + e + " for more information." + (n.length > 0 ? " Args: " + n.join(", ") : "")) ;
|
|
}
|
|
|
|
var j = function () {
|
|
function e(e) {
|
|
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
|
|
}
|
|
|
|
var t = e.prototype;
|
|
return t.indexOfGroup = function (e) {
|
|
for (var t = 0, n = 0; n < e; n++) t += this.groupSizes[n];
|
|
|
|
return t;
|
|
}, t.insertRules = function (e, t) {
|
|
if (e >= this.groupSizes.length) {
|
|
for (var n = this.groupSizes, r = n.length, o = r; e >= o;) (o <<= 1) < 0 && D(16, "" + e);
|
|
|
|
this.groupSizes = new Uint32Array(o), this.groupSizes.set(n), this.length = o;
|
|
|
|
for (var s = r; s < o; s++) this.groupSizes[s] = 0;
|
|
}
|
|
|
|
for (var i = this.indexOfGroup(e + 1), a = 0, c = t.length; a < c; a++) this.tag.insertRule(i, t[a]) && (this.groupSizes[e]++, i++);
|
|
}, t.clearGroup = function (e) {
|
|
if (e < this.length) {
|
|
var t = this.groupSizes[e],
|
|
n = this.indexOfGroup(e),
|
|
r = n + t;
|
|
this.groupSizes[e] = 0;
|
|
|
|
for (var o = n; o < r; o++) this.tag.deleteRule(n);
|
|
}
|
|
}, t.getGroup = function (e) {
|
|
var t = "";
|
|
if (e >= this.length || 0 === this.groupSizes[e]) return t;
|
|
|
|
for (var n = this.groupSizes[e], r = this.indexOfGroup(e), o = r + n, s = r; s < o; s++) t += this.tag.getRule(s) + "/*!sc*/\n";
|
|
|
|
return t;
|
|
}, e;
|
|
}(),
|
|
T = new Map(),
|
|
x = new Map(),
|
|
k = 1,
|
|
V = function (e) {
|
|
if (T.has(e)) return T.get(e);
|
|
|
|
for (; x.has(k);) k++;
|
|
|
|
var t = k++;
|
|
return T.set(e, t), x.set(t, e), t;
|
|
},
|
|
z = function (e) {
|
|
return x.get(e);
|
|
},
|
|
B = function (e, t) {
|
|
t >= k && (k = t + 1), T.set(e, t), x.set(t, e);
|
|
},
|
|
M = "style[" + N + '][data-styled-version="5.3.5"]',
|
|
G = new RegExp("^" + N + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),
|
|
L = function (e, t, n) {
|
|
for (var r, o = n.split(","), s = 0, i = o.length; s < i; s++) (r = o[s]) && e.registerName(t, r);
|
|
},
|
|
F = function (e, t) {
|
|
for (var n = (t.textContent || "").split("/*!sc*/\n"), r = [], o = 0, s = n.length; o < s; o++) {
|
|
var i = n[o].trim();
|
|
|
|
if (i) {
|
|
var a = i.match(G);
|
|
|
|
if (a) {
|
|
var c = 0 | parseInt(a[1], 10),
|
|
u = a[2];
|
|
0 !== c && (B(u, c), L(e, u, a[3]), e.getTag().insertRules(c, r)), r.length = 0;
|
|
} else r.push(i);
|
|
}
|
|
}
|
|
},
|
|
Y = function () {
|
|
return "undefined" != typeof window && void 0 !== window.__webpack_nonce__ ? window.__webpack_nonce__ : null;
|
|
},
|
|
q = function (e) {
|
|
var t = document.head,
|
|
n = e || t,
|
|
r = document.createElement("style"),
|
|
o = function (e) {
|
|
for (var t = e.childNodes, n = t.length; n >= 0; n--) {
|
|
var r = t[n];
|
|
if (r && 1 === r.nodeType && r.hasAttribute(N)) return r;
|
|
}
|
|
}(n),
|
|
s = void 0 !== o ? o.nextSibling : null;
|
|
|
|
r.setAttribute(N, "active"), r.setAttribute("data-styled-version", "5.3.5");
|
|
var i = Y();
|
|
return i && r.setAttribute("nonce", i), n.insertBefore(r, s), r;
|
|
},
|
|
H = function () {
|
|
function e(e) {
|
|
var t = this.element = q(e);
|
|
t.appendChild(document.createTextNode("")), this.sheet = function (e) {
|
|
if (e.sheet) return e.sheet;
|
|
|
|
for (var t = document.styleSheets, n = 0, r = t.length; n < r; n++) {
|
|
var o = t[n];
|
|
if (o.ownerNode === e) return o;
|
|
}
|
|
|
|
D(17);
|
|
}(t), this.length = 0;
|
|
}
|
|
|
|
var t = e.prototype;
|
|
return t.insertRule = function (e, t) {
|
|
try {
|
|
return this.sheet.insertRule(t, e), this.length++, !0;
|
|
} catch (e) {
|
|
return !1;
|
|
}
|
|
}, t.deleteRule = function (e) {
|
|
this.sheet.deleteRule(e), this.length--;
|
|
}, t.getRule = function (e) {
|
|
var t = this.sheet.cssRules[e];
|
|
return void 0 !== t && "string" == typeof t.cssText ? t.cssText : "";
|
|
}, e;
|
|
}(),
|
|
$ = function () {
|
|
function e(e) {
|
|
var t = this.element = q(e);
|
|
this.nodes = t.childNodes, this.length = 0;
|
|
}
|
|
|
|
var t = e.prototype;
|
|
return t.insertRule = function (e, t) {
|
|
if (e <= this.length && e >= 0) {
|
|
var n = document.createTextNode(t),
|
|
r = this.nodes[e];
|
|
return this.element.insertBefore(n, r || null), this.length++, !0;
|
|
}
|
|
|
|
return !1;
|
|
}, t.deleteRule = function (e) {
|
|
this.element.removeChild(this.nodes[e]), this.length--;
|
|
}, t.getRule = function (e) {
|
|
return e < this.length ? this.nodes[e].textContent : "";
|
|
}, e;
|
|
}(),
|
|
W = function () {
|
|
function e(e) {
|
|
this.rules = [], this.length = 0;
|
|
}
|
|
|
|
var t = e.prototype;
|
|
return t.insertRule = function (e, t) {
|
|
return e <= this.length && (this.rules.splice(e, 0, t), this.length++, !0);
|
|
}, t.deleteRule = function (e) {
|
|
this.rules.splice(e, 1), this.length--;
|
|
}, t.getRule = function (e) {
|
|
return e < this.length ? this.rules[e] : "";
|
|
}, e;
|
|
}(),
|
|
U = C,
|
|
J = {
|
|
isServer: !C,
|
|
useCSSOMInjection: !I
|
|
},
|
|
X = function () {
|
|
function e(e, t, n) {
|
|
void 0 === e && (e = w), void 0 === t && (t = {}), this.options = y({}, J, {}, e), this.gs = t, this.names = new Map(n), this.server = !!e.isServer, !this.server && C && U && (U = !1, function (e) {
|
|
for (var t = document.querySelectorAll(M), n = 0, r = t.length; n < r; n++) {
|
|
var o = t[n];
|
|
o && "active" !== o.getAttribute(N) && (F(e, o), o.parentNode && o.parentNode.removeChild(o));
|
|
}
|
|
}(this));
|
|
}
|
|
|
|
e.registerId = function (e) {
|
|
return V(e);
|
|
};
|
|
|
|
var t = e.prototype;
|
|
return t.reconstructWithOptions = function (t, n) {
|
|
return void 0 === n && (n = !0), new e(y({}, this.options, {}, t), this.gs, n && this.names || void 0);
|
|
}, t.allocateGSInstance = function (e) {
|
|
return this.gs[e] = (this.gs[e] || 0) + 1;
|
|
}, t.getTag = function () {
|
|
return this.tag || (this.tag = (n = (t = this.options).isServer, r = t.useCSSOMInjection, o = t.target, e = n ? new W(o) : r ? new H(o) : new $(o), new j(e)));
|
|
var e, t, n, r, o;
|
|
}, t.hasNameForId = function (e, t) {
|
|
return this.names.has(e) && this.names.get(e).has(t);
|
|
}, t.registerName = function (e, t) {
|
|
if (V(e), this.names.has(e)) this.names.get(e).add(t);else {
|
|
var n = new Set();
|
|
n.add(t), this.names.set(e, n);
|
|
}
|
|
}, t.insertRules = function (e, t, n) {
|
|
this.registerName(e, t), this.getTag().insertRules(V(e), n);
|
|
}, t.clearNames = function (e) {
|
|
this.names.has(e) && this.names.get(e).clear();
|
|
}, t.clearRules = function (e) {
|
|
this.getTag().clearGroup(V(e)), this.clearNames(e);
|
|
}, t.clearTag = function () {
|
|
this.tag = void 0;
|
|
}, t.toString = function () {
|
|
return function (e) {
|
|
for (var t = e.getTag(), n = t.length, r = "", o = 0; o < n; o++) {
|
|
var s = z(o);
|
|
|
|
if (void 0 !== s) {
|
|
var i = e.names.get(s),
|
|
a = t.getGroup(o);
|
|
|
|
if (i && a && i.size) {
|
|
var c = N + ".g" + o + '[id="' + s + '"]',
|
|
u = "";
|
|
void 0 !== i && i.forEach(function (e) {
|
|
e.length > 0 && (u += e + ",");
|
|
}), r += "" + a + c + '{content:"' + u + '"}/*!sc*/\n';
|
|
}
|
|
}
|
|
}
|
|
|
|
return r;
|
|
}(this);
|
|
}, e;
|
|
}(),
|
|
Z = /(a)(d)/gi,
|
|
K = function (e) {
|
|
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
};
|
|
|
|
function Q(e) {
|
|
var t,
|
|
n = "";
|
|
|
|
for (t = Math.abs(e); t > 52; t = t / 52 | 0) n = K(t % 52) + n;
|
|
|
|
return (K(t % 52) + n).replace(Z, "$1-$2");
|
|
}
|
|
|
|
var ee = function (e, t) {
|
|
for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
|
|
|
|
return e;
|
|
},
|
|
te = function (e) {
|
|
return ee(5381, e);
|
|
};
|
|
|
|
function ne(e) {
|
|
for (var t = 0; t < e.length; t += 1) {
|
|
var n = e[t];
|
|
if (E(n) && !_(n)) return !1;
|
|
}
|
|
|
|
return !0;
|
|
}
|
|
|
|
var re = te("5.3.5"),
|
|
oe = function () {
|
|
function e(e, t, n) {
|
|
this.rules = e, this.staticRulesId = "", this.isStatic = (void 0 === n || n.isStatic) && ne(e), this.componentId = t, this.baseHash = ee(re, t), this.baseStyle = n, X.registerId(t);
|
|
}
|
|
|
|
return e.prototype.generateAndInjectStyles = function (e, t, n) {
|
|
var r = this.componentId,
|
|
o = [];
|
|
if (this.baseStyle && o.push(this.baseStyle.generateAndInjectStyles(e, t, n)), this.isStatic && !n.hash) {
|
|
if (this.staticRulesId && t.hasNameForId(r, this.staticRulesId)) o.push(this.staticRulesId);else {
|
|
var s = _e(this.rules, e, t, n).join(""),
|
|
i = Q(ee(this.baseHash, s) >>> 0);
|
|
|
|
if (!t.hasNameForId(r, i)) {
|
|
var a = n(s, "." + i, void 0, r);
|
|
t.insertRules(r, i, a);
|
|
}
|
|
|
|
o.push(i), this.staticRulesId = i;
|
|
}
|
|
} else {
|
|
for (var c = this.rules.length, u = ee(this.baseHash, n.hash), l = "", d = 0; d < c; d++) {
|
|
var h = this.rules[d];
|
|
if ("string" == typeof h) l += h;else if (h) {
|
|
var p = _e(h, e, t, n),
|
|
f = Array.isArray(p) ? p.join("") : p;
|
|
|
|
u = ee(u, f + d), l += f;
|
|
}
|
|
}
|
|
|
|
if (l) {
|
|
var m = Q(u >>> 0);
|
|
|
|
if (!t.hasNameForId(r, m)) {
|
|
var y = n(l, "." + m, void 0, r);
|
|
t.insertRules(r, m, y);
|
|
}
|
|
|
|
o.push(m);
|
|
}
|
|
}
|
|
return o.join(" ");
|
|
}, e;
|
|
}(),
|
|
se = /^\s*\/\/.*$/gm,
|
|
ie = [":", "[", ".", "#"];
|
|
|
|
function ae(e) {
|
|
var t,
|
|
n,
|
|
r,
|
|
o,
|
|
s = void 0 === e ? w : e,
|
|
i = s.options,
|
|
a = void 0 === i ? w : i,
|
|
c = s.plugins,
|
|
u = void 0 === c ? S : c,
|
|
l = new stylis_min(a),
|
|
d = [],
|
|
p = function (e) {
|
|
function t(t) {
|
|
if (t) try {
|
|
e(t + "}");
|
|
} catch (e) {}
|
|
}
|
|
|
|
return function (n, r, o, s, i, a, c, u, l, d) {
|
|
switch (n) {
|
|
case 1:
|
|
if (0 === l && 64 === r.charCodeAt(0)) return e(r + ";"), "";
|
|
break;
|
|
|
|
case 2:
|
|
if (0 === u) return r + "/*|*/";
|
|
break;
|
|
|
|
case 3:
|
|
switch (u) {
|
|
case 102:
|
|
case 112:
|
|
return e(o[0] + r), "";
|
|
|
|
default:
|
|
return r + (0 === d ? "/*|*/" : "");
|
|
}
|
|
|
|
case -2:
|
|
r.split("/*|*/}").forEach(t);
|
|
}
|
|
};
|
|
}(function (e) {
|
|
d.push(e);
|
|
}),
|
|
f = function (e, r, s) {
|
|
return 0 === r && -1 !== ie.indexOf(s[n.length]) || s.match(o) ? e : "." + t;
|
|
};
|
|
|
|
function m(e, s, i, a) {
|
|
void 0 === a && (a = "&");
|
|
var c = e.replace(se, ""),
|
|
u = s && i ? i + " " + s + " { " + c + " }" : c;
|
|
return t = a, n = s, r = new RegExp("\\" + n + "\\b", "g"), o = new RegExp("(\\" + n + "\\b){2,}"), l(i || !s ? "" : s, u);
|
|
}
|
|
|
|
return l.use([].concat(u, [function (e, t, o) {
|
|
2 === e && o.length && o[0].lastIndexOf(n) > 0 && (o[0] = o[0].replace(r, f));
|
|
}, p, function (e) {
|
|
if (-2 === e) {
|
|
var t = d;
|
|
return d = [], t;
|
|
}
|
|
}])), m.hash = u.length ? u.reduce(function (e, t) {
|
|
return t.name || D(15), ee(e, t.name);
|
|
}, 5381).toString() : "", m;
|
|
}
|
|
|
|
var ce = /*#__PURE__*/React.createContext();
|
|
ce.Consumer;
|
|
var le = /*#__PURE__*/React.createContext(),
|
|
de = (le.Consumer, new X()),
|
|
he = ae();
|
|
|
|
function pe() {
|
|
return react.exports.useContext(ce) || de;
|
|
}
|
|
|
|
function fe() {
|
|
return react.exports.useContext(le) || he;
|
|
}
|
|
|
|
var ye = function () {
|
|
function e(e, t) {
|
|
var n = this;
|
|
this.inject = function (e, t) {
|
|
void 0 === t && (t = he);
|
|
var r = n.name + t.hash;
|
|
e.hasNameForId(n.id, r) || e.insertRules(n.id, r, t(n.rules, r, "@keyframes"));
|
|
}, this.toString = function () {
|
|
return D(12, String(n.name));
|
|
}, this.name = e, this.id = "sc-keyframes-" + e, this.rules = t;
|
|
}
|
|
|
|
return e.prototype.getName = function (e) {
|
|
return void 0 === e && (e = he), this.name + e.hash;
|
|
}, e;
|
|
}(),
|
|
ve = /([A-Z])/,
|
|
ge = /([A-Z])/g,
|
|
Se = /^ms-/,
|
|
we = function (e) {
|
|
return "-" + e.toLowerCase();
|
|
};
|
|
|
|
function Ee(e) {
|
|
return ve.test(e) ? e.replace(ge, we).replace(Se, "-ms-") : e;
|
|
}
|
|
|
|
var be = function (e) {
|
|
return null == e || !1 === e || "" === e;
|
|
};
|
|
|
|
function _e(e, n, r, o) {
|
|
if (Array.isArray(e)) {
|
|
for (var s, i = [], a = 0, c = e.length; a < c; a += 1) "" !== (s = _e(e[a], n, r, o)) && (Array.isArray(s) ? i.push.apply(i, s) : i.push(s));
|
|
|
|
return i;
|
|
}
|
|
|
|
if (be(e)) return "";
|
|
if (_(e)) return "." + e.styledComponentId;
|
|
|
|
if (E(e)) {
|
|
if ("function" != typeof (l = e) || l.prototype && l.prototype.isReactComponent || !n) return e;
|
|
var u = e(n);
|
|
return _e(u, n, r, o);
|
|
}
|
|
|
|
var l;
|
|
return e instanceof ye ? r ? (e.inject(r, o), e.getName(o)) : e : g(e) ? function e(t, n) {
|
|
var r,
|
|
o,
|
|
s = [];
|
|
|
|
for (var i in t) t.hasOwnProperty(i) && !be(t[i]) && (Array.isArray(t[i]) && t[i].isCss || E(t[i]) ? s.push(Ee(i) + ":", t[i], ";") : g(t[i]) ? s.push.apply(s, e(t[i], i)) : s.push(Ee(i) + ": " + (r = i, null == (o = t[i]) || "boolean" == typeof o || "" === o ? "" : "number" != typeof o || 0 === o || r in unitlessKeys ? String(o).trim() : o + "px") + ";"));
|
|
|
|
return n ? [n + " {"].concat(s, ["}"]) : s;
|
|
}(e) : e.toString();
|
|
}
|
|
|
|
var Ne = function (e) {
|
|
return Array.isArray(e) && (e.isCss = !0), e;
|
|
};
|
|
|
|
function Ae(e) {
|
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
|
|
|
|
return E(e) || g(e) ? Ne(_e(v(S, [e].concat(n)))) : 0 === n.length && 1 === e.length && "string" == typeof e[0] ? e : Ne(_e(v(e, n)));
|
|
}
|
|
|
|
var Oe = function (e, t, n) {
|
|
return void 0 === n && (n = w), e.theme !== n.theme && e.theme || t || n.theme;
|
|
},
|
|
Re = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
|
|
De = /(^-|-$)/g;
|
|
|
|
function je(e) {
|
|
return e.replace(Re, "-").replace(De, "");
|
|
}
|
|
|
|
var Te = function (e) {
|
|
return Q(te(e) >>> 0);
|
|
};
|
|
|
|
function xe(e) {
|
|
return "string" == typeof e && ("production" === "production" );
|
|
}
|
|
|
|
var ke = function (e) {
|
|
return "function" == typeof e || "object" == typeof e && null !== e && !Array.isArray(e);
|
|
},
|
|
Ve = function (e) {
|
|
return "__proto__" !== e && "constructor" !== e && "prototype" !== e;
|
|
};
|
|
|
|
function ze(e, t, n) {
|
|
var r = e[n];
|
|
ke(t) && ke(r) ? Be(r, t) : e[n] = t;
|
|
}
|
|
|
|
function Be(e) {
|
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
|
|
|
|
for (var o = 0, s = n; o < s.length; o++) {
|
|
var i = s[o];
|
|
if (ke(i)) for (var a in i) Ve(a) && ze(e, i[a], a);
|
|
}
|
|
|
|
return e;
|
|
}
|
|
|
|
var Me = /*#__PURE__*/React.createContext();
|
|
Me.Consumer;
|
|
|
|
var Fe = {};
|
|
|
|
function Ye(e, t, n) {
|
|
var o = _(e),
|
|
i = !xe(e),
|
|
a = t.attrs,
|
|
c = void 0 === a ? S : a,
|
|
d = t.componentId,
|
|
h = void 0 === d ? function (e, t) {
|
|
var n = "string" != typeof e ? "sc" : je(e);
|
|
Fe[n] = (Fe[n] || 0) + 1;
|
|
var r = n + "-" + Te("5.3.5" + n + Fe[n]);
|
|
return t ? t + "-" + r : r;
|
|
}(t.displayName, t.parentComponentId) : d,
|
|
p = t.displayName,
|
|
v = void 0 === p ? function (e) {
|
|
return xe(e) ? "styled." + e : "Styled(" + b(e) + ")";
|
|
}(e) : p,
|
|
g = t.displayName && t.componentId ? je(t.displayName) + "-" + t.componentId : t.componentId || h,
|
|
N = o && e.attrs ? Array.prototype.concat(e.attrs, c).filter(Boolean) : c,
|
|
A = t.shouldForwardProp;
|
|
|
|
o && e.shouldForwardProp && (A = t.shouldForwardProp ? function (n, r, o) {
|
|
return e.shouldForwardProp(n, r, o) && t.shouldForwardProp(n, r, o);
|
|
} : e.shouldForwardProp);
|
|
|
|
var C,
|
|
I = new oe(n, g, o ? e.componentStyle : void 0),
|
|
P = I.isStatic && 0 === c.length,
|
|
O = function (e, t) {
|
|
return function (e, t, n, r) {
|
|
var o = e.attrs,
|
|
i = e.componentStyle,
|
|
a = e.defaultProps,
|
|
c = e.foldedComponentIds,
|
|
d = e.shouldForwardProp,
|
|
h = e.styledComponentId,
|
|
p = e.target;
|
|
|
|
var m = function (e, t, n) {
|
|
void 0 === e && (e = w);
|
|
var r = y({}, t, {
|
|
theme: e
|
|
}),
|
|
o = {};
|
|
return n.forEach(function (e) {
|
|
var t,
|
|
n,
|
|
s,
|
|
i = e;
|
|
|
|
for (t in E(i) && (i = i(r)), i) r[t] = o[t] = "className" === t ? (n = o[t], s = i[t], n && s ? n + " " + s : n || s) : i[t];
|
|
}), [r, o];
|
|
}(Oe(t, react.exports.useContext(Me), a) || w, t, o),
|
|
v = m[0],
|
|
g = m[1],
|
|
S = function (e, t, n, r) {
|
|
var o = pe(),
|
|
s = fe(),
|
|
i = t ? e.generateAndInjectStyles(w, o, s) : e.generateAndInjectStyles(n, o, s);
|
|
return i;
|
|
}(i, r, v),
|
|
b = n,
|
|
_ = g.$as || t.$as || g.as || t.as || p,
|
|
N = xe(_),
|
|
A = g !== t ? y({}, t, {}, g) : t,
|
|
C = {};
|
|
|
|
for (var I in A) "$" !== I[0] && "as" !== I && ("forwardedAs" === I ? C.as = A[I] : (d ? d(I, isPropValid, _) : !N || isPropValid(I)) && (C[I] = A[I]));
|
|
|
|
return t.style && g.style !== t.style && (C.style = y({}, t.style, {}, g.style)), C.className = Array.prototype.concat(c, h, S !== h ? S : null, t.className, g.className).filter(Boolean).join(" "), C.ref = b, /*#__PURE__*/react.exports.createElement(_, C);
|
|
}(C, e, t, P);
|
|
};
|
|
|
|
return O.displayName = v, (C = /*#__PURE__*/React.forwardRef(O)).attrs = N, C.componentStyle = I, C.displayName = v, C.shouldForwardProp = A, C.foldedComponentIds = o ? Array.prototype.concat(e.foldedComponentIds, e.styledComponentId) : S, C.styledComponentId = g, C.target = o ? e.target : e, C.withComponent = function (e) {
|
|
var r = t.componentId,
|
|
o = function (e, t) {
|
|
if (null == e) return {};
|
|
var n,
|
|
r,
|
|
o = {},
|
|
s = Object.keys(e);
|
|
|
|
for (r = 0; r < s.length; r++) n = s[r], t.indexOf(n) >= 0 || (o[n] = e[n]);
|
|
|
|
return o;
|
|
}(t, ["componentId"]),
|
|
s = r && r + "-" + (xe(e) ? e : je(b(e)));
|
|
|
|
return Ye(e, y({}, o, {
|
|
attrs: N,
|
|
componentId: s
|
|
}), n);
|
|
}, Object.defineProperty(C, "defaultProps", {
|
|
get: function () {
|
|
return this._foldedDefaultProps;
|
|
},
|
|
set: function (t) {
|
|
this._foldedDefaultProps = o ? Be({}, e.defaultProps, t) : t;
|
|
}
|
|
}), C.toString = function () {
|
|
return "." + C.styledComponentId;
|
|
}, i && hoistNonReactStatics_cjs(C, e, {
|
|
attrs: !0,
|
|
componentStyle: !0,
|
|
displayName: !0,
|
|
foldedComponentIds: !0,
|
|
shouldForwardProp: !0,
|
|
styledComponentId: !0,
|
|
target: !0,
|
|
withComponent: !0
|
|
}), C;
|
|
}
|
|
|
|
var qe = function (e) {
|
|
return function e(t, r, o) {
|
|
if (void 0 === o && (o = w), !reactIs$2.exports.isValidElementType(r)) return D(1, String(r));
|
|
|
|
var s = function () {
|
|
return t(r, o, Ae.apply(void 0, arguments));
|
|
};
|
|
|
|
return s.withConfig = function (n) {
|
|
return e(t, r, y({}, o, {}, n));
|
|
}, s.attrs = function (n) {
|
|
return e(t, r, y({}, o, {
|
|
attrs: Array.prototype.concat(o.attrs, n).filter(Boolean)
|
|
}));
|
|
}, s;
|
|
}(Ye, e);
|
|
};
|
|
|
|
["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "textPath", "tspan"].forEach(function (e) {
|
|
qe[e] = qe(e);
|
|
});
|
|
|
|
const WrapperStyling = qe.div`
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
`;
|
|
|
|
const ButtonStyling = qe.button`
|
|
--size: 1.5rem;
|
|
cursor: pointer;
|
|
border: 0;
|
|
background-image: url("/scripts/dist/toolbar/images/icon-desktop.svg");
|
|
background-repeat: no-repeat;
|
|
background-size: calc(var(--size) - 0.15rem);
|
|
background-position: center;
|
|
background-color: initial;
|
|
font-size: 1px;
|
|
color: rgba(0, 0, 0, 0);
|
|
line-height: 1;
|
|
display: block;
|
|
width: var(--size);
|
|
height: var(--size);
|
|
border-radius: 0.25rem;
|
|
outline: none;
|
|
|
|
&[data-mode='tablet'] {
|
|
background-image: url("/scripts/dist/toolbar/images/icon-tablet.svg");
|
|
}
|
|
|
|
&[data-mode='mobile'] {
|
|
background-image: url("/scripts/dist/toolbar/images/icon-mobile.svg");
|
|
}
|
|
|
|
&[data-mode='reset'] {
|
|
background-image: url("/scripts/dist/toolbar/images/icon-reset.svg");
|
|
}
|
|
|
|
&[data-active='true'] {
|
|
background-color: #CBD5E0;
|
|
}
|
|
`;
|
|
const ResponsiveOptionsDropdown = qe.ul`
|
|
list-style: none;
|
|
padding: 4px;
|
|
position: absolute;
|
|
background-color: white;
|
|
border: 1px solid rgba(0, 0, 0, 0.25);
|
|
box-shadow: 2px 2px 4px 0 #ccc;
|
|
border-radius: 4px;
|
|
transform: translateX(-50%);
|
|
left: 50%;
|
|
margin: 0.25rem 0 0;
|
|
|
|
li {
|
|
margin-bottom: 2px;
|
|
|
|
a {
|
|
display: block;
|
|
padding: 0.5rem 1rem;
|
|
cursor: pointer;
|
|
color: #14181F;
|
|
border-radius: 4px;
|
|
|
|
&:hover, &:focus {
|
|
background-color: #EDF2F7;
|
|
}
|
|
|
|
&.active {
|
|
background-color: #cbd5e0;
|
|
}
|
|
}
|
|
}
|
|
`;
|
|
const ResponsiveButtonStyle = qe.div`
|
|
position: relative;
|
|
`;
|
|
|
|
const responsiveOptions = {
|
|
desktop: [1920, 1800, 1680, 1440, 1360, 1280, 1024],
|
|
tablet: [992, 768, 600],
|
|
mobile: [480, 414, 375, 360]
|
|
};
|
|
const defaultResponsiveOptions = {
|
|
reset: '100%',
|
|
desktop: responsiveOptions.desktop[0],
|
|
tablet: responsiveOptions.tablet[1],
|
|
mobile: responsiveOptions.mobile[2]
|
|
};
|
|
function ResponsiveButton({
|
|
mode,
|
|
active,
|
|
onSelect
|
|
}) {
|
|
// active = true;
|
|
const [state, setState] = react.exports.useState({
|
|
open: true,
|
|
breakpoint: defaultResponsiveOptions[mode]
|
|
});
|
|
|
|
const updateState = update => {
|
|
// update.open = true;
|
|
setState(Object.assign({}, state, update));
|
|
};
|
|
|
|
react.exports.useEffect(() => {
|
|
const closeDropdown = e => isEscHit(e) ? updateState({
|
|
open: false
|
|
}) : null;
|
|
|
|
if (state.open) {
|
|
document.addEventListener("keydown", closeDropdown);
|
|
} // Unsubscribe from ESC listener.
|
|
|
|
|
|
return () => {
|
|
document.removeEventListener("keydown", closeDropdown);
|
|
};
|
|
}); // Blur event / Outside click
|
|
|
|
const outsideClickAction = async e => (await isClickOutside(e)) ? updateState({
|
|
open: false
|
|
}) : null;
|
|
|
|
const handleBlur = react.exports.useCallback(outsideClickAction, []);
|
|
return /*#__PURE__*/React.createElement(ResponsiveButtonStyle, {
|
|
tabIndex: "0",
|
|
onBlur: handleBlur
|
|
}, /*#__PURE__*/React.createElement(ButtonStyling, {
|
|
"data-mode": mode,
|
|
"data-active": active,
|
|
onClick: () => select()
|
|
}, mode), active && state.open && responsiveOptions[mode] && /*#__PURE__*/React.createElement(ResponsiveOptionsDropdown, null, responsiveOptions[mode].map(breakpoint => {
|
|
return /*#__PURE__*/React.createElement("li", null, /*#__PURE__*/React.createElement("a", {
|
|
className: state.breakpoint === breakpoint ? 'active' : '',
|
|
onClick: () => select(breakpoint)
|
|
}, breakpoint));
|
|
}))); //
|
|
// Actions
|
|
//
|
|
|
|
function select(breakpoint = null) {
|
|
// Click on option in Dropdown.
|
|
if (breakpoint) {
|
|
updateState({
|
|
open: false,
|
|
breakpoint
|
|
});
|
|
onSelect(breakpoint);
|
|
return;
|
|
} // Click on device button.
|
|
|
|
|
|
if (!active) {
|
|
onSelect(state.breakpoint);
|
|
updateState({
|
|
open: false
|
|
});
|
|
} else {
|
|
updateState({
|
|
open: true
|
|
});
|
|
}
|
|
}
|
|
}
|
|
async function isClickOutside(e) {
|
|
const currentTarget = e.currentTarget;
|
|
return new Promise(resolve => {
|
|
setTimeout(() => {
|
|
resolve(!currentTarget.contains(document.activeElement));
|
|
}, 100);
|
|
});
|
|
}
|
|
function isEscHit(event) {
|
|
return event.key === 'Escape';
|
|
}
|
|
|
|
// export function connectResponsiveness(rootAttributes) {
|
|
const modes = ['reset', 'desktop', 'tablet', 'mobile'];
|
|
|
|
function Responsive(props = {}) {
|
|
props.rootAttributes = props.rootAttributes ?? {};
|
|
const initialState = {
|
|
mode: 'default',
|
|
breakpoint: '100%'
|
|
};
|
|
const [state, setState] = react.exports.useState(initialState);
|
|
|
|
const updateState = update => setState(Object.assign({}, state, update));
|
|
|
|
react.exports.useEffect(() => {
|
|
// Update the document title using the browser API
|
|
updateController();
|
|
});
|
|
const previewFrame = props.rootAttributes.previewFrame;
|
|
return render(); //
|
|
// Functions
|
|
//
|
|
|
|
function render() {
|
|
return /*#__PURE__*/React.createElement(WrapperStyling, null, modes.map(mode => {
|
|
return /*#__PURE__*/React.createElement(ResponsiveButton, {
|
|
mode: mode,
|
|
active: isActive(mode),
|
|
onSelect: breakpoint => selectMode(mode, breakpoint)
|
|
});
|
|
}));
|
|
}
|
|
|
|
function selectMode(mode, breakpoint) {
|
|
if (mode === 'reset') {
|
|
updateState(initialState);
|
|
return;
|
|
}
|
|
|
|
updateState({
|
|
mode,
|
|
breakpoint
|
|
});
|
|
}
|
|
|
|
function isActive(mode) {
|
|
return mode === state.mode;
|
|
}
|
|
|
|
function updateController() {
|
|
const unit = typeof state.breakpoint === 'string' ? '' : 'px';
|
|
previewFrame.style.setProperty('--breakpoint', state.breakpoint + unit);
|
|
previewFrame.classList.add('has-breakpoint');
|
|
}
|
|
}
|
|
|
|
function setupResponsiveness(rootAttributes) {
|
|
// INIT
|
|
const wrapper = document.createElement('div');
|
|
document.querySelector('.page_toolbar').prepend(wrapper);
|
|
const root = createRoot(wrapper);
|
|
const html = /*#__PURE__*/React.createElement(Responsive, {
|
|
rootAttributes: rootAttributes
|
|
});
|
|
root.render(html);
|
|
}
|
|
|
|
const rootAttributes = {
|
|
previewFrame: document.getElementById('preview_frame')
|
|
};
|
|
setupResponsiveness(rootAttributes); // const responsiveness = connectResponsiveness(rootAttributes);
|
|
// setTimeout(() => responsiveness.selectMode('tablet'), 5000)
|
|
// setTimeout(() => responsiveness.selectMode('mobile'), 10000)
|
|
|
|
const previewFrame = rootAttributes.previewFrame;
|
|
initDataOptions();
|
|
/**
|
|
* Functions
|
|
*/
|
|
|
|
function initDataOptions() {
|
|
const dataOptionsSelect = document.getElementById('data-options');
|
|
|
|
if (!dataOptionsSelect) {
|
|
return;
|
|
}
|
|
|
|
dataOptionsSelect.addEventListener('change', function () {
|
|
previewFrame.src = window.previewFrameUrl + '?data=' + this.value;
|
|
});
|
|
}
|
|
//# sourceMappingURL=index.min.js.map
|
|
|