eglador-ui-react 1.0.0-alpha.2 → 1.0.0-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  Eglador UI for React — headless, accessible component library. Compound subcomponents, **Tailwind CSS v4**, zero runtime dependencies.
14
14
 
15
- > **Status:** Pre-alpha — 10/55 bileşen hazır (Tier 1). Tier 2 (form bileşenleri) sürüyor.
15
+ > **Status:** Pre-alpha — 21/55 components shipped. Tier 1 (Display complete) and most of Tier 2 are done.
16
16
 
17
17
  ## Installation
18
18
 
@@ -36,17 +36,27 @@ npm install eglador-ui-react
36
36
  | Next.js (`src/`) | `src/app/globals.css` | `../../node_modules/eglador-ui-react` |
37
37
  | Vite | `src/index.css` | `../node_modules/eglador-ui-react` |
38
38
 
39
- ## Bileşenler (10/55)
39
+ ## Conventions
40
40
 
41
- **✓ = hazır · = planlı**
41
+ All components share the same vocabulary:
42
+
43
+ - **Variants** (visual hierarchy): `solid` · `soft` · `outline` · `ghost` · `link`
44
+ - **Sizes**: `xs` · `sm` · `md` · `lg` · `xl`
45
+ - **Shapes**: `square` · `rounded` · `pill` · `circle`
46
+ - **Palette**: zinc-only (no color schemes; theming handled separately)
47
+ - **A11y**: native HTML inputs, `aria-*` attributes, focus-visible rings, RTL-safe Tailwind logical properties
48
+
49
+ ## Components (21/55)
50
+
51
+ **✓ = shipped · — = planned**
42
52
 
43
53
  **Layout & Structure (2/7)** — — Accordion · ✓ AspectRatio · — Collapsible · — Resizable · — ScrollArea · ✓ Separator · — Sidebar
44
54
 
45
- **Display (7/7) — TAMAM** — ✓ Avatar · ✓ Badge · ✓ Empty · ✓ Kbd · ✓ Skeleton · ✓ Spinner · ✓ Typography
55
+ **Display (7/7) — COMPLETE** — ✓ Avatar · ✓ Badge · ✓ Empty · ✓ Kbd · ✓ Skeleton · ✓ Spinner · ✓ Typography
46
56
 
47
57
  **Navigation (0/7)** — — Breadcrumb · — Menubar · — NavigationMenu · — Pagination · — Stepper · — Tabs · — TreeView
48
58
 
49
- **Forms (1/15)** — Button · ButtonGroup · Checkbox · CheckboxGroup · Input · InputGroup · — InputOTP · ✓ Label · — MultiSelect · — NativeSelect · Radio · RadioGroup · — Select · Switch · Textarea
59
+ **Forms (11/15)** — Button · ButtonGroup · Checkbox · CheckboxGroup · Input · InputGroup · — InputOTP · ✓ Label · — MultiSelect · — NativeSelect · Radio · RadioGroup · — Select · Switch · Textarea
50
60
 
51
61
  **Date & Time (0/3)** — — Calendar · — DatePicker · — DateTimePicker
52
62
 
@@ -54,7 +64,7 @@ npm install eglador-ui-react
54
64
 
55
65
  **Data (0/1)** — — Table
56
66
 
57
- **Misc (0/5)** — — Command · — ImageCropper · Link · — SpeedDial · — Progress
67
+ **Misc (1/5)** — — Command · — ImageCropper · Link · — SpeedDial · — Progress
58
68
 
59
69
  ## Compatibility
60
70
 
package/dist/index.d.mts CHANGED
@@ -41,6 +41,73 @@ interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
41
41
  }
42
42
  declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
43
43
 
44
+ type ButtonVariant = "solid" | "soft" | "outline" | "ghost" | "link";
45
+ type ButtonSize = "xs" | "sm" | "md" | "lg" | "xl";
46
+ type ButtonShape = "square" | "rounded" | "circle";
47
+ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "active"> {
48
+ variant?: ButtonVariant;
49
+ size?: ButtonSize;
50
+ shape?: ButtonShape;
51
+ icon?: React.ReactNode;
52
+ iconRight?: React.ReactNode;
53
+ loading?: boolean;
54
+ active?: boolean;
55
+ }
56
+ interface ButtonVariantOptions {
57
+ variant?: ButtonVariant;
58
+ size?: ButtonSize;
59
+ shape?: ButtonShape;
60
+ }
61
+ declare function buttonVariants({ variant, size, shape, }?: ButtonVariantOptions): string;
62
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
63
+
64
+ type ButtonGroupOrientation = "horizontal" | "vertical";
65
+ interface ButtonGroupProps extends React.HTMLAttributes<HTMLDivElement> {
66
+ orientation?: ButtonGroupOrientation;
67
+ }
68
+ declare const ButtonGroup: React.ForwardRefExoticComponent<ButtonGroupProps & React.RefAttributes<HTMLDivElement>>;
69
+ interface ButtonGroupSeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
70
+ orientation?: ButtonGroupOrientation;
71
+ }
72
+ declare const ButtonGroupSeparator: React.ForwardRefExoticComponent<ButtonGroupSeparatorProps & React.RefAttributes<HTMLDivElement>>;
73
+ type ButtonGroupTextSize = "xs" | "sm" | "md" | "lg" | "xl";
74
+ interface ButtonGroupTextProps extends React.HTMLAttributes<HTMLDivElement> {
75
+ size?: ButtonGroupTextSize;
76
+ }
77
+ declare const ButtonGroupText: React.ForwardRefExoticComponent<ButtonGroupTextProps & React.RefAttributes<HTMLDivElement>>;
78
+
79
+ type CheckboxSize = "xs" | "sm" | "md" | "lg" | "xl";
80
+ interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "onChange"> {
81
+ size?: CheckboxSize;
82
+ checked?: boolean;
83
+ defaultChecked?: boolean;
84
+ indeterminate?: boolean;
85
+ onCheckedChange?: (checked: boolean) => void;
86
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
87
+ }
88
+ declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
89
+
90
+ type CheckboxGroupOrientation = "horizontal" | "vertical";
91
+ interface CheckboxGroupProps extends Omit<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, "onChange"> {
92
+ value?: string[];
93
+ defaultValue?: string[];
94
+ onValueChange?: (value: string[]) => void;
95
+ orientation?: CheckboxGroupOrientation;
96
+ size?: CheckboxSize;
97
+ name?: string;
98
+ invalid?: boolean;
99
+ legend?: React.ReactNode;
100
+ description?: React.ReactNode;
101
+ }
102
+ declare const CheckboxGroup: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLFieldSetElement>>;
103
+ interface CheckboxGroupItemProps extends Omit<React.LabelHTMLAttributes<HTMLLabelElement>, "onChange" | "htmlFor"> {
104
+ value: string;
105
+ label?: React.ReactNode;
106
+ description?: React.ReactNode;
107
+ disabled?: boolean;
108
+ }
109
+ declare const CheckboxGroupItem: React.ForwardRefExoticComponent<CheckboxGroupItemProps & React.RefAttributes<HTMLLabelElement>>;
110
+
44
111
  type EmptySize = "xs" | "sm" | "md" | "lg" | "xl";
45
112
  interface EmptyProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
46
113
  icon?: React.ReactNode;
@@ -52,8 +119,53 @@ interface EmptyProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">
52
119
  }
53
120
  declare const Empty: React.ForwardRefExoticComponent<EmptyProps & React.RefAttributes<HTMLDivElement>>;
54
121
 
122
+ type InputVariant = "outline" | "soft" | "ghost";
123
+ type InputSize = "xs" | "sm" | "md" | "lg" | "xl";
124
+ type InputShape = "square" | "rounded" | "pill";
125
+ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
126
+ variant?: InputVariant;
127
+ size?: InputSize;
128
+ shape?: InputShape;
129
+ }
130
+ declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
131
+
132
+ type TextareaVariant = "outline" | "soft" | "ghost";
133
+ type TextareaSize = "xs" | "sm" | "md" | "lg" | "xl";
134
+ type TextareaShape = "square" | "rounded";
135
+ type TextareaResize = "none" | "vertical" | "horizontal" | "both";
136
+ interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> {
137
+ variant?: TextareaVariant;
138
+ size?: TextareaSize;
139
+ shape?: TextareaShape;
140
+ resize?: TextareaResize;
141
+ autoGrow?: boolean;
142
+ maxRows?: number;
143
+ }
144
+ declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
145
+
146
+ interface InputGroupProps extends React.HTMLAttributes<HTMLDivElement> {
147
+ }
148
+ declare const InputGroup: React.ForwardRefExoticComponent<InputGroupProps & React.RefAttributes<HTMLDivElement>>;
149
+ declare const InputGroupInput: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
150
+ declare const InputGroupTextarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
151
+ type InputGroupAddonAlign = "inline-start" | "inline-end" | "block-start" | "block-end";
152
+ interface InputGroupAddonProps extends React.HTMLAttributes<HTMLDivElement> {
153
+ align?: InputGroupAddonAlign;
154
+ }
155
+ declare const InputGroupAddon: React.ForwardRefExoticComponent<InputGroupAddonProps & React.RefAttributes<HTMLDivElement>>;
156
+ type InputGroupButtonSize = "xs" | "sm" | "icon-xs" | "icon-sm";
157
+ type InputGroupButtonVariant = "ghost" | "outline" | "soft" | "solid";
158
+ interface InputGroupButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
159
+ size?: InputGroupButtonSize;
160
+ variant?: InputGroupButtonVariant;
161
+ }
162
+ declare const InputGroupButton: React.ForwardRefExoticComponent<InputGroupButtonProps & React.RefAttributes<HTMLButtonElement>>;
163
+ interface InputGroupTextProps extends React.HTMLAttributes<HTMLDivElement> {
164
+ }
165
+ declare const InputGroupText: React.ForwardRefExoticComponent<InputGroupTextProps & React.RefAttributes<HTMLDivElement>>;
166
+
55
167
  type KbdSize = "xs" | "sm" | "md" | "lg" | "xl";
56
- type KbdVariant = "default" | "outline" | "ghost";
168
+ type KbdVariant = "soft" | "outline" | "ghost";
57
169
  type KbdShape = "square" | "rounded";
58
170
  interface KbdProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
59
171
  size?: KbdSize;
@@ -79,6 +191,49 @@ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
79
191
  }
80
192
  declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
81
193
 
194
+ type LinkUnderline = "hover" | "always" | "none";
195
+ type LinkSize = "xs" | "sm" | "md" | "lg" | "xl";
196
+ interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
197
+ size?: LinkSize;
198
+ underline?: LinkUnderline;
199
+ icon?: React.ReactNode;
200
+ iconRight?: React.ReactNode;
201
+ external?: boolean;
202
+ disabled?: boolean;
203
+ }
204
+ declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
205
+
206
+ type RadioSize = "xs" | "sm" | "md" | "lg" | "xl";
207
+ interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "onChange"> {
208
+ size?: RadioSize;
209
+ checked?: boolean;
210
+ defaultChecked?: boolean;
211
+ onCheckedChange?: (checked: boolean) => void;
212
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
213
+ }
214
+ declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
215
+
216
+ type RadioGroupOrientation = "horizontal" | "vertical";
217
+ interface RadioGroupProps extends Omit<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, "onChange"> {
218
+ value?: string;
219
+ defaultValue?: string;
220
+ onValueChange?: (value: string) => void;
221
+ orientation?: RadioGroupOrientation;
222
+ size?: RadioSize;
223
+ name?: string;
224
+ invalid?: boolean;
225
+ legend?: React.ReactNode;
226
+ description?: React.ReactNode;
227
+ }
228
+ declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLFieldSetElement>>;
229
+ interface RadioGroupItemProps extends Omit<React.LabelHTMLAttributes<HTMLLabelElement>, "onChange" | "htmlFor"> {
230
+ value: string;
231
+ label?: React.ReactNode;
232
+ description?: React.ReactNode;
233
+ disabled?: boolean;
234
+ }
235
+ declare const RadioGroupItem: React.ForwardRefExoticComponent<RadioGroupItemProps & React.RefAttributes<HTMLLabelElement>>;
236
+
82
237
  type SeparatorOrientation = "horizontal" | "vertical";
83
238
  type SeparatorVariant = "solid" | "dashed" | "dotted";
84
239
  interface SeparatorProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "role" | "aria-orientation"> {
@@ -111,6 +266,16 @@ interface SpinnerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "role"
111
266
  }
112
267
  declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLDivElement>>;
113
268
 
269
+ type SwitchSize = "xs" | "sm" | "md" | "lg" | "xl";
270
+ interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "onChange"> {
271
+ size?: SwitchSize;
272
+ checked?: boolean;
273
+ defaultChecked?: boolean;
274
+ onCheckedChange?: (checked: boolean) => void;
275
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
276
+ }
277
+ declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>;
278
+
114
279
  type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "p" | "lead" | "large" | "small" | "muted" | "blockquote" | "list" | "code" | "kbd";
115
280
  type TypographyColor = "default" | "muted";
116
281
  type TypographyAlign = "left" | "center" | "right";
@@ -127,4 +292,4 @@ interface TypographyProps extends Omit<React.HTMLAttributes<HTMLElement>, "color
127
292
  }
128
293
  declare const Typography: React.ForwardRefExoticComponent<TypographyProps & React.RefAttributes<HTMLElement>>;
129
294
 
130
- export { AspectRatio, type AspectRatioPreset, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, Empty, type EmptyProps, type EmptySize, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, type KbdShape, type KbdSize, type KbdVariant, Label, type LabelProps, type LabelSize, Separator, type SeparatorOrientation, type SeparatorProps, type SeparatorVariant, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, type SpinnerSize, Typography, type TypographyAlign, type TypographyColor, type TypographyProps, type TypographyVariant, type TypographyWeight, ensureSkeletonStyles };
295
+ export { AspectRatio, type AspectRatioPreset, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, Button, ButtonGroup, type ButtonGroupOrientation, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonGroupTextSize, type ButtonProps, type ButtonShape, type ButtonSize, type ButtonVariant, type ButtonVariantOptions, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupOrientation, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, Empty, type EmptyProps, type EmptySize, Input, InputGroup, InputGroupAddon, type InputGroupAddonAlign, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, type InputGroupButtonSize, type InputGroupButtonVariant, InputGroupInput, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputGroupTextarea, type InputProps, type InputShape, type InputSize, type InputVariant, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, type KbdShape, type KbdSize, type KbdVariant, Label, type LabelProps, type LabelSize, Link, type LinkProps, type LinkSize, type LinkUnderline, Radio, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupOrientation, type RadioGroupProps, type RadioProps, type RadioSize, Separator, type SeparatorOrientation, type SeparatorProps, type SeparatorVariant, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, type SpinnerSize, Switch, type SwitchProps, type SwitchSize, Textarea, type TextareaProps, type TextareaResize, type TextareaShape, type TextareaSize, type TextareaVariant, Typography, type TypographyAlign, type TypographyColor, type TypographyProps, type TypographyVariant, type TypographyWeight, buttonVariants, ensureSkeletonStyles };
package/dist/index.d.ts CHANGED
@@ -41,6 +41,73 @@ interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
41
41
  }
42
42
  declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
43
43
 
44
+ type ButtonVariant = "solid" | "soft" | "outline" | "ghost" | "link";
45
+ type ButtonSize = "xs" | "sm" | "md" | "lg" | "xl";
46
+ type ButtonShape = "square" | "rounded" | "circle";
47
+ interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "active"> {
48
+ variant?: ButtonVariant;
49
+ size?: ButtonSize;
50
+ shape?: ButtonShape;
51
+ icon?: React.ReactNode;
52
+ iconRight?: React.ReactNode;
53
+ loading?: boolean;
54
+ active?: boolean;
55
+ }
56
+ interface ButtonVariantOptions {
57
+ variant?: ButtonVariant;
58
+ size?: ButtonSize;
59
+ shape?: ButtonShape;
60
+ }
61
+ declare function buttonVariants({ variant, size, shape, }?: ButtonVariantOptions): string;
62
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
63
+
64
+ type ButtonGroupOrientation = "horizontal" | "vertical";
65
+ interface ButtonGroupProps extends React.HTMLAttributes<HTMLDivElement> {
66
+ orientation?: ButtonGroupOrientation;
67
+ }
68
+ declare const ButtonGroup: React.ForwardRefExoticComponent<ButtonGroupProps & React.RefAttributes<HTMLDivElement>>;
69
+ interface ButtonGroupSeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
70
+ orientation?: ButtonGroupOrientation;
71
+ }
72
+ declare const ButtonGroupSeparator: React.ForwardRefExoticComponent<ButtonGroupSeparatorProps & React.RefAttributes<HTMLDivElement>>;
73
+ type ButtonGroupTextSize = "xs" | "sm" | "md" | "lg" | "xl";
74
+ interface ButtonGroupTextProps extends React.HTMLAttributes<HTMLDivElement> {
75
+ size?: ButtonGroupTextSize;
76
+ }
77
+ declare const ButtonGroupText: React.ForwardRefExoticComponent<ButtonGroupTextProps & React.RefAttributes<HTMLDivElement>>;
78
+
79
+ type CheckboxSize = "xs" | "sm" | "md" | "lg" | "xl";
80
+ interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "onChange"> {
81
+ size?: CheckboxSize;
82
+ checked?: boolean;
83
+ defaultChecked?: boolean;
84
+ indeterminate?: boolean;
85
+ onCheckedChange?: (checked: boolean) => void;
86
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
87
+ }
88
+ declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
89
+
90
+ type CheckboxGroupOrientation = "horizontal" | "vertical";
91
+ interface CheckboxGroupProps extends Omit<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, "onChange"> {
92
+ value?: string[];
93
+ defaultValue?: string[];
94
+ onValueChange?: (value: string[]) => void;
95
+ orientation?: CheckboxGroupOrientation;
96
+ size?: CheckboxSize;
97
+ name?: string;
98
+ invalid?: boolean;
99
+ legend?: React.ReactNode;
100
+ description?: React.ReactNode;
101
+ }
102
+ declare const CheckboxGroup: React.ForwardRefExoticComponent<CheckboxGroupProps & React.RefAttributes<HTMLFieldSetElement>>;
103
+ interface CheckboxGroupItemProps extends Omit<React.LabelHTMLAttributes<HTMLLabelElement>, "onChange" | "htmlFor"> {
104
+ value: string;
105
+ label?: React.ReactNode;
106
+ description?: React.ReactNode;
107
+ disabled?: boolean;
108
+ }
109
+ declare const CheckboxGroupItem: React.ForwardRefExoticComponent<CheckboxGroupItemProps & React.RefAttributes<HTMLLabelElement>>;
110
+
44
111
  type EmptySize = "xs" | "sm" | "md" | "lg" | "xl";
45
112
  interface EmptyProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
46
113
  icon?: React.ReactNode;
@@ -52,8 +119,53 @@ interface EmptyProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title">
52
119
  }
53
120
  declare const Empty: React.ForwardRefExoticComponent<EmptyProps & React.RefAttributes<HTMLDivElement>>;
54
121
 
122
+ type InputVariant = "outline" | "soft" | "ghost";
123
+ type InputSize = "xs" | "sm" | "md" | "lg" | "xl";
124
+ type InputShape = "square" | "rounded" | "pill";
125
+ interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
126
+ variant?: InputVariant;
127
+ size?: InputSize;
128
+ shape?: InputShape;
129
+ }
130
+ declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
131
+
132
+ type TextareaVariant = "outline" | "soft" | "ghost";
133
+ type TextareaSize = "xs" | "sm" | "md" | "lg" | "xl";
134
+ type TextareaShape = "square" | "rounded";
135
+ type TextareaResize = "none" | "vertical" | "horizontal" | "both";
136
+ interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> {
137
+ variant?: TextareaVariant;
138
+ size?: TextareaSize;
139
+ shape?: TextareaShape;
140
+ resize?: TextareaResize;
141
+ autoGrow?: boolean;
142
+ maxRows?: number;
143
+ }
144
+ declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
145
+
146
+ interface InputGroupProps extends React.HTMLAttributes<HTMLDivElement> {
147
+ }
148
+ declare const InputGroup: React.ForwardRefExoticComponent<InputGroupProps & React.RefAttributes<HTMLDivElement>>;
149
+ declare const InputGroupInput: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
150
+ declare const InputGroupTextarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
151
+ type InputGroupAddonAlign = "inline-start" | "inline-end" | "block-start" | "block-end";
152
+ interface InputGroupAddonProps extends React.HTMLAttributes<HTMLDivElement> {
153
+ align?: InputGroupAddonAlign;
154
+ }
155
+ declare const InputGroupAddon: React.ForwardRefExoticComponent<InputGroupAddonProps & React.RefAttributes<HTMLDivElement>>;
156
+ type InputGroupButtonSize = "xs" | "sm" | "icon-xs" | "icon-sm";
157
+ type InputGroupButtonVariant = "ghost" | "outline" | "soft" | "solid";
158
+ interface InputGroupButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
159
+ size?: InputGroupButtonSize;
160
+ variant?: InputGroupButtonVariant;
161
+ }
162
+ declare const InputGroupButton: React.ForwardRefExoticComponent<InputGroupButtonProps & React.RefAttributes<HTMLButtonElement>>;
163
+ interface InputGroupTextProps extends React.HTMLAttributes<HTMLDivElement> {
164
+ }
165
+ declare const InputGroupText: React.ForwardRefExoticComponent<InputGroupTextProps & React.RefAttributes<HTMLDivElement>>;
166
+
55
167
  type KbdSize = "xs" | "sm" | "md" | "lg" | "xl";
56
- type KbdVariant = "default" | "outline" | "ghost";
168
+ type KbdVariant = "soft" | "outline" | "ghost";
57
169
  type KbdShape = "square" | "rounded";
58
170
  interface KbdProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
59
171
  size?: KbdSize;
@@ -79,6 +191,49 @@ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
79
191
  }
80
192
  declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
81
193
 
194
+ type LinkUnderline = "hover" | "always" | "none";
195
+ type LinkSize = "xs" | "sm" | "md" | "lg" | "xl";
196
+ interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
197
+ size?: LinkSize;
198
+ underline?: LinkUnderline;
199
+ icon?: React.ReactNode;
200
+ iconRight?: React.ReactNode;
201
+ external?: boolean;
202
+ disabled?: boolean;
203
+ }
204
+ declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
205
+
206
+ type RadioSize = "xs" | "sm" | "md" | "lg" | "xl";
207
+ interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "onChange"> {
208
+ size?: RadioSize;
209
+ checked?: boolean;
210
+ defaultChecked?: boolean;
211
+ onCheckedChange?: (checked: boolean) => void;
212
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
213
+ }
214
+ declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
215
+
216
+ type RadioGroupOrientation = "horizontal" | "vertical";
217
+ interface RadioGroupProps extends Omit<React.FieldsetHTMLAttributes<HTMLFieldSetElement>, "onChange"> {
218
+ value?: string;
219
+ defaultValue?: string;
220
+ onValueChange?: (value: string) => void;
221
+ orientation?: RadioGroupOrientation;
222
+ size?: RadioSize;
223
+ name?: string;
224
+ invalid?: boolean;
225
+ legend?: React.ReactNode;
226
+ description?: React.ReactNode;
227
+ }
228
+ declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLFieldSetElement>>;
229
+ interface RadioGroupItemProps extends Omit<React.LabelHTMLAttributes<HTMLLabelElement>, "onChange" | "htmlFor"> {
230
+ value: string;
231
+ label?: React.ReactNode;
232
+ description?: React.ReactNode;
233
+ disabled?: boolean;
234
+ }
235
+ declare const RadioGroupItem: React.ForwardRefExoticComponent<RadioGroupItemProps & React.RefAttributes<HTMLLabelElement>>;
236
+
82
237
  type SeparatorOrientation = "horizontal" | "vertical";
83
238
  type SeparatorVariant = "solid" | "dashed" | "dotted";
84
239
  interface SeparatorProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "role" | "aria-orientation"> {
@@ -111,6 +266,16 @@ interface SpinnerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "role"
111
266
  }
112
267
  declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLDivElement>>;
113
268
 
269
+ type SwitchSize = "xs" | "sm" | "md" | "lg" | "xl";
270
+ interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "onChange"> {
271
+ size?: SwitchSize;
272
+ checked?: boolean;
273
+ defaultChecked?: boolean;
274
+ onCheckedChange?: (checked: boolean) => void;
275
+ onChange?: React.ChangeEventHandler<HTMLInputElement>;
276
+ }
277
+ declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLInputElement>>;
278
+
114
279
  type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "p" | "lead" | "large" | "small" | "muted" | "blockquote" | "list" | "code" | "kbd";
115
280
  type TypographyColor = "default" | "muted";
116
281
  type TypographyAlign = "left" | "center" | "right";
@@ -127,4 +292,4 @@ interface TypographyProps extends Omit<React.HTMLAttributes<HTMLElement>, "color
127
292
  }
128
293
  declare const Typography: React.ForwardRefExoticComponent<TypographyProps & React.RefAttributes<HTMLElement>>;
129
294
 
