melonykit 0.13.0 → 0.13.1
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/index.js +425 -406
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -104,13 +104,13 @@ function P() {
|
|
|
104
104
|
function F() {
|
|
105
105
|
return E(M, A);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function I() {
|
|
108
108
|
return A;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function L(e, t) {
|
|
111
111
|
return D(M, e, t);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function R(e) {
|
|
114
114
|
switch (e) {
|
|
115
115
|
case 0:
|
|
116
116
|
case 9:
|
|
@@ -137,32 +137,32 @@ function L(e) {
|
|
|
137
137
|
}
|
|
138
138
|
return 0;
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function de(e) {
|
|
141
141
|
return oe = k = 1, se = O(M = e), A = 0, [];
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function fe(e) {
|
|
144
144
|
return M = "", e;
|
|
145
145
|
}
|
|
146
|
-
function
|
|
147
|
-
return ee(
|
|
146
|
+
function z(e) {
|
|
147
|
+
return ee(L(A - 1, he(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function pe(e) {
|
|
150
150
|
for (; (j = F()) && j < 33;) P();
|
|
151
|
-
return
|
|
151
|
+
return R(e) > 2 || R(j) > 3 ? "" : " ";
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function me(e, t) {
|
|
154
154
|
for (; --t && P() && !(j < 48 || j > 102 || j > 57 && j < 65 || j > 70 && j < 97););
|
|
155
|
-
return
|
|
155
|
+
return L(e, I() + (t < 6 && F() == 32 && P() == 32));
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function he(e) {
|
|
158
158
|
for (; P();) switch (j) {
|
|
159
159
|
case e: return A;
|
|
160
160
|
case 34:
|
|
161
161
|
case 39:
|
|
162
|
-
e !== 34 && e !== 39 &&
|
|
162
|
+
e !== 34 && e !== 39 && he(j);
|
|
163
163
|
break;
|
|
164
164
|
case 40:
|
|
165
|
-
e === 41 &&
|
|
165
|
+
e === 41 && he(e);
|
|
166
166
|
break;
|
|
167
167
|
case 92:
|
|
168
168
|
P();
|
|
@@ -170,44 +170,44 @@ function ge(e) {
|
|
|
170
170
|
}
|
|
171
171
|
return A;
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function ge(e, t) {
|
|
174
174
|
for (; P() && e + j !== 57 && (e + j !== 84 || F() !== 47););
|
|
175
|
-
return "/*" +
|
|
175
|
+
return "/*" + L(t, A - 1) + "*" + S(e === 47 ? e : P());
|
|
176
176
|
}
|
|
177
|
-
function
|
|
178
|
-
for (; !
|
|
179
|
-
return
|
|
177
|
+
function _e(e) {
|
|
178
|
+
for (; !R(F());) P();
|
|
179
|
+
return L(e, A);
|
|
180
180
|
}
|
|
181
181
|
//#endregion
|
|
182
182
|
//#region node_modules/stylis/src/Parser.js
|
|
183
|
-
function
|
|
184
|
-
return
|
|
183
|
+
function ve(e) {
|
|
184
|
+
return fe(B("", null, null, null, [""], e = de(e), 0, [0], e));
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function B(e, t, n, r, i, a, o, s, c) {
|
|
187
187
|
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, C = r, w = y; g;) switch (m = v, v = P()) {
|
|
188
188
|
case 40: if (m != 108 && E(w, d - 1) == 58) {
|
|
189
|
-
ne(w += T(
|
|
189
|
+
ne(w += T(z(v), "&", "&\f"), "&\f") != -1 && (_ = -1);
|
|
190
190
|
break;
|
|
191
191
|
}
|
|
192
192
|
case 34:
|
|
193
193
|
case 39:
|
|
194
194
|
case 91:
|
|
195
|
-
w +=
|
|
195
|
+
w += z(v);
|
|
196
196
|
break;
|
|
197
197
|
case 9:
|
|
198
198
|
case 10:
|
|
199
199
|
case 13:
|
|
200
200
|
case 32:
|
|
201
|
-
w +=
|
|
201
|
+
w += pe(m);
|
|
202
202
|
break;
|
|
203
203
|
case 92:
|
|
204
|
-
w +=
|
|
204
|
+
w += me(I() - 1, 7);
|
|
205
205
|
continue;
|
|
206
206
|
case 47:
|
|
207
207
|
switch (F()) {
|
|
208
208
|
case 42:
|
|
209
209
|
case 47:
|
|
210
|
-
ie(
|
|
210
|
+
ie(be(ge(P(), I()), t, n), c);
|
|
211
211
|
break;
|
|
212
212
|
default: w += "/";
|
|
213
213
|
}
|
|
@@ -220,19 +220,19 @@ function z(e, t, n, r, i, a, o, s, c) {
|
|
|
220
220
|
case 0:
|
|
221
221
|
case 125: g = 0;
|
|
222
222
|
case 59 + u:
|
|
223
|
-
_ == -1 && (w = T(w, /\f/g, "")), p > 0 && O(w) - d && ie(p > 32 ?
|
|
223
|
+
_ == -1 && (w = T(w, /\f/g, "")), p > 0 && O(w) - d && ie(p > 32 ? xe(w + ";", r, n, d - 1) : xe(T(w, " ", "") + ";", r, n, d - 2), c);
|
|
224
224
|
break;
|
|
225
225
|
case 59: w += ";";
|
|
226
|
-
default: if (ie(C =
|
|
227
|
-
if (u === 0)
|
|
226
|
+
default: if (ie(C = ye(w, t, n, l, u, i, s, y, b = [], x = [], d), a), v === 123) {
|
|
227
|
+
if (u === 0) B(w, t, C, C, b, a, d, s, x);
|
|
228
228
|
else switch (f === 99 && E(w, 3) === 110 ? 100 : f) {
|
|
229
229
|
case 100:
|
|
230
230
|
case 108:
|
|
231
231
|
case 109:
|
|
232
232
|
case 115:
|
|
233
|
-
|
|
233
|
+
B(e, C, C, r && ie(ye(e, C, C, 0, 0, i, s, y, i, b = [], d), x), i, x, d, s, r ? b : x);
|
|
234
234
|
break;
|
|
235
|
-
default:
|
|
235
|
+
default: B(w, C, C, C, [""], x, 0, s, x);
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
238
|
}
|
|
@@ -252,57 +252,57 @@ function z(e, t, n, r, i, a, o, s, c) {
|
|
|
252
252
|
s[l++] = (O(w) - 1) * _, _ = 1;
|
|
253
253
|
break;
|
|
254
254
|
case 64:
|
|
255
|
-
F() === 45 && (w +=
|
|
255
|
+
F() === 45 && (w += z(P())), f = F(), u = d = O(y = w += _e(I())), v++;
|
|
256
256
|
break;
|
|
257
257
|
case 45: m === 45 && O(w) == 2 && (h = 0);
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
return a;
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function ye(e, t, n, r, i, a, o, s, c, l, u) {
|
|
263
263
|
for (var d = i - 1, f = i === 0 ? a : [""], p = re(f), m = 0, h = 0, _ = 0; m < r; ++m) for (var v = 0, y = D(e, d + 1, d = x(h = o[m])), b = e; v < p; ++v) (b = ee(h > 0 ? f[v] + " " + y : T(y, /&\f/g, f[v]))) && (c[_++] = b);
|
|
264
264
|
return ce(e, t, n, i === 0 ? g : s, c, l, u);
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function be(e, t, n) {
|
|
267
267
|
return ce(e, t, n, h, S(le()), D(e, 2, -2), 0);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function xe(e, t, n, r) {
|
|
270
270
|
return ce(e, t, n, _, D(e, 0, r), D(e, r + 1, -1), r);
|
|
271
271
|
}
|
|
272
272
|
//#endregion
|
|
273
273
|
//#region node_modules/stylis/src/Serializer.js
|
|
274
|
-
function
|
|
274
|
+
function V(e, t) {
|
|
275
275
|
for (var n = "", r = re(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || "";
|
|
276
276
|
return n;
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function Se(e, t, n, r) {
|
|
279
279
|
switch (e.type) {
|
|
280
280
|
case b: if (e.children.length) break;
|
|
281
281
|
case v:
|
|
282
282
|
case _: return e.return = e.return || e.value;
|
|
283
283
|
case h: return "";
|
|
284
|
-
case y: return e.return = e.value + "{" +
|
|
284
|
+
case y: return e.return = e.value + "{" + V(e.children, r) + "}";
|
|
285
285
|
case g: e.value = e.props.join(",");
|
|
286
286
|
}
|
|
287
|
-
return O(n =
|
|
287
|
+
return O(n = V(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
|
|
288
288
|
}
|
|
289
289
|
//#endregion
|
|
290
290
|
//#region node_modules/stylis/src/Middleware.js
|
|
291
|
-
function
|
|
291
|
+
function Ce(e) {
|
|
292
292
|
var t = re(e);
|
|
293
293
|
return function(n, r, i, a) {
|
|
294
294
|
for (var o = "", s = 0; s < t; s++) o += e[s](n, r, i, a) || "";
|
|
295
295
|
return o;
|
|
296
296
|
};
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function we(e) {
|
|
299
299
|
return function(t) {
|
|
300
300
|
t.root || (t = t.return) && e(t);
|
|
301
301
|
};
|
|
302
302
|
}
|
|
303
303
|
//#endregion
|
|
304
304
|
//#region node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
305
|
-
function
|
|
305
|
+
function Te(e) {
|
|
306
306
|
var t = Object.create(null);
|
|
307
307
|
return function(n) {
|
|
308
308
|
return t[n] === void 0 && (t[n] = e(n)), t[n];
|
|
@@ -310,18 +310,18 @@ function Ee(e) {
|
|
|
310
310
|
}
|
|
311
311
|
//#endregion
|
|
312
312
|
//#region node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js
|
|
313
|
-
var
|
|
314
|
-
for (var r = 0, i = 0; r = i, i = F(), r === 38 && i === 12 && (t[n] = 1), !
|
|
315
|
-
return
|
|
316
|
-
},
|
|
313
|
+
var Ee = function(e, t, n) {
|
|
314
|
+
for (var r = 0, i = 0; r = i, i = F(), r === 38 && i === 12 && (t[n] = 1), !R(i);) P();
|
|
315
|
+
return L(e, A);
|
|
316
|
+
}, De = function(e, t) {
|
|
317
317
|
var n = -1, r = 44;
|
|
318
318
|
do
|
|
319
|
-
switch (
|
|
319
|
+
switch (R(r)) {
|
|
320
320
|
case 0:
|
|
321
|
-
r === 38 && F() === 12 && (t[n] = 1), e[n] +=
|
|
321
|
+
r === 38 && F() === 12 && (t[n] = 1), e[n] += Ee(A - 1, t, n);
|
|
322
322
|
break;
|
|
323
323
|
case 2:
|
|
324
|
-
e[n] +=
|
|
324
|
+
e[n] += z(r);
|
|
325
325
|
break;
|
|
326
326
|
case 4: if (r === 44) {
|
|
327
327
|
e[++n] = F() === 58 ? "&\f" : "", t[n] = e[n].length;
|
|
@@ -331,23 +331,23 @@ var De = function(e, t, n) {
|
|
|
331
331
|
}
|
|
332
332
|
while (r = P());
|
|
333
333
|
return e;
|
|
334
|
-
},
|
|
335
|
-
return
|
|
336
|
-
},
|
|
334
|
+
}, Oe = function(e, t) {
|
|
335
|
+
return fe(De(de(e), t));
|
|
336
|
+
}, ke = /* #__PURE__ */ new WeakMap(), Ae = function(e) {
|
|
337
337
|
if (!(e.type !== "rule" || !e.parent || e.length < 1)) {
|
|
338
338
|
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;
|
|
339
|
-
if (!(e.props.length === 1 && t.charCodeAt(0) !== 58 && !
|
|
340
|
-
|
|
341
|
-
for (var i = [], a =
|
|
339
|
+
if (!(e.props.length === 1 && t.charCodeAt(0) !== 58 && !ke.get(n)) && !r) {
|
|
340
|
+
ke.set(e, !0);
|
|
341
|
+
for (var i = [], a = Oe(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];
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
|
-
},
|
|
344
|
+
}, je = function(e) {
|
|
345
345
|
if (e.type === "decl") {
|
|
346
346
|
var t = e.value;
|
|
347
347
|
t.charCodeAt(0) === 108 && t.charCodeAt(2) === 98 && (e.return = "", e.value = "");
|
|
348
348
|
}
|
|
349
349
|
};
|
|
350
|
-
function
|
|
350
|
+
function Me(e, t) {
|
|
351
351
|
switch (w(e, t)) {
|
|
352
352
|
case 5103: return m + "print-" + e + e;
|
|
353
353
|
case 5737:
|
|
@@ -413,7 +413,7 @@ function Ne(e, t) {
|
|
|
413
413
|
if (O(e) - 1 - t > 6) switch (E(e, t + 1)) {
|
|
414
414
|
case 109: if (E(e, t + 4) !== 45) break;
|
|
415
415
|
case 102: return T(e, /(.+:)(.+)-([^]+)/, "$1" + m + "$2-$3$1" + p + (E(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
416
|
-
case 115: return ~ne(e, "stretch") ?
|
|
416
|
+
case 115: return ~ne(e, "stretch") ? Me(T(e, "stretch", "fill-available"), t) + e : e;
|
|
417
417
|
}
|
|
418
418
|
break;
|
|
419
419
|
case 4949: if (E(e, t + 1) !== 115) break;
|
|
@@ -433,17 +433,17 @@ function Ne(e, t) {
|
|
|
433
433
|
}
|
|
434
434
|
return e;
|
|
435
435
|
}
|
|
436
|
-
var
|
|
436
|
+
var Ne = [function(e, t, n, r) {
|
|
437
437
|
if (e.length > -1 && !e.return) switch (e.type) {
|
|
438
438
|
case _:
|
|
439
|
-
e.return =
|
|
439
|
+
e.return = Me(e.value, e.length);
|
|
440
440
|
break;
|
|
441
|
-
case y: return
|
|
441
|
+
case y: return V([N(e, { value: T(e.value, "@", "@" + m) })], r);
|
|
442
442
|
case g: if (e.length) return ae(e.props, function(t) {
|
|
443
443
|
switch (te(t, /(::plac\w+|:read-\w+)/)) {
|
|
444
444
|
case ":read-only":
|
|
445
|
-
case ":read-write": return
|
|
446
|
-
case "::placeholder": return
|
|
445
|
+
case ":read-write": return V([N(e, { props: [T(t, /:(read-\w+)/, ":" + p + "$1")] })], r);
|
|
446
|
+
case "::placeholder": return V([
|
|
447
447
|
N(e, { props: [T(t, /:(plac\w+)/, ":" + m + "input-$1")] }),
|
|
448
448
|
N(e, { props: [T(t, /:(plac\w+)/, ":" + p + "$1")] }),
|
|
449
449
|
N(e, { props: [T(t, /:(plac\w+)/, f + "input-$1")] })
|
|
@@ -452,7 +452,7 @@ var Pe = [function(e, t, n, r) {
|
|
|
452
452
|
return "";
|
|
453
453
|
});
|
|
454
454
|
}
|
|
455
|
-
}],
|
|
455
|
+
}], Pe = function(e) {
|
|
456
456
|
var t = e.key;
|
|
457
457
|
if (t === "css") {
|
|
458
458
|
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
@@ -460,15 +460,15 @@ var Pe = [function(e, t, n, r) {
|
|
|
460
460
|
e.getAttribute("data-emotion").indexOf(" ") !== -1 && (document.head.appendChild(e), e.setAttribute("data-s", ""));
|
|
461
461
|
});
|
|
462
462
|
}
|
|
463
|
-
var r = e.stylisPlugins ||
|
|
463
|
+
var r = e.stylisPlugins || Ne, i = {}, a, o = [];
|
|
464
464
|
a = e.container || document.head, Array.prototype.forEach.call(document.querySelectorAll("style[data-emotion^=\"" + t + " \"]"), function(e) {
|
|
465
465
|
for (var t = e.getAttribute("data-emotion").split(" "), n = 1; n < t.length; n++) i[t[n]] = !0;
|
|
466
466
|
o.push(e);
|
|
467
467
|
});
|
|
468
|
-
var s, c = [
|
|
468
|
+
var s, c = [Ae, je], l, u = [Se, we(function(e) {
|
|
469
469
|
l.insert(e);
|
|
470
|
-
})], f =
|
|
471
|
-
return
|
|
470
|
+
})], f = Ce(c.concat(r, u)), p = function(e) {
|
|
471
|
+
return V(ve(e), f);
|
|
472
472
|
};
|
|
473
473
|
s = function(e, t, n, r) {
|
|
474
474
|
l = n, p(e ? e + "{" + t.styles + "}" : t.styles), r && (m.inserted[t.name] = !0);
|
|
@@ -492,7 +492,7 @@ var Pe = [function(e, t, n, r) {
|
|
|
492
492
|
};
|
|
493
493
|
//#endregion
|
|
494
494
|
//#region node_modules/@emotion/hash/dist/emotion-hash.esm.js
|
|
495
|
-
function
|
|
495
|
+
function Fe(e) {
|
|
496
496
|
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);
|
|
497
497
|
switch (i) {
|
|
498
498
|
case 3: t ^= (e.charCodeAt(r + 2) & 255) << 16;
|
|
@@ -503,7 +503,7 @@ function Ie(e) {
|
|
|
503
503
|
}
|
|
504
504
|
//#endregion
|
|
505
505
|
//#region node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
|
|
506
|
-
var
|
|
506
|
+
var Ie = {
|
|
507
507
|
animationIterationCount: 1,
|
|
508
508
|
aspectRatio: 1,
|
|
509
509
|
borderImageOutset: 1,
|
|
@@ -551,26 +551,26 @@ var Le = {
|
|
|
551
551
|
strokeMiterlimit: 1,
|
|
552
552
|
strokeOpacity: 1,
|
|
553
553
|
strokeWidth: 1
|
|
554
|
-
},
|
|
554
|
+
}, Le = /[A-Z]|^ms/g, Re = /_EMO_([^_]+?)_([^]*?)_EMO_/g, ze = function(e) {
|
|
555
555
|
return e.charCodeAt(1) === 45;
|
|
556
|
-
},
|
|
556
|
+
}, Be = function(e) {
|
|
557
557
|
return e != null && typeof e != "boolean";
|
|
558
|
-
},
|
|
559
|
-
return
|
|
560
|
-
}),
|
|
558
|
+
}, Ve = /* #__PURE__ */ Te(function(e) {
|
|
559
|
+
return ze(e) ? e : e.replace(Le, "-$&").toLowerCase();
|
|
560
|
+
}), He = function(e, t) {
|
|
561
561
|
switch (e) {
|
|
562
562
|
case "animation":
|
|
563
|
-
case "animationName": if (typeof t == "string") return t.replace(
|
|
564
|
-
return
|
|
563
|
+
case "animationName": if (typeof t == "string") return t.replace(Re, function(e, t, n) {
|
|
564
|
+
return U = {
|
|
565
565
|
name: t,
|
|
566
566
|
styles: n,
|
|
567
|
-
next:
|
|
567
|
+
next: U
|
|
568
568
|
}, t;
|
|
569
569
|
});
|
|
570
570
|
}
|
|
571
|
-
return
|
|
571
|
+
return Ie[e] !== 1 && !ze(e) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
572
572
|
};
|
|
573
|
-
function
|
|
573
|
+
function H(e, t, n) {
|
|
574
574
|
if (n == null) return "";
|
|
575
575
|
var r = n;
|
|
576
576
|
if (r.__emotion_styles !== void 0) return r;
|
|
@@ -578,25 +578,25 @@ function V(e, t, n) {
|
|
|
578
578
|
case "boolean": return "";
|
|
579
579
|
case "object":
|
|
580
580
|
var i = n;
|
|
581
|
-
if (i.anim === 1) return
|
|
581
|
+
if (i.anim === 1) return U = {
|
|
582
582
|
name: i.name,
|
|
583
583
|
styles: i.styles,
|
|
584
|
-
next:
|
|
584
|
+
next: U
|
|
585
585
|
}, i.name;
|
|
586
586
|
var a = n;
|
|
587
587
|
if (a.styles !== void 0) {
|
|
588
588
|
var o = a.next;
|
|
589
|
-
if (o !== void 0) for (; o !== void 0;)
|
|
589
|
+
if (o !== void 0) for (; o !== void 0;) U = {
|
|
590
590
|
name: o.name,
|
|
591
591
|
styles: o.styles,
|
|
592
|
-
next:
|
|
592
|
+
next: U
|
|
593
593
|
}, o = o.next;
|
|
594
594
|
return a.styles + ";";
|
|
595
595
|
}
|
|
596
|
-
return
|
|
596
|
+
return Ue(e, t, n);
|
|
597
597
|
case "function": if (e !== void 0) {
|
|
598
|
-
var s =
|
|
599
|
-
return
|
|
598
|
+
var s = U, c = n(e);
|
|
599
|
+
return U = s, H(e, t, c);
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
602
|
var l = n;
|
|
@@ -604,21 +604,21 @@ function V(e, t, n) {
|
|
|
604
604
|
var u = t[l];
|
|
605
605
|
return u === void 0 ? l : u;
|
|
606
606
|
}
|
|
607
|
-
function
|
|
607
|
+
function Ue(e, t, n) {
|
|
608
608
|
var r = "";
|
|
609
|
-
if (Array.isArray(n)) for (var i = 0; i < n.length; i++) r +=
|
|
609
|
+
if (Array.isArray(n)) for (var i = 0; i < n.length; i++) r += H(e, t, n[i]) + ";";
|
|
610
610
|
else for (var a in n) {
|
|
611
611
|
var o = n[a];
|
|
612
612
|
if (typeof o != "object") {
|
|
613
613
|
var s = o;
|
|
614
|
-
t != null && t[s] !== void 0 ? r += a + "{" + t[s] + "}" :
|
|
615
|
-
} else if (Array.isArray(o) && typeof o[0] == "string" && (t == null || t[o[0]] === void 0)) for (var c = 0; c < o.length; c++)
|
|
614
|
+
t != null && t[s] !== void 0 ? r += a + "{" + t[s] + "}" : Be(s) && (r += Ve(a) + ":" + He(a, s) + ";");
|
|
615
|
+
} else if (Array.isArray(o) && typeof o[0] == "string" && (t == null || t[o[0]] === void 0)) for (var c = 0; c < o.length; c++) Be(o[c]) && (r += Ve(a) + ":" + He(a, o[c]) + ";");
|
|
616
616
|
else {
|
|
617
|
-
var l =
|
|
617
|
+
var l = H(e, t, o);
|
|
618
618
|
switch (a) {
|
|
619
619
|
case "animation":
|
|
620
620
|
case "animationName":
|
|
621
|
-
r +=
|
|
621
|
+
r += Ve(a) + ":" + l + ";";
|
|
622
622
|
break;
|
|
623
623
|
default: r += a + "{" + l + "}";
|
|
624
624
|
}
|
|
@@ -626,35 +626,35 @@ function We(e, t, n) {
|
|
|
626
626
|
}
|
|
627
627
|
return r;
|
|
628
628
|
}
|
|
629
|
-
var
|
|
630
|
-
function
|
|
629
|
+
var We = /label:\s*([^\s;{]+)\s*(;|$)/g, U;
|
|
630
|
+
function Ge(e, t, n) {
|
|
631
631
|
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0) return e[0];
|
|
632
632
|
var r = !0, i = "";
|
|
633
|
-
|
|
633
|
+
U = void 0;
|
|
634
634
|
var a = e[0];
|
|
635
|
-
a == null || a.raw === void 0 ? (r = !1, i +=
|
|
636
|
-
for (var o = 1; o < e.length; o++) i +=
|
|
637
|
-
|
|
638
|
-
for (var s = "", c; (c =
|
|
635
|
+
a == null || a.raw === void 0 ? (r = !1, i += H(n, t, a)) : i += a[0];
|
|
636
|
+
for (var o = 1; o < e.length; o++) i += H(n, t, e[o]), r && (i += a[o]);
|
|
637
|
+
We.lastIndex = 0;
|
|
638
|
+
for (var s = "", c; (c = We.exec(i)) !== null;) s += "-" + c[1];
|
|
639
639
|
return {
|
|
640
|
-
name:
|
|
640
|
+
name: Fe(i) + s,
|
|
641
641
|
styles: i,
|
|
642
|
-
next:
|
|
642
|
+
next: U
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
645
|
//#endregion
|
|
646
646
|
//#region node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js
|
|
647
|
-
function
|
|
647
|
+
function Ke(e, t, n) {
|
|
648
648
|
var r = "";
|
|
649
649
|
return n.split(" ").forEach(function(n) {
|
|
650
650
|
e[n] === void 0 ? n && (r += n + " ") : t.push(e[n] + ";");
|
|
651
651
|
}), r;
|
|
652
652
|
}
|
|
653
|
-
var
|
|
653
|
+
var qe = function(e, t, n) {
|
|
654
654
|
var r = e.key + "-" + t.name;
|
|
655
655
|
n === !1 && e.registered[r] === void 0 && (e.registered[r] = t.styles);
|
|
656
|
-
},
|
|
657
|
-
|
|
656
|
+
}, Je = function(e, t, n) {
|
|
657
|
+
qe(e, t, n);
|
|
658
658
|
var r = e.key + "-" + t.name;
|
|
659
659
|
if (e.inserted[t.name] === void 0) {
|
|
660
660
|
var i = t;
|
|
@@ -665,34 +665,34 @@ var Je = function(e, t, n) {
|
|
|
665
665
|
};
|
|
666
666
|
//#endregion
|
|
667
667
|
//#region node_modules/@emotion/css/create-instance/dist/emotion-css-create-instance.esm.js
|
|
668
|
-
function
|
|
668
|
+
function Ye(e, t) {
|
|
669
669
|
if (e.inserted[t.name] === void 0) return e.insert("", t, e.sheet, !0);
|
|
670
670
|
}
|
|
671
|
-
function
|
|
672
|
-
var r = [], i =
|
|
671
|
+
function Xe(e, t, n) {
|
|
672
|
+
var r = [], i = Ke(e, r, n);
|
|
673
673
|
return r.length < 2 ? n : i + t(r);
|
|
674
674
|
}
|
|
675
|
-
var
|
|
676
|
-
var t =
|
|
675
|
+
var Ze = function(e) {
|
|
676
|
+
var t = Pe(e);
|
|
677
677
|
t.sheet.speedy = function(e) {
|
|
678
678
|
this.isSpeedy = e;
|
|
679
679
|
}, t.compat = !0;
|
|
680
680
|
var n = function() {
|
|
681
|
-
var e =
|
|
682
|
-
return
|
|
681
|
+
var e = Ge([...arguments], t.registered, void 0);
|
|
682
|
+
return Je(t, e, !1), t.key + "-" + e.name;
|
|
683
683
|
};
|
|
684
684
|
return {
|
|
685
685
|
css: n,
|
|
686
686
|
cx: function() {
|
|
687
687
|
var e = [...arguments];
|
|
688
|
-
return
|
|
688
|
+
return Xe(t.registered, n, Qe(e));
|
|
689
689
|
},
|
|
690
690
|
injectGlobal: function() {
|
|
691
|
-
|
|
691
|
+
Ye(t, Ge([...arguments], t.registered));
|
|
692
692
|
},
|
|
693
693
|
keyframes: function() {
|
|
694
|
-
var e =
|
|
695
|
-
return
|
|
694
|
+
var e = Ge([...arguments], t.registered), n = "animation-" + e.name;
|
|
695
|
+
return Ye(t, {
|
|
696
696
|
name: e.name,
|
|
697
697
|
styles: "@keyframes " + n + "{" + e.styles + "}"
|
|
698
698
|
}), n;
|
|
@@ -707,10 +707,10 @@ var Qe = function(e) {
|
|
|
707
707
|
},
|
|
708
708
|
sheet: t.sheet,
|
|
709
709
|
cache: t,
|
|
710
|
-
getRegisteredStyles:
|
|
711
|
-
merge:
|
|
710
|
+
getRegisteredStyles: Ke.bind(null, t.registered),
|
|
711
|
+
merge: Xe.bind(null, t.registered, n)
|
|
712
712
|
};
|
|
713
|
-
},
|
|
713
|
+
}, Qe = function e(t) {
|
|
714
714
|
for (var n = "", r = 0; r < t.length; r++) {
|
|
715
715
|
var i = t[r];
|
|
716
716
|
if (i != null) {
|
|
@@ -727,15 +727,15 @@ var Qe = function(e) {
|
|
|
727
727
|
}
|
|
728
728
|
}
|
|
729
729
|
return n;
|
|
730
|
-
},
|
|
731
|
-
|
|
732
|
-
var
|
|
733
|
-
|
|
734
|
-
var
|
|
735
|
-
|
|
730
|
+
}, W = Ze({ key: "css" });
|
|
731
|
+
W.flush, W.hydrate;
|
|
732
|
+
var G = W.cx;
|
|
733
|
+
W.merge, W.getRegisteredStyles;
|
|
734
|
+
var $e = W.injectGlobal, et = W.keyframes, K = W.css;
|
|
735
|
+
W.sheet, W.cache;
|
|
736
736
|
//#endregion
|
|
737
737
|
//#region \0virtual:svg-sprite
|
|
738
|
-
var nt = "<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-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-hourglass\" viewBox=\"0 0 24 24\"><path d=\"M4 3h16\"/><path d=\"M5.5 3v2.03A4 4 0 0 0 7.061 8.2L12 12l4.939-3.8A4 4 0 0 0 18.5 5.03V3\"/><path d=\"M5.5 21v-2.03a4 4 0 0 1 1.561-3.17L12 12l4.939 3.8a4 4 0 0 1 1.561 3.17V21\"/><path d=\"M4 21h16\"/></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-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-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-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>", rt = !1, it = new URL("./assets/manrope.woff2", import.meta.url).href ?? "/fonts/manrope.woff2", K = {
|
|
738
|
+
var tt = "<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-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-hourglass\" viewBox=\"0 0 24 24\"><path d=\"M4 3h16\"/><path d=\"M5.5 3v2.03A4 4 0 0 0 7.061 8.2L12 12l4.939-3.8A4 4 0 0 0 18.5 5.03V3\"/><path d=\"M5.5 21v-2.03a4 4 0 0 1 1.561-3.17L12 12l4.939 3.8a4 4 0 0 1 1.561 3.17V21\"/><path d=\"M4 21h16\"/></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-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-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-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>", nt = !1, rt = new URL("./assets/manrope.woff2", import.meta.url).href ?? "/fonts/manrope.woff2", q = {
|
|
739
739
|
fontFamily: "Manrope",
|
|
740
740
|
zIndex: {
|
|
741
741
|
front: 1,
|
|
@@ -772,10 +772,10 @@ var nt = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;wi
|
|
|
772
772
|
stretch: "\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n "
|
|
773
773
|
},
|
|
774
774
|
load() {
|
|
775
|
-
|
|
775
|
+
nt || typeof document > "u" || ($e(`
|
|
776
776
|
@font-face {
|
|
777
777
|
font-family: 'Manrope';
|
|
778
|
-
src: url('${
|
|
778
|
+
src: url('${rt}') format('woff2');
|
|
779
779
|
font-weight: 100 900;
|
|
780
780
|
font-style: normal;
|
|
781
781
|
font-display: swap;
|
|
@@ -857,14 +857,14 @@ var nt = "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"position:absolute;wi
|
|
|
857
857
|
|
|
858
858
|
[is-loading] { cursor: default !important; }
|
|
859
859
|
[is-clickable] { cursor: pointer; }
|
|
860
|
-
`), !(document.getElementById("svg-sprite") || !document.body) && (document.body.insertAdjacentHTML("afterbegin",
|
|
860
|
+
`), !(document.getElementById("svg-sprite") || !document.body) && (document.body.insertAdjacentHTML("afterbegin", tt), nt = !0));
|
|
861
861
|
}
|
|
862
862
|
};
|
|
863
863
|
//#endregion
|
|
864
864
|
//#region src/components/_icon.jsx
|
|
865
|
-
function
|
|
865
|
+
function J({ className: e, size: t = "1.25rem", color: n = q.colors.fore.primary, iconName: r, isSpinning: i }) {
|
|
866
866
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("svg", {
|
|
867
|
-
className:
|
|
867
|
+
className: G(it.base, e),
|
|
868
868
|
style: {
|
|
869
869
|
color: n,
|
|
870
870
|
width: t,
|
|
@@ -875,14 +875,14 @@ function q({ className: e, size: t = "1.25rem", color: n = K.colors.fore.primary
|
|
|
875
875
|
children: /* @__PURE__ */ s("use", { href: `#icon-${r}` })
|
|
876
876
|
}) });
|
|
877
877
|
}
|
|
878
|
-
var
|
|
878
|
+
var it = { base: K`
|
|
879
879
|
fill: currentColor;
|
|
880
880
|
display: inline-block;
|
|
881
881
|
flex-shrink: 0;
|
|
882
882
|
will-change: transform;
|
|
883
883
|
transition: transform .1s linear;
|
|
884
884
|
|
|
885
|
-
&[is-spinning] { animation: ${
|
|
885
|
+
&[is-spinning] { animation: ${et`
|
|
886
886
|
0% {
|
|
887
887
|
transform: rotate(0deg);
|
|
888
888
|
animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
@@ -901,26 +901,26 @@ var at = { base: G`
|
|
|
901
901
|
` };
|
|
902
902
|
//#endregion
|
|
903
903
|
//#region src/components/_popup-box.jsx
|
|
904
|
-
function
|
|
904
|
+
function at({ className: e, trigger: t, children: n, id: r, isOpen: i = !1, origin: a = "center", role: l, width: u }) {
|
|
905
905
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
906
|
-
className:
|
|
906
|
+
className: ot.base,
|
|
907
907
|
children: [t, i && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
908
908
|
id: r,
|
|
909
|
-
className:
|
|
909
|
+
className: G(ot.popup, ot[a] ?? ot.center, e),
|
|
910
910
|
style: { width: u },
|
|
911
911
|
role: l,
|
|
912
912
|
children: n
|
|
913
913
|
}) })]
|
|
914
914
|
}) });
|
|
915
915
|
}
|
|
916
|
-
var
|
|
917
|
-
base:
|
|
916
|
+
var ot = {
|
|
917
|
+
base: K`
|
|
918
918
|
display: inline-block;
|
|
919
919
|
position: relative;
|
|
920
920
|
`,
|
|
921
|
-
popup:
|
|
921
|
+
popup: K`
|
|
922
922
|
position: absolute;
|
|
923
|
-
z-index: ${
|
|
923
|
+
z-index: ${q.zIndex.front + 1};
|
|
924
924
|
top: calc(100% + .5rem);
|
|
925
925
|
min-width: 100%;
|
|
926
926
|
width: max-content;
|
|
@@ -928,39 +928,39 @@ var st = {
|
|
|
928
928
|
padding: .5rem;
|
|
929
929
|
border: solid 1px #e5e7e9;
|
|
930
930
|
border-radius: 10px;
|
|
931
|
-
color: ${
|
|
932
|
-
background-color: ${
|
|
931
|
+
color: ${q.colors.fore.primary};
|
|
932
|
+
background-color: ${q.colors.back.primary};
|
|
933
933
|
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
934
|
-
font-family: ${
|
|
934
|
+
font-family: ${q.fontFamily}, sans-serif;
|
|
935
935
|
`,
|
|
936
|
-
center:
|
|
936
|
+
center: K`
|
|
937
937
|
left: 50%;
|
|
938
938
|
transform: translateX(-50%);
|
|
939
939
|
`,
|
|
940
|
-
left:
|
|
940
|
+
left: K`
|
|
941
941
|
left: 0;
|
|
942
942
|
`,
|
|
943
|
-
right:
|
|
943
|
+
right: K`
|
|
944
944
|
right: 0;
|
|
945
945
|
`,
|
|
946
|
-
leftSide:
|
|
946
|
+
leftSide: K`
|
|
947
947
|
top: 0;
|
|
948
948
|
right: calc(100% + 1rem);
|
|
949
949
|
`,
|
|
950
|
-
rightSide:
|
|
950
|
+
rightSide: K`
|
|
951
951
|
top: 0;
|
|
952
952
|
left: calc(100% + 1rem);
|
|
953
953
|
`
|
|
954
954
|
};
|
|
955
955
|
//#endregion
|
|
956
956
|
//#region src/components/_actions.jsx
|
|
957
|
-
function
|
|
957
|
+
function st({ items: e = [] }) {
|
|
958
958
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("nav", {
|
|
959
|
-
className:
|
|
960
|
-
children: e.map((e) => /* @__PURE__ */ s(
|
|
959
|
+
className: Y.base,
|
|
960
|
+
children: e.map((e) => /* @__PURE__ */ s(ct, { item: e }))
|
|
961
961
|
}) });
|
|
962
962
|
}
|
|
963
|
-
function
|
|
963
|
+
function ct({ item: e }) {
|
|
964
964
|
let t = i(), l = a(null), u = a(null), d = a([]), f = n(!1), p = e.subActions ?? e.items ?? [], m = p.length > 0;
|
|
965
965
|
r(() => {
|
|
966
966
|
if (!f.value) return;
|
|
@@ -1017,19 +1017,19 @@ function lt({ item: e }) {
|
|
|
1017
1017
|
}
|
|
1018
1018
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1019
1019
|
ref: l,
|
|
1020
|
-
className:
|
|
1021
|
-
children: /* @__PURE__ */ s(
|
|
1022
|
-
className:
|
|
1020
|
+
className: Y.action,
|
|
1021
|
+
children: /* @__PURE__ */ s(at, {
|
|
1022
|
+
className: Y.popup,
|
|
1023
1023
|
trigger: /* @__PURE__ */ c("button", {
|
|
1024
1024
|
ref: u,
|
|
1025
1025
|
type: "button",
|
|
1026
|
-
className:
|
|
1026
|
+
className: G(Y.button, !e.label && Y.iconOnly),
|
|
1027
1027
|
disabled: e.isDisabled,
|
|
1028
1028
|
"is-clickable": !e.isDisabled || void 0,
|
|
1029
1029
|
"is-disabled": e.isDisabled || void 0,
|
|
1030
1030
|
onClick: h,
|
|
1031
1031
|
onKeyDown: _,
|
|
1032
|
-
children: [e.iconName && /* @__PURE__ */ s(
|
|
1032
|
+
children: [e.iconName && /* @__PURE__ */ s(J, {
|
|
1033
1033
|
iconName: e.iconName,
|
|
1034
1034
|
size: "1rem"
|
|
1035
1035
|
}), e.label && /* @__PURE__ */ s("span", { children: e.label })]
|
|
@@ -1042,11 +1042,11 @@ function lt({ item: e }) {
|
|
|
1042
1042
|
ref: (e) => d.current[t] = e,
|
|
1043
1043
|
type: "button",
|
|
1044
1044
|
role: "menuitem",
|
|
1045
|
-
className:
|
|
1045
|
+
className: Y.option,
|
|
1046
1046
|
disabled: e.isDisabled,
|
|
1047
1047
|
onClick: (t) => v(t, e),
|
|
1048
1048
|
onKeyDown: (e) => y(e, t),
|
|
1049
|
-
children: [e.iconName && /* @__PURE__ */ s(
|
|
1049
|
+
children: [e.iconName && /* @__PURE__ */ s(J, {
|
|
1050
1050
|
iconName: e.iconName,
|
|
1051
1051
|
size: "1rem"
|
|
1052
1052
|
}), e.label && /* @__PURE__ */ s("span", { children: e.label })]
|
|
@@ -1054,42 +1054,42 @@ function lt({ item: e }) {
|
|
|
1054
1054
|
})
|
|
1055
1055
|
}) });
|
|
1056
1056
|
}
|
|
1057
|
-
var
|
|
1058
|
-
base:
|
|
1057
|
+
var Y = {
|
|
1058
|
+
base: K`
|
|
1059
1059
|
display: flex;
|
|
1060
1060
|
align-items: center;
|
|
1061
1061
|
gap: .5rem;
|
|
1062
1062
|
`,
|
|
1063
|
-
button:
|
|
1063
|
+
button: K`
|
|
1064
1064
|
display: flex;
|
|
1065
1065
|
align-items: center;
|
|
1066
1066
|
gap: .4rem;
|
|
1067
1067
|
min-height: 2.3rem;
|
|
1068
1068
|
padding: .6rem .8rem;
|
|
1069
1069
|
border-radius: 8px;
|
|
1070
|
-
background-color: ${
|
|
1071
|
-
color: ${
|
|
1070
|
+
background-color: ${q.colors.back.secondary};
|
|
1071
|
+
color: ${q.colors.fore.primary};
|
|
1072
1072
|
letter-spacing: 1px;
|
|
1073
1073
|
font-weight: 500;
|
|
1074
1074
|
white-space: nowrap;
|
|
1075
1075
|
`,
|
|
1076
|
-
iconOnly:
|
|
1076
|
+
iconOnly: K`
|
|
1077
1077
|
width: 2.3rem;
|
|
1078
1078
|
justify-content: center;
|
|
1079
1079
|
`,
|
|
1080
|
-
popup:
|
|
1080
|
+
popup: K`
|
|
1081
1081
|
display: grid;
|
|
1082
1082
|
gap: .125rem;
|
|
1083
1083
|
min-width: 10rem;
|
|
1084
1084
|
`,
|
|
1085
|
-
option:
|
|
1085
|
+
option: K`
|
|
1086
1086
|
display: flex;
|
|
1087
1087
|
align-items: center;
|
|
1088
1088
|
gap: .5rem;
|
|
1089
1089
|
width: 100%;
|
|
1090
1090
|
padding: .6rem .75rem;
|
|
1091
1091
|
border-radius: 7px;
|
|
1092
|
-
color: ${
|
|
1092
|
+
color: ${q.colors.fore.primary};
|
|
1093
1093
|
font-weight: 500;
|
|
1094
1094
|
text-align: left;
|
|
1095
1095
|
white-space: nowrap;
|
|
@@ -1097,63 +1097,63 @@ var J = {
|
|
|
1097
1097
|
};
|
|
1098
1098
|
//#endregion
|
|
1099
1099
|
//#region src/components/_text.jsx
|
|
1100
|
-
function
|
|
1100
|
+
function lt({ as: e = "span", className: t, size: n = "normal", color: r = q.colors.fore.primary, children: i }) {
|
|
1101
1101
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(e, {
|
|
1102
|
-
className:
|
|
1102
|
+
className: G(ut.base, ut[n] ?? ut.normal, t),
|
|
1103
1103
|
style: { color: r },
|
|
1104
1104
|
children: i
|
|
1105
1105
|
}) });
|
|
1106
1106
|
}
|
|
1107
|
-
var
|
|
1108
|
-
base:
|
|
1107
|
+
var ut = {
|
|
1108
|
+
base: K`
|
|
1109
1109
|
font-weight: 500;
|
|
1110
1110
|
letter-spacing: 1px;
|
|
1111
1111
|
`,
|
|
1112
|
-
normal:
|
|
1112
|
+
normal: K`
|
|
1113
1113
|
font-size: 1rem;
|
|
1114
1114
|
line-height: 1.125rem;
|
|
1115
1115
|
`,
|
|
1116
|
-
small:
|
|
1116
|
+
small: K`
|
|
1117
1117
|
font-size: .75rem;
|
|
1118
1118
|
line-height: 1rem;
|
|
1119
1119
|
`,
|
|
1120
|
-
tiny:
|
|
1120
|
+
tiny: K`
|
|
1121
1121
|
font-size: .65rem;
|
|
1122
1122
|
line-height: 1rem;
|
|
1123
1123
|
`
|
|
1124
1124
|
};
|
|
1125
1125
|
//#endregion
|
|
1126
1126
|
//#region src/components/_app-wrapper.jsx
|
|
1127
|
-
function
|
|
1127
|
+
function dt({ maxWidth: e = "67.5rem", logo: t, version: n, actions: r = [], children: i }) {
|
|
1128
1128
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1129
|
-
className:
|
|
1129
|
+
className: X.base,
|
|
1130
1130
|
children: [
|
|
1131
1131
|
/* @__PURE__ */ c("header", {
|
|
1132
|
-
className:
|
|
1132
|
+
className: X.header,
|
|
1133
1133
|
children: [t && /* @__PURE__ */ s("a", {
|
|
1134
1134
|
href: "/",
|
|
1135
1135
|
children: /* @__PURE__ */ s("img", {
|
|
1136
|
-
className:
|
|
1136
|
+
className: X.logo,
|
|
1137
1137
|
src: t
|
|
1138
1138
|
})
|
|
1139
|
-
}), r.length > 0 && /* @__PURE__ */ s(
|
|
1139
|
+
}), r.length > 0 && /* @__PURE__ */ s(st, { items: r })]
|
|
1140
1140
|
}),
|
|
1141
1141
|
/* @__PURE__ */ s("div", {
|
|
1142
|
-
className:
|
|
1142
|
+
className: X.inner,
|
|
1143
1143
|
style: { maxWidth: e },
|
|
1144
1144
|
children: i
|
|
1145
1145
|
}),
|
|
1146
|
-
n && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c(
|
|
1147
|
-
className:
|
|
1146
|
+
n && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c(lt, {
|
|
1147
|
+
className: X.version,
|
|
1148
1148
|
size: "small",
|
|
1149
|
-
color:
|
|
1149
|
+
color: q.colors.fore.secondary,
|
|
1150
1150
|
children: ["Version: ", n]
|
|
1151
1151
|
}) })
|
|
1152
1152
|
]
|
|
1153
1153
|
}) });
|
|
1154
1154
|
}
|
|
1155
|
-
var
|
|
1156
|
-
base:
|
|
1155
|
+
var X = {
|
|
1156
|
+
base: K`
|
|
1157
1157
|
// The template is stretched over the entire viewport, and the vertical
|
|
1158
1158
|
// scrollbar is enabled manually.
|
|
1159
1159
|
// This is necessary so that the modal overlays can cover the scrollbar,
|
|
@@ -1161,30 +1161,30 @@ var Y = {
|
|
|
1161
1161
|
// when it's displayed or not.
|
|
1162
1162
|
// Normally, we'd use the body element for this, but the modal overlay
|
|
1163
1163
|
// can't cover the scrollbar of the body element.
|
|
1164
|
-
${
|
|
1164
|
+
${q.extends.stretch}
|
|
1165
1165
|
overflow-y: scroll;
|
|
1166
1166
|
overflow-x: hidden;
|
|
1167
1167
|
scroll-behavior: smooth;
|
|
1168
1168
|
`,
|
|
1169
|
-
header:
|
|
1169
|
+
header: K`
|
|
1170
1170
|
display: flex;
|
|
1171
1171
|
padding: 4rem 5rem;
|
|
1172
1172
|
align-items: center;
|
|
1173
1173
|
justify-content: space-between;
|
|
1174
1174
|
`,
|
|
1175
|
-
logo:
|
|
1175
|
+
logo: K`
|
|
1176
1176
|
display: block;
|
|
1177
1177
|
pointer-events: auto;
|
|
1178
1178
|
display: block;
|
|
1179
1179
|
max-width: 8rem;
|
|
1180
1180
|
max-height: 3rem;
|
|
1181
1181
|
`,
|
|
1182
|
-
inner:
|
|
1182
|
+
inner: K`
|
|
1183
1183
|
position: relative;
|
|
1184
1184
|
padding: 4rem 0;
|
|
1185
1185
|
margin: 0 auto;
|
|
1186
1186
|
`,
|
|
1187
|
-
version:
|
|
1187
|
+
version: K`
|
|
1188
1188
|
position: absolute;
|
|
1189
1189
|
left: 2rem;
|
|
1190
1190
|
bottom: 2rem;
|
|
@@ -1192,65 +1192,62 @@ var Y = {
|
|
|
1192
1192
|
};
|
|
1193
1193
|
//#endregion
|
|
1194
1194
|
//#region src/components/_toolbar.jsx
|
|
1195
|
-
function
|
|
1196
|
-
let
|
|
1197
|
-
return
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
}, e.iconName ?? t))
|
|
1195
|
+
function ft({ items: e = [], side: t = "left", width: r, maxHeight: i }) {
|
|
1196
|
+
let a = n(null), l = t === "right" ? "rightSide" : "leftSide";
|
|
1197
|
+
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("nav", {
|
|
1198
|
+
className: Z.base,
|
|
1199
|
+
style: { maxHeight: i },
|
|
1200
|
+
children: [/* @__PURE__ */ s("div", {
|
|
1201
|
+
className: Z.buttons,
|
|
1202
|
+
children: e.map((e, t) => /* @__PURE__ */ s(pt, {
|
|
1203
|
+
item: e,
|
|
1204
|
+
isOpen: a.value === t,
|
|
1205
|
+
onToggle: () => a.value = a.value === t ? null : t
|
|
1206
|
+
}, e.iconName ?? t))
|
|
1207
|
+
}), a.value != null && /* @__PURE__ */ s(mt, {
|
|
1208
|
+
content: e[a.value]?.content ?? e[a.value]?.children,
|
|
1209
|
+
side: l,
|
|
1210
|
+
width: r
|
|
1211
|
+
})]
|
|
1213
1212
|
}) });
|
|
1214
1213
|
}
|
|
1215
|
-
function
|
|
1216
|
-
let
|
|
1217
|
-
function
|
|
1218
|
-
if (!
|
|
1214
|
+
function pt({ item: e, isOpen: t, onToggle: n }) {
|
|
1215
|
+
let r = (e.content ?? e.children) != null;
|
|
1216
|
+
function i(t) {
|
|
1217
|
+
if (!r) {
|
|
1219
1218
|
e.onClick?.(t);
|
|
1220
1219
|
return;
|
|
1221
1220
|
}
|
|
1222
|
-
t.preventDefault(),
|
|
1221
|
+
t.preventDefault(), n();
|
|
1223
1222
|
}
|
|
1224
1223
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1225
|
-
className:
|
|
1226
|
-
children: /* @__PURE__ */ s(
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
size: "1.5rem"
|
|
1238
|
-
})
|
|
1239
|
-
}),
|
|
1240
|
-
id: u,
|
|
1241
|
-
isOpen: n && l,
|
|
1242
|
-
origin: i,
|
|
1243
|
-
role: "dialog",
|
|
1244
|
-
width: a,
|
|
1245
|
-
children: c
|
|
1224
|
+
className: Z.item,
|
|
1225
|
+
children: /* @__PURE__ */ s("button", {
|
|
1226
|
+
type: "button",
|
|
1227
|
+
className: G(Z.button, t && Z.active),
|
|
1228
|
+
disabled: e.isDisabled,
|
|
1229
|
+
"is-clickable": !e.isDisabled || void 0,
|
|
1230
|
+
"is-disabled": e.isDisabled || void 0,
|
|
1231
|
+
onClick: i,
|
|
1232
|
+
children: /* @__PURE__ */ s(J, {
|
|
1233
|
+
iconName: e.iconName,
|
|
1234
|
+
size: "1.5rem"
|
|
1235
|
+
})
|
|
1246
1236
|
})
|
|
1247
1237
|
}) });
|
|
1248
1238
|
}
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1239
|
+
function mt({ content: e, side: t, width: n }) {
|
|
1240
|
+
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1241
|
+
className: G(Z.popup, t === "rightSide" ? Z.right : Z.left),
|
|
1242
|
+
style: { width: n },
|
|
1243
|
+
role: "dialog",
|
|
1244
|
+
children: e
|
|
1245
|
+
}) });
|
|
1246
|
+
}
|
|
1247
|
+
var Z = {
|
|
1248
|
+
base: K`
|
|
1252
1249
|
position: fixed;
|
|
1253
|
-
z-index: ${
|
|
1250
|
+
z-index: ${q.zIndex.front};
|
|
1254
1251
|
top: 40%;
|
|
1255
1252
|
right: 0;
|
|
1256
1253
|
display: flex;
|
|
@@ -1259,48 +1256,70 @@ var X = {
|
|
|
1259
1256
|
padding: .5rem;
|
|
1260
1257
|
border-right: 0;
|
|
1261
1258
|
border-radius: 10px 0 0 10px;
|
|
1259
|
+
background-color: ${q.colors.back.primary};
|
|
1262
1260
|
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
1263
1261
|
transform: translateY(-50%);
|
|
1264
1262
|
`,
|
|
1265
|
-
|
|
1263
|
+
buttons: K`
|
|
1264
|
+
display: flex;
|
|
1265
|
+
flex-direction: column;
|
|
1266
|
+
gap: .5rem;
|
|
1267
|
+
max-height: inherit;
|
|
1268
|
+
overflow-y: auto;
|
|
1269
|
+
`,
|
|
1270
|
+
item: K`
|
|
1266
1271
|
position: relative;
|
|
1267
1272
|
`,
|
|
1268
|
-
button:
|
|
1273
|
+
button: K`
|
|
1269
1274
|
display: grid;
|
|
1270
1275
|
width: 2.75rem;
|
|
1271
1276
|
height: 2.75rem;
|
|
1272
1277
|
place-items: center;
|
|
1273
1278
|
border-radius: 8px;
|
|
1274
|
-
color: ${
|
|
1275
|
-
background-color: ${
|
|
1279
|
+
color: ${q.colors.fore.primary};
|
|
1280
|
+
background-color: ${q.colors.back.secondary};
|
|
1276
1281
|
transition: background-color .1s linear, color .1s linear;
|
|
1277
1282
|
`,
|
|
1278
|
-
active:
|
|
1279
|
-
color: ${
|
|
1280
|
-
background-color: ${
|
|
1283
|
+
active: K`
|
|
1284
|
+
color: ${q.colors.fore.primary};
|
|
1285
|
+
background-color: ${q.colors.primary};
|
|
1281
1286
|
`,
|
|
1282
|
-
popup:
|
|
1283
|
-
|
|
1287
|
+
popup: K`
|
|
1288
|
+
position: absolute;
|
|
1289
|
+
z-index: ${q.zIndex.front + 1};
|
|
1290
|
+
top: .5rem;
|
|
1284
1291
|
min-width: 12rem;
|
|
1292
|
+
max-width: calc(100vw - 2rem);
|
|
1285
1293
|
padding: 2rem 1.5rem;
|
|
1286
|
-
|
|
1294
|
+
border: solid 1px #e5e7e9;
|
|
1295
|
+
border-radius: 10px;
|
|
1296
|
+
color: ${q.colors.fore.primary};
|
|
1297
|
+
background-color: ${q.colors.back.primary};
|
|
1298
|
+
box-shadow: 0 6px 20px rgb(22 24 38 / 10%);
|
|
1299
|
+
font-family: ${q.fontFamily}, sans-serif;
|
|
1300
|
+
`,
|
|
1301
|
+
left: K`
|
|
1302
|
+
right: calc(100% + 1rem);
|
|
1303
|
+
`,
|
|
1304
|
+
right: K`
|
|
1305
|
+
left: calc(100% + 1rem);
|
|
1287
1306
|
`
|
|
1288
1307
|
}, ht = ({ type: e = "normal", width: t = "100%", value: n = 0 }) => /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1289
1308
|
className: gt.base,
|
|
1290
1309
|
style: { width: t },
|
|
1291
1310
|
children: /* @__PURE__ */ s("div", {
|
|
1292
|
-
className:
|
|
1311
|
+
className: G(gt.value, gt[e] ?? gt.normal),
|
|
1293
1312
|
style: { width: `${n}%` }
|
|
1294
1313
|
})
|
|
1295
1314
|
}) }), gt = {
|
|
1296
|
-
base:
|
|
1315
|
+
base: K`
|
|
1297
1316
|
position: relative;
|
|
1298
1317
|
border-radius: 16px;
|
|
1299
1318
|
height: .625rem;
|
|
1300
|
-
border: solid 1px ${
|
|
1301
|
-
background-color: ${
|
|
1319
|
+
border: solid 1px ${q.colors.border};
|
|
1320
|
+
background-color: ${q.colors.back.secondary};
|
|
1302
1321
|
`,
|
|
1303
|
-
value:
|
|
1322
|
+
value: K`
|
|
1304
1323
|
position: absolute;
|
|
1305
1324
|
top: -1px;
|
|
1306
1325
|
bottom: -1px;
|
|
@@ -1309,24 +1328,24 @@ var X = {
|
|
|
1309
1328
|
will-change: width;
|
|
1310
1329
|
transition: width .3s ease;
|
|
1311
1330
|
`,
|
|
1312
|
-
normal:
|
|
1313
|
-
border: solid 1px ${e(
|
|
1314
|
-
background-color: ${
|
|
1331
|
+
normal: K`
|
|
1332
|
+
border: solid 1px ${e(q.colors.primary, .3)};
|
|
1333
|
+
background-color: ${q.colors.primary};
|
|
1315
1334
|
`,
|
|
1316
|
-
warn:
|
|
1317
|
-
border: solid 1px ${e(
|
|
1318
|
-
background-color: ${
|
|
1335
|
+
warn: K`
|
|
1336
|
+
border: solid 1px ${e(q.colors.secondary, .2)};
|
|
1337
|
+
background-color: ${q.colors.secondary};
|
|
1319
1338
|
`,
|
|
1320
|
-
danger:
|
|
1321
|
-
border: solid 1px ${e(
|
|
1322
|
-
background-color: ${
|
|
1339
|
+
danger: K`
|
|
1340
|
+
border: solid 1px ${e(q.colors.danger, .3)};
|
|
1341
|
+
background-color: ${q.colors.danger};
|
|
1323
1342
|
`
|
|
1324
1343
|
};
|
|
1325
1344
|
//#endregion
|
|
1326
1345
|
//#region src/components/_box.jsx
|
|
1327
1346
|
function _t({ type: e = "normal", className: t, width: n, height: r, children: i }) {
|
|
1328
1347
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1329
|
-
className:
|
|
1348
|
+
className: G(vt.base, vt[e] ?? vt.normal, t),
|
|
1330
1349
|
style: {
|
|
1331
1350
|
width: n,
|
|
1332
1351
|
height: r
|
|
@@ -1335,17 +1354,17 @@ function _t({ type: e = "normal", className: t, width: n, height: r, children: i
|
|
|
1335
1354
|
}) });
|
|
1336
1355
|
}
|
|
1337
1356
|
var vt = {
|
|
1338
|
-
base:
|
|
1357
|
+
base: K`
|
|
1339
1358
|
position: relative;
|
|
1340
1359
|
border-radius: 18px;
|
|
1341
1360
|
border: solid 2px #eee;
|
|
1342
1361
|
padding: 1.875rem 1.25rem;
|
|
1343
|
-
box-shadow: ${
|
|
1362
|
+
box-shadow: ${q.colors.shadow.primary};
|
|
1344
1363
|
`,
|
|
1345
|
-
normal:
|
|
1346
|
-
background-color: ${
|
|
1364
|
+
normal: K`
|
|
1365
|
+
background-color: ${q.colors.back.primary};
|
|
1347
1366
|
`,
|
|
1348
|
-
alternative:
|
|
1367
|
+
alternative: K`
|
|
1349
1368
|
background-color: #fafafa;
|
|
1350
1369
|
`
|
|
1351
1370
|
};
|
|
@@ -1365,7 +1384,7 @@ function yt({ type: e = "primary", label: t, iconName: r, isDisabled: i = !1, is
|
|
|
1365
1384
|
}
|
|
1366
1385
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("button", {
|
|
1367
1386
|
type: "button",
|
|
1368
|
-
className:
|
|
1387
|
+
className: G(xt.base, xt[e] ?? xt.normal),
|
|
1369
1388
|
"has-icon": u,
|
|
1370
1389
|
"is-disabled": i || void 0,
|
|
1371
1390
|
"is-loading": a || void 0,
|
|
@@ -1374,19 +1393,19 @@ function yt({ type: e = "primary", label: t, iconName: r, isDisabled: i = !1, is
|
|
|
1374
1393
|
onClick: f,
|
|
1375
1394
|
children: [
|
|
1376
1395
|
u && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1377
|
-
className:
|
|
1378
|
-
${
|
|
1396
|
+
className: K`
|
|
1397
|
+
${q.extends.verticalCenter}
|
|
1379
1398
|
|
|
1380
1399
|
left: .6rem;
|
|
1381
1400
|
`,
|
|
1382
|
-
children: a ? /* @__PURE__ */ s(
|
|
1401
|
+
children: a ? /* @__PURE__ */ s(J, {
|
|
1383
1402
|
iconName: "loader",
|
|
1384
1403
|
isSpinning: !0
|
|
1385
|
-
}) : /* @__PURE__ */ s(
|
|
1404
|
+
}) : /* @__PURE__ */ s(J, { iconName: r })
|
|
1386
1405
|
}) }),
|
|
1387
1406
|
t,
|
|
1388
1407
|
d.value && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("span", {
|
|
1389
|
-
className:
|
|
1408
|
+
className: xt.ripple,
|
|
1390
1409
|
style: {
|
|
1391
1410
|
left: d.value.x,
|
|
1392
1411
|
top: d.value.y,
|
|
@@ -1398,7 +1417,7 @@ function yt({ type: e = "primary", label: t, iconName: r, isDisabled: i = !1, is
|
|
|
1398
1417
|
]
|
|
1399
1418
|
}) });
|
|
1400
1419
|
}
|
|
1401
|
-
var bt =
|
|
1420
|
+
var bt = et`
|
|
1402
1421
|
from {
|
|
1403
1422
|
opacity: .4;
|
|
1404
1423
|
transform: translate(-50%, -50%) scale(0);
|
|
@@ -1408,8 +1427,8 @@ var bt = tt`
|
|
|
1408
1427
|
opacity: 0;
|
|
1409
1428
|
transform: translate(-50%, -50%) scale(1);
|
|
1410
1429
|
}
|
|
1411
|
-
`,
|
|
1412
|
-
base:
|
|
1430
|
+
`, xt = {
|
|
1431
|
+
base: K`
|
|
1413
1432
|
font-size: .9rem;
|
|
1414
1433
|
display: inline-block;
|
|
1415
1434
|
position: relative;
|
|
@@ -1421,7 +1440,7 @@ var bt = tt`
|
|
|
1421
1440
|
border-radius: 12px;
|
|
1422
1441
|
will-change: transform, border;
|
|
1423
1442
|
transition: transform .1s linear, border .1s linear;
|
|
1424
|
-
font-family: ${
|
|
1443
|
+
font-family: ${q.fontFamily}, sans-serif;
|
|
1425
1444
|
|
|
1426
1445
|
&:active {
|
|
1427
1446
|
transform: translateY(2px);
|
|
@@ -1430,17 +1449,17 @@ var bt = tt`
|
|
|
1430
1449
|
|
|
1431
1450
|
&[has-icon] { padding-left: 2rem; }
|
|
1432
1451
|
`,
|
|
1433
|
-
primary:
|
|
1434
|
-
color: ${e(
|
|
1435
|
-
border-bottom: solid 3px ${e(
|
|
1436
|
-
background-color: ${
|
|
1452
|
+
primary: K`
|
|
1453
|
+
color: ${e(q.colors.primary, .5)};
|
|
1454
|
+
border-bottom: solid 3px ${e(q.colors.primary, .25)};
|
|
1455
|
+
background-color: ${q.colors.primary};
|
|
1437
1456
|
`,
|
|
1438
|
-
secondary:
|
|
1439
|
-
color: ${e(
|
|
1440
|
-
border-bottom: solid 3px ${e(
|
|
1441
|
-
background-color: ${
|
|
1457
|
+
secondary: K`
|
|
1458
|
+
color: ${e(q.colors.secondary, .5)};
|
|
1459
|
+
border-bottom: solid 3px ${e(q.colors.secondary, .25)};
|
|
1460
|
+
background-color: ${q.colors.secondary};
|
|
1442
1461
|
`,
|
|
1443
|
-
ripple:
|
|
1462
|
+
ripple: K`
|
|
1444
1463
|
position: absolute;
|
|
1445
1464
|
z-index: 1;
|
|
1446
1465
|
border-radius: 50%;
|
|
@@ -1451,9 +1470,9 @@ var bt = tt`
|
|
|
1451
1470
|
};
|
|
1452
1471
|
//#endregion
|
|
1453
1472
|
//#region src/components/_layout.jsx
|
|
1454
|
-
function
|
|
1473
|
+
function St({ className: e, height: t, direction: n = "row", justify: r, align: i, gap: a, children: c }) {
|
|
1455
1474
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1456
|
-
className:
|
|
1475
|
+
className: G(Ct.base, e),
|
|
1457
1476
|
style: {
|
|
1458
1477
|
height: t,
|
|
1459
1478
|
flexDirection: n,
|
|
@@ -1464,33 +1483,33 @@ function xt({ className: e, height: t, direction: n = "row", justify: r, align:
|
|
|
1464
1483
|
children: c
|
|
1465
1484
|
}) });
|
|
1466
1485
|
}
|
|
1467
|
-
var
|
|
1486
|
+
var Ct = { base: K`
|
|
1468
1487
|
display: flex;
|
|
1469
1488
|
` };
|
|
1470
1489
|
//#endregion
|
|
1471
1490
|
//#region src/components/_headline.jsx
|
|
1472
|
-
function
|
|
1491
|
+
function wt({ as: e = "h2", className: t, size: n = "normal", color: r = q.colors.fore.primary, children: i }) {
|
|
1473
1492
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(e, {
|
|
1474
|
-
className:
|
|
1493
|
+
className: G(Tt.base, Tt[n] ?? Tt.normal, t),
|
|
1475
1494
|
style: { color: r },
|
|
1476
1495
|
children: i
|
|
1477
1496
|
}) });
|
|
1478
1497
|
}
|
|
1479
|
-
var
|
|
1480
|
-
base:
|
|
1498
|
+
var Tt = {
|
|
1499
|
+
base: K`
|
|
1481
1500
|
letter-spacing: 1px;
|
|
1482
1501
|
`,
|
|
1483
|
-
normal:
|
|
1502
|
+
normal: K`
|
|
1484
1503
|
font-weight: 500;
|
|
1485
1504
|
font-size: 1rem;
|
|
1486
1505
|
line-height: 1.2rem;
|
|
1487
1506
|
`,
|
|
1488
|
-
large:
|
|
1507
|
+
large: K`
|
|
1489
1508
|
font-weight: 600;
|
|
1490
1509
|
font-size: 1.4rem;
|
|
1491
1510
|
line-height: 1.2;
|
|
1492
1511
|
`,
|
|
1493
|
-
small:
|
|
1512
|
+
small: K`
|
|
1494
1513
|
font-weight: 500;
|
|
1495
1514
|
font-size: .9rem;
|
|
1496
1515
|
line-height: 1.2rem;
|
|
@@ -1498,7 +1517,7 @@ var wt = {
|
|
|
1498
1517
|
};
|
|
1499
1518
|
//#endregion
|
|
1500
1519
|
//#region src/components/_space.jsx
|
|
1501
|
-
function
|
|
1520
|
+
function Et({ size: e = 1 }) {
|
|
1502
1521
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
1503
1522
|
"aria-hidden": "true",
|
|
1504
1523
|
style: {
|
|
@@ -1509,23 +1528,23 @@ function Tt({ size: e = 1 }) {
|
|
|
1509
1528
|
}
|
|
1510
1529
|
//#endregion
|
|
1511
1530
|
//#region src/components/_text-field.jsx
|
|
1512
|
-
function
|
|
1531
|
+
function Dt({ placeholder: e, value: t, width: r, isDisabled: a, onChange: l }) {
|
|
1513
1532
|
let u = i(), d = n(t);
|
|
1514
1533
|
function f({ target: e }) {
|
|
1515
1534
|
d.value = e.value, l?.(d.value);
|
|
1516
1535
|
}
|
|
1517
1536
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1518
|
-
className:
|
|
1537
|
+
className: Ot.base,
|
|
1519
1538
|
style: { width: r },
|
|
1520
1539
|
"is-disabled": a,
|
|
1521
1540
|
children: [!d.value && e && /* @__PURE__ */ s("label", {
|
|
1522
|
-
className:
|
|
1541
|
+
className: Ot.label,
|
|
1523
1542
|
htmlFor: u,
|
|
1524
1543
|
children: e
|
|
1525
1544
|
}), /* @__PURE__ */ s("input", {
|
|
1526
1545
|
id: u,
|
|
1527
1546
|
name: u,
|
|
1528
|
-
className:
|
|
1547
|
+
className: Ot.input,
|
|
1529
1548
|
value: d.value,
|
|
1530
1549
|
disabled: a,
|
|
1531
1550
|
autocomplete: "off",
|
|
@@ -1533,11 +1552,11 @@ function Et({ placeholder: e, value: t, width: r, isDisabled: a, onChange: l })
|
|
|
1533
1552
|
})]
|
|
1534
1553
|
}) });
|
|
1535
1554
|
}
|
|
1536
|
-
var
|
|
1537
|
-
base:
|
|
1555
|
+
var Ot = {
|
|
1556
|
+
base: K`
|
|
1538
1557
|
position: relative;
|
|
1539
1558
|
`,
|
|
1540
|
-
label:
|
|
1559
|
+
label: K`
|
|
1541
1560
|
font-size: .875rem;
|
|
1542
1561
|
font-weight: 500;
|
|
1543
1562
|
opacity: .5;
|
|
@@ -1546,10 +1565,10 @@ var Dt = {
|
|
|
1546
1565
|
top: .75rem;
|
|
1547
1566
|
pointer-events: none;
|
|
1548
1567
|
letter-spacing: 1px;
|
|
1549
|
-
font-family: ${
|
|
1550
|
-
color: ${
|
|
1568
|
+
font-family: ${q.fontFamily}, sans-serif;
|
|
1569
|
+
color: ${q.colors.fore.primary};
|
|
1551
1570
|
`,
|
|
1552
|
-
input:
|
|
1571
|
+
input: K`
|
|
1553
1572
|
font-size: .875rem;
|
|
1554
1573
|
font-weight: 500;
|
|
1555
1574
|
color: rgb(58, 58, 58);
|
|
@@ -1560,14 +1579,14 @@ var Dt = {
|
|
|
1560
1579
|
width: 100%;
|
|
1561
1580
|
border-radius: 8px;
|
|
1562
1581
|
letter-spacing: 1px;
|
|
1563
|
-
font-family: ${
|
|
1564
|
-
color: ${
|
|
1565
|
-
background-color: ${
|
|
1582
|
+
font-family: ${q.fontFamily}, sans-serif;
|
|
1583
|
+
color: ${q.colors.fore.primary};
|
|
1584
|
+
background-color: ${q.colors.back.secondary};
|
|
1566
1585
|
`
|
|
1567
1586
|
};
|
|
1568
1587
|
//#endregion
|
|
1569
1588
|
//#region src/components/_dropdown.jsx
|
|
1570
|
-
function
|
|
1589
|
+
function kt({ items: e = [], value: t, width: l, isDisabled: u = !1, onChange: d }) {
|
|
1571
1590
|
let f = i(), p = a(null), m = a(null), h = a([]), g = n(t ?? e[0]?.value ?? ""), _ = n(!1), v = e.findIndex((e) => e.value === g.value), y = e[v] ?? e[0], b = u || e.length === 0;
|
|
1572
1591
|
r(() => {
|
|
1573
1592
|
t !== void 0 && (g.value = t);
|
|
@@ -1647,8 +1666,8 @@ function Ot({ items: e = [], value: t, width: l, isDisabled: u = !1, onChange: d
|
|
|
1647
1666
|
className: Q.label,
|
|
1648
1667
|
children: y?.label
|
|
1649
1668
|
}),
|
|
1650
|
-
/* @__PURE__ */ s(
|
|
1651
|
-
className:
|
|
1669
|
+
/* @__PURE__ */ s(J, {
|
|
1670
|
+
className: G(Q.icon, _.value && Q.iconOpen),
|
|
1652
1671
|
iconName: "down",
|
|
1653
1672
|
size: "1rem"
|
|
1654
1673
|
})
|
|
@@ -1658,7 +1677,7 @@ function Ot({ items: e = [], value: t, width: l, isDisabled: u = !1, onChange: d
|
|
|
1658
1677
|
ref: p,
|
|
1659
1678
|
className: Q.base,
|
|
1660
1679
|
"is-disabled": b || void 0,
|
|
1661
|
-
children: /* @__PURE__ */ s(
|
|
1680
|
+
children: /* @__PURE__ */ s(at, {
|
|
1662
1681
|
className: Q.popup,
|
|
1663
1682
|
trigger: ne,
|
|
1664
1683
|
id: f,
|
|
@@ -1679,10 +1698,10 @@ function Ot({ items: e = [], value: t, width: l, isDisabled: u = !1, onChange: d
|
|
|
1679
1698
|
}) });
|
|
1680
1699
|
}
|
|
1681
1700
|
var Q = {
|
|
1682
|
-
base:
|
|
1701
|
+
base: K`
|
|
1683
1702
|
display: inline-block;
|
|
1684
1703
|
`,
|
|
1685
|
-
trigger:
|
|
1704
|
+
trigger: K`
|
|
1686
1705
|
display: inline-grid;
|
|
1687
1706
|
position: relative;
|
|
1688
1707
|
align-items: center;
|
|
@@ -1695,47 +1714,47 @@ var Q = {
|
|
|
1695
1714
|
font-size: .875rem;
|
|
1696
1715
|
font-weight: 500;
|
|
1697
1716
|
letter-spacing: 1px;
|
|
1698
|
-
color: ${
|
|
1699
|
-
background-color: ${
|
|
1700
|
-
font-family: ${
|
|
1717
|
+
color: ${q.colors.fore.primary};
|
|
1718
|
+
background-color: ${q.colors.back.secondary};
|
|
1719
|
+
font-family: ${q.fontFamily}, sans-serif;
|
|
1701
1720
|
|
|
1702
1721
|
&:focus-visible {
|
|
1703
|
-
box-shadow: 0 0 0 2px ${
|
|
1722
|
+
box-shadow: 0 0 0 2px ${q.colors.primary};
|
|
1704
1723
|
}
|
|
1705
1724
|
|
|
1706
1725
|
&:disabled { cursor: default; }
|
|
1707
1726
|
`,
|
|
1708
|
-
sizer:
|
|
1727
|
+
sizer: K`
|
|
1709
1728
|
display: inline-grid;
|
|
1710
1729
|
visibility: hidden;
|
|
1711
1730
|
grid-area: 1 / 1;
|
|
1712
1731
|
`,
|
|
1713
|
-
sizerValue:
|
|
1732
|
+
sizerValue: K`
|
|
1714
1733
|
grid-area: 1 / 1;
|
|
1715
1734
|
white-space: nowrap;
|
|
1716
1735
|
`,
|
|
1717
|
-
label:
|
|
1736
|
+
label: K`
|
|
1718
1737
|
grid-area: 1 / 1;
|
|
1719
1738
|
overflow: hidden;
|
|
1720
1739
|
white-space: nowrap;
|
|
1721
1740
|
text-overflow: ellipsis;
|
|
1722
1741
|
`,
|
|
1723
|
-
icon:
|
|
1724
|
-
${
|
|
1742
|
+
icon: K`
|
|
1743
|
+
${q.extends.verticalCenter}
|
|
1725
1744
|
|
|
1726
1745
|
right: .75rem;
|
|
1727
1746
|
pointer-events: none;
|
|
1728
1747
|
`,
|
|
1729
|
-
iconOpen:
|
|
1748
|
+
iconOpen: K`
|
|
1730
1749
|
transform: translateY(-50%) rotate(180deg);
|
|
1731
1750
|
`,
|
|
1732
|
-
popup:
|
|
1751
|
+
popup: K`
|
|
1733
1752
|
display: grid;
|
|
1734
1753
|
gap: .125rem;
|
|
1735
1754
|
min-width: 0;
|
|
1736
1755
|
padding: .25rem;
|
|
1737
1756
|
`,
|
|
1738
|
-
option:
|
|
1757
|
+
option: K`
|
|
1739
1758
|
width: 100%;
|
|
1740
1759
|
padding: .6rem .75rem;
|
|
1741
1760
|
border-radius: 7px;
|
|
@@ -1743,17 +1762,17 @@ var Q = {
|
|
|
1743
1762
|
text-align: left;
|
|
1744
1763
|
white-space: nowrap;
|
|
1745
1764
|
font-size: .825rem;
|
|
1746
|
-
color: ${
|
|
1747
|
-
font-family: ${
|
|
1765
|
+
color: ${q.colors.fore.primary};
|
|
1766
|
+
font-family: ${q.fontFamily}, sans-serif;
|
|
1748
1767
|
|
|
1749
1768
|
&:hover,
|
|
1750
1769
|
&:focus-visible,
|
|
1751
1770
|
&[aria-selected="true"] {
|
|
1752
|
-
background-color: ${
|
|
1771
|
+
background-color: ${q.colors.back.secondary};
|
|
1753
1772
|
}
|
|
1754
1773
|
`
|
|
1755
|
-
},
|
|
1756
|
-
function
|
|
1774
|
+
}, At = 28, jt = 3, Mt = 11;
|
|
1775
|
+
function Nt({ label: e, isChecked: t, isDisabled: a, onChange: l }) {
|
|
1757
1776
|
let u = i(), d = n(t);
|
|
1758
1777
|
r(() => d.value = t, [t]);
|
|
1759
1778
|
function f() {
|
|
@@ -1761,10 +1780,10 @@ function Mt({ label: e, isChecked: t, isDisabled: a, onChange: l }) {
|
|
|
1761
1780
|
d.value = e, l?.(e);
|
|
1762
1781
|
}
|
|
1763
1782
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1764
|
-
className:
|
|
1783
|
+
className: Pt.base,
|
|
1765
1784
|
children: [
|
|
1766
1785
|
/* @__PURE__ */ s("label", {
|
|
1767
|
-
className:
|
|
1786
|
+
className: Pt.label,
|
|
1768
1787
|
htmlFor: u,
|
|
1769
1788
|
"is-disabled": a,
|
|
1770
1789
|
children: e
|
|
@@ -1772,48 +1791,48 @@ function Mt({ label: e, isChecked: t, isDisabled: a, onChange: l }) {
|
|
|
1772
1791
|
/* @__PURE__ */ s("input", {
|
|
1773
1792
|
id: u,
|
|
1774
1793
|
type: "checkbox",
|
|
1775
|
-
className:
|
|
1794
|
+
className: Pt.checkbox,
|
|
1776
1795
|
checked: d.value,
|
|
1777
1796
|
disabled: a,
|
|
1778
1797
|
onChange: f
|
|
1779
1798
|
}),
|
|
1780
1799
|
/* @__PURE__ */ s("label", {
|
|
1781
|
-
className:
|
|
1800
|
+
className: Pt.value,
|
|
1782
1801
|
htmlFor: u,
|
|
1783
1802
|
"is-disabled": a
|
|
1784
1803
|
})
|
|
1785
1804
|
]
|
|
1786
1805
|
}) });
|
|
1787
1806
|
}
|
|
1788
|
-
var
|
|
1789
|
-
base:
|
|
1807
|
+
var Pt = {
|
|
1808
|
+
base: K`
|
|
1790
1809
|
position: relative;
|
|
1791
1810
|
display: flex;
|
|
1792
1811
|
gap: .5rem;
|
|
1793
1812
|
`,
|
|
1794
|
-
label:
|
|
1813
|
+
label: K`
|
|
1795
1814
|
display: inline-block;
|
|
1796
1815
|
font-size: .75rem;
|
|
1797
1816
|
line-height: 1.2rem;
|
|
1798
1817
|
cursor: pointer;
|
|
1799
1818
|
user-select: none;
|
|
1800
1819
|
font-weight: 500;
|
|
1801
|
-
font-family: ${
|
|
1802
|
-
color: ${
|
|
1820
|
+
font-family: ${q.fontFamily}, sans-serif;
|
|
1821
|
+
color: ${q.colors.fore.secondary};
|
|
1803
1822
|
`,
|
|
1804
|
-
checkbox:
|
|
1823
|
+
checkbox: K`
|
|
1805
1824
|
display: none;
|
|
1806
1825
|
|
|
1807
1826
|
&:checked ~ label {
|
|
1808
1827
|
background-color: #e1e1e1;
|
|
1809
1828
|
|
|
1810
1829
|
&:before {
|
|
1811
|
-
right: ${
|
|
1830
|
+
right: ${jt}px;
|
|
1812
1831
|
background-color: #3a3a3a;
|
|
1813
1832
|
}
|
|
1814
1833
|
}
|
|
1815
1834
|
`,
|
|
1816
|
-
value:
|
|
1835
|
+
value: K`
|
|
1817
1836
|
display: inline-block;
|
|
1818
1837
|
position: relative;
|
|
1819
1838
|
height: 1.1rem;
|
|
@@ -1821,8 +1840,8 @@ var Nt = {
|
|
|
1821
1840
|
cursor: pointer;
|
|
1822
1841
|
user-select: none;
|
|
1823
1842
|
transition: background .3s ease;
|
|
1824
|
-
width: ${
|
|
1825
|
-
background-color: ${
|
|
1843
|
+
width: ${At}px;
|
|
1844
|
+
background-color: ${q.colors.back.secondary};
|
|
1826
1845
|
|
|
1827
1846
|
&:before {
|
|
1828
1847
|
background-color: #e1e1e1;
|
|
@@ -1831,22 +1850,22 @@ var Nt = {
|
|
|
1831
1850
|
position: absolute;
|
|
1832
1851
|
transition: background .3s ease, right .3s ease;
|
|
1833
1852
|
border-radius: 50%;
|
|
1834
|
-
top: ${
|
|
1853
|
+
top: ${jt}px;
|
|
1835
1854
|
right: ${14}px;
|
|
1836
|
-
width: ${
|
|
1837
|
-
height: ${
|
|
1855
|
+
width: ${Mt}px;
|
|
1856
|
+
height: ${Mt}px;
|
|
1838
1857
|
}
|
|
1839
1858
|
`
|
|
1840
1859
|
};
|
|
1841
1860
|
//#endregion
|
|
1842
1861
|
//#region src/components/_tag.jsx
|
|
1843
|
-
function
|
|
1862
|
+
function Ft({ className: e, variant: n = "normal", iconName: r = "", label: i }) {
|
|
1844
1863
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1845
|
-
className:
|
|
1864
|
+
className: G(It.base, It[n] ?? It.normal, e),
|
|
1846
1865
|
"has-icon": !t(r),
|
|
1847
|
-
children: [r && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(
|
|
1848
|
-
className:
|
|
1849
|
-
${
|
|
1866
|
+
children: [r && /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s(J, {
|
|
1867
|
+
className: K`
|
|
1868
|
+
${q.extends.verticalCenter}
|
|
1850
1869
|
left: .3rem;
|
|
1851
1870
|
`,
|
|
1852
1871
|
iconName: r,
|
|
@@ -1854,7 +1873,7 @@ function Pt({ className: e, variant: n = "normal", iconName: r = "", label: i })
|
|
|
1854
1873
|
}) }), i]
|
|
1855
1874
|
}) });
|
|
1856
1875
|
}
|
|
1857
|
-
var
|
|
1876
|
+
var It = { base: K`
|
|
1858
1877
|
position: relative;
|
|
1859
1878
|
display: inline-block;
|
|
1860
1879
|
padding: .3rem .5rem;
|
|
@@ -1862,48 +1881,48 @@ var Ft = { base: G`
|
|
|
1862
1881
|
white-space: pre-wrap;
|
|
1863
1882
|
font-size: .7rem;
|
|
1864
1883
|
font-weight: 600;
|
|
1865
|
-
border: solid 1px ${
|
|
1866
|
-
background-color: ${
|
|
1867
|
-
color: ${
|
|
1884
|
+
border: solid 1px ${q.colors.border};
|
|
1885
|
+
background-color: ${q.colors.back.secondary};
|
|
1886
|
+
color: ${q.colors.fore.primary};
|
|
1868
1887
|
|
|
1869
1888
|
&[has-icon="true"] { padding-left: 1.5rem; }
|
|
1870
1889
|
` };
|
|
1871
1890
|
//#endregion
|
|
1872
1891
|
//#region src/components/_icon-button.jsx
|
|
1873
|
-
function
|
|
1892
|
+
function Lt({ iconName: e, color: t, isDisabled: n, onClick: r }) {
|
|
1874
1893
|
function i(e) {
|
|
1875
1894
|
n || (e.stopPropagation(), e.preventDefault(), r?.(e));
|
|
1876
1895
|
}
|
|
1877
1896
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("button", {
|
|
1878
|
-
className:
|
|
1897
|
+
className: Rt.base,
|
|
1879
1898
|
"is-disabled": n || void 0,
|
|
1880
1899
|
"is-clickable": !!r || void 0,
|
|
1881
1900
|
disabled: n,
|
|
1882
1901
|
onClick: i,
|
|
1883
|
-
children: /* @__PURE__ */ s(
|
|
1902
|
+
children: /* @__PURE__ */ s(J, {
|
|
1884
1903
|
color: t,
|
|
1885
|
-
className:
|
|
1904
|
+
className: K`${q.extends.centrate}`,
|
|
1886
1905
|
iconName: e,
|
|
1887
1906
|
isDisabled: n
|
|
1888
1907
|
})
|
|
1889
1908
|
}) });
|
|
1890
1909
|
}
|
|
1891
|
-
var
|
|
1910
|
+
var Rt = { base: K`
|
|
1892
1911
|
position: relative;
|
|
1893
1912
|
width: 2.25rem;
|
|
1894
1913
|
height: 2.25rem;
|
|
1895
1914
|
border-radius: 8px;
|
|
1896
|
-
background-color: ${
|
|
1915
|
+
background-color: ${q.colors.back.secondary};
|
|
1897
1916
|
` };
|
|
1898
1917
|
//#endregion
|
|
1899
1918
|
//#region src/components/_counter.jsx
|
|
1900
|
-
function
|
|
1919
|
+
function zt({ value: e }) {
|
|
1901
1920
|
return e == null ? /* @__PURE__ */ s(o, {}) : /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("span", {
|
|
1902
|
-
className:
|
|
1921
|
+
className: Bt.base,
|
|
1903
1922
|
children: e
|
|
1904
1923
|
}) });
|
|
1905
1924
|
}
|
|
1906
|
-
var
|
|
1925
|
+
var Bt = { base: K`
|
|
1907
1926
|
display: inline-flex;
|
|
1908
1927
|
align-items: center;
|
|
1909
1928
|
justify-content: center;
|
|
@@ -1911,7 +1930,7 @@ var zt = { base: G`
|
|
|
1911
1930
|
height: 1.2rem;
|
|
1912
1931
|
padding: 0 .2rem;
|
|
1913
1932
|
border-radius: 50%;
|
|
1914
|
-
color: ${
|
|
1933
|
+
color: ${q.colors.fore.primary};
|
|
1915
1934
|
background-color: #e1e1e1;
|
|
1916
1935
|
font-size: .7rem;
|
|
1917
1936
|
font-weight: 700;
|
|
@@ -1919,13 +1938,13 @@ var zt = { base: G`
|
|
|
1919
1938
|
` };
|
|
1920
1939
|
//#endregion
|
|
1921
1940
|
//#region src/components/_tab-box.jsx
|
|
1922
|
-
function
|
|
1941
|
+
function Vt({ className: e, width: t, height: r, initialIndex: a = 0, items: l = [], onChange: u }) {
|
|
1923
1942
|
let d = i(), f = Math.max(l.length - 1, 0), p = n(Math.min(Math.max(a, 0), f)), m = Math.min(p.value, f);
|
|
1924
1943
|
function h(e) {
|
|
1925
1944
|
e !== m && (p.value = e, u?.(e, l[e]));
|
|
1926
1945
|
}
|
|
1927
1946
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ c("div", {
|
|
1928
|
-
className:
|
|
1947
|
+
className: G($.base, e),
|
|
1929
1948
|
style: { width: t },
|
|
1930
1949
|
children: [/* @__PURE__ */ s(_t, {
|
|
1931
1950
|
className: $.box,
|
|
@@ -1964,12 +1983,12 @@ function Bt({ className: e, width: t, height: r, initialIndex: a = 0, items: l =
|
|
|
1964
1983
|
"is-active": n || void 0,
|
|
1965
1984
|
onClick: () => h(t),
|
|
1966
1985
|
children: [
|
|
1967
|
-
e.iconName && /* @__PURE__ */ s(
|
|
1986
|
+
e.iconName && /* @__PURE__ */ s(J, {
|
|
1968
1987
|
iconName: e.iconName,
|
|
1969
1988
|
size: "1rem"
|
|
1970
1989
|
}),
|
|
1971
1990
|
e.label && /* @__PURE__ */ s("span", { children: e.label }),
|
|
1972
|
-
/* @__PURE__ */ s(
|
|
1991
|
+
/* @__PURE__ */ s(zt, { value: r })
|
|
1973
1992
|
]
|
|
1974
1993
|
}, e.id ?? t) });
|
|
1975
1994
|
})
|
|
@@ -1977,17 +1996,17 @@ function Bt({ className: e, width: t, height: r, initialIndex: a = 0, items: l =
|
|
|
1977
1996
|
}) });
|
|
1978
1997
|
}
|
|
1979
1998
|
var $ = {
|
|
1980
|
-
base:
|
|
1999
|
+
base: K`
|
|
1981
2000
|
position: relative;
|
|
1982
2001
|
max-width: 100%;
|
|
1983
2002
|
`,
|
|
1984
|
-
box:
|
|
1985
|
-
z-index: ${
|
|
2003
|
+
box: K`
|
|
2004
|
+
z-index: ${q.zIndex.front};
|
|
1986
2005
|
width: 100%;
|
|
1987
2006
|
padding: 0;
|
|
1988
2007
|
overflow: hidden;
|
|
1989
2008
|
`,
|
|
1990
|
-
track:
|
|
2009
|
+
track: K`
|
|
1991
2010
|
display: flex;
|
|
1992
2011
|
width: 100%;
|
|
1993
2012
|
min-height: 100%;
|
|
@@ -1996,12 +2015,12 @@ var $ = {
|
|
|
1996
2015
|
|
|
1997
2016
|
@media (prefers-reduced-motion: reduce) { transition: none; }
|
|
1998
2017
|
`,
|
|
1999
|
-
panel:
|
|
2018
|
+
panel: K`
|
|
2000
2019
|
flex: 0 0 100%;
|
|
2001
2020
|
min-width: 0;
|
|
2002
2021
|
padding: 1.875rem 1.25rem;
|
|
2003
2022
|
`,
|
|
2004
|
-
tabs:
|
|
2023
|
+
tabs: K`
|
|
2005
2024
|
display: flex;
|
|
2006
2025
|
position: relative;
|
|
2007
2026
|
margin-top: -1rem;
|
|
@@ -2009,9 +2028,9 @@ var $ = {
|
|
|
2009
2028
|
border: solid 2px #eee;
|
|
2010
2029
|
border-top: 0;
|
|
2011
2030
|
border-radius: 0 0 18px 18px;
|
|
2012
|
-
background-color: ${
|
|
2031
|
+
background-color: ${q.colors.back.secondary};
|
|
2013
2032
|
`,
|
|
2014
|
-
tab:
|
|
2033
|
+
tab: K`
|
|
2015
2034
|
display: flex;
|
|
2016
2035
|
flex: 1 1 0;
|
|
2017
2036
|
align-items: center;
|
|
@@ -2024,35 +2043,35 @@ var $ = {
|
|
|
2024
2043
|
font-size: .8rem;
|
|
2025
2044
|
font-weight: 600;
|
|
2026
2045
|
transition: color .2s ease, background-color .2s ease;
|
|
2027
|
-
color: ${
|
|
2028
|
-
font-family: ${
|
|
2046
|
+
color: ${q.colors.fore.secondary};
|
|
2047
|
+
font-family: ${q.fontFamily}, sans-serif;
|
|
2029
2048
|
|
|
2030
2049
|
& + & { border-left: solid 1px #e5e7e9; }
|
|
2031
2050
|
|
|
2032
2051
|
&[is-active] {
|
|
2033
|
-
color: ${
|
|
2034
|
-
background-color: ${
|
|
2052
|
+
color: ${q.colors.fore.primary};
|
|
2053
|
+
background-color: ${q.colors.back.primary};
|
|
2035
2054
|
}
|
|
2036
2055
|
`
|
|
2037
2056
|
};
|
|
2038
2057
|
//#endregion
|
|
2039
2058
|
//#region src/components/_tab-container.jsx
|
|
2040
|
-
function
|
|
2059
|
+
function Ht({ className: e, initialIndex: t = 0, items: r = [], onChange: a, width: l }) {
|
|
2041
2060
|
let u = i(), d = Math.max(r.length - 1, 0), f = n(Math.min(Math.max(t, 0), d)), p = Math.min(f.value, d), m = r[p];
|
|
2042
2061
|
function h(e) {
|
|
2043
2062
|
e !== p && (f.value = e, a?.(e, r[e]));
|
|
2044
2063
|
}
|
|
2045
2064
|
return /* @__PURE__ */ s(o, { children: /* @__PURE__ */ s("div", {
|
|
2046
|
-
className:
|
|
2065
|
+
className: G(Ut.base, e),
|
|
2047
2066
|
style: { width: l },
|
|
2048
2067
|
children: r.length > 0 && /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s("div", {
|
|
2049
|
-
className:
|
|
2068
|
+
className: Ut.tabs,
|
|
2050
2069
|
role: "tablist",
|
|
2051
2070
|
children: r.map((e, t) => {
|
|
2052
2071
|
let n = t === p, r = e.counter ?? e.notification;
|
|
2053
2072
|
return /* @__PURE__ */ c("button", {
|
|
2054
2073
|
id: `${u}-tab-${t}`,
|
|
2055
|
-
className:
|
|
2074
|
+
className: Ut.tab,
|
|
2056
2075
|
type: "button",
|
|
2057
2076
|
role: "tab",
|
|
2058
2077
|
"aria-controls": `${u}-panel`,
|
|
@@ -2060,32 +2079,32 @@ function Vt({ className: e, initialIndex: t = 0, items: r = [], onChange: a, wid
|
|
|
2060
2079
|
tabIndex: n ? 0 : -1,
|
|
2061
2080
|
"is-active": n || void 0,
|
|
2062
2081
|
onClick: () => h(t),
|
|
2063
|
-
children: [e.label, /* @__PURE__ */ s(
|
|
2082
|
+
children: [e.label, /* @__PURE__ */ s(zt, { value: r })]
|
|
2064
2083
|
}, e.id ?? t);
|
|
2065
2084
|
})
|
|
2066
2085
|
}), /* @__PURE__ */ s("div", {
|
|
2067
2086
|
id: `${u}-panel`,
|
|
2068
|
-
className:
|
|
2087
|
+
className: Ut.panel,
|
|
2069
2088
|
role: "tabpanel",
|
|
2070
2089
|
"aria-labelledby": `${u}-tab-${p}`,
|
|
2071
2090
|
children: m?.content
|
|
2072
2091
|
})] })
|
|
2073
2092
|
}) });
|
|
2074
2093
|
}
|
|
2075
|
-
var
|
|
2076
|
-
base:
|
|
2094
|
+
var Ut = {
|
|
2095
|
+
base: K`
|
|
2077
2096
|
position: relative;
|
|
2078
2097
|
width: 100%;
|
|
2079
2098
|
max-width: 100%;
|
|
2080
2099
|
`,
|
|
2081
|
-
tabs:
|
|
2100
|
+
tabs: K`
|
|
2082
2101
|
display: flex;
|
|
2083
2102
|
gap: .25rem;
|
|
2084
2103
|
padding: .25rem;
|
|
2085
2104
|
border-radius: 12px;
|
|
2086
|
-
background-color: ${
|
|
2105
|
+
background-color: ${q.colors.back.secondary};
|
|
2087
2106
|
`,
|
|
2088
|
-
tab:
|
|
2107
|
+
tab: K`
|
|
2089
2108
|
display: flex;
|
|
2090
2109
|
flex: 1 1 0;
|
|
2091
2110
|
align-items: center;
|
|
@@ -2095,24 +2114,24 @@ var Ht = {
|
|
|
2095
2114
|
min-height: 2.5rem;
|
|
2096
2115
|
padding: .5rem .75rem;
|
|
2097
2116
|
border-radius: 9px;
|
|
2098
|
-
color: ${
|
|
2117
|
+
color: ${q.colors.fore.secondary};
|
|
2099
2118
|
cursor: pointer;
|
|
2100
|
-
font-family: ${
|
|
2119
|
+
font-family: ${q.fontFamily}, sans-serif;
|
|
2101
2120
|
font-size: .8rem;
|
|
2102
2121
|
font-weight: 600;
|
|
2103
2122
|
transition: color .2s ease, background-color .2s ease;
|
|
2104
2123
|
|
|
2105
2124
|
&[is-active] {
|
|
2106
|
-
color: ${
|
|
2107
|
-
background-color: ${
|
|
2125
|
+
color: ${q.colors.fore.primary};
|
|
2126
|
+
background-color: ${q.colors.back.primary};
|
|
2108
2127
|
box-shadow: 0 2px 8px rgb(22 24 38 / 7%);
|
|
2109
2128
|
}
|
|
2110
2129
|
`,
|
|
2111
|
-
panel:
|
|
2130
|
+
panel: K`
|
|
2112
2131
|
width: 100%;
|
|
2113
2132
|
min-width: 0;
|
|
2114
2133
|
padding: 1.5rem 1.25rem;
|
|
2115
2134
|
`
|
|
2116
2135
|
};
|
|
2117
2136
|
//#endregion
|
|
2118
|
-
export {
|
|
2137
|
+
export { st as Actions, dt as AppWrapper, ht as Bar, _t as Box, yt as Button, zt as Counter, kt as Dropdown, wt as Headline, J as Icon, Lt as IconButton, St as Layout, at as PopupBox, Et as Space, Nt as Switch, Vt as TabBox, Ht as TabContainer, Ft as Tag, lt as Text, Dt as TextField, q as Theme, ft as Toolbar };
|