burne-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.
Files changed (148) hide show
  1. package/dist/components/composite/Accordion/Accordion.d.ts +1 -1
  2. package/dist/components/composite/Accordion/accordionParts.d.ts +1 -1
  3. package/dist/components/composite/Accordion/accordionTypes.d.ts +4 -3
  4. package/dist/components/composite/Accordion/index.d.ts +2 -2
  5. package/dist/components/composite/AlertDialog/alertDialogParts.d.ts +1 -1
  6. package/dist/components/composite/AlertDialog/alertDialogTypes.d.ts +3 -2
  7. package/dist/components/composite/AlertDialog/index.d.ts +1 -1
  8. package/dist/components/composite/ButtonGroup/ButtonGroup.d.ts +1 -1
  9. package/dist/components/composite/ButtonGroup/buttonGroupStyles.d.ts +5 -1
  10. package/dist/components/composite/ButtonGroup/buttonGroupTypes.d.ts +3 -2
  11. package/dist/components/composite/ButtonGroup/index.d.ts +1 -1
  12. package/dist/components/composite/CheckboxGroup/CheckboxGroup.d.ts +1 -1
  13. package/dist/components/composite/CheckboxGroup/checkboxGroupTypes.d.ts +2 -1
  14. package/dist/components/composite/CheckboxGroup/index.d.ts +1 -1
  15. package/dist/components/composite/Form/Form.d.ts +1 -1
  16. package/dist/components/composite/Form/formContext.d.ts +2 -1
  17. package/dist/components/composite/Form/formParts.d.ts +2 -2
  18. package/dist/components/composite/Form/formStyles.d.ts +9 -8
  19. package/dist/components/composite/Form/formTypes.d.ts +4 -3
  20. package/dist/components/composite/Form/index.d.ts +3 -3
  21. package/dist/components/composite/RadioGroup/RadioGroup.d.ts +1 -1
  22. package/dist/components/composite/RadioGroup/index.d.ts +1 -1
  23. package/dist/components/composite/RadioGroup/radioGroupTypes.d.ts +2 -1
  24. package/dist/components/composite/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  25. package/dist/components/composite/ToggleButtonGroup/index.d.ts +1 -1
  26. package/dist/components/composite/ToggleButtonGroup/toggleButtonGroupTypes.d.ts +3 -2
  27. package/dist/components/composite/utils/optionGroupClassNames.d.ts +2 -1
  28. package/dist/components/core/Alert/Alert.d.ts +1 -1
  29. package/dist/components/core/Alert/alertContext.d.ts +2 -1
  30. package/dist/components/core/Alert/alertTypes.d.ts +2 -1
  31. package/dist/components/core/Alert/index.d.ts +1 -1
  32. package/dist/components/core/Avatar/Avatar.d.ts +1 -1
  33. package/dist/components/core/Avatar/avatarParts.d.ts +1 -1
  34. package/dist/components/core/Avatar/avatarTypes.d.ts +4 -3
  35. package/dist/components/core/Avatar/index.d.ts +2 -2
  36. package/dist/components/core/Badge/Badge.d.ts +1 -1
  37. package/dist/components/core/Badge/badgeParts.d.ts +1 -1
  38. package/dist/components/core/Badge/badgeTypes.d.ts +4 -3
  39. package/dist/components/core/Badge/index.d.ts +2 -2
  40. package/dist/components/core/Breadcrumbs/Breadcrumbs.d.ts +1 -1
  41. package/dist/components/core/Breadcrumbs/breadcrumbsParts.d.ts +1 -1
  42. package/dist/components/core/Breadcrumbs/breadcrumbsTypes.d.ts +4 -3
  43. package/dist/components/core/Breadcrumbs/index.d.ts +2 -2
  44. package/dist/components/core/Button/Button.d.ts +1 -1
  45. package/dist/components/core/Button/buttonContext.d.ts +2 -1
  46. package/dist/components/core/Button/buttonTypes.d.ts +2 -1
  47. package/dist/components/core/Button/index.d.ts +1 -1
  48. package/dist/components/core/Button/useButtonRootState.d.ts +10 -1
  49. package/dist/components/core/Calendar/calendarTypes.d.ts +3 -2
  50. package/dist/components/core/Card/Card.d.ts +1 -1
  51. package/dist/components/core/Card/cardTypes.d.ts +3 -2
  52. package/dist/components/core/Card/index.d.ts +1 -1
  53. package/dist/components/core/Checkbox/Checkbox.d.ts +1 -1
  54. package/dist/components/core/Checkbox/checkboxAPI.d.ts +2 -1
  55. package/dist/components/core/Checkbox/checkboxTypes.d.ts +4 -3
  56. package/dist/components/core/Checkbox/index.d.ts +1 -1
  57. package/dist/components/core/CloseButton/CloseButton.d.ts +1 -1
  58. package/dist/components/core/CloseButton/closeButtonTypes.d.ts +3 -2
  59. package/dist/components/core/CloseButton/useCloseButtonRootState.d.ts +5 -1
  60. package/dist/components/core/ColorPicker/colorPickerTypes.d.ts +3 -2
  61. package/dist/components/core/ComboBox/comboBoxTypes.d.ts +3 -2
  62. package/dist/components/core/Dialog/dialogParts.d.ts +1 -1
  63. package/dist/components/core/Dialog/dialogTypes.d.ts +3 -2
  64. package/dist/components/core/Dialog/index.d.ts +1 -1
  65. package/dist/components/core/Disclosure/Disclosure.d.ts +1 -1
  66. package/dist/components/core/Disclosure/disclosureGroup.d.ts +1 -1
  67. package/dist/components/core/Disclosure/disclosureTypes.d.ts +4 -3
  68. package/dist/components/core/Disclosure/index.d.ts +2 -2
  69. package/dist/components/core/Drawer/drawerParts.d.ts +1 -1
  70. package/dist/components/core/Drawer/drawerTypes.d.ts +3 -2
  71. package/dist/components/core/Drawer/index.d.ts +1 -1
  72. package/dist/components/core/Dropdown/dropdownStyles.d.ts +2 -1
  73. package/dist/components/core/Dropdown/dropdownTypes.d.ts +4 -3
  74. package/dist/components/core/Expandable/Expandable.d.ts +1 -1
  75. package/dist/components/core/Expandable/expandableTypes.d.ts +3 -2
  76. package/dist/components/core/Expandable/index.d.ts +1 -1
  77. package/dist/components/core/Field/Field.d.ts +1 -1
  78. package/dist/components/core/Field/fieldTypes.d.ts +5 -4
  79. package/dist/components/core/Field/index.d.ts +1 -1
  80. package/dist/components/core/Input/index.d.ts +1 -1
  81. package/dist/components/core/Input/inputControlParts.d.ts +1 -1
  82. package/dist/components/core/Input/inputTypes.d.ts +4 -3
  83. package/dist/components/core/Kbd/Kbd.d.ts +1 -1
  84. package/dist/components/core/Kbd/index.d.ts +1 -1
  85. package/dist/components/core/Kbd/kbdTypes.d.ts +5 -4
  86. package/dist/components/core/Label/labelTypes.d.ts +3 -2
  87. package/dist/components/core/Link/linkTypes.d.ts +3 -2
  88. package/dist/components/core/ListBox/listBoxAPI.d.ts +2 -1
  89. package/dist/components/core/ListBox/listBoxTypes.d.ts +4 -3
  90. package/dist/components/core/Loading/Loading.d.ts +1 -1
  91. package/dist/components/core/Loading/loadingTypes.d.ts +2 -1
  92. package/dist/components/core/Meter/meterTypes.d.ts +3 -2
  93. package/dist/components/core/Pagination/Pagination.d.ts +1 -1
  94. package/dist/components/core/Pagination/index.d.ts +1 -1
  95. package/dist/components/core/Pagination/paginationTypes.d.ts +3 -2
  96. package/dist/components/core/Popover/popoverTypes.d.ts +3 -2
  97. package/dist/components/core/ProgressBar/progressBarTypes.d.ts +3 -2
  98. package/dist/components/core/Radio/Radio.d.ts +1 -1
  99. package/dist/components/core/Radio/index.d.ts +1 -1
  100. package/dist/components/core/Radio/radioAPI.d.ts +2 -1
  101. package/dist/components/core/Radio/radioTypes.d.ts +4 -3
  102. package/dist/components/core/SearchInput/SearchInput.d.ts +1 -1
  103. package/dist/components/core/SearchInput/searchInputTypes.d.ts +3 -2
  104. package/dist/components/core/SearchInput/useSearchInputRootState.d.ts +7 -1
  105. package/dist/components/core/Select/selectTypes.d.ts +3 -2
  106. package/dist/components/core/SelectionIndicator/selectionIndicatorAPI.d.ts +2 -1
  107. package/dist/components/core/SelectionIndicator/selectionIndicatorTypes.d.ts +2 -1
  108. package/dist/components/core/SelectionThumb/selectionThumbTypes.d.ts +3 -2
  109. package/dist/components/core/Skeleton/Skeleton.d.ts +1 -1
  110. package/dist/components/core/Skeleton/index.d.ts +5 -5
  111. package/dist/components/core/Skeleton/skeletonParts.d.ts +4 -4
  112. package/dist/components/core/Skeleton/skeletonTypes.d.ts +6 -5
  113. package/dist/components/core/Slider/sliderTypes.d.ts +4 -3
  114. package/dist/components/core/Surface/Surface.d.ts +1 -1
  115. package/dist/components/core/Surface/surfaceTypes.d.ts +2 -1
  116. package/dist/components/core/Switch/Switch.d.ts +1 -1
  117. package/dist/components/core/Switch/index.d.ts +2 -2
  118. package/dist/components/core/Switch/switchControlParts.d.ts +1 -1
  119. package/dist/components/core/Switch/switchTypes.d.ts +5 -4
  120. package/dist/components/core/Switch/useSwitchRootState.d.ts +1 -1
  121. package/dist/components/core/Table/Table.d.ts +1 -1
  122. package/dist/components/core/Table/index.d.ts +1 -1
  123. package/dist/components/core/Table/tableTypes.d.ts +3 -2
  124. package/dist/components/core/Tabs/Tabs.d.ts +1 -1
  125. package/dist/components/core/Tabs/index.d.ts +1 -1
  126. package/dist/components/core/Tabs/tabsTypes.d.ts +3 -2
  127. package/dist/components/core/TextArea/textAreaTypes.d.ts +3 -2
  128. package/dist/components/core/TimeField/timeFieldTypes.d.ts +3 -2
  129. package/dist/components/core/Toast/Toast.d.ts +1 -1
  130. package/dist/components/core/Toast/index.d.ts +1 -1
  131. package/dist/components/core/Toast/toastTypes.d.ts +8 -7
  132. package/dist/components/core/Toast/useToastProviderState.d.ts +13 -1
  133. package/dist/components/core/ToggleButton/ToggleButton.d.ts +1 -1
  134. package/dist/components/core/ToggleButton/index.d.ts +1 -1
  135. package/dist/components/core/ToggleButton/toggleButtonContext.d.ts +2 -1
  136. package/dist/components/core/ToggleButton/toggleButtonTypes.d.ts +2 -1
  137. package/dist/components/core/ToggleButton/useToggleButtonRootState.d.ts +8 -1
  138. package/dist/components/core/Tooltip/tooltipTypes.d.ts +3 -2
  139. package/dist/index.cjs +1 -1
  140. package/dist/index.d.ts +1 -0
  141. package/dist/index.js +10 -9
  142. package/dist/internal.cjs +1 -1
  143. package/dist/internal.js +1 -1
  144. package/dist/{themeRuntimeContext-BGPGJ9Al.cjs → themeRuntimeContext-BOseU2z2.cjs} +6 -6
  145. package/dist/{themeRuntimeContext-D_BFeuKg.js → themeRuntimeContext-lrK_tOjm.js} +506 -509
  146. package/dist/ui.css +30 -40
  147. package/dist/utils/prettify.d.ts +8 -0
  148. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { jsx as Ke, Fragment as Fo } from "react/jsx-runtime";
3
- import { useSyncExternalStore as Oo, memo as _o, useRef as Z, useLayoutEffect as Q, useState as Ze, useCallback as D, useEffect as Gr, useMemo as J, createElement as Hr, useContext as Ne, createContext as $r } from "react";
3
+ import { useSyncExternalStore as Co, memo as Oo, useRef as Z, useLayoutEffect as Q, useState as Ze, useCallback as D, useEffect as Gr, useMemo as J, createElement as Hr, useContext as Ne, createContext as $r } from "react";
4
4
  import R from "gsap";
5
5
  import { CustomEase as Je } from "gsap/CustomEase";
6
6
  function Wr(e) {
@@ -12,40 +12,40 @@ function Wr(e) {
12
12
  } else for (o in e) e[o] && (n && (n += " "), n += o);
13
13
  return n;
14
14
  }
