@inkorange/space-ui 1.7.0 → 1.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { forwardRef as G, createElement as Ve, isValidElement as ve, cloneElement as Oe, useId as Q, useMemo as Ce, Children as Qe, useRef as R, useState as B, useCallback as de, useLayoutEffect as be, useEffect as U, createContext as we, useContext as ye } from "react";
3
- import { jsx as n, jsxs as z, Fragment as ue } from "react/jsx-runtime";
2
+ import { forwardRef as Q, createElement as Ke, isValidElement as ye, cloneElement as We, useId as ne, useMemo as xe, Children as ot, useRef as q, useState as V, useCallback as le, useLayoutEffect as ge, useEffect as X, createContext as $e, useContext as ke } from "react";
3
+ import { jsx as n, jsxs as I, Fragment as pe } from "react/jsx-runtime";
4
4
  const Le = {
5
5
  0: "0",
6
6
  1: "var(--spacing-xs)",
@@ -10,7 +10,7 @@ const Le = {
10
10
  5: "var(--spacing-lg)",
11
11
  6: "var(--spacing-xl)"
12
12
  };
13
- function le({ m: e, mt: t, mb: o, p: r, pb: s }, l) {
13
+ function de({ m: e, mt: t, mb: o, p: r, pb: s }, l) {
14
14
  const a = {
15
15
  ...e !== void 0 && { margin: Le[e] },
16
16
  ...t !== void 0 && { marginTop: Le[t] },
@@ -21,274 +21,274 @@ function le({ m: e, mt: t, mb: o, p: r, pb: s }, l) {
21
21
  };
22
22
  return Object.keys(a).length > 0 ? a : void 0;
23
23
  }
24
- function v(...e) {
24
+ function b(...e) {
25
25
  return e.filter(Boolean).join(" ");
26
26
  }
27
- const bt = "_text_4vcq4_1", wt = "_size1_4vcq4_5", yt = "_size2_4vcq4_11", xt = "_size3_4vcq4_16", Lt = "_size4_4vcq4_21", $t = "_size5_4vcq4_27", kt = "_size6_4vcq4_33", Nt = "_medium_4vcq4_39", Mt = "_bold_4vcq4_43", zt = "_colorMuted_4vcq4_47", Rt = "_colorDanger_4vcq4_51", Dt = "_colorSuccess_4vcq4_55", qt = "_colorWarning_4vcq4_59", He = {
28
- text: bt,
29
- size1: wt,
30
- size2: yt,
31
- size3: xt,
32
- size4: Lt,
33
- size5: $t,
34
- size6: kt,
35
- medium: Nt,
36
- bold: Mt,
37
- colorMuted: zt,
38
- colorDanger: Rt,
39
- colorSuccess: Dt,
40
- colorWarning: qt
41
- }, It = G(function({ as: t = "span", size: o, weight: r, color: s, className: l, style: a, m: d, mt: f, mb: p, p: i, pb: g, ...b }, w) {
42
- return Ve(t, {
43
- ...b,
44
- ref: w,
45
- className: v(
46
- He.text,
47
- o && He[`size${o}`],
48
- r && He[r],
49
- s && He[`color${s[0].toUpperCase()}${s.slice(1)}`],
27
+ const $t = "_text_4vcq4_1", kt = "_size1_4vcq4_5", Lt = "_size2_4vcq4_11", Mt = "_size3_4vcq4_16", Nt = "_size4_4vcq4_21", zt = "_size5_4vcq4_27", Rt = "_size6_4vcq4_33", Dt = "_medium_4vcq4_39", qt = "_bold_4vcq4_43", It = "_colorMuted_4vcq4_47", Et = "_colorDanger_4vcq4_51", Ht = "_colorSuccess_4vcq4_55", St = "_colorWarning_4vcq4_59", Te = {
28
+ text: $t,
29
+ size1: kt,
30
+ size2: Lt,
31
+ size3: Mt,
32
+ size4: Nt,
33
+ size5: zt,
34
+ size6: Rt,
35
+ medium: Dt,
36
+ bold: qt,
37
+ colorMuted: It,
38
+ colorDanger: Et,
39
+ colorSuccess: Ht,
40
+ colorWarning: St
41
+ }, Tt = Q(function({ as: t = "span", size: o, weight: r, color: s, className: l, style: a, m: d, mt: f, mb: p, p: i, pb: h, ...w }, $) {
42
+ return Ke(t, {
43
+ ...w,
44
+ ref: $,
45
+ className: b(
46
+ Te.text,
47
+ o && Te[`size${o}`],
48
+ r && Te[r],
49
+ s && Te[`color${s[0].toUpperCase()}${s.slice(1)}`],
50
50
  l
51
51
  ),
52
- style: le({ m: d, mt: f, mb: p, p: i, pb: g }, a)
52
+ style: de({ m: d, mt: f, mb: p, p: i, pb: h }, a)
53
53
  });
54
- }), Et = "_heading_vs4zk_1", Ht = "_size4_vs4zk_7", St = "_size5_vs4zk_13", Tt = "_size6_vs4zk_19", jt = "_size7_vs4zk_25", At = "_size8_vs4zk_31", Zt = "_size9_vs4zk_37", Ot = "_colorMuted_vs4zk_43", Bt = "_colorDanger_vs4zk_47", Wt = "_alignCenter_vs4zk_51", $e = {
55
- heading: Et,
56
- size4: Ht,
57
- size5: St,
58
- size6: Tt,
59
- size7: jt,
60
- size8: At,
61
- size9: Zt,
62
- colorMuted: Ot,
63
- colorDanger: Bt,
64
- alignCenter: Wt
65
- }, Vt = G(function({ as: t = "h2", size: o, color: r, align: s, className: l, style: a, m: d, mt: f, mb: p, p: i, pb: g, ...b }, w) {
66
- return Ve(t, {
67
- ...b,
68
- ref: w,
69
- className: v(
70
- $e.heading,
71
- o && $e[`size${o}`],
72
- r === "muted" && $e.colorMuted,
73
- r === "danger" && $e.colorDanger,
74
- s === "center" && $e.alignCenter,
54
+ }), At = "_heading_vs4zk_1", jt = "_size4_vs4zk_7", Zt = "_size5_vs4zk_13", Bt = "_size6_vs4zk_19", Ot = "_size7_vs4zk_25", Wt = "_size8_vs4zk_31", Ft = "_size9_vs4zk_37", Vt = "_colorMuted_vs4zk_43", Pt = "_colorDanger_vs4zk_47", Gt = "_alignCenter_vs4zk_51", Me = {
55
+ heading: At,
56
+ size4: jt,
57
+ size5: Zt,
58
+ size6: Bt,
59
+ size7: Ot,
60
+ size8: Wt,
61
+ size9: Ft,
62
+ colorMuted: Vt,
63
+ colorDanger: Pt,
64
+ alignCenter: Gt
65
+ }, Kt = Q(function({ as: t = "h2", size: o, color: r, align: s, className: l, style: a, m: d, mt: f, mb: p, p: i, pb: h, ...w }, $) {
66
+ return Ke(t, {
67
+ ...w,
68
+ ref: $,
69
+ className: b(
70
+ Me.heading,
71
+ o && Me[`size${o}`],
72
+ r === "muted" && Me.colorMuted,
73
+ r === "danger" && Me.colorDanger,
74
+ s === "center" && Me.alignCenter,
75
75
  l
76
76
  ),
77
- style: le({ m: d, mt: f, mb: p, p: i, pb: g }, a)
77
+ style: de({ m: d, mt: f, mb: p, p: i, pb: h }, a)
78
78
  });
79
- }), Ft = "_link_1qa7j_1", Pt = "_size1_1qa7j_10", Gt = "_size2_1qa7j_16", Kt = "_size3_1qa7j_21", Ge = {
80
- link: Ft,
81
- size1: Pt,
82
- size2: Gt,
83
- size3: Kt
84
- }, P1 = G(function({ asChild: t, size: o, className: r, style: s, m: l, mt: a, mb: d, p: f, pb: p, children: i, ...g }, b) {
85
- const w = v(Ge.link, o && Ge[`size${o}`], r), _ = le({ m: l, mt: a, mb: d, p: f, pb: p }, s);
86
- if (t && ve(i)) {
79
+ }), Ut = "_link_1qa7j_1", Xt = "_size1_1qa7j_10", Yt = "_size2_1qa7j_16", Qt = "_size3_1qa7j_21", Ye = {
80
+ link: Ut,
81
+ size1: Xt,
82
+ size2: Yt,
83
+ size3: Qt
84
+ }, Xs = Q(function({ asChild: t, size: o, className: r, style: s, m: l, mt: a, mb: d, p: f, pb: p, children: i, ...h }, w) {
85
+ const $ = b(Ye.link, o && Ye[`size${o}`], r), _ = de({ m: l, mt: a, mb: d, p: f, pb: p }, s);
86
+ if (t && ye(i)) {
87
87
  const C = i;
88
- return Oe(C, {
89
- ...g,
90
- className: v(w, C.props.className),
88
+ return We(C, {
89
+ ...h,
90
+ className: b($, C.props.className),
91
91
  style: { ..._, ...C.props.style }
92
92
  });
93
93
  }
94
- return /* @__PURE__ */ n("a", { ...g, ref: b, className: w, style: _, children: i });
95
- }), Ut = "_flex_v4ziu_1", Xt = "_gap1_v4ziu_5", Yt = "_gap2_v4ziu_9", Qt = "_gap3_v4ziu_13", Jt = "_gap4_v4ziu_17", en = "_gap5_v4ziu_21", tn = "_gap6_v4ziu_25", nn = "_directionRow_v4ziu_29", on = "_directionColumn_v4ziu_33", rn = "_alignStart_v4ziu_37", sn = "_alignCenter_v4ziu_41", ln = "_alignEnd_v4ziu_45", an = "_alignBaseline_v4ziu_49", cn = "_alignStretch_v4ziu_53", dn = "_justifyStart_v4ziu_57", un = "_justifyCenter_v4ziu_61", fn = "_justifyEnd_v4ziu_65", _n = "_justifyBetween_v4ziu_69", pn = "_wrapWrap_v4ziu_73", gn = "_wrapNowrap_v4ziu_77", pe = {
96
- flex: Ut,
97
- gap1: Xt,
98
- gap2: Yt,
99
- gap3: Qt,
100
- gap4: Jt,
101
- gap5: en,
102
- gap6: tn,
103
- directionRow: nn,
104
- directionColumn: on,
105
- alignStart: rn,
106
- alignCenter: sn,
107
- alignEnd: ln,
108
- alignBaseline: an,
109
- alignStretch: cn,
110
- justifyStart: dn,
111
- justifyCenter: un,
112
- justifyEnd: fn,
113
- justifyBetween: _n,
114
- wrapWrap: pn,
115
- wrapNowrap: gn
116
- }, Se = (e) => e[0].toUpperCase() + e.slice(1), G1 = G(function({ asChild: t, gap: o, direction: r, align: s, justify: l, wrap: a, className: d, style: f, m: p, mt: i, mb: g, p: b, pb: w, children: _, ...C }, $) {
117
- const M = v(
118
- pe.flex,
119
- o && pe[`gap${o}`],
120
- r && pe[`direction${Se(r)}`],
121
- s && pe[`align${Se(s)}`],
122
- l && pe[`justify${Se(l)}`],
123
- a && pe[`wrap${Se(a)}`],
94
+ return /* @__PURE__ */ n("a", { ...h, ref: w, className: $, style: _, children: i });
95
+ }), Jt = "_flex_v4ziu_1", en = "_gap1_v4ziu_5", tn = "_gap2_v4ziu_9", nn = "_gap3_v4ziu_13", on = "_gap4_v4ziu_17", rn = "_gap5_v4ziu_21", sn = "_gap6_v4ziu_25", ln = "_directionRow_v4ziu_29", an = "_directionColumn_v4ziu_33", cn = "_alignStart_v4ziu_37", dn = "_alignCenter_v4ziu_41", un = "_alignEnd_v4ziu_45", fn = "_alignBaseline_v4ziu_49", _n = "_alignStretch_v4ziu_53", pn = "_justifyStart_v4ziu_57", gn = "_justifyCenter_v4ziu_61", mn = "_justifyEnd_v4ziu_65", hn = "_justifyBetween_v4ziu_69", Cn = "_wrapWrap_v4ziu_73", vn = "_wrapNowrap_v4ziu_77", he = {
96
+ flex: Jt,
97
+ gap1: en,
98
+ gap2: tn,
99
+ gap3: nn,
100
+ gap4: on,
101
+ gap5: rn,
102
+ gap6: sn,
103
+ directionRow: ln,
104
+ directionColumn: an,
105
+ alignStart: cn,
106
+ alignCenter: dn,
107
+ alignEnd: un,
108
+ alignBaseline: fn,
109
+ alignStretch: _n,
110
+ justifyStart: pn,
111
+ justifyCenter: gn,
112
+ justifyEnd: mn,
113
+ justifyBetween: hn,
114
+ wrapWrap: Cn,
115
+ wrapNowrap: vn
116
+ }, Ae = (e) => e[0].toUpperCase() + e.slice(1), Ys = Q(function({ asChild: t, gap: o, direction: r, align: s, justify: l, wrap: a, className: d, style: f, m: p, mt: i, mb: h, p: w, pb: $, children: _, ...C }, L) {
117
+ const R = b(
118
+ he.flex,
119
+ o && he[`gap${o}`],
120
+ r && he[`direction${Ae(r)}`],
121
+ s && he[`align${Ae(s)}`],
122
+ l && he[`justify${Ae(l)}`],
123
+ a && he[`wrap${Ae(a)}`],
124
124
  d
125
- ), k = le({ m: p, mt: i, mb: g, p: b, pb: w }, f);
126
- if (t && ve(_)) {
127
- const j = _;
128
- return Oe(j, {
125
+ ), N = de({ m: p, mt: i, mb: h, p: w, pb: $ }, f);
126
+ if (t && ye(_)) {
127
+ const Z = _;
128
+ return We(Z, {
129
129
  ...C,
130
- className: v(M, j.props.className),
131
- style: { ...k, ...j.props.style }
130
+ className: b(R, Z.props.className),
131
+ style: { ...N, ...Z.props.style }
132
132
  });
133
133
  }
134
- return /* @__PURE__ */ n("div", { ...C, ref: $, className: M, style: k, children: _ });
135
- }), K1 = G(function({ style: t, m: o, mt: r, mb: s, p: l, pb: a, ...d }, f) {
136
- return /* @__PURE__ */ n("div", { ...d, ref: f, style: le({ m: o, mt: r, mb: s, p: l, pb: a }, t) });
137
- }), mn = "_grid_erpqq_1", hn = "_cols1_erpqq_5", Cn = "_cols2_erpqq_9", vn = "_cols3_erpqq_13", bn = "_smCols2_erpqq_18", wn = "_smCols3_erpqq_21", yn = "_mdCols2_erpqq_26", xn = "_mdCols3_erpqq_29", Ln = "_gap1_erpqq_33", $n = "_gap2_erpqq_37", kn = "_gap3_erpqq_41", Nn = "_gap4_erpqq_45", Mn = "_gap5_erpqq_49", zn = "_gap6_erpqq_53", ge = {
138
- grid: mn,
139
- cols1: hn,
140
- cols2: Cn,
141
- cols3: vn,
142
- smCols2: bn,
143
- smCols3: wn,
144
- mdCols2: yn,
145
- mdCols3: xn,
146
- gap1: Ln,
147
- gap2: $n,
148
- gap3: kn,
149
- gap4: Nn,
150
- gap5: Mn,
151
- gap6: zn
152
- }, U1 = G(function({ columns: t, gap: o, className: r, style: s, m: l, mt: a, mb: d, p: f, pb: p, ...i }, g) {
153
- const b = typeof t == "string" ? [ge[`cols${t}`]] : t ? [
154
- t.initial && ge[`cols${t.initial}`],
155
- t.sm && ge[`smCols${t.sm}`],
156
- t.md && ge[`mdCols${t.md}`]
134
+ return /* @__PURE__ */ n("div", { ...C, ref: L, className: R, style: N, children: _ });
135
+ }), Qs = Q(function({ style: t, m: o, mt: r, mb: s, p: l, pb: a, ...d }, f) {
136
+ return /* @__PURE__ */ n("div", { ...d, ref: f, style: de({ m: o, mt: r, mb: s, p: l, pb: a }, t) });
137
+ }), bn = "_grid_erpqq_1", wn = "_cols1_erpqq_5", xn = "_cols2_erpqq_9", yn = "_cols3_erpqq_13", $n = "_smCols2_erpqq_18", kn = "_smCols3_erpqq_21", Ln = "_mdCols2_erpqq_26", Mn = "_mdCols3_erpqq_29", Nn = "_gap1_erpqq_33", zn = "_gap2_erpqq_37", Rn = "_gap3_erpqq_41", Dn = "_gap4_erpqq_45", qn = "_gap5_erpqq_49", In = "_gap6_erpqq_53", Ce = {
138
+ grid: bn,
139
+ cols1: wn,
140
+ cols2: xn,
141
+ cols3: yn,
142
+ smCols2: $n,
143
+ smCols3: kn,
144
+ mdCols2: Ln,
145
+ mdCols3: Mn,
146
+ gap1: Nn,
147
+ gap2: zn,
148
+ gap3: Rn,
149
+ gap4: Dn,
150
+ gap5: qn,
151
+ gap6: In
152
+ }, Js = Q(function({ columns: t, gap: o, className: r, style: s, m: l, mt: a, mb: d, p: f, pb: p, ...i }, h) {
153
+ const w = typeof t == "string" ? [Ce[`cols${t}`]] : t ? [
154
+ t.initial && Ce[`cols${t.initial}`],
155
+ t.sm && Ce[`smCols${t.sm}`],
156
+ t.md && Ce[`mdCols${t.md}`]
157
157
  ] : [];
158
158
  return /* @__PURE__ */ n(
159
159
  "div",
160
160
  {
161
161
  ...i,
162
- ref: g,
163
- className: v(ge.grid, ...b, o && ge[`gap${o}`], r),
164
- style: le({ m: l, mt: a, mb: d, p: f, pb: p }, s)
162
+ ref: h,
163
+ className: b(Ce.grid, ...w, o && Ce[`gap${o}`], r),
164
+ style: de({ m: l, mt: a, mb: d, p: f, pb: p }, s)
165
165
  }
166
166
  );
167
- }), Rn = "_badge_1twqf_2", Dn = "_size1_1twqf_10", qn = "_size2_1twqf_19", In = "_colorMuted_1twqf_28", En = "_colorPrimary_1twqf_33", Hn = "_colorSuccess_1twqf_38", Sn = "_colorDanger_1twqf_43", Tn = "_colorWarning_1twqf_48", jn = "_colorCyan_1twqf_53", An = "_colorPurple_1twqf_58", Zn = "_colorOrange_1twqf_63", On = "_colorAccent_1twqf_68", Bn = "_colorYellow_1twqf_73", Wn = "_solid_1twqf_81", Vn = "_wrap_1twqf_89", ke = {
168
- badge: Rn,
169
- size1: Dn,
170
- size2: qn,
171
- colorMuted: In,
172
- colorPrimary: En,
173
- colorSuccess: Hn,
174
- colorDanger: Sn,
175
- colorWarning: Tn,
176
- colorCyan: jn,
177
- colorPurple: An,
178
- colorOrange: Zn,
179
- colorAccent: On,
180
- colorYellow: Bn,
181
- solid: Wn,
182
- wrap: Vn
183
- }, Fn = (e) => e[0].toUpperCase() + e.slice(1), X1 = G(function({ color: t = "primary", variant: o = "soft", size: r = "1", wrap: s, className: l, style: a, m: d, mt: f, mb: p, p: i, pb: g, ...b }, w) {
167
+ }), En = "_badge_1twqf_2", Hn = "_size1_1twqf_10", Sn = "_size2_1twqf_19", Tn = "_colorMuted_1twqf_28", An = "_colorPrimary_1twqf_33", jn = "_colorSuccess_1twqf_38", Zn = "_colorDanger_1twqf_43", Bn = "_colorWarning_1twqf_48", On = "_colorCyan_1twqf_53", Wn = "_colorPurple_1twqf_58", Fn = "_colorOrange_1twqf_63", Vn = "_colorAccent_1twqf_68", Pn = "_colorYellow_1twqf_73", Gn = "_solid_1twqf_81", Kn = "_wrap_1twqf_89", Ne = {
168
+ badge: En,
169
+ size1: Hn,
170
+ size2: Sn,
171
+ colorMuted: Tn,
172
+ colorPrimary: An,
173
+ colorSuccess: jn,
174
+ colorDanger: Zn,
175
+ colorWarning: Bn,
176
+ colorCyan: On,
177
+ colorPurple: Wn,
178
+ colorOrange: Fn,
179
+ colorAccent: Vn,
180
+ colorYellow: Pn,
181
+ solid: Gn,
182
+ wrap: Kn
183
+ }, Un = (e) => e[0].toUpperCase() + e.slice(1), e1 = Q(function({ color: t = "primary", variant: o = "soft", size: r = "1", wrap: s, className: l, style: a, m: d, mt: f, mb: p, p: i, pb: h, ...w }, $) {
184
184
  return /* @__PURE__ */ n(
185
185
  "span",
186
186
  {
187
- ...b,
188
- ref: w,
189
- className: v(
190
- ke.badge,
191
- ke[`color${Fn(t)}`],
192
- o === "solid" && ke.solid,
193
- ke[`size${r}`],
194
- s && ke.wrap,
187
+ ...w,
188
+ ref: $,
189
+ className: b(
190
+ Ne.badge,
191
+ Ne[`color${Un(t)}`],
192
+ o === "solid" && Ne.solid,
193
+ Ne[`size${r}`],
194
+ s && Ne.wrap,
195
195
  l
196
196
  ),
197
- style: le({ m: d, mt: f, mb: p, p: i, pb: g }, a)
197
+ style: de({ m: d, mt: f, mb: p, p: i, pb: h }, a)
198
198
  }
199
199
  );
200
- }), Pn = "_separator_vao01_1", Gn = "_full_vao01_7", Ke = {
201
- separator: Pn,
202
- full: Gn
203
- }, Y1 = G(function({ size: t = "4", className: o, ...r }, s) {
200
+ }), Xn = "_separator_vao01_1", Yn = "_full_vao01_7", Qe = {
201
+ separator: Xn,
202
+ full: Yn
203
+ }, t1 = Q(function({ size: t = "4", className: o, ...r }, s) {
204
204
  return /* @__PURE__ */ n(
205
205
  "span",
206
206
  {
207
207
  ...r,
208
208
  ref: s,
209
209
  role: "separator",
210
- className: v(Ke.separator, t === "4" && Ke.full, o)
210
+ className: b(Qe.separator, t === "4" && Qe.full, o)
211
211
  }
212
212
  );
213
- }), Kn = "_card_1ooot_2", Un = "_image_1ooot_14", Xn = "_hasImage_1ooot_41", Be = {
214
- card: Kn,
215
- image: Un,
216
- hasImage: Xn
217
- }, Q1 = G(function({ className: t, style: o, image: r, children: s, m: l, mt: a, mb: d, p: f, pb: p, ...i }, g) {
218
- return /* @__PURE__ */ z(
213
+ }), Qn = "_card_1ooot_2", Jn = "_image_1ooot_14", eo = "_hasImage_1ooot_41", Ve = {
214
+ card: Qn,
215
+ image: Jn,
216
+ hasImage: eo
217
+ }, n1 = Q(function({ className: t, style: o, image: r, children: s, m: l, mt: a, mb: d, p: f, pb: p, ...i }, h) {
218
+ return /* @__PURE__ */ I(
219
219
  "div",
220
220
  {
221
221
  ...i,
222
- ref: g,
223
- className: v(Be.card, r != null && Be.hasImage, t),
224
- style: le({ m: l, mt: a, mb: d, p: f, pb: p }, o),
222
+ ref: h,
223
+ className: b(Ve.card, r != null && Ve.hasImage, t),
224
+ style: de({ m: l, mt: a, mb: d, p: f, pb: p }, o),
225
225
  children: [
226
- r != null && /* @__PURE__ */ n("div", { className: Be.image, children: r }),
226
+ r != null && /* @__PURE__ */ n("div", { className: Ve.image, children: r }),
227
227
  s
228
228
  ]
229
229
  }
230
230
  );
231
- }), Yn = "_spaceButton_kjhqx_14", Qn = "_rimRotate_kjhqx_1", Jn = "_glintSweep_kjhqx_1", eo = "_iconOnly_kjhqx_97", to = "_lg_kjhqx_104", no = "_sm_kjhqx_110", oo = "_micro_kjhqx_122", ro = "_stars_kjhqx_136", so = "_fullWidth_kjhqx_141", lo = "_ember_kjhqx_147", ao = "_label_kjhqx_157", co = "_star_kjhqx_136", io = "_twinkle_kjhqx_1", re = {
232
- spaceButton: Yn,
233
- rimRotate: Qn,
234
- glintSweep: Jn,
235
- iconOnly: eo,
236
- lg: to,
237
- sm: no,
238
- micro: oo,
239
- stars: ro,
240
- fullWidth: so,
241
- ember: lo,
242
- label: ao,
243
- star: co,
244
- twinkle: io
231
+ }), to = "_spaceButton_kjhqx_14", no = "_rimRotate_kjhqx_1", oo = "_glintSweep_kjhqx_1", ro = "_iconOnly_kjhqx_97", so = "_lg_kjhqx_104", lo = "_sm_kjhqx_110", ao = "_micro_kjhqx_122", co = "_stars_kjhqx_136", io = "_fullWidth_kjhqx_141", uo = "_ember_kjhqx_147", fo = "_label_kjhqx_157", _o = "_star_kjhqx_136", po = "_twinkle_kjhqx_1", ce = {
232
+ spaceButton: to,
233
+ rimRotate: no,
234
+ glintSweep: oo,
235
+ iconOnly: ro,
236
+ lg: so,
237
+ sm: lo,
238
+ micro: ao,
239
+ stars: co,
240
+ fullWidth: io,
241
+ ember: uo,
242
+ label: fo,
243
+ star: _o,
244
+ twinkle: po
245
245
  };
246
- function uo(e) {
246
+ function go(e) {
247
247
  return function() {
248
248
  e |= 0, e = e + 1831565813 | 0;
249
249
  let t = Math.imul(e ^ e >>> 15, 1 | e);
250
250
  return t = t + Math.imul(t ^ t >>> 7, 61 | t) ^ t, ((t ^ t >>> 14) >>> 0) / 4294967296;
251
251
  };
252
252
  }
253
- function fo(e) {
253
+ function mo(e) {
254
254
  let t = 2166136261;
255
255
  for (let o = 0; o < e.length; o++)
256
256
  t ^= e.charCodeAt(o), t = Math.imul(t, 16777619);
257
257
  return t >>> 0;
258
258
  }
259
- const Ze = G(
259
+ const Oe = Q(
260
260
  function({ iconOnly: t, ember: o, size: r = "md", fullWidth: s, animated: l = !0, className: a, children: d, ...f }, p) {
261
- const i = Q(), g = Ce(() => {
262
- const w = uo(fo(i));
261
+ const i = ne(), h = xe(() => {
262
+ const $ = go(mo(i));
263
263
  return Array.from({ length: 3 }, () => ({
264
- top: `${12 + w() * 58}%`,
265
- left: `${8 + w() * 80}%`,
266
- animationDelay: `${(w() * 3.2).toFixed(2)}s`,
267
- animationDuration: `${(2.8 + w() * 1.8).toFixed(2)}s`
264
+ top: `${12 + $() * 58}%`,
265
+ left: `${8 + $() * 80}%`,
266
+ animationDelay: `${($() * 3.2).toFixed(2)}s`,
267
+ animationDuration: `${(2.8 + $() * 1.8).toFixed(2)}s`
268
268
  }));
269
- }, [i]), b = [
270
- re.spaceButton,
271
- t ? re.iconOnly : "",
272
- o ? re.ember : "",
273
- r !== "md" ? re[r] : "",
274
- s ? re.fullWidth : "",
269
+ }, [i]), w = [
270
+ ce.spaceButton,
271
+ t ? ce.iconOnly : "",
272
+ o ? ce.ember : "",
273
+ r !== "md" ? ce[r] : "",
274
+ s ? ce.fullWidth : "",
275
275
  a ?? ""
276
276
  ].filter(Boolean).join(" ");
277
- return /* @__PURE__ */ z(
277
+ return /* @__PURE__ */ I(
278
278
  "button",
279
279
  {
280
280
  ref: p,
281
- className: b,
281
+ className: w,
282
282
  "data-animated": l ? void 0 : "false",
283
283
  ...f,
284
284
  children: [
285
- r !== "micro" && /* @__PURE__ */ n("span", { className: re.stars, "aria-hidden": !0, children: g.map((w, _) => /* @__PURE__ */ n("i", { className: re.star, style: w }, _)) }),
286
- /* @__PURE__ */ n("span", { className: re.label, children: d })
285
+ r !== "micro" && /* @__PURE__ */ n("span", { className: ce.stars, "aria-hidden": !0, children: h.map(($, _) => /* @__PURE__ */ n("i", { className: ce.star, style: $ }, _)) }),
286
+ /* @__PURE__ */ n("span", { className: ce.label, children: d })
287
287
  ]
288
288
  }
289
289
  );
290
290
  }
291
- ), T = {
291
+ ), O = {
292
292
  width: 15,
293
293
  height: 15,
294
294
  viewBox: "0 0 15 15",
@@ -296,8 +296,8 @@ const Ze = G(
296
296
  xmlns: "http://www.w3.org/2000/svg",
297
297
  "aria-hidden": !0
298
298
  };
299
- function J1(e) {
300
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
299
+ function o1(e) {
300
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
301
301
  "path",
302
302
  {
303
303
  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",
@@ -307,8 +307,8 @@ function J1(e) {
307
307
  }
308
308
  ) });
309
309
  }
310
- function es(e) {
311
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
310
+ function r1(e) {
311
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
312
312
  "path",
313
313
  {
314
314
  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",
@@ -318,8 +318,8 @@ function es(e) {
318
318
  }
319
319
  ) });
320
320
  }
321
- function ts(e) {
322
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
321
+ function s1(e) {
322
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
323
323
  "path",
324
324
  {
325
325
  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",
@@ -329,8 +329,8 @@ function ts(e) {
329
329
  }
330
330
  ) });
331
331
  }
332
- function ns(e) {
333
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
332
+ function l1(e) {
333
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
334
334
  "path",
335
335
  {
336
336
  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",
@@ -340,8 +340,8 @@ function ns(e) {
340
340
  }
341
341
  ) });
342
342
  }
343
- function os(e) {
344
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
343
+ function a1(e) {
344
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
345
345
  "path",
346
346
  {
347
347
  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",
@@ -351,8 +351,8 @@ function os(e) {
351
351
  }
352
352
  ) });
353
353
  }
354
- function rs(e) {
355
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
354
+ function c1(e) {
355
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
356
356
  "path",
357
357
  {
358
358
  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",
@@ -362,8 +362,8 @@ function rs(e) {
362
362
  }
363
363
  ) });
364
364
  }
365
- function ss(e) {
366
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
365
+ function i1(e) {
366
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
367
367
  "path",
368
368
  {
369
369
  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",
@@ -373,8 +373,8 @@ function ss(e) {
373
373
  }
374
374
  ) });
375
375
  }
376
- function ls(e) {
377
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
376
+ function d1(e) {
377
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
378
378
  "path",
379
379
  {
380
380
  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",
@@ -384,8 +384,8 @@ function ls(e) {
384
384
  }
385
385
  ) });
386
386
  }
387
- function as(e) {
388
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
387
+ function u1(e) {
388
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
389
389
  "path",
390
390
  {
391
391
  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",
@@ -395,8 +395,8 @@ function as(e) {
395
395
  }
396
396
  ) });
397
397
  }
398
- function cs(e) {
399
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
398
+ function f1(e) {
399
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
400
400
  "path",
401
401
  {
402
402
  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",
@@ -406,8 +406,8 @@ function cs(e) {
406
406
  }
407
407
  ) });
408
408
  }
409
- function is(e) {
410
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
409
+ function _1(e) {
410
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
411
411
  "path",
412
412
  {
413
413
  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",
@@ -417,8 +417,8 @@ function is(e) {
417
417
  }
418
418
  ) });
419
419
  }
420
- function ds(e) {
421
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
420
+ function p1(e) {
421
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
422
422
  "path",
423
423
  {
424
424
  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",
@@ -428,8 +428,8 @@ function ds(e) {
428
428
  }
429
429
  ) });
430
430
  }
431
- function us(e) {
432
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
431
+ function g1(e) {
432
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
433
433
  "path",
434
434
  {
435
435
  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",
@@ -439,8 +439,8 @@ function us(e) {
439
439
  }
440
440
  ) });
441
441
  }
442
- function fs(e) {
443
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
442
+ function m1(e) {
443
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
444
444
  "path",
445
445
  {
446
446
  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",
@@ -450,8 +450,8 @@ function fs(e) {
450
450
  }
451
451
  ) });
452
452
  }
453
- function _s(e) {
454
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
453
+ function h1(e) {
454
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
455
455
  "path",
456
456
  {
457
457
  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",
@@ -461,8 +461,8 @@ function _s(e) {
461
461
  }
462
462
  ) });
463
463
  }
464
- function ps(e) {
465
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
464
+ function C1(e) {
465
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
466
466
  "path",
467
467
  {
468
468
  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",
@@ -472,8 +472,8 @@ function ps(e) {
472
472
  }
473
473
  ) });
474
474
  }
475
- function Je(e) {
476
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
475
+ function rt(e) {
476
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
477
477
  "path",
478
478
  {
479
479
  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",
@@ -483,8 +483,8 @@ function Je(e) {
483
483
  }
484
484
  ) });
485
485
  }
486
- function et(e) {
487
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
486
+ function st(e) {
487
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
488
488
  "path",
489
489
  {
490
490
  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",
@@ -494,8 +494,8 @@ function et(e) {
494
494
  }
495
495
  ) });
496
496
  }
497
- function gs(e) {
498
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
497
+ function v1(e) {
498
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
499
499
  "path",
500
500
  {
501
501
  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",
@@ -505,7 +505,7 @@ function gs(e) {
505
505
  }
506
506
  ) });
507
507
  }
508
- function _o(e) {
508
+ function ho(e) {
509
509
  return /* @__PURE__ */ n("svg", { viewBox: "0 0 15 15", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", ...e, children: /* @__PURE__ */ n(
510
510
  "path",
511
511
  {
@@ -514,8 +514,8 @@ function _o(e) {
514
514
  }
515
515
  ) });
516
516
  }
517
- function po(e) {
518
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
517
+ function Co(e) {
518
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
519
519
  "path",
520
520
  {
521
521
  d: "M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82707 7.49972C1.82707 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82707 10.6327 1.82707 7.49972ZM8.24992 4.49999C8.24992 4.9142 7.91413 5.24999 7.49992 5.24999C7.08571 5.24999 6.74992 4.9142 6.74992 4.49999C6.74992 4.08577 7.08571 3.74999 7.49992 3.74999C7.91413 3.74999 8.24992 4.08577 8.24992 4.49999ZM6.00003 5.99999H6.50003H7.50003C7.77618 5.99999 8.00003 6.22384 8.00003 6.49999V9.99999H8.50003H9.00003V11H8.50003H7.50003H6.50003H6.00003V9.99999H6.50003H7.00003V6.99999H6.50003H6.00003V5.99999Z",
@@ -525,8 +525,8 @@ function po(e) {
525
525
  }
526
526
  ) });
527
527
  }
528
- function go(e) {
529
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
528
+ function vo(e) {
529
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
530
530
  "path",
531
531
  {
532
532
  d: "M8.4449 0.608765C8.0183 -0.107015 6.9817 -0.107015 6.55509 0.608766L0.161178 11.3368C-0.275824 12.07 0.252503 13 1.10608 13H13.8939C14.7475 13 15.2758 12.07 14.8388 11.3368L8.4449 0.608765ZM7.4141 1.12073C7.45288 1.05566 7.54712 1.05566 7.5859 1.12073L13.9798 11.8488C14.0196 11.9154 13.9715 12 13.8939 12H1.10608C1.02849 12 0.980454 11.9154 1.02018 11.8488L7.4141 1.12073ZM6.8269 4.48611C6.81221 4.10423 7.11783 3.78663 7.5 3.78663C7.88217 3.78663 8.18778 4.10423 8.1731 4.48612L8.01921 8.48701C8.00848 8.766 7.7792 8.98664 7.5 8.98664C7.2208 8.98664 6.99151 8.766 6.98078 8.48701L6.8269 4.48611ZM8.24989 10.476C8.24989 10.8902 7.9141 11.226 7.49989 11.226C7.08567 11.226 6.74989 10.8902 6.74989 10.476C6.74989 10.0618 7.08567 9.72599 7.49989 9.72599C7.9141 9.72599 8.24989 10.0618 8.24989 10.476Z",
@@ -536,8 +536,8 @@ function go(e) {
536
536
  }
537
537
  ) });
538
538
  }
539
- function mo(e) {
540
- return /* @__PURE__ */ n("svg", { ...T, ...e, children: /* @__PURE__ */ n(
539
+ function bo(e) {
540
+ return /* @__PURE__ */ n("svg", { ...O, ...e, children: /* @__PURE__ */ n(
541
541
  "path",
542
542
  {
543
543
  d: "M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704ZM9.85358 5.14644C10.0488 5.3417 10.0488 5.65829 9.85358 5.85355L8.20713 7.49999L9.85358 9.14644C10.0488 9.3417 10.0488 9.65829 9.85358 9.85355C9.65832 10.0488 9.34173 10.0488 9.14647 9.85355L7.50002 8.2071L5.85358 9.85355C5.65832 10.0488 5.34173 10.0488 5.14647 9.85355C4.95121 9.65829 4.95121 9.3417 5.14647 9.14644L6.79292 7.49999L5.14647 5.85355C4.95121 5.65829 4.95121 5.3417 5.14647 5.14644C5.34173 4.95118 5.65832 4.95118 5.85358 5.14644L7.50002 6.79289L9.14647 5.14644C9.34173 4.95118 9.65832 4.95118 9.85358 5.14644Z",
@@ -547,19 +547,19 @@ function mo(e) {
547
547
  }
548
548
  ) });
549
549
  }
550
- const ho = "_root_p5j1t_12", Co = "_viewport_p5j1t_17", vo = "_track_p5j1t_21", bo = "_slide_p5j1t_66", wo = "_arrow_p5j1t_78", yo = "_prev_p5j1t_99", xo = "_next_p5j1t_104", Lo = "_arrowButton_p5j1t_109", $o = "_dots_p5j1t_115", ko = "_dot_p5j1t_115", X = {
551
- root: ho,
552
- viewport: Co,
553
- track: vo,
554
- slide: bo,
555
- arrow: wo,
556
- prev: yo,
557
- next: xo,
558
- arrowButton: Lo,
559
- dots: $o,
560
- dot: ko
550
+ const wo = "_root_p5j1t_12", xo = "_viewport_p5j1t_17", yo = "_track_p5j1t_21", $o = "_slide_p5j1t_66", ko = "_arrow_p5j1t_78", Lo = "_prev_p5j1t_99", Mo = "_next_p5j1t_104", No = "_arrowButton_p5j1t_109", zo = "_dots_p5j1t_115", Ro = "_dot_p5j1t_115", ee = {
551
+ root: wo,
552
+ viewport: xo,
553
+ track: yo,
554
+ slide: $o,
555
+ arrow: ko,
556
+ prev: Lo,
557
+ next: Mo,
558
+ arrowButton: No,
559
+ dots: zo,
560
+ dot: Ro
561
561
  };
562
- function ms({
562
+ function b1({
563
563
  children: e,
564
564
  perView: t = 1,
565
565
  step: o = "item",
@@ -569,190 +569,190 @@ function ms({
569
569
  "aria-label": a = "Carousel",
570
570
  ...d
571
571
  }) {
572
- const f = Qe.toArray(e), p = f.length, i = Q(), g = R(null), b = o === "page" ? Math.max(1, Math.floor(t)) : 1, w = p <= t ? 1 : o === "page" ? Math.ceil((p - t) / b) + 1 : Math.ceil(p - t) + 1, [_, C] = B(b), [$, M] = B(Math.max(1, w)), [k, j] = B(0), [E, q] = B(!0), [W, A] = B(p <= t), N = R([0]), I = R(0), y = R(0), u = R(() => {
573
- }), x = de(() => {
574
- const h = g.current;
575
- if (!h) return;
576
- const c = h.scrollLeft, m = Math.max(0, h.scrollWidth - h.clientWidth);
577
- if (Math.abs(m - I.current) > 1) {
578
- u.current();
572
+ const f = ot.toArray(e), p = f.length, i = ne(), h = q(null), w = o === "page" ? Math.max(1, Math.floor(t)) : 1, $ = p <= t ? 1 : o === "page" ? Math.ceil((p - t) / w) + 1 : Math.ceil(p - t) + 1, [_, C] = V(w), [L, R] = V(Math.max(1, $)), [N, Z] = V(0), [W, U] = V(!0), [A, E] = V(p <= t), G = q([0]), K = q(0), v = q(0), k = q(() => {
573
+ }), M = le(() => {
574
+ const g = h.current;
575
+ if (!g) return;
576
+ const y = g.scrollLeft, D = Math.max(0, g.scrollWidth - g.clientWidth);
577
+ if (Math.abs(D - K.current) > 1) {
578
+ k.current();
579
579
  return;
580
580
  }
581
- const D = c <= 1, S = c >= y.current - 1;
582
- let O = 0;
583
- S ? O = N.current.length - 1 : D || N.current.forEach((K, ne) => {
584
- Math.abs(K - c) <= Math.abs(N.current[O] - c) && (O = ne);
585
- }), j(O), q(D), A(S);
586
- }, []), L = de(() => {
587
- const h = g.current;
588
- if (!h) return;
589
- const c = Array.from(h.children);
590
- if (!c.length) return;
591
- const m = Math.max(0, h.scrollWidth - h.clientWidth), D = c[0], S = c.length > 1 ? c[1].offsetLeft - D.offsetLeft - D.offsetWidth : 0, O = (h.clientWidth + S) / (D.offsetWidth + S), K = o === "page" ? Math.max(1, Math.floor(O + 0.01)) : 1, ne = c[c.length - 1], oe = Math.round(
592
- Math.max(0, Math.min(m, ne.offsetLeft - D.offsetLeft + ne.offsetWidth - h.clientWidth))
593
- ), J = [];
594
- c.forEach((fe, Ie) => {
595
- if (Ie % K !== 0) return;
596
- const xe = Math.round(Math.min(fe.offsetLeft - D.offsetLeft, oe));
597
- J[J.length - 1] !== xe && J.push(xe);
598
- }), oe > 0 && J[J.length - 1] < oe - 1 && J.push(oe), N.current = J, I.current = Math.round(m), y.current = oe, C(K), M(J.length), x();
599
- }, [o, x]);
600
- be(() => {
601
- u.current = L, L();
602
- }, [L, p]), U(() => {
603
- const h = g.current;
604
- if (!h) return;
605
- const c = new ResizeObserver(() => L());
606
- c.observe(h);
607
- let m = 0;
608
- const D = () => {
609
- cancelAnimationFrame(m), m = requestAnimationFrame(x);
581
+ const H = y <= 1, S = y >= v.current - 1;
582
+ let c = 0;
583
+ S ? c = G.current.length - 1 : H || G.current.forEach((m, T) => {
584
+ Math.abs(m - y) <= Math.abs(G.current[c] - y) && (c = T);
585
+ }), Z(c), U(H), E(S);
586
+ }, []), j = le(() => {
587
+ const g = h.current;
588
+ if (!g) return;
589
+ const y = Array.from(g.children);
590
+ if (!y.length) return;
591
+ const D = Math.max(0, g.scrollWidth - g.clientWidth), H = y[0], S = y.length > 1 ? y[1].offsetLeft - H.offsetLeft - H.offsetWidth : 0, c = (g.clientWidth + S) / (H.offsetWidth + S), m = o === "page" ? Math.max(1, Math.floor(c + 0.01)) : 1, T = y[y.length - 1], B = Math.round(
592
+ Math.max(0, Math.min(D, T.offsetLeft - H.offsetLeft + T.offsetWidth - g.clientWidth))
593
+ ), P = [];
594
+ y.forEach((J, se) => {
595
+ if (se % m !== 0) return;
596
+ const ae = Math.round(Math.min(J.offsetLeft - H.offsetLeft, B));
597
+ P[P.length - 1] !== ae && P.push(ae);
598
+ }), B > 0 && P[P.length - 1] < B - 1 && P.push(B), G.current = P, K.current = Math.round(D), v.current = B, C(m), R(P.length), M();
599
+ }, [o, M]);
600
+ ge(() => {
601
+ k.current = j, j();
602
+ }, [j, p]), X(() => {
603
+ const g = h.current;
604
+ if (!g) return;
605
+ const y = new ResizeObserver(() => j());
606
+ y.observe(g);
607
+ let D = 0;
608
+ const H = () => {
609
+ cancelAnimationFrame(D), D = requestAnimationFrame(M);
610
610
  };
611
- return h.addEventListener("scroll", D, { passive: !0 }), () => {
612
- c.disconnect(), cancelAnimationFrame(m), h.removeEventListener("scroll", D);
611
+ return g.addEventListener("scroll", H, { passive: !0 }), () => {
612
+ y.disconnect(), cancelAnimationFrame(D), g.removeEventListener("scroll", H);
613
613
  };
614
- }, [L, x]), U(() => {
615
- const h = g.current;
616
- if (!h) return;
617
- const c = 4;
618
- let m = null, D = 0, S = 0, O = !1, K = 0;
619
- const ne = () => {
620
- clearTimeout(K), delete h.dataset.settling;
621
- }, oe = (V) => {
622
- V.pointerType !== "mouse" || V.button !== 0 || h.scrollWidth <= h.clientWidth || (ne(), m = V.pointerId, D = V.clientX, S = h.scrollLeft, O = !1);
623
- }, J = (V) => {
624
- if (V.pointerId !== m) return;
625
- const ae = V.clientX - D;
626
- if (!O) {
627
- if (Math.abs(ae) < c) return;
628
- O = !0, h.setPointerCapture(V.pointerId), h.dataset.dragging = "";
614
+ }, [j, M]), X(() => {
615
+ const g = h.current;
616
+ if (!g) return;
617
+ const y = 4;
618
+ let D = null, H = 0, S = 0, c = !1, m = 0;
619
+ const T = () => {
620
+ clearTimeout(m), delete g.dataset.settling;
621
+ }, B = (F) => {
622
+ F.pointerType !== "mouse" || F.button !== 0 || g.scrollWidth <= g.clientWidth || (T(), D = F.pointerId, H = F.clientX, S = g.scrollLeft, c = !1);
623
+ }, P = (F) => {
624
+ if (F.pointerId !== D) return;
625
+ const ue = F.clientX - H;
626
+ if (!c) {
627
+ if (Math.abs(ue) < y) return;
628
+ c = !0, g.setPointerCapture(F.pointerId), g.dataset.dragging = "";
629
629
  }
630
- h.scrollLeft = S - ae;
631
- }, fe = (V) => {
632
- if (V.pointerId !== m || (m = null, !O)) return;
633
- delete h.dataset.dragging;
634
- const ae = h.scrollLeft, Ee = N.current;
635
- let ce = Ee.reduce((_e, Pe) => Math.abs(Pe - ae) < Math.abs(_e - ae) ? Pe : _e, Ee[0]);
636
- ae > S + 1 && ce <= S + 1 ? ce = Ee.find((_e) => _e > S + 1) ?? ce : ae < S - 1 && ce >= S - 1 && (ce = [...Ee].reverse().find((_e) => _e < S - 1) ?? ce), h.dataset.settling = "";
637
- const vt = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
638
- h.scrollTo({ left: ce, behavior: vt ? "auto" : "smooth" }), h.addEventListener("scrollend", ne, { once: !0 }), K = window.setTimeout(ne, 700);
639
- }, Ie = (V) => {
640
- O && (O = !1, V.preventDefault(), V.stopPropagation());
641
- }, xe = (V) => V.preventDefault();
642
- return h.addEventListener("pointerdown", oe), h.addEventListener("pointermove", J), h.addEventListener("pointerup", fe), h.addEventListener("pointercancel", fe), h.addEventListener("click", Ie, !0), h.addEventListener("dragstart", xe), () => {
643
- ne(), h.removeEventListener("pointerdown", oe), h.removeEventListener("pointermove", J), h.removeEventListener("pointerup", fe), h.removeEventListener("pointercancel", fe), h.removeEventListener("click", Ie, !0), h.removeEventListener("dragstart", xe);
630
+ g.scrollLeft = S - ue;
631
+ }, J = (F) => {
632
+ if (F.pointerId !== D || (D = null, !c)) return;
633
+ delete g.dataset.dragging;
634
+ const ue = g.scrollLeft, Se = G.current;
635
+ let fe = Se.reduce((me, Xe) => Math.abs(Xe - ue) < Math.abs(me - ue) ? Xe : me, Se[0]);
636
+ ue > S + 1 && fe <= S + 1 ? fe = Se.find((me) => me > S + 1) ?? fe : ue < S - 1 && fe >= S - 1 && (fe = [...Se].reverse().find((me) => me < S - 1) ?? fe), g.dataset.settling = "";
637
+ const yt = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
638
+ g.scrollTo({ left: fe, behavior: yt ? "auto" : "smooth" }), g.addEventListener("scrollend", T, { once: !0 }), m = window.setTimeout(T, 700);
639
+ }, se = (F) => {
640
+ c && (c = !1, F.preventDefault(), F.stopPropagation());
641
+ }, ae = (F) => F.preventDefault();
642
+ return g.addEventListener("pointerdown", B), g.addEventListener("pointermove", P), g.addEventListener("pointerup", J), g.addEventListener("pointercancel", J), g.addEventListener("click", se, !0), g.addEventListener("dragstart", ae), () => {
643
+ T(), g.removeEventListener("pointerdown", B), g.removeEventListener("pointermove", P), g.removeEventListener("pointerup", J), g.removeEventListener("pointercancel", J), g.removeEventListener("click", se, !0), g.removeEventListener("dragstart", ae);
644
644
  };
645
645
  }, []);
646
- const Z = (h) => {
647
- var c;
648
- return (c = g.current) == null ? void 0 : c.scrollTo({ left: h });
649
- }, H = (h) => {
650
- const c = g.current;
651
- if (!c) return;
652
- const m = c.scrollLeft, D = h > 0 ? N.current.find((S) => S > m + 1) : [...N.current].reverse().find((S) => S < m - 1);
653
- D !== void 0 && Z(D);
654
- }, F = $ > 1;
655
- return /* @__PURE__ */ z(
646
+ const u = (g) => {
647
+ var y;
648
+ return (y = h.current) == null ? void 0 : y.scrollTo({ left: g });
649
+ }, x = (g) => {
650
+ const y = h.current;
651
+ if (!y) return;
652
+ const D = y.scrollLeft, H = g > 0 ? G.current.find((S) => S > D + 1) : [...G.current].reverse().find((S) => S < D - 1);
653
+ H !== void 0 && u(H);
654
+ }, z = L > 1;
655
+ return /* @__PURE__ */ I(
656
656
  "section",
657
657
  {
658
658
  ...d,
659
659
  "aria-roledescription": "carousel",
660
660
  "aria-label": a,
661
- className: v(X.root, l),
662
- "data-scrollable": F ? "" : void 0,
661
+ className: b(ee.root, l),
662
+ "data-scrollable": z ? "" : void 0,
663
663
  children: [
664
- /* @__PURE__ */ z("div", { className: X.viewport, children: [
664
+ /* @__PURE__ */ I("div", { className: ee.viewport, children: [
665
665
  /* @__PURE__ */ n(
666
666
  "div",
667
667
  {
668
- ref: g,
668
+ ref: h,
669
669
  id: i,
670
- className: X.track,
670
+ className: ee.track,
671
671
  tabIndex: 0,
672
672
  style: { "--_view-count-default": t },
673
- children: f.map((h, c) => /* @__PURE__ */ n(
673
+ children: f.map((g, y) => /* @__PURE__ */ n(
674
674
  "div",
675
675
  {
676
- className: X.slide,
676
+ className: ee.slide,
677
677
  role: "group",
678
678
  "aria-roledescription": "slide",
679
- "aria-label": `${c + 1} of ${p}`,
680
- "data-snap": c % _ === 0 ? "" : void 0,
681
- children: h
679
+ "aria-label": `${y + 1} of ${p}`,
680
+ "data-snap": y % _ === 0 ? "" : void 0,
681
+ children: g
682
682
  },
683
- h.key ?? c
683
+ g.key ?? y
684
684
  ))
685
685
  }
686
686
  ),
687
- /* @__PURE__ */ n("span", { className: v(X.arrow, X.prev), children: /* @__PURE__ */ n(
688
- Ze,
687
+ /* @__PURE__ */ n("span", { className: b(ee.arrow, ee.prev), children: /* @__PURE__ */ n(
688
+ Oe,
689
689
  {
690
690
  iconOnly: !0,
691
- className: X.arrowButton,
691
+ className: ee.arrowButton,
692
692
  animated: s,
693
693
  "aria-label": "Previous",
694
694
  "aria-controls": i,
695
- disabled: E,
696
- onClick: () => H(-1),
697
- children: /* @__PURE__ */ n(et, { "aria-hidden": "true" })
695
+ disabled: W,
696
+ onClick: () => x(-1),
697
+ children: /* @__PURE__ */ n(st, { "aria-hidden": "true" })
698
698
  }
699
699
  ) }),
700
- /* @__PURE__ */ n("span", { className: v(X.arrow, X.next), children: /* @__PURE__ */ n(
701
- Ze,
700
+ /* @__PURE__ */ n("span", { className: b(ee.arrow, ee.next), children: /* @__PURE__ */ n(
701
+ Oe,
702
702
  {
703
703
  iconOnly: !0,
704
- className: X.arrowButton,
704
+ className: ee.arrowButton,
705
705
  animated: s,
706
706
  "aria-label": "Next",
707
707
  "aria-controls": i,
708
- disabled: W,
709
- onClick: () => H(1),
710
- children: /* @__PURE__ */ n(Je, { "aria-hidden": "true" })
708
+ disabled: A,
709
+ onClick: () => x(1),
710
+ children: /* @__PURE__ */ n(rt, { "aria-hidden": "true" })
711
711
  }
712
712
  ) })
713
713
  ] }),
714
- r && F && /* @__PURE__ */ n("div", { className: X.dots, children: Array.from({ length: $ }, (h, c) => /* @__PURE__ */ n(
714
+ r && z && /* @__PURE__ */ n("div", { className: ee.dots, children: Array.from({ length: L }, (g, y) => /* @__PURE__ */ n(
715
715
  "button",
716
716
  {
717
717
  type: "button",
718
- className: X.dot,
719
- "aria-label": o === "page" ? `Page ${c + 1} of ${$}` : `Position ${c + 1} of ${$}`,
718
+ className: ee.dot,
719
+ "aria-label": o === "page" ? `Page ${y + 1} of ${L}` : `Position ${y + 1} of ${L}`,
720
720
  "aria-controls": i,
721
- "aria-current": c === k ? "true" : void 0,
722
- onClick: () => Z(N.current[c] ?? 0)
721
+ "aria-current": y === N ? "true" : void 0,
722
+ onClick: () => u(G.current[y] ?? 0)
723
723
  },
724
- c
724
+ y
725
725
  )) })
726
726
  ]
727
727
  }
728
728
  );
729
729
  }
730
- const No = "_nav_f248a_6", Mo = "_pages_f248a_21", zo = "_item_f248a_30", Ro = "_current_f248a_48", Do = "_page_f248a_21", qo = "_gap_f248a_82", Io = "_stepText_f248a_92", Eo = "_step_f248a_92", Y = {
731
- nav: No,
732
- pages: Mo,
733
- item: zo,
734
- current: Ro,
735
- page: Do,
736
- gap: qo,
737
- stepText: Io,
738
- step: Eo
739
- }, Ho = "_spaceControl_4ou97_17", So = "_spaceSlider_4ou97_74", To = "_spacePanel_4ou97_111", jo = "_spaceInput_4ou97_34", Ao = "_spaceTextArea_4ou97_226", Zo = {
740
- spaceControl: Ho,
741
- spaceSlider: So,
742
- spacePanel: To,
743
- spaceInput: jo,
744
- spaceTextArea: Ao
745
- }, te = Zo;
746
- function Oo({ pageSize: e, totalItems: t }) {
730
+ const Do = "_nav_f248a_6", qo = "_pages_f248a_21", Io = "_item_f248a_30", Eo = "_current_f248a_48", Ho = "_page_f248a_21", So = "_gap_f248a_82", To = "_stepText_f248a_92", Ao = "_step_f248a_92", te = {
731
+ nav: Do,
732
+ pages: qo,
733
+ item: Io,
734
+ current: Eo,
735
+ page: Ho,
736
+ gap: So,
737
+ stepText: To,
738
+ step: Ao
739
+ }, jo = "_spaceControl_4ou97_17", Zo = "_spaceSlider_4ou97_74", Bo = "_spacePanel_4ou97_111", Oo = "_spaceInput_4ou97_34", Wo = "_spaceTextArea_4ou97_226", Fo = {
740
+ spaceControl: jo,
741
+ spaceSlider: Zo,
742
+ spacePanel: Bo,
743
+ spaceInput: Oo,
744
+ spaceTextArea: Wo
745
+ }, re = Fo;
746
+ function Vo({ pageSize: e, totalItems: t }) {
747
747
  return e <= 0 ? 1 : Math.max(1, Math.ceil(t / e));
748
748
  }
749
- function Bo(e, t, o = 1) {
750
- const r = (g, b) => Array.from({ length: Math.max(0, b - g + 1) }, (w, _) => g + _), s = o * 2 + 5;
749
+ function Po(e, t, o = 1) {
750
+ const r = (h, w) => Array.from({ length: Math.max(0, w - h + 1) }, ($, _) => h + _), s = o * 2 + 5;
751
751
  if (t <= s) return r(1, t);
752
752
  const l = Math.min(Math.max(e, 1), t), a = Math.max(l - o, 1), d = Math.min(l + o, t), f = a > 3, p = d < t - 2, i = o * 2 + 3;
753
753
  return f ? p ? [1, null, ...r(a, d), null, t] : [1, null, ...r(t - i + 1, t)] : [...r(1, i), null, t];
754
754
  }
755
- function hs({
755
+ function w1({
756
756
  pagination: e,
757
757
  onPageClick: t,
758
758
  siblings: o = 1,
@@ -761,41 +761,41 @@ function hs({
761
761
  "aria-label": l = "Pagination",
762
762
  ...a
763
763
  }) {
764
- const d = Oo(e);
764
+ const d = Vo(e);
765
765
  if (d <= 1) return null;
766
766
  const f = Math.min(Math.max(e.page, 1), d), p = (i) => {
767
767
  i !== f && i >= 1 && i <= d && t(i);
768
768
  };
769
- return /* @__PURE__ */ z("nav", { ...a, "aria-label": l, className: v(Y.nav, s), children: [
770
- /* @__PURE__ */ z(
769
+ return /* @__PURE__ */ I("nav", { ...a, "aria-label": l, className: b(te.nav, s), children: [
770
+ /* @__PURE__ */ I(
771
771
  "button",
772
772
  {
773
773
  type: "button",
774
- className: v(te.spaceControl, Y.item, Y.step),
774
+ className: b(re.spaceControl, te.item, te.step),
775
775
  disabled: f <= 1,
776
776
  "aria-label": "Previous page",
777
777
  onClick: () => p(f - 1),
778
778
  children: [
779
- /* @__PURE__ */ n(et, { "aria-hidden": "true" }),
780
- /* @__PURE__ */ n("span", { className: Y.stepText, children: "Previous" })
779
+ /* @__PURE__ */ n(st, { "aria-hidden": "true" }),
780
+ /* @__PURE__ */ n("span", { className: te.stepText, children: "Previous" })
781
781
  ]
782
782
  }
783
783
  ),
784
- /* @__PURE__ */ n("ol", { className: Y.pages, children: Bo(f, d, o).map(
785
- (i, g) => i === null ? (
784
+ /* @__PURE__ */ n("ol", { className: te.pages, children: Po(f, d, o).map(
785
+ (i, h) => i === null ? (
786
786
  // Presentational: "ellipsis" read aloud between page numbers tells
787
787
  // nobody anything.
788
788
  // eslint-disable-next-line react/no-array-index-key
789
- /* @__PURE__ */ n("li", { className: Y.gap, "aria-hidden": "true", children: "…" }, `gap-${g}`)
789
+ /* @__PURE__ */ n("li", { className: te.gap, "aria-hidden": "true", children: "…" }, `gap-${h}`)
790
790
  ) : /* @__PURE__ */ n("li", { children: /* @__PURE__ */ n(
791
791
  "button",
792
792
  {
793
793
  type: "button",
794
- className: v(
795
- te.spaceControl,
796
- Y.item,
797
- Y.page,
798
- i === f && Y.current
794
+ className: b(
795
+ re.spaceControl,
796
+ te.item,
797
+ te.page,
798
+ i === f && te.current
799
799
  ),
800
800
  "data-animated": i === f && !r ? "false" : void 0,
801
801
  "aria-label": `Page ${i}`,
@@ -805,63 +805,63 @@ function hs({
805
805
  }
806
806
  ) }, i)
807
807
  ) }),
808
- /* @__PURE__ */ z(
808
+ /* @__PURE__ */ I(
809
809
  "button",
810
810
  {
811
811
  type: "button",
812
- className: v(te.spaceControl, Y.item, Y.step),
812
+ className: b(re.spaceControl, te.item, te.step),
813
813
  disabled: f >= d,
814
814
  "aria-label": "Next page",
815
815
  onClick: () => p(f + 1),
816
816
  children: [
817
- /* @__PURE__ */ n("span", { className: Y.stepText, children: "Next" }),
818
- /* @__PURE__ */ n(Je, { "aria-hidden": "true" })
817
+ /* @__PURE__ */ n("span", { className: te.stepText, children: "Next" }),
818
+ /* @__PURE__ */ n(rt, { "aria-hidden": "true" })
819
819
  ]
820
820
  }
821
821
  )
822
822
  ] });
823
823
  }
824
- const Wo = "_wrap_dwcut_5", Vo = "_sm_dwcut_30", Fo = "_md_dwcut_36", Po = "_lg_dwcut_42", Go = "_orbit_dwcut_49", Ko = "_planet_dwcut_58", Uo = "_moon_dwcut_73", Xo = "_label_dwcut_92", me = {
825
- wrap: Wo,
826
- sm: Vo,
827
- md: Fo,
828
- lg: Po,
829
- orbit: Go,
830
- planet: Ko,
824
+ const Go = "_wrap_dwcut_5", Ko = "_sm_dwcut_30", Uo = "_md_dwcut_36", Xo = "_lg_dwcut_42", Yo = "_orbit_dwcut_49", Qo = "_planet_dwcut_58", Jo = "_moon_dwcut_73", er = "_label_dwcut_92", ve = {
825
+ wrap: Go,
826
+ sm: Ko,
827
+ md: Uo,
828
+ lg: Xo,
829
+ orbit: Yo,
830
+ planet: Qo,
831
831
  "sp-loader-planet-pulse": "_sp-loader-planet-pulse_dwcut_1",
832
- moon: Uo,
832
+ moon: Jo,
833
833
  "sp-loader-orbit": "_sp-loader-orbit_dwcut_1",
834
- label: Xo,
834
+ label: er,
835
835
  "sp-loader-reduced-pulse": "_sp-loader-reduced-pulse_dwcut_1"
836
836
  };
837
- function Cs({ size: e = "md", label: t, className: o }) {
838
- return /* @__PURE__ */ z(
837
+ function x1({ size: e = "md", label: t, className: o }) {
838
+ return /* @__PURE__ */ I(
839
839
  "div",
840
840
  {
841
- className: v(me.wrap, me[e], o),
841
+ className: b(ve.wrap, ve[e], o),
842
842
  role: "status",
843
843
  "aria-live": "polite",
844
844
  "aria-label": t ?? "Loading",
845
845
  children: [
846
- /* @__PURE__ */ z("span", { className: me.orbit, children: [
847
- /* @__PURE__ */ n("span", { className: me.planet }),
848
- /* @__PURE__ */ n("span", { className: me.moon })
846
+ /* @__PURE__ */ I("span", { className: ve.orbit, children: [
847
+ /* @__PURE__ */ n("span", { className: ve.planet }),
848
+ /* @__PURE__ */ n("span", { className: ve.moon })
849
849
  ] }),
850
- t && /* @__PURE__ */ n("span", { className: me.label, children: t })
850
+ t && /* @__PURE__ */ n("span", { className: ve.label, children: t })
851
851
  ]
852
852
  }
853
853
  );
854
854
  }
855
- const Yo = "_content_1efo6_6", Qo = {
856
- content: Yo
855
+ const tr = "_content_1efo6_6", nr = {
856
+ content: tr
857
857
  };
858
- function tt(e, t) {
858
+ function Fe(e, t) {
859
859
  e.matches(":popover-open") || (e.dataset.instant = "", e.dataset.measuring = "", t(), delete e.dataset.measuring, e.offsetWidth, delete e.dataset.instant, e.offsetWidth, e.showPopover());
860
860
  }
861
- const Jo = 350, er = 80, Te = 8, Ne = 8;
862
- function tr({ triggerRef: e, tooltipId: t, show: o, hide: r, children: s }) {
861
+ const or = 350, rr = 80, je = 8, ze = 8;
862
+ function sr({ triggerRef: e, tooltipId: t, show: o, hide: r, children: s }) {
863
863
  const l = s.props;
864
- return Oe(s, {
864
+ return We(s, {
865
865
  ref: e,
866
866
  // Always present, so the id it points at never dangles: the content
867
867
  // element stays mounted and only toggles its popover state.
@@ -891,51 +891,51 @@ function tr({ triggerRef: e, tooltipId: t, show: o, hide: r, children: s }) {
891
891
  }
892
892
  });
893
893
  }
894
- function nr({ label: e, side: t = "bottom", children: o }) {
895
- const r = Q(), [s, l] = B(!1), [a, d] = B(null), f = R(null), p = R(null), i = R(null), g = R(null), b = () => {
896
- i.current && (clearTimeout(i.current), i.current = null), g.current && (clearTimeout(g.current), g.current = null);
897
- }, w = (C = !1) => {
898
- if (b(), C) {
894
+ function lr({ label: e, side: t = "bottom", children: o }) {
895
+ const r = ne(), [s, l] = V(!1), [a, d] = V(null), f = q(null), p = q(null), i = q(null), h = q(null), w = () => {
896
+ i.current && (clearTimeout(i.current), i.current = null), h.current && (clearTimeout(h.current), h.current = null);
897
+ }, $ = (C = !1) => {
898
+ if (w(), C) {
899
899
  l(!0);
900
900
  return;
901
901
  }
902
- i.current = setTimeout(() => l(!0), Jo);
902
+ i.current = setTimeout(() => l(!0), or);
903
903
  }, _ = () => {
904
- b(), g.current = setTimeout(() => l(!1), er);
904
+ w(), h.current = setTimeout(() => l(!1), rr);
905
905
  };
906
- return U(() => b, []), be(() => {
906
+ return X(() => w, []), ge(() => {
907
907
  const C = p.current;
908
908
  if (!C) return;
909
909
  if (!s) {
910
910
  C.matches(":popover-open") && C.hidePopover();
911
911
  return;
912
912
  }
913
- const $ = f.current;
914
- if (!$) return;
915
- const M = () => {
916
- const k = $.getBoundingClientRect(), j = C.offsetWidth, E = C.offsetHeight, q = (x, L, Z, H) => Math.min(
917
- Math.max(x + L / 2 - Z / 2, Ne),
918
- Math.max(H - Z - Ne, Ne)
919
- ), W = (x, L, Z, H) => ({
920
- fitsNear: x >= Ne,
921
- fitsFar: L + Z <= H - Ne
913
+ const L = f.current;
914
+ if (!L) return;
915
+ const R = () => {
916
+ const N = L.getBoundingClientRect(), Z = C.offsetWidth, W = C.offsetHeight, U = (M, j, u, x) => Math.min(
917
+ Math.max(M + j / 2 - u / 2, ze),
918
+ Math.max(x - u - ze, ze)
919
+ ), A = (M, j, u, x) => ({
920
+ fitsNear: M >= ze,
921
+ fitsFar: j + u <= x - ze
922
922
  });
923
923
  if (t === "left" || t === "right") {
924
- const x = k.right + Te, L = k.left - j - Te, { fitsNear: Z, fitsFar: H } = W(L, x, j, window.innerWidth), F = t === "right" ? H || !Z ? x : L : Z || !H ? L : x;
925
- C.dataset.side = F === x ? "right" : "left", d({ top: q(k.top, k.height, E, window.innerHeight), left: F });
924
+ const M = N.right + je, j = N.left - Z - je, { fitsNear: u, fitsFar: x } = A(j, M, Z, window.innerWidth), z = t === "right" ? x || !u ? M : j : u || !x ? j : M;
925
+ C.dataset.side = z === M ? "right" : "left", d({ top: U(N.top, N.height, W, window.innerHeight), left: z });
926
926
  return;
927
927
  }
928
- const A = k.bottom + Te, N = k.top - E - Te, { fitsNear: I, fitsFar: y } = W(N, A, E, window.innerHeight), u = t === "bottom" ? y || !I ? A : N : I || !y ? N : A;
929
- C.dataset.side = u === A ? "bottom" : "top", d({ top: u, left: q(k.left, k.width, j, window.innerWidth) });
928
+ const E = N.bottom + je, G = N.top - W - je, { fitsNear: K, fitsFar: v } = A(G, E, W, window.innerHeight), k = t === "bottom" ? v || !K ? E : G : K || !v ? G : E;
929
+ C.dataset.side = k === E ? "bottom" : "top", d({ top: k, left: U(N.left, N.width, Z, window.innerWidth) });
930
930
  };
931
- C.matches(":popover-open") ? M() : tt(C, M);
932
- }, [s, t, e]), !e || !ve(o) ? /* @__PURE__ */ n(ue, { children: o }) : /* @__PURE__ */ z(ue, { children: [
931
+ C.matches(":popover-open") ? R() : Fe(C, R);
932
+ }, [s, t, e]), !e || !ye(o) ? /* @__PURE__ */ n(pe, { children: o }) : /* @__PURE__ */ I(pe, { children: [
933
933
  /* @__PURE__ */ n(
934
- tr,
934
+ sr,
935
935
  {
936
936
  triggerRef: f,
937
937
  tooltipId: r,
938
- show: w,
938
+ show: $,
939
939
  hide: _,
940
940
  children: o
941
941
  }
@@ -947,7 +947,7 @@ function nr({ label: e, side: t = "bottom", children: o }) {
947
947
  id: r,
948
948
  popover: "auto",
949
949
  role: "tooltip",
950
- className: Qo.content,
950
+ className: nr.content,
951
951
  style: a ? { top: a.top, left: a.left } : void 0,
952
952
  onToggle: (C) => {
953
953
  C.nativeEvent.newState === "closed" && s && l(!1);
@@ -957,13 +957,13 @@ function nr({ label: e, side: t = "bottom", children: o }) {
957
957
  )
958
958
  ] });
959
959
  }
960
- const or = "_group_1tdav_4", rr = "_segment_1tdav_15", sr = "_active_1tdav_35", lr = "_vertical_1tdav_46", je = {
961
- group: or,
962
- segment: rr,
963
- active: sr,
964
- vertical: lr
960
+ const ar = "_group_1tdav_4", cr = "_segment_1tdav_15", ir = "_active_1tdav_35", dr = "_vertical_1tdav_46", Ze = {
961
+ group: ar,
962
+ segment: cr,
963
+ active: ir,
964
+ vertical: dr
965
965
  };
966
- function vs({
966
+ function y1({
967
967
  options: e,
968
968
  value: t,
969
969
  onValueChange: o,
@@ -974,18 +974,18 @@ function vs({
974
974
  return /* @__PURE__ */ n(
975
975
  "div",
976
976
  {
977
- className: `${je.group} ${l ? je.vertical : ""} ${s}`,
977
+ className: `${Ze.group} ${l ? Ze.vertical : ""} ${s}`,
978
978
  role: "group",
979
979
  children: e.map((a) => (
980
980
  // A horizontal pill sits at the top of the scene, so its tooltips hang
981
981
  // below it. A vertical one has a segment directly below every segment,
982
982
  // so they go to the side instead — otherwise each tooltip covers the
983
983
  // next option along.
984
- /* @__PURE__ */ n(nr, { label: a.label, side: l ? "right" : "bottom", children: /* @__PURE__ */ n(
984
+ /* @__PURE__ */ n(lr, { label: a.label, side: l ? "right" : "bottom", children: /* @__PURE__ */ n(
985
985
  "button",
986
986
  {
987
987
  type: "button",
988
- className: `${je.segment} ${a.value === t ? je.active : ""}`,
988
+ className: `${Ze.segment} ${a.value === t ? Ze.active : ""}`,
989
989
  "aria-label": a.label,
990
990
  "aria-pressed": a.value === t,
991
991
  onClick: () => {
@@ -998,31 +998,31 @@ function vs({
998
998
  }
999
999
  );
1000
1000
  }
1001
- const ar = "_root_32n97_2", cr = "_trigger_32n97_7", ir = "_labelWrap_32n97_30", dr = "_sizer_32n97_8", ur = "_triggerLabel_32n97_70", fr = "_chevron_32n97_77", _r = "_listbox_32n97_82", pr = "_item_32n97_148", se = {
1002
- root: ar,
1003
- trigger: cr,
1004
- labelWrap: ir,
1005
- sizer: dr,
1006
- triggerLabel: ur,
1007
- chevron: fr,
1008
- listbox: _r,
1009
- item: pr
1010
- }, nt = we(null), gr = () => {
1011
- const e = ye(nt);
1001
+ const ur = "_root_12wb9_2", fr = "_trigger_12wb9_7", _r = "_labelWrap_12wb9_30", pr = "_sizer_12wb9_8", gr = "_triggerLabel_12wb9_70", mr = "_chevron_12wb9_77", hr = "_listbox_12wb9_82", Cr = "_item_12wb9_174", ie = {
1002
+ root: ur,
1003
+ trigger: fr,
1004
+ labelWrap: _r,
1005
+ sizer: pr,
1006
+ triggerLabel: gr,
1007
+ chevron: mr,
1008
+ listbox: hr,
1009
+ item: Cr
1010
+ }, lt = $e(null), vr = () => {
1011
+ const e = ke(lt);
1012
1012
  if (!e) throw new Error("Select.Item must be inside a Select");
1013
1013
  return e;
1014
- }, ot = (e, t) => `${e}-${encodeURIComponent(t)}`;
1015
- function mr(e) {
1014
+ }, at = (e, t) => `${e}-${encodeURIComponent(t)}`, Re = 4, be = 8;
1015
+ function br(e) {
1016
1016
  const t = [], o = (r) => {
1017
- Qe.forEach(r, (s) => {
1018
- if (!ve(s)) return;
1017
+ ot.forEach(r, (s) => {
1018
+ if (!ye(s)) return;
1019
1019
  const l = s.props;
1020
- s.type === rt && typeof l.value == "string" ? t.push({ value: l.value, label: l.children, disabled: l.disabled }) : l.children && o(l.children);
1020
+ s.type === ct && typeof l.value == "string" ? t.push({ value: l.value, label: l.children, disabled: l.disabled }) : l.children && o(l.children);
1021
1021
  });
1022
1022
  };
1023
1023
  return o(e), t;
1024
1024
  }
1025
- function hr({
1025
+ function wr({
1026
1026
  value: e,
1027
1027
  onValueChange: t,
1028
1028
  disabled: o,
@@ -1032,39 +1032,60 @@ function hr({
1032
1032
  children: a,
1033
1033
  ...d
1034
1034
  }) {
1035
- const [f, p] = B(!1), [i, g] = B(null), b = Q(), w = R(null), _ = R(null), C = R(null), [$, M] = B(null), [k, j] = B(null), E = Ce(() => mr(a), [a]), q = Ce(() => E.filter((u) => !u.disabled).map((u) => u.value), [E]), W = Ce(() => E.map((u) => u.label), [E]), A = de(
1035
+ const [f, p] = V(!1), [i, h] = V(null), w = ne(), $ = q(null), _ = q(null), C = q(null), [L, R] = V(null), [N, Z] = V(null), [W, U] = V(null), A = xe(() => br(a), [a]), E = xe(() => A.filter((u) => !u.disabled).map((u) => u.value), [A]), G = xe(() => A.map((u) => u.label), [A]), K = le(
1036
1036
  (u) => {
1037
1037
  var x;
1038
- return ((x = E.find((L) => L.value === u)) == null ? void 0 : x.label) ?? null;
1038
+ return ((x = A.find((z) => z.value === u)) == null ? void 0 : x.label) ?? null;
1039
1039
  },
1040
- [E]
1040
+ [A]
1041
1041
  );
1042
- U(() => {
1042
+ X(() => {
1043
1043
  if (!f) return;
1044
1044
  const u = (x) => {
1045
1045
  _.current && !_.current.contains(x.target) && p(!1);
1046
1046
  };
1047
1047
  return document.addEventListener("mousedown", u), () => document.removeEventListener("mousedown", u);
1048
- }, [f]), be(() => {
1048
+ }, [f]);
1049
+ const v = le(() => {
1050
+ const u = $.current, x = C.current;
1051
+ if (!u || !x) return;
1052
+ const z = u.getBoundingClientRect();
1053
+ R(u.offsetWidth);
1054
+ const g = window.innerHeight - z.bottom - be, y = z.top - be, D = g < Math.min(x.offsetHeight + Re, 200) && y > g, H = Math.max(120, Math.min(380, D ? y - Re : g - Re));
1055
+ Z(H), x.dataset.side = D ? "top" : "bottom";
1056
+ const S = Math.min(x.offsetHeight, H), c = D ? Math.max(be, z.top - Re - S) : z.bottom + Re, m = Math.min(
1057
+ Math.max(z.left, be),
1058
+ Math.max(window.innerWidth - x.offsetWidth - be, be)
1059
+ );
1060
+ U((T) => T && T.top === c && T.left === m ? T : { top: c, left: m });
1061
+ }, []);
1062
+ ge(() => {
1063
+ const u = C.current;
1064
+ u && (f ? (Fe(u, v), v()) : u.matches(":popover-open") && u.hidePopover());
1065
+ }, [f, v]), X(() => {
1049
1066
  if (!f) return;
1050
- const u = w.current;
1051
- if (!u) return;
1052
- const x = u.getBoundingClientRect();
1053
- M(u.offsetWidth);
1054
- const L = window.innerHeight - x.bottom - 16;
1055
- j(Math.min(380, Math.max(120, L)));
1056
- }, [f]), U(() => {
1067
+ let u = 0, x = "";
1068
+ const z = () => {
1069
+ const g = $.current;
1070
+ if (g) {
1071
+ const y = g.getBoundingClientRect(), D = `${y.top}|${y.left}|${y.width}|${window.innerWidth}|${window.innerHeight}`;
1072
+ D !== x && (x = D, v());
1073
+ }
1074
+ u = requestAnimationFrame(z);
1075
+ };
1076
+ return u = requestAnimationFrame(z), () => cancelAnimationFrame(u);
1077
+ }, [f, v]), X(() => {
1057
1078
  var u;
1058
1079
  f && ((u = C.current) == null || u.focus());
1059
1080
  }, [f]);
1060
- const N = (u) => {
1061
- g(u ?? q[0] ?? null), p(!0);
1062
- }, I = (u) => {
1063
- const x = i ? q.indexOf(i) : -1, L = Math.min(Math.max(x + u, 0), q.length - 1);
1064
- g(q[L] ?? null);
1065
- }, y = e ? A(e) : null;
1081
+ const k = (u) => {
1082
+ h(u ?? E[0] ?? null), p(!0);
1083
+ }, M = (u) => {
1084
+ const x = i ? E.indexOf(i) : -1, z = Math.min(Math.max(x + u, 0), E.length - 1);
1085
+ h(E[z] ?? null);
1086
+ }, j = e ? K(e) : null;
1066
1087
  return /* @__PURE__ */ n(
1067
- nt.Provider,
1088
+ lt.Provider,
1068
1089
  {
1069
1090
  value: {
1070
1091
  value: e,
@@ -1073,42 +1094,42 @@ function hr({
1073
1094
  open: f,
1074
1095
  setOpen: p,
1075
1096
  highlighted: i,
1076
- setHighlighted: g,
1077
- listboxId: b,
1078
- values: q,
1079
- labelFor: A,
1080
- triggerRef: w
1097
+ setHighlighted: h,
1098
+ listboxId: w,
1099
+ values: E,
1100
+ labelFor: K,
1101
+ triggerRef: $
1081
1102
  },
1082
- children: /* @__PURE__ */ z("div", { ref: _, className: se.root, children: [
1083
- /* @__PURE__ */ z(
1103
+ children: /* @__PURE__ */ I("div", { ref: _, className: ie.root, children: [
1104
+ /* @__PURE__ */ I(
1084
1105
  "button",
1085
1106
  {
1086
1107
  type: "button",
1087
1108
  ...d,
1088
- ref: w,
1109
+ ref: $,
1089
1110
  disabled: o,
1090
- className: v(se.trigger, te.spaceControl, "spSelectTrigger", l),
1111
+ className: b(ie.trigger, re.spaceControl, "spSelectTrigger", l),
1091
1112
  "data-animated": s ? void 0 : "false",
1092
1113
  "data-state": f ? "open" : "closed",
1093
1114
  "aria-haspopup": "listbox",
1094
1115
  "aria-expanded": f,
1095
- "aria-controls": b,
1096
- onClick: () => f ? p(!1) : N(e || null),
1116
+ "aria-controls": w,
1117
+ onClick: () => f ? p(!1) : k(e || null),
1097
1118
  onKeyDown: (u) => {
1098
- (u.key === "ArrowDown" || u.key === "Enter" || u.key === " ") && (u.preventDefault(), N(e || null));
1119
+ (u.key === "ArrowDown" || u.key === "Enter" || u.key === " ") && (u.preventDefault(), k(e || null));
1099
1120
  },
1100
1121
  children: [
1101
- /* @__PURE__ */ z("span", { className: se.labelWrap, children: [
1102
- /* @__PURE__ */ z("span", { className: se.sizer, "data-sizer": "", "aria-hidden": "true", children: [
1103
- W.map((u, x) => (
1122
+ /* @__PURE__ */ I("span", { className: ie.labelWrap, children: [
1123
+ /* @__PURE__ */ I("span", { className: ie.sizer, "data-sizer": "", "aria-hidden": "true", children: [
1124
+ G.map((u, x) => (
1104
1125
  // eslint-disable-next-line react/no-array-index-key
1105
1126
  /* @__PURE__ */ n("span", { children: u }, x)
1106
1127
  )),
1107
1128
  r && /* @__PURE__ */ n("span", { children: r })
1108
1129
  ] }),
1109
- /* @__PURE__ */ n("span", { className: se.triggerLabel, children: y ?? r ?? "" })
1130
+ /* @__PURE__ */ n("span", { className: ie.triggerLabel, children: j ?? r ?? "" })
1110
1131
  ] }),
1111
- /* @__PURE__ */ n("svg", { className: se.chevron, width: "9", height: "9", viewBox: "0 0 9 9", "aria-hidden": "true", children: /* @__PURE__ */ n("path", { d: "M0.5 3 L4.5 7 L8.5 3", fill: "none", stroke: "currentColor", strokeWidth: "1.2" }) })
1132
+ /* @__PURE__ */ n("svg", { className: ie.chevron, width: "9", height: "9", viewBox: "0 0 9 9", "aria-hidden": "true", children: /* @__PURE__ */ n("path", { d: "M0.5 3 L4.5 7 L8.5 3", fill: "none", stroke: "currentColor", strokeWidth: "1.2" }) })
1112
1133
  ]
1113
1134
  }
1114
1135
  ),
@@ -1116,20 +1137,22 @@ function hr({
1116
1137
  "div",
1117
1138
  {
1118
1139
  ref: C,
1119
- id: b,
1140
+ id: w,
1120
1141
  role: "listbox",
1121
1142
  tabIndex: -1,
1122
- hidden: !f,
1123
- "aria-activedescendant": i ? ot(b, i) : void 0,
1124
- className: v(se.listbox, te.spacePanel),
1143
+ popover: "manual",
1144
+ "data-side": "bottom",
1145
+ "aria-activedescendant": i ? at(w, i) : void 0,
1146
+ className: b(ie.listbox, re.spacePanel),
1125
1147
  "data-animated": s ? void 0 : "false",
1126
- style: $ != null || k != null ? {
1127
- ...$ != null ? { "--_select-trigger-width": `${$}px` } : {},
1128
- ...k != null ? { maxHeight: `${k}px` } : {}
1129
- } : void 0,
1148
+ style: {
1149
+ ...L != null ? { "--_select-trigger-width": `${L}px` } : {},
1150
+ ...N != null ? { maxHeight: `${N}px` } : {},
1151
+ ...W ? { top: W.top, left: W.left } : {}
1152
+ },
1130
1153
  onKeyDown: (u) => {
1131
- var x, L;
1132
- u.key === "Escape" ? (u.stopPropagation(), p(!1), (x = w.current) == null || x.focus()) : u.key === "ArrowDown" ? (u.preventDefault(), I(1)) : u.key === "ArrowUp" ? (u.preventDefault(), I(-1)) : u.key === "Home" ? (u.preventDefault(), g(q[0] ?? null)) : u.key === "End" ? (u.preventDefault(), g(q[q.length - 1] ?? null)) : u.key === "Enter" || u.key === " " ? (u.preventDefault(), i && (t(i), p(!1), (L = w.current) == null || L.focus())) : u.key === "Tab" && p(!1);
1154
+ var x, z;
1155
+ u.key === "Escape" ? (u.stopPropagation(), p(!1), (x = $.current) == null || x.focus()) : u.key === "ArrowDown" ? (u.preventDefault(), M(1)) : u.key === "ArrowUp" ? (u.preventDefault(), M(-1)) : u.key === "Home" ? (u.preventDefault(), h(E[0] ?? null)) : u.key === "End" ? (u.preventDefault(), h(E[E.length - 1] ?? null)) : u.key === "Enter" || u.key === " " ? (u.preventDefault(), i && (t(i), p(!1), (z = $.current) == null || z.focus())) : u.key === "Tab" && p(!1);
1133
1156
  },
1134
1157
  children: a
1135
1158
  }
@@ -1138,17 +1161,17 @@ function hr({
1138
1161
  }
1139
1162
  );
1140
1163
  }
1141
- function rt({ value: e, disabled: t, children: o }) {
1142
- const r = gr(), s = r.value === e, l = r.highlighted === e;
1164
+ function ct({ value: e, disabled: t, children: o }) {
1165
+ const r = vr(), s = r.value === e, l = r.highlighted === e;
1143
1166
  return /* @__PURE__ */ n(
1144
1167
  "div",
1145
1168
  {
1146
- id: ot(r.listboxId, e),
1169
+ id: at(r.listboxId, e),
1147
1170
  role: "option",
1148
1171
  "aria-selected": s,
1149
1172
  "aria-disabled": t || void 0,
1150
1173
  "data-highlighted": l ? "" : void 0,
1151
- className: v(se.item, "spSelectItem"),
1174
+ className: b(ie.item, "spSelectItem"),
1152
1175
  onMouseEnter: () => !t && r.setHighlighted(e),
1153
1176
  onClick: () => {
1154
1177
  var a;
@@ -1158,55 +1181,55 @@ function rt({ value: e, disabled: t, children: o }) {
1158
1181
  }
1159
1182
  );
1160
1183
  }
1161
- const bs = Object.assign(hr, { Item: rt }), Cr = "_root_1lx7y_1", vr = "_input_1lx7y_7", br = "_slot_1lx7y_17", We = {
1162
- root: Cr,
1163
- input: vr,
1164
- slot: br
1165
- }, wr = G(function({ className: t, style: o, animated: r = !0, children: s, ...l }, a) {
1166
- return /* @__PURE__ */ z(
1184
+ const $1 = Object.assign(wr, { Item: ct }), xr = "_root_1lx7y_1", yr = "_input_1lx7y_7", $r = "_slot_1lx7y_17", Ge = {
1185
+ root: xr,
1186
+ input: yr,
1187
+ slot: $r
1188
+ }, kr = Q(function({ className: t, style: o, animated: r = !0, children: s, ...l }, a) {
1189
+ return /* @__PURE__ */ I(
1167
1190
  "div",
1168
1191
  {
1169
- className: v(We.root, te.spaceInput, "spTextFieldRoot", t),
1192
+ className: b(Ge.root, re.spaceInput, "spTextFieldRoot", t),
1170
1193
  "data-animated": r ? void 0 : "false",
1171
1194
  style: o,
1172
1195
  children: [
1173
1196
  s,
1174
- /* @__PURE__ */ n("input", { ...l, ref: a, className: v(We.input, "spTextFieldInput") })
1197
+ /* @__PURE__ */ n("input", { ...l, ref: a, className: b(Ge.input, "spTextFieldInput") })
1175
1198
  ]
1176
1199
  }
1177
1200
  );
1178
1201
  });
1179
- function yr({
1202
+ function Lr({
1180
1203
  children: e
1181
1204
  }) {
1182
- return /* @__PURE__ */ n("span", { className: We.slot, children: e });
1205
+ return /* @__PURE__ */ n("span", { className: Ge.slot, children: e });
1183
1206
  }
1184
- const Ue = Object.assign(wr, { Slot: yr }), xr = "_root_1qu6w_1", Lr = "_textarea_1qu6w_6", Xe = {
1185
- root: xr,
1186
- textarea: Lr
1187
- }, ws = G(function({ className: t, style: o, animated: r = !0, ...s }, l) {
1207
+ const Je = Object.assign(kr, { Slot: Lr }), Mr = "_root_1qu6w_1", Nr = "_textarea_1qu6w_6", et = {
1208
+ root: Mr,
1209
+ textarea: Nr
1210
+ }, k1 = Q(function({ className: t, style: o, animated: r = !0, ...s }, l) {
1188
1211
  return /* @__PURE__ */ n(
1189
1212
  "div",
1190
1213
  {
1191
- className: v(Xe.root, te.spaceInput, te.spaceTextArea, "spTextFieldRoot", t),
1214
+ className: b(et.root, re.spaceInput, re.spaceTextArea, "spTextFieldRoot", t),
1192
1215
  "data-animated": r ? void 0 : "false",
1193
1216
  style: o,
1194
- children: /* @__PURE__ */ n("textarea", { ...s, ref: l, className: v(Xe.textarea, "spTextAreaInput") })
1217
+ children: /* @__PURE__ */ n("textarea", { ...s, ref: l, className: b(et.textarea, "spTextAreaInput") })
1195
1218
  }
1196
1219
  );
1197
- }), $r = "_wrap_1rgfg_12", kr = "_field_1rgfg_16", Nr = "_panel_1rgfg_22", Mr = "_status_1rgfg_73", zr = "_list_1rgfg_83", Rr = "_option_1rgfg_96", Dr = "_active_1rgfg_108", qr = "_label_1rgfg_118", Ir = "_meta_1rgfg_125", Er = "_footer_1rgfg_131", ee = {
1198
- wrap: $r,
1199
- field: kr,
1200
- panel: Nr,
1201
- status: Mr,
1202
- list: zr,
1203
- option: Rr,
1204
- active: Dr,
1205
- label: qr,
1206
- meta: Ir,
1207
- footer: Er
1208
- };
1209
- function ys({
1220
+ }), zr = "_wrap_4p9as_12", Rr = "_field_4p9as_16", Dr = "_panel_4p9as_25", qr = "_status_4p9as_91", Ir = "_list_4p9as_101", Er = "_option_4p9as_114", Hr = "_active_4p9as_126", Sr = "_label_4p9as_136", Tr = "_meta_4p9as_143", Ar = "_footer_4p9as_149", oe = {
1221
+ wrap: zr,
1222
+ field: Rr,
1223
+ panel: Dr,
1224
+ status: qr,
1225
+ list: Ir,
1226
+ option: Er,
1227
+ active: Hr,
1228
+ label: Sr,
1229
+ meta: Tr,
1230
+ footer: Ar
1231
+ }, tt = 8, Pe = 8;
1232
+ function L1({
1210
1233
  value: e,
1211
1234
  onValueChange: t,
1212
1235
  options: o,
@@ -1218,189 +1241,218 @@ function ys({
1218
1241
  loadingMessage: f = "Loading…",
1219
1242
  emptyMessage: p,
1220
1243
  footer: i,
1221
- animated: g = !0,
1222
- className: b,
1223
- style: w,
1244
+ animated: h = !0,
1245
+ className: w,
1246
+ style: $,
1224
1247
  ..._
1225
1248
  }) {
1226
- const [C, $] = B(!1), [M, k] = B(0), j = R(null), E = R(null), q = Q(), W = (c) => typeof c.label == "string" ? c.label : c.search ?? c.value, A = e.trim() !== "", N = Ce(() => {
1227
- if (!A) return [];
1249
+ const [C, L] = V(!1), [R, N] = V(0), Z = q(null), W = q(null), U = q(null), A = ne(), [E, G] = V(null), K = (c) => typeof c.label == "string" ? c.label : c.search ?? c.value, v = e.trim() !== "", k = xe(() => {
1250
+ if (!v) return [];
1228
1251
  if (a) return o;
1229
1252
  const c = l ? e : e.toLowerCase();
1230
- return o.filter((m) => (l ? W(m) : W(m).toLowerCase()).includes(c));
1231
- }, [o, e, l, a, A]), I = Ce(() => N.filter((c) => !c.disabled), [N]), y = A && (N.length > 0 || d || p != null), u = C && y;
1232
- U(() => k(0), [N]), U(() => {
1253
+ return o.filter((m) => (l ? K(m) : K(m).toLowerCase()).includes(c));
1254
+ }, [o, e, l, a, v]), M = xe(() => k.filter((c) => !c.disabled), [k]), j = v && (k.length > 0 || d || p != null), u = C && j;
1255
+ X(() => N(0), [k]), X(() => {
1233
1256
  var m;
1234
1257
  if (!u) return;
1235
- const c = (m = E.current) == null ? void 0 : m.querySelector(`[data-index="${M}"]`);
1258
+ const c = (m = U.current) == null ? void 0 : m.querySelector(`[data-index="${R}"]`);
1236
1259
  c == null || c.scrollIntoView({ block: "nearest" });
1237
- }, [M, u]);
1238
- const x = de(() => $(!1), []);
1239
- U(() => {
1260
+ }, [R, u]);
1261
+ const x = le(() => {
1262
+ const c = Z.current, m = W.current;
1263
+ if (!c || !m) return;
1264
+ const B = (c.firstElementChild ?? c).getBoundingClientRect(), P = m.offsetHeight, J = window.innerHeight - B.bottom - Pe, se = J < P && B.top - Pe > J;
1265
+ m.dataset.side = se ? "top" : "bottom";
1266
+ const ae = se ? Math.max(Pe, B.top - tt - P) : B.bottom + tt;
1267
+ G(
1268
+ (F) => F && F.top === ae && F.left === B.left && F.width === B.width ? F : { top: ae, left: B.left, width: B.width }
1269
+ );
1270
+ }, []);
1271
+ ge(() => {
1272
+ const c = W.current;
1273
+ c && (u ? (Fe(c, x), x()) : c.matches(":popover-open") && c.hidePopover());
1274
+ }, [u, x]), X(() => {
1275
+ if (!u) return;
1276
+ let c = 0, m = "";
1277
+ const T = () => {
1278
+ const B = Z.current, P = W.current;
1279
+ if (B && P) {
1280
+ const J = (B.firstElementChild ?? B).getBoundingClientRect(), se = `${J.top}|${J.left}|${J.width}|${P.offsetHeight}|${window.innerHeight}`;
1281
+ se !== m && (m = se, x());
1282
+ }
1283
+ c = requestAnimationFrame(T);
1284
+ };
1285
+ return c = requestAnimationFrame(T), () => cancelAnimationFrame(c);
1286
+ }, [u, x]);
1287
+ const z = le(() => L(!1), []);
1288
+ X(() => {
1240
1289
  if (!u) return;
1241
1290
  const c = (m) => {
1242
- const D = j.current;
1243
- D && m.target instanceof Node && !D.contains(m.target) && x();
1291
+ const T = Z.current;
1292
+ T && m.target instanceof Node && !T.contains(m.target) && z();
1244
1293
  };
1245
1294
  return document.addEventListener("pointerdown", c), () => document.removeEventListener("pointerdown", c);
1246
- }, [u, x]);
1247
- const L = R(!1), Z = (c) => {
1248
- c.disabled || (t(W(c)), r(c.value, c), L.current = !1, $(!1));
1295
+ }, [u, z]);
1296
+ const g = q(!1), y = (c) => {
1297
+ c.disabled || (t(K(c)), r(c.value, c), g.current = !1, L(!1));
1298
+ }, D = (c) => {
1299
+ if (M.length === 0) return;
1300
+ const m = k[R], B = ((m && !m.disabled ? M.indexOf(m) : -1) + c + M.length) % M.length, P = M[B];
1301
+ P && N(k.indexOf(P));
1249
1302
  }, H = (c) => {
1250
- if (I.length === 0) return;
1251
- const m = N[M], S = ((m && !m.disabled ? I.indexOf(m) : -1) + c + I.length) % I.length, O = I[S];
1252
- O && k(N.indexOf(O));
1253
- }, F = (c) => {
1254
1303
  if (c.key === "Escape") {
1255
- u && c.stopPropagation(), $(!1);
1304
+ u && c.stopPropagation(), L(!1);
1256
1305
  return;
1257
1306
  }
1258
1307
  if (c.key === "Tab") {
1259
- $(!1);
1308
+ L(!1);
1260
1309
  return;
1261
1310
  }
1262
1311
  if (!u) {
1263
- c.key === "ArrowDown" && $(!0);
1312
+ c.key === "ArrowDown" && L(!0);
1264
1313
  return;
1265
1314
  }
1266
1315
  if (c.key === "ArrowDown")
1267
- c.preventDefault(), L.current = !0, H(1);
1316
+ c.preventDefault(), g.current = !0, D(1);
1268
1317
  else if (c.key === "ArrowUp")
1269
- c.preventDefault(), L.current = !0, H(-1);
1318
+ c.preventDefault(), g.current = !0, D(-1);
1270
1319
  else if (c.key === "Home") {
1271
- c.preventDefault(), L.current = !0;
1272
- const m = I[0];
1273
- m && k(N.indexOf(m));
1320
+ c.preventDefault(), g.current = !0;
1321
+ const m = M[0];
1322
+ m && N(k.indexOf(m));
1274
1323
  } else if (c.key === "End") {
1275
- c.preventDefault(), L.current = !0;
1276
- const m = I[I.length - 1];
1277
- m && k(N.indexOf(m));
1278
- } else if (c.key === "Enter" || c.key === " " && L.current) {
1279
- const m = N[M];
1280
- m && !m.disabled && (c.preventDefault(), Z(m));
1324
+ c.preventDefault(), g.current = !0;
1325
+ const m = M[M.length - 1];
1326
+ m && N(k.indexOf(m));
1327
+ } else if (c.key === "Enter" || c.key === " " && g.current) {
1328
+ const m = k[R];
1329
+ m && !m.disabled && (c.preventDefault(), y(m));
1281
1330
  }
1282
- }, h = u ? N[M] : void 0;
1283
- return /* @__PURE__ */ z("div", { ref: j, className: v(ee.wrap, b), style: w, children: [
1331
+ }, S = u ? k[R] : void 0;
1332
+ return /* @__PURE__ */ I("div", { ref: Z, className: b(oe.wrap, w), style: $, children: [
1284
1333
  /* @__PURE__ */ n(
1285
- Ue,
1334
+ Je,
1286
1335
  {
1287
1336
  ..._,
1288
1337
  type: _.type ?? "text",
1289
1338
  role: "combobox",
1290
- animated: g,
1291
- className: ee.field,
1339
+ animated: h,
1340
+ className: oe.field,
1292
1341
  autoComplete: "off",
1293
1342
  "aria-expanded": u,
1294
- "aria-controls": q,
1343
+ "aria-controls": A,
1295
1344
  "aria-autocomplete": "list",
1296
- "aria-activedescendant": h && !h.disabled ? `${q}-${M}` : void 0,
1345
+ "aria-activedescendant": S && !S.disabled ? `${A}-${R}` : void 0,
1297
1346
  value: e,
1298
1347
  onFocus: (c) => {
1299
1348
  var m;
1300
- (m = _.onFocus) == null || m.call(_, c), $(!0);
1349
+ (m = _.onFocus) == null || m.call(_, c), L(!0);
1301
1350
  },
1302
1351
  onClick: (c) => {
1303
1352
  var m;
1304
- (m = _.onClick) == null || m.call(_, c), $(!0);
1353
+ (m = _.onClick) == null || m.call(_, c), L(!0);
1305
1354
  },
1306
1355
  onKeyDown: (c) => {
1307
1356
  var m;
1308
- (m = _.onKeyDown) == null || m.call(_, c), F(c);
1357
+ (m = _.onKeyDown) == null || m.call(_, c), H(c);
1309
1358
  },
1310
1359
  onChange: (c) => {
1311
- L.current = !1, t(c.target.value), $(!0);
1360
+ g.current = !1, t(c.target.value), L(!0);
1312
1361
  },
1313
- children: s != null && /* @__PURE__ */ n(Ue.Slot, { children: s })
1362
+ children: s != null && /* @__PURE__ */ n(Je.Slot, { children: s })
1314
1363
  }
1315
1364
  ),
1316
- /* @__PURE__ */ z(
1365
+ /* @__PURE__ */ I(
1317
1366
  "div",
1318
1367
  {
1319
- className: v(ee.panel, te.spacePanel),
1320
- hidden: !u,
1321
- "data-animated": g ? void 0 : "false",
1368
+ ref: W,
1369
+ popover: "manual",
1370
+ "data-side": "bottom",
1371
+ className: b(oe.panel, re.spacePanel),
1372
+ "data-animated": h ? void 0 : "false",
1373
+ style: E ? { top: E.top, left: E.left, width: E.width } : void 0,
1322
1374
  children: [
1323
- A && d && /* @__PURE__ */ n("p", { className: ee.status, children: f }),
1324
- A && !d && N.length === 0 && p != null && /* @__PURE__ */ n("p", { className: ee.status, children: p }),
1375
+ v && d && /* @__PURE__ */ n("p", { className: oe.status, children: f }),
1376
+ v && !d && k.length === 0 && p != null && /* @__PURE__ */ n("p", { className: oe.status, children: p }),
1325
1377
  /* @__PURE__ */ n(
1326
1378
  "ul",
1327
1379
  {
1328
- ref: E,
1329
- id: q,
1380
+ ref: U,
1381
+ id: A,
1330
1382
  role: "listbox",
1331
- className: ee.list,
1332
- hidden: d || N.length === 0,
1333
- children: N.map((c, m) => /* @__PURE__ */ z(
1383
+ className: oe.list,
1384
+ hidden: d || k.length === 0,
1385
+ children: k.map((c, m) => /* @__PURE__ */ I(
1334
1386
  "li",
1335
1387
  {
1336
- id: `${q}-${m}`,
1388
+ id: `${A}-${m}`,
1337
1389
  "data-index": m,
1338
1390
  role: "option",
1339
- "aria-selected": m === M,
1391
+ "aria-selected": m === R,
1340
1392
  "aria-disabled": c.disabled || void 0,
1341
- className: v(
1342
- ee.option,
1343
- m === M && !c.disabled && ee.active,
1393
+ className: b(
1394
+ oe.option,
1395
+ m === R && !c.disabled && oe.active,
1344
1396
  "spAutocompleteOption"
1345
1397
  ),
1346
- onMouseEnter: () => !c.disabled && k(m),
1347
- onPointerDown: (D) => {
1348
- D.preventDefault(), Z(c);
1398
+ onMouseEnter: () => !c.disabled && N(m),
1399
+ onPointerDown: (T) => {
1400
+ T.preventDefault(), y(c);
1349
1401
  },
1350
1402
  children: [
1351
- /* @__PURE__ */ n("span", { className: ee.label, children: c.label }),
1352
- c.meta != null && /* @__PURE__ */ n("span", { className: ee.meta, children: c.meta })
1403
+ /* @__PURE__ */ n("span", { className: oe.label, children: c.label }),
1404
+ c.meta != null && /* @__PURE__ */ n("span", { className: oe.meta, children: c.meta })
1353
1405
  ]
1354
1406
  },
1355
1407
  c.value
1356
1408
  ))
1357
1409
  }
1358
1410
  ),
1359
- i != null && /* @__PURE__ */ n("div", { className: ee.footer, children: i })
1411
+ i != null && /* @__PURE__ */ n("div", { className: oe.footer, children: i })
1360
1412
  ]
1361
1413
  }
1362
1414
  )
1363
1415
  ] });
1364
1416
  }
1365
- const Hr = "_root_14a1b_1", Sr = "_track_14a1b_12", Tr = "_range_14a1b_22", jr = "_thumb_14a1b_28", Ar = "_input_14a1b_38", Me = {
1366
- root: Hr,
1367
- track: Sr,
1368
- range: Tr,
1369
- thumb: jr,
1370
- input: Ar
1371
- }, xs = G(function({ value: t, onValueChange: o, min: r, max: s, step: l, disabled: a, className: d, "aria-label": f }, p) {
1372
- const i = t[0] ?? r, g = s === r ? 0 : (i - r) / (s - r) * 100;
1373
- return /* @__PURE__ */ z("span", { className: v(Me.root, te.spaceSlider, d), "data-disabled": a || void 0, children: [
1374
- /* @__PURE__ */ n("span", { className: v(Me.track, "spSliderTrack"), children: /* @__PURE__ */ n("span", { className: v(Me.range, "spSliderRange"), style: { width: `${g}%` } }) }),
1375
- /* @__PURE__ */ n("span", { className: v(Me.thumb, "spSliderThumb"), style: { left: `${g}%` } }),
1417
+ const jr = "_root_14a1b_1", Zr = "_track_14a1b_12", Br = "_range_14a1b_22", Or = "_thumb_14a1b_28", Wr = "_input_14a1b_38", De = {
1418
+ root: jr,
1419
+ track: Zr,
1420
+ range: Br,
1421
+ thumb: Or,
1422
+ input: Wr
1423
+ }, M1 = Q(function({ value: t, onValueChange: o, min: r, max: s, step: l, disabled: a, className: d, "aria-label": f }, p) {
1424
+ const i = t[0] ?? r, h = s === r ? 0 : (i - r) / (s - r) * 100;
1425
+ return /* @__PURE__ */ I("span", { className: b(De.root, re.spaceSlider, d), "data-disabled": a || void 0, children: [
1426
+ /* @__PURE__ */ n("span", { className: b(De.track, "spSliderTrack"), children: /* @__PURE__ */ n("span", { className: b(De.range, "spSliderRange"), style: { width: `${h}%` } }) }),
1427
+ /* @__PURE__ */ n("span", { className: b(De.thumb, "spSliderThumb"), style: { left: `${h}%` } }),
1376
1428
  /* @__PURE__ */ n(
1377
1429
  "input",
1378
1430
  {
1379
1431
  ref: p,
1380
1432
  type: "range",
1381
- className: v(Me.input, "spSliderInput"),
1433
+ className: b(De.input, "spSliderInput"),
1382
1434
  value: i,
1383
1435
  min: r,
1384
1436
  max: s,
1385
1437
  step: l,
1386
1438
  disabled: a,
1387
1439
  "aria-label": f,
1388
- onChange: (b) => o([Number(b.target.value)])
1440
+ onChange: (w) => o([Number(w.target.value)])
1389
1441
  }
1390
1442
  )
1391
1443
  ] });
1392
- }), Zr = "_root_mmcx8_18", Or = "_item_mmcx8_24", Br = "_selfLabeled_mmcx8_33", Wr = "_label_mmcx8_37", Vr = "_input_mmcx8_41", Fr = "_box_mmcx8_57", Pr = "_tick_mmcx8_80", Gr = "_dash_mmcx8_81", Kr = "_tickPath_mmcx8_95", P = {
1393
- root: Zr,
1394
- item: Or,
1395
- selfLabeled: Br,
1396
- label: Wr,
1397
- input: Vr,
1398
- box: Fr,
1399
- tick: Pr,
1400
- dash: Gr,
1401
- tickPath: Kr
1402
- }, st = we(null);
1403
- function lt({
1444
+ }), Fr = "_root_mmcx8_18", Vr = "_item_mmcx8_24", Pr = "_selfLabeled_mmcx8_33", Gr = "_label_mmcx8_37", Kr = "_input_mmcx8_41", Ur = "_box_mmcx8_57", Xr = "_tick_mmcx8_80", Yr = "_dash_mmcx8_81", Qr = "_tickPath_mmcx8_95", Y = {
1445
+ root: Fr,
1446
+ item: Vr,
1447
+ selfLabeled: Pr,
1448
+ label: Gr,
1449
+ input: Kr,
1450
+ box: Ur,
1451
+ tick: Xr,
1452
+ dash: Yr,
1453
+ tickPath: Qr
1454
+ }, it = $e(null);
1455
+ function dt({
1404
1456
  checked: e,
1405
1457
  indeterminate: t,
1406
1458
  disabled: o,
@@ -1408,16 +1460,16 @@ function lt({
1408
1460
  value: s,
1409
1461
  ariaLabel: l
1410
1462
  }) {
1411
- const a = R(null);
1412
- return U(() => {
1463
+ const a = q(null);
1464
+ return X(() => {
1413
1465
  a.current && (a.current.indeterminate = t === !0);
1414
- }, [t]), /* @__PURE__ */ z(ue, { children: [
1466
+ }, [t]), /* @__PURE__ */ I(pe, { children: [
1415
1467
  /* @__PURE__ */ n(
1416
1468
  "input",
1417
1469
  {
1418
1470
  ref: a,
1419
1471
  type: "checkbox",
1420
- className: P.input,
1472
+ className: Y.input,
1421
1473
  "aria-label": l,
1422
1474
  value: s,
1423
1475
  checked: e,
@@ -1425,11 +1477,11 @@ function lt({
1425
1477
  onChange: (d) => r(d.currentTarget.checked)
1426
1478
  }
1427
1479
  ),
1428
- /* @__PURE__ */ z("span", { className: P.box, "aria-hidden": "true", children: [
1429
- /* @__PURE__ */ n("svg", { className: P.tick, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ n(
1480
+ /* @__PURE__ */ I("span", { className: Y.box, "aria-hidden": "true", children: [
1481
+ /* @__PURE__ */ n("svg", { className: Y.tick, viewBox: "0 0 16 16", fill: "none", children: /* @__PURE__ */ n(
1430
1482
  "path",
1431
1483
  {
1432
- className: P.tickPath,
1484
+ className: Y.tickPath,
1433
1485
  d: "M3.5 8.4 6.6 11.5 12.5 4.8",
1434
1486
  pathLength: 1,
1435
1487
  stroke: "currentColor",
@@ -1438,11 +1490,11 @@ function lt({
1438
1490
  strokeLinejoin: "round"
1439
1491
  }
1440
1492
  ) }),
1441
- /* @__PURE__ */ n("span", { className: P.dash })
1493
+ /* @__PURE__ */ n("span", { className: Y.dash })
1442
1494
  ] })
1443
1495
  ] });
1444
1496
  }
1445
- function Ur({
1497
+ function Jr({
1446
1498
  value: e,
1447
1499
  onValueChange: t,
1448
1500
  disabled: o,
@@ -1450,13 +1502,13 @@ function Ur({
1450
1502
  "aria-label": s,
1451
1503
  children: l
1452
1504
  }) {
1453
- return /* @__PURE__ */ n(st.Provider, { value: { value: e, onValueChange: t, disabled: o }, children: /* @__PURE__ */ n("div", { role: "group", "aria-label": s, className: v(P.root, r), children: l }) });
1505
+ return /* @__PURE__ */ n(it.Provider, { value: { value: e, onValueChange: t, disabled: o }, children: /* @__PURE__ */ n("div", { role: "group", "aria-label": s, className: b(Y.root, r), children: l }) });
1454
1506
  }
1455
- function Xr({ value: e, disabled: t, children: o }) {
1456
- const r = ye(st);
1507
+ function es({ value: e, disabled: t, children: o }) {
1508
+ const r = ke(it);
1457
1509
  if (!r) throw new Error("CheckboxGroup.Item must be inside a CheckboxGroup");
1458
1510
  const s = t || r.disabled, l = r.value.includes(e), a = /* @__PURE__ */ n(
1459
- lt,
1511
+ dt,
1460
1512
  {
1461
1513
  checked: l,
1462
1514
  disabled: s,
@@ -1464,13 +1516,13 @@ function Xr({ value: e, disabled: t, children: o }) {
1464
1516
  onToggle: (d) => r.onValueChange(d ? [...r.value, e] : r.value.filter((f) => f !== e))
1465
1517
  }
1466
1518
  );
1467
- return o == null ? /* @__PURE__ */ n("span", { className: P.item, children: a }) : /* @__PURE__ */ z("label", { className: v(P.item, P.selfLabeled), children: [
1519
+ return o == null ? /* @__PURE__ */ n("span", { className: Y.item, children: a }) : /* @__PURE__ */ I("label", { className: b(Y.item, Y.selfLabeled), children: [
1468
1520
  a,
1469
- /* @__PURE__ */ n("span", { className: P.label, children: o })
1521
+ /* @__PURE__ */ n("span", { className: Y.label, children: o })
1470
1522
  ] });
1471
1523
  }
1472
- const Ls = Object.assign(Ur, { Item: Xr });
1473
- function $s({
1524
+ const N1 = Object.assign(Jr, { Item: es });
1525
+ function z1({
1474
1526
  checked: e,
1475
1527
  onCheckedChange: t,
1476
1528
  indeterminate: o,
@@ -1480,7 +1532,7 @@ function $s({
1480
1532
  children: a
1481
1533
  }) {
1482
1534
  const d = /* @__PURE__ */ n(
1483
- lt,
1535
+ dt,
1484
1536
  {
1485
1537
  checked: e,
1486
1538
  indeterminate: o,
@@ -1489,32 +1541,32 @@ function $s({
1489
1541
  onToggle: t
1490
1542
  }
1491
1543
  );
1492
- return a == null ? /* @__PURE__ */ n("span", { className: v(P.item, s), children: d }) : /* @__PURE__ */ z("label", { className: v(P.item, P.selfLabeled, s), children: [
1544
+ return a == null ? /* @__PURE__ */ n("span", { className: b(Y.item, s), children: d }) : /* @__PURE__ */ I("label", { className: b(Y.item, Y.selfLabeled, s), children: [
1493
1545
  d,
1494
- /* @__PURE__ */ n("span", { className: P.label, children: a })
1546
+ /* @__PURE__ */ n("span", { className: Y.label, children: a })
1495
1547
  ] });
1496
1548
  }
1497
- const Yr = "_root_1u1sq_15", Qr = "_item_1u1sq_23", Jr = "_selfLabeled_1u1sq_32", e1 = "_input_1u1sq_36", t1 = "_orb_1u1sq_52", n1 = "_burst_1u1sq_99", ie = {
1498
- root: Yr,
1499
- item: Qr,
1500
- selfLabeled: Jr,
1501
- input: e1,
1502
- orb: t1,
1503
- burst: n1
1504
- }, at = we(null);
1505
- function o1({ value: e, onValueChange: t, disabled: o, className: r, children: s }) {
1506
- const l = Q();
1507
- return /* @__PURE__ */ n(at.Provider, { value: { value: e, onValueChange: t, disabled: o, name: l }, children: /* @__PURE__ */ n("div", { role: "radiogroup", className: v(ie.root, r), children: s }) });
1549
+ const ts = "_root_1u1sq_15", ns = "_item_1u1sq_23", os = "_selfLabeled_1u1sq_32", rs = "_input_1u1sq_36", ss = "_orb_1u1sq_52", ls = "_burst_1u1sq_99", _e = {
1550
+ root: ts,
1551
+ item: ns,
1552
+ selfLabeled: os,
1553
+ input: rs,
1554
+ orb: ss,
1555
+ burst: ls
1556
+ }, ut = $e(null);
1557
+ function as({ value: e, onValueChange: t, disabled: o, className: r, children: s }) {
1558
+ const l = ne();
1559
+ return /* @__PURE__ */ n(ut.Provider, { value: { value: e, onValueChange: t, disabled: o, name: l }, children: /* @__PURE__ */ n("div", { role: "radiogroup", className: b(_e.root, r), children: s }) });
1508
1560
  }
1509
- function r1({ value: e, disabled: t, children: o }) {
1510
- const r = ye(at);
1561
+ function cs({ value: e, disabled: t, children: o }) {
1562
+ const r = ke(ut);
1511
1563
  if (!r) throw new Error("RadioGroup.Item must be inside a RadioGroup");
1512
- const s = t || r.disabled, l = /* @__PURE__ */ z(ue, { children: [
1564
+ const s = t || r.disabled, l = /* @__PURE__ */ I(pe, { children: [
1513
1565
  /* @__PURE__ */ n(
1514
1566
  "input",
1515
1567
  {
1516
1568
  type: "radio",
1517
- className: ie.input,
1569
+ className: _e.input,
1518
1570
  name: r.name,
1519
1571
  value: e,
1520
1572
  checked: r.value === e,
@@ -1522,17 +1574,17 @@ function r1({ value: e, disabled: t, children: o }) {
1522
1574
  onChange: () => r.onValueChange(e)
1523
1575
  }
1524
1576
  ),
1525
- /* @__PURE__ */ n("span", { className: v(ie.orb, "spRadioOrb"), "aria-hidden": "true", children: /* @__PURE__ */ n("span", { className: ie.burst }) })
1577
+ /* @__PURE__ */ n("span", { className: b(_e.orb, "spRadioOrb"), "aria-hidden": "true", children: /* @__PURE__ */ n("span", { className: _e.burst }) })
1526
1578
  ] });
1527
- return o == null ? /* @__PURE__ */ n("span", { className: ie.item, children: l }) : /* @__PURE__ */ z("label", { className: v(ie.item, ie.selfLabeled), children: [
1579
+ return o == null ? /* @__PURE__ */ n("span", { className: _e.item, children: l }) : /* @__PURE__ */ I("label", { className: b(_e.item, _e.selfLabeled), children: [
1528
1580
  l,
1529
1581
  o
1530
1582
  ] });
1531
1583
  }
1532
- const ks = Object.assign(o1, { Item: r1 }), s1 = "_progress_1cre6_16", l1 = {
1533
- progress: s1
1584
+ const R1 = Object.assign(as, { Item: cs }), is = "_progress_1cre6_16", ds = {
1585
+ progress: is
1534
1586
  };
1535
- function Ns({ value: e, max: t = 100, className: o, style: r, ...s }) {
1587
+ function D1({ value: e, max: t = 100, className: o, style: r, ...s }) {
1536
1588
  const l = t > 0 ? Math.min(Math.max(e / t * 100, 0), 100) : 0;
1537
1589
  return /* @__PURE__ */ n(
1538
1590
  "div",
@@ -1542,100 +1594,100 @@ function Ns({ value: e, max: t = 100, className: o, style: r, ...s }) {
1542
1594
  "aria-valuenow": e,
1543
1595
  "aria-valuemin": 0,
1544
1596
  "aria-valuemax": t,
1545
- className: v(l1.progress, o),
1597
+ className: b(ds.progress, o),
1546
1598
  style: r,
1547
1599
  children: /* @__PURE__ */ n("div", { style: { width: `${l}%`, height: "100%" } })
1548
1600
  }
1549
1601
  );
1550
1602
  }
1551
- const a1 = "_message_1522x_14", c1 = "_info_1522x_44", i1 = "_warning_1522x_49", d1 = "_alert_1522x_56", u1 = "_icon_1522x_63", f1 = "_body_1522x_74", _1 = "_title_1522x_83", p1 = "_text_1522x_90", he = {
1552
- message: a1,
1553
- info: c1,
1554
- warning: i1,
1555
- alert: d1,
1556
- icon: u1,
1557
- body: f1,
1558
- title: _1,
1559
- text: p1
1560
- }, g1 = {
1561
- info: /* @__PURE__ */ n(po, {}),
1562
- warning: /* @__PURE__ */ n(go, {}),
1563
- alert: /* @__PURE__ */ n(mo, {})
1564
- }, m1 = {
1603
+ const us = "_message_1522x_14", fs = "_info_1522x_44", _s = "_warning_1522x_49", ps = "_alert_1522x_56", gs = "_icon_1522x_63", ms = "_body_1522x_74", hs = "_title_1522x_83", Cs = "_text_1522x_90", we = {
1604
+ message: us,
1605
+ info: fs,
1606
+ warning: _s,
1607
+ alert: ps,
1608
+ icon: gs,
1609
+ body: ms,
1610
+ title: hs,
1611
+ text: Cs
1612
+ }, vs = {
1613
+ info: /* @__PURE__ */ n(Co, {}),
1614
+ warning: /* @__PURE__ */ n(vo, {}),
1615
+ alert: /* @__PURE__ */ n(bo, {})
1616
+ }, bs = {
1565
1617
  info: { role: "status", live: "polite" },
1566
1618
  warning: { role: "status", live: "polite" },
1567
1619
  alert: { role: "alert" }
1568
- }, Ms = G(function({ variant: t = "info", title: o, icon: r, className: s, children: l, ...a }, d) {
1569
- const f = r === void 0 ? g1[t] : r, { role: p, live: i } = m1[t];
1570
- return /* @__PURE__ */ z(
1620
+ }, q1 = Q(function({ variant: t = "info", title: o, icon: r, className: s, children: l, ...a }, d) {
1621
+ const f = r === void 0 ? vs[t] : r, { role: p, live: i } = bs[t];
1622
+ return /* @__PURE__ */ I(
1571
1623
  "div",
1572
1624
  {
1573
1625
  ...a,
1574
1626
  ref: d,
1575
1627
  role: p,
1576
1628
  "aria-live": i,
1577
- className: v(he.message, he[t], s),
1629
+ className: b(we.message, we[t], s),
1578
1630
  children: [
1579
- f != null && /* @__PURE__ */ n("span", { className: he.icon, "aria-hidden": "true", children: f }),
1580
- /* @__PURE__ */ z("div", { className: he.body, children: [
1581
- o != null && /* @__PURE__ */ n("p", { className: he.title, children: o }),
1582
- l != null && /* @__PURE__ */ n("div", { className: he.text, children: l })
1631
+ f != null && /* @__PURE__ */ n("span", { className: we.icon, "aria-hidden": "true", children: f }),
1632
+ /* @__PURE__ */ I("div", { className: we.body, children: [
1633
+ o != null && /* @__PURE__ */ n("p", { className: we.title, children: o }),
1634
+ l != null && /* @__PURE__ */ n("div", { className: we.text, children: l })
1583
1635
  ] })
1584
1636
  ]
1585
1637
  }
1586
1638
  );
1587
- }), h1 = "_dialog_zbndh_2", C1 = "_inner_zbndh_71", v1 = "_size4_zbndh_76", b1 = "_title_zbndh_80", w1 = "_closeX_zbndh_88", Re = {
1588
- dialog: h1,
1589
- inner: C1,
1590
- size4: v1,
1591
- title: b1,
1592
- closeX: w1
1639
+ }), ws = "_dialog_zbndh_2", xs = "_inner_zbndh_71", ys = "_size4_zbndh_76", $s = "_title_zbndh_80", ks = "_closeX_zbndh_88", Ie = {
1640
+ dialog: ws,
1641
+ inner: xs,
1642
+ size4: ys,
1643
+ title: $s,
1644
+ closeX: ks
1593
1645
  };
1594
- let Ae = 0;
1595
- const ct = we(null), qe = () => {
1596
- const e = ye(ct);
1646
+ let Be = 0;
1647
+ const ft = $e(null), He = () => {
1648
+ const e = ke(ft);
1597
1649
  if (!e) throw new Error("Dialog parts must be inside a Dialog");
1598
1650
  return e;
1599
1651
  };
1600
- function it(e) {
1652
+ function _t(e) {
1601
1653
  return function({ open: o, onOpenChange: r, children: s }) {
1602
- const [l, a] = B(!1), d = o !== void 0, f = d ? o : l, p = (_) => {
1654
+ const [l, a] = V(!1), d = o !== void 0, f = d ? o : l, p = (_) => {
1603
1655
  d || a(_), r == null || r(_);
1604
- }, i = Q(), g = Q(), [b, w] = B(!1);
1605
- return /* @__PURE__ */ n(ct.Provider, { value: { open: f, setOpen: p, titleId: i, descId: g, alert: e, hasDesc: b, setHasDesc: w }, children: s });
1656
+ }, i = ne(), h = ne(), [w, $] = V(!1);
1657
+ return /* @__PURE__ */ n(ft.Provider, { value: { open: f, setOpen: p, titleId: i, descId: h, alert: e, hasDesc: w, setHasDesc: $ }, children: s });
1606
1658
  };
1607
1659
  }
1608
- const y1 = it(!1), dt = (e, t) => {
1609
- if (!ve(e)) return e;
1660
+ const Ls = _t(!1), pt = (e, t) => {
1661
+ if (!ye(e)) return e;
1610
1662
  const o = e;
1611
- return Oe(o, {
1663
+ return We(o, {
1612
1664
  onClick: (r) => {
1613
1665
  var s, l;
1614
1666
  (l = (s = o.props).onClick) == null || l.call(s, r), t();
1615
1667
  }
1616
1668
  });
1617
1669
  };
1618
- function ut({
1670
+ function gt({
1619
1671
  children: e
1620
1672
  }) {
1621
- const t = qe();
1622
- return /* @__PURE__ */ n(ue, { children: dt(e, () => t.setOpen(!0)) });
1673
+ const t = He();
1674
+ return /* @__PURE__ */ n(pe, { children: pt(e, () => t.setOpen(!0)) });
1623
1675
  }
1624
- function Fe({
1676
+ function Ue({
1625
1677
  children: e
1626
1678
  }) {
1627
- const t = qe();
1628
- return /* @__PURE__ */ n(ue, { children: dt(e, () => t.setOpen(!1)) });
1679
+ const t = He();
1680
+ return /* @__PURE__ */ n(pe, { children: pt(e, () => t.setOpen(!1)) });
1629
1681
  }
1630
- function ft({ size: e = "3", maxWidth: t, className: o, style: r, children: s, ...l }) {
1631
- const a = qe(), d = R(null), f = R(!1), p = R(!1);
1632
- return U(() => {
1682
+ function mt({ size: e = "3", maxWidth: t, className: o, style: r, children: s, ...l }) {
1683
+ const a = He(), d = q(null), f = q(!1), p = q(!1);
1684
+ return X(() => {
1633
1685
  const i = d.current;
1634
1686
  i && (a.open && !i.open ? i.showModal() : !a.open && i.open && i.close());
1635
- }, [a.open]), U(() => {
1687
+ }, [a.open]), X(() => {
1636
1688
  if (a.open)
1637
- return Ae += 1, Ae === 1 && (document.body.style.overflow = "hidden"), () => {
1638
- Ae -= 1, Ae === 0 && (document.body.style.overflow = "");
1689
+ return Be += 1, Be === 1 && (document.body.style.overflow = "hidden"), () => {
1690
+ Be -= 1, Be === 0 && (document.body.style.overflow = "");
1639
1691
  };
1640
1692
  }, [a.open]), /* @__PURE__ */ n(
1641
1693
  "dialog",
@@ -1645,11 +1697,11 @@ function ft({ size: e = "3", maxWidth: t, className: o, style: r, children: s, .
1645
1697
  role: a.alert ? "alertdialog" : void 0,
1646
1698
  "aria-labelledby": a.titleId,
1647
1699
  "aria-describedby": a.hasDesc ? a.descId : void 0,
1648
- className: v(Re.dialog, "spDialog", e === "4" && Re.size4, o),
1700
+ className: b(Ie.dialog, "spDialog", e === "4" && Ie.size4, o),
1649
1701
  style: { ...t ? { maxWidth: t } : null, ...r },
1650
1702
  onKeyDownCapture: (i) => {
1651
- var g, b;
1652
- i.key === "Escape" && ((g = d.current) != null && g.querySelector("dialog[open]") || (b = d.current) != null && b.querySelector('[role="listbox"]:not([hidden])') && (f.current = !0));
1703
+ var h, w;
1704
+ i.key === "Escape" && ((h = d.current) != null && h.querySelector("dialog[open]") || (w = d.current) != null && w.querySelector('[role="listbox"]:not([hidden])') && (f.current = !0));
1653
1705
  },
1654
1706
  onCancel: (i) => {
1655
1707
  if (i.preventDefault(), f.current) {
@@ -1667,15 +1719,15 @@ function ft({ size: e = "3", maxWidth: t, className: o, style: r, children: s, .
1667
1719
  onClick: (i) => {
1668
1720
  !a.alert && i.target === d.current && p.current && a.setOpen(!1);
1669
1721
  },
1670
- children: /* @__PURE__ */ z("div", { className: Re.inner, children: [
1722
+ children: /* @__PURE__ */ I("div", { className: Ie.inner, children: [
1671
1723
  !a.alert && /* @__PURE__ */ n(
1672
1724
  "button",
1673
1725
  {
1674
1726
  type: "button",
1675
- className: Re.closeX,
1727
+ className: Ie.closeX,
1676
1728
  "aria-label": "Close",
1677
1729
  onClick: () => a.setOpen(!1),
1678
- children: /* @__PURE__ */ n(_o, { width: 16, height: 16 })
1730
+ children: /* @__PURE__ */ n(ho, { width: 16, height: 16 })
1679
1731
  }
1680
1732
  ),
1681
1733
  s
@@ -1683,63 +1735,63 @@ function ft({ size: e = "3", maxWidth: t, className: o, style: r, children: s, .
1683
1735
  }
1684
1736
  );
1685
1737
  }
1686
- function _t({ className: e, ...t }) {
1687
- const o = qe();
1688
- return /* @__PURE__ */ n(Vt, { as: "h2", size: "5", ...t, id: o.titleId, className: v(Re.title, e) });
1738
+ function ht({ className: e, ...t }) {
1739
+ const o = He();
1740
+ return /* @__PURE__ */ n(Kt, { as: "h2", size: "5", ...t, id: o.titleId, className: b(Ie.title, e) });
1689
1741
  }
1690
- function pt(e) {
1691
- const t = qe(), { setHasDesc: o } = t;
1692
- return be(() => (o(!0), () => o(!1)), [o]), /* @__PURE__ */ n(It, { as: "p", ...e, id: t.descId });
1742
+ function Ct(e) {
1743
+ const t = He(), { setHasDesc: o } = t;
1744
+ return ge(() => (o(!0), () => o(!1)), [o]), /* @__PURE__ */ n(Tt, { as: "p", ...e, id: t.descId });
1693
1745
  }
1694
- const zs = Object.assign(y1, {
1695
- Trigger: ut,
1696
- Close: Fe,
1697
- Content: ft,
1698
- Title: _t,
1699
- Description: pt
1700
- }), x1 = Fe, L1 = Fe, Rs = Object.assign(it(!0), {
1701
- Trigger: ut,
1702
- Content: ft,
1703
- Title: _t,
1704
- Description: pt,
1705
- Cancel: x1,
1706
- Action: L1
1707
- }), $1 = "_menu_11ctg_1", k1 = "_label_11ctg_51", N1 = "_item_11ctg_61", M1 = "_danger_11ctg_80", z1 = "_separator_11ctg_84", De = {
1708
- menu: $1,
1709
- label: k1,
1710
- item: N1,
1711
- danger: M1,
1712
- separator: z1
1713
- }, gt = we(null), R1 = () => {
1714
- const e = ye(gt);
1746
+ const I1 = Object.assign(Ls, {
1747
+ Trigger: gt,
1748
+ Close: Ue,
1749
+ Content: mt,
1750
+ Title: ht,
1751
+ Description: Ct
1752
+ }), Ms = Ue, Ns = Ue, E1 = Object.assign(_t(!0), {
1753
+ Trigger: gt,
1754
+ Content: mt,
1755
+ Title: ht,
1756
+ Description: Ct,
1757
+ Cancel: Ms,
1758
+ Action: Ns
1759
+ }), zs = "_menu_11ctg_1", Rs = "_label_11ctg_51", Ds = "_item_11ctg_61", qs = "_danger_11ctg_80", Is = "_separator_11ctg_84", Ee = {
1760
+ menu: zs,
1761
+ label: Rs,
1762
+ item: Ds,
1763
+ danger: qs,
1764
+ separator: Is
1765
+ }, vt = $e(null), Es = () => {
1766
+ const e = ke(vt);
1715
1767
  if (!e) throw new Error("DropdownMenu parts must be inside a DropdownMenu");
1716
1768
  return e;
1717
1769
  };
1718
- function D1({ label: e, align: t = "start", children: o, ...r }) {
1719
- const [s, l] = B(!1), a = Q(), d = R(null), f = R(null), p = R(null), i = R(s);
1770
+ function Hs({ label: e, align: t = "start", children: o, ...r }) {
1771
+ const [s, l] = V(!1), a = ne(), d = q(null), f = q(null), p = q(null), i = q(s);
1720
1772
  i.current = s;
1721
- const g = de((_) => {
1773
+ const h = le((_) => {
1722
1774
  i.current !== _ && (i.current = _, l(_));
1723
- }, []), [b, w] = B(null);
1724
- return be(() => {
1775
+ }, []), [w, $] = V(null);
1776
+ return ge(() => {
1725
1777
  var C;
1726
1778
  const _ = f.current;
1727
1779
  if (_)
1728
1780
  if (s) {
1729
- const $ = d.current;
1730
- if ($) {
1731
- const M = $.getBoundingClientRect(), k = t === "end" ? "auto" : M.left, j = t === "end" ? window.innerWidth - M.right : "auto";
1732
- w({ top: M.bottom + 6, left: k, right: j });
1781
+ const L = d.current;
1782
+ if (L) {
1783
+ const R = L.getBoundingClientRect(), N = t === "end" ? "auto" : R.left, Z = t === "end" ? window.innerWidth - R.right : "auto";
1784
+ $({ top: R.bottom + 6, left: N, right: Z });
1733
1785
  }
1734
1786
  _.showPopover(), (C = _.querySelector('[role="menuitem"]')) == null || C.focus();
1735
1787
  } else _.matches(":popover-open") && _.hidePopover();
1736
- }, [s, t]), U(() => {
1788
+ }, [s, t]), X(() => {
1737
1789
  if (!s) return;
1738
- const _ = () => g(!1);
1790
+ const _ = () => h(!1);
1739
1791
  return window.addEventListener("resize", _), () => window.removeEventListener("resize", _);
1740
- }, [s]), /* @__PURE__ */ z(gt.Provider, { value: { open: s, setOpen: g, menuId: a }, children: [
1792
+ }, [s]), /* @__PURE__ */ I(vt.Provider, { value: { open: s, setOpen: h, menuId: a }, children: [
1741
1793
  /* @__PURE__ */ n(
1742
- Ze,
1794
+ Oe,
1743
1795
  {
1744
1796
  ...r,
1745
1797
  ref: d,
@@ -1755,10 +1807,10 @@ function D1({ label: e, align: t = "start", children: o, ...r }) {
1755
1807
  (C = r.onKeyDown) == null || C.call(r, _), (_.key === "Enter" || _.key === " ") && (p.current = null);
1756
1808
  },
1757
1809
  onClick: (_) => {
1758
- var $;
1759
- ($ = r.onClick) == null || $.call(r, _);
1810
+ var L;
1811
+ (L = r.onClick) == null || L.call(r, _);
1760
1812
  const C = p.current ?? !i.current;
1761
- p.current = null, g(C);
1813
+ p.current = null, h(C);
1762
1814
  },
1763
1815
  children: e
1764
1816
  }
@@ -1770,54 +1822,54 @@ function D1({ label: e, align: t = "start", children: o, ...r }) {
1770
1822
  id: a,
1771
1823
  role: "menu",
1772
1824
  popover: "auto",
1773
- className: De.menu,
1774
- style: b ? {
1775
- top: b.top,
1776
- left: b.left === "auto" ? "auto" : b.left,
1777
- right: b.right === "auto" ? "auto" : b.right
1825
+ className: Ee.menu,
1826
+ style: w ? {
1827
+ top: w.top,
1828
+ left: w.left === "auto" ? "auto" : w.left,
1829
+ right: w.right === "auto" ? "auto" : w.right
1778
1830
  } : void 0,
1779
1831
  onToggle: (_) => {
1780
- _.nativeEvent.newState === "closed" && g(!1);
1832
+ _.nativeEvent.newState === "closed" && h(!1);
1781
1833
  },
1782
1834
  onKeyDown: (_) => {
1783
- var M, k, j, E, q, W;
1835
+ var R, N, Z, W, U, A;
1784
1836
  const C = Array.from(
1785
- ((M = f.current) == null ? void 0 : M.querySelectorAll('[role="menuitem"]')) ?? []
1786
- ), $ = C.indexOf(document.activeElement);
1787
- _.key === "ArrowDown" ? (_.preventDefault(), (k = C[Math.min($ + 1, C.length - 1)]) == null || k.focus()) : _.key === "ArrowUp" ? (_.preventDefault(), (j = C[Math.max($ - 1, 0)]) == null || j.focus()) : _.key === "Home" ? (_.preventDefault(), (E = C[0]) == null || E.focus()) : _.key === "End" ? (_.preventDefault(), (q = C[C.length - 1]) == null || q.focus()) : _.key === "Escape" && (g(!1), (W = d.current) == null || W.focus());
1837
+ ((R = f.current) == null ? void 0 : R.querySelectorAll('[role="menuitem"]')) ?? []
1838
+ ), L = C.indexOf(document.activeElement);
1839
+ _.key === "ArrowDown" ? (_.preventDefault(), (N = C[Math.min(L + 1, C.length - 1)]) == null || N.focus()) : _.key === "ArrowUp" ? (_.preventDefault(), (Z = C[Math.max(L - 1, 0)]) == null || Z.focus()) : _.key === "Home" ? (_.preventDefault(), (W = C[0]) == null || W.focus()) : _.key === "End" ? (_.preventDefault(), (U = C[C.length - 1]) == null || U.focus()) : _.key === "Escape" && (h(!1), (A = d.current) == null || A.focus());
1788
1840
  },
1789
1841
  children: o
1790
1842
  }
1791
1843
  )
1792
1844
  ] });
1793
1845
  }
1794
- function q1({
1846
+ function Ss({
1795
1847
  children: e
1796
1848
  }) {
1797
- return /* @__PURE__ */ n("div", { className: De.label, children: e });
1849
+ return /* @__PURE__ */ n("div", { className: Ee.label, children: e });
1798
1850
  }
1799
- function I1({ asChild: e, color: t, onSelect: o, children: r }) {
1800
- const s = R1(), l = v(De.item, t === "danger" && De.danger), a = () => {
1851
+ function Ts({ asChild: e, color: t, onSelect: o, children: r }) {
1852
+ const s = Es(), l = b(Ee.item, t === "danger" && Ee.danger), a = () => {
1801
1853
  s.setOpen(!1), o == null || o();
1802
1854
  };
1803
- if (e && ve(r)) {
1855
+ if (e && ye(r)) {
1804
1856
  const d = r, {
1805
1857
  className: f,
1806
1858
  onClick: p,
1807
1859
  children: i,
1808
- role: g,
1809
- tabIndex: b,
1810
- ...w
1860
+ role: h,
1861
+ tabIndex: w,
1862
+ ...$
1811
1863
  } = d.props, _ = d.ref;
1812
- return Ve(
1864
+ return Ke(
1813
1865
  d.type,
1814
1866
  {
1815
1867
  key: d.key,
1816
1868
  ref: _,
1817
1869
  role: "menuitem",
1818
1870
  tabIndex: -1,
1819
- ...w,
1820
- className: v(l, f),
1871
+ ...$,
1872
+ className: b(l, f),
1821
1873
  onClick: (C) => {
1822
1874
  p == null || p(C), s.setOpen(!1);
1823
1875
  }
@@ -1827,29 +1879,29 @@ function I1({ asChild: e, color: t, onSelect: o, children: r }) {
1827
1879
  }
1828
1880
  return /* @__PURE__ */ n("button", { type: "button", role: "menuitem", tabIndex: -1, className: l, onClick: a, children: r });
1829
1881
  }
1830
- function E1() {
1831
- return /* @__PURE__ */ n("div", { role: "separator", className: De.separator });
1882
+ function As() {
1883
+ return /* @__PURE__ */ n("div", { role: "separator", className: Ee.separator });
1832
1884
  }
1833
- const Ds = Object.assign(D1, { Item: I1, Separator: E1, Label: q1 }), H1 = "_list_1hc3r_19", S1 = "_trigger_1hc3r_28", mt = {
1834
- list: H1,
1835
- trigger: S1
1836
- }, ht = we(null), Ct = () => {
1837
- const e = ye(ht);
1885
+ const H1 = Object.assign(Hs, { Item: Ts, Separator: As, Label: Ss }), js = "_list_1hc3r_19", Zs = "_trigger_1hc3r_28", bt = {
1886
+ list: js,
1887
+ trigger: Zs
1888
+ }, wt = $e(null), xt = () => {
1889
+ const e = ke(wt);
1838
1890
  if (!e) throw new Error("Tabs parts must be inside a Tabs");
1839
1891
  return e;
1840
1892
  };
1841
- function T1({ value: e, onValueChange: t, className: o, children: r }) {
1842
- const s = Q();
1843
- return /* @__PURE__ */ n(ht.Provider, { value: { value: e, onValueChange: t, id: s }, children: /* @__PURE__ */ n("div", { className: o, children: r }) });
1893
+ function Bs({ value: e, onValueChange: t, className: o, children: r }) {
1894
+ const s = ne();
1895
+ return /* @__PURE__ */ n(wt.Provider, { value: { value: e, onValueChange: t, id: s }, children: /* @__PURE__ */ n("div", { className: o, children: r }) });
1844
1896
  }
1845
- function j1({
1897
+ function Os({
1846
1898
  children: e
1847
1899
  }) {
1848
1900
  return /* @__PURE__ */ n(
1849
1901
  "div",
1850
1902
  {
1851
1903
  role: "tablist",
1852
- className: v(mt.list, "spTabsList"),
1904
+ className: b(bt.list, "spTabsList"),
1853
1905
  onKeyDown: (t) => {
1854
1906
  const o = Array.from(
1855
1907
  t.currentTarget.querySelectorAll('[role="tab"]')
@@ -1878,8 +1930,8 @@ function j1({
1878
1930
  }
1879
1931
  );
1880
1932
  }
1881
- function A1({ value: e, className: t, children: o, ...r }) {
1882
- const s = Ct(), l = s.value === e;
1933
+ function Ws({ value: e, className: t, children: o, ...r }) {
1934
+ const s = xt(), l = s.value === e;
1883
1935
  return /* @__PURE__ */ n(
1884
1936
  "button",
1885
1937
  {
@@ -1891,23 +1943,23 @@ function A1({ value: e, className: t, children: o, ...r }) {
1891
1943
  "aria-controls": `${s.id}-panel-${e}`,
1892
1944
  tabIndex: l ? 0 : -1,
1893
1945
  "data-state": l ? "active" : "inactive",
1894
- className: v(mt.trigger, "spTabsTrigger", t),
1946
+ className: b(bt.trigger, "spTabsTrigger", t),
1895
1947
  onClick: () => s.onValueChange(e),
1896
1948
  children: o
1897
1949
  }
1898
1950
  );
1899
1951
  }
1900
- function Z1({
1952
+ function Fs({
1901
1953
  value: e,
1902
1954
  children: t
1903
1955
  }) {
1904
- const o = Ct();
1956
+ const o = xt();
1905
1957
  return o.value !== e ? null : /* @__PURE__ */ n("div", { role: "tabpanel", id: `${o.id}-panel-${e}`, "aria-labelledby": `${o.id}-tab-${e}`, children: t });
1906
1958
  }
1907
- const qs = Object.assign(T1, { List: j1, Trigger: A1, Content: Z1 }), O1 = "_panel_4us94_9", B1 = {
1908
- panel: O1
1909
- }, Ye = 8, ze = 8, W1 = 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
1910
- function Is({
1959
+ const S1 = Object.assign(Bs, { List: Os, Trigger: Ws, Content: Fs }), Vs = "_panel_4us94_9", Ps = {
1960
+ panel: Vs
1961
+ }, nt = 8, qe = 8, Gs = 'a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])';
1962
+ function T1({
1911
1963
  label: e,
1912
1964
  children: t,
1913
1965
  open: o,
@@ -1919,63 +1971,63 @@ function Is({
1919
1971
  onClick: f,
1920
1972
  ...p
1921
1973
  }) {
1922
- const [i, g] = B(s), b = o !== void 0, w = b ? o : i, _ = Q(), C = Q(), $ = R(null), M = R(null), [k, j] = B(null), E = R(!1), q = R(!1), W = R(null), A = R(w);
1923
- A.current = w;
1924
- const N = de(
1925
- (y) => {
1926
- A.current !== y && (A.current = y, b || g(y), r == null || r(y));
1974
+ const [i, h] = V(s), w = o !== void 0, $ = w ? o : i, _ = ne(), C = ne(), L = q(null), R = q(null), [N, Z] = V(null), W = q(!1), U = q(!1), A = q(null), E = q($);
1975
+ E.current = $;
1976
+ const G = le(
1977
+ (v) => {
1978
+ E.current !== v && (E.current = v, w || h(v), r == null || r(v));
1927
1979
  },
1928
- [b, r]
1929
- ), I = de(() => {
1930
- const y = $.current, u = M.current;
1931
- if (!y || !u) return;
1932
- const x = y.getBoundingClientRect(), L = u.offsetWidth, Z = u.offsetHeight, H = x.bottom + Ye, F = x.top - Z - Ye, h = H + Z <= window.innerHeight - ze, c = F >= ze, m = l === "bottom" ? h || !c ? H : F : c || !h ? F : H, D = m === H ? "bottom" : "top";
1933
- u.dataset.side = D;
1934
- const S = a === "start" ? x.left : a === "end" ? x.right - L : x.left + x.width / 2 - L / 2, O = Math.min(
1935
- Math.max(S, ze),
1936
- Math.max(window.innerWidth - L - ze, ze)
1980
+ [w, r]
1981
+ ), K = le(() => {
1982
+ const v = L.current, k = R.current;
1983
+ if (!v || !k) return;
1984
+ const M = v.getBoundingClientRect(), j = k.offsetWidth, u = k.offsetHeight, x = M.bottom + nt, z = M.top - u - nt, g = x + u <= window.innerHeight - qe, y = z >= qe, D = l === "bottom" ? g || !y ? x : z : y || !g ? z : x, H = D === x ? "bottom" : "top";
1985
+ k.dataset.side = H;
1986
+ const S = a === "start" ? M.left : a === "end" ? M.right - j : M.left + M.width / 2 - j / 2, c = Math.min(
1987
+ Math.max(S, qe),
1988
+ Math.max(window.innerWidth - j - qe, qe)
1937
1989
  );
1938
- j(
1939
- (K) => K && K.top === m && K.left === O && K.placed === D ? K : { top: m, left: O, placed: D }
1990
+ Z(
1991
+ (m) => m && m.top === D && m.left === c && m.placed === H ? m : { top: D, left: c, placed: H }
1940
1992
  );
1941
1993
  }, [l, a]);
1942
- return be(() => {
1943
- const y = M.current;
1944
- y && (w ? (tt(y, I), I(), E.current && (E.current = !1, (y.querySelector(W1) ?? y).focus({ preventScroll: !0 }))) : y.matches(":popover-open") && y.hidePopover());
1945
- }, [w, I]), U(() => {
1946
- if (!w) return;
1947
- let y = 0, u = "";
1948
- const x = () => {
1949
- const L = $.current, Z = M.current;
1950
- if (L && Z) {
1951
- const H = L.getBoundingClientRect(), F = `${H.top}|${H.left}|${H.width}|${H.height}|${Z.offsetWidth}|${Z.offsetHeight}|${window.innerWidth}|${window.innerHeight}`;
1952
- F !== u && (u = F, I());
1994
+ return ge(() => {
1995
+ const v = R.current;
1996
+ v && ($ ? (Fe(v, K), K(), W.current && (W.current = !1, (v.querySelector(Gs) ?? v).focus({ preventScroll: !0 }))) : v.matches(":popover-open") && v.hidePopover());
1997
+ }, [$, K]), X(() => {
1998
+ if (!$) return;
1999
+ let v = 0, k = "";
2000
+ const M = () => {
2001
+ const j = L.current, u = R.current;
2002
+ if (j && u) {
2003
+ const x = j.getBoundingClientRect(), z = `${x.top}|${x.left}|${x.width}|${x.height}|${u.offsetWidth}|${u.offsetHeight}|${window.innerWidth}|${window.innerHeight}`;
2004
+ z !== k && (k = z, K());
1953
2005
  }
1954
- y = requestAnimationFrame(x);
2006
+ v = requestAnimationFrame(M);
1955
2007
  };
1956
- return y = requestAnimationFrame(x), () => cancelAnimationFrame(y);
1957
- }, [w, I]), /* @__PURE__ */ z(ue, { children: [
2008
+ return v = requestAnimationFrame(M), () => cancelAnimationFrame(v);
2009
+ }, [$, K]), /* @__PURE__ */ I(pe, { children: [
1958
2010
  /* @__PURE__ */ n(
1959
- Ze,
2011
+ Oe,
1960
2012
  {
1961
2013
  ...p,
1962
- ref: $,
2014
+ ref: L,
1963
2015
  id: _,
1964
2016
  "aria-haspopup": "dialog",
1965
- "aria-expanded": w,
2017
+ "aria-expanded": $,
1966
2018
  "aria-controls": C,
1967
- onPointerDown: (y) => {
1968
- var u;
1969
- (u = p.onPointerDown) == null || u.call(p, y), W.current = !A.current;
2019
+ onPointerDown: (v) => {
2020
+ var k;
2021
+ (k = p.onPointerDown) == null || k.call(p, v), A.current = !E.current;
1970
2022
  },
1971
- onKeyDown: (y) => {
1972
- var u;
1973
- (u = p.onKeyDown) == null || u.call(p, y), (y.key === "Enter" || y.key === " ") && (W.current = null);
2023
+ onKeyDown: (v) => {
2024
+ var k;
2025
+ (k = p.onKeyDown) == null || k.call(p, v), (v.key === "Enter" || v.key === " ") && (A.current = null);
1974
2026
  },
1975
- onClick: (y) => {
1976
- f == null || f(y);
1977
- const u = W.current ?? !A.current;
1978
- W.current = null, u && (E.current = !0), N(u);
2027
+ onClick: (v) => {
2028
+ f == null || f(v);
2029
+ const k = A.current ?? !E.current;
2030
+ A.current = null, k && (W.current = !0), G(k);
1979
2031
  },
1980
2032
  children: e
1981
2033
  }
@@ -1983,22 +2035,22 @@ function Is({
1983
2035
  /* @__PURE__ */ n(
1984
2036
  "div",
1985
2037
  {
1986
- ref: M,
2038
+ ref: R,
1987
2039
  id: C,
1988
2040
  popover: "auto",
1989
2041
  role: "dialog",
1990
2042
  "aria-labelledby": _,
1991
2043
  tabIndex: -1,
1992
- className: v(B1.panel, te.spacePanel, d),
2044
+ className: b(Ps.panel, re.spacePanel, d),
1993
2045
  "data-animated": p.animated === !1 ? "false" : void 0,
1994
- "data-side": (k == null ? void 0 : k.placed) ?? l,
1995
- style: k ? { top: k.top, left: k.left } : void 0,
1996
- onKeyDown: (y) => {
1997
- y.key === "Escape" && (q.current = !0, y.stopPropagation());
2046
+ "data-side": (N == null ? void 0 : N.placed) ?? l,
2047
+ style: N ? { top: N.top, left: N.left } : void 0,
2048
+ onKeyDown: (v) => {
2049
+ v.key === "Escape" && (U.current = !0, v.stopPropagation());
1998
2050
  },
1999
- onToggle: (y) => {
2000
- var u;
2001
- y.nativeEvent.newState === "closed" && (q.current && (q.current = !1, (u = $.current) == null || u.focus()), N(!1));
2051
+ onToggle: (v) => {
2052
+ var k;
2053
+ v.nativeEvent.newState === "closed" && (U.current && (U.current = !1, (k = L.current) == null || k.focus()), G(!1));
2002
2054
  },
2003
2055
  children: t
2004
2056
  }
@@ -2006,60 +2058,60 @@ function Is({
2006
2058
  ] });
2007
2059
  }
2008
2060
  export {
2009
- Rs as AlertDialog,
2010
- ys as Autocomplete,
2011
- X1 as Badge,
2012
- gs as BookmarkIcon,
2013
- K1 as Box,
2014
- Ze as Button,
2015
- Q1 as Card,
2016
- ms as Carousel,
2017
- es as ChatBubbleIcon,
2018
- ls as CheckIcon,
2019
- $s as Checkbox,
2020
- Ls as CheckboxGroup,
2021
- ps as ChevronDownIcon,
2022
- et as ChevronLeftIcon,
2023
- Je as ChevronRightIcon,
2024
- _s as ChevronUpIcon,
2025
- mo as CrossCircledIcon,
2026
- zs as Dialog,
2027
- Ds as DropdownMenu,
2028
- ss as EnterFullScreenIcon,
2029
- go as ExclamationTriangleIcon,
2030
- rs as ExitFullScreenIcon,
2031
- G1 as Flex,
2032
- U1 as Grid,
2033
- Vt as Heading,
2034
- os as HeartFilledIcon,
2035
- fs as HeartIcon,
2036
- vs as IconToggle,
2037
- po as InfoCircledIcon,
2038
- P1 as Link,
2039
- Cs as Loader,
2040
- us as MagnifyingGlassIcon,
2041
- Ms as Message,
2042
- ds as MinusIcon,
2043
- hs as Pagination,
2044
- ns as Pencil1Icon,
2045
- is as PersonIcon,
2046
- ts as PlusIcon,
2047
- Is as Popover,
2048
- Ns as Progress,
2049
- cs as QuestionMarkCircledIcon,
2050
- ks as RadioGroup,
2051
- bs as Select,
2052
- Y1 as Separator,
2053
- J1 as Share2Icon,
2054
- xs as Slider,
2055
- qs as Tabs,
2056
- It as Text,
2057
- ws as TextArea,
2058
- Ue as TextField,
2059
- nr as Tooltip,
2060
- as as TrashIcon,
2061
- _o as XIcon,
2062
- Oo as pageCount,
2063
- Bo as pageWindow
2061
+ E1 as AlertDialog,
2062
+ L1 as Autocomplete,
2063
+ e1 as Badge,
2064
+ v1 as BookmarkIcon,
2065
+ Qs as Box,
2066
+ Oe as Button,
2067
+ n1 as Card,
2068
+ b1 as Carousel,
2069
+ r1 as ChatBubbleIcon,
2070
+ d1 as CheckIcon,
2071
+ z1 as Checkbox,
2072
+ N1 as CheckboxGroup,
2073
+ C1 as ChevronDownIcon,
2074
+ st as ChevronLeftIcon,
2075
+ rt as ChevronRightIcon,
2076
+ h1 as ChevronUpIcon,
2077
+ bo as CrossCircledIcon,
2078
+ I1 as Dialog,
2079
+ H1 as DropdownMenu,
2080
+ i1 as EnterFullScreenIcon,
2081
+ vo as ExclamationTriangleIcon,
2082
+ c1 as ExitFullScreenIcon,
2083
+ Ys as Flex,
2084
+ Js as Grid,
2085
+ Kt as Heading,
2086
+ a1 as HeartFilledIcon,
2087
+ m1 as HeartIcon,
2088
+ y1 as IconToggle,
2089
+ Co as InfoCircledIcon,
2090
+ Xs as Link,
2091
+ x1 as Loader,
2092
+ g1 as MagnifyingGlassIcon,
2093
+ q1 as Message,
2094
+ p1 as MinusIcon,
2095
+ w1 as Pagination,
2096
+ l1 as Pencil1Icon,
2097
+ _1 as PersonIcon,
2098
+ s1 as PlusIcon,
2099
+ T1 as Popover,
2100
+ D1 as Progress,
2101
+ f1 as QuestionMarkCircledIcon,
2102
+ R1 as RadioGroup,
2103
+ $1 as Select,
2104
+ t1 as Separator,
2105
+ o1 as Share2Icon,
2106
+ M1 as Slider,
2107
+ S1 as Tabs,
2108
+ Tt as Text,
2109
+ k1 as TextArea,
2110
+ Je as TextField,
2111
+ lr as Tooltip,
2112
+ u1 as TrashIcon,
2113
+ ho as XIcon,
2114
+ Vo as pageCount,
2115
+ Po as pageWindow
2064
2116
  };
2065
2117
  //# sourceMappingURL=index.js.map