@inkorange/space-ui 1.0.0
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/LICENSE +21 -0
- package/dist/components/AlertDialog.d.ts +8 -0
- package/dist/components/Badge.d.ts +42 -0
- package/dist/components/Box.d.ts +15 -0
- package/dist/components/Button.d.ts +20 -0
- package/dist/components/Card.d.ts +13 -0
- package/dist/components/Dialog.d.ts +81 -0
- package/dist/components/DropdownMenu.d.ts +62 -0
- package/dist/components/Flex.d.ts +29 -0
- package/dist/components/Grid.d.ts +28 -0
- package/dist/components/Heading.d.ts +28 -0
- package/dist/components/IconToggle.d.ts +29 -0
- package/dist/components/Link.d.ts +22 -0
- package/dist/components/Loader.d.ts +15 -0
- package/dist/components/Progress.d.ts +14 -0
- package/dist/components/RadioGroup.d.ts +32 -0
- package/dist/components/ScrollArea.d.ts +14 -0
- package/dist/components/Select.d.ts +70 -0
- package/dist/components/Separator.d.ts +11 -0
- package/dist/components/Slider.d.ts +28 -0
- package/dist/components/Tabs.d.ts +61 -0
- package/dist/components/Text.d.ts +34 -0
- package/dist/components/TextArea.d.ts +16 -0
- package/dist/components/TextField.d.ts +30 -0
- package/dist/components/Tooltip.d.ts +18 -0
- package/dist/components/icons.d.ts +27 -0
- package/dist/components/propShared.d.ts +11 -0
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +26 -0
- package/dist/index.js +1356 -0
- package/dist/index.js.map +1 -0
- package/dist/internal/seededRandom.d.ts +6 -0
- package/dist/space-ui.css +1 -0
- package/dist/spaceControls.cjs +2 -0
- package/dist/spaceControls.cjs.map +1 -0
- package/dist/spaceControls.js +6 -0
- package/dist/spaceControls.js.map +1 -0
- package/dist/spaceControls.module-Bk7m5-Ag.js +13 -0
- package/dist/spaceControls.module-Bk7m5-Ag.js.map +1 -0
- package/dist/spaceControls.module-yIFvZ0rt.cjs +2 -0
- package/dist/spaceControls.module-yIFvZ0rt.cjs.map +1 -0
- package/dist/styles/spaceControls.d.ts +2 -0
- package/dist/tokens.css +176 -0
- package/package.json +60 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,1356 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { forwardRef as y, createElement as se, isValidElement as M, cloneElement as X, useId as L, useMemo as F, useState as R, useRef as w, useEffect as O, useLayoutEffect as ee, Children as he, useCallback as Be, useContext as x, createContext as q } from "react";
|
|
3
|
+
import { jsx as r, jsxs as $, Fragment as U } from "react/jsx-runtime";
|
|
4
|
+
import { c as E } from "./spaceControls.module-Bk7m5-Ag.js";
|
|
5
|
+
const V = {
|
|
6
|
+
0: "0",
|
|
7
|
+
1: "var(--spacing-xs)",
|
|
8
|
+
2: "var(--spacing-sm)",
|
|
9
|
+
3: "var(--spacing-md)",
|
|
10
|
+
4: "var(--spacing-md)",
|
|
11
|
+
5: "var(--spacing-lg)",
|
|
12
|
+
6: "var(--spacing-xl)"
|
|
13
|
+
};
|
|
14
|
+
function D({ m: e, mt: n, mb: o, p: s, pb: t }, l) {
|
|
15
|
+
const i = {
|
|
16
|
+
...e !== void 0 && { margin: V[e] },
|
|
17
|
+
...n !== void 0 && { marginTop: V[n] },
|
|
18
|
+
...o !== void 0 && { marginBottom: V[o] },
|
|
19
|
+
...s !== void 0 && { padding: V[s] },
|
|
20
|
+
...t !== void 0 && { paddingBottom: V[t] },
|
|
21
|
+
...l
|
|
22
|
+
};
|
|
23
|
+
return Object.keys(i).length > 0 ? i : void 0;
|
|
24
|
+
}
|
|
25
|
+
function g(...e) {
|
|
26
|
+
return e.filter(Boolean).join(" ");
|
|
27
|
+
}
|
|
28
|
+
const We = "_text_4vcq4_1", Fe = "_size1_4vcq4_5", Ge = "_size2_4vcq4_11", Ue = "_size3_4vcq4_16", Ke = "_size4_4vcq4_21", Xe = "_size5_4vcq4_27", Ye = "_size6_4vcq4_33", Qe = "_medium_4vcq4_39", Je = "_bold_4vcq4_43", et = "_colorMuted_4vcq4_47", tt = "_colorDanger_4vcq4_51", nt = "_colorSuccess_4vcq4_55", ot = "_colorWarning_4vcq4_59", Y = {
|
|
29
|
+
text: We,
|
|
30
|
+
size1: Fe,
|
|
31
|
+
size2: Ge,
|
|
32
|
+
size3: Ue,
|
|
33
|
+
size4: Ke,
|
|
34
|
+
size5: Xe,
|
|
35
|
+
size6: Ye,
|
|
36
|
+
medium: Qe,
|
|
37
|
+
bold: Je,
|
|
38
|
+
colorMuted: et,
|
|
39
|
+
colorDanger: tt,
|
|
40
|
+
colorSuccess: nt,
|
|
41
|
+
colorWarning: ot
|
|
42
|
+
}, rt = y(function({ as: n = "span", size: o, weight: s, color: t, className: l, style: i, m: c, mt: _, mb: d, p: a, pb: p, ...u }, f) {
|
|
43
|
+
return se(n, {
|
|
44
|
+
...u,
|
|
45
|
+
ref: f,
|
|
46
|
+
className: g(
|
|
47
|
+
Y.text,
|
|
48
|
+
o && Y[`size${o}`],
|
|
49
|
+
s && Y[s],
|
|
50
|
+
t && Y[`color${t[0].toUpperCase()}${t.slice(1)}`],
|
|
51
|
+
l
|
|
52
|
+
),
|
|
53
|
+
style: D({ m: c, mt: _, mb: d, p: a, pb: p }, i)
|
|
54
|
+
});
|
|
55
|
+
}), st = "_heading_vs4zk_1", lt = "_size4_vs4zk_7", it = "_size5_vs4zk_13", ct = "_size6_vs4zk_19", at = "_size7_vs4zk_25", ut = "_size8_vs4zk_31", dt = "_size9_vs4zk_37", _t = "_colorMuted_vs4zk_43", pt = "_colorDanger_vs4zk_47", ft = "_alignCenter_vs4zk_51", Z = {
|
|
56
|
+
heading: st,
|
|
57
|
+
size4: lt,
|
|
58
|
+
size5: it,
|
|
59
|
+
size6: ct,
|
|
60
|
+
size7: at,
|
|
61
|
+
size8: ut,
|
|
62
|
+
size9: dt,
|
|
63
|
+
colorMuted: _t,
|
|
64
|
+
colorDanger: pt,
|
|
65
|
+
alignCenter: ft
|
|
66
|
+
}, gt = y(function({ as: n = "h2", size: o, color: s, align: t, className: l, style: i, m: c, mt: _, mb: d, p: a, pb: p, ...u }, f) {
|
|
67
|
+
return se(n, {
|
|
68
|
+
...u,
|
|
69
|
+
ref: f,
|
|
70
|
+
className: g(
|
|
71
|
+
Z.heading,
|
|
72
|
+
o && Z[`size${o}`],
|
|
73
|
+
s === "muted" && Z.colorMuted,
|
|
74
|
+
s === "danger" && Z.colorDanger,
|
|
75
|
+
t === "center" && Z.alignCenter,
|
|
76
|
+
l
|
|
77
|
+
),
|
|
78
|
+
style: D({ m: c, mt: _, mb: d, p: a, pb: p }, i)
|
|
79
|
+
});
|
|
80
|
+
}), Ct = "_link_1qa7j_1", mt = "_size1_1qa7j_10", ht = "_size2_1qa7j_16", vt = "_size3_1qa7j_21", pe = {
|
|
81
|
+
link: Ct,
|
|
82
|
+
size1: mt,
|
|
83
|
+
size2: ht,
|
|
84
|
+
size3: vt
|
|
85
|
+
}, C1 = y(function({ asChild: n, size: o, className: s, style: t, m: l, mt: i, mb: c, p: _, pb: d, children: a, ...p }, u) {
|
|
86
|
+
const f = g(pe.link, o && pe[`size${o}`], s), C = D({ m: l, mt: i, mb: c, p: _, pb: d }, t);
|
|
87
|
+
if (n && M(a)) {
|
|
88
|
+
const m = a;
|
|
89
|
+
return X(m, {
|
|
90
|
+
...p,
|
|
91
|
+
className: g(f, m.props.className),
|
|
92
|
+
style: { ...C, ...m.props.style }
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
return /* @__PURE__ */ r("a", { ...p, ref: u, className: f, style: C, children: a });
|
|
96
|
+
}), bt = "_flex_v4ziu_1", wt = "_gap1_v4ziu_5", yt = "_gap2_v4ziu_9", $t = "_gap3_v4ziu_13", Rt = "_gap4_v4ziu_17", xt = "_gap5_v4ziu_21", qt = "_gap6_v4ziu_25", kt = "_directionRow_v4ziu_29", zt = "_directionColumn_v4ziu_33", Lt = "_alignStart_v4ziu_37", Mt = "_alignCenter_v4ziu_41", Dt = "_alignEnd_v4ziu_45", It = "_alignBaseline_v4ziu_49", St = "_alignStretch_v4ziu_53", Nt = "_justifyStart_v4ziu_57", Tt = "_justifyCenter_v4ziu_61", Ht = "_justifyEnd_v4ziu_65", jt = "_justifyBetween_v4ziu_69", Ot = "_wrapWrap_v4ziu_73", Et = "_wrapNowrap_v4ziu_77", N = {
|
|
97
|
+
flex: bt,
|
|
98
|
+
gap1: wt,
|
|
99
|
+
gap2: yt,
|
|
100
|
+
gap3: $t,
|
|
101
|
+
gap4: Rt,
|
|
102
|
+
gap5: xt,
|
|
103
|
+
gap6: qt,
|
|
104
|
+
directionRow: kt,
|
|
105
|
+
directionColumn: zt,
|
|
106
|
+
alignStart: Lt,
|
|
107
|
+
alignCenter: Mt,
|
|
108
|
+
alignEnd: Dt,
|
|
109
|
+
alignBaseline: It,
|
|
110
|
+
alignStretch: St,
|
|
111
|
+
justifyStart: Nt,
|
|
112
|
+
justifyCenter: Tt,
|
|
113
|
+
justifyEnd: Ht,
|
|
114
|
+
justifyBetween: jt,
|
|
115
|
+
wrapWrap: Ot,
|
|
116
|
+
wrapNowrap: Et
|
|
117
|
+
}, Q = (e) => e[0].toUpperCase() + e.slice(1), m1 = y(function({ asChild: n, gap: o, direction: s, align: t, justify: l, wrap: i, className: c, style: _, m: d, mt: a, mb: p, p: u, pb: f, children: C, ...m }, h) {
|
|
118
|
+
const v = g(
|
|
119
|
+
N.flex,
|
|
120
|
+
o && N[`gap${o}`],
|
|
121
|
+
s && N[`direction${Q(s)}`],
|
|
122
|
+
t && N[`align${Q(t)}`],
|
|
123
|
+
l && N[`justify${Q(l)}`],
|
|
124
|
+
i && N[`wrap${Q(i)}`],
|
|
125
|
+
c
|
|
126
|
+
), I = D({ m: d, mt: a, mb: p, p: u, pb: f }, _);
|
|
127
|
+
if (n && M(C)) {
|
|
128
|
+
const S = C;
|
|
129
|
+
return X(S, {
|
|
130
|
+
...m,
|
|
131
|
+
className: g(v, S.props.className),
|
|
132
|
+
style: { ...I, ...S.props.style }
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
return /* @__PURE__ */ r("div", { ...m, ref: h, className: v, style: I, children: C });
|
|
136
|
+
}), h1 = y(function({ style: n, m: o, mt: s, mb: t, p: l, pb: i, ...c }, _) {
|
|
137
|
+
return /* @__PURE__ */ r("div", { ...c, ref: _, style: D({ m: o, mt: s, mb: t, p: l, pb: i }, n) });
|
|
138
|
+
}), Pt = "_grid_erpqq_1", Vt = "_cols1_erpqq_5", Zt = "_cols2_erpqq_9", At = "_cols3_erpqq_13", Bt = "_smCols2_erpqq_18", Wt = "_smCols3_erpqq_21", Ft = "_mdCols2_erpqq_26", Gt = "_mdCols3_erpqq_29", Ut = "_gap1_erpqq_33", Kt = "_gap2_erpqq_37", Xt = "_gap3_erpqq_41", Yt = "_gap4_erpqq_45", Qt = "_gap5_erpqq_49", Jt = "_gap6_erpqq_53", T = {
|
|
139
|
+
grid: Pt,
|
|
140
|
+
cols1: Vt,
|
|
141
|
+
cols2: Zt,
|
|
142
|
+
cols3: At,
|
|
143
|
+
smCols2: Bt,
|
|
144
|
+
smCols3: Wt,
|
|
145
|
+
mdCols2: Ft,
|
|
146
|
+
mdCols3: Gt,
|
|
147
|
+
gap1: Ut,
|
|
148
|
+
gap2: Kt,
|
|
149
|
+
gap3: Xt,
|
|
150
|
+
gap4: Yt,
|
|
151
|
+
gap5: Qt,
|
|
152
|
+
gap6: Jt
|
|
153
|
+
}, v1 = y(function({ columns: n, gap: o, className: s, style: t, m: l, mt: i, mb: c, p: _, pb: d, ...a }, p) {
|
|
154
|
+
const u = typeof n == "string" ? [T[`cols${n}`]] : n ? [
|
|
155
|
+
n.initial && T[`cols${n.initial}`],
|
|
156
|
+
n.sm && T[`smCols${n.sm}`],
|
|
157
|
+
n.md && T[`mdCols${n.md}`]
|
|
158
|
+
] : [];
|
|
159
|
+
return /* @__PURE__ */ r(
|
|
160
|
+
"div",
|
|
161
|
+
{
|
|
162
|
+
...a,
|
|
163
|
+
ref: p,
|
|
164
|
+
className: g(T.grid, ...u, o && T[`gap${o}`], s),
|
|
165
|
+
style: D({ m: l, mt: i, mb: c, p: _, pb: d }, t)
|
|
166
|
+
}
|
|
167
|
+
);
|
|
168
|
+
}), en = "_badge_1twqf_2", tn = "_size1_1twqf_10", nn = "_size2_1twqf_19", on = "_colorMuted_1twqf_28", rn = "_colorPrimary_1twqf_33", sn = "_colorSuccess_1twqf_38", ln = "_colorDanger_1twqf_43", cn = "_colorWarning_1twqf_48", an = "_colorCyan_1twqf_53", un = "_colorPurple_1twqf_58", dn = "_colorOrange_1twqf_63", _n = "_colorAccent_1twqf_68", pn = "_colorYellow_1twqf_73", fn = "_solid_1twqf_81", gn = "_wrap_1twqf_89", A = {
|
|
169
|
+
badge: en,
|
|
170
|
+
size1: tn,
|
|
171
|
+
size2: nn,
|
|
172
|
+
colorMuted: on,
|
|
173
|
+
colorPrimary: rn,
|
|
174
|
+
colorSuccess: sn,
|
|
175
|
+
colorDanger: ln,
|
|
176
|
+
colorWarning: cn,
|
|
177
|
+
colorCyan: an,
|
|
178
|
+
colorPurple: un,
|
|
179
|
+
colorOrange: dn,
|
|
180
|
+
colorAccent: _n,
|
|
181
|
+
colorYellow: pn,
|
|
182
|
+
solid: fn,
|
|
183
|
+
wrap: gn
|
|
184
|
+
}, Cn = (e) => e[0].toUpperCase() + e.slice(1), b1 = y(function({ color: n = "primary", variant: o = "soft", size: s = "1", wrap: t, className: l, style: i, m: c, mt: _, mb: d, p: a, pb: p, ...u }, f) {
|
|
185
|
+
return /* @__PURE__ */ r(
|
|
186
|
+
"span",
|
|
187
|
+
{
|
|
188
|
+
...u,
|
|
189
|
+
ref: f,
|
|
190
|
+
className: g(
|
|
191
|
+
A.badge,
|
|
192
|
+
A[`color${Cn(n)}`],
|
|
193
|
+
o === "solid" && A.solid,
|
|
194
|
+
A[`size${s}`],
|
|
195
|
+
t && A.wrap,
|
|
196
|
+
l
|
|
197
|
+
),
|
|
198
|
+
style: D({ m: c, mt: _, mb: d, p: a, pb: p }, i)
|
|
199
|
+
}
|
|
200
|
+
);
|
|
201
|
+
}), mn = "_separator_vao01_1", hn = "_full_vao01_7", fe = {
|
|
202
|
+
separator: mn,
|
|
203
|
+
full: hn
|
|
204
|
+
}, w1 = y(function({ size: n = "4", className: o, ...s }, t) {
|
|
205
|
+
return /* @__PURE__ */ r(
|
|
206
|
+
"span",
|
|
207
|
+
{
|
|
208
|
+
...s,
|
|
209
|
+
ref: t,
|
|
210
|
+
role: "separator",
|
|
211
|
+
className: g(fe.separator, n === "4" && fe.full, o)
|
|
212
|
+
}
|
|
213
|
+
);
|
|
214
|
+
}), vn = "_card_10wsm_1", bn = {
|
|
215
|
+
card: vn
|
|
216
|
+
}, y1 = y(function({ className: n, style: o, m: s, mt: t, mb: l, p: i, pb: c, ..._ }, d) {
|
|
217
|
+
return /* @__PURE__ */ r(
|
|
218
|
+
"div",
|
|
219
|
+
{
|
|
220
|
+
..._,
|
|
221
|
+
ref: d,
|
|
222
|
+
className: g(bn.card, n),
|
|
223
|
+
style: D({ m: s, mt: t, mb: l, p: i, pb: c }, o)
|
|
224
|
+
}
|
|
225
|
+
);
|
|
226
|
+
}), wn = "_scrollArea_ujp70_1", yn = {
|
|
227
|
+
scrollArea: wn
|
|
228
|
+
}, $1 = y(function({ className: n, ...o }, s) {
|
|
229
|
+
return /* @__PURE__ */ r("div", { ...o, ref: s, className: g(yn.scrollArea, n) });
|
|
230
|
+
}), $n = "_spaceButton_kjhqx_14", Rn = "_rimRotate_kjhqx_1", xn = "_glintSweep_kjhqx_1", qn = "_iconOnly_kjhqx_97", kn = "_lg_kjhqx_104", zn = "_sm_kjhqx_110", Ln = "_micro_kjhqx_122", Mn = "_stars_kjhqx_136", Dn = "_fullWidth_kjhqx_141", In = "_ember_kjhqx_147", Sn = "_label_kjhqx_157", Nn = "_star_kjhqx_136", Tn = "_twinkle_kjhqx_1", k = {
|
|
231
|
+
spaceButton: $n,
|
|
232
|
+
rimRotate: Rn,
|
|
233
|
+
glintSweep: xn,
|
|
234
|
+
iconOnly: qn,
|
|
235
|
+
lg: kn,
|
|
236
|
+
sm: zn,
|
|
237
|
+
micro: Ln,
|
|
238
|
+
stars: Mn,
|
|
239
|
+
fullWidth: Dn,
|
|
240
|
+
ember: In,
|
|
241
|
+
label: Sn,
|
|
242
|
+
star: Nn,
|
|
243
|
+
twinkle: Tn
|
|
244
|
+
};
|
|
245
|
+
function Hn(e) {
|
|
246
|
+
return function() {
|
|
247
|
+
e |= 0, e = e + 1831565813 | 0;
|
|
248
|
+
let n = Math.imul(e ^ e >>> 15, 1 | e);
|
|
249
|
+
return n = n + Math.imul(n ^ n >>> 7, 61 | n) ^ n, ((n ^ n >>> 14) >>> 0) / 4294967296;
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
function jn(e) {
|
|
253
|
+
let n = 2166136261;
|
|
254
|
+
for (let o = 0; o < e.length; o++)
|
|
255
|
+
n ^= e.charCodeAt(o), n = Math.imul(n, 16777619);
|
|
256
|
+
return n >>> 0;
|
|
257
|
+
}
|
|
258
|
+
const R1 = y(
|
|
259
|
+
function({ iconOnly: n, ember: o, size: s = "md", fullWidth: t, animated: l = !0, className: i, children: c, ..._ }, d) {
|
|
260
|
+
const a = L(), p = F(() => {
|
|
261
|
+
const f = Hn(jn(a));
|
|
262
|
+
return Array.from({ length: 3 }, () => ({
|
|
263
|
+
top: `${12 + f() * 58}%`,
|
|
264
|
+
left: `${8 + f() * 80}%`,
|
|
265
|
+
animationDelay: `${(f() * 3.2).toFixed(2)}s`,
|
|
266
|
+
animationDuration: `${(2.8 + f() * 1.8).toFixed(2)}s`
|
|
267
|
+
}));
|
|
268
|
+
}, [a]), u = [
|
|
269
|
+
k.spaceButton,
|
|
270
|
+
n ? k.iconOnly : "",
|
|
271
|
+
o ? k.ember : "",
|
|
272
|
+
s !== "md" ? k[s] : "",
|
|
273
|
+
t ? k.fullWidth : "",
|
|
274
|
+
i ?? ""
|
|
275
|
+
].filter(Boolean).join(" ");
|
|
276
|
+
return /* @__PURE__ */ $(
|
|
277
|
+
"button",
|
|
278
|
+
{
|
|
279
|
+
ref: d,
|
|
280
|
+
className: u,
|
|
281
|
+
"data-animated": l ? void 0 : "false",
|
|
282
|
+
..._,
|
|
283
|
+
children: [
|
|
284
|
+
s !== "micro" && /* @__PURE__ */ r("span", { className: k.stars, "aria-hidden": !0, children: p.map((f, C) => /* @__PURE__ */ r("i", { className: k.star, style: f }, C)) }),
|
|
285
|
+
/* @__PURE__ */ r("span", { className: k.label, children: c })
|
|
286
|
+
]
|
|
287
|
+
}
|
|
288
|
+
);
|
|
289
|
+
}
|
|
290
|
+
), On = "_wrap_dwcut_5", En = "_sm_dwcut_30", Pn = "_md_dwcut_36", Vn = "_lg_dwcut_42", Zn = "_orbit_dwcut_49", An = "_planet_dwcut_58", Bn = "_moon_dwcut_73", Wn = "_label_dwcut_92", H = {
|
|
291
|
+
wrap: On,
|
|
292
|
+
sm: En,
|
|
293
|
+
md: Pn,
|
|
294
|
+
lg: Vn,
|
|
295
|
+
orbit: Zn,
|
|
296
|
+
planet: An,
|
|
297
|
+
"sp-loader-planet-pulse": "_sp-loader-planet-pulse_dwcut_1",
|
|
298
|
+
moon: Bn,
|
|
299
|
+
"sp-loader-orbit": "_sp-loader-orbit_dwcut_1",
|
|
300
|
+
label: Wn,
|
|
301
|
+
"sp-loader-reduced-pulse": "_sp-loader-reduced-pulse_dwcut_1"
|
|
302
|
+
};
|
|
303
|
+
function x1({ size: e = "md", label: n, className: o }) {
|
|
304
|
+
return /* @__PURE__ */ $(
|
|
305
|
+
"div",
|
|
306
|
+
{
|
|
307
|
+
className: g(H.wrap, H[e], o),
|
|
308
|
+
role: "status",
|
|
309
|
+
"aria-live": "polite",
|
|
310
|
+
"aria-label": n ?? "Loading",
|
|
311
|
+
children: [
|
|
312
|
+
/* @__PURE__ */ $("span", { className: H.orbit, children: [
|
|
313
|
+
/* @__PURE__ */ r("span", { className: H.planet }),
|
|
314
|
+
/* @__PURE__ */ r("span", { className: H.moon })
|
|
315
|
+
] }),
|
|
316
|
+
n && /* @__PURE__ */ r("span", { className: H.label, children: n })
|
|
317
|
+
]
|
|
318
|
+
}
|
|
319
|
+
);
|
|
320
|
+
}
|
|
321
|
+
const Fn = "_content_1bxfq_6", Gn = {
|
|
322
|
+
content: Fn
|
|
323
|
+
}, Un = 350, Kn = 80, ge = 8, B = 8;
|
|
324
|
+
function Xn({ triggerRef: e, tooltipId: n, show: o, hide: s, children: t }) {
|
|
325
|
+
const l = t.props;
|
|
326
|
+
return X(t, {
|
|
327
|
+
ref: e,
|
|
328
|
+
// Always present, so the id it points at never dangles: the content
|
|
329
|
+
// element stays mounted and only toggles its popover state.
|
|
330
|
+
"aria-describedby": n,
|
|
331
|
+
onPointerEnter: (i) => {
|
|
332
|
+
var c;
|
|
333
|
+
(c = l.onPointerEnter) == null || c.call(l, i), i.pointerType === "mouse" && o();
|
|
334
|
+
},
|
|
335
|
+
onPointerLeave: (i) => {
|
|
336
|
+
var c;
|
|
337
|
+
(c = l.onPointerLeave) == null || c.call(l, i), s();
|
|
338
|
+
},
|
|
339
|
+
// Keyboard focus shows it immediately — no hover delay to wait out.
|
|
340
|
+
onFocus: (i) => {
|
|
341
|
+
var c;
|
|
342
|
+
(c = l.onFocus) == null || c.call(l, i), o(!0);
|
|
343
|
+
},
|
|
344
|
+
onBlur: (i) => {
|
|
345
|
+
var c;
|
|
346
|
+
(c = l.onBlur) == null || c.call(l, i), s();
|
|
347
|
+
},
|
|
348
|
+
// A tooltip must never outlive the action it describes: clicking the
|
|
349
|
+
// control (expand, switch view) leaves it stranded over the new layout.
|
|
350
|
+
onClick: (i) => {
|
|
351
|
+
var c;
|
|
352
|
+
(c = l.onClick) == null || c.call(l, i), s();
|
|
353
|
+
}
|
|
354
|
+
});
|
|
355
|
+
}
|
|
356
|
+
function Yn({ label: e, side: n = "bottom", children: o }) {
|
|
357
|
+
const s = L(), [t, l] = R(!1), [i, c] = R(null), _ = w(null), d = w(null), a = w(null), p = w(null), u = () => {
|
|
358
|
+
a.current && (clearTimeout(a.current), a.current = null), p.current && (clearTimeout(p.current), p.current = null);
|
|
359
|
+
}, f = (m = !1) => {
|
|
360
|
+
if (u(), m) {
|
|
361
|
+
l(!0);
|
|
362
|
+
return;
|
|
363
|
+
}
|
|
364
|
+
a.current = setTimeout(() => l(!0), Un);
|
|
365
|
+
}, C = () => {
|
|
366
|
+
u(), p.current = setTimeout(() => l(!1), Kn);
|
|
367
|
+
};
|
|
368
|
+
return O(() => u, []), ee(() => {
|
|
369
|
+
const m = d.current;
|
|
370
|
+
if (!m) return;
|
|
371
|
+
if (!t) {
|
|
372
|
+
m.matches(":popover-open") && m.hidePopover();
|
|
373
|
+
return;
|
|
374
|
+
}
|
|
375
|
+
m.matches(":popover-open") || m.showPopover();
|
|
376
|
+
const h = _.current;
|
|
377
|
+
if (!h) return;
|
|
378
|
+
const v = h.getBoundingClientRect(), I = m.offsetWidth, S = m.offsetHeight, te = v.bottom + ge, ne = v.top - S - ge, de = te + S <= window.innerHeight - B, _e = ne >= B, Ze = n === "bottom" ? de || !_e ? te : ne : _e || !de ? ne : te, Ae = Math.min(
|
|
379
|
+
Math.max(v.left + v.width / 2 - I / 2, B),
|
|
380
|
+
Math.max(window.innerWidth - I - B, B)
|
|
381
|
+
);
|
|
382
|
+
c({ top: Ze, left: Ae });
|
|
383
|
+
}, [t, n, e]), !e || !M(o) ? /* @__PURE__ */ r(U, { children: o }) : /* @__PURE__ */ $(U, { children: [
|
|
384
|
+
/* @__PURE__ */ r(
|
|
385
|
+
Xn,
|
|
386
|
+
{
|
|
387
|
+
triggerRef: _,
|
|
388
|
+
tooltipId: s,
|
|
389
|
+
show: f,
|
|
390
|
+
hide: C,
|
|
391
|
+
children: o
|
|
392
|
+
}
|
|
393
|
+
),
|
|
394
|
+
/* @__PURE__ */ r(
|
|
395
|
+
"div",
|
|
396
|
+
{
|
|
397
|
+
ref: d,
|
|
398
|
+
id: s,
|
|
399
|
+
popover: "auto",
|
|
400
|
+
role: "tooltip",
|
|
401
|
+
className: Gn.content,
|
|
402
|
+
style: i ? { top: i.top, left: i.left } : void 0,
|
|
403
|
+
onToggle: (m) => {
|
|
404
|
+
m.nativeEvent.newState === "closed" && t && l(!1);
|
|
405
|
+
},
|
|
406
|
+
children: e
|
|
407
|
+
}
|
|
408
|
+
)
|
|
409
|
+
] });
|
|
410
|
+
}
|
|
411
|
+
const Qn = "_group_1kj0b_3", Jn = "_segment_1kj0b_14", eo = "_active_1kj0b_34", oe = {
|
|
412
|
+
group: Qn,
|
|
413
|
+
segment: Jn,
|
|
414
|
+
active: eo
|
|
415
|
+
};
|
|
416
|
+
function q1({
|
|
417
|
+
options: e,
|
|
418
|
+
value: n,
|
|
419
|
+
onValueChange: o,
|
|
420
|
+
className: s = ""
|
|
421
|
+
}) {
|
|
422
|
+
return /* @__PURE__ */ r("div", { className: `${oe.group} ${s}`, role: "group", children: e.map((t) => (
|
|
423
|
+
// The pill sits at the top of the scene, so its tooltips hang below.
|
|
424
|
+
/* @__PURE__ */ r(Yn, { label: t.label, side: "bottom", children: /* @__PURE__ */ r(
|
|
425
|
+
"button",
|
|
426
|
+
{
|
|
427
|
+
type: "button",
|
|
428
|
+
className: `${oe.segment} ${t.value === n ? oe.active : ""}`,
|
|
429
|
+
"aria-label": t.label,
|
|
430
|
+
"aria-pressed": t.value === n,
|
|
431
|
+
onClick: () => {
|
|
432
|
+
t.value !== n && o(t.value);
|
|
433
|
+
},
|
|
434
|
+
children: t.icon
|
|
435
|
+
}
|
|
436
|
+
) }, t.value)
|
|
437
|
+
)) });
|
|
438
|
+
}
|
|
439
|
+
const to = "_root_1bvtq_2", no = "_trigger_1bvtq_7", oo = "_labelWrap_1bvtq_30", ro = "_sizer_1bvtq_8", so = "_triggerLabel_1bvtq_70", lo = "_chevron_1bvtq_77", io = "_listbox_1bvtq_82", co = "_item_1bvtq_110", z = {
|
|
440
|
+
root: to,
|
|
441
|
+
trigger: no,
|
|
442
|
+
labelWrap: oo,
|
|
443
|
+
sizer: ro,
|
|
444
|
+
triggerLabel: so,
|
|
445
|
+
chevron: lo,
|
|
446
|
+
listbox: io,
|
|
447
|
+
item: co
|
|
448
|
+
}, ve = q(null), le = () => {
|
|
449
|
+
const e = x(ve);
|
|
450
|
+
if (!e) throw new Error("Select parts must be inside Select.Root");
|
|
451
|
+
return e;
|
|
452
|
+
}, be = (e, n) => `${e}-${encodeURIComponent(n)}`, we = q(null), ie = () => {
|
|
453
|
+
const e = x(we);
|
|
454
|
+
if (!e) throw new Error("Select parts must be inside Select.Root");
|
|
455
|
+
return e;
|
|
456
|
+
};
|
|
457
|
+
function ao(e) {
|
|
458
|
+
const n = [], o = (s) => {
|
|
459
|
+
he.forEach(s, (t) => {
|
|
460
|
+
if (!M(t)) return;
|
|
461
|
+
const l = t.props;
|
|
462
|
+
t.type === $e && typeof l.value == "string" ? n.push({ value: l.value, label: l.children, disabled: l.disabled }) : l.children && o(l.children);
|
|
463
|
+
});
|
|
464
|
+
};
|
|
465
|
+
return o(e), n;
|
|
466
|
+
}
|
|
467
|
+
function uo({ value: e, onValueChange: n, disabled: o, children: s }) {
|
|
468
|
+
const [t, l] = R(!1), [i, c] = R(null), _ = L(), d = w(null), a = w(null), p = F(() => {
|
|
469
|
+
let h = null;
|
|
470
|
+
return he.forEach(s, (v) => {
|
|
471
|
+
M(v) && v.type === ye && (h = v.props.children);
|
|
472
|
+
}), h;
|
|
473
|
+
}, [s]), u = F(() => ao(p), [p]), f = F(() => u.filter((h) => !h.disabled).map((h) => h.value), [u]), C = F(() => u.map((h) => h.label), [u]), m = Be(
|
|
474
|
+
(h) => {
|
|
475
|
+
var v;
|
|
476
|
+
return ((v = u.find((I) => I.value === h)) == null ? void 0 : v.label) ?? null;
|
|
477
|
+
},
|
|
478
|
+
[u]
|
|
479
|
+
);
|
|
480
|
+
return O(() => {
|
|
481
|
+
if (!t) return;
|
|
482
|
+
const h = (v) => {
|
|
483
|
+
a.current && !a.current.contains(v.target) && l(!1);
|
|
484
|
+
};
|
|
485
|
+
return document.addEventListener("mousedown", h), () => document.removeEventListener("mousedown", h);
|
|
486
|
+
}, [t]), /* @__PURE__ */ r(
|
|
487
|
+
ve.Provider,
|
|
488
|
+
{
|
|
489
|
+
value: { value: e, onValueChange: n, disabled: o, open: t, setOpen: l, highlighted: i, setHighlighted: c, listboxId: _, values: f, itemLabels: C, labelFor: m },
|
|
490
|
+
children: /* @__PURE__ */ r(we.Provider, { value: d, children: /* @__PURE__ */ r("div", { ref: a, className: z.root, children: s }) })
|
|
491
|
+
}
|
|
492
|
+
);
|
|
493
|
+
}
|
|
494
|
+
function _o({ placeholder: e, animated: n = !0, className: o, ...s }) {
|
|
495
|
+
const t = le(), l = ie(), i = t.value ? t.labelFor(t.value) : null, c = (_) => {
|
|
496
|
+
t.setHighlighted(_ ?? t.values[0] ?? null), t.setOpen(!0);
|
|
497
|
+
};
|
|
498
|
+
return /* @__PURE__ */ $(
|
|
499
|
+
"button",
|
|
500
|
+
{
|
|
501
|
+
type: "button",
|
|
502
|
+
...s,
|
|
503
|
+
ref: l,
|
|
504
|
+
disabled: t.disabled,
|
|
505
|
+
className: g(z.trigger, E.spaceControl, "spSelectTrigger", o),
|
|
506
|
+
"data-animated": n ? void 0 : "false",
|
|
507
|
+
"data-state": t.open ? "open" : "closed",
|
|
508
|
+
"aria-haspopup": "listbox",
|
|
509
|
+
"aria-expanded": t.open,
|
|
510
|
+
"aria-controls": t.listboxId,
|
|
511
|
+
onClick: () => t.open ? t.setOpen(!1) : c(t.value || null),
|
|
512
|
+
onKeyDown: (_) => {
|
|
513
|
+
(_.key === "ArrowDown" || _.key === "Enter" || _.key === " ") && (_.preventDefault(), c(t.value || null));
|
|
514
|
+
},
|
|
515
|
+
children: [
|
|
516
|
+
/* @__PURE__ */ $("span", { className: z.labelWrap, children: [
|
|
517
|
+
/* @__PURE__ */ $("span", { className: z.sizer, "data-sizer": "", "aria-hidden": "true", children: [
|
|
518
|
+
t.itemLabels.map((_, d) => (
|
|
519
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
520
|
+
/* @__PURE__ */ r("span", { children: _ }, d)
|
|
521
|
+
)),
|
|
522
|
+
e && /* @__PURE__ */ r("span", { children: e })
|
|
523
|
+
] }),
|
|
524
|
+
/* @__PURE__ */ r("span", { className: z.triggerLabel, children: i ?? e ?? "" })
|
|
525
|
+
] }),
|
|
526
|
+
/* @__PURE__ */ r("svg", { className: z.chevron, width: "9", height: "9", viewBox: "0 0 9 9", "aria-hidden": "true", children: /* @__PURE__ */ r("path", { d: "M0.5 3 L4.5 7 L8.5 3", fill: "none", stroke: "currentColor", strokeWidth: "1.2" }) })
|
|
527
|
+
]
|
|
528
|
+
}
|
|
529
|
+
);
|
|
530
|
+
}
|
|
531
|
+
function ye({ className: e, position: n, animated: o = !0, children: s }) {
|
|
532
|
+
const t = le(), l = ie(), i = w(null), [c, _] = R(null), [d, a] = R(null);
|
|
533
|
+
ee(() => {
|
|
534
|
+
if (t.open && l.current) {
|
|
535
|
+
const u = l.current.getBoundingClientRect();
|
|
536
|
+
_(l.current.offsetWidth);
|
|
537
|
+
const f = window.innerHeight - u.bottom - 16;
|
|
538
|
+
a(Math.min(380, Math.max(120, f)));
|
|
539
|
+
}
|
|
540
|
+
}, [t.open, l]), O(() => {
|
|
541
|
+
var u;
|
|
542
|
+
t.open && ((u = i.current) == null || u.focus());
|
|
543
|
+
}, [t.open]);
|
|
544
|
+
const p = (u) => {
|
|
545
|
+
const f = t.highlighted ? t.values.indexOf(t.highlighted) : -1, C = Math.min(Math.max(f + u, 0), t.values.length - 1);
|
|
546
|
+
t.setHighlighted(t.values[C] ?? null);
|
|
547
|
+
};
|
|
548
|
+
return /* @__PURE__ */ r(
|
|
549
|
+
"div",
|
|
550
|
+
{
|
|
551
|
+
ref: i,
|
|
552
|
+
id: t.listboxId,
|
|
553
|
+
role: "listbox",
|
|
554
|
+
tabIndex: -1,
|
|
555
|
+
hidden: !t.open,
|
|
556
|
+
"aria-activedescendant": t.highlighted ? be(t.listboxId, t.highlighted) : void 0,
|
|
557
|
+
className: g(z.listbox, E.spacePanel, e),
|
|
558
|
+
"data-animated": o ? void 0 : "false",
|
|
559
|
+
style: c != null || d != null ? {
|
|
560
|
+
...c != null ? { "--_select-trigger-width": `${c}px` } : {},
|
|
561
|
+
...d != null ? { maxHeight: `${d}px` } : {}
|
|
562
|
+
} : void 0,
|
|
563
|
+
onKeyDown: (u) => {
|
|
564
|
+
var f, C;
|
|
565
|
+
u.key === "Escape" ? (u.stopPropagation(), t.setOpen(!1), (f = l.current) == null || f.focus()) : u.key === "ArrowDown" ? (u.preventDefault(), p(1)) : u.key === "ArrowUp" ? (u.preventDefault(), p(-1)) : u.key === "Home" ? (u.preventDefault(), t.setHighlighted(t.values[0] ?? null)) : u.key === "End" ? (u.preventDefault(), t.setHighlighted(t.values[t.values.length - 1] ?? null)) : u.key === "Enter" || u.key === " " ? (u.preventDefault(), t.highlighted && (t.onValueChange(t.highlighted), t.setOpen(!1), (C = l.current) == null || C.focus())) : u.key === "Tab" && t.setOpen(!1);
|
|
566
|
+
},
|
|
567
|
+
children: s
|
|
568
|
+
}
|
|
569
|
+
);
|
|
570
|
+
}
|
|
571
|
+
function $e({ value: e, disabled: n, children: o }) {
|
|
572
|
+
const s = le(), t = ie(), l = s.value === e, i = s.highlighted === e;
|
|
573
|
+
return /* @__PURE__ */ r(
|
|
574
|
+
"div",
|
|
575
|
+
{
|
|
576
|
+
id: be(s.listboxId, e),
|
|
577
|
+
role: "option",
|
|
578
|
+
"aria-selected": l,
|
|
579
|
+
"aria-disabled": n || void 0,
|
|
580
|
+
"data-highlighted": i ? "" : void 0,
|
|
581
|
+
className: g(z.item, "spSelectItem"),
|
|
582
|
+
onMouseEnter: () => !n && s.setHighlighted(e),
|
|
583
|
+
onClick: () => {
|
|
584
|
+
var c;
|
|
585
|
+
n || (s.onValueChange(e), s.setOpen(!1), (c = t.current) == null || c.focus());
|
|
586
|
+
},
|
|
587
|
+
children: o
|
|
588
|
+
}
|
|
589
|
+
);
|
|
590
|
+
}
|
|
591
|
+
const k1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
592
|
+
__proto__: null,
|
|
593
|
+
Content: ye,
|
|
594
|
+
Item: $e,
|
|
595
|
+
Root: uo,
|
|
596
|
+
Trigger: _o
|
|
597
|
+
}, Symbol.toStringTag, { value: "Module" })), po = "_root_1lx7y_1", fo = "_input_1lx7y_7", go = "_slot_1lx7y_17", re = {
|
|
598
|
+
root: po,
|
|
599
|
+
input: fo,
|
|
600
|
+
slot: go
|
|
601
|
+
}, Co = y(function({ className: n, style: o, animated: s = !0, children: t, ...l }, i) {
|
|
602
|
+
return /* @__PURE__ */ $(
|
|
603
|
+
"div",
|
|
604
|
+
{
|
|
605
|
+
className: g(re.root, E.spaceInput, "spTextFieldRoot", n),
|
|
606
|
+
"data-animated": s ? void 0 : "false",
|
|
607
|
+
style: o,
|
|
608
|
+
children: [
|
|
609
|
+
t,
|
|
610
|
+
/* @__PURE__ */ r("input", { ...l, ref: i, className: g(re.input, "spTextFieldInput") })
|
|
611
|
+
]
|
|
612
|
+
}
|
|
613
|
+
);
|
|
614
|
+
});
|
|
615
|
+
function mo({
|
|
616
|
+
children: e
|
|
617
|
+
}) {
|
|
618
|
+
return /* @__PURE__ */ r("span", { className: re.slot, children: e });
|
|
619
|
+
}
|
|
620
|
+
const z1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
621
|
+
__proto__: null,
|
|
622
|
+
Root: Co,
|
|
623
|
+
Slot: mo
|
|
624
|
+
}, Symbol.toStringTag, { value: "Module" })), ho = "_root_1qu6w_1", vo = "_textarea_1qu6w_6", Ce = {
|
|
625
|
+
root: ho,
|
|
626
|
+
textarea: vo
|
|
627
|
+
}, L1 = y(function({ className: n, style: o, animated: s = !0, ...t }, l) {
|
|
628
|
+
return /* @__PURE__ */ r(
|
|
629
|
+
"div",
|
|
630
|
+
{
|
|
631
|
+
className: g(Ce.root, E.spaceInput, E.spaceTextArea, "spTextFieldRoot", n),
|
|
632
|
+
"data-animated": s ? void 0 : "false",
|
|
633
|
+
style: o,
|
|
634
|
+
children: /* @__PURE__ */ r("textarea", { ...t, ref: l, className: g(Ce.textarea, "spTextAreaInput") })
|
|
635
|
+
}
|
|
636
|
+
);
|
|
637
|
+
}), bo = "_root_14a1b_1", wo = "_track_14a1b_12", yo = "_range_14a1b_22", $o = "_thumb_14a1b_28", Ro = "_input_14a1b_38", W = {
|
|
638
|
+
root: bo,
|
|
639
|
+
track: wo,
|
|
640
|
+
range: yo,
|
|
641
|
+
thumb: $o,
|
|
642
|
+
input: Ro
|
|
643
|
+
}, M1 = y(function({ value: n, onValueChange: o, min: s, max: t, step: l, disabled: i, className: c, "aria-label": _ }, d) {
|
|
644
|
+
const a = n[0] ?? s, p = t === s ? 0 : (a - s) / (t - s) * 100;
|
|
645
|
+
return /* @__PURE__ */ $("span", { className: g(W.root, E.spaceSlider, c), "data-disabled": i || void 0, children: [
|
|
646
|
+
/* @__PURE__ */ r("span", { className: g(W.track, "spSliderTrack"), children: /* @__PURE__ */ r("span", { className: g(W.range, "spSliderRange"), style: { width: `${p}%` } }) }),
|
|
647
|
+
/* @__PURE__ */ r("span", { className: g(W.thumb, "spSliderThumb"), style: { left: `${p}%` } }),
|
|
648
|
+
/* @__PURE__ */ r(
|
|
649
|
+
"input",
|
|
650
|
+
{
|
|
651
|
+
ref: d,
|
|
652
|
+
type: "range",
|
|
653
|
+
className: g(W.input, "spSliderInput"),
|
|
654
|
+
value: a,
|
|
655
|
+
min: s,
|
|
656
|
+
max: t,
|
|
657
|
+
step: l,
|
|
658
|
+
disabled: i,
|
|
659
|
+
"aria-label": _,
|
|
660
|
+
onChange: (u) => o([Number(u.target.value)])
|
|
661
|
+
}
|
|
662
|
+
)
|
|
663
|
+
] });
|
|
664
|
+
}), xo = "_root_1qhel_2", qo = "_item_1qhel_8", ko = "_selfLabeled_1qhel_15", zo = "_input_1qhel_19", Lo = "_orb_1qhel_35", j = {
|
|
665
|
+
root: xo,
|
|
666
|
+
item: qo,
|
|
667
|
+
selfLabeled: ko,
|
|
668
|
+
input: zo,
|
|
669
|
+
orb: Lo
|
|
670
|
+
}, Re = q(null);
|
|
671
|
+
function Mo({ value: e, onValueChange: n, disabled: o, className: s, children: t }) {
|
|
672
|
+
const l = L();
|
|
673
|
+
return /* @__PURE__ */ r(Re.Provider, { value: { value: e, onValueChange: n, disabled: o, name: l }, children: /* @__PURE__ */ r("div", { role: "radiogroup", className: g(j.root, s), children: t }) });
|
|
674
|
+
}
|
|
675
|
+
function Do({ value: e, disabled: n, children: o }) {
|
|
676
|
+
const s = x(Re);
|
|
677
|
+
if (!s) throw new Error("RadioGroup.Item must be inside RadioGroup.Root");
|
|
678
|
+
const t = n || s.disabled, l = /* @__PURE__ */ $(U, { children: [
|
|
679
|
+
/* @__PURE__ */ r(
|
|
680
|
+
"input",
|
|
681
|
+
{
|
|
682
|
+
type: "radio",
|
|
683
|
+
className: j.input,
|
|
684
|
+
name: s.name,
|
|
685
|
+
value: e,
|
|
686
|
+
checked: s.value === e,
|
|
687
|
+
disabled: t,
|
|
688
|
+
onChange: () => s.onValueChange(e)
|
|
689
|
+
}
|
|
690
|
+
),
|
|
691
|
+
/* @__PURE__ */ r("span", { className: g(j.orb, "spRadioOrb"), "aria-hidden": "true" })
|
|
692
|
+
] });
|
|
693
|
+
return o == null ? /* @__PURE__ */ r("span", { className: j.item, children: l }) : /* @__PURE__ */ $("label", { className: g(j.item, j.selfLabeled), children: [
|
|
694
|
+
l,
|
|
695
|
+
o
|
|
696
|
+
] });
|
|
697
|
+
}
|
|
698
|
+
const D1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
699
|
+
__proto__: null,
|
|
700
|
+
Item: Do,
|
|
701
|
+
Root: Mo
|
|
702
|
+
}, Symbol.toStringTag, { value: "Module" })), Io = "_progress_sr231_16", So = {
|
|
703
|
+
progress: Io
|
|
704
|
+
};
|
|
705
|
+
function I1({ value: e, max: n = 100, className: o, style: s, ...t }) {
|
|
706
|
+
const l = n > 0 ? Math.min(Math.max(e / n * 100, 0), 100) : 0;
|
|
707
|
+
return /* @__PURE__ */ r(
|
|
708
|
+
"div",
|
|
709
|
+
{
|
|
710
|
+
...t,
|
|
711
|
+
role: "progressbar",
|
|
712
|
+
"aria-valuenow": e,
|
|
713
|
+
"aria-valuemin": 0,
|
|
714
|
+
"aria-valuemax": n,
|
|
715
|
+
className: g(So.progress, o),
|
|
716
|
+
style: s,
|
|
717
|
+
children: /* @__PURE__ */ r("div", { style: { width: `${l}%`, height: "100%" } })
|
|
718
|
+
}
|
|
719
|
+
);
|
|
720
|
+
}
|
|
721
|
+
const b = {
|
|
722
|
+
width: 15,
|
|
723
|
+
height: 15,
|
|
724
|
+
viewBox: "0 0 15 15",
|
|
725
|
+
fill: "none",
|
|
726
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
727
|
+
"aria-hidden": !0
|
|
728
|
+
};
|
|
729
|
+
function S1(e) {
|
|
730
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
731
|
+
"path",
|
|
732
|
+
{
|
|
733
|
+
d: "M3.5 5.00006C3.22386 5.00006 3 5.22392 3 5.50006L3 11.5001C3 11.7762 3.22386 12.0001 3.5 12.0001L11.5 12.0001C11.7761 12.0001 12 11.7762 12 11.5001L12 5.50006C12 5.22392 11.7761 5.00006 11.5 5.00006L10.25 5.00006C9.97386 5.00006 9.75 4.7762 9.75 4.50006C9.75 4.22392 9.97386 4.00006 10.25 4.00006L11.5 4.00006C12.3284 4.00006 13 4.67163 13 5.50006L13 11.5001C13 12.3285 12.3284 13.0001 11.5 13.0001L3.5 13.0001C2.67157 13.0001 2 12.3285 2 11.5001L2 5.50006C2 4.67163 2.67157 4.00006 3.5 4.00006L4.75 4.00006C5.02614 4.00006 5.25 4.22392 5.25 4.50006C5.25 4.7762 5.02614 5.00006 4.75 5.00006L3.5 5.00006ZM7 1.6364L5.5682 3.0682C5.39246 3.24393 5.10754 3.24393 4.9318 3.0682C4.75607 2.89246 4.75607 2.60754 4.9318 2.4318L7.1818 0.181802C7.26619 0.09741 7.38065 0.049999 7.5 0.049999C7.61935 0.049999 7.73381 0.09741 7.8182 0.181802L10.0682 2.4318C10.2439 2.60754 10.2439 2.89246 10.0682 3.0682C9.89246 3.24393 9.60754 3.24393 9.4318 3.0682L8 1.6364L8 8.5C8 8.77614 7.77614 9 7.5 9C7.22386 9 7 8.77614 7 8.5L7 1.6364Z",
|
|
734
|
+
fill: "currentColor",
|
|
735
|
+
fillRule: "evenodd",
|
|
736
|
+
clipRule: "evenodd"
|
|
737
|
+
}
|
|
738
|
+
) });
|
|
739
|
+
}
|
|
740
|
+
function N1(e) {
|
|
741
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
742
|
+
"path",
|
|
743
|
+
{
|
|
744
|
+
d: "M12.5 3L2.5 3.00002C1.67157 3.00002 1 3.6716 1 4.50002V9.50003C1 10.3285 1.67157 11 2.5 11H7.50003C7.63264 11 7.75982 11.0527 7.85358 11.1465L10 13.2929V11.5C10 11.2239 10.2239 11 10.5 11H12.5C13.3284 11 14 10.3285 14 9.50003V4.5C14 3.67157 13.3284 3 12.5 3ZM2.49999 2.00002L12.5 2C13.8807 2 15 3.11929 15 4.5V9.50003C15 10.8807 13.8807 12 12.5 12H11V14.5C11 14.7022 10.8782 14.8845 10.6913 14.9619C10.5045 15.0393 10.2894 14.9965 10.1464 14.8536L7.29292 12H2.5C1.11929 12 0 10.8807 0 9.50003V4.50002C0 3.11931 1.11928 2.00003 2.49999 2.00002Z",
|
|
745
|
+
fill: "currentColor",
|
|
746
|
+
fillRule: "evenodd",
|
|
747
|
+
clipRule: "evenodd"
|
|
748
|
+
}
|
|
749
|
+
) });
|
|
750
|
+
}
|
|
751
|
+
function T1(e) {
|
|
752
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
753
|
+
"path",
|
|
754
|
+
{
|
|
755
|
+
d: "M8 2.75C8 2.47386 7.77614 2.25 7.5 2.25C7.22386 2.25 7 2.47386 7 2.75V7H2.75C2.47386 7 2.25 7.22386 2.25 7.5C2.25 7.77614 2.47386 8 2.75 8H7V12.25C7 12.5261 7.22386 12.75 7.5 12.75C7.77614 12.75 8 12.5261 8 12.25V8H12.25C12.5261 8 12.75 7.77614 12.75 7.5C12.75 7.22386 12.5261 7 12.25 7H8V2.75Z",
|
|
756
|
+
fill: "currentColor",
|
|
757
|
+
fillRule: "evenodd",
|
|
758
|
+
clipRule: "evenodd"
|
|
759
|
+
}
|
|
760
|
+
) });
|
|
761
|
+
}
|
|
762
|
+
function H1(e) {
|
|
763
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
764
|
+
"path",
|
|
765
|
+
{
|
|
766
|
+
d: "M11.8536 1.14645C11.6583 0.951184 11.3417 0.951184 11.1465 1.14645L3.71455 8.57836C3.62459 8.66832 3.55263 8.77461 3.50251 8.89155L2.04044 12.303C1.9599 12.491 2.00189 12.709 2.14646 12.8536C2.29103 12.9981 2.50905 13.0401 2.69697 12.9596L6.10847 11.4975C6.2254 11.4474 6.3317 11.3754 6.42166 11.2855L13.8536 3.85355C14.0488 3.65829 14.0488 3.34171 13.8536 3.14645L11.8536 1.14645ZM4.42166 9.28547L11.5 2.20711L12.7929 3.5L5.71455 10.5784L4.21924 11.2192L3.78081 10.7808L4.42166 9.28547Z",
|
|
767
|
+
fill: "currentColor",
|
|
768
|
+
fillRule: "evenodd",
|
|
769
|
+
clipRule: "evenodd"
|
|
770
|
+
}
|
|
771
|
+
) });
|
|
772
|
+
}
|
|
773
|
+
function j1(e) {
|
|
774
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
775
|
+
"path",
|
|
776
|
+
{
|
|
777
|
+
d: "M1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.25769 1.35248 6.86058 1.92336 7.50002 2.93545C8.13946 1.92336 8.74235 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z",
|
|
778
|
+
fill: "currentColor",
|
|
779
|
+
fillRule: "evenodd",
|
|
780
|
+
clipRule: "evenodd"
|
|
781
|
+
}
|
|
782
|
+
) });
|
|
783
|
+
}
|
|
784
|
+
function O1(e) {
|
|
785
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
786
|
+
"path",
|
|
787
|
+
{
|
|
788
|
+
d: "M5.5 2C5.77614 2 6 2.22386 6 2.5V5.5C6 5.77614 5.77614 6 5.5 6H2.5C2.22386 6 2 5.77614 2 5.5C2 5.22386 2.22386 5 2.5 5H5V2.5C5 2.22386 5.22386 2 5.5 2ZM9.5 2C9.77614 2 10 2.22386 10 2.5V5H12.5C12.7761 5 13 5.22386 13 5.5C13 5.77614 12.7761 6 12.5 6H9.5C9.22386 6 9 5.77614 9 5.5V2.5C9 2.22386 9.22386 2 9.5 2ZM2 9.5C2 9.22386 2.22386 9 2.5 9H5.5C5.77614 9 6 9.22386 6 9.5V12.5C6 12.7761 5.77614 13 5.5 13C5.22386 13 5 12.7761 5 12.5V10H2.5C2.22386 10 2 9.77614 2 9.5ZM9 9.5C9 9.22386 9.22386 9 9.5 9H12.5C12.7761 9 13 9.22386 13 9.5C13 9.77614 12.7761 10 12.5 10H10V12.5C10 12.7761 9.77614 13 9.5 13C9.22386 13 9 12.7761 9 12.5V9.5Z",
|
|
789
|
+
fill: "currentColor",
|
|
790
|
+
fillRule: "evenodd",
|
|
791
|
+
clipRule: "evenodd"
|
|
792
|
+
}
|
|
793
|
+
) });
|
|
794
|
+
}
|
|
795
|
+
function E1(e) {
|
|
796
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
797
|
+
"path",
|
|
798
|
+
{
|
|
799
|
+
d: "M2 2.5C2 2.22386 2.22386 2 2.5 2H5.5C5.77614 2 6 2.22386 6 2.5C6 2.77614 5.77614 3 5.5 3H3V5.5C3 5.77614 2.77614 6 2.5 6C2.22386 6 2 5.77614 2 5.5V2.5ZM9 2.5C9 2.22386 9.22386 2 9.5 2H12.5C12.7761 2 13 2.22386 13 2.5V5.5C13 5.77614 12.7761 6 12.5 6C12.2239 6 12 5.77614 12 5.5V3H9.5C9.22386 3 9 2.77614 9 2.5ZM2.5 9C2.77614 9 3 9.22386 3 9.5V12H5.5C5.77614 12 6 12.2239 6 12.5C6 12.7761 5.77614 13 5.5 13H2.5C2.22386 13 2 12.7761 2 12.5V9.5C2 9.22386 2.22386 9 2.5 9ZM12.5 9C12.7761 9 13 9.22386 13 9.5V12.5C13 12.7761 12.7761 13 12.5 13H9.5C9.22386 13 9 12.7761 9 12.5C9 12.2239 9.22386 12 9.5 12H12V9.5C12 9.22386 12.2239 9 12.5 9Z",
|
|
800
|
+
fill: "currentColor",
|
|
801
|
+
fillRule: "evenodd",
|
|
802
|
+
clipRule: "evenodd"
|
|
803
|
+
}
|
|
804
|
+
) });
|
|
805
|
+
}
|
|
806
|
+
function P1(e) {
|
|
807
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
808
|
+
"path",
|
|
809
|
+
{
|
|
810
|
+
d: "M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",
|
|
811
|
+
fill: "currentColor",
|
|
812
|
+
fillRule: "evenodd",
|
|
813
|
+
clipRule: "evenodd"
|
|
814
|
+
}
|
|
815
|
+
) });
|
|
816
|
+
}
|
|
817
|
+
function V1(e) {
|
|
818
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
819
|
+
"path",
|
|
820
|
+
{
|
|
821
|
+
d: "M5.5 1C5.22386 1 5 1.22386 5 1.5C5 1.77614 5.22386 2 5.5 2H9.5C9.77614 2 10 1.77614 10 1.5C10 1.22386 9.77614 1 9.5 1H5.5ZM3 3.5C3 3.22386 3.22386 3 3.5 3H5H10H11.5C11.7761 3 12 3.22386 12 3.5C12 3.77614 11.7761 4 11.5 4H11V12C11 12.5523 10.5523 13 10 13H5C4.44772 13 4 12.5523 4 12V4L3.5 4C3.22386 4 3 3.77614 3 3.5ZM5 4H10V12H5V4Z",
|
|
822
|
+
fill: "currentColor",
|
|
823
|
+
fillRule: "evenodd",
|
|
824
|
+
clipRule: "evenodd"
|
|
825
|
+
}
|
|
826
|
+
) });
|
|
827
|
+
}
|
|
828
|
+
function Z1(e) {
|
|
829
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
830
|
+
"path",
|
|
831
|
+
{
|
|
832
|
+
d: "M0.877075 7.49972C0.877075 3.84204 3.84222 0.876892 7.49991 0.876892C11.1576 0.876892 14.1227 3.84204 14.1227 7.49972C14.1227 11.1574 11.1576 14.1226 7.49991 14.1226C3.84222 14.1226 0.877075 11.1574 0.877075 7.49972ZM7.49991 1.82689C4.36689 1.82689 1.82708 4.36671 1.82708 7.49972C1.82708 10.6327 4.36689 13.1726 7.49991 13.1726C10.6329 13.1726 13.1727 10.6327 13.1727 7.49972C13.1727 4.36671 10.6329 1.82689 7.49991 1.82689ZM8.24993 10.5C8.24993 10.9142 7.91414 11.25 7.49993 11.25C7.08571 11.25 6.74993 10.9142 6.74993 10.5C6.74993 10.0858 7.08571 9.75 7.49993 9.75C7.91414 9.75 8.24993 10.0858 8.24993 10.5ZM6.05003 6.25C6.05003 5.57211 6.63511 4.925 7.50003 4.925C8.36496 4.925 8.95003 5.57211 8.95003 6.25C8.95003 6.74118 8.68002 6.99212 8.21447 7.27494C8.16251 7.30651 8.10258 7.34131 8.03847 7.37854L8.03841 7.37858C7.85521 7.48497 7.63788 7.61119 7.47449 7.73849C7.23214 7.92732 6.95003 8.23198 6.95003 8.7C6.95004 9.00376 7.19628 9.25 7.50004 9.25C7.8024 9.25 8.04778 9.00601 8.05002 8.70417L8.05056 8.7033C8.05924 8.6896 8.08493 8.65735 8.15058 8.6062C8.25207 8.52712 8.36508 8.46163 8.51567 8.37436L8.51571 8.37433C8.59422 8.32883 8.68296 8.27741 8.78559 8.21506C9.32004 7.89038 10.05 7.35382 10.05 6.25C10.05 4.92789 8.93511 3.825 7.50003 3.825C6.06496 3.825 4.95003 4.92789 4.95003 6.25C4.95003 6.55376 5.19628 6.8 5.50003 6.8C5.80379 6.8 6.05003 6.55376 6.05003 6.25Z",
|
|
833
|
+
fill: "currentColor",
|
|
834
|
+
fillRule: "evenodd",
|
|
835
|
+
clipRule: "evenodd"
|
|
836
|
+
}
|
|
837
|
+
) });
|
|
838
|
+
}
|
|
839
|
+
function A1(e) {
|
|
840
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
841
|
+
"path",
|
|
842
|
+
{
|
|
843
|
+
d: "M7.5 0.875C5.49797 0.875 3.875 2.49797 3.875 4.5C3.875 6.15288 4.98124 7.54738 6.49373 7.98351C5.2997 8.12901 4.27557 8.55134 3.50407 9.31167C2.52216 10.2794 2.02502 11.72 2.02502 13.5999C2.02502 13.8623 2.23769 14.0749 2.50002 14.0749C2.76236 14.0749 2.97502 13.8623 2.97502 13.5999C2.97502 11.8799 3.42786 10.7206 4.17091 9.9883C4.91536 9.25463 6.02674 8.87499 7.49995 8.87499C8.97317 8.87499 10.0846 9.25463 10.8291 9.98831C11.5721 10.7206 12.025 11.8799 12.025 13.5999C12.025 13.8623 12.2376 14.0749 12.5 14.0749C12.7623 14.075 12.975 13.8623 12.975 13.6C12.975 11.72 12.4778 10.2794 11.4959 9.31166C10.7244 8.55135 9.70025 8.12903 8.50625 7.98352C10.0187 7.5474 11.125 6.15289 11.125 4.5C11.125 2.49797 9.50203 0.875 7.5 0.875ZM4.825 4.5C4.825 3.02264 6.02264 1.825 7.5 1.825C8.97736 1.825 10.175 3.02264 10.175 4.5C10.175 5.97736 8.97736 7.175 7.5 7.175C6.02264 7.175 4.825 5.97736 4.825 4.5Z",
|
|
844
|
+
fill: "currentColor",
|
|
845
|
+
fillRule: "evenodd",
|
|
846
|
+
clipRule: "evenodd"
|
|
847
|
+
}
|
|
848
|
+
) });
|
|
849
|
+
}
|
|
850
|
+
function B1(e) {
|
|
851
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
852
|
+
"path",
|
|
853
|
+
{
|
|
854
|
+
d: "M2.25 7.5C2.25 7.22386 2.47386 7 2.75 7H12.25C12.5261 7 12.75 7.22386 12.75 7.5C12.75 7.77614 12.5261 8 12.25 8H2.75C2.47386 8 2.25 7.77614 2.25 7.5Z",
|
|
855
|
+
fill: "currentColor",
|
|
856
|
+
fillRule: "evenodd",
|
|
857
|
+
clipRule: "evenodd"
|
|
858
|
+
}
|
|
859
|
+
) });
|
|
860
|
+
}
|
|
861
|
+
function W1(e) {
|
|
862
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
863
|
+
"path",
|
|
864
|
+
{
|
|
865
|
+
d: "M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z",
|
|
866
|
+
fill: "currentColor",
|
|
867
|
+
fillRule: "evenodd",
|
|
868
|
+
clipRule: "evenodd"
|
|
869
|
+
}
|
|
870
|
+
) });
|
|
871
|
+
}
|
|
872
|
+
function F1(e) {
|
|
873
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
874
|
+
"path",
|
|
875
|
+
{
|
|
876
|
+
d: "M4.89346 2.35248C3.49195 2.35248 2.35248 3.49359 2.35248 4.90532C2.35248 6.38164 3.20954 7.9168 4.37255 9.33522C5.39396 10.581 6.59464 11.6702 7.50002 12.4778C8.4054 11.6702 9.60608 10.581 10.6275 9.33522C11.7905 7.9168 12.6476 6.38164 12.6476 4.90532C12.6476 3.49359 11.5081 2.35248 10.1066 2.35248C9.27059 2.35248 8.81894 2.64323 8.5397 2.95843C8.27877 3.25295 8.14623 3.58566 8.02501 3.88993C8.00391 3.9429 7.98315 3.99501 7.96211 4.04591C7.88482 4.23294 7.7024 4.35494 7.50002 4.35494C7.29765 4.35494 7.11523 4.23295 7.03793 4.04592C7.01689 3.99501 6.99612 3.94289 6.97502 3.8899C6.8538 3.58564 6.72126 3.25294 6.46034 2.95843C6.18109 2.64323 5.72945 2.35248 4.89346 2.35248ZM1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.0084 1.35248 6.73504 1.76049 7.20884 2.2953C7.32062 2.42147 7.41686 2.55382 7.50002 2.68545C7.58318 2.55382 7.67941 2.42147 7.79119 2.2953C8.265 1.76049 8.99164 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z",
|
|
877
|
+
fill: "currentColor",
|
|
878
|
+
fillRule: "evenodd",
|
|
879
|
+
clipRule: "evenodd"
|
|
880
|
+
}
|
|
881
|
+
) });
|
|
882
|
+
}
|
|
883
|
+
function G1(e) {
|
|
884
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
885
|
+
"path",
|
|
886
|
+
{
|
|
887
|
+
d: "M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z",
|
|
888
|
+
fill: "currentColor",
|
|
889
|
+
fillRule: "evenodd",
|
|
890
|
+
clipRule: "evenodd"
|
|
891
|
+
}
|
|
892
|
+
) });
|
|
893
|
+
}
|
|
894
|
+
function U1(e) {
|
|
895
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
896
|
+
"path",
|
|
897
|
+
{
|
|
898
|
+
d: "M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",
|
|
899
|
+
fill: "currentColor",
|
|
900
|
+
fillRule: "evenodd",
|
|
901
|
+
clipRule: "evenodd"
|
|
902
|
+
}
|
|
903
|
+
) });
|
|
904
|
+
}
|
|
905
|
+
function K1(e) {
|
|
906
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
907
|
+
"path",
|
|
908
|
+
{
|
|
909
|
+
d: "M6.1584 3.13508C5.95694 3.32394 5.94673 3.64036 6.13559 3.84182L9.56499 7.49991L6.13559 11.158C5.94673 11.3595 5.95694 11.6759 6.1584 11.8647C6.35986 12.0536 6.67628 12.0434 6.86514 11.8419L10.6151 7.84182C10.7954 7.64946 10.7954 7.35036 10.6151 7.158L6.86514 3.15801C6.67628 2.95655 6.35986 2.94634 6.1584 3.13508Z",
|
|
910
|
+
fill: "currentColor",
|
|
911
|
+
fillRule: "evenodd",
|
|
912
|
+
clipRule: "evenodd"
|
|
913
|
+
}
|
|
914
|
+
) });
|
|
915
|
+
}
|
|
916
|
+
function X1(e) {
|
|
917
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
918
|
+
"path",
|
|
919
|
+
{
|
|
920
|
+
d: "M8.84182 3.13508C9.04328 3.32394 9.05348 3.64036 8.86462 3.84182L5.43523 7.49991L8.86462 11.158C9.05348 11.3595 9.04328 11.6759 8.84182 11.8647C8.64036 12.0536 8.32394 12.0434 8.13508 11.8419L4.38508 7.84182C4.20477 7.64946 4.20477 7.35036 4.38508 7.158L8.13508 3.15801C8.32394 2.95655 8.64036 2.94634 8.84182 3.13508Z",
|
|
921
|
+
fill: "currentColor",
|
|
922
|
+
fillRule: "evenodd",
|
|
923
|
+
clipRule: "evenodd"
|
|
924
|
+
}
|
|
925
|
+
) });
|
|
926
|
+
}
|
|
927
|
+
function Y1(e) {
|
|
928
|
+
return /* @__PURE__ */ r("svg", { ...b, ...e, children: /* @__PURE__ */ r(
|
|
929
|
+
"path",
|
|
930
|
+
{
|
|
931
|
+
d: "M3 2.5C3 2.22386 3.22386 2 3.5 2H11.5C11.7761 2 12 2.22386 12 2.5V13.5C12 13.6818 11.9014 13.8492 11.7424 13.9373C11.5834 14.0254 11.3891 14.0203 11.235 13.924L7.5 11.5896L3.765 13.924C3.61087 14.0203 3.41659 14.0254 3.25762 13.9373C3.09864 13.8492 3 13.6818 3 13.5V2.5ZM4 3V12.5979L6.97 10.7416C7.29427 10.539 7.70573 10.539 8.03 10.7416L11 12.5979V3H4Z",
|
|
932
|
+
fill: "currentColor",
|
|
933
|
+
fillRule: "evenodd",
|
|
934
|
+
clipRule: "evenodd"
|
|
935
|
+
}
|
|
936
|
+
) });
|
|
937
|
+
}
|
|
938
|
+
function No(e) {
|
|
939
|
+
return /* @__PURE__ */ r("svg", { viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", ...e, children: /* @__PURE__ */ r(
|
|
940
|
+
"path",
|
|
941
|
+
{
|
|
942
|
+
d: "M11.8 3.2a.6.6 0 0 0-.85 0L7.5 6.65 4.05 3.2a.6.6 0 1 0-.85.85L6.65 7.5 3.2 10.95a.6.6 0 1 0 .85.85L7.5 8.35l3.45 3.45a.6.6 0 0 0 .85-.85L8.35 7.5l3.45-3.45a.6.6 0 0 0 0-.85Z",
|
|
943
|
+
fill: "currentColor"
|
|
944
|
+
}
|
|
945
|
+
) });
|
|
946
|
+
}
|
|
947
|
+
const To = "_dialog_1qqku_2", Ho = "_inner_1qqku_34", jo = "_size4_1qqku_39", Oo = "_title_1qqku_43", Eo = "_closeX_1qqku_51", G = {
|
|
948
|
+
dialog: To,
|
|
949
|
+
inner: Ho,
|
|
950
|
+
size4: jo,
|
|
951
|
+
title: Oo,
|
|
952
|
+
closeX: Eo
|
|
953
|
+
};
|
|
954
|
+
let J = 0;
|
|
955
|
+
const xe = q(null), P = () => {
|
|
956
|
+
const e = x(xe);
|
|
957
|
+
if (!e) throw new Error("Dialog parts must be inside Dialog.Root");
|
|
958
|
+
return e;
|
|
959
|
+
};
|
|
960
|
+
function ce(e) {
|
|
961
|
+
return function({ open: o, onOpenChange: s, children: t }) {
|
|
962
|
+
const [l, i] = R(!1), c = o !== void 0, _ = c ? o : l, d = (C) => {
|
|
963
|
+
c || i(C), s == null || s(C);
|
|
964
|
+
}, a = L(), p = L(), [u, f] = R(!1);
|
|
965
|
+
return /* @__PURE__ */ r(xe.Provider, { value: { open: _, setOpen: d, titleId: a, descId: p, alert: e, hasDesc: u, setHasDesc: f }, children: t });
|
|
966
|
+
};
|
|
967
|
+
}
|
|
968
|
+
const Po = ce(!1), qe = (e, n) => {
|
|
969
|
+
if (!M(e)) return e;
|
|
970
|
+
const o = e;
|
|
971
|
+
return X(o, {
|
|
972
|
+
onClick: (s) => {
|
|
973
|
+
var t, l;
|
|
974
|
+
(l = (t = o.props).onClick) == null || l.call(t, s), n();
|
|
975
|
+
}
|
|
976
|
+
});
|
|
977
|
+
};
|
|
978
|
+
function ke({
|
|
979
|
+
children: e
|
|
980
|
+
}) {
|
|
981
|
+
const n = P();
|
|
982
|
+
return /* @__PURE__ */ r(U, { children: qe(e, () => n.setOpen(!0)) });
|
|
983
|
+
}
|
|
984
|
+
function ae({
|
|
985
|
+
children: e
|
|
986
|
+
}) {
|
|
987
|
+
const n = P();
|
|
988
|
+
return /* @__PURE__ */ r(U, { children: qe(e, () => n.setOpen(!1)) });
|
|
989
|
+
}
|
|
990
|
+
function ze({ size: e = "3", maxWidth: n, className: o, style: s, children: t, ...l }) {
|
|
991
|
+
const i = P(), c = w(null), _ = w(!1), d = w(!1);
|
|
992
|
+
return O(() => {
|
|
993
|
+
const a = c.current;
|
|
994
|
+
a && (i.open && !a.open ? a.showModal() : !i.open && a.open && a.close());
|
|
995
|
+
}, [i.open]), O(() => {
|
|
996
|
+
if (i.open)
|
|
997
|
+
return J += 1, J === 1 && (document.body.style.overflow = "hidden"), () => {
|
|
998
|
+
J -= 1, J === 0 && (document.body.style.overflow = "");
|
|
999
|
+
};
|
|
1000
|
+
}, [i.open]), /* @__PURE__ */ r(
|
|
1001
|
+
"dialog",
|
|
1002
|
+
{
|
|
1003
|
+
...l,
|
|
1004
|
+
ref: c,
|
|
1005
|
+
role: i.alert ? "alertdialog" : void 0,
|
|
1006
|
+
"aria-labelledby": i.titleId,
|
|
1007
|
+
"aria-describedby": i.hasDesc ? i.descId : void 0,
|
|
1008
|
+
className: g(G.dialog, "spDialog", e === "4" && G.size4, o),
|
|
1009
|
+
style: { ...n ? { maxWidth: n } : null, ...s },
|
|
1010
|
+
onKeyDownCapture: (a) => {
|
|
1011
|
+
var p, u;
|
|
1012
|
+
a.key === "Escape" && ((p = c.current) != null && p.querySelector("dialog[open]") || (u = c.current) != null && u.querySelector('[role="listbox"]:not([hidden])') && (_.current = !0));
|
|
1013
|
+
},
|
|
1014
|
+
onCancel: (a) => {
|
|
1015
|
+
if (a.preventDefault(), _.current) {
|
|
1016
|
+
_.current = !1;
|
|
1017
|
+
return;
|
|
1018
|
+
}
|
|
1019
|
+
i.setOpen(!1);
|
|
1020
|
+
},
|
|
1021
|
+
onClose: () => {
|
|
1022
|
+
i.open && i.setOpen(!1);
|
|
1023
|
+
},
|
|
1024
|
+
onPointerDown: (a) => {
|
|
1025
|
+
d.current = a.target === c.current;
|
|
1026
|
+
},
|
|
1027
|
+
onClick: (a) => {
|
|
1028
|
+
!i.alert && a.target === c.current && d.current && i.setOpen(!1);
|
|
1029
|
+
},
|
|
1030
|
+
children: /* @__PURE__ */ $("div", { className: G.inner, children: [
|
|
1031
|
+
!i.alert && /* @__PURE__ */ r(
|
|
1032
|
+
"button",
|
|
1033
|
+
{
|
|
1034
|
+
type: "button",
|
|
1035
|
+
className: G.closeX,
|
|
1036
|
+
"aria-label": "Close",
|
|
1037
|
+
onClick: () => i.setOpen(!1),
|
|
1038
|
+
children: /* @__PURE__ */ r(No, { width: 16, height: 16 })
|
|
1039
|
+
}
|
|
1040
|
+
),
|
|
1041
|
+
t
|
|
1042
|
+
] })
|
|
1043
|
+
}
|
|
1044
|
+
);
|
|
1045
|
+
}
|
|
1046
|
+
function Le({ className: e, ...n }) {
|
|
1047
|
+
const o = P();
|
|
1048
|
+
return /* @__PURE__ */ r(gt, { as: "h2", size: "5", ...n, id: o.titleId, className: g(G.title, e) });
|
|
1049
|
+
}
|
|
1050
|
+
function Me(e) {
|
|
1051
|
+
const n = P(), { setHasDesc: o } = n;
|
|
1052
|
+
return ee(() => (o(!0), () => o(!1)), [o]), /* @__PURE__ */ r(rt, { as: "p", ...e, id: n.descId });
|
|
1053
|
+
}
|
|
1054
|
+
const Q1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1055
|
+
__proto__: null,
|
|
1056
|
+
Close: ae,
|
|
1057
|
+
Content: ze,
|
|
1058
|
+
Description: Me,
|
|
1059
|
+
Root: Po,
|
|
1060
|
+
Title: Le,
|
|
1061
|
+
Trigger: ke,
|
|
1062
|
+
makeRoot: ce,
|
|
1063
|
+
useDialog: P
|
|
1064
|
+
}, Symbol.toStringTag, { value: "Module" })), Vo = ce(!0), Zo = ke, Ao = ze, Bo = Le, Wo = Me, Fo = ae, Go = ae, J1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1065
|
+
__proto__: null,
|
|
1066
|
+
Action: Go,
|
|
1067
|
+
Cancel: Fo,
|
|
1068
|
+
Content: Ao,
|
|
1069
|
+
Description: Wo,
|
|
1070
|
+
Root: Vo,
|
|
1071
|
+
Title: Bo,
|
|
1072
|
+
Trigger: Zo
|
|
1073
|
+
}, Symbol.toStringTag, { value: "Module" })), Uo = "_menu_1hwyv_1", Ko = "_label_1hwyv_16", Xo = "_item_1hwyv_26", Yo = "_danger_1hwyv_45", Qo = "_separator_1hwyv_49", K = {
|
|
1074
|
+
menu: Uo,
|
|
1075
|
+
label: Ko,
|
|
1076
|
+
item: Xo,
|
|
1077
|
+
danger: Yo,
|
|
1078
|
+
separator: Qo
|
|
1079
|
+
}, De = q(null), ue = () => {
|
|
1080
|
+
const e = x(De);
|
|
1081
|
+
if (!e) throw new Error("DropdownMenu parts must be inside DropdownMenu.Root");
|
|
1082
|
+
return e;
|
|
1083
|
+
}, Ie = q(null), Se = () => {
|
|
1084
|
+
const e = x(Ie);
|
|
1085
|
+
if (!e) throw new Error("DropdownMenu parts must be inside DropdownMenu.Root");
|
|
1086
|
+
return e;
|
|
1087
|
+
}, Ne = q(null), Jo = () => {
|
|
1088
|
+
const e = x(Ne);
|
|
1089
|
+
if (!e) throw new Error("DropdownMenu parts must be inside DropdownMenu.Root");
|
|
1090
|
+
return e;
|
|
1091
|
+
}, Te = q(null), He = () => {
|
|
1092
|
+
const e = x(Te);
|
|
1093
|
+
if (!e) throw new Error("DropdownMenu parts must be inside DropdownMenu.Root");
|
|
1094
|
+
return e;
|
|
1095
|
+
}, je = q(null), Oe = () => {
|
|
1096
|
+
const e = x(je);
|
|
1097
|
+
if (!e) throw new Error("DropdownMenu parts must be inside DropdownMenu.Root");
|
|
1098
|
+
return e;
|
|
1099
|
+
};
|
|
1100
|
+
function e1(e) {
|
|
1101
|
+
return e.current ? (e.current = !1, !0) : !1;
|
|
1102
|
+
}
|
|
1103
|
+
function me(e) {
|
|
1104
|
+
e.current = !0;
|
|
1105
|
+
}
|
|
1106
|
+
function t1({
|
|
1107
|
+
children: e
|
|
1108
|
+
}) {
|
|
1109
|
+
const [n, o] = R(!1), s = L(), t = w(null), l = w(null), i = w(!1), c = w(!1);
|
|
1110
|
+
return /* @__PURE__ */ r(De.Provider, { value: { open: n, setOpen: o, menuId: s }, children: /* @__PURE__ */ r(Ie.Provider, { value: t, children: /* @__PURE__ */ r(Ne.Provider, { value: l, children: /* @__PURE__ */ r(Te.Provider, { value: i, children: /* @__PURE__ */ r(je.Provider, { value: c, children: e }) }) }) }) });
|
|
1111
|
+
}
|
|
1112
|
+
function n1({
|
|
1113
|
+
children: e
|
|
1114
|
+
}) {
|
|
1115
|
+
const n = ue(), o = Se(), s = He();
|
|
1116
|
+
if (!M(e)) return null;
|
|
1117
|
+
const t = e;
|
|
1118
|
+
return X(t, {
|
|
1119
|
+
ref: o,
|
|
1120
|
+
"aria-haspopup": "menu",
|
|
1121
|
+
"aria-expanded": n.open,
|
|
1122
|
+
"aria-controls": n.menuId,
|
|
1123
|
+
onClick: (l) => {
|
|
1124
|
+
var i, c;
|
|
1125
|
+
(c = (i = t.props).onClick) == null || c.call(i, l), !e1(s) && n.setOpen(!n.open);
|
|
1126
|
+
}
|
|
1127
|
+
});
|
|
1128
|
+
}
|
|
1129
|
+
function o1({
|
|
1130
|
+
align: e = "start",
|
|
1131
|
+
children: n
|
|
1132
|
+
}) {
|
|
1133
|
+
const o = ue(), s = Se(), t = Jo(), l = He(), i = Oe(), [c, _] = R(null);
|
|
1134
|
+
return ee(() => {
|
|
1135
|
+
var a;
|
|
1136
|
+
const d = t.current;
|
|
1137
|
+
if (d)
|
|
1138
|
+
if (o.open) {
|
|
1139
|
+
const p = s.current;
|
|
1140
|
+
if (p) {
|
|
1141
|
+
const u = p.getBoundingClientRect(), f = e === "end" ? "auto" : u.left, C = e === "end" ? window.innerWidth - u.right : "auto";
|
|
1142
|
+
_({ top: u.bottom + 6, left: f, right: C });
|
|
1143
|
+
}
|
|
1144
|
+
d.showPopover(), (a = d.querySelector('[role="menuitem"]')) == null || a.focus();
|
|
1145
|
+
} else d.matches(":popover-open") && d.hidePopover();
|
|
1146
|
+
}, [o.open, e, t, s]), O(() => {
|
|
1147
|
+
if (!o.open) return;
|
|
1148
|
+
const d = o.setOpen, a = () => d(!1);
|
|
1149
|
+
return window.addEventListener("resize", a), () => window.removeEventListener("resize", a);
|
|
1150
|
+
}, [o.open, o.setOpen]), /* @__PURE__ */ r(
|
|
1151
|
+
"div",
|
|
1152
|
+
{
|
|
1153
|
+
ref: t,
|
|
1154
|
+
id: o.menuId,
|
|
1155
|
+
role: "menu",
|
|
1156
|
+
popover: "auto",
|
|
1157
|
+
className: K.menu,
|
|
1158
|
+
style: c ? {
|
|
1159
|
+
top: c.top,
|
|
1160
|
+
left: c.left === "auto" ? "auto" : c.left,
|
|
1161
|
+
right: c.right === "auto" ? "auto" : c.right
|
|
1162
|
+
} : void 0,
|
|
1163
|
+
onToggle: (d) => {
|
|
1164
|
+
if (d.nativeEvent.newState === "closed") {
|
|
1165
|
+
const a = i.current;
|
|
1166
|
+
i.current = !1, a || (l.current = !0, setTimeout(() => {
|
|
1167
|
+
l.current = !1;
|
|
1168
|
+
}, 300)), o.open && o.setOpen(!1);
|
|
1169
|
+
}
|
|
1170
|
+
},
|
|
1171
|
+
onKeyDown: (d) => {
|
|
1172
|
+
var u, f, C, m, h, v;
|
|
1173
|
+
const a = Array.from(
|
|
1174
|
+
((u = t.current) == null ? void 0 : u.querySelectorAll('[role="menuitem"]')) ?? []
|
|
1175
|
+
), p = a.indexOf(document.activeElement);
|
|
1176
|
+
d.key === "ArrowDown" ? (d.preventDefault(), (f = a[Math.min(p + 1, a.length - 1)]) == null || f.focus()) : d.key === "ArrowUp" ? (d.preventDefault(), (C = a[Math.max(p - 1, 0)]) == null || C.focus()) : d.key === "Home" ? (d.preventDefault(), (m = a[0]) == null || m.focus()) : d.key === "End" ? (d.preventDefault(), (h = a[a.length - 1]) == null || h.focus()) : d.key === "Escape" && (o.setOpen(!1), (v = s.current) == null || v.focus());
|
|
1177
|
+
},
|
|
1178
|
+
children: n
|
|
1179
|
+
}
|
|
1180
|
+
);
|
|
1181
|
+
}
|
|
1182
|
+
function r1({
|
|
1183
|
+
children: e
|
|
1184
|
+
}) {
|
|
1185
|
+
return /* @__PURE__ */ r("div", { className: K.label, children: e });
|
|
1186
|
+
}
|
|
1187
|
+
function s1({ asChild: e, color: n, onSelect: o, children: s }) {
|
|
1188
|
+
const t = ue(), l = Oe(), i = g(K.item, n === "danger" && K.danger), c = () => {
|
|
1189
|
+
me(l), t.setOpen(!1), o == null || o();
|
|
1190
|
+
};
|
|
1191
|
+
if (e && M(s)) {
|
|
1192
|
+
const _ = s, {
|
|
1193
|
+
className: d,
|
|
1194
|
+
onClick: a,
|
|
1195
|
+
children: p,
|
|
1196
|
+
role: u,
|
|
1197
|
+
tabIndex: f,
|
|
1198
|
+
...C
|
|
1199
|
+
} = _.props, m = _.ref;
|
|
1200
|
+
return se(
|
|
1201
|
+
_.type,
|
|
1202
|
+
{
|
|
1203
|
+
key: _.key,
|
|
1204
|
+
ref: m,
|
|
1205
|
+
role: "menuitem",
|
|
1206
|
+
tabIndex: -1,
|
|
1207
|
+
...C,
|
|
1208
|
+
className: g(i, d),
|
|
1209
|
+
onClick: (h) => {
|
|
1210
|
+
a == null || a(h), me(l), t.setOpen(!1);
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
p
|
|
1214
|
+
);
|
|
1215
|
+
}
|
|
1216
|
+
return /* @__PURE__ */ r("button", { type: "button", role: "menuitem", tabIndex: -1, className: i, onClick: c, children: s });
|
|
1217
|
+
}
|
|
1218
|
+
function l1() {
|
|
1219
|
+
return /* @__PURE__ */ r("div", { role: "separator", className: K.separator });
|
|
1220
|
+
}
|
|
1221
|
+
const er = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1222
|
+
__proto__: null,
|
|
1223
|
+
Content: o1,
|
|
1224
|
+
Item: s1,
|
|
1225
|
+
Label: r1,
|
|
1226
|
+
Root: t1,
|
|
1227
|
+
Separator: l1,
|
|
1228
|
+
Trigger: n1
|
|
1229
|
+
}, Symbol.toStringTag, { value: "Module" })), i1 = "_list_19grf_19", c1 = "_trigger_19grf_28", Ee = {
|
|
1230
|
+
list: i1,
|
|
1231
|
+
trigger: c1
|
|
1232
|
+
}, Pe = q(null), Ve = () => {
|
|
1233
|
+
const e = x(Pe);
|
|
1234
|
+
if (!e) throw new Error("Tabs parts must be inside Tabs.Root");
|
|
1235
|
+
return e;
|
|
1236
|
+
};
|
|
1237
|
+
function a1({ value: e, onValueChange: n, className: o, children: s }) {
|
|
1238
|
+
const t = L();
|
|
1239
|
+
return /* @__PURE__ */ r(Pe.Provider, { value: { value: e, onValueChange: n, id: t }, children: /* @__PURE__ */ r("div", { className: o, children: s }) });
|
|
1240
|
+
}
|
|
1241
|
+
function u1({
|
|
1242
|
+
children: e
|
|
1243
|
+
}) {
|
|
1244
|
+
return /* @__PURE__ */ r(
|
|
1245
|
+
"div",
|
|
1246
|
+
{
|
|
1247
|
+
role: "tablist",
|
|
1248
|
+
className: g(Ee.list, "spTabsList"),
|
|
1249
|
+
onKeyDown: (n) => {
|
|
1250
|
+
const o = Array.from(
|
|
1251
|
+
n.currentTarget.querySelectorAll('[role="tab"]')
|
|
1252
|
+
), s = o.indexOf(document.activeElement);
|
|
1253
|
+
if (s !== -1) {
|
|
1254
|
+
if (n.key === "ArrowRight") {
|
|
1255
|
+
n.preventDefault();
|
|
1256
|
+
const t = o[(s + 1) % o.length];
|
|
1257
|
+
t.focus(), t.click();
|
|
1258
|
+
} else if (n.key === "ArrowLeft") {
|
|
1259
|
+
n.preventDefault();
|
|
1260
|
+
const t = o[(s - 1 + o.length) % o.length];
|
|
1261
|
+
t.focus(), t.click();
|
|
1262
|
+
} else if (n.key === "Home") {
|
|
1263
|
+
n.preventDefault();
|
|
1264
|
+
const t = o[0];
|
|
1265
|
+
t.focus(), t.click();
|
|
1266
|
+
} else if (n.key === "End") {
|
|
1267
|
+
n.preventDefault();
|
|
1268
|
+
const t = o[o.length - 1];
|
|
1269
|
+
t.focus(), t.click();
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
},
|
|
1273
|
+
children: e
|
|
1274
|
+
}
|
|
1275
|
+
);
|
|
1276
|
+
}
|
|
1277
|
+
function d1({ value: e, className: n, children: o, ...s }) {
|
|
1278
|
+
const t = Ve(), l = t.value === e;
|
|
1279
|
+
return /* @__PURE__ */ r(
|
|
1280
|
+
"button",
|
|
1281
|
+
{
|
|
1282
|
+
...s,
|
|
1283
|
+
type: "button",
|
|
1284
|
+
role: "tab",
|
|
1285
|
+
id: `${t.id}-tab-${e}`,
|
|
1286
|
+
"aria-selected": l,
|
|
1287
|
+
"aria-controls": `${t.id}-panel-${e}`,
|
|
1288
|
+
tabIndex: l ? 0 : -1,
|
|
1289
|
+
"data-state": l ? "active" : "inactive",
|
|
1290
|
+
className: g(Ee.trigger, "spTabsTrigger", n),
|
|
1291
|
+
onClick: () => t.onValueChange(e),
|
|
1292
|
+
children: o
|
|
1293
|
+
}
|
|
1294
|
+
);
|
|
1295
|
+
}
|
|
1296
|
+
function _1({
|
|
1297
|
+
value: e,
|
|
1298
|
+
children: n
|
|
1299
|
+
}) {
|
|
1300
|
+
const o = Ve();
|
|
1301
|
+
return o.value !== e ? null : /* @__PURE__ */ r("div", { role: "tabpanel", id: `${o.id}-panel-${e}`, "aria-labelledby": `${o.id}-tab-${e}`, children: n });
|
|
1302
|
+
}
|
|
1303
|
+
const tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1304
|
+
__proto__: null,
|
|
1305
|
+
Content: _1,
|
|
1306
|
+
List: u1,
|
|
1307
|
+
Root: a1,
|
|
1308
|
+
Trigger: d1
|
|
1309
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
1310
|
+
export {
|
|
1311
|
+
J1 as AlertDialog,
|
|
1312
|
+
b1 as Badge,
|
|
1313
|
+
Y1 as BookmarkIcon,
|
|
1314
|
+
h1 as Box,
|
|
1315
|
+
R1 as Button,
|
|
1316
|
+
y1 as Card,
|
|
1317
|
+
N1 as ChatBubbleIcon,
|
|
1318
|
+
P1 as CheckIcon,
|
|
1319
|
+
U1 as ChevronDownIcon,
|
|
1320
|
+
X1 as ChevronLeftIcon,
|
|
1321
|
+
K1 as ChevronRightIcon,
|
|
1322
|
+
G1 as ChevronUpIcon,
|
|
1323
|
+
Q1 as Dialog,
|
|
1324
|
+
er as DropdownMenu,
|
|
1325
|
+
E1 as EnterFullScreenIcon,
|
|
1326
|
+
O1 as ExitFullScreenIcon,
|
|
1327
|
+
m1 as Flex,
|
|
1328
|
+
v1 as Grid,
|
|
1329
|
+
gt as Heading,
|
|
1330
|
+
j1 as HeartFilledIcon,
|
|
1331
|
+
F1 as HeartIcon,
|
|
1332
|
+
q1 as IconToggle,
|
|
1333
|
+
C1 as Link,
|
|
1334
|
+
x1 as Loader,
|
|
1335
|
+
W1 as MagnifyingGlassIcon,
|
|
1336
|
+
B1 as MinusIcon,
|
|
1337
|
+
H1 as Pencil1Icon,
|
|
1338
|
+
A1 as PersonIcon,
|
|
1339
|
+
T1 as PlusIcon,
|
|
1340
|
+
I1 as Progress,
|
|
1341
|
+
Z1 as QuestionMarkCircledIcon,
|
|
1342
|
+
D1 as RadioGroup,
|
|
1343
|
+
$1 as ScrollArea,
|
|
1344
|
+
k1 as Select,
|
|
1345
|
+
w1 as Separator,
|
|
1346
|
+
S1 as Share2Icon,
|
|
1347
|
+
M1 as Slider,
|
|
1348
|
+
tr as Tabs,
|
|
1349
|
+
rt as Text,
|
|
1350
|
+
L1 as TextArea,
|
|
1351
|
+
z1 as TextField,
|
|
1352
|
+
Yn as Tooltip,
|
|
1353
|
+
V1 as TrashIcon,
|
|
1354
|
+
No as XIcon
|
|
1355
|
+
};
|
|
1356
|
+
//# sourceMappingURL=index.js.map
|