melonykit 0.15.19 → 0.15.21
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/browser-WVsjaJ9n.js +91 -0
- package/dist/browser.js +2 -64
- package/dist/index.js +896 -750
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { n as e, t } from "./browser-WVsjaJ9n.js";
|
|
2
|
+
import { r as n, v as r } from "./functions-CexzzAfY.js";
|
|
3
|
+
import { useSignal as i } from "@preact/signals";
|
|
4
|
+
import { useEffect as a, useId as o, useRef as s, useState as c } from "preact/hooks";
|
|
5
|
+
import { Fragment as l, jsx as u, jsxs as d } from "preact/jsx-runtime";
|
|
5
6
|
//#region node_modules/@emotion/sheet/dist/emotion-sheet.esm.js
|
|
6
|
-
function
|
|
7
|
+
function f(e) {
|
|
7
8
|
if (e.sheet) return e.sheet;
|
|
8
9
|
/* istanbul ignore next */
|
|
9
10
|
for (var t = 0; t < document.styleSheets.length; t++) if (document.styleSheets[t].ownerNode === e) return document.styleSheets[t];
|
|
10
11
|
}
|
|
11
|
-
function
|
|
12
|
+
function p(e) {
|
|
12
13
|
var t = document.createElement("style");
|
|
13
14
|
return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
|
|
14
15
|
}
|
|
15
|
-
var
|
|
16
|
+
var m = /*#__PURE__*/ function() {
|
|
16
17
|
function e(e) {
|
|
17
18
|
var t = this;
|
|
18
19
|
this._insertTag = function(e) {
|
|
@@ -24,10 +25,10 @@ var d = /*#__PURE__*/ function() {
|
|
|
24
25
|
return t.hydrate = function(e) {
|
|
25
26
|
e.forEach(this._insertTag);
|
|
26
27
|
}, t.insert = function(e) {
|
|
27
|
-
this.ctr % (this.isSpeedy ? 65e3 : 1) == 0 && this._insertTag(
|
|
28
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) == 0 && this._insertTag(p(this));
|
|
28
29
|
var t = this.tags[this.tags.length - 1];
|
|
29
30
|
if (this.isSpeedy) {
|
|
30
|
-
var n =
|
|
31
|
+
var n = f(t);
|
|
31
32
|
try {
|
|
32
33
|
n.insertRule(e, n.cssRules.length);
|
|
33
34
|
} catch {}
|
|
@@ -38,44 +39,44 @@ var d = /*#__PURE__*/ function() {
|
|
|
38
39
|
return e.parentNode?.removeChild(e);
|
|
39
40
|
}), this.tags = [], this.ctr = 0;
|
|
40
41
|
}, e;
|
|
41
|
-
}(),
|
|
42
|
-
function
|
|
43
|
-
return
|
|
42
|
+
}(), h = "-ms-", g = "-moz-", _ = "-webkit-", v = "comm", y = "rule", b = "decl", x = "@import", S = "@keyframes", C = "@layer", ee = Math.abs, w = String.fromCharCode, te = Object.assign;
|
|
43
|
+
function ne(e, t) {
|
|
44
|
+
return E(e, 0) ^ 45 ? (((t << 2 ^ E(e, 0)) << 2 ^ E(e, 1)) << 2 ^ E(e, 2)) << 2 ^ E(e, 3) : 0;
|
|
44
45
|
}
|
|
45
|
-
function
|
|
46
|
+
function re(e) {
|
|
46
47
|
return e.trim();
|
|
47
48
|
}
|
|
48
|
-
function
|
|
49
|
+
function ie(e, t) {
|
|
49
50
|
return (e = t.exec(e)) ? e[0] : e;
|
|
50
51
|
}
|
|
51
|
-
function
|
|
52
|
+
function T(e, t, n) {
|
|
52
53
|
return e.replace(t, n);
|
|
53
54
|
}
|
|
54
|
-
function
|
|
55
|
+
function ae(e, t) {
|
|
55
56
|
return e.indexOf(t);
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
+
function E(e, t) {
|
|
58
59
|
return e.charCodeAt(t) | 0;
|
|
59
60
|
}
|
|
60
|
-
function
|
|
61
|
+
function D(e, t, n) {
|
|
61
62
|
return e.slice(t, n);
|
|
62
63
|
}
|
|
63
|
-
function
|
|
64
|
+
function O(e) {
|
|
64
65
|
return e.length;
|
|
65
66
|
}
|
|
66
|
-
function
|
|
67
|
+
function oe(e) {
|
|
67
68
|
return e.length;
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
+
function se(e, t) {
|
|
70
71
|
return t.push(e), e;
|
|
71
72
|
}
|
|
72
|
-
function
|
|
73
|
+
function ce(e, t) {
|
|
73
74
|
return e.map(t).join("");
|
|
74
75
|
}
|
|
75
76
|
//#endregion
|
|
76
77
|
//#region node_modules/stylis/src/Tokenizer.js
|
|
77
|
-
var
|
|
78
|
-
function
|
|
78
|
+
var le = 1, k = 1, ue = 0, A = 0, j = 0, M = "";
|
|
79
|
+
function de(e, t, n, r, i, a, o) {
|
|
79
80
|
return {
|
|
80
81
|
value: e,
|
|
81
82
|
root: t,
|
|
@@ -83,34 +84,34 @@ function le(e, t, n, r, i, a, o) {
|
|
|
83
84
|
type: r,
|
|
84
85
|
props: i,
|
|
85
86
|
children: a,
|
|
86
|
-
line:
|
|
87
|
-
column:
|
|
87
|
+
line: le,
|
|
88
|
+
column: k,
|
|
88
89
|
length: o,
|
|
89
90
|
return: ""
|
|
90
91
|
};
|
|
91
92
|
}
|
|
92
|
-
function
|
|
93
|
-
return
|
|
94
|
-
}
|
|
95
|
-
function ue() {
|
|
96
|
-
return A;
|
|
93
|
+
function N(e, t) {
|
|
94
|
+
return te(de("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
97
95
|
}
|
|
98
|
-
function
|
|
99
|
-
return
|
|
96
|
+
function fe() {
|
|
97
|
+
return j;
|
|
100
98
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
99
|
+
function pe() {
|
|
100
|
+
return j = A > 0 ? E(M, --A) : 0, k--, j === 10 && (k = 1, le--), j;
|
|
103
101
|
}
|
|
104
102
|
function P() {
|
|
105
|
-
return
|
|
103
|
+
return j = A < ue ? E(M, A++) : 0, k++, j === 10 && (k = 1, le++), j;
|
|
106
104
|
}
|
|
107
|
-
function
|
|
108
|
-
return
|
|
105
|
+
function F() {
|
|
106
|
+
return E(M, A);
|
|
107
|
+
}
|
|
108
|
+
function me() {
|
|
109
|
+
return A;
|
|
109
110
|
}
|
|
110
|
-
function
|
|
111
|
-
return
|
|
111
|
+
function I(e, t) {
|
|
112
|
+
return D(M, e, t);
|
|
112
113
|
}
|
|
113
|
-
function
|
|
114
|
+
function L(e) {
|
|
114
115
|
switch (e) {
|
|
115
116
|
case 0:
|
|
116
117
|
case 9:
|
|
@@ -137,80 +138,80 @@ function I(e) {
|
|
|
137
138
|
}
|
|
138
139
|
return 0;
|
|
139
140
|
}
|
|
140
|
-
function pe(e) {
|
|
141
|
-
return se = O = 1, ce = D(j = e), k = 0, [];
|
|
142
|
-
}
|
|
143
|
-
function me(e) {
|
|
144
|
-
return j = "", e;
|
|
145
|
-
}
|
|
146
141
|
function he(e) {
|
|
147
|
-
return
|
|
142
|
+
return le = k = 1, ue = O(M = e), A = 0, [];
|
|
148
143
|
}
|
|
149
144
|
function ge(e) {
|
|
150
|
-
|
|
151
|
-
return I(e) > 2 || I(A) > 3 ? "" : " ";
|
|
145
|
+
return M = "", e;
|
|
152
146
|
}
|
|
153
|
-
function _e(e
|
|
154
|
-
|
|
155
|
-
return F(e, fe() + (t < 6 && P() == 32 && N() == 32));
|
|
147
|
+
function _e(e) {
|
|
148
|
+
return re(I(A - 1, be(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
156
149
|
}
|
|
157
150
|
function ve(e) {
|
|
158
|
-
for (;
|
|
159
|
-
|
|
151
|
+
for (; (j = F()) && j < 33;) P();
|
|
152
|
+
return L(e) > 2 || L(j) > 3 ? "" : " ";
|
|
153
|
+
}
|
|
154
|
+
function ye(e, t) {
|
|
155
|
+
for (; --t && P() && !(j < 48 || j > 102 || j > 57 && j < 65 || j > 70 && j < 97););
|
|
156
|
+
return I(e, me() + (t < 6 && F() == 32 && P() == 32));
|
|
157
|
+
}
|
|
158
|
+
function be(e) {
|
|
159
|
+
for (; P();) switch (j) {
|
|
160
|
+
case e: return A;
|
|
160
161
|
case 34:
|
|
161
162
|
case 39:
|
|
162
|
-
e !== 34 && e !== 39 &&
|
|
163
|
+
e !== 34 && e !== 39 && be(j);
|
|
163
164
|
break;
|
|
164
165
|
case 40:
|
|
165
|
-
e === 41 &&
|
|
166
|
+
e === 41 && be(e);
|
|
166
167
|
break;
|
|
167
|
-
case 92:
|
|
168
|
+
case 92: P();
|
|
168
169
|
}
|
|
169
|
-
return
|
|
170
|
+
return A;
|
|
170
171
|
}
|
|
171
|
-
function
|
|
172
|
-
for (;
|
|
173
|
-
return "/*" +
|
|
172
|
+
function xe(e, t) {
|
|
173
|
+
for (; P() && e + j !== 57 && (e + j !== 84 || F() !== 47););
|
|
174
|
+
return "/*" + I(t, A - 1) + "*" + w(e === 47 ? e : P());
|
|
174
175
|
}
|
|
175
|
-
function
|
|
176
|
-
for (; !
|
|
177
|
-
return
|
|
176
|
+
function Se(e) {
|
|
177
|
+
for (; !L(F());) P();
|
|
178
|
+
return I(e, A);
|
|
178
179
|
}
|
|
179
180
|
//#endregion
|
|
180
181
|
//#region node_modules/stylis/src/Parser.js
|
|
181
|
-
function
|
|
182
|
-
return
|
|
182
|
+
function Ce(e) {
|
|
183
|
+
return ge(we("", null, null, null, [""], e = he(e), 0, [0], e));
|
|
183
184
|
}
|
|
184
|
-
function
|
|
185
|
-
for (var l = 0, u = 0, d = o, f = 0, p = 0, m = 0, h = 1, g = 1, _ = 1, v = 0, y = "", b = i, x = a, S = r, C = y; g;) switch (m = v, v =
|
|
186
|
-
case 40: if (m != 108 &&
|
|
187
|
-
|
|
185
|
+
function we(e, t, n, r, i, a, o, s, c) {
|
|
186
|
+
for (var l = 0, u = 0, d = o, f = 0, p = 0, m = 0, h = 1, g = 1, _ = 1, v = 0, y = "", b = i, x = a, S = r, C = y; g;) switch (m = v, v = P()) {
|
|
187
|
+
case 40: if (m != 108 && E(C, d - 1) == 58) {
|
|
188
|
+
ae(C += T(_e(v), "&", "&\f"), "&\f") != -1 && (_ = -1);
|
|
188
189
|
break;
|
|
189
190
|
}
|
|
190
191
|
case 34:
|
|
191
192
|
case 39:
|
|
192
193
|
case 91:
|
|
193
|
-
C +=
|
|
194
|
+
C += _e(v);
|
|
194
195
|
break;
|
|
195
196
|
case 9:
|
|
196
197
|
case 10:
|
|
197
198
|
case 13:
|
|
198
199
|
case 32:
|
|
199
|
-
C +=
|
|
200
|
+
C += ve(m);
|
|
200
201
|
break;
|
|
201
202
|
case 92:
|
|
202
|
-
C +=
|
|
203
|
+
C += ye(me() - 1, 7);
|
|
203
204
|
continue;
|
|
204
205
|
case 47:
|
|
205
|
-
switch (
|
|
206
|
+
switch (F()) {
|
|
206
207
|
case 42:
|
|
207
208
|
case 47:
|
|
208
|
-
|
|
209
|
+
se(Ee(xe(P(), me()), t, n), c);
|
|
209
210
|
break;
|
|
210
211
|
default: C += "/";
|
|
211
212
|
}
|
|
212
213
|
break;
|
|
213
|
-
case 123 * h: s[l++] =
|
|
214
|
+
case 123 * h: s[l++] = O(C) * _;
|
|
214
215
|
case 125 * h:
|
|
215
216
|
case 59:
|
|
216
217
|
case 0:
|
|
@@ -218,89 +219,89 @@ function Se(e, t, n, r, i, a, o, s, c) {
|
|
|
218
219
|
case 0:
|
|
219
220
|
case 125: g = 0;
|
|
220
221
|
case 59 + u:
|
|
221
|
-
_ == -1 && (C =
|
|
222
|
+
_ == -1 && (C = T(C, /\f/g, "")), p > 0 && O(C) - d && se(p > 32 ? De(C + ";", r, n, d - 1) : De(T(C, " ", "") + ";", r, n, d - 2), c);
|
|
222
223
|
break;
|
|
223
224
|
case 59: C += ";";
|
|
224
|
-
default: if (
|
|
225
|
-
if (u === 0)
|
|
226
|
-
else switch (f === 99 &&
|
|
225
|
+
default: if (se(S = Te(C, t, n, l, u, i, s, y, b = [], x = [], d), a), v === 123) {
|
|
226
|
+
if (u === 0) we(C, t, S, S, b, a, d, s, x);
|
|
227
|
+
else switch (f === 99 && E(C, 3) === 110 ? 100 : f) {
|
|
227
228
|
case 100:
|
|
228
229
|
case 108:
|
|
229
230
|
case 109:
|
|
230
231
|
case 115:
|
|
231
|
-
|
|
232
|
+
we(e, S, S, r && se(Te(e, S, S, 0, 0, i, s, y, i, b = [], d), x), i, x, d, s, r ? b : x);
|
|
232
233
|
break;
|
|
233
|
-
default:
|
|
234
|
+
default: we(C, S, S, S, [""], x, 0, s, x);
|
|
234
235
|
}
|
|
235
236
|
}
|
|
236
237
|
}
|
|
237
238
|
l = u = p = 0, h = _ = 1, y = C = "", d = o;
|
|
238
239
|
break;
|
|
239
|
-
case 58: d = 1 +
|
|
240
|
+
case 58: d = 1 + O(C), p = m;
|
|
240
241
|
default:
|
|
241
242
|
if (h < 1) {
|
|
242
243
|
if (v == 123) --h;
|
|
243
|
-
else if (v == 125 && h++ == 0 &&
|
|
244
|
+
else if (v == 125 && h++ == 0 && pe() == 125) continue;
|
|
244
245
|
}
|
|
245
|
-
switch (C +=
|
|
246
|
+
switch (C += w(v), v * h) {
|
|
246
247
|
case 38:
|
|
247
248
|
_ = u > 0 ? 1 : (C += "\f", -1);
|
|
248
249
|
break;
|
|
249
250
|
case 44:
|
|
250
|
-
s[l++] = (
|
|
251
|
+
s[l++] = (O(C) - 1) * _, _ = 1;
|
|
251
252
|
break;
|
|
252
253
|
case 64:
|
|
253
|
-
|
|
254
|
+
F() === 45 && (C += _e(P())), f = F(), u = d = O(y = C += Se(me())), v++;
|
|
254
255
|
break;
|
|
255
|
-
case 45: m === 45 &&
|
|
256
|
+
case 45: m === 45 && O(C) == 2 && (h = 0);
|
|
256
257
|
}
|
|
257
258
|
}
|
|
258
259
|
return a;
|
|
259
260
|
}
|
|
260
|
-
function
|
|
261
|
-
for (var d = i - 1, f = i === 0 ? a : [""], p =
|
|
262
|
-
return
|
|
261
|
+
function Te(e, t, n, r, i, a, o, s, c, l, u) {
|
|
262
|
+
for (var d = i - 1, f = i === 0 ? a : [""], p = oe(f), m = 0, h = 0, g = 0; m < r; ++m) for (var _ = 0, v = D(e, d + 1, d = ee(h = o[m])), b = e; _ < p; ++_) (b = re(h > 0 ? f[_] + " " + v : T(v, /&\f/g, f[_]))) && (c[g++] = b);
|
|
263
|
+
return de(e, t, n, i === 0 ? y : s, c, l, u);
|
|
263
264
|
}
|
|
264
|
-
function
|
|
265
|
-
return
|
|
265
|
+
function Ee(e, t, n) {
|
|
266
|
+
return de(e, t, n, v, w(fe()), D(e, 2, -2), 0);
|
|
266
267
|
}
|
|
267
|
-
function
|
|
268
|
-
return
|
|
268
|
+
function De(e, t, n, r) {
|
|
269
|
+
return de(e, t, n, b, D(e, 0, r), D(e, r + 1, -1), r);
|
|
269
270
|
}
|
|
270
271
|
//#endregion
|
|
271
272
|
//#region node_modules/stylis/src/Serializer.js
|
|
272
|
-
function
|
|
273
|
-
for (var n = "", r =
|
|
273
|
+
function R(e, t) {
|
|
274
|
+
for (var n = "", r = oe(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || "";
|
|
274
275
|
return n;
|
|
275
276
|
}
|
|
276
|
-
function
|
|
277
|
+
function Oe(e, t, n, r) {
|
|
277
278
|
switch (e.type) {
|
|
278
|
-
case
|
|
279
|
-
case
|
|
280
|
-
case
|
|
281
|
-
case
|
|
282
|
-
case
|
|
283
|
-
case
|
|
279
|
+
case C: if (e.children.length) break;
|
|
280
|
+
case x:
|
|
281
|
+
case b: return e.return = e.return || e.value;
|
|
282
|
+
case v: return "";
|
|
283
|
+
case S: return e.return = e.value + "{" + R(e.children, r) + "}";
|
|
284
|
+
case y: e.value = e.props.join(",");
|
|
284
285
|
}
|
|
285
|
-
return
|
|
286
|
+
return O(n = R(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
286
287
|
}
|
|
287
288
|
//#endregion
|
|
288
289
|
//#region node_modules/stylis/src/Middleware.js
|
|
289
|
-
function
|
|
290
|
-
var t =
|
|
290
|
+
function ke(e) {
|
|
291
|
+
var t = oe(e);
|
|
291
292
|
return function(n, r, i, a) {
|
|
292
293
|
for (var o = "", s = 0; s < t; s++) o += e[s](n, r, i, a) || "";
|
|
293
294
|
return o;
|
|
294
295
|
};
|
|
295
296
|
}
|
|
296
|
-
function
|
|
297
|
+
function Ae(e) {
|
|
297
298
|
return function(t) {
|
|
298
299
|
t.root || (t = t.return) && e(t);
|
|
299
300
|
};
|
|
300
301
|
}
|
|
301
302
|
//#endregion
|
|
302
303
|
//#region node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
303
|
-
function
|
|
304
|
+
function je(e) {
|
|
304
305
|
var t = Object.create(null);
|
|
305
306
|
return function(n) {
|
|
306
307
|
return t[n] === void 0 && (t[n] = e(n)), t[n];
|
|
@@ -308,46 +309,46 @@ function ke(e) {
|
|
|
308
309
|
}
|
|
309
310
|
//#endregion
|
|
310
311
|
//#region node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
|
|
311
|
-
var
|
|
312
|
-
for (var r = 0, i = 0; r = i, i =
|
|
313
|
-
return
|
|
314
|
-
},
|
|
312
|
+
var Me = function(e, t, n) {
|
|
313
|
+
for (var r = 0, i = 0; r = i, i = F(), r === 38 && i === 12 && (t[n] = 1), !L(i);) P();
|
|
314
|
+
return I(e, A);
|
|
315
|
+
}, Ne = function(e, t) {
|
|
315
316
|
var n = -1, r = 44;
|
|
316
317
|
do
|
|
317
|
-
switch (
|
|
318
|
+
switch (L(r)) {
|
|
318
319
|
case 0:
|
|
319
|
-
r === 38 &&
|
|
320
|
+
r === 38 && F() === 12 && (t[n] = 1), e[n] += Me(A - 1, t, n);
|
|
320
321
|
break;
|
|
321
322
|
case 2:
|
|
322
|
-
e[n] +=
|
|
323
|
+
e[n] += _e(r);
|
|
323
324
|
break;
|
|
324
325
|
case 4: if (r === 44) {
|
|
325
|
-
e[++n] =
|
|
326
|
+
e[++n] = F() === 58 ? "&\f" : "", t[n] = e[n].length;
|
|
326
327
|
break;
|
|
327
328
|
}
|
|
328
|
-
default: e[n] +=
|
|
329
|
+
default: e[n] += w(r);
|
|
329
330
|
}
|
|
330
|
-
while (r =
|
|
331
|
+
while (r = P());
|
|
331
332
|
return e;
|
|
332
|
-
},
|
|
333
|
-
return
|
|
334
|
-
},
|
|
333
|
+
}, Pe = function(e, t) {
|
|
334
|
+
return ge(Ne(he(e), t));
|
|
335
|
+
}, Fe = /* #__PURE__ */ new WeakMap(), Ie = function(e) {
|
|
335
336
|
if (!(e.type !== "rule" || !e.parent || e.length < 1)) {
|
|
336
337
|
for (var t = e.value, n = e.parent, r = e.column === n.column && e.line === n.line; n.type !== "rule";) if (n = n.parent, !n) return;
|
|
337
|
-
if ((e.props.length !== 1 || t.charCodeAt(0) === 58 ||
|
|
338
|
-
|
|
339
|
-
for (var i = [], a =
|
|
338
|
+
if ((e.props.length !== 1 || t.charCodeAt(0) === 58 || Fe.get(n)) && !r) {
|
|
339
|
+
Fe.set(e, !0);
|
|
340
|
+
for (var i = [], a = Pe(t, i), o = n.props, s = 0, c = 0; s < a.length; s++) for (var l = 0; l < o.length; l++, c++) e.props[c] = i[s] ? a[s].replace(/&\f/g, o[l]) : o[l] + " " + a[s];
|
|
340
341
|
}
|
|
341
342
|
}
|
|
342
|
-
},
|
|
343
|
+
}, Le = function(e) {
|
|
343
344
|
if (e.type === "decl") {
|
|
344
345
|
var t = e.value;
|
|
345
346
|
t.charCodeAt(0) === 108 && t.charCodeAt(2) === 98 && (e.return = "", e.value = "");
|
|
346
347
|
}
|
|
347
348
|
};
|
|
348
|
-
function
|
|
349
|
-
switch (
|
|
350
|
-
case 5103: return
|
|
349
|
+
function Re(e, t) {
|
|
350
|
+
switch (ne(e, t)) {
|
|
351
|
+
case 5103: return _ + "print-" + e + e;
|
|
351
352
|
case 5737:
|
|
352
353
|
case 4201:
|
|
353
354
|
case 3177:
|
|
@@ -372,30 +373,30 @@ function Ie(e, t) {
|
|
|
372
373
|
case 5109:
|
|
373
374
|
case 5365:
|
|
374
375
|
case 5621:
|
|
375
|
-
case 3829: return
|
|
376
|
+
case 3829: return _ + e + e;
|
|
376
377
|
case 5349:
|
|
377
378
|
case 4246:
|
|
378
379
|
case 4810:
|
|
379
380
|
case 6968:
|
|
380
|
-
case 2756: return
|
|
381
|
+
case 2756: return _ + e + g + e + h + e + e;
|
|
381
382
|
case 6828:
|
|
382
|
-
case 4268: return
|
|
383
|
-
case 6165: return
|
|
384
|
-
case 5187: return
|
|
385
|
-
case 5443: return
|
|
386
|
-
case 4675: return
|
|
387
|
-
case 5548: return
|
|
388
|
-
case 5292: return
|
|
389
|
-
case 6060: return
|
|
390
|
-
case 4554: return
|
|
391
|
-
case 6187: return
|
|
383
|
+
case 4268: return _ + e + h + e + e;
|
|
384
|
+
case 6165: return _ + e + h + "flex-" + e + e;
|
|
385
|
+
case 5187: return _ + e + T(e, /(\w+).+(:[^]+)/, _ + "box-$1$2" + h + "flex-$1$2") + e;
|
|
386
|
+
case 5443: return _ + e + h + "flex-item-" + T(e, /flex-|-self/, "") + e;
|
|
387
|
+
case 4675: return _ + e + h + "flex-line-pack" + T(e, /align-content|flex-|-self/, "") + e;
|
|
388
|
+
case 5548: return _ + e + h + T(e, "shrink", "negative") + e;
|
|
389
|
+
case 5292: return _ + e + h + T(e, "basis", "preferred-size") + e;
|
|
390
|
+
case 6060: return _ + "box-" + T(e, "-grow", "") + _ + e + h + T(e, "grow", "positive") + e;
|
|
391
|
+
case 4554: return _ + T(e, /([^-])(transform)/g, "$1" + _ + "$2") + e;
|
|
392
|
+
case 6187: return T(T(T(e, /(zoom-|grab)/, _ + "$1"), /(image-set)/, _ + "$1"), e, "") + e;
|
|
392
393
|
case 5495:
|
|
393
|
-
case 3959: return
|
|
394
|
-
case 4968: return
|
|
394
|
+
case 3959: return T(e, /(image-set\([^]*)/, _ + "$1$`$1");
|
|
395
|
+
case 4968: return T(T(e, /(.+:)(flex-)?(.*)/, _ + "box-pack:$3" + h + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + _ + e + e;
|
|
395
396
|
case 4095:
|
|
396
397
|
case 3583:
|
|
397
398
|
case 4068:
|
|
398
|
-
case 2532: return
|
|
399
|
+
case 2532: return T(e, /(.+)-inline(.+)/, _ + "$1$2") + e;
|
|
399
400
|
case 8116:
|
|
400
401
|
case 7059:
|
|
401
402
|
case 5753:
|
|
@@ -408,49 +409,49 @@ function Ie(e, t) {
|
|
|
408
409
|
case 5789:
|
|
409
410
|
case 5021:
|
|
410
411
|
case 4765:
|
|
411
|
-
if (
|
|
412
|
-
case 109: if (
|
|
413
|
-
case 102: return
|
|
414
|
-
case 115: return ~
|
|
412
|
+
if (O(e) - 1 - t > 6) switch (E(e, t + 1)) {
|
|
413
|
+
case 109: if (E(e, t + 4) !== 45) break;
|
|
414
|
+
case 102: return T(e, /(.+:)(.+)-([^]+)/, "$1" + _ + "$2-$3$1" + g + (E(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
415
|
+
case 115: return ~ae(e, "stretch") ? Re(T(e, "stretch", "fill-available"), t) + e : e;
|
|
415
416
|
}
|
|
416
417
|
break;
|
|
417
|
-
case 4949: if (
|
|
418
|
+
case 4949: if (E(e, t + 1) !== 115) break;
|
|
418
419
|
case 6444:
|
|
419
|
-
switch (
|
|
420
|
-
case 107: return
|
|
421
|
-
case 101: return
|
|
420
|
+
switch (E(e, O(e) - 3 - (~ae(e, "!important") && 10))) {
|
|
421
|
+
case 107: return T(e, ":", ":" + _) + e;
|
|
422
|
+
case 101: return T(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + _ + (E(e, 14) === 45 ? "inline-" : "") + "box$3$1" + _ + "$2$3$1" + h + "$2box$3") + e;
|
|
422
423
|
}
|
|
423
424
|
break;
|
|
424
425
|
case 5936:
|
|
425
|
-
switch (
|
|
426
|
-
case 114: return
|
|
427
|
-
case 108: return
|
|
428
|
-
case 45: return
|
|
426
|
+
switch (E(e, t + 11)) {
|
|
427
|
+
case 114: return _ + e + h + T(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
428
|
+
case 108: return _ + e + h + T(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
429
|
+
case 45: return _ + e + h + T(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
429
430
|
}
|
|
430
|
-
return
|
|
431
|
+
return _ + e + h + e + e;
|
|
431
432
|
}
|
|
432
433
|
return e;
|
|
433
434
|
}
|
|
434
|
-
var
|
|
435
|
+
var ze = [function(e, t, n, r) {
|
|
435
436
|
if (e.length > -1 && !e.return) switch (e.type) {
|
|
436
|
-
case
|
|
437
|
-
e.return =
|
|
437
|
+
case b:
|
|
438
|
+
e.return = Re(e.value, e.length);
|
|
438
439
|
break;
|
|
439
|
-
case
|
|
440
|
-
case
|
|
441
|
-
switch (
|
|
440
|
+
case S: return R([N(e, { value: T(e.value, "@", "@" + _) })], r);
|
|
441
|
+
case y: if (e.length) return ce(e.props, function(t) {
|
|
442
|
+
switch (ie(t, /(::plac\w+|:read-\w+)/)) {
|
|
442
443
|
case ":read-only":
|
|
443
|
-
case ":read-write": return
|
|
444
|
-
case "::placeholder": return
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
444
|
+
case ":read-write": return R([N(e, { props: [T(t, /:(read-\w+)/, ":" + g + "$1")] })], r);
|
|
445
|
+
case "::placeholder": return R([
|
|
446
|
+
N(e, { props: [T(t, /:(plac\w+)/, ":" + _ + "input-$1")] }),
|
|
447
|
+
N(e, { props: [T(t, /:(plac\w+)/, ":" + g + "$1")] }),
|
|
448
|
+
N(e, { props: [T(t, /:(plac\w+)/, h + "input-$1")] })
|
|
448
449
|
], r);
|
|
449
450
|
}
|
|
450
451
|
return "";
|
|
451
452
|
});
|
|
452
453
|
}
|
|
453
|
-
}],
|
|
454
|
+
}], Be = function(e) {
|
|
454
455
|
var t = e.key;
|
|
455
456
|
if (t === "css") {
|
|
456
457
|
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
@@ -458,22 +459,22 @@ var Le = [function(e, t, n, r) {
|
|
|
458
459
|
e.getAttribute("data-emotion").indexOf(" ") !== -1 && (document.head.appendChild(e), e.setAttribute("data-s", ""));
|
|
459
460
|
});
|
|
460
461
|
}
|
|
461
|
-
var r = e.stylisPlugins ||
|
|
462
|
+
var r = e.stylisPlugins || ze, i = {}, a, o = [];
|
|
462
463
|
a = e.container || document.head, Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion^=\"" + t + " \"]"), function(e) {
|
|
463
464
|
for (var t = e.getAttribute("data-emotion").split(" "), n = 1; n < t.length; n++) i[t[n]] = !0;
|
|
464
465
|
o.push(e);
|
|
465
466
|
});
|
|
466
|
-
var s, c = [
|
|
467
|
+
var s, c = [Ie, Le], l, u = [Oe, Ae(function(e) {
|
|
467
468
|
l.insert(e);
|
|
468
|
-
})],
|
|
469
|
-
return
|
|
469
|
+
})], d = ke(c.concat(r, u)), f = function(e) {
|
|
470
|
+
return R(Ce(e), d);
|
|
470
471
|
};
|
|
471
472
|
s = function(e, t, n, r) {
|
|
472
|
-
l = n,
|
|
473
|
+
l = n, f(e ? e + "{" + t.styles + "}" : t.styles), r && (p.inserted[t.name] = !0);
|
|
473
474
|
};
|
|
474
|
-
var
|
|
475
|
+
var p = {
|
|
475
476
|
key: t,
|
|
476
|
-
sheet: new
|
|
477
|
+
sheet: new m({
|
|
477
478
|
key: t,
|
|
478
479
|
container: a,
|
|
479
480
|
nonce: e.nonce,
|
|
@@ -486,11 +487,11 @@ var Le = [function(e, t, n, r) {
|
|
|
486
487
|
registered: {},
|
|
487
488
|
insert: s
|
|
488
489
|
};
|
|
489
|
-
return
|
|
490
|
+
return p.sheet.hydrate(o), p;
|
|
490
491
|
};
|
|
491
492
|
//#endregion
|
|
492
493
|
//#region node_modules/@emotion/hash/dist/emotion-hash.esm.js
|
|
493
|
-
function
|
|
494
|
+
function Ve(e) {
|
|
494
495
|
for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4) n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= n >>> 24, t = (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
|
|
495
496
|
switch (i) {
|
|
496
497
|
case 3: t ^= (e.charCodeAt(r + 2) & 255) << 16;
|
|
@@ -501,7 +502,7 @@ function ze(e) {
|
|
|
501
502
|
}
|
|
502
503
|
//#endregion
|
|
503
504
|
//#region node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
|
|
504
|
-
var
|
|
505
|
+
var He = {
|
|
505
506
|
animationIterationCount: 1,
|
|
506
507
|
aspectRatio: 1,
|
|
507
508
|
borderImageOutset: 1,
|
|
@@ -549,26 +550,26 @@ var Be = {
|
|
|
549
550
|
strokeMiterlimit: 1,
|
|
550
551
|
strokeOpacity: 1,
|
|
551
552
|
strokeWidth: 1
|
|
552
|
-
},
|
|
553
|
+
}, Ue = /[A-Z]|^ms/g, We = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Ge = function(e) {
|
|
553
554
|
return e.charCodeAt(1) === 45;
|
|
554
|
-
},
|
|
555
|
+
}, Ke = function(e) {
|
|
555
556
|
return e != null && typeof e != "boolean";
|
|
556
|
-
},
|
|
557
|
-
return
|
|
558
|
-
}),
|
|
557
|
+
}, qe = /* #__PURE__ */ je(function(e) {
|
|
558
|
+
return Ge(e) ? e : e.replace(Ue, "-$&").toLowerCase();
|
|
559
|
+
}), Je = function(e, t) {
|
|
559
560
|
switch (e) {
|
|
560
561
|
case "animation":
|
|
561
|
-
case "animationName": if (typeof t == "string") return t.replace(
|
|
562
|
-
return
|
|
562
|
+
case "animationName": if (typeof t == "string") return t.replace(We, function(e, t, n) {
|
|
563
|
+
return B = {
|
|
563
564
|
name: t,
|
|
564
565
|
styles: n,
|
|
565
|
-
next:
|
|
566
|
+
next: B
|
|
566
567
|
}, t;
|
|
567
568
|
});
|
|
568
569
|
}
|
|
569
|
-
return
|
|
570
|
+
return He[e] !== 1 && !Ge(e) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
570
571
|
};
|
|
571
|
-
function
|
|
572
|
+
function z(e, t, n) {
|
|
572
573
|
if (n == null) return "";
|
|
573
574
|
var r = n;
|
|
574
575
|
if (r.__emotion_styles !== void 0) return r;
|
|
@@ -576,25 +577,25 @@ function R(e, t, n) {
|
|
|
576
577
|
case "boolean": return "";
|
|
577
578
|
case "object":
|
|
578
579
|
var i = n;
|
|
579
|
-
if (i.anim === 1) return
|
|
580
|
+
if (i.anim === 1) return B = {
|
|
580
581
|
name: i.name,
|
|
581
582
|
styles: i.styles,
|
|
582
|
-
next:
|
|
583
|
+
next: B
|
|
583
584
|
}, i.name;
|
|
584
585
|
var a = n;
|
|
585
586
|
if (a.styles !== void 0) {
|
|
586
587
|
var o = a.next;
|
|
587
|
-
if (o !== void 0) for (; o !== void 0;)
|
|
588
|
+
if (o !== void 0) for (; o !== void 0;) B = {
|
|
588
589
|
name: o.name,
|
|
589
590
|
styles: o.styles,
|
|
590
|
-
next:
|
|
591
|
+
next: B
|
|
591
592
|
}, o = o.next;
|
|
592
593
|
return a.styles + ";";
|
|
593
594
|
}
|
|
594
|
-
return
|
|
595
|
+
return Ye(e, t, n);
|
|
595
596
|
case "function": if (e !== void 0) {
|
|
596
|
-
var s =
|
|
597
|
-
return
|
|
597
|
+
var s = B, c = n(e);
|
|
598
|
+
return B = s, z(e, t, c);
|
|
598
599
|
}
|
|
599
600
|
}
|
|
600
601
|
var l = n;
|
|
@@ -602,21 +603,21 @@ function R(e, t, n) {
|
|
|
602
603
|
var u = t[l];
|
|
603
604
|
return u === void 0 ? l : u;
|
|
604
605
|
}
|
|
605
|
-
function
|
|
606
|
+
function Ye(e, t, n) {
|
|
606
607
|
var r = "";
|
|
607
|
-
if (Array.isArray(n)) for (var i = 0; i < n.length; i++) r +=
|
|
608
|
+
if (Array.isArray(n)) for (var i = 0; i < n.length; i++) r += z(e, t, n[i]) + ";";
|
|
608
609
|
else for (var a in n) {
|
|
609
610
|
var o = n[a];
|
|
610
611
|
if (typeof o != "object") {
|
|
611
612
|
var s = o;
|
|
612
|
-
t != null && t[s] !== void 0 ? r += a + "{" + t[s] + "}" :
|
|
613
|
-
} else if (Array.isArray(o) && typeof o[0] == "string" && (t == null || t[o[0]] === void 0)) for (var c = 0; c < o.length; c++)
|
|
613
|
+
t != null && t[s] !== void 0 ? r += a + "{" + t[s] + "}" : Ke(s) && (r += qe(a) + ":" + Je(a, s) + ";");
|
|
614
|
+
} else if (Array.isArray(o) && typeof o[0] == "string" && (t == null || t[o[0]] === void 0)) for (var c = 0; c < o.length; c++) Ke(o[c]) && (r += qe(a) + ":" + Je(a, o[c]) + ";");
|
|
614
615
|
else {
|
|
615
|
-
var l =
|
|
616
|
+
var l = z(e, t, o);
|
|
616
617
|
switch (a) {
|
|
617
618
|
case "animation":
|
|
618
619
|
case "animationName":
|
|
619
|
-
r +=
|
|
620
|
+
r += qe(a) + ":" + l + ";";
|
|
620
621
|
break;
|
|
621
622
|
default: r += a + "{" + l + "}";
|
|
622
623
|
}
|
|
@@ -624,35 +625,35 @@ function qe(e, t, n) {
|
|
|
624
625
|
}
|
|
625
626
|
return r;
|
|
626
627
|
}
|
|
627
|
-
var
|
|
628
|
-
function
|
|
628
|
+
var Xe = /label:\s*([^\s;{]+)\s*(;|$)/g, B;
|
|
629
|
+
function Ze(e, t, n) {
|
|
629
630
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0) return e[0];
|
|
630
631
|
var r = !0, i = "";
|
|
631
|
-
|
|
632
|
+
B = void 0;
|
|
632
633
|
var a = e[0];
|
|
633
|
-
a == null || a.raw === void 0 ? (r = !1, i +=
|
|
634
|
-
for (var o = 1; o < e.length; o++) i +=
|
|
635
|
-
|
|
636
|
-
for (var s = "", c; (c =
|
|
634
|
+
a == null || a.raw === void 0 ? (r = !1, i += z(n, t, a)) : i += a[0];
|
|
635
|
+
for (var o = 1; o < e.length; o++) i += z(n, t, e[o]), r && (i += a[o]);
|
|
636
|
+
Xe.lastIndex = 0;
|
|
637
|
+
for (var s = "", c; (c = Xe.exec(i)) !== null;) s += "-" + c[1];
|
|
637
638
|
return {
|
|
638
|
-
name:
|
|
639
|
+
name: Ve(i) + s,
|
|
639
640
|
styles: i,
|
|
640
|
-
next:
|
|
641
|
+
next: B
|
|
641
642
|
};
|
|
642
643
|
}
|
|
643
644
|
//#endregion
|
|
644
645
|
//#region node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
|
|
645
|
-
function
|
|
646
|
+
function Qe(e, t, n) {
|
|
646
647
|
var r = "";
|
|
647
648
|
return n.split(" ").forEach(function(n) {
|
|
648
649
|
e[n] === void 0 ? n && (r += n + " ") : t.push(e[n] + ";");
|
|
649
650
|
}), r;
|
|
650
651
|
}
|
|
651
|
-
var
|
|
652
|
+
var $e = function(e, t, n) {
|
|
652
653
|
var r = e.key + "-" + t.name;
|
|
653
654
|
n === !1 && e.registered[r] === void 0 && (e.registered[r] = t.styles);
|
|
654
|
-
},
|
|
655
|
-
|
|
655
|
+
}, et = function(e, t, n) {
|
|
656
|
+
$e(e, t, n);
|
|
656
657
|
var r = e.key + "-" + t.name;
|
|
657
658
|
if (e.inserted[t.name] === void 0) {
|
|
658
659
|
var i = t;
|
|
@@ -663,34 +664,34 @@ var Ze = function(e, t, n) {
|
|
|
663
664
|
};
|
|
664
665
|
//#endregion
|
|
665
666
|
//#region node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
|
|
666
|
-
function
|
|
667
|
+
function tt(e, t) {
|
|
667
668
|
if (e.inserted[t.name] === void 0) return e.insert("", t, e.sheet, !0);
|
|
668
669
|
}
|
|
669
|
-
function
|
|
670
|
-
var r = [], i =
|
|
670
|
+
function nt(e, t, n) {
|
|
671
|
+
var r = [], i = Qe(e, r, n);
|
|
671
672
|
return r.length < 2 ? n : i + t(r);
|
|
672
673
|
}
|
|
673
|
-
var
|
|
674
|
-
var t =
|
|
674
|
+
var rt = function(e) {
|
|
675
|
+
var t = Be(e);
|
|
675
676
|
t.sheet.speedy = function(e) {
|
|
676
677
|
this.isSpeedy = e;
|
|
677
678
|
}, t.compat = !0;
|
|
678
679
|
var n = function() {
|
|
679
|
-
var e =
|
|
680
|
-
return
|
|
680
|
+
var e = Ze([...arguments], t.registered, void 0);
|
|
681
|
+
return et(t, e, !1), t.key + "-" + e.name;
|
|
681
682
|
};
|
|
682
683
|
return {
|
|
683
684
|
css: n,
|
|
684
685
|
cx: function() {
|
|
685
686
|
var e = [...arguments];
|
|
686
|
-
return
|
|
687
|
+
return nt(t.registered, n, it(e));
|
|
687
688
|
},
|
|
688
689
|
injectGlobal: function() {
|
|
689
|
-
|
|
690
|
+
tt(t, Ze([...arguments], t.registered));
|
|
690
691
|
},
|
|
691
692
|
keyframes: function() {
|
|
692
|
-
var e =
|
|
693
|
-
return
|
|
693
|
+
var e = Ze([...arguments], t.registered), n = "animation-" + e.name;
|
|
694
|
+
return tt(t, {
|
|
694
695
|
name: e.name,
|
|
695
696
|
styles: "@keyframes " + n + "{" + e.styles + "}"
|
|
696
697
|
}), n;
|
|
@@ -705,10 +706,10 @@ var tt = function(e) {
|
|
|
705
706
|
},
|
|
706
707
|
sheet: t.sheet,
|
|
707
708
|
cache: t,
|
|
708
|
-
getRegisteredStyles:
|
|
709
|
-
merge:
|
|
709
|
+
getRegisteredStyles: Qe.bind(null, t.registered),
|
|
710
|
+
merge: nt.bind(null, t.registered, n)
|
|
710
711
|
};
|
|
711
|
-
},
|
|
712
|
+
}, it = function e(t) {
|
|
712
713
|
for (var n = "", r = 0; r < t.length; r++) {
|
|
713
714
|
var i = t[r];
|
|
714
715
|
if (i != null) {
|
|
@@ -725,15 +726,15 @@ var tt = function(e) {
|
|
|
725
726
|
}
|
|
726
727
|
}
|
|
727
728
|
return n;
|
|
728
|
-
},
|
|
729
|
-
|
|
730
|
-
var
|
|
731
|
-
|
|
732
|
-
var
|
|
733
|
-
|
|
729
|
+
}, V = rt({ key: "css" });
|
|
730
|
+
V.flush, V.hydrate;
|
|
731
|
+
var H = V.cx;
|
|
732
|
+
V.merge, V.getRegisteredStyles;
|
|
733
|
+
var at = V.injectGlobal, ot = V.keyframes, U = V.css;
|
|
734
|
+
V.sheet, V.cache;
|
|
734
735
|
//#endregion
|
|
735
736
|
//#region \0virtual:svg-sprite
|
|
736
|
-
var at = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;width:0;height:0;\" id=\"svg-sprite\"><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-badge-check\" viewBox=\"0 0 24 24\"><path d=\"m9 12 2 2 4-4\"/><path d=\"m14.394 3-.246-.209a3.31 3.31 0 0 0-4.296 0l-.246.21a4 4 0 0 1-2.276.943l-.323.025A3.31 3.31 0 0 0 3.97 7.007l-.025.323A4 4 0 0 1 3 9.606l-.21.246a3.31 3.31 0 0 0 0 4.296l.21.246a4 4 0 0 1 .943 2.276l.025.323a3.31 3.31 0 0 0 3.038 3.038l.323.025A4 4 0 0 1 9.606 21l.246.21a3.31 3.31 0 0 0 4.296 0l.246-.21a4 4 0 0 1 2.276-.943l.323-.025a3.31 3.31 0 0 0 3.038-3.038l.025-.323A4 4 0 0 1 21 14.394l.21-.246a3.31 3.31 0 0 0 0-4.296L21 9.606a4 4 0 0 1-.943-2.276l-.025-.323a3.31 3.31 0 0 0-3.038-3.038l-.323-.025A4 4 0 0 1 14.394 3\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bars-corner\" viewBox=\"0 0 24 24\"><path d=\"M7 15v1a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1\"/><path d=\"M7 8v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1\"/><path d=\"M3 3v10c0 3.771 0 5.657 1.172 6.828S7.229 21 11 21h10\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-check\" viewBox=\"0 0 24 24\"><path d=\"m5 13.26 2.586 2.697C8.252 16.652 8.586 17 9 17s.748-.348 1.414-1.043L19 7\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-down\" viewBox=\"0 0 24 24\"><path d=\"M18 9s-4.419 6-6 6-6-6-6-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-exclamation-triangle\" viewBox=\"0 0 24 24\"><path d=\"M13.925 21h-3.85c-4.63 0-6.945 0-7.799-1.506-.853-1.506.331-3.503 2.7-7.495L6.9 8.753C9.176 4.918 10.313 3 12 3s2.824 1.918 5.1 5.753L19.023 12c2.369 3.992 3.553 5.989 2.7 7.495C20.87 21 18.555 21 13.924 21\"/><path d=\"M12 9v4\"/><path d=\"M12.125 16.75H12m.25 0a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-filter\" viewBox=\"0 0 24 24\"><path d=\"M8.857 12.506C6.37 10.646 4.596 8.6 3.627 7.45c-.3-.356-.398-.617-.457-1.076-.202-1.572-.303-2.358.158-2.866S4.604 3 6.234 3h11.532c1.63 0 2.445 0 2.906.507.461.508.36 1.294.158 2.866-.06.459-.158.72-.457 1.076-.97 1.152-2.747 3.202-5.24 5.065a1.05 1.05 0 0 0-.402.747c-.247 2.731-.475 4.227-.617 4.983-.229 1.222-1.96 1.957-2.888 2.612-.552.39-1.222-.074-1.293-.678a196 196 0 0 1-.674-6.917 1.05 1.05 0 0 0-.402-.755\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-home\" viewBox=\"0 0 24 24\"><path d=\"M3 11.99v2.51c0 3.3 0 4.95 1.025 5.975S6.7 21.5 10 21.5h4c3.3 0 4.95 0 5.975-1.025S21 17.8 21 14.5v-2.51c0-1.682 0-2.522-.356-3.25s-1.02-1.244-2.346-2.276l-2-1.555C14.233 3.303 13.2 2.5 12 2.5s-2.233.803-4.298 2.409l-2 1.555C4.375 7.496 3.712 8.012 3.356 8.74S3 10.308 3 11.99\"/><path d=\"M15 17c-.8.622-1.85 1-3 1s-2.2-.378-3-1\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-info\" viewBox=\"0 0 24 24\"><path d=\"M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12 2.5c4.478 0 6.718 0 8.109 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.718 0-8.109-1.391S2.5 16.479 2.5 12\"/><path d=\"M12 16v-4\"/><path d=\"M12.125 8.25H12m.25 0a.25.25 0 1 0-.5 0 .25.25 0 0 0 .5 0\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-menu\" viewBox=\"0 0 24 24\"><path d=\"M4 9h16\"/><path d=\"M4 15h10\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-plus\" viewBox=\"0 0 24 24\"><path d=\"M11.992 4v16m8-8h-16\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-skull\" viewBox=\"0 0 24 24\"><path d=\"M12 3c-4.97 0-9 3.582-9 8 0 2.37 1.16 4.5 3.002 5.964l.29.232c.5.423.687.811.707 1.467l.001.203c0 .124 0 .187.003.239a2 2 0 0 0 1.892 1.892c.052.003.115.003.239.003h5.732c.124 0 .187 0 .239-.003a2 2 0 0 0 1.892-1.892c.003-.052.003-.115.003-.239v-.203c.02-.656.208-1.044.709-1.467.023-.02.111-.09.29-.232C19.84 15.5 21 13.37 21 11c0-4.418-4.03-8-9-8\"/><path d=\"M10 21v-2\"/><path d=\"M14 21v-2\"/><path d=\"M8 11v-.5m1 .5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\"/><path d=\"M16 11v-.5m1 .5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\"/><path d=\"m12.5 15-.5-1-.5 1z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-squares-cog\" viewBox=\"0 0 24 24\"><path d=\"M17.25 3v1.34m0 0c.666 0 1.268.27 1.704.706M17.25 4.34c-.666 0-1.268.27-1.704.706M17.25 9.16v1.34m0-1.339c.666 0 1.268-.27 1.705-.706m-1.705.706c-.666 0-1.268-.27-1.705-.706M21 6.75h-1.34m0 0c0 .666-.27 1.269-.705 1.705m.706-1.705a2.4 2.4 0 0 0-.707-1.704M14.84 6.75H13.5m1.34 0c0-.665.27-1.268.706-1.704m-.707 1.704c0 .666.27 1.269.706 1.705m4.357-4.357-.948.948m-4.356 4.356.947-.947m4.357.947-.947-.947m-4.357-4.357.947.948\"/><path d=\"M13.69 19.457c-.19-.46-.19-1.042-.19-2.207s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 19.457C3 18.997 3 18.415 3 17.25s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 8.957C3 8.497 3 7.915 3 6.75s0-1.747.19-2.207A2.5 2.5 0 0 1 4.543 3.19C5.003 3 5.585 3 6.75 3s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19A2.5 2.5 0 0 1 3.19 8.957\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-stack\" viewBox=\"0 0 24 24\"><path d=\"M21 14c0 1.4 0 2.1-.273 2.635a2.5 2.5 0 0 1-1.092 1.092C19.1 18 18.4 18 17 18H7c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 0 1-1.093-1.092C3 16.1 3 15.4 3 14\"/><path d=\"M6 14h12\"/><path d=\"M6 10h12\"/><path d=\"M6 6h12\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-terminal\" viewBox=\"0 0 24 24\"><path d=\"M7.492 7.5 8.72 8.557c.515.445.773.667.773.943s-.258.498-.773.943L7.492 11.5\"/><path d=\"M11.492 12.5h4\"/><path d=\"M11.992 21c3.75 0 5.625 0 6.94-.955a5 5 0 0 0 1.105-1.106c.955-1.314.955-3.19.955-6.939s0-5.625-.955-6.939a5 5 0 0 0-1.106-1.106C17.617 3 15.741 3 11.992 3s-5.624 0-6.939.955A5 5 0 0 0 3.947 5.06c-.955 1.314-.955 3.19-.955 6.939s0 5.625.955 6.939a5 5 0 0 0 1.106 1.106c1.315.955 3.19.955 6.94.955\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-x\" viewBox=\"0 0 24 24\"><path d=\"m18 6-6 6m0 0-6 6m6-6 6 6m-6-6L6 6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bookmark\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M11 2C7.229 2 5.343 2 4.172 3.129 3 4.257 3 6.074 3 9.708v8.273c0 2.306 0 3.459.773 3.871 1.496.8 4.304-1.867 5.637-2.67.773-.465 1.16-.698 1.59-.698s.817.233 1.59.698c1.333.803 4.14 3.47 5.637 2.67.773-.412.773-1.565.773-3.871V13\"/><path d=\"M17 10V2m-4 4h8\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bug\" viewBox=\"0 0 24 24\"><path d=\"M3.012 6.597c-.12 1.06.646 3.598 2.865 3.658\"/><path d=\"M18.29 10.195c1.078.06 2.697-1.2 2.697-3.598\"/><path d=\"M20.088 20.988c.06-1.38-.84-3.514-2.579-3.574\"/><path d=\"M3.901 20.988c-.06-1.388.858-3.537 2.636-3.597\"/><path d=\"M3.012 13.793h2.206\"/><path d=\"M21 13.793h-2.172\"/><path d=\"M11.993 13.793v-2.938M16.49 3l-1.799 1.799m-7.195-1.8 1.799 1.8\"/><path d=\"M6.956 8.612c1.619 1.163 5.636 2.842 10.014.072\"/><path d=\"M16.826 7.677c-3.574-4.977-8.13-2.579-9.75.144-1.055 1.774-2.698 6.068.42 10.745 3.358 4.1 7.315 2.242 8.934.083 1.56-1.858 3.094-6.655.396-10.972Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-loader\" viewBox=\"0 0 24 24\"><path d=\"M11.996 3v3\"/><path d=\"M11.996 18v3\"/><path d=\"M20.996 12h-3\"/><path d=\"M5.996 12h-3\"/><path d=\"m18.36 5.637-2.122 2.121\"/><path d=\"m7.754 16.242-2.121 2.121\"/><path d=\"m18.36 18.364-2.122-2.122\"/><path d=\"M7.754 7.758 5.633 5.637\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-trash\" viewBox=\"0 0 24 24\"><path d=\"m19.5 5.5-.62 10.025c-.158 2.561-.237 3.842-.88 4.763a4 4 0 0 1-1.2 1.128c-.957.584-2.24.584-4.806.584-2.57 0-3.855 0-4.814-.585a4 4 0 0 1-1.2-1.13c-.642-.922-.72-2.205-.874-4.77L4.5 5.5\"/><path d=\"M3 5.5h18m-4.944 0-.683-1.408c-.453-.936-.68-1.403-1.071-1.695a2 2 0 0 0-.275-.172C13.594 2 13.074 2 12.035 2c-1.066 0-1.599 0-2.04.234a2 2 0 0 0-.278.18c-.395.303-.616.788-1.058 1.757L8.053 5.5\"/><path d=\"M9.5 16.5v-6\"/><path d=\"M14.5 16.5v-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-award\" viewBox=\"0 0 24 24\"><path d=\"M9.426 3.063C10.684 2.354 11.312 2 12 2s1.316.354 2.574 1.063l1.75.986c1.305.735 1.958 1.103 2.317 1.718S19 7.132 19 8.632v1.736c0 1.5 0 2.25-.36 2.865-.358.615-1.01.983-2.316 1.718l-1.75.986C13.316 16.646 12.688 17 12 17s-1.316-.354-2.574-1.063l-1.75-.986c-1.305-.735-1.958-1.103-2.317-1.718S5 11.868 5 10.368V8.632c0-1.5 0-2.25.36-2.865.358-.615 1.01-.983 2.316-1.718z\"/><path stroke-linecap=\"round\" d=\"m16.883 15 .67 3.21c.43 2.062.646 3.093.203 3.582-.442.489-1.21.069-2.746-.772l-2.274-1.245c-.363-.198-.544-.298-.736-.298s-.373.1-.736.298L8.99 21.02c-1.536.84-2.304 1.261-2.746.772s-.227-1.52.203-3.582l.67-3.21\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-list-play\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" d=\"M3 5h18\"/><path stroke-linecap=\"round\" d=\"M3 12h6\"/><path d=\"M20.945 15.451c-.176.716-1.012 1.223-2.682 2.235-1.615.979-2.422 1.468-3.073 1.271a1.6 1.6 0 0 1-.712-.448C14 17.994 14 16.996 14 15s0-2.994.478-3.509c.198-.212.443-.367.712-.448.65-.197 1.458.293 3.073 1.271 1.67 1.012 2.506 1.518 2.682 2.235a1.9 1.9 0 0 1 0 .902Z\"/><path stroke-linecap=\"round\" d=\"M3 19h6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-play\" viewBox=\"0 0 24 24\"><path d=\"M18.89 12.846c-.353 1.343-2.023 2.292-5.364 4.19-3.23 1.835-4.845 2.752-6.146 2.384a3.25 3.25 0 0 1-1.424-.841C5 17.614 5 15.743 5 12s0-5.614.956-6.579a3.25 3.25 0 0 1 1.424-.84c1.301-.37 2.916.548 6.146 2.383 3.34 1.898 5.011 2.847 5.365 4.19a3.3 3.3 0 0 1 0 1.692Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-sparkles\" viewBox=\"0 0 24 24\"><path d=\"m15 2 .539 2.392a5.39 5.39 0 0 0 4.07 4.07L22 9l-2.392.539a5.39 5.39 0 0 0-4.07 4.07L15 16l-.539-2.392a5.39 5.39 0 0 0-4.07-4.07L8 9l2.392-.539a5.39 5.39 0 0 0 4.07-4.07z\"/><path d=\"m7 12 .385 1.708a3.85 3.85 0 0 0 2.907 2.907L12 17l-1.708.385a3.85 3.85 0 0 0-2.907 2.907L7 22l-.385-1.708a3.85 3.85 0 0 0-2.907-2.907L2 17l1.708-.385a3.85 3.85 0 0 0 2.907-2.907z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-clock\" viewBox=\"0 0 24 24\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M12 8v4l2 2\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-eye\" viewBox=\"0 0 24 24\"><path d=\"M21.544 11.045c.304.426.456.64.456.955 0 .316-.152.529-.456.955C20.178 14.871 16.689 19 12 19c-4.69 0-8.178-4.13-9.544-6.045C2.152 12.529 2 12.315 2 12c0-.316.152-.529.456-.955C3.822 9.129 7.311 5 12 5c4.69 0 8.178 4.13 9.544 6.045Z\"/><path d=\"M15 12a3 3 0 1 0-6 0 3 3 0 0 0 6 0Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-sliders\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12 2.5c4.478 0 6.718 0 8.109 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.718 0-8.109-1.391S2.5 16.479 2.5 12Z\"/><path d=\"M8.5 10a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z\"/><path d=\"M15.5 17a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\"/><path stroke-linecap=\"round\" d=\"M10 8.5h7\"/><path stroke-linecap=\"round\" d=\"M14 15.5H7\"/></symbol></svg>", ot = !1, st = new URL("./assets/manrope.woff2", import.meta.url).href ?? "/fonts/manrope.woff2", U = {
|
|
737
|
+
var st = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;width:0;height:0;\" id=\"svg-sprite\"><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-badge-check\" viewBox=\"0 0 24 24\"><path d=\"m9 12 2 2 4-4\"/><path d=\"m14.394 3-.246-.209a3.31 3.31 0 0 0-4.296 0l-.246.21a4 4 0 0 1-2.276.943l-.323.025A3.31 3.31 0 0 0 3.97 7.007l-.025.323A4 4 0 0 1 3 9.606l-.21.246a3.31 3.31 0 0 0 0 4.296l.21.246a4 4 0 0 1 .943 2.276l.025.323a3.31 3.31 0 0 0 3.038 3.038l.323.025A4 4 0 0 1 9.606 21l.246.21a3.31 3.31 0 0 0 4.296 0l.246-.21a4 4 0 0 1 2.276-.943l.323-.025a3.31 3.31 0 0 0 3.038-3.038l.025-.323A4 4 0 0 1 21 14.394l.21-.246a3.31 3.31 0 0 0 0-4.296L21 9.606a4 4 0 0 1-.943-2.276l-.025-.323a3.31 3.31 0 0 0-3.038-3.038l-.323-.025A4 4 0 0 1 14.394 3\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bars-corner\" viewBox=\"0 0 24 24\"><path d=\"M7 15v1a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1\"/><path d=\"M7 8v1a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V8a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1\"/><path d=\"M3 3v10c0 3.771 0 5.657 1.172 6.828S7.229 21 11 21h10\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-check\" viewBox=\"0 0 24 24\"><path d=\"m5 13.26 2.586 2.697C8.252 16.652 8.586 17 9 17s.748-.348 1.414-1.043L19 7\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-down\" viewBox=\"0 0 24 24\"><path d=\"M18 9s-4.419 6-6 6-6-6-6-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-exclamation-triangle\" viewBox=\"0 0 24 24\"><path d=\"M13.925 21h-3.85c-4.63 0-6.945 0-7.799-1.506-.853-1.506.331-3.503 2.7-7.495L6.9 8.753C9.176 4.918 10.313 3 12 3s2.824 1.918 5.1 5.753L19.023 12c2.369 3.992 3.553 5.989 2.7 7.495C20.87 21 18.555 21 13.924 21\"/><path d=\"M12 9v4\"/><path d=\"M12.125 16.75H12m.25 0a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-filter\" viewBox=\"0 0 24 24\"><path d=\"M8.857 12.506C6.37 10.646 4.596 8.6 3.627 7.45c-.3-.356-.398-.617-.457-1.076-.202-1.572-.303-2.358.158-2.866S4.604 3 6.234 3h11.532c1.63 0 2.445 0 2.906.507.461.508.36 1.294.158 2.866-.06.459-.158.72-.457 1.076-.97 1.152-2.747 3.202-5.24 5.065a1.05 1.05 0 0 0-.402.747c-.247 2.731-.475 4.227-.617 4.983-.229 1.222-1.96 1.957-2.888 2.612-.552.39-1.222-.074-1.293-.678a196 196 0 0 1-.674-6.917 1.05 1.05 0 0 0-.402-.755\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-home\" viewBox=\"0 0 24 24\"><path d=\"M3 11.99v2.51c0 3.3 0 4.95 1.025 5.975S6.7 21.5 10 21.5h4c3.3 0 4.95 0 5.975-1.025S21 17.8 21 14.5v-2.51c0-1.682 0-2.522-.356-3.25s-1.02-1.244-2.346-2.276l-2-1.555C14.233 3.303 13.2 2.5 12 2.5s-2.233.803-4.298 2.409l-2 1.555C4.375 7.496 3.712 8.012 3.356 8.74S3 10.308 3 11.99\"/><path d=\"M15 17c-.8.622-1.85 1-3 1s-2.2-.378-3-1\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-info\" viewBox=\"0 0 24 24\"><path d=\"M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12 2.5c4.478 0 6.718 0 8.109 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.718 0-8.109-1.391S2.5 16.479 2.5 12\"/><path d=\"M12 16v-4\"/><path d=\"M12.125 8.25H12m.25 0a.25.25 0 1 0-.5 0 .25.25 0 0 0 .5 0\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-menu\" viewBox=\"0 0 24 24\"><path d=\"M4 9h16\"/><path d=\"M4 15h10\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-plus\" viewBox=\"0 0 24 24\"><path d=\"M11.992 4v16m8-8h-16\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-skull\" viewBox=\"0 0 24 24\"><path d=\"M12 3c-4.97 0-9 3.582-9 8 0 2.37 1.16 4.5 3.002 5.964l.29.232c.5.423.687.811.707 1.467l.001.203c0 .124 0 .187.003.239a2 2 0 0 0 1.892 1.892c.052.003.115.003.239.003h5.732c.124 0 .187 0 .239-.003a2 2 0 0 0 1.892-1.892c.003-.052.003-.115.003-.239v-.203c.02-.656.208-1.044.709-1.467.023-.02.111-.09.29-.232C19.84 15.5 21 13.37 21 11c0-4.418-4.03-8-9-8\"/><path d=\"M10 21v-2\"/><path d=\"M14 21v-2\"/><path d=\"M8 11v-.5m1 .5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\"/><path d=\"M16 11v-.5m1 .5a1 1 0 1 1-2 0 1 1 0 0 1 2 0\"/><path d=\"m12.5 15-.5-1-.5 1z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-squares-cog\" viewBox=\"0 0 24 24\"><path d=\"M17.25 3v1.34m0 0c.666 0 1.268.27 1.704.706M17.25 4.34c-.666 0-1.268.27-1.704.706M17.25 9.16v1.34m0-1.339c.666 0 1.268-.27 1.705-.706m-1.705.706c-.666 0-1.268-.27-1.705-.706M21 6.75h-1.34m0 0c0 .666-.27 1.269-.705 1.705m.706-1.705a2.4 2.4 0 0 0-.707-1.704M14.84 6.75H13.5m1.34 0c0-.665.27-1.268.706-1.704m-.707 1.704c0 .666.27 1.269.706 1.705m4.357-4.357-.948.948m-4.356 4.356.947-.947m4.357.947-.947-.947m-4.357-4.357.947.948\"/><path d=\"M13.69 19.457c-.19-.46-.19-1.042-.19-2.207s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 19.457C3 18.997 3 18.415 3 17.25s0-1.747.19-2.207a2.5 2.5 0 0 1 1.353-1.353c.46-.19 1.042-.19 2.207-.19s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19a2.5 2.5 0 0 1-1.353-1.353\"/><path d=\"M3.19 8.957C3 8.497 3 7.915 3 6.75s0-1.747.19-2.207A2.5 2.5 0 0 1 4.543 3.19C5.003 3 5.585 3 6.75 3s1.747 0 2.207.19a2.5 2.5 0 0 1 1.353 1.353c.19.46.19 1.042.19 2.207s0 1.747-.19 2.207a2.5 2.5 0 0 1-1.353 1.353c-.46.19-1.042.19-2.207.19s-1.747 0-2.207-.19A2.5 2.5 0 0 1 3.19 8.957\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-stack\" viewBox=\"0 0 24 24\"><path d=\"M21 14c0 1.4 0 2.1-.273 2.635a2.5 2.5 0 0 1-1.092 1.092C19.1 18 18.4 18 17 18H7c-1.4 0-2.1 0-2.635-.273a2.5 2.5 0 0 1-1.093-1.092C3 16.1 3 15.4 3 14\"/><path d=\"M6 14h12\"/><path d=\"M6 10h12\"/><path d=\"M6 6h12\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-terminal\" viewBox=\"0 0 24 24\"><path d=\"M7.492 7.5 8.72 8.557c.515.445.773.667.773.943s-.258.498-.773.943L7.492 11.5\"/><path d=\"M11.492 12.5h4\"/><path d=\"M11.992 21c3.75 0 5.625 0 6.94-.955a5 5 0 0 0 1.105-1.106c.955-1.314.955-3.19.955-6.939s0-5.625-.955-6.939a5 5 0 0 0-1.106-1.106C17.617 3 15.741 3 11.992 3s-5.624 0-6.939.955A5 5 0 0 0 3.947 5.06c-.955 1.314-.955 3.19-.955 6.939s0 5.625.955 6.939a5 5 0 0 0 1.106 1.106c1.315.955 3.19.955 6.94.955\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-vertical-ellipsis\" viewBox=\"0 0 24 24\"><path d=\"M12 12v-.5M12 5v-.5M12 19v-.5m1-6.5a1 1 0 1 0-2 0 1 1 0 0 0 2 0m0-7a1 1 0 1 0-2 0 1 1 0 0 0 2 0m0 14a1 1 0 1 0-2 0 1 1 0 0 0 2 0\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-x\" viewBox=\"0 0 24 24\"><path d=\"m18 6-6 6m0 0-6 6m6-6 6 6m-6-6L6 6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bookmark\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M11 2C7.229 2 5.343 2 4.172 3.129 3 4.257 3 6.074 3 9.708v8.273c0 2.306 0 3.459.773 3.871 1.496.8 4.304-1.867 5.637-2.67.773-.465 1.16-.698 1.59-.698s.817.233 1.59.698c1.333.803 4.14 3.47 5.637 2.67.773-.412.773-1.565.773-3.871V13\"/><path d=\"M17 10V2m-4 4h8\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-bug\" viewBox=\"0 0 24 24\"><path d=\"M3.012 6.597c-.12 1.06.646 3.598 2.865 3.658\"/><path d=\"M18.29 10.195c1.078.06 2.697-1.2 2.697-3.598\"/><path d=\"M20.088 20.988c.06-1.38-.84-3.514-2.579-3.574\"/><path d=\"M3.901 20.988c-.06-1.388.858-3.537 2.636-3.597\"/><path d=\"M3.012 13.793h2.206\"/><path d=\"M21 13.793h-2.172\"/><path d=\"M11.993 13.793v-2.938M16.49 3l-1.799 1.799m-7.195-1.8 1.799 1.8\"/><path d=\"M6.956 8.612c1.619 1.163 5.636 2.842 10.014.072\"/><path d=\"M16.826 7.677c-3.574-4.977-8.13-2.579-9.75.144-1.055 1.774-2.698 6.068.42 10.745 3.358 4.1 7.315 2.242 8.934.083 1.56-1.858 3.094-6.655.396-10.972Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-loader\" viewBox=\"0 0 24 24\"><path d=\"M11.996 3v3\"/><path d=\"M11.996 18v3\"/><path d=\"M20.996 12h-3\"/><path d=\"M5.996 12h-3\"/><path d=\"m18.36 5.637-2.122 2.121\"/><path d=\"m7.754 16.242-2.121 2.121\"/><path d=\"m18.36 18.364-2.122-2.122\"/><path d=\"M7.754 7.758 5.633 5.637\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-trash\" viewBox=\"0 0 24 24\"><path d=\"m19.5 5.5-.62 10.025c-.158 2.561-.237 3.842-.88 4.763a4 4 0 0 1-1.2 1.128c-.957.584-2.24.584-4.806.584-2.57 0-3.855 0-4.814-.585a4 4 0 0 1-1.2-1.13c-.642-.922-.72-2.205-.874-4.77L4.5 5.5\"/><path d=\"M3 5.5h18m-4.944 0-.683-1.408c-.453-.936-.68-1.403-1.071-1.695a2 2 0 0 0-.275-.172C13.594 2 13.074 2 12.035 2c-1.066 0-1.599 0-2.04.234a2 2 0 0 0-.278.18c-.395.303-.616.788-1.058 1.757L8.053 5.5\"/><path d=\"M9.5 16.5v-6\"/><path d=\"M14.5 16.5v-6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-award\" viewBox=\"0 0 24 24\"><path d=\"M9.426 3.063C10.684 2.354 11.312 2 12 2s1.316.354 2.574 1.063l1.75.986c1.305.735 1.958 1.103 2.317 1.718S19 7.132 19 8.632v1.736c0 1.5 0 2.25-.36 2.865-.358.615-1.01.983-2.316 1.718l-1.75.986C13.316 16.646 12.688 17 12 17s-1.316-.354-2.574-1.063l-1.75-.986c-1.305-.735-1.958-1.103-2.317-1.718S5 11.868 5 10.368V8.632c0-1.5 0-2.25.36-2.865.358-.615 1.01-.983 2.316-1.718z\"/><path stroke-linecap=\"round\" d=\"m16.883 15 .67 3.21c.43 2.062.646 3.093.203 3.582-.442.489-1.21.069-2.746-.772l-2.274-1.245c-.363-.198-.544-.298-.736-.298s-.373.1-.736.298L8.99 21.02c-1.536.84-2.304 1.261-2.746.772s-.227-1.52.203-3.582l.67-3.21\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-list-play\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" d=\"M3 5h18\"/><path stroke-linecap=\"round\" d=\"M3 12h6\"/><path d=\"M20.945 15.451c-.176.716-1.012 1.223-2.682 2.235-1.615.979-2.422 1.468-3.073 1.271a1.6 1.6 0 0 1-.712-.448C14 17.994 14 16.996 14 15s0-2.994.478-3.509c.198-.212.443-.367.712-.448.65-.197 1.458.293 3.073 1.271 1.67 1.012 2.506 1.518 2.682 2.235a1.9 1.9 0 0 1 0 .902Z\"/><path stroke-linecap=\"round\" d=\"M3 19h6\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-play\" viewBox=\"0 0 24 24\"><path d=\"M18.89 12.846c-.353 1.343-2.023 2.292-5.364 4.19-3.23 1.835-4.845 2.752-6.146 2.384a3.25 3.25 0 0 1-1.424-.841C5 17.614 5 15.743 5 12s0-5.614.956-6.579a3.25 3.25 0 0 1 1.424-.84c1.301-.37 2.916.548 6.146 2.383 3.34 1.898 5.011 2.847 5.365 4.19a3.3 3.3 0 0 1 0 1.692Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-linejoin=\"round\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-sparkles\" viewBox=\"0 0 24 24\"><path d=\"m15 2 .539 2.392a5.39 5.39 0 0 0 4.07 4.07L22 9l-2.392.539a5.39 5.39 0 0 0-4.07 4.07L15 16l-.539-2.392a5.39 5.39 0 0 0-4.07-4.07L8 9l2.392-.539a5.39 5.39 0 0 0 4.07-4.07z\"/><path d=\"m7 12 .385 1.708a3.85 3.85 0 0 0 2.907 2.907L12 17l-1.708.385a3.85 3.85 0 0 0-2.907 2.907L7 22l-.385-1.708a3.85 3.85 0 0 0-2.907-2.907L2 17l1.708-.385a3.85 3.85 0 0 0 2.907-2.907z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-clock\" viewBox=\"0 0 24 24\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M12 8v4l2 2\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-eye\" viewBox=\"0 0 24 24\"><path d=\"M21.544 11.045c.304.426.456.64.456.955 0 .316-.152.529-.456.955C20.178 14.871 16.689 19 12 19c-4.69 0-8.178-4.13-9.544-6.045C2.152 12.529 2 12.315 2 12c0-.316.152-.529.456-.955C3.822 9.129 7.311 5 12 5c4.69 0 8.178 4.13 9.544 6.045Z\"/><path d=\"M15 12a3 3 0 1 0-6 0 3 3 0 0 0 6 0Z\"/></symbol><symbol xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" color=\"currentColor\" id=\"icon-sliders\" viewBox=\"0 0 24 24\"><path stroke-linejoin=\"round\" d=\"M2.5 12c0-4.478 0-6.718 1.391-8.109S7.521 2.5 12 2.5c4.478 0 6.718 0 8.109 1.391S21.5 7.521 21.5 12c0 4.478 0 6.718-1.391 8.109S16.479 21.5 12 21.5c-4.478 0-6.718 0-8.109-1.391S2.5 16.479 2.5 12Z\"/><path d=\"M8.5 10a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z\"/><path d=\"M15.5 17a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z\"/><path stroke-linecap=\"round\" d=\"M10 8.5h7\"/><path stroke-linecap=\"round\" d=\"M14 15.5H7\"/></symbol></svg>", ct = !1, lt = new URL("./assets/manrope.woff2", import.meta.url).href ?? "/fonts/manrope.woff2", W = {
|
|
737
738
|
fontFamily: "Manrope",
|
|
738
739
|
zIndex: {
|
|
739
740
|
front: 1,
|
|
@@ -770,10 +771,10 @@ var at = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;wi
|
|
|
770
771
|
stretch: "\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n "
|
|
771
772
|
},
|
|
772
773
|
load() {
|
|
773
|
-
|
|
774
|
+
ct || typeof document > "u" || (at(`
|
|
774
775
|
@font-face {
|
|
775
776
|
font-family: 'Manrope';
|
|
776
|
-
src: url('${
|
|
777
|
+
src: url('${lt}') format('woff2');
|
|
777
778
|
font-weight: 100 900;
|
|
778
779
|
font-style: normal;
|
|
779
780
|
font-display: swap;
|
|
@@ -855,55 +856,55 @@ var at = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;wi
|
|
|
855
856
|
|
|
856
857
|
[is-loading] { cursor: default !important; }
|
|
857
858
|
[is-clickable] { cursor: pointer; }
|
|
858
|
-
`), !document.getElementById("svg-sprite") && document.body && (document.body.insertAdjacentHTML("afterbegin",
|
|
859
|
+
`), !document.getElementById("svg-sprite") && document.body && (document.body.insertAdjacentHTML("afterbegin", st), ct = !0));
|
|
859
860
|
}
|
|
860
861
|
};
|
|
861
862
|
//#endregion
|
|
862
863
|
//#region src/components/_icon.jsx
|
|
863
|
-
function
|
|
864
|
-
return /* @__PURE__ */
|
|
865
|
-
className:
|
|
864
|
+
function G({ className: e, size: t = "1.25rem", color: n = W.colors.fore.primary, iconName: r, isSpinning: i }) {
|
|
865
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("svg", {
|
|
866
|
+
className: H(ut.base, e),
|
|
866
867
|
style: {
|
|
867
868
|
color: n,
|
|
868
869
|
width: t,
|
|
869
870
|
height: t
|
|
870
871
|
},
|
|
871
872
|
"is-spinning": i || void 0,
|
|
872
|
-
children: /* @__PURE__ */
|
|
873
|
+
children: /* @__PURE__ */ u("use", { href: `#icon-${r}` })
|
|
873
874
|
}) });
|
|
874
875
|
}
|
|
875
|
-
var
|
|
876
|
+
var ut = { base: U`
|
|
876
877
|
fill: currentColor;
|
|
877
878
|
display: inline-block;
|
|
878
879
|
flex-shrink: 0;
|
|
879
880
|
will-change: transform;
|
|
880
881
|
transition: transform .1s linear;
|
|
881
882
|
|
|
882
|
-
&[is-spinning] { animation: ${
|
|
883
|
+
&[is-spinning] { animation: ${ot`
|
|
883
884
|
from { transform: rotate(0deg); }
|
|
884
885
|
to { transform: rotate(360deg); }
|
|
885
886
|
`} 3s linear infinite; }
|
|
886
887
|
` };
|
|
887
888
|
//#endregion
|
|
888
889
|
//#region src/components/_popup-box.jsx
|
|
889
|
-
function
|
|
890
|
-
return /* @__PURE__ */
|
|
891
|
-
className:
|
|
892
|
-
children: [t, r && /* @__PURE__ */
|
|
893
|
-
className:
|
|
890
|
+
function dt({ className: e, trigger: t, children: n, isOpen: r = !1, origin: i = "center", width: a }) {
|
|
891
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
892
|
+
className: ft.base,
|
|
893
|
+
children: [t, r && /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
894
|
+
className: H(ft.popup, ft[i] ?? ft.center, e),
|
|
894
895
|
style: { width: a },
|
|
895
896
|
children: n
|
|
896
897
|
}) })]
|
|
897
898
|
}) });
|
|
898
899
|
}
|
|
899
|
-
var
|
|
900
|
-
base:
|
|
900
|
+
var ft = {
|
|
901
|
+
base: U`
|
|
901
902
|
display: inline-block;
|
|
902
903
|
position: relative;
|
|
903
904
|
`,
|
|
904
|
-
popup:
|
|
905
|
+
popup: U`
|
|
905
906
|
position: absolute;
|
|
906
|
-
z-index: ${
|
|
907
|
+
z-index: ${W.zIndex.front + 1};
|
|
907
908
|
top: calc(100% + .5rem);
|
|
908
909
|
min-width: 100%;
|
|
909
910
|
width: max-content;
|
|
@@ -911,125 +912,125 @@ var ut = {
|
|
|
911
912
|
padding: .5rem;
|
|
912
913
|
border: solid 1px #e5e7e9;
|
|
913
914
|
border-radius: 10px;
|
|
914
|
-
color: ${
|
|
915
|
-
background-color: ${
|
|
915
|
+
color: ${W.colors.fore.primary};
|
|
916
|
+
background-color: ${W.colors.back.primary};
|
|
916
917
|
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
917
|
-
font-family: ${
|
|
918
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
918
919
|
`,
|
|
919
|
-
center:
|
|
920
|
+
center: U`
|
|
920
921
|
left: 50%;
|
|
921
922
|
transform: translateX(-50%);
|
|
922
923
|
`,
|
|
923
|
-
left:
|
|
924
|
+
left: U`
|
|
924
925
|
left: 0;
|
|
925
926
|
`,
|
|
926
|
-
right:
|
|
927
|
+
right: U`
|
|
927
928
|
right: 0;
|
|
928
929
|
`,
|
|
929
|
-
leftSide:
|
|
930
|
+
leftSide: U`
|
|
930
931
|
top: 0;
|
|
931
932
|
right: calc(100% + 1rem);
|
|
932
933
|
`,
|
|
933
|
-
rightSide:
|
|
934
|
+
rightSide: U`
|
|
934
935
|
top: 0;
|
|
935
936
|
left: calc(100% + 1rem);
|
|
936
937
|
`
|
|
937
938
|
};
|
|
938
939
|
//#endregion
|
|
939
940
|
//#region src/components/_actions.jsx
|
|
940
|
-
function
|
|
941
|
-
return /* @__PURE__ */
|
|
942
|
-
className:
|
|
943
|
-
children: e.map((e) => /* @__PURE__ */
|
|
941
|
+
function pt({ items: e = [] }) {
|
|
942
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("nav", {
|
|
943
|
+
className: K.base,
|
|
944
|
+
children: e.map((e) => /* @__PURE__ */ u(mt, { item: e }))
|
|
944
945
|
}) });
|
|
945
946
|
}
|
|
946
|
-
function
|
|
947
|
-
let t =
|
|
948
|
-
|
|
949
|
-
if (!
|
|
947
|
+
function mt({ item: e }) {
|
|
948
|
+
let t = s(null), n = i(!1), r = e.subActions ?? e.items ?? [], o = r.length > 0;
|
|
949
|
+
a(() => {
|
|
950
|
+
if (!n.value) return;
|
|
950
951
|
function e({ target: e }) {
|
|
951
|
-
t.current?.contains(e) || (
|
|
952
|
+
t.current?.contains(e) || (n.value = !1);
|
|
952
953
|
}
|
|
953
954
|
return document.addEventListener("pointerdown", e), () => document.removeEventListener("pointerdown", e);
|
|
954
|
-
}, [
|
|
955
|
-
function
|
|
956
|
-
if (
|
|
957
|
-
|
|
955
|
+
}, [n.value]);
|
|
956
|
+
function c(t) {
|
|
957
|
+
if (o) {
|
|
958
|
+
n.value = !n.value;
|
|
958
959
|
return;
|
|
959
960
|
}
|
|
960
961
|
t.stopPropagation(), t.preventDefault(), e.onClick?.(t);
|
|
961
962
|
}
|
|
962
963
|
function f(e, t) {
|
|
963
|
-
e.stopPropagation(), e.preventDefault(),
|
|
964
|
+
e.stopPropagation(), e.preventDefault(), n.value = !1, t.onClick?.(e);
|
|
964
965
|
}
|
|
965
|
-
return /* @__PURE__ */
|
|
966
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
966
967
|
ref: t,
|
|
967
|
-
className:
|
|
968
|
-
children: /* @__PURE__ */
|
|
969
|
-
className:
|
|
970
|
-
trigger: /* @__PURE__ */
|
|
968
|
+
className: K.action,
|
|
969
|
+
children: /* @__PURE__ */ u(dt, {
|
|
970
|
+
className: K.popup,
|
|
971
|
+
trigger: /* @__PURE__ */ d("button", {
|
|
971
972
|
type: "button",
|
|
972
|
-
className:
|
|
973
|
+
className: H(K.button, !e.label && K.iconOnly),
|
|
973
974
|
disabled: e.isDisabled,
|
|
974
975
|
"is-clickable": !e.isDisabled || void 0,
|
|
975
976
|
"is-disabled": e.isDisabled || void 0,
|
|
976
|
-
onClick:
|
|
977
|
-
children: [e.iconName && /* @__PURE__ */
|
|
977
|
+
onClick: c,
|
|
978
|
+
children: [e.iconName && /* @__PURE__ */ u(G, {
|
|
978
979
|
iconName: e.iconName,
|
|
979
980
|
size: "1rem"
|
|
980
|
-
}), e.label && /* @__PURE__ */
|
|
981
|
+
}), e.label && /* @__PURE__ */ u("span", { children: e.label })]
|
|
981
982
|
}),
|
|
982
|
-
isOpen:
|
|
983
|
+
isOpen: n.value,
|
|
983
984
|
origin: "right",
|
|
984
|
-
children:
|
|
985
|
+
children: r.map((e, t) => /* @__PURE__ */ d("button", {
|
|
985
986
|
type: "button",
|
|
986
|
-
className:
|
|
987
|
+
className: K.option,
|
|
987
988
|
disabled: e.isDisabled,
|
|
988
989
|
onClick: (t) => f(t, e),
|
|
989
|
-
children: [e.iconName && /* @__PURE__ */
|
|
990
|
+
children: [e.iconName && /* @__PURE__ */ u(G, {
|
|
990
991
|
iconName: e.iconName,
|
|
991
992
|
size: "1rem"
|
|
992
|
-
}), e.label && /* @__PURE__ */
|
|
993
|
+
}), e.label && /* @__PURE__ */ u("span", { children: e.label })]
|
|
993
994
|
}, e.label ?? t))
|
|
994
995
|
})
|
|
995
996
|
}) });
|
|
996
997
|
}
|
|
997
|
-
var
|
|
998
|
-
base:
|
|
998
|
+
var K = {
|
|
999
|
+
base: U`
|
|
999
1000
|
display: flex;
|
|
1000
1001
|
align-items: center;
|
|
1001
1002
|
gap: .5rem;
|
|
1002
1003
|
`,
|
|
1003
|
-
button:
|
|
1004
|
+
button: U`
|
|
1004
1005
|
display: flex;
|
|
1005
1006
|
align-items: center;
|
|
1006
1007
|
gap: .4rem;
|
|
1007
1008
|
min-height: 2.3rem;
|
|
1008
1009
|
padding: .6rem .8rem;
|
|
1009
1010
|
border-radius: 8px;
|
|
1010
|
-
background-color: ${
|
|
1011
|
-
color: ${
|
|
1011
|
+
background-color: ${W.colors.back.secondary};
|
|
1012
|
+
color: ${W.colors.fore.primary};
|
|
1012
1013
|
letter-spacing: 1px;
|
|
1013
1014
|
font-weight: 500;
|
|
1014
1015
|
white-space: nowrap;
|
|
1015
1016
|
`,
|
|
1016
|
-
iconOnly:
|
|
1017
|
+
iconOnly: U`
|
|
1017
1018
|
width: 2.3rem;
|
|
1018
1019
|
justify-content: center;
|
|
1019
1020
|
`,
|
|
1020
|
-
popup:
|
|
1021
|
+
popup: U`
|
|
1021
1022
|
display: grid;
|
|
1022
1023
|
gap: .125rem;
|
|
1023
1024
|
min-width: 10rem;
|
|
1024
1025
|
`,
|
|
1025
|
-
option:
|
|
1026
|
+
option: U`
|
|
1026
1027
|
display: flex;
|
|
1027
1028
|
align-items: center;
|
|
1028
1029
|
gap: .5rem;
|
|
1029
1030
|
width: 100%;
|
|
1030
1031
|
padding: .6rem .75rem;
|
|
1031
1032
|
border-radius: 7px;
|
|
1032
|
-
color: ${
|
|
1033
|
+
color: ${W.colors.fore.primary};
|
|
1033
1034
|
font-weight: 500;
|
|
1034
1035
|
text-align: left;
|
|
1035
1036
|
white-space: nowrap;
|
|
@@ -1037,63 +1038,63 @@ var G = {
|
|
|
1037
1038
|
};
|
|
1038
1039
|
//#endregion
|
|
1039
1040
|
//#region src/components/_text.jsx
|
|
1040
|
-
function
|
|
1041
|
-
return /* @__PURE__ */
|
|
1042
|
-
className:
|
|
1041
|
+
function ht({ as: e = "span", className: t, size: n = "normal", color: r = W.colors.fore.primary, children: i }) {
|
|
1042
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u(e, {
|
|
1043
|
+
className: H(gt.base, gt[n] ?? gt.normal, t),
|
|
1043
1044
|
style: { color: r },
|
|
1044
1045
|
children: i
|
|
1045
1046
|
}) });
|
|
1046
1047
|
}
|
|
1047
|
-
var
|
|
1048
|
-
base:
|
|
1048
|
+
var gt = {
|
|
1049
|
+
base: U`
|
|
1049
1050
|
font-weight: 500;
|
|
1050
1051
|
letter-spacing: 1px;
|
|
1051
1052
|
`,
|
|
1052
|
-
normal:
|
|
1053
|
+
normal: U`
|
|
1053
1054
|
font-size: 1rem;
|
|
1054
1055
|
line-height: 1.125rem;
|
|
1055
1056
|
`,
|
|
1056
|
-
small:
|
|
1057
|
+
small: U`
|
|
1057
1058
|
font-size: .75rem;
|
|
1058
1059
|
line-height: 1rem;
|
|
1059
1060
|
`,
|
|
1060
|
-
tiny:
|
|
1061
|
+
tiny: U`
|
|
1061
1062
|
font-size: .65rem;
|
|
1062
1063
|
line-height: 1rem;
|
|
1063
1064
|
`
|
|
1064
1065
|
};
|
|
1065
1066
|
//#endregion
|
|
1066
1067
|
//#region src/components/_app-wrapper.jsx
|
|
1067
|
-
function
|
|
1068
|
-
return /* @__PURE__ */
|
|
1069
|
-
className:
|
|
1068
|
+
function _t({ className: e, maxWidth: t = "67.5rem", logo: n, version: r, actions: i = [], children: a }) {
|
|
1069
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
1070
|
+
className: H(q.base, e),
|
|
1070
1071
|
children: [
|
|
1071
|
-
/* @__PURE__ */
|
|
1072
|
-
className:
|
|
1073
|
-
children: [n && /* @__PURE__ */
|
|
1072
|
+
/* @__PURE__ */ d("header", {
|
|
1073
|
+
className: q.header,
|
|
1074
|
+
children: [n && /* @__PURE__ */ u("a", {
|
|
1074
1075
|
href: "/",
|
|
1075
|
-
children: /* @__PURE__ */
|
|
1076
|
-
className:
|
|
1076
|
+
children: /* @__PURE__ */ u("img", {
|
|
1077
|
+
className: q.logo,
|
|
1077
1078
|
src: n
|
|
1078
1079
|
})
|
|
1079
|
-
}), i.length > 0 && /* @__PURE__ */
|
|
1080
|
+
}), i.length > 0 && /* @__PURE__ */ u(pt, { items: i })]
|
|
1080
1081
|
}),
|
|
1081
|
-
/* @__PURE__ */
|
|
1082
|
-
className:
|
|
1082
|
+
/* @__PURE__ */ u("div", {
|
|
1083
|
+
className: q.inner,
|
|
1083
1084
|
style: { maxWidth: t },
|
|
1084
1085
|
children: a
|
|
1085
1086
|
}),
|
|
1086
|
-
r && /* @__PURE__ */
|
|
1087
|
-
className:
|
|
1087
|
+
r && /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d(ht, {
|
|
1088
|
+
className: q.version,
|
|
1088
1089
|
size: "small",
|
|
1089
|
-
color:
|
|
1090
|
+
color: W.colors.fore.secondary,
|
|
1090
1091
|
children: ["v", r]
|
|
1091
1092
|
}) })
|
|
1092
1093
|
]
|
|
1093
1094
|
}) });
|
|
1094
1095
|
}
|
|
1095
|
-
var
|
|
1096
|
-
base:
|
|
1096
|
+
var q = {
|
|
1097
|
+
base: U`
|
|
1097
1098
|
// The template is stretched over the entire viewport, and the vertical
|
|
1098
1099
|
// scrollbar is enabled manually.
|
|
1099
1100
|
// This is necessary so that the modal overlays can cover the scrollbar,
|
|
@@ -1101,7 +1102,7 @@ var K = {
|
|
|
1101
1102
|
// when it's displayed or not.
|
|
1102
1103
|
// Normally, we'd use the body element for this, but the modal overlay
|
|
1103
1104
|
// can't cover the scrollbar of the body element.
|
|
1104
|
-
${
|
|
1105
|
+
${W.extends.stretch}
|
|
1105
1106
|
overflow-y: scroll;
|
|
1106
1107
|
overflow-x: hidden;
|
|
1107
1108
|
scroll-behavior: smooth;
|
|
@@ -1140,24 +1141,24 @@ var K = {
|
|
|
1140
1141
|
auto,
|
|
1141
1142
|
auto;
|
|
1142
1143
|
`,
|
|
1143
|
-
header:
|
|
1144
|
+
header: U`
|
|
1144
1145
|
display: flex;
|
|
1145
1146
|
align-items: center;
|
|
1146
1147
|
justify-content: space-between;
|
|
1147
1148
|
`,
|
|
1148
|
-
logo:
|
|
1149
|
+
logo: U`
|
|
1149
1150
|
display: block;
|
|
1150
1151
|
pointer-events: auto;
|
|
1151
1152
|
display: block;
|
|
1152
1153
|
max-width: 8rem;
|
|
1153
1154
|
max-height: 3rem;
|
|
1154
1155
|
`,
|
|
1155
|
-
inner:
|
|
1156
|
+
inner: U`
|
|
1156
1157
|
position: relative;
|
|
1157
1158
|
padding: 4rem 0;
|
|
1158
1159
|
margin: 0 auto;
|
|
1159
1160
|
`,
|
|
1160
|
-
version:
|
|
1161
|
+
version: U`
|
|
1161
1162
|
position: fixed;
|
|
1162
1163
|
left: 2rem;
|
|
1163
1164
|
bottom: 2rem;
|
|
@@ -1165,26 +1166,26 @@ var K = {
|
|
|
1165
1166
|
};
|
|
1166
1167
|
//#endregion
|
|
1167
1168
|
//#region src/components/_toolbar.jsx
|
|
1168
|
-
function
|
|
1169
|
-
let a =
|
|
1170
|
-
return /* @__PURE__ */
|
|
1171
|
-
className:
|
|
1172
|
-
style: { maxHeight:
|
|
1173
|
-
children: [/* @__PURE__ */
|
|
1174
|
-
className:
|
|
1175
|
-
children: e.map((e, t) => /* @__PURE__ */
|
|
1169
|
+
function vt({ items: e = [], side: t = "left", width: n, maxHeight: r }) {
|
|
1170
|
+
let a = i(null), o = t === "right" ? "rightSide" : "leftSide";
|
|
1171
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("nav", {
|
|
1172
|
+
className: J.base,
|
|
1173
|
+
style: { maxHeight: r },
|
|
1174
|
+
children: [/* @__PURE__ */ u("div", {
|
|
1175
|
+
className: J.buttons,
|
|
1176
|
+
children: e.map((e, t) => /* @__PURE__ */ u(yt, {
|
|
1176
1177
|
item: e,
|
|
1177
1178
|
isOpen: a.value === t,
|
|
1178
1179
|
onToggle: () => a.value = a.value === t ? null : t
|
|
1179
1180
|
}, e.iconName ?? t))
|
|
1180
|
-
}), a.value != null && /* @__PURE__ */
|
|
1181
|
+
}), a.value != null && /* @__PURE__ */ u(bt, {
|
|
1181
1182
|
content: e[a.value]?.content ?? e[a.value]?.children,
|
|
1182
|
-
side:
|
|
1183
|
-
width:
|
|
1183
|
+
side: o,
|
|
1184
|
+
width: n
|
|
1184
1185
|
})]
|
|
1185
1186
|
}) });
|
|
1186
1187
|
}
|
|
1187
|
-
function
|
|
1188
|
+
function yt({ item: e, isOpen: t, onToggle: n }) {
|
|
1188
1189
|
let r = (e.content ?? e.children) != null;
|
|
1189
1190
|
function i(t) {
|
|
1190
1191
|
if (!r) {
|
|
@@ -1193,33 +1194,33 @@ function _t({ item: e, isOpen: t, onToggle: n }) {
|
|
|
1193
1194
|
}
|
|
1194
1195
|
t.preventDefault(), n();
|
|
1195
1196
|
}
|
|
1196
|
-
return /* @__PURE__ */
|
|
1197
|
-
className:
|
|
1198
|
-
children: /* @__PURE__ */
|
|
1197
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
1198
|
+
className: J.item,
|
|
1199
|
+
children: /* @__PURE__ */ u("button", {
|
|
1199
1200
|
type: "button",
|
|
1200
|
-
className:
|
|
1201
|
+
className: H(J.button, t && J.active),
|
|
1201
1202
|
disabled: e.isDisabled,
|
|
1202
1203
|
"is-clickable": !e.isDisabled || void 0,
|
|
1203
1204
|
"is-disabled": e.isDisabled || void 0,
|
|
1204
1205
|
onClick: i,
|
|
1205
|
-
children: /* @__PURE__ */
|
|
1206
|
+
children: /* @__PURE__ */ u(G, {
|
|
1206
1207
|
iconName: e.iconName,
|
|
1207
1208
|
size: "1.5rem"
|
|
1208
1209
|
})
|
|
1209
1210
|
})
|
|
1210
1211
|
}) });
|
|
1211
1212
|
}
|
|
1212
|
-
function
|
|
1213
|
-
return /* @__PURE__ */
|
|
1214
|
-
className:
|
|
1213
|
+
function bt({ content: e, side: t, width: n }) {
|
|
1214
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
1215
|
+
className: H(J.popup, t === "rightSide" ? J.right : J.left),
|
|
1215
1216
|
style: { width: n },
|
|
1216
1217
|
children: e
|
|
1217
1218
|
}) });
|
|
1218
1219
|
}
|
|
1219
|
-
var
|
|
1220
|
-
base:
|
|
1220
|
+
var J = {
|
|
1221
|
+
base: U`
|
|
1221
1222
|
position: fixed;
|
|
1222
|
-
z-index: ${
|
|
1223
|
+
z-index: ${W.zIndex.front};
|
|
1223
1224
|
top: 40%;
|
|
1224
1225
|
right: 0;
|
|
1225
1226
|
display: flex;
|
|
@@ -1228,70 +1229,70 @@ var q = {
|
|
|
1228
1229
|
padding: .5rem;
|
|
1229
1230
|
border-right: 0;
|
|
1230
1231
|
border-radius: 10px 0 0 10px;
|
|
1231
|
-
background-color: ${
|
|
1232
|
+
background-color: ${W.colors.back.primary};
|
|
1232
1233
|
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
1233
1234
|
transform: translateY(-50%);
|
|
1234
1235
|
`,
|
|
1235
|
-
buttons:
|
|
1236
|
+
buttons: U`
|
|
1236
1237
|
display: flex;
|
|
1237
1238
|
flex-direction: column;
|
|
1238
1239
|
gap: .5rem;
|
|
1239
1240
|
max-height: inherit;
|
|
1240
1241
|
overflow-y: auto;
|
|
1241
1242
|
`,
|
|
1242
|
-
item:
|
|
1243
|
+
item: U`
|
|
1243
1244
|
position: relative;
|
|
1244
1245
|
`,
|
|
1245
|
-
button:
|
|
1246
|
+
button: U`
|
|
1246
1247
|
display: grid;
|
|
1247
1248
|
width: 2.75rem;
|
|
1248
1249
|
height: 2.75rem;
|
|
1249
1250
|
place-items: center;
|
|
1250
1251
|
border-radius: 8px;
|
|
1251
|
-
color: ${
|
|
1252
|
-
background-color: ${
|
|
1252
|
+
color: ${W.colors.fore.primary};
|
|
1253
|
+
background-color: ${W.colors.back.secondary};
|
|
1253
1254
|
transition: background-color .1s linear, color .1s linear;
|
|
1254
1255
|
`,
|
|
1255
|
-
active:
|
|
1256
|
-
color: ${
|
|
1257
|
-
background-color: ${
|
|
1256
|
+
active: U`
|
|
1257
|
+
color: ${W.colors.fore.primary};
|
|
1258
|
+
background-color: ${W.colors.primary};
|
|
1258
1259
|
`,
|
|
1259
|
-
popup:
|
|
1260
|
+
popup: U`
|
|
1260
1261
|
position: absolute;
|
|
1261
|
-
z-index: ${
|
|
1262
|
+
z-index: ${W.zIndex.front + 1};
|
|
1262
1263
|
top: .5rem;
|
|
1263
1264
|
min-width: 12rem;
|
|
1264
1265
|
max-width: calc(100vw - 2rem);
|
|
1265
1266
|
padding: 2rem 1.5rem;
|
|
1266
1267
|
border: solid 1px #e5e7e9;
|
|
1267
1268
|
border-radius: 10px;
|
|
1268
|
-
color: ${
|
|
1269
|
-
background-color: ${
|
|
1269
|
+
color: ${W.colors.fore.primary};
|
|
1270
|
+
background-color: ${W.colors.back.primary};
|
|
1270
1271
|
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
1271
|
-
font-family: ${
|
|
1272
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1272
1273
|
`,
|
|
1273
|
-
left:
|
|
1274
|
+
left: U`
|
|
1274
1275
|
right: calc(100% + .5rem);
|
|
1275
1276
|
`,
|
|
1276
|
-
right:
|
|
1277
|
+
right: U`
|
|
1277
1278
|
left: calc(100% + .5rem);
|
|
1278
1279
|
`
|
|
1279
|
-
},
|
|
1280
|
-
className:
|
|
1280
|
+
}, xt = ({ type: e = "normal", width: t = "100%", value: n = 0 }) => /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
1281
|
+
className: St.base,
|
|
1281
1282
|
style: { width: t },
|
|
1282
|
-
children: /* @__PURE__ */
|
|
1283
|
-
className:
|
|
1283
|
+
children: /* @__PURE__ */ u("div", {
|
|
1284
|
+
className: H(St.value, St[e] ?? St.normal),
|
|
1284
1285
|
style: { width: `${n}%` }
|
|
1285
1286
|
})
|
|
1286
|
-
}) }),
|
|
1287
|
-
base:
|
|
1287
|
+
}) }), St = {
|
|
1288
|
+
base: U`
|
|
1288
1289
|
position: relative;
|
|
1289
1290
|
border-radius: 16px;
|
|
1290
1291
|
height: .625rem;
|
|
1291
|
-
border: solid 1px ${
|
|
1292
|
-
background-color: ${
|
|
1292
|
+
border: solid 1px ${W.colors.border};
|
|
1293
|
+
background-color: ${W.colors.back.secondary};
|
|
1293
1294
|
`,
|
|
1294
|
-
value:
|
|
1295
|
+
value: U`
|
|
1295
1296
|
position: absolute;
|
|
1296
1297
|
top: -1px;
|
|
1297
1298
|
bottom: -1px;
|
|
@@ -1300,24 +1301,24 @@ var q = {
|
|
|
1300
1301
|
will-change: width;
|
|
1301
1302
|
transition: width .3s ease;
|
|
1302
1303
|
`,
|
|
1303
|
-
normal:
|
|
1304
|
-
border: solid 1px ${
|
|
1305
|
-
background-color: ${
|
|
1304
|
+
normal: U`
|
|
1305
|
+
border: solid 1px ${r(W.colors.primary, .3)};
|
|
1306
|
+
background-color: ${W.colors.primary};
|
|
1306
1307
|
`,
|
|
1307
|
-
warn:
|
|
1308
|
-
border: solid 1px ${
|
|
1309
|
-
background-color: ${
|
|
1308
|
+
warn: U`
|
|
1309
|
+
border: solid 1px ${r(W.colors.secondary, .2)};
|
|
1310
|
+
background-color: ${W.colors.secondary};
|
|
1310
1311
|
`,
|
|
1311
|
-
danger:
|
|
1312
|
-
border: solid 1px ${
|
|
1313
|
-
background-color: ${
|
|
1312
|
+
danger: U`
|
|
1313
|
+
border: solid 1px ${r(W.colors.danger, .3)};
|
|
1314
|
+
background-color: ${W.colors.danger};
|
|
1314
1315
|
`
|
|
1315
1316
|
};
|
|
1316
1317
|
//#endregion
|
|
1317
1318
|
//#region src/components/_box.jsx
|
|
1318
|
-
function
|
|
1319
|
-
return /* @__PURE__ */
|
|
1320
|
-
className:
|
|
1319
|
+
function Ct({ className: e, type: t = "primary", width: n, height: r, children: i }) {
|
|
1320
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
1321
|
+
className: H(wt.base, wt[t] ?? wt.primary, e),
|
|
1321
1322
|
style: {
|
|
1322
1323
|
width: n,
|
|
1323
1324
|
height: r
|
|
@@ -1325,8 +1326,8 @@ function bt({ className: e, type: t = "primary", width: n, height: r, children:
|
|
|
1325
1326
|
children: i
|
|
1326
1327
|
}) });
|
|
1327
1328
|
}
|
|
1328
|
-
var
|
|
1329
|
-
base:
|
|
1329
|
+
var wt = {
|
|
1330
|
+
base: U`
|
|
1330
1331
|
position: relative;
|
|
1331
1332
|
border: solid 1px #dce0e4;
|
|
1332
1333
|
border-radius: 12px;
|
|
@@ -1334,63 +1335,63 @@ var xt = {
|
|
|
1334
1335
|
box-shadow: 0 1px 0 rgb(22 24 38 / .08),
|
|
1335
1336
|
0 4px 10px rgb(22 24 38 / .045);
|
|
1336
1337
|
`,
|
|
1337
|
-
primary:
|
|
1338
|
-
background-color: ${
|
|
1338
|
+
primary: U`
|
|
1339
|
+
background-color: ${W.colors.back.primary};
|
|
1339
1340
|
`,
|
|
1340
|
-
secondary:
|
|
1341
|
+
secondary: U`
|
|
1341
1342
|
background-color: #fafafa;
|
|
1342
1343
|
`
|
|
1343
1344
|
};
|
|
1344
1345
|
//#endregion
|
|
1345
1346
|
//#region src/components/_button.jsx
|
|
1346
|
-
function
|
|
1347
|
-
let
|
|
1347
|
+
function Tt({ type: e = "primary", label: t, iconName: n, isDisabled: r = !1, isLoading: a = !1, onClick: o }) {
|
|
1348
|
+
let s = n || a, c = i(null);
|
|
1348
1349
|
function f(e) {
|
|
1349
|
-
if (
|
|
1350
|
+
if (r || a) return;
|
|
1350
1351
|
e.stopPropagation(), e.preventDefault();
|
|
1351
1352
|
let t = e.currentTarget.getBoundingClientRect();
|
|
1352
|
-
|
|
1353
|
+
c.value = {
|
|
1353
1354
|
x: e.clientX - t.left,
|
|
1354
1355
|
y: e.clientY - t.top,
|
|
1355
1356
|
size: Math.max(t.width, t.height) * 2
|
|
1356
|
-
},
|
|
1357
|
+
}, o?.(e);
|
|
1357
1358
|
}
|
|
1358
|
-
return /* @__PURE__ */
|
|
1359
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("button", {
|
|
1359
1360
|
type: "button",
|
|
1360
|
-
className:
|
|
1361
|
-
"has-icon":
|
|
1362
|
-
"is-disabled":
|
|
1361
|
+
className: H(Dt.base, Dt[e] ?? Dt.normal),
|
|
1362
|
+
"has-icon": s,
|
|
1363
|
+
"is-disabled": r || void 0,
|
|
1363
1364
|
"is-loading": a || void 0,
|
|
1364
|
-
"is-clickable": !!
|
|
1365
|
-
disabled:
|
|
1365
|
+
"is-clickable": !!o || void 0,
|
|
1366
|
+
disabled: r || a,
|
|
1366
1367
|
onClick: f,
|
|
1367
1368
|
children: [
|
|
1368
|
-
|
|
1369
|
-
className:
|
|
1370
|
-
${
|
|
1369
|
+
s && /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
1370
|
+
className: U`
|
|
1371
|
+
${W.extends.verticalCenter}
|
|
1371
1372
|
|
|
1372
1373
|
left: .6rem;
|
|
1373
1374
|
`,
|
|
1374
|
-
children: a ? /* @__PURE__ */
|
|
1375
|
+
children: a ? /* @__PURE__ */ u(G, {
|
|
1375
1376
|
iconName: "loader",
|
|
1376
1377
|
isSpinning: !0
|
|
1377
|
-
}) : /* @__PURE__ */
|
|
1378
|
+
}) : /* @__PURE__ */ u(G, { iconName: n })
|
|
1378
1379
|
}) }),
|
|
1379
1380
|
t,
|
|
1380
|
-
|
|
1381
|
-
className:
|
|
1381
|
+
c.value && /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("span", {
|
|
1382
|
+
className: Dt.ripple,
|
|
1382
1383
|
style: {
|
|
1383
|
-
left:
|
|
1384
|
-
top:
|
|
1385
|
-
width:
|
|
1386
|
-
height:
|
|
1384
|
+
left: c.value.x,
|
|
1385
|
+
top: c.value.y,
|
|
1386
|
+
width: c.value.size,
|
|
1387
|
+
height: c.value.size
|
|
1387
1388
|
},
|
|
1388
|
-
onAnimationEnd: () =>
|
|
1389
|
+
onAnimationEnd: () => c.value = null
|
|
1389
1390
|
}) })
|
|
1390
1391
|
]
|
|
1391
1392
|
}) });
|
|
1392
1393
|
}
|
|
1393
|
-
var
|
|
1394
|
+
var Et = ot`
|
|
1394
1395
|
from {
|
|
1395
1396
|
opacity: .4;
|
|
1396
1397
|
transform: translate(-50%, -50%) scale(0);
|
|
@@ -1400,8 +1401,8 @@ var Ct = it`
|
|
|
1400
1401
|
opacity: 0;
|
|
1401
1402
|
transform: translate(-50%, -50%) scale(1);
|
|
1402
1403
|
}
|
|
1403
|
-
`,
|
|
1404
|
-
base:
|
|
1404
|
+
`, Dt = {
|
|
1405
|
+
base: U`
|
|
1405
1406
|
font-size: .9rem;
|
|
1406
1407
|
display: inline-block;
|
|
1407
1408
|
position: relative;
|
|
@@ -1413,7 +1414,7 @@ var Ct = it`
|
|
|
1413
1414
|
border-radius: 12px;
|
|
1414
1415
|
will-change: transform, border;
|
|
1415
1416
|
transition: transform .1s linear, border .1s linear;
|
|
1416
|
-
font-family: ${
|
|
1417
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1417
1418
|
|
|
1418
1419
|
&:active {
|
|
1419
1420
|
transform: translateY(2px);
|
|
@@ -1422,30 +1423,30 @@ var Ct = it`
|
|
|
1422
1423
|
|
|
1423
1424
|
&[has-icon] { padding-left: 2rem; }
|
|
1424
1425
|
`,
|
|
1425
|
-
primary:
|
|
1426
|
-
color: ${
|
|
1427
|
-
border-bottom: solid 3px ${
|
|
1428
|
-
background-color: ${
|
|
1426
|
+
primary: U`
|
|
1427
|
+
color: ${r(W.colors.primary, .5)};
|
|
1428
|
+
border-bottom: solid 3px ${r(W.colors.primary, .25)};
|
|
1429
|
+
background-color: ${W.colors.primary};
|
|
1429
1430
|
`,
|
|
1430
|
-
secondary:
|
|
1431
|
-
color: ${
|
|
1432
|
-
border-bottom: solid 3px ${
|
|
1433
|
-
background-color: ${
|
|
1431
|
+
secondary: U`
|
|
1432
|
+
color: ${r(W.colors.secondary, .5)};
|
|
1433
|
+
border-bottom: solid 3px ${r(W.colors.secondary, .25)};
|
|
1434
|
+
background-color: ${W.colors.secondary};
|
|
1434
1435
|
`,
|
|
1435
|
-
ripple:
|
|
1436
|
+
ripple: U`
|
|
1436
1437
|
position: absolute;
|
|
1437
1438
|
z-index: 1;
|
|
1438
1439
|
border-radius: 50%;
|
|
1439
1440
|
pointer-events: none;
|
|
1440
1441
|
background-color: currentColor;
|
|
1441
|
-
animation: ${
|
|
1442
|
+
animation: ${Et} .5s ease-out forwards;
|
|
1442
1443
|
`
|
|
1443
1444
|
};
|
|
1444
1445
|
//#endregion
|
|
1445
1446
|
//#region src/components/_layout.jsx
|
|
1446
|
-
function
|
|
1447
|
-
return /* @__PURE__ */
|
|
1448
|
-
className:
|
|
1447
|
+
function Ot({ className: e, height: t, direction: n = "row", justify: r, align: i, gap: a, children: o }) {
|
|
1448
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
1449
|
+
className: H(kt.base, e),
|
|
1449
1450
|
style: {
|
|
1450
1451
|
height: t,
|
|
1451
1452
|
flexDirection: n,
|
|
@@ -1453,36 +1454,36 @@ function Tt({ className: e, height: t, direction: n = "row", justify: r, align:
|
|
|
1453
1454
|
alignItems: i,
|
|
1454
1455
|
gap: a == null ? void 0 : `${a / 2}rem`
|
|
1455
1456
|
},
|
|
1456
|
-
children:
|
|
1457
|
+
children: o
|
|
1457
1458
|
}) });
|
|
1458
1459
|
}
|
|
1459
|
-
var
|
|
1460
|
+
var kt = { base: U`
|
|
1460
1461
|
display: flex;
|
|
1461
1462
|
` };
|
|
1462
1463
|
//#endregion
|
|
1463
1464
|
//#region src/components/_headline.jsx
|
|
1464
|
-
function
|
|
1465
|
-
return /* @__PURE__ */
|
|
1466
|
-
className:
|
|
1465
|
+
function At({ as: e = "h2", className: t, size: n = "normal", color: r = W.colors.fore.primary, children: i }) {
|
|
1466
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u(e, {
|
|
1467
|
+
className: H(jt.base, jt[n] ?? jt.normal, t),
|
|
1467
1468
|
style: { color: r },
|
|
1468
1469
|
children: i
|
|
1469
1470
|
}) });
|
|
1470
1471
|
}
|
|
1471
|
-
var
|
|
1472
|
-
base:
|
|
1472
|
+
var jt = {
|
|
1473
|
+
base: U`
|
|
1473
1474
|
letter-spacing: 1px;
|
|
1474
1475
|
`,
|
|
1475
|
-
normal:
|
|
1476
|
+
normal: U`
|
|
1476
1477
|
font-weight: 500;
|
|
1477
1478
|
font-size: 1rem;
|
|
1478
1479
|
line-height: 1.2rem;
|
|
1479
1480
|
`,
|
|
1480
|
-
large:
|
|
1481
|
+
large: U`
|
|
1481
1482
|
font-weight: 600;
|
|
1482
1483
|
font-size: 1.4rem;
|
|
1483
1484
|
line-height: 1.2;
|
|
1484
1485
|
`,
|
|
1485
|
-
small:
|
|
1486
|
+
small: U`
|
|
1486
1487
|
font-weight: 500;
|
|
1487
1488
|
font-size: .9rem;
|
|
1488
1489
|
line-height: 1.2rem;
|
|
@@ -1490,46 +1491,46 @@ var Ot = {
|
|
|
1490
1491
|
};
|
|
1491
1492
|
//#endregion
|
|
1492
1493
|
//#region src/components/_space.jsx
|
|
1493
|
-
function
|
|
1494
|
-
return /* @__PURE__ */
|
|
1494
|
+
function Mt({ size: e = 1 }) {
|
|
1495
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", { style: {
|
|
1495
1496
|
height: e > 0 ? `${e}rem` : 0,
|
|
1496
1497
|
marginTop: e < 0 ? `${e}rem` : 0
|
|
1497
1498
|
} }) });
|
|
1498
1499
|
}
|
|
1499
1500
|
//#endregion
|
|
1500
1501
|
//#region src/components/_text-field.jsx
|
|
1501
|
-
function
|
|
1502
|
-
let
|
|
1503
|
-
|
|
1502
|
+
function Nt({ placeholder: e, value: t, width: n, isDisabled: r, onChange: s }) {
|
|
1503
|
+
let c = o(), f = i(t);
|
|
1504
|
+
a(() => {
|
|
1504
1505
|
f.value = t ?? "";
|
|
1505
1506
|
}, [t]);
|
|
1506
1507
|
function p({ target: e }) {
|
|
1507
|
-
f.value = e.value,
|
|
1508
|
+
f.value = e.value, s?.(f.value);
|
|
1508
1509
|
}
|
|
1509
|
-
return /* @__PURE__ */
|
|
1510
|
-
className:
|
|
1511
|
-
style: { width:
|
|
1512
|
-
"is-disabled":
|
|
1513
|
-
children: [!f.value && e && /* @__PURE__ */
|
|
1514
|
-
className:
|
|
1515
|
-
htmlFor:
|
|
1510
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
1511
|
+
className: Pt.base,
|
|
1512
|
+
style: { width: n },
|
|
1513
|
+
"is-disabled": r,
|
|
1514
|
+
children: [!f.value && e && /* @__PURE__ */ u("label", {
|
|
1515
|
+
className: Pt.label,
|
|
1516
|
+
htmlFor: c,
|
|
1516
1517
|
children: e
|
|
1517
|
-
}), /* @__PURE__ */
|
|
1518
|
-
id:
|
|
1519
|
-
name:
|
|
1520
|
-
className:
|
|
1518
|
+
}), /* @__PURE__ */ u("input", {
|
|
1519
|
+
id: c,
|
|
1520
|
+
name: c,
|
|
1521
|
+
className: Pt.input,
|
|
1521
1522
|
value: f.value,
|
|
1522
|
-
disabled:
|
|
1523
|
+
disabled: r,
|
|
1523
1524
|
autocomplete: "off",
|
|
1524
1525
|
onInput: p
|
|
1525
1526
|
})]
|
|
1526
1527
|
}) });
|
|
1527
1528
|
}
|
|
1528
|
-
var
|
|
1529
|
-
base:
|
|
1529
|
+
var Pt = {
|
|
1530
|
+
base: U`
|
|
1530
1531
|
position: relative;
|
|
1531
1532
|
`,
|
|
1532
|
-
label:
|
|
1533
|
+
label: U`
|
|
1533
1534
|
font-size: .875rem;
|
|
1534
1535
|
font-weight: 500;
|
|
1535
1536
|
opacity: .5;
|
|
@@ -1538,10 +1539,10 @@ var jt = {
|
|
|
1538
1539
|
top: .75rem;
|
|
1539
1540
|
pointer-events: none;
|
|
1540
1541
|
letter-spacing: 1px;
|
|
1541
|
-
font-family: ${
|
|
1542
|
-
color: ${
|
|
1542
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1543
|
+
color: ${W.colors.fore.primary};
|
|
1543
1544
|
`,
|
|
1544
|
-
input:
|
|
1545
|
+
input: U`
|
|
1545
1546
|
font-size: .875rem;
|
|
1546
1547
|
font-weight: 500;
|
|
1547
1548
|
color: rgb(58, 58, 58);
|
|
@@ -1552,21 +1553,21 @@ var jt = {
|
|
|
1552
1553
|
width: 100%;
|
|
1553
1554
|
border-radius: 8px;
|
|
1554
1555
|
letter-spacing: 1px;
|
|
1555
|
-
font-family: ${
|
|
1556
|
-
color: ${
|
|
1557
|
-
background-color: ${
|
|
1556
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1557
|
+
color: ${W.colors.fore.primary};
|
|
1558
|
+
background-color: ${W.colors.back.secondary};
|
|
1558
1559
|
`
|
|
1559
1560
|
};
|
|
1560
1561
|
//#endregion
|
|
1561
1562
|
//#region src/components/_dropdown.jsx
|
|
1562
|
-
function
|
|
1563
|
-
let
|
|
1564
|
-
|
|
1563
|
+
function Ft({ items: e = [], value: t, width: n, isDisabled: r = !1, onChange: o }) {
|
|
1564
|
+
let c = s(null), f = s(null), p = i(t ?? e[0]?.value ?? ""), m = i(!1), h = e[e.findIndex((e) => e.value === p.value)] ?? e[0], g = r || e.length === 0;
|
|
1565
|
+
a(() => {
|
|
1565
1566
|
t !== void 0 && (p.value = t);
|
|
1566
|
-
}, [t]),
|
|
1567
|
+
}, [t]), a(() => {
|
|
1567
1568
|
if (!m.value) return;
|
|
1568
1569
|
function e({ target: e }) {
|
|
1569
|
-
|
|
1570
|
+
c.current?.contains(e) || (m.value = !1);
|
|
1570
1571
|
}
|
|
1571
1572
|
return document.addEventListener("pointerdown", e), () => {
|
|
1572
1573
|
document.removeEventListener("pointerdown", e);
|
|
@@ -1583,44 +1584,44 @@ function Mt({ items: e = [], value: t, width: i, isDisabled: l = !1, onChange: u
|
|
|
1583
1584
|
_();
|
|
1584
1585
|
}
|
|
1585
1586
|
function y(e) {
|
|
1586
|
-
p.value = e.value, m.value = !1, f.current?.focus(),
|
|
1587
|
+
p.value = e.value, m.value = !1, f.current?.focus(), o?.(e.value, e);
|
|
1587
1588
|
}
|
|
1588
|
-
let b = /* @__PURE__ */
|
|
1589
|
+
let b = /* @__PURE__ */ d("button", {
|
|
1589
1590
|
ref: f,
|
|
1590
1591
|
type: "button",
|
|
1591
1592
|
className: Y.trigger,
|
|
1592
|
-
style: { width:
|
|
1593
|
+
style: { width: n },
|
|
1593
1594
|
disabled: g,
|
|
1594
1595
|
onClick: v,
|
|
1595
1596
|
children: [
|
|
1596
|
-
/* @__PURE__ */
|
|
1597
|
+
/* @__PURE__ */ u("span", {
|
|
1597
1598
|
className: Y.sizer,
|
|
1598
|
-
children: e.map((e) => /* @__PURE__ */
|
|
1599
|
+
children: e.map((e) => /* @__PURE__ */ u("span", {
|
|
1599
1600
|
className: Y.sizerValue,
|
|
1600
1601
|
children: e.label
|
|
1601
1602
|
}, e.value))
|
|
1602
1603
|
}),
|
|
1603
|
-
/* @__PURE__ */
|
|
1604
|
+
/* @__PURE__ */ u("span", {
|
|
1604
1605
|
className: Y.label,
|
|
1605
1606
|
children: h?.label
|
|
1606
1607
|
}),
|
|
1607
|
-
/* @__PURE__ */
|
|
1608
|
-
className:
|
|
1608
|
+
/* @__PURE__ */ u(G, {
|
|
1609
|
+
className: H(Y.icon, m.value && Y.iconOpen),
|
|
1609
1610
|
iconName: "down",
|
|
1610
1611
|
size: "1rem"
|
|
1611
1612
|
})
|
|
1612
1613
|
]
|
|
1613
1614
|
});
|
|
1614
|
-
return /* @__PURE__ */
|
|
1615
|
-
ref:
|
|
1615
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
1616
|
+
ref: c,
|
|
1616
1617
|
className: Y.base,
|
|
1617
1618
|
"is-disabled": g || void 0,
|
|
1618
|
-
children: /* @__PURE__ */
|
|
1619
|
+
children: /* @__PURE__ */ u(dt, {
|
|
1619
1620
|
className: Y.popup,
|
|
1620
1621
|
trigger: b,
|
|
1621
1622
|
isOpen: m.value,
|
|
1622
1623
|
origin: "left",
|
|
1623
|
-
children: e.map((e) => /* @__PURE__ */
|
|
1624
|
+
children: e.map((e) => /* @__PURE__ */ u("button", {
|
|
1624
1625
|
type: "button",
|
|
1625
1626
|
className: Y.option,
|
|
1626
1627
|
"is-selected": e.value === p.value || void 0,
|
|
@@ -1631,10 +1632,10 @@ function Mt({ items: e = [], value: t, width: i, isDisabled: l = !1, onChange: u
|
|
|
1631
1632
|
}) });
|
|
1632
1633
|
}
|
|
1633
1634
|
var Y = {
|
|
1634
|
-
base:
|
|
1635
|
+
base: U`
|
|
1635
1636
|
display: inline-block;
|
|
1636
1637
|
`,
|
|
1637
|
-
trigger:
|
|
1638
|
+
trigger: U`
|
|
1638
1639
|
display: inline-grid;
|
|
1639
1640
|
position: relative;
|
|
1640
1641
|
align-items: center;
|
|
@@ -1647,47 +1648,47 @@ var Y = {
|
|
|
1647
1648
|
font-size: .875rem;
|
|
1648
1649
|
font-weight: 500;
|
|
1649
1650
|
letter-spacing: 1px;
|
|
1650
|
-
color: ${
|
|
1651
|
-
background-color: ${
|
|
1652
|
-
font-family: ${
|
|
1651
|
+
color: ${W.colors.fore.primary};
|
|
1652
|
+
background-color: ${W.colors.back.secondary};
|
|
1653
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1653
1654
|
|
|
1654
1655
|
&:focus-visible {
|
|
1655
|
-
box-shadow: 0 0 0 2px ${
|
|
1656
|
+
box-shadow: 0 0 0 2px ${W.colors.primary};
|
|
1656
1657
|
}
|
|
1657
1658
|
|
|
1658
1659
|
&:disabled { cursor: default; }
|
|
1659
1660
|
`,
|
|
1660
|
-
sizer:
|
|
1661
|
+
sizer: U`
|
|
1661
1662
|
display: inline-grid;
|
|
1662
1663
|
visibility: hidden;
|
|
1663
1664
|
grid-area: 1 / 1;
|
|
1664
1665
|
`,
|
|
1665
|
-
sizerValue:
|
|
1666
|
+
sizerValue: U`
|
|
1666
1667
|
grid-area: 1 / 1;
|
|
1667
1668
|
white-space: nowrap;
|
|
1668
1669
|
`,
|
|
1669
|
-
label:
|
|
1670
|
+
label: U`
|
|
1670
1671
|
grid-area: 1 / 1;
|
|
1671
1672
|
overflow: hidden;
|
|
1672
1673
|
white-space: nowrap;
|
|
1673
1674
|
text-overflow: ellipsis;
|
|
1674
1675
|
`,
|
|
1675
|
-
icon:
|
|
1676
|
-
${
|
|
1676
|
+
icon: U`
|
|
1677
|
+
${W.extends.verticalCenter}
|
|
1677
1678
|
|
|
1678
1679
|
right: .75rem;
|
|
1679
1680
|
pointer-events: none;
|
|
1680
1681
|
`,
|
|
1681
|
-
iconOpen:
|
|
1682
|
+
iconOpen: U`
|
|
1682
1683
|
transform: translateY(-50%) rotate(180deg);
|
|
1683
1684
|
`,
|
|
1684
|
-
popup:
|
|
1685
|
+
popup: U`
|
|
1685
1686
|
display: grid;
|
|
1686
1687
|
gap: .125rem;
|
|
1687
1688
|
min-width: 0;
|
|
1688
1689
|
padding: .25rem;
|
|
1689
1690
|
`,
|
|
1690
|
-
option:
|
|
1691
|
+
option: U`
|
|
1691
1692
|
width: 100%;
|
|
1692
1693
|
padding: .6rem .75rem;
|
|
1693
1694
|
border-radius: 7px;
|
|
@@ -1695,48 +1696,48 @@ var Y = {
|
|
|
1695
1696
|
text-align: left;
|
|
1696
1697
|
white-space: nowrap;
|
|
1697
1698
|
font-size: .825rem;
|
|
1698
|
-
color: ${
|
|
1699
|
-
font-family: ${
|
|
1699
|
+
color: ${W.colors.fore.primary};
|
|
1700
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1700
1701
|
|
|
1701
1702
|
&:hover,
|
|
1702
1703
|
&:focus-visible,
|
|
1703
1704
|
&[is-selected] {
|
|
1704
|
-
background-color: ${
|
|
1705
|
+
background-color: ${W.colors.back.secondary};
|
|
1705
1706
|
}
|
|
1706
1707
|
`
|
|
1707
1708
|
};
|
|
1708
1709
|
//#endregion
|
|
1709
1710
|
//#region src/components/_slider.jsx
|
|
1710
|
-
function
|
|
1711
|
-
let f =
|
|
1711
|
+
function It({ label: e, items: t = [], value: n, isDisabled: r = !1, onSlide: s, onChange: c }) {
|
|
1712
|
+
let f = o(), p = i(n ?? t[0]?.value), m = Math.max(t.findIndex((e) => e.value === p.value), 0);
|
|
1712
1713
|
t[m];
|
|
1713
|
-
let h =
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
}, [
|
|
1714
|
+
let h = r || t.length < 2;
|
|
1715
|
+
a(() => {
|
|
1716
|
+
n !== void 0 && (p.value = n);
|
|
1717
|
+
}, [n]);
|
|
1717
1718
|
function g(e) {
|
|
1718
1719
|
return t[Number(e.currentTarget.value)];
|
|
1719
1720
|
}
|
|
1720
1721
|
function _(e) {
|
|
1721
1722
|
let t = g(e);
|
|
1722
|
-
t && (p.value = t.value,
|
|
1723
|
+
t && (p.value = t.value, s?.(t.value, t));
|
|
1723
1724
|
}
|
|
1724
1725
|
function v(e) {
|
|
1725
1726
|
let t = g(e);
|
|
1726
|
-
t &&
|
|
1727
|
+
t && c?.(t.value, t);
|
|
1727
1728
|
}
|
|
1728
|
-
return /* @__PURE__ */
|
|
1729
|
-
className:
|
|
1729
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
1730
|
+
className: Lt.base,
|
|
1730
1731
|
children: [
|
|
1731
|
-
e && /* @__PURE__ */
|
|
1732
|
-
className:
|
|
1732
|
+
e && /* @__PURE__ */ u("label", {
|
|
1733
|
+
className: Lt.label,
|
|
1733
1734
|
htmlFor: f,
|
|
1734
1735
|
children: e
|
|
1735
1736
|
}),
|
|
1736
|
-
/* @__PURE__ */
|
|
1737
|
+
/* @__PURE__ */ u("input", {
|
|
1737
1738
|
id: f,
|
|
1738
1739
|
type: "range",
|
|
1739
|
-
className:
|
|
1740
|
+
className: Lt.input,
|
|
1740
1741
|
min: "0",
|
|
1741
1742
|
max: Math.max(t.length - 1, 0),
|
|
1742
1743
|
step: "1",
|
|
@@ -1745,27 +1746,27 @@ function Nt({ label: e, items: t = [], value: a, isDisabled: l = !1, onSlide: u,
|
|
|
1745
1746
|
onInput: _,
|
|
1746
1747
|
onChange: v
|
|
1747
1748
|
}),
|
|
1748
|
-
/* @__PURE__ */
|
|
1749
|
-
className:
|
|
1750
|
-
children: t.map((e) => /* @__PURE__ */
|
|
1749
|
+
/* @__PURE__ */ u("div", {
|
|
1750
|
+
className: Lt.items,
|
|
1751
|
+
children: t.map((e) => /* @__PURE__ */ u("span", { children: e.label }, e.value))
|
|
1751
1752
|
})
|
|
1752
1753
|
]
|
|
1753
1754
|
}) });
|
|
1754
1755
|
}
|
|
1755
|
-
var
|
|
1756
|
-
base:
|
|
1756
|
+
var Lt = {
|
|
1757
|
+
base: U`
|
|
1757
1758
|
display: grid;
|
|
1758
1759
|
gap: .5rem;
|
|
1759
1760
|
width: 100%;
|
|
1760
|
-
font-family: ${
|
|
1761
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1761
1762
|
`,
|
|
1762
|
-
label:
|
|
1763
|
-
color: ${
|
|
1763
|
+
label: U`
|
|
1764
|
+
color: ${W.colors.fore.secondary};
|
|
1764
1765
|
font-size: .75rem;
|
|
1765
1766
|
font-weight: 500;
|
|
1766
1767
|
letter-spacing: 1px;
|
|
1767
1768
|
`,
|
|
1768
|
-
input:
|
|
1769
|
+
input: U`
|
|
1769
1770
|
appearance: none;
|
|
1770
1771
|
width: 100%;
|
|
1771
1772
|
height: 1.25rem;
|
|
@@ -1776,7 +1777,7 @@ var Pt = {
|
|
|
1776
1777
|
&::-webkit-slider-runnable-track {
|
|
1777
1778
|
height: .25rem;
|
|
1778
1779
|
border-radius: 1rem;
|
|
1779
|
-
background-color: ${
|
|
1780
|
+
background-color: ${W.colors.back.secondary};
|
|
1780
1781
|
}
|
|
1781
1782
|
|
|
1782
1783
|
&::-webkit-slider-thumb {
|
|
@@ -1784,48 +1785,48 @@ var Pt = {
|
|
|
1784
1785
|
width: 1rem;
|
|
1785
1786
|
height: 1rem;
|
|
1786
1787
|
margin-top: -.375rem;
|
|
1787
|
-
border: solid 2px ${
|
|
1788
|
+
border: solid 2px ${W.colors.back.primary};
|
|
1788
1789
|
border-radius: 50%;
|
|
1789
|
-
border: solid 1px ${
|
|
1790
|
-
background-color: ${
|
|
1790
|
+
border: solid 1px ${r(W.colors.primary, .3)};
|
|
1791
|
+
background-color: ${W.colors.primary};
|
|
1791
1792
|
}
|
|
1792
1793
|
|
|
1793
1794
|
&:disabled::-webkit-slider-thumb {
|
|
1794
|
-
border-color: ${
|
|
1795
|
-
background-color: ${
|
|
1795
|
+
border-color: ${W.colors.border};
|
|
1796
|
+
background-color: ${W.colors.border};
|
|
1796
1797
|
}
|
|
1797
1798
|
|
|
1798
1799
|
&::-moz-range-track {
|
|
1799
1800
|
height: .25rem;
|
|
1800
1801
|
border-radius: 1rem;
|
|
1801
|
-
background-color: ${
|
|
1802
|
+
background-color: ${W.colors.back.secondary};
|
|
1802
1803
|
}
|
|
1803
1804
|
|
|
1804
1805
|
&::-moz-range-thumb {
|
|
1805
1806
|
width: .75rem;
|
|
1806
1807
|
height: .75rem;
|
|
1807
|
-
border: solid 2px ${
|
|
1808
|
+
border: solid 2px ${W.colors.back.primary};
|
|
1808
1809
|
border-radius: 50%;
|
|
1809
|
-
background-color: ${
|
|
1810
|
+
background-color: ${W.colors.primary};
|
|
1810
1811
|
}
|
|
1811
1812
|
|
|
1812
1813
|
&:disabled::-moz-range-thumb {
|
|
1813
|
-
border-color: ${
|
|
1814
|
-
background-color: ${
|
|
1814
|
+
border-color: ${W.colors.border};
|
|
1815
|
+
background-color: ${W.colors.border};
|
|
1815
1816
|
}
|
|
1816
1817
|
|
|
1817
1818
|
&:focus-visible {
|
|
1818
|
-
outline: solid 2px ${
|
|
1819
|
+
outline: solid 2px ${W.colors.primary};
|
|
1819
1820
|
outline-offset: .25rem;
|
|
1820
1821
|
border-radius: 1rem;
|
|
1821
1822
|
}
|
|
1822
1823
|
|
|
1823
1824
|
&:disabled { cursor: default; }
|
|
1824
1825
|
`,
|
|
1825
|
-
items:
|
|
1826
|
+
items: U`
|
|
1826
1827
|
display: flex;
|
|
1827
1828
|
justify-content: space-between;
|
|
1828
|
-
color: ${
|
|
1829
|
+
color: ${W.colors.fore.secondary};
|
|
1829
1830
|
font-size: .65rem;
|
|
1830
1831
|
font-weight: 500;
|
|
1831
1832
|
letter-spacing: .6px;
|
|
@@ -1833,45 +1834,45 @@ var Pt = {
|
|
|
1833
1834
|
};
|
|
1834
1835
|
//#endregion
|
|
1835
1836
|
//#region src/components/_checkbox.jsx
|
|
1836
|
-
function
|
|
1837
|
-
let
|
|
1838
|
-
|
|
1839
|
-
|
|
1837
|
+
function Rt({ label: e, isChecked: t = !1, isDisabled: n = !1, onChange: r }) {
|
|
1838
|
+
let s = o(), c = i(t);
|
|
1839
|
+
a(() => {
|
|
1840
|
+
c.value = t;
|
|
1840
1841
|
}, [t]);
|
|
1841
1842
|
function f() {
|
|
1842
|
-
let e = !
|
|
1843
|
-
|
|
1843
|
+
let e = !c.value;
|
|
1844
|
+
c.value = e, r?.(e);
|
|
1844
1845
|
}
|
|
1845
|
-
return /* @__PURE__ */
|
|
1846
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
1846
1847
|
className: X.base,
|
|
1847
|
-
children: [/* @__PURE__ */
|
|
1848
|
-
id:
|
|
1848
|
+
children: [/* @__PURE__ */ u("input", {
|
|
1849
|
+
id: s,
|
|
1849
1850
|
type: "checkbox",
|
|
1850
1851
|
className: X.input,
|
|
1851
|
-
checked:
|
|
1852
|
-
disabled:
|
|
1852
|
+
checked: c.value,
|
|
1853
|
+
disabled: n,
|
|
1853
1854
|
onChange: f
|
|
1854
|
-
}), /* @__PURE__ */
|
|
1855
|
+
}), /* @__PURE__ */ d("label", {
|
|
1855
1856
|
className: X.label,
|
|
1856
|
-
htmlFor:
|
|
1857
|
-
children: [/* @__PURE__ */
|
|
1857
|
+
htmlFor: s,
|
|
1858
|
+
children: [/* @__PURE__ */ u("span", {
|
|
1858
1859
|
className: X.indicator,
|
|
1859
|
-
children: /* @__PURE__ */
|
|
1860
|
+
children: /* @__PURE__ */ u(G, {
|
|
1860
1861
|
className: X.icon,
|
|
1861
1862
|
iconName: "check",
|
|
1862
1863
|
size: ".75rem"
|
|
1863
1864
|
})
|
|
1864
|
-
}), e && /* @__PURE__ */
|
|
1865
|
+
}), e && /* @__PURE__ */ u("span", { children: e })]
|
|
1865
1866
|
})]
|
|
1866
1867
|
}) });
|
|
1867
1868
|
}
|
|
1868
1869
|
var X = {
|
|
1869
|
-
base:
|
|
1870
|
+
base: U`
|
|
1870
1871
|
position: relative;
|
|
1871
1872
|
display: inline-block;
|
|
1872
|
-
font-family: ${
|
|
1873
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1873
1874
|
`,
|
|
1874
|
-
input:
|
|
1875
|
+
input: U`
|
|
1875
1876
|
position: absolute;
|
|
1876
1877
|
width: 1px;
|
|
1877
1878
|
height: 1px;
|
|
@@ -1881,14 +1882,14 @@ var X = {
|
|
|
1881
1882
|
white-space: nowrap;
|
|
1882
1883
|
|
|
1883
1884
|
&:checked + label > span:first-child {
|
|
1884
|
-
border-color: ${
|
|
1885
|
-
background-color: ${
|
|
1885
|
+
border-color: ${W.colors.primary};
|
|
1886
|
+
background-color: ${W.colors.primary};
|
|
1886
1887
|
}
|
|
1887
1888
|
|
|
1888
1889
|
&:checked + label svg { opacity: 1; }
|
|
1889
1890
|
|
|
1890
1891
|
&:focus-visible + label > span:first-child {
|
|
1891
|
-
box-shadow: 0 0 0 2px ${
|
|
1892
|
+
box-shadow: 0 0 0 2px ${W.colors.primary};
|
|
1892
1893
|
}
|
|
1893
1894
|
|
|
1894
1895
|
&:disabled + label {
|
|
@@ -1896,95 +1897,95 @@ var X = {
|
|
|
1896
1897
|
opacity: .5;
|
|
1897
1898
|
}
|
|
1898
1899
|
`,
|
|
1899
|
-
label:
|
|
1900
|
+
label: U`
|
|
1900
1901
|
display: inline-flex;
|
|
1901
1902
|
gap: .5rem;
|
|
1902
1903
|
align-items: center;
|
|
1903
1904
|
cursor: pointer;
|
|
1904
1905
|
user-select: none;
|
|
1905
|
-
color: ${
|
|
1906
|
+
color: ${W.colors.fore.secondary};
|
|
1906
1907
|
font-size: .75rem;
|
|
1907
1908
|
font-weight: 500;
|
|
1908
1909
|
letter-spacing: 1px;
|
|
1909
1910
|
`,
|
|
1910
|
-
indicator:
|
|
1911
|
+
indicator: U`
|
|
1911
1912
|
display: grid;
|
|
1912
1913
|
place-items: center;
|
|
1913
1914
|
box-sizing: border-box;
|
|
1914
1915
|
width: 1rem;
|
|
1915
1916
|
height: 1rem;
|
|
1916
|
-
border: solid 1px ${
|
|
1917
|
+
border: solid 1px ${W.colors.border};
|
|
1917
1918
|
border-radius: 4px;
|
|
1918
|
-
background-color: ${
|
|
1919
|
+
background-color: ${W.colors.back.primary};
|
|
1919
1920
|
transition: background-color .15s ease, border-color .15s ease;
|
|
1920
1921
|
`,
|
|
1921
|
-
icon:
|
|
1922
|
+
icon: U`
|
|
1922
1923
|
opacity: 0;
|
|
1923
|
-
color: ${
|
|
1924
|
+
color: ${W.colors.fore.primary};
|
|
1924
1925
|
transition: opacity .15s ease;
|
|
1925
1926
|
`
|
|
1926
|
-
},
|
|
1927
|
-
function
|
|
1928
|
-
let
|
|
1929
|
-
|
|
1927
|
+
}, zt = 28, Bt = 3, Vt = 11;
|
|
1928
|
+
function Ht({ label: e, isChecked: t, isDisabled: n, onChange: r }) {
|
|
1929
|
+
let s = o(), c = i(t);
|
|
1930
|
+
a(() => c.value = t, [t]);
|
|
1930
1931
|
function f() {
|
|
1931
|
-
let e = !
|
|
1932
|
-
|
|
1932
|
+
let e = !c.value;
|
|
1933
|
+
c.value = e, r?.(e);
|
|
1933
1934
|
}
|
|
1934
|
-
return /* @__PURE__ */
|
|
1935
|
-
className:
|
|
1935
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
1936
|
+
className: Ut.base,
|
|
1936
1937
|
children: [
|
|
1937
|
-
/* @__PURE__ */
|
|
1938
|
-
className:
|
|
1939
|
-
htmlFor:
|
|
1940
|
-
"is-disabled":
|
|
1938
|
+
/* @__PURE__ */ u("label", {
|
|
1939
|
+
className: Ut.label,
|
|
1940
|
+
htmlFor: s,
|
|
1941
|
+
"is-disabled": n,
|
|
1941
1942
|
children: e
|
|
1942
1943
|
}),
|
|
1943
|
-
/* @__PURE__ */
|
|
1944
|
-
id:
|
|
1944
|
+
/* @__PURE__ */ u("input", {
|
|
1945
|
+
id: s,
|
|
1945
1946
|
type: "checkbox",
|
|
1946
|
-
className:
|
|
1947
|
-
checked:
|
|
1948
|
-
disabled:
|
|
1947
|
+
className: Ut.checkbox,
|
|
1948
|
+
checked: c.value,
|
|
1949
|
+
disabled: n,
|
|
1949
1950
|
onChange: f
|
|
1950
1951
|
}),
|
|
1951
|
-
/* @__PURE__ */
|
|
1952
|
-
className:
|
|
1953
|
-
htmlFor:
|
|
1954
|
-
"is-disabled":
|
|
1952
|
+
/* @__PURE__ */ u("label", {
|
|
1953
|
+
className: Ut.value,
|
|
1954
|
+
htmlFor: s,
|
|
1955
|
+
"is-disabled": n
|
|
1955
1956
|
})
|
|
1956
1957
|
]
|
|
1957
1958
|
}) });
|
|
1958
1959
|
}
|
|
1959
|
-
var
|
|
1960
|
-
base:
|
|
1960
|
+
var Ut = {
|
|
1961
|
+
base: U`
|
|
1961
1962
|
position: relative;
|
|
1962
1963
|
display: flex;
|
|
1963
1964
|
gap: .5rem;
|
|
1964
1965
|
`,
|
|
1965
|
-
label:
|
|
1966
|
+
label: U`
|
|
1966
1967
|
display: inline-block;
|
|
1967
1968
|
font-size: .75rem;
|
|
1968
1969
|
line-height: 1.2rem;
|
|
1969
1970
|
cursor: pointer;
|
|
1970
1971
|
user-select: none;
|
|
1971
1972
|
font-weight: 500;
|
|
1972
|
-
font-family: ${
|
|
1973
|
-
color: ${
|
|
1973
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
1974
|
+
color: ${W.colors.fore.secondary};
|
|
1974
1975
|
`,
|
|
1975
|
-
checkbox:
|
|
1976
|
+
checkbox: U`
|
|
1976
1977
|
display: none;
|
|
1977
1978
|
|
|
1978
1979
|
&:checked ~ label {
|
|
1979
1980
|
background-color: #e1e1e1;
|
|
1980
1981
|
|
|
1981
1982
|
&:before {
|
|
1982
|
-
right: ${
|
|
1983
|
+
right: ${Bt}px;
|
|
1983
1984
|
background-color: #3a3a3a;
|
|
1984
1985
|
}
|
|
1985
1986
|
}
|
|
1986
1987
|
`,
|
|
1987
|
-
value:
|
|
1988
|
+
value: U`
|
|
1988
1989
|
display: inline-block;
|
|
1989
1990
|
position: relative;
|
|
1990
1991
|
height: 1.1rem;
|
|
@@ -1992,8 +1993,8 @@ var Bt = {
|
|
|
1992
1993
|
cursor: pointer;
|
|
1993
1994
|
user-select: none;
|
|
1994
1995
|
transition: background .3s ease;
|
|
1995
|
-
width: ${
|
|
1996
|
-
background-color: ${
|
|
1996
|
+
width: ${zt}px;
|
|
1997
|
+
background-color: ${W.colors.back.secondary};
|
|
1997
1998
|
|
|
1998
1999
|
&:before {
|
|
1999
2000
|
background-color: #e1e1e1;
|
|
@@ -2002,22 +2003,22 @@ var Bt = {
|
|
|
2002
2003
|
position: absolute;
|
|
2003
2004
|
transition: background .3s ease, right .3s ease;
|
|
2004
2005
|
border-radius: 50%;
|
|
2005
|
-
top: ${
|
|
2006
|
+
top: ${Bt}px;
|
|
2006
2007
|
right: ${14}px;
|
|
2007
|
-
width: ${
|
|
2008
|
-
height: ${
|
|
2008
|
+
width: ${Vt}px;
|
|
2009
|
+
height: ${Vt}px;
|
|
2009
2010
|
}
|
|
2010
2011
|
`
|
|
2011
2012
|
};
|
|
2012
2013
|
//#endregion
|
|
2013
2014
|
//#region src/components/_tag.jsx
|
|
2014
|
-
function
|
|
2015
|
-
return /* @__PURE__ */
|
|
2016
|
-
className:
|
|
2017
|
-
"has-icon": !
|
|
2018
|
-
children: [r && /* @__PURE__ */
|
|
2019
|
-
className:
|
|
2020
|
-
${
|
|
2015
|
+
function Wt({ className: e, variant: t = "normal", iconName: r = "", label: i }) {
|
|
2016
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
2017
|
+
className: H(Gt.base, Gt[t] ?? Gt.normal, e),
|
|
2018
|
+
"has-icon": !n(r),
|
|
2019
|
+
children: [r && /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u(G, {
|
|
2020
|
+
className: U`
|
|
2021
|
+
${W.extends.verticalCenter}
|
|
2021
2022
|
left: .3rem;
|
|
2022
2023
|
`,
|
|
2023
2024
|
iconName: r,
|
|
@@ -2025,7 +2026,7 @@ function Vt({ className: t, variant: n = "normal", iconName: r = "", label: i })
|
|
|
2025
2026
|
}) }), i]
|
|
2026
2027
|
}) });
|
|
2027
2028
|
}
|
|
2028
|
-
var
|
|
2029
|
+
var Gt = { base: U`
|
|
2029
2030
|
position: relative;
|
|
2030
2031
|
display: inline-block;
|
|
2031
2032
|
padding: .3rem .5rem;
|
|
@@ -2033,48 +2034,49 @@ var Ht = { base: H`
|
|
|
2033
2034
|
white-space: pre-wrap;
|
|
2034
2035
|
font-size: .7rem;
|
|
2035
2036
|
font-weight: 600;
|
|
2036
|
-
border: solid 1px ${
|
|
2037
|
-
background-color: ${
|
|
2038
|
-
color: ${
|
|
2037
|
+
border: solid 1px ${W.colors.border};
|
|
2038
|
+
background-color: ${W.colors.back.secondary};
|
|
2039
|
+
color: ${W.colors.fore.primary};
|
|
2039
2040
|
|
|
2040
2041
|
&[has-icon="true"] { padding-left: 1.5rem; }
|
|
2041
2042
|
` };
|
|
2042
2043
|
//#endregion
|
|
2043
2044
|
//#region src/components/_icon-button.jsx
|
|
2044
|
-
function
|
|
2045
|
-
function
|
|
2046
|
-
|
|
2045
|
+
function Kt({ iconName: e, color: t, ariaLabel: n, isDisabled: r, onClick: i }) {
|
|
2046
|
+
function a(e) {
|
|
2047
|
+
r || (e.stopPropagation(), e.preventDefault(), i?.(e));
|
|
2047
2048
|
}
|
|
2048
|
-
return /* @__PURE__ */
|
|
2049
|
-
className:
|
|
2050
|
-
"is-disabled":
|
|
2051
|
-
"is-clickable": !!
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2049
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("button", {
|
|
2050
|
+
className: qt.base,
|
|
2051
|
+
"is-disabled": r || void 0,
|
|
2052
|
+
"is-clickable": !!i || void 0,
|
|
2053
|
+
"aria-label": n,
|
|
2054
|
+
disabled: r,
|
|
2055
|
+
onClick: a,
|
|
2056
|
+
children: /* @__PURE__ */ u(G, {
|
|
2055
2057
|
color: t,
|
|
2056
|
-
className:
|
|
2058
|
+
className: U`${W.extends.centrate}`,
|
|
2057
2059
|
iconName: e,
|
|
2058
|
-
isDisabled:
|
|
2060
|
+
isDisabled: r
|
|
2059
2061
|
})
|
|
2060
2062
|
}) });
|
|
2061
2063
|
}
|
|
2062
|
-
var
|
|
2064
|
+
var qt = { base: U`
|
|
2063
2065
|
position: relative;
|
|
2064
2066
|
width: 2.25rem;
|
|
2065
2067
|
height: 2.25rem;
|
|
2066
2068
|
border-radius: 8px;
|
|
2067
|
-
background-color: ${
|
|
2069
|
+
background-color: ${W.colors.back.secondary};
|
|
2068
2070
|
` };
|
|
2069
2071
|
//#endregion
|
|
2070
2072
|
//#region src/components/_counter.jsx
|
|
2071
|
-
function
|
|
2072
|
-
return e == null ? /* @__PURE__ */
|
|
2073
|
-
className:
|
|
2073
|
+
function Jt({ value: e }) {
|
|
2074
|
+
return e == null ? /* @__PURE__ */ u(l, {}) : /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("span", {
|
|
2075
|
+
className: Yt.base,
|
|
2074
2076
|
children: e
|
|
2075
2077
|
}) });
|
|
2076
2078
|
}
|
|
2077
|
-
var
|
|
2079
|
+
var Yt = { base: U`
|
|
2078
2080
|
display: inline-flex;
|
|
2079
2081
|
align-items: center;
|
|
2080
2082
|
justify-content: center;
|
|
@@ -2082,7 +2084,7 @@ var Kt = { base: H`
|
|
|
2082
2084
|
height: 1.2rem;
|
|
2083
2085
|
padding: 0 .2rem;
|
|
2084
2086
|
border-radius: 50%;
|
|
2085
|
-
color: ${
|
|
2087
|
+
color: ${W.colors.fore.primary};
|
|
2086
2088
|
background-color: #e1e1e1;
|
|
2087
2089
|
font-size: .7rem;
|
|
2088
2090
|
font-weight: 700;
|
|
@@ -2090,31 +2092,31 @@ var Kt = { base: H`
|
|
|
2090
2092
|
` };
|
|
2091
2093
|
//#endregion
|
|
2092
2094
|
//#region src/components/_tab-box.jsx
|
|
2093
|
-
function
|
|
2094
|
-
let
|
|
2095
|
+
function Xt({ className: e, width: t, height: n, initialIndex: r = 0, items: a = [], onChange: o }) {
|
|
2096
|
+
let s = Math.max(a.length - 1, 0), c = i(Math.min(Math.max(r, 0), s)), f = Math.min(c.value, s);
|
|
2095
2097
|
function p(e) {
|
|
2096
|
-
e !== f && (
|
|
2098
|
+
e !== f && (c.value = e, o?.(e, a[e]));
|
|
2097
2099
|
}
|
|
2098
|
-
return /* @__PURE__ */
|
|
2099
|
-
className:
|
|
2100
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
2101
|
+
className: H(Z.base, e),
|
|
2100
2102
|
style: { width: t },
|
|
2101
|
-
children: [/* @__PURE__ */
|
|
2103
|
+
children: [/* @__PURE__ */ u(Ct, {
|
|
2102
2104
|
className: Z.box,
|
|
2103
|
-
height:
|
|
2104
|
-
children: /* @__PURE__ */
|
|
2105
|
+
height: n,
|
|
2106
|
+
children: /* @__PURE__ */ u("div", {
|
|
2105
2107
|
className: Z.track,
|
|
2106
2108
|
style: { transform: `translateX(-${f * 100}%)` },
|
|
2107
|
-
children: a.map((e, t) => /* @__PURE__ */
|
|
2109
|
+
children: a.map((e, t) => /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
2108
2110
|
className: Z.panel,
|
|
2109
2111
|
inert: t !== f || void 0,
|
|
2110
2112
|
children: e.content
|
|
2111
2113
|
}, e.id ?? t) }))
|
|
2112
2114
|
})
|
|
2113
|
-
}), a.length > 0 && /* @__PURE__ */
|
|
2115
|
+
}), a.length > 0 && /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
2114
2116
|
className: Z.tabs,
|
|
2115
2117
|
children: a.map((e, t) => {
|
|
2116
2118
|
let n = t === f, r = e.counter ?? e.notification;
|
|
2117
|
-
return /* @__PURE__ */
|
|
2119
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("button", {
|
|
2118
2120
|
className: Z.tab,
|
|
2119
2121
|
style: e.width == null ? void 0 : {
|
|
2120
2122
|
flex: `0 0 ${e.width}`,
|
|
@@ -2124,12 +2126,12 @@ function qt({ className: e, width: t, height: r, initialIndex: i = 0, items: a =
|
|
|
2124
2126
|
"is-active": n || void 0,
|
|
2125
2127
|
onClick: () => p(t),
|
|
2126
2128
|
children: [
|
|
2127
|
-
e.iconName && /* @__PURE__ */
|
|
2129
|
+
e.iconName && /* @__PURE__ */ u(G, {
|
|
2128
2130
|
iconName: e.iconName,
|
|
2129
2131
|
size: "1rem"
|
|
2130
2132
|
}),
|
|
2131
|
-
e.label && /* @__PURE__ */
|
|
2132
|
-
/* @__PURE__ */
|
|
2133
|
+
e.label && /* @__PURE__ */ u("span", { children: e.label }),
|
|
2134
|
+
/* @__PURE__ */ u(Jt, { value: r })
|
|
2133
2135
|
]
|
|
2134
2136
|
}, e.id ?? t) });
|
|
2135
2137
|
})
|
|
@@ -2137,17 +2139,17 @@ function qt({ className: e, width: t, height: r, initialIndex: i = 0, items: a =
|
|
|
2137
2139
|
}) });
|
|
2138
2140
|
}
|
|
2139
2141
|
var Z = {
|
|
2140
|
-
base:
|
|
2142
|
+
base: U`
|
|
2141
2143
|
position: relative;
|
|
2142
2144
|
max-width: 100%;
|
|
2143
2145
|
`,
|
|
2144
|
-
box:
|
|
2145
|
-
z-index: ${
|
|
2146
|
+
box: U`
|
|
2147
|
+
z-index: ${W.zIndex.front};
|
|
2146
2148
|
width: 100%;
|
|
2147
2149
|
padding: 0;
|
|
2148
2150
|
overflow: hidden;
|
|
2149
2151
|
`,
|
|
2150
|
-
track:
|
|
2152
|
+
track: U`
|
|
2151
2153
|
display: flex;
|
|
2152
2154
|
width: 100%;
|
|
2153
2155
|
min-height: 100%;
|
|
@@ -2156,12 +2158,12 @@ var Z = {
|
|
|
2156
2158
|
|
|
2157
2159
|
@media (prefers-reduced-motion: reduce) { transition: none; }
|
|
2158
2160
|
`,
|
|
2159
|
-
panel:
|
|
2161
|
+
panel: U`
|
|
2160
2162
|
flex: 0 0 100%;
|
|
2161
2163
|
min-width: 0;
|
|
2162
2164
|
padding: 1.875rem 1.25rem;
|
|
2163
2165
|
`,
|
|
2164
|
-
tabs:
|
|
2166
|
+
tabs: U`
|
|
2165
2167
|
display: flex;
|
|
2166
2168
|
position: relative;
|
|
2167
2169
|
margin-top: -1rem;
|
|
@@ -2169,9 +2171,9 @@ var Z = {
|
|
|
2169
2171
|
border: solid 2px #eee;
|
|
2170
2172
|
border-top: 0;
|
|
2171
2173
|
border-radius: 0 0 18px 18px;
|
|
2172
|
-
background-color: ${
|
|
2174
|
+
background-color: ${W.colors.back.secondary};
|
|
2173
2175
|
`,
|
|
2174
|
-
tab:
|
|
2176
|
+
tab: U`
|
|
2175
2177
|
display: flex;
|
|
2176
2178
|
flex: 1 1 0;
|
|
2177
2179
|
align-items: center;
|
|
@@ -2184,63 +2186,63 @@ var Z = {
|
|
|
2184
2186
|
font-size: .8rem;
|
|
2185
2187
|
font-weight: 600;
|
|
2186
2188
|
transition: color .2s ease, background-color .2s ease;
|
|
2187
|
-
color: ${
|
|
2188
|
-
font-family: ${
|
|
2189
|
+
color: ${W.colors.fore.secondary};
|
|
2190
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
2189
2191
|
|
|
2190
2192
|
& + & { border-left: solid 1px #e5e7e9; }
|
|
2191
2193
|
|
|
2192
2194
|
&[is-active] {
|
|
2193
|
-
color: ${
|
|
2194
|
-
background-color: ${
|
|
2195
|
+
color: ${W.colors.fore.primary};
|
|
2196
|
+
background-color: ${W.colors.back.primary};
|
|
2195
2197
|
}
|
|
2196
2198
|
`
|
|
2197
2199
|
};
|
|
2198
2200
|
//#endregion
|
|
2199
2201
|
//#region src/components/_tab-container.jsx
|
|
2200
|
-
function
|
|
2201
|
-
let
|
|
2202
|
+
function Zt({ className: e, initialIndex: t = 0, isTabsFullWidth: n = !0, items: r = [], onChange: a, width: o }) {
|
|
2203
|
+
let s = Math.max(r.length - 1, 0), c = i(Math.min(Math.max(t, 0), s)), f = Math.min(c.value, s), p = r[f];
|
|
2202
2204
|
function m(e) {
|
|
2203
|
-
e !== f && (
|
|
2205
|
+
e !== f && (c.value = e, a?.(e, r[e]));
|
|
2204
2206
|
}
|
|
2205
|
-
return /* @__PURE__ */
|
|
2206
|
-
className:
|
|
2207
|
-
style: { width:
|
|
2208
|
-
children:
|
|
2209
|
-
className:
|
|
2210
|
-
children:
|
|
2211
|
-
let
|
|
2212
|
-
return /* @__PURE__ */
|
|
2213
|
-
className:
|
|
2207
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u("div", {
|
|
2208
|
+
className: H(Q.base, e),
|
|
2209
|
+
style: { width: o },
|
|
2210
|
+
children: r.length > 0 && /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("div", {
|
|
2211
|
+
className: H(Q.tabs, !n && Q.tabsCompact),
|
|
2212
|
+
children: r.map((e, t) => {
|
|
2213
|
+
let r = t === f, i = e.counter ?? e.notification;
|
|
2214
|
+
return /* @__PURE__ */ d("button", {
|
|
2215
|
+
className: H(Q.tab, !n && Q.tabCompact),
|
|
2214
2216
|
type: "button",
|
|
2215
|
-
"is-active":
|
|
2217
|
+
"is-active": r || void 0,
|
|
2216
2218
|
onClick: () => m(t),
|
|
2217
|
-
children: [e.label, /* @__PURE__ */
|
|
2219
|
+
children: [e.label, /* @__PURE__ */ u(Jt, { value: i })]
|
|
2218
2220
|
}, e.id ?? t);
|
|
2219
2221
|
})
|
|
2220
|
-
}), /* @__PURE__ */
|
|
2222
|
+
}), /* @__PURE__ */ u("div", {
|
|
2221
2223
|
className: Q.panel,
|
|
2222
2224
|
children: p?.content
|
|
2223
2225
|
})] })
|
|
2224
2226
|
}) });
|
|
2225
2227
|
}
|
|
2226
2228
|
var Q = {
|
|
2227
|
-
base:
|
|
2229
|
+
base: U`
|
|
2228
2230
|
position: relative;
|
|
2229
2231
|
width: 100%;
|
|
2230
2232
|
max-width: 100%;
|
|
2231
2233
|
`,
|
|
2232
|
-
tabs:
|
|
2234
|
+
tabs: U`
|
|
2233
2235
|
display: flex;
|
|
2234
2236
|
gap: .25rem;
|
|
2235
2237
|
padding: .25rem;
|
|
2236
2238
|
border-radius: 12px;
|
|
2237
|
-
background-color: ${
|
|
2239
|
+
background-color: ${W.colors.back.secondary};
|
|
2238
2240
|
`,
|
|
2239
|
-
tabsCompact:
|
|
2241
|
+
tabsCompact: U`
|
|
2240
2242
|
display: inline-flex;
|
|
2241
2243
|
max-width: 100%;
|
|
2242
2244
|
`,
|
|
2243
|
-
tab:
|
|
2245
|
+
tab: U`
|
|
2244
2246
|
display: flex;
|
|
2245
2247
|
flex: 1 1 0;
|
|
2246
2248
|
align-items: center;
|
|
@@ -2250,23 +2252,23 @@ var Q = {
|
|
|
2250
2252
|
min-height: 2.5rem;
|
|
2251
2253
|
padding: .5rem .75rem;
|
|
2252
2254
|
border-radius: 9px;
|
|
2253
|
-
color: ${
|
|
2255
|
+
color: ${W.colors.fore.secondary};
|
|
2254
2256
|
cursor: pointer;
|
|
2255
|
-
font-family: ${
|
|
2257
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
2256
2258
|
font-size: .8rem;
|
|
2257
2259
|
font-weight: 600;
|
|
2258
2260
|
transition: color .2s ease, background-color .2s ease;
|
|
2259
2261
|
|
|
2260
2262
|
&[is-active] {
|
|
2261
|
-
color: ${
|
|
2262
|
-
background-color: ${
|
|
2263
|
+
color: ${W.colors.fore.primary};
|
|
2264
|
+
background-color: ${W.colors.back.primary};
|
|
2263
2265
|
box-shadow: 0 2px 8px rgb(22 24 38 / 7%);
|
|
2264
2266
|
}
|
|
2265
2267
|
`,
|
|
2266
|
-
tabCompact:
|
|
2268
|
+
tabCompact: U`
|
|
2267
2269
|
flex: 0 0 auto;
|
|
2268
2270
|
`,
|
|
2269
|
-
panel:
|
|
2271
|
+
panel: U`
|
|
2270
2272
|
width: 100%;
|
|
2271
2273
|
min-width: 0;
|
|
2272
2274
|
padding: 2rem 0;
|
|
@@ -2274,119 +2276,235 @@ var Q = {
|
|
|
2274
2276
|
};
|
|
2275
2277
|
//#endregion
|
|
2276
2278
|
//#region src/components/_table.jsx
|
|
2277
|
-
function
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2279
|
+
function Qt({ id: e, tableId: t, sortColumns: n, settings: r, title: i, columns: a = [], rows: o = [], width: s, height: c, hasLineNumbers: f = !0, sortBy: p, sortDirection: m = "asc", onRowClick: h, className: g }) {
|
|
2280
|
+
if (e) return /* @__PURE__ */ u($t, {
|
|
2281
|
+
id: e,
|
|
2282
|
+
title: i,
|
|
2283
|
+
columns: a,
|
|
2284
|
+
rows: o,
|
|
2285
|
+
width: s,
|
|
2286
|
+
height: c,
|
|
2287
|
+
sortBy: p,
|
|
2288
|
+
sortDirection: m,
|
|
2289
|
+
onRowClick: h,
|
|
2290
|
+
className: g
|
|
2291
|
+
});
|
|
2292
|
+
let _ = un(o, n ?? a, p, m);
|
|
2293
|
+
function v(e, t, n) {
|
|
2294
|
+
fn(e) || h?.(e, t, n);
|
|
2281
2295
|
}
|
|
2282
|
-
function
|
|
2283
|
-
["Enter", " "].includes(e.key) && (
|
|
2296
|
+
function y(e, t, n) {
|
|
2297
|
+
["Enter", " "].includes(e.key) && (fn(e) || (e.preventDefault(), v(e, t, n)));
|
|
2284
2298
|
}
|
|
2285
|
-
return /* @__PURE__ */
|
|
2286
|
-
className:
|
|
2299
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("div", {
|
|
2300
|
+
className: H($.base, g),
|
|
2287
2301
|
style: {
|
|
2288
|
-
width:
|
|
2289
|
-
height:
|
|
2302
|
+
width: s,
|
|
2303
|
+
height: c
|
|
2290
2304
|
},
|
|
2291
|
-
children: /* @__PURE__ */
|
|
2305
|
+
children: [(i || r) && /* @__PURE__ */ d("header", {
|
|
2306
|
+
className: $.header,
|
|
2307
|
+
children: [i && /* @__PURE__ */ d("div", {
|
|
2308
|
+
className: $.heading,
|
|
2309
|
+
children: [/* @__PURE__ */ u(At, {
|
|
2310
|
+
size: "large",
|
|
2311
|
+
children: i
|
|
2312
|
+
}), /* @__PURE__ */ u(ht, {
|
|
2313
|
+
size: "small",
|
|
2314
|
+
color: W.colors.fore.secondary,
|
|
2315
|
+
children: o.length
|
|
2316
|
+
})]
|
|
2317
|
+
}), r]
|
|
2318
|
+
}), /* @__PURE__ */ d("table", {
|
|
2319
|
+
id: t ?? e,
|
|
2292
2320
|
className: $.table,
|
|
2293
2321
|
children: [
|
|
2294
|
-
/* @__PURE__ */
|
|
2295
|
-
/* @__PURE__ */
|
|
2322
|
+
/* @__PURE__ */ d("colgroup", { children: [f && /* @__PURE__ */ u("col", { className: $.line }), a.map((e) => /* @__PURE__ */ u("col", { style: nn(e) }, e.key))] }),
|
|
2323
|
+
/* @__PURE__ */ u("thead", { children: /* @__PURE__ */ d("tr", { children: [f && /* @__PURE__ */ u("th", {
|
|
2296
2324
|
className: $.number,
|
|
2297
2325
|
children: "#"
|
|
2298
|
-
}),
|
|
2299
|
-
style:
|
|
2326
|
+
}), a.map((e) => /* @__PURE__ */ u("th", {
|
|
2327
|
+
style: rn(e),
|
|
2300
2328
|
"is-clickable": !!e.onClick || void 0,
|
|
2301
2329
|
onClick: (t) => e.onClick?.(t, e),
|
|
2302
2330
|
children: e.label
|
|
2303
2331
|
}, e.key))] }) }),
|
|
2304
|
-
/* @__PURE__ */
|
|
2332
|
+
/* @__PURE__ */ u("tbody", { children: _.length === 0 ? /* @__PURE__ */ u("tr", {
|
|
2305
2333
|
"is-empty": !0,
|
|
2306
|
-
children: /* @__PURE__ */
|
|
2334
|
+
children: /* @__PURE__ */ u("td", {
|
|
2307
2335
|
className: $.empty,
|
|
2308
2336
|
"is-empty": !0,
|
|
2309
|
-
colSpan: Math.max(
|
|
2310
|
-
children: /* @__PURE__ */
|
|
2337
|
+
colSpan: Math.max(a.length + Number(f), 1),
|
|
2338
|
+
children: /* @__PURE__ */ u("span", {
|
|
2311
2339
|
className: $.emptyContent,
|
|
2312
2340
|
children: "Keine Einträge ..."
|
|
2313
2341
|
})
|
|
2314
2342
|
})
|
|
2315
|
-
}) :
|
|
2316
|
-
"is-clickable":
|
|
2317
|
-
tabIndex:
|
|
2318
|
-
onClick:
|
|
2319
|
-
onKeyDown:
|
|
2320
|
-
children: [
|
|
2343
|
+
}) : _.map((e, t) => /* @__PURE__ */ d("tr", {
|
|
2344
|
+
"is-clickable": h ? !0 : void 0,
|
|
2345
|
+
tabIndex: h ? 0 : void 0,
|
|
2346
|
+
onClick: h ? (n) => v(n, e, t) : void 0,
|
|
2347
|
+
onKeyDown: h ? (n) => y(n, e, t) : void 0,
|
|
2348
|
+
children: [f && /* @__PURE__ */ u("td", {
|
|
2321
2349
|
className: $.number,
|
|
2322
|
-
children:
|
|
2323
|
-
}),
|
|
2324
|
-
style:
|
|
2325
|
-
children:
|
|
2326
|
-
|
|
2327
|
-
|
|
2350
|
+
children: t + 1
|
|
2351
|
+
}), a.map((n) => /* @__PURE__ */ u("td", {
|
|
2352
|
+
style: an(n, e, t),
|
|
2353
|
+
children: /* @__PURE__ */ u("span", {
|
|
2354
|
+
className: $.cellContent,
|
|
2355
|
+
style: ln(n),
|
|
2356
|
+
children: cn(n, e, t)
|
|
2357
|
+
})
|
|
2358
|
+
}, n.key))]
|
|
2359
|
+
}, e.key ?? t)) })
|
|
2328
2360
|
]
|
|
2329
|
-
})
|
|
2361
|
+
})]
|
|
2362
|
+
}) });
|
|
2363
|
+
}
|
|
2364
|
+
function $t({ id: e, title: n, columns: r, rows: i, width: o, height: f, sortBy: p, sortDirection: m, onRowClick: h, className: g }) {
|
|
2365
|
+
let _ = s(null), [v, y] = c(!1), [b, x] = c(() => en(e)), S = r.filter((e) => b[e.key] !== !1), C = b.lineNumbers !== !1;
|
|
2366
|
+
a(() => {
|
|
2367
|
+
x(en(e));
|
|
2368
|
+
}, [e]), a(() => {
|
|
2369
|
+
if (!v) return;
|
|
2370
|
+
function e({ target: e }) {
|
|
2371
|
+
_.current?.contains(e) || y(!1);
|
|
2372
|
+
}
|
|
2373
|
+
function t(e) {
|
|
2374
|
+
e.key === "Escape" && y(!1);
|
|
2375
|
+
}
|
|
2376
|
+
return document.addEventListener("pointerdown", e), document.addEventListener("keydown", t), () => {
|
|
2377
|
+
document.removeEventListener("pointerdown", e), document.removeEventListener("keydown", t);
|
|
2378
|
+
};
|
|
2379
|
+
}, [v]);
|
|
2380
|
+
function ee(n, r) {
|
|
2381
|
+
let i = {
|
|
2382
|
+
...b,
|
|
2383
|
+
[n]: r
|
|
2384
|
+
};
|
|
2385
|
+
x(i), t(tn(e), i);
|
|
2386
|
+
}
|
|
2387
|
+
function w(e) {
|
|
2388
|
+
ee("lineNumbers", e);
|
|
2389
|
+
}
|
|
2390
|
+
return /* @__PURE__ */ u(l, { children: /* @__PURE__ */ u(Qt, {
|
|
2391
|
+
tableId: e,
|
|
2392
|
+
sortColumns: r,
|
|
2393
|
+
settings: /* @__PURE__ */ u("div", {
|
|
2394
|
+
ref: _,
|
|
2395
|
+
className: $.settings,
|
|
2396
|
+
children: /* @__PURE__ */ d(dt, {
|
|
2397
|
+
className: $.popup,
|
|
2398
|
+
trigger: /* @__PURE__ */ u(Kt, {
|
|
2399
|
+
ariaLabel: "Spalten auswählen",
|
|
2400
|
+
iconName: "vertical-ellipsis",
|
|
2401
|
+
onClick: () => y(!v)
|
|
2402
|
+
}),
|
|
2403
|
+
isOpen: v,
|
|
2404
|
+
origin: "right",
|
|
2405
|
+
children: [/* @__PURE__ */ u(Rt, {
|
|
2406
|
+
label: "#",
|
|
2407
|
+
isChecked: C,
|
|
2408
|
+
onChange: w
|
|
2409
|
+
}), r.map((e) => /* @__PURE__ */ u(Rt, {
|
|
2410
|
+
label: e.label ?? e.key,
|
|
2411
|
+
isChecked: b[e.key] !== !1,
|
|
2412
|
+
onChange: (t) => ee(e.key, t)
|
|
2413
|
+
}, e.key))]
|
|
2414
|
+
})
|
|
2415
|
+
}),
|
|
2416
|
+
title: n,
|
|
2417
|
+
columns: S,
|
|
2418
|
+
rows: i,
|
|
2419
|
+
width: o,
|
|
2420
|
+
height: f,
|
|
2421
|
+
hasLineNumbers: C,
|
|
2422
|
+
sortBy: p,
|
|
2423
|
+
sortDirection: m,
|
|
2424
|
+
onRowClick: h,
|
|
2425
|
+
className: g
|
|
2330
2426
|
}) });
|
|
2331
2427
|
}
|
|
2332
|
-
function
|
|
2428
|
+
function en(t) {
|
|
2429
|
+
return t ? e(tn(t), {}) : {};
|
|
2430
|
+
}
|
|
2431
|
+
function tn(e) {
|
|
2432
|
+
return `tables:${e}:column-visibility`;
|
|
2433
|
+
}
|
|
2434
|
+
function nn(e) {
|
|
2333
2435
|
if (e.width !== void 0) return {
|
|
2334
2436
|
width: e.width,
|
|
2335
2437
|
minWidth: e.width,
|
|
2336
2438
|
maxWidth: e.width
|
|
2337
2439
|
};
|
|
2338
2440
|
}
|
|
2339
|
-
function
|
|
2340
|
-
let t =
|
|
2341
|
-
return t ? {
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
function
|
|
2441
|
+
function rn(e) {
|
|
2442
|
+
let t = sn(e.align), n = on(e.backgroundColor);
|
|
2443
|
+
return t || n ? {
|
|
2444
|
+
textAlign: t,
|
|
2445
|
+
backgroundColor: n
|
|
2446
|
+
} : void 0;
|
|
2447
|
+
}
|
|
2448
|
+
function an(e, t, n) {
|
|
2449
|
+
let r = t[e.key], i = sn(typeof e.align == "function" ? e.align(r, t, n) : e.align), a = on(typeof e.backgroundColor == "function" ? e.backgroundColor(r, t, n) : e.backgroundColor), o = e.width;
|
|
2450
|
+
return i || a || o !== void 0 ? {
|
|
2451
|
+
width: o,
|
|
2452
|
+
minWidth: o,
|
|
2453
|
+
maxWidth: o,
|
|
2454
|
+
textAlign: i,
|
|
2455
|
+
backgroundColor: a
|
|
2456
|
+
} : void 0;
|
|
2457
|
+
}
|
|
2458
|
+
function on(e) {
|
|
2459
|
+
return typeof e == "string" ? e : void 0;
|
|
2460
|
+
}
|
|
2461
|
+
function sn(e) {
|
|
2348
2462
|
return [
|
|
2349
2463
|
"left",
|
|
2350
2464
|
"center",
|
|
2351
2465
|
"right"
|
|
2352
2466
|
].includes(e) ? e : void 0;
|
|
2353
2467
|
}
|
|
2354
|
-
function
|
|
2468
|
+
function cn(e, t, n) {
|
|
2355
2469
|
let r = t[e.key];
|
|
2356
2470
|
return e.render?.(r, t, n) ?? r;
|
|
2357
2471
|
}
|
|
2358
|
-
function
|
|
2472
|
+
function ln(e) {
|
|
2473
|
+
return e.width === void 0 ? void 0 : { maxWidth: e.width };
|
|
2474
|
+
}
|
|
2475
|
+
function un(e, t, n, r) {
|
|
2359
2476
|
let i = t.find((e) => e.key === n);
|
|
2360
2477
|
if (!i) return e;
|
|
2361
2478
|
let a = r === "desc" ? -1 : 1;
|
|
2362
2479
|
return [...e].sort((e, t) => {
|
|
2363
|
-
let n =
|
|
2480
|
+
let n = dn(i, e), r = dn(i, t);
|
|
2364
2481
|
return a * String(n).localeCompare(String(r), void 0, {
|
|
2365
2482
|
numeric: !0,
|
|
2366
2483
|
sensitivity: "base"
|
|
2367
2484
|
});
|
|
2368
2485
|
});
|
|
2369
2486
|
}
|
|
2370
|
-
function
|
|
2487
|
+
function dn(e, t) {
|
|
2371
2488
|
let n = t[e.key];
|
|
2372
2489
|
return e.sortValue?.(n, t) ?? n ?? "";
|
|
2373
2490
|
}
|
|
2374
|
-
function
|
|
2491
|
+
function fn(e) {
|
|
2375
2492
|
return e.target instanceof Element && e.target.closest("a, button, input, select, textarea, label, summary, [contenteditable=\"true\"], [role=\"button\"], [role=\"link\"], [role=\"checkbox\"], [role=\"switch\"]");
|
|
2376
2493
|
}
|
|
2377
2494
|
var $ = {
|
|
2378
|
-
base:
|
|
2495
|
+
base: U`
|
|
2379
2496
|
display: block;
|
|
2380
2497
|
position: relative;
|
|
2381
2498
|
max-width: 100%;
|
|
2382
2499
|
overflow: auto;
|
|
2383
2500
|
`,
|
|
2384
|
-
table:
|
|
2501
|
+
table: U`
|
|
2385
2502
|
width: max-content;
|
|
2386
2503
|
min-width: 100%;
|
|
2387
2504
|
border-spacing: 0;
|
|
2388
|
-
|
|
2389
|
-
|
|
2505
|
+
table-layout: fixed;
|
|
2506
|
+
color: ${W.colors.fore.primary};
|
|
2507
|
+
font-family: ${W.fontFamily}, sans-serif;
|
|
2390
2508
|
font-size: .75rem;
|
|
2391
2509
|
font-weight: 500;
|
|
2392
2510
|
letter-spacing: .4px;
|
|
@@ -2403,10 +2521,10 @@ var $ = {
|
|
|
2403
2521
|
|
|
2404
2522
|
th {
|
|
2405
2523
|
position: sticky;
|
|
2406
|
-
z-index: ${
|
|
2524
|
+
z-index: ${W.zIndex.front};
|
|
2407
2525
|
top: 0;
|
|
2408
|
-
color: ${
|
|
2409
|
-
background-color: ${
|
|
2526
|
+
color: ${W.colors.fore.secondary};
|
|
2527
|
+
background-color: ${W.colors.back.primary};
|
|
2410
2528
|
font-size: .65rem;
|
|
2411
2529
|
font-weight: 700;
|
|
2412
2530
|
letter-spacing: .8px;
|
|
@@ -2417,39 +2535,67 @@ var $ = {
|
|
|
2417
2535
|
tbody tr { transition: background-color .15s ease; }
|
|
2418
2536
|
|
|
2419
2537
|
tbody tr:not([is-empty]):hover {
|
|
2420
|
-
background-color: ${
|
|
2538
|
+
background-color: ${W.colors.back.secondary};
|
|
2421
2539
|
}
|
|
2422
2540
|
|
|
2423
2541
|
tbody tr[is-clickable] { cursor: pointer; }
|
|
2424
2542
|
|
|
2425
2543
|
tbody tr[is-clickable]:focus-visible {
|
|
2426
|
-
outline: solid 2px ${
|
|
2544
|
+
outline: solid 2px ${W.colors.primary};
|
|
2427
2545
|
outline-offset: -2px;
|
|
2428
2546
|
}
|
|
2429
2547
|
|
|
2430
2548
|
tbody tr:last-child td { border-bottom: 0; }
|
|
2431
2549
|
`,
|
|
2432
|
-
line:
|
|
2550
|
+
line: U`
|
|
2433
2551
|
width: 3rem;
|
|
2434
2552
|
`,
|
|
2435
|
-
number:
|
|
2553
|
+
number: U`
|
|
2436
2554
|
width: 3rem;
|
|
2437
|
-
color: ${
|
|
2555
|
+
color: ${W.colors.fore.secondary};
|
|
2438
2556
|
text-align: right;
|
|
2439
2557
|
`,
|
|
2440
|
-
empty:
|
|
2558
|
+
empty: U`
|
|
2441
2559
|
position: relative;
|
|
2442
2560
|
height: 3.25rem;
|
|
2443
2561
|
padding: 0;
|
|
2444
|
-
color: ${
|
|
2562
|
+
color: ${W.colors.fore.secondary};
|
|
2445
2563
|
text-align: center;
|
|
2446
2564
|
`,
|
|
2447
|
-
emptyContent:
|
|
2565
|
+
emptyContent: U`
|
|
2448
2566
|
display: grid;
|
|
2449
2567
|
position: absolute;
|
|
2450
2568
|
inset: 0;
|
|
2451
2569
|
place-items: center;
|
|
2570
|
+
`,
|
|
2571
|
+
cellContent: U`
|
|
2572
|
+
display: block;
|
|
2573
|
+
overflow: hidden;
|
|
2574
|
+
text-overflow: ellipsis;
|
|
2575
|
+
white-space: nowrap;
|
|
2576
|
+
`,
|
|
2577
|
+
settings: U`
|
|
2578
|
+
flex: none;
|
|
2579
|
+
`,
|
|
2580
|
+
header: U`
|
|
2581
|
+
display: flex;
|
|
2582
|
+
align-items: center;
|
|
2583
|
+
justify-content: space-between;
|
|
2584
|
+
gap: 1rem;
|
|
2585
|
+
box-sizing: border-box;
|
|
2586
|
+
width: 100%;
|
|
2587
|
+
min-height: 3.25rem;
|
|
2588
|
+
padding: .5rem 0;
|
|
2589
|
+
`,
|
|
2590
|
+
heading: U`
|
|
2591
|
+
display: flex;
|
|
2592
|
+
gap: .5rem;
|
|
2593
|
+
`,
|
|
2594
|
+
popup: U`
|
|
2595
|
+
display: grid;
|
|
2596
|
+
gap: .5rem;
|
|
2597
|
+
min-width: 11rem;
|
|
2452
2598
|
`
|
|
2453
2599
|
};
|
|
2454
2600
|
//#endregion
|
|
2455
|
-
export {
|
|
2601
|
+
export { pt as Actions, _t as AppWrapper, xt as Bar, Ct as Box, Tt as Button, Rt as Checkbox, Jt as Counter, Ft as Dropdown, At as Headline, G as Icon, Kt as IconButton, Ot as Layout, dt as PopupBox, It as Slider, Mt as Space, Ht as Switch, Xt as TabBox, Zt as TabContainer, Qt as Table, Wt as Tag, ht as Text, Nt as TextField, W as Theme, vt as Toolbar };
|