15
- function Io() {
15
+ function _o() {
16
16
  for (var e, r, o = 0, n = "", i = arguments.length; o < i; o++) (e = arguments[o]) && (r = Wr(e)) && (n && (n += " "), n += r);
17
17
  return n;
18
18
  }
19
- const Lo = (e, r) => {
19
+ const Io = (e, r) => {
20
20
  const o = new Array(e.length + r.length);
21
21
  for (let n = 0; n < e.length; n++)
22
22
  o[n] = e[n];
23
23
  for (let n = 0; n < r.length; n++)
24
24
  o[e.length + n] = r[n];
25
25
  return o;
26
- }, zo = (e, r) => ({
26
+ }, Lo = (e, r) => ({
27
27
  classGroupId: e,
28
28
  validator: r
29
29
  }), Ur = (e = /* @__PURE__ */ new Map(), r = null, o) => ({
30
30
  nextPart: e,
31
31
  validators: r,
32
32
  classGroupId: o
33
- }), Ie = "-", Er = [], Ro = "arbitrary..", Ao = (e) => {
34
- const r = Mo(e), {
33
+ }), Ie = "-", Er = [], zo = "arbitrary..", Ro = (e) => {
34
+ const r = Po(e), {
35
35
  conflictingClassGroups: o,
36
36
  conflictingClassGroupModifiers: n
37
37
  } = e;
38
38
  return {
39
39
  getClassGroupId: (s) => {
40
40
  if (s.startsWith("[") && s.endsWith("]"))
41
- return Po(s);
41
+ return Ao(s);
42
42
  const a = s.split(Ie), d = a[0] === "" && a.length > 1 ? 1 : 0;
43
43
  return Vr(a, d, r);
44
44
  },
45
45
  getConflictingClassGroupIds: (s, a) => {
46
46
  if (a) {
47
47
  const d = n[s], c = o[s];
48
- return d ? c ? Lo(c, d) : d : c || Er;
48
+ return d ? c ? Io(c, d) : d : c || Er;
49
49
  }
50
50
  return o[s] || Er;
51
51
  }
@@ -67,16 +67,16 @@ const Lo = (e, r) => {
67
67
  if (p.validator(a))
68
68
  return p.classGroupId;
69
69
  }
70
- }, Po = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
70
+ }, Ao = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
71
71
  const r = e.slice(1, -1), o = r.indexOf(":"), n = r.slice(0, o);
72
- return n ? Ro + n : void 0;
73
- })(), Mo = (e) => {
72
+ return n ? zo + n : void 0;
73
+ })(), Po = (e) => {
74
74
  const {
75
75
  theme: r,
76
76
  classGroups: o
77
77
  } = e;
78
- return No(o, r);
79
- }, No = (e, r) => {
78
+ return Mo(o, r);
79
+ }, Mo = (e, r) => {
80
80
  const o = Ur();
81
81
  for (const n in e) {
82
82
  const i = e[n];
@@ -87,28 +87,28 @@ const Lo = (e, r) => {
87
87
  const i = e.length;
88
88
  for (let t = 0; t < i; t++) {
89
89
  const s = e[t];
90
- Bo(s, r, o, n);
90
+ No(s, r, o, n);
91
91
  }
92
- }, Bo = (e, r, o, n) => {
92
+ }, No = (e, r, o, n) => {
93
93
  if (typeof e == "string") {
94
- Go(e, r, o);
94
+ Bo(e, r, o);
95
95
  return;
96
96
  }
97
97
  if (typeof e == "function") {
98
- Ho(e, r, o, n);
98
+ Go(e, r, o, n);
99
99
  return;
100
100
  }
101
- $o(e, r, o, n);
102
- }, Go = (e, r, o) => {
101
+ Ho(e, r, o, n);
102
+ }, Bo = (e, r, o) => {
103
103
  const n = e === "" ? r : qr(r, e);
104
104
  n.classGroupId = o;
105
- }, Ho = (e, r, o, n) => {
106
- if (Wo(e)) {
105
+ }, Go = (e, r, o, n) => {
106
+ if ($o(e)) {
107
107
  nr(e(n), r, o, n);
108
108
  return;
109
109
  }
110
- r.validators === null && (r.validators = []), r.validators.push(zo(o, e));
111
- }, $o = (e, r, o, n) => {
110
+ r.validators === null && (r.validators = []), r.validators.push(Lo(o, e));
111
+ }, Ho = (e, r, o, n) => {
112
112
  const i = Object.entries(e), t = i.length;
113
113
  for (let s = 0; s < t; s++) {
114
114
  const [a, d] = i[s];
@@ -123,7 +123,7 @@ const Lo = (e, r) => {
123
123
  a || (a = Ur(), o.nextPart.set(s, a)), o = a;
124
124
  }
125
125
  return o;
126
- }, Wo = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Uo = (e) => {
126
+ }, $o = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Wo = (e) => {
127
127
  if (e < 1)
128
128
  return {
129
129
  get: () => {
@@ -147,13 +147,13 @@ const Lo = (e, r) => {
147
147
  t in o ? o[t] = s : i(t, s);
148
148
  }
149
149
  };
150
- }, Qe = "!", Dr = ":", Vo = [], Cr = (e, r, o, n, i) => ({
150
+ }, Qe = "!", Dr = ":", Uo = [], Fr = (e, r, o, n, i) => ({
151
151
  modifiers: e,
152
152
  hasImportantModifier: r,
153
153
  baseClassName: o,
154
154
  maybePostfixModifierPosition: n,
155
155
  isExternal: i
156
- }), qo = (e) => {
156
+ }), Vo = (e) => {
157
157
  const {
158
158
  prefix: r,
159
159
  experimentalParseClassName: o
@@ -186,11 +186,11 @@ const Lo = (e, r) => {
186
186
  m.startsWith(Qe) && (w = m.slice(1), h = !0)
187
187
  );
188
188
  const x = c && c > d ? c - d : void 0;
189
- return Cr(t, h, w, x);
189
+ return Fr(t, h, w, x);
190
190
  };
191
191
  if (r) {
192
192
  const i = r + Dr, t = n;
193
- n = (s) => s.startsWith(i) ? t(s.slice(i.length)) : Cr(Vo, !1, s, void 0, !0);
193
+ n = (s) => s.startsWith(i) ? t(s.slice(i.length)) : Fr(Uo, !1, s, void 0, !0);
194
194
  }
195
195
  if (o) {
196
196
  const i = n;
@@ -200,7 +200,7 @@ const Lo = (e, r) => {
200
200
  });
201
201
  }
202
202
  return n;
203
- }, jo = (e) => {
203
+ }, qo = (e) => {
204
204
  const r = /* @__PURE__ */ new Map();
205
205
  return e.orderSensitiveModifiers.forEach((o, n) => {
206
206
  r.set(o, 1e6 + n);
@@ -213,26 +213,26 @@ const Lo = (e, r) => {
213
213
  }
214
214
  return i.length > 0 && (i.sort(), n.push(...i)), n;
215
215
  };
216
- }, Xo = (e) => ({
217
- cache: Uo(e.cacheSize),
218
- parseClassName: qo(e),
219
- sortModifiers: jo(e),
220
- postfixLookupClassGroupIds: Yo(e),
221
- ...Ao(e)
222
- }), Yo = (e) => {
216
+ }, jo = (e) => ({
217
+ cache: Wo(e.cacheSize),
218
+ parseClassName: Vo(e),
219
+ sortModifiers: qo(e),
220
+ postfixLookupClassGroupIds: Xo(e),
221
+ ...Ro(e)
222
+ }), Xo = (e) => {
223
223
  const r = /* @__PURE__ */ Object.create(null), o = e.postfixLookupClassGroups;
224
224
  if (o)
225
225
  for (let n = 0; n < o.length; n++)
226
226
  r[o[n]] = !0;
227
227
  return r;
228
- }, Ko = /\s+/, Zo = (e, r) => {
228
+ }, Yo = /\s+/, Ko = (e, r) => {
229
229
  const {
230
230
  parseClassName: o,
231
231
  getClassGroupId: n,
232
232
  getConflictingClassGroupIds: i,
233
233
  sortModifiers: t,
234
234
  postfixLookupClassGroupIds: s
235
- } = r, a = [], d = e.trim().split(Ko);
235
+ } = r, a = [], d = e.trim().split(Yo);
236
236
  let c = "";
237
237
  for (let p = d.length - 1; p >= 0; p -= 1) {
238
238
  const m = d[p], {
@@ -277,7 +277,7 @@ const Lo = (e, r) => {
277
277
  c = m + (c.length > 0 ? " " + c : c);
278
278
  }
279
279
  return c;
280
- }, Jo = (...e) => {
280
+ }, Zo = (...e) => {
281
281
  let r = 0, o, n, i = "";
282
282
  for (; r < e.length; )
283
283
  (o = e[r++]) && (n = jr(o)) && (i && (i += " "), i += n);
@@ -289,34 +289,34 @@ const Lo = (e, r) => {
289
289
  for (let n = 0; n < e.length; n++)
290
290
  e[n] && (r = jr(e[n])) && (o && (o += " "), o += r);
291
291
  return o;
292
- }, Fr = (e, ...r) => {
292
+ }, Cr = (e, ...r) => {
293
293
  let o, n, i, t;
294
294
  const s = (d) => {
295
295
  const c = r.reduce((p, m) => m(p), e());
296
- return o = Xo(c), n = o.cache.get, i = o.cache.set, t = a, a(d);
296
+ return o = jo(c), n = o.cache.get, i = o.cache.set, t = a, a(d);
297
297
  }, a = (d) => {
298
298
  const c = n(d);
299
299
  if (c)
300
300
  return c;
301
- const p = Zo(d, o);
301
+ const p = Ko(d, o);
302
302
  return i(d, p), p;
303
303
  };
304
- return t = s, (...d) => t(Jo(...d));
305
- }, Qo = [], T = (e) => {
306
- const r = (o) => o[e] || Qo;
304
+ return t = s, (...d) => t(Zo(...d));
305
+ }, Jo = [], T = (e) => {
306
+ const r = (o) => o[e] || Jo;
307
307
  return r.isThemeGetter = !0, r;
308
- }, Xr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Yr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, en = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, rn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, on = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, nn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, tn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, sn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => en.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), M = (e) => !!e && Number.isInteger(Number(e)), je = (e) => e.endsWith("%") && b(e.slice(0, -1)), B = (e) => rn.test(e), Kr = () => !0, an = (e) => (
308
+ }, Xr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Yr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Qo = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, en = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, rn = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, on = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, nn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, tn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => Qo.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), M = (e) => !!e && Number.isInteger(Number(e)), je = (e) => e.endsWith("%") && b(e.slice(0, -1)), B = (e) => en.test(e), Kr = () => !0, sn = (e) => (
309
309
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
310
310
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
311
311
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
312
- on.test(e) && !nn.test(e)
313
- ), tr = () => !1, ln = (e) => tn.test(e), cn = (e) => sn.test(e), un = (e) => !l(e) && !u(e), dn = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), fn = (e) => V(e, Qr, tr), l = (e) => Xr.test(e), X = (e) => V(e, eo, an), Or = (e) => V(e, xn, b), gn = (e) => V(e, oo, Kr), mn = (e) => V(e, ro, tr), _r = (e) => V(e, Zr, tr), pn = (e) => V(e, Jr, cn), Se = (e) => V(e, no, ln), u = (e) => Yr.test(e), fe = (e) => ee(e, eo), bn = (e) => ee(e, ro), Ir = (e) => ee(e, Zr), hn = (e) => ee(e, Qr), vn = (e) => ee(e, Jr), Te = (e) => ee(e, no, !0), yn = (e) => ee(e, oo, !0), V = (e, r, o) => {
312
+ rn.test(e) && !on.test(e)
313
+ ), tr = () => !1, an = (e) => nn.test(e), ln = (e) => tn.test(e), cn = (e) => !l(e) && !u(e), un = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), dn = (e) => V(e, Qr, tr), l = (e) => Xr.test(e), X = (e) => V(e, eo, sn), Or = (e) => V(e, yn, b), fn = (e) => V(e, oo, Kr), gn = (e) => V(e, ro, tr), _r = (e) => V(e, Zr, tr), mn = (e) => V(e, Jr, ln), Se = (e) => V(e, no, an), u = (e) => Yr.test(e), fe = (e) => ee(e, eo), pn = (e) => ee(e, ro), Ir = (e) => ee(e, Zr), bn = (e) => ee(e, Qr), hn = (e) => ee(e, Jr), Te = (e) => ee(e, no, !0), vn = (e) => ee(e, oo, !0), V = (e, r, o) => {
314
314
  const n = Xr.exec(e);
315
315
  return n ? n[1] ? r(n[1]) : o(n[2]) : !1;
316
316
  }, ee = (e, r, o = !1) => {
317
317
  const n = Yr.exec(e);
318
318
  return n ? n[1] ? r(n[1]) : o : !1;
319
- }, Zr = (e) => e === "position" || e === "percentage", Jr = (e) => e === "image" || e === "url", Qr = (e) => e === "length" || e === "size" || e === "bg-size", eo = (e) => e === "length", xn = (e) => e === "number", ro = (e) => e === "family-name", oo = (e) => e === "number" || e === "weight", no = (e) => e === "shadow", Lr = () => {
319
+ }, Zr = (e) => e === "position" || e === "percentage", Jr = (e) => e === "image" || e === "url", Qr = (e) => e === "length" || e === "size" || e === "bg-size", eo = (e) => e === "length", yn = (e) => e === "number", ro = (e) => e === "family-name", oo = (e) => e === "number" || e === "weight", no = (e) => e === "shadow", Lr = () => {
320
320
  const e = T("color"), r = T("font"), o = T("text"), n = T("font-weight"), i = T("tracking"), t = T("leading"), s = T("breakpoint"), a = T("container"), d = T("spacing"), c = T("radius"), p = T("shadow"), m = T("inset-shadow"), w = T("text-shadow"), h = T("drop-shadow"), x = T("blur"), k = T("perspective"), O = T("aspect"), q = T("ease"), _ = T("animate"), de = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], re = () => [
321
321
  "center",
322
322
  "top",
@@ -341,9 +341,9 @@ const Lo = (e, r) => {
341
341
  position: [u, l]
342
342
  }], wr = () => ["no-repeat", {
343
343
  repeat: ["", "x", "y", "space", "round"]
344
- }], Sr = () => ["auto", "cover", "contain", hn, fn, {
344
+ }], Sr = () => ["auto", "cover", "contain", bn, dn, {
345
345
  size: [u, l]
346
- }], Ve = () => [je, fe, X], C = () => [
346
+ }], Ve = () => [je, fe, X], F = () => [
347
347
  // Deprecated since Tailwind CSS v4.0.0
348
348
  "",
349
349
  "none",
@@ -351,7 +351,7 @@ const Lo = (e, r) => {
351
351
  c,
352
352
  u,
353
353
  l
354
- ], F = () => ["", b, fe, X], ve = () => ["solid", "dashed", "dotted", "double"], Tr = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], E = () => [b, je, Ir, _r], kr = () => [
354
+ ], C = () => ["", b, fe, X], ve = () => ["solid", "dashed", "dotted", "double"], Tr = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], E = () => [b, je, Ir, _r], kr = () => [
355
355
  // Deprecated since Tailwind CSS v4.0.0
356
356
  "",
357
357
  "none",
@@ -370,7 +370,7 @@ const Lo = (e, r) => {
370
370
  container: [B],
371
371
  "drop-shadow": [B],
372
372
  ease: ["in", "out", "in-out"],
373
- font: [un],
373
+ font: [cn],
374
374
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
375
375
  "inset-shadow": [B],
376
376
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
@@ -410,7 +410,7 @@ const Lo = (e, r) => {
410
410
  * Container Name
411
411
  * @see https://tailwindcss.com/docs/responsive-design#named-containers
412
412
  */
413
- "container-named": [dn],
413
+ "container-named": [un],
414
414
  /**
415
415
  * Columns
416
416
  * @see https://tailwindcss.com/docs/columns
@@ -1176,7 +1176,7 @@ const Lo = (e, r) => {
1176
1176
  * @see https://tailwindcss.com/docs/font-weight
1177
1177
  */
1178
1178
  "font-weight": [{
1179
- font: [n, yn, gn]
1179
+ font: [n, vn, fn]
1180
1180
  }],
1181
1181
  /**
1182
1182
  * Font Stretch
@@ -1190,7 +1190,7 @@ const Lo = (e, r) => {
1190
1190
  * @see https://tailwindcss.com/docs/font-family
1191
1191
  */
1192
1192
  "font-family": [{
1193
- font: [bn, mn, r]
1193
+ font: [pn, gn, r]
1194
1194
  }],
1195
1195
  /**
1196
1196
  * Font Feature Settings
@@ -1459,7 +1459,7 @@ const Lo = (e, r) => {
1459
1459
  }, M, u, l],
1460
1460
  radial: ["", u, l],
1461
1461
  conic: [M, u, l]
1462
- }, vn, pn]
1462
+ }, hn, mn]
1463
1463
  }],
1464
1464
  /**
1465
1465
  * Background Color
@@ -1518,189 +1518,189 @@ const Lo = (e, r) => {
1518
1518
  * @see https://tailwindcss.com/docs/border-radius
1519
1519
  */
1520
1520
  rounded: [{
1521
- rounded: C()
1521
+ rounded: F()
1522
1522
  }],
1523
1523
  /**
1524
1524
  * Border Radius Start
1525
1525
  * @see https://tailwindcss.com/docs/border-radius
1526
1526
  */
1527
1527
  "rounded-s": [{
1528
- "rounded-s": C()
1528
+ "rounded-s": F()
1529
1529
  }],
1530
1530
  /**
1531
1531
  * Border Radius End
1532
1532
  * @see https://tailwindcss.com/docs/border-radius
1533
1533
  */
1534
1534
  "rounded-e": [{
1535
- "rounded-e": C()
1535
+ "rounded-e": F()
1536
1536
  }],
1537
1537
  /**
1538
1538
  * Border Radius Top
1539
1539
  * @see https://tailwindcss.com/docs/border-radius
1540
1540
  */
1541
1541
  "rounded-t": [{
1542
- "rounded-t": C()
1542
+ "rounded-t": F()
1543
1543
  }],
1544
1544
  /**
1545
1545
  * Border Radius Right
1546
1546
  * @see https://tailwindcss.com/docs/border-radius
1547
1547
  */
1548
1548
  "rounded-r": [{
1549
- "rounded-r": C()
1549
+ "rounded-r": F()
1550
1550
  }],
1551
1551
  /**
1552
1552
  * Border Radius Bottom
1553
1553
  * @see https://tailwindcss.com/docs/border-radius
1554
1554
  */
1555
1555
  "rounded-b": [{
1556
- "rounded-b": C()
1556
+ "rounded-b": F()
1557
1557
  }],
1558
1558
  /**
1559
1559
  * Border Radius Left
1560
1560
  * @see https://tailwindcss.com/docs/border-radius
1561
1561
  */
1562
1562
  "rounded-l": [{
1563
- "rounded-l": C()
1563
+ "rounded-l": F()
1564
1564
  }],
1565
1565
  /**
1566
1566
  * Border Radius Start Start
1567
1567
  * @see https://tailwindcss.com/docs/border-radius
1568
1568
  */
1569
1569
  "rounded-ss": [{
1570
- "rounded-ss": C()
1570
+ "rounded-ss": F()
1571
1571
  }],
1572
1572
  /**
1573
1573
  * Border Radius Start End
1574
1574
  * @see https://tailwindcss.com/docs/border-radius
1575
1575
  */
1576
1576
  "rounded-se": [{
1577
- "rounded-se": C()
1577
+ "rounded-se": F()
1578
1578
  }],
1579
1579
  /**
1580
1580
  * Border Radius End End
1581
1581
  * @see https://tailwindcss.com/docs/border-radius
1582
1582
  */
1583
1583
  "rounded-ee": [{
1584
- "rounded-ee": C()
1584
+ "rounded-ee": F()
1585
1585
  }],
1586
1586
  /**
1587
1587
  * Border Radius End Start
1588
1588
  * @see https://tailwindcss.com/docs/border-radius
1589
1589
  */
1590
1590
  "rounded-es": [{
1591
- "rounded-es": C()
1591
+ "rounded-es": F()
1592
1592
  }],
1593
1593
  /**
1594
1594
  * Border Radius Top Left
1595
1595
  * @see https://tailwindcss.com/docs/border-radius
1596
1596
  */
1597
1597
  "rounded-tl": [{
1598
- "rounded-tl": C()
1598
+ "rounded-tl": F()
1599
1599
  }],
1600
1600
  /**
1601
1601
  * Border Radius Top Right
1602
1602
  * @see https://tailwindcss.com/docs/border-radius
1603
1603
  */
1604
1604
  "rounded-tr": [{
1605
- "rounded-tr": C()
1605
+ "rounded-tr": F()
1606
1606
  }],
1607
1607
  /**
1608
1608
  * Border Radius Bottom Right
1609
1609
  * @see https://tailwindcss.com/docs/border-radius
1610
1610
  */
1611
1611
  "rounded-br": [{
1612
- "rounded-br": C()
1612
+ "rounded-br": F()
1613
1613
  }],
1614
1614
  /**
1615
1615
  * Border Radius Bottom Left
1616
1616
  * @see https://tailwindcss.com/docs/border-radius
1617
1617
  */
1618
1618
  "rounded-bl": [{
1619
- "rounded-bl": C()
1619
+ "rounded-bl": F()
1620
1620
  }],
1621
1621
  /**
1622
1622
  * Border Width
1623
1623
  * @see https://tailwindcss.com/docs/border-width
1624
1624
  */
1625
1625
  "border-w": [{
1626
- border: F()
1626
+ border: C()
1627
1627
  }],
1628
1628
  /**
1629
1629
  * Border Width Inline
1630
1630
  * @see https://tailwindcss.com/docs/border-width
1631
1631
  */
1632
1632
  "border-w-x": [{
1633
- "border-x": F()
1633
+ "border-x": C()
1634
1634
  }],
1635
1635
  /**
1636
1636
  * Border Width Block
1637
1637
  * @see https://tailwindcss.com/docs/border-width
1638
1638
  */
1639
1639
  "border-w-y": [{
1640
- "border-y": F()
1640
+ "border-y": C()
1641
1641
  }],
1642
1642
  /**
1643
1643
  * Border Width Inline Start
1644
1644
  * @see https://tailwindcss.com/docs/border-width
1645
1645
  */
1646
1646
  "border-w-s": [{
1647
- "border-s": F()
1647
+ "border-s": C()
1648
1648
  }],
1649
1649
  /**
1650
1650
  * Border Width Inline End
1651
1651
  * @see https://tailwindcss.com/docs/border-width
1652
1652
  */
1653
1653
  "border-w-e": [{
1654
- "border-e": F()
1654
+ "border-e": C()
1655
1655
  }],
1656
1656
  /**
1657
1657
  * Border Width Block Start
1658
1658
  * @see https://tailwindcss.com/docs/border-width
1659
1659
  */
1660
1660
  "border-w-bs": [{
1661
- "border-bs": F()
1661
+ "border-bs": C()
1662
1662
  }],
1663
1663
  /**
1664
1664
  * Border Width Block End
1665
1665
  * @see https://tailwindcss.com/docs/border-width
1666
1666
  */
1667
1667
  "border-w-be": [{
1668
- "border-be": F()
1668
+ "border-be": C()
1669
1669
  }],
1670
1670
  /**
1671
1671
  * Border Width Top
1672
1672
  * @see https://tailwindcss.com/docs/border-width
1673
1673
  */
1674
1674
  "border-w-t": [{
1675
- "border-t": F()
1675
+ "border-t": C()
1676
1676
  }],
1677
1677
  /**
1678
1678
  * Border Width Right
1679
1679
  * @see https://tailwindcss.com/docs/border-width
1680
1680
  */
1681
1681
  "border-w-r": [{
1682
- "border-r": F()
1682
+ "border-r": C()
1683
1683
  }],
1684
1684
  /**
1685
1685
  * Border Width Bottom
1686
1686
  * @see https://tailwindcss.com/docs/border-width
1687
1687
  */
1688
1688
  "border-w-b": [{
1689
- "border-b": F()
1689
+ "border-b": C()
1690
1690
  }],
1691
1691
  /**
1692
1692
  * Border Width Left
1693
1693
  * @see https://tailwindcss.com/docs/border-width
1694
1694
  */
1695
1695
  "border-w-l": [{
1696
- "border-l": F()
1696
+ "border-l": C()
1697
1697
  }],
1698
1698
  /**
1699
1699
  * Divide Width X
1700
1700
  * @see https://tailwindcss.com/docs/border-width#between-children
1701
1701
  */
1702
1702
  "divide-x": [{
1703
- "divide-x": F()
1703
+ "divide-x": C()
1704
1704
  }],
1705
1705
  /**
1706
1706
  * Divide Width X Reverse
@@ -1712,7 +1712,7 @@ const Lo = (e, r) => {
1712
1712
  * @see https://tailwindcss.com/docs/border-width#between-children
1713
1713
  */
1714
1714
  "divide-y": [{
1715
- "divide-y": F()
1715
+ "divide-y": C()
1716
1716
  }],
1717
1717
  /**
1718
1718
  * Divide Width Y Reverse
@@ -1888,7 +1888,7 @@ const Lo = (e, r) => {
1888
1888
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1889
1889
  */
1890
1890
  "ring-w": [{
1891
- ring: F()
1891
+ ring: C()
1892
1892
  }],
1893
1893
  /**
1894
1894
  * Ring Width Inset
@@ -1927,7 +1927,7 @@ const Lo = (e, r) => {
1927
1927
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1928
1928
  */
1929
1929
  "inset-ring-w": [{
1930
- "inset-ring": F()
1930
+ "inset-ring": C()
1931
1931
  }],
1932
1932
  /**
1933
1933
  * Inset Ring Color
@@ -3001,7 +3001,7 @@ const Lo = (e, r) => {
3001
3001
  postfixLookupClassGroups: ["container-type"],
3002
3002
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3003
3003
  };
3004
- }, wn = (e, {
3004
+ }, xn = (e, {
3005
3005
  cacheSize: r,
3006
3006
  prefix: o,
3007
3007
  experimentalParseClassName: n,
@@ -3020,26 +3020,26 @@ const Lo = (e, r) => {
3020
3020
  }, er = (e, r, o) => {
3021
3021
  const n = r[o];
3022
3022
  n !== void 0 && (e[o] = e[o] ? e[o].concat(n) : n);
3023
- }, Sn = (e, ...r) => typeof e == "function" ? Fr(Lr, e, ...r) : Fr(() => wn(Lr(), e), ...r), Tn = 'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif', kn = "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace", En = 0.5, Dn = { xsmall: { size: 0.6875, line: 0.875 }, small: { size: 0.75, line: 1 }, base: { size: 0.875, line: 1.25 }, mid: { size: 1, line: 1.5 }, large: { size: 1.15, line: 1.75 }, xlarge: { size: 1.5, line: 2 }, "2xlarge": { size: 1.875, line: 2.25 }, "3xlarge": { size: 2.25, line: 2.5 } }, Cn = { dark: { base: 0.15, mid: 0.2, large: 0.24 }, light: { base: 0.08, mid: 0.12, large: 0.16 } }, Fn = { base: [0, 2, 4, -2], mid: [0, 4, 10, -6], large: [0, 8, 20, -12] }, W = {
3024
- fontFamilySans: Tn,
3025
- fontFamilyMono: kn,
3026
- shadowSize: En,
3027
- textScale: Dn,
3028
- shadowOpacity: Cn,
3023
+ }, wn = (e, ...r) => typeof e == "function" ? Cr(Lr, e, ...r) : Cr(() => xn(Lr(), e), ...r), Sn = 'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif', Tn = "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace", kn = 0.5, En = { xsmall: { size: 0.6875, line: 0.875 }, small: { size: 0.75, line: 1 }, base: { size: 0.875, line: 1.25 }, mid: { size: 1, line: 1.5 }, large: { size: 1.15, line: 1.75 }, xlarge: { size: 1.5, line: 2 }, "2xlarge": { size: 1.875, line: 2.25 }, "3xlarge": { size: 2.25, line: 2.5 } }, Dn = { dark: { base: 0.15, mid: 0.2, large: 0.24 }, light: { base: 0.08, mid: 0.12, large: 0.16 } }, Fn = { base: [0, 2, 4, -2], mid: [0, 4, 10, -6], large: [0, 8, 20, -12] }, W = {
3024
+ fontFamilySans: Sn,
3025
+ fontFamilyMono: Tn,
3026
+ shadowSize: kn,
3027
+ textScale: En,
3028
+ shadowOpacity: Dn,
3029
3029
  shadowGeom: Fn
3030
- }, Mi = ["none", "base", "mid", "large"], to = {
3030
+ }, Pi = ["none", "base", "mid", "large"], to = {
3031
3031
  base: "--shadow-base",
3032
3032
  mid: "--shadow-mid",
3033
3033
  large: "--shadow-large"
3034
- }, Ni = W.shadowSize, On = W.shadowOpacity, _n = {
3034
+ }, Mi = W.shadowSize, Cn = W.shadowOpacity, On = {
3035
3035
  base: [W.shadowGeom.base],
3036
3036
  mid: [W.shadowGeom.mid],
3037
3037
  large: [W.shadowGeom.large]
3038
3038
  };
3039
- function Bi(e) {
3039
+ function Ni(e) {
3040
3040
  return `var(--shadow-${e})`;
3041
3041
  }
3042
- const Gi = {
3042
+ const Bi = {
3043
3043
  /** Namespace for documentation */
3044
3044
  namespace: "burne",
3045
3045
  tailwindBridge: {
@@ -3119,7 +3119,7 @@ const Gi = {
3119
3119
  "icon-2xlarge": "icon-size-2xlarge",
3120
3120
  "icon-3xlarge": "icon-size-3xlarge"
3121
3121
  }
3122
- }, In = [
3122
+ }, _n = [
3123
3123
  "xsmall",
3124
3124
  "small",
3125
3125
  "base",
@@ -3128,13 +3128,13 @@ const Gi = {
3128
3128
  "xlarge",
3129
3129
  "2xlarge",
3130
3130
  "3xlarge"
3131
- ], Ln = [
3131
+ ], In = [
3132
3132
  "xsmall",
3133
3133
  "small",
3134
3134
  "base",
3135
3135
  "mid",
3136
3136
  "large"
3137
- ], zn = [
3137
+ ], Ln = [
3138
3138
  "small",
3139
3139
  "mid",
3140
3140
  "xsmall",
@@ -3142,17 +3142,17 @@ const Gi = {
3142
3142
  "header-1",
3143
3143
  "header-2",
3144
3144
  "large"
3145
- ], Rn = Sn({
3145
+ ], zn = wn({
3146
3146
  extend: {
3147
3147
  theme: {
3148
- spacing: [...In],
3149
- radius: [...Ln],
3150
- text: [...zn]
3148
+ spacing: [..._n],
3149
+ radius: [...In],
3150
+ text: [...Ln]
3151
3151
  }
3152
3152
  }
3153
3153
  });
3154
3154
  function y(...e) {
3155
- return Rn(Io(e));
3155
+ return zn(_o(e));
3156
3156
  }
3157
3157
  const le = {
3158
3158
  small: {
@@ -3211,35 +3211,35 @@ const le = {
3211
3211
  spinnerBorder: "border-[2.5px]",
3212
3212
  rounded: "rounded-large"
3213
3213
  }
3214
- }, An = "(prefers-reduced-motion: reduce)";
3214
+ }, Rn = "(prefers-reduced-motion: reduce)";
3215
3215
  function io() {
3216
- return typeof window > "u" || !window.matchMedia ? null : window.matchMedia(An);
3216
+ return typeof window > "u" || !window.matchMedia ? null : window.matchMedia(Rn);
3217
3217
  }
3218
3218
  function Be() {
3219
3219
  var e;
3220
3220
  return ((e = io()) == null ? void 0 : e.matches) ?? !1;
3221
3221
  }
3222
- function Pn(e) {
3222
+ function An(e) {
3223
3223
  const r = io();
3224
3224
  if (!r) return () => {
3225
3225
  };
3226
3226
  const o = () => e();
3227
3227
  return r.addEventListener("change", o), () => r.removeEventListener("change", o);
3228
3228
  }
3229
- function Mn() {
3229
+ function Pn() {
3230
3230
  return Be();
3231
3231
  }
3232
- function Nn() {
3232
+ function Mn() {
3233
3233
  return !1;
3234
3234
  }
3235
- function Hi() {
3236
- return Oo(
3235
+ function Gi() {
3236
+ return Co(
3237
+ An,
3237
3238
  Pn,
3238
- Mn,
3239
- Nn
3239
+ Mn
3240
3240
  );
3241
3241
  }
3242
- const Bn = {
3242
+ const Nn = {
3243
3243
  surfaceDuration: "--motion-surface-duration"
3244
3244
  }, ir = {
3245
3245
  interactiveDuration: 280,
@@ -3293,20 +3293,20 @@ const Bn = {
3293
3293
  };
3294
3294
  let v = { ...ir }, so = 0;
3295
3295
  const rr = /* @__PURE__ */ new Set();
3296
- function $i(e) {
3296
+ function Hi(e) {
3297
3297
  return rr.add(e), () => {
3298
3298
  rr.delete(e);
3299
3299
  };
3300
3300
  }
3301
- function Wi() {
3301
+ function $i() {
3302
3302
  return so;
3303
3303
  }
3304
3304
  function ao(e, r = v) {
3305
3305
  if (typeof document > "u") return;
3306
- const o = e ?? document.documentElement, n = Bn.surfaceDuration;
3306
+ const o = e ?? document.documentElement, n = Nn.surfaceDuration;
3307
3307
  r.surfaceTransitionDuration === ir.surfaceTransitionDuration ? o.style.removeProperty(n) : o.style.setProperty(n, `${r.surfaceTransitionDuration}ms`);
3308
3308
  }
3309
- function Gn(e) {
3309
+ function Bn(e) {
3310
3310
  v = { ...v, ...e }, so += 1, ao(document.documentElement, v);
3311
3311
  for (const r of rr)
3312
3312
  r();
@@ -3314,19 +3314,19 @@ function Gn(e) {
3314
3314
  function G() {
3315
3315
  return v;
3316
3316
  }
3317
- function Ui() {
3317
+ function Wi() {
3318
3318
  return v.enableAnimations;
3319
3319
  }
3320
3320
  function Ge(e) {
3321
3321
  return v.enableAnimations && v[e];
3322
3322
  }
3323
- function Vi() {
3323
+ function Ui() {
3324
3324
  return {
3325
3325
  duration: v.interactiveDuration / 1e3,
3326
3326
  ease: v.interactiveEase
3327
3327
  };
3328
3328
  }
3329
- function qi() {
3329
+ function Vi() {
3330
3330
  return {
3331
3331
  duration: v.modalDuration / 1e3,
3332
3332
  ease: v.interactiveEase
@@ -3335,78 +3335,78 @@ function qi() {
3335
3335
  function lo() {
3336
3336
  return v.interactiveDuration * v.pressSqueezeDurationFactor / 1e3;
3337
3337
  }
3338
- function ji() {
3338
+ function qi() {
3339
3339
  return {
3340
3340
  duration: v.selectionFillDuration / 1e3,
3341
3341
  ease: v.selectionFillEase
3342
3342
  };
3343
3343
  }
3344
- function Xi() {
3344
+ function ji() {
3345
3345
  return {
3346
3346
  duration: v.tooltipDuration / 1e3,
3347
3347
  ease: v.interactiveEase
3348
3348
  };
3349
3349
  }
3350
- function Yi() {
3350
+ function Xi() {
3351
3351
  return {
3352
3352
  duration: v.switchThumbDuration / 1e3,
3353
3353
  ease: v.switchThumbEase
3354
3354
  };
3355
3355
  }
3356
- function Ki() {
3356
+ function Yi() {
3357
3357
  return {
3358
3358
  duration: v.expandDuration / 1e3,
3359
3359
  ease: v.expandOpenEase
3360
3360
  };
3361
3361
  }
3362
- function Zi() {
3362
+ function Ki() {
3363
3363
  return {
3364
3364
  duration: v.tooltipDuration / 1e3,
3365
3365
  ease: v.interactiveEase
3366
3366
  };
3367
3367
  }
3368
- function Ji() {
3368
+ function Zi() {
3369
3369
  return {
3370
3370
  duration: v.feedbackExpandDuration / 1e3
3371
3371
  };
3372
3372
  }
3373
- function Qi() {
3373
+ function Ji() {
3374
3374
  return {
3375
3375
  duration: v.progressFillDuration / 1e3,
3376
3376
  ease: v.progressFillEase
3377
3377
  };
3378
3378
  }
3379
- function es() {
3379
+ function Qi() {
3380
3380
  return {
3381
3381
  duration: v.progressIndeterminateDuration / 1e3,
3382
3382
  ease: v.progressIndeterminateEase
3383
3383
  };
3384
3384
  }
3385
- function rs() {
3385
+ function es() {
3386
3386
  return {
3387
3387
  duration: v.toastDismissDuration / 1e3,
3388
3388
  ease: v.toastDismissEase
3389
3389
  };
3390
3390
  }
3391
- const Hn = 3;
3392
- function os() {
3391
+ const Gn = 3;
3392
+ function rs() {
3393
3393
  const e = v.loadingDotsDuration / 1e3;
3394
3394
  return {
3395
3395
  cycleSec: e,
3396
- staggerSec: e / Hn,
3396
+ staggerSec: e / Gn,
3397
3397
  halfCycleSec: e / 2,
3398
3398
  easeUp: v.loadingDotsEaseUp,
3399
3399
  easeDown: v.loadingDotsEaseDown,
3400
3400
  enabled: Ge("enableLoadingDots")
3401
3401
  };
3402
3402
  }
3403
- const $n = "pointer-events-none absolute z-0 rounded-full", Xe = "brn-ripple";
3403
+ const Hn = "pointer-events-none absolute z-0 rounded-full", Xe = "brn-ripple";
3404
3404
  let zr = !1, Rr = "";
3405
- function Wn() {
3405
+ function $n() {
3406
3406
  zr || (R.registerPlugin(Je), zr = !0);
3407
3407
  }
3408
- function Un() {
3409
- Wn();
3408
+ function Wn() {
3409
+ $n();
3410
3410
  const e = G().rippleEaseCss;
3411
3411
  if (Rr !== e) {
3412
3412
  const r = /cubic-bezier\(\s*([\d.]+),\s*([\d.]+),\s*([\d.]+),\s*([\d.]+)\s*\)/.exec(e);
@@ -3436,7 +3436,7 @@ function uo(e, r) {
3436
3436
  };
3437
3437
  }
3438
3438
  const Ye = 0.12;
3439
- function Vn({
3439
+ function Un({
3440
3440
  id: e,
3441
3441
  x: r,
3442
3442
  y: o,
@@ -3460,7 +3460,7 @@ function Vn({
3460
3460
  scale: x,
3461
3461
  autoAlpha: 0,
3462
3462
  duration: i / 1e3,
3463
- ease: Un(),
3463
+ ease: Wn(),
3464
3464
  onComplete: () => {
3465
3465
  w || p.current(e);
3466
3466
  }
@@ -3473,7 +3473,7 @@ function Vn({
3473
3473
  "span",
3474
3474
  {
3475
3475
  ref: c,
3476
- className: $n,
3476
+ className: Hn,
3477
3477
  style: {
3478
3478
  left: r - n / 2,
3479
3479
  top: o - n / 2,
@@ -3487,7 +3487,7 @@ function Vn({
3487
3487
  }
3488
3488
  );
3489
3489
  }
3490
- const ns = _o(function({
3490
+ const os = Oo(function({
3491
3491
  ripples: r,
3492
3492
  tone: o,
3493
3493
  onDone: n,
@@ -3496,7 +3496,7 @@ const ns = _o(function({
3496
3496
  direction: s = "in"
3497
3497
  }) {
3498
3498
  return /* @__PURE__ */ Ke(Fo, { children: r.map((a) => /* @__PURE__ */ Ke(
3499
- Vn,
3499
+ Un,
3500
3500
  {
3501
3501
  ...a,
3502
3502
  background: o,
@@ -3508,7 +3508,7 @@ const ns = _o(function({
3508
3508
  a.id
3509
3509
  )) });
3510
3510
  });
3511
- function qn(e, r, o, n) {
3511
+ function Vn(e, r, o, n) {
3512
3512
  return Math.max(...[
3513
3513
  [0, 0],
3514
3514
  [o, 0],
@@ -3517,14 +3517,14 @@ function qn(e, r, o, n) {
3517
3517
  ].map(([t, s]) => Math.hypot(t - e, s - r)));
3518
3518
  }
3519
3519
  function fo(e, r, o, n) {
3520
- const i = e.getBoundingClientRect(), t = r - i.left, s = o - i.top, a = qn(t, s, i.width, i.height) * 2;
3520
+ const i = e.getBoundingClientRect(), t = r - i.left, s = o - i.top, a = Vn(t, s, i.width, i.height) * 2;
3521
3521
  return { id: n, x: t, y: s, size: a };
3522
3522
  }
3523
- function ts(e, r) {
3523
+ function ns(e, r) {
3524
3524
  const o = e.currentTarget;
3525
3525
  return o ? fo(o, e.clientX, e.clientY, r) : null;
3526
3526
  }
3527
- function is() {
3527
+ function ts() {
3528
3528
  const e = Z(0), [r, o] = Ze([]), n = D((s) => {
3529
3529
  o((a) => a.filter((d) => d.id !== s));
3530
3530
  }, []), i = D(
@@ -3544,23 +3544,23 @@ function is() {
3544
3544
  }, [i]);
3545
3545
  return { ripples: r, pushFromPointer: t, pushAtClientCoords: i, dismiss: n };
3546
3546
  }
3547
- const ss = ["small", "base", "mid", "strong", "bold"], sr = {
3547
+ const is = ["small", "base", "mid", "strong", "bold"], sr = {
3548
3548
  small: "--font-w-small",
3549
3549
  base: "--font-w-base",
3550
3550
  mid: "--font-w-mid",
3551
3551
  strong: "--font-w-strong",
3552
3552
  bold: "--font-w-bold"
3553
- }, jn = {
3553
+ }, qn = {
3554
3554
  small: 400,
3555
3555
  base: 500,
3556
3556
  mid: 600,
3557
3557
  strong: 700,
3558
3558
  bold: 800
3559
3559
  };
3560
- function as(e) {
3560
+ function ss(e) {
3561
3561
  return `var(--font-w-${e})`;
3562
3562
  }
3563
- const ce = W.textScale, Xn = 1024, go = `(max-width: ${Xn}px), (hover: none), (pointer: coarse)`, ls = `${go}, (any-pointer: coarse)`, cs = [
3563
+ const ce = W.textScale, jn = 1024, go = `(max-width: ${jn}px), (hover: none), (pointer: coarse)`, as = `${go}, (any-pointer: coarse)`, ls = [
3564
3564
  "--border-width",
3565
3565
  "--focus-ring-width",
3566
3566
  "--focus-ring-offset",
@@ -3753,7 +3753,7 @@ const ce = W.textScale, Xn = 1024, go = `(max-width: ${Xn}px), (hover: none), (p
3753
3753
  function S(e) {
3754
3754
  return `var(--color-${e})`;
3755
3755
  }
3756
- function Yn(e, r) {
3756
+ function Xn(e, r) {
3757
3757
  return r == null || !(r instanceof Node) ? !0 : !e.contains(r);
3758
3758
  }
3759
3759
  function mo({
@@ -3774,7 +3774,7 @@ function mo({
3774
3774
  }, [i, r]), J(() => ({ onPointerOver: (c) => {
3775
3775
  if (!e || c.defaultPrevented) return;
3776
3776
  const p = c.currentTarget;
3777
- if (!(c.target instanceof Node) || !p.contains(c.target) || !Yn(p, c.relatedTarget) || n != null && n()) return;
3777
+ if (!(c.target instanceof Node) || !p.contains(c.target) || !Xn(p, c.relatedTarget) || n != null && n()) return;
3778
3778
  const m = r.current;
3779
3779
  m && (o && (o.current = !0), t(m, c));
3780
3780
  }, onPointerOut: (c) => {
@@ -3784,46 +3784,46 @@ function mo({
3784
3784
  w && s(w, c);
3785
3785
  } }), [e, t, s, o, n, r]);
3786
3786
  }
3787
- function Kn(e) {
3787
+ function Yn(e) {
3788
3788
  return e || document.documentElement;
3789
3789
  }
3790
3790
  function Ar(e, r) {
3791
- return typeof window > "u" ? "none" : getComputedStyle(Kn(r)).getPropertyValue(e).trim() || "none";
3791
+ return typeof window > "u" ? "none" : getComputedStyle(Yn(r)).getPropertyValue(e).trim() || "none";
3792
3792
  }
3793
3793
  function He(e) {
3794
3794
  return e === "none" ? "var(--shadow-none)" : `var(${to[e]})`;
3795
3795
  }
3796
- const or = () => He("none"), pe = () => He("base"), Zn = () => He("mid"), us = () => He("large");
3797
- function ds(e, r) {
3796
+ const or = () => He("none"), pe = () => He("base"), Kn = () => He("mid"), cs = () => He("large");
3797
+ function us(e, r) {
3798
3798
  return Ar(e === "none" ? "--shadow-none" : to[e], r);
3799
3799
  }
3800
3800
  function ar(e, r) {
3801
3801
  e && e.style.setProperty("--el-shadow", r);
3802
3802
  }
3803
- function Jn() {
3803
+ function Zn() {
3804
3804
  return typeof window > "u" || !window.matchMedia ? !1 : window.matchMedia(go).matches;
3805
3805
  }
3806
3806
  function P() {
3807
- return Be() || Jn() || !Ge("enableHoverLift");
3807
+ return Be() || Zn() || !Ge("enableHoverLift");
3808
3808
  }
3809
- const Qn = 2.4, et = 3e-3, rt = 1.8, ot = 2e-3;
3809
+ const Jn = 2.4, Qn = 3e-3, et = 1.8, rt = 2e-3;
3810
3810
  function po(e) {
3811
3811
  const { width: r, height: o } = e.getBoundingClientRect(), n = Math.max(r, o, 1), i = 1 - G().pressSqueezeScale[1];
3812
3812
  return 1 - Math.min(
3813
- Math.max(Qn / n, et),
3813
+ Math.max(Jn / n, Qn),
3814
3814
  i
3815
3815
  );
3816
3816
  }
3817
3817
  function lr(e) {
3818
3818
  return cr(e);
3819
3819
  }
3820
- function nt(e) {
3820
+ function ot(e) {
3821
3821
  return po(e);
3822
3822
  }
3823
3823
  function cr(e) {
3824
3824
  const { width: r, height: o } = e.getBoundingClientRect(), n = Math.max(r, o, 1);
3825
3825
  return 1 + Math.min(
3826
- Math.max(rt / n, ot),
3826
+ Math.max(et / n, rt),
3827
3827
  G().hoverLiftScale - 1
3828
3828
  );
3829
3829
  }
@@ -3845,7 +3845,7 @@ function Le(e, r, o, n) {
3845
3845
  e.style.setProperty("--el-shadow", r ? n.hover : s);
3846
3846
  }
3847
3847
  }
3848
- function fs(e, r) {
3848
+ function ds(e, r) {
3849
3849
  var w;
3850
3850
  if (!Ge("enablePressSqueeze"))
3851
3851
  return (w = r == null ? void 0 : r.onReleaseStart) == null || w.call(r), Promise.resolve();
@@ -3876,7 +3876,7 @@ function fs(e, r) {
3876
3876
  });
3877
3877
  });
3878
3878
  }
3879
- function tt(e, r, o, n, i) {
3879
+ function nt(e, r, o, n, i) {
3880
3880
  const t = D(
3881
3881
  (a) => {
3882
3882
  Le(a, !0, n, i);
@@ -3901,15 +3901,15 @@ const me = "data-gloss-motion-init", bo = "origin-center", Pr = {
3901
3901
  rest: { angle1: -75, angle2: -45, shineX: 0, shineY: 50 },
3902
3902
  hover: { angle1: -80, angle2: -45, shineX: 10, shineY: 50 },
3903
3903
  press: { angle1: -75, angle2: -15, shineX: 15, shineY: 15 }
3904
- }, it = 120, st = 0.35;
3905
- function at(e) {
3904
+ }, tt = 120, it = 0.35;
3905
+ function st(e) {
3906
3906
  const { width: r, height: o } = e.getBoundingClientRect(), n = Math.max(r, o, 1);
3907
- return Math.min(1, Math.max(st, it / n));
3907
+ return Math.min(1, Math.max(it, tt / n));
3908
3908
  }
3909
- function lt(e, r) {
3909
+ function at(e, r) {
3910
3910
  const o = Pr.rest, n = Pr[r];
3911
3911
  if (r === "rest") return n;
3912
- const i = at(e);
3912
+ const i = st(e);
3913
3913
  return {
3914
3914
  angle1: o.angle1 + (n.angle1 - o.angle1) * i,
3915
3915
  angle2: o.angle2 + (n.angle2 - o.angle2) * i,
@@ -3921,8 +3921,8 @@ function Y(e, r) {
3921
3921
  const o = getComputedStyle(e).getPropertyValue(r).trim();
3922
3922
  return o || (typeof document > "u" ? "" : getComputedStyle(document.documentElement).getPropertyValue(r).trim());
3923
3923
  }
3924
- function ct(e, r) {
3925
- const o = lt(e, r);
3924
+ function lt(e, r) {
3925
+ const o = at(e, r);
3926
3926
  return {
3927
3927
  "--gloss-angle-1": `${o.angle1}deg`,
3928
3928
  "--gloss-angle-2": `${o.angle2}deg`,
@@ -3930,14 +3930,14 @@ function ct(e, r) {
3930
3930
  "--gloss-shine-y": o.shineY
3931
3931
  };
3932
3932
  }
3933
- function ut(e, r) {
3933
+ function ct(e, r) {
3934
3934
  const o = Y(e, "--gloss-inset-top"), n = Y(e, "--gloss-inset-bottom"), i = Y(e, "--gloss-elevation"), t = Y(e, "--gloss-elevation-hover") || i, s = Y(e, "--gloss-inner-glow"), a = Y(e, "--gloss-glow-hover"), d = Y(e, "--gloss-press-inset"), c = `inset 0 0.425em 0.425em ${o}, inset 0 -0.225em 0.225em ${n}`, p = r === "hover" ? `0 0.125em 0.3125em -0.1875em ${t}` : r === "press" ? `0 0.04em 0.08em -0.0625em ${i}` : `0 0.0625em 0.125em -0.0625em ${i}`, m = r === "hover" ? `inset 0 0 0.1em 0.25em ${a}` : `inset 0 0 0.05em 0.1em ${s}`, w = r === "press" ? `inset 0 0.25em 0.06em 0 ${d}` : "inset 0 0.25em 0.06em 0 rgb(0 0 0 / 0)";
3935
3935
  return `${c}, ${p}, ${m}, ${w}`;
3936
3936
  }
3937
3937
  function ue(e, r) {
3938
3938
  return {
3939
- ...ct(e, r),
3940
- boxShadow: ut(e, r)
3939
+ ...lt(e, r),
3940
+ boxShadow: ct(e, r)
3941
3941
  };
3942
3942
  }
3943
3943
  function ze(e) {
@@ -3962,15 +3962,15 @@ function ho(e) {
3962
3962
  }
3963
3963
  ze(e);
3964
3964
  }
3965
- function dt(e) {
3965
+ function ut(e) {
3966
3966
  if (typeof document > "u") return;
3967
3967
  document.querySelectorAll(`[${me}]`).forEach(ho);
3968
3968
  }
3969
- function ft() {
3969
+ function dt() {
3970
3970
  K || typeof document > "u" || (K = new MutationObserver((e) => {
3971
3971
  for (const r of e)
3972
3972
  if (r.type === "attributes" && r.attributeName === "data-theme") {
3973
- dt();
3973
+ ut();
3974
3974
  return;
3975
3975
  }
3976
3976
  }), K.observe(document.documentElement, {
@@ -3978,26 +3978,26 @@ function ft() {
3978
3978
  attributeFilter: ["data-theme"]
3979
3979
  }));
3980
3980
  }
3981
- function gt() {
3981
+ function ft() {
3982
3982
  K == null || K.disconnect(), K = null;
3983
3983
  }
3984
- function mt(e) {
3985
- e.hasAttribute(me) || (e.setAttribute(me, ""), _e += 1, ft(), ze(e));
3984
+ function gt(e) {
3985
+ e.hasAttribute(me) || (e.setAttribute(me, ""), _e += 1, dt(), ze(e));
3986
3986
  }
3987
3987
  function Mr(e) {
3988
- e.hasAttribute(me) && (e.removeAttribute(me), _e = Math.max(0, _e - 1), _e === 0 && gt());
3988
+ e.hasAttribute(me) && (e.removeAttribute(me), _e = Math.max(0, _e - 1), _e === 0 && ft());
3989
3989
  }
3990
3990
  function vo(e, r = !0) {
3991
3991
  let o = null;
3992
3992
  return (n) => {
3993
3993
  if (o && o !== n && (Mr(o), o = null), e.current = n, n && r) {
3994
- mt(n), o = n;
3994
+ gt(n), o = n;
3995
3995
  return;
3996
3996
  }
3997
3997
  o && (Mr(o), o = null);
3998
3998
  };
3999
3999
  }
4000
- function gs(e, r = !0) {
4000
+ function fs(e, r = !0) {
4001
4001
  const o = Z(null), n = J(
4002
4002
  () => vo(o, r),
4003
4003
  [r]
@@ -4025,14 +4025,14 @@ function Re(e, r, o) {
4025
4025
  onComplete: uo(e)
4026
4026
  });
4027
4027
  }
4028
- function pt(e, r = !1, o, n) {
4028
+ function mt(e, r = !1, o, n) {
4029
4029
  if (Be())
4030
4030
  return Promise.resolve();
4031
4031
  const i = G();
4032
4032
  if (!Ge("enablePressSqueeze"))
4033
4033
  return n == null || n(), P() || Re(e, r, o), Promise.resolve();
4034
4034
  A(e);
4035
- const t = nt(e), s = lo(), a = s * 0.3, d = s * 1, c = !P(), p = r && c, m = p ? "hover" : "rest", w = p ? lr(e) : 1;
4035
+ const t = ot(e), s = lo(), a = s * 0.3, d = s * 1, c = !P(), p = r && c, m = p ? "hover" : "rest", w = p ? lr(e) : 1;
4036
4036
  return new Promise((h) => {
4037
4037
  U(e, !0), R.timeline({
4038
4038
  onComplete: () => {
@@ -4055,7 +4055,7 @@ function pt(e, r = !1, o, n) {
4055
4055
  });
4056
4056
  });
4057
4057
  }
4058
- function bt(e, r, o) {
4058
+ function pt(e, r, o) {
4059
4059
  const n = o == null ? void 0 : o.liftScale, i = o == null ? void 0 : o.pointerInsideRef;
4060
4060
  Q(() => {
4061
4061
  if (!r) return;
@@ -4082,7 +4082,7 @@ function bt(e, r, o) {
4082
4082
  onLeave: s
4083
4083
  });
4084
4084
  }
4085
- function ms(e, r) {
4085
+ function gs(e, r) {
4086
4086
  const o = Z(!1), n = Z(!1), i = Z(!1), t = J(
4087
4087
  () => vo(e, r),
4088
4088
  [e, r]
@@ -4091,7 +4091,7 @@ function ms(e, r) {
4091
4091
  if (!h || !r || P()) return;
4092
4092
  const x = o.current || n.current;
4093
4093
  Re(h, x);
4094
- }, [r, e]), a = bt(e, r, {
4094
+ }, [r, e]), a = pt(e, r, {
4095
4095
  pointerInsideRef: o
4096
4096
  });
4097
4097
  Q(() => {
@@ -4125,7 +4125,7 @@ function ms(e, r) {
4125
4125
  ), w = D(() => {
4126
4126
  if (!r) return;
4127
4127
  const h = e.current;
4128
- !h || Be() || (o.current = !0, i.current = !0, pt(h, !0).finally(() => {
4128
+ !h || Be() || (o.current = !0, i.current = !0, mt(h, !0).finally(() => {
4129
4129
  i.current = !1;
4130
4130
  }));
4131
4131
  }, [r, e]);
@@ -4140,18 +4140,18 @@ function ms(e, r) {
4140
4140
  };
4141
4141
  }
4142
4142
  const ur = "animate-shadow origin-center";
4143
- function ps() {
4143
+ function ms() {
4144
4144
  return { hover: pe() };
4145
4145
  }
4146
4146
  function yo() {
4147
- return { idle: pe(), hover: Zn() };
4147
+ return { idle: pe(), hover: Kn() };
4148
4148
  }
4149
- function bs(e, r, o = pe, n) {
4149
+ function ps(e, r, o = pe, n) {
4150
4150
  Q(() => {
4151
4151
  r && ar(e.current, o());
4152
4152
  }, [r, e, o, n]);
4153
4153
  }
4154
- function ht(e, r, o) {
4154
+ function bt(e, r, o) {
4155
4155
  const n = J(() => yo(), []), i = (o == null ? void 0 : o.resolveIdle) ?? pe;
4156
4156
  Q(() => {
4157
4157
  r && ar(e.current, i());
@@ -4178,12 +4178,12 @@ function ht(e, r, o) {
4178
4178
  onPointerLeave: s
4179
4179
  };
4180
4180
  }
4181
- function hs(e, r, o) {
4181
+ function bs(e, r, o) {
4182
4182
  const n = J(() => yo(), []), i = (o == null ? void 0 : o.resolveIdle) ?? pe;
4183
4183
  Q(() => {
4184
4184
  r && ar(e.current, i());
4185
4185
  }, [r, e, i, o == null ? void 0 : o.idleSyncKey]);
4186
- const t = tt(
4186
+ const t = nt(
4187
4187
  e,
4188
4188
  r,
4189
4189
  o == null ? void 0 : o.pointerInsideRef,
@@ -4201,27 +4201,27 @@ const De = {
4201
4201
  success: "text-success",
4202
4202
  info: "text-info",
4203
4203
  warning: "text-warning"
4204
- }, vt = {
4204
+ }, ht = {
4205
4205
  danger: "bg-surface-tint-danger border-token",
4206
4206
  success: "bg-surface-tint-success border-token",
4207
4207
  info: "bg-surface-tint-info border-token",
4208
4208
  warning: "bg-surface-tint-warning border-token"
4209
- }, yt = {
4209
+ }, vt = {
4210
4210
  danger: "bg-danger border border-transparent text-danger-foreground",
4211
4211
  success: "bg-success border border-transparent text-success-foreground",
4212
4212
  info: "bg-info border border-transparent text-info-foreground",
4213
4213
  warning: "bg-warning border border-transparent text-warning-foreground"
4214
- }, xt = {
4214
+ }, yt = {
4215
4215
  danger: "text-danger-foreground",
4216
4216
  success: "text-success-foreground",
4217
4217
  info: "text-info-foreground",
4218
4218
  warning: "text-warning-foreground"
4219
- }, wt = {
4219
+ }, xt = {
4220
4220
  danger: "border-token-danger",
4221
4221
  success: "border-token-success",
4222
4222
  info: "border-token-info",
4223
4223
  warning: "border-token-warning"
4224
- }, St = "surface-color-transition motion-reduce:transition-none", vs = "text-color-transition motion-reduce:transition-none", Tt = {
4224
+ }, wt = "surface-color-transition motion-reduce:transition-none", hs = "text-color-transition motion-reduce:transition-none", St = {
4225
4225
  default: {
4226
4226
  "focus-visible": "hover:bg-default-hover focus-visible:bg-default-hover",
4227
4227
  "focus-within": "hover:bg-default-hover focus-within:bg-default-hover"
@@ -4284,10 +4284,10 @@ const De = {
4284
4284
  }
4285
4285
  };
4286
4286
  function xo(e = "default", r = "focus-visible") {
4287
- return Tt[e][r];
4287
+ return St[e][r];
4288
4288
  }
4289
- function kt(e = "default") {
4290
- return y(St, xo(e, "focus-visible"));
4289
+ function Tt(e = "default") {
4290
+ return y(wt, xo(e, "focus-visible"));
4291
4291
  }
4292
4292
  const ie = {
4293
4293
  default: "bg-surface text-foreground border-token",
@@ -4296,7 +4296,7 @@ const ie = {
4296
4296
  secondary: "bg-secondary text-secondary-foreground border border-token",
4297
4297
  ghost: "bg-transparent text-foreground border border-transparent",
4298
4298
  gloss: ""
4299
- }, ys = /* @__PURE__ */ new Set([
4299
+ }, vs = /* @__PURE__ */ new Set([
4300
4300
  "default",
4301
4301
  "primary",
4302
4302
  "outline",
@@ -4327,25 +4327,25 @@ const ie = {
4327
4327
  root: ie.gloss,
4328
4328
  loaderText: "text-foreground"
4329
4329
  }
4330
- }, Et = {
4330
+ }, kt = {
4331
4331
  default: "",
4332
4332
  danger: "gloss-btn-danger",
4333
4333
  success: "gloss-btn-success",
4334
4334
  info: "gloss-btn-info",
4335
4335
  warning: "gloss-btn-warning"
4336
- }, xs = {
4336
+ }, ys = {
4337
4337
  default: "",
4338
4338
  danger: "[--color-focus-ring:var(--color-focus-ring-danger)]",
4339
4339
  success: "[--color-focus-ring:var(--color-focus-ring-success)]",
4340
4340
  info: "[--color-focus-ring:var(--color-focus-ring-info)]",
4341
4341
  warning: "[--color-focus-ring:var(--color-focus-ring-warning)]"
4342
- }, Dt = {
4342
+ }, Et = {
4343
4343
  default: S("converge-ripple-neutral"),
4344
4344
  danger: S("converge-ripple-danger"),
4345
4345
  success: S("converge-ripple-success"),
4346
4346
  info: S("converge-ripple-info"),
4347
4347
  warning: S("converge-ripple-warning")
4348
- }, Ct = {
4348
+ }, Dt = {
4349
4349
  danger: S("converge-ripple-danger"),
4350
4350
  success: S("converge-ripple-success"),
4351
4351
  info: S("converge-ripple-info"),
@@ -4355,20 +4355,20 @@ const ie = {
4355
4355
  base: "[&_svg]:icon-base",
4356
4356
  mid: "[&_svg]:icon-mid",
4357
4357
  large: "[&_svg]:icon-large"
4358
- }, ws = {
4358
+ }, xs = {
4359
4359
  small: "small",
4360
4360
  base: "base",
4361
4361
  mid: "mid",
4362
4362
  large: "large"
4363
- }, Ss = "relative overflow-hidden inline-flex items-center justify-center outline-none focus-ring disabled:pointer-events-none", Ts = "pointer-events-none absolute inset-0 z-0 overflow-hidden", Ot = "relative z-[1] grid w-full min-w-0 place-items-center", _t = "origin-center", It = "col-start-1 row-start-1 inline-flex w-full min-w-0 items-center justify-center gap-xsmall", Lt = "inline-flex shrink-0 items-center justify-center", zt = "min-w-0 shrink", dr = "col-start-1 row-start-1 flex items-center justify-center", Rt = "text-success", At = "text-danger", ks = "animate-spin motion-reduce:animate-none", Es = "cursor-pointer", Ds = "opacity-50";
4364
- function Pt(e, r) {
4363
+ }, ws = "relative overflow-hidden inline-flex items-center justify-center outline-none focus-ring disabled:pointer-events-none", Ss = "pointer-events-none absolute inset-0 z-0 overflow-hidden", Ct = "relative z-[1] grid w-full min-w-0 place-items-center", Ot = "origin-center", _t = "col-start-1 row-start-1 inline-flex w-full min-w-0 items-center justify-center gap-xsmall", It = "inline-flex shrink-0 items-center justify-center", Lt = "min-w-0 shrink", dr = "col-start-1 row-start-1 flex items-center justify-center", zt = "text-success", Rt = "text-danger", Ts = "animate-spin motion-reduce:animate-none", ks = "cursor-pointer", Es = "opacity-50";
4364
+ function At(e, r) {
4365
4365
  const { root: o } = wo[e];
4366
4366
  return e === "outline" && r !== "default" ? "bg-transparent text-foreground" : o;
4367
4367
  }
4368
- function Mt(e) {
4368
+ function Pt(e) {
4369
4369
  return wo[e].loaderText;
4370
4370
  }
4371
- function Nt(e, r) {
4371
+ function Mt(e, r) {
4372
4372
  if (r === "default")
4373
4373
  switch (e) {
4374
4374
  case "default":
@@ -4398,15 +4398,15 @@ function Nt(e, r) {
4398
4398
  return "default";
4399
4399
  }
4400
4400
  }
4401
- function Bt(e, r) {
4401
+ function Nt(e, r) {
4402
4402
  if (r === "default") return "";
4403
4403
  switch (e) {
4404
4404
  case "default":
4405
- return y(vt[r], De[r]);
4405
+ return y(ht[r], De[r]);
4406
4406
  case "primary":
4407
- return yt[r];
4407
+ return vt[r];
4408
4408
  case "outline":
4409
- return y(wt[r], De[r]);
4409
+ return y(xt[r], De[r]);
4410
4410
  case "secondary":
4411
4411
  return De[r];
4412
4412
  case "ghost":
@@ -4415,151 +4415,145 @@ function Bt(e, r) {
4415
4415
  return "";
4416
4416
  }
4417
4417
  }
4418
- function Gt(e, r, o) {
4419
- return o ? "" : kt(Nt(e, r));
4418
+ function Bt(e, r, o) {
4419
+ return o ? "" : Tt(Mt(e, r));
4420
4420
  }
4421
- function Cs(e, r) {
4422
- return e === "primary" && r !== "default" ? xt[r] : Mt(e);
4421
+ function Ds(e, r) {
4422
+ return e === "primary" && r !== "default" ? yt[r] : Pt(e);
4423
4423
  }
4424
4424
  function Fs(e, r) {
4425
- return e === "primary" ? r === "default" ? S("converge-ripple-primary-fill") : Ct[r] : Dt[r];
4425
+ return e === "primary" ? r === "default" ? S("converge-ripple-primary-fill") : Dt[r] : Et[r];
4426
4426
  }
4427
- const Ht = {
4427
+ const Gt = {
4428
4428
  small: "h-control-small",
4429
4429
  base: "h-control-base",
4430
4430
  mid: "h-control-mid",
4431
4431
  large: "h-control-large"
4432
4432
  };
4433
- function Os(e, r = le[e].minWButton) {
4433
+ function Cs(e, r = le[e].minWButton) {
4434
4434
  const o = le[e];
4435
4435
  return y(r, o.padX, o.padY);
4436
4436
  }
4437
- function _s(e, r = !1) {
4437
+ function Os(e, r = !1) {
4438
4438
  const o = le[e];
4439
4439
  return y(
4440
- Ht[e],
4440
+ Gt[e],
4441
4441
  r ? "min-w-fit" : o.minWButton,
4442
4442
  o.padX,
4443
4443
  o.padY
4444
4444
  );
4445
4445
  }
4446
- function Is(e) {
4446
+ function _s(e) {
4447
4447
  const r = le[e];
4448
4448
  return y(r.spinnerIcon, r.spinnerBorder);
4449
4449
  }
4450
- function Ls() {
4450
+ function Is() {
4451
4451
  return "pointer-events-none absolute left-1/2 top-1/2 z-0 rounded-full";
4452
4452
  }
4453
- function zs() {
4453
+ function Ls() {
4454
4454
  return "box-border inline-block rounded-full border-current border-t-transparent";
4455
4455
  }
4456
- function Rs({
4456
+ function zs({
4457
4457
  groupSegment: e,
4458
4458
  slotClass: r,
4459
4459
  className: o
4460
4460
  }) {
4461
4461
  return y(
4462
- Ot,
4463
- e && _t,
4462
+ Ct,
4463
+ e && Ot,
4464
4464
  r,
4465
4465
  o
4466
4466
  );
4467
4467
  }
4468
- function As({
4468
+ function Rs({
4469
4469
  slotClass: e,
4470
4470
  className: r,
4471
4471
  layoutClass: o
4472
4472
  }) {
4473
- return y(It, e, o, r);
4473
+ return y(_t, e, o, r);
4474
+ }
4475
+ function As(e, r) {
4476
+ return y(It, Ft[e], r);
4474
4477
  }
4475
4478
  function Ps(e, r) {
4476
- return y(Lt, Ft[e], r);
4479
+ return y(Lt, e, r);
4477
4480
  }
4478
4481
  function Ms(e, r) {
4479
- return y(zt, e, r);
4480
- }
4481
- function Ns(e, r) {
4482
4482
  return y(dr, e, r);
4483
4483
  }
4484
+ function Ns(e) {
4485
+ return y(dr, zt, e);
4486
+ }
4484
4487
  function Bs(e) {
4485
4488
  return y(dr, Rt, e);
4486
4489
  }
4487
- function Gs(e) {
4488
- return y(dr, At, e);
4489
- }
4490
- function Hs() {
4490
+ function Gs() {
4491
4491
  return "shrink-0";
4492
4492
  }
4493
- const $t = {
4493
+ const Ht = {
4494
4494
  default: S("converge-ripple-neutral"),
4495
4495
  primary: S("converge-ripple-primary-fill"),
4496
4496
  outline: S("converge-ripple-neutral"),
4497
4497
  secondary: S("converge-ripple-neutral"),
4498
4498
  ghost: S("converge-ripple-neutral"),
4499
4499
  gloss: S("converge-ripple-neutral")
4500
- }, Wt = {
4500
+ }, $t = {
4501
4501
  danger: S("converge-ripple-danger"),
4502
4502
  success: S("converge-ripple-success"),
4503
4503
  info: S("converge-ripple-info"),
4504
4504
  warning: S("converge-ripple-warning")
4505
4505
  };
4506
- function $s(e, r = "default") {
4507
- return r !== "default" ? Wt[r] : $t[e];
4506
+ function Hs(e, r = "default") {
4507
+ return r !== "default" ? $t[r] : Ht[e];
4508
4508
  }
4509
- function Ws(e, r, o, n, i) {
4510
- return e ? y("gloss-btn", bo, Et[r]) : y(
4511
- Pt(o, r),
4512
- Bt(o, r),
4509
+ function $s(e, r, o, n, i) {
4510
+ return e ? y("gloss-btn", bo, kt[r]) : y(
4511
+ At(o, r),
4512
+ Nt(o, r),
4513
4513
  !n && ur,
4514
- Gt(o, r, i)
4514
+ Bt(o, r, i)
4515
4515
  );
4516
4516
  }
4517
- const Us = {
4517
+ const Ws = {
4518
4518
  small: "small",
4519
4519
  base: "base",
4520
4520
  mid: "mid",
4521
4521
  large: "large"
4522
- }, Ut = {
4522
+ }, Wt = {
4523
4523
  small: "h-control-small",
4524
4524
  base: "h-control-base",
4525
4525
  mid: "h-control-mid",
4526
4526
  large: "h-control-large"
4527
4527
  };
4528
- function Vt(e) {
4528
+ function Ut(e) {
4529
4529
  const { padX: r, padY: o } = le[e];
4530
- return y(Ut[e], r, o);
4530
+ return y(Wt[e], r, o);
4531
4531
  }
4532
- function So(e) {
4532
+ function Vt(e) {
4533
4533
  if (e == null) return "";
4534
4534
  const { orientation: r, position: o } = e;
4535
- return o === "only" ? "rounded-base" : r === "horizontal" ? o === "first" ? "rounded-l-base rounded-r-none" : o === "middle" ? "rounded-none" : "rounded-r-base rounded-l-none" : o === "first" ? "rounded-t-base rounded-b-none" : o === "middle" ? "rounded-none" : "rounded-b-base rounded-t-none";
4535
+ return o === "only" ? "rounded-[inherit]" : r === "horizontal" ? o === "first" ? "rounded-l-[inherit] rounded-r-none" : o === "middle" ? "rounded-none" : "rounded-r-[inherit] rounded-l-none" : o === "first" ? "rounded-t-[inherit] rounded-b-none" : o === "middle" ? "rounded-none" : "rounded-b-[inherit] rounded-t-none";
4536
4536
  }
4537
- function qt(e) {
4538
- const { orientation: r, position: o } = e;
4539
- return o === "only" ? "!rounded-base" : r === "horizontal" ? o === "first" ? "!rounded-l-base !rounded-r-none" : o === "middle" ? "!rounded-none" : "!rounded-r-base !rounded-l-none" : o === "first" ? "!rounded-t-base !rounded-b-none" : o === "middle" ? "!rounded-none" : "!rounded-b-base !rounded-t-none";
4540
- }
4541
- function Vs(e) {
4537
+ function Us(e) {
4542
4538
  if (e == null || e.position === "only") return "";
4543
4539
  const { orientation: r, position: o } = e;
4544
4540
  return r === "horizontal" ? o === "first" ? "" : "border-l-0" : o === "first" ? "" : "border-t-0";
4545
4541
  }
4546
- function jt(e) {
4542
+ function qt(e) {
4547
4543
  return e == null ? "" : y(
4548
- So(e),
4549
- qt(e),
4550
4544
  "!border-0 [border:0!important] !shadow-none [box-shadow:none!important]",
4551
4545
  "z-0 focus-visible:z-[2]"
4552
4546
  );
4553
4547
  }
4554
- function Xt(e) {
4548
+ function jt(e) {
4555
4549
  return y(
4556
4550
  "relative inline-flex shrink-0 select-none items-center justify-center border-token bg-surface text-muted",
4557
- So(e),
4558
- e != null && jt(e),
4551
+ Vt(e),
4552
+ e != null && qt(e),
4559
4553
  "z-0"
4560
4554
  );
4561
4555
  }
4562
- function qs({
4556
+ function Vs({
4563
4557
  orientation: e,
4564
4558
  segmented: r,
4565
4559
  variant: o,
@@ -4568,76 +4562,79 @@ function qs({
4568
4562
  return y(
4569
4563
  "inline-flex text-left w-fit",
4570
4564
  !r && y(
4571
- "relative rounded-base",
4572
- o === "gloss" ? "gloss-panel gloss-deep border-0 text-foreground" : "after:pointer-events-none after:absolute after:inset-0 after:rounded-base after:border-token after:content-['']"
4565
+ // Frame lives on ::after (keeps separators / focus paint clean). Radius +
4566
+ // border-color come from the root so `rounded-*` / `border-primary` on
4567
+ // classNames.root retarget the visible frame without `after:*` overrides.
4568
+ "relative rounded-base border-border",
4569
+ o === "gloss" ? "gloss-panel gloss-deep border-0 text-foreground" : "after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:border-solid after:[border-width:var(--border-width,1px)] after:border-inherit after:content-['']"
4573
4570
  ),
4574
4571
  y(e === "horizontal" ? "flex-row flex-nowrap items-stretch" : "flex-col flex-nowrap items-stretch", r && "gap-xsmall"),
4575
4572
  n
4576
4573
  );
4577
4574
  }
4578
- function js(e, r) {
4575
+ function qs(e, r) {
4579
4576
  return y(
4580
4577
  "pointer-events-none shrink-0",
4581
4578
  e === "horizontal" ? "my-[var(--border-width)] self-stretch border-r-token" : "mx-[var(--border-width)] self-stretch border-b-token",
4582
4579
  r
4583
4580
  );
4584
4581
  }
4585
- function Xs({
4582
+ function js({
4586
4583
  groupSegment: e,
4587
4584
  groupVariant: r,
4588
4585
  buttonSize: o,
4589
4586
  className: n
4590
4587
  }) {
4591
4588
  return y(
4592
- Xt(e),
4589
+ jt(e),
4593
4590
  r === "gloss" && "bg-transparent text-foreground",
4594
4591
  "inline-flex items-center",
4595
- Vt(o),
4592
+ Ut(o),
4596
4593
  n
4597
4594
  );
4598
4595
  }
4599
- const Ys = "max-w-component-xsmall truncate font-w-base whitespace-nowrap md:max-w-component-base", Yt = {
4596
+ const Xs = "max-w-component-xsmall truncate font-w-base whitespace-nowrap md:max-w-component-base", Xt = {
4600
4597
  default: "bg-surface",
4601
4598
  outline: "bg-transparent",
4602
4599
  secondary: "bg-secondary"
4603
4600
  };
4604
- function Kt(e) {
4601
+ function Yt(e) {
4605
4602
  return e === "secondary" ? "secondary" : "default";
4606
4603
  }
4607
- function Ks(e) {
4604
+ function Ys(e) {
4608
4605
  return e === "gloss" ? "gloss" : e === "outline" ? "outline" : e === "secondary" ? "secondary" : "default";
4609
4606
  }
4610
- function Zs({
4607
+ function Ks({
4611
4608
  variant: e
4612
4609
  }) {
4613
- return e === "gloss" ? "gloss-control" : e === "outline" ? "bg-transparent border-token" : y(Yt[e], "border-token");
4610
+ return e === "gloss" ? "gloss-control" : e === "outline" ? "bg-transparent border-token" : y(Xt[e], "border-token");
4614
4611
  }
4615
- function Js(e, r = "default", o = "default") {
4616
- return e ? xo(Kt(o), "focus-within") : "";
4612
+ function Zs(e, r = "default", o = "default") {
4613
+ return e ? xo(Yt(o), "focus-within") : "";
4617
4614
  }
4618
- const Qs = "field-shell-transition motion-reduce:transition-none", Zt = "focus-within-ring", Ce = "outline-solid outline-[length:var(--focus-ring-width,2px)] outline-offset-[length:var(--focus-ring-offset,0px)]", Fe = {
4615
+ const Js = "field-shell-transition motion-reduce:transition-none", Kt = "focus-within-ring", Fe = "outline-solid outline-[length:var(--focus-ring-width,2px)] outline-offset-[length:var(--focus-ring-offset,0px)]", Ce = {
4619
4616
  danger: "outline-[var(--color-focus-ring-danger)] focus-within:outline-[var(--color-focus-ring-danger)]",
4620
4617
  success: "outline-[var(--color-focus-ring-success)] focus-within:outline-[var(--color-focus-ring-success)]",
4621
4618
  info: "outline-[var(--color-focus-ring-info)] focus-within:outline-[var(--color-focus-ring-info)]",
4622
4619
  warning: "outline-[var(--color-focus-ring-warning)] focus-within:outline-[var(--color-focus-ring-warning)]"
4623
- }, Jt = {
4624
- danger: y(Ce, Fe.danger),
4625
- success: y(Ce, Fe.success),
4626
- info: y(Ce, Fe.info),
4627
- warning: y(Ce, Fe.warning)
4620
+ }, Zt = {
4621
+ danger: y(Fe, Ce.danger),
4622
+ success: y(Fe, Ce.success),
4623
+ info: y(Fe, Ce.info),
4624
+ warning: y(Fe, Ce.warning)
4628
4625
  };
4629
- function ea(e = "default") {
4630
- return e === "default" ? Zt : Jt[e];
4626
+ function Qs(e = "default") {
4627
+ return e === "default" ? Kt : Zt[e];
4631
4628
  }
4632
- function ra(e, r) {
4633
- const o = ht(e, r);
4629
+ function ea(e, r) {
4630
+ const o = bt(e, r);
4634
4631
  return {
4635
4632
  shellHoverMotionClass: o.motionClass,
4636
4633
  onShellPointerEnter: o.onPointerEnter,
4637
4634
  onShellPointerLeave: o.onPointerLeave
4638
4635
  };
4639
4636
  }
4640
- function oa(e) {
4637
+ function ra(e) {
4641
4638
  const r = le[e];
4642
4639
  return y(
4643
4640
  "flex self-stretch shrink-0 items-center text-muted",
@@ -4645,33 +4642,33 @@ function oa(e) {
4645
4642
  r.affixText
4646
4643
  );
4647
4644
  }
4648
- const Qt = {
4645
+ const Jt = {
4649
4646
  small: "min-w-control-small",
4650
4647
  base: "min-w-control-base",
4651
4648
  mid: "min-w-control-mid",
4652
4649
  large: "min-w-control-large"
4653
4650
  };
4654
- function na(e) {
4655
- return Qt[e];
4651
+ function oa(e) {
4652
+ return Jt[e];
4656
4653
  }
4657
- const ei = {
4654
+ const Qt = {
4658
4655
  small: "--control-height-small",
4659
4656
  base: "--control-height-base",
4660
4657
  mid: "--control-height-mid",
4661
4658
  large: "--control-height-large"
4662
- }, ri = {
4659
+ }, ei = {
4663
4660
  small: 1.75,
4664
4661
  base: 2.2,
4665
4662
  mid: 2.5,
4666
4663
  large: 3
4667
4664
  }, Nr = /* @__PURE__ */ new Map();
4668
- function oi(e) {
4665
+ function ri(e) {
4669
4666
  if (typeof document > "u") return null;
4670
4667
  const r = Nr.get(e);
4671
4668
  if (r != null) return r;
4672
4669
  try {
4673
4670
  const o = document.createElement("div");
4674
- o.style.position = "absolute", o.style.visibility = "hidden", o.style.height = `var(${ei[e]})`, document.body.appendChild(o);
4671
+ o.style.position = "absolute", o.style.visibility = "hidden", o.style.height = `var(${Qt[e]})`, document.body.appendChild(o);
4675
4672
  const n = o.getBoundingClientRect().height;
4676
4673
  if (document.body.removeChild(o), n > 0)
4677
4674
  return Nr.set(e, n), n;
@@ -4679,10 +4676,10 @@ function oi(e) {
4679
4676
  }
4680
4677
  return null;
4681
4678
  }
4682
- function ta(e, r = 16) {
4683
- return oi(e) ?? r * ri[e];
4679
+ function na(e, r = 16) {
4680
+ return ri(e) ?? r * ei[e];
4684
4681
  }
4685
- const ni = {
4682
+ const oi = {
4686
4683
  convergeRipplePrimaryFill: "color-mix(in oklab, var(--color-primary-foreground) 38%, transparent)",
4687
4684
  convergeRippleNeutral: "var(--color-primary-tint-strong)",
4688
4685
  convergeRippleNeutralMuted: "color-mix(in oklab, var(--color-primary) 14%, transparent)",
@@ -4690,7 +4687,7 @@ const ni = {
4690
4687
  convergeRippleSuccess: "color-mix(in oklab, var(--color-success-foreground) 38%, transparent)",
4691
4688
  convergeRippleInfo: "color-mix(in oklab, var(--color-info-foreground) 38%, transparent)",
4692
4689
  convergeRippleWarning: "color-mix(in oklab, var(--color-warning-foreground) 38%, transparent)"
4693
- }, ti = {
4690
+ }, ni = {
4694
4691
  convergeRipplePrimaryFill: "color-mix(in oklab, var(--color-primary-foreground) 52%, var(--color-primary))",
4695
4692
  convergeRippleNeutral: "var(--color-primary-tint-strong)",
4696
4693
  convergeRippleNeutralMuted: "color-mix(in oklab, var(--color-primary) 14%, transparent)",
@@ -4698,7 +4695,7 @@ const ni = {
4698
4695
  convergeRippleSuccess: "color-mix(in oklab, var(--color-success-foreground) 38%, transparent)",
4699
4696
  convergeRippleInfo: "color-mix(in oklab, var(--color-info-foreground) 38%, transparent)",
4700
4697
  convergeRippleWarning: "color-mix(in oklab, var(--color-warning-foreground) 38%, transparent)"
4701
- }, ii = {
4698
+ }, ti = {
4702
4699
  background: "#0c0d10",
4703
4700
  surface: "#171717",
4704
4701
  secondary: "color-mix(in oklab, var(--color-foreground) 12%, var(--color-surface))",
@@ -4743,8 +4740,8 @@ const ni = {
4743
4740
  surfaceTintWarning: "color-mix(in oklab, var(--color-warning) 15%, transparent)",
4744
4741
  surfaceTintWarningHover: "color-mix(in oklab, var(--color-warning) 25%, transparent)",
4745
4742
  warningFillHover: "color-mix(in oklab, var(--color-warning) 80%, transparent)",
4746
- ...ni
4747
- }, si = {
4743
+ ...oi
4744
+ }, ii = {
4748
4745
  background: "#f5f5f5",
4749
4746
  surface: "#ffffff",
4750
4747
  secondary: "color-mix(in oklab, var(--color-foreground) 12%, var(--color-surface))",
@@ -4789,7 +4786,7 @@ const ni = {
4789
4786
  surfaceTintWarning: "color-mix(in oklab, var(--color-warning) 15%, transparent)",
4790
4787
  surfaceTintWarningHover: "color-mix(in oklab, var(--color-warning) 25%, transparent)",
4791
4788
  warningFillHover: "color-mix(in oklab, var(--color-warning) 80%, transparent)",
4792
- ...ti
4789
+ ...ni
4793
4790
  }, fr = {
4794
4791
  background: "--color-background",
4795
4792
  surface: "--color-surface",
@@ -4842,7 +4839,7 @@ const ni = {
4842
4839
  convergeRippleSuccess: "--color-converge-ripple-success",
4843
4840
  convergeRippleInfo: "--color-converge-ripple-info",
4844
4841
  convergeRippleWarning: "--color-converge-ripple-warning"
4845
- }, ai = {
4842
+ }, si = {
4846
4843
  space: 0.5,
4847
4844
  size: 1,
4848
4845
  radius: 0.5,
@@ -4854,39 +4851,39 @@ const ni = {
4854
4851
  shadowSize: 1,
4855
4852
  toastScrimSize: 1,
4856
4853
  toastScrimDensity: 1
4857
- }, li = (() => {
4854
+ }, ai = (() => {
4858
4855
  const { pressSqueezeScale: e, ...r } = ir;
4859
4856
  return {
4860
4857
  ...r,
4861
4858
  pressSqueezeMid: e[1]
4862
4859
  };
4863
- })(), ci = W.fontFamilySans, ui = W.fontFamilyMono, di = 0.9375, fi = 0.875, gi = 0.25;
4860
+ })(), li = W.fontFamilySans, ci = W.fontFamilyMono, ui = 0.9375, di = 0.875, fi = 0.25;
4864
4861
  function ge(e) {
4865
4862
  const r = Math.round(e * 1e8) / 1e8;
4866
4863
  return String(r);
4867
4864
  }
4868
4865
  function ae(e) {
4869
4866
  if (e === 0) return "0rem";
4870
- const r = ge(e * di), o = ge(e * fi), n = ge(e * gi), i = ge(e);
4867
+ const r = ge(e * ui), o = ge(e * di), n = ge(e * fi), i = ge(e);
4871
4868
  return `clamp(${r}rem, ${o}rem + ${n}vw, ${i}rem)`;
4872
4869
  }
4873
4870
  function Oe(e) {
4874
4871
  return e === 0 ? "0" : `calc(${e}px * var(--shadow-size))`;
4875
4872
  }
4876
- function mi(e, r, o, n, i) {
4873
+ function gi(e, r, o, n, i) {
4877
4874
  return `${Oe(e)} ${Oe(r)} ${Oe(o)} ${Oe(n)} rgb(0 0 0 / ${ge(i)})`;
4878
4875
  }
4879
4876
  function $(e, r, o) {
4880
- const n = On[r][e] * o, [i, t, s, a] = _n[e][0];
4881
- return mi(i, t, s, a, n);
4877
+ const n = Cn[r][e] * o, [i, t, s, a] = On[e][0];
4878
+ return gi(i, t, s, a, n);
4882
4879
  }
4883
- function pi(e, r, o, n) {
4880
+ function mi(e, r, o, n) {
4884
4881
  e.style.setProperty("--shadow-size", String(n)), e.style.setProperty("--shadow-none", $("base", r, 0)), e.style.setProperty("--shadow-base", $("base", r, o)), e.style.setProperty("--shadow-mid", $("mid", r, o)), e.style.setProperty("--shadow-large", $("large", r, o));
4885
4882
  }
4886
- function bi(e) {
4883
+ function pi(e) {
4887
4884
  e.style.removeProperty("--shadow-size"), e.style.removeProperty("--shadow-none"), e.style.removeProperty("--shadow-base"), e.style.removeProperty("--shadow-mid"), e.style.removeProperty("--shadow-large");
4888
4885
  }
4889
- function hi(e, r) {
4886
+ function bi(e, r) {
4890
4887
  for (const o of Object.keys(ce)) {
4891
4888
  const { size: n, line: i } = ce[o], t = n * r, s = i * r;
4892
4889
  e.style.setProperty(`--text-scale-${o}`, `${t}rem`), e.style.setProperty(
@@ -4895,11 +4892,11 @@ function hi(e, r) {
4895
4892
  );
4896
4893
  }
4897
4894
  }
4898
- function vi(e) {
4895
+ function hi(e) {
4899
4896
  for (const r of Object.keys(ce))
4900
4897
  e.style.removeProperty(`--text-scale-${r}`), e.style.removeProperty(`--text-scale-${r}--line-height`);
4901
4898
  }
4902
- function yi(e, r, o) {
4899
+ function vi(e, r, o) {
4903
4900
  for (const [n, i] of Object.entries(sr))
4904
4901
  L(e, i, r[n] !== o[n] ? String(r[n]) : null);
4905
4902
  }
@@ -4909,16 +4906,16 @@ function L(e, r, o) {
4909
4906
  function Ae(e) {
4910
4907
  return e === 0 ? "0px" : `${e}px`;
4911
4908
  }
4912
- function To() {
4909
+ function So() {
4913
4910
  return {
4914
- dark: { ...ii },
4915
- light: { ...si }
4911
+ dark: { ...ti },
4912
+ light: { ...ii }
4916
4913
  };
4917
4914
  }
4918
4915
  function gr(e) {
4919
4916
  var n, i;
4920
4917
  if ((n = e.modePalettes) != null && n.dark && ((i = e.modePalettes) != null && i.light)) return e;
4921
- const r = To(), o = { ...e.colors };
4918
+ const r = So(), o = { ...e.colors };
4922
4919
  return {
4923
4920
  ...e,
4924
4921
  modePalettes: {
@@ -4927,7 +4924,7 @@ function gr(e) {
4927
4924
  }
4928
4925
  };
4929
4926
  }
4930
- function ia(e, r) {
4927
+ function ta(e, r) {
4931
4928
  const o = gr(e), n = o.modePalettes[r];
4932
4929
  return {
4933
4930
  ...o,
@@ -4935,7 +4932,7 @@ function ia(e, r) {
4935
4932
  colors: { ...n }
4936
4933
  };
4937
4934
  }
4938
- function sa(e, r, o) {
4935
+ function ia(e, r, o) {
4939
4936
  const n = gr(e), i = { ...n.colors, [r]: o };
4940
4937
  return {
4941
4938
  ...n,
@@ -4947,19 +4944,19 @@ function sa(e, r, o) {
4947
4944
  };
4948
4945
  }
4949
4946
  function be(e = "dark") {
4950
- const r = To(), o = r[e];
4947
+ const r = So(), o = r[e];
4951
4948
  return {
4952
4949
  theme: e,
4950
+ ...si,
4953
4951
  ...ai,
4954
- ...li,
4955
- fontFamily: ci,
4956
- fontFamilyMono: ui,
4957
- fontWeights: { ...jn },
4952
+ fontFamily: li,
4953
+ fontFamilyMono: ci,
4954
+ fontWeights: { ...qn },
4958
4955
  colors: { ...o },
4959
4956
  modePalettes: r
4960
4957
  };
4961
4958
  }
4962
- const xi = [
4959
+ const yi = [
4963
4960
  "--space",
4964
4961
  "--size",
4965
4962
  "--radius",
@@ -4983,15 +4980,15 @@ const xi = [
4983
4980
  ]),
4984
4981
  ...Object.values(fr)
4985
4982
  ];
4986
- function aa(e) {
4983
+ function sa(e) {
4987
4984
  if (typeof document > "u") return;
4988
4985
  const r = e ?? document.documentElement;
4989
- for (const o of xi)
4986
+ for (const o of yi)
4990
4987
  r.style.removeProperty(o);
4991
4988
  delete r.dataset.theme;
4992
4989
  }
4993
4990
  let Br = "";
4994
- function wi(e, r) {
4991
+ function xi(e, r) {
4995
4992
  const o = JSON.stringify({
4996
4993
  interactiveDuration: e.interactiveDuration,
4997
4994
  interactiveEase: e.interactiveEase,
@@ -5042,7 +5039,7 @@ function wi(e, r) {
5042
5039
  enablePaginationFlip: e.enablePaginationFlip,
5043
5040
  enableSelectionFill: e.enableSelectionFill
5044
5041
  });
5045
- o !== Br && (Br = o, Gn({
5042
+ o !== Br && (Br = o, Bn({
5046
5043
  interactiveDuration: e.interactiveDuration,
5047
5044
  interactiveEase: e.interactiveEase,
5048
5045
  hoverLiftEase: e.hoverLiftEase,
@@ -5095,7 +5092,7 @@ function wi(e, r) {
5095
5092
  surfaceTransitionDuration: e.surfaceTransitionDuration
5096
5093
  }));
5097
5094
  }
5098
- function Si(e, r) {
5095
+ function wi(e, r) {
5099
5096
  if (typeof document > "u") return;
5100
5097
  const o = r ?? document.documentElement, n = be(e.theme);
5101
5098
  e.theme === "light" ? o.dataset.theme = "light" : delete o.dataset.theme, L(
@@ -5130,7 +5127,7 @@ function Si(e, r) {
5130
5127
  o,
5131
5128
  "--font-family-mono",
5132
5129
  e.fontFamilyMono !== n.fontFamilyMono ? e.fontFamilyMono : null
5133
- ), yi(o, e.fontWeights, n.fontWeights), wi(e, o), e.textScale !== n.textScale ? hi(o, e.textScale) : vi(o), e.shadowStrength !== n.shadowStrength || e.shadowSize !== n.shadowSize ? pi(o, e.theme, e.shadowStrength, e.shadowSize) : bi(o), L(
5130
+ ), vi(o, e.fontWeights, n.fontWeights), xi(e, o), e.textScale !== n.textScale ? bi(o, e.textScale) : hi(o), e.shadowStrength !== n.shadowStrength || e.shadowSize !== n.shadowSize ? mi(o, e.theme, e.shadowStrength, e.shadowSize) : pi(o), L(
5134
5131
  o,
5135
5132
  "--toast-scrim-size",
5136
5133
  e.toastScrimSize !== n.toastScrimSize ? String(e.toastScrimSize) : null
@@ -5146,7 +5143,7 @@ function Si(e, r) {
5146
5143
  e.colors[i] !== n.colors[i] ? e.colors[i] : null
5147
5144
  );
5148
5145
  }
5149
- function Ti(e) {
5146
+ function Si(e) {
5150
5147
  const r = be(e.theme), o = [":root {"];
5151
5148
  e.space !== r.space && o.push(` --space: ${ae(e.space)};`), e.size !== r.size && o.push(` --size: ${ae(e.size)};`), e.radius !== r.radius && o.push(` --radius: ${ae(e.radius)};`), e.borderWidth !== r.borderWidth && o.push(` --border-width: ${Ae(e.borderWidth)};`), e.focusRingWidth !== r.focusRingWidth && o.push(` --focus-ring-width: ${Ae(e.focusRingWidth)};`), e.focusRingOffset !== r.focusRingOffset && o.push(` --focus-ring-offset: ${e.focusRingOffset}px;`), e.fontFamily !== r.fontFamily && o.push(` --font-family-sans: ${e.fontFamily};`), e.fontFamilyMono !== r.fontFamilyMono && o.push(` --font-family-mono: ${e.fontFamilyMono};`);
5152
5149
  for (const [n, i] of Object.entries(sr))
@@ -5169,13 +5166,13 @@ function Ti(e) {
5169
5166
  return o.length === 1 && o.push(" /* (no overrides vs kit defaults) */"), o.push("}"), e.theme === "light" && (o.push("", "/* Optional: light theme via data-attribute */"), o.push('/* <html data-theme="light"> */')), o.join(`
5170
5167
  `);
5171
5168
  }
5172
- const ko = "burne-ui-theme";
5173
- function Eo(e, r) {
5169
+ const To = "burne-ui-theme";
5170
+ function ko(e, r) {
5174
5171
  var a;
5175
5172
  const o = be(r), n = e.tokens ?? {}, i = (a = e.colors) == null ? void 0 : a[r], t = i ? { ...o.colors, ...i } : o.colors, s = n.shadowStrength ?? o.shadowStrength;
5176
5173
  return {
5177
5174
  ...o,
5178
- ...Co({
5175
+ ...Do({
5179
5176
  space: n.space,
5180
5177
  size: n.size,
5181
5178
  radius: n.radius,
@@ -5198,7 +5195,7 @@ function Eo(e, r) {
5198
5195
  }
5199
5196
  };
5200
5197
  }
5201
- function ki(e) {
5198
+ function Ti(e) {
5202
5199
  const r = gr(e), o = {
5203
5200
  interactiveDuration: r.interactiveDuration,
5204
5201
  interactiveEase: r.interactiveEase,
@@ -5275,25 +5272,25 @@ function ki(e) {
5275
5272
  toast: !0
5276
5273
  };
5277
5274
  }
5278
- function Ei(e, r) {
5275
+ function ki(e, r) {
5279
5276
  var n;
5280
5277
  if (typeof e == "string" || typeof e == "number" || typeof e == "boolean")
5281
5278
  return { value: e };
5282
5279
  const o = ((n = e.values) == null ? void 0 : n[r]) ?? e.value;
5283
5280
  return o === void 0 ? null : { value: o, unit: e.unit };
5284
5281
  }
5285
- function Do(e, r) {
5282
+ function Eo(e, r) {
5286
5283
  const o = {};
5287
5284
  if (!e) return o;
5288
5285
  for (const [n, i] of Object.entries(e)) {
5289
- const t = Ei(i, r);
5286
+ const t = ki(i, r);
5290
5287
  t && (o[n] = typeof t.value == "number" && t.unit ? `${t.value}${t.unit}` : String(t.value));
5291
5288
  }
5292
5289
  return o;
5293
5290
  }
5294
5291
  const Pe = /* @__PURE__ */ new WeakMap();
5295
- function Di(e, r, o) {
5296
- const n = Do(e, o), i = new Set(Object.keys(n)), t = Pe.get(r) ?? /* @__PURE__ */ new Map();
5292
+ function Ei(e, r, o) {
5293
+ const n = Eo(e, o), i = new Set(Object.keys(n)), t = Pe.get(r) ?? /* @__PURE__ */ new Map();
5297
5294
  t.forEach((s, a) => {
5298
5295
  i.has(a) || (s.value ? r.style.setProperty(a, s.value, s.priority) : r.style.removeProperty(a), t.delete(a));
5299
5296
  });
@@ -5304,7 +5301,7 @@ function Di(e, r, o) {
5304
5301
  }), r.style.setProperty(s, a);
5305
5302
  Pe.set(r, t);
5306
5303
  }
5307
- function la(e) {
5304
+ function aa(e) {
5308
5305
  var o;
5309
5306
  if (typeof document > "u") return;
5310
5307
  const r = e ?? document.documentElement;
@@ -5312,14 +5309,14 @@ function la(e) {
5312
5309
  n.value ? r.style.setProperty(i, n.value, n.priority) : r.style.removeProperty(i);
5313
5310
  }), Pe.delete(r);
5314
5311
  }
5315
- function Ci(e) {
5312
+ function Di(e) {
5316
5313
  return {
5317
- ...ki(be((e == null ? void 0 : e.theme) ?? "dark")),
5318
- storageKey: (e == null ? void 0 : e.storageKey) === void 0 ? ko : e.storageKey
5314
+ ...Ti(be((e == null ? void 0 : e.theme) ?? "dark")),
5315
+ storageKey: (e == null ? void 0 : e.storageKey) === void 0 ? To : e.storageKey
5319
5316
  };
5320
5317
  }
5321
- function ca(e) {
5322
- const r = (e == null ? void 0 : e.exportName) ?? "burneTheme", o = Me(Ci(), 0);
5318
+ function la(e) {
5319
+ const r = (e == null ? void 0 : e.exportName) ?? "burneTheme", o = Me(Di(), 0);
5323
5320
  return [
5324
5321
  "/**",
5325
5322
  " * Burne UI theme config (starter snapshot).",
@@ -5341,11 +5338,11 @@ function ca(e) {
5341
5338
  ].join(`
5342
5339
  `);
5343
5340
  }
5344
- function ua(e, r = "dark") {
5341
+ function ca(e, r = "dark") {
5345
5342
  const o = be(r);
5346
5343
  return e ? {
5347
5344
  ...o,
5348
- ...Co({
5345
+ ...Do({
5349
5346
  space: e.space,
5350
5347
  size: e.size,
5351
5348
  radius: e.radius,
@@ -5363,7 +5360,7 @@ function ua(e, r = "dark") {
5363
5360
  fontWeights: e.fontWeights ? { ...o.fontWeights, ...e.fontWeights } : o.fontWeights
5364
5361
  } : o;
5365
5362
  }
5366
- function Co(e) {
5363
+ function Do(e) {
5367
5364
  const r = {};
5368
5365
  for (const [o, n] of Object.entries(e))
5369
5366
  n !== void 0 && (r[o] = n);
@@ -5371,21 +5368,21 @@ function Co(e) {
5371
5368
  }
5372
5369
  function Fi(e, r, o = mr(e.theme)) {
5373
5370
  if (typeof document > "u") return;
5374
- const n = r ?? document.documentElement, i = Eo(e, o);
5371
+ const n = r ?? document.documentElement, i = ko(e, o);
5375
5372
  if (e.motion) {
5376
5373
  const t = e.motion;
5377
5374
  t.interactiveDuration !== void 0 && (i.interactiveDuration = t.interactiveDuration), t.interactiveEase !== void 0 && (i.interactiveEase = t.interactiveEase), t.hoverLiftEase !== void 0 && (i.hoverLiftEase = t.hoverLiftEase), t.tooltipDuration !== void 0 && (i.tooltipDuration = t.tooltipDuration), t.modalDuration !== void 0 && (i.modalDuration = t.modalDuration), t.switchThumbDuration !== void 0 && (i.switchThumbDuration = t.switchThumbDuration), t.switchThumbEase !== void 0 && (i.switchThumbEase = t.switchThumbEase), t.selectionFillDuration !== void 0 && (i.selectionFillDuration = t.selectionFillDuration), t.selectionFillEase !== void 0 && (i.selectionFillEase = t.selectionFillEase), t.hoverLiftScale !== void 0 && (i.hoverLiftScale = t.hoverLiftScale), t.badgeAnchorHoverLiftScale !== void 0 && (i.badgeAnchorHoverLiftScale = t.badgeAnchorHoverLiftScale), t.pressSqueezeScale !== void 0 && (i.pressSqueezeMid = t.pressSqueezeScale[1]), t.pressSqueezeDurationFactor !== void 0 && (i.pressSqueezeDurationFactor = t.pressSqueezeDurationFactor), t.rippleDefaultDuration !== void 0 && (i.rippleDefaultDuration = t.rippleDefaultDuration), t.rippleDefaultOpacityFrom !== void 0 && (i.rippleDefaultOpacityFrom = t.rippleDefaultOpacityFrom), t.rippleExpandableDuration !== void 0 && (i.rippleExpandableDuration = t.rippleExpandableDuration), t.rippleExpandableOpacityFrom !== void 0 && (i.rippleExpandableOpacityFrom = t.rippleExpandableOpacityFrom), t.rippleEaseCss !== void 0 && (i.rippleEaseCss = t.rippleEaseCss), t.feedbackExpandDuration !== void 0 && (i.feedbackExpandDuration = t.feedbackExpandDuration), t.expandDuration !== void 0 && (i.expandDuration = t.expandDuration), t.expandOpenEase !== void 0 && (i.expandOpenEase = t.expandOpenEase), t.surfaceTransitionDuration !== void 0 && (i.surfaceTransitionDuration = t.surfaceTransitionDuration), t.toastDismissDuration !== void 0 && (i.toastDismissDuration = t.toastDismissDuration), t.toastDismissEase !== void 0 && (i.toastDismissEase = t.toastDismissEase), t.progressFillDuration !== void 0 && (i.progressFillDuration = t.progressFillDuration), t.progressFillEase !== void 0 && (i.progressFillEase = t.progressFillEase), t.progressIndeterminateDuration !== void 0 && (i.progressIndeterminateDuration = t.progressIndeterminateDuration), t.progressIndeterminateEase !== void 0 && (i.progressIndeterminateEase = t.progressIndeterminateEase), t.loadingDotsDuration !== void 0 && (i.loadingDotsDuration = t.loadingDotsDuration), t.loadingDotsEaseUp !== void 0 && (i.loadingDotsEaseUp = t.loadingDotsEaseUp), t.loadingDotsEaseDown !== void 0 && (i.loadingDotsEaseDown = t.loadingDotsEaseDown), t.enableAnimations !== void 0 && (i.enableAnimations = t.enableAnimations), t.enableHoverLift !== void 0 && (i.enableHoverLift = t.enableHoverLift), t.enablePressSqueeze !== void 0 && (i.enablePressSqueeze = t.enablePressSqueeze), t.enableToggleButtonFill !== void 0 && (i.enableToggleButtonFill = t.enableToggleButtonFill), t.enableRipple !== void 0 && (i.enableRipple = t.enableRipple), t.enableExpandable !== void 0 && (i.enableExpandable = t.enableExpandable), t.enableToastStack !== void 0 && (i.enableToastStack = t.enableToastStack), t.enableAsyncButtonCrossfade !== void 0 && (i.enableAsyncButtonCrossfade = t.enableAsyncButtonCrossfade), t.enableContentFade !== void 0 && (i.enableContentFade = t.enableContentFade), t.enableFeedbackExpand !== void 0 && (i.enableFeedbackExpand = t.enableFeedbackExpand), t.enableProgressFill !== void 0 && (i.enableProgressFill = t.enableProgressFill), t.enableLoadingDots !== void 0 && (i.enableLoadingDots = t.enableLoadingDots), t.enableModalMotion !== void 0 && (i.enableModalMotion = t.enableModalMotion), t.enableSwitchThumb !== void 0 && (i.enableSwitchThumb = t.enableSwitchThumb), t.enableTabsIndicator !== void 0 && (i.enableTabsIndicator = t.enableTabsIndicator), t.enablePaginationFlip !== void 0 && (i.enablePaginationFlip = t.enablePaginationFlip), t.enableSelectionFill !== void 0 && (i.enableSelectionFill = t.enableSelectionFill);
5378
5375
  }
5379
- Si(i, n), Di(e.customTokens, n, o);
5376
+ wi(i, n), Ei(e.customTokens, n, o);
5380
5377
  }
5381
5378
  function mr(e = "system") {
5382
5379
  return e === "light" || e === "dark" ? e : typeof window < "u" && window.matchMedia("(prefers-color-scheme: light)").matches ? "light" : "dark";
5383
5380
  }
5384
- function da(e, r, o = "dark") {
5381
+ function ua(e, r, o = "dark") {
5385
5382
  Fi({ theme: o, tokens: e }, r, o);
5386
5383
  }
5387
- function fa(e) {
5388
- const r = mr(e.theme), o = Eo(e, r), n = Ti(o), i = Do(e.customTokens, r), t = Object.entries(i);
5384
+ function da(e) {
5385
+ const r = mr(e.theme), o = ko(e, r), n = Si(o), i = Eo(e.customTokens, r), t = Object.entries(i);
5389
5386
  if (t.length === 0) return n;
5390
5387
  const s = t.map(([a, d]) => ` ${a}: ${d};`).join(`
5391
5388
  `);
@@ -5410,17 +5407,17 @@ ${o}]`;
5410
5407
  );
5411
5408
  return i.length === 0 ? "{}" : `{
5412
5409
  ${i.map(
5413
- ([s, a]) => `${n}${Oi(s)}: ${Me(a, r + 1)}`
5410
+ ([s, a]) => `${n}${Ci(s)}: ${Me(a, r + 1)}`
5414
5411
  ).join(`,
5415
5412
  `)},
5416
5413
  ${o}}`;
5417
5414
  }
5418
5415
  return JSON.stringify(e);
5419
5416
  }
5420
- function Oi(e) {
5417
+ function Ci(e) {
5421
5418
  return /^[A-Za-z_$][\w$]*$/.test(e) ? e : JSON.stringify(e);
5422
5419
  }
5423
- function ga(e, r) {
5420
+ function fa(e, r) {
5424
5421
  const o = (r == null ? void 0 : r.exportName) ?? "burneTheme", n = Me(e, 0);
5425
5422
  return [
5426
5423
  "/**",
@@ -5445,7 +5442,7 @@ function ga(e, r) {
5445
5442
  `);
5446
5443
  }
5447
5444
  const pr = $r(null);
5448
- function _i(e) {
5445
+ function Oi(e) {
5449
5446
  if (!e || typeof window > "u") return null;
5450
5447
  try {
5451
5448
  const r = window.localStorage.getItem(e);
@@ -5454,35 +5451,35 @@ function _i(e) {
5454
5451
  }
5455
5452
  return null;
5456
5453
  }
5457
- function Ii(e, r) {
5454
+ function _i(e, r) {
5458
5455
  if (!(!e || typeof window > "u"))
5459
5456
  try {
5460
5457
  window.localStorage.setItem(e, r);
5461
5458
  } catch {
5462
5459
  }
5463
5460
  }
5464
- function Li(e, r) {
5461
+ function Ii(e, r) {
5465
5462
  if (typeof document > "u") return;
5466
5463
  const o = r ?? document.documentElement;
5467
5464
  e === "light" ? o.dataset.theme = "light" : delete o.dataset.theme;
5468
5465
  }
5469
- function ma({
5466
+ function ga({
5470
5467
  children: e,
5471
5468
  theme: r,
5472
5469
  defaultTheme: o = "dark",
5473
- storageKey: n = ko,
5470
+ storageKey: n = To,
5474
5471
  root: i = null,
5475
5472
  onThemeChange: t
5476
5473
  }) {
5477
- const [s, a] = Ze(() => _i(n) ?? o), [d, c] = Ze(0), p = r ?? s, m = J(() => mr(p), [p, d]), w = D(
5474
+ const [s, a] = Ze(() => Oi(n) ?? o), [d, c] = Ze(0), p = r ?? s, m = J(() => mr(p), [p, d]), w = D(
5478
5475
  (x) => {
5479
- r === void 0 && a(x), Ii(n, x), t == null || t(x);
5476
+ r === void 0 && a(x), _i(n, x), t == null || t(x);
5480
5477
  },
5481
5478
  [r, n, t]
5482
5479
  );
5483
5480
  Q(() => {
5484
5481
  const x = i ?? (typeof document < "u" ? document.documentElement : null);
5485
- x && Li(m, x);
5482
+ x && Ii(m, x);
5486
5483
  }, [m, i]), Gr(() => {
5487
5484
  if (p !== "system" || typeof window > "u") return;
5488
5485
  const x = window.matchMedia("(prefers-color-scheme: light)"), k = () => {
@@ -5496,196 +5493,196 @@ function ma({
5496
5493
  );
5497
5494
  return Hr(pr.Provider, { value: h }, e);
5498
5495
  }
5499
- function pa() {
5496
+ function ma() {
5500
5497
  const e = Ne(pr);
5501
5498
  if (!e)
5502
5499
  throw new Error("useBurneTheme must be used within ThemeProvider or BurneUIProvider.");
5503
5500
  return e;
5504
5501
  }
5505
- function ba() {
5502
+ function pa() {
5506
5503
  return Ne(pr);
5507
5504
  }
5508
5505
  const br = $r(null);
5509
- function ha({
5506
+ function ba({
5510
5507
  children: e,
5511
5508
  value: r
5512
5509
  }) {
5513
5510
  return Hr(br.Provider, { value: r }, e);
5514
5511
  }
5515
- function va() {
5512
+ function ha() {
5516
5513
  const e = Ne(br);
5517
5514
  if (!e)
5518
5515
  throw new Error("useBurneThemeRuntime must be used within BurneUIProvider.");
5519
5516
  return e;
5520
5517
  }
5521
- function ya() {
5518
+ function va() {
5522
5519
  return Ne(br);
5523
5520
  }
5524
5521
  export {
5525
- ps as $,
5526
- jt as A,
5527
- Vt as B,
5522
+ ms as $,
5523
+ qt as A,
5524
+ Ut as B,
5528
5525
  fr as C,
5529
- ii as D,
5530
- Xt as E,
5531
- Zt as F,
5532
- $s as G,
5533
- _s as H,
5534
- Is as I,
5535
- la as J,
5536
- aa as K,
5537
- si as L,
5526
+ ti as D,
5527
+ jt as E,
5528
+ Kt as F,
5529
+ Hs as G,
5530
+ Os as H,
5531
+ _s as I,
5532
+ aa as J,
5533
+ sa as K,
5534
+ ii as L,
5538
5535
  ir as M,
5539
- Os as N,
5536
+ Cs as N,
5540
5537
  fo as O,
5541
- ts as P,
5542
- Ci as Q,
5538
+ ns as P,
5539
+ Di as Q,
5543
5540
  be as R,
5544
- ai as S,
5541
+ si as S,
5545
5542
  ce as T,
5546
5543
  gr as U,
5547
- Un as V,
5548
- ga as W,
5549
- fa as X,
5550
- ca as Y,
5551
- Ti as Z,
5552
- Js as _,
5544
+ Wn as V,
5545
+ fa as W,
5546
+ da as X,
5547
+ la as Y,
5548
+ Si as Z,
5549
+ Zs as _,
5553
5550
  le as a,
5554
- kt as a$,
5551
+ Tt as a$,
5555
5552
  ae as a0,
5556
5553
  ar as a1,
5557
5554
  A as a2,
5558
- ua as a3,
5559
- sa as a4,
5555
+ ca as a3,
5556
+ ia as a4,
5560
5557
  Be as a5,
5561
- ta as a6,
5562
- ds as a7,
5558
+ na as a6,
5559
+ us as a7,
5563
5560
  Ar as a8,
5564
- Do as a9,
5565
- pt as aA,
5566
- ys as aB,
5567
- Vi as aC,
5568
- Gs as aD,
5569
- Bs as aE,
5570
- Ns as aF,
5571
- ws as aG,
5572
- Ms as aH,
5573
- Ps as aI,
5574
- As as aJ,
5575
- Rs as aK,
5576
- Hs as aL,
5577
- zs as aM,
5578
- ks as aN,
5561
+ Eo as a9,
5562
+ mt as aA,
5563
+ vs as aB,
5564
+ Ui as aC,
5565
+ Bs as aD,
5566
+ Ns as aE,
5567
+ Ms as aF,
5568
+ xs as aG,
5569
+ Ps as aH,
5570
+ As as aI,
5571
+ Rs as aJ,
5572
+ zs as aK,
5573
+ Gs as aL,
5574
+ Ls as aM,
5575
+ Ts as aN,
5579
5576
  U as aO,
5580
5577
  uo as aP,
5581
- Ji as aQ,
5582
- Ls as aR,
5583
- Ts as aS,
5584
- Ws as aT,
5585
- xs as aU,
5586
- Ss as aV,
5587
- Cs as aW,
5588
- Fs as aX,
5589
- Es as aY,
5590
- Ds as aZ,
5578
+ Zi as aQ,
5579
+ Is as aR,
5580
+ Ss as aS,
5581
+ ks as aT,
5582
+ Es as aU,
5583
+ $s as aV,
5584
+ ys as aW,
5585
+ ws as aX,
5586
+ Ds as aY,
5587
+ Fs as aZ,
5591
5588
  ie as a_,
5592
5589
  mr as aa,
5593
- Eo as ab,
5590
+ ko as ab,
5594
5591
  yo as ac,
5595
5592
  pe as ad,
5596
5593
  He as ae,
5597
- us as af,
5598
- Zn as ag,
5594
+ cs as af,
5595
+ Kn as ag,
5599
5596
  or as ah,
5600
5597
  P as ai,
5601
- ki as aj,
5602
- va as ak,
5603
- ya as al,
5598
+ Ti as aj,
5599
+ ha as ak,
5600
+ va as al,
5604
5601
  mo as am,
5605
- is as an,
5606
- ra as ao,
5607
- tt as ap,
5608
- bs as aq,
5609
- Hi as ar,
5610
- ht as as,
5611
- hs as at,
5602
+ ts as an,
5603
+ ea as ao,
5604
+ nt as ap,
5605
+ ps as aq,
5606
+ Gi as ar,
5607
+ bt as as,
5608
+ bs as at,
5612
5609
  S as au,
5613
5610
  y as av,
5614
5611
  G as aw,
5615
5612
  Ge as ax,
5616
5613
  vo as ay,
5617
5614
  Re as az,
5618
- ns as b,
5615
+ os as b,
5619
5616
  bo as b0,
5620
- Ki as b1,
5621
- gs as b2,
5617
+ Yi as b1,
5618
+ fs as b2,
5622
5619
  De as b3,
5623
- bt as b4,
5624
- ji as b5,
5625
- St as b6,
5626
- Xi as b7,
5627
- ea as b8,
5628
- Zs as b9,
5620
+ pt as b4,
5621
+ qi as b5,
5622
+ wt as b6,
5623
+ ji as b7,
5624
+ Qs as b8,
5625
+ Ks as b9,
5629
5626
  to as bA,
5630
5627
  go as bB,
5631
- ls as bC,
5632
- ss as bD,
5633
- Mi as bE,
5634
- Gn as bF,
5635
- cs as bG,
5636
- as as bH,
5637
- Ui as bI,
5638
- Bi as bJ,
5639
- Gi as bK,
5640
- ba as bL,
5641
- ms as ba,
5642
- Ks as bb,
5643
- vs as bc,
5644
- Yt as bd,
5645
- qs as be,
5646
- js as bf,
5647
- Us as bg,
5648
- Ys as bh,
5649
- Xs as bi,
5650
- qi as bj,
5651
- $i as bk,
5652
- Wi as bl,
5653
- os as bm,
5654
- rs as bn,
5655
- Yi as bo,
5656
- Qi as bp,
5657
- es as bq,
5658
- Zi as br,
5659
- wt as bs,
5660
- yt as bt,
5661
- vt as bu,
5662
- ko as bv,
5663
- ma as bw,
5664
- pa as bx,
5665
- ha as by,
5666
- Xn as bz,
5667
- ci as c,
5668
- ui as d,
5669
- Qs as e,
5628
+ as as bC,
5629
+ is as bD,
5630
+ Pi as bE,
5631
+ Bn as bF,
5632
+ ls as bG,
5633
+ ss as bH,
5634
+ Wi as bI,
5635
+ Ni as bJ,
5636
+ Bi as bK,
5637
+ pa as bL,
5638
+ gs as ba,
5639
+ Ys as bb,
5640
+ hs as bc,
5641
+ Xt as bd,
5642
+ Vs as be,
5643
+ qs as bf,
5644
+ Ws as bg,
5645
+ Xs as bh,
5646
+ js as bi,
5647
+ Vi as bj,
5648
+ Hi as bk,
5649
+ $i as bl,
5650
+ rs as bm,
5651
+ es as bn,
5652
+ Xi as bo,
5653
+ Ji as bp,
5654
+ Qi as bq,
5655
+ Ki as br,
5656
+ xt as bs,
5657
+ vt as bt,
5658
+ ht as bu,
5659
+ To as bv,
5660
+ ga as bw,
5661
+ ma as bx,
5662
+ ba as by,
5663
+ jn as bz,
5664
+ li as c,
5665
+ ci as d,
5666
+ Js as e,
5670
5667
  sr as f,
5671
- jn as g,
5672
- Bn as h,
5673
- li as i,
5674
- _n as j,
5668
+ qn as g,
5669
+ Nn as h,
5670
+ ai as i,
5671
+ On as j,
5675
5672
  ur as k,
5676
- On as l,
5677
- Ni as m,
5678
- ia as n,
5679
- oa as o,
5680
- na as p,
5673
+ Cn as l,
5674
+ Mi as m,
5675
+ ta as n,
5676
+ ra as o,
5677
+ oa as p,
5681
5678
  Le as q,
5682
- fs as r,
5679
+ ds as r,
5683
5680
  Fi as s,
5684
- Di as t,
5681
+ Ei as t,
5685
5682
  ao as u,
5686
- Li as v,
5687
- Si as w,
5688
- da as x,
5689
- Vs as y,
5690
- So as z
5683
+ Ii as v,
5684
+ wi as w,
5685
+ ua as x,
5686
+ Us as y,
5687
+ Vt as z
5691
5688
  };