130
- export { AspectRatio, type AspectRatioPreset, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, Empty, type EmptyProps, type EmptySize, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, type KbdShape, type KbdSize, type KbdVariant, Label, type LabelProps, type LabelSize, Separator, type SeparatorOrientation, type SeparatorProps, type SeparatorVariant, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, type SpinnerSize, Typography, type TypographyAlign, type TypographyColor, type TypographyProps, type TypographyVariant, type TypographyWeight, ensureSkeletonStyles };
295
+ export { AspectRatio, type AspectRatioPreset, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, Button, ButtonGroup, type ButtonGroupOrientation, type ButtonGroupProps, ButtonGroupSeparator, type ButtonGroupSeparatorProps, ButtonGroupText, type ButtonGroupTextProps, type ButtonGroupTextSize, type ButtonProps, type ButtonShape, type ButtonSize, type ButtonVariant, type ButtonVariantOptions, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupOrientation, type CheckboxGroupProps, type CheckboxProps, type CheckboxSize, Empty, type EmptyProps, type EmptySize, Input, InputGroup, InputGroupAddon, type InputGroupAddonAlign, type InputGroupAddonProps, InputGroupButton, type InputGroupButtonProps, type InputGroupButtonSize, type InputGroupButtonVariant, InputGroupInput, type InputGroupProps, InputGroupText, type InputGroupTextProps, InputGroupTextarea, type InputProps, type InputShape, type InputSize, type InputVariant, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, type KbdShape, type KbdSize, type KbdVariant, Label, type LabelProps, type LabelSize, Link, type LinkProps, type LinkSize, type LinkUnderline, Radio, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupOrientation, type RadioGroupProps, type RadioProps, type RadioSize, Separator, type SeparatorOrientation, type SeparatorProps, type SeparatorVariant, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, type SpinnerSize, Switch, type SwitchProps, type SwitchSize, Textarea, type TextareaProps, type TextareaResize, type TextareaShape, type TextareaSize, type TextareaVariant, Typography, type TypographyAlign, type TypographyColor, type TypographyProps, type TypographyVariant, type TypographyWeight, buttonVariants, ensureSkeletonStyles };
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- "use strict";var Pt=Object.create;var ie=Object.defineProperty;var Et=Object.getOwnPropertyDescriptor;var Gt=Object.getOwnPropertyNames;var Ht=Object.getPrototypeOf,Wt=Object.prototype.hasOwnProperty;var Vt=(e,t)=>{for(var o in t)ie(e,o,{get:t[o],enumerable:!0})},Le=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Gt(t))!Wt.call(e,s)&&s!==o&&ie(e,s,{get:()=>t[s],enumerable:!(r=Et(t,s))||r.enumerable});return e};var P=(e,t,o)=>(o=e!=null?Pt(Ht(e)):{},Le(t||!e||!e.__esModule?ie(o,"default",{value:e,enumerable:!0}):o,e)),Ft=e=>Le(ie({},"__esModule",{value:!0}),e);var jo={};Vt(jo,{AspectRatio:()=>rt,Avatar:()=>dt,AvatarGroup:()=>pt,Badge:()=>ft,Empty:()=>gt,Kbd:()=>xt,KbdGroup:()=>yt,Label:()=>kt,Separator:()=>zt,Skeleton:()=>At,Spinner:()=>Tt,Typography:()=>Ct,ensureSkeletonStyles:()=>me});module.exports=Ft(jo);var ot=P(require("react"));function Pe(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(o=Pe(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function Ee(){for(var e,t,o=0,r="",s=arguments.length;o<s;o++)(e=arguments[o])&&(t=Pe(e))&&(r&&(r+=" "),r+=t);return r}var Ot=(e,t)=>{let o=new Array(e.length+t.length);for(let r=0;r<e.length;r++)o[r]=e[r];for(let r=0;r<t.length;r++)o[e.length+r]=t[r];return o},Dt=(e,t)=>({classGroupId:e,validator:t}),Oe=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o});var Ge=[],_t="arbitrary..",Bt=e=>{let t=jt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return Kt(a);let d=a.split("-"),f=d[0]===""&&d.length>1?1:0;return De(d,f,t)},getConflictingClassGroupIds:(a,d)=>{if(d){let f=r[a],p=o[a];return f?p?Ot(p,f):f:p||Ge}return o[a]||Ge}}},De=(e,t,o)=>{if(e.length-t===0)return o.classGroupId;let s=e[t],i=o.nextPart.get(s);if(i){let p=De(e,t+1,i);if(p)return p}let a=o.validators;if(a===null)return;let d=t===0?e.join("-"):e.slice(t).join("-"),f=a.length;for(let p=0;p<f;p++){let g=a[p];if(g.validator(d))return g.classGroupId}},Kt=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let t=e.slice(1,-1),o=t.indexOf(":"),r=t.slice(0,o);return r?_t+r:void 0})(),jt=e=>{let{theme:t,classGroups:o}=e;return Ut(o,t)},Ut=(e,t)=>{let o=Oe();for(let r in e){let s=e[r];ke(s,o,r,t)}return o},ke=(e,t,o,r)=>{let s=e.length;for(let i=0;i<s;i++){let a=e[i];qt(a,t,o,r)}},qt=(e,t,o,r)=>{if(typeof e=="string"){$t(e,t,o);return}if(typeof e=="function"){Zt(e,t,o,r);return}Yt(e,t,o,r)},$t=(e,t,o)=>{let r=e===""?t:_e(t,e);r.classGroupId=o},Zt=(e,t,o,r)=>{if(Xt(e)){ke(e(r),t,o,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Dt(o,e))},Yt=(e,t,o,r)=>{let s=Object.entries(e),i=s.length;for(let a=0;a<i;a++){let[d,f]=s[a];ke(f,_e(t,d),o,r)}},_e=(e,t)=>{let o=e,r=t.split("-"),s=r.length;for(let i=0;i<s;i++){let a=r[i],d=o.nextPart.get(a);d||(d=Oe(),o.nextPart.set(a,d)),o=d}return o},Xt=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Jt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),r=Object.create(null),s=(i,a)=>{o[i]=a,t++,t>e&&(t=0,r=o,o=Object.create(null))};return{get(i){let a=o[i];if(a!==void 0)return a;if((a=r[i])!==void 0)return s(i,a),a},set(i,a){i in o?o[i]=a:s(i,a)}}};var Qt=[],He=(e,t,o,r,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:r,isExternal:s}),eo=e=>{let{prefix:t,experimentalParseClassName:o}=e,r=s=>{let i=[],a=0,d=0,f=0,p,g=s.length;for(let S=0;S<g;S++){let A=s[S];if(a===0&&d===0){if(A===":"){i.push(s.slice(f,S)),f=S+1;continue}if(A==="/"){p=S;continue}}A==="["?a++:A==="]"?a--:A==="("?d++:A===")"&&d--}let x=i.length===0?s:s.slice(f),v=x,y=!1;x.endsWith("!")?(v=x.slice(0,-1),y=!0):x.startsWith("!")&&(v=x.slice(1),y=!0);let z=p&&p>f?p-f:void 0;return He(i,y,v,z)};if(t){let s=t+":",i=r;r=a=>a.startsWith(s)?i(a.slice(s.length)):He(Qt,!1,a,void 0,!0)}if(o){let s=r;r=i=>o({className:i,parseClassName:s})}return r},to=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((o,r)=>{t.set(o,1e6+r)}),o=>{let r=[],s=[];for(let i=0;i<o.length;i++){let a=o[i],d=a[0]==="[",f=t.has(a);d||f?(s.length>0&&(s.sort(),r.push(...s),s=[]),r.push(a)):s.push(a)}return s.length>0&&(s.sort(),r.push(...s)),r}},oo=e=>({cache:Jt(e.cacheSize),parseClassName:eo(e),sortModifiers:to(e),postfixLookupClassGroupIds:ro(e),...Bt(e)}),ro=e=>{let t=Object.create(null),o=e.postfixLookupClassGroups;if(o)for(let r=0;r<o.length;r++)t[o[r]]=!0;return t},no=/\s+/,so=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:i,postfixLookupClassGroupIds:a}=t,d=[],f=e.trim().split(no),p="";for(let g=f.length-1;g>=0;g-=1){let x=f[g],{isExternal:v,modifiers:y,hasImportantModifier:z,baseClassName:S,maybePostfixModifierPosition:A}=o(x);if(v){p=x+(p.length>0?" "+p:p);continue}let H=!!A,I;if(H){let F=S.substring(0,A);I=r(F);let m=I&&a[I]?r(S):void 0;m&&m!==I&&(I=m,H=!1)}else I=r(S);if(!I){if(!H){p=x+(p.length>0?" "+p:p);continue}if(I=r(S),!I){p=x+(p.length>0?" "+p:p);continue}H=!1}let ee=y.length===0?"":y.length===1?y[0]:i(y).join(":"),Y=z?ee+"!":ee,X=Y+I;if(d.indexOf(X)>-1)continue;d.push(X);let J=s(I,H);for(let F=0;F<J.length;++F){let m=J[F];d.push(Y+m)}p=x+(p.length>0?" "+p:p)}return p},ao=(...e)=>{let t=0,o,r,s="";for(;t<e.length;)(o=e[t++])&&(r=Be(o))&&(s&&(s+=" "),s+=r);return s},Be=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=Be(e[r]))&&(o&&(o+=" "),o+=t);return o},io=(e,...t)=>{let o,r,s,i,a=f=>{let p=t.reduce((g,x)=>x(g),e());return o=oo(p),r=o.cache.get,s=o.cache.set,i=d,d(f)},d=f=>{let p=r(f);if(p)return p;let g=so(f,o);return s(f,g),g};return i=a,(...f)=>i(ao(...f))},lo=[],w=e=>{let t=o=>o[e]||lo;return t.isThemeGetter=!0,t},Ke=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,je=/^\((?:(\w[\w-]*):)?(.+)\)$/i,co=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,po=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mo=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,fo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,uo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,go=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,D=e=>co.test(e),h=e=>!!e&&!Number.isNaN(Number(e)),W=e=>!!e&&Number.isInteger(Number(e)),ve=e=>e.endsWith("%")&&h(e.slice(0,-1)),O=e=>po.test(e),Ue=()=>!0,bo=e=>mo.test(e)&&!fo.test(e),we=()=>!1,ho=e=>uo.test(e),xo=e=>go.test(e),yo=e=>!l(e)&&!c(e),vo=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),ko=e=>_(e,Ze,we),l=e=>Ke.test(e),q=e=>_(e,Ye,bo),We=e=>_(e,Mo,h),wo=e=>_(e,Je,Ue),zo=e=>_(e,Xe,we),Ve=e=>_(e,qe,we),So=e=>_(e,$e,xo),le=e=>_(e,Qe,ho),c=e=>je.test(e),te=e=>$(e,Ye),Ro=e=>$(e,Xe),Fe=e=>$(e,qe),Ao=e=>$(e,Ze),Io=e=>$(e,$e),ce=e=>$(e,Qe,!0),To=e=>$(e,Je,!0),_=(e,t,o)=>{let r=Ke.exec(e);return r?r[1]?t(r[1]):o(r[2]):!1},$=(e,t,o=!1)=>{let r=je.exec(e);return r?r[1]?t(r[1]):o:!1},qe=e=>e==="position"||e==="percentage",$e=e=>e==="image"||e==="url",Ze=e=>e==="length"||e==="size"||e==="bg-size",Ye=e=>e==="length",Mo=e=>e==="number",Xe=e=>e==="family-name",Je=e=>e==="number"||e==="weight",Qe=e=>e==="shadow";var No=()=>{let e=w("color"),t=w("font"),o=w("text"),r=w("font-weight"),s=w("tracking"),i=w("leading"),a=w("breakpoint"),d=w("container"),f=w("spacing"),p=w("radius"),g=w("shadow"),x=w("inset-shadow"),v=w("text-shadow"),y=w("drop-shadow"),z=w("blur"),S=w("perspective"),A=w("aspect"),H=w("ease"),I=w("animate"),ee=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],X=()=>[...Y(),c,l],J=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto","contain","none"],m=()=>[c,l,f],N=()=>[D,"full","auto",...m()],Se=()=>[W,"none","subgrid",c,l],Re=()=>["auto",{span:["full",W,c,l]},W,c,l],oe=()=>[W,"auto",c,l],Ae=()=>["auto","min","max","fr",c,l],ge=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Q=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...m()],U=()=>[D,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...m()],be=()=>[D,"screen","full","dvw","lvw","svw","min","max","fit",...m()],he=()=>[D,"screen","full","lh","dvh","lvh","svh","min","max","fit",...m()],u=()=>[e,c,l],Ie=()=>[...Y(),Fe,Ve,{position:[c,l]}],Te=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Me=()=>["auto","cover","contain",Ao,ko,{size:[c,l]}],xe=()=>[ve,te,q],T=()=>["","none","full",p,c,l],M=()=>["",h,te,q],re=()=>["solid","dashed","dotted","double"],Ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>[h,ve,Fe,Ve],Ce=()=>["","none",z,c,l],ne=()=>["none",h,c,l],se=()=>["none",h,c,l],ye=()=>[h,c,l],ae=()=>[D,"full",...m()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[O],breakpoint:[O],color:[Ue],container:[O],"drop-shadow":[O],ease:["in","out","in-out"],font:[yo],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[O],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[O],shadow:[O],spacing:["px",h],text:[O],"text-shadow":[O],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",D,l,c,A]}],container:["container"],"container-type":[{"@container":["","normal","size",c,l]}],"container-named":[vo],columns:[{columns:[h,l,c,d]}],"break-after":[{"break-after":ee()}],"break-before":[{"break-before":ee()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:X()}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:N()}],"inset-x":[{"inset-x":N()}],"inset-y":[{"inset-y":N()}],start:[{"inset-s":N(),start:N()}],end:[{"inset-e":N(),end:N()}],"inset-bs":[{"inset-bs":N()}],"inset-be":[{"inset-be":N()}],top:[{top:N()}],right:[{right:N()}],bottom:[{bottom:N()}],left:[{left:N()}],visibility:["visible","invisible","collapse"],z:[{z:[W,"auto",c,l]}],basis:[{basis:[D,"full","auto",d,...m()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[h,D,"auto","initial","none",l]}],grow:[{grow:["",h,c,l]}],shrink:[{shrink:["",h,c,l]}],order:[{order:[W,"first","last","none",c,l]}],"grid-cols":[{"grid-cols":Se()}],"col-start-end":[{col:Re()}],"col-start":[{"col-start":oe()}],"col-end":[{"col-end":oe()}],"grid-rows":[{"grid-rows":Se()}],"row-start-end":[{row:Re()}],"row-start":[{"row-start":oe()}],"row-end":[{"row-end":oe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ae()}],"auto-rows":[{"auto-rows":Ae()}],gap:[{gap:m()}],"gap-x":[{"gap-x":m()}],"gap-y":[{"gap-y":m()}],"justify-content":[{justify:[...ge(),"normal"]}],"justify-items":[{"justify-items":[...Q(),"normal"]}],"justify-self":[{"justify-self":["auto",...Q()]}],"align-content":[{content:["normal",...ge()]}],"align-items":[{items:[...Q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Q(),{baseline:["","last"]}]}],"place-content":[{"place-content":ge()}],"place-items":[{"place-items":[...Q(),"baseline"]}],"place-self":[{"place-self":["auto",...Q()]}],p:[{p:m()}],px:[{px:m()}],py:[{py:m()}],ps:[{ps:m()}],pe:[{pe:m()}],pbs:[{pbs:m()}],pbe:[{pbe:m()}],pt:[{pt:m()}],pr:[{pr:m()}],pb:[{pb:m()}],pl:[{pl:m()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mbs:[{mbs:L()}],mbe:[{mbe:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":m()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":m()}],"space-y-reverse":["space-y-reverse"],size:[{size:U()}],"inline-size":[{inline:["auto",...be()]}],"min-inline-size":[{"min-inline":["auto",...be()]}],"max-inline-size":[{"max-inline":["none",...be()]}],"block-size":[{block:["auto",...he()]}],"min-block-size":[{"min-block":["auto",...he()]}],"max-block-size":[{"max-block":["none",...he()]}],w:[{w:[d,"screen",...U()]}],"min-w":[{"min-w":[d,"screen","none",...U()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[a]},...U()]}],h:[{h:["screen","lh",...U()]}],"min-h":[{"min-h":["screen","lh","none",...U()]}],"max-h":[{"max-h":["screen","lh",...U()]}],"font-size":[{text:["base",o,te,q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,To,wo]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ve,l]}],"font-family":[{font:[Ro,zo,t]}],"font-features":[{"font-features":[l]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,c,l]}],"line-clamp":[{"line-clamp":[h,"none",c,We]}],leading:[{leading:[i,...m()]}],"list-image":[{"list-image":["none",c,l]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",c,l]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:u()}],"text-color":[{text:u()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...re(),"wavy"]}],"text-decoration-thickness":[{decoration:[h,"from-font","auto",c,q]}],"text-decoration-color":[{decoration:u()}],"underline-offset":[{"underline-offset":[h,"auto",c,l]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"tab-size":[{tab:[W,c,l]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c,l]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",c,l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Ie()}],"bg-repeat":[{bg:Te()}],"bg-size":[{bg:Me()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},W,c,l],radial:["",c,l],conic:[W,c,l]},Io,So]}],"bg-color":[{bg:u()}],"gradient-from-pos":[{from:xe()}],"gradient-via-pos":[{via:xe()}],"gradient-to-pos":[{to:xe()}],"gradient-from":[{from:u()}],"gradient-via":[{via:u()}],"gradient-to":[{to:u()}],rounded:[{rounded:T()}],"rounded-s":[{"rounded-s":T()}],"rounded-e":[{"rounded-e":T()}],"rounded-t":[{"rounded-t":T()}],"rounded-r":[{"rounded-r":T()}],"rounded-b":[{"rounded-b":T()}],"rounded-l":[{"rounded-l":T()}],"rounded-ss":[{"rounded-ss":T()}],"rounded-se":[{"rounded-se":T()}],"rounded-ee":[{"rounded-ee":T()}],"rounded-es":[{"rounded-es":T()}],"rounded-tl":[{"rounded-tl":T()}],"rounded-tr":[{"rounded-tr":T()}],"rounded-br":[{"rounded-br":T()}],"rounded-bl":[{"rounded-bl":T()}],"border-w":[{border:M()}],"border-w-x":[{"border-x":M()}],"border-w-y":[{"border-y":M()}],"border-w-s":[{"border-s":M()}],"border-w-e":[{"border-e":M()}],"border-w-bs":[{"border-bs":M()}],"border-w-be":[{"border-be":M()}],"border-w-t":[{"border-t":M()}],"border-w-r":[{"border-r":M()}],"border-w-b":[{"border-b":M()}],"border-w-l":[{"border-l":M()}],"divide-x":[{"divide-x":M()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":M()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...re(),"hidden","none"]}],"divide-style":[{divide:[...re(),"hidden","none"]}],"border-color":[{border:u()}],"border-color-x":[{"border-x":u()}],"border-color-y":[{"border-y":u()}],"border-color-s":[{"border-s":u()}],"border-color-e":[{"border-e":u()}],"border-color-bs":[{"border-bs":u()}],"border-color-be":[{"border-be":u()}],"border-color-t":[{"border-t":u()}],"border-color-r":[{"border-r":u()}],"border-color-b":[{"border-b":u()}],"border-color-l":[{"border-l":u()}],"divide-color":[{divide:u()}],"outline-style":[{outline:[...re(),"none","hidden"]}],"outline-offset":[{"outline-offset":[h,c,l]}],"outline-w":[{outline:["",h,te,q]}],"outline-color":[{outline:u()}],shadow:[{shadow:["","none",g,ce,le]}],"shadow-color":[{shadow:u()}],"inset-shadow":[{"inset-shadow":["none",x,ce,le]}],"inset-shadow-color":[{"inset-shadow":u()}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:u()}],"ring-offset-w":[{"ring-offset":[h,q]}],"ring-offset-color":[{"ring-offset":u()}],"inset-ring-w":[{"inset-ring":M()}],"inset-ring-color":[{"inset-ring":u()}],"text-shadow":[{"text-shadow":["none",v,ce,le]}],"text-shadow-color":[{"text-shadow":u()}],opacity:[{opacity:[h,c,l]}],"mix-blend":[{"mix-blend":[...Ne(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ne()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[h]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":u()}],"mask-image-linear-to-color":[{"mask-linear-to":u()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":u()}],"mask-image-t-to-color":[{"mask-t-to":u()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":u()}],"mask-image-r-to-color":[{"mask-r-to":u()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":u()}],"mask-image-b-to-color":[{"mask-b-to":u()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":u()}],"mask-image-l-to-color":[{"mask-l-to":u()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":u()}],"mask-image-x-to-color":[{"mask-x-to":u()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":u()}],"mask-image-y-to-color":[{"mask-y-to":u()}],"mask-image-radial":[{"mask-radial":[c,l]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":u()}],"mask-image-radial-to-color":[{"mask-radial-to":u()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":Y()}],"mask-image-conic-pos":[{"mask-conic":[h]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":u()}],"mask-image-conic-to-color":[{"mask-conic-to":u()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Ie()}],"mask-repeat":[{mask:Te()}],"mask-size":[{mask:Me()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",c,l]}],filter:[{filter:["","none",c,l]}],blur:[{blur:Ce()}],brightness:[{brightness:[h,c,l]}],contrast:[{contrast:[h,c,l]}],"drop-shadow":[{"drop-shadow":["","none",y,ce,le]}],"drop-shadow-color":[{"drop-shadow":u()}],grayscale:[{grayscale:["",h,c,l]}],"hue-rotate":[{"hue-rotate":[h,c,l]}],invert:[{invert:["",h,c,l]}],saturate:[{saturate:[h,c,l]}],sepia:[{sepia:["",h,c,l]}],"backdrop-filter":[{"backdrop-filter":["","none",c,l]}],"backdrop-blur":[{"backdrop-blur":Ce()}],"backdrop-brightness":[{"backdrop-brightness":[h,c,l]}],"backdrop-contrast":[{"backdrop-contrast":[h,c,l]}],"backdrop-grayscale":[{"backdrop-grayscale":["",h,c,l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h,c,l]}],"backdrop-invert":[{"backdrop-invert":["",h,c,l]}],"backdrop-opacity":[{"backdrop-opacity":[h,c,l]}],"backdrop-saturate":[{"backdrop-saturate":[h,c,l]}],"backdrop-sepia":[{"backdrop-sepia":["",h,c,l]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":m()}],"border-spacing-x":[{"border-spacing-x":m()}],"border-spacing-y":[{"border-spacing-y":m()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",c,l]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[h,"initial",c,l]}],ease:[{ease:["linear","initial",H,c,l]}],delay:[{delay:[h,c,l]}],animate:[{animate:["none",I,c,l]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,c,l]}],"perspective-origin":[{"perspective-origin":X()}],rotate:[{rotate:ne()}],"rotate-x":[{"rotate-x":ne()}],"rotate-y":[{"rotate-y":ne()}],"rotate-z":[{"rotate-z":ne()}],scale:[{scale:se()}],"scale-x":[{"scale-x":se()}],"scale-y":[{"scale-y":se()}],"scale-z":[{"scale-z":se()}],"scale-3d":["scale-3d"],skew:[{skew:ye()}],"skew-x":[{"skew-x":ye()}],"skew-y":[{"skew-y":ye()}],transform:[{transform:[c,l,"","none","gpu","cpu"]}],"transform-origin":[{origin:X()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ae()}],"translate-x":[{"translate-x":ae()}],"translate-y":[{"translate-y":ae()}],"translate-z":[{"translate-z":ae()}],"translate-none":["translate-none"],zoom:[{zoom:[W,c,l]}],accent:[{accent:u()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:u()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",c,l]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":u()}],"scrollbar-track-color":[{"scrollbar-track":u()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mbs":[{"scroll-mbs":m()}],"scroll-mbe":[{"scroll-mbe":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pbs":[{"scroll-pbs":m()}],"scroll-pbe":[{"scroll-pbe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",c,l]}],fill:[{fill:["none",...u()]}],"stroke-w":[{stroke:[h,te,q,We]}],stroke:[{stroke:["none",...u()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var et=io(No);function b(...e){return et(Ee(e))}var nt=require("react/jsx-runtime"),tt={"1:1":"aspect-square","16:9":"aspect-video","4:3":"aspect-[4/3]","21:9":"aspect-[21/9]","3:2":"aspect-[3/2]","2:3":"aspect-[2/3]","9:16":"aspect-[9/16]"},rt=ot.forwardRef(function({ratio:t="16:9",className:o,style:r,children:s,...i},a){let d=typeof t=="string"&&t in tt;return(0,nt.jsx)("div",{ref:a,className:b("relative overflow-hidden",d&&tt[t],o),style:!d&&typeof t=="number"?{aspectRatio:t,...r}:r,...i,children:s})});rt.displayName="AspectRatio";var C=P(require("react"));var st=P(require("react")),n=require("react/jsx-runtime");function k(e,t,o,r="none"){let s=st.memo(({className:i,strokeWidth:a=t})=>(0,n.jsx)("svg",{className:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:r,stroke:"currentColor",strokeWidth:a,strokeLinecap:"round",strokeLinejoin:"round",children:o}));return s.displayName=e,s}var er=k("ChevronDownIcon",2,(0,n.jsx)("path",{d:"m6 9 6 6 6-6"})),tr=k("ChevronUpIcon",2,(0,n.jsx)("path",{d:"m18 15-6-6-6 6"})),or=k("ChevronLeftIcon",2,(0,n.jsx)("path",{d:"m15 18-6-6 6-6"})),rr=k("ChevronRightIcon",2,(0,n.jsx)("path",{d:"m9 18 6-6-6-6"})),nr=k("ChevronsLeftIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"m11 17-5-5 5-5"}),(0,n.jsx)("path",{d:"m18 17-5-5 5-5"})]})),sr=k("ChevronsRightIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"m6 17 5-5-5-5"}),(0,n.jsx)("path",{d:"m13 17 5-5-5-5"})]})),ar=k("ChevronsUpDownIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"m7 15 5 5 5-5"}),(0,n.jsx)("path",{d:"m7 9 5-5 5 5"})]})),at=k("XIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M18 6 6 18"}),(0,n.jsx)("path",{d:"m6 6 12 12"})]})),ir=k("CheckIcon",2.5,(0,n.jsx)("path",{d:"M20 6 9 17l-5-5"})),lr=k("MinusIcon",2.5,(0,n.jsx)("path",{d:"M5 12h14"})),cr=k("PlusIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M5 12h14"}),(0,n.jsx)("path",{d:"M12 5v14"})]})),dr=k("SearchIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,n.jsx)("path",{d:"m21 21-4.3-4.3"})]})),pr=k("ExternalLinkIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M15 3h6v6"}),(0,n.jsx)("path",{d:"M10 14 21 3"}),(0,n.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"})]})),mr=k("EllipsisIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"1"}),(0,n.jsx)("circle",{cx:"19",cy:"12",r:"1"}),(0,n.jsx)("circle",{cx:"5",cy:"12",r:"1"})]}),"currentColor"),fr=k("DotIcon",2,(0,n.jsx)("circle",{cx:"12",cy:"12",r:"5"}),"currentColor"),ur=k("GripVerticalIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"9",cy:"5",r:"1"}),(0,n.jsx)("circle",{cx:"9",cy:"12",r:"1"}),(0,n.jsx)("circle",{cx:"9",cy:"19",r:"1"}),(0,n.jsx)("circle",{cx:"15",cy:"5",r:"1"}),(0,n.jsx)("circle",{cx:"15",cy:"12",r:"1"}),(0,n.jsx)("circle",{cx:"15",cy:"19",r:"1"})]}),"currentColor"),gr=k("GripHorizontalIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"5",cy:"9",r:"1"}),(0,n.jsx)("circle",{cx:"12",cy:"9",r:"1"}),(0,n.jsx)("circle",{cx:"19",cy:"9",r:"1"}),(0,n.jsx)("circle",{cx:"5",cy:"15",r:"1"}),(0,n.jsx)("circle",{cx:"12",cy:"15",r:"1"}),(0,n.jsx)("circle",{cx:"19",cy:"15",r:"1"})]}),"currentColor"),it=k("InboxIcon",1,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12"}),(0,n.jsx)("path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"})]})),br=k("InfoIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,n.jsx)("path",{d:"M12 16v-4"}),(0,n.jsx)("path",{d:"M12 8h.01"})]})),hr=k("WarningIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),(0,n.jsx)("path",{d:"M12 9v4"}),(0,n.jsx)("path",{d:"M12 17h.01"})]})),xr=k("ErrorIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,n.jsx)("path",{d:"m15 9-6 6"}),(0,n.jsx)("path",{d:"m9 9 6 6"})]})),yr=k("SuccessIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,n.jsx)("path",{d:"m9 12 2 2 4-4"})]})),vr=k("CalendarIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M8 2v4"}),(0,n.jsx)("path",{d:"M16 2v4"}),(0,n.jsx)("rect",{width:"18",height:"18",x:"3",y:"4",rx:"2"}),(0,n.jsx)("path",{d:"M3 10h18"})]})),lt=k("UserIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"12",cy:"8",r:"5"}),(0,n.jsx)("path",{d:"M20 21a8 8 0 0 0-16 0"})]}));var E=require("react/jsx-runtime"),ct={xs:{container:"size-6",font:"text-[10px]",iconSize:"size-3"},sm:{container:"size-8",font:"text-xs",iconSize:"size-3.5"},md:{container:"size-10",font:"text-sm",iconSize:"size-4"},lg:{container:"size-12",font:"text-base",iconSize:"size-5"},xl:{container:"size-16",font:"text-lg",iconSize:"size-6"}},Co={circle:"rounded-full",rounded:"rounded-sm",square:""};function Lo(e){let t=e.trim().split(/\s+/);return t.length>=2?(t[0][0]+t[t.length-1][0]).toUpperCase():e.slice(0,2).toUpperCase()}var dt=C.forwardRef(function({src:t,alt:o,name:r,size:s="md",shape:i="circle",icon:a,className:d,...f},p){let[g,x]=C.useState(!1),v=ct[s],y=t&&!g,z=r?Lo(r):null;return C.useEffect(()=>{x(!1)},[t]),(0,E.jsx)("div",{ref:p,className:b("relative inline-flex shrink-0",d),...f,children:(0,E.jsx)("div",{className:b("flex items-center justify-center overflow-hidden font-semibold",v.container,Co[i],!y&&"bg-zinc-200 text-zinc-600"),children:y?(0,E.jsx)("img",{src:t,alt:o||r||"Avatar",className:"w-full h-full object-cover",onError:()=>x(!0)}):a?(0,E.jsx)("span",{className:b("flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:a}):z?(0,E.jsx)("span",{className:v.font,children:z}):(0,E.jsx)(lt,{className:v.iconSize})})})});dt.displayName="Avatar";var pt=C.forwardRef(function({max:t,size:o="md",className:r,children:s,...i},a){let d=C.Children.toArray(s).filter(C.isValidElement),f=t?d.slice(0,t):d,p=t?d.length-t:0,g=ct[o];return(0,E.jsxs)("div",{ref:a,className:b("flex -space-x-2",r),...i,children:[f.map((x,v)=>(0,E.jsx)("div",{className:"ring-2 ring-white rounded-full",children:C.cloneElement(x,{size:o})},v)),p>0&&(0,E.jsxs)("div",{className:b("flex items-center justify-center rounded-full ring-2 ring-white bg-zinc-200 text-zinc-600 font-semibold",g.container,g.font),children:["+",p]})]})});pt.displayName="AvatarGroup";var mt=P(require("react"));var Z=require("react/jsx-runtime"),Po={xs:{padding:"px-1.5 py-0.5",font:"text-[10px]",iconSize:"size-2.5",gap:"gap-0.5"},sm:{padding:"px-2 py-0.5",font:"text-xs",iconSize:"size-3",gap:"gap-1"},md:{padding:"px-2.5 py-1",font:"text-sm",iconSize:"size-3.5",gap:"gap-1"},lg:{padding:"px-3 py-1.5",font:"text-base",iconSize:"size-4",gap:"gap-1.5"},xl:{padding:"px-4 py-2",font:"text-lg",iconSize:"size-5",gap:"gap-2"}},Eo={square:"",rounded:"rounded-sm",pill:"rounded-full"},Go={solid:{base:"bg-zinc-900 text-white border border-zinc-900",removeHover:"hover:bg-zinc-700"},soft:{base:"bg-zinc-100 text-zinc-700 border border-zinc-200",removeHover:"hover:bg-zinc-200 hover:text-zinc-900"},outline:{base:"bg-transparent text-zinc-700 border border-zinc-300",removeHover:"hover:bg-zinc-100 hover:text-zinc-900"}},ft=mt.forwardRef(function({variant:t="soft",size:o="sm",shape:r="rounded",icon:s,iconRight:i,removable:a=!1,onRemove:d,className:f,children:p,...g},x){let v=Po[o],y=Go[t];return(0,Z.jsxs)("span",{ref:x,className:b("inline-flex items-center font-medium whitespace-nowrap",v.padding,v.font,v.gap,Eo[r],y.base,f),...g,children:[s&&(0,Z.jsx)("span",{className:b("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:s}),p,i&&!a&&(0,Z.jsx)("span",{className:b("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:i}),a&&(0,Z.jsx)("button",{type:"button","aria-label":"Remove",onClick:d,className:b("shrink-0 flex items-center justify-center rounded-full transition-colors cursor-pointer -mr-0.5",v.iconSize,y.removeHover),children:(0,Z.jsx)(at,{className:"size-full",strokeWidth:2.5})})]})});ft.displayName="Badge";var ut=P(require("react"));var V=require("react/jsx-runtime"),Ho={xs:{containerSize:"size-10",iconSize:"size-5",titleFont:"text-xs",descFont:"text-[11px]",maxWidth:"max-w-2xs",padding:"py-5 px-3"},sm:{containerSize:"size-12",iconSize:"size-6",titleFont:"text-sm",descFont:"text-xs",maxWidth:"max-w-xs",padding:"py-8 px-4"},md:{containerSize:"size-16",iconSize:"size-7",titleFont:"text-base",descFont:"text-sm",maxWidth:"max-w-sm",padding:"py-12 px-6"},lg:{containerSize:"size-20",iconSize:"size-9",titleFont:"text-lg",descFont:"text-base",maxWidth:"max-w-md",padding:"py-16 px-8"},xl:{containerSize:"size-24",iconSize:"size-11",titleFont:"text-xl",descFont:"text-base",maxWidth:"max-w-lg",padding:"py-20 px-10"}},gt=ut.forwardRef(function({icon:t,title:o,description:r,size:s="md",action:i,className:a,children:d,...f},p){let g=Ho[s];return(0,V.jsxs)("div",{ref:p,className:b("flex flex-col items-center justify-center text-center gap-4",g.padding,a),...f,children:[(0,V.jsx)("div",{className:b("flex items-center justify-center rounded-full bg-zinc-100",g.containerSize),children:(0,V.jsx)("span",{className:b("text-zinc-400 [&>svg]:w-full [&>svg]:h-full",g.iconSize),children:t??(0,V.jsx)(it,{className:"w-full h-full"})})}),(o||r)&&(0,V.jsxs)("div",{className:"flex flex-col gap-1.5",children:[o&&(0,V.jsx)("h3",{className:b("font-semibold text-zinc-900",g.titleFont),children:o}),r&&(0,V.jsx)("p",{className:b("text-zinc-500 leading-relaxed",g.descFont,g.maxWidth),children:r})]}),i&&(0,V.jsx)("div",{className:"mt-1",children:i}),d]})});gt.displayName="Empty";var B=P(require("react"));var G=require("react/jsx-runtime"),ze={xs:{padding:"px-1 py-px",font:"text-[10px]",minWidth:"min-w-4",gap:"gap-0.5"},sm:{padding:"px-1.5 py-0.5",font:"text-xs",minWidth:"min-w-5",gap:"gap-1"},md:{padding:"px-2 py-1",font:"text-sm",minWidth:"min-w-6",gap:"gap-1.5"},lg:{padding:"px-2.5 py-1",font:"text-base",minWidth:"min-w-7",gap:"gap-1.5"},xl:{padding:"px-3 py-1.5",font:"text-lg",minWidth:"min-w-8",gap:"gap-2"}},bt={square:"",rounded:"rounded-sm"},ht={default:"bg-zinc-100 border border-zinc-300",outline:"bg-transparent border border-zinc-300",ghost:"bg-zinc-50 border border-transparent"};function Wo({children:e,size:t,variant:o,shape:r,className:s}){let i=ze[t];return(0,G.jsx)("kbd",{className:b("inline-flex items-center justify-center font-mono font-medium text-zinc-700 leading-none",bt[r],i.padding,i.font,i.minWidth,ht[o],s),children:e})}var xt=B.forwardRef(function({size:t="sm",variant:o="default",shape:r="rounded",keys:s,separator:i,className:a,children:d,...f},p){let g=ze[t];if(!s||s.length===0)return(0,G.jsx)("kbd",{ref:p,className:b("inline-flex items-center justify-center font-mono font-medium text-zinc-700 leading-none",bt[r],g.padding,g.font,g.minWidth,ht[o],a),...f,children:d});let x=i??(0,G.jsx)("span",{className:b("text-zinc-400 font-mono font-medium",g.font),children:"+"});return(0,G.jsx)("span",{ref:p,className:b("inline-flex items-center",g.gap,a),...f,children:s.map((v,y)=>(0,G.jsxs)(B.Fragment,{children:[(0,G.jsx)(Wo,{size:t,variant:o,shape:r,children:v}),y<s.length-1&&x]},y))})});xt.displayName="Kbd";var yt=B.forwardRef(function({size:t="sm",separator:o,className:r,children:s,...i},a){let d=ze[t],f=B.Children.toArray(s).filter(Boolean),p=o??(0,G.jsx)("span",{className:b("text-zinc-400 font-mono font-medium",d.font),children:"+"});return(0,G.jsx)("span",{ref:a,className:b("inline-flex items-center",d.gap,r),...i,children:f.map((g,x)=>(0,G.jsxs)(B.Fragment,{children:[g,x<f.length-1&&p]},x))})});yt.displayName="KbdGroup";var vt=P(require("react"));var de=require("react/jsx-runtime"),Vo={xs:"text-xs",sm:"text-sm",md:"text-base",lg:"text-lg",xl:"text-xl"},kt=vt.forwardRef(function({size:t="sm",required:o=!1,disabled:r=!1,className:s,children:i,...a},d){return(0,de.jsxs)("label",{ref:d,className:b("font-medium text-zinc-700 leading-none",Vo[t],r?"opacity-50 cursor-not-allowed":"cursor-default",s),...a,children:[i,o&&(0,de.jsx)("span",{"aria-hidden":"true",className:"text-zinc-900 ms-0.5 font-semibold",children:"*"})]})});kt.displayName="Label";var wt=P(require("react"));var K=require("react/jsx-runtime"),pe={solid:"border-solid",dashed:"border-dashed",dotted:"border-dotted"},zt=wt.forwardRef(function({orientation:t="horizontal",variant:o="solid",label:r,decorative:s,className:i,...a},d){let f=s?{role:"none"}:{role:"separator","aria-orientation":t};return t==="vertical"?(0,K.jsx)("div",{ref:d,...f,className:b("self-stretch w-px border-l border-zinc-200",pe[o],i),...a}):r?(0,K.jsxs)("div",{ref:d,...f,className:b("flex items-center gap-3",i),...a,children:[(0,K.jsx)("div",{"aria-hidden":"true",className:b("flex-1 border-t border-zinc-200",pe[o])}),(0,K.jsx)("span",{className:"text-xs text-zinc-500 font-medium shrink-0",children:r}),(0,K.jsx)("div",{"aria-hidden":"true",className:b("flex-1 border-t border-zinc-200",pe[o])})]}):(0,K.jsx)("div",{ref:d,...f,className:b("w-full border-t border-zinc-200",pe[o],i),...a})});zt.displayName="Separator";var ue=P(require("react"));var St="eglador-skeleton-styles",Fo=`
2
+ "use strict";var Mo=Object.create;var we=Object.defineProperty;var Eo=Object.getOwnPropertyDescriptor;var Go=Object.getOwnPropertyNames;var Po=Object.getPrototypeOf,Ho=Object.prototype.hasOwnProperty;var Bo=(e,t)=>{for(var o in t)we(e,o,{get:t[o],enumerable:!0})},Qe=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Go(t))!Ho.call(e,n)&&n!==o&&we(e,n,{get:()=>t[n],enumerable:!(r=Eo(t,n))||r.enumerable});return e};var N=(e,t,o)=>(o=e!=null?Mo(Po(e)):{},Qe(t||!e||!e.__esModule?we(o,"default",{value:e,enumerable:!0}):o,e)),Vo=e=>Qe(we({},"__esModule",{value:!0}),e);var cn={};Bo(cn,{AspectRatio:()=>wt,Avatar:()=>Gt,AvatarGroup:()=>Pt,Badge:()=>Bt,Button:()=>Dt,ButtonGroup:()=>Kt,ButtonGroupSeparator:()=>Ut,ButtonGroupText:()=>jt,Checkbox:()=>Te,CheckboxGroup:()=>$t,CheckboxGroupItem:()=>Xt,Empty:()=>Jt,Input:()=>Ce,InputGroup:()=>oo,InputGroupAddon:()=>so,InputGroupButton:()=>io,InputGroupInput:()=>ro,InputGroupText:()=>ao,InputGroupTextarea:()=>no,Kbd:()=>po,KbdGroup:()=>uo,Label:()=>fo,Link:()=>xo,Radio:()=>Le,RadioGroup:()=>ho,RadioGroupItem:()=>vo,Separator:()=>yo,Skeleton:()=>wo,Spinner:()=>Io,Switch:()=>To,Textarea:()=>Ne,Typography:()=>Ao,buttonVariants:()=>Gr,ensureSkeletonStyles:()=>Ee});module.exports=Vo(cn);var kt=N(require("react"));function et(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(o=et(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function tt(){for(var e,t,o=0,r="",n=arguments.length;o<n;o++)(e=arguments[o])&&(t=et(e))&&(r&&(r+=" "),r+=t);return r}var Oo=(e,t)=>{let o=new Array(e.length+t.length);for(let r=0;r<e.length;r++)o[r]=e[r];for(let r=0;r<t.length;r++)o[e.length+r]=t[r];return o},Fo=(e,t)=>({classGroupId:e,validator:t}),at=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o});var ot=[],Wo="arbitrary..",_o=e=>{let t=qo(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return Do(s);let c=s.split("-"),l=c[0]===""&&c.length>1?1:0;return lt(c,l,t)},getConflictingClassGroupIds:(s,c)=>{if(c){let l=r[s],p=o[s];return l?p?Oo(p,l):l:p||ot}return o[s]||ot}}},lt=(e,t,o)=>{if(e.length-t===0)return o.classGroupId;let n=e[t],i=o.nextPart.get(n);if(i){let p=lt(e,t+1,i);if(p)return p}let s=o.validators;if(s===null)return;let c=t===0?e.join("-"):e.slice(t).join("-"),l=s.length;for(let p=0;p<l;p++){let u=s[p];if(u.validator(c))return u.classGroupId}},Do=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let t=e.slice(1,-1),o=t.indexOf(":"),r=t.slice(0,o);return r?Wo+r:void 0})(),qo=e=>{let{theme:t,classGroups:o}=e;return Ko(o,t)},Ko=(e,t)=>{let o=at();for(let r in e){let n=e[r];_e(n,o,r,t)}return o},_e=(e,t,o,r)=>{let n=e.length;for(let i=0;i<n;i++){let s=e[i];Uo(s,t,o,r)}},Uo=(e,t,o,r)=>{if(typeof e=="string"){jo(e,t,o);return}if(typeof e=="function"){Zo(e,t,o,r);return}$o(e,t,o,r)},jo=(e,t,o)=>{let r=e===""?t:ct(t,e);r.classGroupId=o},Zo=(e,t,o,r)=>{if(Xo(e)){_e(e(r),t,o,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Fo(o,e))},$o=(e,t,o,r)=>{let n=Object.entries(e),i=n.length;for(let s=0;s<i;s++){let[c,l]=n[s];_e(l,ct(t,c),o,r)}},ct=(e,t)=>{let o=e,r=t.split("-"),n=r.length;for(let i=0;i<n;i++){let s=r[i],c=o.nextPart.get(s);c||(c=at(),o.nextPart.set(s,c)),o=c}return o},Xo=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Yo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),r=Object.create(null),n=(i,s)=>{o[i]=s,t++,t>e&&(t=0,r=o,o=Object.create(null))};return{get(i){let s=o[i];if(s!==void 0)return s;if((s=r[i])!==void 0)return n(i,s),s},set(i,s){i in o?o[i]=s:n(i,s)}}};var Jo=[],rt=(e,t,o,r,n)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:r,isExternal:n}),Qo=e=>{let{prefix:t,experimentalParseClassName:o}=e,r=n=>{let i=[],s=0,c=0,l=0,p,u=n.length;for(let w=0;w<u;w++){let S=n[w];if(s===0&&c===0){if(S===":"){i.push(n.slice(l,w)),l=w+1;continue}if(S==="/"){p=w;continue}}S==="["?s++:S==="]"?s--:S==="("?c++:S===")"&&c--}let g=i.length===0?n:n.slice(l),v=g,b=!1;g.endsWith("!")?(v=g.slice(0,-1),b=!0):g.startsWith("!")&&(v=g.slice(1),b=!0);let z=p&&p>l?p-l:void 0;return rt(i,b,v,z)};if(t){let n=t+":",i=r;r=s=>s.startsWith(n)?i(s.slice(n.length)):rt(Jo,!1,s,void 0,!0)}if(o){let n=r;r=i=>o({className:i,parseClassName:n})}return r},er=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((o,r)=>{t.set(o,1e6+r)}),o=>{let r=[],n=[];for(let i=0;i<o.length;i++){let s=o[i],c=s[0]==="[",l=t.has(s);c||l?(n.length>0&&(n.sort(),r.push(...n),n=[]),r.push(s)):n.push(s)}return n.length>0&&(n.sort(),r.push(...n)),r}},tr=e=>({cache:Yo(e.cacheSize),parseClassName:Qo(e),sortModifiers:er(e),postfixLookupClassGroupIds:or(e),..._o(e)}),or=e=>{let t=Object.create(null),o=e.postfixLookupClassGroups;if(o)for(let r=0;r<o.length;r++)t[o[r]]=!0;return t},rr=/\s+/,nr=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:i,postfixLookupClassGroupIds:s}=t,c=[],l=e.trim().split(rr),p="";for(let u=l.length-1;u>=0;u-=1){let g=l[u],{isExternal:v,modifiers:b,hasImportantModifier:z,baseClassName:w,maybePostfixModifierPosition:S}=o(g);if(v){p=g+(p.length>0?" "+p:p);continue}let y=!!S,k;if(y){let C=w.substring(0,S);k=r(C);let x=k&&s[k]?r(w):void 0;x&&x!==k&&(k=x,y=!1)}else k=r(w);if(!k){if(!y){p=g+(p.length>0?" "+p:p);continue}if(k=r(w),!k){p=g+(p.length>0?" "+p:p);continue}y=!1}let I=b.length===0?"":b.length===1?b[0]:i(b).join(":"),E=z?I+"!":I,G=E+k;if(c.indexOf(G)>-1)continue;c.push(G);let V=n(k,y);for(let C=0;C<V.length;++C){let x=V[C];c.push(E+x)}p=g+(p.length>0?" "+p:p)}return p},sr=(...e)=>{let t=0,o,r,n="";for(;t<e.length;)(o=e[t++])&&(r=dt(o))&&(n&&(n+=" "),n+=r);return n},dt=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=dt(e[r]))&&(o&&(o+=" "),o+=t);return o},ir=(e,...t)=>{let o,r,n,i,s=l=>{let p=t.reduce((u,g)=>g(u),e());return o=tr(p),r=o.cache.get,n=o.cache.set,i=c,c(l)},c=l=>{let p=r(l);if(p)return p;let u=nr(l,o);return n(l,u),u};return i=s,(...l)=>i(sr(...l))},ar=[],A=e=>{let t=o=>o[e]||ar;return t.isThemeGetter=!0,t},pt=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ut=/^\((?:(\w[\w-]*):)?(.+)\)$/i,lr=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,cr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,pr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ur=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,J=e=>lr.test(e),R=e=>!!e&&!Number.isNaN(Number(e)),j=e=>!!e&&Number.isInteger(Number(e)),We=e=>e.endsWith("%")&&R(e.slice(0,-1)),$=e=>cr.test(e),mt=()=>!0,fr=e=>dr.test(e)&&!pr.test(e),De=()=>!1,gr=e=>ur.test(e),xr=e=>mr.test(e),br=e=>!m(e)&&!f(e),hr=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),vr=e=>Q(e,xt,De),m=e=>pt.test(e),se=e=>Q(e,bt,fr),nt=e=>Q(e,Tr,R),zr=e=>Q(e,vt,mt),yr=e=>Q(e,ht,De),st=e=>Q(e,ft,De),Rr=e=>Q(e,gt,xr),Se=e=>Q(e,zt,gr),f=e=>ut.test(e),be=e=>ie(e,bt),kr=e=>ie(e,ht),it=e=>ie(e,ft),wr=e=>ie(e,xt),Sr=e=>ie(e,gt),Ie=e=>ie(e,zt,!0),Ir=e=>ie(e,vt,!0),Q=(e,t,o)=>{let r=pt.exec(e);return r?r[1]?t(r[1]):o(r[2]):!1},ie=(e,t,o=!1)=>{let r=ut.exec(e);return r?r[1]?t(r[1]):o:!1},ft=e=>e==="position"||e==="percentage",gt=e=>e==="image"||e==="url",xt=e=>e==="length"||e==="size"||e==="bg-size",bt=e=>e==="length",Tr=e=>e==="number",ht=e=>e==="family-name",vt=e=>e==="number"||e==="weight",zt=e=>e==="shadow";var Cr=()=>{let e=A("color"),t=A("font"),o=A("text"),r=A("font-weight"),n=A("tracking"),i=A("leading"),s=A("breakpoint"),c=A("container"),l=A("spacing"),p=A("radius"),u=A("shadow"),g=A("inset-shadow"),v=A("text-shadow"),b=A("drop-shadow"),z=A("blur"),w=A("perspective"),S=A("aspect"),y=A("ease"),k=A("animate"),I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],E=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],G=()=>[...E(),f,m],V=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],x=()=>[f,m,l],O=()=>[J,"full","auto",...x()],Ke=()=>[j,"none","subgrid",f,m],Ue=()=>["auto",{span:["full",j,f,m]},j,f,m],ve=()=>[j,"auto",f,m],je=()=>["auto","min","max","fr",f,m],He=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],pe=()=>["start","end","center","stretch","center-safe","end-safe"],q=()=>["auto",...x()],ne=()=>[J,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],Be=()=>[J,"screen","full","dvw","lvw","svw","min","max","fit",...x()],Ve=()=>[J,"screen","full","lh","dvh","lvh","svh","min","max","fit",...x()],h=()=>[e,f,m],Ze=()=>[...E(),it,st,{position:[f,m]}],$e=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Xe=()=>["auto","cover","contain",wr,vr,{size:[f,m]}],Oe=()=>[We,be,se],P=()=>["","none","full",p,f,m],H=()=>["",R,be,se],ze=()=>["solid","dashed","dotted","double"],Ye=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],L=()=>[R,We,it,st],Je=()=>["","none",z,f,m],ye=()=>["none",R,f,m],Re=()=>["none",R,f,m],Fe=()=>[R,f,m],ke=()=>[J,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[$],breakpoint:[$],color:[mt],container:[$],"drop-shadow":[$],ease:["in","out","in-out"],font:[br],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[$],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[$],shadow:[$],spacing:["px",R],text:[$],"text-shadow":[$],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",J,m,f,S]}],container:["container"],"container-type":[{"@container":["","normal","size",f,m]}],"container-named":[hr],columns:[{columns:[R,m,f,c]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:G()}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:O()}],"inset-x":[{"inset-x":O()}],"inset-y":[{"inset-y":O()}],start:[{"inset-s":O(),start:O()}],end:[{"inset-e":O(),end:O()}],"inset-bs":[{"inset-bs":O()}],"inset-be":[{"inset-be":O()}],top:[{top:O()}],right:[{right:O()}],bottom:[{bottom:O()}],left:[{left:O()}],visibility:["visible","invisible","collapse"],z:[{z:[j,"auto",f,m]}],basis:[{basis:[J,"full","auto",c,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[R,J,"auto","initial","none",m]}],grow:[{grow:["",R,f,m]}],shrink:[{shrink:["",R,f,m]}],order:[{order:[j,"first","last","none",f,m]}],"grid-cols":[{"grid-cols":Ke()}],"col-start-end":[{col:Ue()}],"col-start":[{"col-start":ve()}],"col-end":[{"col-end":ve()}],"grid-rows":[{"grid-rows":Ke()}],"row-start-end":[{row:Ue()}],"row-start":[{"row-start":ve()}],"row-end":[{"row-end":ve()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":je()}],"auto-rows":[{"auto-rows":je()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:[...He(),"normal"]}],"justify-items":[{"justify-items":[...pe(),"normal"]}],"justify-self":[{"justify-self":["auto",...pe()]}],"align-content":[{content:["normal",...He()]}],"align-items":[{items:[...pe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...pe(),{baseline:["","last"]}]}],"place-content":[{"place-content":He()}],"place-items":[{"place-items":[...pe(),"baseline"]}],"place-self":[{"place-self":["auto",...pe()]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pbs:[{pbs:x()}],pbe:[{pbe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:q()}],mx:[{mx:q()}],my:[{my:q()}],ms:[{ms:q()}],me:[{me:q()}],mbs:[{mbs:q()}],mbe:[{mbe:q()}],mt:[{mt:q()}],mr:[{mr:q()}],mb:[{mb:q()}],ml:[{ml:q()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:ne()}],"inline-size":[{inline:["auto",...Be()]}],"min-inline-size":[{"min-inline":["auto",...Be()]}],"max-inline-size":[{"max-inline":["none",...Be()]}],"block-size":[{block:["auto",...Ve()]}],"min-block-size":[{"min-block":["auto",...Ve()]}],"max-block-size":[{"max-block":["none",...Ve()]}],w:[{w:[c,"screen",...ne()]}],"min-w":[{"min-w":[c,"screen","none",...ne()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[s]},...ne()]}],h:[{h:["screen","lh",...ne()]}],"min-h":[{"min-h":["screen","lh","none",...ne()]}],"max-h":[{"max-h":["screen","lh",...ne()]}],"font-size":[{text:["base",o,be,se]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Ir,zr]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",We,m]}],"font-family":[{font:[kr,yr,t]}],"font-features":[{"font-features":[m]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,f,m]}],"line-clamp":[{"line-clamp":[R,"none",f,nt]}],leading:[{leading:[i,...x()]}],"list-image":[{"list-image":["none",f,m]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",f,m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:h()}],"text-color":[{text:h()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ze(),"wavy"]}],"text-decoration-thickness":[{decoration:[R,"from-font","auto",f,se]}],"text-decoration-color":[{decoration:h()}],"underline-offset":[{"underline-offset":[R,"auto",f,m]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"tab-size":[{tab:[j,f,m]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",f,m]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",f,m]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Ze()}],"bg-repeat":[{bg:$e()}],"bg-size":[{bg:Xe()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},j,f,m],radial:["",f,m],conic:[j,f,m]},Sr,Rr]}],"bg-color":[{bg:h()}],"gradient-from-pos":[{from:Oe()}],"gradient-via-pos":[{via:Oe()}],"gradient-to-pos":[{to:Oe()}],"gradient-from":[{from:h()}],"gradient-via":[{via:h()}],"gradient-to":[{to:h()}],rounded:[{rounded:P()}],"rounded-s":[{"rounded-s":P()}],"rounded-e":[{"rounded-e":P()}],"rounded-t":[{"rounded-t":P()}],"rounded-r":[{"rounded-r":P()}],"rounded-b":[{"rounded-b":P()}],"rounded-l":[{"rounded-l":P()}],"rounded-ss":[{"rounded-ss":P()}],"rounded-se":[{"rounded-se":P()}],"rounded-ee":[{"rounded-ee":P()}],"rounded-es":[{"rounded-es":P()}],"rounded-tl":[{"rounded-tl":P()}],"rounded-tr":[{"rounded-tr":P()}],"rounded-br":[{"rounded-br":P()}],"rounded-bl":[{"rounded-bl":P()}],"border-w":[{border:H()}],"border-w-x":[{"border-x":H()}],"border-w-y":[{"border-y":H()}],"border-w-s":[{"border-s":H()}],"border-w-e":[{"border-e":H()}],"border-w-bs":[{"border-bs":H()}],"border-w-be":[{"border-be":H()}],"border-w-t":[{"border-t":H()}],"border-w-r":[{"border-r":H()}],"border-w-b":[{"border-b":H()}],"border-w-l":[{"border-l":H()}],"divide-x":[{"divide-x":H()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":H()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ze(),"hidden","none"]}],"divide-style":[{divide:[...ze(),"hidden","none"]}],"border-color":[{border:h()}],"border-color-x":[{"border-x":h()}],"border-color-y":[{"border-y":h()}],"border-color-s":[{"border-s":h()}],"border-color-e":[{"border-e":h()}],"border-color-bs":[{"border-bs":h()}],"border-color-be":[{"border-be":h()}],"border-color-t":[{"border-t":h()}],"border-color-r":[{"border-r":h()}],"border-color-b":[{"border-b":h()}],"border-color-l":[{"border-l":h()}],"divide-color":[{divide:h()}],"outline-style":[{outline:[...ze(),"none","hidden"]}],"outline-offset":[{"outline-offset":[R,f,m]}],"outline-w":[{outline:["",R,be,se]}],"outline-color":[{outline:h()}],shadow:[{shadow:["","none",u,Ie,Se]}],"shadow-color":[{shadow:h()}],"inset-shadow":[{"inset-shadow":["none",g,Ie,Se]}],"inset-shadow-color":[{"inset-shadow":h()}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:h()}],"ring-offset-w":[{"ring-offset":[R,se]}],"ring-offset-color":[{"ring-offset":h()}],"inset-ring-w":[{"inset-ring":H()}],"inset-ring-color":[{"inset-ring":h()}],"text-shadow":[{"text-shadow":["none",v,Ie,Se]}],"text-shadow-color":[{"text-shadow":h()}],opacity:[{opacity:[R,f,m]}],"mix-blend":[{"mix-blend":[...Ye(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ye()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[R]}],"mask-image-linear-from-pos":[{"mask-linear-from":L()}],"mask-image-linear-to-pos":[{"mask-linear-to":L()}],"mask-image-linear-from-color":[{"mask-linear-from":h()}],"mask-image-linear-to-color":[{"mask-linear-to":h()}],"mask-image-t-from-pos":[{"mask-t-from":L()}],"mask-image-t-to-pos":[{"mask-t-to":L()}],"mask-image-t-from-color":[{"mask-t-from":h()}],"mask-image-t-to-color":[{"mask-t-to":h()}],"mask-image-r-from-pos":[{"mask-r-from":L()}],"mask-image-r-to-pos":[{"mask-r-to":L()}],"mask-image-r-from-color":[{"mask-r-from":h()}],"mask-image-r-to-color":[{"mask-r-to":h()}],"mask-image-b-from-pos":[{"mask-b-from":L()}],"mask-image-b-to-pos":[{"mask-b-to":L()}],"mask-image-b-from-color":[{"mask-b-from":h()}],"mask-image-b-to-color":[{"mask-b-to":h()}],"mask-image-l-from-pos":[{"mask-l-from":L()}],"mask-image-l-to-pos":[{"mask-l-to":L()}],"mask-image-l-from-color":[{"mask-l-from":h()}],"mask-image-l-to-color":[{"mask-l-to":h()}],"mask-image-x-from-pos":[{"mask-x-from":L()}],"mask-image-x-to-pos":[{"mask-x-to":L()}],"mask-image-x-from-color":[{"mask-x-from":h()}],"mask-image-x-to-color":[{"mask-x-to":h()}],"mask-image-y-from-pos":[{"mask-y-from":L()}],"mask-image-y-to-pos":[{"mask-y-to":L()}],"mask-image-y-from-color":[{"mask-y-from":h()}],"mask-image-y-to-color":[{"mask-y-to":h()}],"mask-image-radial":[{"mask-radial":[f,m]}],"mask-image-radial-from-pos":[{"mask-radial-from":L()}],"mask-image-radial-to-pos":[{"mask-radial-to":L()}],"mask-image-radial-from-color":[{"mask-radial-from":h()}],"mask-image-radial-to-color":[{"mask-radial-to":h()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":E()}],"mask-image-conic-pos":[{"mask-conic":[R]}],"mask-image-conic-from-pos":[{"mask-conic-from":L()}],"mask-image-conic-to-pos":[{"mask-conic-to":L()}],"mask-image-conic-from-color":[{"mask-conic-from":h()}],"mask-image-conic-to-color":[{"mask-conic-to":h()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Ze()}],"mask-repeat":[{mask:$e()}],"mask-size":[{mask:Xe()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",f,m]}],filter:[{filter:["","none",f,m]}],blur:[{blur:Je()}],brightness:[{brightness:[R,f,m]}],contrast:[{contrast:[R,f,m]}],"drop-shadow":[{"drop-shadow":["","none",b,Ie,Se]}],"drop-shadow-color":[{"drop-shadow":h()}],grayscale:[{grayscale:["",R,f,m]}],"hue-rotate":[{"hue-rotate":[R,f,m]}],invert:[{invert:["",R,f,m]}],saturate:[{saturate:[R,f,m]}],sepia:[{sepia:["",R,f,m]}],"backdrop-filter":[{"backdrop-filter":["","none",f,m]}],"backdrop-blur":[{"backdrop-blur":Je()}],"backdrop-brightness":[{"backdrop-brightness":[R,f,m]}],"backdrop-contrast":[{"backdrop-contrast":[R,f,m]}],"backdrop-grayscale":[{"backdrop-grayscale":["",R,f,m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[R,f,m]}],"backdrop-invert":[{"backdrop-invert":["",R,f,m]}],"backdrop-opacity":[{"backdrop-opacity":[R,f,m]}],"backdrop-saturate":[{"backdrop-saturate":[R,f,m]}],"backdrop-sepia":[{"backdrop-sepia":["",R,f,m]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",f,m]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[R,"initial",f,m]}],ease:[{ease:["linear","initial",y,f,m]}],delay:[{delay:[R,f,m]}],animate:[{animate:["none",k,f,m]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,f,m]}],"perspective-origin":[{"perspective-origin":G()}],rotate:[{rotate:ye()}],"rotate-x":[{"rotate-x":ye()}],"rotate-y":[{"rotate-y":ye()}],"rotate-z":[{"rotate-z":ye()}],scale:[{scale:Re()}],"scale-x":[{"scale-x":Re()}],"scale-y":[{"scale-y":Re()}],"scale-z":[{"scale-z":Re()}],"scale-3d":["scale-3d"],skew:[{skew:Fe()}],"skew-x":[{"skew-x":Fe()}],"skew-y":[{"skew-y":Fe()}],transform:[{transform:[f,m,"","none","gpu","cpu"]}],"transform-origin":[{origin:G()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ke()}],"translate-x":[{"translate-x":ke()}],"translate-y":[{"translate-y":ke()}],"translate-z":[{"translate-z":ke()}],"translate-none":["translate-none"],zoom:[{zoom:[j,f,m]}],accent:[{accent:h()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:h()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",f,m]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":h()}],"scrollbar-track-color":[{"scrollbar-track":h()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mbs":[{"scroll-mbs":x()}],"scroll-mbe":[{"scroll-mbe":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pbs":[{"scroll-pbs":x()}],"scroll-pbe":[{"scroll-pbe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",f,m]}],fill:[{fill:["none",...h()]}],"stroke-w":[{stroke:[R,be,se,nt]}],stroke:[{stroke:["none",...h()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var yt=ir(Cr);function d(...e){return yt(tt(e))}var St=require("react/jsx-runtime"),Rt={"1:1":"aspect-square","16:9":"aspect-video","4:3":"aspect-[4/3]","21:9":"aspect-[21/9]","3:2":"aspect-[3/2]","2:3":"aspect-[2/3]","9:16":"aspect-[9/16]"},wt=kt.forwardRef(function({ratio:t="16:9",className:o,style:r,children:n,...i},s){let c=typeof t=="string"&&t in Rt;return(0,St.jsx)("div",{ref:s,className:d("relative overflow-hidden",c&&Rt[t],o),style:!c&&typeof t=="number"?{aspectRatio:t,...r}:r,...i,children:n})});wt.displayName="AspectRatio";var F=N(require("react"));var It=N(require("react")),a=require("react/jsx-runtime");function T(e,t,o,r="none"){let n=It.memo(({className:i,strokeWidth:s=t})=>(0,a.jsx)("svg",{className:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:r,stroke:"currentColor",strokeWidth:s,strokeLinecap:"round",strokeLinejoin:"round",children:o}));return n.displayName=e,n}var hn=T("ChevronDownIcon",2,(0,a.jsx)("path",{d:"m6 9 6 6 6-6"})),vn=T("ChevronUpIcon",2,(0,a.jsx)("path",{d:"m18 15-6-6-6 6"})),zn=T("ChevronLeftIcon",2,(0,a.jsx)("path",{d:"m15 18-6-6 6-6"})),yn=T("ChevronRightIcon",2,(0,a.jsx)("path",{d:"m9 18 6-6-6-6"})),Rn=T("ChevronsLeftIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"m11 17-5-5 5-5"}),(0,a.jsx)("path",{d:"m18 17-5-5 5-5"})]})),kn=T("ChevronsRightIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"m6 17 5-5-5-5"}),(0,a.jsx)("path",{d:"m13 17 5-5-5-5"})]})),wn=T("ChevronsUpDownIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"m7 15 5 5 5-5"}),(0,a.jsx)("path",{d:"m7 9 5-5 5 5"})]})),Tt=T("XIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M18 6 6 18"}),(0,a.jsx)("path",{d:"m6 6 12 12"})]})),Ct=T("CheckIcon",2.5,(0,a.jsx)("path",{d:"M20 6 9 17l-5-5"})),Nt=T("MinusIcon",2.5,(0,a.jsx)("path",{d:"M5 12h14"})),Sn=T("PlusIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M5 12h14"}),(0,a.jsx)("path",{d:"M12 5v14"})]})),In=T("SearchIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,a.jsx)("path",{d:"m21 21-4.3-4.3"})]})),At=T("ExternalLinkIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M15 3h6v6"}),(0,a.jsx)("path",{d:"M10 14 21 3"}),(0,a.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"})]})),Tn=T("EllipsisIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("circle",{cx:"12",cy:"12",r:"1"}),(0,a.jsx)("circle",{cx:"19",cy:"12",r:"1"}),(0,a.jsx)("circle",{cx:"5",cy:"12",r:"1"})]}),"currentColor"),Cn=T("DotIcon",2,(0,a.jsx)("circle",{cx:"12",cy:"12",r:"5"}),"currentColor"),Nn=T("GripVerticalIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("circle",{cx:"9",cy:"5",r:"1"}),(0,a.jsx)("circle",{cx:"9",cy:"12",r:"1"}),(0,a.jsx)("circle",{cx:"9",cy:"19",r:"1"}),(0,a.jsx)("circle",{cx:"15",cy:"5",r:"1"}),(0,a.jsx)("circle",{cx:"15",cy:"12",r:"1"}),(0,a.jsx)("circle",{cx:"15",cy:"19",r:"1"})]}),"currentColor"),An=T("GripHorizontalIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("circle",{cx:"5",cy:"9",r:"1"}),(0,a.jsx)("circle",{cx:"12",cy:"9",r:"1"}),(0,a.jsx)("circle",{cx:"19",cy:"9",r:"1"}),(0,a.jsx)("circle",{cx:"5",cy:"15",r:"1"}),(0,a.jsx)("circle",{cx:"12",cy:"15",r:"1"}),(0,a.jsx)("circle",{cx:"19",cy:"15",r:"1"})]}),"currentColor"),Lt=T("InboxIcon",1,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12"}),(0,a.jsx)("path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"})]})),Ln=T("InfoIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,a.jsx)("path",{d:"M12 16v-4"}),(0,a.jsx)("path",{d:"M12 8h.01"})]})),Mn=T("WarningIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),(0,a.jsx)("path",{d:"M12 9v4"}),(0,a.jsx)("path",{d:"M12 17h.01"})]})),En=T("ErrorIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,a.jsx)("path",{d:"m15 9-6 6"}),(0,a.jsx)("path",{d:"m9 9 6 6"})]})),Gn=T("SuccessIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,a.jsx)("path",{d:"m9 12 2 2 4-4"})]})),Pn=T("CalendarIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M8 2v4"}),(0,a.jsx)("path",{d:"M16 2v4"}),(0,a.jsx)("rect",{width:"18",height:"18",x:"3",y:"4",rx:"2"}),(0,a.jsx)("path",{d:"M3 10h18"})]})),Mt=T("UserIcon",2,(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("circle",{cx:"12",cy:"8",r:"5"}),(0,a.jsx)("path",{d:"M20 21a8 8 0 0 0-16 0"})]}));var K=require("react/jsx-runtime"),Et={xs:{container:"size-6",font:"text-[10px]",iconSize:"size-3"},sm:{container:"size-8",font:"text-xs",iconSize:"size-3.5"},md:{container:"size-10",font:"text-sm",iconSize:"size-4"},lg:{container:"size-12",font:"text-base",iconSize:"size-5"},xl:{container:"size-16",font:"text-lg",iconSize:"size-6"}},Nr={circle:"rounded-full",rounded:"rounded-sm",square:""};function Ar(e){let t=e.trim().split(/\s+/);return t.length>=2?(t[0][0]+t[t.length-1][0]).toUpperCase():e.slice(0,2).toUpperCase()}var Gt=F.forwardRef(function({src:t,alt:o,name:r,size:n="md",shape:i="circle",icon:s,className:c,...l},p){let[u,g]=F.useState(!1),v=Et[n],b=t&&!u,z=r?Ar(r):null;return F.useEffect(()=>{g(!1)},[t]),(0,K.jsx)("div",{ref:p,className:d("relative inline-flex shrink-0",c),...l,children:(0,K.jsx)("div",{className:d("flex items-center justify-center overflow-hidden font-semibold",v.container,Nr[i],!b&&"bg-zinc-200 text-zinc-600"),children:b?(0,K.jsx)("img",{src:t,alt:o||r||"Avatar",className:"w-full h-full object-cover",onError:()=>g(!0)}):s?(0,K.jsx)("span",{className:d("flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:s}):z?(0,K.jsx)("span",{className:v.font,children:z}):(0,K.jsx)(Mt,{className:v.iconSize})})})});Gt.displayName="Avatar";var Pt=F.forwardRef(function({max:t,size:o="md",className:r,children:n,...i},s){let c=F.Children.toArray(n).filter(F.isValidElement),l=t?c.slice(0,t):c,p=t?c.length-t:0,u=Et[o];return(0,K.jsxs)("div",{ref:s,className:d("flex -space-x-2",r),...i,children:[l.map((g,v)=>(0,K.jsx)("div",{className:"ring-2 ring-white rounded-full",children:F.cloneElement(g,{size:o})},v)),p>0&&(0,K.jsxs)("div",{className:d("flex items-center justify-center rounded-full ring-2 ring-white bg-zinc-200 text-zinc-600 font-semibold",u.container,u.font),children:["+",p]})]})});Pt.displayName="AvatarGroup";var Ht=N(require("react"));var ae=require("react/jsx-runtime"),Lr={xs:{padding:"px-1.5 py-0.5",font:"text-[10px]",iconSize:"size-2.5",gap:"gap-0.5"},sm:{padding:"px-2 py-0.5",font:"text-xs",iconSize:"size-3",gap:"gap-1"},md:{padding:"px-2.5 py-1",font:"text-sm",iconSize:"size-3.5",gap:"gap-1"},lg:{padding:"px-3 py-1.5",font:"text-base",iconSize:"size-4",gap:"gap-1.5"},xl:{padding:"px-4 py-2",font:"text-lg",iconSize:"size-5",gap:"gap-2"}},Mr={square:"",rounded:"rounded-sm",pill:"rounded-full"},Er={solid:{base:"bg-zinc-900 text-white border border-zinc-900",removeHover:"hover:bg-zinc-700"},soft:{base:"bg-zinc-100 text-zinc-700 border border-zinc-200",removeHover:"hover:bg-zinc-200 hover:text-zinc-900"},outline:{base:"bg-transparent text-zinc-700 border border-zinc-300",removeHover:"hover:bg-zinc-100 hover:text-zinc-900"}},Bt=Ht.forwardRef(function({variant:t="soft",size:o="sm",shape:r="rounded",icon:n,iconRight:i,removable:s=!1,onRemove:c,className:l,children:p,...u},g){let v=Lr[o],b=Er[t];return(0,ae.jsxs)("span",{ref:g,className:d("inline-flex items-center font-medium whitespace-nowrap",v.padding,v.font,v.gap,Mr[r],b.base,l),...u,children:[n&&(0,ae.jsx)("span",{className:d("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:n}),p,i&&!s&&(0,ae.jsx)("span",{className:d("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:i}),s&&(0,ae.jsx)("button",{type:"button","aria-label":"Remove",onClick:c,className:d("shrink-0 flex items-center justify-center rounded-full transition-colors cursor-pointer -mr-0.5",v.iconSize,b.removeHover),children:(0,ae.jsx)(Tt,{className:"size-full",strokeWidth:2.5})})]})});Bt.displayName="Badge";var Vt=N(require("react"));var X=require("react/jsx-runtime"),Ot={xs:{height:"h-7",square:"w-7",padding:"px-2",gap:"gap-1",font:"text-xs",iconSize:"size-3"},sm:{height:"h-8",square:"w-8",padding:"px-2.5",gap:"gap-1.5",font:"text-sm",iconSize:"size-3.5"},md:{height:"h-9",square:"w-9",padding:"px-3",gap:"gap-1.5",font:"text-sm",iconSize:"size-4"},lg:{height:"h-10",square:"w-10",padding:"px-4",gap:"gap-2",font:"text-base",iconSize:"size-4"},xl:{height:"h-12",square:"w-12",padding:"px-5",gap:"gap-2",font:"text-lg",iconSize:"size-5"}},Ft={square:"",rounded:"rounded-sm",circle:"rounded-full"},Wt={solid:{base:"bg-zinc-900 text-white hover:bg-zinc-700 border border-zinc-900",active:"bg-zinc-700"},soft:{base:"bg-zinc-100 text-zinc-900 hover:bg-zinc-200 border border-zinc-200",active:"bg-zinc-200"},outline:{base:"bg-white text-zinc-700 hover:bg-zinc-50 border border-zinc-300",active:"bg-zinc-100"},ghost:{base:"bg-transparent text-zinc-700 hover:bg-zinc-100 border border-transparent",active:"bg-zinc-100"},link:{base:"bg-transparent text-zinc-900 hover:underline underline-offset-4 border-0",active:"underline"}},_t="inline-flex items-center justify-center font-medium transition-colors cursor-pointer select-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-900 focus-visible:ring-offset-1 disabled:opacity-50 disabled:pointer-events-none";function Gr({variant:e="solid",size:t="md",shape:o="rounded"}={}){let r=Ot[t],n=Wt[e],i=e==="link";return d(_t,r.font,r.gap,!i&&Ft[o],!i&&r.height,!i&&r.padding,n.base)}function Pr({className:e}){return(0,X.jsxs)("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:d("animate-spin",e),children:[(0,X.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3",className:"opacity-25"}),(0,X.jsx)("path",{d:"M12 2a10 10 0 0 1 10 10",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round"})]})}var Dt=Vt.forwardRef(function({variant:t="solid",size:o="md",shape:r="rounded",icon:n,iconRight:i,loading:s=!1,active:c=!1,disabled:l=!1,className:p,children:u,type:g="button",...v},b){let z=Ot[o],w=Wt[t],S=t==="link",y=!S&&!u&&(!!n||s);return(0,X.jsxs)("button",{ref:b,type:g,disabled:l||s,"data-active":c||void 0,className:d(_t,z.font,z.gap,!S&&Ft[r],!S&&z.height,!S&&(y?z.square:z.padding),w.base,c&&w.active,p),...v,children:[s?(0,X.jsx)(Pr,{className:z.iconSize}):n?(0,X.jsx)("span",{className:d("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",z.iconSize),children:n}):null,u,i&&!s&&(0,X.jsx)("span",{className:d("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",z.iconSize),children:i})]})});Dt.displayName="Button";var ee=N(require("react"));var he=require("react/jsx-runtime"),qt=ee.createContext("horizontal"),Hr="[&>*:not(:first-child):not(:last-child)]:rounded-none [&>*:first-child:not(:last-child)]:rounded-e-none [&>*:last-child:not(:first-child)]:rounded-s-none [&>*:not(:first-child)]:-ms-px [&>*:focus-visible]:z-10 [&>*:focus-visible]:relative",Br="[&>*:not(:first-child):not(:last-child)]:rounded-none [&>*:first-child:not(:last-child)]:rounded-b-none [&>*:last-child:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:-mt-px [&>*:focus-visible]:z-10 [&>*:focus-visible]:relative",Kt=ee.forwardRef(function({orientation:t="horizontal",className:o,children:r,...n},i){return(0,he.jsx)(qt.Provider,{value:t,children:(0,he.jsx)("div",{ref:i,role:"group","data-orientation":t,className:d("inline-flex isolate",t==="horizontal"?"flex-row":"flex-col",t==="horizontal"?Hr:Br,o),...n,children:r})})});Kt.displayName="ButtonGroup";var Ut=ee.forwardRef(function({orientation:t,className:o,...r},n){let i=ee.useContext(qt),s=t??(i==="horizontal"?"vertical":"horizontal");return(0,he.jsx)("div",{ref:n,role:"separator","aria-orientation":s,"data-orientation":s,className:d("bg-zinc-300 shrink-0 self-stretch z-[1] relative",s==="vertical"?"w-px":"h-px",o),...r})});Ut.displayName="ButtonGroupSeparator";var Vr={xs:{height:"h-7",padding:"px-2",font:"text-xs"},sm:{height:"h-8",padding:"px-2.5",font:"text-sm"},md:{height:"h-9",padding:"px-3",font:"text-sm"},lg:{height:"h-10",padding:"px-4",font:"text-base"},xl:{height:"h-12",padding:"px-5",font:"text-lg"}},jt=ee.forwardRef(function({size:t="md",className:o,...r},n){let i=Vr[t];return(0,he.jsx)("div",{ref:n,className:d("inline-flex items-center font-medium text-zinc-700","bg-zinc-50 border border-zinc-200 rounded-sm select-none",i.height,i.padding,i.font,o),...r})});jt.displayName="ButtonGroupText";var W=N(require("react"));var le=require("react/jsx-runtime"),Or={xs:{box:"size-3.5",icon:"size-3",stroke:3},sm:{box:"size-4",icon:"size-3",stroke:3},md:{box:"size-5",icon:"size-3.5",stroke:2.5},lg:{box:"size-6",icon:"size-4",stroke:2.5},xl:{box:"size-7",icon:"size-5",stroke:2}},Te=W.forwardRef(function({size:t="md",checked:o,defaultChecked:r=!1,indeterminate:n=!1,onCheckedChange:i,onChange:s,disabled:c=!1,className:l,id:p,...u},g){let v=W.useId(),b=p??v,z=o!==void 0,[w,S]=W.useState(r),y=z?o:w,k=Or[t],I=W.useRef(null);W.useEffect(()=>{I.current&&(I.current.indeterminate=!!n)},[n]);let E=W.useCallback(C=>{I.current=C,typeof g=="function"?g(C):g&&(g.current=C)},[g]),G=C=>{z||S(C.target.checked),s?.(C),i?.(C.target.checked)},V=y||n;return(0,le.jsxs)("span",{className:d("relative inline-flex shrink-0 items-center justify-center",c&&"opacity-50 cursor-not-allowed",l),children:[(0,le.jsx)("input",{ref:E,id:b,type:"checkbox","data-slot":"checkbox","data-indeterminate":n||void 0,checked:y,onChange:G,disabled:c,className:"peer sr-only",...u}),(0,le.jsx)("span",{"aria-hidden":"true",className:d("inline-flex items-center justify-center rounded-sm transition-colors border",c?"cursor-not-allowed":"cursor-pointer",V?"bg-zinc-900 border-zinc-900 text-white":"bg-white border-zinc-300 peer-hover:border-zinc-400","peer-focus-visible:ring-2 peer-focus-visible:ring-zinc-900 peer-focus-visible:ring-offset-1","peer-aria-invalid:border-zinc-900 peer-aria-invalid:ring-2 peer-aria-invalid:ring-zinc-200",k.box),children:n?(0,le.jsx)(Nt,{className:k.icon,strokeWidth:k.stroke}):y?(0,le.jsx)(Ct,{className:k.icon,strokeWidth:k.stroke}):null})]})});Te.displayName="Checkbox";var B=N(require("react"));var _=require("react/jsx-runtime"),Zt=B.createContext(null),$t=B.forwardRef(function({value:t,defaultValue:o=[],onValueChange:r,orientation:n="vertical",size:i="md",disabled:s=!1,name:c,invalid:l,legend:p,description:u,className:g,children:v,...b},z){let w=t!==void 0,[S,y]=B.useState(o),k=w?t:S,I=B.useCallback(G=>{let V=k.includes(G)?k.filter(C=>C!==G):[...k,G];w||y(V),r?.(V)},[k,w,r]),E=B.useMemo(()=>({value:k,toggle:I,size:i,disabled:s,name:c,invalid:l}),[k,I,i,s,c,l]);return(0,_.jsx)(Zt.Provider,{value:E,children:(0,_.jsxs)("fieldset",{ref:z,"data-slot":"checkbox-group","data-orientation":n,"aria-invalid":l||void 0,disabled:s,className:d("flex flex-col gap-2 min-w-0",g),...b,children:[p&&(0,_.jsx)("legend",{className:"text-sm font-medium text-zinc-700 mb-1",children:p}),u&&(0,_.jsx)("p",{className:"text-xs text-zinc-500 -mt-1 mb-1",children:u}),(0,_.jsx)("div",{className:d("flex",n==="vertical"?"flex-col gap-2":"flex-row gap-4 flex-wrap"),children:v})]})})});$t.displayName="CheckboxGroup";var Xt=B.forwardRef(function({value:t,label:o,description:r,disabled:n,className:i,...s},c){let l=B.useContext(Zt);if(!l)throw new Error("CheckboxGroupItem must be rendered inside <CheckboxGroup>.");let p=B.useId(),u=l.value.includes(t),g=l.disabled||!!n;return(0,_.jsxs)("label",{ref:c,htmlFor:p,className:d("inline-flex items-start gap-2.5 select-none",g?"cursor-not-allowed opacity-50":"cursor-pointer",i),...s,children:[(0,_.jsx)(Te,{id:p,value:t,name:l.name,size:l.size,disabled:g,checked:u,onCheckedChange:()=>l.toggle(t),"aria-invalid":l.invalid||void 0,className:"mt-0.5"}),(o||r)&&(0,_.jsxs)("div",{className:"flex flex-col gap-0.5 min-w-0",children:[o&&(0,_.jsx)("span",{className:"text-sm font-medium text-zinc-700",children:o}),r&&(0,_.jsx)("span",{className:"text-xs text-zinc-500",children:r})]})]})});Xt.displayName="CheckboxGroupItem";var Yt=N(require("react"));var Z=require("react/jsx-runtime"),Fr={xs:{containerSize:"size-10",iconSize:"size-5",titleFont:"text-xs",descFont:"text-[11px]",maxWidth:"max-w-2xs",padding:"py-5 px-3"},sm:{containerSize:"size-12",iconSize:"size-6",titleFont:"text-sm",descFont:"text-xs",maxWidth:"max-w-xs",padding:"py-8 px-4"},md:{containerSize:"size-16",iconSize:"size-7",titleFont:"text-base",descFont:"text-sm",maxWidth:"max-w-sm",padding:"py-12 px-6"},lg:{containerSize:"size-20",iconSize:"size-9",titleFont:"text-lg",descFont:"text-base",maxWidth:"max-w-md",padding:"py-16 px-8"},xl:{containerSize:"size-24",iconSize:"size-11",titleFont:"text-xl",descFont:"text-base",maxWidth:"max-w-lg",padding:"py-20 px-10"}},Jt=Yt.forwardRef(function({icon:t,title:o,description:r,size:n="md",action:i,className:s,children:c,...l},p){let u=Fr[n];return(0,Z.jsxs)("div",{ref:p,className:d("flex flex-col items-center justify-center text-center gap-4",u.padding,s),...l,children:[(0,Z.jsx)("div",{className:d("flex items-center justify-center rounded-full bg-zinc-100",u.containerSize),children:(0,Z.jsx)("span",{className:d("text-zinc-400 [&>svg]:w-full [&>svg]:h-full",u.iconSize),children:t??(0,Z.jsx)(Lt,{className:"w-full h-full"})})}),(o||r)&&(0,Z.jsxs)("div",{className:"flex flex-col gap-1.5",children:[o&&(0,Z.jsx)("h3",{className:d("font-semibold text-zinc-900",u.titleFont),children:o}),r&&(0,Z.jsx)("p",{className:d("text-zinc-500 leading-relaxed",u.descFont,u.maxWidth),children:r})]}),i&&(0,Z.jsx)("div",{className:"mt-1",children:i}),c]})});Jt.displayName="Empty";var Qt=N(require("react"));var eo=require("react/jsx-runtime"),Wr={xs:{height:"h-7",padding:"px-2",font:"text-xs"},sm:{height:"h-8",padding:"px-2.5",font:"text-sm"},md:{height:"h-9",padding:"px-3",font:"text-sm"},lg:{height:"h-10",padding:"px-3.5",font:"text-base"},xl:{height:"h-12",padding:"px-4",font:"text-lg"}},_r={square:"rounded-none",rounded:"rounded-sm",pill:"rounded-full"},Dr={outline:"bg-white border border-zinc-300",soft:"bg-zinc-50 border border-zinc-200",ghost:"bg-transparent border border-transparent focus-visible:border-zinc-300"},Ce=Qt.forwardRef(function({variant:t="outline",size:o="md",shape:r="rounded",className:n,type:i="text",...s},c){let l=Wr[o];return(0,eo.jsx)("input",{ref:c,type:i,"data-slot":"input",className:d("w-full transition-colors","text-zinc-900 placeholder:text-zinc-400","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-900 focus-visible:ring-offset-1 focus-visible:border-zinc-900","aria-invalid:border-zinc-900 aria-invalid:ring-2 aria-invalid:ring-zinc-200","disabled:opacity-50 disabled:cursor-not-allowed disabled:bg-zinc-50","read-only:bg-zinc-50 read-only:text-zinc-600","file:border-0 file:bg-transparent file:text-zinc-700 file:font-medium file:me-3 file:cursor-pointer",Dr[t],_r[r],l.height,l.padding,l.font,n),...s})});Ce.displayName="Input";var ce=N(require("react"));var Y=N(require("react"));var to=require("react/jsx-runtime"),qr={xs:{padding:"px-2 py-1.5",font:"text-xs"},sm:{padding:"px-2.5 py-1.5",font:"text-sm"},md:{padding:"px-3 py-2",font:"text-sm"},lg:{padding:"px-3.5 py-2.5",font:"text-base"},xl:{padding:"px-4 py-3",font:"text-lg"}},Kr={square:"rounded-none",rounded:"rounded-sm"},Ur={outline:"bg-white border border-zinc-300",soft:"bg-zinc-50 border border-zinc-200",ghost:"bg-transparent border border-transparent focus-visible:border-zinc-300"},jr={none:"resize-none",vertical:"resize-y",horizontal:"resize-x",both:"resize"},Ne=Y.forwardRef(function({variant:t="outline",size:o="md",shape:r="rounded",resize:n="vertical",autoGrow:i=!1,maxRows:s,className:c,onChange:l,rows:p=3,...u},g){let v=Y.useRef(null),b=qr[o],z=Y.useCallback(()=>{let y=v.current;if(!y||!i)return;y.style.height="auto";let k=y.scrollHeight;if(s){let I=parseInt(getComputedStyle(y).lineHeight,10)||20,E=parseInt(getComputedStyle(y).paddingTop,10)+parseInt(getComputedStyle(y).paddingBottom,10);k=Math.min(k,I*s+E)}y.style.height=`${k}px`},[i,s]);Y.useEffect(()=>{i&&z()},[z,i]);let w=Y.useCallback(y=>{v.current=y,typeof g=="function"?g(y):g&&(g.current=y)},[g]);return(0,to.jsx)("textarea",{ref:w,rows:p,"data-slot":"textarea",onChange:y=>{l?.(y),i&&z()},className:d("w-full transition-colors","text-zinc-900 placeholder:text-zinc-400","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-900 focus-visible:ring-offset-1 focus-visible:border-zinc-900","aria-invalid:border-zinc-900 aria-invalid:ring-2 aria-invalid:ring-zinc-200","disabled:opacity-50 disabled:cursor-not-allowed disabled:bg-zinc-50","read-only:bg-zinc-50 read-only:text-zinc-600",Ur[t],Kr[r],b.padding,b.font,i?"resize-none overflow-hidden":jr[n],c),...u})});Ne.displayName="Textarea";var de=require("react/jsx-runtime"),oo=ce.forwardRef(function({className:t,...o},r){return(0,de.jsx)("div",{ref:r,"data-slot":"input-group",className:d("relative isolate flex items-stretch w-full","bg-white border border-zinc-300 rounded-sm transition-colors","has-[[data-slot=input-group-control]:focus-visible]:ring-2","has-[[data-slot=input-group-control]:focus-visible]:ring-zinc-900","has-[[data-slot=input-group-control]:focus-visible]:ring-offset-1","has-[[data-slot=input-group-control]:focus-visible]:border-zinc-900","has-[[aria-invalid=true]]:border-zinc-900","has-[[aria-invalid=true]]:ring-2","has-[[aria-invalid=true]]:ring-zinc-200","has-[[data-align=block-start]]:flex-col","has-[[data-align=block-end]]:flex-col","[&_[data-slot=input-group-control]]:border-0","[&_[data-slot=input-group-control]]:bg-transparent","[&_[data-slot=input-group-control]]:rounded-none","[&_[data-slot=input-group-control]]:shadow-none","[&_[data-slot=input-group-control]]:flex-1","[&_[data-slot=input-group-control]]:min-w-0","[&_[data-slot=input-group-control]]:focus-visible:ring-0","[&_[data-slot=input-group-control]]:focus-visible:ring-offset-0","[&_[data-slot=input-group-control]]:focus-visible:border-0","[&_[data-slot=input-group-control]]:aria-invalid:ring-0","[&_[data-slot=input-group-control]]:aria-invalid:border-0",t),...o})});oo.displayName="InputGroup";var ro=ce.forwardRef(function(t,o){return(0,de.jsx)(Ce,{ref:o,"data-slot":"input-group-control",...t})});ro.displayName="InputGroupInput";var no=ce.forwardRef(function(t,o){return(0,de.jsx)(Ne,{ref:o,"data-slot":"input-group-control",...t})});no.displayName="InputGroupTextarea";var so=ce.forwardRef(function({align:t="inline-start",className:o,...r},n){return(0,de.jsx)("div",{ref:n,"data-slot":"input-group-addon","data-align":t,className:d("inline-flex items-center text-zinc-500 select-none gap-1.5 shrink-0","[&>svg]:size-4",t==="inline-start"&&"order-first ps-3",t==="inline-end"&&"order-last pe-3",t==="block-start"&&"order-first w-full px-3 py-2 border-b border-zinc-300",t==="block-end"&&"order-last w-full px-3 py-2 border-t border-zinc-300",o),...r})});so.displayName="InputGroupAddon";var Zr={xs:"h-6 px-2 text-xs gap-1 [&>svg]:size-3","icon-xs":"size-6 [&>svg]:size-3",sm:"h-7 px-2.5 text-xs gap-1 [&>svg]:size-3.5","icon-sm":"size-7 [&>svg]:size-3.5"},$r={ghost:"bg-transparent text-zinc-700 hover:bg-zinc-100 border border-transparent",outline:"bg-white text-zinc-700 hover:bg-zinc-50 border border-zinc-300",soft:"bg-zinc-100 text-zinc-900 hover:bg-zinc-200 border border-zinc-200",solid:"bg-zinc-900 text-white hover:bg-zinc-700 border border-zinc-900"},io=ce.forwardRef(function({size:t="xs",variant:o="ghost",className:r,type:n="button",...i},s){return(0,de.jsx)("button",{ref:s,type:n,"data-slot":"input-group-button",className:d("inline-flex items-center justify-center font-medium rounded-sm transition-colors cursor-pointer shrink-0 select-none","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-900 focus-visible:ring-offset-1","disabled:opacity-50 disabled:pointer-events-none",Zr[t],$r[o],r),...i})});io.displayName="InputGroupButton";var ao=ce.forwardRef(function({className:t,...o},r){return(0,de.jsx)("div",{ref:r,"data-slot":"input-group-text",className:d("inline-flex items-center whitespace-nowrap select-none text-sm text-zinc-600 font-medium",t),...o})});ao.displayName="InputGroupText";var te=N(require("react"));var U=require("react/jsx-runtime"),qe={xs:{padding:"px-1 py-px",font:"text-[10px]",minWidth:"min-w-4",gap:"gap-0.5"},sm:{padding:"px-1.5 py-0.5",font:"text-xs",minWidth:"min-w-5",gap:"gap-1"},md:{padding:"px-2 py-1",font:"text-sm",minWidth:"min-w-6",gap:"gap-1.5"},lg:{padding:"px-2.5 py-1",font:"text-base",minWidth:"min-w-7",gap:"gap-1.5"},xl:{padding:"px-3 py-1.5",font:"text-lg",minWidth:"min-w-8",gap:"gap-2"}},lo={square:"",rounded:"rounded-sm"},co={soft:"bg-zinc-100 border border-zinc-300",outline:"bg-transparent border border-zinc-300",ghost:"bg-zinc-50 border border-transparent"};function Xr({children:e,size:t,variant:o,shape:r,className:n}){let i=qe[t];return(0,U.jsx)("kbd",{className:d("inline-flex items-center justify-center font-mono font-medium text-zinc-700 leading-none",lo[r],i.padding,i.font,i.minWidth,co[o],n),children:e})}var po=te.forwardRef(function({size:t="sm",variant:o="soft",shape:r="rounded",keys:n,separator:i,className:s,children:c,...l},p){let u=qe[t];if(!n||n.length===0)return(0,U.jsx)("kbd",{ref:p,className:d("inline-flex items-center justify-center font-mono font-medium text-zinc-700 leading-none",lo[r],u.padding,u.font,u.minWidth,co[o],s),...l,children:c});let g=i??(0,U.jsx)("span",{className:d("text-zinc-400 font-mono font-medium",u.font),children:"+"});return(0,U.jsx)("span",{ref:p,className:d("inline-flex items-center",u.gap,s),...l,children:n.map((v,b)=>(0,U.jsxs)(te.Fragment,{children:[(0,U.jsx)(Xr,{size:t,variant:o,shape:r,children:v}),b<n.length-1&&g]},b))})});po.displayName="Kbd";var uo=te.forwardRef(function({size:t="sm",separator:o,className:r,children:n,...i},s){let c=qe[t],l=te.Children.toArray(n).filter(Boolean),p=o??(0,U.jsx)("span",{className:d("text-zinc-400 font-mono font-medium",c.font),children:"+"});return(0,U.jsx)("span",{ref:s,className:d("inline-flex items-center",c.gap,r),...i,children:l.map((u,g)=>(0,U.jsxs)(te.Fragment,{children:[u,g<l.length-1&&p]},g))})});uo.displayName="KbdGroup";var mo=N(require("react"));var Ae=require("react/jsx-runtime"),Yr={xs:"text-xs",sm:"text-sm",md:"text-base",lg:"text-lg",xl:"text-xl"},fo=mo.forwardRef(function({size:t="sm",required:o=!1,disabled:r=!1,className:n,children:i,...s},c){return(0,Ae.jsxs)("label",{ref:c,className:d("font-medium text-zinc-700 leading-none",Yr[t],r?"opacity-50 cursor-not-allowed":"cursor-default",n),...s,children:[i,o&&(0,Ae.jsx)("span",{"aria-hidden":"true",className:"text-zinc-900 ms-0.5 font-semibold",children:"*"})]})});fo.displayName="Label";var go=N(require("react"));var ue=require("react/jsx-runtime"),Jr={xs:{font:"text-xs",iconSize:"size-3",gap:"gap-1"},sm:{font:"text-sm",iconSize:"size-3.5",gap:"gap-1.5"},md:{font:"text-base",iconSize:"size-4",gap:"gap-1.5"},lg:{font:"text-lg",iconSize:"size-4",gap:"gap-2"},xl:{font:"text-xl",iconSize:"size-5",gap:"gap-2"}},Qr={hover:"no-underline hover:underline underline-offset-4",always:"underline underline-offset-4",none:"no-underline"},xo=go.forwardRef(function({size:t="sm",underline:o="hover",icon:r,iconRight:n,external:i=!1,disabled:s=!1,className:c,children:l,target:p,rel:u,...g},v){let b=Jr[t],z=i?"_blank":p,w=i?u?`${u} noopener noreferrer`:"noopener noreferrer":u;return(0,ue.jsxs)("a",{ref:v,target:z,rel:w,"aria-disabled":s||void 0,tabIndex:s?-1:g.tabIndex,className:d("inline-flex items-center font-medium transition-colors","text-zinc-900 hover:text-zinc-700","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-900 focus-visible:ring-offset-1 rounded-sm","cursor-pointer",b.font,b.gap,Qr[o],s&&"opacity-50 pointer-events-none cursor-not-allowed",c),...g,children:[r&&(0,ue.jsx)("span",{className:d("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",b.iconSize),children:r}),l,n?(0,ue.jsx)("span",{className:d("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",b.iconSize),children:n}):i?(0,ue.jsx)(At,{className:b.iconSize}):null]})});xo.displayName="Link";var fe=N(require("react"));var me=require("react/jsx-runtime"),en={xs:{box:"size-3.5",dot:"size-1.5"},sm:{box:"size-4",dot:"size-2"},md:{box:"size-5",dot:"size-2.5"},lg:{box:"size-6",dot:"size-3"},xl:{box:"size-7",dot:"size-3.5"}},Le=fe.forwardRef(function({size:t="md",checked:o,defaultChecked:r,onCheckedChange:n,onChange:i,disabled:s=!1,className:c,id:l,...p},u){let g=fe.useId(),v=l??g,b=o!==void 0,[z,w]=fe.useState(!!r),S=b?o:z,y=en[t],k=I=>{b||w(I.target.checked),i?.(I),n?.(I.target.checked)};return(0,me.jsxs)("span",{className:d("relative inline-flex shrink-0 items-center justify-center",s&&"opacity-50 cursor-not-allowed",c),children:[(0,me.jsx)("input",{ref:u,id:v,type:"radio","data-slot":"radio",checked:S,onChange:k,disabled:s,className:"peer sr-only",...p}),(0,me.jsx)("span",{"aria-hidden":"true",className:d("inline-flex items-center justify-center rounded-full transition-colors border",s?"cursor-not-allowed":"cursor-pointer",S?"bg-white border-zinc-900":"bg-white border-zinc-300 peer-hover:border-zinc-400","peer-focus-visible:ring-2 peer-focus-visible:ring-zinc-900 peer-focus-visible:ring-offset-1","peer-aria-invalid:border-zinc-900 peer-aria-invalid:ring-2 peer-aria-invalid:ring-zinc-200",y.box),children:S&&(0,me.jsx)("span",{className:d("rounded-full bg-zinc-900",y.dot)})})]})});Le.displayName="Radio";var M=N(require("react"));var D=require("react/jsx-runtime"),bo=M.createContext(null),ho=M.forwardRef(function({value:t,defaultValue:o,onValueChange:r,orientation:n="vertical",size:i="md",disabled:s=!1,name:c,invalid:l,legend:p,description:u,className:g,children:v,...b},z){let w=M.useId(),S=c??w,y=t!==void 0,[k,I]=M.useState(o??null),E=y?t:k,G=M.useCallback(C=>{y||I(C),r?.(C)},[y,r]),V=M.useMemo(()=>({value:E??null,setValue:G,size:i,disabled:s,name:S,invalid:l}),[E,G,i,s,S,l]);return(0,D.jsx)(bo.Provider,{value:V,children:(0,D.jsxs)("fieldset",{ref:z,"data-slot":"radio-group","data-orientation":n,role:"radiogroup","aria-invalid":l||void 0,disabled:s,className:d("flex flex-col gap-2 min-w-0",g),...b,children:[p&&(0,D.jsx)("legend",{className:"text-sm font-medium text-zinc-700 mb-1",children:p}),u&&(0,D.jsx)("p",{className:"text-xs text-zinc-500 -mt-1 mb-1",children:u}),(0,D.jsx)("div",{className:d("flex",n==="vertical"?"flex-col gap-2":"flex-row gap-4 flex-wrap"),children:v})]})})});ho.displayName="RadioGroup";var vo=M.forwardRef(function({value:t,label:o,description:r,disabled:n,className:i,...s},c){let l=M.useContext(bo);if(!l)throw new Error("RadioGroupItem must be rendered inside <RadioGroup>.");let p=M.useId(),u=l.value===t,g=l.disabled||!!n;return(0,D.jsxs)("label",{ref:c,htmlFor:p,className:d("inline-flex items-start gap-2.5 select-none",g?"cursor-not-allowed opacity-50":"cursor-pointer",i),...s,children:[(0,D.jsx)(Le,{id:p,value:t,name:l.name,size:l.size,disabled:g,checked:u,onChange:()=>l.setValue(t),"aria-invalid":l.invalid||void 0,className:"mt-0.5"}),(o||r)&&(0,D.jsxs)("div",{className:"flex flex-col gap-0.5 min-w-0",children:[o&&(0,D.jsx)("span",{className:"text-sm font-medium text-zinc-700",children:o}),r&&(0,D.jsx)("span",{className:"text-xs text-zinc-500",children:r})]})]})});vo.displayName="RadioGroupItem";var zo=N(require("react"));var oe=require("react/jsx-runtime"),Me={solid:"border-solid",dashed:"border-dashed",dotted:"border-dotted"},yo=zo.forwardRef(function({orientation:t="horizontal",variant:o="solid",label:r,decorative:n,className:i,...s},c){let l=n?{role:"none"}:{role:"separator","aria-orientation":t};return t==="vertical"?(0,oe.jsx)("div",{ref:c,...l,className:d("self-stretch w-px border-l border-zinc-200",Me[o],i),...s}):r?(0,oe.jsxs)("div",{ref:c,...l,className:d("flex items-center gap-3",i),...s,children:[(0,oe.jsx)("div",{"aria-hidden":"true",className:d("flex-1 border-t border-zinc-200",Me[o])}),(0,oe.jsx)("span",{className:"text-xs text-zinc-500 font-medium shrink-0",children:r}),(0,oe.jsx)("div",{"aria-hidden":"true",className:d("flex-1 border-t border-zinc-200",Me[o])})]}):(0,oe.jsx)("div",{ref:c,...l,className:d("w-full border-t border-zinc-200",Me[o],i),...s})});yo.displayName="Separator";var Pe=N(require("react"));var Ro="eglador-skeleton-styles",tn=`
3
3
  @keyframes eglador-skeleton-wave {
4
4
  0% { background-position: 200% 0; }
5
5
  100% { background-position: -200% 0; }
@@ -21,4 +21,4 @@
21
21
  animation: none !important;
22
22
  }
23
23
  }
24
- `;function me(){if(typeof document>"u"||document.getElementById(St))return;let e=document.createElement("style");e.id=St,e.textContent=Fo,document.head.appendChild(e)}var fe=require("react/jsx-runtime"),Oo={text:"rounded-sm",circular:"rounded-full",rectangular:"",rounded:"rounded-sm"};function Rt(e){if(e!=null)return typeof e=="number"?`${e}px`:e}var At=ue.forwardRef(function({variant:t="text",animation:o="pulse",width:r,height:s,lines:i,lineGap:a="0.75rem",className:d,style:f,...p},g){ue.useEffect(()=>{o==="wave"&&me()},[o]);let x=Rt(r),v=Rt(s),y=x,z=v;z||(t==="text"?z="1em":t==="circular"?z=y??"2.5rem":z="8rem"),t==="circular"&&!y&&(y=z),!y&&t!=="circular"&&(y="100%");let S=b(o==="wave"?"eglador-skeleton-wave":"bg-zinc-200",Oo[t],o==="pulse"&&"animate-pulse",d);return i&&i>1?(0,fe.jsx)("div",{ref:g,className:"flex flex-col",style:{gap:a,...f},...p,children:Array.from({length:i},(A,H)=>{let I=H===i-1;return(0,fe.jsx)("div",{className:S,style:{width:I?"60%":y,height:z}},H)})}):(0,fe.jsx)("div",{ref:g,className:S,style:{width:y,height:z,...f},...p})});At.displayName="Skeleton";var It=P(require("react"));var j=require("react/jsx-runtime"),Do={xs:{spinner:"size-4",labelFont:"text-xs",gap:"gap-1.5"},sm:{spinner:"size-5",labelFont:"text-sm",gap:"gap-2"},md:{spinner:"size-8",labelFont:"text-sm",gap:"gap-2.5"},lg:{spinner:"size-12",labelFont:"text-base",gap:"gap-3"},xl:{spinner:"size-16",labelFont:"text-lg",gap:"gap-3.5"}},Tt=It.forwardRef(function({size:t="sm",label:o,className:r,...s},i){let a=Do[t];return(0,j.jsxs)("div",{ref:i,role:"status",className:b("inline-flex flex-col items-center",a.gap,r),...s,children:[(0,j.jsxs)("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:b("animate-spin",a.spinner),children:[(0,j.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3",className:"text-zinc-200"}),(0,j.jsx)("path",{d:"M12 2a10 10 0 0 1 10 10",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",className:"text-zinc-600"})]}),o?(0,j.jsx)("span",{className:b("font-medium text-zinc-500",a.labelFont),children:o}):(0,j.jsx)("span",{className:"sr-only",children:"Loading\u2026"})]})});Tt.displayName="Spinner";var Nt=P(require("react"));var Lt=require("react/jsx-runtime"),_o={h1:{tag:"h1",style:"text-4xl font-bold tracking-tight"},h2:{tag:"h2",style:"text-3xl font-bold tracking-tight"},h3:{tag:"h3",style:"text-2xl font-semibold tracking-tight"},h4:{tag:"h4",style:"text-xl font-semibold tracking-tight"},p:{tag:"p",style:"text-base leading-relaxed"},lead:{tag:"p",style:"text-xl leading-relaxed"},large:{tag:"p",style:"text-lg font-medium"},small:{tag:"p",style:"text-sm"},muted:{tag:"p",style:"text-sm text-zinc-500"},blockquote:{tag:"blockquote",style:"border-s-4 border-zinc-300 ps-4 italic"},list:{tag:"ul",style:"list-disc ms-6 [&>li]:mt-1.5 [&>li]:leading-relaxed"},code:{tag:"code",style:"bg-zinc-100 px-1.5 py-0.5 rounded-sm text-sm font-mono"},kbd:{tag:"kbd",style:"bg-zinc-100 border border-zinc-300 px-1.5 py-0.5 rounded-sm text-xs font-mono"}},Mt={default:"text-zinc-900",muted:"text-zinc-500"},Bo={left:"text-left",center:"text-center",right:"text-right"},Ko={thin:"font-thin",extralight:"font-extralight",light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extrabold:"font-extrabold",black:"font-black"},Ct=Nt.forwardRef(function({variant:t="p",color:o,align:r,weight:s,truncate:i=!1,lines:a,as:d,className:f,children:p,style:g,...x},v){let y=_o[t],z=d||y.tag,S=o?Mt[o]:t==="muted"?"":Mt.default,A=a&&a>0?{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:a,overflow:"hidden"}:void 0;return(0,Lt.jsx)(z,{ref:v,className:b(y.style,S,r&&Bo[r],s&&Ko[s],i&&!a&&"truncate",f),style:A?{...A,...g}:g,...x,children:p})});Ct.displayName="Typography";0&&(module.exports={AspectRatio,Avatar,AvatarGroup,Badge,Empty,Kbd,KbdGroup,Label,Separator,Skeleton,Spinner,Typography,ensureSkeletonStyles});
24
+ `;function Ee(){if(typeof document>"u"||document.getElementById(Ro))return;let e=document.createElement("style");e.id=Ro,e.textContent=tn,document.head.appendChild(e)}var Ge=require("react/jsx-runtime"),on={text:"rounded-sm",circular:"rounded-full",rectangular:"",rounded:"rounded-sm"};function ko(e){if(e!=null)return typeof e=="number"?`${e}px`:e}var wo=Pe.forwardRef(function({variant:t="text",animation:o="pulse",width:r,height:n,lines:i,lineGap:s="0.75rem",className:c,style:l,...p},u){Pe.useEffect(()=>{o==="wave"&&Ee()},[o]);let g=ko(r),v=ko(n),b=g,z=v;z||(t==="text"?z="1em":t==="circular"?z=b??"2.5rem":z="8rem"),t==="circular"&&!b&&(b=z),!b&&t!=="circular"&&(b="100%");let w=d(o==="wave"?"eglador-skeleton-wave":"bg-zinc-200",on[t],o==="pulse"&&"animate-pulse",c);return i&&i>1?(0,Ge.jsx)("div",{ref:u,className:"flex flex-col",style:{gap:s,...l},...p,children:Array.from({length:i},(S,y)=>{let k=y===i-1;return(0,Ge.jsx)("div",{className:w,style:{width:k?"60%":b,height:z}},y)})}):(0,Ge.jsx)("div",{ref:u,className:w,style:{width:b,height:z,...l},...p})});wo.displayName="Skeleton";var So=N(require("react"));var re=require("react/jsx-runtime"),rn={xs:{spinner:"size-4",labelFont:"text-xs",gap:"gap-1.5"},sm:{spinner:"size-5",labelFont:"text-sm",gap:"gap-2"},md:{spinner:"size-8",labelFont:"text-sm",gap:"gap-2.5"},lg:{spinner:"size-12",labelFont:"text-base",gap:"gap-3"},xl:{spinner:"size-16",labelFont:"text-lg",gap:"gap-3.5"}},Io=So.forwardRef(function({size:t="sm",label:o,className:r,...n},i){let s=rn[t];return(0,re.jsxs)("div",{ref:i,role:"status",className:d("inline-flex flex-col items-center",s.gap,r),...n,children:[(0,re.jsxs)("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:d("animate-spin",s.spinner),children:[(0,re.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3",className:"text-zinc-200"}),(0,re.jsx)("path",{d:"M12 2a10 10 0 0 1 10 10",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",className:"text-zinc-600"})]}),o?(0,re.jsx)("span",{className:d("font-medium text-zinc-500",s.labelFont),children:o}):(0,re.jsx)("span",{className:"sr-only",children:"Loading\u2026"})]})});Io.displayName="Spinner";var xe=N(require("react"));var ge=require("react/jsx-runtime"),nn={xs:{track:"w-8 h-4",thumb:"size-3",translate:"translate-x-4"},sm:{track:"w-10 h-5",thumb:"size-4",translate:"translate-x-5"},md:{track:"w-11 h-6",thumb:"size-5",translate:"translate-x-5"},lg:{track:"w-14 h-7",thumb:"size-6",translate:"translate-x-7"},xl:{track:"w-16 h-8",thumb:"size-7",translate:"translate-x-8"}},To=xe.forwardRef(function({size:t="md",checked:o,defaultChecked:r=!1,onCheckedChange:n,onChange:i,disabled:s=!1,className:c,id:l,...p},u){let g=xe.useId(),v=l??g,b=o!==void 0,[z,w]=xe.useState(r),S=b?o:z,y=nn[t],k=I=>{b||w(I.target.checked),i?.(I),n?.(I.target.checked)};return(0,ge.jsxs)("span",{className:d("relative inline-flex shrink-0 items-center",s&&"opacity-50 cursor-not-allowed",c),children:[(0,ge.jsx)("input",{ref:u,id:v,type:"checkbox",role:"switch","data-slot":"switch",checked:S,onChange:k,disabled:s,className:"peer sr-only",...p}),(0,ge.jsx)("span",{"aria-hidden":"true",className:d("relative inline-block rounded-full transition-colors","bg-zinc-200 peer-checked:bg-zinc-900","peer-focus-visible:ring-2 peer-focus-visible:ring-zinc-900 peer-focus-visible:ring-offset-1","peer-aria-invalid:ring-2 peer-aria-invalid:ring-zinc-200",s?"cursor-not-allowed":"cursor-pointer",y.track),children:(0,ge.jsx)("span",{className:d("absolute top-1/2 -translate-y-1/2 left-0.5 rounded-full bg-white shadow-sm transition-transform",y.thumb,S&&y.translate)})})]})});To.displayName="Switch";var No=N(require("react"));var Lo=require("react/jsx-runtime"),sn={h1:{tag:"h1",style:"text-4xl font-bold tracking-tight"},h2:{tag:"h2",style:"text-3xl font-bold tracking-tight"},h3:{tag:"h3",style:"text-2xl font-semibold tracking-tight"},h4:{tag:"h4",style:"text-xl font-semibold tracking-tight"},p:{tag:"p",style:"text-base leading-relaxed"},lead:{tag:"p",style:"text-xl leading-relaxed"},large:{tag:"p",style:"text-lg font-medium"},small:{tag:"p",style:"text-sm"},muted:{tag:"p",style:"text-sm text-zinc-500"},blockquote:{tag:"blockquote",style:"border-s-4 border-zinc-300 ps-4 italic"},list:{tag:"ul",style:"list-disc ms-6 [&>li]:mt-1.5 [&>li]:leading-relaxed"},code:{tag:"code",style:"bg-zinc-100 px-1.5 py-0.5 rounded-sm text-sm font-mono"},kbd:{tag:"kbd",style:"bg-zinc-100 border border-zinc-300 px-1.5 py-0.5 rounded-sm text-xs font-mono"}},Co={default:"text-zinc-900",muted:"text-zinc-500"},an={left:"text-left",center:"text-center",right:"text-right"},ln={thin:"font-thin",extralight:"font-extralight",light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extrabold:"font-extrabold",black:"font-black"},Ao=No.forwardRef(function({variant:t="p",color:o,align:r,weight:n,truncate:i=!1,lines:s,as:c,className:l,children:p,style:u,...g},v){let b=sn[t],z=c||b.tag,w=o?Co[o]:t==="muted"?"":Co.default,S=s&&s>0?{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:s,overflow:"hidden"}:void 0;return(0,Lo.jsx)(z,{ref:v,className:d(b.style,w,r&&an[r],n&&ln[n],i&&!s&&"truncate",l),style:S?{...S,...u}:u,...g,children:p})});Ao.displayName="Typography";0&&(module.exports={AspectRatio,Avatar,AvatarGroup,Badge,Button,ButtonGroup,ButtonGroupSeparator,ButtonGroupText,Checkbox,CheckboxGroup,CheckboxGroupItem,Empty,Input,InputGroup,InputGroupAddon,InputGroupButton,InputGroupInput,InputGroupText,InputGroupTextarea,Kbd,KbdGroup,Label,Link,Radio,RadioGroup,RadioGroupItem,Separator,Skeleton,Spinner,Switch,Textarea,Typography,buttonVariants,ensureSkeletonStyles});
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import*as et from"react";function Ce(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=Ce(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function Le(){for(var e,t,r=0,o="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=Ce(e))&&(o&&(o+=" "),o+=t);return o}var kt=(e,t)=>{let r=new Array(e.length+t.length);for(let o=0;o<e.length;o++)r[o]=e[o];for(let o=0;o<t.length;o++)r[e.length+o]=t[o];return r},wt=(e,t)=>({classGroupId:e,validator:t}),Ve=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r});var Pe=[],zt="arbitrary..",St=e=>{let t=At(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:n=>{if(n.startsWith("[")&&n.endsWith("]"))return Rt(n);let c=n.split("-"),f=c[0]===""&&c.length>1?1:0;return Fe(c,f,t)},getConflictingClassGroupIds:(n,c)=>{if(c){let f=o[n],d=r[n];return f?d?kt(d,f):f:d||Pe}return r[n]||Pe}}},Fe=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;let s=e[t],a=r.nextPart.get(s);if(a){let d=Fe(e,t+1,a);if(d)return d}let n=r.validators;if(n===null)return;let c=t===0?e.join("-"):e.slice(t).join("-"),f=n.length;for(let d=0;d<f;d++){let g=n[d];if(g.validator(c))return g.classGroupId}},Rt=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let t=e.slice(1,-1),r=t.indexOf(":"),o=t.slice(0,r);return o?zt+o:void 0})(),At=e=>{let{theme:t,classGroups:r}=e;return It(r,t)},It=(e,t)=>{let r=Ve();for(let o in e){let s=e[o];xe(s,r,o,t)}return r},xe=(e,t,r,o)=>{let s=e.length;for(let a=0;a<s;a++){let n=e[a];Tt(n,t,r,o)}},Tt=(e,t,r,o)=>{if(typeof e=="string"){Mt(e,t,r);return}if(typeof e=="function"){Nt(e,t,r,o);return}Ct(e,t,r,o)},Mt=(e,t,r)=>{let o=e===""?t:Oe(t,e);o.classGroupId=r},Nt=(e,t,r,o)=>{if(Lt(e)){xe(e(o),t,r,o);return}t.validators===null&&(t.validators=[]),t.validators.push(wt(r,e))},Ct=(e,t,r,o)=>{let s=Object.entries(e),a=s.length;for(let n=0;n<a;n++){let[c,f]=s[n];xe(f,Oe(t,c),r,o)}},Oe=(e,t)=>{let r=e,o=t.split("-"),s=o.length;for(let a=0;a<s;a++){let n=o[a],c=r.nextPart.get(n);c||(c=Ve(),r.nextPart.set(n,c)),r=c}return r},Lt=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Pt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),o=Object.create(null),s=(a,n)=>{r[a]=n,t++,t>e&&(t=0,o=r,r=Object.create(null))};return{get(a){let n=r[a];if(n!==void 0)return n;if((n=o[a])!==void 0)return s(a,n),n},set(a,n){a in r?r[a]=n:s(a,n)}}};var Et=[],Ee=(e,t,r,o,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:o,isExternal:s}),Gt=e=>{let{prefix:t,experimentalParseClassName:r}=e,o=s=>{let a=[],n=0,c=0,f=0,d,g=s.length;for(let S=0;S<g;S++){let T=s[S];if(n===0&&c===0){if(T===":"){a.push(s.slice(f,S)),f=S+1;continue}if(T==="/"){d=S;continue}}T==="["?n++:T==="]"?n--:T==="("?c++:T===")"&&c--}let x=a.length===0?s:s.slice(f),v=x,y=!1;x.endsWith("!")?(v=x.slice(0,-1),y=!0):x.startsWith("!")&&(v=x.slice(1),y=!0);let z=d&&d>f?d-f:void 0;return Ee(a,y,v,z)};if(t){let s=t+":",a=o;o=n=>n.startsWith(s)?a(n.slice(s.length)):Ee(Et,!1,n,void 0,!0)}if(r){let s=o;o=a=>r({className:a,parseClassName:s})}return o},Ht=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((r,o)=>{t.set(r,1e6+o)}),r=>{let o=[],s=[];for(let a=0;a<r.length;a++){let n=r[a],c=n[0]==="[",f=t.has(n);c||f?(s.length>0&&(s.sort(),o.push(...s),s=[]),o.push(n)):s.push(n)}return s.length>0&&(s.sort(),o.push(...s)),o}},Wt=e=>({cache:Pt(e.cacheSize),parseClassName:Gt(e),sortModifiers:Ht(e),postfixLookupClassGroupIds:Vt(e),...St(e)}),Vt=e=>{let t=Object.create(null),r=e.postfixLookupClassGroups;if(r)for(let o=0;o<r.length;o++)t[r[o]]=!0;return t},Ft=/\s+/,Ot=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:s,sortModifiers:a,postfixLookupClassGroupIds:n}=t,c=[],f=e.trim().split(Ft),d="";for(let g=f.length-1;g>=0;g-=1){let x=f[g],{isExternal:v,modifiers:y,hasImportantModifier:z,baseClassName:S,maybePostfixModifierPosition:T}=r(x);if(v){d=x+(d.length>0?" "+d:d);continue}let G=!!T,M;if(G){let W=S.substring(0,T);M=o(W);let m=M&&n[M]?o(S):void 0;m&&m!==M&&(M=m,G=!1)}else M=o(S);if(!M){if(!G){d=x+(d.length>0?" "+d:d);continue}if(M=o(S),!M){d=x+(d.length>0?" "+d:d);continue}G=!1}let J=y.length===0?"":y.length===1?y[0]:a(y).join(":"),q=z?J+"!":J,$=q+M;if(c.indexOf($)>-1)continue;c.push($);let Z=s(M,G);for(let W=0;W<Z.length;++W){let m=Z[W];c.push(q+m)}d=x+(d.length>0?" "+d:d)}return d},Dt=(...e)=>{let t=0,r,o,s="";for(;t<e.length;)(r=e[t++])&&(o=De(r))&&(s&&(s+=" "),s+=o);return s},De=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=De(e[o]))&&(r&&(r+=" "),r+=t);return r},_t=(e,...t)=>{let r,o,s,a,n=f=>{let d=t.reduce((g,x)=>x(g),e());return r=Wt(d),o=r.cache.get,s=r.cache.set,a=c,c(f)},c=f=>{let d=o(f);if(d)return d;let g=Ot(f,r);return s(f,g),g};return a=n,(...f)=>a(Dt(...f))},Bt=[],w=e=>{let t=r=>r[e]||Bt;return t.isThemeGetter=!0,t},_e=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Be=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Kt=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,jt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ut=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,qt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,$t=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Zt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>Kt.test(e),h=e=>!!e&&!Number.isNaN(Number(e)),H=e=>!!e&&Number.isInteger(Number(e)),he=e=>e.endsWith("%")&&h(e.slice(0,-1)),V=e=>jt.test(e),Ke=()=>!0,Yt=e=>Ut.test(e)&&!qt.test(e),ye=()=>!1,Xt=e=>$t.test(e),Jt=e=>Zt.test(e),Qt=e=>!i(e)&&!l(e),eo=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),to=e=>O(e,qe,ye),i=e=>_e.test(e),B=e=>O(e,$e,Yt),Ge=e=>O(e,co,h),oo=e=>O(e,Ye,Ke),ro=e=>O(e,Ze,ye),He=e=>O(e,je,ye),no=e=>O(e,Ue,Jt),ae=e=>O(e,Xe,Xt),l=e=>Be.test(e),Q=e=>K(e,$e),so=e=>K(e,Ze),We=e=>K(e,je),ao=e=>K(e,qe),io=e=>K(e,Ue),ie=e=>K(e,Xe,!0),lo=e=>K(e,Ye,!0),O=(e,t,r)=>{let o=_e.exec(e);return o?o[1]?t(o[1]):r(o[2]):!1},K=(e,t,r=!1)=>{let o=Be.exec(e);return o?o[1]?t(o[1]):r:!1},je=e=>e==="position"||e==="percentage",Ue=e=>e==="image"||e==="url",qe=e=>e==="length"||e==="size"||e==="bg-size",$e=e=>e==="length",co=e=>e==="number",Ze=e=>e==="family-name",Ye=e=>e==="number"||e==="weight",Xe=e=>e==="shadow";var po=()=>{let e=w("color"),t=w("font"),r=w("text"),o=w("font-weight"),s=w("tracking"),a=w("leading"),n=w("breakpoint"),c=w("container"),f=w("spacing"),d=w("radius"),g=w("shadow"),x=w("inset-shadow"),v=w("text-shadow"),y=w("drop-shadow"),z=w("blur"),S=w("perspective"),T=w("aspect"),G=w("ease"),M=w("animate"),J=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],$=()=>[...q(),l,i],Z=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],m=()=>[l,i,f],L=()=>[F,"full","auto",...m()],ze=()=>[H,"none","subgrid",l,i],Se=()=>["auto",{span:["full",H,l,i]},H,l,i],te=()=>[H,"auto",l,i],Re=()=>["auto","min","max","fr",l,i],me=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Y=()=>["start","end","center","stretch","center-safe","end-safe"],E=()=>["auto",...m()],_=()=>[F,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...m()],fe=()=>[F,"screen","full","dvw","lvw","svw","min","max","fit",...m()],ue=()=>[F,"screen","full","lh","dvh","lvh","svh","min","max","fit",...m()],u=()=>[e,l,i],Ae=()=>[...q(),We,He,{position:[l,i]}],Ie=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Te=()=>["auto","cover","contain",ao,to,{size:[l,i]}],ge=()=>[he,Q,B],N=()=>["","none","full",d,l,i],C=()=>["",h,Q,B],oe=()=>["solid","dashed","dotted","double"],Me=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>[h,he,We,He],Ne=()=>["","none",z,l,i],re=()=>["none",h,l,i],ne=()=>["none",h,l,i],be=()=>[h,l,i],se=()=>[F,"full",...m()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[V],breakpoint:[V],color:[Ke],container:[V],"drop-shadow":[V],ease:["in","out","in-out"],font:[Qt],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[V],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[V],shadow:[V],spacing:["px",h],text:[V],"text-shadow":[V],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",F,i,l,T]}],container:["container"],"container-type":[{"@container":["","normal","size",l,i]}],"container-named":[eo],columns:[{columns:[h,i,l,c]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:$()}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:L()}],"inset-x":[{"inset-x":L()}],"inset-y":[{"inset-y":L()}],start:[{"inset-s":L(),start:L()}],end:[{"inset-e":L(),end:L()}],"inset-bs":[{"inset-bs":L()}],"inset-be":[{"inset-be":L()}],top:[{top:L()}],right:[{right:L()}],bottom:[{bottom:L()}],left:[{left:L()}],visibility:["visible","invisible","collapse"],z:[{z:[H,"auto",l,i]}],basis:[{basis:[F,"full","auto",c,...m()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[h,F,"auto","initial","none",i]}],grow:[{grow:["",h,l,i]}],shrink:[{shrink:["",h,l,i]}],order:[{order:[H,"first","last","none",l,i]}],"grid-cols":[{"grid-cols":ze()}],"col-start-end":[{col:Se()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":ze()}],"row-start-end":[{row:Se()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Re()}],"auto-rows":[{"auto-rows":Re()}],gap:[{gap:m()}],"gap-x":[{"gap-x":m()}],"gap-y":[{"gap-y":m()}],"justify-content":[{justify:[...me(),"normal"]}],"justify-items":[{"justify-items":[...Y(),"normal"]}],"justify-self":[{"justify-self":["auto",...Y()]}],"align-content":[{content:["normal",...me()]}],"align-items":[{items:[...Y(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Y(),{baseline:["","last"]}]}],"place-content":[{"place-content":me()}],"place-items":[{"place-items":[...Y(),"baseline"]}],"place-self":[{"place-self":["auto",...Y()]}],p:[{p:m()}],px:[{px:m()}],py:[{py:m()}],ps:[{ps:m()}],pe:[{pe:m()}],pbs:[{pbs:m()}],pbe:[{pbe:m()}],pt:[{pt:m()}],pr:[{pr:m()}],pb:[{pb:m()}],pl:[{pl:m()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mbs:[{mbs:E()}],mbe:[{mbe:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":m()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":m()}],"space-y-reverse":["space-y-reverse"],size:[{size:_()}],"inline-size":[{inline:["auto",...fe()]}],"min-inline-size":[{"min-inline":["auto",...fe()]}],"max-inline-size":[{"max-inline":["none",...fe()]}],"block-size":[{block:["auto",...ue()]}],"min-block-size":[{"min-block":["auto",...ue()]}],"max-block-size":[{"max-block":["none",...ue()]}],w:[{w:[c,"screen",..._()]}],"min-w":[{"min-w":[c,"screen","none",..._()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[n]},..._()]}],h:[{h:["screen","lh",..._()]}],"min-h":[{"min-h":["screen","lh","none",..._()]}],"max-h":[{"max-h":["screen","lh",..._()]}],"font-size":[{text:["base",r,Q,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,lo,oo]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",he,i]}],"font-family":[{font:[so,ro,t]}],"font-features":[{"font-features":[i]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,l,i]}],"line-clamp":[{"line-clamp":[h,"none",l,Ge]}],leading:[{leading:[a,...m()]}],"list-image":[{"list-image":["none",l,i]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",l,i]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:u()}],"text-color":[{text:u()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...oe(),"wavy"]}],"text-decoration-thickness":[{decoration:[h,"from-font","auto",l,B]}],"text-decoration-color":[{decoration:u()}],"underline-offset":[{"underline-offset":[h,"auto",l,i]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"tab-size":[{tab:[H,l,i]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l,i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",l,i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Ae()}],"bg-repeat":[{bg:Ie()}],"bg-size":[{bg:Te()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},H,l,i],radial:["",l,i],conic:[H,l,i]},io,no]}],"bg-color":[{bg:u()}],"gradient-from-pos":[{from:ge()}],"gradient-via-pos":[{via:ge()}],"gradient-to-pos":[{to:ge()}],"gradient-from":[{from:u()}],"gradient-via":[{via:u()}],"gradient-to":[{to:u()}],rounded:[{rounded:N()}],"rounded-s":[{"rounded-s":N()}],"rounded-e":[{"rounded-e":N()}],"rounded-t":[{"rounded-t":N()}],"rounded-r":[{"rounded-r":N()}],"rounded-b":[{"rounded-b":N()}],"rounded-l":[{"rounded-l":N()}],"rounded-ss":[{"rounded-ss":N()}],"rounded-se":[{"rounded-se":N()}],"rounded-ee":[{"rounded-ee":N()}],"rounded-es":[{"rounded-es":N()}],"rounded-tl":[{"rounded-tl":N()}],"rounded-tr":[{"rounded-tr":N()}],"rounded-br":[{"rounded-br":N()}],"rounded-bl":[{"rounded-bl":N()}],"border-w":[{border:C()}],"border-w-x":[{"border-x":C()}],"border-w-y":[{"border-y":C()}],"border-w-s":[{"border-s":C()}],"border-w-e":[{"border-e":C()}],"border-w-bs":[{"border-bs":C()}],"border-w-be":[{"border-be":C()}],"border-w-t":[{"border-t":C()}],"border-w-r":[{"border-r":C()}],"border-w-b":[{"border-b":C()}],"border-w-l":[{"border-l":C()}],"divide-x":[{"divide-x":C()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":C()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...oe(),"hidden","none"]}],"divide-style":[{divide:[...oe(),"hidden","none"]}],"border-color":[{border:u()}],"border-color-x":[{"border-x":u()}],"border-color-y":[{"border-y":u()}],"border-color-s":[{"border-s":u()}],"border-color-e":[{"border-e":u()}],"border-color-bs":[{"border-bs":u()}],"border-color-be":[{"border-be":u()}],"border-color-t":[{"border-t":u()}],"border-color-r":[{"border-r":u()}],"border-color-b":[{"border-b":u()}],"border-color-l":[{"border-l":u()}],"divide-color":[{divide:u()}],"outline-style":[{outline:[...oe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[h,l,i]}],"outline-w":[{outline:["",h,Q,B]}],"outline-color":[{outline:u()}],shadow:[{shadow:["","none",g,ie,ae]}],"shadow-color":[{shadow:u()}],"inset-shadow":[{"inset-shadow":["none",x,ie,ae]}],"inset-shadow-color":[{"inset-shadow":u()}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:u()}],"ring-offset-w":[{"ring-offset":[h,B]}],"ring-offset-color":[{"ring-offset":u()}],"inset-ring-w":[{"inset-ring":C()}],"inset-ring-color":[{"inset-ring":u()}],"text-shadow":[{"text-shadow":["none",v,ie,ae]}],"text-shadow-color":[{"text-shadow":u()}],opacity:[{opacity:[h,l,i]}],"mix-blend":[{"mix-blend":[...Me(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Me()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[h]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":u()}],"mask-image-linear-to-color":[{"mask-linear-to":u()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":u()}],"mask-image-t-to-color":[{"mask-t-to":u()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":u()}],"mask-image-r-to-color":[{"mask-r-to":u()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":u()}],"mask-image-b-to-color":[{"mask-b-to":u()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":u()}],"mask-image-l-to-color":[{"mask-l-to":u()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":u()}],"mask-image-x-to-color":[{"mask-x-to":u()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":u()}],"mask-image-y-to-color":[{"mask-y-to":u()}],"mask-image-radial":[{"mask-radial":[l,i]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":u()}],"mask-image-radial-to-color":[{"mask-radial-to":u()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":q()}],"mask-image-conic-pos":[{"mask-conic":[h]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":u()}],"mask-image-conic-to-color":[{"mask-conic-to":u()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Ae()}],"mask-repeat":[{mask:Ie()}],"mask-size":[{mask:Te()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",l,i]}],filter:[{filter:["","none",l,i]}],blur:[{blur:Ne()}],brightness:[{brightness:[h,l,i]}],contrast:[{contrast:[h,l,i]}],"drop-shadow":[{"drop-shadow":["","none",y,ie,ae]}],"drop-shadow-color":[{"drop-shadow":u()}],grayscale:[{grayscale:["",h,l,i]}],"hue-rotate":[{"hue-rotate":[h,l,i]}],invert:[{invert:["",h,l,i]}],saturate:[{saturate:[h,l,i]}],sepia:[{sepia:["",h,l,i]}],"backdrop-filter":[{"backdrop-filter":["","none",l,i]}],"backdrop-blur":[{"backdrop-blur":Ne()}],"backdrop-brightness":[{"backdrop-brightness":[h,l,i]}],"backdrop-contrast":[{"backdrop-contrast":[h,l,i]}],"backdrop-grayscale":[{"backdrop-grayscale":["",h,l,i]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h,l,i]}],"backdrop-invert":[{"backdrop-invert":["",h,l,i]}],"backdrop-opacity":[{"backdrop-opacity":[h,l,i]}],"backdrop-saturate":[{"backdrop-saturate":[h,l,i]}],"backdrop-sepia":[{"backdrop-sepia":["",h,l,i]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":m()}],"border-spacing-x":[{"border-spacing-x":m()}],"border-spacing-y":[{"border-spacing-y":m()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",l,i]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[h,"initial",l,i]}],ease:[{ease:["linear","initial",G,l,i]}],delay:[{delay:[h,l,i]}],animate:[{animate:["none",M,l,i]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,l,i]}],"perspective-origin":[{"perspective-origin":$()}],rotate:[{rotate:re()}],"rotate-x":[{"rotate-x":re()}],"rotate-y":[{"rotate-y":re()}],"rotate-z":[{"rotate-z":re()}],scale:[{scale:ne()}],"scale-x":[{"scale-x":ne()}],"scale-y":[{"scale-y":ne()}],"scale-z":[{"scale-z":ne()}],"scale-3d":["scale-3d"],skew:[{skew:be()}],"skew-x":[{"skew-x":be()}],"skew-y":[{"skew-y":be()}],transform:[{transform:[l,i,"","none","gpu","cpu"]}],"transform-origin":[{origin:$()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],zoom:[{zoom:[H,l,i]}],accent:[{accent:u()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:u()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",l,i]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":u()}],"scrollbar-track-color":[{"scrollbar-track":u()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mbs":[{"scroll-mbs":m()}],"scroll-mbe":[{"scroll-mbe":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pbs":[{"scroll-pbs":m()}],"scroll-pbe":[{"scroll-pbe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",l,i]}],fill:[{fill:["none",...u()]}],"stroke-w":[{stroke:[h,Q,B,Ge]}],stroke:[{stroke:["none",...u()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var Je=_t(po);function b(...e){return Je(Le(e))}import{jsx as fo}from"react/jsx-runtime";var Qe={"1:1":"aspect-square","16:9":"aspect-video","4:3":"aspect-[4/3]","21:9":"aspect-[21/9]","3:2":"aspect-[3/2]","2:3":"aspect-[2/3]","9:16":"aspect-[9/16]"},mo=et.forwardRef(function({ratio:t="16:9",className:r,style:o,children:s,...a},n){let c=typeof t=="string"&&t in Qe;return fo("div",{ref:n,className:b("relative overflow-hidden",c&&Qe[t],r),style:!c&&typeof t=="number"?{aspectRatio:t,...o}:o,...a,children:s})});mo.displayName="AspectRatio";import*as P from"react";import*as tt from"react";import{Fragment as A,jsx as p,jsxs as I}from"react/jsx-runtime";function k(e,t,r,o="none"){let s=tt.memo(({className:a,strokeWidth:n=t})=>p("svg",{className:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:o,stroke:"currentColor",strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round",children:r}));return s.displayName=e,s}var Jo=k("ChevronDownIcon",2,p("path",{d:"m6 9 6 6 6-6"})),Qo=k("ChevronUpIcon",2,p("path",{d:"m18 15-6-6-6 6"})),er=k("ChevronLeftIcon",2,p("path",{d:"m15 18-6-6 6-6"})),tr=k("ChevronRightIcon",2,p("path",{d:"m9 18 6-6-6-6"})),or=k("ChevronsLeftIcon",2,I(A,{children:[p("path",{d:"m11 17-5-5 5-5"}),p("path",{d:"m18 17-5-5 5-5"})]})),rr=k("ChevronsRightIcon",2,I(A,{children:[p("path",{d:"m6 17 5-5-5-5"}),p("path",{d:"m13 17 5-5-5-5"})]})),nr=k("ChevronsUpDownIcon",2,I(A,{children:[p("path",{d:"m7 15 5 5 5-5"}),p("path",{d:"m7 9 5-5 5 5"})]})),ot=k("XIcon",2,I(A,{children:[p("path",{d:"M18 6 6 18"}),p("path",{d:"m6 6 12 12"})]})),sr=k("CheckIcon",2.5,p("path",{d:"M20 6 9 17l-5-5"})),ar=k("MinusIcon",2.5,p("path",{d:"M5 12h14"})),ir=k("PlusIcon",2,I(A,{children:[p("path",{d:"M5 12h14"}),p("path",{d:"M12 5v14"})]})),lr=k("SearchIcon",2,I(A,{children:[p("circle",{cx:"11",cy:"11",r:"8"}),p("path",{d:"m21 21-4.3-4.3"})]})),cr=k("ExternalLinkIcon",2,I(A,{children:[p("path",{d:"M15 3h6v6"}),p("path",{d:"M10 14 21 3"}),p("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"})]})),dr=k("EllipsisIcon",2,I(A,{children:[p("circle",{cx:"12",cy:"12",r:"1"}),p("circle",{cx:"19",cy:"12",r:"1"}),p("circle",{cx:"5",cy:"12",r:"1"})]}),"currentColor"),pr=k("DotIcon",2,p("circle",{cx:"12",cy:"12",r:"5"}),"currentColor"),mr=k("GripVerticalIcon",2,I(A,{children:[p("circle",{cx:"9",cy:"5",r:"1"}),p("circle",{cx:"9",cy:"12",r:"1"}),p("circle",{cx:"9",cy:"19",r:"1"}),p("circle",{cx:"15",cy:"5",r:"1"}),p("circle",{cx:"15",cy:"12",r:"1"}),p("circle",{cx:"15",cy:"19",r:"1"})]}),"currentColor"),fr=k("GripHorizontalIcon",2,I(A,{children:[p("circle",{cx:"5",cy:"9",r:"1"}),p("circle",{cx:"12",cy:"9",r:"1"}),p("circle",{cx:"19",cy:"9",r:"1"}),p("circle",{cx:"5",cy:"15",r:"1"}),p("circle",{cx:"12",cy:"15",r:"1"}),p("circle",{cx:"19",cy:"15",r:"1"})]}),"currentColor"),rt=k("InboxIcon",1,I(A,{children:[p("polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12"}),p("path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"})]})),ur=k("InfoIcon",2,I(A,{children:[p("circle",{cx:"12",cy:"12",r:"10"}),p("path",{d:"M12 16v-4"}),p("path",{d:"M12 8h.01"})]})),gr=k("WarningIcon",2,I(A,{children:[p("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),p("path",{d:"M12 9v4"}),p("path",{d:"M12 17h.01"})]})),br=k("ErrorIcon",2,I(A,{children:[p("circle",{cx:"12",cy:"12",r:"10"}),p("path",{d:"m15 9-6 6"}),p("path",{d:"m9 9 6 6"})]})),hr=k("SuccessIcon",2,I(A,{children:[p("circle",{cx:"12",cy:"12",r:"10"}),p("path",{d:"m9 12 2 2 4-4"})]})),xr=k("CalendarIcon",2,I(A,{children:[p("path",{d:"M8 2v4"}),p("path",{d:"M16 2v4"}),p("rect",{width:"18",height:"18",x:"3",y:"4",rx:"2"}),p("path",{d:"M3 10h18"})]})),nt=k("UserIcon",2,I(A,{children:[p("circle",{cx:"12",cy:"8",r:"5"}),p("path",{d:"M20 21a8 8 0 0 0-16 0"})]}));import{jsx as j,jsxs as st}from"react/jsx-runtime";var at={xs:{container:"size-6",font:"text-[10px]",iconSize:"size-3"},sm:{container:"size-8",font:"text-xs",iconSize:"size-3.5"},md:{container:"size-10",font:"text-sm",iconSize:"size-4"},lg:{container:"size-12",font:"text-base",iconSize:"size-5"},xl:{container:"size-16",font:"text-lg",iconSize:"size-6"}},uo={circle:"rounded-full",rounded:"rounded-sm",square:""};function go(e){let t=e.trim().split(/\s+/);return t.length>=2?(t[0][0]+t[t.length-1][0]).toUpperCase():e.slice(0,2).toUpperCase()}var bo=P.forwardRef(function({src:t,alt:r,name:o,size:s="md",shape:a="circle",icon:n,className:c,...f},d){let[g,x]=P.useState(!1),v=at[s],y=t&&!g,z=o?go(o):null;return P.useEffect(()=>{x(!1)},[t]),j("div",{ref:d,className:b("relative inline-flex shrink-0",c),...f,children:j("div",{className:b("flex items-center justify-center overflow-hidden font-semibold",v.container,uo[a],!y&&"bg-zinc-200 text-zinc-600"),children:y?j("img",{src:t,alt:r||o||"Avatar",className:"w-full h-full object-cover",onError:()=>x(!0)}):n?j("span",{className:b("flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:n}):z?j("span",{className:v.font,children:z}):j(nt,{className:v.iconSize})})})});bo.displayName="Avatar";var ho=P.forwardRef(function({max:t,size:r="md",className:o,children:s,...a},n){let c=P.Children.toArray(s).filter(P.isValidElement),f=t?c.slice(0,t):c,d=t?c.length-t:0,g=at[r];return st("div",{ref:n,className:b("flex -space-x-2",o),...a,children:[f.map((x,v)=>j("div",{className:"ring-2 ring-white rounded-full",children:P.cloneElement(x,{size:r})},v)),d>0&&st("div",{className:b("flex items-center justify-center rounded-full ring-2 ring-white bg-zinc-200 text-zinc-600 font-semibold",g.container,g.font),children:["+",d]})]})});ho.displayName="AvatarGroup";import*as it from"react";import{jsx as le,jsxs as wo}from"react/jsx-runtime";var xo={xs:{padding:"px-1.5 py-0.5",font:"text-[10px]",iconSize:"size-2.5",gap:"gap-0.5"},sm:{padding:"px-2 py-0.5",font:"text-xs",iconSize:"size-3",gap:"gap-1"},md:{padding:"px-2.5 py-1",font:"text-sm",iconSize:"size-3.5",gap:"gap-1"},lg:{padding:"px-3 py-1.5",font:"text-base",iconSize:"size-4",gap:"gap-1.5"},xl:{padding:"px-4 py-2",font:"text-lg",iconSize:"size-5",gap:"gap-2"}},yo={square:"",rounded:"rounded-sm",pill:"rounded-full"},vo={solid:{base:"bg-zinc-900 text-white border border-zinc-900",removeHover:"hover:bg-zinc-700"},soft:{base:"bg-zinc-100 text-zinc-700 border border-zinc-200",removeHover:"hover:bg-zinc-200 hover:text-zinc-900"},outline:{base:"bg-transparent text-zinc-700 border border-zinc-300",removeHover:"hover:bg-zinc-100 hover:text-zinc-900"}},ko=it.forwardRef(function({variant:t="soft",size:r="sm",shape:o="rounded",icon:s,iconRight:a,removable:n=!1,onRemove:c,className:f,children:d,...g},x){let v=xo[r],y=vo[t];return wo("span",{ref:x,className:b("inline-flex items-center font-medium whitespace-nowrap",v.padding,v.font,v.gap,yo[o],y.base,f),...g,children:[s&&le("span",{className:b("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:s}),d,a&&!n&&le("span",{className:b("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:a}),n&&le("button",{type:"button","aria-label":"Remove",onClick:c,className:b("shrink-0 flex items-center justify-center rounded-full transition-colors cursor-pointer -mr-0.5",v.iconSize,y.removeHover),children:le(ot,{className:"size-full",strokeWidth:2.5})})]})});ko.displayName="Badge";import*as ct from"react";import{jsx as X,jsxs as lt}from"react/jsx-runtime";var zo={xs:{containerSize:"size-10",iconSize:"size-5",titleFont:"text-xs",descFont:"text-[11px]",maxWidth:"max-w-2xs",padding:"py-5 px-3"},sm:{containerSize:"size-12",iconSize:"size-6",titleFont:"text-sm",descFont:"text-xs",maxWidth:"max-w-xs",padding:"py-8 px-4"},md:{containerSize:"size-16",iconSize:"size-7",titleFont:"text-base",descFont:"text-sm",maxWidth:"max-w-sm",padding:"py-12 px-6"},lg:{containerSize:"size-20",iconSize:"size-9",titleFont:"text-lg",descFont:"text-base",maxWidth:"max-w-md",padding:"py-16 px-8"},xl:{containerSize:"size-24",iconSize:"size-11",titleFont:"text-xl",descFont:"text-base",maxWidth:"max-w-lg",padding:"py-20 px-10"}},So=ct.forwardRef(function({icon:t,title:r,description:o,size:s="md",action:a,className:n,children:c,...f},d){let g=zo[s];return lt("div",{ref:d,className:b("flex flex-col items-center justify-center text-center gap-4",g.padding,n),...f,children:[X("div",{className:b("flex items-center justify-center rounded-full bg-zinc-100",g.containerSize),children:X("span",{className:b("text-zinc-400 [&>svg]:w-full [&>svg]:h-full",g.iconSize),children:t??X(rt,{className:"w-full h-full"})})}),(r||o)&&lt("div",{className:"flex flex-col gap-1.5",children:[r&&X("h3",{className:b("font-semibold text-zinc-900",g.titleFont),children:r}),o&&X("p",{className:b("text-zinc-500 leading-relaxed",g.descFont,g.maxWidth),children:o})]}),a&&X("div",{className:"mt-1",children:a}),c]})});So.displayName="Empty";import*as D from"react";import{jsx as U,jsxs as mt}from"react/jsx-runtime";var ve={xs:{padding:"px-1 py-px",font:"text-[10px]",minWidth:"min-w-4",gap:"gap-0.5"},sm:{padding:"px-1.5 py-0.5",font:"text-xs",minWidth:"min-w-5",gap:"gap-1"},md:{padding:"px-2 py-1",font:"text-sm",minWidth:"min-w-6",gap:"gap-1.5"},lg:{padding:"px-2.5 py-1",font:"text-base",minWidth:"min-w-7",gap:"gap-1.5"},xl:{padding:"px-3 py-1.5",font:"text-lg",minWidth:"min-w-8",gap:"gap-2"}},dt={square:"",rounded:"rounded-sm"},pt={default:"bg-zinc-100 border border-zinc-300",outline:"bg-transparent border border-zinc-300",ghost:"bg-zinc-50 border border-transparent"};function Ro({children:e,size:t,variant:r,shape:o,className:s}){let a=ve[t];return U("kbd",{className:b("inline-flex items-center justify-center font-mono font-medium text-zinc-700 leading-none",dt[o],a.padding,a.font,a.minWidth,pt[r],s),children:e})}var Ao=D.forwardRef(function({size:t="sm",variant:r="default",shape:o="rounded",keys:s,separator:a,className:n,children:c,...f},d){let g=ve[t];if(!s||s.length===0)return U("kbd",{ref:d,className:b("inline-flex items-center justify-center font-mono font-medium text-zinc-700 leading-none",dt[o],g.padding,g.font,g.minWidth,pt[r],n),...f,children:c});let x=a??U("span",{className:b("text-zinc-400 font-mono font-medium",g.font),children:"+"});return U("span",{ref:d,className:b("inline-flex items-center",g.gap,n),...f,children:s.map((v,y)=>mt(D.Fragment,{children:[U(Ro,{size:t,variant:r,shape:o,children:v}),y<s.length-1&&x]},y))})});Ao.displayName="Kbd";var Io=D.forwardRef(function({size:t="sm",separator:r,className:o,children:s,...a},n){let c=ve[t],f=D.Children.toArray(s).filter(Boolean),d=r??U("span",{className:b("text-zinc-400 font-mono font-medium",c.font),children:"+"});return U("span",{ref:n,className:b("inline-flex items-center",c.gap,o),...a,children:f.map((g,x)=>mt(D.Fragment,{children:[g,x<f.length-1&&d]},x))})});Io.displayName="KbdGroup";import*as ft from"react";import{jsx as No,jsxs as Co}from"react/jsx-runtime";var To={xs:"text-xs",sm:"text-sm",md:"text-base",lg:"text-lg",xl:"text-xl"},Mo=ft.forwardRef(function({size:t="sm",required:r=!1,disabled:o=!1,className:s,children:a,...n},c){return Co("label",{ref:c,className:b("font-medium text-zinc-700 leading-none",To[t],o?"opacity-50 cursor-not-allowed":"cursor-default",s),...n,children:[a,r&&No("span",{"aria-hidden":"true",className:"text-zinc-900 ms-0.5 font-semibold",children:"*"})]})});Mo.displayName="Label";import*as ut from"react";import{jsx as ee,jsxs as Po}from"react/jsx-runtime";var ce={solid:"border-solid",dashed:"border-dashed",dotted:"border-dotted"},Lo=ut.forwardRef(function({orientation:t="horizontal",variant:r="solid",label:o,decorative:s,className:a,...n},c){let f=s?{role:"none"}:{role:"separator","aria-orientation":t};return t==="vertical"?ee("div",{ref:c,...f,className:b("self-stretch w-px border-l border-zinc-200",ce[r],a),...n}):o?Po("div",{ref:c,...f,className:b("flex items-center gap-3",a),...n,children:[ee("div",{"aria-hidden":"true",className:b("flex-1 border-t border-zinc-200",ce[r])}),ee("span",{className:"text-xs text-zinc-500 font-medium shrink-0",children:o}),ee("div",{"aria-hidden":"true",className:b("flex-1 border-t border-zinc-200",ce[r])})]}):ee("div",{ref:c,...f,className:b("w-full border-t border-zinc-200",ce[r],a),...n})});Lo.displayName="Separator";import*as de from"react";var gt="eglador-skeleton-styles",Eo=`
2
+ import*as kt from"react";function et(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(o=et(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function tt(){for(var e,t,o=0,r="",s=arguments.length;o<s;o++)(e=arguments[o])&&(t=et(e))&&(r&&(r+=" "),r+=t);return r}var no=(e,t)=>{let o=new Array(e.length+t.length);for(let r=0;r<e.length;r++)o[r]=e[r];for(let r=0;r<t.length;r++)o[e.length+r]=t[r];return o},so=(e,t)=>({classGroupId:e,validator:t}),at=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o});var ot=[],io="arbitrary..",ao=e=>{let t=co(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:n=>{if(n.startsWith("[")&&n.endsWith("]"))return lo(n);let l=n.split("-"),a=l[0]===""&&l.length>1?1:0;return lt(l,a,t)},getConflictingClassGroupIds:(n,l)=>{if(l){let a=r[n],d=o[n];return a?d?no(d,a):a:d||ot}return o[n]||ot}}},lt=(e,t,o)=>{if(e.length-t===0)return o.classGroupId;let s=e[t],i=o.nextPart.get(s);if(i){let d=lt(e,t+1,i);if(d)return d}let n=o.validators;if(n===null)return;let l=t===0?e.join("-"):e.slice(t).join("-"),a=n.length;for(let d=0;d<a;d++){let p=n[d];if(p.validator(l))return p.classGroupId}},lo=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let t=e.slice(1,-1),o=t.indexOf(":"),r=t.slice(0,o);return r?io+r:void 0})(),co=e=>{let{theme:t,classGroups:o}=e;return po(o,t)},po=(e,t)=>{let o=at();for(let r in e){let s=e[r];Me(s,o,r,t)}return o},Me=(e,t,o,r)=>{let s=e.length;for(let i=0;i<s;i++){let n=e[i];uo(n,t,o,r)}},uo=(e,t,o,r)=>{if(typeof e=="string"){mo(e,t,o);return}if(typeof e=="function"){fo(e,t,o,r);return}go(e,t,o,r)},mo=(e,t,o)=>{let r=e===""?t:ct(t,e);r.classGroupId=o},fo=(e,t,o,r)=>{if(xo(e)){Me(e(r),t,o,r);return}t.validators===null&&(t.validators=[]),t.validators.push(so(o,e))},go=(e,t,o,r)=>{let s=Object.entries(e),i=s.length;for(let n=0;n<i;n++){let[l,a]=s[n];Me(a,ct(t,l),o,r)}},ct=(e,t)=>{let o=e,r=t.split("-"),s=r.length;for(let i=0;i<s;i++){let n=r[i],l=o.nextPart.get(n);l||(l=at(),o.nextPart.set(n,l)),o=l}return o},xo=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,bo=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),r=Object.create(null),s=(i,n)=>{o[i]=n,t++,t>e&&(t=0,r=o,o=Object.create(null))};return{get(i){let n=o[i];if(n!==void 0)return n;if((n=r[i])!==void 0)return s(i,n),n},set(i,n){i in o?o[i]=n:s(i,n)}}};var ho=[],rt=(e,t,o,r,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:r,isExternal:s}),vo=e=>{let{prefix:t,experimentalParseClassName:o}=e,r=s=>{let i=[],n=0,l=0,a=0,d,p=s.length;for(let w=0;w<p;w++){let S=s[w];if(n===0&&l===0){if(S===":"){i.push(s.slice(a,w)),a=w+1;continue}if(S==="/"){d=w;continue}}S==="["?n++:S==="]"?n--:S==="("?l++:S===")"&&l--}let f=i.length===0?s:s.slice(a),v=f,b=!1;f.endsWith("!")?(v=f.slice(0,-1),b=!0):f.startsWith("!")&&(v=f.slice(1),b=!0);let z=d&&d>a?d-a:void 0;return rt(i,b,v,z)};if(t){let s=t+":",i=r;r=n=>n.startsWith(s)?i(n.slice(s.length)):rt(ho,!1,n,void 0,!0)}if(o){let s=r;r=i=>o({className:i,parseClassName:s})}return r},zo=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((o,r)=>{t.set(o,1e6+r)}),o=>{let r=[],s=[];for(let i=0;i<o.length;i++){let n=o[i],l=n[0]==="[",a=t.has(n);l||a?(s.length>0&&(s.sort(),r.push(...s),s=[]),r.push(n)):s.push(n)}return s.length>0&&(s.sort(),r.push(...s)),r}},yo=e=>({cache:bo(e.cacheSize),parseClassName:vo(e),sortModifiers:zo(e),postfixLookupClassGroupIds:Ro(e),...ao(e)}),Ro=e=>{let t=Object.create(null),o=e.postfixLookupClassGroups;if(o)for(let r=0;r<o.length;r++)t[o[r]]=!0;return t},ko=/\s+/,wo=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:i,postfixLookupClassGroupIds:n}=t,l=[],a=e.trim().split(ko),d="";for(let p=a.length-1;p>=0;p-=1){let f=a[p],{isExternal:v,modifiers:b,hasImportantModifier:z,baseClassName:w,maybePostfixModifierPosition:S}=o(f);if(v){d=f+(d.length>0?" "+d:d);continue}let y=!!S,k;if(y){let C=w.substring(0,S);k=r(C);let x=k&&n[k]?r(w):void 0;x&&x!==k&&(k=x,y=!1)}else k=r(w);if(!k){if(!y){d=f+(d.length>0?" "+d:d);continue}if(k=r(w),!k){d=f+(d.length>0?" "+d:d);continue}y=!1}let I=b.length===0?"":b.length===1?b[0]:i(b).join(":"),G=z?I+"!":I,P=G+k;if(l.indexOf(P)>-1)continue;l.push(P);let O=s(k,y);for(let C=0;C<O.length;++C){let x=O[C];l.push(G+x)}d=f+(d.length>0?" "+d:d)}return d},So=(...e)=>{let t=0,o,r,s="";for(;t<e.length;)(o=e[t++])&&(r=dt(o))&&(s&&(s+=" "),s+=r);return s},dt=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=dt(e[r]))&&(o&&(o+=" "),o+=t);return o},Io=(e,...t)=>{let o,r,s,i,n=a=>{let d=t.reduce((p,f)=>f(p),e());return o=yo(d),r=o.cache.get,s=o.cache.set,i=l,l(a)},l=a=>{let d=r(a);if(d)return d;let p=wo(a,o);return s(a,p),p};return i=n,(...a)=>i(So(...a))},To=[],N=e=>{let t=o=>o[e]||To;return t.isThemeGetter=!0,t},pt=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,ut=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Co=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,No=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ao=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Lo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Mo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Eo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,j=e=>Co.test(e),R=e=>!!e&&!Number.isNaN(Number(e)),q=e=>!!e&&Number.isInteger(Number(e)),Le=e=>e.endsWith("%")&&R(e.slice(0,-1)),K=e=>No.test(e),mt=()=>!0,Go=e=>Ao.test(e)&&!Lo.test(e),Ee=()=>!1,Po=e=>Mo.test(e),Ho=e=>Eo.test(e),Bo=e=>!u(e)&&!m(e),Vo=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),Oo=e=>Z(e,xt,Ee),u=e=>pt.test(e),J=e=>Z(e,bt,Go),nt=e=>Z(e,jo,R),Fo=e=>Z(e,vt,mt),Wo=e=>Z(e,ht,Ee),st=e=>Z(e,ft,Ee),_o=e=>Z(e,gt,Ho),he=e=>Z(e,zt,Po),m=e=>ut.test(e),de=e=>Q(e,bt),Do=e=>Q(e,ht),it=e=>Q(e,ft),qo=e=>Q(e,xt),Ko=e=>Q(e,gt),ve=e=>Q(e,zt,!0),Uo=e=>Q(e,vt,!0),Z=(e,t,o)=>{let r=pt.exec(e);return r?r[1]?t(r[1]):o(r[2]):!1},Q=(e,t,o=!1)=>{let r=ut.exec(e);return r?r[1]?t(r[1]):o:!1},ft=e=>e==="position"||e==="percentage",gt=e=>e==="image"||e==="url",xt=e=>e==="length"||e==="size"||e==="bg-size",bt=e=>e==="length",jo=e=>e==="number",ht=e=>e==="family-name",vt=e=>e==="number"||e==="weight",zt=e=>e==="shadow";var Zo=()=>{let e=N("color"),t=N("font"),o=N("text"),r=N("font-weight"),s=N("tracking"),i=N("leading"),n=N("breakpoint"),l=N("container"),a=N("spacing"),d=N("radius"),p=N("shadow"),f=N("inset-shadow"),v=N("text-shadow"),b=N("drop-shadow"),z=N("blur"),w=N("perspective"),S=N("aspect"),y=N("ease"),k=N("animate"),I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],P=()=>[...G(),m,u],O=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],x=()=>[m,u,a],F=()=>[j,"full","auto",...x()],Ue=()=>[q,"none","subgrid",m,u],je=()=>["auto",{span:["full",q,m,u]},q,m,u],me=()=>[q,"auto",m,u],Ze=()=>["auto","min","max","fr",m,u],Ie=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],se=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...x()],Y=()=>[j,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],Te=()=>[j,"screen","full","dvw","lvw","svw","min","max","fit",...x()],Ce=()=>[j,"screen","full","lh","dvh","lvh","svh","min","max","fit",...x()],h=()=>[e,m,u],$e=()=>[...G(),it,st,{position:[m,u]}],Xe=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Ye=()=>["auto","cover","contain",qo,Oo,{size:[m,u]}],Ne=()=>[Le,de,J],H=()=>["","none","full",d,m,u],B=()=>["",R,de,J],fe=()=>["solid","dashed","dotted","double"],Je=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>[R,Le,it,st],Qe=()=>["","none",z,m,u],ge=()=>["none",R,m,u],xe=()=>["none",R,m,u],Ae=()=>[R,m,u],be=()=>[j,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[K],breakpoint:[K],color:[mt],container:[K],"drop-shadow":[K],ease:["in","out","in-out"],font:[Bo],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[K],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[K],shadow:[K],spacing:["px",R],text:[K],"text-shadow":[K],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",j,u,m,S]}],container:["container"],"container-type":[{"@container":["","normal","size",m,u]}],"container-named":[Vo],columns:[{columns:[R,u,m,l]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:P()}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:F()}],"inset-x":[{"inset-x":F()}],"inset-y":[{"inset-y":F()}],start:[{"inset-s":F(),start:F()}],end:[{"inset-e":F(),end:F()}],"inset-bs":[{"inset-bs":F()}],"inset-be":[{"inset-be":F()}],top:[{top:F()}],right:[{right:F()}],bottom:[{bottom:F()}],left:[{left:F()}],visibility:["visible","invisible","collapse"],z:[{z:[q,"auto",m,u]}],basis:[{basis:[j,"full","auto",l,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[R,j,"auto","initial","none",u]}],grow:[{grow:["",R,m,u]}],shrink:[{shrink:["",R,m,u]}],order:[{order:[q,"first","last","none",m,u]}],"grid-cols":[{"grid-cols":Ue()}],"col-start-end":[{col:je()}],"col-start":[{"col-start":me()}],"col-end":[{"col-end":me()}],"grid-rows":[{"grid-rows":Ue()}],"row-start-end":[{row:je()}],"row-start":[{"row-start":me()}],"row-end":[{"row-end":me()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ze()}],"auto-rows":[{"auto-rows":Ze()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:[...Ie(),"normal"]}],"justify-items":[{"justify-items":[...se(),"normal"]}],"justify-self":[{"justify-self":["auto",...se()]}],"align-content":[{content:["normal",...Ie()]}],"align-items":[{items:[...se(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...se(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ie()}],"place-items":[{"place-items":[...se(),"baseline"]}],"place-self":[{"place-self":["auto",...se()]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pbs:[{pbs:x()}],pbe:[{pbe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mbs:[{mbs:D()}],mbe:[{mbe:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:Y()}],"inline-size":[{inline:["auto",...Te()]}],"min-inline-size":[{"min-inline":["auto",...Te()]}],"max-inline-size":[{"max-inline":["none",...Te()]}],"block-size":[{block:["auto",...Ce()]}],"min-block-size":[{"min-block":["auto",...Ce()]}],"max-block-size":[{"max-block":["none",...Ce()]}],w:[{w:[l,"screen",...Y()]}],"min-w":[{"min-w":[l,"screen","none",...Y()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[n]},...Y()]}],h:[{h:["screen","lh",...Y()]}],"min-h":[{"min-h":["screen","lh","none",...Y()]}],"max-h":[{"max-h":["screen","lh",...Y()]}],"font-size":[{text:["base",o,de,J]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Uo,Fo]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Le,u]}],"font-family":[{font:[Do,Wo,t]}],"font-features":[{"font-features":[u]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,m,u]}],"line-clamp":[{"line-clamp":[R,"none",m,nt]}],leading:[{leading:[i,...x()]}],"list-image":[{"list-image":["none",m,u]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",m,u]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:h()}],"text-color":[{text:h()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...fe(),"wavy"]}],"text-decoration-thickness":[{decoration:[R,"from-font","auto",m,J]}],"text-decoration-color":[{decoration:h()}],"underline-offset":[{"underline-offset":[R,"auto",m,u]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"tab-size":[{tab:[q,m,u]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",m,u]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",m,u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:$e()}],"bg-repeat":[{bg:Xe()}],"bg-size":[{bg:Ye()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},q,m,u],radial:["",m,u],conic:[q,m,u]},Ko,_o]}],"bg-color":[{bg:h()}],"gradient-from-pos":[{from:Ne()}],"gradient-via-pos":[{via:Ne()}],"gradient-to-pos":[{to:Ne()}],"gradient-from":[{from:h()}],"gradient-via":[{via:h()}],"gradient-to":[{to:h()}],rounded:[{rounded:H()}],"rounded-s":[{"rounded-s":H()}],"rounded-e":[{"rounded-e":H()}],"rounded-t":[{"rounded-t":H()}],"rounded-r":[{"rounded-r":H()}],"rounded-b":[{"rounded-b":H()}],"rounded-l":[{"rounded-l":H()}],"rounded-ss":[{"rounded-ss":H()}],"rounded-se":[{"rounded-se":H()}],"rounded-ee":[{"rounded-ee":H()}],"rounded-es":[{"rounded-es":H()}],"rounded-tl":[{"rounded-tl":H()}],"rounded-tr":[{"rounded-tr":H()}],"rounded-br":[{"rounded-br":H()}],"rounded-bl":[{"rounded-bl":H()}],"border-w":[{border:B()}],"border-w-x":[{"border-x":B()}],"border-w-y":[{"border-y":B()}],"border-w-s":[{"border-s":B()}],"border-w-e":[{"border-e":B()}],"border-w-bs":[{"border-bs":B()}],"border-w-be":[{"border-be":B()}],"border-w-t":[{"border-t":B()}],"border-w-r":[{"border-r":B()}],"border-w-b":[{"border-b":B()}],"border-w-l":[{"border-l":B()}],"divide-x":[{"divide-x":B()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":B()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...fe(),"hidden","none"]}],"divide-style":[{divide:[...fe(),"hidden","none"]}],"border-color":[{border:h()}],"border-color-x":[{"border-x":h()}],"border-color-y":[{"border-y":h()}],"border-color-s":[{"border-s":h()}],"border-color-e":[{"border-e":h()}],"border-color-bs":[{"border-bs":h()}],"border-color-be":[{"border-be":h()}],"border-color-t":[{"border-t":h()}],"border-color-r":[{"border-r":h()}],"border-color-b":[{"border-b":h()}],"border-color-l":[{"border-l":h()}],"divide-color":[{divide:h()}],"outline-style":[{outline:[...fe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[R,m,u]}],"outline-w":[{outline:["",R,de,J]}],"outline-color":[{outline:h()}],shadow:[{shadow:["","none",p,ve,he]}],"shadow-color":[{shadow:h()}],"inset-shadow":[{"inset-shadow":["none",f,ve,he]}],"inset-shadow-color":[{"inset-shadow":h()}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:h()}],"ring-offset-w":[{"ring-offset":[R,J]}],"ring-offset-color":[{"ring-offset":h()}],"inset-ring-w":[{"inset-ring":B()}],"inset-ring-color":[{"inset-ring":h()}],"text-shadow":[{"text-shadow":["none",v,ve,he]}],"text-shadow-color":[{"text-shadow":h()}],opacity:[{opacity:[R,m,u]}],"mix-blend":[{"mix-blend":[...Je(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Je()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[R]}],"mask-image-linear-from-pos":[{"mask-linear-from":A()}],"mask-image-linear-to-pos":[{"mask-linear-to":A()}],"mask-image-linear-from-color":[{"mask-linear-from":h()}],"mask-image-linear-to-color":[{"mask-linear-to":h()}],"mask-image-t-from-pos":[{"mask-t-from":A()}],"mask-image-t-to-pos":[{"mask-t-to":A()}],"mask-image-t-from-color":[{"mask-t-from":h()}],"mask-image-t-to-color":[{"mask-t-to":h()}],"mask-image-r-from-pos":[{"mask-r-from":A()}],"mask-image-r-to-pos":[{"mask-r-to":A()}],"mask-image-r-from-color":[{"mask-r-from":h()}],"mask-image-r-to-color":[{"mask-r-to":h()}],"mask-image-b-from-pos":[{"mask-b-from":A()}],"mask-image-b-to-pos":[{"mask-b-to":A()}],"mask-image-b-from-color":[{"mask-b-from":h()}],"mask-image-b-to-color":[{"mask-b-to":h()}],"mask-image-l-from-pos":[{"mask-l-from":A()}],"mask-image-l-to-pos":[{"mask-l-to":A()}],"mask-image-l-from-color":[{"mask-l-from":h()}],"mask-image-l-to-color":[{"mask-l-to":h()}],"mask-image-x-from-pos":[{"mask-x-from":A()}],"mask-image-x-to-pos":[{"mask-x-to":A()}],"mask-image-x-from-color":[{"mask-x-from":h()}],"mask-image-x-to-color":[{"mask-x-to":h()}],"mask-image-y-from-pos":[{"mask-y-from":A()}],"mask-image-y-to-pos":[{"mask-y-to":A()}],"mask-image-y-from-color":[{"mask-y-from":h()}],"mask-image-y-to-color":[{"mask-y-to":h()}],"mask-image-radial":[{"mask-radial":[m,u]}],"mask-image-radial-from-pos":[{"mask-radial-from":A()}],"mask-image-radial-to-pos":[{"mask-radial-to":A()}],"mask-image-radial-from-color":[{"mask-radial-from":h()}],"mask-image-radial-to-color":[{"mask-radial-to":h()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":G()}],"mask-image-conic-pos":[{"mask-conic":[R]}],"mask-image-conic-from-pos":[{"mask-conic-from":A()}],"mask-image-conic-to-pos":[{"mask-conic-to":A()}],"mask-image-conic-from-color":[{"mask-conic-from":h()}],"mask-image-conic-to-color":[{"mask-conic-to":h()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:$e()}],"mask-repeat":[{mask:Xe()}],"mask-size":[{mask:Ye()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",m,u]}],filter:[{filter:["","none",m,u]}],blur:[{blur:Qe()}],brightness:[{brightness:[R,m,u]}],contrast:[{contrast:[R,m,u]}],"drop-shadow":[{"drop-shadow":["","none",b,ve,he]}],"drop-shadow-color":[{"drop-shadow":h()}],grayscale:[{grayscale:["",R,m,u]}],"hue-rotate":[{"hue-rotate":[R,m,u]}],invert:[{invert:["",R,m,u]}],saturate:[{saturate:[R,m,u]}],sepia:[{sepia:["",R,m,u]}],"backdrop-filter":[{"backdrop-filter":["","none",m,u]}],"backdrop-blur":[{"backdrop-blur":Qe()}],"backdrop-brightness":[{"backdrop-brightness":[R,m,u]}],"backdrop-contrast":[{"backdrop-contrast":[R,m,u]}],"backdrop-grayscale":[{"backdrop-grayscale":["",R,m,u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[R,m,u]}],"backdrop-invert":[{"backdrop-invert":["",R,m,u]}],"backdrop-opacity":[{"backdrop-opacity":[R,m,u]}],"backdrop-saturate":[{"backdrop-saturate":[R,m,u]}],"backdrop-sepia":[{"backdrop-sepia":["",R,m,u]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",m,u]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[R,"initial",m,u]}],ease:[{ease:["linear","initial",y,m,u]}],delay:[{delay:[R,m,u]}],animate:[{animate:["none",k,m,u]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,m,u]}],"perspective-origin":[{"perspective-origin":P()}],rotate:[{rotate:ge()}],"rotate-x":[{"rotate-x":ge()}],"rotate-y":[{"rotate-y":ge()}],"rotate-z":[{"rotate-z":ge()}],scale:[{scale:xe()}],"scale-x":[{"scale-x":xe()}],"scale-y":[{"scale-y":xe()}],"scale-z":[{"scale-z":xe()}],"scale-3d":["scale-3d"],skew:[{skew:Ae()}],"skew-x":[{"skew-x":Ae()}],"skew-y":[{"skew-y":Ae()}],transform:[{transform:[m,u,"","none","gpu","cpu"]}],"transform-origin":[{origin:P()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:be()}],"translate-x":[{"translate-x":be()}],"translate-y":[{"translate-y":be()}],"translate-z":[{"translate-z":be()}],"translate-none":["translate-none"],zoom:[{zoom:[q,m,u]}],accent:[{accent:h()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:h()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",m,u]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":h()}],"scrollbar-track-color":[{"scrollbar-track":h()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mbs":[{"scroll-mbs":x()}],"scroll-mbe":[{"scroll-mbe":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pbs":[{"scroll-pbs":x()}],"scroll-pbe":[{"scroll-pbe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",m,u]}],fill:[{fill:["none",...h()]}],"stroke-w":[{stroke:[R,de,J,nt]}],stroke:[{stroke:["none",...h()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var yt=Io(Zo);function c(...e){return yt(tt(e))}import{jsx as Xo}from"react/jsx-runtime";var Rt={"1:1":"aspect-square","16:9":"aspect-video","4:3":"aspect-[4/3]","21:9":"aspect-[21/9]","3:2":"aspect-[3/2]","2:3":"aspect-[2/3]","9:16":"aspect-[9/16]"},$o=kt.forwardRef(function({ratio:t="16:9",className:o,style:r,children:s,...i},n){let l=typeof t=="string"&&t in Rt;return Xo("div",{ref:n,className:c("relative overflow-hidden",l&&Rt[t],o),style:!l&&typeof t=="number"?{aspectRatio:t,...r}:r,...i,children:s})});$o.displayName="AspectRatio";import*as W from"react";import*as wt from"react";import{Fragment as L,jsx as g,jsxs as M}from"react/jsx-runtime";function T(e,t,o,r="none"){let s=wt.memo(({className:i,strokeWidth:n=t})=>g("svg",{className:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:r,stroke:"currentColor",strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round",children:o}));return s.displayName=e,s}var Rn=T("ChevronDownIcon",2,g("path",{d:"m6 9 6 6 6-6"})),kn=T("ChevronUpIcon",2,g("path",{d:"m18 15-6-6-6 6"})),wn=T("ChevronLeftIcon",2,g("path",{d:"m15 18-6-6 6-6"})),Sn=T("ChevronRightIcon",2,g("path",{d:"m9 18 6-6-6-6"})),In=T("ChevronsLeftIcon",2,M(L,{children:[g("path",{d:"m11 17-5-5 5-5"}),g("path",{d:"m18 17-5-5 5-5"})]})),Tn=T("ChevronsRightIcon",2,M(L,{children:[g("path",{d:"m6 17 5-5-5-5"}),g("path",{d:"m13 17 5-5-5-5"})]})),Cn=T("ChevronsUpDownIcon",2,M(L,{children:[g("path",{d:"m7 15 5 5 5-5"}),g("path",{d:"m7 9 5-5 5 5"})]})),St=T("XIcon",2,M(L,{children:[g("path",{d:"M18 6 6 18"}),g("path",{d:"m6 6 12 12"})]})),It=T("CheckIcon",2.5,g("path",{d:"M20 6 9 17l-5-5"})),Tt=T("MinusIcon",2.5,g("path",{d:"M5 12h14"})),Nn=T("PlusIcon",2,M(L,{children:[g("path",{d:"M5 12h14"}),g("path",{d:"M12 5v14"})]})),An=T("SearchIcon",2,M(L,{children:[g("circle",{cx:"11",cy:"11",r:"8"}),g("path",{d:"m21 21-4.3-4.3"})]})),Ct=T("ExternalLinkIcon",2,M(L,{children:[g("path",{d:"M15 3h6v6"}),g("path",{d:"M10 14 21 3"}),g("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"})]})),Ln=T("EllipsisIcon",2,M(L,{children:[g("circle",{cx:"12",cy:"12",r:"1"}),g("circle",{cx:"19",cy:"12",r:"1"}),g("circle",{cx:"5",cy:"12",r:"1"})]}),"currentColor"),Mn=T("DotIcon",2,g("circle",{cx:"12",cy:"12",r:"5"}),"currentColor"),En=T("GripVerticalIcon",2,M(L,{children:[g("circle",{cx:"9",cy:"5",r:"1"}),g("circle",{cx:"9",cy:"12",r:"1"}),g("circle",{cx:"9",cy:"19",r:"1"}),g("circle",{cx:"15",cy:"5",r:"1"}),g("circle",{cx:"15",cy:"12",r:"1"}),g("circle",{cx:"15",cy:"19",r:"1"})]}),"currentColor"),Gn=T("GripHorizontalIcon",2,M(L,{children:[g("circle",{cx:"5",cy:"9",r:"1"}),g("circle",{cx:"12",cy:"9",r:"1"}),g("circle",{cx:"19",cy:"9",r:"1"}),g("circle",{cx:"5",cy:"15",r:"1"}),g("circle",{cx:"12",cy:"15",r:"1"}),g("circle",{cx:"19",cy:"15",r:"1"})]}),"currentColor"),Nt=T("InboxIcon",1,M(L,{children:[g("polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12"}),g("path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"})]})),Pn=T("InfoIcon",2,M(L,{children:[g("circle",{cx:"12",cy:"12",r:"10"}),g("path",{d:"M12 16v-4"}),g("path",{d:"M12 8h.01"})]})),Hn=T("WarningIcon",2,M(L,{children:[g("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),g("path",{d:"M12 9v4"}),g("path",{d:"M12 17h.01"})]})),Bn=T("ErrorIcon",2,M(L,{children:[g("circle",{cx:"12",cy:"12",r:"10"}),g("path",{d:"m15 9-6 6"}),g("path",{d:"m9 9 6 6"})]})),Vn=T("SuccessIcon",2,M(L,{children:[g("circle",{cx:"12",cy:"12",r:"10"}),g("path",{d:"m9 12 2 2 4-4"})]})),On=T("CalendarIcon",2,M(L,{children:[g("path",{d:"M8 2v4"}),g("path",{d:"M16 2v4"}),g("rect",{width:"18",height:"18",x:"3",y:"4",rx:"2"}),g("path",{d:"M3 10h18"})]})),At=T("UserIcon",2,M(L,{children:[g("circle",{cx:"12",cy:"8",r:"5"}),g("path",{d:"M20 21a8 8 0 0 0-16 0"})]}));import{jsx as ee,jsxs as Lt}from"react/jsx-runtime";var Mt={xs:{container:"size-6",font:"text-[10px]",iconSize:"size-3"},sm:{container:"size-8",font:"text-xs",iconSize:"size-3.5"},md:{container:"size-10",font:"text-sm",iconSize:"size-4"},lg:{container:"size-12",font:"text-base",iconSize:"size-5"},xl:{container:"size-16",font:"text-lg",iconSize:"size-6"}},Yo={circle:"rounded-full",rounded:"rounded-sm",square:""};function Jo(e){let t=e.trim().split(/\s+/);return t.length>=2?(t[0][0]+t[t.length-1][0]).toUpperCase():e.slice(0,2).toUpperCase()}var Qo=W.forwardRef(function({src:t,alt:o,name:r,size:s="md",shape:i="circle",icon:n,className:l,...a},d){let[p,f]=W.useState(!1),v=Mt[s],b=t&&!p,z=r?Jo(r):null;return W.useEffect(()=>{f(!1)},[t]),ee("div",{ref:d,className:c("relative inline-flex shrink-0",l),...a,children:ee("div",{className:c("flex items-center justify-center overflow-hidden font-semibold",v.container,Yo[i],!b&&"bg-zinc-200 text-zinc-600"),children:b?ee("img",{src:t,alt:o||r||"Avatar",className:"w-full h-full object-cover",onError:()=>f(!0)}):n?ee("span",{className:c("flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:n}):z?ee("span",{className:v.font,children:z}):ee(At,{className:v.iconSize})})})});Qo.displayName="Avatar";var er=W.forwardRef(function({max:t,size:o="md",className:r,children:s,...i},n){let l=W.Children.toArray(s).filter(W.isValidElement),a=t?l.slice(0,t):l,d=t?l.length-t:0,p=Mt[o];return Lt("div",{ref:n,className:c("flex -space-x-2",r),...i,children:[a.map((f,v)=>ee("div",{className:"ring-2 ring-white rounded-full",children:W.cloneElement(f,{size:o})},v)),d>0&&Lt("div",{className:c("flex items-center justify-center rounded-full ring-2 ring-white bg-zinc-200 text-zinc-600 font-semibold",p.container,p.font),children:["+",d]})]})});er.displayName="AvatarGroup";import*as Et from"react";import{jsx as ze,jsxs as sr}from"react/jsx-runtime";var tr={xs:{padding:"px-1.5 py-0.5",font:"text-[10px]",iconSize:"size-2.5",gap:"gap-0.5"},sm:{padding:"px-2 py-0.5",font:"text-xs",iconSize:"size-3",gap:"gap-1"},md:{padding:"px-2.5 py-1",font:"text-sm",iconSize:"size-3.5",gap:"gap-1"},lg:{padding:"px-3 py-1.5",font:"text-base",iconSize:"size-4",gap:"gap-1.5"},xl:{padding:"px-4 py-2",font:"text-lg",iconSize:"size-5",gap:"gap-2"}},or={square:"",rounded:"rounded-sm",pill:"rounded-full"},rr={solid:{base:"bg-zinc-900 text-white border border-zinc-900",removeHover:"hover:bg-zinc-700"},soft:{base:"bg-zinc-100 text-zinc-700 border border-zinc-200",removeHover:"hover:bg-zinc-200 hover:text-zinc-900"},outline:{base:"bg-transparent text-zinc-700 border border-zinc-300",removeHover:"hover:bg-zinc-100 hover:text-zinc-900"}},nr=Et.forwardRef(function({variant:t="soft",size:o="sm",shape:r="rounded",icon:s,iconRight:i,removable:n=!1,onRemove:l,className:a,children:d,...p},f){let v=tr[o],b=rr[t];return sr("span",{ref:f,className:c("inline-flex items-center font-medium whitespace-nowrap",v.padding,v.font,v.gap,or[r],b.base,a),...p,children:[s&&ze("span",{className:c("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:s}),d,i&&!n&&ze("span",{className:c("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:i}),n&&ze("button",{type:"button","aria-label":"Remove",onClick:l,className:c("shrink-0 flex items-center justify-center rounded-full transition-colors cursor-pointer -mr-0.5",v.iconSize,b.removeHover),children:ze(St,{className:"size-full",strokeWidth:2.5})})]})});nr.displayName="Badge";import*as Gt from"react";import{jsx as pe,jsxs as Ot}from"react/jsx-runtime";var Pt={xs:{height:"h-7",square:"w-7",padding:"px-2",gap:"gap-1",font:"text-xs",iconSize:"size-3"},sm:{height:"h-8",square:"w-8",padding:"px-2.5",gap:"gap-1.5",font:"text-sm",iconSize:"size-3.5"},md:{height:"h-9",square:"w-9",padding:"px-3",gap:"gap-1.5",font:"text-sm",iconSize:"size-4"},lg:{height:"h-10",square:"w-10",padding:"px-4",gap:"gap-2",font:"text-base",iconSize:"size-4"},xl:{height:"h-12",square:"w-12",padding:"px-5",gap:"gap-2",font:"text-lg",iconSize:"size-5"}},Ht={square:"",rounded:"rounded-sm",circle:"rounded-full"},Bt={solid:{base:"bg-zinc-900 text-white hover:bg-zinc-700 border border-zinc-900",active:"bg-zinc-700"},soft:{base:"bg-zinc-100 text-zinc-900 hover:bg-zinc-200 border border-zinc-200",active:"bg-zinc-200"},outline:{base:"bg-white text-zinc-700 hover:bg-zinc-50 border border-zinc-300",active:"bg-zinc-100"},ghost:{base:"bg-transparent text-zinc-700 hover:bg-zinc-100 border border-transparent",active:"bg-zinc-100"},link:{base:"bg-transparent text-zinc-900 hover:underline underline-offset-4 border-0",active:"underline"}},Vt="inline-flex items-center justify-center font-medium transition-colors cursor-pointer select-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-900 focus-visible:ring-offset-1 disabled:opacity-50 disabled:pointer-events-none";function Yn({variant:e="solid",size:t="md",shape:o="rounded"}={}){let r=Pt[t],s=Bt[e],i=e==="link";return c(Vt,r.font,r.gap,!i&&Ht[o],!i&&r.height,!i&&r.padding,s.base)}function ir({className:e}){return Ot("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:c("animate-spin",e),children:[pe("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3",className:"opacity-25"}),pe("path",{d:"M12 2a10 10 0 0 1 10 10",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round"})]})}var ar=Gt.forwardRef(function({variant:t="solid",size:o="md",shape:r="rounded",icon:s,iconRight:i,loading:n=!1,active:l=!1,disabled:a=!1,className:d,children:p,type:f="button",...v},b){let z=Pt[o],w=Bt[t],S=t==="link",y=!S&&!p&&(!!s||n);return Ot("button",{ref:b,type:f,disabled:a||n,"data-active":l||void 0,className:c(Vt,z.font,z.gap,!S&&Ht[r],!S&&z.height,!S&&(y?z.square:z.padding),w.base,l&&w.active,d),...v,children:[n?pe(ir,{className:z.iconSize}):s?pe("span",{className:c("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",z.iconSize),children:s}):null,p,i&&!n&&pe("span",{className:c("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",z.iconSize),children:i})]})});ar.displayName="Button";import*as $ from"react";import{jsx as ye}from"react/jsx-runtime";var Ft=$.createContext("horizontal"),lr="[&>*:not(:first-child):not(:last-child)]:rounded-none [&>*:first-child:not(:last-child)]:rounded-e-none [&>*:last-child:not(:first-child)]:rounded-s-none [&>*:not(:first-child)]:-ms-px [&>*:focus-visible]:z-10 [&>*:focus-visible]:relative",cr="[&>*:not(:first-child):not(:last-child)]:rounded-none [&>*:first-child:not(:last-child)]:rounded-b-none [&>*:last-child:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:-mt-px [&>*:focus-visible]:z-10 [&>*:focus-visible]:relative",dr=$.forwardRef(function({orientation:t="horizontal",className:o,children:r,...s},i){return ye(Ft.Provider,{value:t,children:ye("div",{ref:i,role:"group","data-orientation":t,className:c("inline-flex isolate",t==="horizontal"?"flex-row":"flex-col",t==="horizontal"?lr:cr,o),...s,children:r})})});dr.displayName="ButtonGroup";var pr=$.forwardRef(function({orientation:t,className:o,...r},s){let i=$.useContext(Ft),n=t??(i==="horizontal"?"vertical":"horizontal");return ye("div",{ref:s,role:"separator","aria-orientation":n,"data-orientation":n,className:c("bg-zinc-300 shrink-0 self-stretch z-[1] relative",n==="vertical"?"w-px":"h-px",o),...r})});pr.displayName="ButtonGroupSeparator";var ur={xs:{height:"h-7",padding:"px-2",font:"text-xs"},sm:{height:"h-8",padding:"px-2.5",font:"text-sm"},md:{height:"h-9",padding:"px-3",font:"text-sm"},lg:{height:"h-10",padding:"px-4",font:"text-base"},xl:{height:"h-12",padding:"px-5",font:"text-lg"}},mr=$.forwardRef(function({size:t="md",className:o,...r},s){let i=ur[t];return ye("div",{ref:s,className:c("inline-flex items-center font-medium text-zinc-700","bg-zinc-50 border border-zinc-200 rounded-sm select-none",i.height,i.padding,i.font,o),...r})});mr.displayName="ButtonGroupText";import*as _ from"react";import{jsx as Re,jsxs as gr}from"react/jsx-runtime";var fr={xs:{box:"size-3.5",icon:"size-3",stroke:3},sm:{box:"size-4",icon:"size-3",stroke:3},md:{box:"size-5",icon:"size-3.5",stroke:2.5},lg:{box:"size-6",icon:"size-4",stroke:2.5},xl:{box:"size-7",icon:"size-5",stroke:2}},Ge=_.forwardRef(function({size:t="md",checked:o,defaultChecked:r=!1,indeterminate:s=!1,onCheckedChange:i,onChange:n,disabled:l=!1,className:a,id:d,...p},f){let v=_.useId(),b=d??v,z=o!==void 0,[w,S]=_.useState(r),y=z?o:w,k=fr[t],I=_.useRef(null);_.useEffect(()=>{I.current&&(I.current.indeterminate=!!s)},[s]);let G=_.useCallback(C=>{I.current=C,typeof f=="function"?f(C):f&&(f.current=C)},[f]),P=C=>{z||S(C.target.checked),n?.(C),i?.(C.target.checked)},O=y||s;return gr("span",{className:c("relative inline-flex shrink-0 items-center justify-center",l&&"opacity-50 cursor-not-allowed",a),children:[Re("input",{ref:G,id:b,type:"checkbox","data-slot":"checkbox","data-indeterminate":s||void 0,checked:y,onChange:P,disabled:l,className:"peer sr-only",...p}),Re("span",{"aria-hidden":"true",className:c("inline-flex items-center justify-center rounded-sm transition-colors border",l?"cursor-not-allowed":"cursor-pointer",O?"bg-zinc-900 border-zinc-900 text-white":"bg-white border-zinc-300 peer-hover:border-zinc-400","peer-focus-visible:ring-2 peer-focus-visible:ring-zinc-900 peer-focus-visible:ring-offset-1","peer-aria-invalid:border-zinc-900 peer-aria-invalid:ring-2 peer-aria-invalid:ring-zinc-200",k.box),children:s?Re(Tt,{className:k.icon,strokeWidth:k.stroke}):y?Re(It,{className:k.icon,strokeWidth:k.stroke}):null})]})});Ge.displayName="Checkbox";import*as V from"react";import{jsx as te,jsxs as Pe}from"react/jsx-runtime";var Wt=V.createContext(null),xr=V.forwardRef(function({value:t,defaultValue:o=[],onValueChange:r,orientation:s="vertical",size:i="md",disabled:n=!1,name:l,invalid:a,legend:d,description:p,className:f,children:v,...b},z){let w=t!==void 0,[S,y]=V.useState(o),k=w?t:S,I=V.useCallback(P=>{let O=k.includes(P)?k.filter(C=>C!==P):[...k,P];w||y(O),r?.(O)},[k,w,r]),G=V.useMemo(()=>({value:k,toggle:I,size:i,disabled:n,name:l,invalid:a}),[k,I,i,n,l,a]);return te(Wt.Provider,{value:G,children:Pe("fieldset",{ref:z,"data-slot":"checkbox-group","data-orientation":s,"aria-invalid":a||void 0,disabled:n,className:c("flex flex-col gap-2 min-w-0",f),...b,children:[d&&te("legend",{className:"text-sm font-medium text-zinc-700 mb-1",children:d}),p&&te("p",{className:"text-xs text-zinc-500 -mt-1 mb-1",children:p}),te("div",{className:c("flex",s==="vertical"?"flex-col gap-2":"flex-row gap-4 flex-wrap"),children:v})]})})});xr.displayName="CheckboxGroup";var br=V.forwardRef(function({value:t,label:o,description:r,disabled:s,className:i,...n},l){let a=V.useContext(Wt);if(!a)throw new Error("CheckboxGroupItem must be rendered inside <CheckboxGroup>.");let d=V.useId(),p=a.value.includes(t),f=a.disabled||!!s;return Pe("label",{ref:l,htmlFor:d,className:c("inline-flex items-start gap-2.5 select-none",f?"cursor-not-allowed opacity-50":"cursor-pointer",i),...n,children:[te(Ge,{id:d,value:t,name:a.name,size:a.size,disabled:f,checked:p,onCheckedChange:()=>a.toggle(t),"aria-invalid":a.invalid||void 0,className:"mt-0.5"}),(o||r)&&Pe("div",{className:"flex flex-col gap-0.5 min-w-0",children:[o&&te("span",{className:"text-sm font-medium text-zinc-700",children:o}),r&&te("span",{className:"text-xs text-zinc-500",children:r})]})]})});br.displayName="CheckboxGroupItem";import*as Dt from"react";import{jsx as ie,jsxs as _t}from"react/jsx-runtime";var hr={xs:{containerSize:"size-10",iconSize:"size-5",titleFont:"text-xs",descFont:"text-[11px]",maxWidth:"max-w-2xs",padding:"py-5 px-3"},sm:{containerSize:"size-12",iconSize:"size-6",titleFont:"text-sm",descFont:"text-xs",maxWidth:"max-w-xs",padding:"py-8 px-4"},md:{containerSize:"size-16",iconSize:"size-7",titleFont:"text-base",descFont:"text-sm",maxWidth:"max-w-sm",padding:"py-12 px-6"},lg:{containerSize:"size-20",iconSize:"size-9",titleFont:"text-lg",descFont:"text-base",maxWidth:"max-w-md",padding:"py-16 px-8"},xl:{containerSize:"size-24",iconSize:"size-11",titleFont:"text-xl",descFont:"text-base",maxWidth:"max-w-lg",padding:"py-20 px-10"}},vr=Dt.forwardRef(function({icon:t,title:o,description:r,size:s="md",action:i,className:n,children:l,...a},d){let p=hr[s];return _t("div",{ref:d,className:c("flex flex-col items-center justify-center text-center gap-4",p.padding,n),...a,children:[ie("div",{className:c("flex items-center justify-center rounded-full bg-zinc-100",p.containerSize),children:ie("span",{className:c("text-zinc-400 [&>svg]:w-full [&>svg]:h-full",p.iconSize),children:t??ie(Nt,{className:"w-full h-full"})})}),(o||r)&&_t("div",{className:"flex flex-col gap-1.5",children:[o&&ie("h3",{className:c("font-semibold text-zinc-900",p.titleFont),children:o}),r&&ie("p",{className:c("text-zinc-500 leading-relaxed",p.descFont,p.maxWidth),children:r})]}),i&&ie("div",{className:"mt-1",children:i}),l]})});vr.displayName="Empty";import*as qt from"react";import{jsx as kr}from"react/jsx-runtime";var zr={xs:{height:"h-7",padding:"px-2",font:"text-xs"},sm:{height:"h-8",padding:"px-2.5",font:"text-sm"},md:{height:"h-9",padding:"px-3",font:"text-sm"},lg:{height:"h-10",padding:"px-3.5",font:"text-base"},xl:{height:"h-12",padding:"px-4",font:"text-lg"}},yr={square:"rounded-none",rounded:"rounded-sm",pill:"rounded-full"},Rr={outline:"bg-white border border-zinc-300",soft:"bg-zinc-50 border border-zinc-200",ghost:"bg-transparent border border-transparent focus-visible:border-zinc-300"},He=qt.forwardRef(function({variant:t="outline",size:o="md",shape:r="rounded",className:s,type:i="text",...n},l){let a=zr[o];return kr("input",{ref:l,type:i,"data-slot":"input",className:c("w-full transition-colors","text-zinc-900 placeholder:text-zinc-400","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-900 focus-visible:ring-offset-1 focus-visible:border-zinc-900","aria-invalid:border-zinc-900 aria-invalid:ring-2 aria-invalid:ring-zinc-200","disabled:opacity-50 disabled:cursor-not-allowed disabled:bg-zinc-50","read-only:bg-zinc-50 read-only:text-zinc-600","file:border-0 file:bg-transparent file:text-zinc-700 file:font-medium file:me-3 file:cursor-pointer",Rr[t],yr[r],a.height,a.padding,a.font,s),...n})});He.displayName="Input";import*as oe from"react";import*as U from"react";import{jsx as Cr}from"react/jsx-runtime";var wr={xs:{padding:"px-2 py-1.5",font:"text-xs"},sm:{padding:"px-2.5 py-1.5",font:"text-sm"},md:{padding:"px-3 py-2",font:"text-sm"},lg:{padding:"px-3.5 py-2.5",font:"text-base"},xl:{padding:"px-4 py-3",font:"text-lg"}},Sr={square:"rounded-none",rounded:"rounded-sm"},Ir={outline:"bg-white border border-zinc-300",soft:"bg-zinc-50 border border-zinc-200",ghost:"bg-transparent border border-transparent focus-visible:border-zinc-300"},Tr={none:"resize-none",vertical:"resize-y",horizontal:"resize-x",both:"resize"},Be=U.forwardRef(function({variant:t="outline",size:o="md",shape:r="rounded",resize:s="vertical",autoGrow:i=!1,maxRows:n,className:l,onChange:a,rows:d=3,...p},f){let v=U.useRef(null),b=wr[o],z=U.useCallback(()=>{let y=v.current;if(!y||!i)return;y.style.height="auto";let k=y.scrollHeight;if(n){let I=parseInt(getComputedStyle(y).lineHeight,10)||20,G=parseInt(getComputedStyle(y).paddingTop,10)+parseInt(getComputedStyle(y).paddingBottom,10);k=Math.min(k,I*n+G)}y.style.height=`${k}px`},[i,n]);U.useEffect(()=>{i&&z()},[z,i]);let w=U.useCallback(y=>{v.current=y,typeof f=="function"?f(y):f&&(f.current=y)},[f]);return Cr("textarea",{ref:w,rows:d,"data-slot":"textarea",onChange:y=>{a?.(y),i&&z()},className:c("w-full transition-colors","text-zinc-900 placeholder:text-zinc-400","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-900 focus-visible:ring-offset-1 focus-visible:border-zinc-900","aria-invalid:border-zinc-900 aria-invalid:ring-2 aria-invalid:ring-zinc-200","disabled:opacity-50 disabled:cursor-not-allowed disabled:bg-zinc-50","read-only:bg-zinc-50 read-only:text-zinc-600",Ir[t],Sr[r],b.padding,b.font,i?"resize-none overflow-hidden":Tr[s],l),...p})});Be.displayName="Textarea";import{jsx as ae}from"react/jsx-runtime";var Nr=oe.forwardRef(function({className:t,...o},r){return ae("div",{ref:r,"data-slot":"input-group",className:c("relative isolate flex items-stretch w-full","bg-white border border-zinc-300 rounded-sm transition-colors","has-[[data-slot=input-group-control]:focus-visible]:ring-2","has-[[data-slot=input-group-control]:focus-visible]:ring-zinc-900","has-[[data-slot=input-group-control]:focus-visible]:ring-offset-1","has-[[data-slot=input-group-control]:focus-visible]:border-zinc-900","has-[[aria-invalid=true]]:border-zinc-900","has-[[aria-invalid=true]]:ring-2","has-[[aria-invalid=true]]:ring-zinc-200","has-[[data-align=block-start]]:flex-col","has-[[data-align=block-end]]:flex-col","[&_[data-slot=input-group-control]]:border-0","[&_[data-slot=input-group-control]]:bg-transparent","[&_[data-slot=input-group-control]]:rounded-none","[&_[data-slot=input-group-control]]:shadow-none","[&_[data-slot=input-group-control]]:flex-1","[&_[data-slot=input-group-control]]:min-w-0","[&_[data-slot=input-group-control]]:focus-visible:ring-0","[&_[data-slot=input-group-control]]:focus-visible:ring-offset-0","[&_[data-slot=input-group-control]]:focus-visible:border-0","[&_[data-slot=input-group-control]]:aria-invalid:ring-0","[&_[data-slot=input-group-control]]:aria-invalid:border-0",t),...o})});Nr.displayName="InputGroup";var Ar=oe.forwardRef(function(t,o){return ae(He,{ref:o,"data-slot":"input-group-control",...t})});Ar.displayName="InputGroupInput";var Lr=oe.forwardRef(function(t,o){return ae(Be,{ref:o,"data-slot":"input-group-control",...t})});Lr.displayName="InputGroupTextarea";var Mr=oe.forwardRef(function({align:t="inline-start",className:o,...r},s){return ae("div",{ref:s,"data-slot":"input-group-addon","data-align":t,className:c("inline-flex items-center text-zinc-500 select-none gap-1.5 shrink-0","[&>svg]:size-4",t==="inline-start"&&"order-first ps-3",t==="inline-end"&&"order-last pe-3",t==="block-start"&&"order-first w-full px-3 py-2 border-b border-zinc-300",t==="block-end"&&"order-last w-full px-3 py-2 border-t border-zinc-300",o),...r})});Mr.displayName="InputGroupAddon";var Er={xs:"h-6 px-2 text-xs gap-1 [&>svg]:size-3","icon-xs":"size-6 [&>svg]:size-3",sm:"h-7 px-2.5 text-xs gap-1 [&>svg]:size-3.5","icon-sm":"size-7 [&>svg]:size-3.5"},Gr={ghost:"bg-transparent text-zinc-700 hover:bg-zinc-100 border border-transparent",outline:"bg-white text-zinc-700 hover:bg-zinc-50 border border-zinc-300",soft:"bg-zinc-100 text-zinc-900 hover:bg-zinc-200 border border-zinc-200",solid:"bg-zinc-900 text-white hover:bg-zinc-700 border border-zinc-900"},Pr=oe.forwardRef(function({size:t="xs",variant:o="ghost",className:r,type:s="button",...i},n){return ae("button",{ref:n,type:s,"data-slot":"input-group-button",className:c("inline-flex items-center justify-center font-medium rounded-sm transition-colors cursor-pointer shrink-0 select-none","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-900 focus-visible:ring-offset-1","disabled:opacity-50 disabled:pointer-events-none",Er[t],Gr[o],r),...i})});Pr.displayName="InputGroupButton";var Hr=oe.forwardRef(function({className:t,...o},r){return ae("div",{ref:r,"data-slot":"input-group-text",className:c("inline-flex items-center whitespace-nowrap select-none text-sm text-zinc-600 font-medium",t),...o})});Hr.displayName="InputGroupText";import*as X from"react";import{jsx as re,jsxs as jt}from"react/jsx-runtime";var Ve={xs:{padding:"px-1 py-px",font:"text-[10px]",minWidth:"min-w-4",gap:"gap-0.5"},sm:{padding:"px-1.5 py-0.5",font:"text-xs",minWidth:"min-w-5",gap:"gap-1"},md:{padding:"px-2 py-1",font:"text-sm",minWidth:"min-w-6",gap:"gap-1.5"},lg:{padding:"px-2.5 py-1",font:"text-base",minWidth:"min-w-7",gap:"gap-1.5"},xl:{padding:"px-3 py-1.5",font:"text-lg",minWidth:"min-w-8",gap:"gap-2"}},Kt={square:"",rounded:"rounded-sm"},Ut={soft:"bg-zinc-100 border border-zinc-300",outline:"bg-transparent border border-zinc-300",ghost:"bg-zinc-50 border border-transparent"};function Br({children:e,size:t,variant:o,shape:r,className:s}){let i=Ve[t];return re("kbd",{className:c("inline-flex items-center justify-center font-mono font-medium text-zinc-700 leading-none",Kt[r],i.padding,i.font,i.minWidth,Ut[o],s),children:e})}var Vr=X.forwardRef(function({size:t="sm",variant:o="soft",shape:r="rounded",keys:s,separator:i,className:n,children:l,...a},d){let p=Ve[t];if(!s||s.length===0)return re("kbd",{ref:d,className:c("inline-flex items-center justify-center font-mono font-medium text-zinc-700 leading-none",Kt[r],p.padding,p.font,p.minWidth,Ut[o],n),...a,children:l});let f=i??re("span",{className:c("text-zinc-400 font-mono font-medium",p.font),children:"+"});return re("span",{ref:d,className:c("inline-flex items-center",p.gap,n),...a,children:s.map((v,b)=>jt(X.Fragment,{children:[re(Br,{size:t,variant:o,shape:r,children:v}),b<s.length-1&&f]},b))})});Vr.displayName="Kbd";var Or=X.forwardRef(function({size:t="sm",separator:o,className:r,children:s,...i},n){let l=Ve[t],a=X.Children.toArray(s).filter(Boolean),d=o??re("span",{className:c("text-zinc-400 font-mono font-medium",l.font),children:"+"});return re("span",{ref:n,className:c("inline-flex items-center",l.gap,r),...i,children:a.map((p,f)=>jt(X.Fragment,{children:[p,f<a.length-1&&d]},f))})});Or.displayName="KbdGroup";import*as Zt from"react";import{jsx as _r,jsxs as Dr}from"react/jsx-runtime";var Fr={xs:"text-xs",sm:"text-sm",md:"text-base",lg:"text-lg",xl:"text-xl"},Wr=Zt.forwardRef(function({size:t="sm",required:o=!1,disabled:r=!1,className:s,children:i,...n},l){return Dr("label",{ref:l,className:c("font-medium text-zinc-700 leading-none",Fr[t],r?"opacity-50 cursor-not-allowed":"cursor-default",s),...n,children:[i,o&&_r("span",{"aria-hidden":"true",className:"text-zinc-900 ms-0.5 font-semibold",children:"*"})]})});Wr.displayName="Label";import*as $t from"react";import{jsx as Oe,jsxs as jr}from"react/jsx-runtime";var qr={xs:{font:"text-xs",iconSize:"size-3",gap:"gap-1"},sm:{font:"text-sm",iconSize:"size-3.5",gap:"gap-1.5"},md:{font:"text-base",iconSize:"size-4",gap:"gap-1.5"},lg:{font:"text-lg",iconSize:"size-4",gap:"gap-2"},xl:{font:"text-xl",iconSize:"size-5",gap:"gap-2"}},Kr={hover:"no-underline hover:underline underline-offset-4",always:"underline underline-offset-4",none:"no-underline"},Ur=$t.forwardRef(function({size:t="sm",underline:o="hover",icon:r,iconRight:s,external:i=!1,disabled:n=!1,className:l,children:a,target:d,rel:p,...f},v){let b=qr[t],z=i?"_blank":d,w=i?p?`${p} noopener noreferrer`:"noopener noreferrer":p;return jr("a",{ref:v,target:z,rel:w,"aria-disabled":n||void 0,tabIndex:n?-1:f.tabIndex,className:c("inline-flex items-center font-medium transition-colors","text-zinc-900 hover:text-zinc-700","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-900 focus-visible:ring-offset-1 rounded-sm","cursor-pointer",b.font,b.gap,Kr[o],n&&"opacity-50 pointer-events-none cursor-not-allowed",l),...f,children:[r&&Oe("span",{className:c("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",b.iconSize),children:r}),a,s?Oe("span",{className:c("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",b.iconSize),children:s}):i?Oe(Ct,{className:b.iconSize}):null]})});Ur.displayName="Link";import*as le from"react";import{jsx as Fe,jsxs as $r}from"react/jsx-runtime";var Zr={xs:{box:"size-3.5",dot:"size-1.5"},sm:{box:"size-4",dot:"size-2"},md:{box:"size-5",dot:"size-2.5"},lg:{box:"size-6",dot:"size-3"},xl:{box:"size-7",dot:"size-3.5"}},We=le.forwardRef(function({size:t="md",checked:o,defaultChecked:r,onCheckedChange:s,onChange:i,disabled:n=!1,className:l,id:a,...d},p){let f=le.useId(),v=a??f,b=o!==void 0,[z,w]=le.useState(!!r),S=b?o:z,y=Zr[t],k=I=>{b||w(I.target.checked),i?.(I),s?.(I.target.checked)};return $r("span",{className:c("relative inline-flex shrink-0 items-center justify-center",n&&"opacity-50 cursor-not-allowed",l),children:[Fe("input",{ref:p,id:v,type:"radio","data-slot":"radio",checked:S,onChange:k,disabled:n,className:"peer sr-only",...d}),Fe("span",{"aria-hidden":"true",className:c("inline-flex items-center justify-center rounded-full transition-colors border",n?"cursor-not-allowed":"cursor-pointer",S?"bg-white border-zinc-900":"bg-white border-zinc-300 peer-hover:border-zinc-400","peer-focus-visible:ring-2 peer-focus-visible:ring-zinc-900 peer-focus-visible:ring-offset-1","peer-aria-invalid:border-zinc-900 peer-aria-invalid:ring-2 peer-aria-invalid:ring-zinc-200",y.box),children:S&&Fe("span",{className:c("rounded-full bg-zinc-900",y.dot)})})]})});We.displayName="Radio";import*as E from"react";import{jsx as ne,jsxs as _e}from"react/jsx-runtime";var Xt=E.createContext(null),Xr=E.forwardRef(function({value:t,defaultValue:o,onValueChange:r,orientation:s="vertical",size:i="md",disabled:n=!1,name:l,invalid:a,legend:d,description:p,className:f,children:v,...b},z){let w=E.useId(),S=l??w,y=t!==void 0,[k,I]=E.useState(o??null),G=y?t:k,P=E.useCallback(C=>{y||I(C),r?.(C)},[y,r]),O=E.useMemo(()=>({value:G??null,setValue:P,size:i,disabled:n,name:S,invalid:a}),[G,P,i,n,S,a]);return ne(Xt.Provider,{value:O,children:_e("fieldset",{ref:z,"data-slot":"radio-group","data-orientation":s,role:"radiogroup","aria-invalid":a||void 0,disabled:n,className:c("flex flex-col gap-2 min-w-0",f),...b,children:[d&&ne("legend",{className:"text-sm font-medium text-zinc-700 mb-1",children:d}),p&&ne("p",{className:"text-xs text-zinc-500 -mt-1 mb-1",children:p}),ne("div",{className:c("flex",s==="vertical"?"flex-col gap-2":"flex-row gap-4 flex-wrap"),children:v})]})})});Xr.displayName="RadioGroup";var Yr=E.forwardRef(function({value:t,label:o,description:r,disabled:s,className:i,...n},l){let a=E.useContext(Xt);if(!a)throw new Error("RadioGroupItem must be rendered inside <RadioGroup>.");let d=E.useId(),p=a.value===t,f=a.disabled||!!s;return _e("label",{ref:l,htmlFor:d,className:c("inline-flex items-start gap-2.5 select-none",f?"cursor-not-allowed opacity-50":"cursor-pointer",i),...n,children:[ne(We,{id:d,value:t,name:a.name,size:a.size,disabled:f,checked:p,onChange:()=>a.setValue(t),"aria-invalid":a.invalid||void 0,className:"mt-0.5"}),(o||r)&&_e("div",{className:"flex flex-col gap-0.5 min-w-0",children:[o&&ne("span",{className:"text-sm font-medium text-zinc-700",children:o}),r&&ne("span",{className:"text-xs text-zinc-500",children:r})]})]})});Yr.displayName="RadioGroupItem";import*as Yt from"react";import{jsx as ue,jsxs as Qr}from"react/jsx-runtime";var ke={solid:"border-solid",dashed:"border-dashed",dotted:"border-dotted"},Jr=Yt.forwardRef(function({orientation:t="horizontal",variant:o="solid",label:r,decorative:s,className:i,...n},l){let a=s?{role:"none"}:{role:"separator","aria-orientation":t};return t==="vertical"?ue("div",{ref:l,...a,className:c("self-stretch w-px border-l border-zinc-200",ke[o],i),...n}):r?Qr("div",{ref:l,...a,className:c("flex items-center gap-3",i),...n,children:[ue("div",{"aria-hidden":"true",className:c("flex-1 border-t border-zinc-200",ke[o])}),ue("span",{className:"text-xs text-zinc-500 font-medium shrink-0",children:r}),ue("div",{"aria-hidden":"true",className:c("flex-1 border-t border-zinc-200",ke[o])})]}):ue("div",{ref:l,...a,className:c("w-full border-t border-zinc-200",ke[o],i),...n})});Jr.displayName="Separator";import*as we from"react";var Jt="eglador-skeleton-styles",en=`
3
3
  @keyframes eglador-skeleton-wave {
4
4
  0% { background-position: 200% 0; }
5
5
  100% { background-position: -200% 0; }
@@ -21,4 +21,4 @@ import*as et from"react";function Ce(e){var t,r,o="";if(typeof e=="string"||type
21
21
  animation: none !important;
22
22
  }
23
23
  }
24
- `;function ke(){if(typeof document>"u"||document.getElementById(gt))return;let e=document.createElement("style");e.id=gt,e.textContent=Eo,document.head.appendChild(e)}import{jsx as we}from"react/jsx-runtime";var Go={text:"rounded-sm",circular:"rounded-full",rectangular:"",rounded:"rounded-sm"};function bt(e){if(e!=null)return typeof e=="number"?`${e}px`:e}var Ho=de.forwardRef(function({variant:t="text",animation:r="pulse",width:o,height:s,lines:a,lineGap:n="0.75rem",className:c,style:f,...d},g){de.useEffect(()=>{r==="wave"&&ke()},[r]);let x=bt(o),v=bt(s),y=x,z=v;z||(t==="text"?z="1em":t==="circular"?z=y??"2.5rem":z="8rem"),t==="circular"&&!y&&(y=z),!y&&t!=="circular"&&(y="100%");let S=b(r==="wave"?"eglador-skeleton-wave":"bg-zinc-200",Go[t],r==="pulse"&&"animate-pulse",c);return a&&a>1?we("div",{ref:g,className:"flex flex-col",style:{gap:n,...f},...d,children:Array.from({length:a},(T,G)=>{let M=G===a-1;return we("div",{className:S,style:{width:M?"60%":y,height:z}},G)})}):we("div",{ref:g,className:S,style:{width:y,height:z,...f},...d})});Ho.displayName="Skeleton";import*as xt from"react";import{jsx as pe,jsxs as ht}from"react/jsx-runtime";var Wo={xs:{spinner:"size-4",labelFont:"text-xs",gap:"gap-1.5"},sm:{spinner:"size-5",labelFont:"text-sm",gap:"gap-2"},md:{spinner:"size-8",labelFont:"text-sm",gap:"gap-2.5"},lg:{spinner:"size-12",labelFont:"text-base",gap:"gap-3"},xl:{spinner:"size-16",labelFont:"text-lg",gap:"gap-3.5"}},Vo=xt.forwardRef(function({size:t="sm",label:r,className:o,...s},a){let n=Wo[t];return ht("div",{ref:a,role:"status",className:b("inline-flex flex-col items-center",n.gap,o),...s,children:[ht("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:b("animate-spin",n.spinner),children:[pe("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3",className:"text-zinc-200"}),pe("path",{d:"M12 2a10 10 0 0 1 10 10",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",className:"text-zinc-600"})]}),r?pe("span",{className:b("font-medium text-zinc-500",n.labelFont),children:r}):pe("span",{className:"sr-only",children:"Loading\u2026"})]})});Vo.displayName="Spinner";import*as vt from"react";import{jsx as Bo}from"react/jsx-runtime";var Fo={h1:{tag:"h1",style:"text-4xl font-bold tracking-tight"},h2:{tag:"h2",style:"text-3xl font-bold tracking-tight"},h3:{tag:"h3",style:"text-2xl font-semibold tracking-tight"},h4:{tag:"h4",style:"text-xl font-semibold tracking-tight"},p:{tag:"p",style:"text-base leading-relaxed"},lead:{tag:"p",style:"text-xl leading-relaxed"},large:{tag:"p",style:"text-lg font-medium"},small:{tag:"p",style:"text-sm"},muted:{tag:"p",style:"text-sm text-zinc-500"},blockquote:{tag:"blockquote",style:"border-s-4 border-zinc-300 ps-4 italic"},list:{tag:"ul",style:"list-disc ms-6 [&>li]:mt-1.5 [&>li]:leading-relaxed"},code:{tag:"code",style:"bg-zinc-100 px-1.5 py-0.5 rounded-sm text-sm font-mono"},kbd:{tag:"kbd",style:"bg-zinc-100 border border-zinc-300 px-1.5 py-0.5 rounded-sm text-xs font-mono"}},yt={default:"text-zinc-900",muted:"text-zinc-500"},Oo={left:"text-left",center:"text-center",right:"text-right"},Do={thin:"font-thin",extralight:"font-extralight",light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extrabold:"font-extrabold",black:"font-black"},_o=vt.forwardRef(function({variant:t="p",color:r,align:o,weight:s,truncate:a=!1,lines:n,as:c,className:f,children:d,style:g,...x},v){let y=Fo[t],z=c||y.tag,S=r?yt[r]:t==="muted"?"":yt.default,T=n&&n>0?{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:n,overflow:"hidden"}:void 0;return Bo(z,{ref:v,className:b(y.style,S,o&&Oo[o],s&&Do[s],a&&!n&&"truncate",f),style:T?{...T,...g}:g,...x,children:d})});_o.displayName="Typography";export{mo as AspectRatio,bo as Avatar,ho as AvatarGroup,ko as Badge,So as Empty,Ao as Kbd,Io as KbdGroup,Mo as Label,Lo as Separator,Ho as Skeleton,Vo as Spinner,_o as Typography,ke as ensureSkeletonStyles};
24
+ `;function De(){if(typeof document>"u"||document.getElementById(Jt))return;let e=document.createElement("style");e.id=Jt,e.textContent=en,document.head.appendChild(e)}import{jsx as qe}from"react/jsx-runtime";var tn={text:"rounded-sm",circular:"rounded-full",rectangular:"",rounded:"rounded-sm"};function Qt(e){if(e!=null)return typeof e=="number"?`${e}px`:e}var on=we.forwardRef(function({variant:t="text",animation:o="pulse",width:r,height:s,lines:i,lineGap:n="0.75rem",className:l,style:a,...d},p){we.useEffect(()=>{o==="wave"&&De()},[o]);let f=Qt(r),v=Qt(s),b=f,z=v;z||(t==="text"?z="1em":t==="circular"?z=b??"2.5rem":z="8rem"),t==="circular"&&!b&&(b=z),!b&&t!=="circular"&&(b="100%");let w=c(o==="wave"?"eglador-skeleton-wave":"bg-zinc-200",tn[t],o==="pulse"&&"animate-pulse",l);return i&&i>1?qe("div",{ref:p,className:"flex flex-col",style:{gap:n,...a},...d,children:Array.from({length:i},(S,y)=>{let k=y===i-1;return qe("div",{className:w,style:{width:k?"60%":b,height:z}},y)})}):qe("div",{ref:p,className:w,style:{width:b,height:z,...a},...d})});on.displayName="Skeleton";import*as to from"react";import{jsx as Se,jsxs as eo}from"react/jsx-runtime";var rn={xs:{spinner:"size-4",labelFont:"text-xs",gap:"gap-1.5"},sm:{spinner:"size-5",labelFont:"text-sm",gap:"gap-2"},md:{spinner:"size-8",labelFont:"text-sm",gap:"gap-2.5"},lg:{spinner:"size-12",labelFont:"text-base",gap:"gap-3"},xl:{spinner:"size-16",labelFont:"text-lg",gap:"gap-3.5"}},nn=to.forwardRef(function({size:t="sm",label:o,className:r,...s},i){let n=rn[t];return eo("div",{ref:i,role:"status",className:c("inline-flex flex-col items-center",n.gap,r),...s,children:[eo("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:c("animate-spin",n.spinner),children:[Se("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3",className:"text-zinc-200"}),Se("path",{d:"M12 2a10 10 0 0 1 10 10",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",className:"text-zinc-600"})]}),o?Se("span",{className:c("font-medium text-zinc-500",n.labelFont),children:o}):Se("span",{className:"sr-only",children:"Loading\u2026"})]})});nn.displayName="Spinner";import*as ce from"react";import{jsx as Ke,jsxs as ln}from"react/jsx-runtime";var sn={xs:{track:"w-8 h-4",thumb:"size-3",translate:"translate-x-4"},sm:{track:"w-10 h-5",thumb:"size-4",translate:"translate-x-5"},md:{track:"w-11 h-6",thumb:"size-5",translate:"translate-x-5"},lg:{track:"w-14 h-7",thumb:"size-6",translate:"translate-x-7"},xl:{track:"w-16 h-8",thumb:"size-7",translate:"translate-x-8"}},an=ce.forwardRef(function({size:t="md",checked:o,defaultChecked:r=!1,onCheckedChange:s,onChange:i,disabled:n=!1,className:l,id:a,...d},p){let f=ce.useId(),v=a??f,b=o!==void 0,[z,w]=ce.useState(r),S=b?o:z,y=sn[t],k=I=>{b||w(I.target.checked),i?.(I),s?.(I.target.checked)};return ln("span",{className:c("relative inline-flex shrink-0 items-center",n&&"opacity-50 cursor-not-allowed",l),children:[Ke("input",{ref:p,id:v,type:"checkbox",role:"switch","data-slot":"switch",checked:S,onChange:k,disabled:n,className:"peer sr-only",...d}),Ke("span",{"aria-hidden":"true",className:c("relative inline-block rounded-full transition-colors","bg-zinc-200 peer-checked:bg-zinc-900","peer-focus-visible:ring-2 peer-focus-visible:ring-zinc-900 peer-focus-visible:ring-offset-1","peer-aria-invalid:ring-2 peer-aria-invalid:ring-zinc-200",n?"cursor-not-allowed":"cursor-pointer",y.track),children:Ke("span",{className:c("absolute top-1/2 -translate-y-1/2 left-0.5 rounded-full bg-white shadow-sm transition-transform",y.thumb,S&&y.translate)})})]})});an.displayName="Switch";import*as ro from"react";import{jsx as mn}from"react/jsx-runtime";var cn={h1:{tag:"h1",style:"text-4xl font-bold tracking-tight"},h2:{tag:"h2",style:"text-3xl font-bold tracking-tight"},h3:{tag:"h3",style:"text-2xl font-semibold tracking-tight"},h4:{tag:"h4",style:"text-xl font-semibold tracking-tight"},p:{tag:"p",style:"text-base leading-relaxed"},lead:{tag:"p",style:"text-xl leading-relaxed"},large:{tag:"p",style:"text-lg font-medium"},small:{tag:"p",style:"text-sm"},muted:{tag:"p",style:"text-sm text-zinc-500"},blockquote:{tag:"blockquote",style:"border-s-4 border-zinc-300 ps-4 italic"},list:{tag:"ul",style:"list-disc ms-6 [&>li]:mt-1.5 [&>li]:leading-relaxed"},code:{tag:"code",style:"bg-zinc-100 px-1.5 py-0.5 rounded-sm text-sm font-mono"},kbd:{tag:"kbd",style:"bg-zinc-100 border border-zinc-300 px-1.5 py-0.5 rounded-sm text-xs font-mono"}},oo={default:"text-zinc-900",muted:"text-zinc-500"},dn={left:"text-left",center:"text-center",right:"text-right"},pn={thin:"font-thin",extralight:"font-extralight",light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extrabold:"font-extrabold",black:"font-black"},un=ro.forwardRef(function({variant:t="p",color:o,align:r,weight:s,truncate:i=!1,lines:n,as:l,className:a,children:d,style:p,...f},v){let b=cn[t],z=l||b.tag,w=o?oo[o]:t==="muted"?"":oo.default,S=n&&n>0?{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:n,overflow:"hidden"}:void 0;return mn(z,{ref:v,className:c(b.style,w,r&&dn[r],s&&pn[s],i&&!n&&"truncate",a),style:S?{...S,...p}:p,...f,children:d})});un.displayName="Typography";export{$o as AspectRatio,Qo as Avatar,er as AvatarGroup,nr as Badge,ar as Button,dr as ButtonGroup,pr as ButtonGroupSeparator,mr as ButtonGroupText,Ge as Checkbox,xr as CheckboxGroup,br as CheckboxGroupItem,vr as Empty,He as Input,Nr as InputGroup,Mr as InputGroupAddon,Pr as InputGroupButton,Ar as InputGroupInput,Hr as InputGroupText,Lr as InputGroupTextarea,Vr as Kbd,Or as KbdGroup,Wr as Label,Ur as Link,We as Radio,Xr as RadioGroup,Yr as RadioGroupItem,Jr as Separator,on as Skeleton,nn as Spinner,an as Switch,Be as Textarea,un as Typography,Yn as buttonVariants,De as ensureSkeletonStyles};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eglador-ui-react",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.3",
4
4
  "description": "Eglador UI for React — headless, accessible component library. Compound subcomponents, Tailwind v4, zero runtime dependencies.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",