snapflow-ui-kit 1.2.7 → 1.2.9
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/components/Alert/toast.d.ts +1 -1
- package/dist/index.client.js +76 -76
- package/dist/index.client.js.map +1 -1
- package/dist/index.css +1 -1
- package/package.json +1 -1
|
@@ -6,6 +6,6 @@ export declare const toastSuccess: (message: string) => void;
|
|
|
6
6
|
/**
|
|
7
7
|
* Show an error toast rendered with the shared `Alert` component.
|
|
8
8
|
* @param message - Text to display in the toast body.
|
|
9
|
-
* @param title - Optional heading shown above the message
|
|
9
|
+
* @param title - Optional heading shown above the message.`.
|
|
10
10
|
*/
|
|
11
11
|
export declare const toastError: (message: string, title?: string) => void;
|
package/dist/index.client.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import z, { clsx as C } from "clsx";
|
|
3
3
|
import { clsx as Pn } from "clsx";
|
|
4
|
-
import
|
|
4
|
+
import ge from "simplebar-react";
|
|
5
5
|
import { default as Tn } from "simplebar-react";
|
|
6
6
|
import { A as se, s as W, c as te } from "./Textarea-6m6FiIv5.js";
|
|
7
7
|
import { B as $n, C as Ln, a as Mn, L as An, R as Fn, T as Vn, b as Wn } from "./Textarea-6m6FiIv5.js";
|
|
8
8
|
import { jsx as n, jsxs as p, Fragment as ce } from "react/jsx-runtime";
|
|
9
|
-
import { useEffect as k, useState as j, useRef as R, useCallback as K, useMemo as ne, forwardRef as
|
|
10
|
-
import { A as
|
|
9
|
+
import { useEffect as k, useState as j, useRef as R, useCallback as K, useMemo as ne, forwardRef as we, useId as ie } from "react";
|
|
10
|
+
import { A as ye, C as be, E as ve, a as Ce, b as Ne, c as Ie } from "./ArrowRightIcon-D0SDyfKt.js";
|
|
11
11
|
import { DayPicker as oe } from "react-day-picker";
|
|
12
12
|
import { format as L, parse as M, isValid as A } from "date-fns";
|
|
13
13
|
import { C as le } from "./CloseIcon-CqK3tPnG.js";
|
|
@@ -25,7 +25,7 @@ const Sn = (e) => {
|
|
|
25
25
|
onClose: () => Q.dismiss(t.id)
|
|
26
26
|
}
|
|
27
27
|
));
|
|
28
|
-
}, kn = (e, t
|
|
28
|
+
}, kn = (e, t) => {
|
|
29
29
|
Q.custom((r) => /* @__PURE__ */ n(
|
|
30
30
|
se,
|
|
31
31
|
{
|
|
@@ -81,7 +81,7 @@ const Sn = (e) => {
|
|
|
81
81
|
document.removeEventListener("mousedown", o), document.removeEventListener("touchstart", o), document.removeEventListener("keydown", i);
|
|
82
82
|
};
|
|
83
83
|
}, [t, r, e]);
|
|
84
|
-
}, nt = "_container_sn15j_1", ot = "_label_sn15j_7", rt = "_trigger_sn15j_14", at = "_select_sn15j_18", st = "_triggerOpen_sn15j_50", ct = "_placeholder_sn15j_71", it = "_selectedContent_sn15j_75", lt = "_optionIcon_sn15j_85", dt = "_arrow_sn15j_91", ut = "_open_sn15j_106", _t = "_dropdown_sn15j_110", pt = "_searchContainer_sn15j_131", mt = "_searchInput_sn15j_141", ht = "_option_sn15j_85",
|
|
84
|
+
}, nt = "_container_sn15j_1", ot = "_label_sn15j_7", rt = "_trigger_sn15j_14", at = "_select_sn15j_18", st = "_triggerOpen_sn15j_50", ct = "_placeholder_sn15j_71", it = "_selectedContent_sn15j_75", lt = "_optionIcon_sn15j_85", dt = "_arrow_sn15j_91", ut = "_open_sn15j_106", _t = "_dropdown_sn15j_110", pt = "_searchContainer_sn15j_131", mt = "_searchInput_sn15j_141", ht = "_option_sn15j_85", ft = "_selected_sn15j_75", gt = "_noOptions_sn15j_202", _ = {
|
|
85
85
|
container: nt,
|
|
86
86
|
label: ot,
|
|
87
87
|
trigger: rt,
|
|
@@ -96,9 +96,9 @@ const Sn = (e) => {
|
|
|
96
96
|
searchContainer: pt,
|
|
97
97
|
searchInput: mt,
|
|
98
98
|
option: ht,
|
|
99
|
-
selected:
|
|
100
|
-
noOptions:
|
|
101
|
-
},
|
|
99
|
+
selected: ft,
|
|
100
|
+
noOptions: gt
|
|
101
|
+
}, wt = ({
|
|
102
102
|
filteredOptions: e,
|
|
103
103
|
isLoading: t,
|
|
104
104
|
loadingText: r,
|
|
@@ -108,10 +108,10 @@ const Sn = (e) => {
|
|
|
108
108
|
searchInputRef: c,
|
|
109
109
|
searchPlaceholder: d,
|
|
110
110
|
searchQuery: m,
|
|
111
|
-
searchable:
|
|
112
|
-
value:
|
|
111
|
+
searchable: y,
|
|
112
|
+
value: f
|
|
113
113
|
}) => /* @__PURE__ */ p(ce, { children: [
|
|
114
|
-
|
|
114
|
+
y && /* @__PURE__ */ n("div", { className: _.searchContainer, children: /* @__PURE__ */ n(
|
|
115
115
|
"input",
|
|
116
116
|
{
|
|
117
117
|
ref: c,
|
|
@@ -126,11 +126,11 @@ const Sn = (e) => {
|
|
|
126
126
|
e.length ? e.map((l) => /* @__PURE__ */ p(
|
|
127
127
|
"button",
|
|
128
128
|
{
|
|
129
|
-
className: C(_.option, l.value ===
|
|
129
|
+
className: C(_.option, l.value === f && _.selected),
|
|
130
130
|
onClick: () => s(l.value),
|
|
131
131
|
type: "button",
|
|
132
132
|
role: "option",
|
|
133
|
-
"aria-selected": l.value ===
|
|
133
|
+
"aria-selected": l.value === f,
|
|
134
134
|
children: [
|
|
135
135
|
l.icon && /* @__PURE__ */ n("span", { className: _.optionIcon, children: l.icon }),
|
|
136
136
|
l.label
|
|
@@ -148,7 +148,7 @@ const Sn = (e) => {
|
|
|
148
148
|
clearTimeout(i);
|
|
149
149
|
};
|
|
150
150
|
}, [t, e]), r;
|
|
151
|
-
},
|
|
151
|
+
}, yt = (e) => {
|
|
152
152
|
const {
|
|
153
153
|
className: t,
|
|
154
154
|
defaultSearchValue: r = "",
|
|
@@ -158,65 +158,65 @@ const Sn = (e) => {
|
|
|
158
158
|
label: c,
|
|
159
159
|
loadingText: d = "Loading...",
|
|
160
160
|
noOptionsText: m = "No options found",
|
|
161
|
-
onChange:
|
|
162
|
-
onSearchChange:
|
|
161
|
+
onChange: y,
|
|
162
|
+
onSearchChange: f,
|
|
163
163
|
options: l,
|
|
164
|
-
placeholder:
|
|
165
|
-
searchDebounceMs:
|
|
164
|
+
placeholder: g,
|
|
165
|
+
searchDebounceMs: w = 180,
|
|
166
166
|
searchMode: D = "local",
|
|
167
167
|
searchPlaceholder: x = "Search...",
|
|
168
168
|
searchValue: h,
|
|
169
169
|
searchable: u = !1,
|
|
170
170
|
value: S
|
|
171
|
-
} = e, [
|
|
171
|
+
} = e, [b, N] = j(!1), [T, X] = j(h ?? r), G = R(null), Y = R(null), J = R(!0), U = h !== void 0 ? h : T, ue = re(U, w), Z = re(T, w), _e = i ?? D === "local", q = l.find((E) => E.value === S), ee = ue.trim().toLowerCase(), pe = _e && ee ? l.filter((E) => E.label.toLowerCase().includes(ee)) : l, H = K(() => {
|
|
172
172
|
X("");
|
|
173
173
|
}, []), B = K(() => {
|
|
174
174
|
N(!1), H();
|
|
175
175
|
}, [H]), me = () => {
|
|
176
|
-
o || (
|
|
176
|
+
o || (b ? B() : (H(), N(!0)));
|
|
177
177
|
}, he = (E) => {
|
|
178
|
-
|
|
178
|
+
y?.(E), B();
|
|
179
179
|
};
|
|
180
180
|
return k(() => {
|
|
181
|
-
const E = (
|
|
182
|
-
G.current && !G.current.contains(
|
|
181
|
+
const E = (fe) => {
|
|
182
|
+
G.current && !G.current.contains(fe.target) && B();
|
|
183
183
|
};
|
|
184
|
-
return
|
|
184
|
+
return b && document.addEventListener("mousedown", E), () => {
|
|
185
185
|
document.removeEventListener("mousedown", E);
|
|
186
186
|
};
|
|
187
|
-
}, [B,
|
|
188
|
-
if (!(!u || !
|
|
187
|
+
}, [B, b]), k(() => {
|
|
188
|
+
if (!(!u || !f)) {
|
|
189
189
|
if (J.current) {
|
|
190
190
|
J.current = !1;
|
|
191
191
|
return;
|
|
192
192
|
}
|
|
193
|
-
|
|
193
|
+
f(Z);
|
|
194
194
|
}
|
|
195
|
-
}, [Z,
|
|
196
|
-
|
|
197
|
-
}, [
|
|
195
|
+
}, [Z, f, u]), k(() => {
|
|
196
|
+
b && u && Y.current?.focus();
|
|
197
|
+
}, [b, u]), /* @__PURE__ */ p("div", { className: C(_.container, t), children: [
|
|
198
198
|
c && /* @__PURE__ */ n("label", { className: _.label, children: c }),
|
|
199
199
|
/* @__PURE__ */ p("div", { className: _.select, ref: G, children: [
|
|
200
200
|
/* @__PURE__ */ p(
|
|
201
201
|
"button",
|
|
202
202
|
{
|
|
203
|
-
className: C(_.trigger,
|
|
203
|
+
className: C(_.trigger, b && _.triggerOpen),
|
|
204
204
|
disabled: o,
|
|
205
205
|
onClick: me,
|
|
206
206
|
type: "button",
|
|
207
207
|
"aria-haspopup": "listbox",
|
|
208
|
-
"aria-expanded":
|
|
208
|
+
"aria-expanded": b,
|
|
209
209
|
children: [
|
|
210
210
|
/* @__PURE__ */ p("span", { className: q ? _.selectedContent : _.placeholder, children: [
|
|
211
211
|
q?.icon && /* @__PURE__ */ n("span", { className: _.optionIcon, children: q.icon }),
|
|
212
|
-
q ? q.label :
|
|
212
|
+
q ? q.label : g || "Select an option"
|
|
213
213
|
] }),
|
|
214
|
-
/* @__PURE__ */ n("span", { className: C(_.arrow,
|
|
214
|
+
/* @__PURE__ */ n("span", { className: C(_.arrow, b && _.open), children: /* @__PURE__ */ n(ye, {}) })
|
|
215
215
|
]
|
|
216
216
|
}
|
|
217
217
|
),
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
b && /* @__PURE__ */ n(ge, { className: _.dropdown, role: "listbox", style: { maxHeight: 191 }, children: /* @__PURE__ */ n(
|
|
219
|
+
wt,
|
|
220
220
|
{
|
|
221
221
|
filteredOptions: pe,
|
|
222
222
|
isLoading: s,
|
|
@@ -248,7 +248,7 @@ const Sn = (e) => {
|
|
|
248
248
|
label: o.label
|
|
249
249
|
})) || [];
|
|
250
250
|
return /* @__PURE__ */ n(
|
|
251
|
-
|
|
251
|
+
yt,
|
|
252
252
|
{
|
|
253
253
|
className: e.className,
|
|
254
254
|
options: r,
|
|
@@ -258,7 +258,7 @@ const Sn = (e) => {
|
|
|
258
258
|
);
|
|
259
259
|
};
|
|
260
260
|
de.displayName = "DatePickerDropdown";
|
|
261
|
-
const
|
|
261
|
+
const bt = {
|
|
262
262
|
month_caption: a.monthsCaption,
|
|
263
263
|
button_previous: a.navButtonPrevious,
|
|
264
264
|
button_next: a.navButtonNext,
|
|
@@ -294,7 +294,7 @@ const wt = {
|
|
|
294
294
|
...Nt,
|
|
295
295
|
classNames: {
|
|
296
296
|
root: z(a.calendar, e && a.open),
|
|
297
|
-
...
|
|
297
|
+
...bt
|
|
298
298
|
}
|
|
299
299
|
}), F = "dd.MM.yyyy", St = (e) => e ? L(e, F) : "", kt = (e) => !e || !e.from ? "" : e.to && e.from.getTime() !== e.to.getTime() ? `${L(e.from, F)} - ${L(e.to, F)}` : L(e.from, F), ae = (e, t) => e ? t === "single" && e instanceof Date ? St(e) : t === "range" && typeof e == "object" && "from" in e ? kt(e) : "" : "", Dt = ({
|
|
300
300
|
value: e,
|
|
@@ -357,16 +357,16 @@ const wt = {
|
|
|
357
357
|
placeholder: c,
|
|
358
358
|
...d
|
|
359
359
|
}) => {
|
|
360
|
-
const [m,
|
|
360
|
+
const [m, y] = j(!1), f = R(null), [l, g] = j(/* @__PURE__ */ new Date()), w = ne(() => jt(t, e), [t, e]);
|
|
361
361
|
k(() => {
|
|
362
|
-
Ot(
|
|
363
|
-
}, [
|
|
364
|
-
|
|
362
|
+
Ot(w, e, g);
|
|
363
|
+
}, [w, e, g]), tt({ ref: f, isOpen: m, onDismiss: () => {
|
|
364
|
+
y(!1);
|
|
365
365
|
} });
|
|
366
366
|
const x = (N) => {
|
|
367
367
|
N.stopPropagation(), S(void 0);
|
|
368
368
|
}, h = () => {
|
|
369
|
-
o ||
|
|
369
|
+
o || y((N) => !N);
|
|
370
370
|
}, u = (N) => {
|
|
371
371
|
const T = N.currentTarget.value;
|
|
372
372
|
r(T);
|
|
@@ -375,11 +375,11 @@ const wt = {
|
|
|
375
375
|
value: N,
|
|
376
376
|
mode: e,
|
|
377
377
|
onChange: r,
|
|
378
|
-
setMonth:
|
|
379
|
-
setIsOpen:
|
|
378
|
+
setMonth: g,
|
|
379
|
+
setIsOpen: y
|
|
380
380
|
});
|
|
381
|
-
},
|
|
382
|
-
return /* @__PURE__ */ p("div", { ref:
|
|
381
|
+
}, b = ne(() => It(m), [m]);
|
|
382
|
+
return /* @__PURE__ */ p("div", { ref: f, className: a.wrapper, children: [
|
|
383
383
|
/* @__PURE__ */ p("div", { className: a.inputContainer, children: [
|
|
384
384
|
i && /* @__PURE__ */ n("span", { className: o ? a.disabledLabel : a.label, children: /* @__PURE__ */ n(te, { variant: "text-14", children: i }) }),
|
|
385
385
|
/* @__PURE__ */ p("div", { className: a.inputWrapper, children: [
|
|
@@ -410,28 +410,28 @@ const wt = {
|
|
|
410
410
|
children: /* @__PURE__ */ n(le, { className: a.clearIcon })
|
|
411
411
|
}
|
|
412
412
|
),
|
|
413
|
-
/* @__PURE__ */ n(
|
|
413
|
+
/* @__PURE__ */ n(be, { className: z(a.icon, !t && a.placeholder) })
|
|
414
414
|
] }),
|
|
415
415
|
s && /* @__PURE__ */ n(te, { variant: "small", className: a.error, children: s })
|
|
416
416
|
] }),
|
|
417
417
|
e === "single" ? /* @__PURE__ */ n(
|
|
418
418
|
oe,
|
|
419
419
|
{
|
|
420
|
-
...
|
|
420
|
+
...b,
|
|
421
421
|
month: l,
|
|
422
|
-
onMonthChange:
|
|
422
|
+
onMonthChange: g,
|
|
423
423
|
mode: "single",
|
|
424
|
-
selected:
|
|
424
|
+
selected: w instanceof Date ? w : void 0,
|
|
425
425
|
onSelect: S
|
|
426
426
|
}
|
|
427
427
|
) : /* @__PURE__ */ n(
|
|
428
428
|
oe,
|
|
429
429
|
{
|
|
430
|
-
...
|
|
430
|
+
...b,
|
|
431
431
|
month: l,
|
|
432
|
-
onMonthChange:
|
|
432
|
+
onMonthChange: g,
|
|
433
433
|
mode: "range",
|
|
434
|
-
selected:
|
|
434
|
+
selected: w && typeof w == "object" && "from" in w ? w : void 0,
|
|
435
435
|
onSelect: S
|
|
436
436
|
}
|
|
437
437
|
)
|
|
@@ -481,7 +481,7 @@ const wt = {
|
|
|
481
481
|
endIcon: Gt,
|
|
482
482
|
errorMessage: Ht,
|
|
483
483
|
required: zt
|
|
484
|
-
}, Kt =
|
|
484
|
+
}, Kt = we(
|
|
485
485
|
({
|
|
486
486
|
label: e,
|
|
487
487
|
errorMessage: t,
|
|
@@ -492,15 +492,15 @@ const wt = {
|
|
|
492
492
|
disabled: c,
|
|
493
493
|
type: d = "text",
|
|
494
494
|
className: m,
|
|
495
|
-
required:
|
|
496
|
-
id:
|
|
495
|
+
required: y,
|
|
496
|
+
id: f,
|
|
497
497
|
...l
|
|
498
|
-
},
|
|
499
|
-
const
|
|
498
|
+
}, g) => {
|
|
499
|
+
const w = ie(), D = f ?? w, x = t ? `${D}-error` : void 0, h = !!t, u = d === "password" && s, [S, b] = j(!1);
|
|
500
500
|
return /* @__PURE__ */ p("div", { className: C(v.wrapper, m), children: [
|
|
501
501
|
e && /* @__PURE__ */ p("label", { htmlFor: D, className: C(v.label, { [v.disabled]: c }), children: [
|
|
502
502
|
e,
|
|
503
|
-
|
|
503
|
+
y && /* @__PURE__ */ n("sup", { className: v.required, children: " *" })
|
|
504
504
|
] }),
|
|
505
505
|
/* @__PURE__ */ p(
|
|
506
506
|
"div",
|
|
@@ -516,12 +516,12 @@ const wt = {
|
|
|
516
516
|
/* @__PURE__ */ n(
|
|
517
517
|
"input",
|
|
518
518
|
{
|
|
519
|
-
ref:
|
|
519
|
+
ref: g,
|
|
520
520
|
id: D,
|
|
521
521
|
className: v.input,
|
|
522
522
|
type: u && S ? "text" : d,
|
|
523
523
|
autoComplete: d === "password" ? "current-password" : "off",
|
|
524
|
-
required:
|
|
524
|
+
required: y,
|
|
525
525
|
disabled: c,
|
|
526
526
|
"aria-invalid": h,
|
|
527
527
|
"aria-describedby": x,
|
|
@@ -533,7 +533,7 @@ const wt = {
|
|
|
533
533
|
{
|
|
534
534
|
type: "button",
|
|
535
535
|
className: v.endIcon,
|
|
536
|
-
onClick: () =>
|
|
536
|
+
onClick: () => b((N) => !N),
|
|
537
537
|
"aria-label": S ? "Hide password" : "Show password",
|
|
538
538
|
disabled: c,
|
|
539
539
|
tabIndex: -1,
|
|
@@ -577,8 +577,8 @@ const Xt = "_overlay_17k3a_1", Yt = "_modal_17k3a_15", Jt = "_header_17k3a_29",
|
|
|
577
577
|
};
|
|
578
578
|
}, [e]), k(() => {
|
|
579
579
|
if (!e) return;
|
|
580
|
-
const m = (
|
|
581
|
-
|
|
580
|
+
const m = (y) => {
|
|
581
|
+
y.key === "Escape" && c.current();
|
|
582
582
|
};
|
|
583
583
|
return document.addEventListener("keydown", m), () => {
|
|
584
584
|
document.removeEventListener("keydown", m);
|
|
@@ -624,7 +624,7 @@ const Xt = "_overlay_17k3a_1", Yt = "_modal_17k3a_15", Jt = "_header_17k3a_29",
|
|
|
624
624
|
),
|
|
625
625
|
d
|
|
626
626
|
);
|
|
627
|
-
}, tn = "
|
|
627
|
+
}, tn = "_root_w6me9_1", nn = "_trackWrapper_w6me9_16", on = "_track_w6me9_16", rn = "_slide_w6me9_32", an = "_arrow_w6me9_53", sn = "_arrowPrev_w6me9_89", cn = "_arrowNext_w6me9_93", ln = "_dots_w6me9_97", dn = "_dot_w6me9_97", un = "_dotActive_w6me9_133", I = {
|
|
628
628
|
root: tn,
|
|
629
629
|
trackWrapper: nn,
|
|
630
630
|
track: on,
|
|
@@ -643,19 +643,19 @@ const Xt = "_overlay_17k3a_1", Yt = "_modal_17k3a_15", Jt = "_header_17k3a_29",
|
|
|
643
643
|
className: i,
|
|
644
644
|
hideArrowsWhenSingle: s = !0
|
|
645
645
|
}) => {
|
|
646
|
-
const c = Array.isArray(e) ? e : [e], d = c.length, [m,
|
|
646
|
+
const c = Array.isArray(e) ? e : [e], d = c.length, [m, y] = j(0), f = t !== void 0, l = f ? Math.min(Math.max(0, t), d - 1) : m, g = K(
|
|
647
647
|
(h) => {
|
|
648
648
|
const u = (h + d) % d;
|
|
649
|
-
|
|
649
|
+
f || y(u), r?.(u);
|
|
650
650
|
},
|
|
651
|
-
[d,
|
|
651
|
+
[d, f, r]
|
|
652
652
|
);
|
|
653
653
|
if (k(() => {
|
|
654
654
|
if (o <= 0 || d <= 1) return;
|
|
655
|
-
const h = setInterval(() =>
|
|
655
|
+
const h = setInterval(() => g(l + 1), o);
|
|
656
656
|
return () => clearInterval(h);
|
|
657
|
-
}, [o, d, l,
|
|
658
|
-
const
|
|
657
|
+
}, [o, d, l, g]), d === 0) return null;
|
|
658
|
+
const w = () => g(l - 1), D = () => g(l + 1), x = !s || d > 1;
|
|
659
659
|
return /* @__PURE__ */ p("div", { className: C(I.root, i), role: "region", "aria-label": "Carousel", children: [
|
|
660
660
|
/* @__PURE__ */ n("div", { className: I.trackWrapper, children: /* @__PURE__ */ n("div", { className: I.track, style: { transform: `translateX(-${l * 100}%)` }, children: c.map((h, u) => /* @__PURE__ */ n("div", { className: I.slide, children: h }, u)) }) }),
|
|
661
661
|
x && /* @__PURE__ */ p(ce, { children: [
|
|
@@ -664,7 +664,7 @@ const Xt = "_overlay_17k3a_1", Yt = "_modal_17k3a_15", Jt = "_header_17k3a_29",
|
|
|
664
664
|
{
|
|
665
665
|
type: "button",
|
|
666
666
|
className: C(I.arrow, I.arrowPrev),
|
|
667
|
-
onClick:
|
|
667
|
+
onClick: w,
|
|
668
668
|
"aria-label": "Previous slide",
|
|
669
669
|
tabIndex: 0,
|
|
670
670
|
children: /* @__PURE__ */ n(Ne, { width: 24, height: 24, "aria-hidden": !0 })
|
|
@@ -690,7 +690,7 @@ const Xt = "_overlay_17k3a_1", Yt = "_modal_17k3a_15", Jt = "_header_17k3a_29",
|
|
|
690
690
|
"aria-selected": u === l,
|
|
691
691
|
"aria-label": `Slide ${u + 1}`,
|
|
692
692
|
className: C(I.dot, u === l && I.dotActive),
|
|
693
|
-
onClick: () =>
|
|
693
|
+
onClick: () => g(u),
|
|
694
694
|
tabIndex: u === l ? 0 : -1
|
|
695
695
|
},
|
|
696
696
|
u
|
|
@@ -709,7 +709,7 @@ export {
|
|
|
709
709
|
An as Label,
|
|
710
710
|
En as Modal,
|
|
711
711
|
Fn as Radio,
|
|
712
|
-
|
|
712
|
+
yt as Select,
|
|
713
713
|
Tn as SimpleBar,
|
|
714
714
|
Vn as Tab,
|
|
715
715
|
Wn as Textarea,
|
package/dist/index.client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.client.js","sources":["../src/components/Alert/toast.tsx","../src/components/DatePicker/hooks/useDismiss.ts","../src/components/Select/SelectDropdownContent.tsx","../src/components/Select/useDebouncedValue.ts","../src/components/Select/Select.tsx","../src/components/DatePicker/utils/getDayPickerProps.tsx","../src/components/DatePicker/utils/formatDateValue.ts","../src/components/DatePicker/utils/handleDateSelect.ts","../src/components/DatePicker/utils/parseDateValue.ts","../src/components/DatePicker/utils/updateMonthFromDate.ts","../src/components/DatePicker/DatePicker.tsx","../src/components/DropdownMenu/DropdownMenu.tsx","../src/components/Input/Input.tsx","../src/components/Modal/Modal.tsx","../src/components/Carousel/Carousel.tsx"],"sourcesContent":["'use client'\n\nimport { toast } from 'react-hot-toast'\nimport { Alert } from './Alert'\nimport s from './Alert.module.css'\n\n/**\n * Show a success toast rendered with the shared `Alert` component.\n * @param message - Text to display in the toast body.\n */\nexport const toastSuccess = (message: string) => {\n toast.custom((t) => (\n <Alert\n variant=\"success\"\n message={message}\n className={t.visible ? s.toastEnter : s.toastExit}\n onClose={() => toast.dismiss(t.id)}\n />\n ))\n}\n\n/**\n * Show an error toast rendered with the shared `Alert` component.\n * @param message - Text to display in the toast body.\n * @param title - Optional heading shown above the message. Defaults to `\"Error!\"`.\n */\nexport const toastError = (message: string, title = 'Error!') => {\n toast.custom((t) => (\n <Alert\n variant=\"error\"\n title={title}\n message={message}\n className={t.visible ? s.toastEnter : s.toastExit}\n onClose={() => toast.dismiss(t.id)}\n />\n ))\n}\n","'use client'\n\nimport { useEffect, type RefObject } from 'react'\n\ntype UseDismissParams<T extends HTMLElement = HTMLElement> = {\n ref: RefObject<T | null>\n isOpen: boolean\n onDismiss: () => void\n}\n\nexport const useDismiss = <T extends HTMLElement = HTMLElement>({\n ref,\n isOpen,\n onDismiss,\n}: UseDismissParams<T>) => {\n useEffect(() => {\n if (!isOpen) return\n\n const handleClickOutside = (event: MouseEvent | TouchEvent) => {\n if (ref.current && !ref.current.contains(event.target as Node)) {\n onDismiss()\n }\n }\n\n const handleEscape = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n onDismiss()\n }\n }\n\n document.addEventListener('mousedown', handleClickOutside)\n document.addEventListener('touchstart', handleClickOutside)\n document.addEventListener('keydown', handleEscape)\n\n return () => {\n document.removeEventListener('mousedown', handleClickOutside)\n document.removeEventListener('touchstart', handleClickOutside)\n document.removeEventListener('keydown', handleEscape)\n }\n }, [isOpen, onDismiss, ref])\n}\n","import { RefObject } from 'react'\n\nimport { clsx } from 'clsx'\n\nimport { SelectOption } from './Select.types'\nimport s from './Select.module.css'\n\ntype SelectDropdownContentProps = {\n filteredOptions: SelectOption[]\n isLoading: boolean\n loadingText: string\n noOptionsText: string\n onSearchChange: (value: string) => void\n onSelect: (optionValue: string) => void\n searchInputRef: RefObject<HTMLInputElement | null>\n searchPlaceholder: string\n searchQuery: string\n searchable: boolean\n value?: string\n}\n\nexport const SelectDropdownContent = ({\n filteredOptions,\n isLoading,\n loadingText,\n noOptionsText,\n onSearchChange,\n onSelect,\n searchInputRef,\n searchPlaceholder,\n searchQuery,\n searchable,\n value,\n}: SelectDropdownContentProps) => {\n return (\n <>\n {searchable && (\n <div className={s.searchContainer}>\n <input\n ref={searchInputRef}\n className={s.searchInput}\n onChange={(event) => onSearchChange(event.currentTarget.value)}\n placeholder={searchPlaceholder}\n type=\"text\"\n value={searchQuery}\n />\n </div>\n )}\n\n {isLoading && <p className={s.noOptions}>{loadingText}</p>}\n\n {filteredOptions.length ? (\n filteredOptions.map((option) => (\n <button\n key={option.value}\n className={clsx(s.option, option.value === value && s.selected)}\n onClick={() => onSelect(option.value)}\n type=\"button\"\n role=\"option\"\n aria-selected={option.value === value}\n >\n {option.icon && <span className={s.optionIcon}>{option.icon}</span>}\n {option.label}\n </button>\n ))\n ) : !isLoading ? (\n <p className={s.noOptions}>{noOptionsText}</p>\n ) : null}\n </>\n )\n}\n","import { useEffect, useState } from 'react'\n\nexport const useDebouncedValue = <T>(value: T, delayMs: number) => {\n const [debouncedValue, setDebouncedValue] = useState(value)\n\n useEffect(() => {\n const timeoutId = setTimeout(() => {\n setDebouncedValue(value)\n }, delayMs)\n\n return () => {\n clearTimeout(timeoutId)\n }\n }, [delayMs, value])\n\n return debouncedValue\n}\n","'use client'\n\nimport { useCallback, useEffect, useRef, useState } from 'react'\n\nimport { clsx } from 'clsx'\n\nimport SimpleBar from 'simplebar-react'\nimport 'simplebar-react/dist/simplebar.min.css'\n\nimport { ArrowDownIcon } from '@/icons'\n\nimport { SelectDropdownContent } from './SelectDropdownContent'\nimport s from './Select.module.css'\nimport { SelectProps } from './Select.types'\nimport { useDebouncedValue } from './useDebouncedValue'\n\nexport const Select = (props: SelectProps) => {\n const {\n className,\n defaultSearchValue = '',\n disabled = false,\n filterOptions,\n isLoading = false,\n label,\n loadingText = 'Loading...',\n noOptionsText = 'No options found',\n onChange,\n onSearchChange,\n options,\n placeholder,\n searchDebounceMs = 180,\n searchMode = 'local',\n searchPlaceholder = 'Search...',\n searchValue,\n searchable = false,\n value,\n } = props\n\n const [isOpen, setIsOpen] = useState(false)\n const [searchQueryState, setSearchQueryState] = useState(searchValue ?? defaultSearchValue)\n const selectRef = useRef<HTMLDivElement>(null)\n const searchInputRef = useRef<HTMLInputElement>(null)\n const isFirstSearchChangeRef = useRef(true)\n const isSearchControlled = searchValue !== undefined\n const searchQuery = isSearchControlled ? searchValue : searchQueryState\n const debouncedDisplayedSearchQuery = useDebouncedValue(searchQuery, searchDebounceMs)\n const debouncedSearchQuery = useDebouncedValue(searchQueryState, searchDebounceMs)\n const shouldFilterOptions = filterOptions ?? searchMode === 'local'\n\n const selectedOption = options.find((option) => option.value === value)\n const normalizedSearchQuery = debouncedDisplayedSearchQuery.trim().toLowerCase()\n const filteredOptions =\n shouldFilterOptions && normalizedSearchQuery\n ? options.filter((option) => option.label.toLowerCase().includes(normalizedSearchQuery))\n : options\n\n const resetSearchQuery = useCallback(() => {\n setSearchQueryState('')\n }, [])\n\n const closeDropdown = useCallback(() => {\n setIsOpen(false)\n resetSearchQuery()\n }, [resetSearchQuery])\n\n const handleToggle = () => {\n if (disabled) {\n return\n }\n\n if (isOpen) {\n closeDropdown()\n } else {\n resetSearchQuery()\n setIsOpen(true)\n }\n }\n\n const handleSelect = (optionValue: string) => {\n onChange?.(optionValue)\n closeDropdown()\n }\n\n useEffect(() => {\n const handleClickOutside = (event: MouseEvent) => {\n if (selectRef.current && !selectRef.current.contains(event.target as Node)) {\n closeDropdown()\n }\n }\n\n if (isOpen) {\n document.addEventListener('mousedown', handleClickOutside)\n }\n\n return () => {\n document.removeEventListener('mousedown', handleClickOutside)\n }\n }, [closeDropdown, isOpen])\n\n useEffect(() => {\n if (!searchable || !onSearchChange) {\n return\n }\n\n if (isFirstSearchChangeRef.current) {\n isFirstSearchChangeRef.current = false\n\n return\n }\n\n onSearchChange(debouncedSearchQuery)\n }, [debouncedSearchQuery, onSearchChange, searchable])\n\n useEffect(() => {\n if (isOpen && searchable) {\n searchInputRef.current?.focus()\n }\n }, [isOpen, searchable])\n\n return (\n <div className={clsx(s.container, className)}>\n {label && <label className={s.label}>{label}</label>}\n\n <div className={s.select} ref={selectRef}>\n <button\n className={clsx(s.trigger, isOpen && s.triggerOpen)}\n disabled={disabled}\n onClick={handleToggle}\n type=\"button\"\n aria-haspopup=\"listbox\"\n aria-expanded={isOpen}\n >\n <span className={selectedOption ? s.selectedContent : s.placeholder}>\n {selectedOption?.icon && <span className={s.optionIcon}>{selectedOption.icon}</span>}\n {selectedOption ? selectedOption.label : placeholder || 'Select an option'}\n </span>\n <span className={clsx(s.arrow, isOpen && s.open)}>\n <ArrowDownIcon />\n </span>\n </button>\n\n {isOpen && (\n <SimpleBar className={s.dropdown} role=\"listbox\" style={{ maxHeight: 191 }}>\n <SelectDropdownContent\n filteredOptions={filteredOptions}\n isLoading={isLoading}\n loadingText={loadingText}\n noOptionsText={noOptionsText}\n onSearchChange={setSearchQueryState}\n onSelect={handleSelect}\n searchInputRef={searchInputRef}\n searchPlaceholder={searchPlaceholder}\n searchQuery={searchQuery}\n searchable={searchable}\n value={value}\n />\n </SimpleBar>\n )}\n </div>\n </div>\n )\n}\n","import React from 'react'\nimport clsx from 'clsx'\nimport { DropdownProps } from 'react-day-picker'\nimport { Select } from '../../Select'\nimport styles from '../DatePicker.module.css'\nimport { CaptionLayout, WeekStartsOn } from '../DatePicker.types'\n\nconst DropdownComponent = (props: DropdownProps) => {\n const handleDropdownChange = (value: string) => {\n if (props.onChange) {\n const syntheticEvent = {\n target: {\n value,\n },\n } as React.ChangeEvent<HTMLSelectElement>\n\n props.onChange(syntheticEvent)\n }\n }\n\n const selectOptions =\n props.options?.map((option) => ({\n value: option.value.toString(),\n label: option.label,\n })) || []\n\n return (\n <Select\n className={props.className}\n options={selectOptions}\n value={props.value?.toString() || ''}\n onChange={handleDropdownChange}\n />\n )\n}\n\nDropdownComponent.displayName = 'DatePickerDropdown'\n\nconst staticClassNames = {\n month_caption: styles.monthsCaption,\n button_previous: styles.navButtonPrevious,\n button_next: styles.navButtonNext,\n chevron: styles.navIcon,\n caption_label: styles.captionLabel,\n\n dropdowns: styles.dropdowns,\n dropdown_root: styles.dropdown_root,\n dropdown: styles.dropdown,\n dropdown_select_option: styles.option,\n\n months_dropdown: styles.monthsDropdown,\n years_dropdown: styles.yearsDropdown,\n\n month_grid: styles.monthGrid,\n weekday: styles.weekday,\n day_button: styles.dayButton,\n day: styles.day,\n outside: styles.dayOutside,\n selected: styles.daySelected,\n range_start: styles.dayRangeStart,\n range_middle: styles.dayRangeMiddle,\n range_end: styles.dayRangeEnd,\n today: styles.dayToday,\n} as const\n\nconst staticComponents = {\n Dropdown: DropdownComponent,\n} as const\n\nconst staticProps = {\n weekStartsOn: 1 as WeekStartsOn,\n showOutsideDays: true,\n reverseYears: true,\n captionLayout: 'dropdown' as CaptionLayout,\n} as const\n\nconst baseDayPickerProps = {\n components: staticComponents,\n ...staticProps,\n} as const\n\nexport const getDayPickerProps = (isOpen: boolean) => {\n return {\n ...baseDayPickerProps,\n classNames: {\n root: clsx(styles.calendar, isOpen && styles.open),\n ...staticClassNames,\n },\n }\n}\n","import { DateRange } from 'react-day-picker'\nimport { format } from 'date-fns'\n\nconst DATE_FORMAT = 'dd.MM.yyyy'\n\nexport const formatSingleDate = (date: Date | undefined): string => {\n if (!date) return ''\n return format(date, DATE_FORMAT)\n}\n\nexport const formatRangeDate = (range: DateRange | undefined): string => {\n if (!range || !range.from) return ''\n\n if (range.to && range.from.getTime() !== range.to.getTime()) {\n return `${format(range.from, DATE_FORMAT)} - ${format(range.to, DATE_FORMAT)}`\n }\n\n return format(range.from, DATE_FORMAT)\n}\n\nexport const formatDateValue = (\n value: Date | DateRange | undefined,\n mode: 'single' | 'range',\n): string => {\n if (!value) return ''\n\n if (mode === 'single' && value instanceof Date) {\n return formatSingleDate(value)\n }\n\n if (mode === 'range' && typeof value === 'object' && 'from' in value) {\n return formatRangeDate(value as DateRange)\n }\n\n return ''\n}\n","import { DateRange } from 'react-day-picker'\nimport { formatDateValue } from './formatDateValue'\n\ntype HandleDateSelectParams = {\n value: Date | DateRange | undefined\n mode: 'single' | 'range'\n onChange: (value: string) => void\n setMonth: (date: Date) => void\n setIsOpen: (open: boolean) => void\n}\n\nexport const handleDateSelect = ({\n value,\n mode,\n onChange,\n setMonth,\n setIsOpen,\n}: HandleDateSelectParams) => {\n if (!value) {\n onChange('')\n return\n }\n\n if (mode === 'single') {\n if (value instanceof Date) {\n setMonth(value)\n onChange(formatDateValue(value, 'single'))\n setIsOpen(false)\n }\n return\n }\n\n if (mode === 'range' && typeof value === 'object' && 'from' in value) {\n const range = value as DateRange\n\n if (range.from) {\n setMonth(range.from)\n } else if (range.to) {\n setMonth(range.to)\n }\n\n const formattedValue = formatDateValue(range, 'range')\n onChange(formattedValue)\n\n if (range.from && range.to && range.from.getTime() !== range.to.getTime()) {\n setIsOpen(false)\n }\n }\n}\n","import { isValid, parse } from 'date-fns'\nimport { DateRange } from 'react-day-picker'\n\nconst DATE_FORMAT = 'dd.MM.yyyy'\n\nexport const parseSingleDate = (value: string): Date | undefined => {\n if (!value) return undefined\n\n const parsedDate = parse(value, DATE_FORMAT, new Date())\n return isValid(parsedDate) ? parsedDate : undefined\n}\n\nexport const parseRangeDate = (value: string): DateRange | undefined => {\n if (!value) return undefined\n\n const separator = ' - '\n const separatorIndex = value.indexOf(separator)\n\n if (separatorIndex === -1) {\n const parsedDate = parse(value.trim(), DATE_FORMAT, new Date())\n if (isValid(parsedDate)) {\n return { from: parsedDate, to: undefined }\n }\n return undefined\n }\n\n const fromPart = value.substring(0, separatorIndex).trim()\n const toPart = value.substring(separatorIndex + separator.length).trim()\n\n if (!fromPart || !toPart) return undefined\n\n const fromDate = parse(fromPart, DATE_FORMAT, new Date())\n const toDate = parse(toPart, DATE_FORMAT, new Date())\n\n if (isValid(fromDate) && isValid(toDate)) {\n return { from: fromDate, to: toDate }\n }\n\n return undefined\n}\n\nexport const parseDateValue = (\n value: string,\n mode: 'single' | 'range',\n): Date | DateRange | undefined => {\n if (!value) return undefined\n\n if (mode === 'single') {\n return parseSingleDate(value)\n }\n\n return parseRangeDate(value)\n}\n","import { DateRange } from 'react-day-picker'\n\nexport const updateMonthFromDate = (\n date: Date | DateRange | undefined,\n mode: 'single' | 'range',\n setMonth: (date: Date) => void,\n) => {\n if (!date) return\n\n if (mode === 'single' && date instanceof Date) {\n setMonth(date)\n return\n }\n\n if (mode === 'range' && typeof date === 'object' && 'from' in date) {\n const range = date as DateRange\n if (range.from) {\n setMonth(range.from)\n } else if (range.to) {\n setMonth(range.to)\n }\n }\n}\n","'use client'\n\nimport { Typography } from '@/components/Typography'\nimport { CalendarIcon, CloseIcon } from '@/icons'\nimport clsx from 'clsx'\nimport { ChangeEvent, type MouseEvent, useEffect, useMemo, useRef, useState } from 'react'\nimport { DateRange, DayPicker, type DayPickerProps } from 'react-day-picker'\n\nimport styles from './DatePicker.module.css'\nimport { DatePickerProps } from './DatePicker.types'\nimport { useDismiss } from './hooks/useDismiss'\nimport { getDayPickerProps } from './utils/getDayPickerProps'\nimport { handleDateSelect } from './utils/handleDateSelect'\nimport { parseDateValue } from './utils/parseDateValue'\nimport { updateMonthFromDate } from './utils/updateMonthFromDate'\n\nexport const DatePicker = ({\n mode,\n value,\n onChange,\n disabled,\n label,\n error,\n placeholder,\n ...rest\n}: DatePickerProps) => {\n const [isOpen, setIsOpen] = useState(false)\n const wrapperRef = useRef<HTMLDivElement>(null)\n const [month, setMonth] = useState(new Date())\n\n const parsedDate = useMemo(() => parseDateValue(value, mode), [value, mode])\n\n useEffect(() => {\n updateMonthFromDate(parsedDate, mode, setMonth)\n }, [parsedDate, mode, setMonth])\n\n const closeCalendar = () => {\n setIsOpen(false)\n }\n\n useDismiss({ ref: wrapperRef, isOpen, onDismiss: closeCalendar })\n\n const handleClear = (e: MouseEvent<HTMLButtonElement>) => {\n e.stopPropagation()\n handleSelect(undefined)\n }\n\n const handleToggle = () => {\n if (disabled) return\n setIsOpen((prev) => !prev)\n }\n\n const handleInputChange = (e: ChangeEvent<HTMLInputElement>) => {\n const inputValue = e.currentTarget.value\n onChange(inputValue)\n }\n\n const handleSelect = (selectedValue: Date | DateRange | undefined) => {\n handleDateSelect({\n value: selectedValue,\n mode,\n onChange,\n setMonth,\n setIsOpen,\n })\n }\n\n const commonDayPickerProps = useMemo(() => getDayPickerProps(isOpen), [isOpen])\n\n return (\n <div ref={wrapperRef} className={styles.wrapper}>\n <div className={styles.inputContainer}>\n {label && (\n <span className={disabled ? styles.disabledLabel : styles.label}>\n <Typography variant=\"text-14\">{label}</Typography>\n </span>\n )}\n <div className={styles.inputWrapper}>\n <input\n type=\"text\"\n className={clsx(styles.trigger, error && styles.error)}\n onClick={handleToggle}\n value={value}\n onChange={handleInputChange}\n placeholder={placeholder}\n disabled={disabled}\n aria-label={label || 'Select date'}\n aria-expanded={isOpen}\n aria-haspopup=\"dialog\"\n aria-invalid={error ? 'true' : 'false'}\n {...rest}\n />\n {value && !disabled && (\n <button\n type=\"button\"\n className={styles.clearButton}\n onClick={handleClear}\n aria-label=\"Clear date\"\n >\n <CloseIcon className={styles.clearIcon} />\n </button>\n )}\n <CalendarIcon className={clsx(styles.icon, !value && styles.placeholder)} />\n </div>\n {error && (\n <Typography variant=\"small\" className={styles.error}>\n {error}\n </Typography>\n )}\n </div>\n\n {mode === 'single' ? (\n <DayPicker\n {...(commonDayPickerProps as DayPickerProps)}\n month={month}\n onMonthChange={setMonth}\n mode=\"single\"\n selected={parsedDate instanceof Date ? parsedDate : undefined}\n onSelect={handleSelect}\n />\n ) : (\n <DayPicker\n {...(commonDayPickerProps as DayPickerProps)}\n month={month}\n onMonthChange={setMonth}\n mode=\"range\"\n selected={\n parsedDate && typeof parsedDate === 'object' && 'from' in parsedDate\n ? (parsedDate as DateRange)\n : undefined\n }\n onSelect={handleSelect}\n />\n )}\n </div>\n )\n}\n","'use client'\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\nimport { clsx } from 'clsx'\n\nimport s from './DropdownMenu.module.css'\nimport { DropdownMenuProps } from './DropdownMenu.types'\n\nexport const DropdownMenu = (props: DropdownMenuProps) => {\n const { children, items, className, align = 'end', side = 'bottom' } = props\n\n return (\n <DropdownMenuPrimitive.Root>\n <DropdownMenuPrimitive.Trigger asChild>{children}</DropdownMenuPrimitive.Trigger>\n\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n align={align}\n className={clsx(s.content, className)}\n side={side}\n sideOffset={4}\n >\n {items.map((item, index) => (\n <DropdownMenuPrimitive.Item\n key={index}\n className={s.item}\n disabled={item.disabled}\n onSelect={item.onSelect}\n >\n {item.icon && <span className={s.icon}>{item.icon}</span>}\n <span className={s.label}>{item.label}</span>\n </DropdownMenuPrimitive.Item>\n ))}\n </DropdownMenuPrimitive.Content>\n </DropdownMenuPrimitive.Portal>\n </DropdownMenuPrimitive.Root>\n )\n}\n","'use client'\n\nimport { forwardRef, useId, useState } from 'react'\nimport { clsx } from 'clsx'\n\nimport s from './Input.module.css'\nimport { InputProps } from './Input.types'\nimport { EyeIcon, EyeOffIcon } from '@/icons'\n\nexport const Input = forwardRef<HTMLInputElement, InputProps>(\n (\n {\n label,\n errorMessage,\n startIcon,\n endIcon,\n onEndIconClick,\n allowPasswordToggle,\n disabled,\n type = 'text',\n className,\n required,\n id,\n ...rest\n },\n ref,\n ) => {\n const generatedId = useId()\n const inputId = id ?? generatedId\n const errorId = errorMessage ? `${inputId}-error` : undefined\n\n const isError = Boolean(errorMessage)\n const isPassword = type === 'password' && allowPasswordToggle\n\n const [showPassword, setShowPassword] = useState(false)\n\n return (\n <div className={clsx(s.wrapper, className)}>\n {label && (\n <label htmlFor={inputId} className={clsx(s.label, { [s.disabled]: disabled })}>\n {label}\n {required && <sup className={s.required}> *</sup>}\n </label>\n )}\n\n <div\n className={clsx(s.inputContainer, {\n [s.error]: isError,\n [s.disabled]: disabled,\n [s.withStartIcon]: Boolean(startIcon),\n [s.withEndIcon]: Boolean(endIcon) || isPassword,\n })}\n >\n {startIcon && <span className={s.startIcon}>{startIcon}</span>}\n\n <input\n ref={ref}\n id={inputId}\n className={s.input}\n type={isPassword && showPassword ? 'text' : type}\n autoComplete={type === 'password' ? 'current-password' : 'off'}\n required={required}\n disabled={disabled}\n aria-invalid={isError}\n aria-describedby={errorId}\n {...rest}\n />\n\n {isPassword && (\n <button\n type=\"button\"\n className={s.endIcon}\n onClick={() => setShowPassword((v) => !v)}\n aria-label={showPassword ? 'Hide password' : 'Show password'}\n disabled={disabled}\n tabIndex={-1}\n >\n {showPassword ? <EyeOffIcon /> : <EyeIcon />}\n </button>\n )}\n\n {endIcon && !isPassword && (\n <button\n type=\"button\"\n className={s.endIcon}\n onClick={onEndIconClick}\n aria-label=\"Action\"\n disabled={disabled}\n >\n {endIcon}\n </button>\n )}\n </div>\n\n {isError && (\n <span id={errorId} className={s.errorMessage} role=\"alert\">\n {errorMessage}\n </span>\n )}\n </div>\n )\n },\n)\n\nInput.displayName = 'Input'\n","'use client'\n\nimport { useEffect, useId, useRef } from 'react'\nimport { createPortal } from 'react-dom'\nimport { clsx } from 'clsx'\nimport { FocusTrap } from 'focus-trap-react'\n\nimport s from './Modal.module.css'\nimport { ModalProps } from './Modal.types'\nimport { CloseIcon } from '@/icons/CloseIcon'\n\nexport const Modal = ({ open, onClose, title, children, className }: ModalProps) => {\n const titleId = useId()\n const onCloseRef = useRef(onClose)\n\n useEffect(() => {\n onCloseRef.current = onClose\n }, [onClose])\n\n useEffect(() => {\n if (!open) return\n\n document.body.style.overflow = 'hidden'\n\n return () => {\n document.body.style.overflow = ''\n }\n }, [open])\n\n useEffect(() => {\n if (!open) return\n\n const handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n onCloseRef.current()\n }\n }\n\n document.addEventListener('keydown', handleKeyDown)\n return () => {\n document.removeEventListener('keydown', handleKeyDown)\n }\n }, [open])\n\n if (!open) return null\n if (typeof document === 'undefined') return null\n const modalRoot = document.getElementById('modal-root') ?? document.body\n\n return createPortal(\n <FocusTrap\n active={open}\n focusTrapOptions={{\n clickOutsideDeactivates: true,\n returnFocusOnDeactivate: true,\n }}\n >\n <div className={s.overlay} onClick={() => onCloseRef.current()}>\n <div\n className={clsx(s.modal, className)}\n onClick={(e) => e.stopPropagation()}\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby={titleId}\n >\n <header className={s.header}>\n <h2 id={titleId} className={s.title}>\n {title}\n </h2>\n\n <button\n type=\"button\"\n className={s.close}\n aria-label=\"Close modal\"\n onClick={() => onCloseRef.current()}\n >\n <CloseIcon />\n </button>\n </header>\n\n <div className={s.body}>{children}</div>\n </div>\n </div>\n </FocusTrap>,\n modalRoot,\n )\n}\n","'use client'\n\nimport { clsx } from 'clsx'\nimport { useCallback, useEffect, useState } from 'react'\nimport { ArrowLeftIcon, ArrowRightIcon } from '@/icons'\nimport styles from './Carousel.module.css'\nimport { CarouselProps } from './Carousel.types'\n\nexport const Carousel = ({\n children,\n value,\n onValueChange,\n autoPlayInterval = 0,\n className,\n hideArrowsWhenSingle = true,\n}: CarouselProps) => {\n const slides = Array.isArray(children) ? children : [children]\n const count = slides.length\n\n const [internalIndex, setInternalIndex] = useState(0)\n const isControlled = value !== undefined\n const currentIndex = isControlled ? Math.min(Math.max(0, value), count - 1) : internalIndex\n\n const setIndex = useCallback(\n (next: number) => {\n const clamped = (next + count) % count\n if (!isControlled) setInternalIndex(clamped)\n onValueChange?.(clamped)\n },\n [count, isControlled, onValueChange],\n )\n\n useEffect(() => {\n if (autoPlayInterval <= 0 || count <= 1) return\n const id = setInterval(() => setIndex(currentIndex + 1), autoPlayInterval)\n return () => clearInterval(id)\n }, [autoPlayInterval, count, currentIndex, setIndex])\n\n if (count === 0) return null\n\n const handlePrev = () => setIndex(currentIndex - 1)\n const handleNext = () => setIndex(currentIndex + 1)\n\n const showArrows = !hideArrowsWhenSingle || count > 1\n\n return (\n <div className={clsx(styles.root, className)} role=\"region\" aria-label=\"Carousel\">\n <div className={styles.trackWrapper}>\n <div className={styles.track} style={{ transform: `translateX(-${currentIndex * 100}%)` }}>\n {slides.map((slide, i) => (\n <div key={i} className={styles.slide}>\n {slide}\n </div>\n ))}\n </div>\n </div>\n\n {showArrows && (\n <>\n <button\n type=\"button\"\n className={clsx(styles.arrow, styles.arrowPrev)}\n onClick={handlePrev}\n aria-label=\"Previous slide\"\n tabIndex={0}\n >\n <ArrowLeftIcon width={24} height={24} aria-hidden />\n </button>\n <button\n type=\"button\"\n className={clsx(styles.arrow, styles.arrowNext)}\n onClick={handleNext}\n aria-label=\"Next slide\"\n tabIndex={0}\n >\n <ArrowRightIcon width={24} height={24} aria-hidden />\n </button>\n </>\n )}\n\n {count > 1 && (\n <div className={styles.dots} role=\"tablist\" aria-label=\"Slide selection\">\n {slides.map((_, i) => (\n <button\n key={i}\n type=\"button\"\n role=\"tab\"\n aria-selected={i === currentIndex}\n aria-label={`Slide ${i + 1}`}\n className={clsx(styles.dot, i === currentIndex && styles.dotActive)}\n onClick={() => setIndex(i)}\n tabIndex={i === currentIndex ? 0 : -1}\n />\n ))}\n </div>\n )}\n </div>\n )\n}\n"],"names":["toastSuccess","message","toast","jsx","Alert","s","toastError","title","t","useDismiss","ref","isOpen","onDismiss","useEffect","handleClickOutside","event","handleEscape","SelectDropdownContent","filteredOptions","isLoading","loadingText","noOptionsText","onSearchChange","onSelect","searchInputRef","searchPlaceholder","searchQuery","searchable","value","jsxs","Fragment","option","clsx","useDebouncedValue","delayMs","debouncedValue","setDebouncedValue","useState","timeoutId","Select","props","className","defaultSearchValue","disabled","filterOptions","label","onChange","options","placeholder","searchDebounceMs","searchMode","searchValue","setIsOpen","searchQueryState","setSearchQueryState","selectRef","useRef","isFirstSearchChangeRef","debouncedDisplayedSearchQuery","debouncedSearchQuery","shouldFilterOptions","selectedOption","normalizedSearchQuery","resetSearchQuery","useCallback","closeDropdown","handleToggle","handleSelect","optionValue","ArrowDownIcon","SimpleBar","DropdownComponent","handleDropdownChange","syntheticEvent","selectOptions","staticClassNames","styles","staticComponents","staticProps","baseDayPickerProps","getDayPickerProps","DATE_FORMAT","formatSingleDate","date","format","formatRangeDate","range","formatDateValue","mode","handleDateSelect","setMonth","formattedValue","parseSingleDate","parsedDate","parse","isValid","parseRangeDate","separator","separatorIndex","fromPart","toPart","fromDate","toDate","parseDateValue","updateMonthFromDate","DatePicker","error","rest","wrapperRef","month","useMemo","handleClear","e","prev","handleInputChange","inputValue","selectedValue","commonDayPickerProps","Typography","CloseIcon","CalendarIcon","DayPicker","DropdownMenu","children","items","align","side","DropdownMenuPrimitive","item","index","Input","forwardRef","errorMessage","startIcon","endIcon","onEndIconClick","allowPasswordToggle","type","required","id","generatedId","useId","inputId","errorId","isError","isPassword","showPassword","setShowPassword","v","EyeOffIcon","EyeIcon","Modal","open","onClose","titleId","onCloseRef","handleKeyDown","modalRoot","createPortal","FocusTrap","Carousel","onValueChange","autoPlayInterval","hideArrowsWhenSingle","slides","count","internalIndex","setInternalIndex","isControlled","currentIndex","setIndex","next","clamped","handlePrev","handleNext","showArrows","slide","i","ArrowLeftIcon","ArrowRightIcon","_"],"mappings":";;;;;;;;;;;;;;;;;AAUO,MAAMA,KAAe,CAACC,MAAoB;AAC/C,EAAAC,EAAM,OAAO,CAAC,MACZ,gBAAAC;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,SAAQ;AAAA,MACR,SAAAH;AAAA,MACA,WAAW,EAAE,UAAUI,EAAE,aAAaA,EAAE;AAAA,MACxC,SAAS,MAAMH,EAAM,QAAQ,EAAE,EAAE;AAAA,IAAA;AAAA,EAAA,CAEpC;AACH,GAOaI,KAAa,CAACL,GAAiBM,IAAQ,aAAa;AAC/D,EAAAL,EAAM,OAAO,CAACM,MACZ,gBAAAL;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,SAAQ;AAAA,MACR,OAAAG;AAAA,MACA,SAAAN;AAAA,MACA,WAAWO,EAAE,UAAUH,EAAE,aAAaA,EAAE;AAAA,MACxC,SAAS,MAAMH,EAAM,QAAQM,EAAE,EAAE;AAAA,IAAA;AAAA,EAAA,CAEpC;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GC1BaC,KAAa,CAAsC;AAAA,EAC9D,KAAAC;AAAA,EACA,QAAAC;AAAA,EACA,WAAAC;AACF,MAA2B;AACzB,EAAAC,EAAU,MAAM;AACd,QAAI,CAACF,EAAQ;AAEb,UAAMG,IAAqB,CAACC,MAAmC;AAC7D,MAAIL,EAAI,WA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AA,IAECF,KACC,gBAAAlJ,EAAAC,IAAA,EACE,UAAA;AAAA,MAAA,gBAAA3B;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,WAAW6B,EAAK4C,EAAO,OAAOA,EAAO,SAAS;AAAA,UAC9C,SAASiG;AAAA,UACT,cAAW;AAAA,UACX,UAAU;AAAA,UAEV,4BAACK,IAAA,EAAc,OAAO,IAAI,QAAQ,IAAI,eAAW,GAAA,CAAC;AAAA,QAAA;AAAA,MAAA;AAAA,MAEpD,gBAAA/K;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,WAAW6B,EAAK4C,EAAO,OAAOA,EAAO,SAAS;AAAA,UAC9C,SAASkG;AAAA,UACT,cAAW;AAAA,UACX,UAAU;AAAA,UAEV,4BAACK,IAAA,EAAe,OAAO,IAAI,QAAQ,IAAI,eAAW,GAAA,CAAC;AAAA,QAAA;AAAA,MAAA;AAAA,IACrD,GACF;AAAA,IAGDd,IAAQ,KACP,gBAAAlK,EAAC,OAAA,EAAI,WAAWyE,EAAO,MAAM,MAAK,WAAU,cAAW,mBACpD,UAAAwF,EAAO,IAAI,CAACgB,GAAGH,MACd,gBAAA9K;AAAA,MAAC;AAAA,MAAA;AAAA,QAEC,MAAK;AAAA,QACL,MAAK;AAAA,QACL,iBAAe8K,MAAMR;AAAA,QACrB,cAAY,SAASQ,IAAI,CAAC;AAAA,QAC1B,WAAWjJ,EAAK4C,EAAO,KAAKqG,MAAMR,KAAgB7F,EAAO,SAAS;AAAA,QAClE,SAAS,MAAM8F,EAASO,CAAC;AAAA,QACzB,UAAUA,MAAMR,IAAe,IAAI;AAAA,MAAA;AAAA,MAP9BQ;AAAA,IAAA,CASR,EAAA,CACH;AAAA,EAAA,GAEJ;AAEJ;"}
|
|
1
|
+
{"version":3,"file":"index.client.js","sources":["../src/components/Alert/toast.tsx","../src/components/DatePicker/hooks/useDismiss.ts","../src/components/Select/SelectDropdownContent.tsx","../src/components/Select/useDebouncedValue.ts","../src/components/Select/Select.tsx","../src/components/DatePicker/utils/getDayPickerProps.tsx","../src/components/DatePicker/utils/formatDateValue.ts","../src/components/DatePicker/utils/handleDateSelect.ts","../src/components/DatePicker/utils/parseDateValue.ts","../src/components/DatePicker/utils/updateMonthFromDate.ts","../src/components/DatePicker/DatePicker.tsx","../src/components/DropdownMenu/DropdownMenu.tsx","../src/components/Input/Input.tsx","../src/components/Modal/Modal.tsx","../src/components/Carousel/Carousel.tsx"],"sourcesContent":["'use client'\n\nimport { toast } from 'react-hot-toast'\nimport { Alert } from './Alert'\nimport s from './Alert.module.css'\n\n/**\n * Show a success toast rendered with the shared `Alert` component.\n * @param message - Text to display in the toast body.\n */\nexport const toastSuccess = (message: string) => {\n toast.custom((t) => (\n <Alert\n variant=\"success\"\n message={message}\n className={t.visible ? s.toastEnter : s.toastExit}\n onClose={() => toast.dismiss(t.id)}\n />\n ))\n}\n\n/**\n * Show an error toast rendered with the shared `Alert` component.\n * @param message - Text to display in the toast body.\n * @param title - Optional heading shown above the message.`.\n */\nexport const toastError = (message: string, title?: string) => {\n toast.custom((t) => (\n <Alert\n variant=\"error\"\n title={title}\n message={message}\n className={t.visible ? s.toastEnter : s.toastExit}\n onClose={() => toast.dismiss(t.id)}\n />\n ))\n}\n","'use client'\n\nimport { useEffect, type RefObject } from 'react'\n\ntype UseDismissParams<T extends HTMLElement = HTMLElement> = {\n ref: RefObject<T | null>\n isOpen: boolean\n onDismiss: () => void\n}\n\nexport const useDismiss = <T extends HTMLElement = HTMLElement>({\n ref,\n isOpen,\n onDismiss,\n}: UseDismissParams<T>) => {\n useEffect(() => {\n if (!isOpen) return\n\n const handleClickOutside = (event: MouseEvent | TouchEvent) => {\n if (ref.current && !ref.current.contains(event.target as Node)) {\n onDismiss()\n }\n }\n\n const handleEscape = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n onDismiss()\n }\n }\n\n document.addEventListener('mousedown', handleClickOutside)\n document.addEventListener('touchstart', handleClickOutside)\n document.addEventListener('keydown', handleEscape)\n\n return () => {\n document.removeEventListener('mousedown', handleClickOutside)\n document.removeEventListener('touchstart', handleClickOutside)\n document.removeEventListener('keydown', handleEscape)\n }\n }, [isOpen, onDismiss, ref])\n}\n","import { RefObject } from 'react'\n\nimport { clsx } from 'clsx'\n\nimport { SelectOption } from './Select.types'\nimport s from './Select.module.css'\n\ntype SelectDropdownContentProps = {\n filteredOptions: SelectOption[]\n isLoading: boolean\n loadingText: string\n noOptionsText: string\n onSearchChange: (value: string) => void\n onSelect: (optionValue: string) => void\n searchInputRef: RefObject<HTMLInputElement | null>\n searchPlaceholder: string\n searchQuery: string\n searchable: boolean\n value?: string\n}\n\nexport const SelectDropdownContent = ({\n filteredOptions,\n isLoading,\n loadingText,\n noOptionsText,\n onSearchChange,\n onSelect,\n searchInputRef,\n searchPlaceholder,\n searchQuery,\n searchable,\n value,\n}: SelectDropdownContentProps) => {\n return (\n <>\n {searchable && (\n <div className={s.searchContainer}>\n <input\n ref={searchInputRef}\n className={s.searchInput}\n onChange={(event) => onSearchChange(event.currentTarget.value)}\n placeholder={searchPlaceholder}\n type=\"text\"\n value={searchQuery}\n />\n </div>\n )}\n\n {isLoading && <p className={s.noOptions}>{loadingText}</p>}\n\n {filteredOptions.length ? (\n filteredOptions.map((option) => (\n <button\n key={option.value}\n className={clsx(s.option, option.value === value && s.selected)}\n onClick={() => onSelect(option.value)}\n type=\"button\"\n role=\"option\"\n aria-selected={option.value === value}\n >\n {option.icon && <span className={s.optionIcon}>{option.icon}</span>}\n {option.label}\n </button>\n ))\n ) : !isLoading ? (\n <p className={s.noOptions}>{noOptionsText}</p>\n ) : null}\n </>\n )\n}\n","import { useEffect, useState } from 'react'\n\nexport const useDebouncedValue = <T>(value: T, delayMs: number) => {\n const [debouncedValue, setDebouncedValue] = useState(value)\n\n useEffect(() => {\n const timeoutId = setTimeout(() => {\n setDebouncedValue(value)\n }, delayMs)\n\n return () => {\n clearTimeout(timeoutId)\n }\n }, [delayMs, value])\n\n return debouncedValue\n}\n","'use client'\n\nimport { useCallback, useEffect, useRef, useState } from 'react'\n\nimport { clsx } from 'clsx'\n\nimport SimpleBar from 'simplebar-react'\nimport 'simplebar-react/dist/simplebar.min.css'\n\nimport { ArrowDownIcon } from '@/icons'\n\nimport { SelectDropdownContent } from './SelectDropdownContent'\nimport s from './Select.module.css'\nimport { SelectProps } from './Select.types'\nimport { useDebouncedValue } from './useDebouncedValue'\n\nexport const Select = (props: SelectProps) => {\n const {\n className,\n defaultSearchValue = '',\n disabled = false,\n filterOptions,\n isLoading = false,\n label,\n loadingText = 'Loading...',\n noOptionsText = 'No options found',\n onChange,\n onSearchChange,\n options,\n placeholder,\n searchDebounceMs = 180,\n searchMode = 'local',\n searchPlaceholder = 'Search...',\n searchValue,\n searchable = false,\n value,\n } = props\n\n const [isOpen, setIsOpen] = useState(false)\n const [searchQueryState, setSearchQueryState] = useState(searchValue ?? defaultSearchValue)\n const selectRef = useRef<HTMLDivElement>(null)\n const searchInputRef = useRef<HTMLInputElement>(null)\n const isFirstSearchChangeRef = useRef(true)\n const isSearchControlled = searchValue !== undefined\n const searchQuery = isSearchControlled ? searchValue : searchQueryState\n const debouncedDisplayedSearchQuery = useDebouncedValue(searchQuery, searchDebounceMs)\n const debouncedSearchQuery = useDebouncedValue(searchQueryState, searchDebounceMs)\n const shouldFilterOptions = filterOptions ?? searchMode === 'local'\n\n const selectedOption = options.find((option) => option.value === value)\n const normalizedSearchQuery = debouncedDisplayedSearchQuery.trim().toLowerCase()\n const filteredOptions =\n shouldFilterOptions && normalizedSearchQuery\n ? options.filter((option) => option.label.toLowerCase().includes(normalizedSearchQuery))\n : options\n\n const resetSearchQuery = useCallback(() => {\n setSearchQueryState('')\n }, [])\n\n const closeDropdown = useCallback(() => {\n setIsOpen(false)\n resetSearchQuery()\n }, [resetSearchQuery])\n\n const handleToggle = () => {\n if (disabled) {\n return\n }\n\n if (isOpen) {\n closeDropdown()\n } else {\n resetSearchQuery()\n setIsOpen(true)\n }\n }\n\n const handleSelect = (optionValue: string) => {\n onChange?.(optionValue)\n closeDropdown()\n }\n\n useEffect(() => {\n const handleClickOutside = (event: MouseEvent) => {\n if (selectRef.current && !selectRef.current.contains(event.target as Node)) {\n closeDropdown()\n }\n }\n\n if (isOpen) {\n document.addEventListener('mousedown', handleClickOutside)\n }\n\n return () => {\n document.removeEventListener('mousedown', handleClickOutside)\n }\n }, [closeDropdown, isOpen])\n\n useEffect(() => {\n if (!searchable || !onSearchChange) {\n return\n }\n\n if (isFirstSearchChangeRef.current) {\n isFirstSearchChangeRef.current = false\n\n return\n }\n\n onSearchChange(debouncedSearchQuery)\n }, [debouncedSearchQuery, onSearchChange, searchable])\n\n useEffect(() => {\n if (isOpen && searchable) {\n searchInputRef.current?.focus()\n }\n }, [isOpen, searchable])\n\n return (\n <div className={clsx(s.container, className)}>\n {label && <label className={s.label}>{label}</label>}\n\n <div className={s.select} ref={selectRef}>\n <button\n className={clsx(s.trigger, isOpen && s.triggerOpen)}\n disabled={disabled}\n onClick={handleToggle}\n type=\"button\"\n aria-haspopup=\"listbox\"\n aria-expanded={isOpen}\n >\n <span className={selectedOption ? s.selectedContent : s.placeholder}>\n {selectedOption?.icon && <span className={s.optionIcon}>{selectedOption.icon}</span>}\n {selectedOption ? selectedOption.label : placeholder || 'Select an option'}\n </span>\n <span className={clsx(s.arrow, isOpen && s.open)}>\n <ArrowDownIcon />\n </span>\n </button>\n\n {isOpen && (\n <SimpleBar className={s.dropdown} role=\"listbox\" style={{ maxHeight: 191 }}>\n <SelectDropdownContent\n filteredOptions={filteredOptions}\n isLoading={isLoading}\n loadingText={loadingText}\n noOptionsText={noOptionsText}\n onSearchChange={setSearchQueryState}\n onSelect={handleSelect}\n searchInputRef={searchInputRef}\n searchPlaceholder={searchPlaceholder}\n searchQuery={searchQuery}\n searchable={searchable}\n value={value}\n />\n </SimpleBar>\n )}\n </div>\n </div>\n )\n}\n","import React from 'react'\nimport clsx from 'clsx'\nimport { DropdownProps } from 'react-day-picker'\nimport { Select } from '../../Select'\nimport styles from '../DatePicker.module.css'\nimport { CaptionLayout, WeekStartsOn } from '../DatePicker.types'\n\nconst DropdownComponent = (props: DropdownProps) => {\n const handleDropdownChange = (value: string) => {\n if (props.onChange) {\n const syntheticEvent = {\n target: {\n value,\n },\n } as React.ChangeEvent<HTMLSelectElement>\n\n props.onChange(syntheticEvent)\n }\n }\n\n const selectOptions =\n props.options?.map((option) => ({\n value: option.value.toString(),\n label: option.label,\n })) || []\n\n return (\n <Select\n className={props.className}\n options={selectOptions}\n value={props.value?.toString() || ''}\n onChange={handleDropdownChange}\n />\n )\n}\n\nDropdownComponent.displayName = 'DatePickerDropdown'\n\nconst staticClassNames = {\n month_caption: styles.monthsCaption,\n button_previous: styles.navButtonPrevious,\n button_next: styles.navButtonNext,\n chevron: styles.navIcon,\n caption_label: styles.captionLabel,\n\n dropdowns: styles.dropdowns,\n dropdown_root: styles.dropdown_root,\n dropdown: styles.dropdown,\n dropdown_select_option: styles.option,\n\n months_dropdown: styles.monthsDropdown,\n years_dropdown: styles.yearsDropdown,\n\n month_grid: styles.monthGrid,\n weekday: styles.weekday,\n day_button: styles.dayButton,\n day: styles.day,\n outside: styles.dayOutside,\n selected: styles.daySelected,\n range_start: styles.dayRangeStart,\n range_middle: styles.dayRangeMiddle,\n range_end: styles.dayRangeEnd,\n today: styles.dayToday,\n} as const\n\nconst staticComponents = {\n Dropdown: DropdownComponent,\n} as const\n\nconst staticProps = {\n weekStartsOn: 1 as WeekStartsOn,\n showOutsideDays: true,\n reverseYears: true,\n captionLayout: 'dropdown' as CaptionLayout,\n} as const\n\nconst baseDayPickerProps = {\n components: staticComponents,\n ...staticProps,\n} as const\n\nexport const getDayPickerProps = (isOpen: boolean) => {\n return {\n ...baseDayPickerProps,\n classNames: {\n root: clsx(styles.calendar, isOpen && styles.open),\n ...staticClassNames,\n },\n }\n}\n","import { DateRange } from 'react-day-picker'\nimport { format } from 'date-fns'\n\nconst DATE_FORMAT = 'dd.MM.yyyy'\n\nexport const formatSingleDate = (date: Date | undefined): string => {\n if (!date) return ''\n return format(date, DATE_FORMAT)\n}\n\nexport const formatRangeDate = (range: DateRange | undefined): string => {\n if (!range || !range.from) return ''\n\n if (range.to && range.from.getTime() !== range.to.getTime()) {\n return `${format(range.from, DATE_FORMAT)} - ${format(range.to, DATE_FORMAT)}`\n }\n\n return format(range.from, DATE_FORMAT)\n}\n\nexport const formatDateValue = (\n value: Date | DateRange | undefined,\n mode: 'single' | 'range',\n): string => {\n if (!value) return ''\n\n if (mode === 'single' && value instanceof Date) {\n return formatSingleDate(value)\n }\n\n if (mode === 'range' && typeof value === 'object' && 'from' in value) {\n return formatRangeDate(value as DateRange)\n }\n\n return ''\n}\n","import { DateRange } from 'react-day-picker'\nimport { formatDateValue } from './formatDateValue'\n\ntype HandleDateSelectParams = {\n value: Date | DateRange | undefined\n mode: 'single' | 'range'\n onChange: (value: string) => void\n setMonth: (date: Date) => void\n setIsOpen: (open: boolean) => void\n}\n\nexport const handleDateSelect = ({\n value,\n mode,\n onChange,\n setMonth,\n setIsOpen,\n}: HandleDateSelectParams) => {\n if (!value) {\n onChange('')\n return\n }\n\n if (mode === 'single') {\n if (value instanceof Date) {\n setMonth(value)\n onChange(formatDateValue(value, 'single'))\n setIsOpen(false)\n }\n return\n }\n\n if (mode === 'range' && typeof value === 'object' && 'from' in value) {\n const range = value as DateRange\n\n if (range.from) {\n setMonth(range.from)\n } else if (range.to) {\n setMonth(range.to)\n }\n\n const formattedValue = formatDateValue(range, 'range')\n onChange(formattedValue)\n\n if (range.from && range.to && range.from.getTime() !== range.to.getTime()) {\n setIsOpen(false)\n }\n }\n}\n","import { isValid, parse } from 'date-fns'\nimport { DateRange } from 'react-day-picker'\n\nconst DATE_FORMAT = 'dd.MM.yyyy'\n\nexport const parseSingleDate = (value: string): Date | undefined => {\n if (!value) return undefined\n\n const parsedDate = parse(value, DATE_FORMAT, new Date())\n return isValid(parsedDate) ? parsedDate : undefined\n}\n\nexport const parseRangeDate = (value: string): DateRange | undefined => {\n if (!value) return undefined\n\n const separator = ' - '\n const separatorIndex = value.indexOf(separator)\n\n if (separatorIndex === -1) {\n const parsedDate = parse(value.trim(), DATE_FORMAT, new Date())\n if (isValid(parsedDate)) {\n return { from: parsedDate, to: undefined }\n }\n return undefined\n }\n\n const fromPart = value.substring(0, separatorIndex).trim()\n const toPart = value.substring(separatorIndex + separator.length).trim()\n\n if (!fromPart || !toPart) return undefined\n\n const fromDate = parse(fromPart, DATE_FORMAT, new Date())\n const toDate = parse(toPart, DATE_FORMAT, new Date())\n\n if (isValid(fromDate) && isValid(toDate)) {\n return { from: fromDate, to: toDate }\n }\n\n return undefined\n}\n\nexport const parseDateValue = (\n value: string,\n mode: 'single' | 'range',\n): Date | DateRange | undefined => {\n if (!value) return undefined\n\n if (mode === 'single') {\n return parseSingleDate(value)\n }\n\n return parseRangeDate(value)\n}\n","import { DateRange } from 'react-day-picker'\n\nexport const updateMonthFromDate = (\n date: Date | DateRange | undefined,\n mode: 'single' | 'range',\n setMonth: (date: Date) => void,\n) => {\n if (!date) return\n\n if (mode === 'single' && date instanceof Date) {\n setMonth(date)\n return\n }\n\n if (mode === 'range' && typeof date === 'object' && 'from' in date) {\n const range = date as DateRange\n if (range.from) {\n setMonth(range.from)\n } else if (range.to) {\n setMonth(range.to)\n }\n }\n}\n","'use client'\n\nimport { Typography } from '@/components/Typography'\nimport { CalendarIcon, CloseIcon } from '@/icons'\nimport clsx from 'clsx'\nimport { ChangeEvent, type MouseEvent, useEffect, useMemo, useRef, useState } from 'react'\nimport { DateRange, DayPicker, type DayPickerProps } from 'react-day-picker'\n\nimport styles from './DatePicker.module.css'\nimport { DatePickerProps } from './DatePicker.types'\nimport { useDismiss } from './hooks/useDismiss'\nimport { getDayPickerProps } from './utils/getDayPickerProps'\nimport { handleDateSelect } from './utils/handleDateSelect'\nimport { parseDateValue } from './utils/parseDateValue'\nimport { updateMonthFromDate } from './utils/updateMonthFromDate'\n\nexport const DatePicker = ({\n mode,\n value,\n onChange,\n disabled,\n label,\n error,\n placeholder,\n ...rest\n}: DatePickerProps) => {\n const [isOpen, setIsOpen] = useState(false)\n const wrapperRef = useRef<HTMLDivElement>(null)\n const [month, setMonth] = useState(new Date())\n\n const parsedDate = useMemo(() => parseDateValue(value, mode), [value, mode])\n\n useEffect(() => {\n updateMonthFromDate(parsedDate, mode, setMonth)\n }, [parsedDate, mode, setMonth])\n\n const closeCalendar = () => {\n setIsOpen(false)\n }\n\n useDismiss({ ref: wrapperRef, isOpen, onDismiss: closeCalendar })\n\n const handleClear = (e: MouseEvent<HTMLButtonElement>) => {\n e.stopPropagation()\n handleSelect(undefined)\n }\n\n const handleToggle = () => {\n if (disabled) return\n setIsOpen((prev) => !prev)\n }\n\n const handleInputChange = (e: ChangeEvent<HTMLInputElement>) => {\n const inputValue = e.currentTarget.value\n onChange(inputValue)\n }\n\n const handleSelect = (selectedValue: Date | DateRange | undefined) => {\n handleDateSelect({\n value: selectedValue,\n mode,\n onChange,\n setMonth,\n setIsOpen,\n })\n }\n\n const commonDayPickerProps = useMemo(() => getDayPickerProps(isOpen), [isOpen])\n\n return (\n <div ref={wrapperRef} className={styles.wrapper}>\n <div className={styles.inputContainer}>\n {label && (\n <span className={disabled ? styles.disabledLabel : styles.label}>\n <Typography variant=\"text-14\">{label}</Typography>\n </span>\n )}\n <div className={styles.inputWrapper}>\n <input\n type=\"text\"\n className={clsx(styles.trigger, error && styles.error)}\n onClick={handleToggle}\n value={value}\n onChange={handleInputChange}\n placeholder={placeholder}\n disabled={disabled}\n aria-label={label || 'Select date'}\n aria-expanded={isOpen}\n aria-haspopup=\"dialog\"\n aria-invalid={error ? 'true' : 'false'}\n {...rest}\n />\n {value && !disabled && (\n <button\n type=\"button\"\n className={styles.clearButton}\n onClick={handleClear}\n aria-label=\"Clear date\"\n >\n <CloseIcon className={styles.clearIcon} />\n </button>\n )}\n <CalendarIcon className={clsx(styles.icon, !value && styles.placeholder)} />\n </div>\n {error && (\n <Typography variant=\"small\" className={styles.error}>\n {error}\n </Typography>\n )}\n </div>\n\n {mode === 'single' ? (\n <DayPicker\n {...(commonDayPickerProps as DayPickerProps)}\n month={month}\n onMonthChange={setMonth}\n mode=\"single\"\n selected={parsedDate instanceof Date ? parsedDate : undefined}\n onSelect={handleSelect}\n />\n ) : (\n <DayPicker\n {...(commonDayPickerProps as DayPickerProps)}\n month={month}\n onMonthChange={setMonth}\n mode=\"range\"\n selected={\n parsedDate && typeof parsedDate === 'object' && 'from' in parsedDate\n ? (parsedDate as DateRange)\n : undefined\n }\n onSelect={handleSelect}\n />\n )}\n </div>\n )\n}\n","'use client'\n\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\nimport { clsx } from 'clsx'\n\nimport s from './DropdownMenu.module.css'\nimport { DropdownMenuProps } from './DropdownMenu.types'\n\nexport const DropdownMenu = (props: DropdownMenuProps) => {\n const { children, items, className, align = 'end', side = 'bottom' } = props\n\n return (\n <DropdownMenuPrimitive.Root>\n <DropdownMenuPrimitive.Trigger asChild>{children}</DropdownMenuPrimitive.Trigger>\n\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n align={align}\n className={clsx(s.content, className)}\n side={side}\n sideOffset={4}\n >\n {items.map((item, index) => (\n <DropdownMenuPrimitive.Item\n key={index}\n className={s.item}\n disabled={item.disabled}\n onSelect={item.onSelect}\n >\n {item.icon && <span className={s.icon}>{item.icon}</span>}\n <span className={s.label}>{item.label}</span>\n </DropdownMenuPrimitive.Item>\n ))}\n </DropdownMenuPrimitive.Content>\n </DropdownMenuPrimitive.Portal>\n </DropdownMenuPrimitive.Root>\n )\n}\n","'use client'\n\nimport { forwardRef, useId, useState } from 'react'\nimport { clsx } from 'clsx'\n\nimport s from './Input.module.css'\nimport { InputProps } from './Input.types'\nimport { EyeIcon, EyeOffIcon } from '@/icons'\n\nexport const Input = forwardRef<HTMLInputElement, InputProps>(\n (\n {\n label,\n errorMessage,\n startIcon,\n endIcon,\n onEndIconClick,\n allowPasswordToggle,\n disabled,\n type = 'text',\n className,\n required,\n id,\n ...rest\n },\n ref,\n ) => {\n const generatedId = useId()\n const inputId = id ?? generatedId\n const errorId = errorMessage ? `${inputId}-error` : undefined\n\n const isError = Boolean(errorMessage)\n const isPassword = type === 'password' && allowPasswordToggle\n\n const [showPassword, setShowPassword] = useState(false)\n\n return (\n <div className={clsx(s.wrapper, className)}>\n {label && (\n <label htmlFor={inputId} className={clsx(s.label, { [s.disabled]: disabled })}>\n {label}\n {required && <sup className={s.required}> *</sup>}\n </label>\n )}\n\n <div\n className={clsx(s.inputContainer, {\n [s.error]: isError,\n [s.disabled]: disabled,\n [s.withStartIcon]: Boolean(startIcon),\n [s.withEndIcon]: Boolean(endIcon) || isPassword,\n })}\n >\n {startIcon && <span className={s.startIcon}>{startIcon}</span>}\n\n <input\n ref={ref}\n id={inputId}\n className={s.input}\n type={isPassword && showPassword ? 'text' : type}\n autoComplete={type === 'password' ? 'current-password' : 'off'}\n required={required}\n disabled={disabled}\n aria-invalid={isError}\n aria-describedby={errorId}\n {...rest}\n />\n\n {isPassword && (\n <button\n type=\"button\"\n className={s.endIcon}\n onClick={() => setShowPassword((v) => !v)}\n aria-label={showPassword ? 'Hide password' : 'Show password'}\n disabled={disabled}\n tabIndex={-1}\n >\n {showPassword ? <EyeOffIcon /> : <EyeIcon />}\n </button>\n )}\n\n {endIcon && !isPassword && (\n <button\n type=\"button\"\n className={s.endIcon}\n onClick={onEndIconClick}\n aria-label=\"Action\"\n disabled={disabled}\n >\n {endIcon}\n </button>\n )}\n </div>\n\n {isError && (\n <span id={errorId} className={s.errorMessage} role=\"alert\">\n {errorMessage}\n </span>\n )}\n </div>\n )\n },\n)\n\nInput.displayName = 'Input'\n","'use client'\n\nimport { useEffect, useId, useRef } from 'react'\nimport { createPortal } from 'react-dom'\nimport { clsx } from 'clsx'\nimport { FocusTrap } from 'focus-trap-react'\n\nimport s from './Modal.module.css'\nimport { ModalProps } from './Modal.types'\nimport { CloseIcon } from '@/icons/CloseIcon'\n\nexport const Modal = ({ open, onClose, title, children, className }: ModalProps) => {\n const titleId = useId()\n const onCloseRef = useRef(onClose)\n\n useEffect(() => {\n onCloseRef.current = onClose\n }, [onClose])\n\n useEffect(() => {\n if (!open) return\n\n document.body.style.overflow = 'hidden'\n\n return () => {\n document.body.style.overflow = ''\n }\n }, [open])\n\n useEffect(() => {\n if (!open) return\n\n const handleKeyDown = (event: KeyboardEvent) => {\n if (event.key === 'Escape') {\n onCloseRef.current()\n }\n }\n\n document.addEventListener('keydown', handleKeyDown)\n return () => {\n document.removeEventListener('keydown', handleKeyDown)\n }\n }, [open])\n\n if (!open) return null\n if (typeof document === 'undefined') return null\n const modalRoot = document.getElementById('modal-root') ?? document.body\n\n return createPortal(\n <FocusTrap\n active={open}\n focusTrapOptions={{\n clickOutsideDeactivates: true,\n returnFocusOnDeactivate: true,\n }}\n >\n <div className={s.overlay} onClick={() => onCloseRef.current()}>\n <div\n className={clsx(s.modal, className)}\n onClick={(e) => e.stopPropagation()}\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby={titleId}\n >\n <header className={s.header}>\n <h2 id={titleId} className={s.title}>\n {title}\n </h2>\n\n <button\n type=\"button\"\n className={s.close}\n aria-label=\"Close modal\"\n onClick={() => onCloseRef.current()}\n >\n <CloseIcon />\n </button>\n </header>\n\n <div className={s.body}>{children}</div>\n </div>\n </div>\n </FocusTrap>,\n modalRoot,\n )\n}\n","'use client'\n\nimport { clsx } from 'clsx'\nimport { useCallback, useEffect, useState } from 'react'\nimport { ArrowLeftIcon, ArrowRightIcon } from '@/icons'\nimport styles from './Carousel.module.css'\nimport { CarouselProps } from './Carousel.types'\n\nexport const Carousel = ({\n children,\n value,\n onValueChange,\n autoPlayInterval = 0,\n className,\n hideArrowsWhenSingle = true,\n}: CarouselProps) => {\n const slides = Array.isArray(children) ? children : [children]\n const count = slides.length\n\n const [internalIndex, setInternalIndex] = useState(0)\n const isControlled = value !== undefined\n const currentIndex = isControlled ? Math.min(Math.max(0, value), count - 1) : internalIndex\n\n const setIndex = useCallback(\n (next: number) => {\n const clamped = (next + count) % count\n if (!isControlled) setInternalIndex(clamped)\n onValueChange?.(clamped)\n },\n [count, isControlled, onValueChange],\n )\n\n useEffect(() => {\n if (autoPlayInterval <= 0 || count <= 1) return\n const id = setInterval(() => setIndex(currentIndex + 1), autoPlayInterval)\n return () => clearInterval(id)\n }, [autoPlayInterval, count, currentIndex, setIndex])\n\n if (count === 0) return null\n\n const handlePrev = () => setIndex(currentIndex - 1)\n const handleNext = () => setIndex(currentIndex + 1)\n\n const showArrows = !hideArrowsWhenSingle || count > 1\n\n return (\n <div className={clsx(styles.root, className)} role=\"region\" aria-label=\"Carousel\">\n <div className={styles.trackWrapper}>\n <div className={styles.track} style={{ transform: `translateX(-${currentIndex * 100}%)` }}>\n {slides.map((slide, i) => (\n <div key={i} className={styles.slide}>\n {slide}\n </div>\n ))}\n </div>\n </div>\n\n {showArrows && (\n <>\n <button\n type=\"button\"\n className={clsx(styles.arrow, styles.arrowPrev)}\n onClick={handlePrev}\n aria-label=\"Previous slide\"\n tabIndex={0}\n >\n <ArrowLeftIcon width={24} height={24} aria-hidden />\n </button>\n <button\n type=\"button\"\n className={clsx(styles.arrow, styles.arrowNext)}\n onClick={handleNext}\n aria-label=\"Next slide\"\n tabIndex={0}\n >\n <ArrowRightIcon width={24} height={24} aria-hidden />\n </button>\n </>\n )}\n\n {count > 1 && (\n <div className={styles.dots} role=\"tablist\" aria-label=\"Slide selection\">\n {slides.map((_, i) => (\n <button\n key={i}\n type=\"button\"\n role=\"tab\"\n aria-selected={i === currentIndex}\n aria-label={`Slide ${i + 1}`}\n className={clsx(styles.dot, i === currentIndex && styles.dotActive)}\n onClick={() => setIndex(i)}\n tabIndex={i === currentIndex ? 0 : -1}\n />\n ))}\n </div>\n )}\n </div>\n )\n}\n"],"names":["toastSuccess","message","toast","jsx","Alert","s","toastError","title","t","useDismiss","ref","isOpen","onDismiss","useEffect","handleClickOutside","event","handleEscape","SelectDropdownContent","filteredOptions","isLoading","loadingText","noOptionsText","onSearchChange","onSelect","searchInputRef","searchPlaceholder","searchQuery","searchable","value","jsxs","Fragment","option","clsx","useDebouncedValue","delayMs","debouncedValue","setDebouncedValue","useState","timeoutId","Select","props","className","defaultSearchValue","disabled","filterOptions","label","onChange","options","placeholder","searchDebounceMs","searchMode","searchValue","setIsOpen","searchQueryState","setSearchQueryState","selectRef","useRef","isFirstSearchChangeRef","debouncedDisplayedSearchQuery","debouncedSearchQuery","shouldFilterOptions","selectedOption","normalizedSearchQuery","resetSearchQuery","useCallback","closeDropdown","handleToggle","handleSelect","optionValue","ArrowDownIcon","SimpleBar","DropdownComponent","handleDropdownChange","syntheticEvent","selectOptions","staticClassNames","styles","staticComponents","staticProps","baseDayPickerProps","getDayPickerProps","DATE_FORMAT","formatSingleDate","date","format","formatRangeDate","range","formatDateValue","mode","handleDateSelect","setMonth","formattedValue","parseSingleDate","parsedDate","parse","isValid","parseRangeDate","separator","separatorIndex","fromPart","toPart","fromDate","toDate","parseDateValue","updateMonthFromDate","DatePicker","error","rest","wrapperRef","month","useMemo","handleClear","e","prev","handleInputChange","inputValue","selectedValue","commonDayPickerProps","Typography","CloseIcon","CalendarIcon","DayPicker","DropdownMenu","children","items","align","side","DropdownMenuPrimitive","item","index","Input","forwardRef","errorMessage","startIcon","endIcon","onEndIconClick","allowPasswordToggle","type","required","id","generatedId","useId","inputId","errorId","isError","isPassword","showPassword","setShowPassword","v","EyeOffIcon","EyeIcon","Modal","open","onClose","titleId","onCloseRef","handleKeyDown","modalRoot","createPortal","FocusTrap","Carousel","onValueChange","autoPlayInterval","hideArrowsWhenSingle","slides","count","internalIndex","setInternalIndex","isControlled","currentIndex","setIndex","next","clamped","handlePrev","handleNext","showArrows","slide","i","ArrowLeftIcon","ArrowRightIcon","_"],"mappings":";;;;;;;;;;;;;;;;;AAUO,MAAMA,KAAe,CAACC,MAAoB;AAC/C,EAAAC,E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UACX,UAAU;AAAA,UAEV,4BAACK,IAAA,EAAe,OAAO,IAAI,QAAQ,IAAI,eAAW,GAAA,CAAC;AAAA,QAAA;AAAA,MAAA;AAAA,IACrD,GACF;AAAA,IAGDd,IAAQ,KACP,gBAAAlK,EAAC,OAAA,EAAI,WAAWyE,EAAO,MAAM,MAAK,WAAU,cAAW,mBACpD,UAAAwF,EAAO,IAAI,CAACgB,GAAGH,MACd,gBAAA9K;AAAA,MAAC;AAAA,MAAA;AAAA,QAEC,MAAK;AAAA,QACL,MAAK;AAAA,QACL,iBAAe8K,MAAMR;AAAA,QACrB,cAAY,SAASQ,IAAI,CAAC;AAAA,QAC1B,WAAWjJ,EAAK4C,EAAO,KAAKqG,MAAMR,KAAgB7F,EAAO,SAAS;AAAA,QAClE,SAAS,MAAM8F,EAASO,CAAC;AAAA,QACzB,UAAUA,MAAMR,IAAe,IAAI;AAAA,MAAA;AAAA,MAP9BQ;AAAA,IAAA,CASR,EAAA,CACH;AAAA,EAAA,GAEJ;AAEJ;"}
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";._alert_5jfpm_1{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;width:100%;max-width:387px;padding:12px 24px;border-radius:2px;color:var(--color-light-100)}._content_5jfpm_15{display:flex;gap:5px;align-items:center}._error_5jfpm_22{border:1px solid var(--color-danger-500);background-color:var(--color-danger-900)}._success_5jfpm_28{border:1px solid var(--color-success-500);background-color:var(--color-success-900)}._closeButton_5jfpm_33{cursor:pointer;border:none;background:transparent}._message_5jfpm_39,._title_5jfpm_40{font-size:16px;font-weight:400;line-height:150%}._title_5jfpm_40{font-weight:700}._toastEnter_5jfpm_50{animation:_fade-in_5jfpm_1 .2s ease-out}._toastExit_5jfpm_54{animation:_fade-out_5jfpm_1 .2s ease-in forwards}@keyframes _fade-in_5jfpm_1{0%{opacity:0}to{opacity:1}}@keyframes _fade-out_5jfpm_1{0%{opacity:1}to{opacity:0}}._button_19cd4_1{all:unset;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:6px 24px;border-radius:2px;font-weight:600;line-height:150%;transition:color .12s ease-out,background-color .18s cubic-bezier(.2,0,0,1)}._button_19cd4_1:disabled{cursor:not-allowed}._primary_19cd4_26{color:var(--color-light-100);background-color:var(--color-accent-500)}._primary_19cd4_26:active{color:var(--color-light-500);background-color:var(--color-accent-700)}._primary_19cd4_26:focus-visible{outline:2px solid var(--color-accent-700)}._primary_19cd4_26:disabled{color:var(--color-light-900);background-color:var(--color-accent-900)}._primary_19cd4_26:hover:not(:active,:focus-visible,:disabled){background-color:var(--color-accent-100)}._secondary_19cd4_49{color:var(--color-light-100);background-color:var(--color-dark-300)}._secondary_19cd4_49:active{color:var(--color-light-500);background-color:var(--color-dark-400)}._secondary_19cd4_49:focus-visible{outline:2px solid var(--color-accent-300)}._secondary_19cd4_49:disabled{color:var(--color-light-900);background-color:var(--color-dark-500)}._secondary_19cd4_49:hover:not(:active,:focus-visible,:disabled){background-color:var(--color-dark-100)}._outlined_19cd4_72{border:1px solid var(--color-accent-500);color:var(--color-accent-500);background-color:transparent}._outlined_19cd4_72:active{border-color:var(--color-accent-700);color:var(--color-accent-700)}._outlined_19cd4_72:focus-visible{border:2px solid var(--color-accent-700);color:var(--color-accent-700)}._outlined_19cd4_72:disabled{border-color:var(--color-accent-900);color:var(--color-accent-900)}._outlined_19cd4_72:hover:not(:active,:focus-visible,:disabled){border-color:var(--color-accent-100);color:var(--color-accent-100)}._text_19cd4_98{color:var(--color-accent-500)}._text_19cd4_98:active{color:var(--color-accent-700)}._text_19cd4_98:focus-visible{outline:2px solid var(--color-accent-700)}._text_19cd4_98:disabled{color:var(--color-accent-900)}._text_19cd4_98:hover:not(:active,:focus-visible,:disabled){color:var(--color-accent-100)}._icon_19cd4_118{display:inline-flex;align-items:center;margin-right:10px}._card_1ah7i_1{padding:16px;border:1px solid var(--color-dark-100);border-radius:2px;background-color:var(--color-dark-500)}._checkbox_1q28z_1{cursor:pointer;position:relative;display:inline-flex;gap:10px;align-items:center}._input_1q28z_11{position:absolute;opacity:0}._labelSpan_1q28z_16{font-size:14px;font-weight:400;line-height:171%;color:var(--color-light-100)}._control_1q28z_23{position:relative;display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:2px solid var(--color-light-500);border-radius:4px}._input_1q28z_11:checked+._control_1q28z_23{background-color:var(--color-light-100)}._control_1q28z_23:before{content:"";position:absolute;z-index:-1;width:36px;height:36px;border-radius:50%;background-color:transparent;transition:background-color .15s ease}._control_1q28z_23:hover:before{background-color:var(--color-dark-100)}._input_1q28z_11:focus-visible+._control_1q28z_23:before{background-color:var(--color-dark-100)}._checkbox_1q28z_1:active ._control_1q28z_23:before{background-color:var(--color-dark-100)}._control_1q28z_23:after{content:"";position:absolute;top:50%;left:50%;transform-origin:left bottom;transform:translate(calc(-50% + 4px),-40%) rotate(-45deg);width:10px;height:6px;border-bottom:2px solid transparent;border-left:2px solid transparent}._input_1q28z_11:checked+._control_1q28z_23:after{border-color:var(--color-dark-900)}._input_1q28z_11:disabled+._control_1q28z_23{border-color:var(--color-dark-100)}._input_1q28z_11:disabled+._control_1q28z_23:before{background-color:transparent}._input_1q28z_11:disabled~._labelSpan_1q28z_16,._input_1q28z_11:disabled+._control_1q28z_23{cursor:not-allowed}._input_1q28z_11:disabled:checked+._control_1q28z_23{background-color:var(--color-dark-100)}._input_1q28z_11:disabled:checked+._control_1q28z_23:after{border-color:var(--color-light-700)}._input_1q28z_11:disabled~._labelSpan_1q28z_16{color:var(--color-light-900)}._checkbox_1q28z_1:has(._input_1q28z_11:disabled){cursor:not-allowed}._typography_18u05_1{display:inline-flex;align-items:center;margin:0;color:var(--color-light-100)}._icon_18u05_8{display:inline-flex;align-items:center;margin-right:8px}._large_18u05_14{font-size:26px;font-weight:600;line-height:138%}._h1_18u05_20{font-size:20px;font-weight:700;line-height:180%}._h2_18u05_26{font-size:18px;font-weight:700;line-height:133%}._h3_18u05_32{font-size:16px;font-weight:600;line-height:150%}._text-16_18u05_38{font-size:16px;font-weight:400;line-height:150%}._text-16-bold_18u05_44{font-size:16px;font-weight:700;line-height:150%}._text-14_18u05_50{font-size:14px;font-weight:400;line-height:171%}._text-14-bold_18u05_56{font-size:14px;font-weight:700;line-height:171%}._text-14-medium_18u05_62{font-size:14px;font-weight:500;line-height:171%}._small_18u05_68{font-size:12px;font-weight:400;line-height:133%}._small-semibold_18u05_74{font-size:12px;font-weight:600;line-height:133%}._link_18u05_80{font-size:14px;font-weight:400;line-height:171%;color:var(--color-accent-500);text-decoration:underline;text-decoration-skip-ink:none}._small-link_18u05_89{font-size:12px;font-weight:400;line-height:133%;color:var(--color-accent-500);text-decoration:underline;text-decoration-skip-ink:none}._label_ndvr9_1{margin-bottom:4px}._required_ndvr9_5{margin-left:4px;color:var(--color-danger-500)}._srOnly_ndvr9_10{position:absolute;overflow:hidden;width:1px;height:1px;margin:-1px;padding:0;border:0;white-space:nowrap}._radio_10hqy_1{cursor:pointer;position:relative;display:inline-flex;gap:10px;align-items:center}._input_10hqy_12{position:absolute;opacity:0}._labelSpan_10hqy_18{font-size:14px;font-weight:400;line-height:171%;color:var(--color-light-100)}._control_10hqy_26{position:relative;display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:2px solid var(--color-light-100);border-radius:50%}._control_10hqy_26:before{content:"";position:absolute;z-index:-1;width:36px;height:36px;border-radius:50%;background-color:transparent;transition:background-color .2s ease}._control_10hqy_26:hover:before{background-color:var(--color-dark-300)}._input_10hqy_12:focus-visible+._control_10hqy_26:before{background-color:var(--color-dark-500)}._radio_10hqy_1:active ._control_10hqy_26:before{background-color:var(--color-dark-100)}._control_10hqy_26:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:10px;height:10px;border-radius:50%;background-color:transparent}._input_10hqy_12:checked+._control_10hqy_26:after{background-color:var(--color-light-100)}._input_10hqy_12:disabled+._control_10hqy_26{border-color:var(--color-dark-100)}._input_10hqy_12:disabled+._control_10hqy_26:before{background-color:transparent}._input_10hqy_12:disabled:checked+._control_10hqy_26:after{background-color:var(--color-dark-100)}._input_10hqy_12:disabled~._labelSpan_10hqy_18{color:var(--color-light-900)}._input_10hqy_12:disabled~._labelSpan_10hqy_18,._input_10hqy_12:disabled+._control_10hqy_26,._input_10hqy_12:disabled~._control_10hqy_26{cursor:not-allowed}._radio_10hqy_1:has(._input_10hqy_12:disabled){cursor:not-allowed}._tab_78cv0_1{all:unset;cursor:pointer;width:100%;padding:6px 23px 4px;border-bottom:2px solid var(--color-dark-100);border-radius:0;font-size:16px;font-weight:600;line-height:150%;color:var(--color-dark-100);text-align:center;transition-duration:.2s;transition-property:background-color,color,border-color}._selected_78cv0_21{border-bottom-color:var(--color-accent-500);color:var(--color-accent-500)}._tab_78cv0_1:disabled{cursor:not-allowed;border-bottom-color:var(--color-dark-300);color:var(--color-dark-300)}._selected_78cv0_21:disabled{border-bottom-color:var(--color-accent-900);color:var(--color-accent-900)}._tab_78cv0_1:focus-visible{border-radius:2px;outline:2px solid var(--color-accent-700)}._tab_78cv0_1:active:not(:disabled){background-color:color-mix(in srgb,var(--color-accent-100) 15%,transparent)}._tab_78cv0_1:hover:not(:active,:focus-visible,:disabled){background-color:color-mix(in srgb,var(--color-accent-900) 15%,transparent)}._textareaWrapper_jdpdm_1{display:flex;flex-direction:column;width:100%}._label_jdpdm_7{font-size:14px;font-weight:400;line-height:171%;color:var(--color-light-900)}._label_jdpdm_7._disabled_jdpdm_14{color:var(--color-dark-100)}._textareaWrapper_jdpdm_1:has(._textarea_jdpdm_1:disabled) ._label_jdpdm_7{color:var(--color-dark-100)}._textarea_jdpdm_1{resize:none;box-sizing:border-box;width:100%;padding:10px 14px;border:1px solid var(--color-dark-100);border-radius:2px;font-size:16px;font-weight:400;line-height:150%;color:var(--color-light-900);background-color:transparent;outline:none}._textarea_jdpdm_1:disabled{cursor:not-allowed;color:var(--color-dark-100)}._textarea_jdpdm_1:focus-visible:not(:disabled){border:1px solid var(--color-light-100);color:var(--color-light-100)}._errorState_jdpdm_50,._errorState_jdpdm_50:focus-visible{border:1px solid var(--color-danger-500);color:var(--color-light-100)}._errorMessage_jdpdm_56{font-size:16px;font-weight:400;line-height:171%;color:var(--color-danger-500)}._required_jdpdm_63{color:var(--color-danger-500)}html{line-height:1.15;text-size-adjust:100%}body{margin:0;padding:0}main{display:block}h1{margin:.67em 0;font-size:2em}hr{overflow:visible;box-sizing:content-box;height:0}pre{font-family:monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace;font-size:1em}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:100%;line-height:1.15}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:auto}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{display:table;box-sizing:border-box;max-width:100%;padding:0;color:inherit;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{font:inherit;appearance:auto}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--color-accent-100: #73a5ff;--color-accent-300: #4c8dff;--color-accent-500: #397df6;--color-accent-700: #2f68cc;--color-accent-900: #234e99;--color-success-100: #80ffbf;--color-success-300: #22e584;--color-success-500: #14cc70;--color-success-700: #0f9954;--color-success-900: #0a6638;--color-danger-100: #ff8099;--color-danger-300: #f23d61;--color-danger-500: #cc1439;--color-danger-700: #990f2b;--color-danger-900: #660a1d;--color-warning-100: #ffd073;--color-warning-300: #e5ac39;--color-warning-500: #d99000;--color-warning-700: #960;--color-warning-900: #640;--color-dark-100: #4c4c4c;--color-dark-300: #333;--color-dark-400: #212121;--color-dark-500: #171717;--color-dark-700: #0d0d0d;--color-dark-900: #000;--color-light-100: #fff;--color-light-300: #f7fbff;--color-light-500: #edf3fa;--color-light-700: #d5dae0;--color-light-900: #8d9094}html{box-sizing:border-box;font-size:100%}*,*:before,*:after{box-sizing:border-box}body{font-family:Inter,sans-serif;font-size:16px}input,button,select,textarea,optgroup,option{font-weight:inherit;font-style:inherit;color:inherit}[data-simplebar] .simplebar-track.simplebar-vertical{width:14px;background:transparent}[data-simplebar] .simplebar-scrollbar:before{left:50%;transform:translate(-50%);width:4px;border-radius:3px;background:var(--color-dark-900)}[data-simplebar] .simplebar-scrollbar:hover:before{background:var(--color-light-900)}[data-simplebar] .simplebar-scrollbar.simplebar-visible:before{opacity:1}._wrapper_8euq6_1{position:relative}._inputContainer_8euq6_5{display:flex;flex-direction:column;min-width:280px}._label_8euq6_11 span{color:var(--color-light-900)}._inputWrapper_8euq6_15{cursor:pointer;position:relative;display:flex;align-items:center}._trigger_8euq6_22{all:unset;width:100%;padding:6px 12px;border:1px solid var(--color-dark-100);border-radius:2px;font-size:16px;font-weight:400;line-height:150%;color:var(--color-light-100)}._icon_8euq6_36{pointer-events:none;position:absolute;right:12px;color:var(--color-light-100)}._icon_8euq6_36._placeholder_8euq6_43{color:var(--color-light-900)}._clearButton_8euq6_47{all:unset;cursor:pointer;position:absolute;right:40px;display:flex;align-items:center;justify-content:center;padding:4px;border-radius:2px;pointer-events:none;opacity:0;transition:background-color .2s ease,opacity .2s ease}._clearButton_8euq6_47:hover{background-color:var(--color-dark-300)}._clearButton_8euq6_47:focus-visible{outline:2px solid var(--color-accent-700);outline-offset:2px;pointer-events:auto;opacity:1}._inputWrapper_8euq6_15:hover ._clearButton_8euq6_47{pointer-events:auto;opacity:1}._clearIcon_8euq6_87{pointer-events:none;width:16px;height:16px;color:var(--color-light-100)}._trigger_8euq6_22:disabled{border-color:var(--color-dark-100);color:var(--color-dark-100)}._disabledLabel_8euq6_99 span{color:var(--color-dark-100)}._trigger_8euq6_22:focus-visible:not(:disabled){outline:2px solid var(--color-accent-700)}._inputWrapper_8euq6_15:has(._trigger_8euq6_22:disabled) ._icon_8euq6_36,._inputWrapper_8euq6_15:has(._trigger_8euq6_22:disabled) ._trigger_8euq6_22::placeholder{color:var(--color-dark-100)}._inputWrapper_8euq6_15:has(._trigger_8euq6_22:disabled) ._icon_8euq6_36,._inputWrapper_8euq6_15:has(._trigger_8euq6_22:disabled) ._trigger_8euq6_22{cursor:not-allowed}._inputWrapper_8euq6_15:has(._trigger_8euq6_22:focus-visible) ._icon_8euq6_36{color:var(--color-light-100)}._error_8euq6_121{color:var(--color-danger-500)}._trigger_8euq6_22._error_8euq6_121{border-color:var(--color-danger-500)}._inputWrapper_8euq6_15:has(._trigger_8euq6_22._error_8euq6_121) ._icon_8euq6_36,._inputWrapper_8euq6_15:has(._trigger_8euq6_22._error_8euq6_121) ._trigger_8euq6_22::placeholder{color:var(--color-danger-500)}._inputWrapper_8euq6_15:has(._trigger_8euq6_22:hover:not(:disabled,._error_8euq6_121)) ._icon_8euq6_36,._inputWrapper_8euq6_15:has(._trigger_8euq6_22:hover:not(:disabled,._error_8euq6_121)){color:var(--color-light-100)}._calendar_8euq6_139{pointer-events:none;position:absolute;z-index:1000;top:calc(100% + 8px);left:0;transform:translateY(-8px);width:300px;padding:16px 24px;border:1px solid var(--color-dark-100);border-radius:2px;opacity:0;background:var(--color-dark-500);transition:all .2s ease}._calendar_8euq6_139._open_8euq6_159{pointer-events:auto;transform:translateY(0);opacity:1}._monthsCaption_8euq6_165{display:flex;align-items:center;justify-content:center}._navButtonPrevious_8euq6_171,._navButtonNext_8euq6_172{all:unset;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;position:absolute;background-color:var(--color-dark-100)}._navButtonPrevious_8euq6_171{left:24px}._navButtonNext_8euq6_172{right:24px}._navIcon_8euq6_192{width:20px;height:20px;fill:var(--color-light-100)}._monthGrid_8euq6_198{table-layout:fixed;border-spacing:0 10px;width:100%}._dropdowns_8euq6_204{width:150px}._weekday_8euq6_208{width:36px;padding:6px;font-size:16px;font-weight:400;line-height:150%;color:var(--color-light-900);text-align:center}._day_8euq6_219{width:36px;height:36px;padding:0;text-align:center}._dayButton_8euq6_226{all:unset;cursor:pointer;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:16px;font-weight:400;line-height:150%;text-align:center}._dayButton_8euq6_226:hover{border-radius:50%;background-color:var(--color-accent-700)}._day_8euq6_219 ._dayButton_8euq6_226{color:var(--color-light-100)}._dayOutside_8euq6_253 ._dayButton_8euq6_226{color:var(--color-light-900)}._dayToday_8euq6_257 ._dayButton_8euq6_226{font-weight:700;color:var(--color-accent-500)}._daySelected_8euq6_262 ._dayButton_8euq6_226:hover,._dayRangeStart_8euq6_263 ._dayButton_8euq6_226:hover,._dayRangeEnd_8euq6_264 ._dayButton_8euq6_226:hover,._dayRangeMiddle_8euq6_265 ._dayButton_8euq6_226:hover{border-radius:inherit;background-color:inherit}._monthGrid_8euq6_198 tr ._day_8euq6_219:nth-child(6) ._dayButton_8euq6_226,._monthGrid_8euq6_198 tr ._day_8euq6_219:nth-child(7) ._dayButton_8euq6_226{color:var(--color-danger-300)}._dayRangeStart_8euq6_263{border-radius:50% 0 0 50%}._dayRangeStart_8euq6_263._dayRangeEnd_8euq6_264{border-radius:50%}._dayRangeEnd_8euq6_264{border-radius:0 50% 50% 0}._dayRangeStart_8euq6_263,._dayRangeEnd_8euq6_264,._dayRangeMiddle_8euq6_265,._daySelected_8euq6_262{background-color:var(--color-accent-900)}._daySelected_8euq6_262:not(._dayRangeStart_8euq6_263,._dayRangeEnd_8euq6_264,._dayRangeMiddle_8euq6_265){border-radius:50%}[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{inset:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}._container_sn15j_1{display:flex;flex-direction:column;width:100%}._label_sn15j_7{font-size:14px;font-weight:400;line-height:171%;color:var(--color-light-900)}._container_sn15j_1:has(._trigger_sn15j_14:disabled) ._label_sn15j_7{color:var(--color-dark-100)}._select_sn15j_18{position:relative;width:100%}._trigger_sn15j_14{all:unset;cursor:pointer;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;width:100%;height:36px;padding:8px 12px;border:1px solid var(--color-light-900);border-radius:2px;font-size:16px;line-height:150%;color:var(--color-light-100);background-color:transparent;transition:color .2s,background-color .2s}._triggerOpen_sn15j_50{border-color:var(--color-light-100);border-radius:2px 2px 0 0;background-color:var(--color-dark-300)}._trigger_sn15j_14:disabled{cursor:not-allowed;border-color:var(--color-dark-100);color:var(--color-dark-100)}._trigger_sn15j_14:focus-visible:not(:disabled){padding:7px 11px;border:2px solid var(--color-accent-500)}._trigger_sn15j_14:hover:not(:disabled,._triggerOpen_sn15j_50){color:var(--color-light-900)}._placeholder_sn15j_71{color:var(--color-light-900)}._selectedContent_sn15j_75{overflow:hidden;display:flex;gap:8px;align-items:center;text-overflow:ellipsis;white-space:nowrap}._optionIcon_sn15j_85{display:inline-flex;flex-shrink:0;align-items:center}._arrow_sn15j_91{display:inline-flex;margin-left:24px;color:var(--color-light-100);transition:transform .4s}._trigger_sn15j_14:disabled ._arrow_sn15j_91{color:var(--color-dark-100)}._trigger_sn15j_14:disabled ._placeholder_sn15j_71{color:var(--color-dark-100)}._arrow_sn15j_91._open_sn15j_106{transform:rotate(180deg)}._dropdown_sn15j_110{position:absolute;z-index:1000;top:100%;left:0;box-sizing:border-box;width:100%;border:1px solid var(--color-light-100);border-top:none;border-radius:0 0 2px 2px;background-color:var(--color-dark-300);box-shadow:0 4px 8px #0003}._dropdown_sn15j_110 .simplebar-scrollbar:before{background:var(--color-light-900)}._searchContainer_sn15j_131{position:sticky;z-index:1;top:0;padding:8px;background:var(--color-dark-300)}._searchInput_sn15j_141{box-sizing:border-box;width:100%;height:32px;padding:6px 10px;border:1px solid var(--color-dark-100);border-radius:2px;font-size:14px;line-height:143%;color:var(--color-light-100);background:var(--color-dark-500)}._searchInput_sn15j_141::placeholder{color:var(--color-light-900)}._searchInput_sn15j_141:focus-visible{border-color:var(--color-accent-500);outline:none}._option_sn15j_85{all:unset;cursor:pointer;display:flex;gap:8px;align-items:center;box-sizing:border-box;width:100%;padding:7px 12px;font-size:16px;font-weight:400;line-height:150%;color:var(--color-light-100)}._option_sn15j_85:hover{color:var(--color-accent-500);background-color:var(--color-dark-100);transition:color .12s ease-out,background-color .16s cubic-bezier(.2,0,0,1)}._option_sn15j_85._selected_sn15j_75{color:var(--color-accent-500)}._option_sn15j_85:focus-visible{background-color:var(--color-dark-100);outline:2px solid var(--color-accent-500);outline-offset:-2px}._noOptions_sn15j_202{margin:0;padding:10px 12px;font-size:14px;line-height:143%;color:var(--color-light-900)}._content_1bas8_1{z-index:1000;min-width:161px;padding:8px 0;border:1px solid var(--color-dark-100);border-radius:2px;background-color:var(--color-dark-500);box-shadow:0 4px 8px #0003;animation-duration:.2s;animation-timing-function:cubic-bezier(.16,1,.3,1)}._content_1bas8_1[data-state=open]{animation-name:_slide-down-and-fade_1bas8_1}._content_1bas8_1[data-state=closed]{animation-name:_slide-up-and-fade_1bas8_1}._item_1bas8_24{all:unset;cursor:pointer;user-select:none;display:flex;gap:12px;align-items:center;box-sizing:border-box;padding:8px 12px;font-size:14px;font-weight:400;line-height:171%;color:var(--color-light-100);outline:none}._item_1bas8_24[data-disabled]{cursor:not-allowed;color:var(--color-dark-100)}._item_1bas8_24[data-highlighted]:not([data-disabled]){color:var(--color-accent-500);background-color:var(--color-dark-100);outline:none}._icon_1bas8_56{display:inline-flex;flex-shrink:0;align-items:center}._label_1bas8_62{flex:1}@keyframes _slide-down-and-fade_1bas8_1{0%{transform:translateY(-4px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slide-up-and-fade_1bas8_1{0%{transform:translateY(0);opacity:1}to{transform:translateY(-4px);opacity:0}}._wrapper_gp2gj_1{display:flex;flex-direction:column;width:100%}._label_gp2gj_7{font-size:14px;font-weight:400;line-height:171%;color:var(--color-light-900)}._label_gp2gj_7._disabled_gp2gj_14{color:var(--color-dark-100)}._wrapper_gp2gj_1:has(._input_gp2gj_18:disabled) ._label_gp2gj_7{color:var(--color-dark-100)}._inputContainer_gp2gj_22{position:relative;display:flex;align-items:center;border:1px solid var(--color-dark-100);border-radius:2px;background-color:transparent}._input_gp2gj_18{all:unset;box-sizing:border-box;width:100%;padding:10px 14px;font-size:16px;font-weight:400;line-height:150%;color:var(--color-light-900)}._inputContainer_gp2gj_22._error_gp2gj_47{border-color:var(--color-danger-500)}._inputContainer_gp2gj_22._disabled_gp2gj_14{border:1px solid var(--color-dark-100)}._inputContainer_gp2gj_22:has(._input_gp2gj_18:disabled){border:1px solid var(--color-dark-100)}._inputContainer_gp2gj_22._disabled_gp2gj_14 ._input_gp2gj_18{cursor:not-allowed;color:var(--color-dark-100)}._inputContainer_gp2gj_22._withStartIcon_gp2gj_64 ._input_gp2gj_18{padding-left:40px}._inputContainer_gp2gj_22._withEndIcon_gp2gj_68 ._input_gp2gj_18{padding-right:40px}._inputContainer_gp2gj_22:has(._input_gp2gj_18:disabled) ._input_gp2gj_18{cursor:not-allowed;color:var(--color-dark-100)}._inputContainer_gp2gj_22:has(._input_gp2gj_18:focus-visible:not(:disabled)) ._input_gp2gj_18{color:var(--color-light-100)}._inputContainer_gp2gj_22:has(._input_gp2gj_18:focus-visible:not(:disabled)){border-color:var(--color-light-100)}._startIcon_gp2gj_85,._endIcon_gp2gj_86{position:absolute;display:flex;align-items:center;justify-content:center}._startIcon_gp2gj_85{left:11px;color:var(--color-light-900)}._inputContainer_gp2gj_22:focus-within ._startIcon_gp2gj_85{color:var(--color-light-100)}._inputContainer_gp2gj_22._disabled_gp2gj_14 ._startIcon_gp2gj_85{color:var(--color-dark-100)}._inputContainer_gp2gj_22:has(._input_gp2gj_18:disabled) ._startIcon_gp2gj_85{color:var(--color-dark-100)}._endIcon_gp2gj_86{cursor:pointer;right:11px;padding:0;border:none;color:var(--color-light-100);background:none}._endIcon_gp2gj_86:disabled{cursor:not-allowed;color:var(--color-dark-100)}._inputContainer_gp2gj_22:focus-within ._endIcon_gp2gj_86{color:var(--color-light-100)}._inputContainer_gp2gj_22:has(._input_gp2gj_18:disabled) ._endIcon_gp2gj_86{cursor:not-allowed;color:var(--color-dark-100)}._errorMessage_gp2gj_137{font-size:14px;font-weight:400;line-height:171%;color:var(--color-danger-500)}._required_gp2gj_144{color:var(--color-danger-500)}._overlay_17k3a_1{position:fixed;z-index:1000;inset:0;display:flex;align-items:center;justify-content:center;background-color:#0009;animation:_fade-in_17k3a_1 .2s ease}._modal_17k3a_15{display:flex;flex-direction:column;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);border:1px solid var(--color-dark-100);border-radius:2px;background-color:var(--color-dark-300);animation:_modal-fade-in_17k3a_1 .2s ease}._header_17k3a_29{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 24px 11px;border-bottom:1px solid var(--color-dark-100)}._title_17k3a_39{flex:1;min-width:0;margin:0;font-size:20px;font-weight:700;line-height:36px;color:var(--color-light-100);overflow-wrap:anywhere}._close_17k3a_52{cursor:pointer;display:flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;border:none;color:var(--color-light-100);background:none;transition:transform .15s ease,color .15s ease}._close_17k3a_52:hover,._close_17k3a_52:focus-visible{transform:scale(1.1);color:var(--color-light-900);outline:none}._body_17k3a_79{overflow:auto;padding:24px}@keyframes _modal-fade-in_17k3a_1{0%{transform:scale(.96);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _fade-in_17k3a_1{0%{opacity:0}to{opacity:1}}._root_ggtcs_1{position:relative;overflow:hidden;display:flex;flex-direction:column;width:100%;aspect-ratio:16 / 9;min-height:200px;border-radius:12px;background-color:var(--color-dark-500)}._trackWrapper_ggtcs_16{overflow:hidden;display:flex;flex:1;width:100%;min-height:0}._track_ggtcs_16{display:flex;width:100%;height:100%;transition:transform .3s ease}._slide_ggtcs_32{display:flex;flex:0 0 100%;align-items:center;justify-content:center;width:100%;min-width:0;height:100%;min-height:0}._slide_ggtcs_32 img{display:block;width:100%;height:auto;vertical-align:middle;object-fit:cover}._arrow_ggtcs_56{cursor:pointer;position:absolute;z-index:2;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:none;border-radius:50%;color:var(--color-light-100);background-color:var( --carousel-arrow-bg, color-mix(in srgb, var(--color-dark-900) 70%, transparent) );transition:background-color .2s,opacity .2s}._arrow_ggtcs_56:hover{background-color:var( --carousel-arrow-bg-hover, color-mix(in srgb, var(--color-dark-900) 85%, transparent) )}._arrow_ggtcs_56:focus-visible{outline:2px solid var(--color-accent-500);outline-offset:2px}._arrowPrev_ggtcs_98{left:12px}._arrowNext_ggtcs_102{right:12px}._dots_ggtcs_107{position:absolute;z-index:2;bottom:16px;left:50%;transform:translate(-50%);display:flex;gap:8px}._dot_ggtcs_107{cursor:pointer;width:8px;height:8px;padding:0;border:none;border-radius:50%;background-color:var(--carousel-dot-inactive, var(--color-dark-100));transition:background-color .2s,transform .2s}._dot_ggtcs_107:hover{background-color:var(--carousel-dot-inactive-hover, var(--color-dark-300))}._dot_ggtcs_107:focus-visible{outline:2px solid var(--color-accent-500);outline-offset:2px}._dotActive_ggtcs_143,._dotActive_ggtcs_143:hover{background-color:var(--carousel-dot-active, var(--color-accent-500))}
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap";._alert_5jfpm_1{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;width:100%;max-width:387px;padding:12px 24px;border-radius:2px;color:var(--color-light-100)}._content_5jfpm_15{display:flex;gap:5px;align-items:center}._error_5jfpm_22{border:1px solid var(--color-danger-500);background-color:var(--color-danger-900)}._success_5jfpm_28{border:1px solid var(--color-success-500);background-color:var(--color-success-900)}._closeButton_5jfpm_33{cursor:pointer;border:none;background:transparent}._message_5jfpm_39,._title_5jfpm_40{font-size:16px;font-weight:400;line-height:150%}._title_5jfpm_40{font-weight:700}._toastEnter_5jfpm_50{animation:_fade-in_5jfpm_1 .2s ease-out}._toastExit_5jfpm_54{animation:_fade-out_5jfpm_1 .2s ease-in forwards}@keyframes _fade-in_5jfpm_1{0%{opacity:0}to{opacity:1}}@keyframes _fade-out_5jfpm_1{0%{opacity:1}to{opacity:0}}._button_19cd4_1{all:unset;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:6px 24px;border-radius:2px;font-weight:600;line-height:150%;transition:color .12s ease-out,background-color .18s cubic-bezier(.2,0,0,1)}._button_19cd4_1:disabled{cursor:not-allowed}._primary_19cd4_26{color:var(--color-light-100);background-color:var(--color-accent-500)}._primary_19cd4_26:active{color:var(--color-light-500);background-color:var(--color-accent-700)}._primary_19cd4_26:focus-visible{outline:2px solid var(--color-accent-700)}._primary_19cd4_26:disabled{color:var(--color-light-900);background-color:var(--color-accent-900)}._primary_19cd4_26:hover:not(:active,:focus-visible,:disabled){background-color:var(--color-accent-100)}._secondary_19cd4_49{color:var(--color-light-100);background-color:var(--color-dark-300)}._secondary_19cd4_49:active{color:var(--color-light-500);background-color:var(--color-dark-400)}._secondary_19cd4_49:focus-visible{outline:2px solid var(--color-accent-300)}._secondary_19cd4_49:disabled{color:var(--color-light-900);background-color:var(--color-dark-500)}._secondary_19cd4_49:hover:not(:active,:focus-visible,:disabled){background-color:var(--color-dark-100)}._outlined_19cd4_72{border:1px solid var(--color-accent-500);color:var(--color-accent-500);background-color:transparent}._outlined_19cd4_72:active{border-color:var(--color-accent-700);color:var(--color-accent-700)}._outlined_19cd4_72:focus-visible{border:2px solid var(--color-accent-700);color:var(--color-accent-700)}._outlined_19cd4_72:disabled{border-color:var(--color-accent-900);color:var(--color-accent-900)}._outlined_19cd4_72:hover:not(:active,:focus-visible,:disabled){border-color:var(--color-accent-100);color:var(--color-accent-100)}._text_19cd4_98{color:var(--color-accent-500)}._text_19cd4_98:active{color:var(--color-accent-700)}._text_19cd4_98:focus-visible{outline:2px solid var(--color-accent-700)}._text_19cd4_98:disabled{color:var(--color-accent-900)}._text_19cd4_98:hover:not(:active,:focus-visible,:disabled){color:var(--color-accent-100)}._icon_19cd4_118{display:inline-flex;align-items:center;margin-right:10px}._card_1ah7i_1{padding:16px;border:1px solid var(--color-dark-100);border-radius:2px;background-color:var(--color-dark-500)}._checkbox_1q28z_1{cursor:pointer;position:relative;display:inline-flex;gap:10px;align-items:center}._input_1q28z_11{position:absolute;opacity:0}._labelSpan_1q28z_16{font-size:14px;font-weight:400;line-height:171%;color:var(--color-light-100)}._control_1q28z_23{position:relative;display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:2px solid var(--color-light-500);border-radius:4px}._input_1q28z_11:checked+._control_1q28z_23{background-color:var(--color-light-100)}._control_1q28z_23:before{content:"";position:absolute;z-index:-1;width:36px;height:36px;border-radius:50%;background-color:transparent;transition:background-color .15s ease}._control_1q28z_23:hover:before{background-color:var(--color-dark-100)}._input_1q28z_11:focus-visible+._control_1q28z_23:before{background-color:var(--color-dark-100)}._checkbox_1q28z_1:active ._control_1q28z_23:before{background-color:var(--color-dark-100)}._control_1q28z_23:after{content:"";position:absolute;top:50%;left:50%;transform-origin:left bottom;transform:translate(calc(-50% + 4px),-40%) rotate(-45deg);width:10px;height:6px;border-bottom:2px solid transparent;border-left:2px solid transparent}._input_1q28z_11:checked+._control_1q28z_23:after{border-color:var(--color-dark-900)}._input_1q28z_11:disabled+._control_1q28z_23{border-color:var(--color-dark-100)}._input_1q28z_11:disabled+._control_1q28z_23:before{background-color:transparent}._input_1q28z_11:disabled~._labelSpan_1q28z_16,._input_1q28z_11:disabled+._control_1q28z_23{cursor:not-allowed}._input_1q28z_11:disabled:checked+._control_1q28z_23{background-color:var(--color-dark-100)}._input_1q28z_11:disabled:checked+._control_1q28z_23:after{border-color:var(--color-light-700)}._input_1q28z_11:disabled~._labelSpan_1q28z_16{color:var(--color-light-900)}._checkbox_1q28z_1:has(._input_1q28z_11:disabled){cursor:not-allowed}._typography_18u05_1{display:inline-flex;align-items:center;margin:0;color:var(--color-light-100)}._icon_18u05_8{display:inline-flex;align-items:center;margin-right:8px}._large_18u05_14{font-size:26px;font-weight:600;line-height:138%}._h1_18u05_20{font-size:20px;font-weight:700;line-height:180%}._h2_18u05_26{font-size:18px;font-weight:700;line-height:133%}._h3_18u05_32{font-size:16px;font-weight:600;line-height:150%}._text-16_18u05_38{font-size:16px;font-weight:400;line-height:150%}._text-16-bold_18u05_44{font-size:16px;font-weight:700;line-height:150%}._text-14_18u05_50{font-size:14px;font-weight:400;line-height:171%}._text-14-bold_18u05_56{font-size:14px;font-weight:700;line-height:171%}._text-14-medium_18u05_62{font-size:14px;font-weight:500;line-height:171%}._small_18u05_68{font-size:12px;font-weight:400;line-height:133%}._small-semibold_18u05_74{font-size:12px;font-weight:600;line-height:133%}._link_18u05_80{font-size:14px;font-weight:400;line-height:171%;color:var(--color-accent-500);text-decoration:underline;text-decoration-skip-ink:none}._small-link_18u05_89{font-size:12px;font-weight:400;line-height:133%;color:var(--color-accent-500);text-decoration:underline;text-decoration-skip-ink:none}._label_ndvr9_1{margin-bottom:4px}._required_ndvr9_5{margin-left:4px;color:var(--color-danger-500)}._srOnly_ndvr9_10{position:absolute;overflow:hidden;width:1px;height:1px;margin:-1px;padding:0;border:0;white-space:nowrap}._radio_10hqy_1{cursor:pointer;position:relative;display:inline-flex;gap:10px;align-items:center}._input_10hqy_12{position:absolute;opacity:0}._labelSpan_10hqy_18{font-size:14px;font-weight:400;line-height:171%;color:var(--color-light-100)}._control_10hqy_26{position:relative;display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:2px solid var(--color-light-100);border-radius:50%}._control_10hqy_26:before{content:"";position:absolute;z-index:-1;width:36px;height:36px;border-radius:50%;background-color:transparent;transition:background-color .2s ease}._control_10hqy_26:hover:before{background-color:var(--color-dark-300)}._input_10hqy_12:focus-visible+._control_10hqy_26:before{background-color:var(--color-dark-500)}._radio_10hqy_1:active ._control_10hqy_26:before{background-color:var(--color-dark-100)}._control_10hqy_26:after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:10px;height:10px;border-radius:50%;background-color:transparent}._input_10hqy_12:checked+._control_10hqy_26:after{background-color:var(--color-light-100)}._input_10hqy_12:disabled+._control_10hqy_26{border-color:var(--color-dark-100)}._input_10hqy_12:disabled+._control_10hqy_26:before{background-color:transparent}._input_10hqy_12:disabled:checked+._control_10hqy_26:after{background-color:var(--color-dark-100)}._input_10hqy_12:disabled~._labelSpan_10hqy_18{color:var(--color-light-900)}._input_10hqy_12:disabled~._labelSpan_10hqy_18,._input_10hqy_12:disabled+._control_10hqy_26,._input_10hqy_12:disabled~._control_10hqy_26{cursor:not-allowed}._radio_10hqy_1:has(._input_10hqy_12:disabled){cursor:not-allowed}._tab_78cv0_1{all:unset;cursor:pointer;width:100%;padding:6px 23px 4px;border-bottom:2px solid var(--color-dark-100);border-radius:0;font-size:16px;font-weight:600;line-height:150%;color:var(--color-dark-100);text-align:center;transition-duration:.2s;transition-property:background-color,color,border-color}._selected_78cv0_21{border-bottom-color:var(--color-accent-500);color:var(--color-accent-500)}._tab_78cv0_1:disabled{cursor:not-allowed;border-bottom-color:var(--color-dark-300);color:var(--color-dark-300)}._selected_78cv0_21:disabled{border-bottom-color:var(--color-accent-900);color:var(--color-accent-900)}._tab_78cv0_1:focus-visible{border-radius:2px;outline:2px solid var(--color-accent-700)}._tab_78cv0_1:active:not(:disabled){background-color:color-mix(in srgb,var(--color-accent-100) 15%,transparent)}._tab_78cv0_1:hover:not(:active,:focus-visible,:disabled){background-color:color-mix(in srgb,var(--color-accent-900) 15%,transparent)}._textareaWrapper_jdpdm_1{display:flex;flex-direction:column;width:100%}._label_jdpdm_7{font-size:14px;font-weight:400;line-height:171%;color:var(--color-light-900)}._label_jdpdm_7._disabled_jdpdm_14{color:var(--color-dark-100)}._textareaWrapper_jdpdm_1:has(._textarea_jdpdm_1:disabled) ._label_jdpdm_7{color:var(--color-dark-100)}._textarea_jdpdm_1{resize:none;box-sizing:border-box;width:100%;padding:10px 14px;border:1px solid var(--color-dark-100);border-radius:2px;font-size:16px;font-weight:400;line-height:150%;color:var(--color-light-900);background-color:transparent;outline:none}._textarea_jdpdm_1:disabled{cursor:not-allowed;color:var(--color-dark-100)}._textarea_jdpdm_1:focus-visible:not(:disabled){border:1px solid var(--color-light-100);color:var(--color-light-100)}._errorState_jdpdm_50,._errorState_jdpdm_50:focus-visible{border:1px solid var(--color-danger-500);color:var(--color-light-100)}._errorMessage_jdpdm_56{font-size:16px;font-weight:400;line-height:171%;color:var(--color-danger-500)}._required_jdpdm_63{color:var(--color-danger-500)}html{line-height:1.15;text-size-adjust:100%}body{margin:0;padding:0}main{display:block}h1{margin:.67em 0;font-size:2em}hr{overflow:visible;box-sizing:content-box;height:0}pre{font-family:monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace;font-size:1em}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{margin:0;font-family:inherit;font-size:100%;line-height:1.15}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{appearance:auto}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{display:table;box-sizing:border-box;max-width:100%;padding:0;color:inherit;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{appearance:none}::-webkit-file-upload-button{font:inherit;appearance:auto}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--color-accent-100: #73a5ff;--color-accent-300: #4c8dff;--color-accent-500: #397df6;--color-accent-700: #2f68cc;--color-accent-900: #234e99;--color-success-100: #80ffbf;--color-success-300: #22e584;--color-success-500: #14cc70;--color-success-700: #0f9954;--color-success-900: #0a6638;--color-danger-100: #ff8099;--color-danger-300: #f23d61;--color-danger-500: #cc1439;--color-danger-700: #990f2b;--color-danger-900: #660a1d;--color-warning-100: #ffd073;--color-warning-300: #e5ac39;--color-warning-500: #d99000;--color-warning-700: #960;--color-warning-900: #640;--color-dark-100: #4c4c4c;--color-dark-300: #333;--color-dark-400: #212121;--color-dark-500: #171717;--color-dark-700: #0d0d0d;--color-dark-900: #000;--color-light-100: #fff;--color-light-300: #f7fbff;--color-light-500: #edf3fa;--color-light-700: #d5dae0;--color-light-900: #8d9094}html{box-sizing:border-box;font-size:100%}*,*:before,*:after{box-sizing:border-box}body{font-family:Inter,sans-serif;font-size:16px}input,button,select,textarea,optgroup,option{font-weight:inherit;font-style:inherit;color:inherit}[data-simplebar] .simplebar-track.simplebar-vertical{width:14px;background:transparent}[data-simplebar] .simplebar-scrollbar:before{left:50%;transform:translate(-50%);width:4px;border-radius:3px;background:var(--color-dark-900)}[data-simplebar] .simplebar-scrollbar:hover:before{background:var(--color-light-900)}[data-simplebar] .simplebar-scrollbar.simplebar-visible:before{opacity:1}._wrapper_8euq6_1{position:relative}._inputContainer_8euq6_5{display:flex;flex-direction:column;min-width:280px}._label_8euq6_11 span{color:var(--color-light-900)}._inputWrapper_8euq6_15{cursor:pointer;position:relative;display:flex;align-items:center}._trigger_8euq6_22{all:unset;width:100%;padding:6px 12px;border:1px solid var(--color-dark-100);border-radius:2px;font-size:16px;font-weight:400;line-height:150%;color:var(--color-light-100)}._icon_8euq6_36{pointer-events:none;position:absolute;right:12px;color:var(--color-light-100)}._icon_8euq6_36._placeholder_8euq6_43{color:var(--color-light-900)}._clearButton_8euq6_47{all:unset;cursor:pointer;position:absolute;right:40px;display:flex;align-items:center;justify-content:center;padding:4px;border-radius:2px;pointer-events:none;opacity:0;transition:background-color .2s ease,opacity .2s ease}._clearButton_8euq6_47:hover{background-color:var(--color-dark-300)}._clearButton_8euq6_47:focus-visible{outline:2px solid var(--color-accent-700);outline-offset:2px;pointer-events:auto;opacity:1}._inputWrapper_8euq6_15:hover ._clearButton_8euq6_47{pointer-events:auto;opacity:1}._clearIcon_8euq6_87{pointer-events:none;width:16px;height:16px;color:var(--color-light-100)}._trigger_8euq6_22:disabled{border-color:var(--color-dark-100);color:var(--color-dark-100)}._disabledLabel_8euq6_99 span{color:var(--color-dark-100)}._trigger_8euq6_22:focus-visible:not(:disabled){outline:2px solid var(--color-accent-700)}._inputWrapper_8euq6_15:has(._trigger_8euq6_22:disabled) ._icon_8euq6_36,._inputWrapper_8euq6_15:has(._trigger_8euq6_22:disabled) ._trigger_8euq6_22::placeholder{color:var(--color-dark-100)}._inputWrapper_8euq6_15:has(._trigger_8euq6_22:disabled) ._icon_8euq6_36,._inputWrapper_8euq6_15:has(._trigger_8euq6_22:disabled) ._trigger_8euq6_22{cursor:not-allowed}._inputWrapper_8euq6_15:has(._trigger_8euq6_22:focus-visible) ._icon_8euq6_36{color:var(--color-light-100)}._error_8euq6_121{color:var(--color-danger-500)}._trigger_8euq6_22._error_8euq6_121{border-color:var(--color-danger-500)}._inputWrapper_8euq6_15:has(._trigger_8euq6_22._error_8euq6_121) ._icon_8euq6_36,._inputWrapper_8euq6_15:has(._trigger_8euq6_22._error_8euq6_121) ._trigger_8euq6_22::placeholder{color:var(--color-danger-500)}._inputWrapper_8euq6_15:has(._trigger_8euq6_22:hover:not(:disabled,._error_8euq6_121)) ._icon_8euq6_36,._inputWrapper_8euq6_15:has(._trigger_8euq6_22:hover:not(:disabled,._error_8euq6_121)){color:var(--color-light-100)}._calendar_8euq6_139{pointer-events:none;position:absolute;z-index:1000;top:calc(100% + 8px);left:0;transform:translateY(-8px);width:300px;padding:16px 24px;border:1px solid var(--color-dark-100);border-radius:2px;opacity:0;background:var(--color-dark-500);transition:all .2s ease}._calendar_8euq6_139._open_8euq6_159{pointer-events:auto;transform:translateY(0);opacity:1}._monthsCaption_8euq6_165{display:flex;align-items:center;justify-content:center}._navButtonPrevious_8euq6_171,._navButtonNext_8euq6_172{all:unset;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;position:absolute;background-color:var(--color-dark-100)}._navButtonPrevious_8euq6_171{left:24px}._navButtonNext_8euq6_172{right:24px}._navIcon_8euq6_192{width:20px;height:20px;fill:var(--color-light-100)}._monthGrid_8euq6_198{table-layout:fixed;border-spacing:0 10px;width:100%}._dropdowns_8euq6_204{width:150px}._weekday_8euq6_208{width:36px;padding:6px;font-size:16px;font-weight:400;line-height:150%;color:var(--color-light-900);text-align:center}._day_8euq6_219{width:36px;height:36px;padding:0;text-align:center}._dayButton_8euq6_226{all:unset;cursor:pointer;display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:16px;font-weight:400;line-height:150%;text-align:center}._dayButton_8euq6_226:hover{border-radius:50%;background-color:var(--color-accent-700)}._day_8euq6_219 ._dayButton_8euq6_226{color:var(--color-light-100)}._dayOutside_8euq6_253 ._dayButton_8euq6_226{color:var(--color-light-900)}._dayToday_8euq6_257 ._dayButton_8euq6_226{font-weight:700;color:var(--color-accent-500)}._daySelected_8euq6_262 ._dayButton_8euq6_226:hover,._dayRangeStart_8euq6_263 ._dayButton_8euq6_226:hover,._dayRangeEnd_8euq6_264 ._dayButton_8euq6_226:hover,._dayRangeMiddle_8euq6_265 ._dayButton_8euq6_226:hover{border-radius:inherit;background-color:inherit}._monthGrid_8euq6_198 tr ._day_8euq6_219:nth-child(6) ._dayButton_8euq6_226,._monthGrid_8euq6_198 tr ._day_8euq6_219:nth-child(7) ._dayButton_8euq6_226{color:var(--color-danger-300)}._dayRangeStart_8euq6_263{border-radius:50% 0 0 50%}._dayRangeStart_8euq6_263._dayRangeEnd_8euq6_264{border-radius:50%}._dayRangeEnd_8euq6_264{border-radius:0 50% 50% 0}._dayRangeStart_8euq6_263,._dayRangeEnd_8euq6_264,._dayRangeMiddle_8euq6_265,._daySelected_8euq6_262{background-color:var(--color-accent-900)}._daySelected_8euq6_262:not(._dayRangeStart_8euq6_263,._dayRangeEnd_8euq6_264,._dayRangeMiddle_8euq6_265){border-radius:50%}[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;inset:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;inset:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{inset:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{inset:0 auto 0 0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}._container_sn15j_1{display:flex;flex-direction:column;width:100%}._label_sn15j_7{font-size:14px;font-weight:400;line-height:171%;color:var(--color-light-900)}._container_sn15j_1:has(._trigger_sn15j_14:disabled) ._label_sn15j_7{color:var(--color-dark-100)}._select_sn15j_18{position:relative;width:100%}._trigger_sn15j_14{all:unset;cursor:pointer;display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;width:100%;height:36px;padding:8px 12px;border:1px solid var(--color-light-900);border-radius:2px;font-size:16px;line-height:150%;color:var(--color-light-100);background-color:transparent;transition:color .2s,background-color .2s}._triggerOpen_sn15j_50{border-color:var(--color-light-100);border-radius:2px 2px 0 0;background-color:var(--color-dark-300)}._trigger_sn15j_14:disabled{cursor:not-allowed;border-color:var(--color-dark-100);color:var(--color-dark-100)}._trigger_sn15j_14:focus-visible:not(:disabled){padding:7px 11px;border:2px solid var(--color-accent-500)}._trigger_sn15j_14:hover:not(:disabled,._triggerOpen_sn15j_50){color:var(--color-light-900)}._placeholder_sn15j_71{color:var(--color-light-900)}._selectedContent_sn15j_75{overflow:hidden;display:flex;gap:8px;align-items:center;text-overflow:ellipsis;white-space:nowrap}._optionIcon_sn15j_85{display:inline-flex;flex-shrink:0;align-items:center}._arrow_sn15j_91{display:inline-flex;margin-left:24px;color:var(--color-light-100);transition:transform .4s}._trigger_sn15j_14:disabled ._arrow_sn15j_91{color:var(--color-dark-100)}._trigger_sn15j_14:disabled ._placeholder_sn15j_71{color:var(--color-dark-100)}._arrow_sn15j_91._open_sn15j_106{transform:rotate(180deg)}._dropdown_sn15j_110{position:absolute;z-index:1000;top:100%;left:0;box-sizing:border-box;width:100%;border:1px solid var(--color-light-100);border-top:none;border-radius:0 0 2px 2px;background-color:var(--color-dark-300);box-shadow:0 4px 8px #0003}._dropdown_sn15j_110 .simplebar-scrollbar:before{background:var(--color-light-900)}._searchContainer_sn15j_131{position:sticky;z-index:1;top:0;padding:8px;background:var(--color-dark-300)}._searchInput_sn15j_141{box-sizing:border-box;width:100%;height:32px;padding:6px 10px;border:1px solid var(--color-dark-100);border-radius:2px;font-size:14px;line-height:143%;color:var(--color-light-100);background:var(--color-dark-500)}._searchInput_sn15j_141::placeholder{color:var(--color-light-900)}._searchInput_sn15j_141:focus-visible{border-color:var(--color-accent-500);outline:none}._option_sn15j_85{all:unset;cursor:pointer;display:flex;gap:8px;align-items:center;box-sizing:border-box;width:100%;padding:7px 12px;font-size:16px;font-weight:400;line-height:150%;color:var(--color-light-100)}._option_sn15j_85:hover{color:var(--color-accent-500);background-color:var(--color-dark-100);transition:color .12s ease-out,background-color .16s cubic-bezier(.2,0,0,1)}._option_sn15j_85._selected_sn15j_75{color:var(--color-accent-500)}._option_sn15j_85:focus-visible{background-color:var(--color-dark-100);outline:2px solid var(--color-accent-500);outline-offset:-2px}._noOptions_sn15j_202{margin:0;padding:10px 12px;font-size:14px;line-height:143%;color:var(--color-light-900)}._content_1bas8_1{z-index:1000;min-width:161px;padding:8px 0;border:1px solid var(--color-dark-100);border-radius:2px;background-color:var(--color-dark-500);box-shadow:0 4px 8px #0003;animation-duration:.2s;animation-timing-function:cubic-bezier(.16,1,.3,1)}._content_1bas8_1[data-state=open]{animation-name:_slide-down-and-fade_1bas8_1}._content_1bas8_1[data-state=closed]{animation-name:_slide-up-and-fade_1bas8_1}._item_1bas8_24{all:unset;cursor:pointer;user-select:none;display:flex;gap:12px;align-items:center;box-sizing:border-box;padding:8px 12px;font-size:14px;font-weight:400;line-height:171%;color:var(--color-light-100);outline:none}._item_1bas8_24[data-disabled]{cursor:not-allowed;color:var(--color-dark-100)}._item_1bas8_24[data-highlighted]:not([data-disabled]){color:var(--color-accent-500);background-color:var(--color-dark-100);outline:none}._icon_1bas8_56{display:inline-flex;flex-shrink:0;align-items:center}._label_1bas8_62{flex:1}@keyframes _slide-down-and-fade_1bas8_1{0%{transform:translateY(-4px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slide-up-and-fade_1bas8_1{0%{transform:translateY(0);opacity:1}to{transform:translateY(-4px);opacity:0}}._wrapper_gp2gj_1{display:flex;flex-direction:column;width:100%}._label_gp2gj_7{font-size:14px;font-weight:400;line-height:171%;color:var(--color-light-900)}._label_gp2gj_7._disabled_gp2gj_14{color:var(--color-dark-100)}._wrapper_gp2gj_1:has(._input_gp2gj_18:disabled) ._label_gp2gj_7{color:var(--color-dark-100)}._inputContainer_gp2gj_22{position:relative;display:flex;align-items:center;border:1px solid var(--color-dark-100);border-radius:2px;background-color:transparent}._input_gp2gj_18{all:unset;box-sizing:border-box;width:100%;padding:10px 14px;font-size:16px;font-weight:400;line-height:150%;color:var(--color-light-900)}._inputContainer_gp2gj_22._error_gp2gj_47{border-color:var(--color-danger-500)}._inputContainer_gp2gj_22._disabled_gp2gj_14{border:1px solid var(--color-dark-100)}._inputContainer_gp2gj_22:has(._input_gp2gj_18:disabled){border:1px solid var(--color-dark-100)}._inputContainer_gp2gj_22._disabled_gp2gj_14 ._input_gp2gj_18{cursor:not-allowed;color:var(--color-dark-100)}._inputContainer_gp2gj_22._withStartIcon_gp2gj_64 ._input_gp2gj_18{padding-left:40px}._inputContainer_gp2gj_22._withEndIcon_gp2gj_68 ._input_gp2gj_18{padding-right:40px}._inputContainer_gp2gj_22:has(._input_gp2gj_18:disabled) ._input_gp2gj_18{cursor:not-allowed;color:var(--color-dark-100)}._inputContainer_gp2gj_22:has(._input_gp2gj_18:focus-visible:not(:disabled)) ._input_gp2gj_18{color:var(--color-light-100)}._inputContainer_gp2gj_22:has(._input_gp2gj_18:focus-visible:not(:disabled)){border-color:var(--color-light-100)}._startIcon_gp2gj_85,._endIcon_gp2gj_86{position:absolute;display:flex;align-items:center;justify-content:center}._startIcon_gp2gj_85{left:11px;color:var(--color-light-900)}._inputContainer_gp2gj_22:focus-within ._startIcon_gp2gj_85{color:var(--color-light-100)}._inputContainer_gp2gj_22._disabled_gp2gj_14 ._startIcon_gp2gj_85{color:var(--color-dark-100)}._inputContainer_gp2gj_22:has(._input_gp2gj_18:disabled) ._startIcon_gp2gj_85{color:var(--color-dark-100)}._endIcon_gp2gj_86{cursor:pointer;right:11px;padding:0;border:none;color:var(--color-light-100);background:none}._endIcon_gp2gj_86:disabled{cursor:not-allowed;color:var(--color-dark-100)}._inputContainer_gp2gj_22:focus-within ._endIcon_gp2gj_86{color:var(--color-light-100)}._inputContainer_gp2gj_22:has(._input_gp2gj_18:disabled) ._endIcon_gp2gj_86{cursor:not-allowed;color:var(--color-dark-100)}._errorMessage_gp2gj_137{font-size:14px;font-weight:400;line-height:171%;color:var(--color-danger-500)}._required_gp2gj_144{color:var(--color-danger-500)}._overlay_17k3a_1{position:fixed;z-index:1000;inset:0;display:flex;align-items:center;justify-content:center;background-color:#0009;animation:_fade-in_17k3a_1 .2s ease}._modal_17k3a_15{display:flex;flex-direction:column;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);border:1px solid var(--color-dark-100);border-radius:2px;background-color:var(--color-dark-300);animation:_modal-fade-in_17k3a_1 .2s ease}._header_17k3a_29{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 24px 11px;border-bottom:1px solid var(--color-dark-100)}._title_17k3a_39{flex:1;min-width:0;margin:0;font-size:20px;font-weight:700;line-height:36px;color:var(--color-light-100);overflow-wrap:anywhere}._close_17k3a_52{cursor:pointer;display:flex;flex-shrink:0;align-items:center;justify-content:center;padding:0;border:none;color:var(--color-light-100);background:none;transition:transform .15s ease,color .15s ease}._close_17k3a_52:hover,._close_17k3a_52:focus-visible{transform:scale(1.1);color:var(--color-light-900);outline:none}._body_17k3a_79{overflow:auto;padding:24px}@keyframes _modal-fade-in_17k3a_1{0%{transform:scale(.96);opacity:0}to{transform:scale(1);opacity:1}}@keyframes _fade-in_17k3a_1{0%{opacity:0}to{opacity:1}}._root_w6me9_1{position:relative;overflow:hidden;display:flex;flex-direction:column;width:100%;aspect-ratio:16 / 9;min-height:200px;border-radius:2px;background-color:var(--color-dark-500)}._trackWrapper_w6me9_16{overflow:hidden;display:flex;flex:1;width:100%;min-height:0}._track_w6me9_16{display:flex;width:100%;height:100%;transition:transform .3s ease}._slide_w6me9_32{display:flex;flex:0 0 100%;align-items:center;justify-content:center;width:100%;min-width:0;height:100%;min-height:0}._slide_w6me9_32 img{display:block;width:100%;height:auto;object-fit:cover}._arrow_w6me9_53{cursor:pointer;position:absolute;z-index:2;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:none;border-radius:50%;color:var(--color-light-100);background-color:color-mix(in srgb,var(--color-dark-100) 30%,transparent);transition:background-color .2s,opacity .2s}._arrow_w6me9_53:hover{background-color:color-mix(in srgb,var(--color-dark-100) 85%,transparent)}._arrow_w6me9_53:focus-visible{outline:2px solid var(--color-accent-500);outline-offset:2px}._arrowPrev_w6me9_89{left:12px}._arrowNext_w6me9_93{right:12px}._dots_w6me9_97{position:absolute;z-index:2;bottom:16px;left:50%;transform:translate(-50%);display:flex;gap:8px}._dot_w6me9_97{cursor:pointer;width:8px;height:8px;padding:0;border:none;border-radius:50%;background-color:var(--color-light-100);transition:background-color .2s,transform .2s}._dot_w6me9_97:hover{background-color:var(--color-light-300)}._dot_w6me9_97:focus-visible{outline:2px solid var(--color-accent-500);outline-offset:2px}._dotActive_w6me9_133,._dotActive_w6me9_133:hover{background-color:var(--color-accent-500)}
|