@beaubrain/web-design-system 0.1.9 → 0.1.10

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
@@ -17,28 +17,28 @@ function Wt() {
17
17
  (function() {
18
18
  var t = {}.hasOwnProperty;
19
19
  function o() {
20
- for (var r = "", a = 0; a < arguments.length; a++) {
20
+ for (var s = "", a = 0; a < arguments.length; a++) {
21
21
  var c = arguments[a];
22
- c && (r = n(r, s(c)));
22
+ c && (s = n(s, r(c)));
23
23
  }
24
- return r;
24
+ return s;
25
25
  }
26
- function s(r) {
27
- if (typeof r == "string" || typeof r == "number")
28
- return r;
29
- if (typeof r != "object")
26
+ function r(s) {
27
+ if (typeof s == "string" || typeof s == "number")
28
+ return s;
29
+ if (typeof s != "object")
30
30
  return "";
31
- if (Array.isArray(r))
32
- return o.apply(null, r);
33
- if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
34
- return r.toString();
31
+ if (Array.isArray(s))
32
+ return o.apply(null, s);
33
+ if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
34
+ return s.toString();
35
35
  var a = "";
36
- for (var c in r)
37
- t.call(r, c) && r[c] && (a = n(a, c));
36
+ for (var c in s)
37
+ t.call(s, c) && s[c] && (a = n(a, c));
38
38
  return a;
39
39
  }
40
- function n(r, a) {
41
- return a ? r ? r + " " + a : r + a : r;
40
+ function n(s, a) {
41
+ return a ? s ? s + " " + a : s + a : s;
42
42
  }
43
43
  e.exports ? (o.default = o, e.exports = o) : window.classNames = o;
44
44
  })();
@@ -47,12 +47,12 @@ function Wt() {
47
47
  var Xt = Wt();
48
48
  const x = /* @__PURE__ */ Kt(Xt), Yt = (e, t) => {
49
49
  const o = { ...t };
50
- for (const s in t) {
51
- const n = e[s], r = t[s];
52
- /^on[A-Z]/.test(s) ? n && r ? o[s] = (...c) => {
53
- const l = r(...c);
50
+ for (const r in t) {
51
+ const n = e[r], s = t[r];
52
+ /^on[A-Z]/.test(r) ? n && s ? o[r] = (...c) => {
53
+ const l = s(...c);
54
54
  return n(...c), l;
55
- } : n && (o[s] = n) : s === "style" ? o[s] = { ...n, ...r } : s === "className" && (o[s] = [n, r].filter(Boolean).join(" "));
55
+ } : n && (o[r] = n) : r === "style" ? o[r] = { ...n, ...s } : r === "className" && (o[r] = [n, s].filter(Boolean).join(" "));
56
56
  }
57
57
  return { ...e, ...o };
58
58
  }, Ae = (e, t) => {
@@ -61,14 +61,14 @@ const x = /* @__PURE__ */ Kt(Xt), Yt = (e, t) => {
61
61
  e != null && (e.current = t);
62
62
  }, fe = (...e) => (t) => {
63
63
  let o = !1;
64
- const s = e.map((n) => {
65
- const r = Ae(n, t);
66
- return !o && typeof r == "function" && (o = !0), { ref: n, cleanup: r };
64
+ const r = e.map((n) => {
65
+ const s = Ae(n, t);
66
+ return !o && typeof s == "function" && (o = !0), { ref: n, cleanup: s };
67
67
  });
68
68
  if (o)
69
69
  return () => {
70
- for (const { ref: n, cleanup: r } of s)
71
- typeof r == "function" ? r() : Ae(n, null);
70
+ for (const { ref: n, cleanup: s } of r)
71
+ typeof s == "function" ? s() : Ae(n, null);
72
72
  };
73
73
  }, De = (e) => {
74
74
  const t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get;
@@ -83,7 +83,7 @@ const Be = (...e) => {
83
83
  o && (t = { ...t, ...o });
84
84
  return Object.keys(t).length ? t : void 0;
85
85
  }, Zt = ({ className: e, customProperties: t, ...o }) => {
86
- const s = Ge({
86
+ const r = Ge({
87
87
  allowCustomValues: !0,
88
88
  className: e,
89
89
  ...o
@@ -91,19 +91,19 @@ const Be = (...e) => {
91
91
  customProperties: t,
92
92
  ...o
93
93
  });
94
- return [s, n];
94
+ return [r, n];
95
95
  }, Jt = (e, t, o) => {
96
- const s = e ? "-" : "", n = o(t), r = n?.startsWith("-"), a = r ? "-" : "", c = r ? n?.substring(1) : n;
97
- return `${a}${e}${s}${c}`;
96
+ const r = e ? "-" : "", n = o(t), s = n?.startsWith("-"), a = s ? "-" : "", c = s ? n?.substring(1) : n;
97
+ return `${a}${e}${r}${c}`;
98
98
  }, Ge = ({
99
99
  allowCustomValues: e = !1,
100
100
  className: t,
101
101
  value: o,
102
- propValues: s,
103
- parseValue: n = (r) => r
102
+ propValues: r,
103
+ parseValue: n = (s) => s
104
104
  }) => {
105
105
  if (o) {
106
- if (typeof o == "string" && s.includes(o))
106
+ if (typeof o == "string" && r.includes(o))
107
107
  return Jt(t, o, n);
108
108
  if (e)
109
109
  return t;
@@ -112,23 +112,23 @@ const Be = (...e) => {
112
112
  customProperties: e,
113
113
  value: t,
114
114
  propValues: o,
115
- parseValue: s = (n) => n
115
+ parseValue: r = (n) => n
116
116
  }) => {
117
117
  let n = {};
118
118
  if (!(!t || typeof t == "string" && o.includes(t))) {
119
- typeof t == "string" && (n = Object.fromEntries(e.map((r) => [r, t])));
120
- for (const r in n) {
121
- const a = n[r];
122
- a !== void 0 && (n[r] = s(a));
119
+ typeof t == "string" && (n = Object.fromEntries(e.map((s) => [s, t])));
120
+ for (const s in n) {
121
+ const a = n[s];
122
+ a !== void 0 && (n[s] = r(a));
123
123
  }
124
124
  return n;
125
125
  }
126
126
  }, eo = (...e) => Object.assign({}, ...e), I = (e, ...t) => {
127
- let o, s;
128
- const n = { ...e }, r = eo(...t);
129
- for (const a in r) {
127
+ let o, r;
128
+ const n = { ...e }, s = eo(...t);
129
+ for (const a in s) {
130
130
  let c = n[a];
131
- const l = r[a];
131
+ const l = s[a];
132
132
  if (l.default !== void 0 && c === void 0 && (c = l.default), l.type === "enum" && ([l.default, ...l.values].includes(c) || (c = l.default)), n[a] = c, "className" in l && l.className) {
133
133
  if (delete n[a], !c)
134
134
  continue;
@@ -149,56 +149,56 @@ const Be = (...e) => {
149
149
  propValues: d,
150
150
  value: c
151
151
  });
152
- s = Be(s, f), o = x(o, p);
152
+ r = Be(r, f), o = x(o, p);
153
153
  continue;
154
154
  }
155
155
  }
156
156
  }
157
- return n.className = x(o, e.className), n.style = Be(s, e.style), n;
157
+ return n.className = x(o, e.className), n.style = Be(r, e.style), n;
158
158
  }, to = (e) => {
159
159
  if (!P.isValidElement(e))
160
160
  throw new Error(`Expected a single valid React element, but got: ${e}`);
161
161
  return e;
162
162
  }, T = (e, t = []) => {
163
163
  let o = [];
164
- function s(r, a) {
164
+ function r(s, a) {
165
165
  const c = i.createContext(a), l = o.length;
166
166
  o = [...o, a];
167
167
  const d = (f) => {
168
168
  const { scope: b, children: m, ...v } = f, g = b?.[e]?.[l] || c, h = i.useMemo(() => v, Object.values(v));
169
169
  return /* @__PURE__ */ u(g.Provider, { value: h, children: m });
170
170
  };
171
- d.displayName = `${r}Provider`;
171
+ d.displayName = `${s}Provider`;
172
172
  function p(f, b) {
173
173
  const m = b?.[e]?.[l] || c, v = i.useContext(m);
174
174
  if (v) return v;
175
175
  if (a !== void 0) return a;
176
- throw new Error(`\`${f}\` must be used within \`${r}\``);
176
+ throw new Error(`\`${f}\` must be used within \`${s}\``);
177
177
  }
178
178
  return [d, p];
179
179
  }
180
180
  const n = () => {
181
- const r = o.map((a) => i.createContext(a));
181
+ const s = o.map((a) => i.createContext(a));
182
182
  return function(c) {
183
- const l = c?.[e] || r;
183
+ const l = c?.[e] || s;
184
184
  return i.useMemo(
185
185
  () => ({ [`__scope${e}`]: { ...c, [e]: l } }),
186
186
  [c, l]
187
187
  );
188
188
  };
189
189
  };
190
- return n.scopeName = e, [s, oo(n, ...t)];
190
+ return n.scopeName = e, [r, oo(n, ...t)];
191
191
  }, oo = (...e) => {
192
192
  const t = e[0];
193
193
  if (e.length === 1) return t;
194
194
  const o = () => {
195
- const s = e.map((n) => ({
195
+ const r = e.map((n) => ({
196
196
  useScope: n(),
197
197
  scopeName: n.scopeName
198
198
  }));
199
- return function(r) {
200
- const a = s.reduce((c, { useScope: l, scopeName: d }) => {
201
- const f = l(r)[`__scope${d}`];
199
+ return function(s) {
200
+ const a = r.reduce((c, { useScope: l, scopeName: d }) => {
201
+ const f = l(s)[`__scope${d}`];
202
202
  return { ...c, ...f };
203
203
  }, {});
204
204
  return i.useMemo(() => ({ [`__scope${t.scopeName}`]: a }), [a]);
@@ -212,7 +212,7 @@ let so = 0;
212
212
  function Me(e) {
213
213
  const [t, o] = i.useState(no());
214
214
  return V(() => {
215
- o((s) => s ?? String(so++));
215
+ o((r) => r ?? String(so++));
216
216
  }, [e]), t ? `bd-${t}` : "";
217
217
  }
218
218
  function ro(e) {
@@ -226,9 +226,9 @@ function A({
226
226
  defaultProp: t,
227
227
  onChange: o = () => {
228
228
  },
229
- caller: s
229
+ caller: r
230
230
  }) {
231
- const [n, r, a] = co({
231
+ const [n, s, a] = co({
232
232
  defaultProp: t,
233
233
  onChange: o
234
234
  }), c = e !== void 0, l = c ? e : n;
@@ -237,9 +237,9 @@ function A({
237
237
  i.useEffect(() => {
238
238
  const f = p.current;
239
239
  f !== c && console.warn(
240
- `${s} is changing from ${f ? "controlled" : "uncontrolled"} to ${c ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
240
+ `${r} is changing from ${f ? "controlled" : "uncontrolled"} to ${c ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
241
241
  ), p.current = c;
242
- }, [c, s]);
242
+ }, [c, r]);
243
243
  }
244
244
  const d = i.useCallback(
245
245
  (p) => {
@@ -247,9 +247,9 @@ function A({
247
247
  const f = ao(p) ? p(e) : p;
248
248
  f !== e && a.current?.(f);
249
249
  } else
250
- r(p);
250
+ s(p);
251
251
  },
252
- [c, e, r, a]
252
+ [c, e, s, a]
253
253
  );
254
254
  return [l, d];
255
255
  }
@@ -257,12 +257,12 @@ function co({
257
257
  defaultProp: e,
258
258
  onChange: t
259
259
  }) {
260
- const [o, s] = i.useState(e), n = i.useRef(o), r = i.useRef(t);
260
+ const [o, r] = i.useState(e), n = i.useRef(o), s = i.useRef(t);
261
261
  return V(() => {
262
- r.current = t;
262
+ s.current = t;
263
263
  }, [t]), i.useEffect(() => {
264
- n.current !== o && (r.current?.(o), n.current = o);
265
- }, [o, n]), [o, s, r];
264
+ n.current !== o && (s.current?.(o), n.current = o);
265
+ }, [o, n]), [o, r, s];
266
266
  }
267
267
  function ao(e) {
268
268
  return typeof e == "function";
@@ -276,29 +276,29 @@ function he(e) {
276
276
  return V(() => {
277
277
  if (e) {
278
278
  o({ width: e.offsetWidth, height: e.offsetHeight });
279
- const s = new ResizeObserver((n) => {
279
+ const r = new ResizeObserver((n) => {
280
280
  if (!Array.isArray(n) || !n.length)
281
281
  return;
282
- const r = n[0];
282
+ const s = n[0];
283
283
  let a, c;
284
- if ("borderBoxSize" in r) {
285
- const l = r.borderBoxSize, d = Array.isArray(l) ? l[0] : l;
284
+ if ("borderBoxSize" in s) {
285
+ const l = s.borderBoxSize, d = Array.isArray(l) ? l[0] : l;
286
286
  a = d.inlineSize, c = d.blockSize;
287
287
  } else
288
288
  a = e.offsetWidth, c = e.offsetHeight;
289
289
  o({ width: a, height: c });
290
290
  });
291
- return s.observe(e, { box: "border-box" }), () => s.unobserve(e);
291
+ return r.observe(e, { box: "border-box" }), () => r.unobserve(e);
292
292
  } else
293
293
  o(void 0);
294
294
  }, [e]), t;
295
295
  }
296
296
  function io(e, t) {
297
- const [o, s] = i.useReducer((n, r) => t[n][r] ?? n, e);
298
- return [o, s];
297
+ const [o, r] = i.useReducer((n, s) => t[n][s] ?? n, e);
298
+ return [o, r];
299
299
  }
300
- function lo(e, t, o, s = 0) {
301
- const [n, r] = P.useState({
300
+ function lo(e, t, o, r = 0) {
301
+ const [n, s] = P.useState({
302
302
  position: "absolute",
303
303
  top: 0,
304
304
  left: 0,
@@ -307,7 +307,7 @@ function lo(e, t, o, s = 0) {
307
307
  }), [a, c] = P.useState(!1);
308
308
  return V(() => {
309
309
  if (!o) {
310
- c(!1), r({
310
+ c(!1), s({
311
311
  position: "absolute",
312
312
  top: 0,
313
313
  left: 0,
@@ -325,8 +325,8 @@ function lo(e, t, o, s = 0) {
325
325
  return;
326
326
  }
327
327
  const b = window.innerHeight, m = window.innerWidth;
328
- let v = window.scrollY + p.bottom + s, g = window.scrollX + p.left;
329
- p.bottom + f.height + s > b && (v = window.scrollY + p.top - f.height - s), p.left + f.width > m && (g = window.scrollX + m - f.width - 16), r({
328
+ let v = window.scrollY + p.bottom + r, g = window.scrollX + p.left;
329
+ p.bottom + f.height + r > b && (v = window.scrollY + p.top - f.height - r), p.left + f.width > m && (g = window.scrollX + m - f.width - 16), s({
330
330
  position: "absolute",
331
331
  top: `${v}px`,
332
332
  left: `${g}px`,
@@ -339,13 +339,13 @@ function lo(e, t, o, s = 0) {
339
339
  return l = requestAnimationFrame(d), window.addEventListener("scroll", d, { passive: !0 }), window.addEventListener("resize", d), () => {
340
340
  cancelAnimationFrame(l), window.removeEventListener("scroll", d), window.removeEventListener("resize", d);
341
341
  };
342
- }, [o, e, t, s]), { styles: n, isPositioned: a };
342
+ }, [o, e, t, r]), { styles: n, isPositioned: a };
343
343
  }
344
344
  function uo(e, t) {
345
345
  i.useEffect(() => {
346
- const o = (s) => {
346
+ const o = (r) => {
347
347
  const n = e?.current;
348
- !n || n.contains(s.target) || t(s);
348
+ !n || n.contains(r.target) || t(r);
349
349
  };
350
350
  return document.addEventListener("mousedown", o), document.addEventListener("touchstart", o), () => {
351
351
  document.removeEventListener("mousedown", o), document.removeEventListener("touchstart", o);
@@ -353,11 +353,11 @@ function uo(e, t) {
353
353
  }, [e, t]);
354
354
  }
355
355
  const po = (e) => {
356
- const t = P.forwardRef((o, s) => {
357
- const { children: n, ...r } = o;
356
+ const t = P.forwardRef((o, r) => {
357
+ const { children: n, ...s } = o;
358
358
  if (P.isValidElement(n)) {
359
- const a = De(n), c = Yt(r, n.props);
360
- return c.ref = s ? fe(s, a) : a, P.cloneElement(n, c);
359
+ const a = De(n), c = Yt(s, n.props);
360
+ return c.ref = r ? fe(r, a) : a, P.cloneElement(n, c);
361
361
  }
362
362
  throw new Error(
363
363
  `[${e}.OutletClone] Invalid children passed, expected a single valid React element.`
@@ -365,8 +365,8 @@ const po = (e) => {
365
365
  });
366
366
  return t.displayName = `${e}.OutletClone`, t;
367
367
  }, X = (e) => {
368
- const t = po(e), o = P.forwardRef((s, n) => {
369
- const { children: r, ...a } = s, c = P.Children.toArray(r), l = c.find(mo);
368
+ const t = po(e), o = P.forwardRef((r, n) => {
369
+ const { children: s, ...a } = r, c = P.Children.toArray(s), l = c.find(mo);
370
370
  if (l) {
371
371
  const d = l.props.children, p = c.map((f) => {
372
372
  if (f === l) {
@@ -382,18 +382,18 @@ const po = (e) => {
382
382
  throw new Error(`[${e}.Outlet] Invalid children passed.`);
383
383
  return /* @__PURE__ */ u(t, { ...a, ref: n, children: P.cloneElement(d, void 0, p) });
384
384
  }
385
- return /* @__PURE__ */ u(t, { ...a, ref: n, children: r });
385
+ return /* @__PURE__ */ u(t, { ...a, ref: n, children: s });
386
386
  });
387
387
  return o.displayName = `${e}.Outlet`, o;
388
388
  }, J = X("Outlet"), fo = Symbol("bds.outlettable"), mo = (e) => P.isValidElement(e) && typeof e.type == "function" && "__bdsId" in e.type && e.type.__bdsId === fo, ho = ["a", "button", "div", "input", "label", "span"], S = ho.reduce((e, t) => {
389
- const o = X(`Base.${t}`), s = i.forwardRef((n, r) => {
389
+ const o = X(`Base.${t}`), r = i.forwardRef((n, s) => {
390
390
  const { asChild: a, ...c } = n;
391
- return /* @__PURE__ */ u(a ? o : t, { ...c, ref: r });
391
+ return /* @__PURE__ */ u(a ? o : t, { ...c, ref: s });
392
392
  });
393
- return s.displayName = `Base.${t}`, { ...e, [t]: s };
393
+ return r.displayName = `Base.${t}`, { ...e, [t]: r };
394
394
  }, {});
395
395
  function bo(e) {
396
- const t = `${e}CollectionProvider`, [o, s] = T(t), [n, r] = o(
396
+ const t = `${e}CollectionProvider`, [o, r] = T(t), [n, s] = o(
397
397
  t,
398
398
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
399
399
  ), a = (g) => {
@@ -403,20 +403,20 @@ function bo(e) {
403
403
  a.displayName = t;
404
404
  const c = `${e}CollectionOutlet`, l = X(c), d = i.forwardRef(
405
405
  (g, h) => {
406
- const { scope: y, children: C } = g, R = r(c, y), N = k(h, R.collectionRef);
406
+ const { scope: y, children: C } = g, R = s(c, y), N = k(h, R.collectionRef);
407
407
  return /* @__PURE__ */ u(l, { ref: N, children: C });
408
408
  }
409
409
  );
410
410
  d.displayName = c;
411
411
  const p = `${e}CollectionItemOutlet`, f = "data-bd-collection-item", b = X(p), m = i.forwardRef(
412
412
  (g, h) => {
413
- const { scope: y, children: C, ...R } = g, N = i.useRef(null), B = k(h, N), w = r(p, y);
413
+ const { scope: y, children: C, ...R } = g, N = i.useRef(null), B = k(h, N), w = s(p, y);
414
414
  return i.useEffect(() => (w.itemMap.set(N, { ref: N, ...R }), () => void w.itemMap.delete(N))), /* @__PURE__ */ u(b, { [f]: "", ref: B, children: C });
415
415
  }
416
416
  );
417
417
  m.displayName = p;
418
418
  function v(g) {
419
- const h = r(`${e}CollectionConsumer`, g);
419
+ const h = s(`${e}CollectionConsumer`, g);
420
420
  return i.useCallback(() => {
421
421
  const C = h.collectionRef.current;
422
422
  if (!C) return [];
@@ -429,16 +429,16 @@ function bo(e) {
429
429
  return [
430
430
  { Provider: a, Outlet: d, ItemOutlet: m },
431
431
  v,
432
- s
432
+ r
433
433
  ];
434
434
  }
435
435
  function Fe(e) {
436
- const { remain: t, children: o } = e, s = vo(t), n = typeof o == "function" ? o({ remain: s.isRemain }) : i.Children.only(o), r = k(s.ref, De(n));
437
- return typeof o == "function" || s.isRemain ? i.cloneElement(n, { ref: r }) : null;
436
+ const { remain: t, children: o } = e, r = vo(t), n = typeof o == "function" ? o({ remain: r.isRemain }) : i.Children.only(o), s = k(r.ref, De(n));
437
+ return typeof o == "function" || r.isRemain ? i.cloneElement(n, { ref: s }) : null;
438
438
  }
439
439
  const go = ["mounted", "unmountSuspended"];
440
440
  function vo(e) {
441
- const [t, o] = i.useState(), s = i.useRef(null), n = i.useRef(e), r = i.useRef("none"), a = e ? "mounted" : "unmounted", [c, l] = io(a, {
441
+ const [t, o] = i.useState(), r = i.useRef(null), n = i.useRef(e), s = i.useRef("none"), a = e ? "mounted" : "unmounted", [c, l] = io(a, {
442
442
  mounted: {
443
443
  UNMOUNT: "unmounted",
444
444
  ANIMATION_OUT: "unmountSuspended"
@@ -452,19 +452,19 @@ function vo(e) {
452
452
  }
453
453
  });
454
454
  return i.useEffect(() => {
455
- const d = q(s.current);
456
- r.current = c === "mounted" ? d : "none";
455
+ const d = q(r.current);
456
+ s.current = c === "mounted" ? d : "none";
457
457
  }, [c]), V(() => {
458
- const d = s.current, p = n.current;
458
+ const d = r.current, p = n.current;
459
459
  if (p !== e) {
460
- const b = r.current, m = q(d);
460
+ const b = s.current, m = q(d);
461
461
  e ? l("MOUNT") : m === "none" || d?.display === "none" ? l("UNMOUNT") : l(p && b !== m ? "ANIMATION_OUT" : "UNMOUNT"), n.current = e;
462
462
  }
463
463
  }, [e, l]), V(() => {
464
464
  if (t) {
465
465
  let d;
466
466
  const p = t.ownerDocument.defaultView ?? window, f = (m) => {
467
- const g = q(s.current).includes(CSS.escape(m.animationName));
467
+ const g = q(r.current).includes(CSS.escape(m.animationName));
468
468
  if (m.target === t && g && (l("ANIMATION_END"), !n.current)) {
469
469
  const h = t.style.animationFillMode;
470
470
  t.style.animationFillMode = "forwards", d = p.setTimeout(() => {
@@ -472,7 +472,7 @@ function vo(e) {
472
472
  });
473
473
  }
474
474
  }, b = (m) => {
475
- m.target === t && (r.current = q(s.current));
475
+ m.target === t && (s.current = q(r.current));
476
476
  };
477
477
  return t.addEventListener("animationstart", b), t.addEventListener("animationcancel", f), t.addEventListener("animationend", f), () => {
478
478
  p.clearTimeout(d), t.removeEventListener("animationstart", b), t.removeEventListener("animationcancel", f), t.removeEventListener("animationend", f);
@@ -482,7 +482,7 @@ function vo(e) {
482
482
  }, [t, l]), {
483
483
  isRemain: go.includes(c),
484
484
  ref: i.useCallback((d) => {
485
- s.current = d ? getComputedStyle(d) : null, o(d);
485
+ r.current = d ? getComputedStyle(d) : null, o(d);
486
486
  }, [])
487
487
  };
488
488
  }
@@ -512,8 +512,8 @@ const yo = Object.freeze({
512
512
  );
513
513
  $e.displayName = "VisuallyHidden";
514
514
  const Co = i.forwardRef((e, t) => {
515
- const { children: o, className: s, ...n } = e;
516
- return /* @__PURE__ */ u(J, { ...n, ref: t, className: x("bd-reset", s), children: to(o) });
515
+ const { children: o, className: r, ...n } = e;
516
+ return /* @__PURE__ */ u(J, { ...n, ref: t, className: x("bd-reset", r), children: to(o) });
517
517
  });
518
518
  Co.displayName = "Reset";
519
519
  const E = (e, t, { checkForDefaultPrevented: o = !0 } = {}) => function(n) {
@@ -527,16 +527,16 @@ const E = (e, t, { checkForDefaultPrevented: o = !0 } = {}) => function(n) {
527
527
  ), Po = i.forwardRef((e, t) => {
528
528
  const {
529
529
  __scopeRovingFocusGroup: o,
530
- orientation: s,
530
+ orientation: r,
531
531
  loop: n = !1,
532
- currentTabStopId: r,
532
+ currentTabStopId: s,
533
533
  defaultCurrentTabStopId: a,
534
534
  onCurrentTabStopIdChange: c,
535
535
  onEntryFocus: l,
536
536
  preventScrollOnEntryFocus: d = !1,
537
537
  ...p
538
538
  } = e, f = i.useRef(null), b = k(t, f), [m, v] = A({
539
- prop: r,
539
+ prop: s,
540
540
  defaultProp: a ?? null,
541
541
  onChange: c,
542
542
  caller: Q
@@ -549,7 +549,7 @@ const E = (e, t, { checkForDefaultPrevented: o = !0 } = {}) => function(n) {
549
549
  xo,
550
550
  {
551
551
  scope: o,
552
- orientation: s,
552
+ orientation: r,
553
553
  loop: n,
554
554
  currentTabStopId: m,
555
555
  onItemFocus: i.useCallback(
@@ -569,7 +569,7 @@ const E = (e, t, { checkForDefaultPrevented: o = !0 } = {}) => function(n) {
569
569
  S.div,
570
570
  {
571
571
  tabIndex: g || N === 0 ? -1 : 0,
572
- "data-orientation": s,
572
+ "data-orientation": r,
573
573
  ...p,
574
574
  ref: b,
575
575
  style: { outline: "none", ...e.style },
@@ -598,21 +598,21 @@ const E = (e, t, { checkForDefaultPrevented: o = !0 } = {}) => function(n) {
598
598
  (e, t) => {
599
599
  const {
600
600
  __scopeRovingFocusGroup: o,
601
- focusable: s = !0,
601
+ focusable: r = !0,
602
602
  active: n = !1,
603
- tabStopId: r,
603
+ tabStopId: s,
604
604
  children: a,
605
605
  ...c
606
- } = e, l = Me(), d = r || l, p = So(ko, o), f = p.currentTabStopId === d, b = Ve(o), { onFocusableItemAdd: m, onFocusableItemRemove: v, currentTabStopId: g } = p;
606
+ } = e, l = Me(), d = s || l, p = So(ko, o), f = p.currentTabStopId === d, b = Ve(o), { onFocusableItemAdd: m, onFocusableItemRemove: v, currentTabStopId: g } = p;
607
607
  return i.useEffect(() => {
608
- if (s)
608
+ if (r)
609
609
  return m(), () => v();
610
- }, [s, m, v]), /* @__PURE__ */ u(
610
+ }, [r, m, v]), /* @__PURE__ */ u(
611
611
  ue.ItemOutlet,
612
612
  {
613
613
  scope: o,
614
614
  id: d,
615
- focusable: s,
615
+ focusable: r,
616
616
  active: n,
617
617
  children: /* @__PURE__ */ u(
618
618
  S.span,
@@ -622,7 +622,7 @@ const E = (e, t, { checkForDefaultPrevented: o = !0 } = {}) => function(n) {
622
622
  ...c,
623
623
  ref: t,
624
624
  onMouseDown: E(e.onMouseDown, (h) => {
625
- s ? p.onItemFocus(d) : h.preventDefault();
625
+ r ? p.onItemFocus(d) : h.preventDefault();
626
626
  }),
627
627
  onFocus: E(e.onFocus, () => p.onItemFocus(d)),
628
628
  onKeyDown: E(e.onKeyDown, (h) => {
@@ -667,11 +667,11 @@ function Eo(e, t) {
667
667
  }
668
668
  function Ue(e, t = !1) {
669
669
  const o = document.activeElement;
670
- for (const s of e)
671
- if (s === o || (s.focus({ preventScroll: t }), document.activeElement !== o)) return;
670
+ for (const r of e)
671
+ if (r === o || (r.focus({ preventScroll: t }), document.activeElement !== o)) return;
672
672
  }
673
673
  function _o(e, t) {
674
- return e.map((o, s) => e[(t + s) % e.length]);
674
+ return e.map((o, r) => e[(t + r) % e.length]);
675
675
  }
676
676
  const L = {
677
677
  asChild: {
@@ -1012,12 +1012,12 @@ const L = {
1012
1012
  }, ge = i.forwardRef((e, t) => {
1013
1013
  const {
1014
1014
  children: o,
1015
- className: s,
1015
+ className: r,
1016
1016
  asChild: n,
1017
- as: r = "span",
1017
+ as: s = "span",
1018
1018
  ...a
1019
1019
  } = I(e, Qo);
1020
- return /* @__PURE__ */ u(J, { ...a, ref: t, className: x("bd-Text", s), children: n ? o : /* @__PURE__ */ u(r, { children: o }) });
1020
+ return /* @__PURE__ */ u(J, { ...a, ref: t, className: x("bd-Text", r), children: n ? o : /* @__PURE__ */ u(s, { children: o }) });
1021
1021
  });
1022
1022
  ge.displayName = "Text";
1023
1023
  const en = (e) => e === "between" ? "space-between" : e, tn = ["div", "span"], on = ["none", "inline-flex", "flex"], nn = ["row", "column", "row-reverse", "column-reverse"], sn = ["start", "center", "end", "baseline", "stretch"], rn = ["start", "center", "end", "between"], cn = ["nowrap", "wrap", "wrap-reverse"], ve = {
@@ -1053,8 +1053,8 @@ const en = (e) => e === "between" ? "space-between" : e, tn = ["div", "span"], o
1053
1053
  ...Vo,
1054
1054
  ...D
1055
1055
  }, Y = i.forwardRef((e, t) => {
1056
- const { className: o, asChild: s, as: n = "div", ...r } = I(e, ve);
1057
- return /* @__PURE__ */ u(s ? J : n, { ...r, ref: t, className: x("bd-Flex", o) });
1056
+ const { className: o, asChild: r, as: n = "div", ...s } = I(e, ve);
1057
+ return /* @__PURE__ */ u(r ? J : n, { ...s, ref: t, className: x("bd-Flex", o) });
1058
1058
  });
1059
1059
  Y.displayName = "Flex";
1060
1060
  const an = ["1", "2", "3"], ln = {
@@ -1063,15 +1063,15 @@ const an = ["1", "2", "3"], ln = {
1063
1063
  color: { type: "enum", className: "bd-color", values: ee },
1064
1064
  ...D
1065
1065
  }, Ke = i.forwardRef((e, t) => {
1066
- const { className: o, children: s, loading: n, ...r } = I(
1066
+ const { className: o, children: r, loading: n, ...s } = I(
1067
1067
  e,
1068
1068
  ln,
1069
1069
  Ao
1070
1070
  );
1071
- if (!n) return s;
1072
- const a = /* @__PURE__ */ u("span", { ...r, ref: t, className: x("bd-Spinner", o) });
1073
- return s === void 0 ? a : /* @__PURE__ */ _(Y, { asChild: !0, position: "relative", align: "center", justify: "center", children: [
1074
- /* @__PURE__ */ u("span", { children: /* @__PURE__ */ u("span", { "aria-hidden": !0, style: { display: "contents", visibility: "hidden" }, inert: void 0, children: s }) }),
1071
+ if (!n) return r;
1072
+ const a = /* @__PURE__ */ u("span", { ...s, ref: t, className: x("bd-Spinner", o) });
1073
+ return r === void 0 ? a : /* @__PURE__ */ _(Y, { asChild: !0, position: "relative", align: "center", justify: "center", children: [
1074
+ /* @__PURE__ */ u("span", { children: /* @__PURE__ */ u("span", { "aria-hidden": !0, style: { display: "contents", visibility: "hidden" }, inert: void 0, children: r }) }),
1075
1075
  /* @__PURE__ */ u(Y, { asChild: !0, align: "center", justify: "center", position: "absolute", inset: "0", children: /* @__PURE__ */ u("span", { children: a }) })
1076
1076
  ] });
1077
1077
  });
@@ -1125,9 +1125,9 @@ const un = ["1", "2", "3", "4", "5"], dn = [
1125
1125
  return;
1126
1126
  }
1127
1127
  }, mn = i.forwardRef((e, t) => {
1128
- const { variant: o = le.variant.default, size: s = le.size.default } = e, {
1128
+ const { variant: o = le.variant.default, size: r = le.size.default } = e, {
1129
1129
  className: n,
1130
- children: r,
1130
+ children: s,
1131
1131
  asChild: a,
1132
1132
  disabled: c = e.loading,
1133
1133
  ...l
@@ -1142,22 +1142,22 @@ const un = ["1", "2", "3", "4", "5"], dn = [
1142
1142
  ref: t,
1143
1143
  className: x("bd-Button", n),
1144
1144
  children: e.loading ? /* @__PURE__ */ _(Oe, { children: [
1145
- /* @__PURE__ */ u("span", { style: { display: "contents", visibility: "hidden" }, "aria-hidden": !0, children: r }),
1146
- /* @__PURE__ */ u($e, { children: r }),
1145
+ /* @__PURE__ */ u("span", { style: { display: "contents", visibility: "hidden" }, "aria-hidden": !0, children: s }),
1146
+ /* @__PURE__ */ u($e, { children: s }),
1147
1147
  /* @__PURE__ */ u(Y, { asChild: !0, align: "center", justify: "center", position: "absolute", inset: "0", children: /* @__PURE__ */ u("span", { children: /* @__PURE__ */ u(
1148
1148
  Ke,
1149
1149
  {
1150
- size: pn(s),
1150
+ size: pn(r),
1151
1151
  color: fn(o)
1152
1152
  }
1153
1153
  ) }) })
1154
- ] }) : r
1154
+ ] }) : s
1155
1155
  }
1156
1156
  );
1157
1157
  });
1158
1158
  mn.displayName = "Button";
1159
1159
  const We = i.forwardRef((e, t) => {
1160
- const { color: o = "currentColor", ...s } = e;
1160
+ const { color: o = "currentColor", ...r } = e;
1161
1161
  return /* @__PURE__ */ u(
1162
1162
  "svg",
1163
1163
  {
@@ -1166,7 +1166,7 @@ const We = i.forwardRef((e, t) => {
1166
1166
  height: "7",
1167
1167
  viewBox: "0 0 10 7",
1168
1168
  fill: "none",
1169
- ...s,
1169
+ ...r,
1170
1170
  ref: t,
1171
1171
  children: /* @__PURE__ */ u(
1172
1172
  "path",
@@ -1181,7 +1181,7 @@ const We = i.forwardRef((e, t) => {
1181
1181
  }
1182
1182
  );
1183
1183
  }), hn = i.forwardRef((e, t) => {
1184
- const { color: o = "currentColor", ...s } = e;
1184
+ const { color: o = "currentColor", ...r } = e;
1185
1185
  return /* @__PURE__ */ u(
1186
1186
  "svg",
1187
1187
  {
@@ -1190,7 +1190,7 @@ const We = i.forwardRef((e, t) => {
1190
1190
  height: "9",
1191
1191
  viewBox: "0 0 9 9",
1192
1192
  fill: o,
1193
- ...s,
1193
+ ...r,
1194
1194
  ref: t,
1195
1195
  children: /* @__PURE__ */ u(
1196
1196
  "path",
@@ -1210,9 +1210,9 @@ function Cn(e) {
1210
1210
  const {
1211
1211
  __scopeCheckbox: t,
1212
1212
  checked: o,
1213
- defaultChecked: s,
1213
+ defaultChecked: r,
1214
1214
  required: n,
1215
- name: r,
1215
+ name: s,
1216
1216
  form: a,
1217
1217
  disabled: c,
1218
1218
  value: l = "on",
@@ -1222,7 +1222,7 @@ function Cn(e) {
1222
1222
  __internal: f
1223
1223
  } = e, [b, m] = A({
1224
1224
  prop: o,
1225
- defaultProp: s ?? !1,
1225
+ defaultProp: r ?? !1,
1226
1226
  onChange: p,
1227
1227
  caller: ye
1228
1228
  }), [v, g] = i.useState(null), [h, y] = i.useState(null), C = i.useRef(!1), R = v ? !!a || !!v.closest("form") : !0, N = {
@@ -1231,12 +1231,12 @@ function Cn(e) {
1231
1231
  setChecked: m,
1232
1232
  control: v,
1233
1233
  setControl: g,
1234
- name: r,
1234
+ name: s,
1235
1235
  form: a,
1236
1236
  value: l,
1237
1237
  hasConsumerStoppedPropagationRef: C,
1238
1238
  required: n,
1239
- defaultChecked: O(s) ? !1 : s,
1239
+ defaultChecked: O(r) ? !1 : r,
1240
1240
  isFormControl: R,
1241
1241
  bubbleInput: h,
1242
1242
  setBubbleInput: y
@@ -1255,10 +1255,10 @@ const Ze = "CheckboxTrigger", Je = i.forwardRef(
1255
1255
  __scopeCheckbox: e,
1256
1256
  onKeyDown: t,
1257
1257
  onClick: o,
1258
- ...s
1258
+ ...r
1259
1259
  }, n) => {
1260
1260
  const {
1261
- control: r,
1261
+ control: s,
1262
1262
  value: a,
1263
1263
  disabled: c,
1264
1264
  checked: l,
@@ -1270,12 +1270,12 @@ const Ze = "CheckboxTrigger", Je = i.forwardRef(
1270
1270
  bubbleInput: v
1271
1271
  } = Ce(Ze, e), g = k(n, p), h = i.useRef(l);
1272
1272
  return i.useEffect(() => {
1273
- const y = r?.form;
1273
+ const y = s?.form;
1274
1274
  if (y) {
1275
1275
  const C = () => f(h.current);
1276
1276
  return y.addEventListener("reset", C), () => y.removeEventListener("reset", C);
1277
1277
  }
1278
- }, [r, f]), /* @__PURE__ */ u(
1278
+ }, [s, f]), /* @__PURE__ */ u(
1279
1279
  S.button,
1280
1280
  {
1281
1281
  type: "button",
@@ -1286,7 +1286,7 @@ const Ze = "CheckboxTrigger", Je = i.forwardRef(
1286
1286
  "data-disabled": c ? "" : void 0,
1287
1287
  disabled: c,
1288
1288
  value: a,
1289
- ...s,
1289
+ ...r,
1290
1290
  ref: g,
1291
1291
  onKeyDown: E(t, (y) => {
1292
1292
  y.key === "Enter" && y.preventDefault();
@@ -1303,9 +1303,9 @@ const Qe = i.forwardRef(
1303
1303
  (e, t) => {
1304
1304
  const {
1305
1305
  __scopeCheckbox: o,
1306
- name: s,
1306
+ name: r,
1307
1307
  checked: n,
1308
- defaultChecked: r,
1308
+ defaultChecked: s,
1309
1309
  required: a,
1310
1310
  disabled: c,
1311
1311
  value: l,
@@ -1318,9 +1318,9 @@ const Qe = i.forwardRef(
1318
1318
  {
1319
1319
  __scopeCheckbox: o,
1320
1320
  checked: n,
1321
- defaultChecked: r,
1321
+ defaultChecked: s,
1322
1322
  required: a,
1323
- name: s,
1323
+ name: r,
1324
1324
  form: p,
1325
1325
  disabled: c,
1326
1326
  value: l,
@@ -1347,9 +1347,9 @@ const Qe = i.forwardRef(
1347
1347
  ), et = "CheckboxBubbleInput", tt = i.forwardRef(
1348
1348
  ({ __scopeCheckbox: e, ...t }, o) => {
1349
1349
  const {
1350
- control: s,
1350
+ control: r,
1351
1351
  checked: n,
1352
- defaultChecked: r,
1352
+ defaultChecked: s,
1353
1353
  required: a,
1354
1354
  disabled: c,
1355
1355
  name: l,
@@ -1358,7 +1358,7 @@ const Qe = i.forwardRef(
1358
1358
  bubbleInput: f,
1359
1359
  setBubbleInput: b,
1360
1360
  hasConsumerStoppedPropagationRef: m
1361
- } = Ce(et, e), v = k(o, b), g = me(n), h = he(s);
1361
+ } = Ce(et, e), v = k(o, b), g = me(n), h = he(r);
1362
1362
  i.useEffect(() => {
1363
1363
  const C = f;
1364
1364
  if (!C) return;
@@ -1377,7 +1377,7 @@ const Qe = i.forwardRef(
1377
1377
  {
1378
1378
  type: "checkbox",
1379
1379
  "aria-hidden": !0,
1380
- defaultChecked: r ?? y.current,
1380
+ defaultChecked: s ?? y.current,
1381
1381
  required: a,
1382
1382
  disabled: c,
1383
1383
  name: l,
@@ -1401,12 +1401,12 @@ const Qe = i.forwardRef(
1401
1401
  );
1402
1402
  tt.displayName = et;
1403
1403
  const ot = "CheckboxIndicator", Re = i.forwardRef((e, t) => {
1404
- const { __scopeCheckbox: o, forceMount: s, ...n } = e, r = Ce(ot, o);
1405
- return /* @__PURE__ */ u(Fe, { remain: s || O(r.checked) || r.checked === !0, children: /* @__PURE__ */ u(
1404
+ const { __scopeCheckbox: o, forceMount: r, ...n } = e, s = Ce(ot, o);
1405
+ return /* @__PURE__ */ u(Fe, { remain: r || O(s.checked) || s.checked === !0, children: /* @__PURE__ */ u(
1406
1406
  S.span,
1407
1407
  {
1408
- "data-state": nt(r.checked),
1409
- "data-disabled": r.disabled ? "" : void 0,
1408
+ "data-state": nt(s.checked),
1409
+ "data-disabled": s.disabled ? "" : void 0,
1410
1410
  ...n,
1411
1411
  ref: t,
1412
1412
  style: { pointerEvents: "none", ...e.style }
@@ -1426,14 +1426,14 @@ function nt(e) {
1426
1426
  const Nn = i.forwardRef((e, t) => {
1427
1427
  const {
1428
1428
  className: o,
1429
- checked: s,
1429
+ checked: r,
1430
1430
  defaultChecked: n = !1,
1431
- onCheckedChange: r,
1431
+ onCheckedChange: s,
1432
1432
  ...a
1433
1433
  } = I(e, Xe), [c, l] = A({
1434
- prop: s,
1434
+ prop: r,
1435
1435
  defaultProp: n,
1436
- onChange: r
1436
+ onChange: s
1437
1437
  });
1438
1438
  return /* @__PURE__ */ u(
1439
1439
  Qe,
@@ -1460,9 +1460,9 @@ const K = {
1460
1460
  (e, t) => {
1461
1461
  const {
1462
1462
  __scopeCheckboxGroup: o,
1463
- name: s,
1463
+ name: r,
1464
1464
  defaultValue: n,
1465
- value: r,
1465
+ value: s,
1466
1466
  required: a = !1,
1467
1467
  disabled: c = !1,
1468
1468
  loop: l = !0,
@@ -1470,7 +1470,7 @@ const K = {
1470
1470
  onValueChange: p,
1471
1471
  ...f
1472
1472
  } = e, b = rt(o), [m = [], v] = A({
1473
- prop: r,
1473
+ prop: s,
1474
1474
  defaultProp: n || [],
1475
1475
  onChange: p
1476
1476
  }), g = i.useCallback(
@@ -1484,7 +1484,7 @@ const K = {
1484
1484
  xn,
1485
1485
  {
1486
1486
  scope: o,
1487
- name: s,
1487
+ name: r,
1488
1488
  required: a,
1489
1489
  disabled: c,
1490
1490
  value: m,
@@ -1505,7 +1505,7 @@ const K = {
1505
1505
  );
1506
1506
  at.displayName = Ne;
1507
1507
  const it = "CheckboxGroupItem", lt = i.forwardRef((e, t) => {
1508
- const { __scopeCheckboxGroup: o, disabled: s, ...n } = e, r = Sn(it, o), a = r.disabled || s, c = rt(o), l = ct(o), d = i.useRef(null), p = k(t, d), f = r.value?.includes(n.value);
1508
+ const { __scopeCheckboxGroup: o, disabled: r, ...n } = e, s = Sn(it, o), a = s.disabled || r, c = rt(o), l = ct(o), d = i.useRef(null), p = k(t, d), f = s.value?.includes(n.value);
1509
1509
  return /* @__PURE__ */ u(
1510
1510
  ze,
1511
1511
  {
@@ -1516,15 +1516,15 @@ const it = "CheckboxGroupItem", lt = i.forwardRef((e, t) => {
1516
1516
  children: /* @__PURE__ */ u(
1517
1517
  Qe,
1518
1518
  {
1519
- name: r.name,
1519
+ name: s.name,
1520
1520
  disabled: a,
1521
- required: r.required,
1521
+ required: s.required,
1522
1522
  checked: f,
1523
1523
  ...l,
1524
1524
  ...n,
1525
1525
  ref: p,
1526
1526
  onCheckedChange: (b) => {
1527
- b ? r.onItemCheck(e.value) : r.onItemUnCheck(e.value);
1527
+ b ? s.onItemCheck(e.value) : s.onItemUnCheck(e.value);
1528
1528
  }
1529
1529
  }
1530
1530
  )
@@ -1533,8 +1533,8 @@ const it = "CheckboxGroupItem", lt = i.forwardRef((e, t) => {
1533
1533
  });
1534
1534
  lt.displayName = it;
1535
1535
  const Pn = "CheckboxGroupIndicator", ut = i.forwardRef((e, t) => {
1536
- const { __scopeCheckboxGroup: o, ...s } = e, n = ct(o);
1537
- return /* @__PURE__ */ u(Re, { ...n, ...s, ref: t });
1536
+ const { __scopeCheckboxGroup: o, ...r } = e, n = ct(o);
1537
+ return /* @__PURE__ */ u(Re, { ...n, ...r, ref: t });
1538
1538
  });
1539
1539
  ut.displayName = Pn;
1540
1540
  const j = "CheckboxGroup", [kn] = T(j, [
@@ -1543,13 +1543,13 @@ const j = "CheckboxGroup", [kn] = T(j, [
1543
1543
  (e, t) => {
1544
1544
  const {
1545
1545
  size: o = K.size.default,
1546
- variant: s = K.variant.default,
1546
+ variant: r = K.variant.default,
1547
1547
  ...n
1548
- } = e, { __scopeCheckboxGroup: r, className: a, ...c } = I(
1548
+ } = e, { __scopeCheckboxGroup: s, className: a, ...c } = I(
1549
1549
  n,
1550
1550
  K
1551
- ), l = dt(r);
1552
- return /* @__PURE__ */ u(In, { scope: r, size: o, variant: s, children: /* @__PURE__ */ u(
1551
+ ), l = dt(s);
1552
+ return /* @__PURE__ */ u(In, { scope: s, size: o, variant: r, children: /* @__PURE__ */ u(
1553
1553
  at,
1554
1554
  {
1555
1555
  ...l,
@@ -1563,14 +1563,14 @@ const j = "CheckboxGroup", [kn] = T(j, [
1563
1563
  ft.displayName = j;
1564
1564
  const mt = i.forwardRef(
1565
1565
  (e, t) => {
1566
- const { __scopeCheckboxGroup: o, children: s, className: n, style: r, ...a } = e, { size: c } = pt("CheckboxGroupItem", o);
1567
- return s ? /* @__PURE__ */ _(
1566
+ const { __scopeCheckboxGroup: o, children: r, className: n, style: s, ...a } = e, { size: c } = pt("CheckboxGroupItem", o);
1567
+ return r ? /* @__PURE__ */ _(
1568
1568
  ge,
1569
1569
  {
1570
1570
  as: "label",
1571
1571
  size: c,
1572
1572
  className: x("bd-CheckboxGroupItem", n),
1573
- style: r,
1573
+ style: s,
1574
1574
  children: [
1575
1575
  /* @__PURE__ */ u(
1576
1576
  de,
@@ -1580,7 +1580,7 @@ const mt = i.forwardRef(
1580
1580
  ref: t
1581
1581
  }
1582
1582
  ),
1583
- s && /* @__PURE__ */ u("span", { className: "bd-CheckboxGroupItemInner", children: s })
1583
+ r && /* @__PURE__ */ u("span", { className: "bd-CheckboxGroupItemInner", children: r })
1584
1584
  ]
1585
1585
  }
1586
1586
  ) : /* @__PURE__ */ u(
@@ -1590,14 +1590,14 @@ const mt = i.forwardRef(
1590
1590
  ...a,
1591
1591
  ref: t,
1592
1592
  className: n,
1593
- style: r
1593
+ style: s
1594
1594
  }
1595
1595
  );
1596
1596
  }
1597
1597
  );
1598
1598
  mt.displayName = `${j}.Item`;
1599
1599
  const de = i.forwardRef(({ __scopeCheckboxGroup: e, ...t }, o) => {
1600
- const s = pt("CheckboxGroupItemCheckbox", e), n = dt(e), { className: r } = I({ ...t, ...s }, K);
1600
+ const r = pt("CheckboxGroupItemCheckbox", e), n = dt(e), { className: s } = I({ ...t, ...r }, K);
1601
1601
  return /* @__PURE__ */ u(
1602
1602
  lt,
1603
1603
  {
@@ -1608,7 +1608,7 @@ const de = i.forwardRef(({ __scopeCheckboxGroup: e, ...t }, o) => {
1608
1608
  "bd-reset",
1609
1609
  "bd-CheckboxRoot",
1610
1610
  "bd-CheckboxGroupItemCheckbox",
1611
- r
1611
+ s
1612
1612
  ),
1613
1613
  children: /* @__PURE__ */ u(ut, { ...n, asChild: !0, className: "bd-CheckboxIndicator", children: /* @__PURE__ */ u(We, {}) })
1614
1614
  }
@@ -1625,9 +1625,9 @@ const Cs = {
1625
1625
  (e, t) => {
1626
1626
  const {
1627
1627
  __scopeRadio: o,
1628
- name: s,
1628
+ name: r,
1629
1629
  checked: n = !1,
1630
- required: r,
1630
+ required: s,
1631
1631
  disabled: a,
1632
1632
  value: c = "on",
1633
1633
  onCheck: l,
@@ -1657,10 +1657,10 @@ const Cs = {
1657
1657
  {
1658
1658
  control: f,
1659
1659
  bubbles: !v.current,
1660
- name: s,
1660
+ name: r,
1661
1661
  value: c,
1662
1662
  checked: n,
1663
- required: r,
1663
+ required: s,
1664
1664
  disabled: a,
1665
1665
  form: d,
1666
1666
  style: { transform: "translateX(-100%)" }
@@ -1672,12 +1672,12 @@ const Cs = {
1672
1672
  xe.displayName = we;
1673
1673
  const bt = "RadioIndicator", gt = i.forwardRef(
1674
1674
  (e, t) => {
1675
- const { __scopeRadio: o, forceMount: s, ...n } = e, r = On(bt, o);
1676
- return /* @__PURE__ */ u(Fe, { remain: s || r.checked, children: /* @__PURE__ */ u(
1675
+ const { __scopeRadio: o, forceMount: r, ...n } = e, s = On(bt, o);
1676
+ return /* @__PURE__ */ u(Fe, { remain: r || s.checked, children: /* @__PURE__ */ u(
1677
1677
  S.span,
1678
1678
  {
1679
- "data-state": yt(r.checked),
1680
- "data-disabled": r.disabled ? "" : void 0,
1679
+ "data-state": yt(s.checked),
1680
+ "data-disabled": s.disabled ? "" : void 0,
1681
1681
  ...n,
1682
1682
  ref: t
1683
1683
  }
@@ -1686,10 +1686,10 @@ const bt = "RadioIndicator", gt = i.forwardRef(
1686
1686
  );
1687
1687
  gt.displayName = bt;
1688
1688
  const Dn = "RadioBubbleInput", vt = i.forwardRef(
1689
- ({ control: e, checked: t, bubbles: o = !0, ...s }, n) => {
1690
- const r = i.useRef(null), a = k(r, n), c = me(t), l = he(e);
1689
+ ({ control: e, checked: t, bubbles: o = !0, ...r }, n) => {
1690
+ const s = i.useRef(null), a = k(s, n), c = me(t), l = he(e);
1691
1691
  return i.useEffect(() => {
1692
- const d = r.current;
1692
+ const d = s.current;
1693
1693
  if (!d) return;
1694
1694
  const p = window.HTMLInputElement.prototype, b = Object.getOwnPropertyDescriptor(
1695
1695
  p,
@@ -1705,11 +1705,11 @@ const Dn = "RadioBubbleInput", vt = i.forwardRef(
1705
1705
  type: "radio",
1706
1706
  "aria-hidden": !0,
1707
1707
  defaultChecked: t,
1708
- ...s,
1708
+ ...r,
1709
1709
  tabIndex: -1,
1710
1710
  ref: a,
1711
1711
  style: {
1712
- ...s.style,
1712
+ ...r.style,
1713
1713
  ...l,
1714
1714
  position: "absolute",
1715
1715
  pointerEvents: "none",
@@ -1727,14 +1727,14 @@ function yt(e) {
1727
1727
  const Gn = i.forwardRef((e, t) => {
1728
1728
  const {
1729
1729
  className: o,
1730
- checked: s,
1730
+ checked: r,
1731
1731
  defaultChecked: n = !1,
1732
- onCheck: r,
1732
+ onCheck: s,
1733
1733
  ...a
1734
1734
  } = I(e, Tn), [c, l] = A({
1735
- prop: s,
1735
+ prop: r,
1736
1736
  defaultProp: n,
1737
- onChange: r
1737
+ onChange: s
1738
1738
  });
1739
1739
  return /* @__PURE__ */ u(
1740
1740
  xe,
@@ -1756,9 +1756,9 @@ const Mn = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], te = "RadioGroup
1756
1756
  (e, t) => {
1757
1757
  const {
1758
1758
  __scopeRadioGroup: o,
1759
- name: s,
1759
+ name: r,
1760
1760
  defaultValue: n,
1761
- value: r,
1761
+ value: s,
1762
1762
  required: a = !1,
1763
1763
  disabled: c = !1,
1764
1764
  orientation: l,
@@ -1766,7 +1766,7 @@ const Mn = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], te = "RadioGroup
1766
1766
  onValueChange: p,
1767
1767
  ...f
1768
1768
  } = e, b = Rt(o), [m, v] = A({
1769
- prop: r,
1769
+ prop: s,
1770
1770
  defaultProp: n ?? null,
1771
1771
  onChange: p,
1772
1772
  caller: te
@@ -1775,7 +1775,7 @@ const Mn = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], te = "RadioGroup
1775
1775
  $n,
1776
1776
  {
1777
1777
  scope: o,
1778
- name: s,
1778
+ name: r,
1779
1779
  required: a,
1780
1780
  disabled: c,
1781
1781
  value: m,
@@ -1798,7 +1798,7 @@ const Mn = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], te = "RadioGroup
1798
1798
  wt.displayName = te;
1799
1799
  const xt = "RadioGroupItem", St = i.forwardRef(
1800
1800
  (e, t) => {
1801
- const { __scopeRadioGroup: o, disabled: s, ...n } = e, r = Vn(xt, o), a = r.disabled || s, c = Rt(o), l = Nt(o), d = i.useRef(null), p = k(t, d), f = r.value === n.value, b = i.useRef(!1);
1801
+ const { __scopeRadioGroup: o, disabled: r, ...n } = e, s = Vn(xt, o), a = s.disabled || r, c = Rt(o), l = Nt(o), d = i.useRef(null), p = k(t, d), f = s.value === n.value, b = i.useRef(!1);
1802
1802
  return i.useEffect(() => {
1803
1803
  const m = (g) => {
1804
1804
  Mn.includes(g.key) && (b.current = !0);
@@ -1816,14 +1816,14 @@ const xt = "RadioGroupItem", St = i.forwardRef(
1816
1816
  children: /* @__PURE__ */ u(
1817
1817
  xe,
1818
1818
  {
1819
- name: r.name,
1819
+ name: s.name,
1820
1820
  disabled: a,
1821
- required: r.required,
1821
+ required: s.required,
1822
1822
  checked: f,
1823
1823
  ...l,
1824
1824
  ...n,
1825
1825
  ref: p,
1826
- onCheck: () => r.onValueChange(n.value),
1826
+ onCheck: () => s.onValueChange(n.value),
1827
1827
  onKeyDown: E((m) => {
1828
1828
  m.key === "Enter" && m.preventDefault();
1829
1829
  }),
@@ -1838,8 +1838,8 @@ const xt = "RadioGroupItem", St = i.forwardRef(
1838
1838
  );
1839
1839
  St.displayName = xt;
1840
1840
  const Ln = "RadioGroupBaseIndicator", zn = i.forwardRef((e, t) => {
1841
- const { __scopeRadioGroup: o, ...s } = e, n = Nt(o);
1842
- return /* @__PURE__ */ u(gt, { ...n, ...s, ref: t });
1841
+ const { __scopeRadioGroup: o, ...r } = e, n = Nt(o);
1842
+ return /* @__PURE__ */ u(gt, { ...n, ...r, ref: t });
1843
1843
  });
1844
1844
  zn.displayName = Ln;
1845
1845
  const Un = ["1", "2", "3"], jn = ["classic", "outline"], W = {
@@ -1852,8 +1852,8 @@ const Un = ["1", "2", "3"], jn = ["classic", "outline"], W = {
1852
1852
  size: e = W.size.default,
1853
1853
  variant: t = W.variant.default,
1854
1854
  ...o
1855
- }, s) => {
1856
- const { __scopeRadioGroup: n, className: r, ...a } = I(
1855
+ }, r) => {
1856
+ const { __scopeRadioGroup: n, className: s, ...a } = I(
1857
1857
  o,
1858
1858
  W
1859
1859
  ), c = Pt(n);
@@ -1862,8 +1862,8 @@ const Un = ["1", "2", "3"], jn = ["classic", "outline"], W = {
1862
1862
  {
1863
1863
  ...c,
1864
1864
  ...a,
1865
- ref: s,
1866
- className: x("bd-RadioGroupRoot", r)
1865
+ ref: r,
1866
+ className: x("bd-RadioGroupRoot", s)
1867
1867
  }
1868
1868
  ) });
1869
1869
  }
@@ -1871,14 +1871,14 @@ const Un = ["1", "2", "3"], jn = ["classic", "outline"], W = {
1871
1871
  It.displayName = H;
1872
1872
  const Et = i.forwardRef(
1873
1873
  (e, t) => {
1874
- const { __scopeRadioGroup: o, children: s, className: n, style: r, ...a } = e, { size: c } = kt("RadioGroupItem", o);
1875
- return s ? /* @__PURE__ */ _(
1874
+ const { __scopeRadioGroup: o, children: r, className: n, style: s, ...a } = e, { size: c } = kt("RadioGroupItem", o);
1875
+ return r ? /* @__PURE__ */ _(
1876
1876
  ge,
1877
1877
  {
1878
1878
  as: "label",
1879
1879
  size: c,
1880
1880
  className: x("bd-RadioGroupItem", n),
1881
- style: r,
1881
+ style: s,
1882
1882
  children: [
1883
1883
  /* @__PURE__ */ u(
1884
1884
  pe,
@@ -1888,7 +1888,7 @@ const Et = i.forwardRef(
1888
1888
  ref: t
1889
1889
  }
1890
1890
  ),
1891
- s && /* @__PURE__ */ u("span", { className: "bd-RadioGroupItemInner", children: s })
1891
+ r && /* @__PURE__ */ u("span", { className: "bd-RadioGroupItemInner", children: r })
1892
1892
  ]
1893
1893
  }
1894
1894
  ) : /* @__PURE__ */ u(
@@ -1898,14 +1898,14 @@ const Et = i.forwardRef(
1898
1898
  ...a,
1899
1899
  ref: t,
1900
1900
  className: n,
1901
- style: r
1901
+ style: s
1902
1902
  }
1903
1903
  );
1904
1904
  }
1905
1905
  );
1906
1906
  Et.displayName = `${H}.Item`;
1907
1907
  const pe = i.forwardRef(({ __scopeRadioGroup: e, ...t }, o) => {
1908
- const s = kt("RadioGroupItemRadio", e), n = Pt(e), { className: r } = I({ ...t, ...s }, W);
1908
+ const r = kt("RadioGroupItemRadio", e), n = Pt(e), { className: s } = I({ ...t, ...r }, W);
1909
1909
  return /* @__PURE__ */ u(
1910
1910
  St,
1911
1911
  {
@@ -1913,7 +1913,7 @@ const pe = i.forwardRef(({ __scopeRadioGroup: e, ...t }, o) => {
1913
1913
  ...t,
1914
1914
  asChild: !1,
1915
1915
  ref: o,
1916
- className: x("bd-reset", "bd-BaseRadioRoot", "bd-RadioRoot", r)
1916
+ className: x("bd-reset", "bd-BaseRadioRoot", "bd-RadioRoot", s)
1917
1917
  }
1918
1918
  );
1919
1919
  });
@@ -1922,18 +1922,18 @@ const Rs = {
1922
1922
  Root: It,
1923
1923
  Item: Et
1924
1924
  }, _t = i.forwardRef(
1925
- ({ children: e, maxHeight: t, className: o, style: s, onScroll: n, onScrollBottom: r, ...a }, c) => /* @__PURE__ */ u(
1925
+ ({ children: e, maxHeight: t, className: o, style: r, onScroll: n, onScrollBottom: s, ...a }, c) => /* @__PURE__ */ u(
1926
1926
  "div",
1927
1927
  {
1928
1928
  ref: c,
1929
1929
  onScroll: (d) => {
1930
- if (n && n(d), r) {
1930
+ if (n && n(d), s) {
1931
1931
  const { scrollTop: p, scrollHeight: f, clientHeight: b } = d.currentTarget;
1932
- f - p <= b + 10 && r();
1932
+ f - p <= b + 10 && s();
1933
1933
  }
1934
1934
  },
1935
1935
  className: `bd-ScrollArea ${o || ""}`,
1936
- style: { ...s, maxHeight: t },
1936
+ style: { ...r, maxHeight: t },
1937
1937
  ...a,
1938
1938
  children: e
1939
1939
  }
@@ -1959,11 +1959,13 @@ const Kn = ["1", "2", "3", "4", "5"], Wn = ["classic", "underlined", "rounded"],
1959
1959
  /* @__PURE__ */ u("div", { className: "bd-theme bd-reset", style: { display: "contents" }, children: e }),
1960
1960
  t
1961
1961
  ), Qn = i.forwardRef((e, t) => {
1962
- const { color: o = "currentColor", ...s } = e;
1962
+ const { color: o = "currentColor", width: r = 20, height: n = 20, ...s } = e;
1963
1963
  return /* @__PURE__ */ u(
1964
1964
  "svg",
1965
1965
  {
1966
1966
  xmlns: "http://www.w3.org/2000/svg",
1967
+ width: r,
1968
+ height: n,
1967
1969
  viewBox: "4 2 16 16",
1968
1970
  fill: "none",
1969
1971
  ...s,
@@ -1981,9 +1983,9 @@ const Kn = ["1", "2", "3", "4", "5"], Wn = ["classic", "underlined", "rounded"],
1981
1983
  __scopeSelect: e,
1982
1984
  value: t,
1983
1985
  defaultValue: o,
1984
- onValueChange: s,
1986
+ onValueChange: r,
1985
1987
  open: n,
1986
- defaultOpen: r,
1988
+ defaultOpen: s,
1987
1989
  onOpenChange: a,
1988
1990
  variant: c = "classic",
1989
1991
  children: l
@@ -1991,11 +1993,11 @@ const Kn = ["1", "2", "3", "4", "5"], Wn = ["classic", "underlined", "rounded"],
1991
1993
  const [d, p] = A({
1992
1994
  prop: t,
1993
1995
  defaultProp: o ?? "",
1994
- onChange: s,
1996
+ onChange: r,
1995
1997
  caller: Z
1996
1998
  }), [f, b] = A({
1997
1999
  prop: n,
1998
- defaultProp: r ?? !1,
2000
+ defaultProp: s ?? !1,
1999
2001
  onChange: a,
2000
2002
  caller: `${Z}.Open`
2001
2003
  }), m = i.useRef(null), v = Me();
@@ -2015,7 +2017,7 @@ const Kn = ["1", "2", "3", "4", "5"], Wn = ["classic", "underlined", "rounded"],
2015
2017
  );
2016
2018
  }, At = "SelectBoxTrigger", Se = i.forwardRef(
2017
2019
  (e, t) => {
2018
- const { __scopeSelect: o, children: s, onClick: n, onKeyDown: r, ...a } = e, c = oe(At, o), l = k(t, c.triggerRef), { className: d, style: p, ...f } = I(a, Zn), b = !c.value || c.value === "";
2020
+ const { __scopeSelect: o, children: r, onClick: n, onKeyDown: s, ...a } = e, c = oe(At, o), l = k(t, c.triggerRef), { className: d, style: p, ...f } = I(a, Zn), b = !c.value || c.value === "";
2019
2021
  return /* @__PURE__ */ u(
2020
2022
  S.button,
2021
2023
  {
@@ -2031,15 +2033,15 @@ const Kn = ["1", "2", "3", "4", "5"], Wn = ["classic", "underlined", "rounded"],
2031
2033
  c.onOpenChange(!c.open), n?.(m);
2032
2034
  },
2033
2035
  onKeyDown: (m) => {
2034
- !c.open && (m.key === "ArrowDown" || m.key === "Enter" || m.key === " ") && (m.preventDefault(), c.onOpenChange(!0)), r?.(m);
2036
+ !c.open && (m.key === "ArrowDown" || m.key === "Enter" || m.key === " ") && (m.preventDefault(), c.onOpenChange(!0)), s?.(m);
2035
2037
  },
2036
- children: s
2038
+ children: r
2037
2039
  }
2038
2040
  );
2039
2041
  }
2040
2042
  );
2041
2043
  Se.displayName = At;
2042
- const Bt = "SelectBoxContent", Pe = i.forwardRef(({ __scopeSelect: e, children: t, className: o, style: s, onKeyDown: n, ...r }, a) => {
2044
+ const Bt = "SelectBoxContent", Pe = i.forwardRef(({ __scopeSelect: e, children: t, className: o, style: r, onKeyDown: n, ...s }, a) => {
2043
2045
  const c = oe(Bt, e), l = i.useRef(null), d = k(a, l);
2044
2046
  uo(l, (g) => {
2045
2047
  c.triggerRef.current?.contains(g.target) || c.open && c.onOpenChange(!1);
@@ -2098,11 +2100,11 @@ const Bt = "SelectBoxContent", Pe = i.forwardRef(({ __scopeSelect: e, children:
2098
2100
  tabIndex: -1,
2099
2101
  onKeyDown: m,
2100
2102
  className: `bd-SelectBoxContent bd-variant-${c.variant} ${o || ""}`,
2101
- ...r,
2103
+ ...s,
2102
2104
  ref: d,
2103
2105
  style: {
2104
2106
  ...f,
2105
- ...s,
2107
+ ...r,
2106
2108
  transition: b ? "opacity 0.2s ease, transform 0.2s ease" : "none",
2107
2109
  overflow: "hidden"
2108
2110
  },
@@ -2113,7 +2115,7 @@ const Bt = "SelectBoxContent", Pe = i.forwardRef(({ __scopeSelect: e, children:
2113
2115
  });
2114
2116
  Pe.displayName = Bt;
2115
2117
  const Ot = "SelectBoxItem", ke = i.forwardRef(
2116
- ({ __scopeSelect: e, value: t, onClick: o, className: s, children: n, ...r }, a) => {
2118
+ ({ __scopeSelect: e, value: t, onClick: o, className: r, children: n, ...s }, a) => {
2117
2119
  const c = oe(Ot, e), l = c.value === t;
2118
2120
  return /* @__PURE__ */ u(
2119
2121
  S.div,
@@ -2122,8 +2124,8 @@ const Ot = "SelectBoxItem", ke = i.forwardRef(
2122
2124
  tabIndex: -1,
2123
2125
  "aria-selected": l,
2124
2126
  "data-state": l ? "checked" : "unchecked",
2125
- className: `bd-SelectBoxItem bd-variant-${c.variant} ${s || ""}`,
2126
- ...r,
2127
+ className: `bd-SelectBoxItem bd-variant-${c.variant} ${r || ""}`,
2128
+ ...s,
2127
2129
  ref: a,
2128
2130
  onClick: (d) => {
2129
2131
  const p = typeof n == "string" ? n : t;
@@ -2136,21 +2138,21 @@ const Ot = "SelectBoxItem", ke = i.forwardRef(
2136
2138
  );
2137
2139
  ke.displayName = Ot;
2138
2140
  const Dt = "SelectBoxValue", Ie = i.forwardRef(
2139
- ({ __scopeSelect: e, className: t, children: o, placeholder: s, ...n }, r) => {
2140
- const a = oe(Dt, e), c = a.value ? a.value : o || s;
2141
- return /* @__PURE__ */ u(S.span, { className: `bd-SelectBoxValue ${t || ""}`, ...n, ref: r, children: c });
2141
+ ({ __scopeSelect: e, className: t, children: o, placeholder: r, ...n }, s) => {
2142
+ const a = oe(Dt, e), c = a.value ? a.value : o || r;
2143
+ return /* @__PURE__ */ u(S.span, { className: `bd-SelectBoxValue ${t || ""}`, ...n, ref: s, children: c });
2142
2144
  }
2143
2145
  );
2144
2146
  Ie.displayName = Dt;
2145
2147
  const os = "SelectBoxSlot", Ee = i.forwardRef(
2146
- ({ __scopeSelect: e, className: t, side: o = "right", "data-chevron": s, children: n, ...r }, a) => /* @__PURE__ */ u(
2148
+ ({ __scopeSelect: e, className: t, side: o = "right", "data-chevron": r, children: n, ...s }, a) => /* @__PURE__ */ u(
2147
2149
  S.div,
2148
2150
  {
2149
2151
  "aria-hidden": "true",
2150
2152
  "data-side": o,
2151
- "data-chevron": s ? "true" : void 0,
2153
+ "data-chevron": r ? "true" : void 0,
2152
2154
  className: `bd-SelectBoxSlot ${t || ""}`,
2153
- ...r,
2155
+ ...s,
2154
2156
  ref: a,
2155
2157
  children: n || /* @__PURE__ */ u(Qn, {})
2156
2158
  }
@@ -2161,17 +2163,17 @@ const ns = ({
2161
2163
  options: e,
2162
2164
  placeholder: t = "선택하세요",
2163
2165
  size: o = "2",
2164
- variant: s = "classic",
2166
+ variant: r = "classic",
2165
2167
  disabled: n = !1,
2166
- maxHeight: r,
2168
+ maxHeight: s,
2167
2169
  onScrollBottom: a,
2168
2170
  ...c
2169
- }) => /* @__PURE__ */ _(Tt, { ...c, variant: s, children: [
2170
- /* @__PURE__ */ _(Se, { size: o, variant: s, disabled: n, children: [
2171
+ }) => /* @__PURE__ */ _(Tt, { ...c, variant: r, children: [
2172
+ /* @__PURE__ */ _(Se, { size: o, variant: r, disabled: n, children: [
2171
2173
  /* @__PURE__ */ u(Ie, { placeholder: t }),
2172
2174
  /* @__PURE__ */ u(Ee, { "data-chevron": !0 })
2173
2175
  ] }),
2174
- /* @__PURE__ */ u(Pe, { children: /* @__PURE__ */ u(_t, { maxHeight: r, onScrollBottom: a, children: e.map((l) => /* @__PURE__ */ u(ke, { value: l.value, children: l.label }, l.value)) }) })
2176
+ /* @__PURE__ */ u(Pe, { children: /* @__PURE__ */ u(_t, { maxHeight: s, onScrollBottom: a, children: e.map((l) => /* @__PURE__ */ u(ke, { value: l.value, children: l.label }, l.value)) }) })
2175
2177
  ] }), Ns = Object.assign(ns, {
2176
2178
  Root: Tt,
2177
2179
  Trigger: Se,
@@ -2183,9 +2185,9 @@ const ns = ({
2183
2185
  (e, t) => {
2184
2186
  const {
2185
2187
  __scopeSwitch: o,
2186
- name: s,
2188
+ name: r,
2187
2189
  checked: n,
2188
- defaultChecked: r,
2190
+ defaultChecked: s,
2189
2191
  required: a,
2190
2192
  disabled: c,
2191
2193
  value: l = "on",
@@ -2194,7 +2196,7 @@ const ns = ({
2194
2196
  ...f
2195
2197
  } = e, [b, m] = i.useState(null), v = k(t, (R) => m(R)), g = i.useRef(!1), h = b ? p || !!b.closest("form") : !0, [y, C] = A({
2196
2198
  prop: n,
2197
- defaultProp: r ?? !1,
2199
+ defaultProp: s ?? !1,
2198
2200
  onChange: d,
2199
2201
  caller: ne
2200
2202
  });
@@ -2222,7 +2224,7 @@ const ns = ({
2222
2224
  {
2223
2225
  control: b,
2224
2226
  bubbles: !g.current,
2225
- name: s,
2227
+ name: r,
2226
2228
  value: l,
2227
2229
  checked: y,
2228
2230
  required: a,
@@ -2237,13 +2239,13 @@ const ns = ({
2237
2239
  Gt.displayName = ne;
2238
2240
  const Mt = "SwitchThumb", Ft = i.forwardRef(
2239
2241
  (e, t) => {
2240
- const { __scopeSwitch: o, ...s } = e, n = cs(Mt, o);
2242
+ const { __scopeSwitch: o, ...r } = e, n = cs(Mt, o);
2241
2243
  return /* @__PURE__ */ u(
2242
2244
  S.span,
2243
2245
  {
2244
2246
  "data-state": Vt(n.checked),
2245
2247
  "data-disabled": n.disabled ? "" : void 0,
2246
- ...s,
2248
+ ...r,
2247
2249
  ref: t
2248
2250
  }
2249
2251
  );
@@ -2252,7 +2254,7 @@ const Mt = "SwitchThumb", Ft = i.forwardRef(
2252
2254
  Ft.displayName = Mt;
2253
2255
  const as = "SwitchBubbleInput", $t = i.forwardRef(
2254
2256
  (e, t) => {
2255
- const { checked: o, control: s, bubbles: n = !0, ...r } = e, a = i.useRef(null), c = k(a, t), l = me(o), d = he(s);
2257
+ const { checked: o, control: r, bubbles: n = !0, ...s } = e, a = i.useRef(null), c = k(a, t), l = me(o), d = he(r);
2256
2258
  return i.useEffect(() => {
2257
2259
  const p = a.current;
2258
2260
  if (!p) return;
@@ -2270,11 +2272,11 @@ const as = "SwitchBubbleInput", $t = i.forwardRef(
2270
2272
  type: "checkbox",
2271
2273
  "aria-hidden": !0,
2272
2274
  defaultChecked: o,
2273
- ...r,
2275
+ ...s,
2274
2276
  tabIndex: -1,
2275
2277
  ref: c,
2276
2278
  style: {
2277
- ...r.style,
2279
+ ...s.style,
2278
2280
  ...d,
2279
2281
  position: "absolute",
2280
2282
  pointerEvents: "none",
@@ -2293,11 +2295,11 @@ const is = ["1", "2", "3"], ls = {
2293
2295
  size: { type: "enum", className: "bd-size", values: is, default: "2" },
2294
2296
  ...D
2295
2297
  }, us = i.forwardRef((e, t) => {
2296
- const { className: o, ...s } = I(e, ls);
2298
+ const { className: o, ...r } = I(e, ls);
2297
2299
  return /* @__PURE__ */ u(
2298
2300
  Gt,
2299
2301
  {
2300
- ...s,
2302
+ ...r,
2301
2303
  asChild: !1,
2302
2304
  ref: t,
2303
2305
  className: x("bd-reset", "bd-SwitchRoot", o),
@@ -2319,14 +2321,14 @@ const ds = ["1", "2", "3", "4", "5"], ps = ["classic", "underlined", "rounded"],
2319
2321
  pr: $.pr
2320
2322
  }, Lt = i.forwardRef(
2321
2323
  (e, t) => {
2322
- const o = i.useRef(null), { children: s, className: n, style: r, ...a } = I(
2324
+ const o = i.useRef(null), { children: r, className: n, style: s, ...a } = I(
2323
2325
  e,
2324
2326
  fs
2325
2327
  );
2326
2328
  return /* @__PURE__ */ _(
2327
2329
  "div",
2328
2330
  {
2329
- style: r,
2331
+ style: s,
2330
2332
  className: x("bd-TextFieldRoot", n),
2331
2333
  onPointerDown: (c) => {
2332
2334
  const l = c.target;
@@ -2355,7 +2357,7 @@ const ds = ["1", "2", "3", "4", "5"], ps = ["classic", "underlined", "rounded"],
2355
2357
  className: "bd-reset bd-TextFieldInput"
2356
2358
  }
2357
2359
  ),
2358
- s
2360
+ r
2359
2361
  ]
2360
2362
  }
2361
2363
  );
@@ -2364,11 +2366,11 @@ const ds = ["1", "2", "3", "4", "5"], ps = ["classic", "underlined", "rounded"],
2364
2366
  Lt.displayName = "TextFieldRoot";
2365
2367
  const zt = i.forwardRef(
2366
2368
  (e, t) => {
2367
- const { className: o, side: s, ...n } = I(e, hs);
2369
+ const { className: o, side: r, ...n } = I(e, hs);
2368
2370
  return /* @__PURE__ */ u(
2369
2371
  "div",
2370
2372
  {
2371
- "data-side": s,
2373
+ "data-side": r,
2372
2374
  ...n,
2373
2375
  ref: t,
2374
2376
  className: x("bd-TextFieldSlot", o)