kilya-ui 0.1.2 → 0.1.4
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/kilya-ui.es.js +2128 -1039
- package/dist/kilya-ui.umd.js +526 -225
- package/package.json +1 -1
package/dist/kilya-ui.es.js
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import Re, { useDebugValue as Ft, createElement as Br, useRef as ot, useContext as Vr, useState as pe, useCallback as J, useEffect as ve, useMemo as Je } from "react";
|
|
2
|
+
function Hr(e) {
|
|
3
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4
|
+
}
|
|
5
|
+
var Ve = { exports: {} }, De = {};
|
|
6
|
+
var Mt;
|
|
7
|
+
function Gr() {
|
|
8
|
+
if (Mt) return De;
|
|
9
|
+
Mt = 1;
|
|
10
|
+
var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
11
|
+
function r(o, n, s) {
|
|
9
12
|
var c = null;
|
|
10
13
|
if (s !== void 0 && (c = "" + s), n.key !== void 0 && (c = "" + n.key), "key" in n) {
|
|
11
14
|
s = {};
|
|
12
|
-
for (var
|
|
13
|
-
|
|
15
|
+
for (var u in n)
|
|
16
|
+
u !== "key" && (s[u] = n[u]);
|
|
14
17
|
} else s = n;
|
|
15
18
|
return n = s.ref, {
|
|
16
19
|
$$typeof: e,
|
|
@@ -20,339 +23,339 @@ function vt() {
|
|
|
20
23
|
props: s
|
|
21
24
|
};
|
|
22
25
|
}
|
|
23
|
-
return
|
|
24
|
-
}
|
|
25
|
-
var
|
|
26
|
-
var
|
|
27
|
-
function
|
|
28
|
-
return
|
|
29
|
-
function e(
|
|
30
|
-
if (
|
|
31
|
-
if (typeof
|
|
32
|
-
return
|
|
33
|
-
if (typeof
|
|
34
|
-
switch (
|
|
35
|
-
case
|
|
26
|
+
return De.Fragment = t, De.jsx = r, De.jsxs = r, De;
|
|
27
|
+
}
|
|
28
|
+
var Fe = {};
|
|
29
|
+
var Wt;
|
|
30
|
+
function qr() {
|
|
31
|
+
return Wt || (Wt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
32
|
+
function e(l) {
|
|
33
|
+
if (l == null) return null;
|
|
34
|
+
if (typeof l == "function")
|
|
35
|
+
return l.$$typeof === oe ? null : l.displayName || l.name || null;
|
|
36
|
+
if (typeof l == "string") return l;
|
|
37
|
+
switch (l) {
|
|
38
|
+
case T:
|
|
36
39
|
return "Fragment";
|
|
37
|
-
case
|
|
40
|
+
case $:
|
|
38
41
|
return "Profiler";
|
|
39
|
-
case
|
|
42
|
+
case A:
|
|
40
43
|
return "StrictMode";
|
|
41
|
-
case
|
|
44
|
+
case S:
|
|
42
45
|
return "Suspense";
|
|
43
|
-
case
|
|
46
|
+
case y:
|
|
44
47
|
return "SuspenseList";
|
|
45
|
-
case
|
|
48
|
+
case re:
|
|
46
49
|
return "Activity";
|
|
47
50
|
}
|
|
48
|
-
if (typeof
|
|
49
|
-
switch (typeof
|
|
51
|
+
if (typeof l == "object")
|
|
52
|
+
switch (typeof l.tag == "number" && console.error(
|
|
50
53
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
51
|
-
),
|
|
52
|
-
case
|
|
54
|
+
), l.$$typeof) {
|
|
55
|
+
case C:
|
|
53
56
|
return "Portal";
|
|
54
|
-
case
|
|
55
|
-
return
|
|
56
|
-
case S:
|
|
57
|
-
return (a._context.displayName || "Context") + ".Consumer";
|
|
57
|
+
case _:
|
|
58
|
+
return l.displayName || "Context";
|
|
58
59
|
case R:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
return
|
|
63
|
-
case
|
|
64
|
-
|
|
60
|
+
return (l._context.displayName || "Context") + ".Consumer";
|
|
61
|
+
case P:
|
|
62
|
+
var f = l.render;
|
|
63
|
+
return l = l.displayName, l || (l = f.displayName || f.name || "", l = l !== "" ? "ForwardRef(" + l + ")" : "ForwardRef"), l;
|
|
64
|
+
case q:
|
|
65
|
+
return f = l.displayName || null, f !== null ? f : e(l.type) || "Memo";
|
|
66
|
+
case U:
|
|
67
|
+
f = l._payload, l = l._init;
|
|
65
68
|
try {
|
|
66
|
-
return e(
|
|
69
|
+
return e(l(f));
|
|
67
70
|
} catch {
|
|
68
71
|
}
|
|
69
72
|
}
|
|
70
73
|
return null;
|
|
71
74
|
}
|
|
72
|
-
function
|
|
73
|
-
return "" +
|
|
75
|
+
function t(l) {
|
|
76
|
+
return "" + l;
|
|
74
77
|
}
|
|
75
|
-
function
|
|
78
|
+
function r(l) {
|
|
76
79
|
try {
|
|
77
|
-
|
|
78
|
-
var
|
|
80
|
+
t(l);
|
|
81
|
+
var f = !1;
|
|
79
82
|
} catch {
|
|
80
|
-
|
|
83
|
+
f = !0;
|
|
81
84
|
}
|
|
82
|
-
if (
|
|
83
|
-
|
|
84
|
-
var
|
|
85
|
-
return
|
|
86
|
-
|
|
85
|
+
if (f) {
|
|
86
|
+
f = console;
|
|
87
|
+
var O = f.error, I = typeof Symbol == "function" && Symbol.toStringTag && l[Symbol.toStringTag] || l.constructor.name || "Object";
|
|
88
|
+
return O.call(
|
|
89
|
+
f,
|
|
87
90
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
88
|
-
|
|
89
|
-
),
|
|
91
|
+
I
|
|
92
|
+
), t(l);
|
|
90
93
|
}
|
|
91
94
|
}
|
|
92
|
-
function o(
|
|
93
|
-
if (
|
|
94
|
-
if (typeof
|
|
95
|
+
function o(l) {
|
|
96
|
+
if (l === T) return "<>";
|
|
97
|
+
if (typeof l == "object" && l !== null && l.$$typeof === U)
|
|
95
98
|
return "<...>";
|
|
96
99
|
try {
|
|
97
|
-
var
|
|
98
|
-
return
|
|
100
|
+
var f = e(l);
|
|
101
|
+
return f ? "<" + f + ">" : "<...>";
|
|
99
102
|
} catch {
|
|
100
103
|
return "<...>";
|
|
101
104
|
}
|
|
102
105
|
}
|
|
103
106
|
function n() {
|
|
104
|
-
var
|
|
105
|
-
return
|
|
107
|
+
var l = V.A;
|
|
108
|
+
return l === null ? null : l.getOwner();
|
|
106
109
|
}
|
|
107
110
|
function s() {
|
|
108
111
|
return Error("react-stack-top-frame");
|
|
109
112
|
}
|
|
110
|
-
function c(
|
|
111
|
-
if (
|
|
112
|
-
var
|
|
113
|
-
if (
|
|
113
|
+
function c(l) {
|
|
114
|
+
if (Z.call(l, "key")) {
|
|
115
|
+
var f = Object.getOwnPropertyDescriptor(l, "key").get;
|
|
116
|
+
if (f && f.isReactWarning) return !1;
|
|
114
117
|
}
|
|
115
|
-
return
|
|
118
|
+
return l.key !== void 0;
|
|
116
119
|
}
|
|
117
|
-
function
|
|
118
|
-
function
|
|
119
|
-
|
|
120
|
+
function u(l, f) {
|
|
121
|
+
function O() {
|
|
122
|
+
xe || (xe = !0, console.error(
|
|
120
123
|
"%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://react.dev/link/special-props)",
|
|
121
|
-
|
|
124
|
+
f
|
|
122
125
|
));
|
|
123
126
|
}
|
|
124
|
-
|
|
125
|
-
get:
|
|
127
|
+
O.isReactWarning = !0, Object.defineProperty(l, "key", {
|
|
128
|
+
get: O,
|
|
126
129
|
configurable: !0
|
|
127
130
|
});
|
|
128
131
|
}
|
|
129
|
-
function
|
|
130
|
-
var
|
|
131
|
-
return
|
|
132
|
+
function d() {
|
|
133
|
+
var l = e(this.type);
|
|
134
|
+
return ae[l] || (ae[l] = !0, console.error(
|
|
132
135
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
133
|
-
)),
|
|
136
|
+
)), l = this.props.ref, l !== void 0 ? l : null;
|
|
134
137
|
}
|
|
135
|
-
function
|
|
136
|
-
var
|
|
137
|
-
return
|
|
138
|
-
$$typeof:
|
|
139
|
-
type:
|
|
140
|
-
key:
|
|
141
|
-
props:
|
|
142
|
-
_owner:
|
|
143
|
-
}, (
|
|
138
|
+
function h(l, f, O, I, se, ie) {
|
|
139
|
+
var z = O.ref;
|
|
140
|
+
return l = {
|
|
141
|
+
$$typeof: E,
|
|
142
|
+
type: l,
|
|
143
|
+
key: f,
|
|
144
|
+
props: O,
|
|
145
|
+
_owner: I
|
|
146
|
+
}, (z !== void 0 ? z : null) !== null ? Object.defineProperty(l, "ref", {
|
|
144
147
|
enumerable: !1,
|
|
145
|
-
get:
|
|
146
|
-
}) : Object.defineProperty(
|
|
148
|
+
get: d
|
|
149
|
+
}) : Object.defineProperty(l, "ref", { enumerable: !1, value: null }), l._store = {}, Object.defineProperty(l._store, "validated", {
|
|
147
150
|
configurable: !1,
|
|
148
151
|
enumerable: !1,
|
|
149
152
|
writable: !0,
|
|
150
153
|
value: 0
|
|
151
|
-
}), Object.defineProperty(
|
|
154
|
+
}), Object.defineProperty(l, "_debugInfo", {
|
|
152
155
|
configurable: !1,
|
|
153
156
|
enumerable: !1,
|
|
154
157
|
writable: !0,
|
|
155
158
|
value: null
|
|
156
|
-
}), Object.defineProperty(
|
|
159
|
+
}), Object.defineProperty(l, "_debugStack", {
|
|
157
160
|
configurable: !1,
|
|
158
161
|
enumerable: !1,
|
|
159
162
|
writable: !0,
|
|
160
|
-
value:
|
|
161
|
-
}), Object.defineProperty(
|
|
163
|
+
value: se
|
|
164
|
+
}), Object.defineProperty(l, "_debugTask", {
|
|
162
165
|
configurable: !1,
|
|
163
166
|
enumerable: !1,
|
|
164
167
|
writable: !0,
|
|
165
|
-
value:
|
|
166
|
-
}), Object.freeze && (Object.freeze(
|
|
168
|
+
value: ie
|
|
169
|
+
}), Object.freeze && (Object.freeze(l.props), Object.freeze(l)), l;
|
|
167
170
|
}
|
|
168
|
-
function
|
|
169
|
-
var
|
|
170
|
-
if (
|
|
171
|
-
if (
|
|
172
|
-
if (
|
|
173
|
-
for (
|
|
174
|
-
|
|
175
|
-
Object.freeze && Object.freeze(
|
|
171
|
+
function g(l, f, O, I, se, ie) {
|
|
172
|
+
var z = f.children;
|
|
173
|
+
if (z !== void 0)
|
|
174
|
+
if (I)
|
|
175
|
+
if (ze(z)) {
|
|
176
|
+
for (I = 0; I < z.length; I++)
|
|
177
|
+
m(z[I]);
|
|
178
|
+
Object.freeze && Object.freeze(z);
|
|
176
179
|
} else
|
|
177
180
|
console.error(
|
|
178
181
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
179
182
|
);
|
|
180
|
-
else
|
|
181
|
-
if (
|
|
182
|
-
|
|
183
|
-
var
|
|
184
|
-
return
|
|
183
|
+
else m(z);
|
|
184
|
+
if (Z.call(f, "key")) {
|
|
185
|
+
z = e(l);
|
|
186
|
+
var G = Object.keys(f).filter(function(Ie) {
|
|
187
|
+
return Ie !== "key";
|
|
185
188
|
});
|
|
186
|
-
|
|
189
|
+
I = 0 < G.length ? "{key: someKey, " + G.join(": ..., ") + ": ...}" : "{key: someKey}", H[z + I] || (G = 0 < G.length ? "{" + G.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
187
190
|
`A props object containing a "key" prop is being spread into JSX:
|
|
188
191
|
let props = %s;
|
|
189
192
|
<%s {...props} />
|
|
190
193
|
React keys must be passed directly to JSX without using spread:
|
|
191
194
|
let props = %s;
|
|
192
195
|
<%s key={someKey} {...props} />`,
|
|
193
|
-
|
|
194
|
-
C,
|
|
196
|
+
I,
|
|
195
197
|
z,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
+
G,
|
|
199
|
+
z
|
|
200
|
+
), H[z + I] = !0);
|
|
198
201
|
}
|
|
199
|
-
if (
|
|
200
|
-
|
|
201
|
-
for (var
|
|
202
|
-
|
|
203
|
-
} else
|
|
204
|
-
return
|
|
205
|
-
|
|
206
|
-
typeof
|
|
207
|
-
),
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
202
|
+
if (z = null, O !== void 0 && (r(O), z = "" + O), c(f) && (r(f.key), z = "" + f.key), "key" in f) {
|
|
203
|
+
O = {};
|
|
204
|
+
for (var Q in f)
|
|
205
|
+
Q !== "key" && (O[Q] = f[Q]);
|
|
206
|
+
} else O = f;
|
|
207
|
+
return z && u(
|
|
208
|
+
O,
|
|
209
|
+
typeof l == "function" ? l.displayName || l.name || "Unknown" : l
|
|
210
|
+
), h(
|
|
211
|
+
l,
|
|
212
|
+
z,
|
|
213
|
+
O,
|
|
211
214
|
n(),
|
|
212
|
-
|
|
213
|
-
|
|
215
|
+
se,
|
|
216
|
+
ie
|
|
214
217
|
);
|
|
215
218
|
}
|
|
216
|
-
function
|
|
217
|
-
v(
|
|
219
|
+
function m(l) {
|
|
220
|
+
v(l) ? l._store && (l._store.validated = 1) : typeof l == "object" && l !== null && l.$$typeof === U && (l._payload.status === "fulfilled" ? v(l._payload.value) && l._payload.value._store && (l._payload.value._store.validated = 1) : l._store && (l._store.validated = 1));
|
|
218
221
|
}
|
|
219
|
-
function v(
|
|
220
|
-
return typeof
|
|
222
|
+
function v(l) {
|
|
223
|
+
return typeof l == "object" && l !== null && l.$$typeof === E;
|
|
221
224
|
}
|
|
222
|
-
var
|
|
225
|
+
var k = Re, E = /* @__PURE__ */ Symbol.for("react.transitional.element"), C = /* @__PURE__ */ Symbol.for("react.portal"), T = /* @__PURE__ */ Symbol.for("react.fragment"), A = /* @__PURE__ */ Symbol.for("react.strict_mode"), $ = /* @__PURE__ */ Symbol.for("react.profiler"), R = /* @__PURE__ */ Symbol.for("react.consumer"), _ = /* @__PURE__ */ Symbol.for("react.context"), P = /* @__PURE__ */ Symbol.for("react.forward_ref"), S = /* @__PURE__ */ Symbol.for("react.suspense"), y = /* @__PURE__ */ Symbol.for("react.suspense_list"), q = /* @__PURE__ */ Symbol.for("react.memo"), U = /* @__PURE__ */ Symbol.for("react.lazy"), re = /* @__PURE__ */ Symbol.for("react.activity"), oe = /* @__PURE__ */ Symbol.for("react.client.reference"), V = k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Z = Object.prototype.hasOwnProperty, ze = Array.isArray, fe = console.createTask ? console.createTask : function() {
|
|
223
226
|
return null;
|
|
224
227
|
};
|
|
225
|
-
|
|
226
|
-
react_stack_bottom_frame: function(
|
|
227
|
-
return
|
|
228
|
+
k = {
|
|
229
|
+
react_stack_bottom_frame: function(l) {
|
|
230
|
+
return l();
|
|
228
231
|
}
|
|
229
232
|
};
|
|
230
|
-
var
|
|
231
|
-
|
|
233
|
+
var xe, ae = {}, w = k.react_stack_bottom_frame.bind(
|
|
234
|
+
k,
|
|
232
235
|
s
|
|
233
|
-
)(),
|
|
234
|
-
|
|
235
|
-
var
|
|
236
|
-
return
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
236
|
+
)(), W = fe(o(s)), H = {};
|
|
237
|
+
Fe.Fragment = T, Fe.jsx = function(l, f, O) {
|
|
238
|
+
var I = 1e4 > V.recentlyCreatedOwnerStacks++;
|
|
239
|
+
return g(
|
|
240
|
+
l,
|
|
241
|
+
f,
|
|
242
|
+
O,
|
|
240
243
|
!1,
|
|
241
|
-
|
|
242
|
-
|
|
244
|
+
I ? Error("react-stack-top-frame") : w,
|
|
245
|
+
I ? fe(o(l)) : W
|
|
243
246
|
);
|
|
244
|
-
},
|
|
245
|
-
var
|
|
246
|
-
return
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
247
|
+
}, Fe.jsxs = function(l, f, O) {
|
|
248
|
+
var I = 1e4 > V.recentlyCreatedOwnerStacks++;
|
|
249
|
+
return g(
|
|
250
|
+
l,
|
|
251
|
+
f,
|
|
252
|
+
O,
|
|
250
253
|
!0,
|
|
251
|
-
|
|
252
|
-
|
|
254
|
+
I ? Error("react-stack-top-frame") : w,
|
|
255
|
+
I ? fe(o(l)) : W
|
|
253
256
|
);
|
|
254
257
|
};
|
|
255
|
-
})()),
|
|
258
|
+
})()), Fe;
|
|
256
259
|
}
|
|
257
|
-
var
|
|
258
|
-
function
|
|
259
|
-
return
|
|
260
|
+
var Lt;
|
|
261
|
+
function Ur() {
|
|
262
|
+
return Lt || (Lt = 1, process.env.NODE_ENV === "production" ? Ve.exports = Gr() : Ve.exports = qr()), Ve.exports;
|
|
260
263
|
}
|
|
261
|
-
var
|
|
262
|
-
return
|
|
263
|
-
for (var
|
|
264
|
-
|
|
265
|
-
for (var s in
|
|
264
|
+
var p = Ur(), B = function() {
|
|
265
|
+
return B = Object.assign || function(t) {
|
|
266
|
+
for (var r, o = 1, n = arguments.length; o < n; o++) {
|
|
267
|
+
r = arguments[o];
|
|
268
|
+
for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
266
269
|
}
|
|
267
|
-
return
|
|
268
|
-
},
|
|
270
|
+
return t;
|
|
271
|
+
}, B.apply(this, arguments);
|
|
269
272
|
};
|
|
270
|
-
function
|
|
271
|
-
if (
|
|
272
|
-
(s || !(o in
|
|
273
|
-
return e.concat(s || Array.prototype.slice.call(
|
|
273
|
+
function we(e, t, r) {
|
|
274
|
+
if (r || arguments.length === 2) for (var o = 0, n = t.length, s; o < n; o++)
|
|
275
|
+
(s || !(o in t)) && (s || (s = Array.prototype.slice.call(t, 0, o)), s[o] = t[o]);
|
|
276
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
|
274
277
|
}
|
|
275
|
-
function
|
|
276
|
-
var
|
|
277
|
-
return function(
|
|
278
|
-
return r
|
|
278
|
+
function Xr(e) {
|
|
279
|
+
var t = /* @__PURE__ */ Object.create(null);
|
|
280
|
+
return function(r) {
|
|
281
|
+
return t[r] === void 0 && (t[r] = e(r)), t[r];
|
|
279
282
|
};
|
|
280
283
|
}
|
|
281
|
-
var
|
|
284
|
+
var Jr = /^((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)-.*))$/, Kr = /* @__PURE__ */ Xr(
|
|
282
285
|
function(e) {
|
|
283
|
-
return
|
|
286
|
+
return Jr.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
284
287
|
}
|
|
285
288
|
/* Z+1 */
|
|
286
|
-
),
|
|
287
|
-
function
|
|
288
|
-
return
|
|
289
|
+
), N = "-ms-", Le = "-moz-", j = "-webkit-", mr = "comm", it = "rule", Tt = "decl", Zr = "@import", yr = "@keyframes", Qr = "@layer", vr = Math.abs, Pt = String.fromCharCode, vt = Object.assign;
|
|
290
|
+
function eo(e, t) {
|
|
291
|
+
return L(e, 0) ^ 45 ? (((t << 2 ^ L(e, 0)) << 2 ^ L(e, 1)) << 2 ^ L(e, 2)) << 2 ^ L(e, 3) : 0;
|
|
289
292
|
}
|
|
290
|
-
function
|
|
293
|
+
function wr(e) {
|
|
291
294
|
return e.trim();
|
|
292
295
|
}
|
|
293
|
-
function
|
|
294
|
-
return (e =
|
|
296
|
+
function le(e, t) {
|
|
297
|
+
return (e = t.exec(e)) ? e[0] : e;
|
|
295
298
|
}
|
|
296
|
-
function
|
|
297
|
-
return e.replace(
|
|
299
|
+
function x(e, t, r) {
|
|
300
|
+
return e.replace(t, r);
|
|
298
301
|
}
|
|
299
|
-
function
|
|
300
|
-
return e.indexOf(
|
|
302
|
+
function Ke(e, t, r) {
|
|
303
|
+
return e.indexOf(t, r);
|
|
301
304
|
}
|
|
302
|
-
function
|
|
303
|
-
return e.charCodeAt(
|
|
305
|
+
function L(e, t) {
|
|
306
|
+
return e.charCodeAt(t) | 0;
|
|
304
307
|
}
|
|
305
|
-
function
|
|
306
|
-
return e.slice(
|
|
308
|
+
function Ae(e, t, r) {
|
|
309
|
+
return e.slice(t, r);
|
|
307
310
|
}
|
|
308
|
-
function
|
|
311
|
+
function ne(e) {
|
|
309
312
|
return e.length;
|
|
310
313
|
}
|
|
311
|
-
function
|
|
314
|
+
function kr(e) {
|
|
312
315
|
return e.length;
|
|
313
316
|
}
|
|
314
|
-
function
|
|
315
|
-
return
|
|
317
|
+
function We(e, t) {
|
|
318
|
+
return t.push(e), e;
|
|
316
319
|
}
|
|
317
|
-
function
|
|
318
|
-
return e.map(
|
|
320
|
+
function to(e, t) {
|
|
321
|
+
return e.map(t).join("");
|
|
319
322
|
}
|
|
320
|
-
function
|
|
321
|
-
return e.filter(function(
|
|
322
|
-
return !
|
|
323
|
+
function Yt(e, t) {
|
|
324
|
+
return e.filter(function(r) {
|
|
325
|
+
return !le(r, t);
|
|
323
326
|
});
|
|
324
327
|
}
|
|
325
|
-
var
|
|
326
|
-
function
|
|
327
|
-
return { value: e, root:
|
|
328
|
+
var ct = 1, _e = 1, xr = 0, K = 0, D = 0, Oe = "";
|
|
329
|
+
function lt(e, t, r, o, n, s, c, u) {
|
|
330
|
+
return { value: e, root: t, parent: r, type: o, props: n, children: s, line: ct, column: _e, length: c, return: "", siblings: u };
|
|
328
331
|
}
|
|
329
|
-
function
|
|
330
|
-
return
|
|
332
|
+
function de(e, t) {
|
|
333
|
+
return vt(lt("", null, null, "", null, null, 0, e.siblings), e, { length: -e.length }, t);
|
|
331
334
|
}
|
|
332
|
-
function
|
|
335
|
+
function $e(e) {
|
|
333
336
|
for (; e.root; )
|
|
334
|
-
e =
|
|
335
|
-
|
|
337
|
+
e = de(e.root, { children: [e] });
|
|
338
|
+
We(e, e.siblings);
|
|
336
339
|
}
|
|
337
|
-
function
|
|
338
|
-
return
|
|
340
|
+
function ro() {
|
|
341
|
+
return D;
|
|
339
342
|
}
|
|
340
|
-
function
|
|
341
|
-
return
|
|
343
|
+
function oo() {
|
|
344
|
+
return D = K > 0 ? L(Oe, --K) : 0, _e--, D === 10 && (_e = 1, ct--), D;
|
|
342
345
|
}
|
|
343
|
-
function
|
|
344
|
-
return
|
|
346
|
+
function te() {
|
|
347
|
+
return D = K < xr ? L(Oe, K++) : 0, _e++, D === 10 && (_e = 1, ct++), D;
|
|
345
348
|
}
|
|
346
|
-
function
|
|
347
|
-
return
|
|
349
|
+
function me() {
|
|
350
|
+
return L(Oe, K);
|
|
348
351
|
}
|
|
349
|
-
function
|
|
350
|
-
return
|
|
352
|
+
function Ze() {
|
|
353
|
+
return K;
|
|
351
354
|
}
|
|
352
|
-
function
|
|
353
|
-
return
|
|
355
|
+
function ut(e, t) {
|
|
356
|
+
return Ae(Oe, e, t);
|
|
354
357
|
}
|
|
355
|
-
function
|
|
358
|
+
function wt(e) {
|
|
356
359
|
switch (e) {
|
|
357
360
|
// \0 \t \n \r \s whitespace token
|
|
358
361
|
case 0:
|
|
@@ -390,184 +393,184 @@ function rr(e) {
|
|
|
390
393
|
}
|
|
391
394
|
return 0;
|
|
392
395
|
}
|
|
393
|
-
function
|
|
394
|
-
return
|
|
396
|
+
function no(e) {
|
|
397
|
+
return ct = _e = 1, xr = ne(Oe = e), K = 0, [];
|
|
395
398
|
}
|
|
396
|
-
function
|
|
397
|
-
return
|
|
399
|
+
function ao(e) {
|
|
400
|
+
return Oe = "", e;
|
|
398
401
|
}
|
|
399
|
-
function
|
|
400
|
-
return
|
|
402
|
+
function ht(e) {
|
|
403
|
+
return wr(ut(K - 1, kt(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
401
404
|
}
|
|
402
|
-
function
|
|
403
|
-
for (; (
|
|
404
|
-
|
|
405
|
-
return
|
|
405
|
+
function so(e) {
|
|
406
|
+
for (; (D = me()) && D < 33; )
|
|
407
|
+
te();
|
|
408
|
+
return wt(e) > 2 || wt(D) > 3 ? "" : " ";
|
|
406
409
|
}
|
|
407
|
-
function
|
|
408
|
-
for (; --
|
|
410
|
+
function io(e, t) {
|
|
411
|
+
for (; --t && te() && !(D < 48 || D > 102 || D > 57 && D < 65 || D > 70 && D < 97); )
|
|
409
412
|
;
|
|
410
|
-
return
|
|
413
|
+
return ut(e, Ze() + (t < 6 && me() == 32 && te() == 32));
|
|
411
414
|
}
|
|
412
|
-
function
|
|
413
|
-
for (;
|
|
414
|
-
switch (
|
|
415
|
+
function kt(e) {
|
|
416
|
+
for (; te(); )
|
|
417
|
+
switch (D) {
|
|
415
418
|
// ] ) " '
|
|
416
419
|
case e:
|
|
417
|
-
return
|
|
420
|
+
return K;
|
|
418
421
|
// " '
|
|
419
422
|
case 34:
|
|
420
423
|
case 39:
|
|
421
|
-
e !== 34 && e !== 39 &&
|
|
424
|
+
e !== 34 && e !== 39 && kt(D);
|
|
422
425
|
break;
|
|
423
426
|
// (
|
|
424
427
|
case 40:
|
|
425
|
-
e === 41 &&
|
|
428
|
+
e === 41 && kt(e);
|
|
426
429
|
break;
|
|
427
430
|
// \
|
|
428
431
|
case 92:
|
|
429
|
-
|
|
432
|
+
te();
|
|
430
433
|
break;
|
|
431
434
|
}
|
|
432
|
-
return
|
|
435
|
+
return K;
|
|
433
436
|
}
|
|
434
|
-
function
|
|
435
|
-
for (;
|
|
436
|
-
if (e +
|
|
437
|
+
function co(e, t) {
|
|
438
|
+
for (; te() && e + D !== 57; )
|
|
439
|
+
if (e + D === 84 && me() === 47)
|
|
437
440
|
break;
|
|
438
|
-
return "/*" +
|
|
441
|
+
return "/*" + ut(t, K - 1) + "*" + Pt(e === 47 ? e : te());
|
|
439
442
|
}
|
|
440
|
-
function
|
|
441
|
-
for (; !
|
|
442
|
-
|
|
443
|
-
return
|
|
443
|
+
function lo(e) {
|
|
444
|
+
for (; !wt(me()); )
|
|
445
|
+
te();
|
|
446
|
+
return ut(e, K);
|
|
444
447
|
}
|
|
445
|
-
function
|
|
446
|
-
return
|
|
448
|
+
function uo(e) {
|
|
449
|
+
return ao(Qe("", null, null, null, [""], e = no(e), 0, [0], e));
|
|
447
450
|
}
|
|
448
|
-
function
|
|
449
|
-
for (var
|
|
450
|
-
switch (
|
|
451
|
+
function Qe(e, t, r, o, n, s, c, u, d) {
|
|
452
|
+
for (var h = 0, g = 0, m = c, v = 0, k = 0, E = 0, C = 1, T = 1, A = 1, $ = 0, R = "", _ = n, P = s, S = o, y = R; T; )
|
|
453
|
+
switch (E = $, $ = te()) {
|
|
451
454
|
// (
|
|
452
455
|
case 40:
|
|
453
|
-
if (
|
|
454
|
-
|
|
456
|
+
if (E != 108 && L(y, m - 1) == 58) {
|
|
457
|
+
Ke(y += x(ht($), "&", "&\f"), "&\f", vr(h ? u[h - 1] : 0)) != -1 && (A = -1);
|
|
455
458
|
break;
|
|
456
459
|
}
|
|
457
460
|
// " ' [
|
|
458
461
|
case 34:
|
|
459
462
|
case 39:
|
|
460
463
|
case 91:
|
|
461
|
-
|
|
464
|
+
y += ht($);
|
|
462
465
|
break;
|
|
463
466
|
// \t \n \r \s
|
|
464
467
|
case 9:
|
|
465
468
|
case 10:
|
|
466
469
|
case 13:
|
|
467
470
|
case 32:
|
|
468
|
-
|
|
471
|
+
y += so(E);
|
|
469
472
|
break;
|
|
470
473
|
// \
|
|
471
474
|
case 92:
|
|
472
|
-
|
|
475
|
+
y += io(Ze() - 1, 7);
|
|
473
476
|
continue;
|
|
474
477
|
// /
|
|
475
478
|
case 47:
|
|
476
|
-
switch (
|
|
479
|
+
switch (me()) {
|
|
477
480
|
case 42:
|
|
478
481
|
case 47:
|
|
479
|
-
|
|
482
|
+
We(po(co(te(), Ze()), t, r, d), d);
|
|
480
483
|
break;
|
|
481
484
|
default:
|
|
482
|
-
|
|
485
|
+
y += "/";
|
|
483
486
|
}
|
|
484
487
|
break;
|
|
485
488
|
// {
|
|
486
|
-
case 123 *
|
|
487
|
-
|
|
489
|
+
case 123 * C:
|
|
490
|
+
u[h++] = ne(y) * A;
|
|
488
491
|
// } ; \0
|
|
489
|
-
case 125 *
|
|
492
|
+
case 125 * C:
|
|
490
493
|
case 59:
|
|
491
494
|
case 0:
|
|
492
|
-
switch (
|
|
495
|
+
switch ($) {
|
|
493
496
|
// \0 }
|
|
494
497
|
case 0:
|
|
495
498
|
case 125:
|
|
496
|
-
|
|
499
|
+
T = 0;
|
|
497
500
|
// ;
|
|
498
|
-
case 59 +
|
|
499
|
-
|
|
501
|
+
case 59 + g:
|
|
502
|
+
A == -1 && (y = x(y, /\f/g, "")), k > 0 && ne(y) - m && We(k > 32 ? Vt(y + ";", o, r, m - 1, d) : Vt(x(y, " ", "") + ";", o, r, m - 2, d), d);
|
|
500
503
|
break;
|
|
501
504
|
// @ ;
|
|
502
505
|
case 59:
|
|
503
|
-
|
|
506
|
+
y += ";";
|
|
504
507
|
// { rule/at-rule
|
|
505
508
|
default:
|
|
506
|
-
if (
|
|
507
|
-
if (
|
|
508
|
-
|
|
509
|
+
if (We(S = Bt(y, t, r, h, g, n, u, R, _ = [], P = [], m, s), s), $ === 123)
|
|
510
|
+
if (g === 0)
|
|
511
|
+
Qe(y, t, S, S, _, s, m, u, P);
|
|
509
512
|
else
|
|
510
|
-
switch (v === 99 &&
|
|
513
|
+
switch (v === 99 && L(y, 3) === 110 ? 100 : v) {
|
|
511
514
|
// d l m s
|
|
512
515
|
case 100:
|
|
513
516
|
case 108:
|
|
514
517
|
case 109:
|
|
515
518
|
case 115:
|
|
516
|
-
|
|
519
|
+
Qe(e, S, S, o && We(Bt(e, S, S, 0, 0, n, u, R, n, _ = [], m, P), P), n, P, m, u, o ? _ : P);
|
|
517
520
|
break;
|
|
518
521
|
default:
|
|
519
|
-
|
|
522
|
+
Qe(y, S, S, S, [""], P, 0, u, P);
|
|
520
523
|
}
|
|
521
524
|
}
|
|
522
|
-
|
|
525
|
+
h = g = k = 0, C = A = 1, R = y = "", m = c;
|
|
523
526
|
break;
|
|
524
527
|
// :
|
|
525
528
|
case 58:
|
|
526
|
-
|
|
529
|
+
m = 1 + ne(y), k = E;
|
|
527
530
|
default:
|
|
528
|
-
if (
|
|
529
|
-
if (
|
|
530
|
-
--
|
|
531
|
-
else if (
|
|
531
|
+
if (C < 1) {
|
|
532
|
+
if ($ == 123)
|
|
533
|
+
--C;
|
|
534
|
+
else if ($ == 125 && C++ == 0 && oo() == 125)
|
|
532
535
|
continue;
|
|
533
536
|
}
|
|
534
|
-
switch (
|
|
537
|
+
switch (y += Pt($), $ * C) {
|
|
535
538
|
// &
|
|
536
539
|
case 38:
|
|
537
|
-
|
|
540
|
+
A = g > 0 ? 1 : (y += "\f", -1);
|
|
538
541
|
break;
|
|
539
542
|
// ,
|
|
540
543
|
case 44:
|
|
541
|
-
|
|
544
|
+
u[h++] = (ne(y) - 1) * A, A = 1;
|
|
542
545
|
break;
|
|
543
546
|
// @
|
|
544
547
|
case 64:
|
|
545
|
-
|
|
548
|
+
me() === 45 && (y += ht(te())), v = me(), g = m = ne(R = y += lo(Ze())), $++;
|
|
546
549
|
break;
|
|
547
550
|
// -
|
|
548
551
|
case 45:
|
|
549
|
-
|
|
552
|
+
E === 45 && ne(y) == 2 && (C = 0);
|
|
550
553
|
}
|
|
551
554
|
}
|
|
552
555
|
return s;
|
|
553
556
|
}
|
|
554
|
-
function
|
|
555
|
-
for (var v = n - 1,
|
|
556
|
-
for (var
|
|
557
|
-
(
|
|
558
|
-
return
|
|
557
|
+
function Bt(e, t, r, o, n, s, c, u, d, h, g, m) {
|
|
558
|
+
for (var v = n - 1, k = n === 0 ? s : [""], E = kr(k), C = 0, T = 0, A = 0; C < o; ++C)
|
|
559
|
+
for (var $ = 0, R = Ae(e, v + 1, v = vr(T = c[C])), _ = e; $ < E; ++$)
|
|
560
|
+
(_ = wr(T > 0 ? k[$] + " " + R : x(R, /&\f/g, k[$]))) && (d[A++] = _);
|
|
561
|
+
return lt(e, t, r, n === 0 ? it : u, d, h, g, m);
|
|
559
562
|
}
|
|
560
|
-
function
|
|
561
|
-
return
|
|
563
|
+
function po(e, t, r, o) {
|
|
564
|
+
return lt(e, t, r, mr, Pt(ro()), Ae(e, 2, -2), 0, o);
|
|
562
565
|
}
|
|
563
|
-
function
|
|
564
|
-
return
|
|
566
|
+
function Vt(e, t, r, o, n) {
|
|
567
|
+
return lt(e, t, r, Tt, Ae(e, 0, o), Ae(e, o + 1, -1), o, n);
|
|
565
568
|
}
|
|
566
|
-
function
|
|
567
|
-
switch (
|
|
569
|
+
function $r(e, t, r) {
|
|
570
|
+
switch (eo(e, t)) {
|
|
568
571
|
// color-adjust
|
|
569
572
|
case 5103:
|
|
570
|
-
return
|
|
573
|
+
return j + "print-" + e + e;
|
|
571
574
|
// animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
|
|
572
575
|
case 5737:
|
|
573
576
|
case 4201:
|
|
@@ -597,95 +600,95 @@ function Jr(e, r, t) {
|
|
|
597
600
|
case 5365:
|
|
598
601
|
case 5621:
|
|
599
602
|
case 3829:
|
|
600
|
-
return
|
|
603
|
+
return j + e + e;
|
|
601
604
|
// tab-size
|
|
602
605
|
case 4789:
|
|
603
|
-
return
|
|
606
|
+
return Le + e + e;
|
|
604
607
|
// appearance, user-select, transform, hyphens, text-size-adjust
|
|
605
608
|
case 5349:
|
|
606
609
|
case 4246:
|
|
607
610
|
case 4810:
|
|
608
611
|
case 6968:
|
|
609
612
|
case 2756:
|
|
610
|
-
return
|
|
613
|
+
return j + e + Le + e + N + e + e;
|
|
611
614
|
// writing-mode
|
|
612
615
|
case 5936:
|
|
613
|
-
switch (
|
|
616
|
+
switch (L(e, t + 11)) {
|
|
614
617
|
// vertical-l(r)
|
|
615
618
|
case 114:
|
|
616
|
-
return
|
|
619
|
+
return j + e + N + x(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
617
620
|
// vertical-r(l)
|
|
618
621
|
case 108:
|
|
619
|
-
return
|
|
622
|
+
return j + e + N + x(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
620
623
|
// horizontal(-)tb
|
|
621
624
|
case 45:
|
|
622
|
-
return
|
|
625
|
+
return j + e + N + x(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
623
626
|
}
|
|
624
627
|
// flex, flex-direction, scroll-snap-type, writing-mode
|
|
625
628
|
case 6828:
|
|
626
629
|
case 4268:
|
|
627
630
|
case 2903:
|
|
628
|
-
return
|
|
631
|
+
return j + e + N + e + e;
|
|
629
632
|
// order
|
|
630
633
|
case 6165:
|
|
631
|
-
return
|
|
634
|
+
return j + e + N + "flex-" + e + e;
|
|
632
635
|
// align-items
|
|
633
636
|
case 5187:
|
|
634
|
-
return
|
|
637
|
+
return j + e + x(e, /(\w+).+(:[^]+)/, j + "box-$1$2" + N + "flex-$1$2") + e;
|
|
635
638
|
// align-self
|
|
636
639
|
case 5443:
|
|
637
|
-
return
|
|
640
|
+
return j + e + N + "flex-item-" + x(e, /flex-|-self/g, "") + (le(e, /flex-|baseline/) ? "" : N + "grid-row-" + x(e, /flex-|-self/g, "")) + e;
|
|
638
641
|
// align-content
|
|
639
642
|
case 4675:
|
|
640
|
-
return
|
|
643
|
+
return j + e + N + "flex-line-pack" + x(e, /align-content|flex-|-self/g, "") + e;
|
|
641
644
|
// flex-shrink
|
|
642
645
|
case 5548:
|
|
643
|
-
return
|
|
646
|
+
return j + e + N + x(e, "shrink", "negative") + e;
|
|
644
647
|
// flex-basis
|
|
645
648
|
case 5292:
|
|
646
|
-
return
|
|
649
|
+
return j + e + N + x(e, "basis", "preferred-size") + e;
|
|
647
650
|
// flex-grow
|
|
648
651
|
case 6060:
|
|
649
|
-
return
|
|
652
|
+
return j + "box-" + x(e, "-grow", "") + j + e + N + x(e, "grow", "positive") + e;
|
|
650
653
|
// transition
|
|
651
654
|
case 4554:
|
|
652
|
-
return
|
|
655
|
+
return j + x(e, /([^-])(transform)/g, "$1" + j + "$2") + e;
|
|
653
656
|
// cursor
|
|
654
657
|
case 6187:
|
|
655
|
-
return
|
|
658
|
+
return x(x(x(e, /(zoom-|grab)/, j + "$1"), /(image-set)/, j + "$1"), e, "") + e;
|
|
656
659
|
// background, background-image
|
|
657
660
|
case 5495:
|
|
658
661
|
case 3959:
|
|
659
|
-
return
|
|
662
|
+
return x(e, /(image-set\([^]*)/, j + "$1$`$1");
|
|
660
663
|
// justify-content
|
|
661
664
|
case 4968:
|
|
662
|
-
return
|
|
665
|
+
return x(x(e, /(.+:)(flex-)?(.*)/, j + "box-pack:$3" + N + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + j + e + e;
|
|
663
666
|
// justify-self
|
|
664
667
|
case 4200:
|
|
665
|
-
if (!
|
|
668
|
+
if (!le(e, /flex-|baseline/)) return N + "grid-column-align" + Ae(e, t) + e;
|
|
666
669
|
break;
|
|
667
670
|
// grid-template-(columns|rows)
|
|
668
671
|
case 2592:
|
|
669
672
|
case 3360:
|
|
670
|
-
return
|
|
673
|
+
return N + x(e, "template-", "") + e;
|
|
671
674
|
// grid-(row|column)-start
|
|
672
675
|
case 4384:
|
|
673
676
|
case 3616:
|
|
674
|
-
return
|
|
675
|
-
return
|
|
676
|
-
}) ? ~
|
|
677
|
+
return r && r.some(function(o, n) {
|
|
678
|
+
return t = n, le(o.props, /grid-\w+-end/);
|
|
679
|
+
}) ? ~Ke(e + (r = r[t].value), "span", 0) ? e : N + x(e, "-start", "") + e + N + "grid-row-span:" + (~Ke(r, "span", 0) ? le(r, /\d+/) : +le(r, /\d+/) - +le(e, /\d+/)) + ";" : N + x(e, "-start", "") + e;
|
|
677
680
|
// grid-(row|column)-end
|
|
678
681
|
case 4896:
|
|
679
682
|
case 4128:
|
|
680
|
-
return
|
|
681
|
-
return
|
|
682
|
-
}) ? e :
|
|
683
|
+
return r && r.some(function(o) {
|
|
684
|
+
return le(o.props, /grid-\w+-start/);
|
|
685
|
+
}) ? e : N + x(x(e, "-end", "-span"), "span ", "") + e;
|
|
683
686
|
// (margin|padding)-inline-(start|end)
|
|
684
687
|
case 4095:
|
|
685
688
|
case 3583:
|
|
686
689
|
case 4068:
|
|
687
690
|
case 2532:
|
|
688
|
-
return
|
|
691
|
+
return x(e, /(.+)-inline(.+)/, j + "$1$2") + e;
|
|
689
692
|
// (min|max)?(width|height|inline-size|block-size)
|
|
690
693
|
case 8116:
|
|
691
694
|
case 7059:
|
|
@@ -699,40 +702,40 @@ function Jr(e, r, t) {
|
|
|
699
702
|
case 5789:
|
|
700
703
|
case 5021:
|
|
701
704
|
case 4765:
|
|
702
|
-
if (
|
|
703
|
-
switch (
|
|
705
|
+
if (ne(e) - 1 - t > 6)
|
|
706
|
+
switch (L(e, t + 1)) {
|
|
704
707
|
// (m)ax-content, (m)in-content
|
|
705
708
|
case 109:
|
|
706
|
-
if (
|
|
709
|
+
if (L(e, t + 4) !== 45)
|
|
707
710
|
break;
|
|
708
711
|
// (f)ill-available, (f)it-content
|
|
709
712
|
case 102:
|
|
710
|
-
return
|
|
713
|
+
return x(e, /(.+:)(.+)-([^]+)/, "$1" + j + "$2-$3$1" + Le + (L(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
711
714
|
// (s)tretch
|
|
712
715
|
case 115:
|
|
713
|
-
return ~
|
|
716
|
+
return ~Ke(e, "stretch", 0) ? $r(x(e, "stretch", "fill-available"), t, r) + e : e;
|
|
714
717
|
}
|
|
715
718
|
break;
|
|
716
719
|
// grid-(column|row)
|
|
717
720
|
case 5152:
|
|
718
721
|
case 5920:
|
|
719
|
-
return
|
|
720
|
-
return
|
|
722
|
+
return x(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(o, n, s, c, u, d, h) {
|
|
723
|
+
return N + n + ":" + s + h + (c ? N + n + "-span:" + (u ? d : +d - +s) + h : "") + e;
|
|
721
724
|
});
|
|
722
725
|
// position: sticky
|
|
723
726
|
case 4949:
|
|
724
|
-
if (
|
|
725
|
-
return
|
|
727
|
+
if (L(e, t + 6) === 121)
|
|
728
|
+
return x(e, ":", ":" + j) + e;
|
|
726
729
|
break;
|
|
727
730
|
// display: (flex|inline-flex|grid|inline-grid)
|
|
728
731
|
case 6444:
|
|
729
|
-
switch (
|
|
732
|
+
switch (L(e, L(e, 14) === 45 ? 18 : 11)) {
|
|
730
733
|
// (inline-)?fle(x)
|
|
731
734
|
case 120:
|
|
732
|
-
return
|
|
735
|
+
return x(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + j + (L(e, 14) === 45 ? "inline-" : "") + "box$3$1" + j + "$2$3$1" + N + "$2box$3") + e;
|
|
733
736
|
// (inline-)?gri(d)
|
|
734
737
|
case 100:
|
|
735
|
-
return
|
|
738
|
+
return x(e, ":", ":" + N) + e;
|
|
736
739
|
}
|
|
737
740
|
break;
|
|
738
741
|
// scroll-margin, scroll-margin-(top|right|bottom|left)
|
|
@@ -741,71 +744,71 @@ function Jr(e, r, t) {
|
|
|
741
744
|
case 2135:
|
|
742
745
|
case 3927:
|
|
743
746
|
case 2391:
|
|
744
|
-
return
|
|
747
|
+
return x(e, "scroll-", "scroll-snap-") + e;
|
|
745
748
|
}
|
|
746
749
|
return e;
|
|
747
750
|
}
|
|
748
|
-
function
|
|
749
|
-
for (var
|
|
750
|
-
|
|
751
|
-
return
|
|
751
|
+
function nt(e, t) {
|
|
752
|
+
for (var r = "", o = 0; o < e.length; o++)
|
|
753
|
+
r += t(e[o], o, e, t) || "";
|
|
754
|
+
return r;
|
|
752
755
|
}
|
|
753
|
-
function
|
|
756
|
+
function fo(e, t, r, o) {
|
|
754
757
|
switch (e.type) {
|
|
755
|
-
case
|
|
758
|
+
case Qr:
|
|
756
759
|
if (e.children.length) break;
|
|
757
|
-
case
|
|
758
|
-
case
|
|
760
|
+
case Zr:
|
|
761
|
+
case Tt:
|
|
759
762
|
return e.return = e.return || e.value;
|
|
760
|
-
case
|
|
763
|
+
case mr:
|
|
761
764
|
return "";
|
|
762
|
-
case
|
|
763
|
-
return e.return = e.value + "{" +
|
|
764
|
-
case
|
|
765
|
-
if (!
|
|
766
|
-
}
|
|
767
|
-
return
|
|
768
|
-
}
|
|
769
|
-
function
|
|
770
|
-
var
|
|
771
|
-
return function(
|
|
772
|
-
for (var c = "",
|
|
773
|
-
c += e[
|
|
765
|
+
case yr:
|
|
766
|
+
return e.return = e.value + "{" + nt(e.children, o) + "}";
|
|
767
|
+
case it:
|
|
768
|
+
if (!ne(e.value = e.props.join(","))) return "";
|
|
769
|
+
}
|
|
770
|
+
return ne(r = nt(e.children, o)) ? e.return = e.value + "{" + r + "}" : "";
|
|
771
|
+
}
|
|
772
|
+
function ho(e) {
|
|
773
|
+
var t = kr(e);
|
|
774
|
+
return function(r, o, n, s) {
|
|
775
|
+
for (var c = "", u = 0; u < t; u++)
|
|
776
|
+
c += e[u](r, o, n, s) || "";
|
|
774
777
|
return c;
|
|
775
778
|
};
|
|
776
779
|
}
|
|
777
|
-
function
|
|
778
|
-
return function(
|
|
779
|
-
|
|
780
|
+
function bo(e) {
|
|
781
|
+
return function(t) {
|
|
782
|
+
t.root || (t = t.return) && e(t);
|
|
780
783
|
};
|
|
781
784
|
}
|
|
782
|
-
function
|
|
785
|
+
function go(e, t, r, o) {
|
|
783
786
|
if (e.length > -1 && !e.return)
|
|
784
787
|
switch (e.type) {
|
|
785
|
-
case
|
|
786
|
-
e.return =
|
|
788
|
+
case Tt:
|
|
789
|
+
e.return = $r(e.value, e.length, r);
|
|
787
790
|
return;
|
|
788
|
-
case
|
|
789
|
-
return
|
|
790
|
-
case
|
|
791
|
+
case yr:
|
|
792
|
+
return nt([de(e, { value: x(e.value, "@", "@" + j) })], o);
|
|
793
|
+
case it:
|
|
791
794
|
if (e.length)
|
|
792
|
-
return
|
|
793
|
-
switch (
|
|
795
|
+
return to(r = e.props, function(n) {
|
|
796
|
+
switch (le(n, o = /(::plac\w+|:read-\w+)/)) {
|
|
794
797
|
// :read-(only|write)
|
|
795
798
|
case ":read-only":
|
|
796
799
|
case ":read-write":
|
|
797
|
-
|
|
800
|
+
$e(de(e, { props: [x(n, /:(read-\w+)/, ":" + Le + "$1")] })), $e(de(e, { props: [n] })), vt(e, { props: Yt(r, o) });
|
|
798
801
|
break;
|
|
799
802
|
// :placeholder
|
|
800
803
|
case "::placeholder":
|
|
801
|
-
|
|
804
|
+
$e(de(e, { props: [x(n, /:(plac\w+)/, ":" + j + "input-$1")] })), $e(de(e, { props: [x(n, /:(plac\w+)/, ":" + Le + "$1")] })), $e(de(e, { props: [x(n, /:(plac\w+)/, N + "input-$1")] })), $e(de(e, { props: [n] })), vt(e, { props: Yt(r, o) });
|
|
802
805
|
break;
|
|
803
806
|
}
|
|
804
807
|
return "";
|
|
805
808
|
});
|
|
806
809
|
}
|
|
807
810
|
}
|
|
808
|
-
var
|
|
811
|
+
var mo = {
|
|
809
812
|
animationIterationCount: 1,
|
|
810
813
|
aspectRatio: 1,
|
|
811
814
|
borderImageOutset: 1,
|
|
@@ -853,10 +856,10 @@ var Yt = {
|
|
|
853
856
|
strokeMiterlimit: 1,
|
|
854
857
|
strokeOpacity: 1,
|
|
855
858
|
strokeWidth: 1
|
|
856
|
-
},
|
|
857
|
-
`,
|
|
859
|
+
}, ke = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", Sr = "active", Cr = "data-styled-version", dt = "6.1.19", Ot = `/*!sc*/
|
|
860
|
+
`, at = typeof window < "u" && typeof document < "u", yo = !!(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"), Ht = /invalid hook call/i, He = /* @__PURE__ */ new Set(), vo = function(e, t) {
|
|
858
861
|
if (process.env.NODE_ENV !== "production") {
|
|
859
|
-
var
|
|
862
|
+
var r = t ? ' with the id of "'.concat(t, '"') : "", o = "The component ".concat(e).concat(r, ` has been created dynamically.
|
|
860
863
|
`) + `You may see this warning because you've called styled inside another component.
|
|
861
864
|
To resolve this only create new StyledComponents outside of any render method and function component.
|
|
862
865
|
See https://styled-components.com/docs/basics#define-styled-components-outside-of-the-render-method for more info.
|
|
@@ -864,66 +867,66 @@ See https://styled-components.com/docs/basics#define-styled-components-outside-o
|
|
|
864
867
|
try {
|
|
865
868
|
var s = !0;
|
|
866
869
|
console.error = function(c) {
|
|
867
|
-
for (var
|
|
868
|
-
|
|
869
|
-
},
|
|
870
|
+
for (var u = [], d = 1; d < arguments.length; d++) u[d - 1] = arguments[d];
|
|
871
|
+
Ht.test(c) ? (s = !1, He.delete(o)) : n.apply(void 0, we([c], u, !1));
|
|
872
|
+
}, ot(), s && !He.has(o) && (console.warn(o), He.add(o));
|
|
870
873
|
} catch (c) {
|
|
871
|
-
|
|
874
|
+
Ht.test(c.message) && He.delete(o);
|
|
872
875
|
} finally {
|
|
873
876
|
console.error = n;
|
|
874
877
|
}
|
|
875
878
|
}
|
|
876
|
-
},
|
|
877
|
-
function
|
|
878
|
-
return
|
|
879
|
+
}, pt = Object.freeze([]), je = Object.freeze({});
|
|
880
|
+
function wo(e, t, r) {
|
|
881
|
+
return r === void 0 && (r = je), e.theme !== r.theme && e.theme || t || r.theme;
|
|
879
882
|
}
|
|
880
|
-
var
|
|
881
|
-
function
|
|
882
|
-
return e.replace(
|
|
883
|
+
var xt = /* @__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"]), ko = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, xo = /(^-|-$)/g;
|
|
884
|
+
function Gt(e) {
|
|
885
|
+
return e.replace(ko, "-").replace(xo, "");
|
|
883
886
|
}
|
|
884
|
-
var
|
|
887
|
+
var $o = /(a)(d)/gi, Ge = 52, qt = function(e) {
|
|
885
888
|
return String.fromCharCode(e + (e > 25 ? 39 : 97));
|
|
886
889
|
};
|
|
887
|
-
function
|
|
888
|
-
var
|
|
889
|
-
for (
|
|
890
|
-
return (
|
|
890
|
+
function $t(e) {
|
|
891
|
+
var t, r = "";
|
|
892
|
+
for (t = Math.abs(e); t > Ge; t = t / Ge | 0) r = qt(t % Ge) + r;
|
|
893
|
+
return (qt(t % Ge) + r).replace($o, "$1-$2");
|
|
891
894
|
}
|
|
892
|
-
var
|
|
893
|
-
for (var
|
|
895
|
+
var bt, Er = 5381, be = function(e, t) {
|
|
896
|
+
for (var r = t.length; r; ) e = 33 * e ^ t.charCodeAt(--r);
|
|
894
897
|
return e;
|
|
895
|
-
},
|
|
896
|
-
return
|
|
898
|
+
}, Rr = function(e) {
|
|
899
|
+
return be(Er, e);
|
|
897
900
|
};
|
|
898
|
-
function
|
|
899
|
-
return
|
|
901
|
+
function Ar(e) {
|
|
902
|
+
return $t(Rr(e) >>> 0);
|
|
900
903
|
}
|
|
901
|
-
function
|
|
904
|
+
function _r(e) {
|
|
902
905
|
return process.env.NODE_ENV !== "production" && typeof e == "string" && e || e.displayName || e.name || "Component";
|
|
903
906
|
}
|
|
904
|
-
function
|
|
907
|
+
function gt(e) {
|
|
905
908
|
return typeof e == "string" && (process.env.NODE_ENV === "production" || e.charAt(0) === e.charAt(0).toLowerCase());
|
|
906
909
|
}
|
|
907
|
-
var
|
|
908
|
-
function
|
|
909
|
-
return ("type" in (
|
|
910
|
-
var
|
|
911
|
-
}
|
|
912
|
-
var
|
|
913
|
-
function
|
|
914
|
-
if (typeof
|
|
915
|
-
if (
|
|
916
|
-
var o =
|
|
917
|
-
o && o !==
|
|
910
|
+
var jr = typeof Symbol == "function" && Symbol.for, Tr = jr ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, So = jr ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, Co = { childContextTypes: !0, contextType: !0, contextTypes: !0, defaultProps: !0, displayName: !0, getDefaultProps: !0, getDerivedStateFromError: !0, getDerivedStateFromProps: !0, mixins: !0, propTypes: !0, type: !0 }, Eo = { name: !0, length: !0, prototype: !0, caller: !0, callee: !0, arguments: !0, arity: !0 }, Pr = { $$typeof: !0, compare: !0, defaultProps: !0, displayName: !0, propTypes: !0, type: !0 }, Ro = ((bt = {})[So] = { $$typeof: !0, render: !0, defaultProps: !0, displayName: !0, propTypes: !0 }, bt[Tr] = Pr, bt);
|
|
911
|
+
function Ut(e) {
|
|
912
|
+
return ("type" in (t = e) && t.type.$$typeof) === Tr ? Pr : "$$typeof" in e ? Ro[e.$$typeof] : Co;
|
|
913
|
+
var t;
|
|
914
|
+
}
|
|
915
|
+
var Ao = Object.defineProperty, _o = Object.getOwnPropertyNames, Xt = Object.getOwnPropertySymbols, jo = Object.getOwnPropertyDescriptor, To = Object.getPrototypeOf, Jt = Object.prototype;
|
|
916
|
+
function Or(e, t, r) {
|
|
917
|
+
if (typeof t != "string") {
|
|
918
|
+
if (Jt) {
|
|
919
|
+
var o = To(t);
|
|
920
|
+
o && o !== Jt && Or(e, o, r);
|
|
918
921
|
}
|
|
919
|
-
var n =
|
|
920
|
-
|
|
921
|
-
for (var s =
|
|
922
|
-
var
|
|
923
|
-
if (!(
|
|
924
|
-
var
|
|
922
|
+
var n = _o(t);
|
|
923
|
+
Xt && (n = n.concat(Xt(t)));
|
|
924
|
+
for (var s = Ut(e), c = Ut(t), u = 0; u < n.length; ++u) {
|
|
925
|
+
var d = n[u];
|
|
926
|
+
if (!(d in Eo || r && r[d] || c && d in c || s && d in s)) {
|
|
927
|
+
var h = jo(t, d);
|
|
925
928
|
try {
|
|
926
|
-
|
|
929
|
+
Ao(e, d, h);
|
|
927
930
|
} catch {
|
|
928
931
|
}
|
|
929
932
|
}
|
|
@@ -931,33 +934,33 @@ function at(e, r, t) {
|
|
|
931
934
|
}
|
|
932
935
|
return e;
|
|
933
936
|
}
|
|
934
|
-
function
|
|
937
|
+
function Te(e) {
|
|
935
938
|
return typeof e == "function";
|
|
936
939
|
}
|
|
937
|
-
function
|
|
940
|
+
function Nt(e) {
|
|
938
941
|
return typeof e == "object" && "styledComponentId" in e;
|
|
939
942
|
}
|
|
940
|
-
function
|
|
941
|
-
return e &&
|
|
943
|
+
function ge(e, t) {
|
|
944
|
+
return e && t ? "".concat(e, " ").concat(t) : e || t || "";
|
|
942
945
|
}
|
|
943
|
-
function
|
|
946
|
+
function St(e, t) {
|
|
944
947
|
if (e.length === 0) return "";
|
|
945
|
-
for (var
|
|
946
|
-
return
|
|
948
|
+
for (var r = e[0], o = 1; o < e.length; o++) r += e[o];
|
|
949
|
+
return r;
|
|
947
950
|
}
|
|
948
|
-
function
|
|
951
|
+
function Pe(e) {
|
|
949
952
|
return e !== null && typeof e == "object" && e.constructor.name === Object.name && !("props" in e && e.$$typeof);
|
|
950
953
|
}
|
|
951
|
-
function
|
|
952
|
-
if (
|
|
953
|
-
if (Array.isArray(
|
|
954
|
-
else if (
|
|
954
|
+
function Ct(e, t, r) {
|
|
955
|
+
if (r === void 0 && (r = !1), !r && !Pe(e) && !Array.isArray(e)) return t;
|
|
956
|
+
if (Array.isArray(t)) for (var o = 0; o < t.length; o++) e[o] = Ct(e[o], t[o]);
|
|
957
|
+
else if (Pe(t)) for (var o in t) e[o] = Ct(e[o], t[o]);
|
|
955
958
|
return e;
|
|
956
959
|
}
|
|
957
|
-
function
|
|
958
|
-
Object.defineProperty(e, "toString", { value:
|
|
960
|
+
function zt(e, t) {
|
|
961
|
+
Object.defineProperty(e, "toString", { value: t });
|
|
959
962
|
}
|
|
960
|
-
var
|
|
963
|
+
var Po = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
|
|
961
964
|
|
|
962
965
|
`, 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.
|
|
963
966
|
|
|
@@ -999,362 +1002,362 @@ as for instance in your render method then you may be running into this limitati
|
|
|
999
1002
|
`, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
|
|
1000
1003
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
1001
1004
|
`, 18: "ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`" } : {};
|
|
1002
|
-
function
|
|
1003
|
-
for (var e = [],
|
|
1004
|
-
for (var
|
|
1005
|
+
function Oo() {
|
|
1006
|
+
for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
|
|
1007
|
+
for (var r = e[0], o = [], n = 1, s = e.length; n < s; n += 1) o.push(e[n]);
|
|
1005
1008
|
return o.forEach(function(c) {
|
|
1006
|
-
|
|
1007
|
-
}),
|
|
1009
|
+
r = r.replace(/%[a-z]/, c);
|
|
1010
|
+
}), r;
|
|
1008
1011
|
}
|
|
1009
|
-
function
|
|
1010
|
-
for (var
|
|
1011
|
-
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(
|
|
1012
|
+
function Ne(e) {
|
|
1013
|
+
for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
|
|
1014
|
+
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(Oo.apply(void 0, we([Po[e]], t, !1)).trim());
|
|
1012
1015
|
}
|
|
1013
|
-
var
|
|
1014
|
-
function e(
|
|
1015
|
-
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag =
|
|
1016
|
+
var No = (function() {
|
|
1017
|
+
function e(t) {
|
|
1018
|
+
this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = t;
|
|
1016
1019
|
}
|
|
1017
|
-
return e.prototype.indexOfGroup = function(
|
|
1018
|
-
for (var
|
|
1019
|
-
return
|
|
1020
|
-
}, e.prototype.insertRules = function(
|
|
1021
|
-
if (
|
|
1022
|
-
for (var o = this.groupSizes, n = o.length, s = n;
|
|
1020
|
+
return e.prototype.indexOfGroup = function(t) {
|
|
1021
|
+
for (var r = 0, o = 0; o < t; o++) r += this.groupSizes[o];
|
|
1022
|
+
return r;
|
|
1023
|
+
}, e.prototype.insertRules = function(t, r) {
|
|
1024
|
+
if (t >= this.groupSizes.length) {
|
|
1025
|
+
for (var o = this.groupSizes, n = o.length, s = n; t >= s; ) if ((s <<= 1) < 0) throw Ne(16, "".concat(t));
|
|
1023
1026
|
this.groupSizes = new Uint32Array(s), this.groupSizes.set(o), this.length = s;
|
|
1024
1027
|
for (var c = n; c < s; c++) this.groupSizes[c] = 0;
|
|
1025
1028
|
}
|
|
1026
|
-
for (var
|
|
1027
|
-
}, e.prototype.clearGroup = function(
|
|
1028
|
-
if (
|
|
1029
|
-
var
|
|
1030
|
-
this.groupSizes[
|
|
1029
|
+
for (var u = this.indexOfGroup(t + 1), d = (c = 0, r.length); c < d; c++) this.tag.insertRule(u, r[c]) && (this.groupSizes[t]++, u++);
|
|
1030
|
+
}, e.prototype.clearGroup = function(t) {
|
|
1031
|
+
if (t < this.length) {
|
|
1032
|
+
var r = this.groupSizes[t], o = this.indexOfGroup(t), n = o + r;
|
|
1033
|
+
this.groupSizes[t] = 0;
|
|
1031
1034
|
for (var s = o; s < n; s++) this.tag.deleteRule(o);
|
|
1032
1035
|
}
|
|
1033
|
-
}, e.prototype.getGroup = function(
|
|
1034
|
-
var
|
|
1035
|
-
if (
|
|
1036
|
-
for (var o = this.groupSizes[
|
|
1037
|
-
return
|
|
1036
|
+
}, e.prototype.getGroup = function(t) {
|
|
1037
|
+
var r = "";
|
|
1038
|
+
if (t >= this.length || this.groupSizes[t] === 0) return r;
|
|
1039
|
+
for (var o = this.groupSizes[t], n = this.indexOfGroup(t), s = n + o, c = n; c < s; c++) r += "".concat(this.tag.getRule(c)).concat(Ot);
|
|
1040
|
+
return r;
|
|
1038
1041
|
}, e;
|
|
1039
|
-
})(),
|
|
1040
|
-
if (
|
|
1041
|
-
for (;
|
|
1042
|
-
var
|
|
1043
|
-
if (process.env.NODE_ENV !== "production" && ((0 |
|
|
1044
|
-
return
|
|
1045
|
-
},
|
|
1046
|
-
|
|
1047
|
-
},
|
|
1048
|
-
for (var o, n =
|
|
1049
|
-
},
|
|
1050
|
-
for (var
|
|
1051
|
-
var
|
|
1052
|
-
if (
|
|
1053
|
-
var
|
|
1054
|
-
if (
|
|
1055
|
-
var
|
|
1056
|
-
|
|
1057
|
-
} else n.push(
|
|
1042
|
+
})(), zo = 1 << 30, et = /* @__PURE__ */ new Map(), st = /* @__PURE__ */ new Map(), tt = 1, qe = function(e) {
|
|
1043
|
+
if (et.has(e)) return et.get(e);
|
|
1044
|
+
for (; st.has(tt); ) tt++;
|
|
1045
|
+
var t = tt++;
|
|
1046
|
+
if (process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t > zo)) throw Ne(16, "".concat(t));
|
|
1047
|
+
return et.set(e, t), st.set(t, e), t;
|
|
1048
|
+
}, Io = function(e, t) {
|
|
1049
|
+
tt = t + 1, et.set(e, t), st.set(t, e);
|
|
1050
|
+
}, Do = "style[".concat(ke, "][").concat(Cr, '="').concat(dt, '"]'), Fo = new RegExp("^".concat(ke, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), Mo = function(e, t, r) {
|
|
1051
|
+
for (var o, n = r.split(","), s = 0, c = n.length; s < c; s++) (o = n[s]) && e.registerName(t, o);
|
|
1052
|
+
}, Wo = function(e, t) {
|
|
1053
|
+
for (var r, o = ((r = t.textContent) !== null && r !== void 0 ? r : "").split(Ot), n = [], s = 0, c = o.length; s < c; s++) {
|
|
1054
|
+
var u = o[s].trim();
|
|
1055
|
+
if (u) {
|
|
1056
|
+
var d = u.match(Fo);
|
|
1057
|
+
if (d) {
|
|
1058
|
+
var h = 0 | parseInt(d[1], 10), g = d[2];
|
|
1059
|
+
h !== 0 && (Io(g, h), Mo(e, g, d[3]), e.getTag().insertRules(h, n)), n.length = 0;
|
|
1060
|
+
} else n.push(u);
|
|
1058
1061
|
}
|
|
1059
1062
|
}
|
|
1060
|
-
},
|
|
1061
|
-
for (var
|
|
1062
|
-
var n = r
|
|
1063
|
-
n && n.getAttribute(
|
|
1063
|
+
}, Kt = function(e) {
|
|
1064
|
+
for (var t = document.querySelectorAll(Do), r = 0, o = t.length; r < o; r++) {
|
|
1065
|
+
var n = t[r];
|
|
1066
|
+
n && n.getAttribute(ke) !== Sr && (Wo(e, n), n.parentNode && n.parentNode.removeChild(n));
|
|
1064
1067
|
}
|
|
1065
1068
|
};
|
|
1066
|
-
function
|
|
1069
|
+
function Lo() {
|
|
1067
1070
|
return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
|
|
1068
1071
|
}
|
|
1069
|
-
var
|
|
1070
|
-
var
|
|
1071
|
-
var
|
|
1072
|
-
return
|
|
1073
|
-
})(
|
|
1074
|
-
o.setAttribute(
|
|
1075
|
-
var c =
|
|
1076
|
-
return c && o.setAttribute("nonce", c),
|
|
1077
|
-
},
|
|
1078
|
-
function e(
|
|
1079
|
-
this.element =
|
|
1080
|
-
if (
|
|
1072
|
+
var Nr = function(e) {
|
|
1073
|
+
var t = document.head, r = e || t, o = document.createElement("style"), n = (function(u) {
|
|
1074
|
+
var d = Array.from(u.querySelectorAll("style[".concat(ke, "]")));
|
|
1075
|
+
return d[d.length - 1];
|
|
1076
|
+
})(r), s = n !== void 0 ? n.nextSibling : null;
|
|
1077
|
+
o.setAttribute(ke, Sr), o.setAttribute(Cr, dt);
|
|
1078
|
+
var c = Lo();
|
|
1079
|
+
return c && o.setAttribute("nonce", c), r.insertBefore(o, s), o;
|
|
1080
|
+
}, Yo = (function() {
|
|
1081
|
+
function e(t) {
|
|
1082
|
+
this.element = Nr(t), this.element.appendChild(document.createTextNode("")), this.sheet = (function(r) {
|
|
1083
|
+
if (r.sheet) return r.sheet;
|
|
1081
1084
|
for (var o = document.styleSheets, n = 0, s = o.length; n < s; n++) {
|
|
1082
1085
|
var c = o[n];
|
|
1083
|
-
if (c.ownerNode ===
|
|
1086
|
+
if (c.ownerNode === r) return c;
|
|
1084
1087
|
}
|
|
1085
|
-
throw
|
|
1088
|
+
throw Ne(17);
|
|
1086
1089
|
})(this.element), this.length = 0;
|
|
1087
1090
|
}
|
|
1088
|
-
return e.prototype.insertRule = function(
|
|
1091
|
+
return e.prototype.insertRule = function(t, r) {
|
|
1089
1092
|
try {
|
|
1090
|
-
return this.sheet.insertRule(
|
|
1093
|
+
return this.sheet.insertRule(r, t), this.length++, !0;
|
|
1091
1094
|
} catch {
|
|
1092
1095
|
return !1;
|
|
1093
1096
|
}
|
|
1094
|
-
}, e.prototype.deleteRule = function(
|
|
1095
|
-
this.sheet.deleteRule(
|
|
1096
|
-
}, e.prototype.getRule = function(
|
|
1097
|
-
var
|
|
1098
|
-
return
|
|
1097
|
+
}, e.prototype.deleteRule = function(t) {
|
|
1098
|
+
this.sheet.deleteRule(t), this.length--;
|
|
1099
|
+
}, e.prototype.getRule = function(t) {
|
|
1100
|
+
var r = this.sheet.cssRules[t];
|
|
1101
|
+
return r && r.cssText ? r.cssText : "";
|
|
1099
1102
|
}, e;
|
|
1100
|
-
})(),
|
|
1101
|
-
function e(
|
|
1102
|
-
this.element =
|
|
1103
|
-
}
|
|
1104
|
-
return e.prototype.insertRule = function(
|
|
1105
|
-
if (
|
|
1106
|
-
var o = document.createTextNode(
|
|
1107
|
-
return this.element.insertBefore(o, this.nodes[
|
|
1103
|
+
})(), Bo = (function() {
|
|
1104
|
+
function e(t) {
|
|
1105
|
+
this.element = Nr(t), this.nodes = this.element.childNodes, this.length = 0;
|
|
1106
|
+
}
|
|
1107
|
+
return e.prototype.insertRule = function(t, r) {
|
|
1108
|
+
if (t <= this.length && t >= 0) {
|
|
1109
|
+
var o = document.createTextNode(r);
|
|
1110
|
+
return this.element.insertBefore(o, this.nodes[t] || null), this.length++, !0;
|
|
1108
1111
|
}
|
|
1109
1112
|
return !1;
|
|
1110
|
-
}, e.prototype.deleteRule = function(
|
|
1111
|
-
this.element.removeChild(this.nodes[
|
|
1112
|
-
}, e.prototype.getRule = function(
|
|
1113
|
-
return
|
|
1113
|
+
}, e.prototype.deleteRule = function(t) {
|
|
1114
|
+
this.element.removeChild(this.nodes[t]), this.length--;
|
|
1115
|
+
}, e.prototype.getRule = function(t) {
|
|
1116
|
+
return t < this.length ? this.nodes[t].textContent : "";
|
|
1114
1117
|
}, e;
|
|
1115
|
-
})(),
|
|
1116
|
-
function e(
|
|
1118
|
+
})(), Vo = (function() {
|
|
1119
|
+
function e(t) {
|
|
1117
1120
|
this.rules = [], this.length = 0;
|
|
1118
1121
|
}
|
|
1119
|
-
return e.prototype.insertRule = function(
|
|
1120
|
-
return
|
|
1121
|
-
}, e.prototype.deleteRule = function(
|
|
1122
|
-
this.rules.splice(
|
|
1123
|
-
}, e.prototype.getRule = function(
|
|
1124
|
-
return
|
|
1122
|
+
return e.prototype.insertRule = function(t, r) {
|
|
1123
|
+
return t <= this.length && (this.rules.splice(t, 0, r), this.length++, !0);
|
|
1124
|
+
}, e.prototype.deleteRule = function(t) {
|
|
1125
|
+
this.rules.splice(t, 1), this.length--;
|
|
1126
|
+
}, e.prototype.getRule = function(t) {
|
|
1127
|
+
return t < this.length ? this.rules[t] : "";
|
|
1125
1128
|
}, e;
|
|
1126
|
-
})(),
|
|
1127
|
-
function e(
|
|
1128
|
-
|
|
1129
|
+
})(), Zt = at, Ho = { isServer: !at, useCSSOMInjection: !yo }, zr = (function() {
|
|
1130
|
+
function e(t, r, o) {
|
|
1131
|
+
t === void 0 && (t = je), r === void 0 && (r = {});
|
|
1129
1132
|
var n = this;
|
|
1130
|
-
this.options =
|
|
1133
|
+
this.options = B(B({}, Ho), t), this.gs = r, this.names = new Map(o), this.server = !!t.isServer, !this.server && at && Zt && (Zt = !1, Kt(this)), zt(this, function() {
|
|
1131
1134
|
return (function(s) {
|
|
1132
|
-
for (var c = s.getTag(),
|
|
1133
|
-
var v = (function(
|
|
1134
|
-
return
|
|
1135
|
-
})(
|
|
1135
|
+
for (var c = s.getTag(), u = c.length, d = "", h = function(m) {
|
|
1136
|
+
var v = (function(A) {
|
|
1137
|
+
return st.get(A);
|
|
1138
|
+
})(m);
|
|
1136
1139
|
if (v === void 0) return "continue";
|
|
1137
|
-
var
|
|
1138
|
-
if (
|
|
1139
|
-
var
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
}),
|
|
1143
|
-
},
|
|
1144
|
-
return
|
|
1140
|
+
var k = s.names.get(v), E = c.getGroup(m);
|
|
1141
|
+
if (k === void 0 || !k.size || E.length === 0) return "continue";
|
|
1142
|
+
var C = "".concat(ke, ".g").concat(m, '[id="').concat(v, '"]'), T = "";
|
|
1143
|
+
k !== void 0 && k.forEach(function(A) {
|
|
1144
|
+
A.length > 0 && (T += "".concat(A, ","));
|
|
1145
|
+
}), d += "".concat(E).concat(C, '{content:"').concat(T, '"}').concat(Ot);
|
|
1146
|
+
}, g = 0; g < u; g++) h(g);
|
|
1147
|
+
return d;
|
|
1145
1148
|
})(n);
|
|
1146
1149
|
});
|
|
1147
1150
|
}
|
|
1148
|
-
return e.registerId = function(
|
|
1149
|
-
return
|
|
1151
|
+
return e.registerId = function(t) {
|
|
1152
|
+
return qe(t);
|
|
1150
1153
|
}, e.prototype.rehydrate = function() {
|
|
1151
|
-
!this.server &&
|
|
1152
|
-
}, e.prototype.reconstructWithOptions = function(
|
|
1153
|
-
return
|
|
1154
|
-
}, e.prototype.allocateGSInstance = function(
|
|
1155
|
-
return this.gs[
|
|
1154
|
+
!this.server && at && Kt(this);
|
|
1155
|
+
}, e.prototype.reconstructWithOptions = function(t, r) {
|
|
1156
|
+
return r === void 0 && (r = !0), new e(B(B({}, this.options), t), this.gs, r && this.names || void 0);
|
|
1157
|
+
}, e.prototype.allocateGSInstance = function(t) {
|
|
1158
|
+
return this.gs[t] = (this.gs[t] || 0) + 1;
|
|
1156
1159
|
}, e.prototype.getTag = function() {
|
|
1157
|
-
return this.tag || (this.tag = (
|
|
1158
|
-
var o =
|
|
1159
|
-
return
|
|
1160
|
-
})(this.options), new
|
|
1161
|
-
var
|
|
1162
|
-
}, e.prototype.hasNameForId = function(
|
|
1163
|
-
return this.names.has(
|
|
1164
|
-
}, e.prototype.registerName = function(
|
|
1165
|
-
if (
|
|
1160
|
+
return this.tag || (this.tag = (t = (function(r) {
|
|
1161
|
+
var o = r.useCSSOMInjection, n = r.target;
|
|
1162
|
+
return r.isServer ? new Vo(n) : o ? new Yo(n) : new Bo(n);
|
|
1163
|
+
})(this.options), new No(t)));
|
|
1164
|
+
var t;
|
|
1165
|
+
}, e.prototype.hasNameForId = function(t, r) {
|
|
1166
|
+
return this.names.has(t) && this.names.get(t).has(r);
|
|
1167
|
+
}, e.prototype.registerName = function(t, r) {
|
|
1168
|
+
if (qe(t), this.names.has(t)) this.names.get(t).add(r);
|
|
1166
1169
|
else {
|
|
1167
1170
|
var o = /* @__PURE__ */ new Set();
|
|
1168
|
-
o.add(
|
|
1171
|
+
o.add(r), this.names.set(t, o);
|
|
1169
1172
|
}
|
|
1170
|
-
}, e.prototype.insertRules = function(
|
|
1171
|
-
this.registerName(
|
|
1172
|
-
}, e.prototype.clearNames = function(
|
|
1173
|
-
this.names.has(
|
|
1174
|
-
}, e.prototype.clearRules = function(
|
|
1175
|
-
this.getTag().clearGroup(
|
|
1173
|
+
}, e.prototype.insertRules = function(t, r, o) {
|
|
1174
|
+
this.registerName(t, r), this.getTag().insertRules(qe(t), o);
|
|
1175
|
+
}, e.prototype.clearNames = function(t) {
|
|
1176
|
+
this.names.has(t) && this.names.get(t).clear();
|
|
1177
|
+
}, e.prototype.clearRules = function(t) {
|
|
1178
|
+
this.getTag().clearGroup(qe(t)), this.clearNames(t);
|
|
1176
1179
|
}, e.prototype.clearTag = function() {
|
|
1177
1180
|
this.tag = void 0;
|
|
1178
1181
|
}, e;
|
|
1179
|
-
})(),
|
|
1180
|
-
function
|
|
1181
|
-
return e.map(function(
|
|
1182
|
-
return
|
|
1183
|
-
return "".concat(
|
|
1184
|
-
})), Array.isArray(
|
|
1182
|
+
})(), Go = /&/g, qo = /^\s*\/\/.*$/gm;
|
|
1183
|
+
function Ir(e, t) {
|
|
1184
|
+
return e.map(function(r) {
|
|
1185
|
+
return r.type === "rule" && (r.value = "".concat(t, " ").concat(r.value), r.value = r.value.replaceAll(",", ",".concat(t, " ")), r.props = r.props.map(function(o) {
|
|
1186
|
+
return "".concat(t, " ").concat(o);
|
|
1187
|
+
})), Array.isArray(r.children) && r.type !== "@keyframes" && (r.children = Ir(r.children, t)), r;
|
|
1185
1188
|
});
|
|
1186
1189
|
}
|
|
1187
|
-
function
|
|
1188
|
-
var
|
|
1189
|
-
return
|
|
1190
|
-
},
|
|
1191
|
-
|
|
1192
|
-
v.type ===
|
|
1193
|
-
}), c.prefix &&
|
|
1194
|
-
var
|
|
1195
|
-
|
|
1196
|
-
var
|
|
1197
|
-
c.namespace && (
|
|
1198
|
-
var
|
|
1199
|
-
return
|
|
1200
|
-
return
|
|
1201
|
-
})))),
|
|
1190
|
+
function Uo(e) {
|
|
1191
|
+
var t, r, o, n = je, s = n.options, c = s === void 0 ? je : s, u = n.plugins, d = u === void 0 ? pt : u, h = function(v, k, E) {
|
|
1192
|
+
return E.startsWith(r) && E.endsWith(r) && E.replaceAll(r, "").length > 0 ? ".".concat(t) : v;
|
|
1193
|
+
}, g = d.slice();
|
|
1194
|
+
g.push(function(v) {
|
|
1195
|
+
v.type === it && v.value.includes("&") && (v.props[0] = v.props[0].replace(Go, r).replace(o, h));
|
|
1196
|
+
}), c.prefix && g.push(go), g.push(fo);
|
|
1197
|
+
var m = function(v, k, E, C) {
|
|
1198
|
+
k === void 0 && (k = ""), E === void 0 && (E = ""), C === void 0 && (C = "&"), t = C, r = k, o = new RegExp("\\".concat(r, "\\b"), "g");
|
|
1199
|
+
var T = v.replace(qo, ""), A = uo(E || k ? "".concat(E, " ").concat(k, " { ").concat(T, " }") : T);
|
|
1200
|
+
c.namespace && (A = Ir(A, c.namespace));
|
|
1201
|
+
var $ = [];
|
|
1202
|
+
return nt(A, ho(g.concat(bo(function(R) {
|
|
1203
|
+
return $.push(R);
|
|
1204
|
+
})))), $;
|
|
1202
1205
|
};
|
|
1203
|
-
return
|
|
1204
|
-
return
|
|
1205
|
-
},
|
|
1206
|
-
}
|
|
1207
|
-
var
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
function
|
|
1211
|
-
return
|
|
1212
|
-
}
|
|
1213
|
-
var
|
|
1214
|
-
function e(
|
|
1206
|
+
return m.hash = d.length ? d.reduce(function(v, k) {
|
|
1207
|
+
return k.name || Ne(15), be(v, k.name);
|
|
1208
|
+
}, Er).toString() : "", m;
|
|
1209
|
+
}
|
|
1210
|
+
var Xo = new zr(), Et = Uo(), Dr = Re.createContext({ shouldForwardProp: void 0, styleSheet: Xo, stylis: Et });
|
|
1211
|
+
Dr.Consumer;
|
|
1212
|
+
Re.createContext(void 0);
|
|
1213
|
+
function Qt() {
|
|
1214
|
+
return Vr(Dr);
|
|
1215
|
+
}
|
|
1216
|
+
var Rt = (function() {
|
|
1217
|
+
function e(t, r) {
|
|
1215
1218
|
var o = this;
|
|
1216
1219
|
this.inject = function(n, s) {
|
|
1217
|
-
s === void 0 && (s =
|
|
1220
|
+
s === void 0 && (s = Et);
|
|
1218
1221
|
var c = o.name + s.hash;
|
|
1219
1222
|
n.hasNameForId(o.id, c) || n.insertRules(o.id, c, s(o.rules, c, "@keyframes"));
|
|
1220
|
-
}, this.name =
|
|
1221
|
-
throw
|
|
1223
|
+
}, this.name = t, this.id = "sc-keyframes-".concat(t), this.rules = r, zt(this, function() {
|
|
1224
|
+
throw Ne(12, String(o.name));
|
|
1222
1225
|
});
|
|
1223
1226
|
}
|
|
1224
|
-
return e.prototype.getName = function(
|
|
1225
|
-
return
|
|
1227
|
+
return e.prototype.getName = function(t) {
|
|
1228
|
+
return t === void 0 && (t = Et), this.name + t.hash;
|
|
1226
1229
|
}, e;
|
|
1227
|
-
})(),
|
|
1230
|
+
})(), Jo = function(e) {
|
|
1228
1231
|
return e >= "A" && e <= "Z";
|
|
1229
1232
|
};
|
|
1230
|
-
function
|
|
1231
|
-
for (var
|
|
1232
|
-
var o = e[
|
|
1233
|
-
if (
|
|
1234
|
-
|
|
1233
|
+
function er(e) {
|
|
1234
|
+
for (var t = "", r = 0; r < e.length; r++) {
|
|
1235
|
+
var o = e[r];
|
|
1236
|
+
if (r === 1 && o === "-" && e[0] === "-") return e;
|
|
1237
|
+
Jo(o) ? t += "-" + o.toLowerCase() : t += o;
|
|
1235
1238
|
}
|
|
1236
|
-
return
|
|
1239
|
+
return t.startsWith("ms-") ? "-" + t : t;
|
|
1237
1240
|
}
|
|
1238
|
-
var
|
|
1241
|
+
var Fr = function(e) {
|
|
1239
1242
|
return e == null || e === !1 || e === "";
|
|
1240
|
-
},
|
|
1241
|
-
var
|
|
1243
|
+
}, Mr = function(e) {
|
|
1244
|
+
var t, r, o = [];
|
|
1242
1245
|
for (var n in e) {
|
|
1243
1246
|
var s = e[n];
|
|
1244
|
-
e.hasOwnProperty(n) && !
|
|
1247
|
+
e.hasOwnProperty(n) && !Fr(s) && (Array.isArray(s) && s.isCss || Te(s) ? o.push("".concat(er(n), ":"), s, ";") : Pe(s) ? o.push.apply(o, we(we(["".concat(n, " {")], Mr(s), !1), ["}"], !1)) : o.push("".concat(er(n), ": ").concat((t = n, (r = s) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in mo || t.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";")));
|
|
1245
1248
|
}
|
|
1246
1249
|
return o;
|
|
1247
1250
|
};
|
|
1248
|
-
function
|
|
1249
|
-
if (
|
|
1250
|
-
if (
|
|
1251
|
-
if (
|
|
1252
|
-
if (!
|
|
1253
|
-
var n = e(
|
|
1254
|
-
return process.env.NODE_ENV === "production" || typeof n != "object" || Array.isArray(n) || n instanceof
|
|
1251
|
+
function ye(e, t, r, o) {
|
|
1252
|
+
if (Fr(e)) return [];
|
|
1253
|
+
if (Nt(e)) return [".".concat(e.styledComponentId)];
|
|
1254
|
+
if (Te(e)) {
|
|
1255
|
+
if (!Te(s = e) || s.prototype && s.prototype.isReactComponent || !t) return [e];
|
|
1256
|
+
var n = e(t);
|
|
1257
|
+
return process.env.NODE_ENV === "production" || typeof n != "object" || Array.isArray(n) || n instanceof Rt || Pe(n) || n === null || console.error("".concat(_r(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.")), ye(n, t, r, o);
|
|
1255
1258
|
}
|
|
1256
1259
|
var s;
|
|
1257
|
-
return e instanceof
|
|
1258
|
-
return
|
|
1260
|
+
return e instanceof Rt ? r ? (e.inject(r, o), [e.getName(o)]) : [e] : Pe(e) ? Mr(e) : Array.isArray(e) ? Array.prototype.concat.apply(pt, e.map(function(c) {
|
|
1261
|
+
return ye(c, t, r, o);
|
|
1259
1262
|
})) : [e.toString()];
|
|
1260
1263
|
}
|
|
1261
|
-
function
|
|
1262
|
-
for (var
|
|
1263
|
-
var
|
|
1264
|
-
if (
|
|
1264
|
+
function Ko(e) {
|
|
1265
|
+
for (var t = 0; t < e.length; t += 1) {
|
|
1266
|
+
var r = e[t];
|
|
1267
|
+
if (Te(r) && !Nt(r)) return !1;
|
|
1265
1268
|
}
|
|
1266
1269
|
return !0;
|
|
1267
1270
|
}
|
|
1268
|
-
var
|
|
1269
|
-
function e(
|
|
1270
|
-
this.rules =
|
|
1271
|
+
var Zo = Rr(dt), Qo = (function() {
|
|
1272
|
+
function e(t, r, o) {
|
|
1273
|
+
this.rules = t, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (o === void 0 || o.isStatic) && Ko(t), this.componentId = r, this.baseHash = be(Zo, r), this.baseStyle = o, zr.registerId(r);
|
|
1271
1274
|
}
|
|
1272
|
-
return e.prototype.generateAndInjectStyles = function(
|
|
1273
|
-
var n = this.baseStyle ? this.baseStyle.generateAndInjectStyles(
|
|
1274
|
-
if (this.isStatic && !o.hash) if (this.staticRulesId &&
|
|
1275
|
+
return e.prototype.generateAndInjectStyles = function(t, r, o) {
|
|
1276
|
+
var n = this.baseStyle ? this.baseStyle.generateAndInjectStyles(t, r, o) : "";
|
|
1277
|
+
if (this.isStatic && !o.hash) if (this.staticRulesId && r.hasNameForId(this.componentId, this.staticRulesId)) n = ge(n, this.staticRulesId);
|
|
1275
1278
|
else {
|
|
1276
|
-
var s =
|
|
1277
|
-
if (!
|
|
1278
|
-
var
|
|
1279
|
-
|
|
1279
|
+
var s = St(ye(this.rules, t, r, o)), c = $t(be(this.baseHash, s) >>> 0);
|
|
1280
|
+
if (!r.hasNameForId(this.componentId, c)) {
|
|
1281
|
+
var u = o(s, ".".concat(c), void 0, this.componentId);
|
|
1282
|
+
r.insertRules(this.componentId, c, u);
|
|
1280
1283
|
}
|
|
1281
|
-
n =
|
|
1284
|
+
n = ge(n, c), this.staticRulesId = c;
|
|
1282
1285
|
}
|
|
1283
1286
|
else {
|
|
1284
|
-
for (var
|
|
1285
|
-
var
|
|
1286
|
-
if (typeof
|
|
1287
|
-
else if (
|
|
1288
|
-
var v =
|
|
1289
|
-
|
|
1287
|
+
for (var d = be(this.baseHash, o.hash), h = "", g = 0; g < this.rules.length; g++) {
|
|
1288
|
+
var m = this.rules[g];
|
|
1289
|
+
if (typeof m == "string") h += m, process.env.NODE_ENV !== "production" && (d = be(d, m));
|
|
1290
|
+
else if (m) {
|
|
1291
|
+
var v = St(ye(m, t, r, o));
|
|
1292
|
+
d = be(d, v + g), h += v;
|
|
1290
1293
|
}
|
|
1291
1294
|
}
|
|
1292
|
-
if (
|
|
1293
|
-
var
|
|
1294
|
-
|
|
1295
|
+
if (h) {
|
|
1296
|
+
var k = $t(d >>> 0);
|
|
1297
|
+
r.hasNameForId(this.componentId, k) || r.insertRules(this.componentId, k, o(h, ".".concat(k), void 0, this.componentId)), n = ge(n, k);
|
|
1295
1298
|
}
|
|
1296
1299
|
}
|
|
1297
1300
|
return n;
|
|
1298
1301
|
}, e;
|
|
1299
|
-
})(),
|
|
1300
|
-
|
|
1301
|
-
var
|
|
1302
|
-
function
|
|
1303
|
-
var o =
|
|
1304
|
-
var
|
|
1305
|
-
|
|
1306
|
-
var
|
|
1307
|
-
return
|
|
1308
|
-
})(
|
|
1309
|
-
return
|
|
1310
|
-
})(e) :
|
|
1302
|
+
})(), Wr = Re.createContext(void 0);
|
|
1303
|
+
Wr.Consumer;
|
|
1304
|
+
var mt = {}, tr = /* @__PURE__ */ new Set();
|
|
1305
|
+
function en(e, t, r) {
|
|
1306
|
+
var o = Nt(e), n = e, s = !gt(e), c = t.attrs, u = c === void 0 ? pt : c, d = t.componentId, h = d === void 0 ? (function(_, P) {
|
|
1307
|
+
var S = typeof _ != "string" ? "sc" : Gt(_);
|
|
1308
|
+
mt[S] = (mt[S] || 0) + 1;
|
|
1309
|
+
var y = "".concat(S, "-").concat(Ar(dt + S + mt[S]));
|
|
1310
|
+
return P ? "".concat(P, "-").concat(y) : y;
|
|
1311
|
+
})(t.displayName, t.parentComponentId) : d, g = t.displayName, m = g === void 0 ? (function(_) {
|
|
1312
|
+
return gt(_) ? "styled.".concat(_) : "Styled(".concat(_r(_), ")");
|
|
1313
|
+
})(e) : g, v = t.displayName && t.componentId ? "".concat(Gt(t.displayName), "-").concat(t.componentId) : t.componentId || h, k = o && n.attrs ? n.attrs.concat(u).filter(Boolean) : u, E = t.shouldForwardProp;
|
|
1311
1314
|
if (o && n.shouldForwardProp) {
|
|
1312
|
-
var
|
|
1313
|
-
if (
|
|
1314
|
-
var
|
|
1315
|
-
|
|
1316
|
-
return
|
|
1315
|
+
var C = n.shouldForwardProp;
|
|
1316
|
+
if (t.shouldForwardProp) {
|
|
1317
|
+
var T = t.shouldForwardProp;
|
|
1318
|
+
E = function(_, P) {
|
|
1319
|
+
return C(_, P) && T(_, P);
|
|
1317
1320
|
};
|
|
1318
|
-
} else
|
|
1319
|
-
}
|
|
1320
|
-
var
|
|
1321
|
-
function _
|
|
1322
|
-
return (function(
|
|
1323
|
-
var
|
|
1324
|
-
process.env.NODE_ENV !== "production" &&
|
|
1325
|
-
var
|
|
1326
|
-
for (var
|
|
1327
|
-
var
|
|
1328
|
-
for (var
|
|
1321
|
+
} else E = C;
|
|
1322
|
+
}
|
|
1323
|
+
var A = new Qo(r, v, o ? n.componentStyle : void 0);
|
|
1324
|
+
function $(_, P) {
|
|
1325
|
+
return (function(S, y, q) {
|
|
1326
|
+
var U = S.attrs, re = S.componentStyle, oe = S.defaultProps, V = S.foldedComponentIds, Z = S.styledComponentId, ze = S.target, fe = Re.useContext(Wr), xe = Qt(), ae = S.shouldForwardProp || xe.shouldForwardProp;
|
|
1327
|
+
process.env.NODE_ENV !== "production" && Ft(Z);
|
|
1328
|
+
var w = wo(y, fe, oe) || je, W = (function(se, ie, z) {
|
|
1329
|
+
for (var G, Q = B(B({}, ie), { className: void 0, theme: z }), Ie = 0; Ie < se.length; Ie += 1) {
|
|
1330
|
+
var Be = Te(G = se[Ie]) ? G(Q) : G;
|
|
1331
|
+
for (var ue in Be) Q[ue] = ue === "className" ? ge(Q[ue], Be[ue]) : ue === "style" ? B(B({}, Q[ue]), Be[ue]) : Be[ue];
|
|
1329
1332
|
}
|
|
1330
|
-
return
|
|
1331
|
-
})(
|
|
1332
|
-
for (var
|
|
1333
|
-
var
|
|
1334
|
-
var
|
|
1335
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1336
|
-
})(
|
|
1337
|
-
process.env.NODE_ENV !== "production" &&
|
|
1338
|
-
var
|
|
1339
|
-
return
|
|
1340
|
-
})(
|
|
1341
|
-
}
|
|
1342
|
-
|
|
1343
|
-
var
|
|
1344
|
-
return
|
|
1333
|
+
return ie.className && (Q.className = ge(Q.className, ie.className)), Q;
|
|
1334
|
+
})(U, y, w), H = W.as || ze, l = {};
|
|
1335
|
+
for (var f in W) W[f] === void 0 || f[0] === "$" || f === "as" || f === "theme" && W.theme === w || (f === "forwardedAs" ? l.as = W.forwardedAs : ae && !ae(f, H) || (l[f] = W[f], ae || process.env.NODE_ENV !== "development" || Kr(f) || tr.has(f) || !xt.has(H) || (tr.add(f), console.warn('styled-components: it looks like an unknown prop "'.concat(f, '" 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.)')))));
|
|
1336
|
+
var O = (function(se, ie) {
|
|
1337
|
+
var z = Qt(), G = se.generateAndInjectStyles(ie, z.styleSheet, z.stylis);
|
|
1338
|
+
return process.env.NODE_ENV !== "production" && Ft(G), G;
|
|
1339
|
+
})(re, W);
|
|
1340
|
+
process.env.NODE_ENV !== "production" && S.warnTooManyClasses && S.warnTooManyClasses(O);
|
|
1341
|
+
var I = ge(V, Z);
|
|
1342
|
+
return O && (I += " " + O), W.className && (I += " " + W.className), l[gt(H) && !xt.has(H) ? "class" : "className"] = I, q && (l.ref = q), Br(H, l);
|
|
1343
|
+
})(R, _, P);
|
|
1344
|
+
}
|
|
1345
|
+
$.displayName = m;
|
|
1346
|
+
var R = Re.forwardRef($);
|
|
1347
|
+
return R.attrs = k, R.componentStyle = A, R.displayName = m, R.shouldForwardProp = E, R.foldedComponentIds = o ? ge(n.foldedComponentIds, n.styledComponentId) : "", R.styledComponentId = v, R.target = o ? n.target : e, Object.defineProperty(R, "defaultProps", { get: function() {
|
|
1345
1348
|
return this._foldedDefaultProps;
|
|
1346
|
-
}, set: function(
|
|
1347
|
-
this._foldedDefaultProps = o ? (function(
|
|
1348
|
-
for (var
|
|
1349
|
-
for (var
|
|
1350
|
-
return
|
|
1351
|
-
})({}, n.defaultProps,
|
|
1352
|
-
} }), process.env.NODE_ENV !== "production" && (
|
|
1353
|
-
var
|
|
1354
|
-
return function(
|
|
1355
|
-
if (!
|
|
1356
|
-
var
|
|
1357
|
-
console.warn("Over ".concat(200, " classes were generated for component ").concat(
|
|
1349
|
+
}, set: function(_) {
|
|
1350
|
+
this._foldedDefaultProps = o ? (function(P) {
|
|
1351
|
+
for (var S = [], y = 1; y < arguments.length; y++) S[y - 1] = arguments[y];
|
|
1352
|
+
for (var q = 0, U = S; q < U.length; q++) Ct(P, U[q], !0);
|
|
1353
|
+
return P;
|
|
1354
|
+
})({}, n.defaultProps, _) : _;
|
|
1355
|
+
} }), process.env.NODE_ENV !== "production" && (vo(m, v), R.warnTooManyClasses = /* @__PURE__ */ (function(_, P) {
|
|
1356
|
+
var S = {}, y = !1;
|
|
1357
|
+
return function(q) {
|
|
1358
|
+
if (!y && (S[q] = !0, Object.keys(S).length >= 200)) {
|
|
1359
|
+
var U = P ? ' with the id of "'.concat(P, '"') : "";
|
|
1360
|
+
console.warn("Over ".concat(200, " classes were generated for component ").concat(_).concat(U, `.
|
|
1358
1361
|
`) + `Consider using the attrs method, together with a style object for frequently changed styles.
|
|
1359
1362
|
Example:
|
|
1360
1363
|
const Component = styled.div.attrs(props => ({
|
|
@@ -1363,52 +1366,58 @@ Example:
|
|
|
1363
1366
|
},
|
|
1364
1367
|
}))\`width: 100%;\`
|
|
1365
1368
|
|
|
1366
|
-
<Component />`),
|
|
1369
|
+
<Component />`), y = !0, S = {};
|
|
1367
1370
|
}
|
|
1368
1371
|
};
|
|
1369
|
-
})(
|
|
1370
|
-
return ".".concat(
|
|
1371
|
-
}), s &&
|
|
1372
|
+
})(m, v)), zt(R, function() {
|
|
1373
|
+
return ".".concat(R.styledComponentId);
|
|
1374
|
+
}), s && Or(R, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), R;
|
|
1372
1375
|
}
|
|
1373
|
-
function
|
|
1374
|
-
for (var
|
|
1375
|
-
return
|
|
1376
|
+
function rr(e, t) {
|
|
1377
|
+
for (var r = [e[0]], o = 0, n = t.length; o < n; o += 1) r.push(t[o], e[o + 1]);
|
|
1378
|
+
return r;
|
|
1376
1379
|
}
|
|
1377
|
-
var
|
|
1380
|
+
var or = function(e) {
|
|
1378
1381
|
return Object.assign(e, { isCss: !0 });
|
|
1379
1382
|
};
|
|
1380
|
-
function
|
|
1381
|
-
for (var
|
|
1382
|
-
if (
|
|
1383
|
+
function b(e) {
|
|
1384
|
+
for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
|
|
1385
|
+
if (Te(e) || Pe(e)) return or(ye(rr(pt, we([e], t, !0))));
|
|
1383
1386
|
var o = e;
|
|
1384
|
-
return
|
|
1387
|
+
return t.length === 0 && o.length === 1 && typeof o[0] == "string" ? ye(o) : or(ye(rr(o, t)));
|
|
1385
1388
|
}
|
|
1386
|
-
function
|
|
1387
|
-
if (
|
|
1389
|
+
function At(e, t, r) {
|
|
1390
|
+
if (r === void 0 && (r = je), !t) throw Ne(1, t);
|
|
1388
1391
|
var o = function(n) {
|
|
1389
1392
|
for (var s = [], c = 1; c < arguments.length; c++) s[c - 1] = arguments[c];
|
|
1390
|
-
return e(
|
|
1393
|
+
return e(t, r, b.apply(void 0, we([n], s, !1)));
|
|
1391
1394
|
};
|
|
1392
1395
|
return o.attrs = function(n) {
|
|
1393
|
-
return
|
|
1396
|
+
return At(e, t, B(B({}, r), { attrs: Array.prototype.concat(r.attrs, n).filter(Boolean) }));
|
|
1394
1397
|
}, o.withConfig = function(n) {
|
|
1395
|
-
return
|
|
1398
|
+
return At(e, t, B(B({}, r), n));
|
|
1396
1399
|
}, o;
|
|
1397
1400
|
}
|
|
1398
|
-
var
|
|
1399
|
-
return
|
|
1400
|
-
},
|
|
1401
|
-
|
|
1402
|
-
|
|
1401
|
+
var Lr = function(e) {
|
|
1402
|
+
return At(en, e);
|
|
1403
|
+
}, F = Lr;
|
|
1404
|
+
xt.forEach(function(e) {
|
|
1405
|
+
F[e] = Lr(e);
|
|
1403
1406
|
});
|
|
1407
|
+
function ft(e) {
|
|
1408
|
+
for (var t = [], r = 1; r < arguments.length; r++) t[r - 1] = arguments[r];
|
|
1409
|
+
process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");
|
|
1410
|
+
var o = St(b.apply(void 0, we([e], t, !1))), n = Ar(o);
|
|
1411
|
+
return new Rt(n, o);
|
|
1412
|
+
}
|
|
1404
1413
|
process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
1405
1414
|
Perhaps you're looking to import 'styled-components/native'?
|
|
1406
1415
|
Read more about this at https://www.styled-components.com/docs/basics#react-native`);
|
|
1407
|
-
var
|
|
1408
|
-
process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[
|
|
1416
|
+
var Ue = "__sc-".concat(ke, "__");
|
|
1417
|
+
process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[Ue] || (window[Ue] = 0), window[Ue] === 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.
|
|
1409
1418
|
|
|
1410
|
-
See https://s-c.sh/2BAXzed for more info.`), window[
|
|
1411
|
-
const
|
|
1419
|
+
See https://s-c.sh/2BAXzed for more info.`), window[Ue] += 1);
|
|
1420
|
+
const It = (e) => b`
|
|
1412
1421
|
@media (hover: hover) {
|
|
1413
1422
|
&:hover:not(:disabled) {
|
|
1414
1423
|
${e}
|
|
@@ -1420,156 +1429,477 @@ const Ue = (e) => f`
|
|
|
1420
1429
|
${e}
|
|
1421
1430
|
}
|
|
1422
1431
|
}
|
|
1423
|
-
`,
|
|
1432
|
+
`, tn = (e = "1rem") => b`
|
|
1424
1433
|
&:not(:last-child) {
|
|
1425
1434
|
margin-block-end: ${e};
|
|
1426
1435
|
}
|
|
1427
|
-
`,
|
|
1436
|
+
`, rn = (e = "1rem") => b`
|
|
1428
1437
|
&:not(:first-child) {
|
|
1429
1438
|
margin-block-start: ${e};
|
|
1430
1439
|
}
|
|
1431
|
-
`,
|
|
1432
|
-
${
|
|
1433
|
-
${
|
|
1434
|
-
`,
|
|
1440
|
+
`, on = (e = "1rem", t) => b`
|
|
1441
|
+
${rn(e)}
|
|
1442
|
+
${tn(e)}
|
|
1443
|
+
`, nn = (e = "1.5rem", t) => b`
|
|
1435
1444
|
--ava: ${e};
|
|
1436
1445
|
max-width: var(--ava);
|
|
1437
1446
|
min-width: var(--ava);
|
|
1438
1447
|
width: var(--ava);
|
|
1439
1448
|
height: ${"var(--ava)"};
|
|
1440
1449
|
max-height: var(--ava);
|
|
1441
|
-
`,
|
|
1450
|
+
`, an = b`
|
|
1442
1451
|
path,
|
|
1443
1452
|
rect,
|
|
1444
1453
|
circle {
|
|
1445
1454
|
&[fill] {
|
|
1446
1455
|
fill: currentColor;
|
|
1447
|
-
transition: 0.2s fill;
|
|
1448
1456
|
}
|
|
1449
1457
|
|
|
1450
1458
|
&[stroke] {
|
|
1451
1459
|
stroke: currentColor;
|
|
1452
|
-
transition: 0.2s stroke;
|
|
1453
1460
|
}
|
|
1454
1461
|
}
|
|
1455
1462
|
`;
|
|
1456
|
-
|
|
1463
|
+
b`
|
|
1457
1464
|
position: absolute;
|
|
1458
1465
|
top: 50%;
|
|
1459
1466
|
left: 50%;
|
|
1460
1467
|
transform: translate(-50%, -50%);
|
|
1461
1468
|
`;
|
|
1462
|
-
|
|
1469
|
+
b`
|
|
1463
1470
|
list-style: none;
|
|
1464
1471
|
margin: 0;
|
|
1465
1472
|
padding-inline-start: 0;
|
|
1466
|
-
${
|
|
1473
|
+
${on("0")}
|
|
1467
1474
|
`;
|
|
1468
|
-
|
|
1475
|
+
b`
|
|
1469
1476
|
max-width: 100%;
|
|
1470
1477
|
width: 100%;
|
|
1471
1478
|
height: 100%;
|
|
1472
1479
|
object-fit: contain;
|
|
1473
1480
|
`;
|
|
1474
|
-
|
|
1481
|
+
b`
|
|
1475
1482
|
max-width: 100%;
|
|
1476
1483
|
width: 100%;
|
|
1477
1484
|
height: 100%;
|
|
1478
1485
|
object-fit: cover;
|
|
1479
1486
|
`;
|
|
1480
|
-
const i = {
|
|
1487
|
+
const a = (e, t) => `var(--kilya-${e}, ${t})`, Y = "var(--primary, #1677ff)", M = "var(--primary-hover, #4096ff)", ee = "var(--primary-pressed, #0958d9)", Me = "var(--black, #000)", nr = "var(--black-alpha-15, #00000026)", sn = "var(--red, #ff0000)", X = "var(--black, #fff)", Xe = "var(--gray-d9, #d9d9d9)", Se = "var(--gray-dd, #ddd)", he = "var(--gray-81, #818181)", Ce = "var(--gray-e1, #e1e1e1)", ar = "var(--gray-a8, #a8a8a8)", cn = "var(--gray-88, #888)", i = {
|
|
1481
1488
|
colors: {
|
|
1482
1489
|
// Основные цвета
|
|
1483
|
-
bgPrimary: "
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
white: "var(--color-white, #fff)",
|
|
1488
|
-
link: "var(--color-link, #1677ff)",
|
|
1489
|
-
brDefault: "var(--color-br-default, #d9d9d9)",
|
|
1490
|
-
inputText: "var(--color-input-text, #000)",
|
|
1491
|
-
inputBg: "var(--bg-input-text, #ffffff)",
|
|
1492
|
-
inputBorder: "var(--color-br-input-text, #a8a8a8)",
|
|
1490
|
+
bgPrimary: a("bg-primary", Y),
|
|
1491
|
+
text: a("color-text", Me),
|
|
1492
|
+
white: a("color-white", X),
|
|
1493
|
+
brDefault: a("color-br-default", Xe),
|
|
1493
1494
|
// Hover состояния
|
|
1494
1495
|
hover: {
|
|
1495
|
-
bgPrimary: "
|
|
1496
|
-
link: "var(--hover-color-link, #4096ff)"
|
|
1496
|
+
bgPrimary: a("hover-bg-primary", M)
|
|
1497
1497
|
},
|
|
1498
1498
|
// Focus состояния
|
|
1499
1499
|
focused: {
|
|
1500
|
-
bgPrimary: "
|
|
1500
|
+
bgPrimary: a("focused-bg-primary", M)
|
|
1501
1501
|
},
|
|
1502
1502
|
// Pressed состояния
|
|
1503
1503
|
pressed: {
|
|
1504
|
-
bgPrimary: "
|
|
1505
|
-
|
|
1504
|
+
bgPrimary: a("pressed-bg-primary", ee)
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
typography: {
|
|
1508
|
+
fontFamily: a("font-family", "system-ui"),
|
|
1509
|
+
label: {
|
|
1510
|
+
fontSize: a("label-font-size", "1rem"),
|
|
1511
|
+
fontWeight: a("label-font-weight", "400")
|
|
1512
|
+
}
|
|
1513
|
+
},
|
|
1514
|
+
amount: {
|
|
1515
|
+
typography: {
|
|
1516
|
+
fontFamily: a("amount-font-family", "system-ui"),
|
|
1517
|
+
fontSize: a("amount-font-size", "1rem"),
|
|
1518
|
+
fontWeight: a("amount-font-weight", "400"),
|
|
1519
|
+
lineHeight: a("amount-line-height", "1.375")
|
|
1506
1520
|
},
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
bgPrimary: "var(--disabled-bg-primary, #ddd)",
|
|
1510
|
-
text: "var(--disabled-color-text, #818181)",
|
|
1511
|
-
white: "var(--disabled-color-white, #818181)",
|
|
1512
|
-
brDefault: "var(--disabled-br-default, #ddd)"
|
|
1521
|
+
input: {
|
|
1522
|
+
minWidth: a("amount-input-min-width", "1.75rem")
|
|
1513
1523
|
},
|
|
1514
1524
|
button: {
|
|
1515
|
-
|
|
1516
|
-
|
|
1525
|
+
padding: a("amount-button-padding", "0.125rem"),
|
|
1526
|
+
maxWidth: a("amount-button-max-width", "1.5rem"),
|
|
1527
|
+
minWidth: a("amount-button-min-width", "1.5rem"),
|
|
1528
|
+
width: a("amount-button-width", "1.5rem"),
|
|
1529
|
+
backgroundColor: a("amount-button-background-color", "transparent"),
|
|
1530
|
+
color: a("amount-button-color", Me),
|
|
1531
|
+
borderColor: a("amount-button-border-color", "transparent"),
|
|
1532
|
+
hover: {
|
|
1533
|
+
backgroundColor: a(
|
|
1534
|
+
"amount-button-hover-background-color",
|
|
1535
|
+
"transparent"
|
|
1536
|
+
),
|
|
1537
|
+
color: a("amount-button-hover-color", M),
|
|
1538
|
+
borderColor: a("amount-button-hover-border-color", "transparent")
|
|
1539
|
+
}
|
|
1517
1540
|
}
|
|
1518
1541
|
},
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1542
|
+
button: {
|
|
1543
|
+
typography: {
|
|
1544
|
+
fontFamily: a("button-typography-font-family", "system-ui"),
|
|
1545
|
+
fontSize: a("button-typography-font-size", "0.875rem"),
|
|
1546
|
+
fontWeight: a("button-typography-font-weight", "400"),
|
|
1547
|
+
lineHeight: a("button-typography-line-height", "1.5")
|
|
1525
1548
|
},
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1549
|
+
default: {
|
|
1550
|
+
padding: a("button-default-padding", "0.5rem 1rem"),
|
|
1551
|
+
backgroundColor: a("button-default-background-color", Y),
|
|
1552
|
+
color: a("button-default-color", X),
|
|
1553
|
+
borderColor: a("button-default-border-color", Y),
|
|
1554
|
+
borderRadius: a("button-default-border-radius", "0.25rem"),
|
|
1555
|
+
borderWidth: a("button-default-border-width", "0.0625rem"),
|
|
1556
|
+
borderStyle: a("button-default-border-style", "solid"),
|
|
1557
|
+
minWidth: a("button-default-min-width", "auto"),
|
|
1558
|
+
minHeight: a("button-default-min-height", "auto"),
|
|
1559
|
+
gap: a("button-default-gap", "0.625rem"),
|
|
1560
|
+
hover: {
|
|
1561
|
+
backgroundColor: a(
|
|
1562
|
+
"button-default-hover-background-color",
|
|
1563
|
+
M
|
|
1564
|
+
),
|
|
1565
|
+
color: a("button-default-hover-color", X),
|
|
1566
|
+
borderColor: a("button-default-hover-border-color", M)
|
|
1567
|
+
},
|
|
1568
|
+
pressed: {
|
|
1569
|
+
backgroundColor: a(
|
|
1570
|
+
"button-default-pressed-background-color",
|
|
1571
|
+
ee
|
|
1572
|
+
),
|
|
1573
|
+
color: a("button-default-pressed-color", X),
|
|
1574
|
+
borderColor: a(
|
|
1575
|
+
"button-default-pressed-border-color",
|
|
1576
|
+
ee
|
|
1577
|
+
)
|
|
1578
|
+
},
|
|
1579
|
+
disabled: {
|
|
1580
|
+
backgroundColor: a(
|
|
1581
|
+
"button-default-disabled-background-color",
|
|
1582
|
+
Se
|
|
1583
|
+
),
|
|
1584
|
+
color: a("button-default-disabled-color", he),
|
|
1585
|
+
borderColor: a("button-default-disabled-border-color", Se)
|
|
1586
|
+
}
|
|
1587
|
+
},
|
|
1588
|
+
outlined: {
|
|
1589
|
+
backgroundColor: a(
|
|
1590
|
+
"button-outlined-background-color",
|
|
1591
|
+
"transparent"
|
|
1592
|
+
),
|
|
1593
|
+
color: a("button-outlined-color", Y),
|
|
1594
|
+
borderColor: a("button-outlined-border-color", Y),
|
|
1595
|
+
hover: {
|
|
1596
|
+
backgroundColor: a(
|
|
1597
|
+
"button-outlined-hover-background-color",
|
|
1598
|
+
Ce
|
|
1599
|
+
),
|
|
1600
|
+
color: a("button-outlined-hover-color", M),
|
|
1601
|
+
borderColor: a("button-outlined-hover-border-color", M)
|
|
1602
|
+
},
|
|
1603
|
+
pressed: {
|
|
1604
|
+
backgroundColor: a(
|
|
1605
|
+
"button-outlined-pressed-background-color",
|
|
1606
|
+
nr
|
|
1607
|
+
),
|
|
1608
|
+
color: a("button-outlined-pressed-color", ee),
|
|
1609
|
+
borderColor: a(
|
|
1610
|
+
"button-outlined-pressed-border-color",
|
|
1611
|
+
ee
|
|
1612
|
+
)
|
|
1613
|
+
},
|
|
1614
|
+
disabled: {
|
|
1615
|
+
backgroundColor: a(
|
|
1616
|
+
"button-outlined-disabled-background-color",
|
|
1617
|
+
"transparent"
|
|
1618
|
+
),
|
|
1619
|
+
color: a("button-outlined-disabled-color", he),
|
|
1620
|
+
borderColor: a("button-outlined-disabled-border-color", Se)
|
|
1621
|
+
}
|
|
1622
|
+
},
|
|
1623
|
+
ghost: {
|
|
1624
|
+
backgroundColor: a("button-ghost-background-color", "transparent"),
|
|
1625
|
+
color: a("button-ghost-color", Y),
|
|
1626
|
+
borderColor: a("button-ghost-border-color", "transparent"),
|
|
1627
|
+
hover: {
|
|
1628
|
+
backgroundColor: a("button-ghost-hover-background-color", Ce),
|
|
1629
|
+
color: a("button-ghost-hover-color", M)
|
|
1630
|
+
},
|
|
1631
|
+
pressed: {
|
|
1632
|
+
backgroundColor: a(
|
|
1633
|
+
"button-ghost-pressed-background-color",
|
|
1634
|
+
nr
|
|
1635
|
+
),
|
|
1636
|
+
color: a("button-ghost-pressed-color", ee)
|
|
1637
|
+
},
|
|
1638
|
+
disabled: {
|
|
1639
|
+
backgroundColor: a(
|
|
1640
|
+
"button-ghost-disabled-background-color",
|
|
1641
|
+
"transparent"
|
|
1642
|
+
),
|
|
1643
|
+
color: a("button-ghost-disabled-color", he)
|
|
1644
|
+
}
|
|
1645
|
+
},
|
|
1646
|
+
text: {
|
|
1647
|
+
backgroundColor: a("button-text-background-color", "transparent"),
|
|
1648
|
+
color: a("button-text-color", Y),
|
|
1649
|
+
borderColor: a("button-text-border-color", "transparent"),
|
|
1650
|
+
hover: {
|
|
1651
|
+
backgroundColor: a(
|
|
1652
|
+
"button-text-hover-background-color",
|
|
1653
|
+
"transparent"
|
|
1654
|
+
),
|
|
1655
|
+
color: a("button-text-hover-color", M)
|
|
1656
|
+
},
|
|
1657
|
+
pressed: {
|
|
1658
|
+
backgroundColor: a(
|
|
1659
|
+
"button-text-pressed-background-color",
|
|
1660
|
+
"transparent"
|
|
1661
|
+
),
|
|
1662
|
+
color: a("button-text-pressed-color", ee)
|
|
1663
|
+
},
|
|
1664
|
+
disabled: {
|
|
1665
|
+
backgroundColor: a(
|
|
1666
|
+
"button-text-disabled-background-color",
|
|
1667
|
+
"transparent"
|
|
1668
|
+
),
|
|
1669
|
+
color: a("button-text-disabled-color", he)
|
|
1670
|
+
}
|
|
1671
|
+
},
|
|
1672
|
+
link: {
|
|
1673
|
+
color: a("button-link-color", Y),
|
|
1674
|
+
hover: {
|
|
1675
|
+
color: a("button-link-hover-color", M)
|
|
1676
|
+
},
|
|
1677
|
+
pressed: {
|
|
1678
|
+
color: a("button-link-pressed-color", ee)
|
|
1679
|
+
},
|
|
1680
|
+
disabled: {
|
|
1681
|
+
color: a("button-link-disabled-color", he)
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
white: {
|
|
1685
|
+
backgroundColor: a("button-white-background-color", X),
|
|
1686
|
+
color: a("button-white-color", Me),
|
|
1687
|
+
borderColor: a("button-white-border-color", X),
|
|
1688
|
+
hover: {
|
|
1689
|
+
backgroundColor: a(
|
|
1690
|
+
"button-white-hover-background-color",
|
|
1691
|
+
M
|
|
1692
|
+
),
|
|
1693
|
+
color: a("button-white-hover-color", X),
|
|
1694
|
+
borderColor: a("button-white-hover-border-color", M)
|
|
1695
|
+
},
|
|
1696
|
+
pressed: {
|
|
1697
|
+
backgroundColor: a(
|
|
1698
|
+
"button-white-pressed-background-color",
|
|
1699
|
+
ee
|
|
1700
|
+
),
|
|
1701
|
+
color: a("button-white-pressed-color", X),
|
|
1702
|
+
borderColor: a(
|
|
1703
|
+
"button-white-pressed-border-color",
|
|
1704
|
+
ee
|
|
1705
|
+
)
|
|
1706
|
+
},
|
|
1707
|
+
disabled: {
|
|
1708
|
+
backgroundColor: a(
|
|
1709
|
+
"button-white-disabled-background-color",
|
|
1710
|
+
Se
|
|
1711
|
+
),
|
|
1712
|
+
color: a("button-white-disabled-color", he),
|
|
1713
|
+
borderColor: a("button-white-disabled-border-color", Se)
|
|
1714
|
+
}
|
|
1715
|
+
},
|
|
1716
|
+
close: {
|
|
1717
|
+
size: a("button-close-size", "1.875rem"),
|
|
1718
|
+
color: a("button-close-color", cn),
|
|
1719
|
+
hoverColor: a("button-close-hover-color", sn),
|
|
1720
|
+
disabledColor: a("button-close-disabled-color", he)
|
|
1721
|
+
},
|
|
1722
|
+
radius: a("button-radius", "0.25rem")
|
|
1530
1723
|
},
|
|
1531
|
-
|
|
1724
|
+
input: {
|
|
1725
|
+
typography: {
|
|
1726
|
+
fontFamily: a("input-font-family", "system-ui"),
|
|
1727
|
+
fontSize: a("input-font-size", "1rem"),
|
|
1728
|
+
fontWeight: a("input-font-weight", "400")
|
|
1729
|
+
},
|
|
1532
1730
|
colors: {
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1731
|
+
text: a("input-color", Me),
|
|
1732
|
+
backgroundColor: a("input-background-color", X),
|
|
1733
|
+
borderColor: a("input-border-color", ar),
|
|
1734
|
+
focus: {
|
|
1735
|
+
borderColor: a("input-focus-border-color", Y)
|
|
1736
|
+
},
|
|
1737
|
+
hover: {
|
|
1738
|
+
borderColor: a("input-hover-border-color", Y)
|
|
1537
1739
|
}
|
|
1538
1740
|
},
|
|
1741
|
+
radius: a("input-radius", "0.3125rem"),
|
|
1742
|
+
padding: a("input-padding", "0.5rem 0.75rem"),
|
|
1539
1743
|
sizes: {
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1744
|
+
color: {
|
|
1745
|
+
width: a("input-color-width", "3.125rem"),
|
|
1746
|
+
height: a("input-color-height", "1.875rem"),
|
|
1747
|
+
padding: a("input-color-padding", "0.125rem"),
|
|
1748
|
+
borderRadius: a("input-color-radius", "0.25rem")
|
|
1749
|
+
},
|
|
1750
|
+
file: {
|
|
1751
|
+
padding: a("input-file-padding", "0.5rem"),
|
|
1752
|
+
borderRadius: a("input-file-radius", "0.25rem"),
|
|
1753
|
+
buttonMargin: a("input-file-button-margin", "0.75rem")
|
|
1754
|
+
},
|
|
1755
|
+
image: {
|
|
1756
|
+
padding: a("input-image-padding", "0.625rem 1.25rem"),
|
|
1757
|
+
borderRadius: a("input-image-radius", "0.25rem"),
|
|
1758
|
+
fontWeight: a("input-image-font-weight", "700")
|
|
1759
|
+
},
|
|
1760
|
+
label: {
|
|
1761
|
+
gap: a("label-gap", "0.25rem")
|
|
1762
|
+
}
|
|
1543
1763
|
},
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1764
|
+
range: {
|
|
1765
|
+
colors: {
|
|
1766
|
+
borderImageSource: {
|
|
1767
|
+
default: a("range-border-image-source", Y),
|
|
1768
|
+
hover: a("range-hover-border-image-source", M),
|
|
1769
|
+
pressed: a("range-pressed-border-image-source", ee)
|
|
1770
|
+
},
|
|
1771
|
+
backgroundСolor: {
|
|
1772
|
+
default: a("range-background-color", Y),
|
|
1773
|
+
track: a("range-track-background-color", Xe)
|
|
1774
|
+
},
|
|
1775
|
+
shadow: {
|
|
1776
|
+
disabled: a("range-disabled-shadow", Se)
|
|
1777
|
+
},
|
|
1778
|
+
outline: {
|
|
1779
|
+
focused: a("range-focused-outline", M)
|
|
1780
|
+
}
|
|
1781
|
+
},
|
|
1782
|
+
sizes: {
|
|
1783
|
+
thumb: a("range-thumb-size", "1.25rem"),
|
|
1784
|
+
track: a("range-track-size", "0.125rem"),
|
|
1785
|
+
line: a("range-line-size", "0.125rem")
|
|
1786
|
+
},
|
|
1787
|
+
radius: a("range-radius", "1.25rem")
|
|
1788
|
+
},
|
|
1789
|
+
checkable: {
|
|
1790
|
+
colors: {
|
|
1791
|
+
border: {
|
|
1792
|
+
default: a("checkable-border-color", Y),
|
|
1793
|
+
hover: a("checkable-hover-border-color", M),
|
|
1794
|
+
checked: a("checkable-checked-border-color", Y)
|
|
1795
|
+
},
|
|
1796
|
+
backgroundColor: {
|
|
1797
|
+
default: a("checkable-background-color", X),
|
|
1798
|
+
hover: a("checkable-hover-background-color", M),
|
|
1799
|
+
checked: a("checkable-checked-background-color", Y)
|
|
1800
|
+
},
|
|
1801
|
+
focus: {
|
|
1802
|
+
border: a("checkable-focus-border-color", M),
|
|
1803
|
+
shadow: a(
|
|
1804
|
+
"checkable-focus-shadow",
|
|
1805
|
+
"0 0 0 0.25rem rgba(13, 110, 253, 0.25)"
|
|
1806
|
+
)
|
|
1807
|
+
}
|
|
1808
|
+
},
|
|
1809
|
+
radius: a("checkable-radius", "0.125rem")
|
|
1810
|
+
}
|
|
1550
1811
|
},
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1812
|
+
select: {
|
|
1813
|
+
typography: {
|
|
1814
|
+
fontFamily: a("select-font-family", "system-ui"),
|
|
1815
|
+
fontSize: a("select-font-size", "1rem"),
|
|
1816
|
+
fontWeight: a("select-font-weight", "400"),
|
|
1817
|
+
lineHeight: a("select-line-height", "1.375")
|
|
1818
|
+
},
|
|
1819
|
+
colors: {
|
|
1820
|
+
text: a("select-color", a("input-color", Me)),
|
|
1821
|
+
backgroundColor: a(
|
|
1822
|
+
"select-background-color",
|
|
1823
|
+
a("input-background-color", X)
|
|
1824
|
+
),
|
|
1825
|
+
borderColor: a(
|
|
1826
|
+
"select-border-color",
|
|
1827
|
+
a("input-border-color", ar)
|
|
1828
|
+
),
|
|
1829
|
+
option: {
|
|
1830
|
+
border: a("select-option-border-color", Xe),
|
|
1831
|
+
selected: {
|
|
1832
|
+
backgroundColor: a(
|
|
1833
|
+
"select-option-selected-background-color",
|
|
1834
|
+
Ce
|
|
1835
|
+
),
|
|
1836
|
+
color: a("select-option-selected-color", Y)
|
|
1837
|
+
}
|
|
1838
|
+
},
|
|
1839
|
+
hover: {
|
|
1840
|
+
backgroundColor: a("select-background-color", Ce),
|
|
1841
|
+
borderColor: a(
|
|
1842
|
+
"select-hover-border-color",
|
|
1843
|
+
a("input-hover-border-color", Ce)
|
|
1844
|
+
),
|
|
1845
|
+
option: {
|
|
1846
|
+
backgroundColor: a(
|
|
1847
|
+
"select-option-hover-background-color",
|
|
1848
|
+
Ce
|
|
1849
|
+
),
|
|
1850
|
+
color: a("select-option-hover-color", M)
|
|
1851
|
+
}
|
|
1852
|
+
},
|
|
1853
|
+
focus: {
|
|
1854
|
+
shadow: a(
|
|
1855
|
+
"select-shadow",
|
|
1856
|
+
"0 0 0 0.125rem rgba(22, 119, 255, 0.1)"
|
|
1857
|
+
),
|
|
1858
|
+
borderColor: a(
|
|
1859
|
+
"select-focus-border-color",
|
|
1860
|
+
a("input-focus-border-color", M)
|
|
1861
|
+
)
|
|
1862
|
+
}
|
|
1863
|
+
},
|
|
1864
|
+
radius: a("select-radius", "0.3125rem"),
|
|
1865
|
+
padding: a("select-padding", "0.5rem 0.75rem"),
|
|
1866
|
+
gap: a("select-gap", "0.5rem")
|
|
1554
1867
|
},
|
|
1555
|
-
|
|
1556
|
-
|
|
1868
|
+
dropdown: {
|
|
1869
|
+
colors: {
|
|
1870
|
+
backgroundColor: a(
|
|
1871
|
+
"dropdown-background-color",
|
|
1872
|
+
a("select-background-color", X)
|
|
1873
|
+
),
|
|
1874
|
+
borderColor: a(
|
|
1875
|
+
"dropdown-border-color",
|
|
1876
|
+
a("select-border-color", Xe)
|
|
1877
|
+
),
|
|
1878
|
+
shadow: a(
|
|
1879
|
+
"dropdown-shadow",
|
|
1880
|
+
"0 0.25rem 0.375rem -0.0625rem rgba(0, 0, 0, 0.1), 0 0.125rem 0.25rem -0.0625rem rgba(0, 0, 0, 0.06)"
|
|
1881
|
+
)
|
|
1882
|
+
}
|
|
1557
1883
|
}
|
|
1558
|
-
},
|
|
1884
|
+
}, ln = b`
|
|
1559
1885
|
font-style: normal;
|
|
1560
|
-
line-height:
|
|
1886
|
+
line-height: ${i.button.typography.lineHeight};
|
|
1561
1887
|
width: fit-content;
|
|
1562
1888
|
background-color: transparent;
|
|
1563
|
-
border:
|
|
1889
|
+
border: ${i.button.default.borderWidth} solid transparent;
|
|
1564
1890
|
padding: 0;
|
|
1565
1891
|
cursor: pointer;
|
|
1566
1892
|
user-select: none;
|
|
1567
1893
|
transition: 0.2s color, 0.2s background-color, 0.2s border-color;
|
|
1568
1894
|
|
|
1569
|
-
${
|
|
1895
|
+
${an}
|
|
1570
1896
|
|
|
1571
1897
|
svg {
|
|
1572
|
-
|
|
1898
|
+
max-width: 1.5rem;
|
|
1899
|
+
max-height: 1.5rem;
|
|
1900
|
+
width: 100%;
|
|
1901
|
+
height: 100%;
|
|
1902
|
+
object-fit: contain;
|
|
1573
1903
|
}
|
|
1574
1904
|
|
|
1575
1905
|
&:focus-visible {
|
|
@@ -1577,156 +1907,188 @@ const i = {
|
|
|
1577
1907
|
}
|
|
1578
1908
|
|
|
1579
1909
|
&:disabled {
|
|
1580
|
-
background-color: ${i.colors.disabled.bgPrimary};
|
|
1581
|
-
color: ${i.colors.disabled.white};
|
|
1582
|
-
border-color: ${i.colors.disabled.brDefault};
|
|
1583
1910
|
pointer-events: none;
|
|
1584
1911
|
}
|
|
1585
|
-
`,
|
|
1586
|
-
font-family: ${i.typography.
|
|
1587
|
-
font-size: ${i.typography.
|
|
1588
|
-
font-weight: ${i.typography.
|
|
1912
|
+
`, un = b`
|
|
1913
|
+
font-family: ${i.button.typography.fontFamily};
|
|
1914
|
+
font-size: ${i.button.typography.fontSize};
|
|
1915
|
+
font-weight: ${i.button.typography.fontWeight};
|
|
1589
1916
|
text-align: center;
|
|
1590
1917
|
display: flex;
|
|
1591
1918
|
align-items: center;
|
|
1592
1919
|
justify-content: center;
|
|
1593
|
-
gap:
|
|
1594
|
-
`,
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
border-
|
|
1600
|
-
border-
|
|
1601
|
-
padding:
|
|
1602
|
-
|
|
1603
|
-
${
|
|
1604
|
-
|
|
1605
|
-
--hover-background-color,
|
|
1606
|
-
${i.colors.hover.bgPrimary}
|
|
1607
|
-
);
|
|
1608
|
-
color: var(--hover-color, ${i.colors.white});
|
|
1609
|
-
border-color: var(--hover-border-color, ${i.colors.hover.bgPrimary});
|
|
1610
|
-
`)}
|
|
1920
|
+
gap: ${i.button.default.gap};
|
|
1921
|
+
`, dn = b`
|
|
1922
|
+
--button-background-color: transparent;
|
|
1923
|
+
--button-color: currentColor;
|
|
1924
|
+
--button-border-color: transparent;
|
|
1925
|
+
--button-border-radius: ${i.button.default.borderRadius};
|
|
1926
|
+
--button-border-style: ${i.button.default.borderStyle};
|
|
1927
|
+
--button-border-width: ${i.button.default.borderWidth};
|
|
1928
|
+
--button-padding: ${i.button.default.padding};
|
|
1929
|
+
--button-min-width: ${i.button.default.minWidth};
|
|
1930
|
+
--button-min-height: ${i.button.default.minHeight};
|
|
1931
|
+
--button-gap: ${i.button.default.gap};
|
|
1611
1932
|
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
`,
|
|
1624
|
-
${
|
|
1625
|
-
${
|
|
1626
|
-
|
|
1627
|
-
--color: ${i.colors.white};
|
|
1628
|
-
--border-color: ${i.colors.bgPrimary};
|
|
1629
|
-
--border-radius: ${i.radius.button.brSmall};
|
|
1630
|
-
--hover-background-color: ${i.colors.hover.bgPrimary};
|
|
1631
|
-
--hover-color: ${i.colors.white};
|
|
1632
|
-
--hover-border-color: ${i.colors.hover.bgPrimary};
|
|
1633
|
-
--pressed-background-color: ${i.colors.pressed.bgPrimary};
|
|
1634
|
-
--pressed-color: ${i.colors.white};
|
|
1635
|
-
--pressed-border-color: ${i.colors.pressed.bgPrimary};
|
|
1636
|
-
`, Io = he.button`
|
|
1637
|
-
${xe}
|
|
1638
|
-
${mt}
|
|
1933
|
+
--button-hover-background-color: transparent;
|
|
1934
|
+
--button-hover-color: currentColor;
|
|
1935
|
+
--button-hover-border-color: transparent;
|
|
1936
|
+
|
|
1937
|
+
--button-pressed-background-color: transparent;
|
|
1938
|
+
--button-pressed-color: currentColor;
|
|
1939
|
+
--button-pressed-border-color: transparent;
|
|
1940
|
+
|
|
1941
|
+
--button-disabled-background-color: transparent;
|
|
1942
|
+
--button-disabled-color: currentColor;
|
|
1943
|
+
--button-disabled-border-color: transparent;
|
|
1944
|
+
`, Ee = b`
|
|
1945
|
+
${ln}
|
|
1946
|
+
${un}
|
|
1947
|
+
${dn}
|
|
1639
1948
|
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
--
|
|
1650
|
-
--hover-color: ${i.colors.white};
|
|
1651
|
-
--hover-border-color: ${i.colors.hover.bgPrimary};
|
|
1652
|
-
--pressed-background-color: ${i.colors.pressed.bgPrimary};
|
|
1653
|
-
--pressed-color: ${i.colors.white};
|
|
1654
|
-
--pressed-border-color: ${i.colors.pressed.bgPrimary};
|
|
1655
|
-
`, Do = f`
|
|
1656
|
-
${mr}
|
|
1657
|
-
`, zo = f`
|
|
1658
|
-
color: var(--color, ${i.colors.link});
|
|
1659
|
-
border: none;
|
|
1660
|
-
border-radius: 0;
|
|
1661
|
-
padding: 0;
|
|
1949
|
+
background-color: var(--button-background-color);
|
|
1950
|
+
color: var(--button-color);
|
|
1951
|
+
border-color: var(--button-border-color);
|
|
1952
|
+
border-radius: var(--button-border-radius);
|
|
1953
|
+
border-style: var(--button-border-style);
|
|
1954
|
+
border-width: var(--button-border-width);
|
|
1955
|
+
padding: var(--button-padding);
|
|
1956
|
+
min-width: var(--button-min-width);
|
|
1957
|
+
min-height: var(--button-min-height);
|
|
1958
|
+
gap: var(--button-gap);
|
|
1662
1959
|
|
|
1663
|
-
${
|
|
1664
|
-
color: var(--hover-color
|
|
1960
|
+
${It(b`
|
|
1961
|
+
background-color: var(--button-hover-background-color);
|
|
1962
|
+
color: var(--button-hover-color);
|
|
1963
|
+
border-color: var(--button-hover-border-color);
|
|
1665
1964
|
`)}
|
|
1666
1965
|
|
|
1667
1966
|
&:active:not(:disabled) {
|
|
1668
|
-
color: var(--pressed-color
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1967
|
+
background-color: var(--button-pressed-background-color);
|
|
1968
|
+
color: var(--button-pressed-color);
|
|
1969
|
+
border-color: var(--button-pressed-border-color);
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
&:disabled {
|
|
1973
|
+
background-color: var(--button-disabled-background-color);
|
|
1974
|
+
color: var(--button-disabled-color);
|
|
1975
|
+
border-color: var(--button-disabled-border-color);
|
|
1976
|
+
}
|
|
1977
|
+
`, pn = (e) => typeof e == "object" && e !== null && "hover" in e, rt = "transparent", ce = (e, t) => e?.[t] ?? rt, Ye = (e) => {
|
|
1978
|
+
const t = i.button[e];
|
|
1979
|
+
if (e === "link" || e === "close")
|
|
1980
|
+
return b`
|
|
1981
|
+
${Ee}
|
|
1982
|
+
`;
|
|
1983
|
+
if (!pn(t))
|
|
1984
|
+
return b`
|
|
1985
|
+
${Ee}
|
|
1986
|
+
`;
|
|
1987
|
+
const { hover: r, pressed: o, disabled: n } = t;
|
|
1988
|
+
return b`
|
|
1989
|
+
${Ee}
|
|
1990
|
+
|
|
1991
|
+
--button-background-color: ${ce(t, "backgroundColor")};
|
|
1992
|
+
--button-color: ${ce(t, "color")};
|
|
1993
|
+
--button-border-color: ${ce(t, "borderColor")};
|
|
1994
|
+
|
|
1995
|
+
--button-hover-background-color: ${ce(r, "backgroundColor")};
|
|
1996
|
+
--button-hover-color: ${ce(r, "color")};
|
|
1997
|
+
--button-hover-border-color: ${r?.borderColor ?? r?.backgroundColor ?? rt};
|
|
1998
|
+
|
|
1999
|
+
--button-pressed-background-color: ${ce(o, "backgroundColor")};
|
|
2000
|
+
--button-pressed-color: ${ce(o, "color")};
|
|
2001
|
+
--button-pressed-border-color: ${o?.borderColor ?? o?.backgroundColor ?? rt};
|
|
2002
|
+
|
|
2003
|
+
--button-disabled-background-color: ${ce(n, "backgroundColor")};
|
|
2004
|
+
--button-disabled-color: ${ce(n, "color")};
|
|
2005
|
+
--button-disabled-border-color: ${n?.borderColor ?? n?.backgroundColor ?? rt};
|
|
2006
|
+
`;
|
|
2007
|
+
}, Dt = Ye("default"), fn = Ye("outlined"), hn = Ye("ghost"), bn = Ye("text"), gn = Ye("white"), mn = b`
|
|
2008
|
+
${Ee}
|
|
2009
|
+
--button-color: ${i.button.link.color};
|
|
2010
|
+
--button-hover-color: ${i.button.link.hover.color};
|
|
2011
|
+
--button-pressed-color: ${i.button.link.pressed.color};
|
|
2012
|
+
--button-disabled-color: ${i.button.link.disabled.color};
|
|
2013
|
+
--button-border-radius: 0;
|
|
2014
|
+
--button-padding: 0;
|
|
2015
|
+
--button-min-width: auto;
|
|
2016
|
+
--button-min-height: auto;
|
|
2017
|
+
text-decoration: none;
|
|
2018
|
+
|
|
2019
|
+
&:hover {
|
|
2020
|
+
text-decoration: underline;
|
|
2021
|
+
}
|
|
2022
|
+
`, yn = b`
|
|
2023
|
+
${Ee}
|
|
2024
|
+
--button-padding: 0;
|
|
2025
|
+
--button-min-width: auto;
|
|
2026
|
+
--button-min-height: auto;
|
|
2027
|
+
`, vn = F.button`
|
|
2028
|
+
${({ button: e = "default" }) => {
|
|
1686
2029
|
switch (e) {
|
|
1687
|
-
case "
|
|
1688
|
-
return
|
|
1689
|
-
case "
|
|
1690
|
-
return
|
|
2030
|
+
case "default":
|
|
2031
|
+
return Dt;
|
|
2032
|
+
case "outlined":
|
|
2033
|
+
return fn;
|
|
2034
|
+
case "ghost":
|
|
2035
|
+
return hn;
|
|
2036
|
+
case "text":
|
|
2037
|
+
return bn;
|
|
1691
2038
|
case "white":
|
|
1692
|
-
return
|
|
1693
|
-
case "
|
|
1694
|
-
return
|
|
2039
|
+
return gn;
|
|
2040
|
+
case "link":
|
|
2041
|
+
return mn;
|
|
1695
2042
|
default:
|
|
1696
|
-
return
|
|
2043
|
+
return yn;
|
|
1697
2044
|
}
|
|
1698
2045
|
}}
|
|
1699
|
-
`,
|
|
2046
|
+
`, sr = ({
|
|
1700
2047
|
children: e,
|
|
1701
|
-
disabled:
|
|
1702
|
-
type:
|
|
2048
|
+
disabled: t = !1,
|
|
2049
|
+
type: r = "button",
|
|
1703
2050
|
button: o = "default",
|
|
1704
2051
|
className: n = "",
|
|
1705
2052
|
...s
|
|
1706
|
-
}) => /* @__PURE__ */
|
|
1707
|
-
|
|
2053
|
+
}) => /* @__PURE__ */ p.jsx(
|
|
2054
|
+
vn,
|
|
1708
2055
|
{
|
|
1709
|
-
type:
|
|
1710
|
-
disabled:
|
|
2056
|
+
type: r,
|
|
2057
|
+
disabled: t,
|
|
1711
2058
|
button: o,
|
|
1712
2059
|
className: n,
|
|
1713
|
-
"aria-disabled":
|
|
2060
|
+
"aria-disabled": t,
|
|
1714
2061
|
...s,
|
|
1715
2062
|
children: e
|
|
1716
2063
|
}
|
|
1717
|
-
),
|
|
1718
|
-
${
|
|
1719
|
-
|
|
1720
|
-
|
|
2064
|
+
), wn = F.button`
|
|
2065
|
+
${Ee}
|
|
2066
|
+
|
|
2067
|
+
// Специфичные стили для кнопки close
|
|
2068
|
+
width: ${i.button.close.size};
|
|
2069
|
+
height: ${i.button.close.size};
|
|
2070
|
+
border-radius: ${i.button.radius};
|
|
1721
2071
|
font-size: 0;
|
|
1722
2072
|
position: relative;
|
|
1723
|
-
border-radius: 0.25rem;
|
|
1724
|
-
color: ${(e) => e.disabled ? i.colors.disabled.text : e.color || i.colors.button.colorClose};
|
|
1725
2073
|
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
|
-
|
|
2074
|
+
// Убираем дефолтные значения для close кнопки
|
|
2075
|
+
--button-padding: 0;
|
|
2076
|
+
--button-min-width: ${i.button.close.size};
|
|
2077
|
+
--button-min-height: ${i.button.close.size};
|
|
2078
|
+
--button-gap: 0;
|
|
2079
|
+
|
|
2080
|
+
// Цвета из темы или кастомные через props
|
|
2081
|
+
--button-color: ${(e) => e.color || i.button.close.color};
|
|
2082
|
+
--button-hover-color: ${(e) => e.hoverColor || i.button.close.hoverColor};
|
|
2083
|
+
--button-disabled-color: ${i.button.close.disabledColor};
|
|
1729
2084
|
|
|
2085
|
+
// SVG специфичные стили
|
|
2086
|
+
svg {
|
|
2087
|
+
max-width: 100%;
|
|
2088
|
+
max-height: 100%;
|
|
2089
|
+
}
|
|
2090
|
+
|
|
2091
|
+
// Псевдоэлемент для overlay
|
|
1730
2092
|
&:before {
|
|
1731
2093
|
content: "";
|
|
1732
2094
|
height: 100dvh;
|
|
@@ -1738,40 +2100,41 @@ const i = {
|
|
|
1738
2100
|
z-index: -1;
|
|
1739
2101
|
}
|
|
1740
2102
|
|
|
2103
|
+
// Стили для SVG path
|
|
1741
2104
|
path {
|
|
1742
2105
|
stroke: currentColor;
|
|
1743
2106
|
stroke-width: 0.125rem;
|
|
1744
2107
|
}
|
|
1745
|
-
`,
|
|
2108
|
+
`, pa = ({
|
|
1746
2109
|
disabled: e = !1,
|
|
1747
|
-
className:
|
|
1748
|
-
...
|
|
1749
|
-
}) => /* @__PURE__ */
|
|
1750
|
-
|
|
2110
|
+
className: t = "",
|
|
2111
|
+
...r
|
|
2112
|
+
}) => /* @__PURE__ */ p.jsxs(
|
|
2113
|
+
wn,
|
|
1751
2114
|
{
|
|
1752
2115
|
type: "button",
|
|
1753
|
-
className:
|
|
2116
|
+
className: t,
|
|
1754
2117
|
disabled: e,
|
|
1755
2118
|
"aria-label": "Close",
|
|
1756
|
-
...
|
|
2119
|
+
...r,
|
|
1757
2120
|
children: [
|
|
1758
|
-
/* @__PURE__ */
|
|
1759
|
-
/* @__PURE__ */
|
|
1760
|
-
/* @__PURE__ */
|
|
1761
|
-
/* @__PURE__ */
|
|
2121
|
+
/* @__PURE__ */ p.jsx("span", { style: { display: "none" }, children: "Close" }),
|
|
2122
|
+
/* @__PURE__ */ p.jsxs("svg", { viewBox: "0 0 24 25", children: [
|
|
2123
|
+
/* @__PURE__ */ p.jsx("path", { d: "M6.34314 18.1567L17.6568 6.84303" }),
|
|
2124
|
+
/* @__PURE__ */ p.jsx("path", { d: "M17.6569 18.1567L6.34315 6.84303" })
|
|
1762
2125
|
] })
|
|
1763
2126
|
]
|
|
1764
2127
|
}
|
|
1765
|
-
),
|
|
2128
|
+
), kn = b`
|
|
1766
2129
|
-webkit-appearance: none;
|
|
1767
2130
|
appearance: none;
|
|
1768
|
-
${
|
|
1769
|
-
border: 0.0625rem solid ${i.colors.
|
|
1770
|
-
border-radius: ${i.radius
|
|
2131
|
+
${nn("1rem")}
|
|
2132
|
+
border: 0.0625rem solid ${i.input.checkable.colors.border.default};
|
|
2133
|
+
border-radius: ${i.input.checkable.radius};
|
|
1771
2134
|
background-repeat: no-repeat;
|
|
1772
2135
|
background-position: center;
|
|
1773
2136
|
background-size: contain;
|
|
1774
|
-
background-color: ${i.colors.
|
|
2137
|
+
background-color: ${i.input.checkable.colors.backgroundColor.default};
|
|
1775
2138
|
cursor: pointer;
|
|
1776
2139
|
transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
|
|
1777
2140
|
border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
@@ -1783,8 +2146,8 @@ const i = {
|
|
|
1783
2146
|
}
|
|
1784
2147
|
|
|
1785
2148
|
&:checked {
|
|
1786
|
-
background-color: ${i.colors.
|
|
1787
|
-
border-color: ${i.colors.
|
|
2149
|
+
background-color: ${i.input.checkable.colors.backgroundColor.checked};
|
|
2150
|
+
border-color: ${i.input.checkable.colors.border.checked};
|
|
1788
2151
|
|
|
1789
2152
|
&[type="checkbox"] {
|
|
1790
2153
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
|
|
@@ -1795,18 +2158,18 @@ const i = {
|
|
|
1795
2158
|
}
|
|
1796
2159
|
}
|
|
1797
2160
|
|
|
1798
|
-
${
|
|
1799
|
-
border-color: ${i.colors.hover
|
|
2161
|
+
${It(b`
|
|
2162
|
+
border-color: ${i.input.checkable.colors.border.hover};
|
|
1800
2163
|
|
|
1801
2164
|
&:checked {
|
|
1802
|
-
background-color: ${i.colors.hover
|
|
2165
|
+
background-color: ${i.input.checkable.colors.backgroundColor.hover};
|
|
1803
2166
|
}
|
|
1804
2167
|
`)}
|
|
1805
2168
|
|
|
1806
2169
|
&:focus-visible {
|
|
1807
2170
|
outline: none;
|
|
1808
|
-
border-color: ${i.colors.
|
|
1809
|
-
box-shadow: ${i.shadow
|
|
2171
|
+
border-color: ${i.input.checkable.colors.focus.border};
|
|
2172
|
+
box-shadow: ${i.input.checkable.colors.focus.shadow};
|
|
1810
2173
|
}
|
|
1811
2174
|
|
|
1812
2175
|
&:disabled {
|
|
@@ -1822,35 +2185,35 @@ const i = {
|
|
|
1822
2185
|
body & ~ p {
|
|
1823
2186
|
margin-top: -0.1875em;
|
|
1824
2187
|
}
|
|
1825
|
-
`,
|
|
1826
|
-
font-family: ${i.typography.fontFamily};
|
|
1827
|
-
font-size: ${i.typography.
|
|
1828
|
-
font-weight: ${i.typography.
|
|
1829
|
-
color: ${i.colors.
|
|
1830
|
-
background-color: ${i.colors.
|
|
1831
|
-
border: 0.0625rem solid ${i.colors.
|
|
1832
|
-
border-radius: ${i.radius
|
|
1833
|
-
padding: ${i.padding
|
|
2188
|
+
`, _t = b`
|
|
2189
|
+
font-family: ${i.input.typography.fontFamily};
|
|
2190
|
+
font-size: ${i.input.typography.fontSize};
|
|
2191
|
+
font-weight: ${i.input.typography.fontWeight};
|
|
2192
|
+
color: ${i.input.colors.text};
|
|
2193
|
+
background-color: ${i.input.colors.backgroundColor};
|
|
2194
|
+
border: 0.0625rem solid ${i.input.colors.borderColor};
|
|
2195
|
+
border-radius: ${i.input.radius};
|
|
2196
|
+
padding: ${i.input.padding};
|
|
1834
2197
|
transition: 0.2s border-color, 0.2s background-color, 0.2s color;
|
|
1835
2198
|
|
|
1836
2199
|
&:focus-visible {
|
|
1837
2200
|
outline: none;
|
|
1838
|
-
border-color: ${i.colors.
|
|
2201
|
+
border-color: ${i.input.colors.focus.borderColor};
|
|
1839
2202
|
}
|
|
1840
2203
|
|
|
1841
2204
|
@media (hover: hover) {
|
|
1842
2205
|
&:hover:not(:focus, :focus-visible, :disabled) {
|
|
1843
|
-
border-color: ${i.colors.
|
|
2206
|
+
border-color: ${i.input.colors.hover.borderColor};
|
|
1844
2207
|
}
|
|
1845
2208
|
}
|
|
1846
2209
|
|
|
1847
2210
|
@media (hover: none) {
|
|
1848
2211
|
&:active:not(:focus, :focus-visible, :disabled) {
|
|
1849
|
-
border-color: ${i.colors.
|
|
2212
|
+
border-color: ${i.input.colors.hover.borderColor};
|
|
1850
2213
|
}
|
|
1851
2214
|
}
|
|
1852
|
-
`,
|
|
1853
|
-
${
|
|
2215
|
+
`, xn = b`
|
|
2216
|
+
${_t}
|
|
1854
2217
|
-moz-appearance: textfield;
|
|
1855
2218
|
appearance: none;
|
|
1856
2219
|
outline: none;
|
|
@@ -1863,55 +2226,56 @@ const i = {
|
|
|
1863
2226
|
-webkit-appearance: none;
|
|
1864
2227
|
margin: 0;
|
|
1865
2228
|
}
|
|
1866
|
-
`,
|
|
1867
|
-
width: ${i.range.sizes.thumb};
|
|
1868
|
-
height: ${i.range.sizes.thumb};
|
|
2229
|
+
`, ir = b`
|
|
2230
|
+
width: ${i.input.range.sizes.thumb};
|
|
2231
|
+
height: ${i.input.range.sizes.thumb};
|
|
1869
2232
|
margin-top: var(--margin-top-thumb);
|
|
1870
2233
|
border: none;
|
|
1871
|
-
border-radius: ${i.range.radius};
|
|
1872
|
-
background-color: ${i.colors.
|
|
2234
|
+
border-radius: ${i.input.range.radius};
|
|
2235
|
+
background-color: ${i.input.range.colors.backgroundСolor.default};
|
|
1873
2236
|
cursor: pointer;
|
|
1874
2237
|
transition: 0.2s;
|
|
1875
|
-
`,
|
|
2238
|
+
`, cr = b`
|
|
1876
2239
|
box-sizing: border-box;
|
|
1877
|
-
background-color: ${i.colors.
|
|
1878
|
-
height: ${i.range.sizes.track};
|
|
2240
|
+
background-color: ${i.input.range.colors.backgroundСolor.track};
|
|
2241
|
+
height: ${i.input.range.sizes.track};
|
|
1879
2242
|
border: none;
|
|
1880
|
-
`,
|
|
1881
|
-
--border-image-source: ${i.range.colors.borderImageSource.hover};
|
|
1882
|
-
`,
|
|
1883
|
-
--border-image-source: ${i.range.colors.borderImageSource.pressed};
|
|
1884
|
-
`,
|
|
1885
|
-
box-shadow: 0 0 0 1.875rem inset ${i.colors.disabled
|
|
1886
|
-
`,
|
|
1887
|
-
outline: 0.1875rem solid ${i.colors.focused
|
|
1888
|
-
outline-offset: ${i.range.sizes.track};
|
|
1889
|
-
`,
|
|
1890
|
-
--border-image-source: ${i.range.colors.borderImageSource.default};
|
|
2243
|
+
`, lr = b`
|
|
2244
|
+
--border-image-source: ${i.input.range.colors.borderImageSource.hover};
|
|
2245
|
+
`, ur = b`
|
|
2246
|
+
--border-image-source: ${i.input.range.colors.borderImageSource.pressed};
|
|
2247
|
+
`, dr = b`
|
|
2248
|
+
box-shadow: 0 0 0 1.875rem inset ${i.input.range.colors.shadow.disabled};
|
|
2249
|
+
`, pr = b`
|
|
2250
|
+
outline: 0.1875rem solid ${i.input.range.colors.outline.focused};
|
|
2251
|
+
outline-offset: ${i.input.range.sizes.track};
|
|
2252
|
+
`, $n = b`
|
|
2253
|
+
--border-image-source: ${i.input.range.colors.borderImageSource.default};
|
|
1891
2254
|
--margin-top-thumb: calc(
|
|
1892
|
-
${i.range.sizes.thumb} / -2 +
|
|
2255
|
+
${i.input.range.sizes.thumb} / -2 +
|
|
2256
|
+
(${i.input.range.sizes.track} / 2)
|
|
1893
2257
|
);
|
|
1894
|
-
accent-color: ${i.colors.
|
|
2258
|
+
accent-color: ${i.input.range.colors.backgroundСolor.default};
|
|
1895
2259
|
appearance: none;
|
|
1896
|
-
height: ${i.range.sizes.thumb};
|
|
2260
|
+
height: ${i.input.range.sizes.thumb};
|
|
1897
2261
|
overflow-x: clip;
|
|
1898
2262
|
background-color: transparent;
|
|
1899
2263
|
width: 100%;
|
|
1900
2264
|
cursor: pointer;
|
|
1901
2265
|
|
|
1902
2266
|
&::-webkit-slider-runnable-track {
|
|
1903
|
-
${
|
|
2267
|
+
${cr}
|
|
1904
2268
|
}
|
|
1905
2269
|
&::-moz-range-track {
|
|
1906
|
-
${
|
|
2270
|
+
${cr}
|
|
1907
2271
|
}
|
|
1908
2272
|
&::-webkit-slider-thumb {
|
|
1909
2273
|
-webkit-appearance: none;
|
|
1910
|
-
${
|
|
2274
|
+
${ir}
|
|
1911
2275
|
}
|
|
1912
2276
|
&::-moz-range-thumb {
|
|
1913
2277
|
-moz-appearance: none;
|
|
1914
|
-
${
|
|
2278
|
+
${ir}
|
|
1915
2279
|
}
|
|
1916
2280
|
|
|
1917
2281
|
/* Focus состояния */
|
|
@@ -1919,10 +2283,10 @@ const i = {
|
|
|
1919
2283
|
outline: none;
|
|
1920
2284
|
|
|
1921
2285
|
&::-webkit-slider-thumb {
|
|
1922
|
-
${
|
|
2286
|
+
${pr}
|
|
1923
2287
|
}
|
|
1924
2288
|
&::-moz-range-thumb {
|
|
1925
|
-
${
|
|
2289
|
+
${pr}
|
|
1926
2290
|
}
|
|
1927
2291
|
}
|
|
1928
2292
|
|
|
@@ -1930,27 +2294,27 @@ const i = {
|
|
|
1930
2294
|
&:hover:not(:disabled),
|
|
1931
2295
|
&:focus-visible:not(:disabled) {
|
|
1932
2296
|
&::-webkit-slider-thumb {
|
|
1933
|
-
${
|
|
2297
|
+
${lr}
|
|
1934
2298
|
}
|
|
1935
2299
|
&::-moz-range-thumb {
|
|
1936
|
-
${
|
|
2300
|
+
${lr}
|
|
1937
2301
|
}
|
|
1938
2302
|
}
|
|
1939
2303
|
|
|
1940
2304
|
/* Active состояния */
|
|
1941
2305
|
&:active:not(:disabled) {
|
|
1942
2306
|
&::-webkit-slider-thumb {
|
|
1943
|
-
${
|
|
2307
|
+
${ur}
|
|
1944
2308
|
}
|
|
1945
2309
|
&::-moz-range-thumb {
|
|
1946
|
-
${
|
|
2310
|
+
${ur}
|
|
1947
2311
|
}
|
|
1948
2312
|
}
|
|
1949
2313
|
|
|
1950
2314
|
/* Прогресс для Firefox */
|
|
1951
2315
|
&::-moz-range-progress {
|
|
1952
2316
|
background-color: var(--border-image-source);
|
|
1953
|
-
height: ${i.range.sizes.track};
|
|
2317
|
+
height: ${i.input.range.sizes.track};
|
|
1954
2318
|
}
|
|
1955
2319
|
|
|
1956
2320
|
&::-webkit-slider-thumb {
|
|
@@ -1963,7 +2327,7 @@ const i = {
|
|
|
1963
2327
|
var(--border-image-source) 50%,
|
|
1964
2328
|
transparent 0
|
|
1965
2329
|
);
|
|
1966
|
-
border-image-width: calc(50% - ${i.range.sizes.line}) 50%;
|
|
2330
|
+
border-image-width: calc(50% - ${i.input.range.sizes.line}) 50%;
|
|
1967
2331
|
}
|
|
1968
2332
|
|
|
1969
2333
|
/* Disabled состояния */
|
|
@@ -1973,101 +2337,101 @@ const i = {
|
|
|
1973
2337
|
|
|
1974
2338
|
&::-webkit-slider-thumb {
|
|
1975
2339
|
cursor: not-allowed;
|
|
1976
|
-
${
|
|
2340
|
+
${dr}
|
|
1977
2341
|
}
|
|
1978
2342
|
|
|
1979
2343
|
&::-moz-range-thumb {
|
|
1980
2344
|
cursor: not-allowed;
|
|
1981
|
-
${
|
|
2345
|
+
${dr}
|
|
1982
2346
|
}
|
|
1983
2347
|
}
|
|
1984
|
-
`,
|
|
1985
|
-
${
|
|
2348
|
+
`, Sn = b`
|
|
2349
|
+
${Dt}
|
|
1986
2350
|
display: inline-block;
|
|
1987
|
-
`,
|
|
1988
|
-
width:
|
|
1989
|
-
height:
|
|
1990
|
-
padding:
|
|
1991
|
-
border:
|
|
1992
|
-
border-radius:
|
|
2351
|
+
`, Cn = b`
|
|
2352
|
+
width: ${i.input.sizes.color.width};
|
|
2353
|
+
height: ${i.input.sizes.color.height};
|
|
2354
|
+
padding: ${i.input.sizes.color.padding};
|
|
2355
|
+
border: 0.0625rem solid ${i.colors.brDefault};
|
|
2356
|
+
border-radius: ${i.input.sizes.color.borderRadius};
|
|
1993
2357
|
cursor: pointer;
|
|
1994
|
-
`,
|
|
1995
|
-
padding:
|
|
1996
|
-
border:
|
|
1997
|
-
border-radius:
|
|
2358
|
+
`, En = b`
|
|
2359
|
+
padding: ${i.input.sizes.file.padding};
|
|
2360
|
+
border: 0.0625rem solid ${i.colors.brDefault};
|
|
2361
|
+
border-radius: ${i.input.sizes.file.borderRadius};
|
|
1998
2362
|
cursor: pointer;
|
|
1999
2363
|
|
|
2000
2364
|
&::file-selector-button {
|
|
2001
|
-
${
|
|
2002
|
-
margin-right:
|
|
2365
|
+
${Dt}
|
|
2366
|
+
margin-right: ${i.input.sizes.file.buttonMargin};
|
|
2003
2367
|
}
|
|
2004
|
-
`,
|
|
2005
|
-
padding:
|
|
2368
|
+
`, Rn = b`
|
|
2369
|
+
padding: ${i.input.sizes.image.padding};
|
|
2006
2370
|
border: none;
|
|
2007
|
-
border-radius:
|
|
2371
|
+
border-radius: ${i.input.sizes.image.borderRadius};
|
|
2008
2372
|
cursor: pointer;
|
|
2009
|
-
font-weight:
|
|
2373
|
+
font-weight: ${i.input.sizes.image.fontWeight};
|
|
2010
2374
|
background-color: ${i.colors.bgPrimary};
|
|
2011
2375
|
color: ${i.colors.white};
|
|
2012
2376
|
|
|
2013
2377
|
&:hover:not(:disabled) {
|
|
2014
2378
|
background-color: ${i.colors.hover.bgPrimary};
|
|
2015
2379
|
}
|
|
2016
|
-
`,
|
|
2380
|
+
`, An = b`
|
|
2017
2381
|
display: none;
|
|
2018
|
-
`,
|
|
2382
|
+
`, _n = b`
|
|
2019
2383
|
flex-direction: column;
|
|
2020
2384
|
|
|
2021
2385
|
p {
|
|
2022
2386
|
order: -1;
|
|
2023
2387
|
}
|
|
2024
|
-
`,
|
|
2388
|
+
`, jn = b``, Tn = (e) => {
|
|
2025
2389
|
switch (e) {
|
|
2026
2390
|
case "button":
|
|
2027
2391
|
case "submit":
|
|
2028
2392
|
case "reset":
|
|
2029
|
-
return
|
|
2393
|
+
return Sn;
|
|
2030
2394
|
case "checkbox":
|
|
2031
2395
|
case "radio":
|
|
2032
|
-
return
|
|
2396
|
+
return kn;
|
|
2033
2397
|
case "color":
|
|
2034
|
-
return
|
|
2398
|
+
return Cn;
|
|
2035
2399
|
case "date":
|
|
2036
2400
|
case "datetime-local":
|
|
2037
2401
|
case "month":
|
|
2038
2402
|
case "time":
|
|
2039
2403
|
case "week":
|
|
2040
|
-
return
|
|
2404
|
+
return _t;
|
|
2041
2405
|
case "file":
|
|
2042
|
-
return
|
|
2406
|
+
return En;
|
|
2043
2407
|
case "image":
|
|
2044
|
-
return
|
|
2408
|
+
return Rn;
|
|
2045
2409
|
case "number":
|
|
2046
|
-
return
|
|
2410
|
+
return xn;
|
|
2047
2411
|
case "range":
|
|
2048
|
-
return
|
|
2412
|
+
return $n;
|
|
2049
2413
|
case "hidden":
|
|
2050
|
-
return
|
|
2414
|
+
return An;
|
|
2051
2415
|
// text, password, email, search, tel, url
|
|
2052
2416
|
default:
|
|
2053
|
-
return
|
|
2417
|
+
return _t;
|
|
2054
2418
|
}
|
|
2055
|
-
},
|
|
2419
|
+
}, Pn = (e) => {
|
|
2056
2420
|
switch (e) {
|
|
2057
2421
|
case "checkbox":
|
|
2058
2422
|
case "radio":
|
|
2059
|
-
return
|
|
2423
|
+
return jn;
|
|
2060
2424
|
default:
|
|
2061
|
-
return
|
|
2425
|
+
return _n;
|
|
2062
2426
|
}
|
|
2063
|
-
},
|
|
2427
|
+
}, On = F.input`
|
|
2064
2428
|
width: auto;
|
|
2065
2429
|
max-width: 100%;
|
|
2066
|
-
${({ type: e }) =>
|
|
2067
|
-
`,
|
|
2068
|
-
${({ $type: e }) =>
|
|
2430
|
+
${({ type: e }) => Tn(e)}
|
|
2431
|
+
`, Nn = F.label`
|
|
2432
|
+
${({ $type: e }) => Pn(e)}
|
|
2069
2433
|
display: flex;
|
|
2070
|
-
gap:
|
|
2434
|
+
gap: ${i.input.sizes.label.gap};
|
|
2071
2435
|
user-select: none;
|
|
2072
2436
|
|
|
2073
2437
|
p {
|
|
@@ -2076,15 +2440,740 @@ const i = {
|
|
|
2076
2440
|
font-weight: ${i.typography.label.fontWeight};
|
|
2077
2441
|
margin: 0;
|
|
2078
2442
|
}
|
|
2079
|
-
`,
|
|
2080
|
-
const n = () => /* @__PURE__ */
|
|
2081
|
-
return
|
|
2082
|
-
/* @__PURE__ */
|
|
2083
|
-
/* @__PURE__ */
|
|
2084
|
-
] }) : /* @__PURE__ */
|
|
2443
|
+
`, Yr = ({ id: e, type: t = "text", label: r, ...o }) => {
|
|
2444
|
+
const n = () => /* @__PURE__ */ p.jsx(On, { id: e, type: t, ...o });
|
|
2445
|
+
return r ? /* @__PURE__ */ p.jsxs(Nn, { $type: t, children: [
|
|
2446
|
+
/* @__PURE__ */ p.jsx(n, {}),
|
|
2447
|
+
/* @__PURE__ */ p.jsx("p", { children: r })
|
|
2448
|
+
] }) : /* @__PURE__ */ p.jsx(n, {});
|
|
2449
|
+
}, zn = ft`
|
|
2450
|
+
from {
|
|
2451
|
+
opacity: 0;
|
|
2452
|
+
transform: translateY(-0.5rem);
|
|
2453
|
+
}
|
|
2454
|
+
to {
|
|
2455
|
+
opacity: 1;
|
|
2456
|
+
transform: translateY(0);
|
|
2457
|
+
}
|
|
2458
|
+
`, In = ft`
|
|
2459
|
+
from {
|
|
2460
|
+
opacity: 1;
|
|
2461
|
+
transform: translateY(0);
|
|
2462
|
+
}
|
|
2463
|
+
to {
|
|
2464
|
+
opacity: 0;
|
|
2465
|
+
transform: translateY(-0.5rem);
|
|
2466
|
+
}
|
|
2467
|
+
`, Dn = ft`
|
|
2468
|
+
from {
|
|
2469
|
+
opacity: 0;
|
|
2470
|
+
transform: translateY(0.5rem);
|
|
2471
|
+
}
|
|
2472
|
+
to {
|
|
2473
|
+
opacity: 1;
|
|
2474
|
+
transform: translateY(0);
|
|
2475
|
+
}
|
|
2476
|
+
`, Fn = ft`
|
|
2477
|
+
from {
|
|
2478
|
+
opacity: 1;
|
|
2479
|
+
transform: translateY(0);
|
|
2480
|
+
}
|
|
2481
|
+
to {
|
|
2482
|
+
opacity: 0;
|
|
2483
|
+
transform: translateY(0.5rem);
|
|
2484
|
+
}
|
|
2485
|
+
`, fr = F.div`
|
|
2486
|
+
position: relative;
|
|
2487
|
+
width: 100%;
|
|
2488
|
+
|
|
2489
|
+
${({ $disabled: e }) => e && b`
|
|
2490
|
+
opacity: 0.6;
|
|
2491
|
+
cursor: not-allowed;
|
|
2492
|
+
pointer-events: none;
|
|
2493
|
+
`}
|
|
2494
|
+
`, hr = F.button`
|
|
2495
|
+
font-family: ${i.select.typography.fontFamily};
|
|
2496
|
+
font-size: ${i.select.typography.fontSize};
|
|
2497
|
+
font-weight: ${i.select.typography.fontWeight};
|
|
2498
|
+
line-height: ${i.select.typography.lineHeight};
|
|
2499
|
+
text-align: start;
|
|
2500
|
+
display: flex;
|
|
2501
|
+
align-items: center;
|
|
2502
|
+
justify-content: space-between;
|
|
2503
|
+
width: 100%;
|
|
2504
|
+
background-color: ${i.select.colors.backgroundColor};
|
|
2505
|
+
color: ${i.select.colors.text};
|
|
2506
|
+
border: 0.0625rem solid ${i.select.colors.borderColor};
|
|
2507
|
+
border-radius: ${i.select.radius};
|
|
2508
|
+
padding: ${i.select.padding};
|
|
2509
|
+
gap: ${i.select.gap};
|
|
2510
|
+
cursor: pointer;
|
|
2511
|
+
transition: all 0.2s ease;
|
|
2512
|
+
|
|
2513
|
+
&:hover {
|
|
2514
|
+
border-color: ${i.select.colors.hover.borderColor};
|
|
2515
|
+
background-color: ${i.select.colors.hover.backgroundColor};
|
|
2516
|
+
}
|
|
2517
|
+
|
|
2518
|
+
&:focus {
|
|
2519
|
+
outline: none;
|
|
2520
|
+
border-color: ${i.select.colors.focus.borderColor};
|
|
2521
|
+
box-shadow: ${i.select.colors.focus.shadow};
|
|
2522
|
+
}
|
|
2523
|
+
|
|
2524
|
+
${({ $isOpen: e }) => e && b`
|
|
2525
|
+
position: relative;
|
|
2526
|
+
z-index: 10;
|
|
2527
|
+
border-color: ${i.select.colors.focus.borderColor};
|
|
2528
|
+
|
|
2529
|
+
svg {
|
|
2530
|
+
transform: rotate(180deg);
|
|
2531
|
+
}
|
|
2532
|
+
`}
|
|
2533
|
+
`, Mn = F.ul`
|
|
2534
|
+
list-style: none;
|
|
2535
|
+
position: absolute;
|
|
2536
|
+
left: 0;
|
|
2537
|
+
right: 0;
|
|
2538
|
+
margin: 0;
|
|
2539
|
+
padding: 0;
|
|
2540
|
+
${({ $direction: e }) => e === "top" ? "bottom: calc(100% + 0.5rem);" : "top: calc(100% + 0.5rem);"}
|
|
2541
|
+
|
|
2542
|
+
display: flex;
|
|
2543
|
+
flex-direction: column;
|
|
2544
|
+
background-color: ${i.dropdown.colors.backgroundColor};
|
|
2545
|
+
border: 0.0625rem solid ${i.dropdown.colors.borderColor};
|
|
2546
|
+
border-radius: ${i.select.radius};
|
|
2547
|
+
box-shadow: ${i.dropdown.colors.shadow};
|
|
2548
|
+
|
|
2549
|
+
max-height: ${({ $maxHeight: e }) => e || "50vh"};
|
|
2550
|
+
overflow-y: auto;
|
|
2551
|
+
z-index: 20;
|
|
2552
|
+
|
|
2553
|
+
${({ $direction: e, $isActive: t, $isAnimating: r }) => r ? e === "top" ? t ? b`
|
|
2554
|
+
animation: ${Dn} 0.1s ease-out forwards;
|
|
2555
|
+
` : b`
|
|
2556
|
+
animation: ${Fn} 0.1s ease-in forwards;
|
|
2557
|
+
` : t ? b`
|
|
2558
|
+
animation: ${zn} 0.1s ease-out forwards;
|
|
2559
|
+
` : b`
|
|
2560
|
+
animation: ${In} 0.1s ease-in forwards;
|
|
2561
|
+
` : ""}
|
|
2562
|
+
`, Wn = F.li`
|
|
2563
|
+
font-family: ${i.select.typography.fontFamily};
|
|
2564
|
+
font-size: 0.875rem;
|
|
2565
|
+
font-weight: ${i.select.typography.fontWeight};
|
|
2566
|
+
line-height: ${i.select.typography.lineHeight};
|
|
2567
|
+
text-align: start;
|
|
2568
|
+
display: flex;
|
|
2569
|
+
align-items: center;
|
|
2570
|
+
justify-content: space-between;
|
|
2571
|
+
padding: 0.75rem 1rem;
|
|
2572
|
+
cursor: pointer;
|
|
2573
|
+
transition: all 0.2s ease;
|
|
2574
|
+
border-bottom: 0.0625rem solid ${i.select.colors.option.border};
|
|
2575
|
+
|
|
2576
|
+
&:last-child {
|
|
2577
|
+
border-bottom: none;
|
|
2578
|
+
}
|
|
2579
|
+
|
|
2580
|
+
&:hover {
|
|
2581
|
+
background-color: ${i.select.colors.hover.option.backgroundColor};
|
|
2582
|
+
color: ${i.select.colors.hover.option.color};
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2585
|
+
${({ $isSelected: e }) => e && b`
|
|
2586
|
+
background-color: ${i.select.colors.option.selected.backgroundColor};
|
|
2587
|
+
color: ${i.select.colors.option.selected.color};
|
|
2588
|
+
font-weight: var(--option-selected-font-weight, 500);
|
|
2589
|
+
`}
|
|
2590
|
+
`, br = F.div`
|
|
2591
|
+
display: flex;
|
|
2592
|
+
align-items: center;
|
|
2593
|
+
gap: 0.5rem;
|
|
2594
|
+
flex: 1;
|
|
2595
|
+
`, Ln = F.img`
|
|
2596
|
+
width: 2rem;
|
|
2597
|
+
height: 2rem;
|
|
2598
|
+
border-radius: 2rem;
|
|
2599
|
+
object-fit: cover;
|
|
2600
|
+
`, Yn = F.svg`
|
|
2601
|
+
width: 1.5rem;
|
|
2602
|
+
height: 1.5rem;
|
|
2603
|
+
flex-shrink: 0;
|
|
2604
|
+
transition: transform 0.2s ease;
|
|
2605
|
+
|
|
2606
|
+
path {
|
|
2607
|
+
stroke: currentColor;
|
|
2608
|
+
}
|
|
2609
|
+
`, Bn = (e = !1, t = 300) => {
|
|
2610
|
+
const [r, o] = pe(e), [n, s] = pe(!1), [c, u] = pe(e), d = J(() => {
|
|
2611
|
+
r || (u(!0), o(!0), s(!0));
|
|
2612
|
+
}, [r]), h = J(() => {
|
|
2613
|
+
r && (s(!0), o(!1));
|
|
2614
|
+
}, [r]), g = J(() => {
|
|
2615
|
+
r ? h() : d();
|
|
2616
|
+
}, [r, d, h]);
|
|
2617
|
+
return ve(() => {
|
|
2618
|
+
if (r && n) {
|
|
2619
|
+
const m = setTimeout(() => s(!1), t);
|
|
2620
|
+
return () => clearTimeout(m);
|
|
2621
|
+
}
|
|
2622
|
+
}, [r, n, t]), ve(() => {
|
|
2623
|
+
!r && !n && c && u(!1);
|
|
2624
|
+
}, [r, n, c]), {
|
|
2625
|
+
isActive: r,
|
|
2626
|
+
isVisible: c,
|
|
2627
|
+
isAnimating: n,
|
|
2628
|
+
open: d,
|
|
2629
|
+
close: h,
|
|
2630
|
+
toggle: g,
|
|
2631
|
+
setIsAnimating: s
|
|
2632
|
+
};
|
|
2633
|
+
}, Vn = () => ({ calculateOpenDirection: J(
|
|
2634
|
+
(t, r, o = 50, n = 300, s = 10) => {
|
|
2635
|
+
if (!t) return { direction: "bottom", estimatedHeight: 0 };
|
|
2636
|
+
const c = t.getBoundingClientRect(), u = window.innerHeight, d = Math.min(
|
|
2637
|
+
r * o,
|
|
2638
|
+
n
|
|
2639
|
+
), h = u - c.bottom, g = c.top;
|
|
2640
|
+
return h < d + s && g >= d + s ? { direction: "top", estimatedHeight: d } : { direction: "bottom", estimatedHeight: d };
|
|
2641
|
+
},
|
|
2642
|
+
[]
|
|
2643
|
+
) }), Hn = (e, t, r) => {
|
|
2644
|
+
ve(() => {
|
|
2645
|
+
const o = (n) => {
|
|
2646
|
+
e.current && !e.current.contains(n.target) && r();
|
|
2647
|
+
};
|
|
2648
|
+
if (t) {
|
|
2649
|
+
const n = setTimeout(() => {
|
|
2650
|
+
document.addEventListener("mousedown", o);
|
|
2651
|
+
}, 0);
|
|
2652
|
+
return () => {
|
|
2653
|
+
clearTimeout(n), document.removeEventListener("mousedown", o);
|
|
2654
|
+
};
|
|
2655
|
+
}
|
|
2656
|
+
}, [t, e, r]);
|
|
2657
|
+
}, Gn = (e, t, r = 5) => {
|
|
2658
|
+
const o = ot(0);
|
|
2659
|
+
ve(() => {
|
|
2660
|
+
if (!e) return;
|
|
2661
|
+
let n;
|
|
2662
|
+
const s = () => {
|
|
2663
|
+
n && cancelAnimationFrame(n), n = requestAnimationFrame(() => {
|
|
2664
|
+
const c = window.scrollY;
|
|
2665
|
+
Math.abs(c - o.current) > r && (o.current = c, t());
|
|
2666
|
+
});
|
|
2667
|
+
};
|
|
2668
|
+
return window.addEventListener("scroll", s, { passive: !0 }), () => {
|
|
2669
|
+
n && cancelAnimationFrame(n), window.removeEventListener("scroll", s);
|
|
2670
|
+
};
|
|
2671
|
+
}, [e, t, r]);
|
|
2672
|
+
}, qn = /* @__PURE__ */ p.jsx(Yn, { viewBox: "0 0 24 24", fill: "none", children: /* @__PURE__ */ p.jsx(
|
|
2673
|
+
"path",
|
|
2674
|
+
{
|
|
2675
|
+
d: "m6 9 6 6 6-6",
|
|
2676
|
+
strokeWidth: "2",
|
|
2677
|
+
strokeLinecap: "round",
|
|
2678
|
+
strokeLinejoin: "round"
|
|
2679
|
+
}
|
|
2680
|
+
) }), fa = ({
|
|
2681
|
+
value: e,
|
|
2682
|
+
onChange: t,
|
|
2683
|
+
options: r = [],
|
|
2684
|
+
image: o,
|
|
2685
|
+
className: n,
|
|
2686
|
+
placeholder: s = "Select an option",
|
|
2687
|
+
disabled: c = !1,
|
|
2688
|
+
direction: u = "auto",
|
|
2689
|
+
maxHeight: d = "50vh",
|
|
2690
|
+
showArrow: h = !0,
|
|
2691
|
+
customArrow: g,
|
|
2692
|
+
multiple: m = !1,
|
|
2693
|
+
...v
|
|
2694
|
+
}) => {
|
|
2695
|
+
const k = ot(null), E = ot(null), { isActive: C, isVisible: T, isAnimating: A, toggle: $, close: R, setIsAnimating: _ } = Bn(!1), [P, S] = pe(
|
|
2696
|
+
"bottom"
|
|
2697
|
+
), { calculateOpenDirection: y } = Vn(), q = navigator.language.startsWith("ru");
|
|
2698
|
+
function U(w) {
|
|
2699
|
+
return w == null ? null : typeof w == "object" && "value" in w && "label" in w && (typeof w.value == "string" || typeof w.value == "number") ? { value: w.value, label: w.label } : typeof w == "string" || typeof w == "number" ? { value: w, label: String(w) } : null;
|
|
2700
|
+
}
|
|
2701
|
+
const re = Je(() => r ? Array.isArray(r) ? r.map(U).filter((w) => w !== null) : typeof r == "object" ? Object.entries(r).map(([w, W]) => ({
|
|
2702
|
+
value: w,
|
|
2703
|
+
label: W
|
|
2704
|
+
})) : [] : [], [r]), oe = re.length, V = Je(() => m ? Array.isArray(e) ? e : [] : e !== void 0 ? [e] : [], [e, m]), Z = Je(() => re.filter((w) => V.includes(w.value)).map((w) => w.label), [re, V]), ze = J(() => {
|
|
2705
|
+
c || $();
|
|
2706
|
+
}, [c, $]), fe = J(
|
|
2707
|
+
(w) => {
|
|
2708
|
+
if (!t) return;
|
|
2709
|
+
if (!m) {
|
|
2710
|
+
t(w), R();
|
|
2711
|
+
return;
|
|
2712
|
+
}
|
|
2713
|
+
const W = V.includes(w) ? V.filter((H) => H !== w) : [...V, w];
|
|
2714
|
+
t(W);
|
|
2715
|
+
},
|
|
2716
|
+
[t, m, V, R]
|
|
2717
|
+
), xe = J(() => {
|
|
2718
|
+
if (C && E.current && u === "auto") {
|
|
2719
|
+
const { direction: w } = y(
|
|
2720
|
+
E.current,
|
|
2721
|
+
oe
|
|
2722
|
+
);
|
|
2723
|
+
S(w);
|
|
2724
|
+
}
|
|
2725
|
+
}, [C, u, y, oe]);
|
|
2726
|
+
Hn(k, C, R), Gn(C, xe), ve(() => {
|
|
2727
|
+
if (C && E.current)
|
|
2728
|
+
if (u === "auto") {
|
|
2729
|
+
const { direction: w } = y(
|
|
2730
|
+
E.current,
|
|
2731
|
+
oe
|
|
2732
|
+
);
|
|
2733
|
+
S(w);
|
|
2734
|
+
} else
|
|
2735
|
+
S(u);
|
|
2736
|
+
}, [C, u, y, oe]);
|
|
2737
|
+
const ae = () => {
|
|
2738
|
+
let w = s;
|
|
2739
|
+
return Z.length === 1 ? w = Z[0] : Z.length > 1 && (w = q ? `Выбрано: ${Z.length}` : `Selected: ${Z.length}`), /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
2740
|
+
o && /* @__PURE__ */ p.jsx(Ln, { src: o, alt: "" }),
|
|
2741
|
+
/* @__PURE__ */ p.jsx("span", { children: w })
|
|
2742
|
+
] });
|
|
2743
|
+
};
|
|
2744
|
+
return oe <= 1 ? /* @__PURE__ */ p.jsx(fr, { className: n, $disabled: c, ...v, children: /* @__PURE__ */ p.jsx(
|
|
2745
|
+
hr,
|
|
2746
|
+
{
|
|
2747
|
+
ref: E,
|
|
2748
|
+
$isOpen: !1,
|
|
2749
|
+
disabled: c,
|
|
2750
|
+
onClick: () => {
|
|
2751
|
+
oe === 1 && t && t(
|
|
2752
|
+
m ? [re[0].value] : re[0].value
|
|
2753
|
+
);
|
|
2754
|
+
},
|
|
2755
|
+
children: /* @__PURE__ */ p.jsx(br, { children: ae() })
|
|
2756
|
+
}
|
|
2757
|
+
) }) : /* @__PURE__ */ p.jsxs(
|
|
2758
|
+
fr,
|
|
2759
|
+
{
|
|
2760
|
+
ref: k,
|
|
2761
|
+
className: n,
|
|
2762
|
+
$disabled: c,
|
|
2763
|
+
...v,
|
|
2764
|
+
children: [
|
|
2765
|
+
/* @__PURE__ */ p.jsxs(
|
|
2766
|
+
hr,
|
|
2767
|
+
{
|
|
2768
|
+
ref: E,
|
|
2769
|
+
$isOpen: C,
|
|
2770
|
+
disabled: c,
|
|
2771
|
+
onClick: ze,
|
|
2772
|
+
"aria-expanded": C,
|
|
2773
|
+
"aria-haspopup": "listbox",
|
|
2774
|
+
children: [
|
|
2775
|
+
/* @__PURE__ */ p.jsx(br, { children: ae() }),
|
|
2776
|
+
h && (g || qn)
|
|
2777
|
+
]
|
|
2778
|
+
}
|
|
2779
|
+
),
|
|
2780
|
+
T && /* @__PURE__ */ p.jsx(
|
|
2781
|
+
Mn,
|
|
2782
|
+
{
|
|
2783
|
+
role: "listbox",
|
|
2784
|
+
$direction: P,
|
|
2785
|
+
$isActive: C,
|
|
2786
|
+
$isAnimating: A,
|
|
2787
|
+
$maxHeight: typeof d == "number" ? `${d}px` : d,
|
|
2788
|
+
onAnimationEnd: () => {
|
|
2789
|
+
C || _(!1);
|
|
2790
|
+
},
|
|
2791
|
+
children: re.map((w, W) => {
|
|
2792
|
+
const H = V.includes(w.value);
|
|
2793
|
+
return /* @__PURE__ */ p.jsx(
|
|
2794
|
+
Wn,
|
|
2795
|
+
{
|
|
2796
|
+
$isSelected: H,
|
|
2797
|
+
onClick: () => fe(w.value),
|
|
2798
|
+
role: "option",
|
|
2799
|
+
"aria-selected": H,
|
|
2800
|
+
children: /* @__PURE__ */ p.jsx("span", { children: w.label })
|
|
2801
|
+
},
|
|
2802
|
+
`${w.value}-${W}`
|
|
2803
|
+
);
|
|
2804
|
+
})
|
|
2805
|
+
}
|
|
2806
|
+
)
|
|
2807
|
+
]
|
|
2808
|
+
}
|
|
2809
|
+
);
|
|
2810
|
+
}, Un = () => /* @__PURE__ */ p.jsxs("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
2811
|
+
/* @__PURE__ */ p.jsx("path", { d: "M2 10H18", stroke: "#1A1A1A", strokeWidth: "2" }),
|
|
2812
|
+
/* @__PURE__ */ p.jsx("path", { d: "M10 18L10 2", stroke: "#1A1A1A", strokeWidth: "2" })
|
|
2813
|
+
] }), Xn = () => /* @__PURE__ */ p.jsx("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ p.jsx("path", { d: "M2 10H18", stroke: "#1A1A1A", strokeWidth: "2" }) }), Jn = F.div`
|
|
2814
|
+
display: flex;
|
|
2815
|
+
gap: 0.25rem;
|
|
2816
|
+
width: fit-content;
|
|
2817
|
+
${({ $center: e }) => !e && b`
|
|
2818
|
+
flex-direction: row-reverse;
|
|
2819
|
+
|
|
2820
|
+
input {
|
|
2821
|
+
order: 1;
|
|
2822
|
+
}
|
|
2823
|
+
`}
|
|
2824
|
+
|
|
2825
|
+
input {
|
|
2826
|
+
font-famile: ${i.amount.typography.fontFamily};
|
|
2827
|
+
font-size: ${i.amount.typography.fontSize};
|
|
2828
|
+
font-weight: ${i.amount.typography.fontWeight};
|
|
2829
|
+
line-height: ${i.amount.typography.lineHeight};
|
|
2830
|
+
min-width: ${i.amount.input.minWidth};
|
|
2831
|
+
margin: 0;
|
|
2832
|
+
padding: 0;
|
|
2833
|
+
border: none;
|
|
2834
|
+
outline: none;
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
button {
|
|
2838
|
+
max-width: ${i.amount.button.maxWidth};
|
|
2839
|
+
min-width: ${i.amount.button.minWidth};
|
|
2840
|
+
width: ${i.amount.button.width};
|
|
2841
|
+
height: auto;
|
|
2842
|
+
padding: ${i.amount.button.padding};
|
|
2843
|
+
background-color: ${i.amount.button.backgroundColor};
|
|
2844
|
+
color: ${i.amount.button.color};
|
|
2845
|
+
border-color: ${i.amount.button.borderColor};
|
|
2846
|
+
|
|
2847
|
+
${It(b`
|
|
2848
|
+
background-color: ${i.amount.button.hover.backgroundColor};
|
|
2849
|
+
color: ${i.amount.button.hover.color};
|
|
2850
|
+
border-color: ${i.amount.button.hover.borderColor};
|
|
2851
|
+
`)}
|
|
2852
|
+
}
|
|
2853
|
+
`;
|
|
2854
|
+
function Kn({
|
|
2855
|
+
value: e,
|
|
2856
|
+
min: t = 1,
|
|
2857
|
+
max: r = 100,
|
|
2858
|
+
step: o = 1,
|
|
2859
|
+
center: n = !1,
|
|
2860
|
+
className: s,
|
|
2861
|
+
onChange: c
|
|
2862
|
+
}) {
|
|
2863
|
+
const [u, d] = pe(!1), [h, g] = pe(e.toString()), m = Je(
|
|
2864
|
+
() => `${h.length * 14 / 16}rem`,
|
|
2865
|
+
[h]
|
|
2866
|
+
), v = J(
|
|
2867
|
+
($) => {
|
|
2868
|
+
c && c($);
|
|
2869
|
+
},
|
|
2870
|
+
[c]
|
|
2871
|
+
);
|
|
2872
|
+
ve(() => {
|
|
2873
|
+
u || g(e.toString().padStart(2, "0"));
|
|
2874
|
+
}, [e, u]);
|
|
2875
|
+
const k = ($) => {
|
|
2876
|
+
$.preventDefault(), g($.target.value);
|
|
2877
|
+
}, E = () => {
|
|
2878
|
+
d(!0), g(h.replace(/^0+/, "") || "0");
|
|
2879
|
+
}, C = ($) => {
|
|
2880
|
+
$.preventDefault();
|
|
2881
|
+
const R = Number($.target.value);
|
|
2882
|
+
if (isNaN(R)) {
|
|
2883
|
+
g(e.toString().padStart(2, "0")), d(!1);
|
|
2884
|
+
return;
|
|
2885
|
+
}
|
|
2886
|
+
const _ = Math.min(Math.max(R, t), r);
|
|
2887
|
+
v(_), d(!1);
|
|
2888
|
+
}, T = J(() => {
|
|
2889
|
+
const $ = Math.min(e + o, r);
|
|
2890
|
+
v($);
|
|
2891
|
+
}, [e, o, r, v]), A = J(() => {
|
|
2892
|
+
const $ = Math.max(e - o, t);
|
|
2893
|
+
v($);
|
|
2894
|
+
}, [e, o, t, v]);
|
|
2895
|
+
return /* @__PURE__ */ p.jsxs(Jn, { className: s, $center: n, children: [
|
|
2896
|
+
/* @__PURE__ */ p.jsx(sr, { onClick: A, disabled: e <= t, children: /* @__PURE__ */ p.jsx(Xn, {}) }),
|
|
2897
|
+
/* @__PURE__ */ p.jsx(
|
|
2898
|
+
Yr,
|
|
2899
|
+
{
|
|
2900
|
+
type: "number",
|
|
2901
|
+
value: h,
|
|
2902
|
+
inputMode: "decimal",
|
|
2903
|
+
onChange: k,
|
|
2904
|
+
onFocus: E,
|
|
2905
|
+
onBlur: C,
|
|
2906
|
+
style: { width: m },
|
|
2907
|
+
min: t,
|
|
2908
|
+
max: r,
|
|
2909
|
+
step: o
|
|
2910
|
+
}
|
|
2911
|
+
),
|
|
2912
|
+
/* @__PURE__ */ p.jsx(sr, { onClick: T, disabled: e >= r, children: /* @__PURE__ */ p.jsx(Un, {}) })
|
|
2913
|
+
] });
|
|
2914
|
+
}
|
|
2915
|
+
const Zn = F.div`
|
|
2916
|
+
user-select: none;
|
|
2917
|
+
margin-bottom: 1.25rem;
|
|
2918
|
+
`, Qn = F.label`
|
|
2919
|
+
position: relative;
|
|
2920
|
+
display: flex;
|
|
2921
|
+
flex-wrap: wrap;
|
|
2922
|
+
align-items: center;
|
|
2923
|
+
justify-content: space-between;
|
|
2924
|
+
overflow: hidden;
|
|
2925
|
+
`;
|
|
2926
|
+
function ea({
|
|
2927
|
+
children: e,
|
|
2928
|
+
step: t = 1,
|
|
2929
|
+
value: r,
|
|
2930
|
+
min: o,
|
|
2931
|
+
max: n,
|
|
2932
|
+
callback: s = () => {
|
|
2933
|
+
}
|
|
2934
|
+
}) {
|
|
2935
|
+
const c = (u) => {
|
|
2936
|
+
u.preventDefault();
|
|
2937
|
+
const d = Number(u.target.value);
|
|
2938
|
+
s(d);
|
|
2939
|
+
};
|
|
2940
|
+
return /* @__PURE__ */ p.jsxs(Qn, { children: [
|
|
2941
|
+
/* @__PURE__ */ p.jsx(
|
|
2942
|
+
Yr,
|
|
2943
|
+
{
|
|
2944
|
+
type: "range",
|
|
2945
|
+
value: r,
|
|
2946
|
+
min: o,
|
|
2947
|
+
max: n,
|
|
2948
|
+
step: t,
|
|
2949
|
+
onChange: c,
|
|
2950
|
+
"aria-valuenow": Number(r),
|
|
2951
|
+
"aria-valuemin": o,
|
|
2952
|
+
"aria-valuemax": n
|
|
2953
|
+
}
|
|
2954
|
+
),
|
|
2955
|
+
e
|
|
2956
|
+
] });
|
|
2957
|
+
}
|
|
2958
|
+
const jt = F.span`
|
|
2959
|
+
display: flex;
|
|
2960
|
+
align-items: center;
|
|
2961
|
+
justify-content: center;
|
|
2962
|
+
min-width: 1.25rem;
|
|
2963
|
+
height: 1.25rem;
|
|
2964
|
+
letter-spacing: 0em;
|
|
2965
|
+
font-size: 0.75rem;
|
|
2966
|
+
font-family: ${i.typography.fontFamily};
|
|
2967
|
+
color: ${i.colors.text};
|
|
2968
|
+
transition: color 0.2s ease-in-out;
|
|
2969
|
+
user-select: none;
|
|
2970
|
+
cursor: pointer;
|
|
2971
|
+
position: relative;
|
|
2972
|
+
z-index: 2;
|
|
2973
|
+
|
|
2974
|
+
&:hover {
|
|
2975
|
+
color: ${i.colors.hover.bgPrimary};
|
|
2976
|
+
}
|
|
2977
|
+
|
|
2978
|
+
&:active {
|
|
2979
|
+
color: ${i.colors.pressed.bgPrimary};
|
|
2980
|
+
}
|
|
2981
|
+
|
|
2982
|
+
&:focus-visible {
|
|
2983
|
+
outline: 0.125rem solid ${i.colors.focused.bgPrimary};
|
|
2984
|
+
outline-offset: 0.125rem;
|
|
2985
|
+
}
|
|
2986
|
+
`;
|
|
2987
|
+
function ta({
|
|
2988
|
+
min: e = 0,
|
|
2989
|
+
max: t = 0,
|
|
2990
|
+
callback: r = () => {
|
|
2991
|
+
}
|
|
2992
|
+
}) {
|
|
2993
|
+
const o = J(() => {
|
|
2994
|
+
r(e);
|
|
2995
|
+
}, [r]), n = J(() => {
|
|
2996
|
+
r(t);
|
|
2997
|
+
}, [r]);
|
|
2998
|
+
return /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
2999
|
+
/* @__PURE__ */ p.jsx(
|
|
3000
|
+
jt,
|
|
3001
|
+
{
|
|
3002
|
+
onClick: o,
|
|
3003
|
+
onKeyDown: (s) => s.key === "Enter" && o(),
|
|
3004
|
+
children: e
|
|
3005
|
+
}
|
|
3006
|
+
),
|
|
3007
|
+
/* @__PURE__ */ p.jsx(
|
|
3008
|
+
jt,
|
|
3009
|
+
{
|
|
3010
|
+
onClick: n,
|
|
3011
|
+
onKeyDown: (s) => s.key === "Enter" && n(),
|
|
3012
|
+
children: t
|
|
3013
|
+
}
|
|
3014
|
+
)
|
|
3015
|
+
] });
|
|
3016
|
+
}
|
|
3017
|
+
const ra = F.div`
|
|
3018
|
+
display: flex;
|
|
3019
|
+
align-items: center;
|
|
3020
|
+
width: 100%;
|
|
3021
|
+
gap: 0.5rem;
|
|
3022
|
+
margin-bottom: 0.5rem;
|
|
3023
|
+
`, oa = F.span`
|
|
3024
|
+
font-family: ${i.typography.fontFamily};
|
|
3025
|
+
font-size: ${i.typography.label.fontSize};
|
|
3026
|
+
font-weight: ${i.typography.label.fontWeight};
|
|
3027
|
+
color: ${i.colors.text};
|
|
3028
|
+
margin-right: auto;
|
|
3029
|
+
flex-shrink: 0;
|
|
3030
|
+
`, na = F.span`
|
|
3031
|
+
font-family: ${i.typography.fontFamily};
|
|
3032
|
+
font-size: ${i.typography.label.fontSize};
|
|
3033
|
+
font-weight: ${i.typography.label.fontWeight};
|
|
3034
|
+
color: ${i.colors.text};
|
|
3035
|
+
opacity: 0.7;
|
|
3036
|
+
flex-shrink: 0;
|
|
3037
|
+
`;
|
|
3038
|
+
function aa({
|
|
3039
|
+
children: e,
|
|
3040
|
+
calculation: t = "",
|
|
3041
|
+
title: r = "Value"
|
|
3042
|
+
}) {
|
|
3043
|
+
return /* @__PURE__ */ p.jsxs(ra, { children: [
|
|
3044
|
+
/* @__PURE__ */ p.jsx(oa, { children: r }),
|
|
3045
|
+
t && /* @__PURE__ */ p.jsx(na, { children: t }),
|
|
3046
|
+
e
|
|
3047
|
+
] });
|
|
3048
|
+
}
|
|
3049
|
+
const sa = F.span`
|
|
3050
|
+
display: flex;
|
|
3051
|
+
justify-content: space-between;
|
|
3052
|
+
width: 100%;
|
|
3053
|
+
gap: 0.25rem;
|
|
3054
|
+
|
|
3055
|
+
.currentStep {
|
|
3056
|
+
pointer-events: none;
|
|
3057
|
+
color: ${i.colors.bgPrimary};
|
|
3058
|
+
}
|
|
3059
|
+
|
|
3060
|
+
span {
|
|
3061
|
+
width: 1.5rem;
|
|
3062
|
+
@media (max-width: 425px) {
|
|
3063
|
+
&:not(:first-child, :last-child) {
|
|
3064
|
+
display: none;
|
|
3065
|
+
}
|
|
3066
|
+
}
|
|
3067
|
+
}
|
|
3068
|
+
`;
|
|
3069
|
+
var yt = { exports: {} };
|
|
3070
|
+
var gr;
|
|
3071
|
+
function ia() {
|
|
3072
|
+
return gr || (gr = 1, (function(e) {
|
|
3073
|
+
(function() {
|
|
3074
|
+
var t = {}.hasOwnProperty;
|
|
3075
|
+
function r() {
|
|
3076
|
+
for (var s = "", c = 0; c < arguments.length; c++) {
|
|
3077
|
+
var u = arguments[c];
|
|
3078
|
+
u && (s = n(s, o(u)));
|
|
3079
|
+
}
|
|
3080
|
+
return s;
|
|
3081
|
+
}
|
|
3082
|
+
function o(s) {
|
|
3083
|
+
if (typeof s == "string" || typeof s == "number")
|
|
3084
|
+
return s;
|
|
3085
|
+
if (typeof s != "object")
|
|
3086
|
+
return "";
|
|
3087
|
+
if (Array.isArray(s))
|
|
3088
|
+
return r.apply(null, s);
|
|
3089
|
+
if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
|
|
3090
|
+
return s.toString();
|
|
3091
|
+
var c = "";
|
|
3092
|
+
for (var u in s)
|
|
3093
|
+
t.call(s, u) && s[u] && (c = n(c, u));
|
|
3094
|
+
return c;
|
|
3095
|
+
}
|
|
3096
|
+
function n(s, c) {
|
|
3097
|
+
return c ? s ? s + " " + c : s + c : s;
|
|
3098
|
+
}
|
|
3099
|
+
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
3100
|
+
})();
|
|
3101
|
+
})(yt)), yt.exports;
|
|
3102
|
+
}
|
|
3103
|
+
var ca = ia();
|
|
3104
|
+
const la = /* @__PURE__ */ Hr(ca);
|
|
3105
|
+
function ua({
|
|
3106
|
+
steps: e,
|
|
3107
|
+
value: t = 0,
|
|
3108
|
+
callback: r = () => {
|
|
3109
|
+
}
|
|
3110
|
+
}) {
|
|
3111
|
+
return /* @__PURE__ */ p.jsx(sa, { children: Object.entries(e).map(([o, n]) => /* @__PURE__ */ p.jsx(
|
|
3112
|
+
jt,
|
|
3113
|
+
{
|
|
3114
|
+
onClick: () => r(+o),
|
|
3115
|
+
onKeyDown: (s) => s.key === "Enter" && r(+o),
|
|
3116
|
+
className: la({
|
|
3117
|
+
currentStep: t == +o
|
|
3118
|
+
}),
|
|
3119
|
+
children: n.name
|
|
3120
|
+
},
|
|
3121
|
+
o
|
|
3122
|
+
)) });
|
|
3123
|
+
}
|
|
3124
|
+
const ha = ({
|
|
3125
|
+
product: e,
|
|
3126
|
+
steps: t,
|
|
3127
|
+
title: r = "Value",
|
|
3128
|
+
step: o = 1,
|
|
3129
|
+
value: n,
|
|
3130
|
+
onChange: s = () => {
|
|
3131
|
+
},
|
|
3132
|
+
className: c,
|
|
3133
|
+
...u
|
|
3134
|
+
}) => {
|
|
3135
|
+
r = e?.title || r;
|
|
3136
|
+
const d = !t?.length, { min: h, max: g } = d ? e : { min: 0, max: Number(t?.length) - 1 }, m = n || h, [v, k] = pe(m), [E, C] = pe(
|
|
3137
|
+
e?.calculation || t?.[0].name || ""
|
|
3138
|
+
);
|
|
3139
|
+
ve(() => {
|
|
3140
|
+
n !== void 0 && k(n);
|
|
3141
|
+
}, [n]);
|
|
3142
|
+
const T = (A) => {
|
|
3143
|
+
d || C(t[Number(A)].name), k(A), s(A);
|
|
3144
|
+
};
|
|
3145
|
+
return /* @__PURE__ */ p.jsxs(Zn, { className: c, ...u, children: [
|
|
3146
|
+
/* @__PURE__ */ p.jsx(aa, { title: r, calculation: E, children: d && /* @__PURE__ */ p.jsx(
|
|
3147
|
+
Kn,
|
|
3148
|
+
{
|
|
3149
|
+
value: Math.max(h, +v),
|
|
3150
|
+
onChange: T,
|
|
3151
|
+
min: h,
|
|
3152
|
+
max: g,
|
|
3153
|
+
step: o,
|
|
3154
|
+
center: !1
|
|
3155
|
+
}
|
|
3156
|
+
) }),
|
|
3157
|
+
/* @__PURE__ */ p.jsxs(
|
|
3158
|
+
ea,
|
|
3159
|
+
{
|
|
3160
|
+
value: v,
|
|
3161
|
+
step: o,
|
|
3162
|
+
min: h,
|
|
3163
|
+
max: g,
|
|
3164
|
+
callback: T,
|
|
3165
|
+
children: [
|
|
3166
|
+
d && /* @__PURE__ */ p.jsx(ta, { min: h, max: g, callback: T }),
|
|
3167
|
+
!d && /* @__PURE__ */ p.jsx(ua, { value: v, steps: t, callback: T })
|
|
3168
|
+
]
|
|
3169
|
+
}
|
|
3170
|
+
)
|
|
3171
|
+
] });
|
|
2085
3172
|
};
|
|
2086
3173
|
export {
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
3174
|
+
sr as Button,
|
|
3175
|
+
pa as ButtonClose,
|
|
3176
|
+
Yr as Input,
|
|
3177
|
+
ha as Range,
|
|
3178
|
+
fa as Select
|
|
2090
3179
|
};
|