@udixio/ui-react 1.5.0 → 1.6.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 (30) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/index.cjs +2 -2
  3. package/dist/index.js +1284 -1157
  4. package/dist/lib/components/SideSheet.d.ts +9 -0
  5. package/dist/lib/components/SideSheet.d.ts.map +1 -0
  6. package/dist/lib/components/index.d.ts +1 -0
  7. package/dist/lib/components/index.d.ts.map +1 -1
  8. package/dist/lib/effects/ThemeProvider.d.ts +3 -2
  9. package/dist/lib/effects/ThemeProvider.d.ts.map +1 -1
  10. package/dist/lib/interfaces/index.d.ts +1 -0
  11. package/dist/lib/interfaces/index.d.ts.map +1 -1
  12. package/dist/lib/interfaces/navigation-rail.interface.d.ts +1 -1
  13. package/dist/lib/interfaces/navigation-rail.interface.d.ts.map +1 -1
  14. package/dist/lib/interfaces/side-sheet.interface.d.ts +30 -0
  15. package/dist/lib/interfaces/side-sheet.interface.d.ts.map +1 -0
  16. package/dist/lib/styles/index.d.ts +1 -0
  17. package/dist/lib/styles/index.d.ts.map +1 -1
  18. package/dist/lib/styles/navigation-rail.style.d.ts +2 -2
  19. package/dist/lib/styles/side-sheet.style.d.ts +27 -0
  20. package/dist/lib/styles/side-sheet.style.d.ts.map +1 -0
  21. package/package.json +2 -2
  22. package/src/lib/components/SideSheet.tsx +128 -0
  23. package/src/lib/components/index.ts +1 -0
  24. package/src/lib/effects/ThemeProvider.tsx +13 -18
  25. package/src/lib/interfaces/index.ts +1 -0
  26. package/src/lib/interfaces/navigation-rail.interface.ts +1 -1
  27. package/src/lib/interfaces/side-sheet.interface.tsx +28 -0
  28. package/src/lib/styles/index.ts +1 -0
  29. package/src/lib/styles/side-sheet.style.ts +31 -0
  30. package/src/stories/containment/slide-sheet.stories.tsx +45 -0
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
- import { jsx as u, jsxs as U, Fragment as re } from "react/jsx-runtime";
2
- import { clsx as de } from "clsx";
3
- import { extendTailwindMerge as we } from "tailwind-merge";
4
- import Y, { useState as R, useEffect as P, useRef as V, useLayoutEffect as fe, isValidElement as ee, cloneElement as le, useMemo as ve, Children as be, Fragment as Le } from "react";
5
- import { motion as j, AnimatePresence as z, useScroll as Ne, useMotionValueEvent as se, motionValue as me, useTransform as oe } from "motion/react";
6
- import { throttle as Ie } from "throttle-debounce";
7
- import { createPortal as Ee } from "react-dom";
1
+ import { jsx as u, jsxs as D, Fragment as te } from "react/jsx-runtime";
2
+ import { clsx as me } from "clsx";
3
+ import { extendTailwindMerge as ve } from "tailwind-merge";
4
+ import Y, { useState as R, useEffect as $, useRef as j, useLayoutEffect as pe, isValidElement as ee, cloneElement as le, useMemo as be, Children as Ne, Fragment as Le } from "react";
5
+ import { motion as U, AnimatePresence as A, useScroll as Ie, useMotionValueEvent as se, motionValue as he, useTransform as oe } from "motion/react";
6
+ import { throttle as Ee } from "throttle-debounce";
7
+ import { createPortal as ye } from "react-dom";
8
8
  import { loader as ke } from "@udixio/theme";
9
- import { TailwindPlugin as Ce } from "@udixio/tailwind";
9
+ import { TailwindPlugin as Se } from "@udixio/tailwind";
10
10
  import Re from "react-textarea-autosize";
