meticulous-ui 1.0.13 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/meticulous-ui.es.js +2660 -0
- package/package.json +6 -6
- package/dist/_virtual/jsx-runtime.js +0 -6
- package/dist/_virtual/jsx-runtime.js.map +0 -1
- package/dist/_virtual/jsx-runtime2.js +0 -5
- package/dist/_virtual/jsx-runtime2.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.development.js +0 -5
- package/dist/_virtual/react-jsx-runtime.development.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.production.min.js +0 -5
- package/dist/_virtual/react-jsx-runtime.production.min.js.map +0 -1
- package/dist/colors/amber.js +0 -20
- package/dist/colors/amber.js.map +0 -1
- package/dist/colors/black.js +0 -26
- package/dist/colors/black.js.map +0 -1
- package/dist/colors/blue.js +0 -20
- package/dist/colors/blue.js.map +0 -1
- package/dist/colors/blueGray.js +0 -16
- package/dist/colors/blueGray.js.map +0 -1
- package/dist/colors/brown.js +0 -16
- package/dist/colors/brown.js.map +0 -1
- package/dist/colors/cider.js +0 -16
- package/dist/colors/cider.js.map +0 -1
- package/dist/colors/cyan.js +0 -20
- package/dist/colors/cyan.js.map +0 -1
- package/dist/colors/deepOrange.js +0 -20
- package/dist/colors/deepOrange.js.map +0 -1
- package/dist/colors/deepPurple.js +0 -20
- package/dist/colors/deepPurple.js.map +0 -1
- package/dist/colors/green.js +0 -20
- package/dist/colors/green.js.map +0 -1
- package/dist/colors/grey.js +0 -16
- package/dist/colors/grey.js.map +0 -1
- package/dist/colors/index.js +0 -52
- package/dist/colors/index.js.map +0 -1
- package/dist/colors/indigo.js +0 -20
- package/dist/colors/indigo.js.map +0 -1
- package/dist/colors/lightBlue.js +0 -20
- package/dist/colors/lightBlue.js.map +0 -1
- package/dist/colors/lightGreen.js +0 -20
- package/dist/colors/lightGreen.js.map +0 -1
- package/dist/colors/lime.js +0 -20
- package/dist/colors/lime.js.map +0 -1
- package/dist/colors/orange.js +0 -20
- package/dist/colors/orange.js.map +0 -1
- package/dist/colors/pink.js +0 -20
- package/dist/colors/pink.js.map +0 -1
- package/dist/colors/purple.js +0 -20
- package/dist/colors/purple.js.map +0 -1
- package/dist/colors/red.js +0 -20
- package/dist/colors/red.js.map +0 -1
- package/dist/colors/teal.js +0 -20
- package/dist/colors/teal.js.map +0 -1
- package/dist/colors/violet.js +0 -20
- package/dist/colors/violet.js.map +0 -1
- package/dist/colors/white.js +0 -5
- package/dist/colors/white.js.map +0 -1
- package/dist/colors/yellow.js +0 -20
- package/dist/colors/yellow.js.map +0 -1
- package/dist/components/Icons/ChevronLeft/ChevronLeft.js +0 -25
- package/dist/components/Icons/ChevronLeft/ChevronLeft.js.map +0 -1
- package/dist/components/Icons/ChevronLeft/index.js +0 -5
- package/dist/components/Icons/ChevronLeft/index.js.map +0 -1
- package/dist/components/Icons/ChevronRight/ChevronRight.js +0 -25
- package/dist/components/Icons/ChevronRight/ChevronRight.js.map +0 -1
- package/dist/components/Icons/ChevronRight/index.js +0 -5
- package/dist/components/Icons/ChevronRight/index.js.map +0 -1
- package/dist/components/Pagination/Pagination.js +0 -48
- package/dist/components/Pagination/Pagination.js.map +0 -1
- package/dist/components/Pagination/constants.js +0 -25
- package/dist/components/Pagination/constants.js.map +0 -1
- package/dist/components/Pagination/helpers.js +0 -33
- package/dist/components/Pagination/helpers.js.map +0 -1
- package/dist/components/Pagination/styles.js +0 -71
- package/dist/components/Pagination/styles.js.map +0 -1
- package/dist/components/Ripple/Ripple.js +0 -27
- package/dist/components/Ripple/Ripple.js.map +0 -1
- package/dist/components/Ripple/index.js +0 -5
- package/dist/components/Ripple/index.js.map +0 -1
- package/dist/index.js +0 -11
- package/dist/index.js.map +0 -1
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +0 -11
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js.map +0 -1
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -10
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js.map +0 -1
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -53
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js.map +0 -1
- package/dist/node_modules/lodash-es/_Hash.js +0 -21
- package/dist/node_modules/lodash-es/_Hash.js.map +0 -1
- package/dist/node_modules/lodash-es/_ListCache.js +0 -21
- package/dist/node_modules/lodash-es/_ListCache.js.map +0 -1
- package/dist/node_modules/lodash-es/_Map.js +0 -7
- package/dist/node_modules/lodash-es/_Map.js.map +0 -1
- package/dist/node_modules/lodash-es/_MapCache.js +0 -21
- package/dist/node_modules/lodash-es/_MapCache.js.map +0 -1
- package/dist/node_modules/lodash-es/_Symbol.js +0 -6
- package/dist/node_modules/lodash-es/_Symbol.js.map +0 -1
- package/dist/node_modules/lodash-es/_arrayMap.js +0 -9
- package/dist/node_modules/lodash-es/_arrayMap.js.map +0 -1
- package/dist/node_modules/lodash-es/_assocIndexOf.js +0 -11
- package/dist/node_modules/lodash-es/_assocIndexOf.js.map +0 -1
- package/dist/node_modules/lodash-es/_baseGet.js +0 -12
- package/dist/node_modules/lodash-es/_baseGet.js.map +0 -1
- package/dist/node_modules/lodash-es/_baseGetTag.js +0 -11
- package/dist/node_modules/lodash-es/_baseGetTag.js.map +0 -1
- package/dist/node_modules/lodash-es/_baseIsNative.js +0 -17
- package/dist/node_modules/lodash-es/_baseIsNative.js.map +0 -1
- package/dist/node_modules/lodash-es/_baseRange.js +0 -10
- package/dist/node_modules/lodash-es/_baseRange.js.map +0 -1
- package/dist/node_modules/lodash-es/_baseToString.js +0 -19
- package/dist/node_modules/lodash-es/_baseToString.js.map +0 -1
- package/dist/node_modules/lodash-es/_baseTrim.js +0 -9
- package/dist/node_modules/lodash-es/_baseTrim.js.map +0 -1
- package/dist/node_modules/lodash-es/_castPath.js +0 -11
- package/dist/node_modules/lodash-es/_castPath.js.map +0 -1
- package/dist/node_modules/lodash-es/_coreJsData.js +0 -6
- package/dist/node_modules/lodash-es/_coreJsData.js.map +0 -1
- package/dist/node_modules/lodash-es/_createRange.js +0 -12
- package/dist/node_modules/lodash-es/_createRange.js.map +0 -1
- package/dist/node_modules/lodash-es/_freeGlobal.js +0 -5
- package/dist/node_modules/lodash-es/_freeGlobal.js.map +0 -1
- package/dist/node_modules/lodash-es/_getMapData.js +0 -9
- package/dist/node_modules/lodash-es/_getMapData.js.map +0 -1
- package/dist/node_modules/lodash-es/_getNative.js +0 -10
- package/dist/node_modules/lodash-es/_getNative.js.map +0 -1
- package/dist/node_modules/lodash-es/_getRawTag.js +0 -16
- package/dist/node_modules/lodash-es/_getRawTag.js.map +0 -1
- package/dist/node_modules/lodash-es/_getValue.js +0 -7
- package/dist/node_modules/lodash-es/_getValue.js.map +0 -1
- package/dist/node_modules/lodash-es/_hashClear.js +0 -8
- package/dist/node_modules/lodash-es/_hashClear.js.map +0 -1
- package/dist/node_modules/lodash-es/_hashDelete.js +0 -8
- package/dist/node_modules/lodash-es/_hashDelete.js.map +0 -1
- package/dist/node_modules/lodash-es/_hashGet.js +0 -14
- package/dist/node_modules/lodash-es/_hashGet.js.map +0 -1
- package/dist/node_modules/lodash-es/_hashHas.js +0 -10
- package/dist/node_modules/lodash-es/_hashHas.js.map +0 -1
- package/dist/node_modules/lodash-es/_hashSet.js +0 -10
- package/dist/node_modules/lodash-es/_hashSet.js.map +0 -1
- package/dist/node_modules/lodash-es/_isIndex.js +0 -9
- package/dist/node_modules/lodash-es/_isIndex.js.map +0 -1
- package/dist/node_modules/lodash-es/_isIterateeCall.js +0 -14
- package/dist/node_modules/lodash-es/_isIterateeCall.js.map +0 -1
- package/dist/node_modules/lodash-es/_isKey.js +0 -13
- package/dist/node_modules/lodash-es/_isKey.js.map +0 -1
- package/dist/node_modules/lodash-es/_isKeyable.js +0 -8
- package/dist/node_modules/lodash-es/_isKeyable.js.map +0 -1
- package/dist/node_modules/lodash-es/_isMasked.js +0 -12
- package/dist/node_modules/lodash-es/_isMasked.js.map +0 -1
- package/dist/node_modules/lodash-es/_listCacheClear.js +0 -7
- package/dist/node_modules/lodash-es/_listCacheClear.js.map +0 -1
- package/dist/node_modules/lodash-es/_listCacheDelete.js +0 -13
- package/dist/node_modules/lodash-es/_listCacheDelete.js.map +0 -1
- package/dist/node_modules/lodash-es/_listCacheGet.js +0 -9
- package/dist/node_modules/lodash-es/_listCacheGet.js.map +0 -1
- package/dist/node_modules/lodash-es/_listCacheHas.js +0 -8
- package/dist/node_modules/lodash-es/_listCacheHas.js.map +0 -1
- package/dist/node_modules/lodash-es/_listCacheSet.js +0 -9
- package/dist/node_modules/lodash-es/_listCacheSet.js.map +0 -1
- package/dist/node_modules/lodash-es/_mapCacheClear.js +0 -14
- package/dist/node_modules/lodash-es/_mapCacheClear.js.map +0 -1
- package/dist/node_modules/lodash-es/_mapCacheDelete.js +0 -9
- package/dist/node_modules/lodash-es/_mapCacheDelete.js.map +0 -1
- package/dist/node_modules/lodash-es/_mapCacheGet.js +0 -8
- package/dist/node_modules/lodash-es/_mapCacheGet.js.map +0 -1
- package/dist/node_modules/lodash-es/_mapCacheHas.js +0 -8
- package/dist/node_modules/lodash-es/_mapCacheHas.js.map +0 -1
- package/dist/node_modules/lodash-es/_mapCacheSet.js +0 -9
- package/dist/node_modules/lodash-es/_mapCacheSet.js.map +0 -1
- package/dist/node_modules/lodash-es/_memoizeCapped.js +0 -12
- package/dist/node_modules/lodash-es/_memoizeCapped.js.map +0 -1
- package/dist/node_modules/lodash-es/_nativeCreate.js +0 -6
- package/dist/node_modules/lodash-es/_nativeCreate.js.map +0 -1
- package/dist/node_modules/lodash-es/_objectToString.js +0 -8
- package/dist/node_modules/lodash-es/_objectToString.js.map +0 -1
- package/dist/node_modules/lodash-es/_root.js +0 -6
- package/dist/node_modules/lodash-es/_root.js.map +0 -1
- package/dist/node_modules/lodash-es/_stringToPath.js +0 -11
- package/dist/node_modules/lodash-es/_stringToPath.js.map +0 -1
- package/dist/node_modules/lodash-es/_toKey.js +0 -11
- package/dist/node_modules/lodash-es/_toKey.js.map +0 -1
- package/dist/node_modules/lodash-es/_toSource.js +0 -18
- package/dist/node_modules/lodash-es/_toSource.js.map +0 -1
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js +0 -10
- package/dist/node_modules/lodash-es/_trimmedEndIndex.js.map +0 -1
- package/dist/node_modules/lodash-es/eq.js +0 -7
- package/dist/node_modules/lodash-es/eq.js.map +0 -1
- package/dist/node_modules/lodash-es/get.js +0 -9
- package/dist/node_modules/lodash-es/get.js.map +0 -1
- package/dist/node_modules/lodash-es/isArray.js +0 -5
- package/dist/node_modules/lodash-es/isArray.js.map +0 -1
- package/dist/node_modules/lodash-es/isArrayLike.js +0 -9
- package/dist/node_modules/lodash-es/isArrayLike.js.map +0 -1
- package/dist/node_modules/lodash-es/isFunction.js +0 -13
- package/dist/node_modules/lodash-es/isFunction.js.map +0 -1
- package/dist/node_modules/lodash-es/isLength.js +0 -8
- package/dist/node_modules/lodash-es/isLength.js.map +0 -1
- package/dist/node_modules/lodash-es/isObject.js +0 -8
- package/dist/node_modules/lodash-es/isObject.js.map +0 -1
- package/dist/node_modules/lodash-es/isObjectLike.js +0 -7
- package/dist/node_modules/lodash-es/isObjectLike.js.map +0 -1
- package/dist/node_modules/lodash-es/isSymbol.js +0 -10
- package/dist/node_modules/lodash-es/isSymbol.js.map +0 -1
- package/dist/node_modules/lodash-es/memoize.js +0 -19
- package/dist/node_modules/lodash-es/memoize.js.map +0 -1
- package/dist/node_modules/lodash-es/range.js +0 -6
- package/dist/node_modules/lodash-es/range.js.map +0 -1
- package/dist/node_modules/lodash-es/toFinite.js +0 -15
- package/dist/node_modules/lodash-es/toFinite.js.map +0 -1
- package/dist/node_modules/lodash-es/toNumber.js +0 -23
- package/dist/node_modules/lodash-es/toNumber.js.map +0 -1
- package/dist/node_modules/lodash-es/toString.js +0 -8
- package/dist/node_modules/lodash-es/toString.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -605
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -29
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.js.map +0 -1
- package/dist/node_modules/react/jsx-runtime.js +0 -11
- package/dist/node_modules/react/jsx-runtime.js.map +0 -1
- package/dist/node_modules/styled-components/dist/styled-components.browser.esm.js +0 -573
- package/dist/node_modules/styled-components/dist/styled-components.browser.esm.js.map +0 -1
- package/dist/node_modules/stylis/src/Enum.js +0 -13
- package/dist/node_modules/stylis/src/Enum.js.map +0 -1
- package/dist/node_modules/stylis/src/Middleware.js +0 -50
- package/dist/node_modules/stylis/src/Middleware.js.map +0 -1
- package/dist/node_modules/stylis/src/Parser.js +0 -132
- package/dist/node_modules/stylis/src/Parser.js.map +0 -1
- package/dist/node_modules/stylis/src/Prefixer.js +0 -188
- package/dist/node_modules/stylis/src/Prefixer.js.map +0 -1
- package/dist/node_modules/stylis/src/Serializer.js +0 -28
- package/dist/node_modules/stylis/src/Serializer.js.map +0 -1
- package/dist/node_modules/stylis/src/Tokenizer.js +0 -148
- package/dist/node_modules/stylis/src/Tokenizer.js.map +0 -1
- package/dist/node_modules/stylis/src/Utility.js +0 -57
- package/dist/node_modules/stylis/src/Utility.js.map +0 -1
- package/dist/node_modules/tslib/tslib.es6.js +0 -19
- package/dist/node_modules/tslib/tslib.es6.js.map +0 -1
|
@@ -0,0 +1,2660 @@
|
|
|
1
|
+
import ge, { useRef as Zr, useDebugValue as Cr, createElement as io, useContext as so } from "react";
|
|
2
|
+
var Qe = { exports: {} }, ze = {};
|
|
3
|
+
/**
|
|
4
|
+
* @license React
|
|
5
|
+
* react-jsx-runtime.production.min.js
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
8
|
+
*
|
|
9
|
+
* This source code is licensed under the MIT license found in the
|
|
10
|
+
* LICENSE file in the root directory of this source tree.
|
|
11
|
+
*/
|
|
12
|
+
var _r;
|
|
13
|
+
function co() {
|
|
14
|
+
if (_r) return ze;
|
|
15
|
+
_r = 1;
|
|
16
|
+
var e = ge, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
|
+
function s(f, u, m) {
|
|
18
|
+
var d, h = {}, g = null, y = null;
|
|
19
|
+
m !== void 0 && (g = "" + m), u.key !== void 0 && (g = "" + u.key), u.ref !== void 0 && (y = u.ref);
|
|
20
|
+
for (d in u) n.call(u, d) && !i.hasOwnProperty(d) && (h[d] = u[d]);
|
|
21
|
+
if (f && f.defaultProps) for (d in u = f.defaultProps, u) h[d] === void 0 && (h[d] = u[d]);
|
|
22
|
+
return { $$typeof: t, type: f, key: g, ref: y, props: h, _owner: a.current };
|
|
23
|
+
}
|
|
24
|
+
return ze.Fragment = r, ze.jsx = s, ze.jsxs = s, ze;
|
|
25
|
+
}
|
|
26
|
+
var Ge = {};
|
|
27
|
+
/**
|
|
28
|
+
* @license React
|
|
29
|
+
* react-jsx-runtime.development.js
|
|
30
|
+
*
|
|
31
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
32
|
+
*
|
|
33
|
+
* This source code is licensed under the MIT license found in the
|
|
34
|
+
* LICENSE file in the root directory of this source tree.
|
|
35
|
+
*/
|
|
36
|
+
var Sr;
|
|
37
|
+
function uo() {
|
|
38
|
+
return Sr || (Sr = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
39
|
+
var e = ge, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), f = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), D = Symbol.iterator, I = "@@iterator";
|
|
40
|
+
function M(o) {
|
|
41
|
+
if (o === null || typeof o != "object")
|
|
42
|
+
return null;
|
|
43
|
+
var c = D && o[D] || o[I];
|
|
44
|
+
return typeof c == "function" ? c : null;
|
|
45
|
+
}
|
|
46
|
+
var A = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
|
+
function F(o) {
|
|
48
|
+
{
|
|
49
|
+
for (var c = arguments.length, l = new Array(c > 1 ? c - 1 : 0), p = 1; p < c; p++)
|
|
50
|
+
l[p - 1] = arguments[p];
|
|
51
|
+
R("error", o, l);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
function R(o, c, l) {
|
|
55
|
+
{
|
|
56
|
+
var p = A.ReactDebugCurrentFrame, _ = p.getStackAddendum();
|
|
57
|
+
_ !== "" && (c += "%s", l = l.concat([_]));
|
|
58
|
+
var x = l.map(function(C) {
|
|
59
|
+
return String(C);
|
|
60
|
+
});
|
|
61
|
+
x.unshift("Warning: " + c), Function.prototype.apply.call(console[o], console, x);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
var O = !1, P = !1, w = !1, v = !1, J = !1, ee;
|
|
65
|
+
ee = Symbol.for("react.module.reference");
|
|
66
|
+
function Ct(o) {
|
|
67
|
+
return !!(typeof o == "string" || typeof o == "function" || o === n || o === i || J || o === a || o === m || o === d || v || o === y || O || P || w || typeof o == "object" && o !== null && (o.$$typeof === g || o.$$typeof === h || o.$$typeof === s || o.$$typeof === f || o.$$typeof === u || // This needs to include all possible module reference object
|
|
68
|
+
// types supported by any Flight configuration anywhere since
|
|
69
|
+
// we don't know which Flight build this will end up being used
|
|
70
|
+
// with.
|
|
71
|
+
o.$$typeof === ee || o.getModuleId !== void 0));
|
|
72
|
+
}
|
|
73
|
+
function _t(o, c, l) {
|
|
74
|
+
var p = o.displayName;
|
|
75
|
+
if (p)
|
|
76
|
+
return p;
|
|
77
|
+
var _ = c.displayName || c.name || "";
|
|
78
|
+
return _ !== "" ? l + "(" + _ + ")" : l;
|
|
79
|
+
}
|
|
80
|
+
function Ke(o) {
|
|
81
|
+
return o.displayName || "Context";
|
|
82
|
+
}
|
|
83
|
+
function H(o) {
|
|
84
|
+
if (o == null)
|
|
85
|
+
return null;
|
|
86
|
+
if (typeof o.tag == "number" && F("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
|
|
87
|
+
return o.displayName || o.name || null;
|
|
88
|
+
if (typeof o == "string")
|
|
89
|
+
return o;
|
|
90
|
+
switch (o) {
|
|
91
|
+
case n:
|
|
92
|
+
return "Fragment";
|
|
93
|
+
case r:
|
|
94
|
+
return "Portal";
|
|
95
|
+
case i:
|
|
96
|
+
return "Profiler";
|
|
97
|
+
case a:
|
|
98
|
+
return "StrictMode";
|
|
99
|
+
case m:
|
|
100
|
+
return "Suspense";
|
|
101
|
+
case d:
|
|
102
|
+
return "SuspenseList";
|
|
103
|
+
}
|
|
104
|
+
if (typeof o == "object")
|
|
105
|
+
switch (o.$$typeof) {
|
|
106
|
+
case f:
|
|
107
|
+
var c = o;
|
|
108
|
+
return Ke(c) + ".Consumer";
|
|
109
|
+
case s:
|
|
110
|
+
var l = o;
|
|
111
|
+
return Ke(l._context) + ".Provider";
|
|
112
|
+
case u:
|
|
113
|
+
return _t(o, o.render, "ForwardRef");
|
|
114
|
+
case h:
|
|
115
|
+
var p = o.displayName || null;
|
|
116
|
+
return p !== null ? p : H(o.type) || "Memo";
|
|
117
|
+
case g: {
|
|
118
|
+
var _ = o, x = _._payload, C = _._init;
|
|
119
|
+
try {
|
|
120
|
+
return H(C(x));
|
|
121
|
+
} catch {
|
|
122
|
+
return null;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
return null;
|
|
127
|
+
}
|
|
128
|
+
var te = Object.assign, le = 0, Xe, Fe, Ne, U, ae, ie, L;
|
|
129
|
+
function be() {
|
|
130
|
+
}
|
|
131
|
+
be.__reactDisabledLog = !0;
|
|
132
|
+
function Me() {
|
|
133
|
+
{
|
|
134
|
+
if (le === 0) {
|
|
135
|
+
Xe = console.log, Fe = console.info, Ne = console.warn, U = console.error, ae = console.group, ie = console.groupCollapsed, L = console.groupEnd;
|
|
136
|
+
var o = {
|
|
137
|
+
configurable: !0,
|
|
138
|
+
enumerable: !0,
|
|
139
|
+
value: be,
|
|
140
|
+
writable: !0
|
|
141
|
+
};
|
|
142
|
+
Object.defineProperties(console, {
|
|
143
|
+
info: o,
|
|
144
|
+
log: o,
|
|
145
|
+
warn: o,
|
|
146
|
+
error: o,
|
|
147
|
+
group: o,
|
|
148
|
+
groupCollapsed: o,
|
|
149
|
+
groupEnd: o
|
|
150
|
+
});
|
|
151
|
+
}
|
|
152
|
+
le++;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
function we() {
|
|
156
|
+
{
|
|
157
|
+
if (le--, le === 0) {
|
|
158
|
+
var o = {
|
|
159
|
+
configurable: !0,
|
|
160
|
+
enumerable: !0,
|
|
161
|
+
writable: !0
|
|
162
|
+
};
|
|
163
|
+
Object.defineProperties(console, {
|
|
164
|
+
log: te({}, o, {
|
|
165
|
+
value: Xe
|
|
166
|
+
}),
|
|
167
|
+
info: te({}, o, {
|
|
168
|
+
value: Fe
|
|
169
|
+
}),
|
|
170
|
+
warn: te({}, o, {
|
|
171
|
+
value: Ne
|
|
172
|
+
}),
|
|
173
|
+
error: te({}, o, {
|
|
174
|
+
value: U
|
|
175
|
+
}),
|
|
176
|
+
group: te({}, o, {
|
|
177
|
+
value: ae
|
|
178
|
+
}),
|
|
179
|
+
groupCollapsed: te({}, o, {
|
|
180
|
+
value: ie
|
|
181
|
+
}),
|
|
182
|
+
groupEnd: te({}, o, {
|
|
183
|
+
value: L
|
|
184
|
+
})
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
le < 0 && F("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
var re = A.ReactCurrentDispatcher, se;
|
|
191
|
+
function q(o, c, l) {
|
|
192
|
+
{
|
|
193
|
+
if (se === void 0)
|
|
194
|
+
try {
|
|
195
|
+
throw Error();
|
|
196
|
+
} catch (_) {
|
|
197
|
+
var p = _.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
+
se = p && p[1] || "";
|
|
199
|
+
}
|
|
200
|
+
return `
|
|
201
|
+
` + se + o;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
var K = !1, ce;
|
|
205
|
+
{
|
|
206
|
+
var Ce = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
ce = new Ce();
|
|
208
|
+
}
|
|
209
|
+
function X(o, c) {
|
|
210
|
+
if (!o || K)
|
|
211
|
+
return "";
|
|
212
|
+
{
|
|
213
|
+
var l = ce.get(o);
|
|
214
|
+
if (l !== void 0)
|
|
215
|
+
return l;
|
|
216
|
+
}
|
|
217
|
+
var p;
|
|
218
|
+
K = !0;
|
|
219
|
+
var _ = Error.prepareStackTrace;
|
|
220
|
+
Error.prepareStackTrace = void 0;
|
|
221
|
+
var x;
|
|
222
|
+
x = re.current, re.current = null, Me();
|
|
223
|
+
try {
|
|
224
|
+
if (c) {
|
|
225
|
+
var C = function() {
|
|
226
|
+
throw Error();
|
|
227
|
+
};
|
|
228
|
+
if (Object.defineProperty(C.prototype, "props", {
|
|
229
|
+
set: function() {
|
|
230
|
+
throw Error();
|
|
231
|
+
}
|
|
232
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
233
|
+
try {
|
|
234
|
+
Reflect.construct(C, []);
|
|
235
|
+
} catch (G) {
|
|
236
|
+
p = G;
|
|
237
|
+
}
|
|
238
|
+
Reflect.construct(o, [], C);
|
|
239
|
+
} else {
|
|
240
|
+
try {
|
|
241
|
+
C.call();
|
|
242
|
+
} catch (G) {
|
|
243
|
+
p = G;
|
|
244
|
+
}
|
|
245
|
+
o.call(C.prototype);
|
|
246
|
+
}
|
|
247
|
+
} else {
|
|
248
|
+
try {
|
|
249
|
+
throw Error();
|
|
250
|
+
} catch (G) {
|
|
251
|
+
p = G;
|
|
252
|
+
}
|
|
253
|
+
o();
|
|
254
|
+
}
|
|
255
|
+
} catch (G) {
|
|
256
|
+
if (G && p && typeof G.stack == "string") {
|
|
257
|
+
for (var b = G.stack.split(`
|
|
258
|
+
`), z = p.stack.split(`
|
|
259
|
+
`), j = b.length - 1, B = z.length - 1; j >= 1 && B >= 0 && b[j] !== z[B]; )
|
|
260
|
+
B--;
|
|
261
|
+
for (; j >= 1 && B >= 0; j--, B--)
|
|
262
|
+
if (b[j] !== z[B]) {
|
|
263
|
+
if (j !== 1 || B !== 1)
|
|
264
|
+
do
|
|
265
|
+
if (j--, B--, B < 0 || b[j] !== z[B]) {
|
|
266
|
+
var Y = `
|
|
267
|
+
` + b[j].replace(" at new ", " at ");
|
|
268
|
+
return o.displayName && Y.includes("<anonymous>") && (Y = Y.replace("<anonymous>", o.displayName)), typeof o == "function" && ce.set(o, Y), Y;
|
|
269
|
+
}
|
|
270
|
+
while (j >= 1 && B >= 0);
|
|
271
|
+
break;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
} finally {
|
|
275
|
+
K = !1, re.current = x, we(), Error.prepareStackTrace = _;
|
|
276
|
+
}
|
|
277
|
+
var Se = o ? o.displayName || o.name : "", fe = Se ? q(Se) : "";
|
|
278
|
+
return typeof o == "function" && ce.set(o, fe), fe;
|
|
279
|
+
}
|
|
280
|
+
function Bn(o, c, l) {
|
|
281
|
+
return X(o, !1);
|
|
282
|
+
}
|
|
283
|
+
function $n(o) {
|
|
284
|
+
var c = o.prototype;
|
|
285
|
+
return !!(c && c.isReactComponent);
|
|
286
|
+
}
|
|
287
|
+
function Ze(o, c, l) {
|
|
288
|
+
if (o == null)
|
|
289
|
+
return "";
|
|
290
|
+
if (typeof o == "function")
|
|
291
|
+
return X(o, $n(o));
|
|
292
|
+
if (typeof o == "string")
|
|
293
|
+
return q(o);
|
|
294
|
+
switch (o) {
|
|
295
|
+
case m:
|
|
296
|
+
return q("Suspense");
|
|
297
|
+
case d:
|
|
298
|
+
return q("SuspenseList");
|
|
299
|
+
}
|
|
300
|
+
if (typeof o == "object")
|
|
301
|
+
switch (o.$$typeof) {
|
|
302
|
+
case u:
|
|
303
|
+
return Bn(o.render);
|
|
304
|
+
case h:
|
|
305
|
+
return Ze(o.type, c, l);
|
|
306
|
+
case g: {
|
|
307
|
+
var p = o, _ = p._payload, x = p._init;
|
|
308
|
+
try {
|
|
309
|
+
return Ze(x(_), c, l);
|
|
310
|
+
} catch {
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
return "";
|
|
315
|
+
}
|
|
316
|
+
var Le = Object.prototype.hasOwnProperty, ur = {}, lr = A.ReactDebugCurrentFrame;
|
|
317
|
+
function Je(o) {
|
|
318
|
+
if (o) {
|
|
319
|
+
var c = o._owner, l = Ze(o.type, o._source, c ? c.type : null);
|
|
320
|
+
lr.setExtraStackFrame(l);
|
|
321
|
+
} else
|
|
322
|
+
lr.setExtraStackFrame(null);
|
|
323
|
+
}
|
|
324
|
+
function Nn(o, c, l, p, _) {
|
|
325
|
+
{
|
|
326
|
+
var x = Function.call.bind(Le);
|
|
327
|
+
for (var C in o)
|
|
328
|
+
if (x(o, C)) {
|
|
329
|
+
var b = void 0;
|
|
330
|
+
try {
|
|
331
|
+
if (typeof o[C] != "function") {
|
|
332
|
+
var z = Error((p || "React class") + ": " + l + " type `" + C + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[C] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
333
|
+
throw z.name = "Invariant Violation", z;
|
|
334
|
+
}
|
|
335
|
+
b = o[C](c, C, p, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
|
+
} catch (j) {
|
|
337
|
+
b = j;
|
|
338
|
+
}
|
|
339
|
+
b && !(b instanceof Error) && (Je(_), F("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", l, C, typeof b), Je(null)), b instanceof Error && !(b.message in ur) && (ur[b.message] = !0, Je(_), F("Failed %s type: %s", l, b.message), Je(null));
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
var Mn = Array.isArray;
|
|
344
|
+
function St(o) {
|
|
345
|
+
return Mn(o);
|
|
346
|
+
}
|
|
347
|
+
function Ln(o) {
|
|
348
|
+
{
|
|
349
|
+
var c = typeof Symbol == "function" && Symbol.toStringTag, l = c && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
350
|
+
return l;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
function zn(o) {
|
|
354
|
+
try {
|
|
355
|
+
return fr(o), !1;
|
|
356
|
+
} catch {
|
|
357
|
+
return !0;
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
function fr(o) {
|
|
361
|
+
return "" + o;
|
|
362
|
+
}
|
|
363
|
+
function dr(o) {
|
|
364
|
+
if (zn(o))
|
|
365
|
+
return F("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ln(o)), fr(o);
|
|
366
|
+
}
|
|
367
|
+
var pr = A.ReactCurrentOwner, Gn = {
|
|
368
|
+
key: !0,
|
|
369
|
+
ref: !0,
|
|
370
|
+
__self: !0,
|
|
371
|
+
__source: !0
|
|
372
|
+
}, hr, mr;
|
|
373
|
+
function Vn(o) {
|
|
374
|
+
if (Le.call(o, "ref")) {
|
|
375
|
+
var c = Object.getOwnPropertyDescriptor(o, "ref").get;
|
|
376
|
+
if (c && c.isReactWarning)
|
|
377
|
+
return !1;
|
|
378
|
+
}
|
|
379
|
+
return o.ref !== void 0;
|
|
380
|
+
}
|
|
381
|
+
function Un(o) {
|
|
382
|
+
if (Le.call(o, "key")) {
|
|
383
|
+
var c = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
384
|
+
if (c && c.isReactWarning)
|
|
385
|
+
return !1;
|
|
386
|
+
}
|
|
387
|
+
return o.key !== void 0;
|
|
388
|
+
}
|
|
389
|
+
function Yn(o, c) {
|
|
390
|
+
typeof o.ref == "string" && pr.current;
|
|
391
|
+
}
|
|
392
|
+
function Wn(o, c) {
|
|
393
|
+
{
|
|
394
|
+
var l = function() {
|
|
395
|
+
hr || (hr = !0, F("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
|
|
396
|
+
};
|
|
397
|
+
l.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
398
|
+
get: l,
|
|
399
|
+
configurable: !0
|
|
400
|
+
});
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
function Hn(o, c) {
|
|
404
|
+
{
|
|
405
|
+
var l = function() {
|
|
406
|
+
mr || (mr = !0, F("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", c));
|
|
407
|
+
};
|
|
408
|
+
l.isReactWarning = !0, Object.defineProperty(o, "ref", {
|
|
409
|
+
get: l,
|
|
410
|
+
configurable: !0
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
var qn = function(o, c, l, p, _, x, C) {
|
|
415
|
+
var b = {
|
|
416
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
417
|
+
$$typeof: t,
|
|
418
|
+
// Built-in properties that belong on the element
|
|
419
|
+
type: o,
|
|
420
|
+
key: c,
|
|
421
|
+
ref: l,
|
|
422
|
+
props: C,
|
|
423
|
+
// Record the component responsible for creating this element.
|
|
424
|
+
_owner: x
|
|
425
|
+
};
|
|
426
|
+
return b._store = {}, Object.defineProperty(b._store, "validated", {
|
|
427
|
+
configurable: !1,
|
|
428
|
+
enumerable: !1,
|
|
429
|
+
writable: !0,
|
|
430
|
+
value: !1
|
|
431
|
+
}), Object.defineProperty(b, "_self", {
|
|
432
|
+
configurable: !1,
|
|
433
|
+
enumerable: !1,
|
|
434
|
+
writable: !1,
|
|
435
|
+
value: p
|
|
436
|
+
}), Object.defineProperty(b, "_source", {
|
|
437
|
+
configurable: !1,
|
|
438
|
+
enumerable: !1,
|
|
439
|
+
writable: !1,
|
|
440
|
+
value: _
|
|
441
|
+
}), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
|
|
442
|
+
};
|
|
443
|
+
function Kn(o, c, l, p, _) {
|
|
444
|
+
{
|
|
445
|
+
var x, C = {}, b = null, z = null;
|
|
446
|
+
l !== void 0 && (dr(l), b = "" + l), Un(c) && (dr(c.key), b = "" + c.key), Vn(c) && (z = c.ref, Yn(c, _));
|
|
447
|
+
for (x in c)
|
|
448
|
+
Le.call(c, x) && !Gn.hasOwnProperty(x) && (C[x] = c[x]);
|
|
449
|
+
if (o && o.defaultProps) {
|
|
450
|
+
var j = o.defaultProps;
|
|
451
|
+
for (x in j)
|
|
452
|
+
C[x] === void 0 && (C[x] = j[x]);
|
|
453
|
+
}
|
|
454
|
+
if (b || z) {
|
|
455
|
+
var B = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
456
|
+
b && Wn(C, B), z && Hn(C, B);
|
|
457
|
+
}
|
|
458
|
+
return qn(o, b, z, _, p, pr.current, C);
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
var At = A.ReactCurrentOwner, gr = A.ReactDebugCurrentFrame;
|
|
462
|
+
function _e(o) {
|
|
463
|
+
if (o) {
|
|
464
|
+
var c = o._owner, l = Ze(o.type, o._source, c ? c.type : null);
|
|
465
|
+
gr.setExtraStackFrame(l);
|
|
466
|
+
} else
|
|
467
|
+
gr.setExtraStackFrame(null);
|
|
468
|
+
}
|
|
469
|
+
var Rt;
|
|
470
|
+
Rt = !1;
|
|
471
|
+
function xt(o) {
|
|
472
|
+
return typeof o == "object" && o !== null && o.$$typeof === t;
|
|
473
|
+
}
|
|
474
|
+
function yr() {
|
|
475
|
+
{
|
|
476
|
+
if (At.current) {
|
|
477
|
+
var o = H(At.current.type);
|
|
478
|
+
if (o)
|
|
479
|
+
return `
|
|
480
|
+
|
|
481
|
+
Check the render method of \`` + o + "`.";
|
|
482
|
+
}
|
|
483
|
+
return "";
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
function Xn(o) {
|
|
487
|
+
return "";
|
|
488
|
+
}
|
|
489
|
+
var vr = {};
|
|
490
|
+
function Zn(o) {
|
|
491
|
+
{
|
|
492
|
+
var c = yr();
|
|
493
|
+
if (!c) {
|
|
494
|
+
var l = typeof o == "string" ? o : o.displayName || o.name;
|
|
495
|
+
l && (c = `
|
|
496
|
+
|
|
497
|
+
Check the top-level render call using <` + l + ">.");
|
|
498
|
+
}
|
|
499
|
+
return c;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
function Er(o, c) {
|
|
503
|
+
{
|
|
504
|
+
if (!o._store || o._store.validated || o.key != null)
|
|
505
|
+
return;
|
|
506
|
+
o._store.validated = !0;
|
|
507
|
+
var l = Zn(c);
|
|
508
|
+
if (vr[l])
|
|
509
|
+
return;
|
|
510
|
+
vr[l] = !0;
|
|
511
|
+
var p = "";
|
|
512
|
+
o && o._owner && o._owner !== At.current && (p = " It was passed a child from " + H(o._owner.type) + "."), _e(o), F('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, p), _e(null);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
function Fr(o, c) {
|
|
516
|
+
{
|
|
517
|
+
if (typeof o != "object")
|
|
518
|
+
return;
|
|
519
|
+
if (St(o))
|
|
520
|
+
for (var l = 0; l < o.length; l++) {
|
|
521
|
+
var p = o[l];
|
|
522
|
+
xt(p) && Er(p, c);
|
|
523
|
+
}
|
|
524
|
+
else if (xt(o))
|
|
525
|
+
o._store && (o._store.validated = !0);
|
|
526
|
+
else if (o) {
|
|
527
|
+
var _ = M(o);
|
|
528
|
+
if (typeof _ == "function" && _ !== o.entries)
|
|
529
|
+
for (var x = _.call(o), C; !(C = x.next()).done; )
|
|
530
|
+
xt(C.value) && Er(C.value, c);
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
function Jn(o) {
|
|
535
|
+
{
|
|
536
|
+
var c = o.type;
|
|
537
|
+
if (c == null || typeof c == "string")
|
|
538
|
+
return;
|
|
539
|
+
var l;
|
|
540
|
+
if (typeof c == "function")
|
|
541
|
+
l = c.propTypes;
|
|
542
|
+
else if (typeof c == "object" && (c.$$typeof === u || // Note: Memo only checks outer props here.
|
|
543
|
+
// Inner props are checked in the reconciler.
|
|
544
|
+
c.$$typeof === h))
|
|
545
|
+
l = c.propTypes;
|
|
546
|
+
else
|
|
547
|
+
return;
|
|
548
|
+
if (l) {
|
|
549
|
+
var p = H(c);
|
|
550
|
+
Nn(l, o.props, "prop", p, o);
|
|
551
|
+
} else if (c.PropTypes !== void 0 && !Rt) {
|
|
552
|
+
Rt = !0;
|
|
553
|
+
var _ = H(c);
|
|
554
|
+
F("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _ || "Unknown");
|
|
555
|
+
}
|
|
556
|
+
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && F("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
function Qn(o) {
|
|
560
|
+
{
|
|
561
|
+
for (var c = Object.keys(o.props), l = 0; l < c.length; l++) {
|
|
562
|
+
var p = c[l];
|
|
563
|
+
if (p !== "children" && p !== "key") {
|
|
564
|
+
_e(o), F("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), _e(null);
|
|
565
|
+
break;
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
o.ref !== null && (_e(o), F("Invalid attribute `ref` supplied to `React.Fragment`."), _e(null));
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
var br = {};
|
|
572
|
+
function wr(o, c, l, p, _, x) {
|
|
573
|
+
{
|
|
574
|
+
var C = Ct(o);
|
|
575
|
+
if (!C) {
|
|
576
|
+
var b = "";
|
|
577
|
+
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (b += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
578
|
+
var z = Xn();
|
|
579
|
+
z ? b += z : b += yr();
|
|
580
|
+
var j;
|
|
581
|
+
o === null ? j = "null" : St(o) ? j = "array" : o !== void 0 && o.$$typeof === t ? (j = "<" + (H(o.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : j = typeof o, F("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, b);
|
|
582
|
+
}
|
|
583
|
+
var B = Kn(o, c, l, _, x);
|
|
584
|
+
if (B == null)
|
|
585
|
+
return B;
|
|
586
|
+
if (C) {
|
|
587
|
+
var Y = c.children;
|
|
588
|
+
if (Y !== void 0)
|
|
589
|
+
if (p)
|
|
590
|
+
if (St(Y)) {
|
|
591
|
+
for (var Se = 0; Se < Y.length; Se++)
|
|
592
|
+
Fr(Y[Se], o);
|
|
593
|
+
Object.freeze && Object.freeze(Y);
|
|
594
|
+
} else
|
|
595
|
+
F("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
596
|
+
else
|
|
597
|
+
Fr(Y, o);
|
|
598
|
+
}
|
|
599
|
+
if (Le.call(c, "key")) {
|
|
600
|
+
var fe = H(o), G = Object.keys(c).filter(function(ao) {
|
|
601
|
+
return ao !== "key";
|
|
602
|
+
}), Dt = G.length > 0 ? "{key: someKey, " + G.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
|
+
if (!br[fe + Dt]) {
|
|
604
|
+
var oo = G.length > 0 ? "{" + G.join(": ..., ") + ": ...}" : "{}";
|
|
605
|
+
F(`A props object containing a "key" prop is being spread into JSX:
|
|
606
|
+
let props = %s;
|
|
607
|
+
<%s {...props} />
|
|
608
|
+
React keys must be passed directly to JSX without using spread:
|
|
609
|
+
let props = %s;
|
|
610
|
+
<%s key={someKey} {...props} />`, Dt, fe, oo, fe), br[fe + Dt] = !0;
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
return o === n ? Qn(B) : Jn(B), B;
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
function eo(o, c, l) {
|
|
617
|
+
return wr(o, c, l, !0);
|
|
618
|
+
}
|
|
619
|
+
function to(o, c, l) {
|
|
620
|
+
return wr(o, c, l, !1);
|
|
621
|
+
}
|
|
622
|
+
var ro = to, no = eo;
|
|
623
|
+
Ge.Fragment = n, Ge.jsx = ro, Ge.jsxs = no;
|
|
624
|
+
})()), Ge;
|
|
625
|
+
}
|
|
626
|
+
var Ar;
|
|
627
|
+
function lo() {
|
|
628
|
+
return Ar || (Ar = 1, process.env.NODE_ENV === "production" ? Qe.exports = co() : Qe.exports = uo()), Qe.exports;
|
|
629
|
+
}
|
|
630
|
+
var k = lo(), Qt = Array.isArray, fo = typeof global == "object" && global && global.Object === Object && global, po = typeof self == "object" && self && self.Object === Object && self, er = fo || po || Function("return this")(), xe = er.Symbol, Jr = Object.prototype, ho = Jr.hasOwnProperty, mo = Jr.toString, Ve = xe ? xe.toStringTag : void 0;
|
|
631
|
+
function go(e) {
|
|
632
|
+
var t = ho.call(e, Ve), r = e[Ve];
|
|
633
|
+
try {
|
|
634
|
+
e[Ve] = void 0;
|
|
635
|
+
var n = !0;
|
|
636
|
+
} catch {
|
|
637
|
+
}
|
|
638
|
+
var a = mo.call(e);
|
|
639
|
+
return n && (t ? e[Ve] = r : delete e[Ve]), a;
|
|
640
|
+
}
|
|
641
|
+
var yo = Object.prototype, vo = yo.toString;
|
|
642
|
+
function Eo(e) {
|
|
643
|
+
return vo.call(e);
|
|
644
|
+
}
|
|
645
|
+
var Fo = "[object Null]", bo = "[object Undefined]", Rr = xe ? xe.toStringTag : void 0;
|
|
646
|
+
function Qr(e) {
|
|
647
|
+
return e == null ? e === void 0 ? bo : Fo : Rr && Rr in Object(e) ? go(e) : Eo(e);
|
|
648
|
+
}
|
|
649
|
+
function wo(e) {
|
|
650
|
+
return e != null && typeof e == "object";
|
|
651
|
+
}
|
|
652
|
+
var Co = "[object Symbol]";
|
|
653
|
+
function pt(e) {
|
|
654
|
+
return typeof e == "symbol" || wo(e) && Qr(e) == Co;
|
|
655
|
+
}
|
|
656
|
+
var _o = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, So = /^\w*$/;
|
|
657
|
+
function Ao(e, t) {
|
|
658
|
+
if (Qt(e))
|
|
659
|
+
return !1;
|
|
660
|
+
var r = typeof e;
|
|
661
|
+
return r == "number" || r == "symbol" || r == "boolean" || e == null || pt(e) ? !0 : So.test(e) || !_o.test(e) || t != null && e in Object(t);
|
|
662
|
+
}
|
|
663
|
+
function We(e) {
|
|
664
|
+
var t = typeof e;
|
|
665
|
+
return e != null && (t == "object" || t == "function");
|
|
666
|
+
}
|
|
667
|
+
var Ro = "[object AsyncFunction]", xo = "[object Function]", Do = "[object GeneratorFunction]", Oo = "[object Proxy]";
|
|
668
|
+
function en(e) {
|
|
669
|
+
if (!We(e))
|
|
670
|
+
return !1;
|
|
671
|
+
var t = Qr(e);
|
|
672
|
+
return t == xo || t == Do || t == Ro || t == Oo;
|
|
673
|
+
}
|
|
674
|
+
var Ot = er["__core-js_shared__"], xr = (function() {
|
|
675
|
+
var e = /[^.]+$/.exec(Ot && Ot.keys && Ot.keys.IE_PROTO || "");
|
|
676
|
+
return e ? "Symbol(src)_1." + e : "";
|
|
677
|
+
})();
|
|
678
|
+
function To(e) {
|
|
679
|
+
return !!xr && xr in e;
|
|
680
|
+
}
|
|
681
|
+
var ko = Function.prototype, Po = ko.toString;
|
|
682
|
+
function Io(e) {
|
|
683
|
+
if (e != null) {
|
|
684
|
+
try {
|
|
685
|
+
return Po.call(e);
|
|
686
|
+
} catch {
|
|
687
|
+
}
|
|
688
|
+
try {
|
|
689
|
+
return e + "";
|
|
690
|
+
} catch {
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
return "";
|
|
694
|
+
}
|
|
695
|
+
var jo = /[\\^$.*+?()[\]{}|]/g, Bo = /^\[object .+?Constructor\]$/, $o = Function.prototype, No = Object.prototype, Mo = $o.toString, Lo = No.hasOwnProperty, zo = RegExp(
|
|
696
|
+
"^" + Mo.call(Lo).replace(jo, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
697
|
+
);
|
|
698
|
+
function Go(e) {
|
|
699
|
+
if (!We(e) || To(e))
|
|
700
|
+
return !1;
|
|
701
|
+
var t = en(e) ? zo : Bo;
|
|
702
|
+
return t.test(Io(e));
|
|
703
|
+
}
|
|
704
|
+
function Vo(e, t) {
|
|
705
|
+
return e?.[t];
|
|
706
|
+
}
|
|
707
|
+
function tn(e, t) {
|
|
708
|
+
var r = Vo(e, t);
|
|
709
|
+
return Go(r) ? r : void 0;
|
|
710
|
+
}
|
|
711
|
+
var He = tn(Object, "create");
|
|
712
|
+
function Uo() {
|
|
713
|
+
this.__data__ = He ? He(null) : {}, this.size = 0;
|
|
714
|
+
}
|
|
715
|
+
function Yo(e) {
|
|
716
|
+
var t = this.has(e) && delete this.__data__[e];
|
|
717
|
+
return this.size -= t ? 1 : 0, t;
|
|
718
|
+
}
|
|
719
|
+
var Wo = "__lodash_hash_undefined__", Ho = Object.prototype, qo = Ho.hasOwnProperty;
|
|
720
|
+
function Ko(e) {
|
|
721
|
+
var t = this.__data__;
|
|
722
|
+
if (He) {
|
|
723
|
+
var r = t[e];
|
|
724
|
+
return r === Wo ? void 0 : r;
|
|
725
|
+
}
|
|
726
|
+
return qo.call(t, e) ? t[e] : void 0;
|
|
727
|
+
}
|
|
728
|
+
var Xo = Object.prototype, Zo = Xo.hasOwnProperty;
|
|
729
|
+
function Jo(e) {
|
|
730
|
+
var t = this.__data__;
|
|
731
|
+
return He ? t[e] !== void 0 : Zo.call(t, e);
|
|
732
|
+
}
|
|
733
|
+
var Qo = "__lodash_hash_undefined__";
|
|
734
|
+
function ea(e, t) {
|
|
735
|
+
var r = this.__data__;
|
|
736
|
+
return this.size += this.has(e) ? 0 : 1, r[e] = He && t === void 0 ? Qo : t, this;
|
|
737
|
+
}
|
|
738
|
+
function ye(e) {
|
|
739
|
+
var t = -1, r = e == null ? 0 : e.length;
|
|
740
|
+
for (this.clear(); ++t < r; ) {
|
|
741
|
+
var n = e[t];
|
|
742
|
+
this.set(n[0], n[1]);
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
ye.prototype.clear = Uo;
|
|
746
|
+
ye.prototype.delete = Yo;
|
|
747
|
+
ye.prototype.get = Ko;
|
|
748
|
+
ye.prototype.has = Jo;
|
|
749
|
+
ye.prototype.set = ea;
|
|
750
|
+
function ta() {
|
|
751
|
+
this.__data__ = [], this.size = 0;
|
|
752
|
+
}
|
|
753
|
+
function rn(e, t) {
|
|
754
|
+
return e === t || e !== e && t !== t;
|
|
755
|
+
}
|
|
756
|
+
function ht(e, t) {
|
|
757
|
+
for (var r = e.length; r--; )
|
|
758
|
+
if (rn(e[r][0], t))
|
|
759
|
+
return r;
|
|
760
|
+
return -1;
|
|
761
|
+
}
|
|
762
|
+
var ra = Array.prototype, na = ra.splice;
|
|
763
|
+
function oa(e) {
|
|
764
|
+
var t = this.__data__, r = ht(t, e);
|
|
765
|
+
if (r < 0)
|
|
766
|
+
return !1;
|
|
767
|
+
var n = t.length - 1;
|
|
768
|
+
return r == n ? t.pop() : na.call(t, r, 1), --this.size, !0;
|
|
769
|
+
}
|
|
770
|
+
function aa(e) {
|
|
771
|
+
var t = this.__data__, r = ht(t, e);
|
|
772
|
+
return r < 0 ? void 0 : t[r][1];
|
|
773
|
+
}
|
|
774
|
+
function ia(e) {
|
|
775
|
+
return ht(this.__data__, e) > -1;
|
|
776
|
+
}
|
|
777
|
+
function sa(e, t) {
|
|
778
|
+
var r = this.__data__, n = ht(r, e);
|
|
779
|
+
return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
|
|
780
|
+
}
|
|
781
|
+
function je(e) {
|
|
782
|
+
var t = -1, r = e == null ? 0 : e.length;
|
|
783
|
+
for (this.clear(); ++t < r; ) {
|
|
784
|
+
var n = e[t];
|
|
785
|
+
this.set(n[0], n[1]);
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
je.prototype.clear = ta;
|
|
789
|
+
je.prototype.delete = oa;
|
|
790
|
+
je.prototype.get = aa;
|
|
791
|
+
je.prototype.has = ia;
|
|
792
|
+
je.prototype.set = sa;
|
|
793
|
+
var ca = tn(er, "Map");
|
|
794
|
+
function ua() {
|
|
795
|
+
this.size = 0, this.__data__ = {
|
|
796
|
+
hash: new ye(),
|
|
797
|
+
map: new (ca || je)(),
|
|
798
|
+
string: new ye()
|
|
799
|
+
};
|
|
800
|
+
}
|
|
801
|
+
function la(e) {
|
|
802
|
+
var t = typeof e;
|
|
803
|
+
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
804
|
+
}
|
|
805
|
+
function mt(e, t) {
|
|
806
|
+
var r = e.__data__;
|
|
807
|
+
return la(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
|
|
808
|
+
}
|
|
809
|
+
function fa(e) {
|
|
810
|
+
var t = mt(this, e).delete(e);
|
|
811
|
+
return this.size -= t ? 1 : 0, t;
|
|
812
|
+
}
|
|
813
|
+
function da(e) {
|
|
814
|
+
return mt(this, e).get(e);
|
|
815
|
+
}
|
|
816
|
+
function pa(e) {
|
|
817
|
+
return mt(this, e).has(e);
|
|
818
|
+
}
|
|
819
|
+
function ha(e, t) {
|
|
820
|
+
var r = mt(this, e), n = r.size;
|
|
821
|
+
return r.set(e, t), this.size += r.size == n ? 0 : 1, this;
|
|
822
|
+
}
|
|
823
|
+
function Ee(e) {
|
|
824
|
+
var t = -1, r = e == null ? 0 : e.length;
|
|
825
|
+
for (this.clear(); ++t < r; ) {
|
|
826
|
+
var n = e[t];
|
|
827
|
+
this.set(n[0], n[1]);
|
|
828
|
+
}
|
|
829
|
+
}
|
|
830
|
+
Ee.prototype.clear = ua;
|
|
831
|
+
Ee.prototype.delete = fa;
|
|
832
|
+
Ee.prototype.get = da;
|
|
833
|
+
Ee.prototype.has = pa;
|
|
834
|
+
Ee.prototype.set = ha;
|
|
835
|
+
var ma = "Expected a function";
|
|
836
|
+
function tr(e, t) {
|
|
837
|
+
if (typeof e != "function" || t != null && typeof t != "function")
|
|
838
|
+
throw new TypeError(ma);
|
|
839
|
+
var r = function() {
|
|
840
|
+
var n = arguments, a = t ? t.apply(this, n) : n[0], i = r.cache;
|
|
841
|
+
if (i.has(a))
|
|
842
|
+
return i.get(a);
|
|
843
|
+
var s = e.apply(this, n);
|
|
844
|
+
return r.cache = i.set(a, s) || i, s;
|
|
845
|
+
};
|
|
846
|
+
return r.cache = new (tr.Cache || Ee)(), r;
|
|
847
|
+
}
|
|
848
|
+
tr.Cache = Ee;
|
|
849
|
+
var ga = 500;
|
|
850
|
+
function ya(e) {
|
|
851
|
+
var t = tr(e, function(n) {
|
|
852
|
+
return r.size === ga && r.clear(), n;
|
|
853
|
+
}), r = t.cache;
|
|
854
|
+
return t;
|
|
855
|
+
}
|
|
856
|
+
var va = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Ea = /\\(\\)?/g, Fa = ya(function(e) {
|
|
857
|
+
var t = [];
|
|
858
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(va, function(r, n, a, i) {
|
|
859
|
+
t.push(a ? i.replace(Ea, "$1") : n || r);
|
|
860
|
+
}), t;
|
|
861
|
+
});
|
|
862
|
+
function ba(e, t) {
|
|
863
|
+
for (var r = -1, n = e == null ? 0 : e.length, a = Array(n); ++r < n; )
|
|
864
|
+
a[r] = t(e[r], r, e);
|
|
865
|
+
return a;
|
|
866
|
+
}
|
|
867
|
+
var Dr = xe ? xe.prototype : void 0, Or = Dr ? Dr.toString : void 0;
|
|
868
|
+
function nn(e) {
|
|
869
|
+
if (typeof e == "string")
|
|
870
|
+
return e;
|
|
871
|
+
if (Qt(e))
|
|
872
|
+
return ba(e, nn) + "";
|
|
873
|
+
if (pt(e))
|
|
874
|
+
return Or ? Or.call(e) : "";
|
|
875
|
+
var t = e + "";
|
|
876
|
+
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
877
|
+
}
|
|
878
|
+
function wa(e) {
|
|
879
|
+
return e == null ? "" : nn(e);
|
|
880
|
+
}
|
|
881
|
+
function Ca(e, t) {
|
|
882
|
+
return Qt(e) ? e : Ao(e, t) ? [e] : Fa(wa(e));
|
|
883
|
+
}
|
|
884
|
+
function _a(e) {
|
|
885
|
+
if (typeof e == "string" || pt(e))
|
|
886
|
+
return e;
|
|
887
|
+
var t = e + "";
|
|
888
|
+
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
889
|
+
}
|
|
890
|
+
function Sa(e, t) {
|
|
891
|
+
t = Ca(t, e);
|
|
892
|
+
for (var r = 0, n = t.length; e != null && r < n; )
|
|
893
|
+
e = e[_a(t[r++])];
|
|
894
|
+
return r && r == n ? e : void 0;
|
|
895
|
+
}
|
|
896
|
+
function Aa(e, t, r) {
|
|
897
|
+
var n = e == null ? void 0 : Sa(e, t);
|
|
898
|
+
return n === void 0 ? r : n;
|
|
899
|
+
}
|
|
900
|
+
var Ra = Math.ceil, xa = Math.max;
|
|
901
|
+
function Da(e, t, r, n) {
|
|
902
|
+
for (var a = -1, i = xa(Ra((t - e) / (r || 1)), 0), s = Array(i); i--; )
|
|
903
|
+
s[++a] = e, e += r;
|
|
904
|
+
return s;
|
|
905
|
+
}
|
|
906
|
+
var Oa = 9007199254740991;
|
|
907
|
+
function Ta(e) {
|
|
908
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Oa;
|
|
909
|
+
}
|
|
910
|
+
function ka(e) {
|
|
911
|
+
return e != null && Ta(e.length) && !en(e);
|
|
912
|
+
}
|
|
913
|
+
var Pa = 9007199254740991, Ia = /^(?:0|[1-9]\d*)$/;
|
|
914
|
+
function ja(e, t) {
|
|
915
|
+
var r = typeof e;
|
|
916
|
+
return t = t ?? Pa, !!t && (r == "number" || r != "symbol" && Ia.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
917
|
+
}
|
|
918
|
+
function Ba(e, t, r) {
|
|
919
|
+
if (!We(r))
|
|
920
|
+
return !1;
|
|
921
|
+
var n = typeof t;
|
|
922
|
+
return (n == "number" ? ka(r) && ja(t, r.length) : n == "string" && t in r) ? rn(r[t], e) : !1;
|
|
923
|
+
}
|
|
924
|
+
var $a = /\s/;
|
|
925
|
+
function Na(e) {
|
|
926
|
+
for (var t = e.length; t-- && $a.test(e.charAt(t)); )
|
|
927
|
+
;
|
|
928
|
+
return t;
|
|
929
|
+
}
|
|
930
|
+
var Ma = /^\s+/;
|
|
931
|
+
function La(e) {
|
|
932
|
+
return e && e.slice(0, Na(e) + 1).replace(Ma, "");
|
|
933
|
+
}
|
|
934
|
+
var Tr = NaN, za = /^[-+]0x[0-9a-f]+$/i, Ga = /^0b[01]+$/i, Va = /^0o[0-7]+$/i, Ua = parseInt;
|
|
935
|
+
function Ya(e) {
|
|
936
|
+
if (typeof e == "number")
|
|
937
|
+
return e;
|
|
938
|
+
if (pt(e))
|
|
939
|
+
return Tr;
|
|
940
|
+
if (We(e)) {
|
|
941
|
+
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
942
|
+
e = We(t) ? t + "" : t;
|
|
943
|
+
}
|
|
944
|
+
if (typeof e != "string")
|
|
945
|
+
return e === 0 ? e : +e;
|
|
946
|
+
e = La(e);
|
|
947
|
+
var r = Ga.test(e);
|
|
948
|
+
return r || Va.test(e) ? Ua(e.slice(2), r ? 2 : 8) : za.test(e) ? Tr : +e;
|
|
949
|
+
}
|
|
950
|
+
var kr = 1 / 0, Wa = 17976931348623157e292;
|
|
951
|
+
function Tt(e) {
|
|
952
|
+
if (!e)
|
|
953
|
+
return e === 0 ? e : 0;
|
|
954
|
+
if (e = Ya(e), e === kr || e === -kr) {
|
|
955
|
+
var t = e < 0 ? -1 : 1;
|
|
956
|
+
return t * Wa;
|
|
957
|
+
}
|
|
958
|
+
return e === e ? e : 0;
|
|
959
|
+
}
|
|
960
|
+
function Ha(e) {
|
|
961
|
+
return function(t, r, n) {
|
|
962
|
+
return n && typeof n != "number" && Ba(t, r, n) && (r = n = void 0), t = Tt(t), r === void 0 ? (r = t, t = 0) : r = Tt(r), n = n === void 0 ? t < r ? 1 : -1 : Tt(n), Da(t, r, n);
|
|
963
|
+
};
|
|
964
|
+
}
|
|
965
|
+
var kt = Ha();
|
|
966
|
+
const on = ({ children: e, rippleColor: t = "rgba(0,0,0,0.3)", className: r = "", ...n }) => {
|
|
967
|
+
const a = Zr(null), i = (s) => {
|
|
968
|
+
const f = a.current;
|
|
969
|
+
if (!f) return;
|
|
970
|
+
const u = document.createElement("span");
|
|
971
|
+
u.className = "ripple", u.style.backgroundColor = t;
|
|
972
|
+
const m = f.getBoundingClientRect(), d = Math.max(m.width, m.height);
|
|
973
|
+
u.style.width = u.style.height = `${d}px`, u.style.left = `${s.clientX - m.left - d / 2}px`, u.style.top = `${s.clientY - m.top - d / 2}px`, f.appendChild(u), u.addEventListener("animationend", () => u.remove());
|
|
974
|
+
};
|
|
975
|
+
return /* @__PURE__ */ k.jsx(
|
|
976
|
+
"div",
|
|
977
|
+
{
|
|
978
|
+
ref: a,
|
|
979
|
+
onClick: i,
|
|
980
|
+
className: `ripple-container ${r}`,
|
|
981
|
+
...n,
|
|
982
|
+
children: e
|
|
983
|
+
}
|
|
984
|
+
);
|
|
985
|
+
}, qa = 1.9, Ka = 2.6, Xa = 3.1, Za = 1, Ja = 1.2, Qa = 1.4, ei = 18, ti = 19, ri = 20, rr = "small", gt = "medium", nr = "large", an = {
|
|
986
|
+
[rr]: qa,
|
|
987
|
+
[gt]: Ka,
|
|
988
|
+
[nr]: Xa
|
|
989
|
+
}, ni = {
|
|
990
|
+
[rr]: Za,
|
|
991
|
+
[gt]: Ja,
|
|
992
|
+
[nr]: Qa
|
|
993
|
+
}, oi = {
|
|
994
|
+
[rr]: ei,
|
|
995
|
+
[gt]: ti,
|
|
996
|
+
[nr]: ri
|
|
997
|
+
}, sn = "selected_bg", cn = "not_selected_bg", un = "active_not_selected_bg";
|
|
998
|
+
var V = function() {
|
|
999
|
+
return V = Object.assign || function(t) {
|
|
1000
|
+
for (var r, n = 1, a = arguments.length; n < a; n++) {
|
|
1001
|
+
r = arguments[n];
|
|
1002
|
+
for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (t[i] = r[i]);
|
|
1003
|
+
}
|
|
1004
|
+
return t;
|
|
1005
|
+
}, V.apply(this, arguments);
|
|
1006
|
+
};
|
|
1007
|
+
function De(e, t, r) {
|
|
1008
|
+
if (r || arguments.length === 2) for (var n = 0, a = t.length, i; n < a; n++)
|
|
1009
|
+
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
|
|
1010
|
+
return e.concat(i || Array.prototype.slice.call(t));
|
|
1011
|
+
}
|
|
1012
|
+
function ai(e) {
|
|
1013
|
+
var t = /* @__PURE__ */ Object.create(null);
|
|
1014
|
+
return function(r) {
|
|
1015
|
+
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
1016
|
+
};
|
|
1017
|
+
}
|
|
1018
|
+
var ii = /^((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|disableRemotePlayback|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)-.*))$/, si = /* @__PURE__ */ ai(
|
|
1019
|
+
function(e) {
|
|
1020
|
+
return ii.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
1021
|
+
}
|
|
1022
|
+
/* Z+1 */
|
|
1023
|
+
), T = "-ms-", Ye = "-moz-", S = "-webkit-", ln = "comm", yt = "rule", or = "decl", ci = "@import", fn = "@keyframes", ui = "@layer", dn = Math.abs, ar = String.fromCharCode, Ut = Object.assign;
|
|
1024
|
+
function li(e, t) {
|
|
1025
|
+
return N(e, 0) ^ 45 ? (((t << 2 ^ N(e, 0)) << 2 ^ N(e, 1)) << 2 ^ N(e, 2)) << 2 ^ N(e, 3) : 0;
|
|
1026
|
+
}
|
|
1027
|
+
function pn(e) {
|
|
1028
|
+
return e.trim();
|
|
1029
|
+
}
|
|
1030
|
+
function ne(e, t) {
|
|
1031
|
+
return (e = t.exec(e)) ? e[0] : e;
|
|
1032
|
+
}
|
|
1033
|
+
function E(e, t, r) {
|
|
1034
|
+
return e.replace(t, r);
|
|
1035
|
+
}
|
|
1036
|
+
function ot(e, t, r) {
|
|
1037
|
+
return e.indexOf(t, r);
|
|
1038
|
+
}
|
|
1039
|
+
function N(e, t) {
|
|
1040
|
+
return e.charCodeAt(t) | 0;
|
|
1041
|
+
}
|
|
1042
|
+
function Oe(e, t, r) {
|
|
1043
|
+
return e.slice(t, r);
|
|
1044
|
+
}
|
|
1045
|
+
function Q(e) {
|
|
1046
|
+
return e.length;
|
|
1047
|
+
}
|
|
1048
|
+
function hn(e) {
|
|
1049
|
+
return e.length;
|
|
1050
|
+
}
|
|
1051
|
+
function Ue(e, t) {
|
|
1052
|
+
return t.push(e), e;
|
|
1053
|
+
}
|
|
1054
|
+
function fi(e, t) {
|
|
1055
|
+
return e.map(t).join("");
|
|
1056
|
+
}
|
|
1057
|
+
function Pr(e, t) {
|
|
1058
|
+
return e.filter(function(r) {
|
|
1059
|
+
return !ne(r, t);
|
|
1060
|
+
});
|
|
1061
|
+
}
|
|
1062
|
+
var vt = 1, Te = 1, mn = 0, W = 0, $ = 0, Be = "";
|
|
1063
|
+
function Et(e, t, r, n, a, i, s, f) {
|
|
1064
|
+
return { value: e, root: t, parent: r, type: n, props: a, children: i, line: vt, column: Te, length: s, return: "", siblings: f };
|
|
1065
|
+
}
|
|
1066
|
+
function ue(e, t) {
|
|
1067
|
+
return Ut(Et("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
|
|
1068
|
+
}
|
|
1069
|
+
function Ae(e) {
|
|
1070
|
+
for (; e.root; )
|
|
1071
|
+
e = ue(e.root, { children: [e] });
|
|
1072
|
+
Ue(e, e.siblings);
|
|
1073
|
+
}
|
|
1074
|
+
function di() {
|
|
1075
|
+
return $;
|
|
1076
|
+
}
|
|
1077
|
+
function pi() {
|
|
1078
|
+
return $ = W > 0 ? N(Be, --W) : 0, Te--, $ === 10 && (Te = 1, vt--), $;
|
|
1079
|
+
}
|
|
1080
|
+
function Z() {
|
|
1081
|
+
return $ = W < mn ? N(Be, W++) : 0, Te++, $ === 10 && (Te = 1, vt++), $;
|
|
1082
|
+
}
|
|
1083
|
+
function he() {
|
|
1084
|
+
return N(Be, W);
|
|
1085
|
+
}
|
|
1086
|
+
function at() {
|
|
1087
|
+
return W;
|
|
1088
|
+
}
|
|
1089
|
+
function Ft(e, t) {
|
|
1090
|
+
return Oe(Be, e, t);
|
|
1091
|
+
}
|
|
1092
|
+
function Yt(e) {
|
|
1093
|
+
switch (e) {
|
|
1094
|
+
// \0 \t \n \r \s whitespace token
|
|
1095
|
+
case 0:
|
|
1096
|
+
case 9:
|
|
1097
|
+
case 10:
|
|
1098
|
+
case 13:
|
|
1099
|
+
case 32:
|
|
1100
|
+
return 5;
|
|
1101
|
+
// ! + , / > @ ~ isolate token
|
|
1102
|
+
case 33:
|
|
1103
|
+
case 43:
|
|
1104
|
+
case 44:
|
|
1105
|
+
case 47:
|
|
1106
|
+
case 62:
|
|
1107
|
+
case 64:
|
|
1108
|
+
case 126:
|
|
1109
|
+
// ; { } breakpoint token
|
|
1110
|
+
case 59:
|
|
1111
|
+
case 123:
|
|
1112
|
+
case 125:
|
|
1113
|
+
return 4;
|
|
1114
|
+
// : accompanied token
|
|
1115
|
+
case 58:
|
|
1116
|
+
return 3;
|
|
1117
|
+
// " ' ( [ opening delimit token
|
|
1118
|
+
case 34:
|
|
1119
|
+
case 39:
|
|
1120
|
+
case 40:
|
|
1121
|
+
case 91:
|
|
1122
|
+
return 2;
|
|
1123
|
+
// ) ] closing delimit token
|
|
1124
|
+
case 41:
|
|
1125
|
+
case 93:
|
|
1126
|
+
return 1;
|
|
1127
|
+
}
|
|
1128
|
+
return 0;
|
|
1129
|
+
}
|
|
1130
|
+
function hi(e) {
|
|
1131
|
+
return vt = Te = 1, mn = Q(Be = e), W = 0, [];
|
|
1132
|
+
}
|
|
1133
|
+
function mi(e) {
|
|
1134
|
+
return Be = "", e;
|
|
1135
|
+
}
|
|
1136
|
+
function Pt(e) {
|
|
1137
|
+
return pn(Ft(W - 1, Wt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
1138
|
+
}
|
|
1139
|
+
function gi(e) {
|
|
1140
|
+
for (; ($ = he()) && $ < 33; )
|
|
1141
|
+
Z();
|
|
1142
|
+
return Yt(e) > 2 || Yt($) > 3 ? "" : " ";
|
|
1143
|
+
}
|
|
1144
|
+
function yi(e, t) {
|
|
1145
|
+
for (; --t && Z() && !($ < 48 || $ > 102 || $ > 57 && $ < 65 || $ > 70 && $ < 97); )
|
|
1146
|
+
;
|
|
1147
|
+
return Ft(e, at() + (t < 6 && he() == 32 && Z() == 32));
|
|
1148
|
+
}
|
|
1149
|
+
function Wt(e) {
|
|
1150
|
+
for (; Z(); )
|
|
1151
|
+
switch ($) {
|
|
1152
|
+
// ] ) " '
|
|
1153
|
+
case e:
|
|
1154
|
+
return W;
|
|
1155
|
+
// " '
|
|
1156
|
+
case 34:
|
|
1157
|
+
case 39:
|
|
1158
|
+
e !== 34 && e !== 39 && Wt($);
|
|
1159
|
+
break;
|
|
1160
|
+
// (
|
|
1161
|
+
case 40:
|
|
1162
|
+
e === 41 && Wt(e);
|
|
1163
|
+
break;
|
|
1164
|
+
// \
|
|
1165
|
+
case 92:
|
|
1166
|
+
Z();
|
|
1167
|
+
break;
|
|
1168
|
+
}
|
|
1169
|
+
return W;
|
|
1170
|
+
}
|
|
1171
|
+
function vi(e, t) {
|
|
1172
|
+
for (; Z() && e + $ !== 57; )
|
|
1173
|
+
if (e + $ === 84 && he() === 47)
|
|
1174
|
+
break;
|
|
1175
|
+
return "/*" + Ft(t, W - 1) + "*" + ar(e === 47 ? e : Z());
|
|
1176
|
+
}
|
|
1177
|
+
function Ei(e) {
|
|
1178
|
+
for (; !Yt(he()); )
|
|
1179
|
+
Z();
|
|
1180
|
+
return Ft(e, W);
|
|
1181
|
+
}
|
|
1182
|
+
function Fi(e) {
|
|
1183
|
+
return mi(it("", null, null, null, [""], e = hi(e), 0, [0], e));
|
|
1184
|
+
}
|
|
1185
|
+
function it(e, t, r, n, a, i, s, f, u) {
|
|
1186
|
+
for (var m = 0, d = 0, h = s, g = 0, y = 0, D = 0, I = 1, M = 1, A = 1, F = 0, R = "", O = a, P = i, w = n, v = R; M; )
|
|
1187
|
+
switch (D = F, F = Z()) {
|
|
1188
|
+
// (
|
|
1189
|
+
case 40:
|
|
1190
|
+
if (D != 108 && N(v, h - 1) == 58) {
|
|
1191
|
+
ot(v += E(Pt(F), "&", "&\f"), "&\f", dn(m ? f[m - 1] : 0)) != -1 && (A = -1);
|
|
1192
|
+
break;
|
|
1193
|
+
}
|
|
1194
|
+
// " ' [
|
|
1195
|
+
case 34:
|
|
1196
|
+
case 39:
|
|
1197
|
+
case 91:
|
|
1198
|
+
v += Pt(F);
|
|
1199
|
+
break;
|
|
1200
|
+
// \t \n \r \s
|
|
1201
|
+
case 9:
|
|
1202
|
+
case 10:
|
|
1203
|
+
case 13:
|
|
1204
|
+
case 32:
|
|
1205
|
+
v += gi(D);
|
|
1206
|
+
break;
|
|
1207
|
+
// \
|
|
1208
|
+
case 92:
|
|
1209
|
+
v += yi(at() - 1, 7);
|
|
1210
|
+
continue;
|
|
1211
|
+
// /
|
|
1212
|
+
case 47:
|
|
1213
|
+
switch (he()) {
|
|
1214
|
+
case 42:
|
|
1215
|
+
case 47:
|
|
1216
|
+
Ue(bi(vi(Z(), at()), t, r, u), u);
|
|
1217
|
+
break;
|
|
1218
|
+
default:
|
|
1219
|
+
v += "/";
|
|
1220
|
+
}
|
|
1221
|
+
break;
|
|
1222
|
+
// {
|
|
1223
|
+
case 123 * I:
|
|
1224
|
+
f[m++] = Q(v) * A;
|
|
1225
|
+
// } ; \0
|
|
1226
|
+
case 125 * I:
|
|
1227
|
+
case 59:
|
|
1228
|
+
case 0:
|
|
1229
|
+
switch (F) {
|
|
1230
|
+
// \0 }
|
|
1231
|
+
case 0:
|
|
1232
|
+
case 125:
|
|
1233
|
+
M = 0;
|
|
1234
|
+
// ;
|
|
1235
|
+
case 59 + d:
|
|
1236
|
+
A == -1 && (v = E(v, /\f/g, "")), y > 0 && Q(v) - h && Ue(y > 32 ? jr(v + ";", n, r, h - 1, u) : jr(E(v, " ", "") + ";", n, r, h - 2, u), u);
|
|
1237
|
+
break;
|
|
1238
|
+
// @ ;
|
|
1239
|
+
case 59:
|
|
1240
|
+
v += ";";
|
|
1241
|
+
// { rule/at-rule
|
|
1242
|
+
default:
|
|
1243
|
+
if (Ue(w = Ir(v, t, r, m, d, a, f, R, O = [], P = [], h, i), i), F === 123)
|
|
1244
|
+
if (d === 0)
|
|
1245
|
+
it(v, t, w, w, O, i, h, f, P);
|
|
1246
|
+
else
|
|
1247
|
+
switch (g === 99 && N(v, 3) === 110 ? 100 : g) {
|
|
1248
|
+
// d l m s
|
|
1249
|
+
case 100:
|
|
1250
|
+
case 108:
|
|
1251
|
+
case 109:
|
|
1252
|
+
case 115:
|
|
1253
|
+
it(e, w, w, n && Ue(Ir(e, w, w, 0, 0, a, f, R, a, O = [], h, P), P), a, P, h, f, n ? O : P);
|
|
1254
|
+
break;
|
|
1255
|
+
default:
|
|
1256
|
+
it(v, w, w, w, [""], P, 0, f, P);
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
m = d = y = 0, I = A = 1, R = v = "", h = s;
|
|
1260
|
+
break;
|
|
1261
|
+
// :
|
|
1262
|
+
case 58:
|
|
1263
|
+
h = 1 + Q(v), y = D;
|
|
1264
|
+
default:
|
|
1265
|
+
if (I < 1) {
|
|
1266
|
+
if (F == 123)
|
|
1267
|
+
--I;
|
|
1268
|
+
else if (F == 125 && I++ == 0 && pi() == 125)
|
|
1269
|
+
continue;
|
|
1270
|
+
}
|
|
1271
|
+
switch (v += ar(F), F * I) {
|
|
1272
|
+
// &
|
|
1273
|
+
case 38:
|
|
1274
|
+
A = d > 0 ? 1 : (v += "\f", -1);
|
|
1275
|
+
break;
|
|
1276
|
+
// ,
|
|
1277
|
+
case 44:
|
|
1278
|
+
f[m++] = (Q(v) - 1) * A, A = 1;
|
|
1279
|
+
break;
|
|
1280
|
+
// @
|
|
1281
|
+
case 64:
|
|
1282
|
+
he() === 45 && (v += Pt(Z())), g = he(), d = h = Q(R = v += Ei(at())), F++;
|
|
1283
|
+
break;
|
|
1284
|
+
// -
|
|
1285
|
+
case 45:
|
|
1286
|
+
D === 45 && Q(v) == 2 && (I = 0);
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
return i;
|
|
1290
|
+
}
|
|
1291
|
+
function Ir(e, t, r, n, a, i, s, f, u, m, d, h) {
|
|
1292
|
+
for (var g = a - 1, y = a === 0 ? i : [""], D = hn(y), I = 0, M = 0, A = 0; I < n; ++I)
|
|
1293
|
+
for (var F = 0, R = Oe(e, g + 1, g = dn(M = s[I])), O = e; F < D; ++F)
|
|
1294
|
+
(O = pn(M > 0 ? y[F] + " " + R : E(R, /&\f/g, y[F]))) && (u[A++] = O);
|
|
1295
|
+
return Et(e, t, r, a === 0 ? yt : f, u, m, d, h);
|
|
1296
|
+
}
|
|
1297
|
+
function bi(e, t, r, n) {
|
|
1298
|
+
return Et(e, t, r, ln, ar(di()), Oe(e, 2, -2), 0, n);
|
|
1299
|
+
}
|
|
1300
|
+
function jr(e, t, r, n, a) {
|
|
1301
|
+
return Et(e, t, r, or, Oe(e, 0, n), Oe(e, n + 1, -1), n, a);
|
|
1302
|
+
}
|
|
1303
|
+
function gn(e, t, r) {
|
|
1304
|
+
switch (li(e, t)) {
|
|
1305
|
+
// color-adjust
|
|
1306
|
+
case 5103:
|
|
1307
|
+
return S + "print-" + e + e;
|
|
1308
|
+
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
|
|
1309
|
+
case 5737:
|
|
1310
|
+
case 4201:
|
|
1311
|
+
case 3177:
|
|
1312
|
+
case 3433:
|
|
1313
|
+
case 1641:
|
|
1314
|
+
case 4457:
|
|
1315
|
+
case 2921:
|
|
1316
|
+
// text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
|
|
1317
|
+
case 5572:
|
|
1318
|
+
case 6356:
|
|
1319
|
+
case 5844:
|
|
1320
|
+
case 3191:
|
|
1321
|
+
case 6645:
|
|
1322
|
+
case 3005:
|
|
1323
|
+
// mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
|
|
1324
|
+
case 6391:
|
|
1325
|
+
case 5879:
|
|
1326
|
+
case 5623:
|
|
1327
|
+
case 6135:
|
|
1328
|
+
case 4599:
|
|
1329
|
+
case 4855:
|
|
1330
|
+
// background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
|
|
1331
|
+
case 4215:
|
|
1332
|
+
case 6389:
|
|
1333
|
+
case 5109:
|
|
1334
|
+
case 5365:
|
|
1335
|
+
case 5621:
|
|
1336
|
+
case 3829:
|
|
1337
|
+
return S + e + e;
|
|
1338
|
+
// tab-size
|
|
1339
|
+
case 4789:
|
|
1340
|
+
return Ye + e + e;
|
|
1341
|
+
// appearance, user-select, transform, hyphens, text-size-adjust
|
|
1342
|
+
case 5349:
|
|
1343
|
+
case 4246:
|
|
1344
|
+
case 4810:
|
|
1345
|
+
case 6968:
|
|
1346
|
+
case 2756:
|
|
1347
|
+
return S + e + Ye + e + T + e + e;
|
|
1348
|
+
// writing-mode
|
|
1349
|
+
case 5936:
|
|
1350
|
+
switch (N(e, t + 11)) {
|
|
1351
|
+
// vertical-l(r)
|
|
1352
|
+
case 114:
|
|
1353
|
+
return S + e + T + E(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
1354
|
+
// vertical-r(l)
|
|
1355
|
+
case 108:
|
|
1356
|
+
return S + e + T + E(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
1357
|
+
// horizontal(-)tb
|
|
1358
|
+
case 45:
|
|
1359
|
+
return S + e + T + E(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
1360
|
+
}
|
|
1361
|
+
// flex, flex-direction, scroll-snap-type, writing-mode
|
|
1362
|
+
case 6828:
|
|
1363
|
+
case 4268:
|
|
1364
|
+
case 2903:
|
|
1365
|
+
return S + e + T + e + e;
|
|
1366
|
+
// order
|
|
1367
|
+
case 6165:
|
|
1368
|
+
return S + e + T + "flex-" + e + e;
|
|
1369
|
+
// align-items
|
|
1370
|
+
case 5187:
|
|
1371
|
+
return S + e + E(e, /(\w+).+(:[^]+)/, S + "box-$1$2" + T + "flex-$1$2") + e;
|
|
1372
|
+
// align-self
|
|
1373
|
+
case 5443:
|
|
1374
|
+
return S + e + T + "flex-item-" + E(e, /flex-|-self/g, "") + (ne(e, /flex-|baseline/) ? "" : T + "grid-row-" + E(e, /flex-|-self/g, "")) + e;
|
|
1375
|
+
// align-content
|
|
1376
|
+
case 4675:
|
|
1377
|
+
return S + e + T + "flex-line-pack" + E(e, /align-content|flex-|-self/g, "") + e;
|
|
1378
|
+
// flex-shrink
|
|
1379
|
+
case 5548:
|
|
1380
|
+
return S + e + T + E(e, "shrink", "negative") + e;
|
|
1381
|
+
// flex-basis
|
|
1382
|
+
case 5292:
|
|
1383
|
+
return S + e + T + E(e, "basis", "preferred-size") + e;
|
|
1384
|
+
// flex-grow
|
|
1385
|
+
case 6060:
|
|
1386
|
+
return S + "box-" + E(e, "-grow", "") + S + e + T + E(e, "grow", "positive") + e;
|
|
1387
|
+
// transition
|
|
1388
|
+
case 4554:
|
|
1389
|
+
return S + E(e, /([^-])(transform)/g, "$1" + S + "$2") + e;
|
|
1390
|
+
// cursor
|
|
1391
|
+
case 6187:
|
|
1392
|
+
return E(E(E(e, /(zoom-|grab)/, S + "$1"), /(image-set)/, S + "$1"), e, "") + e;
|
|
1393
|
+
// background, background-image
|
|
1394
|
+
case 5495:
|
|
1395
|
+
case 3959:
|
|
1396
|
+
return E(e, /(image-set\([^]*)/, S + "$1$`$1");
|
|
1397
|
+
// justify-content
|
|
1398
|
+
case 4968:
|
|
1399
|
+
return E(E(e, /(.+:)(flex-)?(.*)/, S + "box-pack:$3" + T + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + S + e + e;
|
|
1400
|
+
// justify-self
|
|
1401
|
+
case 4200:
|
|
1402
|
+
if (!ne(e, /flex-|baseline/)) return T + "grid-column-align" + Oe(e, t) + e;
|
|
1403
|
+
break;
|
|
1404
|
+
// grid-template-(columns|rows)
|
|
1405
|
+
case 2592:
|
|
1406
|
+
case 3360:
|
|
1407
|
+
return T + E(e, "template-", "") + e;
|
|
1408
|
+
// grid-(row|column)-start
|
|
1409
|
+
case 4384:
|
|
1410
|
+
case 3616:
|
|
1411
|
+
return r && r.some(function(n, a) {
|
|
1412
|
+
return t = a, ne(n.props, /grid-\w+-end/);
|
|
1413
|
+
}) ? ~ot(e + (r = r[t].value), "span", 0) ? e : T + E(e, "-start", "") + e + T + "grid-row-span:" + (~ot(r, "span", 0) ? ne(r, /\d+/) : +ne(r, /\d+/) - +ne(e, /\d+/)) + ";" : T + E(e, "-start", "") + e;
|
|
1414
|
+
// grid-(row|column)-end
|
|
1415
|
+
case 4896:
|
|
1416
|
+
case 4128:
|
|
1417
|
+
return r && r.some(function(n) {
|
|
1418
|
+
return ne(n.props, /grid-\w+-start/);
|
|
1419
|
+
}) ? e : T + E(E(e, "-end", "-span"), "span ", "") + e;
|
|
1420
|
+
// (margin|padding)-inline-(start|end)
|
|
1421
|
+
case 4095:
|
|
1422
|
+
case 3583:
|
|
1423
|
+
case 4068:
|
|
1424
|
+
case 2532:
|
|
1425
|
+
return E(e, /(.+)-inline(.+)/, S + "$1$2") + e;
|
|
1426
|
+
// (min|max)?(width|height|inline-size|block-size)
|
|
1427
|
+
case 8116:
|
|
1428
|
+
case 7059:
|
|
1429
|
+
case 5753:
|
|
1430
|
+
case 5535:
|
|
1431
|
+
case 5445:
|
|
1432
|
+
case 5701:
|
|
1433
|
+
case 4933:
|
|
1434
|
+
case 4677:
|
|
1435
|
+
case 5533:
|
|
1436
|
+
case 5789:
|
|
1437
|
+
case 5021:
|
|
1438
|
+
case 4765:
|
|
1439
|
+
if (Q(e) - 1 - t > 6)
|
|
1440
|
+
switch (N(e, t + 1)) {
|
|
1441
|
+
// (m)ax-content, (m)in-content
|
|
1442
|
+
case 109:
|
|
1443
|
+
if (N(e, t + 4) !== 45)
|
|
1444
|
+
break;
|
|
1445
|
+
// (f)ill-available, (f)it-content
|
|
1446
|
+
case 102:
|
|
1447
|
+
return E(e, /(.+:)(.+)-([^]+)/, "$1" + S + "$2-$3$1" + Ye + (N(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
1448
|
+
// (s)tretch
|
|
1449
|
+
case 115:
|
|
1450
|
+
return ~ot(e, "stretch", 0) ? gn(E(e, "stretch", "fill-available"), t, r) + e : e;
|
|
1451
|
+
}
|
|
1452
|
+
break;
|
|
1453
|
+
// grid-(column|row)
|
|
1454
|
+
case 5152:
|
|
1455
|
+
case 5920:
|
|
1456
|
+
return E(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(n, a, i, s, f, u, m) {
|
|
1457
|
+
return T + a + ":" + i + m + (s ? T + a + "-span:" + (f ? u : +u - +i) + m : "") + e;
|
|
1458
|
+
});
|
|
1459
|
+
// position: sticky
|
|
1460
|
+
case 4949:
|
|
1461
|
+
if (N(e, t + 6) === 121)
|
|
1462
|
+
return E(e, ":", ":" + S) + e;
|
|
1463
|
+
break;
|
|
1464
|
+
// display: (flex|inline-flex|grid|inline-grid)
|
|
1465
|
+
case 6444:
|
|
1466
|
+
switch (N(e, N(e, 14) === 45 ? 18 : 11)) {
|
|
1467
|
+
// (inline-)?fle(x)
|
|
1468
|
+
case 120:
|
|
1469
|
+
return E(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + S + (N(e, 14) === 45 ? "inline-" : "") + "box$3$1" + S + "$2$3$1" + T + "$2box$3") + e;
|
|
1470
|
+
// (inline-)?gri(d)
|
|
1471
|
+
case 100:
|
|
1472
|
+
return E(e, ":", ":" + T) + e;
|
|
1473
|
+
}
|
|
1474
|
+
break;
|
|
1475
|
+
// scroll-margin, scroll-margin-(top|right|bottom|left)
|
|
1476
|
+
case 5719:
|
|
1477
|
+
case 2647:
|
|
1478
|
+
case 2135:
|
|
1479
|
+
case 3927:
|
|
1480
|
+
case 2391:
|
|
1481
|
+
return E(e, "scroll-", "scroll-snap-") + e;
|
|
1482
|
+
}
|
|
1483
|
+
return e;
|
|
1484
|
+
}
|
|
1485
|
+
function ut(e, t) {
|
|
1486
|
+
for (var r = "", n = 0; n < e.length; n++)
|
|
1487
|
+
r += t(e[n], n, e, t) || "";
|
|
1488
|
+
return r;
|
|
1489
|
+
}
|
|
1490
|
+
function wi(e, t, r, n) {
|
|
1491
|
+
switch (e.type) {
|
|
1492
|
+
case ui:
|
|
1493
|
+
if (e.children.length) break;
|
|
1494
|
+
case ci:
|
|
1495
|
+
case or:
|
|
1496
|
+
return e.return = e.return || e.value;
|
|
1497
|
+
case ln:
|
|
1498
|
+
return "";
|
|
1499
|
+
case fn:
|
|
1500
|
+
return e.return = e.value + "{" + ut(e.children, n) + "}";
|
|
1501
|
+
case yt:
|
|
1502
|
+
if (!Q(e.value = e.props.join(","))) return "";
|
|
1503
|
+
}
|
|
1504
|
+
return Q(r = ut(e.children, n)) ? e.return = e.value + "{" + r + "}" : "";
|
|
1505
|
+
}
|
|
1506
|
+
function Ci(e) {
|
|
1507
|
+
var t = hn(e);
|
|
1508
|
+
return function(r, n, a, i) {
|
|
1509
|
+
for (var s = "", f = 0; f < t; f++)
|
|
1510
|
+
s += e[f](r, n, a, i) || "";
|
|
1511
|
+
return s;
|
|
1512
|
+
};
|
|
1513
|
+
}
|
|
1514
|
+
function _i(e) {
|
|
1515
|
+
return function(t) {
|
|
1516
|
+
t.root || (t = t.return) && e(t);
|
|
1517
|
+
};
|
|
1518
|
+
}
|
|
1519
|
+
function Si(e, t, r, n) {
|
|
1520
|
+
if (e.length > -1 && !e.return)
|
|
1521
|
+
switch (e.type) {
|
|
1522
|
+
case or:
|
|
1523
|
+
e.return = gn(e.value, e.length, r);
|
|
1524
|
+
return;
|
|
1525
|
+
case fn:
|
|
1526
|
+
return ut([ue(e, { value: E(e.value, "@", "@" + S) })], n);
|
|
1527
|
+
case yt:
|
|
1528
|
+
if (e.length)
|
|
1529
|
+
return fi(r = e.props, function(a) {
|
|
1530
|
+
switch (ne(a, n = /(::plac\w+|:read-\w+)/)) {
|
|
1531
|
+
// :read-(only|write)
|
|
1532
|
+
case ":read-only":
|
|
1533
|
+
case ":read-write":
|
|
1534
|
+
Ae(ue(e, { props: [E(a, /:(read-\w+)/, ":" + Ye + "$1")] })), Ae(ue(e, { props: [a] })), Ut(e, { props: Pr(r, n) });
|
|
1535
|
+
break;
|
|
1536
|
+
// :placeholder
|
|
1537
|
+
case "::placeholder":
|
|
1538
|
+
Ae(ue(e, { props: [E(a, /:(plac\w+)/, ":" + S + "input-$1")] })), Ae(ue(e, { props: [E(a, /:(plac\w+)/, ":" + Ye + "$1")] })), Ae(ue(e, { props: [E(a, /:(plac\w+)/, T + "input-$1")] })), Ae(ue(e, { props: [a] })), Ut(e, { props: Pr(r, n) });
|
|
1539
|
+
break;
|
|
1540
|
+
}
|
|
1541
|
+
return "";
|
|
1542
|
+
});
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
var Ai = {
|
|
1546
|
+
animationIterationCount: 1,
|
|
1547
|
+
aspectRatio: 1,
|
|
1548
|
+
borderImageOutset: 1,
|
|
1549
|
+
borderImageSlice: 1,
|
|
1550
|
+
borderImageWidth: 1,
|
|
1551
|
+
boxFlex: 1,
|
|
1552
|
+
boxFlexGroup: 1,
|
|
1553
|
+
boxOrdinalGroup: 1,
|
|
1554
|
+
columnCount: 1,
|
|
1555
|
+
columns: 1,
|
|
1556
|
+
flex: 1,
|
|
1557
|
+
flexGrow: 1,
|
|
1558
|
+
flexPositive: 1,
|
|
1559
|
+
flexShrink: 1,
|
|
1560
|
+
flexNegative: 1,
|
|
1561
|
+
flexOrder: 1,
|
|
1562
|
+
gridRow: 1,
|
|
1563
|
+
gridRowEnd: 1,
|
|
1564
|
+
gridRowSpan: 1,
|
|
1565
|
+
gridRowStart: 1,
|
|
1566
|
+
gridColumn: 1,
|
|
1567
|
+
gridColumnEnd: 1,
|
|
1568
|
+
gridColumnSpan: 1,
|
|
1569
|
+
gridColumnStart: 1,
|
|
1570
|
+
msGridRow: 1,
|
|
1571
|
+
msGridRowSpan: 1,
|
|
1572
|
+
msGridColumn: 1,
|
|
1573
|
+
msGridColumnSpan: 1,
|
|
1574
|
+
fontWeight: 1,
|
|
1575
|
+
lineHeight: 1,
|
|
1576
|
+
opacity: 1,
|
|
1577
|
+
order: 1,
|
|
1578
|
+
orphans: 1,
|
|
1579
|
+
tabSize: 1,
|
|
1580
|
+
widows: 1,
|
|
1581
|
+
zIndex: 1,
|
|
1582
|
+
zoom: 1,
|
|
1583
|
+
WebkitLineClamp: 1,
|
|
1584
|
+
// SVG-related properties
|
|
1585
|
+
fillOpacity: 1,
|
|
1586
|
+
floodOpacity: 1,
|
|
1587
|
+
stopOpacity: 1,
|
|
1588
|
+
strokeDasharray: 1,
|
|
1589
|
+
strokeDashoffset: 1,
|
|
1590
|
+
strokeMiterlimit: 1,
|
|
1591
|
+
strokeOpacity: 1,
|
|
1592
|
+
strokeWidth: 1
|
|
1593
|
+
}, ve = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", yn = "active", vn = "data-styled-version", bt = "6.1.19", ir = `/*!sc*/
|
|
1594
|
+
`, lt = typeof window < "u" && typeof document < "u", Ri = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), Br = /invalid hook call/i, et = /* @__PURE__ */ new Set(), xi = function(e, t) {
|
|
1595
|
+
if (process.env.NODE_ENV !== "production") {
|
|
1596
|
+
var r = t ? ' with the id of "'.concat(t, '"') : "", n = "The component ".concat(e).concat(r, ` has been created dynamically.
|
|
1597
|
+
`) + `You may see this warning because you've called styled inside another component.
|
|
1598
|
+
To resolve this only create new StyledComponents outside of any render method and function component.
|
|
1599
|
+
See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
|
|
1600
|
+
`, a = console.error;
|
|
1601
|
+
try {
|
|
1602
|
+
var i = !0;
|
|
1603
|
+
console.error = function(s) {
|
|
1604
|
+
for (var f = [], u = 1; u < arguments.length; u++) f[u - 1] = arguments[u];
|
|
1605
|
+
Br.test(s) ? (i = !1, et.delete(n)) : a.apply(void 0, De([s], f, !1));
|
|
1606
|
+
}, Zr(), i && !et.has(n) && (console.warn(n), et.add(n));
|
|
1607
|
+
} catch (s) {
|
|
1608
|
+
Br.test(s.message) && et.delete(n);
|
|
1609
|
+
} finally {
|
|
1610
|
+
console.error = a;
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
}, wt = Object.freeze([]), ke = Object.freeze({});
|
|
1614
|
+
function Di(e, t, r) {
|
|
1615
|
+
return r === void 0 && (r = ke), e.theme !== r.theme && e.theme || t || r.theme;
|
|
1616
|
+
}
|
|
1617
|
+
var Ht = /* @__PURE__ */ new Set(["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", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "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", "tr", "track", "u", "ul", "use", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"]), Oi = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, Ti = /(^-|-$)/g;
|
|
1618
|
+
function $r(e) {
|
|
1619
|
+
return e.replace(Oi, "-").replace(Ti, "");
|
|
1620
|
+
}
|
|
1621
|
+
var ki = /(a)(d)/gi, tt = 52, Nr = function(e) {
|
|
1622
|
+
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
1623
|
+
};
|
|
1624
|
+
function qt(e) {
|
|
1625
|
+
var t, r = "";
|
|
1626
|
+
for (t = Math.abs(e); t > tt; t = t / tt | 0) r = Nr(t % tt) + r;
|
|
1627
|
+
return (Nr(t % tt) + r).replace(ki, "$1-$2");
|
|
1628
|
+
}
|
|
1629
|
+
var It, En = 5381, de = function(e, t) {
|
|
1630
|
+
for (var r = t.length; r; ) e = 33 * e ^ t.charCodeAt(--r);
|
|
1631
|
+
return e;
|
|
1632
|
+
}, Fn = function(e) {
|
|
1633
|
+
return de(En, e);
|
|
1634
|
+
};
|
|
1635
|
+
function Pi(e) {
|
|
1636
|
+
return qt(Fn(e) >>> 0);
|
|
1637
|
+
}
|
|
1638
|
+
function bn(e) {
|
|
1639
|
+
return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
|
|
1640
|
+
}
|
|
1641
|
+
function jt(e) {
|
|
1642
|
+
return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
|
|
1643
|
+
}
|
|
1644
|
+
var wn = typeof Symbol == "function" && Symbol.for, Cn = wn ? Symbol.for("react.memo") : 60115, Ii = wn ? Symbol.for("react.forward_ref") : 60112, ji = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Bi = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, _n = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, $i = ((It = {})[Ii] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, It[Cn] = _n, It);
|
|
1645
|
+
function Mr(e) {
|
|
1646
|
+
return ("type" in (t = e) && t.type.$$typeof) === Cn ? _n : "$$typeof" in e ? $i[e.$$typeof] : ji;
|
|
1647
|
+
var t;
|
|
1648
|
+
}
|
|
1649
|
+
var Ni = Object.defineProperty, Mi = Object.getOwnPropertyNames, Lr = Object.getOwnPropertySymbols, Li = Object.getOwnPropertyDescriptor, zi = Object.getPrototypeOf, zr = Object.prototype;
|
|
1650
|
+
function Sn(e, t, r) {
|
|
1651
|
+
if (typeof t != "string") {
|
|
1652
|
+
if (zr) {
|
|
1653
|
+
var n = zi(t);
|
|
1654
|
+
n && n !== zr && Sn(e, n, r);
|
|
1655
|
+
}
|
|
1656
|
+
var a = Mi(t);
|
|
1657
|
+
Lr && (a = a.concat(Lr(t)));
|
|
1658
|
+
for (var i = Mr(e), s = Mr(t), f = 0; f < a.length; ++f) {
|
|
1659
|
+
var u = a[f];
|
|
1660
|
+
if (!(u in Bi || r && r[u] || s && u in s || i && u in i)) {
|
|
1661
|
+
var m = Li(t, u);
|
|
1662
|
+
try {
|
|
1663
|
+
Ni(e, u, m);
|
|
1664
|
+
} catch {
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
}
|
|
1669
|
+
return e;
|
|
1670
|
+
}
|
|
1671
|
+
function Pe(e) {
|
|
1672
|
+
return typeof e == "function";
|
|
1673
|
+
}
|
|
1674
|
+
function sr(e) {
|
|
1675
|
+
return typeof e == "object" && "styledComponentId" in e;
|
|
1676
|
+
}
|
|
1677
|
+
function pe(e, t) {
|
|
1678
|
+
return e && t ? "".concat(e, " ").concat(t) : e || t || "";
|
|
1679
|
+
}
|
|
1680
|
+
function Gr(e, t) {
|
|
1681
|
+
if (e.length === 0) return "";
|
|
1682
|
+
for (var r = e[0], n = 1; n < e.length; n++) r += e[n];
|
|
1683
|
+
return r;
|
|
1684
|
+
}
|
|
1685
|
+
function Ie(e) {
|
|
1686
|
+
return e !== null && typeof e == "object" && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
|
|
1687
|
+
}
|
|
1688
|
+
function Kt(e, t, r) {
|
|
1689
|
+
if (r === void 0 && (r = !1), !r && !Ie(e) && !Array.isArray(e)) return t;
|
|
1690
|
+
if (Array.isArray(t)) for (var n = 0; n < t.length; n++) e[n] = Kt(e[n], t[n]);
|
|
1691
|
+
else if (Ie(t)) for (var n in t) e[n] = Kt(e[n], t[n]);
|
|
1692
|
+
return e;
|
|
1693
|
+
}
|
|
1694
|
+
function cr(e, t) {
|
|
1695
|
+
Object.defineProperty(e, "toString", { value: t });
|
|
1696
|
+
}
|
|
1697
|
+
var Gi = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
|
|
1698
|
+
|
|
1699
|
+
`, 2: `Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
|
|
1700
|
+
|
|
1701
|
+
- Are you trying to reuse it across renders?
|
|
1702
|
+
- Are you accidentally calling collectStyles twice?
|
|
1703
|
+
|
|
1704
|
+
`, 3: `Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
|
|
1705
|
+
|
|
1706
|
+
`, 4: `The \`StyleSheetManager\` expects a valid target or sheet prop!
|
|
1707
|
+
|
|
1708
|
+
- Does this error occur on the client and is your target falsy?
|
|
1709
|
+
- Does this error occur on the server and is the sheet falsy?
|
|
1710
|
+
|
|
1711
|
+
`, 5: `The clone method cannot be used on the client!
|
|
1712
|
+
|
|
1713
|
+
- Are you running in a client-like environment on the server?
|
|
1714
|
+
- Are you trying to run SSR on the client?
|
|
1715
|
+
|
|
1716
|
+
`, 6: `Trying to insert a new style tag, but the given Node is unmounted!
|
|
1717
|
+
|
|
1718
|
+
- Are you using a custom target that isn't mounted?
|
|
1719
|
+
- Does your document not have a valid head element?
|
|
1720
|
+
- Have you accidentally removed a style tag manually?
|
|
1721
|
+
|
|
1722
|
+
`, 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n', 8: `ThemeProvider: Please make your "theme" prop an object.
|
|
1723
|
+
|
|
1724
|
+
`, 9: "Missing document `<head>`\n\n", 10: `Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
|
|
1725
|
+
|
|
1726
|
+
`, 11: `_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
|
|
1727
|
+
|
|
1728
|
+
`, 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n", 13: `%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
|
|
1729
|
+
|
|
1730
|
+
`, 14: `ThemeProvider: "theme" prop is required.
|
|
1731
|
+
|
|
1732
|
+
`, 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n", 16: `Reached the limit of how many styled components may be created at group %s.
|
|
1733
|
+
You may only create up to 1,073,741,824 components. If you're creating components dynamically,
|
|
1734
|
+
as for instance in your render method then you may be running into this limitation.
|
|
1735
|
+
|
|
1736
|
+
`, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
|
|
1737
|
+
Has styled-components' style tag been unmounted or altered by another script?
|
|
1738
|
+
`, 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
|
|
1739
|
+
function Vi() {
|
|
1740
|
+
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
1741
|
+
for (var r = e[0], n = [], a = 1, i = e.length; a < i; a += 1) n.push(e[a]);
|
|
1742
|
+
return n.forEach(function(s) {
|
|
1743
|
+
r = r.replace(/%[a-z]/, s);
|
|
1744
|
+
}), r;
|
|
1745
|
+
}
|
|
1746
|
+
function $e(e) {
|
|
1747
|
+
for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
|
|
1748
|
+
return process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e, " for more information.").concat(t.length > 0 ? " Args: ".concat(t.join(", ")) : "")) : new Error(Vi.apply(void 0, De([Gi[e]], t, !1)).trim());
|
|
1749
|
+
}
|
|
1750
|
+
var Ui = (function() {
|
|
1751
|
+
function e(t) {
|
|
1752
|
+
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = t;
|
|
1753
|
+
}
|
|
1754
|
+
return e.prototype.indexOfGroup = function(t) {
|
|
1755
|
+
for (var r = 0, n = 0; n < t; n++) r += this.groupSizes[n];
|
|
1756
|
+
return r;
|
|
1757
|
+
}, e.prototype.insertRules = function(t, r) {
|
|
1758
|
+
if (t >= this.groupSizes.length) {
|
|
1759
|
+
for (var n = this.groupSizes, a = n.length, i = a; t >= i; ) if ((i <<= 1) < 0) throw $e(16, "".concat(t));
|
|
1760
|
+
this.groupSizes = new Uint32Array(i), this.groupSizes.set(n), this.length = i;
|
|
1761
|
+
for (var s = a; s < i; s++) this.groupSizes[s] = 0;
|
|
1762
|
+
}
|
|
1763
|
+
for (var f = this.indexOfGroup(t + 1), u = (s = 0, r.length); s < u; s++) this.tag.insertRule(f, r[s]) && (this.groupSizes[t]++, f++);
|
|
1764
|
+
}, e.prototype.clearGroup = function(t) {
|
|
1765
|
+
if (t < this.length) {
|
|
1766
|
+
var r = this.groupSizes[t], n = this.indexOfGroup(t), a = n + r;
|
|
1767
|
+
this.groupSizes[t] = 0;
|
|
1768
|
+
for (var i = n; i < a; i++) this.tag.deleteRule(n);
|
|
1769
|
+
}
|
|
1770
|
+
}, e.prototype.getGroup = function(t) {
|
|
1771
|
+
var r = "";
|
|
1772
|
+
if (t >= this.length || this.groupSizes[t] === 0) return r;
|
|
1773
|
+
for (var n = this.groupSizes[t], a = this.indexOfGroup(t), i = a + n, s = a; s < i; s++) r += "".concat(this.tag.getRule(s)).concat(ir);
|
|
1774
|
+
return r;
|
|
1775
|
+
}, e;
|
|
1776
|
+
})(), Yi = 1 << 30, st = /* @__PURE__ */ new Map(), ft = /* @__PURE__ */ new Map(), ct = 1, rt = function(e) {
|
|
1777
|
+
if (st.has(e)) return st.get(e);
|
|
1778
|
+
for (; ft.has(ct); ) ct++;
|
|
1779
|
+
var t = ct++;
|
|
1780
|
+
if (process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t > Yi)) throw $e(16, "".concat(t));
|
|
1781
|
+
return st.set(e, t), ft.set(t, e), t;
|
|
1782
|
+
}, Wi = function(e, t) {
|
|
1783
|
+
ct = t + 1, st.set(e, t), ft.set(t, e);
|
|
1784
|
+
}, Hi = "style[".concat(ve, "][").concat(vn, '="').concat(bt, '"]'), qi = new RegExp("^".concat(ve, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), Ki = function(e, t, r) {
|
|
1785
|
+
for (var n, a = r.split(","), i = 0, s = a.length; i < s; i++) (n = a[i]) && e.registerName(t, n);
|
|
1786
|
+
}, Xi = function(e, t) {
|
|
1787
|
+
for (var r, n = ((r = t.textContent) !== null && r !== void 0 ? r : "").split(ir), a = [], i = 0, s = n.length; i < s; i++) {
|
|
1788
|
+
var f = n[i].trim();
|
|
1789
|
+
if (f) {
|
|
1790
|
+
var u = f.match(qi);
|
|
1791
|
+
if (u) {
|
|
1792
|
+
var m = 0 | parseInt(u[1], 10), d = u[2];
|
|
1793
|
+
m !== 0 && (Wi(d, m), Ki(e, d, u[3]), e.getTag().insertRules(m, a)), a.length = 0;
|
|
1794
|
+
} else a.push(f);
|
|
1795
|
+
}
|
|
1796
|
+
}
|
|
1797
|
+
}, Vr = function(e) {
|
|
1798
|
+
for (var t = document.querySelectorAll(Hi), r = 0, n = t.length; r < n; r++) {
|
|
1799
|
+
var a = t[r];
|
|
1800
|
+
a && a.getAttribute(ve) !== yn && (Xi(e, a), a.parentNode && a.parentNode.removeChild(a));
|
|
1801
|
+
}
|
|
1802
|
+
};
|
|
1803
|
+
function Zi() {
|
|
1804
|
+
return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
|
|
1805
|
+
}
|
|
1806
|
+
var An = function(e) {
|
|
1807
|
+
var t = document.head, r = e || t, n = document.createElement("style"), a = (function(f) {
|
|
1808
|
+
var u = Array.from(f.querySelectorAll("style[".concat(ve, "]")));
|
|
1809
|
+
return u[u.length - 1];
|
|
1810
|
+
})(r), i = a !== void 0 ? a.nextSibling : null;
|
|
1811
|
+
n.setAttribute(ve, yn), n.setAttribute(vn, bt);
|
|
1812
|
+
var s = Zi();
|
|
1813
|
+
return s && n.setAttribute("nonce", s), r.insertBefore(n, i), n;
|
|
1814
|
+
}, Ji = (function() {
|
|
1815
|
+
function e(t) {
|
|
1816
|
+
this.element = An(t), this.element.appendChild(document.createTextNode("")), this.sheet = (function(r) {
|
|
1817
|
+
if (r.sheet) return r.sheet;
|
|
1818
|
+
for (var n = document.styleSheets, a = 0, i = n.length; a < i; a++) {
|
|
1819
|
+
var s = n[a];
|
|
1820
|
+
if (s.ownerNode === r) return s;
|
|
1821
|
+
}
|
|
1822
|
+
throw $e(17);
|
|
1823
|
+
})(this.element), this.length = 0;
|
|
1824
|
+
}
|
|
1825
|
+
return e.prototype.insertRule = function(t, r) {
|
|
1826
|
+
try {
|
|
1827
|
+
return this.sheet.insertRule(r, t), this.length++, !0;
|
|
1828
|
+
} catch {
|
|
1829
|
+
return !1;
|
|
1830
|
+
}
|
|
1831
|
+
}, e.prototype.deleteRule = function(t) {
|
|
1832
|
+
this.sheet.deleteRule(t), this.length--;
|
|
1833
|
+
}, e.prototype.getRule = function(t) {
|
|
1834
|
+
var r = this.sheet.cssRules[t];
|
|
1835
|
+
return r && r.cssText ? r.cssText : "";
|
|
1836
|
+
}, e;
|
|
1837
|
+
})(), Qi = (function() {
|
|
1838
|
+
function e(t) {
|
|
1839
|
+
this.element = An(t), this.nodes = this.element.childNodes, this.length = 0;
|
|
1840
|
+
}
|
|
1841
|
+
return e.prototype.insertRule = function(t, r) {
|
|
1842
|
+
if (t <= this.length && t >= 0) {
|
|
1843
|
+
var n = document.createTextNode(r);
|
|
1844
|
+
return this.element.insertBefore(n, this.nodes[t] || null), this.length++, !0;
|
|
1845
|
+
}
|
|
1846
|
+
return !1;
|
|
1847
|
+
}, e.prototype.deleteRule = function(t) {
|
|
1848
|
+
this.element.removeChild(this.nodes[t]), this.length--;
|
|
1849
|
+
}, e.prototype.getRule = function(t) {
|
|
1850
|
+
return t < this.length ? this.nodes[t].textContent : "";
|
|
1851
|
+
}, e;
|
|
1852
|
+
})(), es = (function() {
|
|
1853
|
+
function e(t) {
|
|
1854
|
+
this.rules = [], this.length = 0;
|
|
1855
|
+
}
|
|
1856
|
+
return e.prototype.insertRule = function(t, r) {
|
|
1857
|
+
return t <= this.length && (this.rules.splice(t, 0, r), this.length++, !0);
|
|
1858
|
+
}, e.prototype.deleteRule = function(t) {
|
|
1859
|
+
this.rules.splice(t, 1), this.length--;
|
|
1860
|
+
}, e.prototype.getRule = function(t) {
|
|
1861
|
+
return t < this.length ? this.rules[t] : "";
|
|
1862
|
+
}, e;
|
|
1863
|
+
})(), Ur = lt, ts = { isServer: !lt, useCSSOMInjection: !Ri }, Rn = (function() {
|
|
1864
|
+
function e(t, r, n) {
|
|
1865
|
+
t === void 0 && (t = ke), r === void 0 && (r = {});
|
|
1866
|
+
var a = this;
|
|
1867
|
+
this.options = V(V({}, ts), t), this.gs = r, this.names = new Map(n), this.server = !!t.isServer, !this.server && lt && Ur && (Ur = !1, Vr(this)), cr(this, function() {
|
|
1868
|
+
return (function(i) {
|
|
1869
|
+
for (var s = i.getTag(), f = s.length, u = "", m = function(h) {
|
|
1870
|
+
var g = (function(A) {
|
|
1871
|
+
return ft.get(A);
|
|
1872
|
+
})(h);
|
|
1873
|
+
if (g === void 0) return "continue";
|
|
1874
|
+
var y = i.names.get(g), D = s.getGroup(h);
|
|
1875
|
+
if (y === void 0 || !y.size || D.length === 0) return "continue";
|
|
1876
|
+
var I = "".concat(ve, ".g").concat(h, '[id="').concat(g, '"]'), M = "";
|
|
1877
|
+
y !== void 0 && y.forEach(function(A) {
|
|
1878
|
+
A.length > 0 && (M += "".concat(A, ","));
|
|
1879
|
+
}), u += "".concat(D).concat(I, '{content:"').concat(M, '"}').concat(ir);
|
|
1880
|
+
}, d = 0; d < f; d++) m(d);
|
|
1881
|
+
return u;
|
|
1882
|
+
})(a);
|
|
1883
|
+
});
|
|
1884
|
+
}
|
|
1885
|
+
return e.registerId = function(t) {
|
|
1886
|
+
return rt(t);
|
|
1887
|
+
}, e.prototype.rehydrate = function() {
|
|
1888
|
+
!this.server && lt && Vr(this);
|
|
1889
|
+
}, e.prototype.reconstructWithOptions = function(t, r) {
|
|
1890
|
+
return r === void 0 && (r = !0), new e(V(V({}, this.options), t), this.gs, r && this.names || void 0);
|
|
1891
|
+
}, e.prototype.allocateGSInstance = function(t) {
|
|
1892
|
+
return this.gs[t] = (this.gs[t] || 0) + 1;
|
|
1893
|
+
}, e.prototype.getTag = function() {
|
|
1894
|
+
return this.tag || (this.tag = (t = (function(r) {
|
|
1895
|
+
var n = r.useCSSOMInjection, a = r.target;
|
|
1896
|
+
return r.isServer ? new es(a) : n ? new Ji(a) : new Qi(a);
|
|
1897
|
+
})(this.options), new Ui(t)));
|
|
1898
|
+
var t;
|
|
1899
|
+
}, e.prototype.hasNameForId = function(t, r) {
|
|
1900
|
+
return this.names.has(t) && this.names.get(t).has(r);
|
|
1901
|
+
}, e.prototype.registerName = function(t, r) {
|
|
1902
|
+
if (rt(t), this.names.has(t)) this.names.get(t).add(r);
|
|
1903
|
+
else {
|
|
1904
|
+
var n = /* @__PURE__ */ new Set();
|
|
1905
|
+
n.add(r), this.names.set(t, n);
|
|
1906
|
+
}
|
|
1907
|
+
}, e.prototype.insertRules = function(t, r, n) {
|
|
1908
|
+
this.registerName(t, r), this.getTag().insertRules(rt(t), n);
|
|
1909
|
+
}, e.prototype.clearNames = function(t) {
|
|
1910
|
+
this.names.has(t) && this.names.get(t).clear();
|
|
1911
|
+
}, e.prototype.clearRules = function(t) {
|
|
1912
|
+
this.getTag().clearGroup(rt(t)), this.clearNames(t);
|
|
1913
|
+
}, e.prototype.clearTag = function() {
|
|
1914
|
+
this.tag = void 0;
|
|
1915
|
+
}, e;
|
|
1916
|
+
})(), rs = /&/g, ns = /^\s*\/\/.*$/gm;
|
|
1917
|
+
function xn(e, t) {
|
|
1918
|
+
return e.map(function(r) {
|
|
1919
|
+
return r.type === "rule" && (r.value = "".concat(t, " ").concat(r.value), r.value = r.value.replaceAll(",", ",".concat(t, " ")), r.props = r.props.map(function(n) {
|
|
1920
|
+
return "".concat(t, " ").concat(n);
|
|
1921
|
+
})), Array.isArray(r.children) && r.type !== "@keyframes" && (r.children = xn(r.children, t)), r;
|
|
1922
|
+
});
|
|
1923
|
+
}
|
|
1924
|
+
function os(e) {
|
|
1925
|
+
var t, r, n, a = ke, i = a.options, s = i === void 0 ? ke : i, f = a.plugins, u = f === void 0 ? wt : f, m = function(g, y, D) {
|
|
1926
|
+
return D.startsWith(r) && D.endsWith(r) && D.replaceAll(r, "").length > 0 ? ".".concat(t) : g;
|
|
1927
|
+
}, d = u.slice();
|
|
1928
|
+
d.push(function(g) {
|
|
1929
|
+
g.type === yt && g.value.includes("&") && (g.props[0] = g.props[0].replace(rs, r).replace(n, m));
|
|
1930
|
+
}), s.prefix && d.push(Si), d.push(wi);
|
|
1931
|
+
var h = function(g, y, D, I) {
|
|
1932
|
+
y === void 0 && (y = ""), D === void 0 && (D = ""), I === void 0 && (I = "&"), t = I, r = y, n = new RegExp("\\".concat(r, "\\b"), "g");
|
|
1933
|
+
var M = g.replace(ns, ""), A = Fi(D || y ? "".concat(D, " ").concat(y, " { ").concat(M, " }") : M);
|
|
1934
|
+
s.namespace && (A = xn(A, s.namespace));
|
|
1935
|
+
var F = [];
|
|
1936
|
+
return ut(A, Ci(d.concat(_i(function(R) {
|
|
1937
|
+
return F.push(R);
|
|
1938
|
+
})))), F;
|
|
1939
|
+
};
|
|
1940
|
+
return h.hash = u.length ? u.reduce(function(g, y) {
|
|
1941
|
+
return y.name || $e(15), de(g, y.name);
|
|
1942
|
+
}, En).toString() : "", h;
|
|
1943
|
+
}
|
|
1944
|
+
var as = new Rn(), Xt = os(), Dn = ge.createContext({ shouldForwardProp: void 0, styleSheet: as, stylis: Xt });
|
|
1945
|
+
Dn.Consumer;
|
|
1946
|
+
ge.createContext(void 0);
|
|
1947
|
+
function Yr() {
|
|
1948
|
+
return so(Dn);
|
|
1949
|
+
}
|
|
1950
|
+
var Wr = (function() {
|
|
1951
|
+
function e(t, r) {
|
|
1952
|
+
var n = this;
|
|
1953
|
+
this.inject = function(a, i) {
|
|
1954
|
+
i === void 0 && (i = Xt);
|
|
1955
|
+
var s = n.name + i.hash;
|
|
1956
|
+
a.hasNameForId(n.id, s) || a.insertRules(n.id, s, i(n.rules, s, "@keyframes"));
|
|
1957
|
+
}, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = r, cr(this, function() {
|
|
1958
|
+
throw $e(12, String(n.name));
|
|
1959
|
+
});
|
|
1960
|
+
}
|
|
1961
|
+
return e.prototype.getName = function(t) {
|
|
1962
|
+
return t === void 0 && (t = Xt), this.name + t.hash;
|
|
1963
|
+
}, e;
|
|
1964
|
+
})(), is = function(e) {
|
|
1965
|
+
return e >= "A" && e <= "Z";
|
|
1966
|
+
};
|
|
1967
|
+
function Hr(e) {
|
|
1968
|
+
for (var t = "", r = 0; r < e.length; r++) {
|
|
1969
|
+
var n = e[r];
|
|
1970
|
+
if (r === 1 && n === "-" && e[0] === "-") return e;
|
|
1971
|
+
is(n) ? t += "-" + n.toLowerCase() : t += n;
|
|
1972
|
+
}
|
|
1973
|
+
return t.startsWith("ms-") ? "-" + t : t;
|
|
1974
|
+
}
|
|
1975
|
+
var On = function(e) {
|
|
1976
|
+
return e == null || e === !1 || e === "";
|
|
1977
|
+
}, Tn = function(e) {
|
|
1978
|
+
var t, r, n = [];
|
|
1979
|
+
for (var a in e) {
|
|
1980
|
+
var i = e[a];
|
|
1981
|
+
e.hasOwnProperty(a) && !On(i) && (Array.isArray(i) && i.isCss || Pe(i) ? n.push("".concat(Hr(a), ":"), i, ";") : Ie(i) ? n.push.apply(n, De(De(["".concat(a, " {")], Tn(i), !1), ["}"], !1)) : n.push("".concat(Hr(a), ": ").concat((t = a, (r = i) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in Ai || t.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";")));
|
|
1982
|
+
}
|
|
1983
|
+
return n;
|
|
1984
|
+
};
|
|
1985
|
+
function me(e, t, r, n) {
|
|
1986
|
+
if (On(e)) return [];
|
|
1987
|
+
if (sr(e)) return [".".concat(e.styledComponentId)];
|
|
1988
|
+
if (Pe(e)) {
|
|
1989
|
+
if (!Pe(i = e) || i.prototype && i.prototype.isReactComponent || !t) return [e];
|
|
1990
|
+
var a = e(t);
|
|
1991
|
+
return process.env.NODE_ENV === "production" || typeof a != "object" || Array.isArray(a) || a instanceof Wr || Ie(a) || a === null || console.error("".concat(bn(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), me(a, t, r, n);
|
|
1992
|
+
}
|
|
1993
|
+
var i;
|
|
1994
|
+
return e instanceof Wr ? r ? (e.inject(r, n), [e.getName(n)]) : [e] : Ie(e) ? Tn(e) : Array.isArray(e) ? Array.prototype.concat.apply(wt, e.map(function(s) {
|
|
1995
|
+
return me(s, t, r, n);
|
|
1996
|
+
})) : [e.toString()];
|
|
1997
|
+
}
|
|
1998
|
+
function ss(e) {
|
|
1999
|
+
for (var t = 0; t < e.length; t += 1) {
|
|
2000
|
+
var r = e[t];
|
|
2001
|
+
if (Pe(r) && !sr(r)) return !1;
|
|
2002
|
+
}
|
|
2003
|
+
return !0;
|
|
2004
|
+
}
|
|
2005
|
+
var cs = Fn(bt), us = (function() {
|
|
2006
|
+
function e(t, r, n) {
|
|
2007
|
+
this.rules = t, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (n === void 0 || n.isStatic) && ss(t), this.componentId = r, this.baseHash = de(cs, r), this.baseStyle = n, Rn.registerId(r);
|
|
2008
|
+
}
|
|
2009
|
+
return e.prototype.generateAndInjectStyles = function(t, r, n) {
|
|
2010
|
+
var a = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, r, n) : "";
|
|
2011
|
+
if (this.isStatic && !n.hash) if (this.staticRulesId && r.hasNameForId(this.componentId, this.staticRulesId)) a = pe(a, this.staticRulesId);
|
|
2012
|
+
else {
|
|
2013
|
+
var i = Gr(me(this.rules, t, r, n)), s = qt(de(this.baseHash, i) >>> 0);
|
|
2014
|
+
if (!r.hasNameForId(this.componentId, s)) {
|
|
2015
|
+
var f = n(i, ".".concat(s), void 0, this.componentId);
|
|
2016
|
+
r.insertRules(this.componentId, s, f);
|
|
2017
|
+
}
|
|
2018
|
+
a = pe(a, s), this.staticRulesId = s;
|
|
2019
|
+
}
|
|
2020
|
+
else {
|
|
2021
|
+
for (var u = de(this.baseHash, n.hash), m = "", d = 0; d < this.rules.length; d++) {
|
|
2022
|
+
var h = this.rules[d];
|
|
2023
|
+
if (typeof h == "string") m += h, process.env.NODE_ENV !== "production" && (u = de(u, h));
|
|
2024
|
+
else if (h) {
|
|
2025
|
+
var g = Gr(me(h, t, r, n));
|
|
2026
|
+
u = de(u, g + d), m += g;
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
if (m) {
|
|
2030
|
+
var y = qt(u >>> 0);
|
|
2031
|
+
r.hasNameForId(this.componentId, y) || r.insertRules(this.componentId, y, n(m, ".".concat(y), void 0, this.componentId)), a = pe(a, y);
|
|
2032
|
+
}
|
|
2033
|
+
}
|
|
2034
|
+
return a;
|
|
2035
|
+
}, e;
|
|
2036
|
+
})(), kn = ge.createContext(void 0);
|
|
2037
|
+
kn.Consumer;
|
|
2038
|
+
var Bt = {}, qr = /* @__PURE__ */ new Set();
|
|
2039
|
+
function ls(e, t, r) {
|
|
2040
|
+
var n = sr(e), a = e, i = !jt(e), s = t.attrs, f = s === void 0 ? wt : s, u = t.componentId, m = u === void 0 ? (function(O, P) {
|
|
2041
|
+
var w = typeof O != "string" ? "sc" : $r(O);
|
|
2042
|
+
Bt[w] = (Bt[w] || 0) + 1;
|
|
2043
|
+
var v = "".concat(w, "-").concat(Pi(bt + w + Bt[w]));
|
|
2044
|
+
return P ? "".concat(P, "-").concat(v) : v;
|
|
2045
|
+
})(t.displayName, t.parentComponentId) : u, d = t.displayName, h = d === void 0 ? (function(O) {
|
|
2046
|
+
return jt(O) ? "styled.".concat(O) : "Styled(".concat(bn(O), ")");
|
|
2047
|
+
})(e) : d, g = t.displayName && t.componentId ? "".concat($r(t.displayName), "-").concat(t.componentId) : t.componentId || m, y = n && a.attrs ? a.attrs.concat(f).filter(Boolean) : f, D = t.shouldForwardProp;
|
|
2048
|
+
if (n && a.shouldForwardProp) {
|
|
2049
|
+
var I = a.shouldForwardProp;
|
|
2050
|
+
if (t.shouldForwardProp) {
|
|
2051
|
+
var M = t.shouldForwardProp;
|
|
2052
|
+
D = function(O, P) {
|
|
2053
|
+
return I(O, P) && M(O, P);
|
|
2054
|
+
};
|
|
2055
|
+
} else D = I;
|
|
2056
|
+
}
|
|
2057
|
+
var A = new us(r, g, n ? a.componentStyle : void 0);
|
|
2058
|
+
function F(O, P) {
|
|
2059
|
+
return (function(w, v, J) {
|
|
2060
|
+
var ee = w.attrs, Ct = w.componentStyle, _t = w.defaultProps, Ke = w.foldedComponentIds, H = w.styledComponentId, te = w.target, le = ge.useContext(kn), Xe = Yr(), Fe = w.shouldForwardProp || Xe.shouldForwardProp;
|
|
2061
|
+
process.env.NODE_ENV !== "production" && Cr(H);
|
|
2062
|
+
var Ne = Di(v, le, _t) || ke, U = (function(we, re, se) {
|
|
2063
|
+
for (var q, K = V(V({}, re), { className: void 0, theme: se }), ce = 0; ce < we.length; ce += 1) {
|
|
2064
|
+
var Ce = Pe(q = we[ce]) ? q(K) : q;
|
|
2065
|
+
for (var X in Ce) K[X] = X === "className" ? pe(K[X], Ce[X]) : X === "style" ? V(V({}, K[X]), Ce[X]) : Ce[X];
|
|
2066
|
+
}
|
|
2067
|
+
return re.className && (K.className = pe(K.className, re.className)), K;
|
|
2068
|
+
})(ee, v, Ne), ae = U.as || te, ie = {};
|
|
2069
|
+
for (var L in U) U[L] === void 0 || L[0] === "$" || L === "as" || L === "theme" && U.theme === Ne || (L === "forwardedAs" ? ie.as = U.forwardedAs : Fe && !Fe(L, ae) || (ie[L] = U[L], Fe || process.env.NODE_ENV !== "development" || si(L) || qr.has(L) || !Ht.has(ae) || (qr.add(L), console.warn('styled-components: it looks like an unknown prop "'.concat(L, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
|
|
2070
|
+
var be = (function(we, re) {
|
|
2071
|
+
var se = Yr(), q = we.generateAndInjectStyles(re, se.styleSheet, se.stylis);
|
|
2072
|
+
return process.env.NODE_ENV !== "production" && Cr(q), q;
|
|
2073
|
+
})(Ct, U);
|
|
2074
|
+
process.env.NODE_ENV !== "production" && w.warnTooManyClasses && w.warnTooManyClasses(be);
|
|
2075
|
+
var Me = pe(Ke, H);
|
|
2076
|
+
return be && (Me += " " + be), U.className && (Me += " " + U.className), ie[jt(ae) && !Ht.has(ae) ? "class" : "className"] = Me, J && (ie.ref = J), io(ae, ie);
|
|
2077
|
+
})(R, O, P);
|
|
2078
|
+
}
|
|
2079
|
+
F.displayName = h;
|
|
2080
|
+
var R = ge.forwardRef(F);
|
|
2081
|
+
return R.attrs = y, R.componentStyle = A, R.displayName = h, R.shouldForwardProp = D, R.foldedComponentIds = n ? pe(a.foldedComponentIds, a.styledComponentId) : "", R.styledComponentId = g, R.target = n ? a.target : e, Object.defineProperty(R, "defaultProps", { get: function() {
|
|
2082
|
+
return this._foldedDefaultProps;
|
|
2083
|
+
}, set: function(O) {
|
|
2084
|
+
this._foldedDefaultProps = n ? (function(P) {
|
|
2085
|
+
for (var w = [], v = 1; v < arguments.length; v++) w[v - 1] = arguments[v];
|
|
2086
|
+
for (var J = 0, ee = w; J < ee.length; J++) Kt(P, ee[J], !0);
|
|
2087
|
+
return P;
|
|
2088
|
+
})({}, a.defaultProps, O) : O;
|
|
2089
|
+
} }), process.env.NODE_ENV !== "production" && (xi(h, g), R.warnTooManyClasses = /* @__PURE__ */ (function(O, P) {
|
|
2090
|
+
var w = {}, v = !1;
|
|
2091
|
+
return function(J) {
|
|
2092
|
+
if (!v && (w[J] = !0, Object.keys(w).length >= 200)) {
|
|
2093
|
+
var ee = P ? ' with the id of "'.concat(P, '"') : "";
|
|
2094
|
+
console.warn("Over ".concat(200, " classes were generated for component ").concat(O).concat(ee, `.
|
|
2095
|
+
`) + `Consider using the attrs method, together with a style object for frequently changed styles.
|
|
2096
|
+
Example:
|
|
2097
|
+
const Component = styled.div.attrs(props => ({
|
|
2098
|
+
style: {
|
|
2099
|
+
background: props.background,
|
|
2100
|
+
},
|
|
2101
|
+
}))\`width: 100%;\`
|
|
2102
|
+
|
|
2103
|
+
<Component />`), v = !0, w = {};
|
|
2104
|
+
}
|
|
2105
|
+
};
|
|
2106
|
+
})(h, g)), cr(R, function() {
|
|
2107
|
+
return ".".concat(R.styledComponentId);
|
|
2108
|
+
}), i && Sn(R, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), R;
|
|
2109
|
+
}
|
|
2110
|
+
function Kr(e, t) {
|
|
2111
|
+
for (var r = [e[0]], n = 0, a = t.length; n < a; n += 1) r.push(t[n], e[n + 1]);
|
|
2112
|
+
return r;
|
|
2113
|
+
}
|
|
2114
|
+
var Xr = function(e) {
|
|
2115
|
+
return Object.assign(e, { isCss: !0 });
|
|
2116
|
+
};
|
|
2117
|
+
function dt(e) {
|
|
2118
|
+
for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
|
|
2119
|
+
if (Pe(e) || Ie(e)) return Xr(me(Kr(wt, De([e], t, !0))));
|
|
2120
|
+
var n = e;
|
|
2121
|
+
return t.length === 0 && n.length === 1 && typeof n[0] == "string" ? me(n) : Xr(me(Kr(n, t)));
|
|
2122
|
+
}
|
|
2123
|
+
function Zt(e, t, r) {
|
|
2124
|
+
if (r === void 0 && (r = ke), !t) throw $e(1, t);
|
|
2125
|
+
var n = function(a) {
|
|
2126
|
+
for (var i = [], s = 1; s < arguments.length; s++) i[s - 1] = arguments[s];
|
|
2127
|
+
return e(t, r, dt.apply(void 0, De([a], i, !1)));
|
|
2128
|
+
};
|
|
2129
|
+
return n.attrs = function(a) {
|
|
2130
|
+
return Zt(e, t, V(V({}, r), { attrs: Array.prototype.concat(r.attrs, a).filter(Boolean) }));
|
|
2131
|
+
}, n.withConfig = function(a) {
|
|
2132
|
+
return Zt(e, t, V(V({}, r), a));
|
|
2133
|
+
}, n;
|
|
2134
|
+
}
|
|
2135
|
+
var Pn = function(e) {
|
|
2136
|
+
return Zt(ls, e);
|
|
2137
|
+
}, oe = Pn;
|
|
2138
|
+
Ht.forEach(function(e) {
|
|
2139
|
+
oe[e] = Pn(e);
|
|
2140
|
+
});
|
|
2141
|
+
process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
2142
|
+
Perhaps you're looking to import 'styled-components/native'?
|
|
2143
|
+
Read more about this at https://www.styled-components.com/docs/basics#react-native`);
|
|
2144
|
+
var nt = "__sc-".concat(ve, "__");
|
|
2145
|
+
process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[nt] || (window[nt] = 0), window[nt] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
2146
|
+
|
|
2147
|
+
See https://s-c.sh/2BAXzed for more info.`), window[nt] += 1);
|
|
2148
|
+
const qe = {
|
|
2149
|
+
m50: "#FAFAFA",
|
|
2150
|
+
m100: "#F5F5F5",
|
|
2151
|
+
m200: "#EEEEEE",
|
|
2152
|
+
m300: "#E0E0E0",
|
|
2153
|
+
m400: "#BDBDBD",
|
|
2154
|
+
m500: "#9E9E9E",
|
|
2155
|
+
m600: "#757575",
|
|
2156
|
+
m700: "#616161",
|
|
2157
|
+
m800: "#424242",
|
|
2158
|
+
m900: "#212121"
|
|
2159
|
+
}, fs = oe.img`
|
|
2160
|
+
display: inline-block;
|
|
2161
|
+
vertical-align: middle;
|
|
2162
|
+
fill: ${({ color: e }) => e};
|
|
2163
|
+
`, ds = (e) => {
|
|
2164
|
+
const { color: t, size: r } = e;
|
|
2165
|
+
return /* @__PURE__ */ k.jsx(
|
|
2166
|
+
fs,
|
|
2167
|
+
{
|
|
2168
|
+
...e,
|
|
2169
|
+
color: t || qe.m500,
|
|
2170
|
+
src: "https://www.svgrepo.com/show/533659/chevron-left.svg",
|
|
2171
|
+
alt: "Chevron Left",
|
|
2172
|
+
width: r,
|
|
2173
|
+
height: r
|
|
2174
|
+
}
|
|
2175
|
+
);
|
|
2176
|
+
}, ps = oe.img`
|
|
2177
|
+
display: inline-block;
|
|
2178
|
+
vertical-align: middle;
|
|
2179
|
+
fill: ${({ color: e }) => e};
|
|
2180
|
+
`, hs = (e) => {
|
|
2181
|
+
const { color: t, size: r } = e;
|
|
2182
|
+
return /* @__PURE__ */ k.jsx(
|
|
2183
|
+
ps,
|
|
2184
|
+
{
|
|
2185
|
+
...e,
|
|
2186
|
+
color: t || qe.m500,
|
|
2187
|
+
src: "https://www.svgrepo.com/show/533661/chevron-right.svg",
|
|
2188
|
+
alt: "Chevron Right",
|
|
2189
|
+
width: r,
|
|
2190
|
+
height: r
|
|
2191
|
+
}
|
|
2192
|
+
);
|
|
2193
|
+
}, Jt = "#FFFFFF", In = {
|
|
2194
|
+
m50: "#FAFAFA",
|
|
2195
|
+
// almost white (for very light backgrounds)
|
|
2196
|
+
m100: "#E0E0E0",
|
|
2197
|
+
// light gray
|
|
2198
|
+
m200: "#BDBDBD",
|
|
2199
|
+
// medium light gray
|
|
2200
|
+
m300: "#9E9E9E",
|
|
2201
|
+
// gray
|
|
2202
|
+
m400: "#757575",
|
|
2203
|
+
// medium dark gray
|
|
2204
|
+
m500: "#616161",
|
|
2205
|
+
// dark gray
|
|
2206
|
+
m600: "#424242",
|
|
2207
|
+
// very dark gray
|
|
2208
|
+
m700: "#212121",
|
|
2209
|
+
// near black
|
|
2210
|
+
m800: "#121212",
|
|
2211
|
+
// dark black
|
|
2212
|
+
m900: "#000000"
|
|
2213
|
+
// pure black
|
|
2214
|
+
}, $t = (e) => ({ shades: t }) => {
|
|
2215
|
+
if (["#FFFFFF"].includes(t))
|
|
2216
|
+
return In.m900;
|
|
2217
|
+
if (e === sn)
|
|
2218
|
+
return t.m500;
|
|
2219
|
+
if (e === cn)
|
|
2220
|
+
return t.m50;
|
|
2221
|
+
if (e === un)
|
|
2222
|
+
return t.m100;
|
|
2223
|
+
}, Nt = oe.div`
|
|
2224
|
+
display: flex;
|
|
2225
|
+
justify-content: center;
|
|
2226
|
+
align-items: center;
|
|
2227
|
+
gap: 0.6rem;
|
|
2228
|
+
min-width: 100%;
|
|
2229
|
+
width: 100%;
|
|
2230
|
+
|
|
2231
|
+
${({ isDisabled: e }) => e && dt`
|
|
2232
|
+
pointer-events: none;
|
|
2233
|
+
opacity: 0.4;
|
|
2234
|
+
`};
|
|
2235
|
+
`, ms = oe.div`
|
|
2236
|
+
height: ${({ individualRemSize: e }) => `${e}rem`};
|
|
2237
|
+
width: ${({ individualRemSize: e }) => `${e}rem`};
|
|
2238
|
+
border-radius: 50%;
|
|
2239
|
+
display: flex;
|
|
2240
|
+
align-items: center;
|
|
2241
|
+
flex-direction: column;
|
|
2242
|
+
justify-content: center;
|
|
2243
|
+
text-align: center;
|
|
2244
|
+
font-size: ${({ fontRemSize: e }) => e}rem;
|
|
2245
|
+
${({ isSelected: e }) => e ? dt`
|
|
2246
|
+
cursor: auto;
|
|
2247
|
+
color: ${Jt};
|
|
2248
|
+
background-color: ${$t(sn)};
|
|
2249
|
+
` : dt`
|
|
2250
|
+
cursor: pointer;
|
|
2251
|
+
color: ${qe.m500};
|
|
2252
|
+
|
|
2253
|
+
&:hover {
|
|
2254
|
+
background-color: ${$t(cn)};
|
|
2255
|
+
}
|
|
2256
|
+
|
|
2257
|
+
&:active {
|
|
2258
|
+
background-color: ${$t(un)};
|
|
2259
|
+
color: ${Jt};
|
|
2260
|
+
}
|
|
2261
|
+
`}
|
|
2262
|
+
`, Mt = oe.p`
|
|
2263
|
+
color: ${qe.m500};
|
|
2264
|
+
`, gs = oe(ds)`
|
|
2265
|
+
cursor: pointer;
|
|
2266
|
+
`, ys = oe(hs)`
|
|
2267
|
+
cursor: pointer;
|
|
2268
|
+
`, Lt = oe.div`
|
|
2269
|
+
min-width: ${({ size: e }) => e};
|
|
2270
|
+
display: flex;
|
|
2271
|
+
align-items: center;
|
|
2272
|
+
justify-content: space-between;
|
|
2273
|
+
`, Re = ({ size: e, selected: t, shades: r, changePage: n }) => (a) => {
|
|
2274
|
+
const i = an[e], s = ni[e], f = () => {
|
|
2275
|
+
n(a);
|
|
2276
|
+
};
|
|
2277
|
+
return /* @__PURE__ */ k.jsx(
|
|
2278
|
+
ms,
|
|
2279
|
+
{
|
|
2280
|
+
"data-testid": t === a ? "current-page" : `test-${a}`,
|
|
2281
|
+
isSelected: t === a,
|
|
2282
|
+
onClick: f,
|
|
2283
|
+
shades: r,
|
|
2284
|
+
individualRemSize: i,
|
|
2285
|
+
fontRemSize: s,
|
|
2286
|
+
children: a
|
|
2287
|
+
},
|
|
2288
|
+
`page_${a}`
|
|
2289
|
+
);
|
|
2290
|
+
}, zt = () => /* @__PURE__ */ k.jsxs(k.Fragment, { children: [
|
|
2291
|
+
/* @__PURE__ */ k.jsx(Mt, { children: "." }),
|
|
2292
|
+
/* @__PURE__ */ k.jsx(Mt, { children: "." }),
|
|
2293
|
+
/* @__PURE__ */ k.jsx(Mt, { children: "." })
|
|
2294
|
+
] }), Gt = ({ iconSize: e, shades: t, setPrevPage: r }) => /* @__PURE__ */ k.jsx(on, { rippleColor: t.m50, children: /* @__PURE__ */ k.jsx(gs, { size: e, onClick: r }) }), Vt = ({ iconSize: e, shades: t, setNextPage: r }) => /* @__PURE__ */ k.jsx(on, { rippleColor: t.m50, children: /* @__PURE__ */ k.jsx(ys, { size: e, onClick: r }) }), vs = {
|
|
2295
|
+
m50: "#FFF8E1",
|
|
2296
|
+
m100: "#FFECB3",
|
|
2297
|
+
m200: "#FFE082",
|
|
2298
|
+
m300: "#FFD54F",
|
|
2299
|
+
m400: "#FFCA28",
|
|
2300
|
+
m500: "#FFC107",
|
|
2301
|
+
m600: "#FFB300",
|
|
2302
|
+
m700: "#FFA000",
|
|
2303
|
+
m800: "#FF8F00",
|
|
2304
|
+
m900: "#FF6F00",
|
|
2305
|
+
a100: "#FFE57F",
|
|
2306
|
+
a200: "#FFD740",
|
|
2307
|
+
a400: "#FFC400",
|
|
2308
|
+
a700: "#FFAB00"
|
|
2309
|
+
}, Es = {
|
|
2310
|
+
m50: "#E3F2FD",
|
|
2311
|
+
m100: "#BBDEFB",
|
|
2312
|
+
m200: "#90CAF9",
|
|
2313
|
+
m300: "#64B5F6",
|
|
2314
|
+
m400: "#42A5F5",
|
|
2315
|
+
m500: "#2196F3",
|
|
2316
|
+
m600: "#1E88E5",
|
|
2317
|
+
m700: "#1976D2",
|
|
2318
|
+
m800: "#1565C0",
|
|
2319
|
+
m900: "#0D47A1",
|
|
2320
|
+
a100: "#82B1FF",
|
|
2321
|
+
a200: "#448AFF",
|
|
2322
|
+
a400: "#2979FF",
|
|
2323
|
+
a700: "#2962FF"
|
|
2324
|
+
}, Fs = {
|
|
2325
|
+
m50: "#ECEFF1",
|
|
2326
|
+
m100: "#CFD8DC",
|
|
2327
|
+
m200: "#B0BEC5",
|
|
2328
|
+
m300: "#90A4AE",
|
|
2329
|
+
m400: "#78909C",
|
|
2330
|
+
m500: "#607D8B",
|
|
2331
|
+
m600: "#546E7A",
|
|
2332
|
+
m700: "#455A64",
|
|
2333
|
+
m800: "#37474F",
|
|
2334
|
+
m900: "#263238"
|
|
2335
|
+
}, bs = {
|
|
2336
|
+
m50: "#EFEBE9",
|
|
2337
|
+
m100: "#D7CCC8",
|
|
2338
|
+
m200: "#BCAAA4",
|
|
2339
|
+
m300: "#A1887F",
|
|
2340
|
+
m400: "#8D6E63",
|
|
2341
|
+
m500: "#795548",
|
|
2342
|
+
m600: "#6D4C41",
|
|
2343
|
+
m700: "#5D4037",
|
|
2344
|
+
m800: "#4E342E",
|
|
2345
|
+
m900: "#3E2723"
|
|
2346
|
+
}, ws = {
|
|
2347
|
+
m50: "#FFF1E6",
|
|
2348
|
+
m100: "#FFD9B8",
|
|
2349
|
+
m200: "#FFBF8A",
|
|
2350
|
+
m300: "#FFA45C",
|
|
2351
|
+
m400: "#FF8C3A",
|
|
2352
|
+
m500: "#FF7300",
|
|
2353
|
+
m600: "#E06600",
|
|
2354
|
+
m700: "#B24D00",
|
|
2355
|
+
m800: "#803300",
|
|
2356
|
+
m900: "#4D1A00"
|
|
2357
|
+
}, Cs = {
|
|
2358
|
+
m50: "#E0F7FA",
|
|
2359
|
+
m100: "#B2EBF2",
|
|
2360
|
+
m200: "#80DEEA",
|
|
2361
|
+
m300: "#4DD0E1",
|
|
2362
|
+
m400: "#26C6DA",
|
|
2363
|
+
m500: "#00BCD4",
|
|
2364
|
+
m600: "#00ACC1",
|
|
2365
|
+
m700: "#0097A7",
|
|
2366
|
+
m800: "#00838F",
|
|
2367
|
+
m900: "#006064",
|
|
2368
|
+
a100: "#84FFFF",
|
|
2369
|
+
a200: "#18FFFF",
|
|
2370
|
+
a400: "#00E5FF",
|
|
2371
|
+
a700: "#00B8D4"
|
|
2372
|
+
}, _s = {
|
|
2373
|
+
m50: "#FBE9E7",
|
|
2374
|
+
m100: "#FFCCBC",
|
|
2375
|
+
m200: "#FFAB91",
|
|
2376
|
+
m300: "#FF8A65",
|
|
2377
|
+
m400: "#FF7043",
|
|
2378
|
+
m500: "#FF5722",
|
|
2379
|
+
m600: "#F4511E",
|
|
2380
|
+
m700: "#E64A19",
|
|
2381
|
+
m800: "#D84315",
|
|
2382
|
+
m900: "#BF360C",
|
|
2383
|
+
a100: "#FF9E80",
|
|
2384
|
+
a200: "#FF6E40",
|
|
2385
|
+
a400: "#FF3D00",
|
|
2386
|
+
a700: "#DD2C00"
|
|
2387
|
+
}, Ss = {
|
|
2388
|
+
m50: "#EDE7F6",
|
|
2389
|
+
m100: "#D1C4E9",
|
|
2390
|
+
m200: "#B39DDB",
|
|
2391
|
+
m300: "#9575CD",
|
|
2392
|
+
m400: "#7E57C2",
|
|
2393
|
+
m500: "#673AB7",
|
|
2394
|
+
m600: "#5E35B1",
|
|
2395
|
+
m700: "#512DA8",
|
|
2396
|
+
m800: "#4527A0",
|
|
2397
|
+
m900: "#311B92",
|
|
2398
|
+
a100: "#B388FF",
|
|
2399
|
+
a200: "#7C4DFF",
|
|
2400
|
+
a400: "#651FFF",
|
|
2401
|
+
a700: "#6200EA"
|
|
2402
|
+
}, As = {
|
|
2403
|
+
m50: "#E8F5E9",
|
|
2404
|
+
m100: "#C8E6C9",
|
|
2405
|
+
m200: "#A5D6A7",
|
|
2406
|
+
m300: "#81C784",
|
|
2407
|
+
m400: "#66BB6A",
|
|
2408
|
+
m500: "#4CAF50",
|
|
2409
|
+
m600: "#43A047",
|
|
2410
|
+
m700: "#388E3C",
|
|
2411
|
+
m800: "#2E7D32",
|
|
2412
|
+
m900: "#1B5E20",
|
|
2413
|
+
a100: "#B9F6CA",
|
|
2414
|
+
a200: "#69F0AE",
|
|
2415
|
+
a400: "#00E676",
|
|
2416
|
+
a700: "#00C853"
|
|
2417
|
+
}, Rs = {
|
|
2418
|
+
m50: "#E8EAF6",
|
|
2419
|
+
m100: "#C5CAE9",
|
|
2420
|
+
m200: "#9FA8DA",
|
|
2421
|
+
m300: "#7986CB",
|
|
2422
|
+
m400: "#5C6BC0",
|
|
2423
|
+
m500: "#3F51B5",
|
|
2424
|
+
m600: "#3949AB",
|
|
2425
|
+
m700: "#303F9F",
|
|
2426
|
+
m800: "#283593",
|
|
2427
|
+
m900: "#1A237E",
|
|
2428
|
+
a100: "#8C9EFF",
|
|
2429
|
+
a200: "#536DFE",
|
|
2430
|
+
a400: "#3D5AFE",
|
|
2431
|
+
a700: "#304FFE"
|
|
2432
|
+
}, xs = {
|
|
2433
|
+
m50: "#E1F5FE",
|
|
2434
|
+
m100: "#B3E5FC",
|
|
2435
|
+
m200: "#81D4FA",
|
|
2436
|
+
m300: "#4FC3F7",
|
|
2437
|
+
m400: "#29B6F6",
|
|
2438
|
+
m500: "#03A9F4",
|
|
2439
|
+
m600: "#039BE5",
|
|
2440
|
+
m700: "#0288D1",
|
|
2441
|
+
m800: "#0277BD",
|
|
2442
|
+
m900: "#01579B",
|
|
2443
|
+
a100: "#80D8FF",
|
|
2444
|
+
a200: "#40C4FF",
|
|
2445
|
+
a400: "#00B0FF",
|
|
2446
|
+
a700: "#0091EA"
|
|
2447
|
+
}, Ds = {
|
|
2448
|
+
m50: "#F1F8E9",
|
|
2449
|
+
m100: "#DCEDC8",
|
|
2450
|
+
m200: "#C5E1A5",
|
|
2451
|
+
m300: "#AED581",
|
|
2452
|
+
m400: "#9CCC65",
|
|
2453
|
+
m500: "#8BC34A",
|
|
2454
|
+
m600: "#7CB342",
|
|
2455
|
+
m700: "#689F38",
|
|
2456
|
+
m800: "#558B2F",
|
|
2457
|
+
m900: "#33691E",
|
|
2458
|
+
a100: "#CCFF90",
|
|
2459
|
+
a200: "#B2FF59",
|
|
2460
|
+
a400: "#76FF03",
|
|
2461
|
+
a700: "#64DD17"
|
|
2462
|
+
}, Os = {
|
|
2463
|
+
m50: "#F9FBE7",
|
|
2464
|
+
m100: "#F0F4C3",
|
|
2465
|
+
m200: "#E6EE9C",
|
|
2466
|
+
m300: "#DCE775",
|
|
2467
|
+
m400: "#D4E157",
|
|
2468
|
+
m500: "#CDDC39",
|
|
2469
|
+
m600: "#C0CA33",
|
|
2470
|
+
m700: "#AFB42B",
|
|
2471
|
+
m800: "#9E9D24",
|
|
2472
|
+
m900: "#827717",
|
|
2473
|
+
a100: "#F4FF81",
|
|
2474
|
+
a200: "#EEFF41",
|
|
2475
|
+
a400: "#C6FF00",
|
|
2476
|
+
a700: "#AEEA00"
|
|
2477
|
+
}, Ts = {
|
|
2478
|
+
m50: "#FFF3E0",
|
|
2479
|
+
m100: "#FFE0B2",
|
|
2480
|
+
m200: "#FFCC80",
|
|
2481
|
+
m300: "#FFB74D",
|
|
2482
|
+
m400: "#FFA726",
|
|
2483
|
+
m500: "#FF9800",
|
|
2484
|
+
m600: "#FB8C00",
|
|
2485
|
+
m700: "#F57C00",
|
|
2486
|
+
m800: "#EF6C00",
|
|
2487
|
+
m900: "#E65100",
|
|
2488
|
+
a100: "#FFD180",
|
|
2489
|
+
a200: "#FFAB40",
|
|
2490
|
+
a400: "#FF9100",
|
|
2491
|
+
a700: "#FF6D00"
|
|
2492
|
+
}, ks = {
|
|
2493
|
+
m50: "#FCE4EC",
|
|
2494
|
+
m100: "#F8BBD0",
|
|
2495
|
+
m200: "#F48FB1",
|
|
2496
|
+
m300: "#F06292",
|
|
2497
|
+
m400: "#EC407A",
|
|
2498
|
+
m500: "#E91E63",
|
|
2499
|
+
m600: "#D81B60",
|
|
2500
|
+
m700: "#C2185B",
|
|
2501
|
+
m800: "#AD1457",
|
|
2502
|
+
m900: "#880E4F",
|
|
2503
|
+
a100: "#FF80AB",
|
|
2504
|
+
a200: "#FF4081",
|
|
2505
|
+
a400: "#F50057",
|
|
2506
|
+
a700: "#C51162"
|
|
2507
|
+
}, Ps = {
|
|
2508
|
+
m50: "#F3E5F5",
|
|
2509
|
+
m100: "#E1BEE7",
|
|
2510
|
+
m200: "#CE93D8",
|
|
2511
|
+
m300: "#BA68C8",
|
|
2512
|
+
m400: "#AB47BC",
|
|
2513
|
+
m500: "#9C27B0",
|
|
2514
|
+
m600: "#8E24AA",
|
|
2515
|
+
m700: "#7B1FA2",
|
|
2516
|
+
m800: "#6A1B9A",
|
|
2517
|
+
m900: "#4A148C",
|
|
2518
|
+
a100: "#EA80FC",
|
|
2519
|
+
a200: "#E040FB",
|
|
2520
|
+
a400: "#D500F9",
|
|
2521
|
+
a700: "#AA00FF"
|
|
2522
|
+
}, Is = {
|
|
2523
|
+
m50: "#FFEBEE",
|
|
2524
|
+
m100: "#FFCDD2",
|
|
2525
|
+
m200: "#EF9A9A",
|
|
2526
|
+
m300: "#E57373",
|
|
2527
|
+
m400: "#EF5350",
|
|
2528
|
+
m500: "#F44336",
|
|
2529
|
+
m600: "#E53935",
|
|
2530
|
+
m700: "#D32F2F",
|
|
2531
|
+
m800: "#C62828",
|
|
2532
|
+
m900: "#B71C1C",
|
|
2533
|
+
a100: "#FF8A80",
|
|
2534
|
+
a200: "#FF5252",
|
|
2535
|
+
a400: "#FF1744",
|
|
2536
|
+
a700: "#D50000"
|
|
2537
|
+
}, jn = {
|
|
2538
|
+
m50: "#E0F2F1",
|
|
2539
|
+
m100: "#B2DFDB",
|
|
2540
|
+
m200: "#80CBC4",
|
|
2541
|
+
m300: "#4DB6AC",
|
|
2542
|
+
m400: "#26A69A",
|
|
2543
|
+
m500: "#009688",
|
|
2544
|
+
m600: "#00897B",
|
|
2545
|
+
m700: "#00796B",
|
|
2546
|
+
m800: "#00695C",
|
|
2547
|
+
m900: "#004D40",
|
|
2548
|
+
a100: "#A7FFEB",
|
|
2549
|
+
a200: "#64FFDA",
|
|
2550
|
+
a400: "#1DE9B6",
|
|
2551
|
+
a700: "#00BFA5"
|
|
2552
|
+
}, js = {
|
|
2553
|
+
m50: "#F3E8FF",
|
|
2554
|
+
m100: "#E1BFFF",
|
|
2555
|
+
m200: "#CE96FF",
|
|
2556
|
+
m300: "#BA6EFF",
|
|
2557
|
+
m400: "#A955FF",
|
|
2558
|
+
m500: "#933DFF",
|
|
2559
|
+
m600: "#852AFF",
|
|
2560
|
+
m700: "#7718FF",
|
|
2561
|
+
m800: "#6800E6",
|
|
2562
|
+
m900: "#4D00B3",
|
|
2563
|
+
a100: "#D1A8FF",
|
|
2564
|
+
a200: "#B36CFF",
|
|
2565
|
+
a400: "#9400FF",
|
|
2566
|
+
a700: "#7A00E6"
|
|
2567
|
+
}, Bs = {
|
|
2568
|
+
m50: "#FFFDE7",
|
|
2569
|
+
m100: "#FFF9C4",
|
|
2570
|
+
m200: "#FFF59D",
|
|
2571
|
+
m300: "#FFF176",
|
|
2572
|
+
m400: "#FFEE58",
|
|
2573
|
+
m500: "#FFEB3B",
|
|
2574
|
+
m600: "#FDD835",
|
|
2575
|
+
m700: "#FBC02D",
|
|
2576
|
+
m800: "#F9A825",
|
|
2577
|
+
m900: "#F57F17",
|
|
2578
|
+
a100: "#FFFF8D",
|
|
2579
|
+
a200: "#FFFF00",
|
|
2580
|
+
a400: "#FFEA00",
|
|
2581
|
+
a700: "#FFD600"
|
|
2582
|
+
}, $s = {
|
|
2583
|
+
amber: vs,
|
|
2584
|
+
black: In,
|
|
2585
|
+
blue: Es,
|
|
2586
|
+
blueGray: Fs,
|
|
2587
|
+
brown: bs,
|
|
2588
|
+
cider: ws,
|
|
2589
|
+
cyan: Cs,
|
|
2590
|
+
deepOrange: _s,
|
|
2591
|
+
deepPurple: Ss,
|
|
2592
|
+
green: As,
|
|
2593
|
+
grey: qe,
|
|
2594
|
+
indigo: Rs,
|
|
2595
|
+
lightBlue: xs,
|
|
2596
|
+
lightGreen: Ds,
|
|
2597
|
+
lime: Os,
|
|
2598
|
+
orange: Ts,
|
|
2599
|
+
pink: ks,
|
|
2600
|
+
purple: Ps,
|
|
2601
|
+
red: Is,
|
|
2602
|
+
teal: jn,
|
|
2603
|
+
violet: js,
|
|
2604
|
+
white: Jt,
|
|
2605
|
+
yellow: Bs
|
|
2606
|
+
}, Ms = ({
|
|
2607
|
+
pageNumber: e,
|
|
2608
|
+
setPageNumber: t,
|
|
2609
|
+
totalPages: r,
|
|
2610
|
+
theme: n = "lime",
|
|
2611
|
+
size: a = gt,
|
|
2612
|
+
isDisabled: i = !1
|
|
2613
|
+
}) => {
|
|
2614
|
+
const s = (y) => {
|
|
2615
|
+
y !== e && t(y);
|
|
2616
|
+
}, f = () => {
|
|
2617
|
+
e > 1 && s(e - 1);
|
|
2618
|
+
}, u = () => {
|
|
2619
|
+
e < r && s(e + 1);
|
|
2620
|
+
}, m = (y) => {
|
|
2621
|
+
console.log({ e: y }), ["ArrowLeft", "ArrowUp"].includes(y.code) && f(), ["ArrowRight", "ArrowDown"].includes(y.code) && u();
|
|
2622
|
+
}, d = Aa($s, n, jn), h = an[a], g = oi[a];
|
|
2623
|
+
return r <= 7 ? /* @__PURE__ */ k.jsxs(Nt, { onKeyDown: m, tabIndex: "0", isDisabled: i, children: [
|
|
2624
|
+
/* @__PURE__ */ k.jsx(Gt, { iconSize: g, shades: d, setPrevPage: f }),
|
|
2625
|
+
/* @__PURE__ */ k.jsx(Lt, { size: `${r * h}rem`, children: kt(1, r + 1).map(
|
|
2626
|
+
Re({ size: a, selected: e, shades: d, changePage: s })
|
|
2627
|
+
) }),
|
|
2628
|
+
/* @__PURE__ */ k.jsx(Vt, { iconSize: g, shades: d, setNextPage: u })
|
|
2629
|
+
] }) : r < 10 || e < 4 || e > r - 3 && e <= r ? /* @__PURE__ */ k.jsxs(Nt, { onKeyDown: m, tabIndex: "0", isDisabled: i, children: [
|
|
2630
|
+
/* @__PURE__ */ k.jsx(Gt, { iconSize: g, shades: d, setPrevPage: f }),
|
|
2631
|
+
/* @__PURE__ */ k.jsxs(Lt, { size: `${9 * h}rem`, children: [
|
|
2632
|
+
kt(1, 5).map(Re({ size: a, selected: e, shades: d, changePage: s })),
|
|
2633
|
+
zt(),
|
|
2634
|
+
[r - 3, r - 2, r - 1, r].map(
|
|
2635
|
+
Re({ size: a, selected: e, shades: d, changePage: s })
|
|
2636
|
+
)
|
|
2637
|
+
] }),
|
|
2638
|
+
/* @__PURE__ */ k.jsx(Vt, { iconSize: g, shades: d, setNextPage: u })
|
|
2639
|
+
] }) : /* @__PURE__ */ k.jsxs(Nt, { onKeyDown: m, tabIndex: "0", isDisabled: i, children: [
|
|
2640
|
+
/* @__PURE__ */ k.jsx(Gt, { iconSize: g, shades: d, setPrevPage: f }),
|
|
2641
|
+
/* @__PURE__ */ k.jsxs(Lt, { size: `${9 * h}rem`, children: [
|
|
2642
|
+
kt(1, 3).map(Re({ size: a, selected: e, shades: d, changePage: s })),
|
|
2643
|
+
zt(),
|
|
2644
|
+
[e - 1, e, e + 1].map(
|
|
2645
|
+
Re({ size: a, selected: e, shades: d, changePage: s })
|
|
2646
|
+
),
|
|
2647
|
+
zt(),
|
|
2648
|
+
[r - 1, r].map(
|
|
2649
|
+
Re({ size: a, selected: e, shades: d, changePage: s })
|
|
2650
|
+
)
|
|
2651
|
+
] }),
|
|
2652
|
+
/* @__PURE__ */ k.jsx(Vt, { iconSize: g, shades: d, setNextPage: u })
|
|
2653
|
+
] });
|
|
2654
|
+
};
|
|
2655
|
+
export {
|
|
2656
|
+
ds as ChevronLeft,
|
|
2657
|
+
hs as ChevronRight,
|
|
2658
|
+
Ms as Pagination,
|
|
2659
|
+
$s as colors
|
|
2660
|
+
};
|