11
- const pe = we({
11
+ const xe = ve({
12
12
  override: {
13
13
  classGroups: {
14
14
  "text-color": [
@@ -34,95 +34,95 @@ const pe = we({
34
34
  font: ["font"]
35
35
  }
36
36
  }
37
- }), f = (...e) => pe(de(e)), Me = (...e) => pe(de(e));
38
- function Se(e) {
37
+ }), d = (...e) => xe(me(e)), Ce = (...e) => xe(me(e));
38
+ function Me(e) {
39
39
  return e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "");
40
40
  }
41
41
  const Be = (e) => {
42
42
  const t = {};
43
- e.classNameList.forEach((l) => {
43
+ e.classNameList.forEach((o) => {
44
44
  var n;
45
- if (l)
46
- if (typeof l == "string")
47
- (t[n = e.default] ?? (t[n] = [])).push(l);
45
+ if (o)
46
+ if (typeof o == "string")
47
+ (t[n = e.default] ?? (t[n] = [])).push(o);
48
48
  else {
49
- const c = l(e.states);
50
- Object.entries(c).map((i) => {
51
- const [a, d] = i;
52
- (t[a] ?? (t[a] = [])).push(d);
49
+ const a = o(e.states);
50
+ Object.entries(a).map((i) => {
51
+ const [s, f] = i;
52
+ (t[s] ?? (t[s] = [])).push(f);
53
53
  });
54
54
  }
55
55
  });
56
56
  const r = t;
57
- return Object.entries(t).map((l) => {
58
- let [n, c] = l;
59
- c = c.reverse(), n == e.default && c.unshift("relative"), c.unshift(Se(n)), r[n] = Me(...c);
57
+ return Object.entries(t).map((o) => {
58
+ let [n, a] = o;
59
+ a = a.reverse(), n == e.default && a.unshift("relative"), a.unshift(Me(n)), r[n] = Ce(...a);
60
60
  }), r;
61
- }, K = (e, t) => (r) => Be({
61
+ }, _ = (e, t) => (r) => Be({
62
62
  classNameList: [r.className, t],
63
63
  default: e,
64
64
  states: r
65
- }), Pe = K(
65
+ }), $e = _(
66
66
  "button",
67
67
  ({
68
68
  variant: e,
69
69
  disableTextMargins: t,
70
70
  disabled: r,
71
- iconPosition: l,
71
+ iconPosition: o,
72
72
  icon: n,
73
- isActive: c,
73
+ isActive: a,
74
74
  loading: i,
75
- shape: a,
76
- onToggle: d,
77
- size: o,
78
- allowShapeTransformation: h
75
+ shape: s,
76
+ onToggle: f,
77
+ size: l,
78
+ allowShapeTransformation: p
79
79
  }) => ({
80
- button: f(
80
+ button: d(
81
81
  " relative cursor-pointer group outline-none inline-block flex justify-center items-center ",
82
- o === "xSmall" && "text-label-large px-3 py-1.5 gap-1",
83
- o === "small" && "text-label-large px-4 py-2.5 gap-2",
84
- o === "medium" && "text-title-medium px-6 py-4 gap-2",
85
- o === "large" && "text-headline-small px-12 py-8 gap-3",
86
- o === "xLarge" && "text-headline-large px-16 py-12 gap-4",
87
- a === "rounded" && {
88
- "rounded-[30px]": o === "xSmall" || o == "small",
89
- "rounded-[40px]": o === "medium",
90
- "rounded-[70px]": o === "large" || o == "xLarge"
82
+ l === "xSmall" && "text-label-large px-3 py-1.5 gap-1",
83
+ l === "small" && "text-label-large px-4 py-2.5 gap-2",
84
+ l === "medium" && "text-title-medium px-6 py-4 gap-2",
85
+ l === "large" && "text-headline-small px-12 py-8 gap-3",
86
+ l === "xLarge" && "text-headline-large px-16 py-12 gap-4",
87
+ s === "rounded" && {
88
+ "rounded-[30px]": l === "xSmall" || l == "small",
89
+ "rounded-[40px]": l === "medium",
90
+ "rounded-[70px]": l === "large" || l == "xLarge"
91
91
  },
92
- (a === "squared" || h && c) && {
93
- "rounded-[12px]": o === "xSmall" || o == "small",
94
- "rounded-[16px]": o === "medium",
95
- "rounded-[28px]": o === "large" || o == "xLarge"
92
+ (s === "squared" || p && a) && {
93
+ "rounded-[12px]": l === "xSmall" || l == "small",
94
+ "rounded-[16px]": l === "medium",
95
+ "rounded-[28px]": l === "large" || l == "xLarge"
96
96
  },
97
- h && !r && {
98
- "active:rounded-[12px]": o === "xSmall" || o == "small",
99
- "active:rounded-[16px]": o === "medium",
100
- "active:rounded-[28px]": o === "large" || o == "xLarge"
97
+ p && !r && {
98
+ "active:rounded-[12px]": l === "xSmall" || l == "small",
99
+ "active:rounded-[16px]": l === "medium",
100
+ "active:rounded-[28px]": l === "large" || l == "xLarge"
101
101
  },
102
102
  e === "elevated" && {
103
103
  "shadow-1 hover:shadow-2": !r,
104
- "bg-surface-container-low text-primary": !r && !c,
105
- "bg-primary text-on-primary": !r && c,
104
+ "bg-surface-container-low text-primary": !r && !a,
105
+ "bg-primary text-on-primary": !r && a,
106
106
  "text-on-surface/[38%]": r
107
107
  },
108
108
  e === "filled" && {
109
109
  "hover:shadow-1": !r,
110
- "bg-surface-container text-on-surface-variant": !r && !c && d,
111
- "bg-primary text-on-primary": !r && (c && d || !d),
110
+ "bg-surface-container text-on-surface-variant": !r && !a && f,
111
+ "bg-primary text-on-primary": !r && (a && f || !f),
112
112
  "text-on-surface/[38%]": r
113
113
  },
114
114
  e === "tonal" && {
115
115
  "hover:shadow-1": !r,
116
- "bg-secondary-container text-on-secondary-container": !r && !c,
117
- "bg-secondary text-on-secondary": !r && c,
116
+ "bg-secondary-container text-on-secondary-container": !r && !a,
117
+ "bg-secondary text-on-secondary": !r && a,
118
118
  "text-on-surface/[0.38]": r
119
119
  },
120
120
  e === "outlined" && [
121
121
  " border",
122
122
  {
123
123
  "border-on-surface/[0.12] text-on-surface/[0.38]": r,
124
- "text-primary border-outline focus:border-primary": !r && !c,
125
- "text-inverse-on-surface bg-inverse-surface border-inverse-surface": !r && c
124
+ "text-primary border-outline focus:border-primary": !r && !a,
125
+ "text-inverse-on-surface bg-inverse-surface border-inverse-surface": !r && a
126
126
  }
127
127
  ],
128
128
  e === "text" && [
@@ -132,11 +132,11 @@ const Be = (e) => {
132
132
  "text-on-surface/[0.38]": r
133
133
  },
134
134
  t && [
135
- o === "xSmall" && "-mx-3 ",
136
- o === "small" && "-mx-4 ",
137
- o === "medium" && "-mx-6 ",
138
- o === "large" && "-mx-12",
139
- o === "xLarge" && "-mx-16 "
135
+ l === "xSmall" && "-mx-3 ",
136
+ l === "small" && "-mx-4 ",
137
+ l === "medium" && "-mx-6 ",
138
+ l === "large" && "-mx-12",
139
+ l === "xLarge" && "-mx-16 "
140
140
  // size === 'small' && ' -my-2.5',
141
141
  // size === 'medium' && ' -my-4',
142
142
  // size === 'large' && '-my-8',
@@ -145,10 +145,10 @@ const Be = (e) => {
145
145
  ],
146
146
  r && "cursor-default"
147
147
  ),
148
- touchTarget: f(
148
+ touchTarget: d(
149
149
  "absolute -translate-x-1/2 -translate-y-1/2 left-1/2 top-1/2 h-12 w-full"
150
150
  ),
151
- stateLayer: f(
151
+ stateLayer: d(
152
152
  "min-h-full min-w-full absolute top-0 left-0 overflow-hidden",
153
153
  e === "elevated" && {
154
154
  "bg-on-surface/[0.12]": r,
@@ -156,23 +156,23 @@ const Be = (e) => {
156
156
  },
157
157
  e === "filled" && {
158
158
  "bg-on-surface/[0.12]": r,
159
- "group-state-on-primary": !r && !d,
160
- "group-state-on-surface-variant": !r && d
159
+ "group-state-on-primary": !r && !f,
160
+ "group-state-on-surface-variant": !r && f
161
161
  },
162
- a === "rounded" && {
163
- "rounded-[30px]": o === "xSmall" || o == "small",
164
- "rounded-[40px]": o === "medium",
165
- "rounded-[70px]": o === "large" || o == "xLarge"
162
+ s === "rounded" && {
163
+ "rounded-[30px]": l === "xSmall" || l == "small",
164
+ "rounded-[40px]": l === "medium",
165
+ "rounded-[70px]": l === "large" || l == "xLarge"
166
166
  },
167
- (a === "squared" || h && c) && {
168
- "rounded-[12px]": o === "xSmall" || o == "small",
169
- "rounded-[16px]": o === "medium",
170
- "rounded-[28px]": o === "large" || o == "xLarge"
167
+ (s === "squared" || p && a) && {
168
+ "rounded-[12px]": l === "xSmall" || l == "small",
169
+ "rounded-[16px]": l === "medium",
170
+ "rounded-[28px]": l === "large" || l == "xLarge"
171
171
  },
172
- h && !r && {
173
- "group-active:rounded-[12px]": o === "xSmall" || o == "small",
174
- "group-active:rounded-[16px]": o === "medium",
175
- "group-active:rounded-[28px]": o === "large" || o == "xLarge"
172
+ p && !r && {
173
+ "group-active:rounded-[12px]": l === "xSmall" || l == "small",
174
+ "group-active:rounded-[16px]": l === "medium",
175
+ "group-active:rounded-[28px]": l === "large" || l == "xLarge"
176
176
  },
177
177
  e === "tonal" && {
178
178
  "bg-on-surface/[0.12]": r,
@@ -185,49 +185,49 @@ const Be = (e) => {
185
185
  "group-state-primary": !r
186
186
  }
187
187
  ),
188
- label: f({ invisible: i }),
189
- icon: f(
188
+ label: d({ invisible: i }),
189
+ icon: d(
190
190
  { invisible: i },
191
- o === "xSmall" && "size-5",
192
- o === "small" && "size-5",
193
- o === "medium" && "size-6",
194
- o === "large" && "size-8",
195
- o === "xLarge" && "size-10"
191
+ l === "xSmall" && "size-5",
192
+ l === "small" && "size-5",
193
+ l === "medium" && "size-6",
194
+ l === "large" && "size-8",
195
+ l === "xLarge" && "size-10"
196
196
  )
197
197
  })
198
- ), $e = K(
198
+ ), Pe = _(
199
199
  "card",
200
200
  ({ variant: e, isInteractive: t }) => ({
201
- card: f(
201
+ card: d(
202
202
  "card group/card rounded-xl overflow-hidden z-10",
203
203
  e === "outlined" && "bg-surface border border-outline-variant",
204
204
  e === "elevated" && "bg-surface-container-low shadow-1",
205
205
  e === "filled" && "bg-surface-container-highest"
206
206
  ),
207
- stateLayer: f([
207
+ stateLayer: d([
208
208
  "w-full top-0 left-0 h-full absolute -z-10",
209
209
  {
210
210
  " group-hover/card:hover-state-on-surface group-focus-visible/card:focus-state-on-surface": t
211
211
  }
212
212
  ])
213
213
  })
214
- ), We = K(
214
+ ), We = _(
215
215
  "carouselItem",
216
216
  () => ({
217
- carouselItem: f("rounded-[28px] overflow-hidden flex-none")
217
+ carouselItem: d("rounded-[28px] overflow-hidden flex-none")
218
218
  })
219
- ), De = K(
219
+ ), De = _(
220
220
  "carousel",
221
221
  () => ({
222
- carousel: f(["w-full h-[400px]"]),
223
- track: f(
222
+ carousel: d(["w-full h-[400px]"]),
223
+ track: d(
224
224
  "grid grid-flow-col h-full transition-transform ease-out w-fit"
225
225
  )
226
226
  })
227
- ), Ve = K(
227
+ ), Ve = _(
228
228
  "divider",
229
229
  ({ orientation: e }) => ({
230
- divider: f(
230
+ divider: d(
231
231
  "border-outline-variant ",
232
232
  {
233
233
  "h-fit w-full border-t": e === "horizontal"
@@ -237,10 +237,10 @@ const Be = (e) => {
237
237
  }
238
238
  )
239
239
  })
240
- ), Ue = K(
240
+ ), je = _(
241
241
  "fab",
242
242
  ({ size: e, variant: t, isExtended: r }) => ({
243
- fab: f(
243
+ fab: d(
244
244
  "flex shadow-3 hover:shadow-4 group overflow-hidden outline-none items-center cursor-pointer",
245
245
  {
246
246
  "rounded-[12px]": e == "small" && !r,
@@ -257,14 +257,14 @@ const Be = (e) => {
257
257
  t === "secondary" && "bg-secondary-container",
258
258
  t === "tertiary" && "bg-tertiary-container"
259
259
  ),
260
- stateLayer: f(
260
+ stateLayer: d(
261
261
  "absolute w-full h-full overflow-hidden left-1/2 top-1/2 transform -translate-y-1/2 -translate-x-1/2",
262
262
  t === "surface" && "group-hover:hover-state-primary group-focus:focus-state-primary",
263
263
  t === "primary" && "group-hover:hover-state-on-primary-container group-focus-visible:focus-state-on-primary-container",
264
264
  t === "secondary" && "group-hover:hover-state-on-secondary-container group-focus-visible:focus-state-on-secondary-container",
265
265
  t === "tertiary" && "group-hover:hover-state-on-tertiary-container group-focus-visible:focus-state-on-tertiary-container"
266
266
  ),
267
- icon: f(
267
+ icon: d(
268
268
  {
269
269
  "size-6": e == "small" || e == "medium" || r,
270
270
  "size-9": e == "large" && !r
@@ -274,7 +274,7 @@ const Be = (e) => {
274
274
  t === "secondary" && "text-on-secondary-container",
275
275
  t === "tertiary" && "text-on-tertiary-container"
276
276
  ),
277
- label: f(
277
+ label: d(
278
278
  "text-title-medium text-nowrap",
279
279
  t === "surface" && "text-primary",
280
280
  t === "primary" && "text-on-primary-container",
@@ -282,118 +282,118 @@ const Be = (e) => {
282
282
  t === "tertiary" && "text-on-tertiary-container"
283
283
  )
284
284
  })
285
- ), je = K(
285
+ ), Ue = _(
286
286
  "iconButton",
287
287
  ({
288
288
  variant: e,
289
289
  disabled: t,
290
290
  onToggle: r,
291
- isActive: l,
291
+ isActive: o,
292
292
  size: n,
293
- width: c,
293
+ width: a,
294
294
  shape: i,
295
- allowShapeTransformation: a
295
+ allowShapeTransformation: s
296
296
  }) => ({
297
- iconButton: f(
297
+ iconButton: d(
298
298
  "rounded-full relative flex transition-all duration-300",
299
299
  "group cursor-pointer",
300
300
  {
301
301
  "cursor-default": t
302
302
  },
303
- (i === "rounded" || i === "squared" && r && !t && l && a) && {
303
+ (i === "rounded" || i === "squared" && r && !t && o && s) && {
304
304
  "rounded-[30px]": n === "xSmall" || n == "small",
305
305
  "rounded-[40px]": n === "medium",
306
306
  "rounded-[70px]": n === "large" || n == "xLarge"
307
307
  },
308
- (i === "squared" || i === "rounded" && r && !t && l && a) && {
308
+ (i === "squared" || i === "rounded" && r && !t && o && s) && {
309
309
  "rounded-[12px]": n === "xSmall" || n == "small",
310
310
  "rounded-[16px]": n === "medium",
311
311
  "rounded-[28px]": n === "large" || n == "xLarge"
312
312
  },
313
- a && !t && {
313
+ s && !t && {
314
314
  "group-active:rounded-[12px]": n === "xSmall" || n == "small",
315
315
  "group-active:rounded-[16px]": n === "medium",
316
316
  "group-active:rounded-[28px]": n === "large" || n == "xLarge"
317
317
  },
318
318
  e === "filled" && [
319
319
  !t && {
320
- "bg-surface-container": !l && !!r,
321
- "bg-primary": l || !r
320
+ "bg-surface-container": !o && !!r,
321
+ "bg-primary": o || !r
322
322
  },
323
323
  !!t && "bg-on-surface/[0.12]"
324
324
  ],
325
325
  e === "tonal" && [
326
326
  !t && {
327
- "bg-surface-container": !l && !!r,
328
- "bg-secondary-container": l || !r
327
+ "bg-surface-container": !o && !!r,
328
+ "bg-secondary-container": o || !r
329
329
  },
330
330
  !!t && "bg-on-surface/[0.12]"
331
331
  ],
332
332
  e === "outlined" && [
333
333
  !t && {
334
- "border border-outline": !l,
335
- "border border-transparent bg-inverse-surface": l
334
+ "border border-outline": !o,
335
+ "border border-transparent bg-inverse-surface": o
336
336
  },
337
337
  !!t && {
338
- "border border-on-surface/[0.12]": !l,
339
- "border border-transparent bg-on-surface/[0.12]": l
338
+ "border border-on-surface/[0.12]": !o,
339
+ "border border-transparent bg-on-surface/[0.12]": o
340
340
  }
341
341
  ]
342
342
  ),
343
- touchTarget: f(
343
+ touchTarget: d(
344
344
  "absolute -translate-x-1/2 -translate-y-1/2 left-1/2 top-1/2 h-12 w-full"
345
345
  ),
346
- stateLayer: f(
346
+ stateLayer: d(
347
347
  "absolute top-0 left-0 h-full w-full overflow-hidden",
348
- (i === "rounded" || i === "squared" && r && !t && l && a) && {
348
+ (i === "rounded" || i === "squared" && r && !t && o && s) && {
349
349
  "rounded-[30px]": n === "xSmall" || n == "small",
350
350
  "rounded-[40px]": n === "medium",
351
351
  "rounded-[70px]": n === "large" || n == "xLarge"
352
352
  },
353
- (i === "squared" || i === "rounded" && r && !t && l && a) && {
353
+ (i === "squared" || i === "rounded" && r && !t && o && s) && {
354
354
  "rounded-[12px]": n === "xSmall" || n == "small",
355
355
  "rounded-[16px]": n === "medium",
356
356
  "rounded-[28px]": n === "large" || n == "xLarge"
357
357
  },
358
- a && !t && {
358
+ s && !t && {
359
359
  "group-active:rounded-[12px]": n === "xSmall" || n == "small",
360
360
  "group-active:rounded-[16px]": n === "medium",
361
361
  "group-active:rounded-[28px]": n === "large" || n == "xLarge"
362
362
  },
363
363
  !t && [
364
364
  e === "standard" && {
365
- "state-on-surface-variant": !l,
366
- "state-primary": l
365
+ "state-on-surface-variant": !o,
366
+ "state-primary": o
367
367
  },
368
368
  e === "filled" && {
369
- "state-primary": !l && !!r,
370
- "state-inverse-on-surface": l || !r
369
+ "state-primary": !o && !!r,
370
+ "state-inverse-on-surface": o || !r
371
371
  },
372
372
  e === "tonal" && {
373
- "state-on-surface-variant": !l && !!r,
374
- "state-on-secondary-container": l || !r
373
+ "state-on-surface-variant": !o && !!r,
374
+ "state-on-secondary-container": o || !r
375
375
  },
376
376
  e === "outlined" && {
377
- "state-on-surface-variant": !l,
378
- "state-on-primary": l
377
+ "state-on-surface-variant": !o,
378
+ "state-on-primary": o
379
379
  }
380
380
  ]
381
381
  ),
382
- icon: f(
382
+ icon: d(
383
383
  " transition-all duration-300",
384
384
  { "size-5 p-1.5": n === "xSmall" },
385
385
  { "size-6 p-2": n === "small" },
386
386
  { "size-6 p-4": n === "medium" },
387
387
  { "size-8 p-8": n === "large" },
388
388
  { "size-10 p-12": n === "xLarge" },
389
- c == "narrow" && [
389
+ a == "narrow" && [
390
390
  { "px-1": n === "xSmall" },
391
391
  { "px-1": n === "small" },
392
392
  { "px-3": n === "medium" },
393
393
  { "px-4": n === "large" },
394
394
  { "px-8": n === "xLarge" }
395
395
  ],
396
- c == "wide" && [
396
+ a == "wide" && [
397
397
  { "px-2.5": n === "xSmall" },
398
398
  { "px-3.5": n === "small" },
399
399
  { "px-6": n === "medium" },
@@ -402,36 +402,36 @@ const Be = (e) => {
402
402
  ],
403
403
  !t && [
404
404
  e === "standard" && {
405
- "text-on-surface-variant": !l,
406
- "text-primary": l
405
+ "text-on-surface-variant": !o,
406
+ "text-primary": o
407
407
  },
408
408
  e === "filled" && {
409
- "text-primary": !l && !!r,
410
- "text-on-primary": l || !r
409
+ "text-primary": !o && !!r,
410
+ "text-on-primary": o || !r
411
411
  },
412
412
  e === "tonal" && {
413
- "text-on-surface-variant": !l && !!r,
414
- "text-on-secondary-container": l || !r
413
+ "text-on-surface-variant": !o && !!r,
414
+ "text-on-secondary-container": o || !r
415
415
  },
416
416
  e === "outlined" && {
417
- "text-on-surface-variant": !l,
418
- "text-inverse-on-surface": l
417
+ "text-on-surface-variant": !o,
418
+ "text-inverse-on-surface": o
419
419
  }
420
420
  ],
421
421
  !!t && "text-on-surface/[0.38]"
422
422
  )
423
423
  })
424
- ), Fe = K(
424
+ ), Fe = _(
425
425
  "progressIndicator",
426
426
  ({ variant: e, isVisible: t }) => ({
427
- progressIndicator: f(
427
+ progressIndicator: d(
428
428
  (e === "linear-determinate" || e == "linear-indeterminate") && "flex w-full h-1"
429
429
  ),
430
- track: f("h-full rounded-full bg-primary rounded-l-full", {
430
+ track: d("h-full rounded-full bg-primary rounded-l-full", {
431
431
  "max-h-0": !t,
432
432
  "max-h-full": t
433
433
  }),
434
- activeIndicator: f(
434
+ activeIndicator: d(
435
435
  {
436
436
  "max-h-0": !t,
437
437
  "max-h-full": t
@@ -445,7 +445,7 @@ const Be = (e) => {
445
445
  }
446
446
  ]
447
447
  ),
448
- stop: f(
448
+ stop: d(
449
449
  "absolute top-1/2 -translate-y-1/2 right-0 bg-primary rounded-full size-1",
450
450
  {
451
451
  "max-h-0": !t,
@@ -453,43 +453,70 @@ const Be = (e) => {
453
453
  }
454
454
  )
455
455
  })
456
- ), He = K(
456
+ ), Xe = _(
457
+ "slideSheet",
458
+ ({ variant: e, position: t }) => ({
459
+ slideSheet: d(
460
+ "bg-surface flex justify-between max-w-xs z-10",
461
+ {
462
+ "flex-row-reverse": t == "right",
463
+ "h-full": e == "standard"
464
+ },
465
+ e == "modal" && [
466
+ "rounded-2xl fixed top-0 m-[1rem] h-[calc(100dvh-2rem)]",
467
+ {
468
+ "right-0": t == "right",
469
+ "left-0": t == "left"
470
+ }
471
+ ]
472
+ ),
473
+ container: d("w-full overflow-hidden", {}),
474
+ content: d("w-fit "),
475
+ header: d("p-4 flex items-center gap-2"),
476
+ title: d("text-on-surface-variant text-title-large"),
477
+ closeButton: d("ml-auto"),
478
+ divider: d({ hidden: e == "modal" }),
479
+ overlay: d(
480
+ "bg-[black]/[0.32] fixed top-0 left-0 w-screen h-screen"
481
+ )
482
+ })
483
+ ), He = _(
457
484
  "slider",
458
485
  ({ isChanging: e }) => ({
459
- slider: f([
486
+ slider: d([
460
487
  "relative w-full h-11 flex items-center rounded gap-x-1.5 cursor-pointer"
461
488
  ]),
462
- activeTrack: f([
489
+ activeTrack: d([
463
490
  "h-4 relative transition-all duration-100 bg-primary overflow-hidden rounded-l-full "
464
491
  ]),
465
- inactiveTrack: f([
492
+ inactiveTrack: d([
466
493
  "h-4 relative transition-all duration-100 bg-primary-container rounded-r-full overflow-hidden"
467
494
  ]),
468
- handle: f([
495
+ handle: d([
469
496
  "transform transition-all duration-100 bg-primary h-full rounded-full ",
470
497
  { "w-0.5": e, "w-1": !e }
471
498
  ]),
472
- valueIndicator: f([
499
+ valueIndicator: d([
473
500
  "absolute select-none bg-inverse-surface text-inverse-on-surface py-3 px-4 text-label-large rounded-full bottom-[calc(100%+4px)] transform left-1/2 -translate-x-1/2"
474
501
  ]),
475
- dot: f([
502
+ dot: d([
476
503
  "h-1 w-1 absolute transform -translate-y-1/2 -translate-x-1/2 top-1/2 rounded-full"
477
504
  ])
478
505
  })
479
- ), Xe = K(
506
+ ), Oe = _(
480
507
  "snackbar",
481
508
  () => ({
482
- snackbar: f(" rounded bg-inverse-surface "),
483
- container: f(
509
+ snackbar: d(" rounded bg-inverse-surface "),
510
+ container: d(
484
511
  "pl-4 pr-2 max-w-full py-1 flex items-center flex-wrap"
485
512
  ),
486
- supportingText: f("text-body-medium text-inverse-on-surface "),
487
- icon: f(" ml-auto mr-0 text-inverse-on-surface block dark")
513
+ supportingText: d("text-body-medium text-inverse-on-surface "),
514
+ icon: d(" ml-auto mr-0 text-inverse-on-surface block dark")
488
515
  })
489
- ), Oe = K(
516
+ ), qe = _(
490
517
  "switch",
491
518
  ({ isSelected: e, disabled: t, inactiveIcon: r }) => ({
492
- switch: f(
519
+ switch: d(
493
520
  "group w-[52px] h-[32px] outline-none rounded-full border-2 flex items-center",
494
521
  { "bg-on-surface/[0.12] border-transparent": t },
495
522
  !t && [
@@ -500,12 +527,12 @@ const Be = (e) => {
500
527
  // { 'justify-start': !isSelected },
501
528
  // { 'justify-end': isSelected },
502
529
  ),
503
- handleContainer: f(
530
+ handleContainer: d(
504
531
  "flex items-center justify-center absolute",
505
532
  { "left-[14px]": !e },
506
533
  { "right-[14px]": e }
507
534
  ),
508
- handle: f(
535
+ handle: d(
509
536
  "transition-all duration-100 z-10 rounded-full flex items-center justify-center",
510
537
  { "w-[16px] h-[16px]": !e && !r },
511
538
  { "w-[24px] h-[24px]": !(!e && !r) },
@@ -516,11 +543,11 @@ const Be = (e) => {
516
543
  ],
517
544
  { "bg-surface": t }
518
545
  ),
519
- handleStateLayer: f(
546
+ handleStateLayer: d(
520
547
  "w-[40px] h-[40px] -z-10 rounded-full absolute",
521
548
  { "group-state-primary": !t }
522
549
  ),
523
- icon: f(
550
+ icon: d(
524
551
  "w-[16px] h-[16px]",
525
552
  !t && [
526
553
  { "text-on-primary-container": e },
@@ -529,173 +556,173 @@ const Be = (e) => {
529
556
  { "text-on-surface/[0.38]": t }
530
557
  )
531
558
  })
532
- ), qe = K(
559
+ ), _e = _(
533
560
  "tab",
534
- ({ isSelected: e, icon: t, label: r, variant: l }) => ({
535
- tab: f(
561
+ ({ isSelected: e, icon: t, label: r, variant: o }) => ({
562
+ tab: d(
536
563
  "bg-surface flex-1 group outline-none flex px-4 justify-center items-center cursor-pointer",
537
564
  { "z-10": e },
538
- !!(t && r) && l === "primary" && "h-16",
539
- !(t && r && l === "primary") && "h-12"
565
+ !!(t && r) && o === "primary" && "h-16",
566
+ !(t && r && o === "primary") && "h-12"
540
567
  ),
541
- stateLayer: f(
568
+ stateLayer: d(
542
569
  "absolute w-full h-full overflow-hidden left-1/2 top-1/2 transform -translate-y-1/2 -translate-x-1/2",
543
- l === "primary" && {
570
+ o === "primary" && {
544
571
  "group-hover:hover-state-on-surface group-focus-visible:focus-state-on-surface": !e,
545
572
  "group-hover:hover-state-primary group-focus-visible:focus-state-primary": e
546
573
  },
547
- l === "secondary" && "group-hover:hover-state-on-surface group-focus-visible:focus-state-on-surface"
574
+ o === "secondary" && "group-hover:hover-state-on-surface group-focus-visible:focus-state-on-surface"
548
575
  ),
549
- content: f(
576
+ content: d(
550
577
  "flex gap-0.5 h-full justify-center",
551
578
  {
552
- relative: l == "primary"
579
+ relative: o == "primary"
553
580
  },
554
581
  {
555
582
  "": !!(r && !t)
556
583
  },
557
- l === "primary" && "flex-col items-center",
558
- l === "secondary" && {
584
+ o === "primary" && "flex-col items-center",
585
+ o === "secondary" && {
559
586
  "flex-col items-center": !(r && t),
560
587
  "flex-row items-center gap-2": !!(r && t)
561
588
  }
562
589
  ),
563
- icon: f(
590
+ icon: d(
564
591
  "h-6 w-6 p-0.5 !box-border",
565
- l === "primary" && {
592
+ o === "primary" && {
566
593
  "text-on-surface-variant": !e,
567
594
  "text-primary": e
568
595
  },
569
- l === "secondary" && {
596
+ o === "secondary" && {
570
597
  "text-on-surface-variant": !e,
571
598
  "text-on-surface": e
572
599
  }
573
600
  ),
574
- label: f(
601
+ label: d(
575
602
  "text-title-small text-nowrap",
576
- l === "primary" && {
603
+ o === "primary" && {
577
604
  "text-on-surface-variant": !e,
578
605
  "text-primary": e
579
606
  },
580
- l === "secondary" && {
607
+ o === "secondary" && {
581
608
  "text-on-surface-variant": !e,
582
609
  "text-on-surface": e
583
610
  }
584
611
  ),
585
- underline: f(
612
+ underline: d(
586
613
  "bg-primary absolute w-full left-0 bottom-0",
587
- l === "primary" && "h-[3px] rounded-t",
588
- l === "secondary" && "h-0.5"
614
+ o === "primary" && "h-[3px] rounded-t",
615
+ o === "secondary" && "h-0.5"
589
616
  )
590
617
  })
591
- ), _e = K(
618
+ ), Ke = _(
592
619
  "tabs",
593
620
  ({ scrollable: e }) => ({
594
- tabs: f(
621
+ tabs: d(
595
622
  "border-b border-surface-container-highest",
596
623
  "flex relative ",
597
624
  { "overflow-x-auto": e }
598
625
  )
599
626
  })
600
- ), Ke = K(
627
+ ), Ge = _(
601
628
  "textField",
602
629
  ({
603
630
  disabled: e,
604
631
  leadingIcon: t,
605
632
  trailingIcon: r,
606
- variant: l,
633
+ variant: o,
607
634
  errorText: n,
608
- isFocused: c,
635
+ isFocused: a,
609
636
  value: i,
610
- suffix: a,
611
- textLine: d
637
+ suffix: s,
638
+ textLine: f
612
639
  }) => ({
613
- textField: f({
640
+ textField: d({
614
641
  "opacity-[.38]": e
615
642
  }),
616
- content: f(
643
+ content: d(
617
644
  "group transition-border duration-200 relative flex items-center ",
618
- { "h-14": d == "singleLine" },
645
+ { "h-14": f == "singleLine" },
619
646
  {
620
- "border-on-surface-variant": !(n != null && n.length) && !c && l == "filled",
621
- "border-outline": !(n != null && n.length) && !c && l == "outlined",
622
- "border-primary": !(n != null && n.length) && c,
647
+ "border-on-surface-variant": !(n != null && n.length) && !a && o == "filled",
648
+ "border-outline": !(n != null && n.length) && !a && o == "outlined",
649
+ "border-primary": !(n != null && n.length) && a,
623
650
  "border-error": !!(n != null && n.length)
624
651
  },
625
652
  { "bg-on-surface/[0.04]": e },
626
- l == "filled" && [
653
+ o == "filled" && [
627
654
  "rounded-t overflow-hidden border-b",
628
655
  { "bg-surface-container-highest": !e }
629
656
  ],
630
- l == "outlined" && [
657
+ o == "outlined" && [
631
658
  "border rounded box-border",
632
659
  {
633
- "border-[3px]": c
660
+ "border-[3px]": a
634
661
  }
635
662
  ]
636
663
  ),
637
- stateLayer: f(
664
+ stateLayer: d(
638
665
  "absolute -z-10 w-full h-full top-0 left-0",
639
666
  {
640
- hidden: l == "outlined"
667
+ hidden: o == "outlined"
641
668
  },
642
669
  {
643
670
  "group-state-on-surface": !e,
644
- "focus-state-on-surface": c
671
+ "focus-state-on-surface": a
645
672
  }
646
673
  ),
647
- label: f(
674
+ label: d(
648
675
  "inline-flex outline-none whitespace-nowrap",
649
676
  { "text-on-surface-variant": !e && !(n != null && n.length) },
650
677
  { "text-on-surface": e },
651
678
  { "text-error": !!(n != null && n.length) },
652
- { "text-primary": !(n != null && n.length) && c }
679
+ { "text-primary": !(n != null && n.length) && a }
653
680
  ),
654
- input: f(
681
+ input: d(
655
682
  "w-full resize-none px-4 text-body-large bg-[inherit] outline-none autofill:transition-colors autofill:duration-[5000000ms]",
656
683
  {
657
684
  " text-on-surface placeholder:text-on-surface-variant": !e,
658
685
  "placeholder:text-on-surface text-on-surface": e
659
686
  },
660
687
  {
661
- "pr-0": !!a
688
+ "pr-0": !!s
662
689
  },
663
- l == "filled" && " pb-2 pt-6",
664
- l == "outlined" && "py-4 relative z-10"
690
+ o == "filled" && " pb-2 pt-6",
691
+ o == "outlined" && "py-4 relative z-10"
665
692
  ),
666
- activeIndicator: f(
693
+ activeIndicator: d(
667
694
  "absolute w-0 inset-x-0 border-rounded mx-auto bottom-0",
668
- l == "filled" && [
695
+ o == "filled" && [
669
696
  "h-[2px] transition-all duration-300",
670
697
  { "bg-primary": !(n != null && n.length) },
671
698
  { "bg-error": !!(n != null && n.length) },
672
- { "!w-full": c }
699
+ { "!w-full": a }
673
700
  ]
674
701
  ),
675
- supportingText: f(
702
+ supportingText: d(
676
703
  " text-body-small px-4 pt-1",
677
704
  { "text-on-surface-variant": !e && !(n != null && n.length) },
678
705
  { "text-on-surface": e },
679
- { "!w-full": c },
706
+ { "!w-full": a },
680
707
  { "text-error": !!(n != null && n.length) }
681
708
  ),
682
- leadingIcon: f([
709
+ leadingIcon: d([
683
710
  "h-12 ml-3 flex items-center justify-center",
684
711
  { "cursor-text": !Y.isValidElement(t) }
685
712
  ]),
686
- trailingIcon: f("h-12 w-12 flex items-center justify-center", {
713
+ trailingIcon: d("h-12 w-12 flex items-center justify-center", {
687
714
  "cursor-text": !Y.isValidElement(r)
688
715
  }),
689
- suffix: f(
716
+ suffix: d(
690
717
  "text-on-surface-variant pl-0 pr-4",
691
- l == "filled" && " pb-2 pt-6",
692
- l == "outlined" && "py-4 relative z-10"
718
+ o == "filled" && " pb-2 pt-6",
719
+ o == "outlined" && "py-4 relative z-10"
693
720
  )
694
721
  })
695
- ), Ge = K(
722
+ ), Ye = _(
696
723
  "toolTip",
697
724
  ({ position: e, variant: t }) => ({
698
- toolTip: f(
725
+ toolTip: d(
699
726
  " pointer-events-auto w-max z-10 absolute m-1 w-max-content max-w-[312px]",
700
727
  {
701
728
  "bottom-full left-1/2 -translate-x-1/2": e == "top",
@@ -708,51 +735,51 @@ const Be = (e) => {
708
735
  "top-full left-full": e == "bottom-right"
709
736
  }
710
737
  ),
711
- container: f(
738
+ container: d(
712
739
  "pb-2",
713
740
  t == "rich" && "bg-surface-container rounded-2xl text-on-surface-container px-4 pt-3 shadow-2",
714
741
  t == "plain" && "bg-inverse-surface rounded text-inverse-on-surface px-2 py-1"
715
742
  ),
716
- actions: f(
743
+ actions: d(
717
744
  "flex gap-10 px-1 mt-2",
718
745
  t == "plain" && "hidden"
719
746
  ),
720
- subHead: f(
747
+ subHead: d(
721
748
  "text-title-small mb-1",
722
749
  t == "plain" && "hidden"
723
750
  ),
724
- supportingText: f("")
751
+ supportingText: d("")
725
752
  })
726
753
  ), Q = ({ icon: e, colors: t = [], className: r }) => {
727
754
  if (typeof e == "string") {
728
- let o = e;
729
- return t[0] && (o = o.replace(
755
+ let l = e;
756
+ return t[0] && (l = l.replace(
730
757
  /<svg([^>]*)>/,
731
758
  `<svg$1 fill="${t[0]}" color="${t[0]}">`
732
- ), o = o.replace(
759
+ ), l = l.replace(
733
760
  /<path([^>]*?)>/g,
734
761
  '<path$1 fill="currentColor">'
735
762
  )), /* @__PURE__ */ u(
736
763
  "div",
737
764
  {
738
- className: f(
765
+ className: d(
739
766
  "size-5 box-content inline-flex fill-current",
740
767
  r
741
768
  ),
742
769
  style: { color: t[0] || "inherit" },
743
- dangerouslySetInnerHTML: { __html: o }
770
+ dangerouslySetInnerHTML: { __html: l }
744
771
  }
745
772
  );
746
773
  }
747
774
  if (e && typeof e == "object" && "src" in e) {
748
- const o = e;
775
+ const l = e;
749
776
  return /* @__PURE__ */ u(
750
777
  "img",
751
778
  {
752
- src: o.src,
753
- width: o.width,
754
- height: o.height,
755
- className: f("size-5 box-content", r),
779
+ src: l.src,
780
+ width: l.width,
781
+ height: l.height,
782
+ className: d("size-5 box-content", r),
756
783
  style: {
757
784
  filter: t[0] ? "brightness(0) saturate(100%) invert(1)" : void 0
758
785
  },
@@ -761,18 +788,18 @@ const Be = (e) => {
761
788
  }
762
789
  );
763
790
  }
764
- const l = e;
765
- if (!(l != null && l.prefix))
791
+ const o = e;
792
+ if (!(o != null && o.prefix))
766
793
  throw new Error(`Invalid icon type: ${typeof e}`);
767
- const { icon: n } = l, [c, i, , , a] = n || [], d = (o) => {
768
- switch (o.length) {
794
+ const { icon: n } = o, [a, i, , , s] = n || [], f = (l) => {
795
+ switch (l.length) {
769
796
  case 2:
770
797
  return {
771
- "--fa-primary-color": o[0] || "inherit",
772
- "--fa-secondary-color": o[1] || "inherit"
798
+ "--fa-primary-color": l[0] || "inherit",
799
+ "--fa-secondary-color": l[1] || "inherit"
773
800
  };
774
801
  case 1:
775
- return { color: o[0] };
802
+ return { color: l[0] };
776
803
  default:
777
804
  return {};
778
805
  }
@@ -780,74 +807,74 @@ const Be = (e) => {
780
807
  return /* @__PURE__ */ u(
781
808
  "svg",
782
809
  {
783
- className: f("size-5 box-content", r),
784
- style: { ...d(t) },
810
+ className: d("size-5 box-content", r),
811
+ style: { ...f(t) },
785
812
  xmlns: "http://www.w3.org/2000/svg",
786
- viewBox: `0 0 ${c} ${i}`,
813
+ viewBox: `0 0 ${a} ${i}`,
787
814
  role: "img",
788
815
  "aria-hidden": "true",
789
- children: typeof a == "string" ? /* @__PURE__ */ u("path", { className: "fill-current", d: a }) : a.map((o, h) => /* @__PURE__ */ u("path", { d: o }, h))
816
+ children: typeof s == "string" ? /* @__PURE__ */ u("path", { className: "fill-current", d: s }) : s.map((l, p) => /* @__PURE__ */ u("path", { d: l }, p))
790
817
  }
791
818
  );
792
- }, Ye = ({
819
+ }, Ze = ({
793
820
  variant: e = "linear-determinate",
794
821
  value: t = 0,
795
822
  transitionDuration: r = 1e3,
796
- className: l,
823
+ className: o,
797
824
  ...n
798
825
  }) => {
799
- const [c, i] = R(t), [a] = R(1.5);
800
- P(() => {
826
+ const [a, i] = R(t), [s] = R(1.5);
827
+ $(() => {
801
828
  t > 100 && (t = 100), t < 0 && (t = 0), i(t);
802
829
  }, [t]);
803
- const [d, o] = R(!0), h = () => d ? a : a * 0.5;
804
- P(() => {
805
- if ((e === "circular-indeterminate" || e === "linear-indeterminate") && c !== 100) {
830
+ const [f, l] = R(!0), p = () => f ? s : s * 0.5;
831
+ $(() => {
832
+ if ((e === "circular-indeterminate" || e === "linear-indeterminate") && a !== 100) {
806
833
  const v = setInterval(() => {
807
- i(d ? 10 : 90), o(!d);
808
- }, h() * 1e3);
834
+ i(f ? 10 : 90), l(!f);
835
+ }, p() * 1e3);
809
836
  return () => clearInterval(v);
810
837
  }
811
- }, [e, d, c]);
812
- const [p, s] = R(!1);
813
- P(() => {
814
- if (c >= 100) {
838
+ }, [e, f, a]);
839
+ const [m, c] = R(!1);
840
+ $(() => {
841
+ if (a >= 100) {
815
842
  const v = setTimeout(() => {
816
- s(!1);
843
+ c(!1);
817
844
  }, r);
818
845
  return () => {
819
846
  clearTimeout(v);
820
847
  };
821
848
  } else
822
- s(!0);
823
- }, [c, r]);
824
- const y = Fe({
825
- className: l,
849
+ c(!0);
850
+ }, [a, r]);
851
+ const h = Fe({
852
+ className: o,
826
853
  variant: e,
827
854
  value: t,
828
855
  transitionDuration: r,
829
- isVisible: p
856
+ isVisible: m
830
857
  });
831
- return /* @__PURE__ */ U(re, { children: [
832
- (e === "linear-determinate" || e == "linear-indeterminate") && /* @__PURE__ */ U("div", { className: y.progressIndicator, ...n, children: [
858
+ return /* @__PURE__ */ D(te, { children: [
859
+ (e === "linear-determinate" || e == "linear-indeterminate") && /* @__PURE__ */ D("div", { className: h.progressIndicator, ...n, children: [
833
860
  /* @__PURE__ */ u(
834
861
  "div",
835
862
  {
836
863
  style: {
837
- width: `${c}%`,
838
- transition: `width ${r}ms ease-in-out ${c == 100 ? ", max-height 200ms 0.5s ease-in-out" : ""}`
864
+ width: `${a}%`,
865
+ transition: `width ${r}ms ease-in-out ${a == 100 ? ", max-height 200ms 0.5s ease-in-out" : ""}`
839
866
  },
840
- className: y.track
867
+ className: h.track
841
868
  }
842
869
  ),
843
870
  /* @__PURE__ */ u(
844
871
  "div",
845
872
  {
846
873
  style: {
847
- marginLeft: c != 100 ? "6px" : "0px",
848
- transition: `width ${r}ms ease-in-out ${c == 100 ? `, max-height 200ms 0.5s ease-in-out, margin-left ${r}ms ${r / 1.5}ms` : ""}`
874
+ marginLeft: a != 100 ? "6px" : "0px",
875
+ transition: `width ${r}ms ease-in-out ${a == 100 ? `, max-height 200ms 0.5s ease-in-out, margin-left ${r}ms ${r / 1.5}ms` : ""}`
849
876
  },
850
- className: y.activeIndicator
877
+ className: h.activeIndicator
851
878
  }
852
879
  ),
853
880
  /* @__PURE__ */ u(
@@ -857,12 +884,12 @@ const Be = (e) => {
857
884
  width: "4 px",
858
885
  transition: `width ${r}ms ease-in-out, max-height 200ms 0.5s ease-in-out`
859
886
  },
860
- className: y.stop
887
+ className: h.stop
861
888
  }
862
889
  )
863
890
  ] }),
864
891
  (e === "circular-determinate" || e == "circular-indeterminate") && /* @__PURE__ */ u(
865
- j.svg,
892
+ U.svg,
866
893
  {
867
894
  width: "48",
868
895
  height: "48",
@@ -871,43 +898,43 @@ const Be = (e) => {
871
898
  animate: { rotate: 270 },
872
899
  transition: {
873
900
  repeat: 1 / 0,
874
- duration: h(),
901
+ duration: p(),
875
902
  ease: "linear"
876
903
  },
877
- className: y.progressIndicator,
904
+ className: h.progressIndicator,
878
905
  ...n,
879
906
  children: /* @__PURE__ */ u(
880
- j.circle,
907
+ U.circle,
881
908
  {
882
909
  cx: "50%",
883
910
  cy: "50%",
884
- r: p ? "calc(50% - 2px)" : "50%",
911
+ r: m ? "calc(50% - 2px)" : "50%",
885
912
  style: {
886
913
  strokeLinecap: "round"
887
914
  },
888
915
  initial: "hidden",
889
916
  animate: "visible",
890
- className: y.activeIndicator,
917
+ className: h.activeIndicator,
891
918
  variants: {
892
919
  hidden: {
893
- pathLength: d ? 10 / 100 : 90 / 100
920
+ pathLength: f ? 10 / 100 : 90 / 100
894
921
  },
895
922
  visible: {
896
- pathLength: d ? 90 / 100 : 10 / 100
923
+ pathLength: f ? 90 / 100 : 10 / 100
897
924
  }
898
925
  },
899
926
  transition: {
900
927
  pathLength: {
901
928
  type: "tween",
902
929
  ease: "linear",
903
- duration: h(),
930
+ duration: p(),
904
931
  bounce: 0
905
932
  }
906
933
  }
907
934
  }
908
935
  )
909
936
  },
910
- d + ""
937
+ f + ""
911
938
  )
912
939
  ] });
913
940
  }, ne = ({
@@ -931,36 +958,36 @@ const Be = (e) => {
931
958
  borderRadius: { duration: 0.3, delay: 0.3 }
932
959
  }
933
960
  }
934
- }, [l, n] = R(!0), [c, i] = R(!1), [a, d] = R({ x: 0, y: 0 });
935
- P(() => {
936
- c && (n(!0), n(!1));
937
- }, [c]), P(() => {
938
- const s = t == null ? void 0 : t.current;
939
- if (s)
940
- return s.addEventListener("mousedown", o), s.addEventListener("mouseup", p), s.addEventListener("mouseleave", h), () => {
941
- s.removeEventListener("mousedown", o), s.removeEventListener("mouseup", p), s.removeEventListener("mouseleave", h);
961
+ }, [o, n] = R(!0), [a, i] = R(!1), [s, f] = R({ x: 0, y: 0 });
962
+ $(() => {
963
+ a && (n(!0), n(!1));
964
+ }, [a]), $(() => {
965
+ const c = t == null ? void 0 : t.current;
966
+ if (c)
967
+ return c.addEventListener("mousedown", l), c.addEventListener("mouseup", m), c.addEventListener("mouseleave", p), () => {
968
+ c.removeEventListener("mousedown", l), c.removeEventListener("mouseup", m), c.removeEventListener("mouseleave", p);
942
969
  };
943
970
  }, [t]);
944
- const o = (s) => {
945
- const y = t == null ? void 0 : t.current, v = y.getBoundingClientRect();
946
- i(!0), d({
947
- x: (s.clientX - v.left) / y.clientWidth * 100,
948
- y: (s.clientY - v.top) / y.clientHeight * 100
971
+ const l = (c) => {
972
+ const h = t == null ? void 0 : t.current, v = h.getBoundingClientRect();
973
+ i(!0), f({
974
+ x: (c.clientX - v.left) / h.clientWidth * 100,
975
+ y: (c.clientY - v.top) / h.clientHeight * 100
949
976
  });
950
- }, h = (s) => {
977
+ }, p = (c) => {
951
978
  i(!1);
952
- }, p = (s) => {
979
+ }, m = (c) => {
953
980
  i(!1);
954
981
  };
955
- return /* @__PURE__ */ u(z, { mode: "wait", children: (c || !c && !l) && /* @__PURE__ */ u(
956
- j.div,
982
+ return /* @__PURE__ */ u(A, { mode: "wait", children: (a || !a && !o) && /* @__PURE__ */ u(
983
+ U.div,
957
984
  {
958
985
  style: {
959
986
  position: "absolute",
960
987
  width: "100%",
961
988
  height: "100%",
962
- top: a.y + "%",
963
- left: a.x + "%",
989
+ top: s.y + "%",
990
+ left: s.x + "%",
964
991
  background: `color-mix(in srgb, var(--color-${e}) 12%, transparent)`,
965
992
  pointerEvents: "none"
966
993
  },
@@ -972,10 +999,10 @@ const Be = (e) => {
972
999
  className: "transform -translate-x-1/2 -translate-y-1/2"
973
1000
  }
974
1001
  ) });
975
- }, Ze = K(
1002
+ }, Je = _(
976
1003
  "customScroll",
977
1004
  ({ orientation: e, draggable: t, isDragging: r }) => ({
978
- customScroll: f(
1005
+ customScroll: d(
979
1006
  "flex h-full w-full",
980
1007
  t && [
981
1008
  "[&::-webkit-scrollbar-track]:rounded-full",
@@ -995,160 +1022,160 @@ const Be = (e) => {
995
1022
  "cursor-grabbing": t && r
996
1023
  }
997
1024
  ),
998
- track: f("overflow-hidden flex-none sticky", {
1025
+ track: d("overflow-hidden flex-none sticky", {
999
1026
  "left-0 h-full": e === "horizontal",
1000
1027
  "top-0 w-full": e === "vertical"
1001
1028
  })
1002
1029
  })
1003
- ), he = ({
1030
+ ), ge = ({
1004
1031
  children: e,
1005
1032
  orientation: t = "vertical",
1006
1033
  scrollSize: r,
1007
- onScroll: l,
1034
+ onScroll: o,
1008
1035
  className: n,
1009
- draggable: c = !1,
1036
+ draggable: a = !1,
1010
1037
  throttleDuration: i = 75
1011
1038
  }) => {
1012
1039
  var W, F;
1013
- const a = V(null), d = V(null), [o, h] = R({
1040
+ const s = j(null), f = j(null), [l, p] = R({
1014
1041
  width: null,
1015
1042
  height: null
1016
1043
  });
1017
- P(() => {
1018
- if (!a.current) return;
1019
- const C = new ResizeObserver((H) => {
1020
- for (const X of H)
1021
- X.target === a.current && h({
1022
- width: X.contentRect.width,
1023
- height: X.contentRect.height
1044
+ $(() => {
1045
+ if (!s.current) return;
1046
+ const S = new ResizeObserver((X) => {
1047
+ for (const H of X)
1048
+ H.target === s.current && p({
1049
+ width: H.contentRect.width,
1050
+ height: H.contentRect.height
1024
1051
  // On observe aussi la hauteur maintenant
1025
1052
  });
1026
1053
  });
1027
- return C.observe(a.current), () => {
1028
- C.disconnect();
1054
+ return S.observe(s.current), () => {
1055
+ S.disconnect();
1029
1056
  };
1030
- }, [a]);
1031
- const p = V(null), s = V(null), y = () => {
1032
- const C = d.current;
1033
- return C ? {
1034
- width: r ?? C.scrollWidth,
1035
- height: r ?? C.scrollHeight
1057
+ }, [s]);
1058
+ const m = j(null), c = j(null), h = () => {
1059
+ const S = f.current;
1060
+ return S ? {
1061
+ width: r ?? S.scrollWidth,
1062
+ height: r ?? S.scrollHeight
1036
1063
  } : null;
1037
1064
  }, v = () => {
1038
- const C = a.current;
1039
- return C ? {
1040
- width: C.clientWidth,
1041
- height: C.clientHeight
1065
+ const S = s.current;
1066
+ return S ? {
1067
+ width: S.clientWidth,
1068
+ height: S.clientHeight
1042
1069
  // Correction ici pour retourner la bonne hauteur
1043
1070
  } : null;
1044
- }, { scrollYProgress: N, scrollXProgress: L } = Ne({
1045
- container: a
1046
- }), I = V(null);
1047
- I.current || (I.current = Ie(
1071
+ }, { scrollYProgress: b, scrollXProgress: L } = Ie({
1072
+ container: s
1073
+ }), I = j(null);
1074
+ I.current || (I.current = Ee(
1048
1075
  i,
1049
- (C, H) => {
1050
- !s.current || !p.current || l && (t === "horizontal" && H === "x" && l({
1051
- scrollProgress: C,
1052
- scroll: C * p.current.width,
1053
- scrollTotal: p.current.width,
1054
- scrollVisible: s.current.width
1055
- }), t === "vertical" && H === "y" && l({
1056
- scrollProgress: C,
1057
- scroll: C * p.current.height,
1058
- scrollTotal: p.current.height,
1059
- scrollVisible: s.current.height
1076
+ (S, X) => {
1077
+ !c.current || !m.current || o && (t === "horizontal" && X === "x" && o({
1078
+ scrollProgress: S,
1079
+ scroll: S * m.current.width,
1080
+ scrollTotal: m.current.width,
1081
+ scrollVisible: c.current.width
1082
+ }), t === "vertical" && X === "y" && o({
1083
+ scrollProgress: S,
1084
+ scroll: S * m.current.height,
1085
+ scrollTotal: m.current.height,
1086
+ scrollVisible: c.current.height
1060
1087
  }));
1061
1088
  }
1062
1089
  ));
1063
- const w = (C, H) => {
1064
- I.current && I.current(C, H);
1090
+ const w = (S, X) => {
1091
+ I.current && I.current(S, X);
1065
1092
  };
1066
- P(() => {
1067
- o.width && w(L.get(), "x"), o.height && w(N.get(), "y");
1068
- }, [o]), se(L, "change", (C) => {
1069
- w(C, "x");
1070
- }), se(N, "change", (C) => {
1071
- w(C, "y");
1093
+ $(() => {
1094
+ l.width && w(L.get(), "x"), l.height && w(b.get(), "y");
1095
+ }, [l]), se(L, "change", (S) => {
1096
+ w(S, "x");
1097
+ }), se(b, "change", (S) => {
1098
+ w(S, "y");
1072
1099
  });
1073
- const [B, b] = R(!1);
1074
- fe(() => {
1075
- B || !s.current || !p.current || !l || (l({
1100
+ const [B, N] = R(!1);
1101
+ pe(() => {
1102
+ B || !c.current || !m.current || !o || (o({
1076
1103
  scrollProgress: 0,
1077
1104
  scroll: 0,
1078
- scrollTotal: t == "vertical" ? p.current.height : p.current.width,
1079
- scrollVisible: t == "vertical" ? s.current.height : s.current.width
1080
- }), b(!0));
1081
- }, [s, p, l]), p.current = y(), s.current = v();
1082
- const [E, M] = R(!1), D = Ze({
1105
+ scrollTotal: t == "vertical" ? m.current.height : m.current.width,
1106
+ scrollVisible: t == "vertical" ? c.current.height : c.current.width
1107
+ }), N(!0));
1108
+ }, [c, m, o]), m.current = h(), c.current = v();
1109
+ const [E, C] = R(!1), V = Je({
1083
1110
  isDragging: E,
1084
1111
  children: e,
1085
1112
  className: n,
1086
- onScroll: l,
1113
+ onScroll: o,
1087
1114
  orientation: t,
1088
1115
  scrollSize: r,
1089
- draggable: c,
1116
+ draggable: a,
1090
1117
  throttleDuration: i
1091
- }), [$, k] = R(0), [m, S] = R(0), O = (C) => {
1092
- if (!c) return;
1093
- const H = a.current;
1094
- if (!H || $ == null) return;
1095
- const J = (C.pageX - H.offsetLeft - $) * 1.5;
1096
- H.scrollLeft = m - J;
1097
- }, _ = (C) => {
1098
- const H = a.current;
1099
- H && (M(!0), k(C.pageX - H.offsetLeft), S(H.scrollLeft));
1100
- }, Z = (C) => {
1101
- E && (C.preventDefault(), O(C));
1118
+ }), [P, k] = R(0), [y, M] = R(0), O = (S) => {
1119
+ if (!a) return;
1120
+ const X = s.current;
1121
+ if (!X || P == null) return;
1122
+ const J = (S.pageX - X.offsetLeft - P) * 1.5;
1123
+ X.scrollLeft = y - J;
1124
+ }, K = (S) => {
1125
+ const X = s.current;
1126
+ X && (C(!0), k(S.pageX - X.offsetLeft), M(X.scrollLeft));
1127
+ }, Z = (S) => {
1128
+ E && (S.preventDefault(), O(S));
1102
1129
  }, q = () => {
1103
- M(!1);
1104
- }, A = () => {
1105
- M(!1);
1106
- }, g = (C) => {
1107
- C.preventDefault();
1108
- }, x = V(null);
1109
- return P(() => () => {
1130
+ C(!1);
1131
+ }, z = () => {
1132
+ C(!1);
1133
+ }, g = (S) => {
1134
+ S.preventDefault();
1135
+ }, x = j(null);
1136
+ return $(() => () => {
1110
1137
  x.current && clearTimeout(x.current);
1111
- }, []), /* @__PURE__ */ U(
1138
+ }, []), /* @__PURE__ */ D(
1112
1139
  "div",
1113
1140
  {
1114
- className: D.customScroll,
1115
- ref: a,
1116
- onMouseDown: _,
1141
+ className: V.customScroll,
1142
+ ref: s,
1143
+ onMouseDown: K,
1117
1144
  onMouseMove: Z,
1118
1145
  onMouseUp: q,
1119
- onMouseLeave: A,
1146
+ onMouseLeave: z,
1120
1147
  onDragStart: g,
1121
- onScroll: (C) => {
1122
- E || (k(null), M(!0), x.current && clearTimeout(x.current), x.current = setTimeout(() => {
1123
- M(!1);
1148
+ onScroll: (S) => {
1149
+ E || (k(null), C(!0), x.current && clearTimeout(x.current), x.current = setTimeout(() => {
1150
+ C(!1);
1124
1151
  }, 1e3));
1125
1152
  },
1126
1153
  children: [
1127
1154
  /* @__PURE__ */ u(
1128
1155
  "div",
1129
1156
  {
1130
- ref: d,
1131
- style: t === "vertical" ? { height: ((W = s == null ? void 0 : s.current) == null ? void 0 : W.height) ?? "100%" } : { width: ((F = s == null ? void 0 : s.current) == null ? void 0 : F.width) ?? "100%" },
1132
- className: D.track,
1157
+ ref: f,
1158
+ style: t === "vertical" ? { height: ((W = c == null ? void 0 : c.current) == null ? void 0 : W.height) ?? "100%" } : { width: ((F = c == null ? void 0 : c.current) == null ? void 0 : F.width) ?? "100%" },
1159
+ className: V.track,
1133
1160
  children: e
1134
1161
  }
1135
1162
  ),
1136
- s.current && p.current && /* @__PURE__ */ U(re, { children: [
1137
- t === "vertical" && p.current.height > s.current.height && /* @__PURE__ */ u(
1138
- j.div,
1163
+ c.current && m.current && /* @__PURE__ */ D(te, { children: [
1164
+ t === "vertical" && m.current.height > c.current.height && /* @__PURE__ */ u(
1165
+ U.div,
1139
1166
  {
1140
1167
  className: "flex-none",
1141
1168
  style: {
1142
- height: p.current.height - s.current.height
1169
+ height: m.current.height - c.current.height
1143
1170
  }
1144
1171
  }
1145
1172
  ),
1146
- t === "horizontal" && p.current.width > s.current.width && /* @__PURE__ */ u(
1147
- j.div,
1173
+ t === "horizontal" && m.current.width > c.current.width && /* @__PURE__ */ u(
1174
+ U.div,
1148
1175
  {
1149
1176
  className: "flex-none",
1150
1177
  style: {
1151
- width: p.current.width - s.current.width
1178
+ width: m.current.width - c.current.width
1152
1179
  }
1153
1180
  }
1154
1181
  )
@@ -1156,139 +1183,140 @@ const Be = (e) => {
1156
1183
  ]
1157
1184
  }
1158
1185
  );
1159
- }, bt = ({
1186
+ }, Lt = ({
1160
1187
  children: e,
1161
1188
  transition: t = ".5s",
1162
1189
  orientation: r = "vertical",
1163
- throttleDuration: l = 25,
1190
+ throttleDuration: o = 25,
1164
1191
  ...n
1165
1192
  }) => {
1166
- const [c, i] = R(null), a = me((c == null ? void 0 : c.scrollProgress) ?? 0), d = oe(
1167
- a,
1193
+ const [a, i] = R(null), s = he((a == null ? void 0 : a.scrollProgress) ?? 0), f = oe(
1194
+ s,
1168
1195
  [0, 1],
1169
- [0, 1 - ((c == null ? void 0 : c.scrollVisible) ?? 0) / ((c == null ? void 0 : c.scrollTotal) ?? 0)]
1170
- ), o = oe(
1171
- d,
1172
- (s) => `${-s * 100}%`
1173
- ), h = (s) => {
1174
- a.set(s.scrollProgress), s.scrollTotal > 0 && i(s);
1175
- }, p = V(null);
1176
- return se(o, "change", (s) => {
1177
- const y = performance.now();
1178
- if (p.current !== null) {
1179
- const v = y - p.current;
1196
+ [0, 1 - ((a == null ? void 0 : a.scrollVisible) ?? 0) / ((a == null ? void 0 : a.scrollTotal) ?? 0)]
1197
+ ), l = oe(
1198
+ f,
1199
+ (c) => `${-c * 100}%`
1200
+ ), p = (c) => {
1201
+ s.set(c.scrollProgress), c.scrollTotal > 0 && i(c);
1202
+ }, m = j(null);
1203
+ return se(l, "change", (c) => {
1204
+ const h = performance.now();
1205
+ if (m.current !== null) {
1206
+ const v = h - m.current;
1180
1207
  console.log(`Delta temps : ${v} ms`);
1181
1208
  }
1182
- p.current = y, console.log(s);
1209
+ m.current = h, console.log(c);
1183
1210
  }), /* @__PURE__ */ u(
1184
- he,
1211
+ ge,
1185
1212
  {
1186
- onScroll: h,
1187
- throttleDuration: l,
1213
+ onScroll: p,
1214
+ throttleDuration: o,
1188
1215
  ...n,
1189
1216
  children: /* @__PURE__ */ u(
1190
- j.div,
1217
+ U.div,
1191
1218
  {
1192
- className: f("transition-transform ease-out", {
1219
+ className: d("transition-transform ease-out", {
1193
1220
  "w-fit h-full": r === "horizontal",
1194
1221
  "h-fit w-full": r === "vertical"
1195
1222
  }),
1196
1223
  style: {
1197
1224
  transitionDuration: t,
1198
- ...r == "vertical" ? { y: o } : { x: o }
1225
+ ...r == "vertical" ? { y: l } : { x: l }
1199
1226
  },
1200
1227
  children: e
1201
1228
  }
1202
1229
  )
1203
1230
  }
1204
1231
  );
1205
- }, Je = ({
1232
+ }, Qe = ({
1206
1233
  targetRef: e,
1207
1234
  children: t
1208
1235
  }) => {
1209
- const [r, l] = R(null), n = V(null), c = () => {
1236
+ const [r, o] = R(null), n = j(null), a = () => {
1210
1237
  const i = e.current;
1211
1238
  if (!i) return;
1212
- const a = i.getBoundingClientRect();
1213
- l({
1239
+ const s = i.getBoundingClientRect();
1240
+ o({
1214
1241
  position: "fixed",
1215
- top: a.top,
1216
- left: a.left,
1217
- width: a.width,
1218
- height: a.height,
1242
+ top: s.top,
1243
+ left: s.left,
1244
+ width: s.width,
1245
+ height: s.height,
1219
1246
  pointerEvents: "none",
1220
1247
  // si le wrapper ne doit pas capter les events
1221
1248
  zIndex: 999
1222
1249
  // personnalise si besoin
1223
1250
  });
1224
1251
  };
1225
- return P(() => {
1252
+ return $(() => {
1226
1253
  const i = e.current;
1227
1254
  if (i)
1228
- return c(), window.addEventListener("scroll", c, !0), window.addEventListener("resize", c), n.current = new ResizeObserver(c), n.current.observe(i), () => {
1229
- var a;
1230
- window.removeEventListener("scroll", c, !0), window.removeEventListener("resize", c), (a = n.current) == null || a.disconnect();
1255
+ return a(), window.addEventListener("scroll", a, !0), window.addEventListener("resize", a), n.current = new ResizeObserver(a), n.current.observe(i), () => {
1256
+ var s;
1257
+ window.removeEventListener("scroll", a, !0), window.removeEventListener("resize", a), (s = n.current) == null || s.disconnect();
1231
1258
  };
1232
- }, [e]), r ? Ee(/* @__PURE__ */ u("div", { style: r, children: t }), document.body) : null;
1259
+ }, [e]), r ? ye(/* @__PURE__ */ u("div", { style: r, children: t }), document.body) : null;
1233
1260
  };
1234
- function Qe(e) {
1261
+ function Ae(e) {
1235
1262
  return /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e);
1236
1263
  }
1237
- const Lt = ({
1264
+ const It = ({
1238
1265
  config: e,
1239
- throttleDelay: t = 100
1266
+ throttleDelay: t = 100,
1240
1267
  // Délai par défaut de 300ms
1268
+ onLoad: r
1241
1269
  }) => {
1242
- const [r, l] = R(null), [n, c] = R(null), i = V(null), a = V(e.sourceColor), d = V(!0);
1243
- P(() => {
1244
- if (d.current) {
1245
- d.current = !1, a.current = e.sourceColor, o(e.sourceColor);
1270
+ const [o, n] = R(null), a = j(null), i = j(e.sourceColor), s = j(!0);
1271
+ $(() => {
1272
+ if (s.current) {
1273
+ s.current = !1, i.current = e.sourceColor, f(e.sourceColor);
1246
1274
  return;
1247
1275
  }
1248
- if (e.sourceColor !== a.current)
1249
- return i.current && clearTimeout(i.current), i.current = setTimeout(() => {
1250
- a.current = e.sourceColor, o(e.sourceColor), i.current = null;
1276
+ if (e.sourceColor !== i.current)
1277
+ return a.current && clearTimeout(a.current), a.current = setTimeout(async () => {
1278
+ i.current = e.sourceColor, await f(e.sourceColor), a.current = null;
1251
1279
  }, t), () => {
1252
- i.current && (clearTimeout(i.current), i.current = null);
1280
+ a.current && (clearTimeout(a.current), a.current = null);
1253
1281
  };
1254
1282
  }, [e.sourceColor, t]);
1255
- const o = async (h) => {
1256
- if (!Qe(h)) {
1257
- l("Invalid hex color");
1258
- return;
1259
- }
1260
- l(null);
1283
+ const f = async (l) => {
1284
+ if (!Ae(l))
1285
+ throw new Error("Invalid hex color");
1261
1286
  try {
1262
- const p = await ke(e);
1263
- p.themes.update({
1264
- sourceColorHex: h
1265
- }), await p.load();
1266
- const s = p.plugins.getPlugin(Ce).getInstance().outputCss;
1267
- s && c(s);
1287
+ const p = await ke({
1288
+ ...e,
1289
+ sourceColor: l
1290
+ });
1291
+ r == null || r(p);
1292
+ const m = p.plugins.getPlugin(Se).getInstance().outputCss;
1293
+ m && n(m);
1268
1294
  } catch (p) {
1269
- l(p instanceof Error ? p.message : "Theme loading failed");
1295
+ throw new Error(
1296
+ p instanceof Error ? p.message : "Theme loading failed"
1297
+ );
1270
1298
  }
1271
1299
  };
1272
- return P(() => () => {
1273
- i.current && clearTimeout(i.current);
1274
- }, []), r ? null : n ? /* @__PURE__ */ u("style", { dangerouslySetInnerHTML: { __html: n } }) : (console.error("ThemeProvider null"), null);
1275
- }, Ae = ({
1300
+ return $(() => () => {
1301
+ a.current && clearTimeout(a.current);
1302
+ }, []), o ? /* @__PURE__ */ u("style", { dangerouslySetInnerHTML: { __html: o } }) : null;
1303
+ }, ze = ({
1276
1304
  variant: e = "filled",
1277
1305
  disabled: t = !1,
1278
1306
  icon: r,
1279
- href: l,
1307
+ href: o,
1280
1308
  label: n,
1281
- disableTextMargins: c,
1309
+ disableTextMargins: a,
1282
1310
  className: i,
1283
- iconPosition: a = "left",
1284
- loading: d = !1,
1285
- shape: o = "rounded",
1286
- onClick: h,
1287
- onToggle: p,
1288
- activated: s,
1289
- ref: y,
1311
+ iconPosition: s = "left",
1312
+ loading: f = !1,
1313
+ shape: l = "rounded",
1314
+ onClick: p,
1315
+ onToggle: m,
1316
+ activated: c,
1317
+ ref: h,
1290
1318
  size: v = "medium",
1291
- allowShapeTransformation: N = !0,
1319
+ allowShapeTransformation: b = !0,
1292
1320
  transition: L,
1293
1321
  children: I,
1294
1322
  ...w
@@ -1297,47 +1325,47 @@ const Lt = ({
1297
1325
  throw new Error(
1298
1326
  "Button component requires either a label prop or children content"
1299
1327
  );
1300
- const B = l ? "a" : "button", b = V(null), E = y || b, [M, D] = Y.useState(s);
1301
- P(() => {
1302
- D(s);
1303
- }, [s]), L = { duration: 0.3, ...L };
1304
- let $;
1305
- p ? p && ($ = (S) => {
1306
- t && S.preventDefault();
1307
- const O = !M;
1308
- D(O), p(O);
1309
- }) : $ = (S) => {
1310
- t && S.preventDefault(), h && h(S);
1328
+ const B = o ? "a" : "button", N = j(null), E = h || N, [C, V] = Y.useState(c);
1329
+ $(() => {
1330
+ V(c);
1331
+ }, [c]), L = { duration: 0.3, ...L };
1332
+ let P;
1333
+ m ? m && (P = (M) => {
1334
+ t && M.preventDefault();
1335
+ const O = !C;
1336
+ V(O), m(O);
1337
+ }) : P = (M) => {
1338
+ t && M.preventDefault(), p && p(M);
1311
1339
  };
1312
- const k = Pe({
1313
- allowShapeTransformation: N,
1340
+ const k = $e({
1341
+ allowShapeTransformation: b,
1314
1342
  size: v,
1315
- disableTextMargins: c,
1316
- shape: o,
1317
- href: l,
1343
+ disableTextMargins: a,
1344
+ shape: l,
1345
+ href: o,
1318
1346
  disabled: t,
1319
1347
  icon: r,
1320
- iconPosition: a,
1321
- loading: d,
1348
+ iconPosition: s,
1349
+ loading: f,
1322
1350
  variant: e,
1323
1351
  transition: L,
1324
1352
  className: i,
1325
- isActive: M ?? !1,
1326
- onToggle: p,
1327
- activated: M,
1353
+ isActive: C ?? !1,
1354
+ onToggle: m,
1355
+ activated: C,
1328
1356
  label: n,
1329
1357
  children: n
1330
- }), m = r ? /* @__PURE__ */ u(Q, { icon: r, className: k.icon }) : /* @__PURE__ */ u(re, {});
1331
- return /* @__PURE__ */ U(
1358
+ }), y = r ? /* @__PURE__ */ u(Q, { icon: r, className: k.icon }) : /* @__PURE__ */ u(te, {});
1359
+ return /* @__PURE__ */ D(
1332
1360
  B,
1333
1361
  {
1334
1362
  ref: E,
1335
- href: l,
1363
+ href: o,
1336
1364
  className: k.button,
1337
1365
  ...w,
1338
- onClick: $,
1366
+ onClick: P,
1339
1367
  disabled: t,
1340
- "aria-pressed": p ? M : void 0,
1368
+ "aria-pressed": m ? C : void 0,
1341
1369
  style: { transition: L.duration + "s" },
1342
1370
  children: [
1343
1371
  /* @__PURE__ */ u("div", { className: k.touchTarget }),
@@ -1349,23 +1377,23 @@ const Lt = ({
1349
1377
  children: !t && /* @__PURE__ */ u(
1350
1378
  ne,
1351
1379
  {
1352
- colorName: e === "filled" && p && "on-surface-variant" || e === "filled" && !p && "on-primary" || e === "elevated" && "primary" || e === "tonal" && "on-secondary-container" || e === "outlined" && "primary" || e === "text" && "primary" || "",
1380
+ colorName: e === "filled" && m && "on-surface-variant" || e === "filled" && !m && "on-primary" || e === "elevated" && "primary" || e === "tonal" && "on-secondary-container" || e === "outlined" && "primary" || e === "text" && "primary" || "",
1353
1381
  triggerRef: E
1354
1382
  }
1355
1383
  )
1356
1384
  }
1357
1385
  ),
1358
- a === "left" && m,
1359
- d && /* @__PURE__ */ u(
1386
+ s === "left" && y,
1387
+ f && /* @__PURE__ */ u(
1360
1388
  "div",
1361
1389
  {
1362
1390
  className: "!absolute left-1/2 -translate-x-1/2 top-1/2 -translate-y-1/2",
1363
1391
  children: /* @__PURE__ */ u(
1364
- Ye,
1392
+ Ze,
1365
1393
  {
1366
1394
  className: () => ({
1367
1395
  progressIndicator: "h-6 w-6",
1368
- activeIndicator: f(
1396
+ activeIndicator: d(
1369
1397
  {
1370
1398
  "!stroke-primary": e === "elevated" && !t,
1371
1399
  "!stroke-on-surface/[38%]": e === "elevated" && t
@@ -1394,108 +1422,108 @@ const Lt = ({
1394
1422
  }
1395
1423
  ),
1396
1424
  /* @__PURE__ */ u("span", { className: k.label, children: n }),
1397
- a === "right" && m
1425
+ s === "right" && y
1398
1426
  ]
1399
1427
  }
1400
1428
  );
1401
- }, Nt = ({
1429
+ }, Et = ({
1402
1430
  variant: e = "outlined",
1403
1431
  className: t,
1404
1432
  children: r,
1405
- isInteractive: l = !1,
1433
+ isInteractive: o = !1,
1406
1434
  ref: n,
1407
- ...c
1435
+ ...a
1408
1436
  }) => {
1409
- const i = $e({ className: t, isInteractive: l, variant: e, children: r }), a = V(null), d = n || a;
1410
- return /* @__PURE__ */ U("div", { ...c, ref: d, className: i.card, children: [
1411
- /* @__PURE__ */ u("div", { className: i.stateLayer, children: l && /* @__PURE__ */ u(ne, { colorName: "on-surface", triggerRef: d }) }),
1437
+ const i = Pe({ className: t, isInteractive: o, variant: e, children: r }), s = j(null), f = n || s;
1438
+ return /* @__PURE__ */ D("div", { ...a, ref: f, className: i.card, children: [
1439
+ /* @__PURE__ */ u("div", { className: i.stateLayer, children: o && /* @__PURE__ */ u(ne, { colorName: "on-surface", triggerRef: f }) }),
1412
1440
  r
1413
1441
  ] });
1414
- }, ze = (e, t, r = [0, 1]) => {
1415
- const [l, n] = t, [c, i] = r, d = (Math.max(l, Math.min(e, n)) - l) / (n - l);
1416
- return c + d * (i - c);
1417
- }, Te = ({
1442
+ }, Te = (e, t, r = [0, 1]) => {
1443
+ const [o, n] = t, [a, i] = r, f = (Math.max(o, Math.min(e, n)) - o) / (n - o);
1444
+ return a + f * (i - a);
1445
+ }, et = ({
1418
1446
  className: e,
1419
1447
  children: t,
1420
1448
  width: r = 1,
1421
- index: l = 0,
1449
+ index: o = 0,
1422
1450
  ref: n,
1423
- ...c
1451
+ ...a
1424
1452
  }) => {
1425
- const i = V(null), a = n || i, d = We({
1453
+ const i = j(null), s = n || i, f = We({
1426
1454
  className: e,
1427
- index: l,
1455
+ index: o,
1428
1456
  width: r,
1429
1457
  children: t
1430
1458
  });
1431
1459
  return /* @__PURE__ */ u(
1432
- j.div,
1460
+ U.div,
1433
1461
  {
1434
- ref: a,
1462
+ ref: s,
1435
1463
  animate: { width: r + "px" },
1436
1464
  transition: {
1437
1465
  duration: 0.5,
1438
1466
  ease: "linear"
1439
1467
  },
1440
- className: d.carouselItem,
1441
- ...c,
1468
+ className: f.carouselItem,
1469
+ ...a,
1442
1470
  children: t
1443
1471
  }
1444
1472
  );
1445
- }, It = ({
1473
+ }, kt = ({
1446
1474
  variant: e = "hero",
1447
1475
  className: t,
1448
1476
  children: r,
1449
- ref: l,
1477
+ ref: o,
1450
1478
  marginPourcent: n = 0,
1451
- inputRange: c = [0.21, 0.65],
1479
+ inputRange: a = [0.21, 0.65],
1452
1480
  outputRange: i = [42, 300],
1453
- gap: a = 8,
1454
- onChange: d,
1455
- scrollSensitivity: o = 1.25,
1456
- ...h
1481
+ gap: s = 8,
1482
+ onChange: f,
1483
+ scrollSensitivity: l = 1.25,
1484
+ ...p
1457
1485
  }) => {
1458
- var q, A;
1459
- const p = V(null), s = l || p, y = De({
1486
+ var q, z;
1487
+ const m = j(null), c = o || m, h = De({
1460
1488
  className: t,
1461
1489
  children: r,
1462
1490
  variant: e,
1463
- inputRange: c,
1491
+ inputRange: a,
1464
1492
  outputRange: i,
1465
1493
  marginPourcent: n,
1466
- onChange: d,
1467
- gap: a,
1468
- scrollSensitivity: o
1494
+ onChange: f,
1495
+ gap: s,
1496
+ scrollSensitivity: l
1469
1497
  }), v = Y.Children.toArray(r).filter(
1470
- (g) => Y.isValidElement(g) && g.type === Te
1471
- ), N = V(null), [L, I] = R([]), [w, B] = R(null), b = () => {
1472
- var H;
1473
- if (!N.current || !s.current || !w) return [];
1498
+ (g) => Y.isValidElement(g) && g.type === et
1499
+ ), b = j(null), [L, I] = R([]), [w, B] = R(null), N = () => {
1500
+ var X;
1501
+ if (!b.current || !c.current || !w) return [];
1474
1502
  const { scrollVisible: g, scrollProgress: x } = w;
1475
- function W(X, J) {
1476
- return X.map(
1477
- (T) => (T - J) / Math.abs(X[1] - X[0])
1503
+ function W(H, J) {
1504
+ return H.map(
1505
+ (T) => (T - J) / Math.abs(H[1] - H[0])
1478
1506
  );
1479
1507
  }
1480
- let F = v.map((X, J) => {
1481
- if (!E[J].current || !N.current) return 0;
1482
- let te = J / (v.length - 1);
1483
- return te > 1 && (te = 1), te < 0 && (te = 0), te;
1508
+ let F = v.map((H, J) => {
1509
+ if (!E[J].current || !b.current) return 0;
1510
+ let re = J / (v.length - 1);
1511
+ return re > 1 && (re = 1), re < 0 && (re = 0), re;
1484
1512
  });
1485
1513
  F = W(F, x);
1486
- let C = ((((H = s.current) == null ? void 0 : H.clientWidth) ?? g) - (i[0] + a)) / (i[1] + a);
1487
- return F.map((X, J) => ({ value: Math.abs(X), originalIndex: J })).sort((X, J) => X.value - J.value).forEach((X, J) => {
1488
- J === 0 && D(X.originalIndex);
1489
- let T = ze(C, [0, 1], [0, i[1]]);
1490
- T < i[0] && (T = i[0]), C--, F[X.originalIndex] = T;
1514
+ let S = ((((X = c.current) == null ? void 0 : X.clientWidth) ?? g) - (i[0] + s)) / (i[1] + s);
1515
+ return F.map((H, J) => ({ value: Math.abs(H), originalIndex: J })).sort((H, J) => H.value - J.value).forEach((H, J) => {
1516
+ J === 0 && V(H.originalIndex);
1517
+ let T = Te(S, [0, 1], [0, i[1]]);
1518
+ T < i[0] && (T = i[0]), S--, F[H.originalIndex] = T;
1491
1519
  }), F;
1492
- }, E = V([]).current, [M, D] = R(0);
1493
- P(() => {
1494
- d && d(M);
1495
- }, [M]), E.length !== v.length && v.forEach((g, x) => {
1520
+ }, E = j([]).current, [C, V] = R(0);
1521
+ $(() => {
1522
+ f && f(C);
1523
+ }, [C]), E.length !== v.length && v.forEach((g, x) => {
1496
1524
  E[x] || (E[x] = Y.createRef());
1497
1525
  });
1498
- const $ = v.map((g, x) => Y.cloneElement(
1526
+ const P = v.map((g, x) => Y.cloneElement(
1499
1527
  g,
1500
1528
  {
1501
1529
  width: L[x],
@@ -1503,185 +1531,185 @@ const Lt = ({
1503
1531
  key: x,
1504
1532
  index: x
1505
1533
  }
1506
- )), k = me((w == null ? void 0 : w.scrollProgress) ?? 0), m = oe(
1534
+ )), k = he((w == null ? void 0 : w.scrollProgress) ?? 0), y = oe(
1507
1535
  k,
1508
1536
  [0, 1],
1509
1537
  [
1510
1538
  0,
1511
- 1 - (((q = s.current) == null ? void 0 : q.clientWidth) ?? 0) / (((A = N == null ? void 0 : N.current) == null ? void 0 : A.clientWidth) ?? 0)
1539
+ 1 - (((q = c.current) == null ? void 0 : q.clientWidth) ?? 0) / (((z = b == null ? void 0 : b.current) == null ? void 0 : z.clientWidth) ?? 0)
1512
1540
  ]
1513
- ), S = oe(
1514
- m,
1541
+ ), M = oe(
1542
+ y,
1515
1543
  (g) => `${-g * 100}%`
1516
1544
  ), O = (g) => {
1517
1545
  g.scrollTotal > 0 && B(g);
1518
1546
  };
1519
- P(() => {
1520
- const g = b();
1547
+ $(() => {
1548
+ const g = N();
1521
1549
  I(g);
1522
1550
  }, [w]);
1523
- const [_, Z] = R(0);
1524
- return fe(() => {
1551
+ const [K, Z] = R(0);
1552
+ return pe(() => {
1525
1553
  let g = i[1];
1526
1554
  w && g > w.scrollVisible && (g = w.scrollVisible);
1527
- const x = (g + a) * $.length / o;
1555
+ const x = (g + s) * P.length / l;
1528
1556
  Z(x);
1529
- }, [s, E, w]), /* @__PURE__ */ u("div", { className: y.carousel, ref: s, ...h, children: /* @__PURE__ */ u(
1530
- he,
1557
+ }, [c, E, w]), /* @__PURE__ */ u("div", { className: h.carousel, ref: c, ...p, children: /* @__PURE__ */ u(
1558
+ ge,
1531
1559
  {
1532
1560
  draggable: !0,
1533
1561
  orientation: "horizontal",
1534
1562
  onScroll: O,
1535
- scrollSize: _,
1563
+ scrollSize: K,
1536
1564
  children: /* @__PURE__ */ u(
1537
- j.div,
1565
+ U.div,
1538
1566
  {
1539
- className: y.track,
1540
- ref: N,
1567
+ className: h.track,
1568
+ ref: b,
1541
1569
  style: {
1542
1570
  transitionDuration: "0.5s",
1543
1571
  transitionTimingFunction: "ease-out",
1544
- gap: `${a}px`,
1545
- x: S
1572
+ gap: `${s}px`,
1573
+ x: M
1546
1574
  },
1547
- children: $
1575
+ children: P
1548
1576
  }
1549
1577
  )
1550
1578
  }
1551
1579
  ) });
1552
- }, Et = ({
1580
+ }, tt = ({
1553
1581
  orientation: e = "horizontal",
1554
1582
  className: t,
1555
1583
  ...r
1556
1584
  }) => {
1557
- const l = Ve({ orientation: e, className: t });
1558
- return /* @__PURE__ */ u("hr", { className: l.divider, ...r });
1585
+ const o = Ve({ orientation: e, className: t });
1586
+ return /* @__PURE__ */ u("hr", { className: o.divider, ...r });
1559
1587
  }, G = [];
1560
1588
  for (let e = 0; e < 256; ++e)
1561
1589
  G.push((e + 256).toString(16).slice(1));
1562
- function et(e, t = 0) {
1590
+ function rt(e, t = 0) {
1563
1591
  return (G[e[t + 0]] + G[e[t + 1]] + G[e[t + 2]] + G[e[t + 3]] + "-" + G[e[t + 4]] + G[e[t + 5]] + "-" + G[e[t + 6]] + G[e[t + 7]] + "-" + G[e[t + 8]] + G[e[t + 9]] + "-" + G[e[t + 10]] + G[e[t + 11]] + G[e[t + 12]] + G[e[t + 13]] + G[e[t + 14]] + G[e[t + 15]]).toLowerCase();
1564
1592
  }
1565
1593
  let ae;
1566
- const tt = new Uint8Array(16);
1567
- function rt() {
1594
+ const nt = new Uint8Array(16);
1595
+ function lt() {
1568
1596
  if (!ae) {
1569
1597
  if (typeof crypto > "u" || !crypto.getRandomValues)
1570
1598
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
1571
1599
  ae = crypto.getRandomValues.bind(crypto);
1572
1600
  }
1573
- return ae(tt);
1601
+ return ae(nt);
1574
1602
  }
1575
- const nt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), ie = { randomUUID: nt };
1603
+ const ot = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), de = { randomUUID: ot };
1576
1604
  function ce(e, t, r) {
1577
1605
  var n;
1578
- if (ie.randomUUID && !e)
1579
- return ie.randomUUID();
1606
+ if (de.randomUUID && !e)
1607
+ return de.randomUUID();
1580
1608
  e = e || {};
1581
- const l = e.random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ?? rt();
1582
- if (l.length < 16)
1609
+ const o = e.random ?? ((n = e.rng) == null ? void 0 : n.call(e)) ?? lt();
1610
+ if (o.length < 16)
1583
1611
  throw new Error("Random bytes length must be >= 16");
1584
- return l[6] = l[6] & 15 | 64, l[8] = l[8] & 63 | 128, et(l);
1612
+ return o[6] = o[6] & 15 | 64, o[8] = o[8] & 63 | 128, rt(o);
1585
1613
  }
1586
- const ye = ({
1614
+ const we = ({
1587
1615
  variant: e = "plain",
1588
1616
  buttons: t,
1589
1617
  className: r,
1590
- children: l,
1618
+ children: o,
1591
1619
  title: n,
1592
- text: c,
1620
+ text: a,
1593
1621
  position: i,
1594
- targetRef: a,
1595
- ref: d,
1596
- trigger: o = ["hover", "focus"],
1597
- ...h
1622
+ targetRef: s,
1623
+ ref: f,
1624
+ trigger: l = ["hover", "focus"],
1625
+ ...p
1598
1626
  }) => {
1599
- if (!l && !a)
1627
+ if (!o && !s)
1600
1628
  throw new Error("ToolTip must have a child or a targetRef");
1601
- Array.isArray(o) || (o = [o]), t && !Array.isArray(t) && (t = [t]);
1602
- const p = V(null), s = a || p, [y, v] = R(null), [N] = R(ce()), [L, I] = R(!1), w = V(null);
1603
- P(() => {
1604
- const m = (S) => {
1605
- v(S.detail);
1629
+ Array.isArray(l) || (l = [l]), t && !Array.isArray(t) && (t = [t]);
1630
+ const m = j(null), c = s || m, [h, v] = R(null), [b] = R(ce()), [L, I] = R(!1), w = j(null);
1631
+ $(() => {
1632
+ const y = (M) => {
1633
+ v(M.detail);
1606
1634
  };
1607
- return document.addEventListener("tooltip-update", m), () => {
1635
+ return document.addEventListener("tooltip-update", y), () => {
1608
1636
  document.removeEventListener(
1609
1637
  "tooltip-update",
1610
- m
1638
+ y
1611
1639
  );
1612
1640
  };
1613
- }, []), P(() => {
1614
- w.current && clearTimeout(w.current), y ? I(y === N) : w.current = setTimeout(() => {
1641
+ }, []), $(() => {
1642
+ w.current && clearTimeout(w.current), h ? I(h === b) : w.current = setTimeout(() => {
1615
1643
  I(!1);
1616
1644
  }, 1200);
1617
- }, [y, N]);
1645
+ }, [h, b]);
1618
1646
  const B = () => {
1619
- if (o.includes("hover")) {
1620
- const m = new CustomEvent("tooltip-update", { detail: N });
1621
- document.dispatchEvent(m);
1647
+ if (l.includes("hover")) {
1648
+ const y = new CustomEvent("tooltip-update", { detail: b });
1649
+ document.dispatchEvent(y);
1622
1650
  }
1623
- }, b = () => {
1624
- if (o.includes("hover")) {
1625
- const m = new CustomEvent("tooltip-update", { detail: null });
1626
- document.dispatchEvent(m);
1651
+ }, N = () => {
1652
+ if (l.includes("hover")) {
1653
+ const y = new CustomEvent("tooltip-update", { detail: null });
1654
+ document.dispatchEvent(y);
1627
1655
  }
1628
1656
  }, E = () => {
1629
- if (o.includes("click")) {
1630
- const m = new CustomEvent("tooltip-update", {
1631
- detail: L ? null : N
1657
+ if (l.includes("click")) {
1658
+ const y = new CustomEvent("tooltip-update", {
1659
+ detail: L ? null : b
1632
1660
  });
1633
- document.dispatchEvent(m);
1661
+ document.dispatchEvent(y);
1634
1662
  }
1635
- }, M = () => {
1636
- if (o.includes("focus")) {
1637
- const m = new CustomEvent("tooltip-update", { detail: N });
1638
- document.dispatchEvent(m);
1663
+ }, C = () => {
1664
+ if (l.includes("focus")) {
1665
+ const y = new CustomEvent("tooltip-update", { detail: b });
1666
+ document.dispatchEvent(y);
1639
1667
  }
1640
- }, D = () => {
1641
- if (o.includes("focus")) {
1642
- const m = new CustomEvent("tooltip-update", { detail: null });
1643
- document.dispatchEvent(m);
1668
+ }, V = () => {
1669
+ if (l.includes("focus")) {
1670
+ const y = new CustomEvent("tooltip-update", { detail: null });
1671
+ document.dispatchEvent(y);
1644
1672
  }
1645
1673
  };
1646
- P(() => {
1647
- if (s != null && s.current) {
1648
- const m = s.current;
1649
- return m.addEventListener("mouseenter", B), m.addEventListener("mouseleave", b), m.addEventListener("click", E), m.addEventListener("focus", M), m.addEventListener("blur", D), () => {
1650
- m.removeEventListener("mouseenter", B), m.removeEventListener("mouseleave", b), m.removeEventListener("click", E), m.removeEventListener("focus", M), m.removeEventListener("blur", D);
1674
+ $(() => {
1675
+ if (c != null && c.current) {
1676
+ const y = c.current;
1677
+ return y.addEventListener("mouseenter", B), y.addEventListener("mouseleave", N), y.addEventListener("click", E), y.addEventListener("focus", C), y.addEventListener("blur", V), () => {
1678
+ y.removeEventListener("mouseenter", B), y.removeEventListener("mouseleave", N), y.removeEventListener("click", E), y.removeEventListener("focus", C), y.removeEventListener("blur", V);
1651
1679
  };
1652
1680
  }
1653
- }, [s, o, N, L]);
1654
- const $ = !a && ee(l) ? le(l, { ref: p }) : l;
1655
- if (!i && typeof window < "u" && s != null && s.current && !i) {
1656
- const m = s.current.getBoundingClientRect(), S = window.innerWidth, O = window.innerHeight, _ = m.left / S, Z = m.top / O;
1657
- e === "plain" ? _ < 1 / 3 ? i = "right" : _ > 2 / 3 ? i = "left" : i = Z > 0.5 ? "top" : "bottom" : _ < 1 / 2 && Z < 1 / 2 ? i = "bottom-right" : _ > 1 / 2 && Z < 1 / 2 ? i = "bottom-left" : _ > 1 / 2 && Z > 1 / 2 ? i = "top-left" : _ < 1 / 2 && Z > 1 / 2 && (i = "top-right");
1681
+ }, [c, l, b, L]);
1682
+ const P = !s && ee(o) ? le(o, { ref: m }) : o;
1683
+ if (!i && typeof window < "u" && c != null && c.current && !i) {
1684
+ const y = c.current.getBoundingClientRect(), M = window.innerWidth, O = window.innerHeight, K = y.left / M, Z = y.top / O;
1685
+ e === "plain" ? K < 1 / 3 ? i = "right" : K > 2 / 3 ? i = "left" : i = Z > 0.5 ? "top" : "bottom" : K < 1 / 2 && Z < 1 / 2 ? i = "bottom-right" : K > 1 / 2 && Z < 1 / 2 ? i = "bottom-left" : K > 1 / 2 && Z > 1 / 2 ? i = "top-left" : K < 1 / 2 && Z > 1 / 2 && (i = "top-right");
1658
1686
  }
1659
- const k = Ge({
1687
+ const k = Ye({
1660
1688
  variant: e,
1661
1689
  buttons: t,
1662
1690
  className: r,
1663
1691
  title: n,
1664
- text: c,
1692
+ text: a,
1665
1693
  position: i,
1666
- trigger: o,
1667
- targetRef: a,
1668
- children: l
1694
+ trigger: l,
1695
+ targetRef: s,
1696
+ children: o
1669
1697
  });
1670
- return /* @__PURE__ */ U(re, { children: [
1671
- $,
1672
- /* @__PURE__ */ u(z, { children: L && /* @__PURE__ */ u(Je, { targetRef: s, children: /* @__PURE__ */ u(
1673
- j.div,
1698
+ return /* @__PURE__ */ D(te, { children: [
1699
+ P,
1700
+ /* @__PURE__ */ u(A, { children: L && /* @__PURE__ */ u(Qe, { targetRef: c, children: /* @__PURE__ */ u(
1701
+ U.div,
1674
1702
  {
1675
- initial: { opacity: y ? 1 : 0 },
1703
+ initial: { opacity: h ? 1 : 0 },
1676
1704
  animate: { opacity: 1 },
1677
- transition: { duration: y ? 0 : 0.3 },
1678
- exit: { opacity: y ? 1 : 0 },
1705
+ transition: { duration: h ? 0 : 0.3 },
1706
+ exit: { opacity: h ? 1 : 0 },
1679
1707
  className: k.toolTip,
1680
- ...h,
1708
+ ...p,
1681
1709
  onMouseEnter: B,
1682
- onMouseLeave: b,
1683
- children: /* @__PURE__ */ U(
1684
- j.div,
1710
+ onMouseLeave: N,
1711
+ children: /* @__PURE__ */ D(
1712
+ U.div,
1685
1713
  {
1686
1714
  className: k.container,
1687
1715
  layoutId: "tool-tip",
@@ -1692,15 +1720,15 @@ const ye = ({
1692
1720
  },
1693
1721
  children: [
1694
1722
  n && /* @__PURE__ */ u("div", { className: k.subHead, children: n }),
1695
- /* @__PURE__ */ u("div", { className: k.supportingText, children: c }),
1696
- t && /* @__PURE__ */ u("div", { className: k.actions, children: Array.isArray(t) && t.map((m, S) => /* @__PURE__ */ u(
1697
- Ae,
1723
+ /* @__PURE__ */ u("div", { className: k.supportingText, children: a }),
1724
+ t && /* @__PURE__ */ u("div", { className: k.actions, children: Array.isArray(t) && t.map((y, M) => /* @__PURE__ */ u(
1725
+ ze,
1698
1726
  {
1699
1727
  size: "small",
1700
1728
  variant: "text",
1701
- ...m
1729
+ ...y
1702
1730
  },
1703
- S
1731
+ M
1704
1732
  )) })
1705
1733
  ]
1706
1734
  }
@@ -1708,46 +1736,46 @@ const ye = ({
1708
1736
  }
1709
1737
  ) }) })
1710
1738
  ] });
1711
- }, ue = ({
1739
+ }, fe = ({
1712
1740
  className: e,
1713
1741
  label: t,
1714
1742
  variant: r = "primary",
1715
- size: l = "medium",
1743
+ size: o = "medium",
1716
1744
  href: n,
1717
- type: c,
1745
+ type: a,
1718
1746
  icon: i,
1719
- isExtended: a = !1,
1720
- ref: d,
1721
- transition: o,
1722
- children: h,
1723
- ...p
1747
+ isExtended: s = !1,
1748
+ ref: f,
1749
+ transition: l,
1750
+ children: p,
1751
+ ...m
1724
1752
  }) => {
1725
- if (h && (t = h), !t)
1753
+ if (p && (t = p), !t)
1726
1754
  throw new Error(
1727
1755
  "FAB component requires either a label prop or children content"
1728
1756
  );
1729
- const s = n ? "a" : "button", y = Ue({
1757
+ const c = n ? "a" : "button", h = je({
1730
1758
  href: n,
1731
1759
  icon: i,
1732
- isExtended: a,
1760
+ isExtended: s,
1733
1761
  label: t,
1734
- size: l,
1762
+ size: o,
1735
1763
  variant: r,
1736
1764
  className: e,
1737
- transition: o,
1765
+ transition: l,
1738
1766
  children: t
1739
1767
  });
1740
- o = { duration: 0.3, ...o };
1741
- const v = V(null), N = d || v, L = {
1768
+ l = { duration: 0.3, ...l };
1769
+ const v = j(null), b = f || v, L = {
1742
1770
  visible: {
1743
1771
  width: "auto",
1744
1772
  marginLeft: 12,
1745
1773
  opacity: 1,
1746
1774
  transition: {
1747
- ...o,
1775
+ ...l,
1748
1776
  opacity: {
1749
- duration: o.duration / 2,
1750
- delay: o.duration - o.duration / 2
1777
+ duration: l.duration / 2,
1778
+ delay: l.duration - l.duration / 2
1751
1779
  }
1752
1780
  }
1753
1781
  },
@@ -1756,179 +1784,179 @@ const ye = ({
1756
1784
  marginLeft: 0,
1757
1785
  opacity: 0,
1758
1786
  transition: {
1759
- ...o,
1787
+ ...l,
1760
1788
  marginLeft: {
1761
- duration: o.duration / 2,
1762
- delay: o.duration - o.duration / 2
1789
+ duration: l.duration / 2,
1790
+ delay: l.duration - l.duration / 2
1763
1791
  }
1764
1792
  }
1765
1793
  }
1766
1794
  };
1767
- return /* @__PURE__ */ U(
1768
- s,
1795
+ return /* @__PURE__ */ D(
1796
+ c,
1769
1797
  {
1770
- ...p,
1771
- ref: N,
1798
+ ...m,
1799
+ ref: b,
1772
1800
  href: n,
1773
- "aria-label": a ? void 0 : t,
1774
- className: y.fab,
1801
+ "aria-label": s ? void 0 : t,
1802
+ className: h.fab,
1775
1803
  children: [
1776
1804
  /* @__PURE__ */ u(
1777
- ye,
1805
+ we,
1778
1806
  {
1779
- trigger: a ? null : void 0,
1807
+ trigger: s ? null : void 0,
1780
1808
  text: t,
1781
- targetRef: N
1809
+ targetRef: b
1782
1810
  }
1783
1811
  ),
1784
- /* @__PURE__ */ u("span", { className: y.stateLayer, children: /* @__PURE__ */ u(
1812
+ /* @__PURE__ */ u("span", { className: h.stateLayer, children: /* @__PURE__ */ u(
1785
1813
  ne,
1786
1814
  {
1787
- colorName: f({
1815
+ colorName: d({
1788
1816
  primary: r == "surface",
1789
1817
  "on-primary-container": r == "primary",
1790
1818
  "on-secondary-container": r == "secondary",
1791
1819
  "on-tertiary-container": r == "tertiary"
1792
1820
  }),
1793
- triggerRef: N
1821
+ triggerRef: b
1794
1822
  }
1795
1823
  ) }),
1796
- /* @__PURE__ */ u(Q, { icon: i, className: y.icon }),
1797
- /* @__PURE__ */ u(z, { children: a && /* @__PURE__ */ u(
1798
- j.span,
1824
+ /* @__PURE__ */ u(Q, { icon: i, className: h.icon }),
1825
+ /* @__PURE__ */ u(A, { children: s && /* @__PURE__ */ u(
1826
+ U.span,
1799
1827
  {
1800
1828
  variants: L,
1801
1829
  initial: "hidden",
1802
1830
  animate: "visible",
1803
1831
  exit: "hidden",
1804
- className: y.label,
1832
+ className: h.label,
1805
1833
  children: t
1806
1834
  }
1807
1835
  ) })
1808
1836
  ]
1809
1837
  }
1810
1838
  );
1811
- }, xe = ({
1839
+ }, ie = ({
1812
1840
  variant: e = "standard",
1813
1841
  href: t,
1814
1842
  disabled: r = !1,
1815
- type: l = "button",
1843
+ type: o = "button",
1816
1844
  title: n,
1817
- label: c,
1845
+ label: a,
1818
1846
  onToggle: i,
1819
- activated: a = !1,
1820
- onClick: d,
1821
- icon: o,
1822
- size: h = "medium",
1823
- iconSelected: p,
1824
- className: s,
1825
- ref: y,
1847
+ activated: s = !1,
1848
+ onClick: f,
1849
+ icon: l,
1850
+ size: p = "medium",
1851
+ iconSelected: m,
1852
+ className: c,
1853
+ ref: h,
1826
1854
  width: v = "default",
1827
- shape: N = "rounded",
1855
+ shape: b = "rounded",
1828
1856
  allowShapeTransformation: L = !0,
1829
1857
  transition: I,
1830
1858
  children: w,
1831
1859
  ...B
1832
1860
  }) => {
1833
- if (w && (c = w), !c)
1861
+ if (w && (a = w), !a)
1834
1862
  throw new Error(
1835
1863
  "IconButton component requires either a label prop or children content to provide an accessible aria-label"
1836
1864
  );
1837
- n || (n = c);
1838
- const [b, E] = Y.useState(a);
1839
- let M;
1840
- i ? i && (M = (S) => {
1841
- r && S.preventDefault(), E(!b), i(!!b);
1842
- }, o = b && p || o) : M = (S) => {
1843
- r && S.preventDefault(), d && d(S);
1844
- }, P(() => {
1845
- E(a);
1846
- }, [a]);
1847
- const D = t ? "a" : "button", $ = je({
1865
+ n || (n = a);
1866
+ const [N, E] = Y.useState(s);
1867
+ let C;
1868
+ i ? i && (C = (M) => {
1869
+ r && M.preventDefault(), E(!N), i(!!N);
1870
+ }, l = N && m || l) : C = (M) => {
1871
+ r && M.preventDefault(), f && f(M);
1872
+ }, $(() => {
1873
+ E(s);
1874
+ }, [s]);
1875
+ const V = t ? "a" : "button", P = Ue({
1848
1876
  transition: I,
1849
- shape: N,
1877
+ shape: b,
1850
1878
  allowShapeTransformation: L,
1851
1879
  width: v,
1852
1880
  href: t,
1853
- activated: b,
1854
- label: c,
1855
- iconSelected: p,
1856
- isActive: b,
1881
+ activated: N,
1882
+ label: a,
1883
+ iconSelected: m,
1884
+ isActive: N,
1857
1885
  onToggle: i,
1858
1886
  disabled: r,
1859
- icon: o,
1887
+ icon: l,
1860
1888
  variant: e,
1861
- className: s,
1862
- size: h,
1863
- children: c,
1889
+ className: c,
1890
+ size: p,
1891
+ children: a,
1864
1892
  ...B
1865
- }), k = V(null), m = y || k;
1866
- return I = { duration: 0.3, ...I }, /* @__PURE__ */ U(
1867
- D,
1893
+ }), k = j(null), y = h || k;
1894
+ return I = { duration: 0.3, ...I }, /* @__PURE__ */ D(
1895
+ V,
1868
1896
  {
1869
1897
  disabled: r,
1870
1898
  href: t,
1871
1899
  style: { transition: I.duration + "s" },
1872
- className: $.iconButton,
1873
- "aria-label": c,
1900
+ className: P.iconButton,
1901
+ "aria-label": a,
1874
1902
  ...B,
1875
1903
  title: void 0,
1876
- onClick: M,
1877
- ref: m,
1904
+ onClick: C,
1905
+ ref: y,
1878
1906
  children: [
1879
1907
  /* @__PURE__ */ u(
1880
- ye,
1908
+ we,
1881
1909
  {
1882
- targetRef: m,
1910
+ targetRef: y,
1883
1911
  trigger: r ? null : void 0,
1884
1912
  text: n
1885
1913
  }
1886
1914
  ),
1887
- /* @__PURE__ */ u("div", { className: $.touchTarget }),
1915
+ /* @__PURE__ */ u("div", { className: P.touchTarget }),
1888
1916
  /* @__PURE__ */ u(
1889
1917
  "div",
1890
1918
  {
1891
- className: $.stateLayer,
1919
+ className: P.stateLayer,
1892
1920
  style: { transition: I.duration + "s" },
1893
1921
  children: !r && /* @__PURE__ */ u(
1894
1922
  ne,
1895
1923
  {
1896
- colorName: f(
1924
+ colorName: d(
1897
1925
  e === "standard" && {
1898
- "on-surface-variant": !b,
1899
- primary: b
1926
+ "on-surface-variant": !N,
1927
+ primary: N
1900
1928
  },
1901
1929
  e === "filled" && {
1902
- primary: !b && !!i,
1903
- "inverse-on-surface": b || !i
1930
+ primary: !N && !!i,
1931
+ "inverse-on-surface": N || !i
1904
1932
  },
1905
1933
  e === "tonal" && {
1906
- "on-surface-variant": !b && !!i,
1907
- "on-secondary-container": b || !i
1934
+ "on-surface-variant": !N && !!i,
1935
+ "on-secondary-container": N || !i
1908
1936
  },
1909
1937
  e === "outlined" && {
1910
- "on-surface-variant": !b,
1911
- "on-primary": b
1938
+ "on-surface-variant": !N,
1939
+ "on-primary": N
1912
1940
  }
1913
1941
  ),
1914
- triggerRef: m
1942
+ triggerRef: y
1915
1943
  }
1916
1944
  )
1917
1945
  }
1918
1946
  ),
1919
- o && /* @__PURE__ */ u(Q, { icon: o, className: $.icon })
1947
+ l && /* @__PURE__ */ u(Q, { icon: l, className: P.icon })
1920
1948
  ]
1921
1949
  }
1922
1950
  );
1923
- }, kt = ({
1951
+ }, St = ({
1924
1952
  className: e,
1925
1953
  valueFormatter: t,
1926
1954
  step: r = 10,
1927
- name: l,
1955
+ name: o,
1928
1956
  value: n = 0,
1929
- min: c = 0,
1957
+ min: a = 0,
1930
1958
  max: i = 100,
1931
- marks: a = [
1959
+ marks: s = [
1932
1960
  {
1933
1961
  value: 0,
1934
1962
  label: "0"
@@ -1938,80 +1966,80 @@ const ye = ({
1938
1966
  label: "100"
1939
1967
  }
1940
1968
  ],
1941
- ref: d,
1942
- onChange: o,
1943
- ...h
1969
+ ref: f,
1970
+ onChange: l,
1971
+ ...p
1944
1972
  }) => {
1945
- const p = (g) => {
1946
- const x = y(), W = s();
1973
+ const m = (g) => {
1974
+ const x = h(), W = c();
1947
1975
  return g === 1 / 0 ? 100 : g === -1 / 0 ? 0 : (g - x) / (W - x) * 100;
1948
- }, s = (g = !1) => g ? i : i == 1 / 0 ? a[(a == null ? void 0 : a.length) - 1].value : i, y = (g = !1) => g ? c : c == -1 / 0 ? a[0].value : c, v = (g) => {
1949
- const x = y(!1);
1950
- return (s(!1) - x) * g / 100 + x;
1951
- }, [N, L] = R(!1), I = V(null), w = d || I, [B, b] = R(n), [E, M] = R(p(n)), [D, $] = R(!1), k = (g) => {
1952
- $(!0), L(!0), O(g);
1953
- }, m = () => {
1954
- $(!1), L(!1);
1976
+ }, c = (g = !1) => g ? i : i == 1 / 0 ? s[(s == null ? void 0 : s.length) - 1].value : i, h = (g = !1) => g ? a : a == -1 / 0 ? s[0].value : a, v = (g) => {
1977
+ const x = h(!1);
1978
+ return (c(!1) - x) * g / 100 + x;
1979
+ }, [b, L] = R(!1), I = j(null), w = f || I, [B, N] = R(n), [E, C] = R(m(n)), [V, P] = R(!1), k = (g) => {
1980
+ P(!0), L(!0), O(g);
1981
+ }, y = () => {
1982
+ P(!1), L(!1);
1955
1983
  };
1956
- P(() => (D ? (window.addEventListener("mouseup", m), window.addEventListener("mousemove", O), window.addEventListener("touchend", m), window.addEventListener("touchmove", O)) : (window.removeEventListener("mouseup", m), window.removeEventListener("mousemove", O), window.removeEventListener("touchend", m), window.removeEventListener("touchmove", O)), () => {
1957
- window.removeEventListener("mouseup", m), window.removeEventListener("mousemove", O), window.removeEventListener("touchend", m), window.removeEventListener("touchmove", O);
1958
- }), [D]);
1959
- const S = He({
1984
+ $(() => (V ? (window.addEventListener("mouseup", y), window.addEventListener("mousemove", O), window.addEventListener("touchend", y), window.addEventListener("touchmove", O)) : (window.removeEventListener("mouseup", y), window.removeEventListener("mousemove", O), window.removeEventListener("touchend", y), window.removeEventListener("touchmove", O)), () => {
1985
+ window.removeEventListener("mouseup", y), window.removeEventListener("mousemove", O), window.removeEventListener("touchend", y), window.removeEventListener("touchmove", O);
1986
+ }), [V]);
1987
+ const M = He({
1960
1988
  className: e,
1961
- isChanging: N,
1962
- marks: a,
1989
+ isChanging: b,
1990
+ marks: s,
1963
1991
  max: i,
1964
- min: c,
1965
- name: l,
1992
+ min: a,
1993
+ name: o,
1966
1994
  step: r,
1967
1995
  value: B,
1968
1996
  valueFormatter: t,
1969
- onChange: o
1997
+ onChange: l
1970
1998
  }), O = (g) => {
1971
1999
  const x = w == null ? void 0 : w.current;
1972
2000
  if (x) {
1973
- const W = x.getBoundingClientRect().left, C = ((g.type === "touchmove" || g.type === "touchstart" ? g.touches[0].clientX : g.clientX) - W) / x.offsetWidth * 100;
1974
- _({ pourcent: C });
2001
+ const W = x.getBoundingClientRect().left, S = ((g.type === "touchmove" || g.type === "touchstart" ? g.touches[0].clientX : g.clientX) - W) / x.offsetWidth * 100;
2002
+ K({ pourcent: S });
1975
2003
  }
1976
- }, _ = ({
2004
+ }, K = ({
1977
2005
  pourcent: g,
1978
2006
  value: x
1979
2007
  }) => {
1980
2008
  if (g) {
1981
2009
  if (g >= 100) {
1982
- b(s(!0)), M(100);
2010
+ N(c(!0)), C(100);
1983
2011
  return;
1984
2012
  }
1985
2013
  if (g <= 0) {
1986
- b(y(!0)), M(0);
2014
+ N(h(!0)), C(0);
1987
2015
  return;
1988
2016
  }
1989
- x = v(g), x == y() && (x = y(!0)), x == s() && (x = s(!0));
2017
+ x = v(g), x == h() && (x = h(!0)), x == c() && (x = c(!0));
1990
2018
  } else if (x != null) {
1991
- if (x >= s()) {
1992
- b(s(!0)), M(100);
2019
+ if (x >= c()) {
2020
+ N(c(!0)), C(100);
1993
2021
  return;
1994
2022
  }
1995
- if (x <= y()) {
1996
- b(y(!0)), M(0);
2023
+ if (x <= h()) {
2024
+ N(h(!0)), C(0);
1997
2025
  return;
1998
2026
  }
1999
- g = p(x);
2027
+ g = m(x);
2000
2028
  } else
2001
2029
  return;
2002
- r != null ? x = Math.round((x - y()) / r) * r + y() : a && (x = a.reduce((W, F, C) => {
2003
- let H = F.value === 1 / 0 ? s() : F.value === -1 / 0 ? y() : F.value, X = W.value === 1 / 0 ? s() : W.value === -1 / 0 ? y() : W.value;
2004
- return H = Math.abs(H - x), X = Math.abs(X - x), H < X ? F : W;
2005
- }).value), x >= s() && (x = s(!0)), x <= y() && (x = y(!0)), g = p(x), b(x), M(g), o && o(x);
2030
+ r != null ? x = Math.round((x - h()) / r) * r + h() : s && (x = s.reduce((W, F, S) => {
2031
+ let X = F.value === 1 / 0 ? c() : F.value === -1 / 0 ? h() : F.value, H = W.value === 1 / 0 ? c() : W.value === -1 / 0 ? h() : W.value;
2032
+ return X = Math.abs(X - x), H = Math.abs(H - x), X < H ? F : W;
2033
+ }).value), x >= c() && (x = c(!0)), x <= h() && (x = h(!0)), g = m(x), N(x), C(g), l && l(x);
2006
2034
  }, [Z, q] = R(0);
2007
- return P(() => {
2035
+ return $(() => {
2008
2036
  const g = () => {
2009
2037
  w.current && q(w.current.offsetWidth);
2010
2038
  };
2011
2039
  return g(), window.addEventListener("resize", g), () => {
2012
2040
  window.removeEventListener("resize", g);
2013
2041
  };
2014
- }, []), /* @__PURE__ */ U(
2042
+ }, []), /* @__PURE__ */ D(
2015
2043
  "div",
2016
2044
  {
2017
2045
  tabIndex: 0,
@@ -2019,18 +2047,18 @@ const ye = ({
2019
2047
  switch (g.key) {
2020
2048
  case "ArrowRight":
2021
2049
  if (r)
2022
- _({ value: B + r });
2023
- else if (a) {
2024
- const x = a.find((W) => W.value > B);
2025
- x && _({ value: x.value });
2050
+ K({ value: B + r });
2051
+ else if (s) {
2052
+ const x = s.find((W) => W.value > B);
2053
+ x && K({ value: x.value });
2026
2054
  }
2027
2055
  break;
2028
2056
  case "ArrowLeft":
2029
2057
  if (r)
2030
- _({ value: B - r });
2031
- else if (a) {
2032
- const x = a.slice(0).reverse().find((W, F, C) => B === 1 / 0 ? F === 1 : W.value < B);
2033
- x && _({ value: x.value });
2058
+ K({ value: B - r });
2059
+ else if (s) {
2060
+ const x = s.slice(0).reverse().find((W, F, S) => B === 1 / 0 ? F === 1 : W.value < B);
2061
+ x && K({ value: x.value });
2034
2062
  }
2035
2063
  break;
2036
2064
  default:
@@ -2038,30 +2066,30 @@ const ye = ({
2038
2066
  }
2039
2067
  },
2040
2068
  role: "slider",
2041
- "aria-valuemin": y(!0),
2042
- "aria-valuemax": s(!0),
2069
+ "aria-valuemin": h(!0),
2070
+ "aria-valuemax": c(!0),
2043
2071
  "aria-valuenow": B,
2044
2072
  "aria-valuetext": B.toString(),
2045
- className: S.slider,
2073
+ className: M.slider,
2046
2074
  onMouseDown: k,
2047
2075
  onClick: O,
2048
2076
  ref: w,
2049
2077
  onTouchStart: k,
2050
2078
  onDragStart: (g) => g.preventDefault(),
2051
- ...h,
2079
+ ...p,
2052
2080
  children: [
2053
- /* @__PURE__ */ u("input", { type: "hidden", name: l, value: B }),
2081
+ /* @__PURE__ */ u("input", { type: "hidden", name: o, value: B }),
2054
2082
  /* @__PURE__ */ u(
2055
2083
  "div",
2056
2084
  {
2057
- className: S.activeTrack,
2085
+ className: M.activeTrack,
2058
2086
  style: { flex: E / 100 }
2059
2087
  }
2060
2088
  ),
2061
- /* @__PURE__ */ u("div", { className: S.handle, children: /* @__PURE__ */ u(z, { children: N && /* @__PURE__ */ u(
2062
- j.div,
2089
+ /* @__PURE__ */ u("div", { className: M.handle, children: /* @__PURE__ */ u(A, { children: b && /* @__PURE__ */ u(
2090
+ U.div,
2063
2091
  {
2064
- className: S.valueIndicator,
2092
+ className: M.valueIndicator,
2065
2093
  initial: "hidden",
2066
2094
  animate: "visible",
2067
2095
  exit: "hidden",
@@ -2081,7 +2109,7 @@ const ye = ({
2081
2109
  /* @__PURE__ */ u(
2082
2110
  "div",
2083
2111
  {
2084
- className: S.inactiveTrack,
2112
+ className: M.inactiveTrack,
2085
2113
  style: { flex: 1 - E / 100 }
2086
2114
  }
2087
2115
  ),
@@ -2089,18 +2117,18 @@ const ye = ({
2089
2117
  "div",
2090
2118
  {
2091
2119
  className: "w-[calc(100%-12px)] h-full absolute -translate-x-1/2 transform left-1/2",
2092
- children: a && a.map((g, x) => {
2120
+ children: s && s.map((g, x) => {
2093
2121
  let W = null;
2094
- const F = (N ? 9 : 10) / Z * 100, C = p(g.value);
2095
- return C <= E - F ? W = !0 : C >= E + F && (W = !1), /* @__PURE__ */ u(
2122
+ const F = (b ? 9 : 10) / Z * 100, S = m(g.value);
2123
+ return S <= E - F ? W = !0 : S >= E + F && (W = !1), /* @__PURE__ */ u(
2096
2124
  "div",
2097
2125
  {
2098
- className: f(S.dot, {
2126
+ className: d(M.dot, {
2099
2127
  "bg-primary-container": W != null && W,
2100
2128
  "bg-primary": W != null && !W
2101
2129
  }),
2102
2130
  style: {
2103
- left: `${p(g.value)}%`
2131
+ left: `${m(g.value)}%`
2104
2132
  }
2105
2133
  },
2106
2134
  x
@@ -2117,178 +2145,275 @@ const ye = ({
2117
2145
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
2118
2146
  * Copyright 2025 Fonticons, Inc.
2119
2147
  */
2120
- var lt = {
2148
+ var at = {
2121
2149
  prefix: "fas",
2122
2150
  iconName: "circle-exclamation",
2123
2151
  icon: [512, 512, ["exclamation-circle"], "f06a", "M256 512a256 256 0 1 0 0-512 256 256 0 1 0 0 512zm0-376c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM229.3 352a26.7 26.7 0 1 1 53.3 0 26.7 26.7 0 1 1 -53.3 0z"]
2124
- }, ge = {
2152
+ }, ue = {
2125
2153
  prefix: "fas",
2126
2154
  iconName: "xmark",
2127
2155
  icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M55.1 73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L147.2 256 9.9 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192.5 301.3 329.9 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.8 256 375.1 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192.5 210.7 55.1 73.4z"]
2128
- }, ot = {
2156
+ }, st = {
2129
2157
  prefix: "fas",
2130
2158
  iconName: "bars",
2131
2159
  icon: [448, 512, ["navicon"], "f0c9", "M0 96C0 78.3 14.3 64 32 64l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 128C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32l384 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 288c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32L32 448c-17.7 0-32-14.3-32-32s14.3-32 32-32l384 0c17.7 0 32 14.3 32 32z"]
2132
2160
  };
2133
- const Ct = ({
2161
+ const Rt = ({
2162
+ variant: e = "standard",
2163
+ className: t,
2164
+ children: r,
2165
+ title: o,
2166
+ position: n = "right",
2167
+ extended: a,
2168
+ divider: i,
2169
+ onExtendedChange: s,
2170
+ closeIcon: f = ue,
2171
+ transition: l,
2172
+ ...p
2173
+ }) => {
2174
+ l = { duration: 0.3, ...l };
2175
+ const [m, c] = R(a ?? !0), h = Xe({
2176
+ transition: l,
2177
+ title: o,
2178
+ position: n,
2179
+ closeIcon: f,
2180
+ className: t,
2181
+ children: r,
2182
+ onExtendedChange: s,
2183
+ divider: i,
2184
+ isExtended: m,
2185
+ extended: m,
2186
+ variant: e
2187
+ });
2188
+ $(() => {
2189
+ s == null || s(m ?? !1);
2190
+ }, [m]), $(() => {
2191
+ a != null && c(a);
2192
+ }, [a]);
2193
+ const v = {
2194
+ close: {
2195
+ width: 0
2196
+ },
2197
+ open: {
2198
+ width: "auto"
2199
+ }
2200
+ }, b = () => /* @__PURE__ */ D(te, { children: [
2201
+ /* @__PURE__ */ u(A, { children: e == "modal" && m && /* @__PURE__ */ u(
2202
+ U.div,
2203
+ {
2204
+ initial: { opacity: 0 },
2205
+ animate: { opacity: 1 },
2206
+ exit: { opacity: 0 },
2207
+ transition: l,
2208
+ onClick: () => c(!1),
2209
+ className: h.overlay
2210
+ }
2211
+ ) }),
2212
+ /* @__PURE__ */ u(A, { children: m && /* @__PURE__ */ D(
2213
+ "div",
2214
+ {
2215
+ ...p,
2216
+ className: h.slideSheet,
2217
+ style: { transition: l.duration + "s" },
2218
+ children: [
2219
+ /* @__PURE__ */ D(
2220
+ U.div,
2221
+ {
2222
+ variants: v,
2223
+ initial: a === !1 ? "open" : "close",
2224
+ animate: "open",
2225
+ exit: "close",
2226
+ className: h.container,
2227
+ children: [
2228
+ /* @__PURE__ */ D("div", { className: h.header, children: [
2229
+ o && /* @__PURE__ */ u("p", { className: h.title, children: o }),
2230
+ /* @__PURE__ */ u(
2231
+ ie,
2232
+ {
2233
+ size: "small",
2234
+ label: "close",
2235
+ icon: f,
2236
+ onClick: () => c(!1),
2237
+ className: h.closeButton
2238
+ }
2239
+ )
2240
+ ] }),
2241
+ /* @__PURE__ */ u(
2242
+ "div",
2243
+ {
2244
+ className: h.content,
2245
+ style: { transition: l.duration + "s" },
2246
+ children: r
2247
+ }
2248
+ )
2249
+ ]
2250
+ }
2251
+ ),
2252
+ (i == null && e == "standard" ? !0 : i) && /* @__PURE__ */ u(tt, { className: h.divider, orientation: "vertical" })
2253
+ ]
2254
+ }
2255
+ ) })
2256
+ ] });
2257
+ return e == "modal" ? ye(b(), document.body) : b();
2258
+ }, Ct = ({
2134
2259
  message: e,
2135
2260
  className: t,
2136
2261
  duration: r,
2137
- closeIcon: l = ge,
2262
+ closeIcon: o = ue,
2138
2263
  onClose: n,
2139
- ...c
2264
+ ...a
2140
2265
  }) => {
2141
- const [i, a] = R(!0), d = Xe({
2266
+ const [i, s] = R(!0), f = Oe({
2142
2267
  className: t,
2143
- closeIcon: l,
2268
+ closeIcon: o,
2144
2269
  duration: r,
2145
2270
  isVisible: i,
2146
2271
  onClose: n,
2147
2272
  message: e
2148
2273
  });
2149
- P(() => {
2274
+ $(() => {
2150
2275
  r && setTimeout(() => {
2151
- o();
2276
+ l();
2152
2277
  }, r);
2153
2278
  }, [r]);
2154
- const o = () => {
2155
- a(!1), n == null || n();
2279
+ const l = () => {
2280
+ s(!1), n == null || n();
2156
2281
  };
2157
- return /* @__PURE__ */ u(z, { children: i && /* @__PURE__ */ u(
2158
- j.div,
2282
+ return /* @__PURE__ */ u(A, { children: i && /* @__PURE__ */ u(
2283
+ U.div,
2159
2284
  {
2160
2285
  initial: { height: 0 },
2161
2286
  animate: { height: "auto" },
2162
2287
  exit: { height: 0 },
2163
2288
  transition: { duration: 0.1 },
2164
- className: d.snackbar,
2165
- ...c,
2166
- children: /* @__PURE__ */ U("div", { className: d.container, children: [
2167
- /* @__PURE__ */ u("p", { className: d.supportingText, children: e }),
2289
+ className: f.snackbar,
2290
+ ...a,
2291
+ children: /* @__PURE__ */ D("div", { className: f.container, children: [
2292
+ /* @__PURE__ */ u("p", { className: f.supportingText, children: e }),
2168
2293
  /* @__PURE__ */ u(
2169
- xe,
2294
+ ie,
2170
2295
  {
2171
- onClick: () => o(),
2172
- className: d.icon,
2173
- icon: l,
2296
+ onClick: () => l(),
2297
+ className: f.icon,
2298
+ icon: o,
2174
2299
  label: "close the snackbar"
2175
2300
  }
2176
2301
  )
2177
2302
  ] })
2178
2303
  }
2179
2304
  ) });
2180
- }, Rt = ({
2305
+ }, Mt = ({
2181
2306
  selected: e = !1,
2182
2307
  className: t,
2183
2308
  activeIcon: r,
2184
- disabled: l = !1,
2309
+ disabled: o = !1,
2185
2310
  inactiveIcon: n,
2186
- onChange: c,
2311
+ onChange: a,
2187
2312
  onClick: i,
2188
- onKeyDown: a,
2189
- ref: d,
2190
- ...o
2313
+ onKeyDown: s,
2314
+ ref: f,
2315
+ ...l
2191
2316
  }) => {
2192
- const [h, p] = R(e), s = (w) => {
2193
- l || (v(), i && i(w));
2194
- }, y = (w) => {
2195
- l || ((w.key === " " || w.key === "Enter") && (w.preventDefault(), v()), a && a(w));
2317
+ const [p, m] = R(e), c = (w) => {
2318
+ o || (v(), i && i(w));
2319
+ }, h = (w) => {
2320
+ o || ((w.key === " " || w.key === "Enter") && (w.preventDefault(), v()), s && s(w));
2196
2321
  }, v = () => {
2197
- p(!h), c == null || c(!h);
2198
- }, N = Oe({
2322
+ m(!p), a == null || a(!p);
2323
+ }, b = qe({
2199
2324
  className: t,
2200
- isSelected: h,
2325
+ isSelected: p,
2201
2326
  activeIcon: r,
2202
2327
  inactiveIcon: n,
2203
- disabled: l,
2204
- selected: h,
2205
- onChange: c
2206
- }), L = V(null), I = d || L;
2207
- return /* @__PURE__ */ U(
2208
- j.div,
2328
+ disabled: o,
2329
+ selected: p,
2330
+ onChange: a
2331
+ }), L = j(null), I = f || L;
2332
+ return /* @__PURE__ */ D(
2333
+ U.div,
2209
2334
  {
2210
2335
  role: "switch",
2211
- "aria-checked": h,
2212
- tabIndex: l ? -1 : 0,
2213
- onKeyDown: y,
2214
- onClick: s,
2336
+ "aria-checked": p,
2337
+ tabIndex: o ? -1 : 0,
2338
+ onKeyDown: h,
2339
+ onClick: c,
2215
2340
  ref: I,
2216
- className: N.switch,
2217
- ...o,
2341
+ className: b.switch,
2342
+ ...l,
2218
2343
  children: [
2219
- /* @__PURE__ */ u("input", { type: "hidden", value: h ? "1" : "0" }),
2220
- /* @__PURE__ */ U(
2221
- j.div,
2344
+ /* @__PURE__ */ u("input", { type: "hidden", value: p ? "1" : "0" }),
2345
+ /* @__PURE__ */ D(
2346
+ U.div,
2222
2347
  {
2223
2348
  layout: !0,
2224
- style: { translate: h ? "50%" : "-50%" },
2349
+ style: { translate: p ? "50%" : "-50%" },
2225
2350
  transition: {
2226
2351
  type: "spring",
2227
2352
  stiffness: 700,
2228
2353
  damping: 30
2229
2354
  },
2230
- className: N.handleContainer,
2355
+ className: b.handleContainer,
2231
2356
  children: [
2232
- /* @__PURE__ */ u("div", { className: N.handle, children: (h ? r : n) && /* @__PURE__ */ u(
2357
+ /* @__PURE__ */ u("div", { className: b.handle, children: (p ? r : n) && /* @__PURE__ */ u(
2233
2358
  Q,
2234
2359
  {
2235
- className: N.icon,
2236
- icon: h ? r : n
2360
+ className: b.icon,
2361
+ icon: p ? r : n
2237
2362
  }
2238
2363
  ) }),
2239
- /* @__PURE__ */ u("div", { className: N.handleStateLayer })
2364
+ /* @__PURE__ */ u("div", { className: b.handleStateLayer })
2240
2365
  ]
2241
2366
  }
2242
2367
  )
2243
2368
  ]
2244
2369
  }
2245
2370
  );
2246
- }, at = ({
2371
+ }, ct = ({
2247
2372
  className: e,
2248
2373
  onClick: t,
2249
2374
  label: r,
2250
- variant: l = "primary",
2375
+ variant: o = "primary",
2251
2376
  href: n,
2252
- icon: c,
2377
+ icon: a,
2253
2378
  selectedTab: i,
2254
- setSelectedTab: a,
2255
- tabsId: d,
2256
- index: o,
2257
- onTabSelected: h,
2258
- scrollable: p = !1,
2259
- selected: s = !1,
2260
- ref: y,
2379
+ setSelectedTab: s,
2380
+ tabsId: f,
2381
+ index: l,
2382
+ onTabSelected: p,
2383
+ scrollable: m = !1,
2384
+ selected: c = !1,
2385
+ ref: h,
2261
2386
  ...v
2262
2387
  }) => {
2263
- const N = V(null), L = y || N, [I, w] = R(s);
2264
- P(() => {
2265
- s && i == null ? w(!0) : w(i == o && o != null);
2266
- }, [i]), P(() => {
2267
- i == o && h && h({
2388
+ const b = j(null), L = h || b, [I, w] = R(c);
2389
+ $(() => {
2390
+ c && i == null ? w(!0) : w(i == l && l != null);
2391
+ }, [i]), $(() => {
2392
+ i == l && p && p({
2268
2393
  ref: L,
2269
- index: o || 0,
2394
+ index: l || 0,
2270
2395
  label: r,
2271
- icon: c
2396
+ icon: a
2272
2397
  });
2273
2398
  }, [i]);
2274
- const B = n ? "a" : "button", b = (M) => {
2275
- a && a(o ?? null), t && t(M);
2276
- }, E = qe({
2399
+ const B = n ? "a" : "button", N = (C) => {
2400
+ s && s(l ?? null), t && t(C);
2401
+ }, E = _e({
2277
2402
  className: e,
2278
- onTabSelected: h,
2279
- scrollable: p,
2403
+ onTabSelected: p,
2404
+ scrollable: m,
2280
2405
  selectedTab: i,
2281
- index: o,
2282
- tabsId: d,
2406
+ index: l,
2407
+ tabsId: f,
2283
2408
  selected: I,
2284
- variant: l,
2285
- icon: c,
2409
+ variant: o,
2410
+ icon: a,
2286
2411
  label: r,
2287
2412
  isSelected: I,
2288
- setSelectedTab: a,
2413
+ setSelectedTab: s,
2289
2414
  href: n
2290
2415
  });
2291
- return /* @__PURE__ */ U(
2416
+ return /* @__PURE__ */ D(
2292
2417
  B,
2293
2418
  {
2294
2419
  ...v,
@@ -2297,23 +2422,23 @@ const Ct = ({
2297
2422
  ref: L,
2298
2423
  href: n,
2299
2424
  className: E.tab,
2300
- onClick: b,
2425
+ onClick: N,
2301
2426
  ...v,
2302
2427
  children: [
2303
2428
  /* @__PURE__ */ u("span", { className: E.stateLayer, children: /* @__PURE__ */ u(
2304
2429
  ne,
2305
2430
  {
2306
- colorName: l === "primary" && I ? "primary" : "on-surface",
2431
+ colorName: o === "primary" && I ? "primary" : "on-surface",
2307
2432
  triggerRef: L
2308
2433
  }
2309
2434
  ) }),
2310
- /* @__PURE__ */ U("span", { className: E.content, children: [
2311
- c && /* @__PURE__ */ u(Q, { icon: c, className: E.icon }),
2435
+ /* @__PURE__ */ D("span", { className: E.content, children: [
2436
+ a && /* @__PURE__ */ u(Q, { icon: a, className: E.icon }),
2312
2437
  /* @__PURE__ */ u("span", { className: E.label, children: r }),
2313
2438
  I && /* @__PURE__ */ u(
2314
- j.span,
2439
+ U.span,
2315
2440
  {
2316
- layoutId: `underline-${d}`,
2441
+ layoutId: `underline-${f}`,
2317
2442
  className: E.underline,
2318
2443
  transition: { duration: 0.3 }
2319
2444
  }
@@ -2322,113 +2447,113 @@ const Ct = ({
2322
2447
  ]
2323
2448
  }
2324
2449
  );
2325
- }, Mt = ({
2450
+ }, Bt = ({
2326
2451
  variant: e = "primary",
2327
2452
  onTabSelected: t,
2328
2453
  children: r,
2329
- className: l,
2454
+ className: o,
2330
2455
  selectedTab: n,
2331
- setSelectedTab: c,
2456
+ setSelectedTab: a,
2332
2457
  scrollable: i = !1
2333
2458
  }) => {
2334
- const [a, d] = R(
2459
+ const [s, f] = R(
2335
2460
  null
2336
2461
  );
2337
- let o;
2338
- n == 0 || n != null ? o = n : o = a;
2339
- const h = c || d, p = Y.Children.toArray(r).filter(
2340
- (L) => Y.isValidElement(L) && L.type === at
2341
- ), s = Y.useRef(null), y = (L) => {
2462
+ let l;
2463
+ n == 0 || n != null ? l = n : l = s;
2464
+ const p = a || f, m = Y.Children.toArray(r).filter(
2465
+ (L) => Y.isValidElement(L) && L.type === ct
2466
+ ), c = Y.useRef(null), h = (L) => {
2342
2467
  if (t == null || t(L), i) {
2343
- const I = s.current, w = L.ref.current;
2468
+ const I = c.current, w = L.ref.current;
2344
2469
  if (I && w) {
2345
2470
  const B = w.offsetLeft + w.offsetWidth / 2 - I.offsetWidth / 2;
2346
2471
  I.scrollTo({ left: B, behavior: "smooth" });
2347
2472
  }
2348
2473
  }
2349
- }, v = ve(() => ce(), []), N = _e({
2474
+ }, v = be(() => ce(), []), b = Ke({
2350
2475
  children: r,
2351
2476
  onTabSelected: t,
2352
2477
  scrollable: i,
2353
- selectedTab: o,
2354
- setSelectedTab: h,
2355
- className: l,
2478
+ selectedTab: l,
2479
+ setSelectedTab: p,
2480
+ className: o,
2356
2481
  variant: e
2357
2482
  });
2358
- return /* @__PURE__ */ u("div", { ref: s, role: "tablist", className: N.tabs, children: p.map((L, I) => Y.cloneElement(L, {
2483
+ return /* @__PURE__ */ u("div", { ref: c, role: "tablist", className: b.tabs, children: m.map((L, I) => Y.cloneElement(L, {
2359
2484
  key: I,
2360
2485
  index: I,
2361
2486
  variant: e,
2362
- selectedTab: o,
2363
- setSelectedTab: h,
2487
+ selectedTab: l,
2488
+ setSelectedTab: p,
2364
2489
  tabsId: v,
2365
- onTabSelected: y,
2490
+ onTabSelected: h,
2366
2491
  scrollable: i
2367
2492
  })) });
2368
- }, St = ({
2493
+ }, $t = ({
2369
2494
  variant: e = "filled",
2370
2495
  disabled: t = !1,
2371
2496
  errorText: r,
2372
- placeholder: l,
2497
+ placeholder: o,
2373
2498
  suffix: n,
2374
- name: c,
2499
+ name: a,
2375
2500
  label: i,
2376
- className: a,
2377
- supportingText: d,
2378
- trailingIcon: o,
2379
- leadingIcon: h,
2380
- type: p = "text",
2381
- textLine: s = "singleLine",
2382
- autoComplete: y = "on",
2501
+ className: s,
2502
+ supportingText: f,
2503
+ trailingIcon: l,
2504
+ leadingIcon: p,
2505
+ type: m = "text",
2506
+ textLine: c = "singleLine",
2507
+ autoComplete: h = "on",
2383
2508
  onChange: v,
2384
- value: N,
2509
+ value: b,
2385
2510
  showSupportingText: L = !1,
2386
2511
  ...I
2387
2512
  }) => {
2388
- const [w, B] = R(N ?? ""), [b, E] = R(!1), [M, D] = R(!1), [$, k] = R(
2513
+ const [w, B] = R(b ?? ""), [N, E] = R(!1), [C, V] = R(!1), [P, k] = R(
2389
2514
  L
2390
2515
  );
2391
- P(() => {
2392
- B(N ?? "");
2393
- }, [N]), P(() => {
2394
- r != null && r.length ? D(!0) : D(!1);
2395
- }, [r]), P(() => {
2396
- L ? k(L) : d != null && d.length ? k(!0) : k(!1);
2397
- }, [$, d]), P(() => {
2398
- b && D(!1);
2399
- }, [b]);
2400
- const m = Y.useRef(null), S = () => {
2401
- m.current && !b && m.current.focus();
2516
+ $(() => {
2517
+ B(b ?? "");
2518
+ }, [b]), $(() => {
2519
+ r != null && r.length ? V(!0) : V(!1);
2520
+ }, [r]), $(() => {
2521
+ L ? k(L) : f != null && f.length ? k(!0) : k(!1);
2522
+ }, [P, f]), $(() => {
2523
+ N && V(!1);
2524
+ }, [N]);
2525
+ const y = Y.useRef(null), M = () => {
2526
+ y.current && !N && y.current.focus();
2402
2527
  }, O = () => {
2403
2528
  E(!0);
2404
- }, _ = (W) => {
2529
+ }, K = (W) => {
2405
2530
  const F = W.target.value;
2406
- B(F), D(!1), typeof v == "function" && v(F);
2531
+ B(F), V(!1), typeof v == "function" && v(F);
2407
2532
  }, Z = () => {
2408
2533
  E(!1);
2409
- }, q = Ke({
2410
- showSupportingText: $,
2411
- isFocused: b,
2412
- showErrorIcon: M,
2534
+ }, q = Ge({
2535
+ showSupportingText: P,
2536
+ isFocused: N,
2537
+ showErrorIcon: C,
2413
2538
  disabled: t,
2414
- name: c,
2539
+ name: a,
2415
2540
  label: i,
2416
- autoComplete: y,
2417
- className: a,
2541
+ autoComplete: h,
2542
+ className: s,
2418
2543
  onChange: v,
2419
- placeholder: l,
2420
- supportingText: d,
2421
- type: p,
2422
- leadingIcon: h,
2423
- trailingIcon: o,
2544
+ placeholder: o,
2545
+ supportingText: f,
2546
+ type: m,
2547
+ leadingIcon: p,
2548
+ trailingIcon: l,
2424
2549
  variant: e,
2425
2550
  errorText: r,
2426
2551
  value: w,
2427
2552
  suffix: n,
2428
- textLine: s
2429
- }), [A] = R(ce());
2553
+ textLine: c
2554
+ }), [z] = R(ce());
2430
2555
  let g, x;
2431
- switch (s) {
2556
+ switch (c) {
2432
2557
  case "multiLine":
2433
2558
  x = Re, g = {};
2434
2559
  break;
@@ -2437,54 +2562,54 @@ const Ct = ({
2437
2562
  break;
2438
2563
  case "singleLine":
2439
2564
  default:
2440
- x = "input", g = { type: p };
2565
+ x = "input", g = { type: m };
2441
2566
  break;
2442
2567
  }
2443
- return /* @__PURE__ */ U("div", { className: q.textField, ...I, children: [
2444
- /* @__PURE__ */ U("fieldset", { onClick: S, className: q.content, children: [
2568
+ return /* @__PURE__ */ D("div", { className: q.textField, ...I, children: [
2569
+ /* @__PURE__ */ D("fieldset", { onClick: M, className: q.content, children: [
2445
2570
  /* @__PURE__ */ u("div", { className: q.stateLayer }),
2446
- h && /* @__PURE__ */ u("div", { className: q.leadingIcon, children: Y.isValidElement(h) ? h : /* @__PURE__ */ u(Q, { className: "w-5 h-5", icon: h }) }),
2447
- !(!b && !w.length || e == "filled") && /* @__PURE__ */ u(
2448
- j.legend,
2571
+ p && /* @__PURE__ */ u("div", { className: q.leadingIcon, children: Y.isValidElement(p) ? p : /* @__PURE__ */ u(Q, { className: "w-5 h-5", icon: p }) }),
2572
+ !(!N && !w.length || e == "filled") && /* @__PURE__ */ u(
2573
+ U.legend,
2449
2574
  {
2450
2575
  variants: {
2451
2576
  hidden: { width: 0, padding: 0 },
2452
2577
  visible: { width: "auto", padding: "0 8px" }
2453
2578
  },
2454
2579
  initial: "hidden",
2455
- animate: !b && !w.length ? "hidden" : "visible",
2580
+ animate: !N && !w.length ? "hidden" : "visible",
2456
2581
  className: "max-w-full ml-2 px-2 text-body-small h-0",
2457
2582
  transition: { duration: 0.2 },
2458
2583
  children: /* @__PURE__ */ u("span", { className: "transform inline-flex -translate-y-1/2", children: /* @__PURE__ */ u(
2459
- j.span,
2584
+ U.span,
2460
2585
  {
2461
2586
  className: q.label,
2462
2587
  transition: { duration: 0.3 },
2463
- layoutId: A,
2588
+ layoutId: z,
2464
2589
  children: i
2465
2590
  }
2466
2591
  ) })
2467
2592
  }
2468
2593
  ),
2469
- /* @__PURE__ */ U("div", { className: "flex-1 relative", children: [
2470
- (!b && !w.length || e == "filled") && /* @__PURE__ */ u(
2471
- j.label,
2594
+ /* @__PURE__ */ D("div", { className: "flex-1 relative", children: [
2595
+ (!N && !w.length || e == "filled") && /* @__PURE__ */ u(
2596
+ U.label,
2472
2597
  {
2473
- htmlFor: c,
2474
- className: f(
2598
+ htmlFor: a,
2599
+ className: d(
2475
2600
  "absolute left-4 transition-all duration-300",
2476
2601
  {
2477
- "text-body-small top-2": e == "filled" && !(!b && !w.length),
2478
- "text-body-large top-1/2 transform -translate-y-1/2": !(e == "filled" && !(!b && !w.length))
2602
+ "text-body-small top-2": e == "filled" && !(!N && !w.length),
2603
+ "text-body-large top-1/2 transform -translate-y-1/2": !(e == "filled" && !(!N && !w.length))
2479
2604
  }
2480
2605
  ),
2481
2606
  transition: { duration: 0.3 },
2482
2607
  children: /* @__PURE__ */ u(
2483
- j.span,
2608
+ U.span,
2484
2609
  {
2485
2610
  className: q.label,
2486
2611
  transition: { duration: 0.3 },
2487
- layoutId: e == "outlined" ? A : void 0,
2612
+ layoutId: e == "outlined" ? z : void 0,
2488
2613
  children: i
2489
2614
  }
2490
2615
  )
@@ -2493,17 +2618,17 @@ const Ct = ({
2493
2618
  /* @__PURE__ */ u(
2494
2619
  x,
2495
2620
  {
2496
- ref: m,
2621
+ ref: y,
2497
2622
  value: w,
2498
- onChange: _,
2623
+ onChange: K,
2499
2624
  className: q.input,
2500
- id: c,
2501
- name: c,
2502
- placeholder: b ? l ?? void 0 : "",
2625
+ id: a,
2626
+ name: a,
2627
+ placeholder: N ? o ?? void 0 : "",
2503
2628
  onFocus: O,
2504
2629
  onBlur: Z,
2505
2630
  disabled: t,
2506
- autoComplete: y,
2631
+ autoComplete: h,
2507
2632
  "aria-invalid": !!(r != null && r.length),
2508
2633
  "aria-label": i,
2509
2634
  ...g
@@ -2511,187 +2636,187 @@ const Ct = ({
2511
2636
  )
2512
2637
  ] }),
2513
2638
  /* @__PURE__ */ u("div", { className: q.activeIndicator }),
2514
- !M && /* @__PURE__ */ U(re, { children: [
2515
- o && /* @__PURE__ */ u(
2639
+ !C && /* @__PURE__ */ D(te, { children: [
2640
+ l && /* @__PURE__ */ u(
2516
2641
  "div",
2517
2642
  {
2518
2643
  onClick: (W) => {
2519
2644
  W.stopPropagation();
2520
2645
  },
2521
2646
  className: q.trailingIcon,
2522
- children: Y.isValidElement(o) ? o : /* @__PURE__ */ u(Q, { className: "h-5", icon: o })
2647
+ children: Y.isValidElement(l) ? l : /* @__PURE__ */ u(Q, { className: "h-5", icon: l })
2523
2648
  }
2524
2649
  ),
2525
- !o && n && /* @__PURE__ */ u("span", { className: q.suffix, children: n })
2650
+ !l && n && /* @__PURE__ */ u("span", { className: q.suffix, children: n })
2526
2651
  ] }),
2527
- M && /* @__PURE__ */ u(
2652
+ C && /* @__PURE__ */ u(
2528
2653
  "div",
2529
2654
  {
2530
- className: f(q.trailingIcon, {
2531
- " absolute right-0": !o
2655
+ className: d(q.trailingIcon, {
2656
+ " absolute right-0": !l
2532
2657
  }),
2533
2658
  children: /* @__PURE__ */ u(
2534
2659
  Q,
2535
2660
  {
2536
2661
  className: "h-5 text-error",
2537
- icon: lt
2662
+ icon: at
2538
2663
  }
2539
2664
  )
2540
2665
  }
2541
2666
  )
2542
2667
  ] }),
2543
- $ && /* @__PURE__ */ u("p", { className: q.supportingText, children: r != null && r.length ? r : d != null && d.length ? d : " " })
2668
+ P && /* @__PURE__ */ u("p", { className: q.supportingText, children: r != null && r.length ? r : f != null && f.length ? f : " " })
2544
2669
  ] });
2545
- }, st = K(
2670
+ }, it = _(
2546
2671
  "navigationRailItem",
2547
- ({ isSelected: e, icon: t, label: r, variant: l }) => ({
2548
- navigationRailItem: f(
2672
+ ({ isSelected: e, icon: t, label: r, variant: o }) => ({
2673
+ navigationRailItem: d(
2549
2674
  " group flex flex-col pt-1 pb-1.5 cursor-pointer",
2550
2675
  {
2551
2676
  "text-on-surface-variant": !e,
2552
2677
  "text-on-secondary-container": e,
2553
- "gap-2 h-[68px]": l == "vertical",
2554
- "gap-0 h-[66px]": l == "horizontal"
2678
+ "gap-2 h-[68px]": o == "vertical",
2679
+ "gap-0 h-[66px]": o == "horizontal"
2555
2680
  }
2556
2681
  ),
2557
- container: f(
2682
+ container: d(
2558
2683
  " w-fit flex justify-center relative rounded-full items-center mx-5",
2559
2684
  {
2560
2685
  "bg-secondary-container overflow-hidden": e,
2561
- "gap-2 ": l == "horizontal",
2562
- "gap-0 ": l == "vertical",
2686
+ "gap-2 ": o == "horizontal",
2687
+ "gap-0 ": o == "vertical",
2563
2688
  "p-4": !r
2564
2689
  },
2565
2690
  r && [
2566
2691
  "px-4",
2567
2692
  {
2568
- "py-1 ": l == "vertical",
2569
- "py-4 ": l == "horizontal"
2693
+ "py-1 ": o == "vertical",
2694
+ "py-4 ": o == "horizontal"
2570
2695
  }
2571
2696
  ]
2572
2697
  ),
2573
- stateLayer: f(
2698
+ stateLayer: d(
2574
2699
  " absolute w-full rounded-full h-full left-0 top-0 ",
2575
2700
  {
2576
2701
  "group-state-on-surface": !e,
2577
2702
  "group-state-on-secondary-container": e
2578
2703
  }
2579
2704
  ),
2580
- icon: f("size-6 flex"),
2581
- label: f("w-fit mx-auto text-nowrap", {
2582
- "text-label-large ": l == "horizontal",
2583
- "text-label-medium": l == "vertical"
2705
+ icon: d("size-6 flex"),
2706
+ label: d("w-fit mx-auto text-nowrap", {
2707
+ "text-label-large ": o == "horizontal",
2708
+ "text-label-medium": o == "vertical"
2584
2709
  })
2585
2710
  })
2586
- ), ct = ({ label: e }) => /* @__PURE__ */ u("div", { className: " h-9 flex items-center mx-9 mt-3", children: /* @__PURE__ */ u("p", { className: "text-label-large text-on-surface-variant", children: e }) }), it = ({
2711
+ ), ut = ({ label: e }) => /* @__PURE__ */ u("div", { className: " h-9 flex items-center mx-9 mt-3", children: /* @__PURE__ */ u("p", { className: "text-label-large text-on-surface-variant", children: e }) }), dt = ({
2587
2712
  className: e,
2588
2713
  onClick: t,
2589
2714
  label: r,
2590
- variant: l = "vertical",
2715
+ variant: o = "vertical",
2591
2716
  href: n,
2592
- icon: c,
2717
+ icon: a,
2593
2718
  selectedItem: i,
2594
- setSelectedItem: a,
2595
- index: d,
2596
- onItemSelected: o,
2597
- selected: h = !1,
2598
- ref: p,
2599
- transition: s,
2600
- isExtended: y,
2719
+ setSelectedItem: s,
2720
+ index: f,
2721
+ onItemSelected: l,
2722
+ selected: p = !1,
2723
+ ref: m,
2724
+ transition: c,
2725
+ isExtended: h,
2601
2726
  iconSelected: v,
2602
- style: N,
2727
+ style: b,
2603
2728
  extendedOnly: L,
2604
2729
  children: I,
2605
2730
  ...w
2606
2731
  }) => {
2607
2732
  I && (r = I);
2608
- const B = V(null), b = p || B, [E, M] = R(h);
2609
- P(() => {
2610
- h && i == null ? M(!0) : M(i == d && d != null);
2611
- }, [i]), P(() => {
2612
- i == d && o && o({
2613
- ref: b,
2614
- index: d || 0,
2733
+ const B = j(null), N = m || B, [E, C] = R(p);
2734
+ $(() => {
2735
+ p && i == null ? C(!0) : C(i == f && f != null);
2736
+ }, [i]), $(() => {
2737
+ i == f && l && l({
2738
+ ref: N,
2739
+ index: f || 0,
2615
2740
  label: r,
2616
- icon: c
2741
+ icon: a
2617
2742
  });
2618
2743
  }, [i]);
2619
- const D = n ? "a" : "button", $ = (m) => {
2620
- a && a(d ?? null), t && t(m);
2621
- }, k = st({
2622
- isExtended: y,
2744
+ const V = n ? "a" : "button", P = (y) => {
2745
+ s && s(f ?? null), t && t(y);
2746
+ }, k = it({
2747
+ isExtended: h,
2623
2748
  extendedOnly: L,
2624
2749
  className: e,
2625
- onItemSelected: o,
2750
+ onItemSelected: l,
2626
2751
  selectedItem: i,
2627
- index: d,
2628
- transition: s,
2752
+ index: f,
2753
+ transition: c,
2629
2754
  selected: E,
2630
- variant: l,
2631
- icon: c,
2755
+ variant: o,
2756
+ icon: a,
2632
2757
  label: r,
2633
2758
  isSelected: E,
2634
- setSelectedItem: a,
2759
+ setSelectedItem: s,
2635
2760
  href: n,
2636
2761
  children: r,
2637
2762
  iconSelected: v
2638
2763
  });
2639
- return s = { duration: 0.3, ...s }, L && !y ? null : (
2764
+ return c = { duration: 0.3, ...c }, L && !h ? null : (
2640
2765
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
2641
2766
  // @ts-expect-error
2642
- /* @__PURE__ */ U(
2643
- D,
2767
+ /* @__PURE__ */ D(
2768
+ V,
2644
2769
  {
2645
2770
  ...w,
2646
2771
  role: "tab",
2647
2772
  "aria-selected": E,
2648
- ref: b,
2773
+ ref: N,
2649
2774
  href: n,
2650
2775
  className: k.navigationRailItem,
2651
- onClick: $,
2652
- style: { transition: s.duration + "s", ...N },
2776
+ onClick: P,
2777
+ style: { transition: c.duration + "s", ...b },
2653
2778
  children: [
2654
- /* @__PURE__ */ U(
2655
- j.div,
2779
+ /* @__PURE__ */ D(
2780
+ U.div,
2656
2781
  {
2657
2782
  style: {
2658
- transition: l == "horizontal" ? s.duration + `s, gap ${s.duration / 2}s ${s.duration - s.duration / 2}s` : s.duration + `s, gap ${s.duration / 3}s ${s.duration - s.duration / 3}s`
2783
+ transition: o == "horizontal" ? c.duration + `s, gap ${c.duration / 2}s ${c.duration - c.duration / 2}s` : c.duration + `s, gap ${c.duration / 3}s ${c.duration - c.duration / 3}s`
2659
2784
  },
2660
- transition: s,
2785
+ transition: c,
2661
2786
  className: k.container,
2662
2787
  children: [
2663
- /* @__PURE__ */ u(j.div, { layout: !0, className: k.stateLayer }),
2664
- c && /* @__PURE__ */ u(
2788
+ /* @__PURE__ */ u(U.div, { layout: !0, className: k.stateLayer }),
2789
+ a && /* @__PURE__ */ u(
2665
2790
  Q,
2666
2791
  {
2667
- icon: E ? v : c,
2792
+ icon: E ? v : a,
2668
2793
  className: k.icon
2669
2794
  }
2670
2795
  ),
2671
- /* @__PURE__ */ u(z, { children: l == "horizontal" && (() => {
2672
- const m = {
2796
+ /* @__PURE__ */ u(A, { children: o == "horizontal" && (() => {
2797
+ const y = {
2673
2798
  width: 0,
2674
2799
  opacity: 0,
2675
2800
  transition: {
2676
- ...s
2801
+ ...c
2677
2802
  }
2678
- }, S = {
2803
+ }, M = {
2679
2804
  width: "auto",
2680
2805
  opacity: 1,
2681
2806
  transition: {
2682
- ...s,
2807
+ ...c,
2683
2808
  opacity: {
2684
- duration: s.duration / 2,
2685
- delay: s.duration - s.duration / 2
2809
+ duration: c.duration / 2,
2810
+ delay: c.duration - c.duration / 2
2686
2811
  }
2687
2812
  }
2688
2813
  };
2689
2814
  return /* @__PURE__ */ u(
2690
- j.span,
2815
+ U.span,
2691
2816
  {
2692
- initial: m,
2693
- animate: S,
2694
- exit: m,
2817
+ initial: y,
2818
+ animate: M,
2819
+ exit: y,
2695
2820
  className: k.label,
2696
2821
  children: r
2697
2822
  }
@@ -2700,35 +2825,35 @@ const Ct = ({
2700
2825
  ]
2701
2826
  }
2702
2827
  ),
2703
- /* @__PURE__ */ u(z, { children: l == "vertical" && (() => {
2704
- const m = {
2828
+ /* @__PURE__ */ u(A, { children: o == "vertical" && (() => {
2829
+ const y = {
2705
2830
  height: 0,
2706
2831
  opacity: 0,
2707
2832
  transition: {
2708
- ...s,
2833
+ ...c,
2709
2834
  opacity: {
2710
2835
  duration: 0
2711
2836
  }
2712
2837
  }
2713
- }, S = {
2838
+ }, M = {
2714
2839
  height: "auto",
2715
2840
  opacity: 1,
2716
2841
  transition: {
2717
- ...s,
2842
+ ...c,
2718
2843
  opacity: {
2719
- duration: s.duration / 3,
2720
- delay: s.duration - s.duration / 3
2844
+ duration: c.duration / 3,
2845
+ delay: c.duration - c.duration / 3
2721
2846
  }
2722
2847
  }
2723
2848
  };
2724
2849
  return /* @__PURE__ */ u(
2725
- j.span,
2850
+ U.span,
2726
2851
  {
2727
- initial: S,
2728
- animate: S,
2729
- exit: m,
2852
+ initial: M,
2853
+ animate: M,
2854
+ exit: y,
2730
2855
  className: k.label,
2731
- transition: s,
2856
+ transition: c,
2732
2857
  children: r
2733
2858
  }
2734
2859
  );
@@ -2737,104 +2862,104 @@ const Ct = ({
2737
2862
  }
2738
2863
  )
2739
2864
  );
2740
- }, ut = K(
2865
+ }, ft = _(
2741
2866
  "navigationRail",
2742
2867
  ({ isExtended: e, alignment: t }) => ({
2743
- navigationRail: f("flex flex-col left-0 h-full top-0 pt-11", {
2868
+ navigationRail: d("flex flex-col left-0 h-full top-0 pt-11", {
2744
2869
  "w-fit max-w-24": !e,
2745
2870
  "w-fit min-w-[220px] max-w-[360px]": e,
2746
2871
  "justify-between": t == "middle",
2747
2872
  "justify-start": t == "top"
2748
2873
  }),
2749
- header: f("flex flex-col gap-1 items-start"),
2874
+ header: d("flex flex-col gap-1 items-start"),
2750
2875
  menuIcon: "mx-5",
2751
- segments: f(" flex flex-col overflow-auto min-w-full mt-10", {
2876
+ segments: d(" flex flex-col overflow-auto min-w-full mt-10", {
2752
2877
  "w-full": !e,
2753
2878
  "w-fit items-start": e
2754
2879
  })
2755
2880
  })
2756
- ), Bt = ({
2881
+ ), Pt = ({
2757
2882
  variant: e = "standard",
2758
2883
  onItemSelected: t,
2759
2884
  children: r,
2760
- className: l,
2885
+ className: o,
2761
2886
  selectedItem: n,
2762
- extended: c,
2887
+ extended: a,
2763
2888
  alignment: i = "top",
2764
- menu: a = {
2889
+ menu: s = {
2765
2890
  closed: {
2766
- icon: ot,
2891
+ icon: st,
2767
2892
  label: "Open menu"
2768
2893
  },
2769
2894
  opened: {
2770
- icon: ge,
2895
+ icon: ue,
2771
2896
  label: "Close menu"
2772
2897
  }
2773
2898
  },
2774
- style: d,
2775
- onExtendedChange: o,
2776
- transition: h,
2777
- setSelectedItem: p
2899
+ style: f,
2900
+ onExtendedChange: l,
2901
+ transition: p,
2902
+ setSelectedItem: m
2778
2903
  }) => {
2779
- const [s, y] = R(null), [v, N] = R(c);
2904
+ const [c, h] = R(null), [v, b] = R(a);
2780
2905
  let L;
2781
- n == 0 || n != null ? L = n : L = s;
2782
- const I = p || y, w = V(null), B = (k) => {
2906
+ n == 0 || n != null ? L = n : L = c;
2907
+ const I = m || h, w = j(null), B = (k) => {
2783
2908
  t == null || t(k);
2784
2909
  };
2785
- function b(k) {
2786
- const m = [];
2787
- return be.forEach(k, (S) => {
2788
- ee(S) && S.type === Le ? m.push(...b(S.props.children)) : m.push(S);
2789
- }), m;
2910
+ function N(k) {
2911
+ const y = [];
2912
+ return Ne.forEach(k, (M) => {
2913
+ ee(M) && M.type === Le ? y.push(...N(M.props.children)) : y.push(M);
2914
+ }), y;
2790
2915
  }
2791
- const E = b(r), M = E.filter(
2792
- (k) => ee(k) && k.type === ue
2793
- ), D = ut({
2916
+ const E = N(r), C = E.filter(
2917
+ (k) => ee(k) && k.type === fe
2918
+ ), V = ft({
2794
2919
  children: r,
2795
2920
  onItemSelected: t,
2796
2921
  selectedItem: L,
2797
2922
  setSelectedItem: I,
2798
- className: l,
2923
+ className: o,
2799
2924
  variant: e,
2800
2925
  extended: v,
2801
2926
  isExtended: v,
2802
2927
  alignment: i,
2803
- menu: a,
2804
- transition: h,
2805
- onExtendedChange: o
2928
+ menu: s,
2929
+ transition: p,
2930
+ onExtendedChange: l
2806
2931
  });
2807
- h = { duration: 0.3, ...h };
2808
- const $ = V(!1);
2809
- return $.current = !1, P(() => {
2810
- o == null || o(v ?? !1);
2811
- }, [v]), /* @__PURE__ */ U(
2932
+ p = { duration: 0.3, ...p };
2933
+ const P = j(!1);
2934
+ return P.current = !1, $(() => {
2935
+ l == null || l(v ?? !1);
2936
+ }, [v]), /* @__PURE__ */ D(
2812
2937
  "div",
2813
2938
  {
2814
- style: { transition: h.duration + "s", ...d },
2939
+ style: { transition: p.duration + "s", ...f },
2815
2940
  ref: w,
2816
- className: D.navigationRail,
2941
+ className: V.navigationRail,
2817
2942
  children: [
2818
- /* @__PURE__ */ U("div", { className: D.header, children: [
2943
+ /* @__PURE__ */ D("div", { className: V.header, children: [
2819
2944
  /* @__PURE__ */ u(
2820
- xe,
2945
+ ie,
2821
2946
  {
2822
- onClick: () => N(!v),
2823
- label: v ? a == null ? void 0 : a.opened.label : a == null ? void 0 : a.closed.label,
2824
- className: D.menuIcon,
2825
- icon: v ? a.opened.icon : a == null ? void 0 : a.closed.icon
2947
+ onClick: () => b(!v),
2948
+ label: v ? s == null ? void 0 : s.opened.label : s == null ? void 0 : s.closed.label,
2949
+ className: V.menuIcon,
2950
+ icon: v ? s.opened.icon : s == null ? void 0 : s.closed.icon
2826
2951
  }
2827
2952
  ),
2828
- M.length > 0 && le(M[0], {
2829
- transition: h,
2953
+ C.length > 0 && le(C[0], {
2954
+ transition: p,
2830
2955
  isExtended: v,
2831
- className: "!shadow-none mx-5 " + M[0].props.className
2956
+ className: "!shadow-none mx-5 " + C[0].props.className
2832
2957
  })
2833
2958
  ] }),
2834
- /* @__PURE__ */ u("div", { className: D.segments, children: (() => {
2959
+ /* @__PURE__ */ u("div", { className: V.segments, children: (() => {
2835
2960
  let k = 0;
2836
- return E.map((m) => ee(m) && m.type === it ? le(
2837
- m,
2961
+ return E.map((y) => ee(y) && y.type === dt ? le(
2962
+ y,
2838
2963
  {
2839
2964
  key: k,
2840
2965
  index: k++,
@@ -2843,11 +2968,11 @@ const Ct = ({
2843
2968
  selectedItem: L,
2844
2969
  setSelectedItem: I,
2845
2970
  onItemSelected: B,
2846
- transition: h,
2847
- extendedOnly: $.current,
2971
+ transition: p,
2972
+ extendedOnly: P.current,
2848
2973
  isExtended: v
2849
2974
  }
2850
- ) : ee(m) && m.type === ue ? null : ee(m) && m.type === ct ? ($.current = !0, v ? le(m, {}) : null) : m);
2975
+ ) : ee(y) && y.type === fe ? null : ee(y) && y.type === ut ? (P.current = !0, v ? le(y, {}) : null) : y);
2851
2976
  })() }),
2852
2977
  /* @__PURE__ */ u("div", { className: "flex-1 max-h-[160px]" })
2853
2978
  ]
@@ -2855,49 +2980,51 @@ const Ct = ({
2855
2980
  );
2856
2981
  };
2857
2982
  export {
2858
- Ae as Button,
2859
- Nt as Card,
2860
- It as Carousel,
2861
- Te as CarouselItem,
2862
- he as CustomScroll,
2863
- Et as Divider,
2864
- ue as Fab,
2983
+ ze as Button,
2984
+ Et as Card,
2985
+ kt as Carousel,
2986
+ et as CarouselItem,
2987
+ ge as CustomScroll,
2988
+ tt as Divider,
2989
+ fe as Fab,
2865
2990
  Q as Icon,
2866
- xe as IconButton,
2867
- Bt as NavigationRail,
2868
- it as NavigationRailItem,
2869
- ct as NavigationRailSection,
2870
- Ye as ProgressIndicator,
2991
+ ie as IconButton,
2992
+ Pt as NavigationRail,
2993
+ dt as NavigationRailItem,
2994
+ ut as NavigationRailSection,
2995
+ Ze as ProgressIndicator,
2871
2996
  ne as RippleEffect,
2872
- kt as Slider,
2873
- bt as SmoothScroll,
2997
+ Rt as SideSheet,
2998
+ St as Slider,
2999
+ Lt as SmoothScroll,
2874
3000
  Ct as Snackbar,
2875
- Rt as Switch,
2876
- Je as SyncedFixedWrapper,
2877
- at as Tab,
2878
- Mt as Tabs,
2879
- St as TextField,
2880
- Lt as ThemeProvider,
2881
- ye as ToolTip,
2882
- Pe as buttonStyle,
2883
- $e as cardStyle,
3001
+ Mt as Switch,
3002
+ Qe as SyncedFixedWrapper,
3003
+ ct as Tab,
3004
+ Bt as Tabs,
3005
+ $t as TextField,
3006
+ It as ThemeProvider,
3007
+ we as ToolTip,
3008
+ $e as buttonStyle,
3009
+ Pe as cardStyle,
2884
3010
  We as carouselItemStyle,
2885
3011
  De as carouselStyle,
2886
- f as classNames,
2887
- Me as classnames,
2888
- Ze as customScrollStyle,
2889
- K as defaultClassNames,
3012
+ d as classNames,
3013
+ Ce as classnames,
3014
+ Je as customScrollStyle,
3015
+ _ as defaultClassNames,
2890
3016
  Ve as dividerStyle,
2891
- Ue as fabStyle,
3017
+ je as fabStyle,
2892
3018
  Be as getClassNames,
2893
- je as iconButtonStyle,
2894
- ze as normalize,
3019
+ Ue as iconButtonStyle,
3020
+ Te as normalize,
2895
3021
  Fe as progressIndicatorStyle,
3022
+ Xe as sideSheetStyle,
2896
3023
  He as sliderStyle,
2897
- Xe as snackbarStyle,
2898
- Oe as switchStyle,
2899
- qe as tabStyle,
2900
- _e as tabsStyle,
2901
- Ke as textFieldStyle,
2902
- Ge as toolStyle
3024
+ Oe as snackbarStyle,
3025
+ qe as switchStyle,
3026
+ _e as tabStyle,
3027
+ Ke as tabsStyle,
3028
+ Ge as textFieldStyle,
3029
+ Ye as toolStyle
2903
3030
  };